#support-widget { font-family: inherit; color: #f2f7fc; }
.support-review-card { margin-top: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; overflow-wrap: anywhere; }
.support-launcher { position: fixed; bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); z-index: 65; min-height: 48px; border: 1px solid #38bdf850; border-radius: 999px; padding: 12px 18px; color: white; background: linear-gradient(100deg,#0284c7,#9333ea); box-shadow: 0 8px 30px #0006; font-weight: 700; cursor: pointer; }
.support-chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 70; display: flex; flex-direction: column; width: min(390px, calc(100vw - 24px)); max-height: calc(100dvh - 104px); border: 1px solid #334155; border-radius: 18px; background: #0f172a; box-shadow: 0 20px 70px #0009; overflow: hidden; }
.support-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px; background: #17233b; }
.support-heading strong { font-size: 15px; }
.support-heading small { display: block; color: #a5b4fc; font-size: 12px; margin-top: 4px; }
.support-close { border: 0; background: transparent; color: white; font-size: 24px; min-width: 44px; min-height: 44px; cursor: pointer; }
.support-messages { min-height: 100px; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 14px; }
.support-message { max-width: 94%; padding: 12px; border-radius: 14px; line-height: 1.6; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 12px; background: #1e293b; }
.support-message.user { margin-left: auto; background: #075985; }
.support-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px; }
.support-quick button, .support-feedback button, .support-reset { border: 1px solid #334155; background: #17233b; color: #bae6fd; border-radius: 10px; padding: 8px 10px; font-size: 12px; cursor: pointer; }
.support-privacy { color: #94a3b8; font-size: 11px; line-height: 1.5; padding: 10px 14px 0; margin: 0; }
.support-feedback { padding: 10px 14px; font-size: 11px; color: #cbd5e1; line-height: 1.5; }
.support-feedback label { display: flex; gap: 8px; align-items: start; }
.support-feedback input { flex: 0 0 auto; margin-top: 3px; }
.support-feedback button { margin-top: 8px; }
.support-status { margin: 0; padding: 8px 14px; font-size: 12px; color: #fcd34d; overflow-wrap: anywhere; }
.support-status:empty { padding-block: 0; }
.support-form { display: flex; gap: 8px; padding: 12px 14px; }
.support-form textarea { width: 100%; min-width: 0; resize: none; max-height: 100px; padding: 10px; border: 1px solid #334155; background: #020617; color: white; border-radius: 10px; font: inherit; font-size: 16px; }
.support-form .button { flex-shrink: 0; padding-inline: 12px; font-size: 14px; }
.support-footer { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 0 14px 14px; }
.support-human { color: #7dd3fc; font-size: 12px; text-decoration: underline; }
.support-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#app button.fixed[data-action="advisor"] { bottom: 80px; }
.support-chat-open #app button.fixed[data-action="advisor"] { display: none; }
@media (max-width: 479px) {
    .support-chat { right: 12px; bottom: 76px; max-height: calc(100dvh - 88px); }
    .support-heading { padding: 10px 12px; }
    .support-quick { display: none; }
    .support-messages { min-height: 60px; }
}
@media (max-height: 500px) {
    .support-chat { bottom: 12px; max-height: calc(100dvh - 24px); }
    .support-chat-open .support-launcher, .support-quick, .support-privacy { display: none; }
    .support-feedback { max-height: 100px; overflow-y: auto; }
}
