.support-launcher { position: relative; flex: 0 0 38px; color: var(--green, #276e5b); }
#support-root:has(.support-panel) { position: fixed; inset: 0; z-index: 1800; background: #1635270d; }
.support-launcher:hover, .support-launcher[aria-expanded="true"] { background: #e8eee6; }
.account-page > .support-launcher, .account-center > .support-launcher { position: fixed; top: 24px; right: 140px; }
.support-unread { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 20px; background: #b87550; color: #fff; font-size: 10px; font-weight: 700; box-shadow: 0 0 0 2px #fafbf7; }
.support-panel { position: fixed; z-index: 1800; top: 88px; right: 24px; width: min(420px, calc(100vw - 32px)); height: min(660px, calc(100dvh - 112px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce3da; border-radius: 22px; background: #fff; color: #22362e; box-shadow: 0 18px 65px #203a2c26, 0 2px 10px #203a2c0a; text-align: left; font-family: inherit; }
.support-header { flex: none; display: flex; align-items: center; gap: 12px; padding: 20px; border-bottom: 1px solid #e8ece5; background: #fcfdf9; }
.support-header h2 { margin: 0; font-family: inherit; font-weight: 600; font-size: 18px; line-height: 1.35; }
.support-header p { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #758277; }
.support-header > .btn-icon { margin-left: auto; flex: none; }
.support-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 14px; background: #e8eee1; color: #276e5b; }
.support-messages { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: auto; }
.support-intro { align-self: flex-start; max-width: 92%; padding: 15px 16px; border-radius: 16px 16px 16px 5px; background: #f0f3ed; }
.support-intro > span { font-size: 11px; font-weight: 600; color: #6d806f; }
.support-intro p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; }
.support-message { flex: none; width: fit-content; max-width: 88%; padding: 12px 14px 8px; border-radius: 16px; }
.support-message p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; font-size: 14px; line-height: 1.6; }
.support-message-user { align-self: flex-end; border-bottom-right-radius: 5px; background: #e6eedc; }
.support-message-agent { align-self: flex-start; border-bottom-left-radius: 5px; background: #f1f3ef; }
.support-message-meta { display: flex; justify-content: flex-end; gap: 7px; align-items: center; margin-top: 5px; color: #758574; font-size: 10px; line-height: 1.5; }
.support-more, .support-error button { align-self: center; border: 0; background: none; color: #276e5b; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.support-loading { color: #758277; font-size: 13px; text-align: center; }
.support-composer { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 8px 12px; align-items: center; padding: 16px 18px 12px; border-top: 1px solid #e8ece5; background: #fff; }
.support-composer textarea { width: 100%; min-height: 48px; max-height: 130px; resize: vertical; border: 0; padding: 6px 0; border-radius: 0; background: transparent; box-shadow: none; color: #22362e; font: inherit; font-size: 14px; line-height: 1.5; }
.support-composer textarea:focus { outline: none; box-shadow: none; }
.support-composer:focus-within { border-top-color: #97af89; }
.support-composer textarea::placeholder { color: #99a498; }
.support-send { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #276e5b; color: #fff; cursor: pointer; }
.support-send:disabled { opacity: .35; cursor: default; }
.support-composer-hint { grid-column: 1 / -1; color: #98a293; font-size: 10px; line-height: 1.4; }
.support-error, .support-unavailable { flex: none; margin: 0; padding: 10px 18px; background: #fcf4e8; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.support-error[hidden] { display: none; }
.support-error button { margin-left: 8px; }
.support-unavailable a { color: #276e5b; }
.support-panel button:focus-visible, .support-launcher:focus-visible { outline: 2px solid #276e5b; outline-offset: 3px; }
@media (max-width: 640px) {
  body.support-open { overflow: hidden; }
  .support-panel { inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .support-header { padding: max(16px, env(safe-area-inset-top)) 16px 16px; }
  .support-composer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .support-composer textarea { font-size: 16px; }
  .support-composer-hint { display: none; }
  .support-launcher { flex-basis: 34px; width: 34px; }
}
