.theme-toggle{font-family:inherit;font-weight:500;font-size:14px;line-height:1.2;white-space:nowrap;padding:10px 14px;min-height:40px;flex-shrink:0}.theme-floating{position:fixed;top:16px;right:16px;z-index:20;background:var(--bg)}
html[data-theme=dark]{color-scheme:dark;--bg:#101113;--panel:#1c1d21;--line:#37393f;--muted:#aeb1bb;--ink:#f5f5f7;--green:#71b3ff;--lime:#71b3ff}
[data-theme=dark] body,[data-theme=dark] .home-page{background:var(--bg);color:var(--ink)}
[data-theme=dark] header{background:#101113f2;border-color:var(--line)}
[data-theme=dark] :is(h1,h2,h3,.brand,.brand span,.brand b,.price,.stat,.membership-offer .membership-price,.big-score,.metric strong,.course-summary strong){color:var(--ink)}
[data-theme=dark] :is(p,.lead,.hero-intro,.habit-content p,.membership-offer p,.login-intro>p,.home-nav,.eyebrow,.home-kicker,.workspace-label,.badge,.muted,.hint,.preview-note,.aside-note,.member-status,.chart-caption,.chart-disclaimer,.login-divider,.price span,.membership-price span,label,legend,.check,.feedback,#memberMessage,.check strong,.intro-note,.intro-note p,.mission-step p:not(.eyebrow),.mission-step .eyebrow,.workshop-brief p,.workshop-brief span,.menu-heading,.lesson-directory>summary,.lesson-directory .module-label,nav button small){color:var(--muted)}
[data-theme=dark] a,[data-theme=dark] .forgot,[data-theme=dark] .lesson-depth summary{color:#71b3ff}
[data-theme=dark] :is(.card,.panel,.paywall,.drill-card,.membership-offer,.habit-content){background:var(--panel)!important}
[data-theme=dark] :is(.mission-guide,.habit-switch,.metric,.patterns span,.pill,.badge,.motion-panel){background:var(--panel);color:var(--muted);border-color:var(--line)}
[data-theme=dark] :is(button,.secondary,.story-option,.choice){background:transparent;color:var(--ink);border-color:#50535c}
[data-theme=dark] button:hover{background:#2b2e35;border-color:#78808d}
[data-theme=dark] :is(.primary,.start-link){background:#087de9;color:white;border-color:transparent}
[data-theme=dark] .primary:hover,[data-theme=dark] .start-link:hover{background:#218af0;color:white}
[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,.login-card input,.field input,.field select,.field textarea,#filter,.field select option){background:#141519;color:var(--ink);border-color:#626672}
[data-theme=dark] .course-page #courseMenu{background:#17181b;border-color:var(--line)}
[data-theme=dark] :is(.tool-nav button.active,.lesson-directory nav button.active,.habit-switch button[aria-pressed=true],.tabs button[aria-current=page],.login-modes [aria-pressed=true],.choice:has(input:checked),.story-option:hover){background:#173557;color:#b9d9ff;border-color:#315a89}
[data-theme=dark] :is(.mission-step,.workspace-label,.tool-nav,.learning-strip,.workshop-brief,.micro-practice,.course-summary,.discipline-section,footer,.motion-heading,.motion-bottom){border-color:var(--line)}
[data-theme=dark] .mission-number{background:#303238;color:#eee}
[data-theme=dark] .mission-step .application-next{color:var(--muted)!important}
[data-theme=dark] .lesson-depth{background:#141519;border-color:var(--line)}
[data-theme=dark] .callout{background:#142c47;color:#c0d9f3;border-color:#71b3ff}
[data-theme=dark] .completion,[data-theme=dark] .choices button.correct{background:#173827;color:#c1eccc;border-color:#55896a}
[data-theme=dark] .choices button.wrong{background:#422520;color:#ffd4cb;border-color:#b56f60}
[data-theme=dark] .track{background:#34363e}
[data-theme=dark] .chart-caption{background:#171c25;color:#c2c9d5}
[data-theme=dark] #wick-coach :is(#wick-launcher,.wick-panel,.wick-toast){background:#1c1d21;color:var(--ink);border-color:#484b54}
[data-theme=dark] #wick-coach :is(h2,.wick-name,.wick-text){color:var(--ink)}
[data-theme=dark] #wick-coach :is(.wick-heading p,.wick-context){color:var(--muted)}
[data-theme=dark] #wick-coach button{background:#292c32;color:var(--ink);border-color:#4c515d}
[data-theme=dark] #wick-coach .wick-modes button[aria-pressed=true]{background:#173557;color:#b9d9ff}
@media(max-width:650px){.course-page header{flex-wrap:wrap;height:auto;min-height:68px;padding-block:12px;gap:10px}.course-page header .brand{font-size:11px}.course-page header .home-nav{display:none}.theme-toggle{padding:9px 10px;font-size:13px}.home-page header{gap:10px}.home-page header .home-nav{display:none}}
