.support-chat{
  position:fixed;z-index:7;right:max(.9rem,env(safe-area-inset-right));bottom:max(.9rem,env(safe-area-inset-bottom));
  width:min(24rem,calc(100% - 1.8rem));display:grid;justify-items:end;gap:.5rem;
  pointer-events:none
}
.support-chat[hidden],.support-chat-panel[hidden]{display:none}
.support-chat button{font-family:inherit;cursor:pointer}
.support-chat-launch,.support-chat-form button{
  padding:.55rem .9rem;border:1px solid #27384b;border-radius:1rem;background:var(--navy);
  color:#fff;font-weight:700;pointer-events:auto
}
.support-chat-panel{
  width:100%;display:flex;flex-direction:column;max-height:min(33rem,calc(100dvh - 5rem));
  overflow:auto;border:1px solid var(--line);border-radius:1rem;background:#fff;color:var(--ink);
  box-shadow:0 12px 40px #17253838;pointer-events:auto
}
.support-chat-header{
  display:flex;align-items:center;justify-content:space-between;flex:none;padding:.65rem .9rem;
  background:var(--navy);color:#fff
}
.support-chat-header h2{margin:0;color:inherit;font-size:1.15rem;line-height:1.3;letter-spacing:normal}
.support-chat-header .support-chat-close{
  min-width:2rem;min-height:2rem;padding:0;border:1px solid #8795a6;border-radius:.5rem;
  background:transparent;color:#fff;font-size:1.25rem;line-height:1
}
.support-chat-log{
  min-height:4rem;padding:.85rem .8rem .35rem;overflow:auto;overscroll-behavior:contain;
  font-size:.95rem;line-height:1.45
}
.support-chat-log :is(.support-chat-reply,.support-chat-question){
  max-width:95%;margin:0 0 .55rem;padding:.55rem .65rem;border-radius:.65rem;
  overflow-wrap:anywhere
}
.support-chat-reply{background:var(--paper)}
.support-chat-reply p{margin:0 0 .35rem}
.support-chat-reply a{font-weight:650}
.support-chat-log .support-chat-question{margin-left:auto;width:fit-content;background:#ffe5be}
.support-chat-suggestions,.support-chat-form{display:flex;gap:.35rem;padding:.35rem .8rem}
.support-chat-suggestions{flex-wrap:wrap}
.support-chat-suggestions button{
  padding:.25rem .45rem;border:1px solid var(--line);border-radius:.5rem;
  background:#fff;color:var(--ink);font-size:.875rem
}
.support-chat-suggestions button:hover{background:#fff3e0}
.support-chat-form input{
  min-width:0;flex:1;padding:.45rem .6rem;border:1px solid #8795a6;border-radius:.55rem;
  background:#fff;color:var(--ink);font:inherit
}
.support-chat-form button{border-radius:.55rem}
.support-chat-note{margin:0;padding:.15rem .8rem .65rem;font-size:.875rem;color:var(--muted)}
