.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.theme-toggle,.review-page .theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;min-width:78px;padding:9px 12px;background:#f1f6fd;border:1px solid #cfdded;border-radius:7px;color:#173d66;font:600 12px/1.3 system-ui,sans-serif;cursor:pointer;white-space:nowrap}.theme-toggle:hover{border-color:#5289bf}.research-table{overflow-x:auto;margin:25px 0}.research-table table{min-width:560px;background:var(--orchid-paper)}.explainer-article{max-width:850px;padding-top:12px}.explainer-meta{display:flex;gap:10px 20px;flex-wrap:wrap;font-size:12px;color:var(--orchid-muted);border-bottom:1px solid var(--orchid-line);padding-bottom:20px}.research-checklist{border:1px solid var(--orchid-line);padding:22px 26px;border-radius:10px;background:var(--orchid-paper);margin:30px 0}.research-checklist li{margin-bottom:12px}.research-checklist h2{margin-top:0}.research-guide{margin:35px 0;border-top:1px solid var(--orchid-line);padding-top:25px}.research-guide h3{font:24px Georgia,serif}.research-guide p{max-width:850px}.source-note{font-size:12px;color:var(--orchid-muted);line-height:1.8}.research-outcome{background:#eaf3ff;padding:20px 24px;border-left:3px solid #0075ba;border-radius:6px;margin:26px 0}
html[data-theme=dark]{--orchid-navy:#e0edff;--orchid-blue:#78c5ff;--orchid-sky:#172e4c;--orchid-ink:#d2e0f2;--orchid-muted:#a5b9d2;--orchid-line:#2d4563;--orchid-paper:#11253e;--orchid-background:#09182a;color-scheme:dark}
html[data-theme=dark] body,html[data-theme=dark] body[data-route="/"]{background:#09182a;color:#d2e0f2}
html[data-theme=dark] :is(h1,h2,h3){color:#e0edff}
html[data-theme=dark] .premium-header,html[data-theme=dark] body[data-route="/"] .premium-header{background:#0c1e34;border-color:#2d4563}
html[data-theme=dark] .brand,html[data-theme=dark] body[data-route="/"] .brand{background:#fff;padding:6px 10px}
html[data-theme=dark] .main-nav{background:#112943;border-color:#2d4563}
html[data-theme=dark] .main-nav a,html[data-theme=dark] body[data-route="/"] .main-nav a{color:#b6cbe3}
html[data-theme=dark] .main-nav a:hover,html[data-theme=dark] .main-nav a[aria-current=page],html[data-theme=dark] body[data-route="/"] .main-nav a[aria-current=page]{background:#1b3a5b;color:#92d1ff}
html[data-theme=dark] .theme-toggle,html[data-theme=dark] .review-page .theme-toggle{background:#142e4b;color:#dcecff;border-color:#395c80}
html[data-theme=dark] .header-start,html[data-theme=dark] body[data-route="/"] .header-start,html[data-theme=dark] .btn,html[data-theme=dark] .institute-button{background:#0878c4;border-color:#0878c4;color:#fff}
html[data-theme=dark] :is(.intro,.news-intro){background:radial-gradient(ellipse at 85% 20%,#163757,transparent 65%),#0c1e34;border-color:#2d4563}
html[data-theme=dark] :is(.intro h1,.news-intro h1){color:#e0edff}
html[data-theme=dark] :is(.lead,.intro .lead,.news-intro .lead,.small,.quiet,.crumb,.progress,.lesson-meta,.chapter-description,.chapter .small,.source-note){color:#a5b9d2}
html[data-theme=dark] :is(.light,.reader,.news-page){background:#09182a;color:#d2e0f2}
html[data-theme=dark] :is(.card,.library-module,.tool-card,.lesson-article,.policy,.chapter-list,.search-result,.update-card,.updates-empty){background:#11253e;color:#d2e0f2;border-color:#2d4563;box-shadow:none}
html[data-theme=dark] :is(.card,.library-module,.tool-card):hover{background:#16304d;border-color:#5888b5}
html[data-theme=dark] :is(.card p,.library-module p,.tool-card p,.module-meta,.library-module .module-meta,.article p,.article li,.chapter .title,.chapter-description,.lesson-summary,.update-text){color:#b9cce3}
html[data-theme=dark] .article .lesson-summary{color:#b9cce3!important}
html[data-theme=dark] :is(.arrow,.textlink,.source,.guided a,.eyebrow,.tag,.breadcrumbs a,.intro .breadcrumbs a,.prerequisite a,.chapter .num,.lesson-contents a,.article p a,.chapter-pagination span){color:#78c5ff}
html[data-theme=dark] :is(.breadcrumbs [aria-current=page],.module-number,.library-module .module-number){color:#9dbdde}
html[data-theme=dark] :is(.learning-toolbar,.search-label input,.module-filters button,.answer,.share-button,.chapter-pagination a,.chapter-menu){background:#142b47;color:#d2e0f2;border-color:#395575}
html[data-theme=dark] :is(.learning-toolbar .small,.search-result span,.search-label){color:#aac0da}
html[data-theme=dark] :is(.module-filters button[aria-pressed=true],.answer.selected){background:#214c72;color:#eef8ff;border-color:#6abef5}
html[data-theme=dark] :is(.reading-layout aside,.chapter,.chapter-sources,.lesson-contents,.quiz,.callout,.worked-example){border-color:#35506f}
html[data-theme=dark] .reading-layout aside a{color:#aec6e1}html[data-theme=dark] .reading-layout aside a:hover,html[data-theme=dark] .reading-layout aside a[aria-current=page]{background:#1a3b60;color:#8ecfff}
html[data-theme=dark] :is(.lesson-contents,.callout,.worked-example,.quiz,.research-outcome){background:#152e4b;color:#cbdff4}html[data-theme=dark] .chapter-pagination a:hover{background:#1b3a5b}
html[data-theme=dark] :is(.calculator-fields label,.tool-card p,.calculator-page .lead){color:#b9cce3}
html[data-theme=dark] .calculator-fields input:not([type=checkbox]),html[data-theme=dark] .calculator-fields select,html[data-theme=dark] #share-url{background:#10253e;border-color:#466385;color:#e0edff}
html[data-theme=dark] :is(.option-leg,.optional-legs,.calculation-summary,th,td){border-color:#35506f}
html[data-theme=dark] :is(.optional-legs summary,.option-leg legend){color:#90d0ff}
html[data-theme=dark] :is(.calculation-summary dt,th){background:#1a3554;color:#d2e0f2}
html[data-theme=dark] .calculation-summary dd{background:#11253e;color:#e0edff;border-color:#35506f}
html[data-theme=dark] #calculator-result svg{background:#172f4c}html[data-theme=dark] #calculator-result svg text{fill:#c5daef}html[data-theme=dark] #calculator-error{color:#ffb0ba}
html[data-theme=dark] .updates-window{background:#193b5e;color:#afd4f1}html[data-theme=dark] :is(.updates-status,.updates-note,.update-meta time){color:#a5b9d2}html[data-theme=dark] .update-byline{color:#84cbff}html[data-theme=dark] .update-meta{border-color:#2d4563}
html[data-theme=dark] .resource-panel{border-color:#2d4563}html[data-theme=dark] :is(.resource-panel p,.context-partner small){color:#a5b9d2}html[data-theme=dark] :is(.community-links a,.context-partner a){color:#84cbff}
html[data-theme=dark] .institute-home :is(h1,h2,h3){color:#e0edff}html[data-theme=dark] .institute-home em{color:#78c5ff}
html[data-theme=dark] :is(.institute-kicker,.board-top,.path-level,.path-top,.institute-text-link){color:#8bcfff}
html[data-theme=dark] :is(.institute-intro,.hero-note,.institute-section-heading>p,.institute-path>p:not(.path-level)){color:#a5b9d2}
html[data-theme=dark] .learning-board{background:#142d4a;border-color:#35506f;box-shadow:10px 12px 0 #0c2038}html[data-theme=dark] :is(.board-heading,.roadmap>a){color:#d2e4f9}html[data-theme=dark] :is(.roadmap small,.board-bottom){color:#aac0da}html[data-theme=dark] :is(.roadmap>a,.board-bottom){border-color:#35506f}
html[data-theme=dark] .institute-facts{background:#10243d;border-color:#2d4563}html[data-theme=dark] .facts-inner>div{border-color:#35506f}html[data-theme=dark] :is(.facts-inner>p,.facts-inner>p b,.facts-inner span){color:#adc4df}html[data-theme=dark] .facts-inner strong{color:#e0edff}
html[data-theme=dark] :is(.institute-path,.institute-path:nth-child(2),.institute-path:nth-child(3),.institute-story,.story-copy){background:#11253e;border-color:#35506f}html[data-theme=dark] .institute-path:hover{border-color:#649acc}html[data-theme=dark] .path-bottom{border-color:#35506f}
html[data-theme=dark] .institute-resources{background:#112943;border-color:#35506f}html[data-theme=dark] :is(.resources-inner>div>p:not(.institute-kicker),.resource-links small,.resource-links>p){color:#adc4df}html[data-theme=dark] .resource-links>a{color:#cde3fa;border-color:#35506f}
html[data-theme=dark] .story-illustration{background:#193a5b}html[data-theme=dark] .story-illustration-1{background:#1a314f}html[data-theme=dark] .illustration-rates{color:#84bce8}
html[data-theme=dark] .review-page{background:radial-gradient(ellipse at top right,#163757,transparent 65%),#09182a;color:#d2e0f2}
html[data-theme=dark] .review-page :is(form,.post){background:#11253e;border-color:#2d4563}html[data-theme=dark] .review-page :is(input,textarea,select){background:#142b47;color:#e0edff;border-color:#486587}html[data-theme=dark] .review-page .body{background:#0d1e34;color:#c2d7ef;border-color:#2d4563}html[data-theme=dark] .review-page :is(.muted,small,header span){color:#a5b9d2}html[data-theme=dark] .review-page #status{color:#bedcff}html[data-theme=dark] .review-page .post a{color:#84cbff}html[data-theme=dark] .review-page .badge{background:#1a4167;color:#a7daff}html[data-theme=dark] .review-page .tabs button{background:#142b47;color:#c2d7ef;border-color:#486587}html[data-theme=dark] .review-page .tabs button[aria-pressed=true]{background:#096fb5;color:#fff}html[data-theme=dark] .review-page .reject{background:#482a3d;color:#ffd4df;border-color:#805369}
html[data-theme=dark] :is(a,button,input,textarea,select,summary):focus-visible{outline-color:#8bd0ff}
@media(max-width:760px){.header-actions{gap:8px;flex-wrap:wrap}.theme-toggle{min-width:65px;padding:9px;font-size:11px}.premium-header .header,body[data-route="/"] .header{justify-content:center}.explainer-article{padding-top:0}.research-checklist{padding:18px}.research-table{max-width:100%}}
@media(max-width:400px){.premium-header .header-actions{justify-content:center;width:100%}.premium-header .main-nav{order:2}.premium-header .header-actions{order:3}.premium-header .brand{margin:auto}.review-page header{flex-wrap:wrap}}
/* Compact visual control with a usable touch target and an explicit accessible label. */
.theme-toggle,.review-page .theme-toggle{min-width:40px;width:40px;min-height:40px;height:40px;padding:6px;font-size:17px;border-radius:50%}
@media(max-width:760px){.theme-toggle,.review-page .theme-toggle{min-width:40px;width:40px;padding:6px;font-size:17px}}
