.support-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 65; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 14px 20px; color: white; background: #102731; border: 1px solid #ffffff25; border-radius: 30px; font-size: 1rem; font-weight: 700; box-shadow: 0 5px 22px #16233330; }
.support-launcher:hover, .support-launcher[aria-expanded=true] { background: #164153; }
.support-launcher>.icon { width: 23px; height: 23px; }
.support-unread { background: #125a70; color: white; font-size: .8125rem; border-radius: 20px; min-width: 23px; min-height: 23px; padding: 1px 6px; text-align: center; }
.support-panel { position: fixed; z-index: 64; right: 24px; bottom: 94px; width: 390px; max-width: calc(100% - 32px); height: 620px; max-height: calc(100dvh - 118px); display: flex; flex-direction: column; background: white; border: 1px solid #dce3eb; border-radius: 18px; box-shadow: 0 16px 65px #14202e35; overflow: hidden; color: #102731; }
.support-panel[hidden], .support-panel [hidden], .support-launcher [hidden] { display: none !important; }
.support-heading { display: flex; align-items: center; gap: 11px; background: #102731; color: white; padding: 17px; flex-shrink: 0; }
.support-avatar { width: 42px; height: 42px; border-radius: 10px; background: #125a70; color: white; font-size: 26px; font-style: italic; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.support-heading h2 { font-size: 19px; letter-spacing: -.3px; line-height: 1.4; }
.support-heading p { color: #cbd6e3; font-size: 12px; line-height: 1.6; margin-top: 3px; }
.support-close { margin-left: auto; align-self: flex-start; min-width: 35px; min-height: 40px; border-radius: 7px; color: #e5edf6; padding: 6px; }
.support-close:hover { background: #ffffff15; }
.support-intro { padding: 17px 20px 12px; border-bottom: 1px solid #ecf0f4; background: #fafbfc; flex-shrink: 0; }
.support-intro strong { font-size: 16px; }
.support-intro p { font-size: 14px; line-height: 1.7; color: #59687b; margin-top: 5px; }
.support-messages { padding: 18px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 50px; scrollbar-gutter: stable; }
.chat-message { width: fit-content; max-width: 88%; border-radius: 12px 12px 12px 3px; padding: 11px 13px; margin: 0 0 14px; background: #f1f4f8; color: #164153; text-align: left; overflow-wrap: anywhere; }
.chat-message-own { margin-left: auto; border-radius: 12px 12px 3px 12px; background: #e8f5f7; color: #65321e; }
.chat-message-sender { display: block; font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.chat-message p { white-space: pre-wrap; font-size: 15px; line-height: 1.65; margin: 0; }
.chat-message time { display: block; font-size: 11px; margin-top: 7px; opacity: .8; }
.support-older { font-size: 13px; min-height: 36px; margin: 4px 16px 0; border-radius: 7px; color: #536477; background: #f5f7fa; }
.support-status { padding: 8px 18px; margin: 0; font-size: 13px; line-height: 1.6; color: #71502e; background: #fff8eb; flex-shrink: 0; }
.support-form { border-top: 1px solid #e5eaf0; padding: 13px 17px 12px; flex-shrink: 0; }
.support-name { display: grid; gap: 4px; margin-bottom: 11px; font-size: 13px; color: #566477; }
.support-name input { border: 1px solid #dce3eb; border-radius: 7px; padding: 8px 10px; min-height: 40px; font-size: 16px; background: white; }
.support-message-label { font-size: 13px; color: #566477; display: block; margin-bottom: 6px; }
.support-compose { display: flex; gap: 8px; align-items: stretch; }
.support-compose textarea { resize: vertical; width: 100%; min-width: 0; min-height: 61px; max-height: 115px; border: 1px solid #dce3eb; border-radius: 9px; padding: 9px 11px; background: #fafbfc; font-size: 16px; line-height: 1.5; }
.support-compose textarea::placeholder { color: #6d7a8c; }
.support-compose button { width: 45px; min-width: 45px; border-radius: 9px; color: white; background: #0b495d; }
.support-compose button:hover { background: #0a5268; }
.support-footnote { font-size: 11px; color: #667589; line-height: 1.6; padding-top: 8px; margin: 0; }
@media(max-width:600px) {
  .support-launcher { right: 16px; bottom: max(16px,env(safe-area-inset-bottom)); min-height: 52px; font-size: 15px; padding: 12px 17px; }
  .support-panel { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 100px - env(safe-area-inset-bottom)); width: calc(100% - 32px); }
  .support-heading { padding: 14px; }
  .support-messages { padding: 15px; }
}
@media(max-height:600px) {
  .support-intro, .support-footnote { display: none; }
  .support-heading { padding-block: 10px; }
  .support-form { padding-block: 9px; }
  .support-name { display: none; }
}

.support-avatar { background: #24414c; border-radius: 4px; }
.support-avatar svg { width: 32px; height: 27px; fill: #8ee2f0; }
.support-launcher { background: #122c37; color: #fff; border: 1px solid #6293a1; border-radius: 28px; }
.support-launcher > .icon { color: #93e4f1; }
.support-panel { border-radius: 8px; }
.support-close { color: #fff; }
.support-launcher:focus-visible,.support-panel button:focus-visible { outline: 3px solid #1693ad; outline-offset: 2px; }
