/* Dark mode: neutral deep canvas, luminous dialogue shapes, unchanged portraits.
   Functional surfaces stay quiet; the palette lives in the conversation artwork. */
.theme-options{display:flex;gap:3px;padding:3px;border:1px solid #dedce4;border-radius:9px}
.theme-options button{min-height:34px;padding:6px 10px;border:0;border-radius:6px;background:transparent;color:#5c626e;font:inherit;font-size:13px;cursor:pointer}
.theme-options button[aria-pressed="true"]{background:#fff;color:#20242b;box-shadow:0 1px 4px #20242b16}
.theme-options button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
html[data-theme="dark"]{
 color-scheme:dark;--page:#121319;--surface:#1c1e27;--raised:#252833;
 --ink:#f4f3f8;--muted:#bdc2cf;--line:#3b3f4c;--on-color:#20212a;
 --accent:#bba3ff;--accent-dark:#302547;--accent-mid:#bba6ee;--accent-soft:#2e2840;
 --wash-a:#262135;--wash-b:#1b2b2a;--wash-c:#2d2b22;
 --color-a:#8c61df;--color-b:#a7dfd1;--color-c:#f1e58c;--color-d:#ceb6ed;
}
html[data-theme="dark"][data-palette="electric"]{
 --page:#10151e;--surface:#1b2330;--raised:#242e3e;--line:#3c4a60;
 --accent:#9bb9ff;--accent-dark:#21375c;--accent-mid:#abc9f5;--accent-soft:#263750;
 --color-a:#4c7bf0;--color-b:#89d9df;--color-c:#c8b6ee;--color-d:#abc9f5;
 --wash-a:#202e46;--wash-b:#1c3238;--wash-c:#2b253d;
}
html[data-theme="dark"][data-palette="emerald"]{
 --page:#101817;--surface:#1b2824;--raised:#25362e;--line:#3e5147;
 --accent:#87dcbc;--accent-dark:#1e3d33;--accent-mid:#9cdbc1;--accent-soft:#263f35;
 --color-a:#44b695;--color-b:#bda8ed;--color-c:#f0c3de;--color-d:#9cdbc1;
 --wash-a:#20372c;--wash-b:#2c263d;--wash-c:#362736;
}
html[data-theme="dark"][data-palette="petrol"]{
 --page:#111719;--surface:#1b2528;--raised:#243136;--line:#3c4d51;
 --accent:#9dd9cc;--accent-dark:#233d3a;--accent-mid:#76aaa0;--accent-soft:#263f3a;
 --color-c:#a9d2c8;--wash-a:#1c2c2b;--wash-b:#1b2929;--wash-c:#22332e;
}
html[data-theme="dark"][data-palette="orange"]{
 --page:#17171c;--surface:#24242d;--raised:#30303b;--line:#494953;
 --accent:#ffb77d;--accent-dark:#503729;--accent-mid:#ffd3b1;--accent-soft:#3b3029;
 --color-a:#ff954f;--color-b:#b9a8ef;--color-c:#91dce0;--color-d:#ffd3b1;
 --wash-a:#342b26;--wash-b:#2b263d;--wash-c:#203336;
}
html[data-theme="dark"] body{background:var(--page);color:var(--ink)}
html[data-theme="dark"] :is(p,.hero-description,.content-section p,.platform-section p,.community-section p,.security-section p,.method-conversation>p,.simple-steps,.skill-copy .roles,.consultation-copy>p,.consultation li,.faq-group p,.faq-heading p,.footer-grid a,.footer-brand p,.legal,.prototype-note,.release-copy>span,.offer span,.offer-terms,.meeting-label,.ai-video-player figcaption,.form-note){color:var(--muted)}
html[data-theme="dark"] :where(h1,h2,h3,h4,summary,label,.assistant-label,.offer strong){color:var(--ink)}
html[data-theme="dark"] .brand img,html[data-theme="dark"] .footer-brand img{filter:brightness(0) invert(1)}
html[data-theme="dark"] .client-strip img,html[data-theme="dark"] .client-strip img[src$="MTS.svg"]{filter:brightness(0) invert(1);opacity:.8}
html[data-theme="dark"] .client-strip img[src$="MTS.svg"]{filter:invert(1);mix-blend-mode:screen}
html[data-theme="dark"] .palette-review{background:var(--surface);border-color:var(--line);color:var(--muted)}
html[data-theme="dark"] .palette-options button,html[data-theme="dark"] .palette-review>a{color:var(--muted)}
html[data-theme="dark"] .palette-options button[aria-pressed="true"]{background:var(--raised);border-color:var(--accent);color:var(--ink);box-shadow:none}
html[data-theme="dark"] .theme-options{border-color:var(--line)}
html[data-theme="dark"] .theme-options button{color:var(--muted)}
html[data-theme="dark"] .theme-options button[aria-pressed="true"]{background:var(--accent);color:var(--on-color);box-shadow:none}
html[data-theme="dark"] .skip{background:var(--raised)}
html[data-theme="dark"] .task-form{background:var(--raised);border-color:#646775;box-shadow:0 16px 48px #0003}
html[data-theme="dark"] .task-form textarea,html[data-theme="dark"] #ask textarea{color:var(--ink)}
html[data-theme="dark"] .task-form textarea::placeholder,html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:var(--muted);opacity:1}
html[data-theme="dark"] .send,html[data-theme="dark"] .button.primary,html[data-theme="dark"] .consultation form .button{background:var(--accent);color:var(--on-color);border-color:var(--accent)}
html[data-theme="dark"] .send:hover,html[data-theme="dark"] .button.primary:hover,html[data-theme="dark"] .consultation form .button:hover{background:var(--ink);border-color:var(--ink)}
html[data-theme="dark"] .button.secondary{background:var(--surface);border-color:#656978;color:var(--ink)}
html[data-theme="dark"] .button.secondary:hover{background:var(--raised);border-color:var(--accent)}
html[data-theme="dark"] .suggestions button{color:var(--muted);text-decoration-color:#777a87}
html[data-theme="dark"] .outcome-example,html[data-theme="dark"] .reply-sheet{background:var(--raised);box-shadow:none}
html[data-theme="dark"] .feature-tabs button[aria-selected="true"]{background:var(--raised);color:var(--accent)}
html[data-theme="dark"] .feature-tabs button:hover{color:var(--ink)}
html[data-theme="dark"] .sample-insight{color:var(--ink)}
html[data-theme="dark"] .requirement-open .requirement-mark{background:var(--surface);color:var(--ink)}
html[data-theme="dark"] .idea-timeline li:before{border-color:var(--raised)}
html[data-theme="dark"] .review-bars i{background:var(--line)}
html[data-theme="dark"] .quality-question,html[data-theme="dark"] .method-question{background:var(--color-c,var(--accent-mid));color:var(--on-color)}
html[data-theme="dark"] .art-question{color:var(--ink)}
html[data-theme="dark"] .method-response{background:var(--accent);color:var(--on-color)}
html[data-theme="dark"] .small-speech{background:var(--raised);color:var(--ink)}
html[data-theme="dark"] .big-speech,html[data-theme="dark"] .model-two{color:var(--on-color)}
html[data-theme="dark"] .model-one{color:var(--on-color)}
html[data-theme="dark"] .security-points article{border-color:#797083}
html[data-theme="dark"] .security-button{background:var(--ink);color:var(--on-color)}
html[data-theme="dark"] .security-button:hover{background:var(--accent)}
html[data-theme="dark"] .case-primary,html[data-theme="dark"] .case-primary:hover{color:var(--ink);background:var(--wash-c,var(--accent-soft))}
html[data-theme="dark"] .case-secondary>a:hover{background:var(--raised)}
html[data-theme="dark"] .case-secondary>a:nth-child(2):hover{background:var(--raised)}
html[data-theme="dark"] .case-layout a:hover{outline:1px solid var(--accent);outline-offset:-1px}
html[data-theme="dark"] .release-cover,html[data-theme="dark"] .release-cover b,html[data-theme="dark"] .release-cover.august b{color:var(--on-color)}
html[data-theme="dark"] .release-cover.august span{background:var(--accent-dark);color:var(--ink)}
html[data-theme="dark"] .event-poster p,html[data-theme="dark"] .event-poster>div>span{color:var(--muted)}
html[data-theme="dark"] .event-poster:hover{background:var(--accent-dark);outline:1px solid var(--accent)}
html[data-theme="dark"] .event-bubble{color:var(--on-color)}
html[data-theme="dark"] .price-ticket>strong{color:var(--ink)}
html[data-theme="dark"] .community-section{background:var(--wash-a,var(--surface))}
html[data-theme="dark"] .community-picture{background:transparent}
html[data-theme="dark"] .subscribe-row input,html[data-theme="dark"] .consultation form input:not([type="checkbox"]){background:var(--page);color:var(--ink);border-color:#686674}
html[data-theme="dark"] .consent,html[data-theme="dark"] .consultation form .consent{color:var(--muted)!important}
html[data-theme="dark"] footer,html[data-theme="dark"] .legal{border-color:var(--line)}
html[data-theme="dark"] dialog{background:var(--surface);border-color:var(--line);box-shadow:0 32px 100px #0008}
html[data-theme="dark"] dialog::backdrop{background:#07080bbb}
html[data-theme="dark"] .chat-header p,html[data-theme="dark"] .chat-tabs button{color:var(--muted)}
html[data-theme="dark"] .chat-header button{background:var(--raised);color:var(--ink)}
html[data-theme="dark"] .vibe-avatar{background:var(--accent);color:var(--on-color)}
html[data-theme="dark"] .chat-tabs button[aria-pressed="true"]{color:var(--accent);border-color:var(--accent)}
html[data-theme="dark"] .chat-log{background:var(--page)}
html[data-theme="dark"] .message-avatar,html[data-theme="dark"] .message-row.user .message-avatar{color:var(--ink)}
html[data-theme="dark"] .message strong.author{color:var(--muted)}
html[data-theme="dark"] .user .message{background:var(--accent-dark);color:var(--ink)}
html[data-theme="dark"] .user .meta{color:var(--muted)}
html[data-theme="dark"] .reaction,html[data-theme="dark"] .result-card{background:var(--raised)}
html[data-theme="dark"] .reaction[aria-pressed="true"]{background:var(--accent);color:var(--on-color)}
html[data-theme="dark"] .result-card p{color:var(--muted)}
html[data-theme="dark"] .chat-bottom{background:var(--surface)}
html[data-theme="dark"] .choices button{background:var(--raised);color:var(--muted)}
html[data-theme="dark"] #ask{background:var(--page);border-color:#666877}
@media(max-width:600px){
 .theme-options{width:max-content;margin:9px auto 0}
 .theme-options button{min-height:38px;padding-inline:16px}
}
