.tsa-help-launch{position:fixed;right:20px;bottom:18px;z-index:90;border:1px solid #3b84c0;border-radius:999px;background:linear-gradient(125deg,#0876d4,#0952a9);color:white;padding:11px 17px;font:600 14px system-ui;box-shadow:0 6px 28px #0005;cursor:pointer;display:flex;gap:8px;align-items:center}
#ts-helper.tsa-helper{box-sizing:border-box;position:fixed;inset:auto 18px 80px auto;margin:0;width:392px;max-width:calc(100vw - 24px);height:min(570px,calc(100dvh - 106px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--ts-line,#29394f);border-radius:18px;overflow:hidden;background:var(--ts-surface,var(--ts-panel,#101c2d));color:var(--ts-ink,#ecf3fb);box-shadow:0 12px 48px #0005;z-index:110;font:13px/1.55 system-ui}
#ts-helper:not([open]){display:none}#ts-helper[open]{display:flex;flex-direction:column}#ts-helper *{box-sizing:border-box}#ts-helper [hidden]{display:none!important}#ts-helper .tsa-helper-head{display:flex;align-items:center;gap:10px;flex-shrink:0;padding:12px 14px;border-bottom:1px solid var(--ts-line,#29394f);background:linear-gradient(120deg,#15314b40,transparent);position:static}#ts-helper .tsa-helper-head>div:nth-child(2){flex:1;min-width:0}#ts-helper .tsa-helper-head h2{font:700 14px/1.4 system-ui;letter-spacing:0;margin:0;color:inherit}#ts-helper .tsa-helper-head small{font-size:11px;color:var(--ts-muted,#9fb1c8)}#ts-helper .tsa-helper-head button{padding:0;width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:var(--ts-muted,#9fb1c8);font:20px system-ui;cursor:pointer;flex-shrink:0}.tsa-helper-avatar{width:32px;height:32px;border-radius:11px;background:linear-gradient(135deg,#1284e2,#0752a9);display:grid;place-items:center;color:white;font-size:19px;flex-shrink:0}
#ts-helper .tsa-helper-tabs{display:flex;gap:6px;padding:7px 12px;flex-shrink:0;border-bottom:1px solid var(--ts-line,#29394f)}#ts-helper button{cursor:pointer}#ts-helper .tsa-helper-tabs button,#ts-helper .tsa-helper-topics button,#ts-helper .tsa-helper-actions button{border:1px solid var(--ts-line,#29394f);background:transparent;color:inherit;border-radius:8px;font:12px/1.5 system-ui;padding:6px 10px}#ts-helper .tsa-helper-tabs button{flex:1}#ts-helper .tsa-helper-tabs button[aria-pressed=true]{background:#1785e126;color:var(--ts-blue,#5ab4ff);border-color:#238bdf77}#ts-helper [data-helper-pane]{padding:0 12px 10px;min-height:0;flex:1;overflow:auto}#ts-helper [data-helper-pane=help]{display:flex;flex-direction:column}#ts-helper .tsa-helper-messages{display:flex;flex-direction:column;gap:12px;flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain;padding:14px 0 8px}#ts-helper .tsa-helper-messages article{font-size:13px;line-height:1.55;padding:10px 12px;border:0;border-radius:4px 13px 13px;background:var(--ts-bg,#0a1422);max-width:94%;align-self:flex-start;flex-shrink:0;overflow-wrap:anywhere}#ts-helper .tsa-helper-messages article strong{font-size:12px;display:block}#ts-helper .tsa-helper-messages article.is-user{margin:0 0 0 28px;align-self:flex-end;border-radius:13px 4px 13px 13px;background:#187ed329}#ts-helper .tsa-helper-messages p{margin:4px 0}#ts-helper .tsa-helper-messages ol{padding-left:20px;margin:9px 0}#ts-helper .tsa-helper-messages li+li{margin-top:5px}#ts-helper .tsa-helper-messages a{display:inline-block;font-size:12px;margin-top:6px;color:var(--ts-blue,#59b4ff)}#ts-helper .tsa-helper-topics,#ts-helper .tsa-helper-actions{display:flex;gap:5px;flex-wrap:wrap;margin:6px 0;flex-shrink:0}#ts-helper .tsa-helper-topics button{font-size:11px;padding:5px 8px;border-radius:7px}#ts-helper .tsa-helper-topics select{width:100%;font:12px system-ui;background:var(--ts-bg,#0a1422);border:1px solid var(--ts-line,#29394f);border-radius:9px;color:inherit;padding:9px}#ts-helper [data-help-form],#ts-helper .tsa-helper-foot{flex-shrink:0}#ts-helper .tsa-helper-compose{display:flex;flex-direction:row;align-items:center;gap:6px;margin:6px 0 0;padding:4px;border:1px solid var(--ts-line,#29394f);border-radius:11px;background:var(--ts-bg,#0a1422)}#ts-helper input,#ts-helper textarea{font:13px system-ui;color:inherit;border:1px solid var(--ts-line,#29394f);border-radius:10px;background:var(--ts-bg,#0a1422);padding:10px}#ts-helper .tsa-helper-compose input{min-width:0;flex:1;border:0;background:transparent;padding:9px 8px;box-shadow:none;width:100%}#ts-helper .tsa-helper-compose button{border:0;border-radius:8px;background:#1178d4;color:white;width:34px;height:34px;padding:0;flex-shrink:0;font:22px/1 system-ui}#ts-helper .tsa-helper-foot{display:flex;justify-content:space-between;gap:6px;margin-top:8px;padding:0;background:transparent;border:0;font-size:10px;color:var(--ts-muted,#a8bbd1)}#ts-helper .tsa-helper-foot a{color:inherit}#ts-helper .tsa-helper-note{font-size:11px;color:var(--ts-muted,#a8bbd1);margin:9px 0}#ts-helper textarea{width:100%;margin:6px 0 10px;resize:vertical}#ts-helper label{font-size:12px}#ts-helper pre{font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;background:var(--ts-bg,#08121e);padding:12px;border-radius:10px}#ts-helper .tsa-helper-result{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin-top:12px}#ts-helper .tsa-helper-result:empty{display:none}#ts-helper button:disabled{opacity:.55;cursor:wait}.tsa-helper-history{font-size:12px;margin-top:16px}.tsa-helper-history summary{cursor:pointer}.tsa-helper-history button{display:block;width:100%;text-align:left;margin-top:8px;border:1px solid var(--ts-line,#29394f);border-radius:9px;color:inherit;background:transparent;padding:9px;font:inherit}.tsa-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tsa-proof{box-sizing:border-box;width:min(450px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:22px;border:1px solid var(--ts-line,#29394f);border-radius:18px;background:var(--ts-surface,var(--ts-panel,#101c2d));color:var(--ts-ink,#ecf3fb)}.tsa-proof::backdrop{background:#030a16a8;backdrop-filter:blur(4px)}.tsa-proof h2{font-size:20px;margin-top:0}.tsa-proof .ts-form-actions{justify-content:flex-end}.ts-settings-stack{display:grid;gap:16px}.ts-settings-stack>.ts-notice{margin:0}.ts-safety-summary{margin-bottom:18px}.tsa-ai-metrics{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.tsa-ai-metrics>div{flex:1;min-width:140px;padding:14px;border:1px solid var(--ts-line);border-radius:12px}.tsa-ai-metrics strong{display:block;font-size:24px}.tsa-ai-history{display:grid;gap:8px}.tsa-ai-history article{padding:12px;border-bottom:1px solid var(--ts-line);overflow-wrap:anywhere}.cf-turnstile{max-width:100%}.ts-nav-unread{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:6px;background:#1684e426;color:var(--ts-blue,#58b0ff);font:600 10px/1 system-ui;margin-left:auto;flex-shrink:0}.ts-nav-unread[hidden]{display:none!important}.tsa-provider-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tsa-provider-actions .ts-button{font-size:12px}.tsa-provider-feedback{padding:10px 12px;border-left:1px solid #248bdc;background:#248bdc0c;font-size:12px;line-height:1.65;white-space:pre-wrap}.tsa-provider-feedback:empty{display:none}.tsa-model-status{font-size:11px;color:var(--ts-muted);margin:3px 0 10px}
@media(max-width:599px){#ts-helper.tsa-helper{inset:auto 8px 8px 8px;max-width:none;width:calc(100vw - 16px);height:min(610px,calc(100dvh - 16px));max-height:calc(100dvh - 16px);border-radius:16px}.tsa-help-launch{font-size:12px;bottom:12px;right:12px}.tsa-help-launch[aria-expanded=true]{visibility:hidden}#ts-helper .tsa-helper-head{padding:11px 12px}.tsa-proof{padding:16px}}

/* Compact message identities and a single calm focus boundary. */
#ts-helper .tsa-helper-messages .tsa-chat-message{border:1px solid var(--ts-line,#29394f);border-radius:12px;padding:11px 12px;max-width:96%;box-shadow:none}
#ts-helper .tsa-helper-messages .tsa-chat-message.is-user{background:#187ed315;border-color:#278bdc40;margin-left:30px;border-radius:12px}
#ts-helper .tsa-message-author{display:flex;align-items:center;gap:7px;position:static;margin:0 0 7px;padding:0;background:none;border:0;font:600 11px/1.4 system-ui;color:var(--ts-muted,#9fb1c8)}
#ts-helper .tsa-message-icon{display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:7px;background:#1385df22;color:var(--ts-blue,#58b1ff);font-size:14px}
#ts-helper .tsa-message-icon svg{width:15px;height:15px;display:block}
#ts-helper .is-user .tsa-message-icon{background:#849ab51a;color:inherit}
#ts-helper .tsa-helper-messages article>strong{font-size:12px;line-height:1.5;margin:0 0 5px}
#ts-helper input#ts-helper-question,#ts-helper input#ts-helper-question:focus,#ts-helper input#ts-helper-question:focus-visible{outline:0!important;box-shadow:none!important;border:0!important;border-radius:6px}
#ts-helper .tsa-helper-compose:focus-within{border-color:#338fdb;box-shadow:0 0 0 1px #338fdb40}
#ts-helper textarea:focus-visible,#ts-helper select:focus-visible{outline:1px solid #338fdb;outline-offset:2px;box-shadow:none}
#ts-helper .tsa-chat-message.is-error{border-color:#d9875266}

#assistant-limits{scroll-margin-top:110px}

.tsa-provider-pricing{margin-top:2px}.tsa-provider-pricing .ts-form-grid{margin-top:12px}

.tsa-settings-error{padding:10px 12px;border-left:1px solid var(--ts-red,#f66);border-radius:6px;background:var(--ts-soft,#1588e008);color:var(--ts-red,#f66);font-size:13px;line-height:1.6;overflow-wrap:anywhere;scroll-margin:24px}
.tsa-access-checklist{font-size:13px;line-height:1.6}.tsa-access-checklist ul{margin:8px 0;padding-left:19px;display:grid;gap:6px}.tsa-access-checklist a{overflow-wrap:anywhere}.tsa-access-ready{font-size:13px;color:var(--ts-blue);overflow-wrap:anywhere}

/* Public model pricing: compact facts, no billing controls in the connection path. */
.tsa-model-tariff{border:1px solid var(--ts-line,#29394f);border-radius:12px;padding:13px 15px;background:linear-gradient(120deg,#1588e008,transparent);min-width:0}
.tsa-model-tariff [hidden]{display:none!important}.tsa-tariff-head,.tsa-tariff-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.tsa-tariff-head>strong{font-size:12px}.tsa-tariff-badge{font-size:10px;line-height:1.5;background:#1684e41a;color:var(--ts-blue,#58b0ff);border:1px solid #258bdf40;border-radius:6px;padding:2px 7px}
.tsa-tariff-rates{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:11px 0 8px}.tsa-tariff-rates small{display:block;font-size:10px;color:var(--ts-muted,#9fb1c8)}.tsa-tariff-rates strong{display:block;font-size:20px;line-height:1.5;font-variant-numeric:tabular-nums}.tsa-tariff-rates>span{font-size:10px;color:var(--ts-muted,#9fb1c8)}
.tsa-model-tariff p{font-size:11px;line-height:1.6;margin:6px 0;color:var(--ts-muted,#9fb1c8);overflow-wrap:anywhere}.tsa-model-tariff .tsa-tariff-example{color:var(--ts-ink,#ecf3fb)}.tsa-model-tariff .tsa-tariff-warning{color:#d5a866}.tsa-tariff-foot{font-size:10px;color:var(--ts-muted,#9fb1c8);margin-top:9px}.tsa-tariff-foot a{color:var(--ts-blue,#58b0ff)}
@media(max-width:480px){.tsa-model-tariff{padding:11px}.tsa-tariff-rates{column-gap:22px;row-gap:3px}.tsa-tariff-rates>span{flex-basis:100%}.tsa-tariff-rates strong{font-size:18px}}

.tsa-history-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}.tsa-history-actions form{margin:0}.tsa-history-actions .ts-text-button{white-space:normal}

/* The floating assistant has its own palette and a visible frame above the site. */
#ts-helper.tsa-helper{
 --ts-bg:#102338;--ts-line:#42617f;--ts-ink:#f4f8ff;--ts-muted:#b8cce0;
 --assistant-bubble:#203c58;--assistant-user:#114c7a;--assistant-scroll:#7299bc;
 background:#172f49;border-color:#7299bc;
 box-shadow:0 24px 80px #020815b3,0 0 0 1px #7299bc33;
}
#ts-helper .tsa-helper-head{background:linear-gradient(115deg,#144a73,#1e3854);border-bottom-color:#526f8d}
#ts-helper .tsa-helper-tabs{background:#122b43}
#ts-helper .tsa-helper-messages .tsa-chat-message{background:var(--assistant-bubble);border-color:#4a6885}
#ts-helper .tsa-helper-messages .tsa-chat-message.is-user{background:var(--assistant-user);border-color:#478dc4}
#ts-helper .tsa-helper-head button:hover{background:#ffffff16;color:var(--ts-ink)}
#ts-app[data-theme=light] #ts-helper.tsa-helper{
 --ts-bg:#fff;--ts-line:#9ab8d4;--ts-ink:#14283d;--ts-muted:#49637c;
 --assistant-bubble:#fff;--assistant-user:#cfe6ff;--assistant-scroll:#5c83a9;
 background:#e3f0ff;border-color:#668eb5;
 box-shadow:0 24px 75px #173a6452,0 0 0 1px #668eb533;
}
#ts-app[data-theme=light] #ts-helper .tsa-helper-head{background:linear-gradient(115deg,#c6e0fb,#e0efff);border-bottom-color:#9ab8d4}
#ts-app[data-theme=light] #ts-helper .tsa-helper-tabs{background:#d6e8fb}
#ts-app[data-theme=light] #ts-helper .tsa-helper-messages .tsa-chat-message{border-color:#9ab8d4}
#ts-app[data-theme=light] #ts-helper .tsa-helper-messages .tsa-chat-message.is-user{border-color:#7badd8}
#ts-helper,#ts-helper *{scrollbar-width:thin;scrollbar-color:var(--assistant-scroll) transparent}
#ts-helper ::-webkit-scrollbar{width:6px;height:6px}
#ts-helper ::-webkit-scrollbar-track{background:transparent}
#ts-helper ::-webkit-scrollbar-thumb{background:var(--assistant-scroll);border:1px solid transparent;border-radius:10px;background-clip:padding-box}
#ts-helper ::-webkit-scrollbar-thumb:hover{background:#9bbfe0}
#ts-helper ::-webkit-scrollbar-button{display:none;width:0;height:0}
#ts-helper ::-webkit-scrollbar-corner{background:transparent}
#ts-helper .tsa-helper-messages{scrollbar-gutter:stable;overscroll-behavior:contain}

#ts-helper .tsa-helper-foot{justify-content:flex-end}#ts-helper .tsa-helper-activation{display:inline-block;margin-top:7px;color:var(--ts-blue,#5ab4ff);font-weight:600}

#ts-helper .tsa-helper-source{display:block;margin-top:7px;line-height:1.5}
