:root{color-scheme:light}.theme-control{display:inline-flex;align-items:center;flex-shrink:0;margin:0}.theme-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.theme-control select{font:500 11px/1.5 Inter,system-ui,sans-serif;cursor:pointer;padding:7px 23px 7px 9px;border:1px solid var(--line,#e1e6ef);border-radius:7px;background-color:var(--white,#fff);color:var(--ink,#202535);width:auto;max-width:120px;min-height:34px}.standalone>.theme-control{position:absolute;right:20px;top:15px;z-index:3}.help-hero .theme-control{float:right}.chat-header .theme-control select{max-width:82px;padding:5px;font-size:10px}.pill.offline{background:#e9edf2;color:#596579}
html[data-theme=dark]{color-scheme:dark;--bg:#11131c;--ink:#e9eaf2;--muted:#a9adbe;--purple:#a18bf4;--line:#323648;--soft:#24213a;--white:#1b1e2b;--deep:#8f77e5;--lavender:#252039;--surface:#1b1e2b;--surface-raised:#242838}
html[data-theme=dark] body{background:var(--bg);color:var(--ink)}
html[data-theme=dark] :is(.sidebar,.topbar,.panel,.stats article,.chat-shell,.support-chat-dialog,.chat-sidebar,.auth-form,.help-questions details,.help-contact,.screenshot-link,.skip-link){background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] :is(.chat-header,.chat-form,.doc-row,.step,.passage,.workspace,.pilot,.question-answer .preserve,.divider,.section-heading,.help-questions details,.help-contact,.help-hero form,.faq-list,.faq-list details,.promise-row){border-color:var(--line)}
html[data-theme=dark] :is(input:not([type=checkbox]),textarea,select){background-color:#151824;color:var(--ink);border-color:#42485e}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#969caf}
html[data-theme=dark] :is(.hero-card,.auth-story,.sample-chat,.pricing-card,.hero-product,.human-section){background:#252039;border-color:#423657}
html[data-theme=dark] :is(.product-section,.faq-section,.site-footer){background:#161924;border-color:var(--line)}
html[data-theme=dark] .site-header{background:#171a26f2;border-color:var(--line)}
html[data-theme=dark] :is(.button.secondary,.chat-reset,.chat-sound,.support-sound){background:#252a3b;border-color:#42485e;color:var(--ink)}
html[data-theme=dark] .button:not(.secondary):not(.danger){background:#8970e5;color:#fff}
html[data-theme=dark] :is(.avatar,.user-avatar,.file-icon,.badge,.pill,.source-tag,.chat-contact-avatar,.support-popup-close){background:#302942;border-color:#49415b;color:#c8b8f9}
html[data-theme=dark] :is(nav a:hover,nav a.active){background:#302942;color:#d0c0ff}
html[data-theme=dark] :is(nav a,.header-inner nav,.site-footer nav){color:#b6b6ca}
html[data-theme=dark] :is(.bubble.assistant,.bubble:not(.visitor),.chat-log){background:#1b1e2b;color:var(--ink)}
html[data-theme=dark] .bubble.visitor{background:#49377a;color:#f6f1ff}
html[data-theme=dark] :is(.chat-suggestion,.human-request,.human-close){background:#2d2841;color:#d1c3ff;border-color:#504465}
html[data-theme=dark] :is(.fine,.muted,small,.chat-footnote,.question-preview,.help-summary span,.help-questions small,.help-contact p,.help-empty,.help-wrap footer,.billing-checkout .muted,.billing-checkout .fine,.hero-card p,.hero-note,.pilot-note,figcaption,.hero-product figcaption,.quiet-note,.closing-section small,.site-footer small,.human-notice){color:var(--muted)}
html[data-theme=dark] :is(.brand>span:last-child,.hero-copy h1 span,.eyebrow,.text-link){color:#b5a2e7}
html[data-theme=dark] .notice{background:#1d332c;border-color:#345146;color:#b5d9c7}
html[data-theme=dark] :is(.notice.error,.errorlist,.support-error){color:#ffb6b0}
html[data-theme=dark] .notice.error{background:#392328;border-color:#67404a}
html[data-theme=dark] .pill.offline{background:#303544;color:#bfc5d4}
html[data-theme=dark] .pill.published{background:#213e32;color:#a5dbbb}
html[data-theme=dark] .help-hero{background:#20283d;color:#f4f5ff}
html[data-theme=dark] .help-hero form{background:#151824}
html[data-theme=dark] .help-hero input{background:#151824;color:var(--ink)}
html[data-theme=dark] .help-wrap footer{border-color:var(--line)}
html[data-theme=dark] .billing-checkout>.panel{background:var(--surface);border-color:var(--line)}
html[data-theme=dark] .mp-provider{color:#79caff;border-color:var(--line)}
html[data-theme=dark] .mp-provider span{background:#213e32;color:#b9dfc9}
html[data-theme=dark] .support-chat-dialog::backdrop{background:#0009}
html[data-theme=dark] .theme-control select{background-color:var(--surface);color:var(--ink);border-color:var(--line)}
@media(max-width:600px){.header-actions{gap:8px}.header-actions .theme-control select{font-size:10px;padding:6px;max-width:78px}.topbar .theme-control select{max-width:85px;padding:5px}.chat-header .theme-control{margin-left:auto}.chat-header .theme-control select{max-width:65px}.standalone>.theme-control{right:12px;top:10px}.auth-layout{padding-top:28px}}
