:root { color-scheme:light; }
html[data-theme="light"] { color-scheme:light; }
html[data-theme="dark"] { color-scheme:dark; }
html[data-theme="light"] body { color:var(--lb-ink); background:var(--lb-canvas); }
html[data-theme="light"] .dashboard-body .dash-page-heading,html[data-theme="light"] .dashboard-body .dash-card:not(.dash-wallet-card),html[data-theme="light"] .dashboard-body .dash-stat,html[data-theme="light"] .dashboard-body .dash-plan,html[data-theme="light"] .dashboard-body .dash-method,html[data-theme="light"] .dashboard-body .dash-details,html[data-theme="light"] .dashboard-body .dash-profile-side,html[data-theme="light"] .dashboard-body .dash-mobile-nav { color:var(--lb-ink); }
html[data-theme="light"] .dashboard-body .dash-input,html[data-theme="light"] .dashboard-body .admin-search,html[data-theme="light"] .dashboard-body .dash-table th { color:var(--lb-ink); background:var(--lb-surface-alt); }
html[data-theme="light"] .dashboard-body .dash-table td,html[data-theme="light"] .dashboard-body .dash-list b,html[data-theme="light"] .dashboard-body .dash-card h2,html[data-theme="light"] .dashboard-body .dash-card h3 { color:var(--lb-ink); }
html[data-theme="light"] .dashboard-body .dash-page-heading p,html[data-theme="light"] .dashboard-body .dash-card p,html[data-theme="light"] .dashboard-body .dash-card small,html[data-theme="light"] .dashboard-body .dash-list small { color:var(--lb-muted); }
html[data-theme="dark"] .dashboard-body { color:var(--lb-ink); background:var(--lb-canvas); }
html[data-theme="dark"] .dashboard-body .dash-sidebar,html[data-theme="dark"] .dashboard-body .dash-brand { border-color:var(--lb-line)!important; background:#0d1d14!important; }
html[data-theme="dark"] .dashboard-body .dash-topbar,html[data-theme="dark"] .dashboard-body .dash-mobile-nav { border-color:var(--lb-line)!important; background:rgba(13,29,20,.94)!important; }
html[data-theme="dark"] .dashboard-body .dash-page-heading,html[data-theme="dark"] .dashboard-body .dash-card:not(.dash-wallet-card),html[data-theme="dark"] .dashboard-body .dash-stat,html[data-theme="dark"] .dashboard-body .dash-plan,html[data-theme="dark"] .dashboard-body .dash-method,html[data-theme="dark"] .dashboard-body .dash-details,html[data-theme="dark"] .dashboard-body .dash-profile-side,html[data-theme="dark"] .dashboard-body .admin-ai-card,html[data-theme="dark"] .dashboard-body .admin-settings-status-grid article,html[data-theme="dark"] .dashboard-body .admin-settings-link { border-color:var(--lb-line)!important; color:var(--lb-ink)!important; background:var(--lb-surface)!important; box-shadow:var(--lb-shadow); }
html[data-theme="dark"] .dashboard-body .dash-note,html[data-theme="dark"] .dashboard-body .dash-setting-row,html[data-theme="dark"] .dashboard-body .dash-invest-summary { border-color:#31543c!important; color:var(--lb-ink)!important; background:#152c1d!important; }
html[data-theme="dark"] .dashboard-body .dash-input,html[data-theme="dark"] .dashboard-body .admin-search,html[data-theme="dark"] .dashboard-body .dash-table th { border-color:var(--lb-line)!important; color:var(--lb-ink)!important; background:var(--lb-surface-alt)!important; }
html[data-theme="dark"] .dashboard-body .dash-input::placeholder,html[data-theme="dark"] .dashboard-body .admin-search input::placeholder { color:#9bb3a1!important; }
html[data-theme="dark"] .dashboard-body select,html[data-theme="dark"] .dashboard-body option { color:var(--lb-ink); background:#142a1e; }
html[data-theme="dark"] .dashboard-body .dash-page-heading :is(h1,h2,h3),html[data-theme="dark"] .dashboard-body .dash-card:not(.dash-wallet-card) :is(h1,h2,h3,h4,b,strong),html[data-theme="dark"] .dashboard-body .dash-list b,html[data-theme="dark"] .dashboard-body .dash-list strong,html[data-theme="dark"] .dashboard-body .dash-table td,html[data-theme="dark"] .dashboard-body .dash-field label,html[data-theme="dark"] .dashboard-body .dash-note h3,html[data-theme="dark"] .dashboard-body .dash-setting-row b { color:var(--lb-ink)!important; }
html[data-theme="dark"] .dashboard-body .dash-page-heading p,html[data-theme="dark"] .dashboard-body .dash-card:not(.dash-wallet-card) :is(p,small),html[data-theme="dark"] .dashboard-body .dash-list small,html[data-theme="dark"] .dashboard-body .dash-note p,html[data-theme="dark"] .dashboard-body .dash-setting-row small { color:var(--lb-muted)!important; }
html[data-theme="dark"] .dashboard-body .dash-table td,html[data-theme="dark"] .dashboard-body .dash-table tr,html[data-theme="dark"] .dashboard-body .dash-list li { border-color:var(--lb-line)!important; }
html[data-theme="dark"] .dashboard-body .dash-table tr:hover td { background:#173321!important; }
html[data-theme="dark"] .dashboard-body .dash-tabs a,html[data-theme="dark"] .dashboard-body .dash-profile-menu a,html[data-theme="dark"] .dashboard-body .dash-back a { border-color:var(--lb-line); color:#c7e6cf; background:#142a1e; }
html[data-theme="dark"] .dashboard-body .dash-tabs a.is-active,html[data-theme="dark"] .dashboard-body .dash-profile-menu a.is-active,html[data-theme="dark"] .dashboard-body .dash-profile-menu a:hover { border-color:#4ca96a; color:#f4fff6!important; background:#1e6c39; }
html[data-theme="dark"] .dashboard-body .dash-button-light { border-color:#416a4d; color:#b8f1c7; background:#183522; }
html[data-theme="dark"] .dashboard-body .dash-mobile-toggle,html[data-theme="dark"] .dashboard-body .dash-alert,html[data-theme="dark"] .dashboard-body .dash-theme-toggle { border-color:#35563f; color:#c5efd0; background:#173020; }
html[data-theme="dark"] .dashboard-body .dash-greeting,html[data-theme="dark"] .dashboard-body .dash-brand,html[data-theme="dark"] .dashboard-body .dash-sidebar nav a { color:var(--lb-ink)!important; }
html[data-theme="dark"] .dashboard-body .dash-greeting small,html[data-theme="dark"] .dashboard-body .dash-sidebar nav a:not(.is-active) { color:var(--lb-muted)!important; }
html[data-theme="dark"] .dashboard-body .dash-sidebar nav a:hover,html[data-theme="dark"] .dashboard-body .dash-sidebar nav a.is-active { color:#effcf2!important; background:#1d5630!important; }
html[data-theme="dark"] .dashboard-body .dash-wallet-card { color:#fff!important; }
html[data-theme="dark"] .dashboard-body .dash-wallet-card :is(small,strong,p,span) { color:inherit; }
html[data-theme="dark"] .site-header,html[data-theme="dark"] .public-page,html[data-theme="dark"] .site-home .why,html[data-theme="dark"] .site-home .testimonials,html[data-theme="dark"] .site-home .plans,html[data-theme="dark"] .site-home .how { color:var(--lb-ink); background:var(--lb-canvas); }
html[data-theme="dark"] .site-header { border-color:var(--lb-line); }
html[data-theme="dark"] .site-home :is(.why-card,.plan-card,.testimonial,.blog-card),html[data-theme="dark"] .public-page-panel,html[data-theme="dark"] .faq-item,html[data-theme="dark"] .contact-form { border-color:var(--lb-line); color:var(--lb-ink); background:var(--lb-surface); box-shadow:var(--lb-shadow); }
html[data-theme="dark"] .site-home :is(h2,h3),html[data-theme="dark"] .public-page :is(h1,h2,h3),html[data-theme="dark"] .site-header .brand { color:var(--lb-ink); }
html[data-theme="dark"] .site-home :is(p,small),html[data-theme="dark"] .public-page :is(p,small),html[data-theme="dark"] .site-header .primary-nav a { color:var(--lb-muted); }
html[data-theme="dark"] .public-page :is(input,select,textarea) { border-color:var(--lb-line); color:var(--lb-ink); background:var(--lb-surface-alt); }
html[data-theme="dark"] body.auth-page-body,html[data-theme="dark"] .auth-screen,html[data-theme="dark"] .auth-panel { color:var(--lb-ink); background:var(--lb-surface); }
html[data-theme="dark"] .auth-control input,html[data-theme="dark"] .auth-theme-toggle,html[data-theme="dark"] .auth-access-tabs,html[data-theme="dark"] .auth-modern-form { border-color:var(--lb-line); color:var(--lb-ink); background:var(--lb-surface-alt); }
html[data-theme="dark"] .auth-panel :is(h1,h2,h3,label),html[data-theme="dark"] .auth-mobile-brand { color:var(--lb-ink); }
html[data-theme="dark"] .auth-panel :is(p,small,.auth-check,.auth-switch) { color:var(--lb-muted); }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition-duration:.01ms!important; } }

.site-home,.public-page { color:var(--lb-ink); background:var(--lb-canvas); }
.site-home :is(.hero-text,.why-heading > p,.why-card p,.section-intro > p:not(.eyebrow),.center-intro > p:last-child,.step p,.testimonial > p,.blog-content p,.blog-content time,.plan-card p),.public-page :is(.public-page-hero p,.public-page-panel p,.public-page-panel li,.faq-item p,.contact-form) { color:var(--lb-muted); }
.site-home :is(.hero h1,.hero-main-line,.proof-group,.why h2,.why h3,.plans h2,.plans h3,.how h2,.how h3,.testimonials h2,.testimonials h3,.insights h2,.insights h3,.plan-card p b),.public-page :is(h1,h2,h3,h4,strong,b),.site-header .brand { color:var(--lb-ink); }
.site-home :is(.why-card,.plan-card,.testimonial,.blog-card,.step),.public-page :is(.public-page-panel,.faq-item,.contact-form) { border-color:var(--lb-line); background:var(--lb-surface); }
.site-home .how { background:var(--lb-surface-alt); }
.site-home :is(.plans,.why,.testimonials,.insights),.public-page { background:var(--lb-canvas); }
.site-home .rate,.public-page .rate { color:var(--lb-brand-deep); }
.plan-empty-state { grid-column:1 / -1; padding:30px; border:1px dashed var(--lb-line); border-radius:14px; color:var(--lb-ink); background:var(--lb-surface); text-align:center; }
.plan-empty-state h3 { margin:0 0 8px; color:var(--lb-ink); }
.plan-empty-state p { max-width:520px; margin:0 auto; color:var(--lb-muted); }
html[data-theme="dark"] .site-header .primary-nav,html[data-theme="dark"] .site-home .floating-stat { border-color:var(--lb-line); color:var(--lb-ink); background:var(--lb-surface); }
html[data-theme="dark"] .site-header .primary-nav a,html[data-theme="dark"] .site-home :is(.proof-group em,.trust-stars small,.floating-stat small),html[data-theme="dark"] .site-home .partner-row { color:var(--lb-muted); }
html[data-theme="dark"] .site-home .hero { background-color:var(--lb-canvas); background-image:linear-gradient(90deg,rgba(8,20,13,.98) 0%,rgba(8,20,13,.95) 46%,rgba(8,20,13,.72) 72%,rgba(8,20,13,.46) 100%),url("../images/hero bg.png"); }
html[data-theme="dark"] .site-home .trust-stars small { background:var(--lb-surface); }
html[data-theme="dark"] .site-home .proof-avatars i { border-color:var(--lb-surface); }
html[data-theme="dark"] .site-home .proof-avatars i:last-child { color:var(--lb-ink); background:var(--lb-surface-alt); }
html[data-theme="dark"] .site-home .plan-card .button { border-color:var(--lb-line); color:var(--lb-brand-deep); background:var(--lb-surface-alt); }
html[data-theme="dark"] .site-home .plan-card:nth-child(2) .button { border-color:transparent; color:#ffffff; background:var(--lb-brand); }
