.theme-switch{display:flex;align-items:center;padding:3px;gap:2px;border:1px solid #e4dbee;background:#f1eafa;border-radius:10px;flex:none}.theme-switch button{border:0;background:transparent;color:#aa94bc;border-radius:7px;padding:6px 9px;white-space:nowrap;font-size:10px;line-height:1.4}.theme-switch button[aria-pressed="true"]{background:#fff;color:#805da1;box-shadow:0 2px 6px #7f5b9e12}.theme-switch button:focus-visible{outline:2px solid #b48bdc;outline-offset:2px}.topbar{gap:9px}.topright{gap:7px}
html[data-theme="dark"]{--bg:#090b11;--surface:#12151f;--surface2:#191c29;--surface3:#222436;--line:#282c3e;--text:#f1edf9;--muted:#aaa8bc;--soft:#8c889e;--purple:#ba9bed;--blue:#81b4e0;--green:#8ac5aa;--amber:#d7ba84;--red:#df98b0;color-scheme:dark}
html[data-theme="dark"] body{background:radial-gradient(ellipse at 80% 0%,#211a354d,transparent 45%),#090b11;color:#e6e0ef}
html[data-theme="dark"] .prototype{background:#151121;color:#a391bd;border-color:#2d233f}html[data-theme="dark"] .prototype b{color:#c5aedf}html[data-theme="dark"] .pulse{background:#b89adc}
html[data-theme="dark"] .sidebar{background:#0d0f16;border-color:#252333}html[data-theme="dark"] .brandword{color:#eae2f5}html[data-theme="dark"] .brandword span{color:#ba9de3}html[data-theme="dark"] .brand img{background:#1d172b}html[data-theme="dark"] .tagline,html[data-theme="dark"] .navtitle{color:#81758f}html[data-theme="dark"] .navitem{color:#a99eb9}html[data-theme="dark"] .navitem:hover{background:#191523;color:#e8d8fb}html[data-theme="dark"] .navitem.active{background:linear-gradient(110deg,#2a203f,#211a30);border-color:#3a2b50;color:#cbb1ec}html[data-theme="dark"] .navitem .ico{color:#a88bc5}html[data-theme="dark"] .sidebar-bottom{border-color:#272031}html[data-theme="dark"] .profile b{color:#c7b2dd}html[data-theme="dark"] .avatar{background:#2b203b;color:#cbb4e4}
html[data-theme="dark"] .crumb,html[data-theme="dark"] .crumb b{color:#a890bd}html[data-theme="dark"] .project-select,html[data-theme="dark"] .top-action{background:#14131e;border-color:#2d253b;color:#b49cc8}html[data-theme="dark"] .project-select:hover,html[data-theme="dark"] .top-action:hover{background:#201a2b}html[data-theme="dark"] .theme-switch{background:#100e18;border-color:#33283f}html[data-theme="dark"] .theme-switch button{color:#887796}html[data-theme="dark"] .theme-switch button[aria-pressed="true"]{background:#2d223f;color:#d1b7f0;box-shadow:none}
html[data-theme="dark"] .pagehead h1{color:#f0e9f9}html[data-theme="dark"] .pagehead h1 span{color:#bb99df}html[data-theme="dark"] .pagehead p,html[data-theme="dark"] .muted{color:#a898b8}html[data-theme="dark"] .eyebrow{color:#aa8dbf}html[data-theme="dark"] .panel{background:#12131d;border-color:#292336;box-shadow:0 5px 22px #00000018}html[data-theme="dark"] .sectionhead h2,html[data-theme="dark"] .home-bottom h2,html[data-theme="dark"] .docarticle h3,html[data-theme="dark"] .project-body h3{color:#c6a8df}html[data-theme="dark"] .sectionhead p,html[data-theme="dark"] .small,html[data-theme="dark"] .source{color:#9a85ab}html[data-theme="dark"] .pagehead p,html[data-theme="dark"] .homehead p{color:#ab99bd}
html[data-theme="dark"] .primary{background:linear-gradient(110deg,#ba9be0,#a98acd);color:#171020;box-shadow:0 4px 17px #a77ac518}html[data-theme="dark"] .secondary{background:#191520;color:#bfa4d5;border-color:#40304f}html[data-theme="dark"] .ghost{background:#1d1727;color:#b998d6;border-color:#382841}html[data-theme="dark"] .input{background:#101018;color:#c5add8;border-color:#36283f}html[data-theme="dark"] .field label{color:#b59bc8}html[data-theme="dark"] .notice{background:#1b1525;border-color:#392a46;color:#ac96bf}html[data-theme="dark"] .notice b{color:#cdb0e7}html[data-theme="dark"] .notice.warning{background:#211c14;border-color:#443627;color:#b6a38b}html[data-theme="dark"] .notice.error{background:#261922;border-color:#563347;color:#cc9bb0}html[data-theme="dark"] .notice.success{background:#14211d;border-color:#284237;color:#9dbdac}html[data-theme="dark"] .status{background:#1e1828;border-color:#3b2b47;color:#ad94c1}html[data-theme="dark"] .status.good{background:#14241e;border-color:#2c4739;color:#94bda5}html[data-theme="dark"] .status.warn,html[data-theme="dark"] .demo-tag{background:#252017;border-color:#473c26;color:#c1ad80}html[data-theme="dark"] .status.bad{background:#2b1924;border-color:#533142;color:#cb92ab}
html[data-theme="dark"] .project-chip b{color:#c3a7d7}html[data-theme="dark"] .project-chip small,html[data-theme="dark"] .welcome-cat span{color:#907ba1}html[data-theme="dark"] .landing-square{border-color:#4c3a57}html[data-theme="dark"] .metric-card{background:linear-gradient(135deg,#15151e,color-mix(in srgb,var(--accent),#11121a 94%));border-color:color-mix(in srgb,var(--accent),#15121e 82%)}html[data-theme="dark"] .metric-card:hover{box-shadow:0 9px 28px #0004}html[data-theme="dark"] .metric-value{color:#e6d8f4}html[data-theme="dark"] .metric-title{color:#b29dc2}html[data-theme="dark"] .metric-icon{background:color-mix(in srgb,var(--accent),#18131f 86%);color:var(--accent)}html[data-theme="dark"] .metric-change{background:#192b23;color:#94bba4}html[data-theme="dark"] .metric-period,html[data-theme="dark"] .metric-source{color:#95809f}html[data-theme="dark"] .remove-kpi{color:#7f658f}html[data-theme="dark"] .metric-spark{opacity:.9}
html[data-theme="dark"] .chart-legend .legend-pill{background:#1a1623;border-color:#382840;color:#baa0ce}html[data-theme="dark"] .activity-chart svg>path[stroke="#eee8f5"]{stroke:#302538}html[data-theme="dark"] .chart-y,html[data-theme="dark"] .chart-dates,html[data-theme="dark"] .chart-dates span:nth-child(2){color:#947da6}html[data-theme="dark"] .chart-foot{border-color:#302337;color:#9279a3}html[data-theme="dark"] .chart-empty{background:#14111ee8;color:#ae8fc7}html[data-theme="dark"] .chart-live{color:#9e82b6}html[data-theme="dark"] .chart-line+circle{stroke:#17121e}html[data-theme="dark"] .momentum{background:radial-gradient(ellipse at 50% 30%,#291c3b50,#12131d 70%)}html[data-theme="dark"] .momentum h2{color:#bea0d7}html[data-theme="dark"] .ring-bg{stroke:#2b2235}html[data-theme="dark"] .orbit-ring strong{color:#c2a1de}html[data-theme="dark"] .orbit-ring span{color:#9b7fae}html[data-theme="dark"] .funnel-key span,html[data-theme="dark"] .funnel-key b{color:#a990bd}html[data-theme="dark"] .home-bottom p,html[data-theme="dark"] .mini-flow{color:#a088b4}html[data-theme="dark"] .text-btn{color:#bc9ed7}
html[data-theme="dark"] .logo-row img[src*="github"],html[data-theme="dark"] .logo-row img[src*="chatgpt"],html[data-theme="dark"] .integration-logo img[src*="github"],html[data-theme="dark"] .integration-logo img[src*="chatgpt"]{filter:invert(1)}html[data-theme="dark"] .integration-logo{background:#22192f}html[data-theme="dark"] .integration-logo:has(img[src*="claude-official"]){background:#fff}html[data-theme="dark"] .integration h3{color:#ccb3e0}html[data-theme="dark"] .integration p{color:#a88fbd}html[data-theme="dark"] .logo-row img{opacity:1}
html[data-theme="dark"] .feature-illustration,html[data-theme="dark"] .account-protection{background:linear-gradient(110deg,#21162f,#14121d);border-color:#392646}html[data-theme="dark"] .feature-illustration h2,html[data-theme="dark"] .account-protection h2{color:#c29fdd}html[data-theme="dark"] .feature-illustration p,html[data-theme="dark"] .account-protection p{color:#ac8ebf}html[data-theme="dark"] .account-protection small{color:#8f729f}html[data-theme="dark"] .clean-card{background:radial-gradient(ellipse at 90% 60%,#40225233,transparent 60%),#14121d}html[data-theme="dark"] .clean-card h2,html[data-theme="dark"] .health-header h2,html[data-theme="dark"] .health-detail h2{color:#bfa2d5}html[data-theme="dark"] .clean-card p,html[data-theme="dark"] .clean-note,html[data-theme="dark"] .health-copy p{color:#a48bb5}html[data-theme="dark"] .gauge:before{background:#15121e;box-shadow:inset 0 0 0 1px #302238}html[data-theme="dark"] .gauge-center,html[data-theme="dark"] .health-copy h3{color:#ccb2df}html[data-theme="dark"] .filebox,html[data-theme="dark"] .rec{background:#1c1625;border-color:#3a2945}html[data-theme="dark"] .filebox b,html[data-theme="dark"] .rec b{color:#bba2cf}html[data-theme="dark"] .rec p{color:#9c82ae}html[data-theme="dark"] .counts span{border-color:#3c2b48;color:#ad91be}html[data-theme="dark"] .counts b{color:#d2b7e6}html[data-theme="dark"] .benefits span{background:#251931;border-color:#432d52;color:#b79acb}html[data-theme="dark"] .table th{color:#a184b8}html[data-theme="dark"] .table td{color:#b298c7;border-color:#33243d}html[data-theme="dark"] .domain-result{background:#1a1422;border-color:#3a2847}html[data-theme="dark"] .restore-details summary,html[data-theme="dark"] .restore-controls label{color:#b395c9}html[data-theme="dark"] .restore-details p{color:#a084b3}
html[data-theme="dark"] .test-choice label,html[data-theme="dark"] .test-mode legend{color:#ad90c1}html[data-theme="dark"] .test-mode>div{background:#1d1628}html[data-theme="dark"] .test-mode button{color:#9d7eb4}html[data-theme="dark"] .test-mode button.selected{background:#382448;color:#ccb0e1;box-shadow:none}html[data-theme="dark"] .play-action b{color:#c0a0d9}html[data-theme="dark"] .play-action small{color:#9e7cb4}html[data-theme="dark"] .square-play{background:linear-gradient(135deg,#ba94df,#9673be)}html[data-theme="dark"] .square-play svg{fill:#1a1025}html[data-theme="dark"] .test-explorer{background:radial-gradient(ellipse at 48% 40%,#30203d,#17121f 78%);border-color:#392744}html[data-theme="dark"] .test-explorer h2{color:#c4a3df}html[data-theme="dark"] .test-explorer p{color:#ac8dbe}html[data-theme="dark"] .test-limit,html[data-theme="dark"] .test-progress-head{color:#9676ab}html[data-theme="dark"] .test-progress-head b{color:#b796ce}html[data-theme="dark"] .test-progress{background:#34223f}html[data-theme="dark"] .track-line{border-color:#6b4b80}html[data-theme="dark"] .track-dots i{border-color:#271831;background:#624275}html[data-theme="dark"] .track-dots i.done{background:#b692d2}html[data-theme="dark"] .journey-step{background:#17121f;border-color:#33213f}html[data-theme="dark"] .step-symbol{background:#2b1b38;color:#b18bc9}html[data-theme="dark"] .step-copy b{color:#b49ac9}html[data-theme="dark"] .step-copy small,html[data-theme="dark"] .step-state{color:#9374a7}html[data-theme="dark"] .journey-step.current{background:#241831;border-color:#65457c}html[data-theme="dark"] .journey-step.current .step-symbol{background:#493054}html[data-theme="dark"] .journey-step.done{background:#15231d;border-color:#2c4234}html[data-theme="dark"] .journey-step.done .step-symbol{background:#233b2d;color:#a3c7ad}html[data-theme="dark"] .journey-step.done .step-copy b,html[data-theme="dark"] .journey-step.done .step-state{color:#a2b9a8}html[data-theme="dark"] .journey-step.failed{background:#291723;border-color:#593344}html[data-theme="dark"] .journey-step.failed .step-symbol{background:#492636;color:#d5a0b6}html[data-theme="dark"] .journey-step.failed .step-copy b,html[data-theme="dark"] .journey-step.failed .step-state{color:#d1a0b8}html[data-theme="dark"] .journey-result{background:linear-gradient(110deg,#19281c,#172019);border-color:#344a35}html[data-theme="dark"] .result-icon{background:#2c402b;color:#afc7a3}html[data-theme="dark"] .result-copy h2,html[data-theme="dark"] .result-number{color:#b2c49f}html[data-theme="dark"] .result-copy p{color:#91a386}html[data-theme="dark"] .journey-result.problem{background:#271621;border-color:#513040}html[data-theme="dark"] .problem .result-icon{background:#4b283a;color:#d4a4ba}html[data-theme="dark"] .problem .result-copy h2,html[data-theme="dark"] .problem .result-number{color:#d1a0b6}html[data-theme="dark"] .problem .result-copy p{color:#b38b9e}html[data-theme="dark"] .journey-report summary,html[data-theme="dark"] .test-result-report-button{color:#b391cb}html[data-theme="dark"] #reportBody{border-color:#3b2549;color:#a182b5}html[data-theme="dark"] #reportBody h3{color:#c5a4dd}html[data-theme="dark"] .test-disclaimer{color:#9c7aad}
html[data-theme="dark"] .capacity-art{background:radial-gradient(ellipse at 50% 55%,#33204499,#17121f 70%);border-color:#382442}html[data-theme="dark"] .capacity-art h2,html[data-theme="dark"] .capacity-main>h2{color:#c3a1dd}html[data-theme="dark"] .capacity-art p,html[data-theme="dark"] .capacity-main>p{color:#ab89bf}html[data-theme="dark"] .infra-stack>span{background:linear-gradient(100deg,#31213d,#281b34);border-color:#523563;color:#b897cc;box-shadow:0 4px 0 #110c1880}html[data-theme="dark"] .infra-cloud{color:#493252}html[data-theme="dark"] .capacity-plan-badge{background:#2b1b39;border-color:#51345e;color:#c09dd6}html[data-theme="dark"] .capacity-fiction,html[data-theme="dark"] .capacity-note,html[data-theme="dark"] .capacity-footnote{color:#9c7aae}html[data-theme="dark"] .free-capacity-visual{background:#1a1323;border-color:#50325e}html[data-theme="dark"] .free-icon{background:#362142;color:#c8a5dd}html[data-theme="dark"] .free-capacity-visual strong{color:#c19dd6}html[data-theme="dark"] .free-capacity-visual span:not(.free-icon){color:#a282b8}html[data-theme="dark"] .capacity-ring-bg{stroke:#35243f}html[data-theme="dark"] .capacity-gauge strong,html[data-theme="dark"] .capacity-numbers strong{color:#c7a5df}html[data-theme="dark"] .capacity-gauge>div span,html[data-theme="dark"] .capacity-numbers>div>span,html[data-theme="dark"] .capacity-numbers small,html[data-theme="dark"] .capacity-period{color:#9e7db1}html[data-theme="dark"] .capacity-period{border-color:#36223f}html[data-theme="dark"] .capacity-upgrade-row p{color:#a485b6}html[data-theme="dark"] .capacity-details summary{color:#b692cc}html[data-theme="dark"] .capacity-details>div{border-color:#392342;color:#a383b7}
html[data-theme="dark"] .handover-art{background:linear-gradient(110deg,#25182f,#14121d)}html[data-theme="dark"] .handover-art h2,html[data-theme="dark"] .handover-action h2{color:#c19dd9}html[data-theme="dark"] .handover-art p,html[data-theme="dark"] .handover-action p{color:#a98aba}html[data-theme="dark"] .handover-action-icon{background:#30203c;color:#be9bd4}html[data-theme="dark"] .handover-form>label,html[data-theme="dark"] .handover-help,html[data-theme="dark"] .handover-check{color:#a989bc}html[data-theme="dark"] .handover-recipient,html[data-theme="dark"] .transfer-inventory>div{background:#1b1324;border-color:#3c2848}html[data-theme="dark"] .handover-recipient b,html[data-theme="dark"] .transfer-inventory h3{color:#c19bd9}html[data-theme="dark"] .transfer-inventory p,html[data-theme="dark"] .transfer-advanced p{color:#a181b2}html[data-theme="dark"] .transfer-advanced{border-color:#3b2646}html[data-theme="dark"] .transfer-advanced summary{color:#b28dc9}html[data-theme="dark"] .profile-demo-card h2{color:#c5a0dd}html[data-theme="dark"] .profile-demo-card p,html[data-theme="dark"] .profile-demo-card label{color:#a786bb}html[data-theme="dark"] .profile-demo-avatar{background:#33203f;color:#caa7e1}html[data-theme="dark"] .profile-password{color:#9065aa}html[data-theme="dark"] .session-demo{border-color:#36223f}html[data-theme="dark"] .session-demo b{color:#bea0d1}html[data-theme="dark"] .session-demo small{color:#9471a6}
html[data-theme="dark"] #dialog,html[data-theme="dark"] .review-dialog,html[data-theme="dark"] .metric-picker{background:#191320!important;border-color:#51365e!important;color:#c6a5dc!important}html[data-theme="dark"] #dialogText,html[data-theme="dark"] .review-dialog p,html[data-theme="dark"] .review-dialog details,html[data-theme="dark"] .metric-picker p{color:#ac8cbd!important}html[data-theme="dark"] .review-dialog h2,html[data-theme="dark"] .metric-picker h2{color:#c8a4df}html[data-theme="dark"] .picker-option{border-color:#40284e;color:#c2a2d6}html[data-theme="dark"] .picker-option small{color:#9673aa}html[data-theme="dark"] .mobilebar{background:#0e0c15f5;border-color:#35233f}html[data-theme="dark"] .mobilebar button{color:#9274a6}html[data-theme="dark"] .mobilebar button.active{color:#d0b0eb}html[data-theme="dark"] .overlay.open{background:#030208b3}html[data-theme="dark"] .toast{background:#352143;color:#e1c8f5}
@media(max-width:680px){.topbar{flex-wrap:wrap;align-items:center;gap:8px}.topright{gap:5px;flex-wrap:wrap;margin-left:auto}.topbar .crumb{width:100%}.theme-switch{padding:2px}.theme-switch button{padding:5px 7px;font-size:9px}.topright .project-select{max-width:120px}.topbar{margin-bottom:15px}}
