.scai-root,.scai-dialog{--scai-accent:#f0a10b;--scai-ink:#24243e;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--scai-ink);text-align:left;box-sizing:border-box}.scai-root *,.scai-dialog *{box-sizing:border-box}.scai-root button,.scai-dialog button{font:inherit;text-transform:none;letter-spacing:normal;cursor:pointer}.scai-launcher{position:fixed;right:18px;bottom:var(--scai-bottom,18px);z-index:9998;display:grid;place-items:center;width:52px;height:52px;padding:0;border:1px solid #ffffff70;border-radius:18px;background:var(--scai-accent);color:var(--scai-ink);box-shadow:0 5px 20px #20243f26}.scai-launcher:hover{background:var(--scai-accent);color:var(--scai-ink);filter:brightness(.97)}.scai-dialog{position:fixed;inset:auto 18px 18px auto;width:410px;max-width:calc(100vw - 36px);height:650px;max-height:calc(100dvh - 36px);padding:0;border:1px solid #e1e4ec;border-radius:22px;background:#fff;box-shadow:0 20px 80px #20243f40;margin:0;overflow:hidden}.scai-dialog[open]{display:flex;flex-direction:column}.scai-dialog::backdrop{background:#17192a26}.scai-dialog [hidden]{display:none!important}.scai-head{display:flex;align-items:center;gap:12px;padding:20px 16px;background:var(--scai-ink);color:#fff;flex-shrink:0}.scai-head h2{font:650 18px/1.3 system-ui;margin:0;color:#fff}.scai-head p{font-size:11px;line-height:1.5;margin:4px 0 0;color:#ffffffb5}.scai-head .scai-back{flex-shrink:0;width:38px;height:38px;padding:0;border:1px solid #ffffff35;border-radius:12px;color:white;background:#ffffff0d;font-size:22px}.scai-actions{display:flex;gap:8px;padding:12px 16px;border-bottom:1px solid #edf0f4;flex-shrink:0}.scai-actions button{border:1px solid #e1e4ec;background:#f7f8fb;color:var(--scai-ink);padding:9px 12px;border-radius:9px;font-size:12px;font-weight:600;min-height:38px}.scai-actions button:first-child{margin-right:auto}.scai-actions button:disabled{opacity:.75;cursor:default}.scai-messages,.scai-account{padding:18px 16px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin}.scai-greeting{font-size:17px;font-weight:600;line-height:1.5;margin:6px 0 22px;max-width:290px}.scai-message{max-width:95%;background:#f2f4f8;border-radius:14px 14px 14px 4px;padding:12px 14px;margin-bottom:12px;overflow-wrap:anywhere}.scai-message[data-role=customer]{margin-left:auto;background:var(--scai-ink);color:#fff;border-radius:14px 14px 4px 14px}.scai-message[data-role=notice]{background:#fff6e4;font-size:12px}.scai-message[data-role=human]{border:1px solid #e9c77e;background:#fffaf0}.scai-author{display:block;font-size:10px;font-weight:650;opacity:.65;margin-bottom:4px}.scai-message p{font-size:13px;line-height:1.6;margin:0;white-space:pre-wrap;color:inherit}.scai-sources{display:flex;flex-direction:column;gap:6px;margin-top:9px}.scai-sources a{color:var(--scai-ink);font-size:12px;text-decoration:underline;text-underline-offset:3px}.scai-foot{border-top:1px solid #e8eaf0;padding:10px 14px 14px;background:#fff;flex-shrink:0}.scai-privacy{margin:0 0 8px}.scai-privacy summary{font-size:10px;color:#73798a;cursor:pointer}.scai-privacy p{font-size:11px;line-height:1.5;margin:8px 0;max-height:100px;overflow:auto;color:#62687b}.scai-consent{display:flex;gap:8px;align-items:flex-start;font-size:10px;line-height:1.5;color:#62687b;margin:8px 0}.scai-consent input{margin:3px 0 0;width:14px;height:14px;flex-shrink:0;accent-color:var(--scai-ink)}.scai-status{font-size:11px;color:#686f80;margin:0 0 7px;min-height:0}.scai-status:empty{display:none}.scai-compose{display:flex;gap:8px;align-items:center;border:1px solid #dfe2eb;border-radius:13px;padding:6px;background:#fafbfc;margin:0}.scai-compose textarea{font:14px/1.5 system-ui;border:0;resize:none;min-height:34px;max-height:100px;height:36px;flex:1;min-width:0;padding:6px 8px;background:transparent;box-shadow:none;outline:0;color:var(--scai-ink);margin:0}.scai-compose button{display:grid;place-items:center;flex-shrink:0;height:36px;width:36px;padding:0;border:0;border-radius:10px;background:var(--scai-ink);color:#fff;font-size:21px}.scai-compose button:disabled{opacity:.5}.scai-dialog :focus-visible,.scai-launcher:focus-visible{outline:2px solid var(--scai-accent);outline-offset:3px}.scai-compose:focus-within{border-color:var(--scai-ink)}.scai-account h3,.scai-account h4{color:var(--scai-ink);font-size:17px;margin:0 0 12px}.scai-account p{font-size:12px;margin:0 0 16px;color:#62687b}.scai-account a{display:block;border:1px solid #e1e4ec;border-radius:10px;padding:12px;margin:8px 0;font-size:13px;color:var(--scai-ink);text-decoration:none}.scai-account h4{margin-top:22px;font-size:13px}html.scai-open{overflow:hidden}@media(max-width:600px){.scai-dialog{inset:0;width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0}.scai-head{padding-top:calc(16px + env(safe-area-inset-top,0px))}.scai-foot{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.scai-compose textarea{font-size:16px}.scai-root.scai-docked .scai-launcher{width:40px;height:40px;border-radius:13px;right:12px}.scai-launcher{bottom:calc(var(--scai-bottom,18px) + env(safe-area-inset-bottom,0px))}.scai-actions button{min-height:42px}.scai-head .scai-back{width:42px;height:42px}}@media(prefers-reduced-motion:reduce){.scai-dialog *{scroll-behavior:auto!important}}
.scai-head .scai-restart{margin-left:auto;flex-shrink:0;background:transparent;border:0;color:#fff;padding:8px;font-size:22px;min-width:36px;min-height:40px}.scai-usage a{color:var(--scai-ink);text-decoration:underline}
.scai-channels{display:flex;gap:5px;flex:none;margin:10px 14px 0;padding:4px;border:1px solid #e8e9f0;border-radius:14px;background:#f2f3f7}.scai-channels button{flex:1;min-width:0;min-height:42px;border:0;border-radius:10px;padding:9px 12px;color:#73788b;background:transparent;font-size:13px;font-weight:650;text-align:center;display:flex;align-items:center;justify-content:center;gap:7px}.scai-channels button[aria-pressed=true]{background:var(--scai-ink);color:#fff;box-shadow:0 2px 5px #24243e12}.scai-channels button:disabled{cursor:wait;opacity:.65}.scai-channel-unread{font-size:10px;line-height:18px;min-width:18px;padding:0 5px;background:#f0a10b;color:#24243e;border-radius:12px}.scai-dialog[data-channel=human] .scai-channels{margin-bottom:10px}.scai-team-empty{padding:20px 8px;font-size:14px;line-height:1.6;color:#73788b}.scai-dialog[data-channel=human] .scai-head{background:#303044}.scai-dialog[data-channel=human] .scai-message[data-role=human]{border-color:#e9d5ac;background:#fffaf0}.scai-channels button:hover{filter:brightness(.97)}@media(prefers-reduced-motion:no-preference){.scai-channels button{transition:background .18s ease,color .18s ease}}@media(max-width:600px){.scai-channels{margin:8px 12px 0}.scai-channels button{min-height:42px;font-size:13px}.scai-actions{padding-top:6px;padding-bottom:6px}}
.scai-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px;margin-top:14px}.scai-compare-card{min-width:0;border:1px solid #dfe3ec;background:#fff;border-radius:10px;padding:10px}.scai-compare-card h3{font:700 13px/1.4 system-ui;color:var(--scai-ink);margin:0 0 12px}.scai-spec{padding:8px 0;border-top:1px solid #edf0f4}.scai-spec span{display:block;font-size:10px;color:#777d8c;margin-bottom:3px}.scai-spec strong{font:500 11px/1.5 system-ui;display:block;color:var(--scai-ink)}.scai-compare-card>a{display:block;color:var(--scai-ink);font-size:11px;margin-top:10px;text-decoration:underline}.scai-product-cards{display:grid;gap:7px;margin:12px 0}.scai-product-cards>a{display:block;border:1px solid #dee1e9;border-radius:10px;padding:12px;background:#fff;color:var(--scai-ink);text-decoration:none;font-size:13px;font-weight:600}.scai-product-cards>a span{display:block;font-size:11px;color:#777d8c;margin-top:5px;font-weight:400}.scai-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 4px}.scai-suggestions button{font-size:11px;line-height:1.4;text-align:left;padding:8px 10px;border:1px solid #dbdfea;border-radius:9px;background:#fff;color:var(--scai-ink);min-height:35px}.scai-message:has(.scai-comparison){max-width:100%;padding:10px}

.scai-highlights{display:grid;gap:8px;margin-top:12px}.scai-highlight{display:flex;gap:9px;padding:10px;border:1px solid #e2e5ed;background:#fff;border-radius:10px}.scai-highlight-icon{display:grid;place-items:center;flex-shrink:0;width:23px;height:23px;border-radius:7px;background:#fff2d7;color:#8a5900;font-size:13px;font-weight:700}.scai-highlight strong{display:block;font-size:12px;margin-bottom:3px}.scai-message .scai-highlight p{font-size:12px;line-height:1.5}.scai-highlight[data-kind=important]{border-color:#e8c881;background:#fffbf2}.scai-product-image{display:block;width:100%;height:110px;object-fit:contain;object-position:center;border-radius:8px;background:#fff;margin:0 0 9px}.scai-product-cards .scai-product-image{float:left;width:64px;height:64px;margin:0 12px 0 0}.scai-product-cards>a{min-height:90px}.scai-spec strong{white-space:pre-line}.scai-sources:empty{display:none}

/* A visible invitation without opening the conversation automatically. */
.scai-root [hidden]{display:none!important}.scai-launcher{width:auto;min-width:58px;height:58px;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 18px;border-radius:19px;border:1px solid #ffffffa6;box-shadow:0 6px 24px #20243f35;transition:transform .18s ease,box-shadow .18s ease}.scai-launcher svg{flex-shrink:0;width:25px;height:25px}.scai-launcher-label{font-size:14px;font-weight:700;white-space:nowrap}.scai-nudge{position:fixed;right:18px;bottom:calc(var(--scai-bottom,18px) + 72px);z-index:9998;width:260px;max-width:calc(100vw - 36px);display:flex;align-items:flex-start;border:1px solid #e1e4ec;border-radius:17px 17px 5px 17px;box-shadow:0 8px 30px #20243f20;background:#fff;color:var(--scai-ink);animation:scai-rise .28s ease-out both}.scai-nudge-open{flex:1;min-width:0;padding:14px 0 14px 16px;border:0;background:transparent;color:var(--scai-ink);text-align:left;border-radius:17px}.scai-nudge-open:hover{background:transparent;color:var(--scai-ink)}.scai-nudge-open small{display:block;margin-bottom:3px;font-size:10px;font-weight:650;color:#73798a}.scai-nudge-text{display:block;min-height:42px;font-size:14px;line-height:1.45;font-weight:650}.scai-nudge-close{flex-shrink:0;width:36px;height:36px;padding:0;border:0;background:transparent;color:#6e7484;font-size:22px;border-radius:50%}.scai-nudge-close:hover{background:#f2f4f8;color:var(--scai-ink)}.scai-nudge button:focus-visible{outline:2px solid var(--scai-accent);outline-offset:2px}.scai-attention{animation:scai-beacon 1.6s ease-out 2}.scai-dialog[open]{animation:scai-open-in .24s cubic-bezier(.2,.8,.2,1) both;transform-origin:bottom right}.scai-dialog[open]::backdrop{animation:scai-backdrop-in .2s ease-out}.scai-dialog.scai-closing{animation:scai-close-out .16s ease-in both;pointer-events:none}.scai-dialog.scai-closing::backdrop{animation:scai-backdrop-out .16s ease-in both}.scai-message.scai-new{animation:scai-rise .23s ease-out both}.scai-new .scai-compare-card,.scai-new .scai-highlight,.scai-new .scai-product-cards>a{animation:scai-rise .26s ease-out both;animation-delay:.06s}.scai-new .scai-compare-card:nth-child(2),.scai-new .scai-highlight:nth-child(2){animation-delay:.1s}.scai-compose button,.scai-actions button,.scai-suggestions button{transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.scai-compose button:active,.scai-actions button:active,.scai-launcher:active{transform:scale(.96)}.scai-status.scai-busy:not(:empty)::after{content:'â€¢â€¢â€¢';display:inline-block;color:var(--scai-accent);letter-spacing:3px;margin-left:7px;animation:scai-dots 1.15s ease-in-out infinite}.scai-compose:focus-within{box-shadow:0 0 0 3px #f0a10b16;transition:box-shadow .18s ease}
@media(hover:hover){.scai-launcher:hover{transform:translateY(-2px);box-shadow:0 10px 30px #20243f40}.scai-suggestions button:hover{background:#fff9ed;border-color:#dfc98f}}
@media(max-width:600px){.scai-launcher{width:56px;min-width:56px;height:56px;padding:0;border-radius:18px}.scai-launcher-label{display:none}.scai-nudge{width:230px;right:14px;bottom:calc(var(--scai-bottom,18px) + 68px + env(safe-area-inset-bottom,0px))}.scai-nudge-text{font-size:13px;min-height:38px}.scai-root.scai-docked .scai-launcher{width:44px;min-width:44px;height:44px}.scai-root.scai-docked .scai-nudge{bottom:calc(var(--scai-bottom,18px) + 55px + env(safe-area-inset-bottom,0px))}.scai-dialog[open]{transform-origin:bottom center}}
@keyframes scai-rise{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes scai-open-in{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}@keyframes scai-close-out{to{opacity:0;transform:translateY(10px) scale(.99)}}@keyframes scai-backdrop-in{from{background:#17192a00}to{background:#17192a26}}@keyframes scai-backdrop-out{to{background:#17192a00}}@keyframes scai-beacon{0%{box-shadow:0 6px 24px #20243f35,0 0 0 0 #f0a10b55}80%,100%{box-shadow:0 6px 24px #20243f35,0 0 0 12px #f0a10b00}}@keyframes scai-dots{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.scai-root *,.scai-dialog,.scai-dialog *,.scai-dialog::backdrop{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Consent belongs to the site's existing preferences, not a second chat checkbox. */
.scai-consent-gate{padding:12px 14px;background:#fff8e8;border:1px solid #f1dbad;border-radius:12px;margin:8px 0;color:#24243e;font-size:13px;line-height:1.45}
.scai-consent-gate p{margin:5px 0 9px!important;font-size:12px!important;line-height:1.5!important}.scai-consent-gate button{background:var(--scai-ink);color:white;border:0;border-radius:8px;padding:9px 12px;font-size:12px;cursor:pointer}.scai-consent-gate[hidden]{display:none!important}.scai-compose textarea:disabled{background:#f5f5f8;color:#777}
.scai-cmp-service{border:1px solid #dedee8;border-radius:8px;padding:12px;margin:8px 0;background:#fff}.scai-cmp-service label{display:flex!important;align-items:center;justify-content:space-between;gap:12px;font-weight:700;color:#24243e}.scai-cmp-choice{appearance:auto!important;opacity:1!important;position:static!important;width:20px!important;height:20px!important;accent-color:#f0a10b;flex:none}.scai-cmp-service p,.scai-cmp-disclosure{font-size:12px!important;line-height:1.5!important;margin:8px 0 0!important}

.scai-privacy-choice{appearance:none;background:transparent;border:0;color:var(--scai-ink);text-decoration:underline;font:inherit;font-size:12px;padding:5px 0;cursor:pointer}

/* Existing banner styles use a 220px flex basis; in a column that makes square buttons. */
.cmplz-cookiebanner:has(.scai-cmp-service) .cmplz-buttons{flex-direction:row!important;flex-wrap:wrap!important;align-items:stretch!important;height:auto!important;gap:8px!important}
.cmplz-cookiebanner:has(.scai-cmp-service) .cmplz-buttons .cmplz-btn{flex:1 1 150px!important;width:auto!important;max-width:none!important;height:auto!important;min-height:44px!important;padding:10px 14px!important;line-height:1.3!important;text-align:center!important}

/* One lightweight local portrait, reused in the launcher and header. */
.scai-root .scai-avatar{display:block;object-fit:contain;flex:none;width:52px;height:52px;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:none;box-shadow:none}
.scai-launcher.scai-has-avatar{padding-left:6px;gap:7px}.scai-launcher.scai-has-avatar>svg{display:none}
.scai-head .scai-avatar{width:48px;height:48px}.scai-head .scai-identity{min-width:0;flex:1}.scai-head .scai-identity h2{font-size:17px;overflow-wrap:anywhere}.scai-head:has(.scai-avatar){gap:9px;padding-top:15px;padding-bottom:15px}.scai-head .scai-restart{flex-shrink:0}
@media(max-width:600px){.scai-launcher.scai-has-avatar{padding:0;gap:0}.scai-launcher .scai-avatar{width:50px;height:50px}.scai-root.scai-docked .scai-launcher .scai-avatar{width:39px;height:39px}.scai-head:has(.scai-avatar){padding-top:calc(14px + env(safe-area-inset-top,0px))}.scai-head .scai-avatar{width:43px;height:43px}.scai-head .scai-identity h2{font-size:16px}}

/* An opt-in launch announcement, dismissed for the current browsing session. */
.scai-nudge.scai-novelty{border-color:#e9c776;width:280px;background:linear-gradient(135deg,#fffdf7,#fff)}.scai-novelty .scai-nudge-open small{display:inline-block;border-radius:20px;padding:3px 9px;margin-bottom:8px;background:#fff0c9;color:#6e4b06;font-size:11px;font-weight:750}.scai-novelty .scai-nudge-text{min-height:0;font-weight:550;font-size:14px;line-height:1.5}.scai-novelty .scai-nudge-open{padding-bottom:16px}
@media(max-width:600px){.scai-nudge.scai-novelty{width:250px;max-width:calc(100vw - 28px)}.scai-novelty .scai-nudge-text{font-size:13px}}

/* Mobile invitation sits beside the launcher, above the reserved purchase bar. */
@media(max-width:600px){
 .scai-nudge,.scai-nudge.scai-novelty{right:82px;bottom:calc(var(--scai-bottom,18px) + env(safe-area-inset-bottom,0px));width:min(240px,calc(100% - 96px));max-width:none;border-radius:13px 13px 4px 13px}
 .scai-root.scai-docked .scai-nudge{right:68px;bottom:calc(var(--scai-bottom,18px) + env(safe-area-inset-bottom,0px));width:min(240px,calc(100% - 82px))}
 .scai-nudge .scai-nudge-open{padding:10px 0 10px 12px}
 .scai-nudge .scai-nudge-open small{font-size:9px;margin-bottom:4px;padding:2px 7px}
 .scai-nudge .scai-nudge-text{font-size:12px;line-height:1.4;min-height:0}
 .scai-nudge .scai-nudge-close{width:32px;height:36px;font-size:20px}
}

.scai-private-reply{border:1px solid #dfe5e8;background:#f5f8f8}.scai-order-card{display:flex;flex-direction:column;gap:4px;border:1px solid #e1e4ec;border-radius:11px;background:white;padding:12px;margin-top:10px}.scai-order-card>strong{font-size:14px}.scai-order-card>span{font-size:12px;color:#606779}.scai-order-links,.scai-private-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.scai-order-links a,.scai-private-links a{font-size:12px;color:var(--scai-ink);text-decoration:underline;text-underline-offset:3px}.scai-order-links a{padding:8px 10px;border:1px solid #e1e4ec;border-radius:8px;background:#f7f8fb;text-decoration:none}.scai-dialog .scai-account-followup{display:block;margin-top:10px;border:1px solid #e1e4ec;border-radius:9px;background:white;color:var(--scai-ink);padding:9px 12px;font-size:12px;text-align:center}.scai-private-note{display:block;font-size:10px;line-height:1.4;color:#707789;margin-top:12px}

/* Guided help stays in the same conversation and never navigates away. */
.scai-help-panel{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px}.scai-help-bar{margin-bottom:16px}.scai-help-bar button,.scai-tool-free{border:0;background:none;color:var(--scai-ink);font-size:12px;padding:8px 0;min-height:40px}.scai-help-panel h3{font:700 20px/1.3 system-ui;color:var(--scai-ink);margin:0 0 8px}.scai-help-intro{font-size:12px;color:#62687b;line-height:1.5;margin:0 0 18px}.scai-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.scai-tool-grid button{display:flex;align-items:flex-start;gap:8px;text-align:left;min-width:0;min-height:94px;padding:12px 10px;border:1px solid #e1e4ec;border-radius:13px;background:#fbfbfd;color:var(--scai-ink)}.scai-tool-grid strong{display:block;font-size:12px;line-height:1.35}.scai-tool-grid small{display:block;color:#74798a;font-size:10px;line-height:1.4;margin-top:5px}.scai-tool-icon{display:grid;place-items:center;flex:none;background:#fff0ce;color:#8b6008;border-radius:8px;width:26px;height:26px;font-size:17px}.scai-tool-form{display:grid;gap:16px;margin:0}.scai-tool-form label{display:grid;gap:7px;margin:0;font-size:13px;font-weight:600;color:var(--scai-ink)}.scai-tool-form input{width:100%;min-width:0;height:46px;border:1px solid #dfe2eb;border-radius:10px;padding:10px 12px;background:#fbfbfd;color:var(--scai-ink);font:400 16px/1.4 system-ui;box-shadow:none}.scai-tool-form .scai-tool-submit{min-height:46px;border:0;border-radius:11px;background:var(--scai-ink);color:#fff;padding:12px;font-weight:600;font-size:13px}.scai-tool-free{text-align:center}.scai-starters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.scai-starters button{min-height:44px;padding:10px;border:1px solid #e1e4ec;border-radius:11px;background:#fafafd;color:var(--scai-ink);font-size:11px;line-height:1.4;text-align:left;font-weight:550}.scai-greeting:has(.scai-starters){max-width:none}.scai-actions .scai-help-toggle{background:#fff8e9;border-color:#eddbb4}.scai-guide-card{border:1px solid #e1e4ec;border-radius:12px;background:#fff;padding:12px;margin-top:12px}.scai-guide-card h3{font:700 14px/1.4 system-ui;margin:0 0 5px;color:var(--scai-ink)}.scai-guide-card .scai-guide-product{font-size:11px;color:#767b8b;margin-bottom:10px}.scai-guide-row{display:flex;align-items:flex-start;gap:9px;padding:10px 0;border-top:1px solid #edf0f4}.scai-guide-icon{display:grid;place-items:center;flex:none;border-radius:8px;background:#fff4dc;width:24px;height:24px;font-size:12px;font-weight:700}.scai-guide-row strong{font-size:12px;display:block;margin-bottom:3px}.scai-guide-row p{font-size:12px;line-height:1.5}.scai-guide-card>a{display:block;font-size:11px;color:var(--scai-ink);margin-top:8px;text-decoration:underline}.scai-stock-label{display:block;font-size:10px;font-weight:550;line-height:1.4;color:#696f7e;padding:5px 0 8px}.scai-tool-grid button:hover,.scai-starters button:hover{border-color:#dfc98f;background:#fffaf0}@media(max-width:360px){.scai-tool-grid{grid-template-columns:1fr}.scai-actions{gap:5px;padding-left:10px;padding-right:10px}.scai-actions button{padding-left:8px;padding-right:8px}}

/* Immediate local message, followed by the assistant's waiting bubble. */
.scai-delivery{display:block;font-size:10px;line-height:1.4;margin-top:7px;opacity:.7}.scai-message.scai-send-error{border:1px solid #be854a}.scai-message .scai-delivery-action{display:block;border:1px solid #ffffff50;border-radius:8px;background:transparent;color:inherit;padding:7px 10px;margin-top:8px;font-size:11px;min-height:36px}.scai-typing{display:flex;align-items:center;gap:8px;margin:6px 0 14px;max-width:210px;padding:9px 12px 9px 8px;border:1px solid #e8eaf0;border-radius:15px 15px 15px 4px;background:#f6f7fa}.scai-typing .scai-avatar,.scai-typing-fallback{width:38px;height:38px;flex:none;object-fit:contain;margin:0}.scai-typing-fallback{display:grid;place-items:center;border-radius:50%;background:#fff0ce;color:var(--scai-ink);font-size:16px;font-weight:650}.scai-typing-body{min-width:72px}.scai-typing .scai-author{margin:0 0 5px;font-size:11px}.scai-typing-dots{display:flex;align-items:center;gap:5px;height:14px}.scai-typing-dots i{display:block;width:6px;height:6px;border-radius:50%;background:var(--scai-ink);animation:scai-typing-dot 1.15s ease-in-out infinite;opacity:.35}.scai-typing-dots i:nth-child(2){animation-delay:.15s}.scai-typing-dots i:nth-child(3){animation-delay:.3s}@keyframes scai-typing-dot{0%,65%,100%{opacity:.3;transform:translateY(0)}30%{opacity:.9;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.scai-typing,.scai-typing-dots i{animation:none!important;transform:none!important}.scai-typing-dots i{opacity:.6}}

/* Conversation rhythm: stable layout, one motion per reply, quiet controls. */
.scai-dialog{width:430px;height:690px;border-color:#e2e4eb;box-shadow:0 24px 72px #17192a30,0 2px 8px #17192a0d}
.scai-head{background:linear-gradient(115deg,var(--scai-ink),color-mix(in srgb,var(--scai-ink) 90%,#fff));border-bottom:1px solid #ffffff0c}
.scai-head .scai-back,.scai-head .scai-restart{border-radius:12px;transition:background .18s ease}
.scai-actions{padding:10px 16px;gap:7px;background:#fff}
.scai-actions button{font-size:11px;border-radius:10px;padding:8px 11px;background:#fff}
.scai-thread{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;background:linear-gradient(180deg,#fafafd 0,#fff 180px)}
.scai-messages{position:relative;padding:20px 18px 24px;overflow-anchor:none;scrollbar-color:#d3d5e0 transparent;scroll-padding:16px}
.scai-greeting{font-size:19px;line-height:1.45;letter-spacing:-.35px;margin:2px 0 26px}
.scai-message{position:relative;border:1px solid #e9eaf1;background:#f5f6fa;border-radius:18px 18px 18px 6px;padding:14px 15px;margin-bottom:16px;max-width:96%}
.scai-message[data-role=customer]{border-color:transparent;border-radius:18px 18px 6px 18px;background:var(--scai-ink);max-width:91%;box-shadow:0 2px 5px #24243e0b}
.scai-message p{font-size:13px;line-height:1.7}
.scai-author{display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.4;opacity:.72;margin-bottom:6px}
.scai-message[data-role=assistant]>.scai-author{opacity:1;color:#62677c;margin-top:-3px;margin-bottom:7px}
.scai-root .scai-message>.scai-author .scai-avatar{width:25px;height:25px;flex:none;margin:-2px 0 -2px -3px}
.scai-sending>.scai-author{padding-right:55px}
.scai-sending>.scai-delivery{position:absolute;top:14px;right:15px;margin:0;font-size:9px}
.scai-send-error>.scai-delivery{position:static;margin-top:8px}
.scai-typing{width:fit-content;min-width:142px;max-width:190px;padding:9px 17px 9px 9px;border-radius:17px 17px 17px 6px;gap:9px;background:#f5f6fa;box-shadow:0 2px 8px #24243e04;animation:scai-wait-in .2s ease-out}
.scai-root .scai-typing .scai-avatar{width:38px;height:38px}
.scai-typing .scai-author{opacity:.75;font-weight:600}
.scai-typing-dots{gap:5px;height:13px}
.scai-typing-dots i{width:5px;height:5px;background:var(--scai-ink);animation-duration:1.35s}
.scai-foot{border-top:1px solid #eceef4;padding:10px 14px 14px;box-shadow:0 -6px 18px #24243e03}
.scai-privacy{margin-bottom:9px}.scai-privacy summary{font-size:10px;list-style-position:inside}
.scai-compose{align-items:flex-end;padding:6px;border-radius:17px;border-color:#dfe1eb;background:#f8f9fc;transition:border-color .18s ease,box-shadow .18s ease}
.scai-compose textarea{line-height:24px;padding:6px 9px;max-height:104px;overflow-y:auto}
.scai-compose textarea:disabled{background:transparent}
.scai-compose button{height:36px;width:36px;border-radius:12px;box-shadow:0 2px 5px #24243e17}
.scai-compose button:disabled{opacity:.35;box-shadow:none}
.scai-starters button{background:#fff;min-height:50px;border-radius:13px;padding:12px;font-size:11px;box-shadow:0 2px 5px #24243e03}
.scai-sources a{text-decoration:none;padding:5px 0;line-height:1.45;color:#5c6279;border-bottom:1px solid #e3e6ef}
.scai-sources a:last-child{border-bottom:0}
.scai-suggestions{gap:7px}.scai-suggestions button{border-radius:12px;line-height:1.45;min-height:40px;padding:9px 11px}
.scai-compare-card,.scai-guide-card,.scai-highlight,.scai-product-cards>a{border-radius:12px}
.scai-latest{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:2;width:max-content;max-width:90%;border:1px solid #e4d2a7;border-radius:24px;padding:10px 16px;background:#fff8e8;color:var(--scai-ink);box-shadow:0 4px 18px #24243e17;font-size:12px!important;font-weight:600!important;min-height:42px;animation:scai-wait-in .2s ease-out}
.scai-dialog[open]{animation:scai-polish-open .26s cubic-bezier(.22,1,.36,1) both}
.scai-dialog.scai-closing{animation:scai-polish-close .18s ease-in both}
.scai-message.scai-new,.scai-outgoing{animation:scai-reply-in .24s cubic-bezier(.22,1,.36,1) both}
.scai-new .scai-compare-card,.scai-new .scai-highlight,.scai-new .scai-product-cards>a{animation:none}
.scai-help-panel{animation:scai-reply-in .2s ease-out}
.scai-tool-grid button,.scai-starters button,.scai-suggestions button{transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
@media(hover:hover){.scai-head .scai-back:hover,.scai-head .scai-restart:hover{background:#ffffff18}.scai-actions button:hover{background:#f5f6fa;border-color:#d3d6e2}.scai-tool-grid button:hover,.scai-starters button:hover{box-shadow:0 3px 10px #24243e08}.scai-sources a:hover{color:var(--scai-ink)}}
@keyframes scai-polish-open{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes scai-polish-close{to{opacity:0;transform:translateY(8px)}}
@keyframes scai-reply-in{from{opacity:.55;translate:0 4px}to{opacity:1;translate:0 0}}
@keyframes scai-wait-in{from{opacity:.8}to{opacity:1}}
@media(max-width:600px){.scai-dialog{width:100%;height:100dvh;box-shadow:none}.scai-head:has(.scai-avatar){padding-bottom:12px;padding-top:calc(12px + env(safe-area-inset-top,0px))}.scai-actions{padding:8px 12px;gap:6px}.scai-actions button{min-height:42px;padding:8px 10px}.scai-messages{padding:18px 14px 22px}.scai-message{padding:12px 13px;max-width:97%}.scai-message p{font-size:14px;line-height:1.65}.scai-greeting{font-size:20px}.scai-compose textarea{font-size:16px}.scai-foot{padding:9px 12px calc(10px + env(safe-area-inset-bottom,0px))}.scai-compose button{width:40px;height:40px}.scai-dialog[open]{animation-name:scai-mobile-open}.scai-dialog.scai-closing{animation-name:scai-polish-close}.scai-sending>.scai-delivery{top:12px;right:13px}}
@keyframes scai-mobile-open{from{opacity:.8;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.scai-handoff{padding:18px 22px;overflow:auto;flex:1;min-height:0}.scai-handoff-back{display:block;border:0;background:transparent;color:var(--scai-ink);padding:10px 0;font-size:12px!important;margin-bottom:24px;min-height:42px}.scai-handoff-tag{display:inline-block;background:#fff1cf;color:#805a0d;font-size:11px;font-weight:650;border-radius:20px;padding:6px 10px}.scai-handoff h3{font:700 25px/1.2 system-ui;color:var(--scai-ink);letter-spacing:-.5px;margin:16px 0 10px}.scai-handoff>p{font-size:14px;line-height:1.65;color:#62677c;margin:0 0 25px}.scai-handoff form{margin:0}.scai-handoff label{display:grid;gap:8px;font-size:13px;font-weight:650;color:var(--scai-ink)}.scai-handoff input{font:400 16px/1.4 system-ui;border:1px solid #d7dbe6;border-radius:12px;background:#fff;padding:13px 14px;width:100%;color:var(--scai-ink);box-shadow:none}.scai-handoff-note{font-size:12px;line-height:1.6;color:#6e7487;margin:12px 0 22px}.scai-handoff-submit{display:block;width:100%;min-height:48px;border:0;border-radius:13px;padding:12px;background:var(--scai-ink);color:white;font-weight:650!important;font-size:14px!important}.scai-handoff-submit:disabled{opacity:.6}.scai-handoff-error:empty{display:none}.scai-handoff-error{font-size:12px;color:#ac3e2b;line-height:1.5;margin:10px 0}
@media(prefers-reduced-motion:reduce){.scai-root *,.scai-dialog,.scai-dialog *,.scai-dialog::backdrop{animation:none!important;transition:none!important;scroll-behavior:auto!important;translate:none!important}}

.scai-archive-toggle{flex:none;align-self:stretch;margin:6px 16px;padding:9px 12px;border:1px solid #e6dfce;background:#fffaf0;color:#5e5139;border-radius:10px;text-align:center;font:500 12px/1.4 system-ui;cursor:pointer;min-height:38px}.scai-archive-toggle[hidden]{display:none!important}

.scai-reference-details{margin-top:12px;border-top:1px solid #e0e3eb;padding-top:9px}.scai-reference-details summary{font-size:12px;font-weight:600;cursor:pointer;color:#5c6279;padding:5px 0}.scai-reference-details[open] summary{color:var(--scai-ink)}

/* Conversation library, daily allowance and an opaque keyboard-safe surface. */
.scai-dialog,.scai-dialog .scai-foot{background:#fff!important;isolation:isolate}.scai-dialog .scai-foot{position:relative;z-index:3;flex:none}.scai-dialog .scai-compose{background:#f8f9fc!important}.scai-dialog .scai-compose textarea{background:#f8f9fc!important}
.scai-head .scai-expand{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:1px solid #ffffff30;border-radius:11px;background:transparent;color:#fff;font-size:22px;cursor:pointer}.scai-head .scai-restart{font-size:25px}
.scai-conversation-tools{display:flex;align-items:center;gap:8px;padding:4px 14px 8px;background:#fff;border-bottom:1px solid #eceef4;flex:none}.scai-conversation-tools button{background:#fff;border:0;color:var(--scai-ink);border-radius:9px;padding:8px 7px;min-height:36px;font:550 12px/1.3 system-ui;white-space:nowrap}.scai-conversation-tools button:hover{background:#f4f5f9}.scai-quota-badge{margin-left:auto;color:#71768b;font:500 10px/1.3 system-ui;white-space:nowrap}.scai-conversation-tools button:disabled{opacity:.5}
.scai-library{padding:16px;overflow:auto;min-height:0;flex:1;background:#f8f9fc}.scai-library[hidden],.scai-email-gate[hidden]{display:none!important}.scai-library h3{font:700 23px/1.3 system-ui;margin:20px 0 10px;color:var(--scai-ink)}.scai-library button{font:500 12px/1.4 system-ui;color:var(--scai-ink);min-height:40px;padding:8px 10px;border:1px solid #dfe2eb;background:#fff;border-radius:10px}.scai-library-top{display:flex;justify-content:space-between;gap:8px}.scai-library-top button:last-child{background:var(--scai-ink);color:#fff;border-color:var(--scai-ink)}.scai-library-card{display:flex;flex-wrap:wrap;align-items:center;gap:5px;background:#fff;border:1px solid #e0e3ec;border-radius:14px;padding:8px;margin-top:10px}.scai-library-card.scai-current{border-color:#e4bf6b;background:#fffdf6}.scai-library .scai-library-open{flex:1;min-width:130px;text-align:left;border:0;background:transparent;overflow-wrap:anywhere}.scai-library-open strong{display:block;font-size:13px;line-height:1.5}.scai-library-open small{display:block;font-size:11px;color:#757a8d;margin-top:5px}.scai-library .scai-delete{font-size:11px;color:#8b4b41;border:0;background:transparent}.scai-delete-confirm{width:100%;padding:10px;border-radius:10px;background:#fff6f1}.scai-delete-confirm p,.scai-library-note{font:400 12px/1.6 system-ui;color:#6d7081}.scai-delete-confirm button{margin:4px}.scai-library-note{margin-top:22px}.scai-library .scai-trash-toggle{border:0;background:transparent;text-decoration:underline;padding-left:0;color:#777d8c}
.scai-email-gate{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;padding:10px;border:1px solid #e8d6af;border-radius:13px;background:#fffcf5;margin-bottom:8px}.scai-email-gate label{flex:1;min-width:150px;font:600 12px/1.4 system-ui;color:var(--scai-ink)}.scai-email-gate input{display:block;margin-top:6px;padding:10px;width:100%;border:1px solid #dce0e9;border-radius:9px;background:#fff;color:var(--scai-ink);font:400 16px/1.3 system-ui;box-sizing:border-box}.scai-email-gate button{padding:11px;border:0;border-radius:10px;background:var(--scai-ink);color:#fff;font:600 12px/1.4 system-ui;min-height:43px}.scai-email-gate small{flex-basis:100%;font:400 10px/1.4 system-ui;color:#77798b}
@media(min-width:601px){.scai-dialog.scai-wide{width:min(940px,calc(100vw - 48px));height:min(850px,calc(100dvh - 48px));max-width:calc(100vw - 48px)}.scai-wide .scai-messages{padding:26px 36px}.scai-wide .scai-message{max-width:86%}.scai-wide .scai-message p{font-size:15px}.scai-wide .scai-compare-card h3{font-size:15px}.scai-wide .scai-spec strong{font-size:13px}.scai-wide .scai-foot{padding:12px 28px 20px}.scai-wide .scai-compose textarea{font-size:15px}}
@media(max-width:600px){.scai-head .scai-expand{display:none}.scai-dialog[open]{top:var(--scai-vtop,0px)!important;bottom:auto!important;height:var(--scai-vh,100dvh)!important;max-height:var(--scai-vh,100dvh)!important;min-height:0!important;margin:0!important;border-radius:0!important}.scai-dialog::backdrop{background:#fff!important;opacity:1!important;backdrop-filter:none!important;animation:none!important}.scai-open{overflow:hidden!important}.scai-conversation-tools{padding:2px 10px 6px;gap:4px}.scai-conversation-tools button{min-height:38px}.scai-foot{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}.scai-library{padding:12px}}
.scai-dialog .scai-compose textarea:focus{outline:none;box-shadow:none}@media(max-width:600px){html.scai-open,html.scai-open body{background:#fff!important}.scai-open body>:not(#scai-root){opacity:0!important;pointer-events:none!important}}

/* Compact header and horizontal conversation tabs. */
.scai-head,.scai-head:has(.scai-avatar){padding:8px 12px;gap:8px;position:relative;z-index:5}.scai-head .scai-avatar{width:34px;height:34px}.scai-head .scai-back{width:34px;height:34px;border-radius:10px;font-size:20px}.scai-head .scai-identity h2{font-size:15px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scai-head .scai-identity p{display:inline;font-size:10px;margin:0}.scai-head .scai-quota-badge{display:inline;color:#ffffffad;font-size:10px;margin-left:8px}.scai-head .scai-expand{width:32px;height:32px}
.scai-more{position:relative;flex:none}.scai-more>summary{list-style:none;display:grid;place-items:center;width:34px;height:34px;font-size:23px;border-radius:10px;cursor:pointer;color:#fff}.scai-more>summary::-webkit-details-marker{display:none}.scai-more[open]>summary{background:#ffffff20}.scai-more-panel{position:absolute;right:0;top:42px;width:214px;padding:6px;background:#fff;border:1px solid #e2e5ee;border-radius:14px;box-shadow:0 10px 35px #24243e26;color:var(--scai-ink)}.scai-more .scai-actions,.scai-more .scai-conversation-tools{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;border:0}.scai-more button{width:100%;margin:0!important;padding:10px 12px;min-height:40px;border:0;border-radius:8px;background:transparent;text-align:left;font:550 13px/1.4 system-ui;color:var(--scai-ink)}.scai-more button:hover{background:#f4f5fa}
.scai-channels{margin:0;padding:3px 12px;gap:8px;border:0;border-bottom:1px solid #eef0f5;border-radius:0;background:#fff}.scai-channels button{min-height:32px;padding:5px 10px;font-size:12px;border-radius:9px}.scai-dialog[data-channel=human] .scai-channels{margin-bottom:0}
.scai-tab-bar{display:flex;align-items:center;gap:4px;padding:5px 8px 0;flex:none;min-width:0;background:#f5f6fa;border-bottom:1px solid #e5e7ef}.scai-tabs{display:flex;flex:1;gap:5px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.scai-tabs::-webkit-scrollbar{display:none}.scai-tab{display:flex;align-items:center;flex:0 0 auto;max-width:180px;border:1px solid transparent;border-bottom:0;border-radius:10px 10px 0 0;background:#e9ebf2;color:#697083}.scai-tab[data-current=true]{background:#fff;border-color:#e2e5ee;color:var(--scai-ink);box-shadow:inset 0 2px var(--scai-accent)}.scai-tab button{min-height:38px;padding:7px 9px;border:0;background:transparent;color:inherit;font:550 12px/1.4 system-ui;box-shadow:none;border-radius:8px;white-space:nowrap}.scai-tab .scai-tab-label{overflow:hidden;text-overflow:ellipsis;min-width:45px;text-align:left}.scai-tab .scai-tab-close{flex:none;width:34px;padding:0;font-size:19px;font-weight:400}.scai-tab-close:hover{background:#24243e0c}.scai-tab-bar .scai-restart{flex:none;width:34px;height:38px;padding:0;border:0;background:transparent;color:var(--scai-ink);font-size:23px}.scai-tab button:disabled{opacity:.55;cursor:wait}.scai-status .scai-undo{padding:0;border:0;background:transparent;color:var(--scai-ink);font-size:11px;text-decoration:underline}
@media(max-width:600px){.scai-head,.scai-head:has(.scai-avatar){padding:calc(6px + env(safe-area-inset-top,0px)) 10px 6px;gap:7px}.scai-head .scai-avatar{width:32px;height:32px}.scai-head .scai-back{width:32px;height:34px}.scai-head .scai-identity h2{font-size:14px}.scai-head .scai-identity p,.scai-head .scai-quota-badge{font-size:9px}.scai-channels{padding:3px 10px}.scai-channels button{min-height:32px;font-size:12px}.scai-tab{max-width:164px}.scai-tab button,.scai-tab-bar .scai-restart{min-height:40px}.scai-tab .scai-tab-close{width:36px}.scai-messages{padding-top:12px}.scai-more-panel{top:39px}}

.scai-head .scai-identity h2{margin:0!important}.scai-head .scai-identity p{margin:0!important}@media(max-width:600px){.scai-head .scai-identity h2{font-size:15px}}

.scai-remove-confirm{flex:none;padding:12px 14px;background:#fff8f4;border-bottom:1px solid #eedbd2;max-height:210px;overflow:auto;color:var(--scai-ink)}.scai-remove-confirm strong{font:650 13px/1.4 system-ui}.scai-remove-confirm p{margin:5px 0;font:400 12px/1.5 system-ui}.scai-remove-confirm small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 11px/1.4 system-ui;color:#747889;margin:6px 0}.scai-remove-confirm>div{display:flex;justify-content:flex-end;gap:8px}.scai-remove-confirm button{border:1px solid #e1e3ea;border-radius:9px;background:#fff;color:var(--scai-ink);font:550 12px/1.3 system-ui;padding:9px 11px;min-height:38px}.scai-remove-confirm .scai-remove-yes{background:#9c3c2e;border-color:#9c3c2e;color:#fff}.scai-remove-confirm button:disabled{opacity:.5;cursor:wait}
