html[data-sidaps-theme=light]{color-scheme:light;--sp-bg:#f3f5f8;--sp-surface:#fff;--sp-raised:#edf2f8;--sp-border:#d5dfea;--sp-text:#344860;--sp-muted:#687d96}html[data-sidaps-theme=dark]{color-scheme:dark;--sp-bg:#101927;--sp-surface:#192638;--sp-raised:#233449;--sp-border:#35485f;--sp-text:#e3ebf6;--sp-muted:#a3b5cd}
.theme-choice{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;border:1px solid var(--sp-border,#d5dfea);border-radius:10px;background:var(--sp-surface,#fff);color:var(--sp-text,#344860);padding:0 7px;min-height:42px;font:500 11px "Segoe UI",Arial,sans-serif}.theme-choice>span{font-size:16px}.theme-choice select{appearance:auto;width:auto!important;min-width:0;max-width:95px;min-height:40px!important;padding:4px 0!important;margin:0;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:4px;color:inherit!important;font:inherit!important;cursor:pointer}.theme-choice select:focus{outline:2px solid #b69b62!important;outline-offset:1px}.theme-choice select option{background:var(--sp-surface,#fff);color:var(--sp-text,#344860)}.login-themebar{align-self:flex-end}header .theme-choice{border-color:#ffffff30;background:#ffffff0d;color:#e3ebf6}.site-header .theme-choice{border-color:var(--sp-border);background:var(--sp-surface);color:var(--sp-text)}
html[data-sidaps-theme=dark] body{background:var(--sp-bg);color:var(--sp-text)}
html[data-sidaps-theme=dark] body:not(.landing-page):not(.login-page){--ink:#e3ebf6;--muted:#a3b5cd;--line:#35485f;--blue:#d8bf88;--green:#86c9a9;--red:#efa2ae}
html[data-sidaps-theme=dark] :is(.card,.investment-overview,.tablewrap,.modal,.dev-sidebar,.dev-content,.dev-view>.card,.portfolio-empty,.tabs,.profile-editor,.asset-selection,.asset-catalog){background:var(--sp-surface)!important;border-color:var(--sp-border)!important;color:var(--sp-text)}
html[data-sidaps-theme=dark] :is(.portfolio-banner,.admin-hero){background:#22354b!important;border-color:#354b65;color:#edf3fb}
html[data-sidaps-theme=dark] :is(.dashboard-market-notice,.sale-summary,.status,.admin-stat){background:#1b2c42!important;border-color:#3b4e69!important;color:#bccde2}html[data-sidaps-theme=dark] :is(.dashboard-market-notice p,.dashboard-market-notice small,.portfolio-banner p,.sale-summary p,.sale-summary small,.sale-summary dt,.sale-summary dd){color:#afc1da}html[data-sidaps-theme=dark] :is(.dashboard-market-notice h3,.sale-summary h3,.admin-stat strong){color:#e3ebf6}
html[data-sidaps-theme=dark] :is(h1,h2,h3,.brand h1,.head h2,.section h3,.portfolio-empty h3,.asset h3,.dev-content h2,.dev-content h3){color:var(--sp-text)}
html[data-sidaps-theme=dark] :is(.metric,.price):not(.green):not(.red){color:#e3ebf6!important}html[data-sidaps-theme=dark] :is(.capital-stat,.profit-stat,.overview-stat){background:#1c2d42!important;border-color:#3a4e68!important}
html[data-sidaps-theme=dark] :is(.muted,.company,.quote-meta,.asset .quote-meta,.section-intro,.metric-note,.scroll-hint,.head p,.dev-content p,.platform-hint,.portfolio-empty p,.field label,.label,.assetrow,.dev-meta,.admin-meta,.profile-message){color:var(--sp-muted)}
html[data-sidaps-theme=dark] :is(.assetrow,.assetrow b,.portfolio-table td,.asset-selection b,.catalog-copy b,.portfolio-identity b){border-color:#32435a;color:#cbd8ea}html[data-sidaps-theme=dark] :is(.green,.assetrow b.green){color:#8cd1ae!important}html[data-sidaps-theme=dark] :is(.red,.assetrow b.red){color:#f0a1ae!important}
html[data-sidaps-theme=dark] :is(input,select,textarea){background:#122034;border-color:#3b506b;color:#e4edf8;caret-color:#e3ca91}html[data-sidaps-theme=dark] :is(input,textarea)::placeholder{color:#8da3c0;opacity:1}html[data-sidaps-theme=dark] :is(input,select,textarea):focus{background:#17283d;border-color:#c1a971;outline-color:#bca36844}
html[data-sidaps-theme=dark] :is(th,.tablewrap th){background:#203147;border-color:#3a4c65;color:#b7c7dd}html[data-sidaps-theme=dark] td{color:#cbd8ea;border-color:#2d4058}html[data-sidaps-theme=dark] tbody tr:hover{background:#22364e}html[data-sidaps-theme=dark] .portfolio-table td small{color:#a3b5cd}
html[data-sidaps-theme=dark] :is(.btn.soft,.dev-nav-btn,.tab){background:#223449;border-color:#3b506c;color:#cbd8eb}html[data-sidaps-theme=dark] :is(.tab.active,.dev-nav-btn.active){background:#344660;border-color:#64718a;color:#e7cf9b}html[data-sidaps-theme=dark] .btn.primary{background:#d9bd7d;border-color:#d9bd7d;color:#302c24}html[data-sidaps-theme=dark] .btn.danger{background:#392d3b;border-color:#70495b;color:#efb0b9}html[data-sidaps-theme=dark] :is(.sell-btn,.pill){background:#233e39;border-color:#3c6257;color:#a1d6ba}html[data-sidaps-theme=dark] .pill.out{background:#432f3e;color:#f0b2bc}
html[data-sidaps-theme=dark] :is(.notice,.cloud-owner-note,.sale-preview,.balance-privacy-status){background:#2a3040!important;border-color:#695e47!important;color:#dbcca9}html[data-sidaps-theme=dark] :is(.tag.manual,.tag.closed,.tag.cached,.asset-logo,.overview-icon){background:#26394f;border-color:#3a506a;color:#bccbdf}html[data-sidaps-theme=dark] .catalog-option{background:#1b2b40;color:#e1ebf8}html[data-sidaps-theme=dark] .catalog-option:hover{background:#2b405a}html[data-sidaps-theme=dark] :is(.catalog-copy small,.portfolio-empty .usage-guide-link){color:#c7b583}html[data-sidaps-theme=dark] .archived-asset-row{border-color:#34465e}
html[data-sidaps-theme=dark] :is(.usage-guide,.usage-guide-body){background:#132034;color:#dce7f5}html[data-sidaps-theme=dark] :is(.usage-guide-head,.usage-guide-footer,.usage-guide-steps li,.usage-tour){background:#1b2b40;border-color:#3a4c64;color:#dce7f5}html[data-sidaps-theme=dark] :is(.usage-guide-steps p,.usage-guide-steps small,.tour-caption p,.usage-guide-head p,.tour-disclaimer){color:#adbed5}html[data-sidaps-theme=dark] :is(.usage-guide-example,.tour-screen,.tour-mock-card,.tour-form-example>span){background:#23364f;border-color:#435975;color:#dce8f8}html[data-sidaps-theme=dark] .usage-guide-notice{background:#343544;border-color:#6b6048;color:#e5d4ae}
/* Landing keeps its premium hero in both appearances; surrounding sections adapt. */
html[data-sidaps-theme=dark] .landing-page :is(.site-header .brand,.site-header nav,.site-header a,.section h2,.feature-grid h3,.steps h3,.privacy-list b,.faq summary){color:#e0eaf8}html[data-sidaps-theme=dark] .landing-page :is(.asset-strip,.faq,.faq-list details,.mini-ledger>div,footer>small){border-color:#35485f}html[data-sidaps-theme=dark] .landing-page :is(.feature-main,.feature-small,.feature-wide,.preview,.privacy-chip){background:#19283c;border-color:#3b506b;color:#e0eaf8}html[data-sidaps-theme=dark] .landing-page :is(.mini-ledger,.how-section,.privacy-visual,.preview-metrics,.preview-asset .asset-symbol){background:#20334a;border-color:#3b506b}html[data-sidaps-theme=dark] .landing-page :is(.privacy-ring){border-color:#415672;box-shadow:0 0 0 25px #23364d,0 0 0 26px #3b5069}html[data-sidaps-theme=dark] .landing-page :is(.preview h2,.preview-metrics strong,.preview-asset b,.mini-ledger b,.privacy-chip span,.asset-strip div){color:#dce8f7}html[data-sidaps-theme=dark] .landing-page :is(p,.feature-grid p,.steps p,.privacy-list p,.section-heading>p,.faq-list p,.faq>div>p,.plain-note,footer small,footer p,.preview-asset small,.preview-caption,.preview-metrics small,.preview-metrics strong span,.chart-heading,.mini-ledger span){color:#a8bad3}html[data-sidaps-theme=dark] .landing-page .preview-tabs button{color:#aabed8}html[data-sidaps-theme=dark] .landing-page .preview-tabs button[aria-pressed=true]{background:#324863;border-color:#526a89;color:#efd6a2}html[data-sidaps-theme=dark] .landing-page .event-row{border-color:#3b4c63}html[data-sidaps-theme=dark] .landing-page .premium-hero{border-color:#42516a}html[data-sidaps-theme=dark] .landing-page :is(.floating-card,.floating-label){background:#25394f;border-color:#59617a;color:#e4d4ac}html[data-sidaps-theme=dark] .landing-page .check-circle{background:#334c68;color:#dbca9c}html[data-sidaps-theme=dark] .landing-page .preview-asset{border-color:#3a506b}html[data-sidaps-theme=dark] .landing-page .gridline{stroke:#3b506a}
/* Light login matches the white/slate dashboard while retaining champagne actions. */
html[data-sidaps-theme=light] #authBack{background:#f1f4f8;color:#344860}html[data-sidaps-theme=light] #authBack .auth-brand{color:#263544}html[data-sidaps-theme=light] #authBack .authcard{background:#fff;border-color:#d4deea;box-shadow:0 20px 60px #263e5a0d;color:#344860}html[data-sidaps-theme=light] #authBack :is(#authTitle,h2,.field label){color:#344860!important}html[data-sidaps-theme=light] #authBack .auth-intro-copy #authSub{color:#6a7e98}html[data-sidaps-theme=light] #authBack .cloud-signin input{background:#f8fafc;border-color:#ced9e6;color:#263c58;caret-color:#263c58;-webkit-text-fill-color:#263c58}html[data-sidaps-theme=light] #authBack .cloud-signin input::placeholder{color:#6b7f9a;-webkit-text-fill-color:#6b7f9a}html[data-sidaps-theme=light] #authBack .cloud-signin input:focus{background:#fff;border-color:#b69b62;outline-color:#d9c99d66}html[data-sidaps-theme=light] #authBack .cloud-signin input:-webkit-autofill{-webkit-text-fill-color:#263c58;-webkit-box-shadow:0 0 0 1000px #f8fafc inset}html[data-sidaps-theme=light] #authBack .password-toggle{color:#5c7392}html[data-sidaps-theme=light] #authBack .password-toggle:hover{background:#eaf0f7}html[data-sidaps-theme=light] #authBack .google-signin-button{background:#fff;border-color:#ccd8e6;color:#344860}html[data-sidaps-theme=light] #authBack .google-signin-button:hover{background:#edf2f8}html[data-sidaps-theme=light] #authBack :is(.google-auth-message,.new-account-hint,.signup-privacy){color:#677d99}html[data-sidaps-theme=light] #authBack .email-auth-links button,html[data-sidaps-theme=light] #authBack .login-recovery-link button{color:#80693c}html[data-sidaps-theme=light] #authBack .google-divider:before,html[data-sidaps-theme=light] #authBack .google-divider:after{background:#d8e1eb}html[data-sidaps-theme=light] #authBack .profile-message{color:#a44852!important}html[data-sidaps-theme=light] .account-recovery-modal .modal{background:#fff;border-color:#cdd9e7;color:#344860}html[data-sidaps-theme=light] .account-recovery-modal .modal p{color:#617795}html[data-sidaps-theme=light] .account-recovery-modal .codebox{color:#6f5b30;border-color:#d3deeb}
@media(hover:hover){.btn{transition:background .18s,border-color .18s,box-shadow .18s}.btn.soft:hover{box-shadow:0 3px 12px #132d4610}html[data-sidaps-theme=dark] .btn.soft:hover{background:#304862;border-color:#667a96}}@media(max-width:700px){.site-header{gap:9px}.site-header .brand{font-size:20px;gap:7px}.site-header .brand img{width:31px;height:31px}.site-header .brand-sub{font-size:6px;letter-spacing:1.8px}.site-header .nav-login{padding:11px 12px}.site-header .nav-login span{margin-left:8px}.theme-choice{gap:3px;padding:0 5px;font-size:10px}.theme-choice select{max-width:78px}.site-header nav{display:none}}@media(prefers-reduced-motion:reduce){.btn{transition:none!important}}
/* Compact segmented appearance control; native buttons retain keyboard support. */
.theme-choice{display:inline-flex;align-items:center;gap:3px;padding:4px;min-height:44px;border-radius:14px;background:var(--sp-raised,#edf2f8);border:1px solid var(--sp-border,#d5dfea);box-shadow:inset 0 1px 0 #ffffff0a;font:500 11px inherit}
.theme-choice .theme-option{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:36px;height:36px;min-height:36px;margin:0;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--sp-muted,#687d96);cursor:pointer;box-shadow:none;transition:background .18s,color .18s,border-color .18s,box-shadow .18s;font:600 11px "Segoe UI",Arial,sans-serif}
.theme-choice .theme-option svg{width:17px;height:17px;flex:none}.theme-choice .theme-option span{display:none}.theme-choice .theme-option[aria-pressed=true]{width:auto;padding:0 11px;background:var(--sp-surface,#fff);border-color:var(--sp-border,#d5dfea);color:var(--sp-text,#344860);box-shadow:0 2px 6px #10213712}.theme-choice .theme-option[aria-pressed=true] span{display:inline}.theme-choice .theme-option:focus-visible{outline:2px solid #d8bd80;outline-offset:3px}
header .theme-choice{background:#14223655;border-color:#ffffff20;color:#c6d2e2}header .theme-choice .theme-option{color:#aabbd0}header .theme-choice .theme-option[aria-pressed=true]{background:#3a4a60;border-color:#d8bd8050;color:#f1dcae;box-shadow:0 2px 7px #07101e25}.site-header .theme-choice{background:var(--sp-raised);border-color:var(--sp-border)}.site-header .theme-choice .theme-option{color:var(--sp-muted)}.site-header .theme-choice .theme-option[aria-pressed=true]{background:var(--sp-surface);border-color:var(--sp-border);color:var(--sp-text)}
@media(hover:hover){.theme-choice .theme-option:hover{background:#8297b41a;color:var(--sp-text,#344860)}header .theme-choice .theme-option:hover{color:#f1dcae;background:#ffffff0d}}
@media(max-width:700px){.theme-choice{gap:2px;padding:3px;min-height:42px;border-radius:12px}.theme-choice .theme-option{width:34px;height:34px;min-height:34px}.theme-choice .theme-option[aria-pressed=true]{padding:0 8px;gap:5px}.site-header .theme-choice .theme-option[aria-pressed=true]{width:34px;padding:0}.site-header .theme-choice .theme-option span{display:none}}
@media(prefers-reduced-motion:reduce){.theme-choice .theme-option{transition:none}}
