/* Preview-only theme; production retains its published appearance. */
.theme-toggle{display:grid;place-items:center;width:34px;height:34px;padding:0;background:#27272a;color:#fff;border:1px solid #52525b;border-radius:50%;flex-shrink:0}
.theme-toggle:hover{background:#3f3f46}.theme-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .sun{display:none}[data-theme=dark] .theme-toggle .sun{display:block}[data-theme=dark] .theme-toggle .moon{display:none}
:root[data-theme=dark]{color-scheme:dark;--bg:#101113;--panel:#191a1e;--line:#303137;--text:#fafafa;--muted:#a1a1aa;--orange:#b99aff;--teal:#6ee7b7;--yellow:#fcd34d}
:root[data-theme=dark] body{background:var(--bg);color:var(--text)}
:root[data-theme=dark] .intro-hero{background:#14161a}
:root[data-theme=dark] #intro-wave{filter:invert(1);opacity:.8}
:root[data-theme=dark] :is(.hero h1,.hero h1 span,footer .logo,.agent-glyph,.dashboard-task-title){color:#fafafa}
:root[data-theme=dark] :is(.hero-copy>p,.hero-note,.preview-top,.under-preview,.eyebrow,.integration-list,.text-link,.demo-top,.demo-bottom,.flow-stage-label,.demo-card-label,.transcript-card p,.demo-person,.agent-node small,.transcript,.speaker,.extracted-footer,.price ul,.per,.detail-meta,dialog p,.status-label,.dialog-close,.project-description,.meeting-bottom,.meeting-project,.actual-app .task-meeting,.actual-app .task-bottom,.actual-app .shared-board-foot,.actual-app .shared-board-head .muted){color:#aeb0ba}
:root[data-theme=dark] :is(.transcript-card,.action-ticket,.extracted,.app-catalogue,.price,.meeting-preview,.dashboard-task,.actual-app .task,dialog){background:#1c1d22;border-color:#34353d;color:#fafafa}
:root[data-theme=dark] :is(.actual-app,.actual-app.shared-board-shell,.flow-right){background:#151619;color:#fafafa}
:root[data-theme=dark] :is(.flow-left,.actual-app .board-column){background:#191a1e}
:root[data-theme=dark] :is(.workspace,.shared-board-foot,.actual-app .task-bottom,.meeting-bottom){border-color:#34353d}
:root[data-theme=dark] :is(.catalogue-app,.meeting-project,.meeting-pill,.due-filters,.actual-app .tab,.actual-app .avatar,.actual-app .app-main .avatar,.actual-app .shared-board-head .pill,.demo-controls button,.status-label select,.dashboard-check,.button:not(.primary)){background:#25262c;border-color:#3f404a;color:#e4e4e7}
:root[data-theme=dark] :is(.actual-app .tab[aria-pressed=true],.due-filters button[aria-pressed=true]){background:#e4e4e7;color:#18181b;border-color:#e4e4e7}
:root[data-theme=dark] .due-filters button{color:#aeb0ba}
:root[data-theme=dark] :is(.agent-node,.transcript strong){background:#292239;border-color:#55416f;color:#e9ddff}
:root[data-theme=dark] .transcript-card mark{background-image:linear-gradient(90deg,#3b2c54,#3b2c54);color:#f3ebff;border-color:#9b7bc5}
:root[data-theme=dark] .actual-app .agent-badge{color:#c4a7ff}
:root[data-theme=dark] :is(.completion-receipt,.pill,.upcoming .meeting-pill){background:#152b24;border-color:#2d5b49;color:#a7f3d0}
:root[data-theme=dark] :is(.completion-receipt small,.receipt-icon,.completion-receipt .mono,.meeting-bottom>span:first-child){color:#6ee7b7}
:root[data-theme=dark] .meeting-preview.upcoming{border-color:#2d5b49}
:root[data-theme=dark] .due-pill{background:#342c18;border-color:#64512b;color:#fcd34d}
:root[data-theme=dark] .due-pill.overdue{background:#381f24;border-color:#63363e;color:#fda4af}
:root[data-theme=dark] .actual-app .column-label>span:first-child{background:#25262c;border-color:#3f404a;color:#d4d4d8}
:root[data-theme=dark] .actual-app .board-column:nth-child(2) .column-label>span:first-child{background:#1c2a40;border-color:#304970;color:#93c5fd}
:root[data-theme=dark] .actual-app .board-column:nth-child(4) .column-label>span:first-child{background:#152b24;border-color:#2d5b49;color:#6ee7b7}
:root[data-theme=dark] .price.featured{background:#25212e;border-color:#715695}
:root[data-theme=dark] .hero-actions .button.primary{background:#fafafa;border-color:#fafafa;color:#18181b}
:root[data-theme=dark] .hero-actions .button.primary :is(.mark,span){color:#18181b}
:root[data-theme=dark] .catalogue-app:hover,:root[data-theme=dark] .actual-app .task:hover{border-color:#85818e;background:#2c2b33}
:root[data-theme=dark] :is(.catalogue-app img,.workflow-app-logo,.execution-app-logo){background:#fff;border-radius:4px;padding:2px}
:root[data-theme=dark] ::selection{background:#c4a7ff;color:#18181b}
@media(max-width:700px){.navright{gap:10px}.theme-toggle{width:30px;height:30px}.wrap>nav{padding-left:14px;padding-right:14px}.navright .button{padding:9px 11px;gap:12px}}
