/* Appearance only: the light product palette remains in prep-brand.css.
   Legacy fixed colors below use the same semantic surfaces as newer components. */
:root { color-scheme: light; }
html[data-theme=dark] {
 color-scheme: dark;
 --suite-bg:#19151e; --suite-surface:#241e2b; --suite-ink:#f3edf6; --suite-muted:#c3b7cb; --suite-line:#55485e;
 --suite-navy:#f3edf6; --suite-blue:#d6b5e9; --suite-blue-hover:#ead4f6; --suite-blue-soft:#372b42;
 --suite-orange:#087f7b; --suite-orange-hover:#006d68; --suite-orange-ink:#80d8cb; --suite-orange-soft:#193b3a;
 --suite-success:#87d8b0; --suite-success-soft:#1e3d31; --suite-error:#ffb2b9; --suite-error-soft:#472831;
 --suite-hover:#332a3d; --suite-focus:#80d8cb; --suite-shadow:none;
 --theme-warning:#f3ca85; --theme-warning-soft:#403221; --theme-shell:#251c2c;
}
.theme-toggle {
 display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px;
 width:44px; min-width:44px; height:44px; min-height:44px; padding:10px; border:1px solid var(--suite-line);
 border-radius:6px; background:var(--suite-surface); color:var(--suite-ink); cursor:pointer; line-height:1;
}
.theme-toggle:hover { background:var(--suite-orange-soft); }
.theme-toggle:focus-visible { outline:3px solid var(--suite-focus); outline-offset:3px; }
.theme-toggle svg { display:block; width:21px; height:21px; flex:none; }
.theme-toggle .theme-sun,html[data-theme=dark] .theme-toggle .theme-moon { display:none; }
html[data-theme=dark] .theme-toggle .theme-sun { display:block; }
.theme-topbar-actions { display:flex; align-items:center; gap:16px; min-width:0; }
.suite-topbar #breadcrumb { min-width:0; flex:1; overflow-wrap:anywhere; }
.lab-steps a span { color:var(--suite-muted); }
.suite-topbar .theme-toggle { border-color:#86718f; background:transparent; color:#fff; }
.suite-topbar .theme-toggle:hover { background:#493353; }
body .cm-public-header .cm-header-inner>.theme-toggle { order:3; }
@media(max-width:1080px) {
 body .cm-public-header .cm-header-inner { justify-content:flex-start; column-gap:12px; }
 body .cm-public-header .product-identity { margin-right:auto; }
 body .cm-public-header .cm-header-inner>.theme-toggle { order:0; }
 body .cm-public-header .cm-nav-shell { order:2; }
}
@media(max-width:600px) {
 .body>.suite-topbar { min-height:72px; height:auto; padding-block:10px; }
 .theme-topbar-actions { gap:10px; }
 .theme-topbar-actions>a { min-width:0; }
}
@media(max-width:359px) {
 body .cm-public-header .cm-header-inner { column-gap:8px; }
}

/* mentem-brand.css */
html[data-theme=dark] .cm-public-footer .mentem-endorsement-mark path:first-child{fill:var(--suite-surface)}
html[data-theme=dark] .cm-public-footer .mentem-endorsement-mark path:last-child{fill:var(--suite-orange-soft)}
/* styles.css */
html[data-theme=dark] a:focus-visible,html[data-theme=dark] button:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] textarea:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] summary:focus-visible{outline:3px solid var(--suite-focus)}
html[data-theme=dark] .mark{border:1px solid var(--suite-focus)}
html[data-theme=dark] .guest{border-top:1px solid var(--suite-focus)}
html[data-theme=dark] .guest i{background:var(--suite-surface)}
html[data-theme=dark] .focus{background:var(--suite-surface);border:1px solid var(--suite-line)}
html[data-theme=dark] .focus p:not(.eyebrow){color:var(--suite-muted)}
html[data-theme=dark] .btn{border:1px solid var(--suite-line);color:var(--suite-ink)}
html[data-theme=dark] .btn:hover{background:var(--suite-surface)}
html[data-theme=dark] .flow span{border:1px solid var(--suite-line);background:var(--theme-warning-soft);color:var(--suite-muted)}
html[data-theme=dark] .flow b{color:var(--suite-muted)}
html[data-theme=dark] .metrics strong small{color:var(--suite-muted)}
html[data-theme=dark] .paths article{border-top:2px solid var(--suite-line)}
html[data-theme=dark] .skip{background:var(--suite-surface)}
html[data-theme=dark] .notice{background:var(--suite-success-soft);border:1px solid var(--suite-line)}
html[data-theme=dark] .notice.error{background:var(--theme-warning-soft);border-color:var(--suite-line)}
html[data-theme=dark] .callout{background:var(--suite-surface);border-left:3px solid var(--suite-line);color:var(--suite-muted)}
html[data-theme=dark] .course-group>h2{border-bottom:1px solid var(--suite-line)}
html[data-theme=dark] .read-dot{border:1px solid var(--suite-line);color:var(--suite-muted)}
html[data-theme=dark] .prereq{color:var(--suite-muted)}
html[data-theme=dark] .worked{background:var(--suite-surface)}
html[data-theme=dark] .worked h3{color:var(--suite-muted)}
html[data-theme=dark] .mistake{background:var(--suite-error-soft);border-left:3px solid var(--suite-line)}
html[data-theme=dark] .exercise-link{background:var(--suite-surface)}
html[data-theme=dark] select{border:1px solid var(--suite-line);background:var(--suite-surface);color:var(--suite-ink)}
html[data-theme=dark] .tag{border:1px solid var(--suite-line);background:var(--suite-success-soft);color:var(--suite-muted)}
html[data-theme=dark] .workspace{background:var(--suite-surface)}
html[data-theme=dark] .input-unit{border:1px solid var(--suite-line);background:var(--theme-warning-soft)}
html[data-theme=dark] .input-unit input{color:var(--suite-ink)}
html[data-theme=dark] textarea{border:1px solid var(--suite-line);background:var(--theme-warning-soft)}
html[data-theme=dark] .feedback{border-top:2px solid var(--suite-line)}
html[data-theme=dark] .error-text{color:var(--suite-error)}
html[data-theme=dark] .comparison{background:var(--suite-surface)}
html[data-theme=dark] table{background:var(--suite-surface)}
html[data-theme=dark] th{color:var(--suite-muted);background:var(--suite-surface)}
html[data-theme=dark] .data-panel{background:var(--suite-surface)}
html[data-theme=dark] .file-label input::file-selector-button{background:var(--suite-surface);border:1px solid var(--suite-line)}
html[data-theme=dark] .assumptions{background:var(--suite-surface);border:1px solid var(--suite-line)}
html[data-theme=dark] .model-table tbody th{color:var(--suite-muted);background:var(--theme-warning-soft)}
html[data-theme=dark] .model-warning{border-left:3px solid var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] .diagnostic{background:var(--suite-error-soft);color:var(--suite-error)}
html[data-theme=dark] .case-feature{border:1px solid var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] .case-intro{background:var(--suite-surface);border:1px solid var(--suite-line)}
html[data-theme=dark] .case-progress{border-left:1px solid var(--suite-line)}
html[data-theme=dark] .case-progress span{color:var(--suite-muted)}
html[data-theme=dark] .case-stage-list>a:hover{background:var(--suite-surface)}
html[data-theme=dark] .case-exhibits{background:var(--theme-warning-soft)}
html[data-theme=dark] .case-strip{background:var(--suite-surface);border:1px solid var(--suite-line)}
html[data-theme=dark] .case-strip>a{color:var(--suite-muted)}
html[data-theme=dark] .case-strip>a:hover{background:var(--suite-success-soft)}
html[data-theme=dark] .case-strip a[aria-current=step]{background:var(--suite-success-soft)}
html[data-theme=dark] .feedback:focus{outline:2px solid var(--suite-focus)}
@media(max-width:650px){html[data-theme=dark] .case-progress{border-top:1px solid var(--suite-line)}}
html[data-theme=dark] .case-stage-list a>span{color:var(--suite-ink)}
html[data-theme=dark] .quick-feature{background:var(--suite-error-soft);border:1px solid var(--suite-line)}
html[data-theme=dark] .quick-filters label,html[data-theme=dark] .quick-rating{color:var(--suite-muted)}
html[data-theme=dark] .quick-filters input{border:1px solid var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] #quick-notes:focus{outline:2px solid var(--suite-focus)}
/* prep-suite.css */
html[data-theme=dark] button:focus-visible,html[data-theme=dark] a:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] textarea:focus-visible,html[data-theme=dark] summary:focus-visible{outline:3px solid var(--suite-focus)}
html[data-theme=dark] ::selection{background:var(--suite-orange-soft);color:var(--suite-orange-ink)}
html[data-theme=dark] .suite-sidebar{background:var(--suite-surface)}
html[data-theme=dark] .suite-sidebar nav a:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] .suite-panel{background:var(--suite-surface)}
html[data-theme=dark] .suite-secondary{background:var(--suite-surface);border:1px solid var(--suite-line)}
html[data-theme=dark] .suite-field{border:1px solid var(--suite-line);background:var(--suite-surface)}
/* suite-adapter.css */
html[data-theme=dark] .sidebar nav a:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] .btn{border:1px solid var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] .tag{border:1px solid var(--suite-line)}
html[data-theme=dark] .notice{border:1px solid var(--suite-line)}
html[data-theme=dark] .notice.error{border-color:var(--suite-line)}
html[data-theme=dark] .continue-panel{background:var(--suite-surface)}
html[data-theme=dark] .dashboard-progress dl>div{border-color:var(--suite-line)}
html[data-theme=dark] .topic-table{background:var(--suite-surface)}
html[data-theme=dark] .topic-row:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] .review-desk-panel{background:var(--suite-surface)}
html[data-theme=dark] .focus{background:var(--suite-surface)}
html[data-theme=dark] .flow span{border-color:var(--suite-line)}
html[data-theme=dark] .paths article{border-color:var(--suite-line)}
html[data-theme=dark] .course-group{background:var(--suite-surface)}
html[data-theme=dark] .course-summary{background:var(--suite-orange-soft)}
html[data-theme=dark] .course-group>h2{background:var(--suite-orange-soft)}
html[data-theme=dark] .course-row:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] .read-dot{border-color:var(--suite-line)}
html[data-theme=dark] .lesson-body{background:var(--suite-surface)}
html[data-theme=dark] .worked{border:1px solid var(--suite-line)}
html[data-theme=dark] .worked>div{border-color:var(--suite-line)}
html[data-theme=dark] .lesson-aside{background:var(--suite-surface)}
html[data-theme=dark] .exercise-link{background:var(--suite-surface)}
html[data-theme=dark] .exercise-link:hover{border-color:var(--suite-line)}
html[data-theme=dark] .practice-filters{background:var(--suite-surface)}
html[data-theme=dark] .practice-row{background:var(--suite-surface)}
html[data-theme=dark] .practice-row:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] .workspace{background:var(--suite-surface)}
html[data-theme=dark] .drill-aside{background:var(--suite-surface)}
html[data-theme=dark] .input-unit{border-color:var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] .input-unit:focus-within{outline:3px solid var(--suite-focus)}
html[data-theme=dark] textarea{border-color:var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] select,html[data-theme=dark] .quick-filters input{border:1px solid var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] .feedback:focus,html[data-theme=dark] #quick-notes:focus{outline:2px solid var(--suite-focus)}
html[data-theme=dark] .check-list li.correct{border-color:var(--suite-line)}
html[data-theme=dark] .check-list li.incorrect{border-color:var(--suite-line)}
html[data-theme=dark] .empty{background:var(--suite-surface)}
html[data-theme=dark] .history-item{background:var(--suite-surface)}
html[data-theme=dark] .comparison{background:var(--suite-orange-soft)}
html[data-theme=dark] .table-wrap{background:var(--suite-surface)}
html[data-theme=dark] table{background:var(--suite-surface)}
html[data-theme=dark] th{background:var(--suite-orange-soft)}
html[data-theme=dark] .data-card,html[data-theme=dark] .data-panel{background:var(--suite-surface)}
html[data-theme=dark] .data-summary{border:1px solid var(--suite-line)}
html[data-theme=dark] .file-label input::file-selector-button{border:1px solid var(--suite-line)}
html[data-theme=dark] .assumptions{background:var(--suite-orange-soft);border:1px solid var(--suite-line)}
html[data-theme=dark] .model-table tbody th{background:var(--suite-orange-soft)}
html[data-theme=dark] .case-feature{background:var(--suite-surface)}
html[data-theme=dark] .case-intro{background:var(--suite-surface)}
html[data-theme=dark] .case-stage-list{background:var(--suite-surface)}
html[data-theme=dark] .case-exhibits{background:var(--suite-surface)}
html[data-theme=dark] .case-strip{background:var(--suite-surface)}
html[data-theme=dark] .case-strip>a:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] .quick-feature{background:var(--suite-surface)}
html[data-theme=dark] .quick-progress{background:var(--suite-surface)}
html[data-theme=dark] .quick-filter-panel{background:var(--suite-surface)}
html[data-theme=dark] .quick-filters select,html[data-theme=dark] .quick-filters input,html[data-theme=dark] .quick-rating select{border-color:var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] .quick-results-panel{background:var(--suite-surface)}
html[data-theme=dark] .quick-results-panel #quick-count{background:var(--suite-orange-soft)}
html[data-theme=dark] .quick-row:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] .quick-status{background:var(--suite-orange-soft)}
html[data-theme=dark] .quick-reference{border:1px solid var(--suite-line)}
html[data-theme=dark] .quick-support-card .quick-original{background:var(--suite-orange-soft)}
@media(max-width:860px){html[data-theme=dark] #menu-toggle{border:1px solid var(--suite-line);background:var(--suite-surface)}}
html[data-theme=dark] .dashboard-progress,html[data-theme=dark] .data-summary{background:var(--suite-surface)}
html[data-theme=dark] .course-intro{border:1px solid var(--suite-line)}
html[data-theme=dark] .quick-self-review{background:var(--suite-orange-soft);border:1px solid var(--suite-line)}
html[data-theme=dark] .journey-sequence{background:var(--suite-surface)}
html[data-theme=dark] .journey-drafts{background:var(--suite-surface)}
/* prep-public.css */
html[data-theme=dark] .cm-public-header{background:var(--suite-surface);border-bottom:1px solid var(--line,var(--suite-line));color:var(--ink,var(--suite-ink))}
html[data-theme=dark] .cm-wordmark{color:var(--ink,var(--suite-ink))}
html[data-theme=dark] .cm-wordmark:hover{color:var(--accent,var(--suite-error))}
html[data-theme=dark] .cm-nav-trigger{color:var(--ink,var(--suite-ink))}
html[data-theme=dark] .cm-nav-trigger:hover,html[data-theme=dark] .cm-nav-group[open]>.cm-nav-trigger,html[data-theme=dark] .cm-nav-group.is-current-section>.cm-nav-trigger{color:var(--accent,var(--suite-error))}
html[data-theme=dark] .cm-nav-panel{background:var(--suite-surface);border:1px solid var(--line,var(--suite-line));border-top:2px solid var(--accent,var(--suite-focus))}
html[data-theme=dark] .cm-nav-label{color:var(--muted,var(--suite-muted))}
html[data-theme=dark] .cm-nav-column a{color:var(--ink,var(--suite-ink))}
html[data-theme=dark] .cm-nav-column a>small{color:var(--muted,var(--suite-muted))}
html[data-theme=dark] .cm-nav-column a:hover,html[data-theme=dark] .cm-nav-column a:focus-visible,html[data-theme=dark] .cm-nav-column a[aria-current]{background:var(--surface,var(--suite-surface));color:var(--accent,var(--suite-error))}
html[data-theme=dark] .cm-nav-overview{border-top:1px solid var(--line,var(--suite-line));color:var(--accent,var(--suite-error))}
html[data-theme=dark] .cm-nav-feature{background:var(--surface,var(--suite-surface));border-left:1px solid var(--line,var(--suite-line))}
html[data-theme=dark] .cm-nav-feature>a{color:var(--ink,var(--suite-ink))}
html[data-theme=dark] .cm-nav-feature>a>span{color:var(--muted,var(--suite-muted))}
html[data-theme=dark] .cm-nav-feature b{color:var(--accent,var(--suite-error))}
html[data-theme=dark] .cm-preparation-link{color:var(--ink,var(--suite-ink))}
html[data-theme=dark] .cm-preparation-link:hover{color:var(--accent,var(--suite-error))}
html[data-theme=dark] .cm-nav-start{border:1px solid var(--accent,var(--suite-focus));color:#fff}
html[data-theme=dark] .cm-nav-start:hover{color:#fff;border-color:var(--accent-hover,var(--suite-focus))}
html[data-theme=dark] .cm-menu-toggle{color:var(--ink,var(--suite-ink));background:var(--suite-surface);border:1px solid var(--line,var(--suite-line))}
html[data-theme=dark] .cm-public-header :focus-visible,html[data-theme=dark] .cm-public-footer :focus-visible{outline:3px solid var(--accent,var(--suite-focus))}
html[data-theme=dark] .cm-public-footer{background:var(--surface,var(--suite-surface));border-top:1px solid var(--line,var(--suite-line));color:var(--ink,var(--suite-ink))}
html[data-theme=dark] .cm-footer-about p{color:var(--muted,var(--suite-muted))}
html[data-theme=dark] .cm-footer-links a{color:var(--muted,var(--suite-muted))}
html[data-theme=dark] .cm-footer-links a:hover{color:var(--accent,var(--suite-error))}
html[data-theme=dark] .cm-footer-bottom{border-top:1px solid var(--line,var(--suite-line));color:var(--muted,var(--suite-muted))}
html[data-theme=dark] .cm-footer-bottom a:hover{color:var(--accent,var(--suite-error))}
@media(max-width:1080px){html[data-theme=dark] .cm-public-header.is-enhanced .cm-nav-shell{background:var(--suite-surface);border-bottom:1px solid var(--line,var(--suite-line))}
html[data-theme=dark] .cm-nav-group{border-bottom:1px solid var(--line,var(--suite-line))}}
html[data-theme=dark] .cm-public-header .cm-nav-start{color:#fff}
html[data-theme=dark] .cm-public-header :focus-visible,html[data-theme=dark] .cm-public-footer :focus-visible{outline-color:var(--suite-focus)}
html[data-theme=dark] .cm-public-footer{color:#fff}
html[data-theme=dark] .cm-public-footer .cm-wordmark{color:#fff}
html[data-theme=dark] .cm-public-footer .cm-footer-links h2{color:#fff}
html[data-theme=dark] .cm-public-footer .cm-footer-links a:hover,html[data-theme=dark] .cm-public-footer .cm-footer-bottom a:hover{color:#fff}
html[data-theme=dark] .cm-public-footer .cm-footer-bottom{border-color:var(--suite-focus)}
html[data-theme=dark] .marketing-page .body{background:var(--suite-surface)}
html[data-theme=dark] .prep-section-nav{background:var(--suite-surface)}
html[data-theme=dark] .marketing-page{background:var(--suite-surface)}
html[data-theme=dark] .cm-nav-main{background:var(--suite-surface)}
html[data-theme=dark] .cm-public-header :focus-visible,html[data-theme=dark] .cm-public-footer :focus-visible{outline-color:var(--suite-focus)}
html[data-theme=dark] .prep-hero-stats{border-top:1px solid var(--suite-focus)}
html[data-theme=dark] .prep-course-preview{background:var(--suite-surface);border:1px solid var(--suite-line)}
html[data-theme=dark] .prep-preview-lessons>a{background:var(--suite-surface)}
html[data-theme=dark] .prep-preview-lessons>a:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] .prep-public-section{background:var(--suite-surface)}
html[data-theme=dark] .prep-feature-list{background:var(--suite-surface)}
html[data-theme=dark] .prep-feature:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] .cm-footer-bottom{border-color:var(--suite-focus)}
/* prep-interactions.css */
html[data-theme=dark] body .btn,html[data-theme=dark] body .btn-sm{border:1px solid var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] body .btn:hover,html[data-theme=dark] body .btn-sm:hover{border-color:var(--suite-line)}
html[data-theme=dark] body .btn.danger,html[data-theme=dark] body .btn.btn-danger{background:var(--suite-surface);border-color:var(--suite-line)}
html[data-theme=dark] body .btn.danger:hover,html[data-theme=dark] body .btn.btn-danger:hover{border-color:var(--suite-line)}
html[data-theme=dark] body .suite-sidebar nav a:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] body :is(.topic-row,.course-row,.practice-row,.quick-row,.overview-topic,.lesson-row,.library-list li):hover{background:var(--suite-orange-soft)}
html[data-theme=dark] body .choice:hover{background:var(--suite-orange-soft)}
html[data-theme=dark] body :is(select,textarea,input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file])),html[data-theme=dark] body .field :is(input:not([type=radio]):not([type=checkbox]),select,textarea){border-color:var(--suite-line)}
html[data-theme=dark] body :is(a,button,input,select,textarea,summary,[role=tabpanel]):focus-visible{outline:3px solid var(--suite-focus)}
html[data-theme=dark] body .input-unit:focus-within{outline:3px solid var(--suite-focus)}
/* barry-guide.css */
html[data-theme=dark] .barry-guide{border:1px solid var(--suite-line, var(--suite-line));background:var(--suite-bg, var(--theme-warning-soft));color:var(--suite-ink, var(--suite-blue))}
html[data-theme=dark] .barry-guide .barry-guide-title{color:var(--suite-ink, var(--suite-blue))}
html[data-theme=dark] .barry-guide .barry-guide-copy > p{color:var(--suite-ink, var(--suite-blue))}
/* account.css */
html[data-theme=dark] .account-panel{border:1px solid var(--line,var(--suite-line));background:var(--paper,var(--suite-surface))}
html[data-theme=dark] .account-panel input{border:1px solid var(--muted,var(--suite-focus));background:var(--paper,var(--suite-surface));color:var(--ink,var(--suite-blue))}
html[data-theme=dark] .account-panel input:focus-visible,html[data-theme=dark] .account-text:focus-visible{outline:3px solid var(--accent,var(--suite-focus))}
html[data-theme=dark] .account-text{color:var(--ink,var(--suite-blue))}
html[data-theme=dark] .account-message{background:var(--suite-success-soft);border-left:4px solid var(--suite-focus)}
html[data-theme=dark] .account-error{background:var(--suite-error-soft);border-left:4px solid var(--suite-focus)}
html[data-theme=dark] .account-show{border:1px solid var(--suite-line,var(--suite-line));background:var(--suite-surface,var(--suite-surface));color:var(--suite-ink,var(--suite-blue))}
html[data-theme=dark] .account-show:focus-visible{outline:3px solid var(--suite-focus,var(--suite-focus))}
html[data-theme=dark] .cloud-choice{border:1px solid var(--line,var(--suite-line))}
html[data-theme=dark] .cloud-note{border-left:3px solid var(--suite-purple,var(--suite-focus))}
html[data-theme=dark] .cloud-alert{background:var(--suite-error-soft);border-bottom:1px solid var(--suite-line)}
/* curriculum.css */
html[data-theme=dark] .curriculum-start,html[data-theme=dark] .curriculum-panel{border:1px solid var(--suite-line,var(--suite-line));border-top:4px solid var(--suite-purple,var(--suite-focus));background:var(--suite-surface,var(--suite-surface))}
html[data-theme=dark] .curriculum-choice{border:1px solid var(--suite-line,var(--suite-line))}
html[data-theme=dark] .curriculum-choice:has(input:checked){border-color:var(--suite-purple,var(--suite-focus));background:var(--suite-lavender,var(--suite-blue-soft))}
html[data-theme=dark] .curriculum-choice:has(input:focus-visible){outline:3px solid var(--suite-orange,var(--suite-focus))}
html[data-theme=dark] .curriculum-page button:focus-visible,html[data-theme=dark] .curriculum-page textarea:focus-visible,html[data-theme=dark] .curriculum-page summary:focus-visible{outline:3px solid var(--suite-orange,var(--suite-focus))}
html[data-theme=dark] .curriculum-path-list article{border-bottom:1px solid var(--suite-line,var(--suite-line))}
html[data-theme=dark] .curriculum-follow,html[data-theme=dark] .curriculum-resume{background:var(--suite-lavender,var(--suite-blue-soft))}
html[data-theme=dark] .curriculum-plan li{border-bottom:1px solid var(--suite-line,var(--suite-line))}
html[data-theme=dark] .curriculum-topic-results article{border-bottom:1px solid var(--suite-line,var(--suite-line))}
html[data-theme=dark] .curriculum-brief{background:var(--suite-surface,var(--suite-surface));border:1px solid var(--suite-line,var(--suite-line))}
html[data-theme=dark] .curriculum-task{border-top:1px solid var(--suite-line,var(--suite-line))}
html[data-theme=dark] .curriculum-check{border:1px solid var(--suite-line,var(--suite-line));background:var(--suite-surface,var(--suite-surface))}
html[data-theme=dark] .curriculum-check-feedback{border-top:1px solid var(--suite-line,var(--suite-line))}
html[data-theme=dark] .curriculum-writing textarea{border:1px solid var(--suite-muted,var(--suite-focus));background:var(--suite-surface,var(--suite-surface));color:var(--suite-ink,var(--suite-blue))}
html[data-theme=dark] .curriculum-local-error,html[data-theme=dark] #curriculum-error{color:var(--suite-error)}
/* deal-lab.css */
html[data-theme=dark] .lab-start,html[data-theme=dark] .lab-example,html[data-theme=dark] .lab-new-facts{background:var(--surface,var(--suite-surface));border:1px solid var(--line,var(--suite-line));border-left:4px solid var(--accent,var(--suite-focus))}
html[data-theme=dark] .deal-lab details{border:1px solid var(--line,var(--suite-line));background:var(--surface,var(--suite-surface))}
html[data-theme=dark] .lab-case-list article{border-bottom:1px solid var(--line,var(--suite-line))}
html[data-theme=dark] .lab-steps a{border:1px solid var(--line,var(--suite-line))}
html[data-theme=dark] .lab-steps [aria-current=step]{background:var(--suite-blue-soft);border-color:var(--suite-focus)}
html[data-theme=dark] .lab-table-wrap{border:1px solid var(--line,var(--suite-line))}
html[data-theme=dark] .lab-table-wrap th,html[data-theme=dark] .lab-table-wrap td{border-bottom:1px solid var(--line,var(--suite-line))}
html[data-theme=dark] .lab-table-wrap thead th{background:var(--suite-surface)}
html[data-theme=dark] .lab-inputs select{border:1px solid var(--suite-line)}
html[data-theme=dark] .lab-assumption-grid input,html[data-theme=dark] .lab-build-cell>input{border:1px solid var(--suite-line);background:var(--suite-surface);color:var(--suite-blue)}
html[data-theme=dark] .deal-lab code{background:var(--suite-blue-soft)}
html[data-theme=dark] .deal-lab .lab-range{color:var(--suite-blue)}
html[data-theme=dark] .lab-build-cell{border:1px solid var(--line,var(--suite-line));background:var(--surface,var(--suite-surface))}
html[data-theme=dark] .lab-feedback{border-top:2px solid var(--line,var(--suite-line))}
html[data-theme=dark] .lab-result-list li{border-bottom:1px solid var(--line,var(--suite-line))}
html[data-theme=dark] .lab-writing textarea{border:1px solid var(--suite-line);background:var(--suite-surface);color:var(--suite-blue)}
html[data-theme=dark] .lab-error{color:var(--suite-error)!important}
html[data-theme=dark] .lab-model-warnings{background:var(--theme-warning-soft);border:1px solid var(--suite-line)}
html[data-theme=dark] .deal-lab a:focus-visible,html[data-theme=dark] .deal-lab input:focus-visible,html[data-theme=dark] .deal-lab textarea:focus-visible,html[data-theme=dark] .deal-lab select:focus-visible,html[data-theme=dark] .deal-lab summary:focus-visible{outline:3px solid var(--suite-focus)}
/* venture.css */
html[data-theme=dark] .venture-workspace input,html[data-theme=dark] .venture-workspace select,html[data-theme=dark] .venture-workspace textarea{border:1px solid var(--suite-line);background:var(--suite-surface);color:var(--suite-blue)}
html[data-theme=dark] .venture-workspace fieldset{border:1px solid var(--suite-line)}
html[data-theme=dark] .venture-table th,html[data-theme=dark] .venture-table td{border-bottom:1px solid var(--suite-line)}
html[data-theme=dark] .venture-table th{background:var(--suite-blue-soft)}
html[data-theme=dark] .venture-cell-name{color:var(--suite-blue)}
html[data-theme=dark] .venture-cells>section{border:1px solid var(--suite-line)}
html[data-theme=dark] .venture-help{color:var(--suite-blue)}
html[data-theme=dark] .venture-company{border-bottom:1px solid var(--suite-line)}
html[data-theme=dark] .venture-answer{border-left:3px solid var(--suite-focus);background:var(--suite-surface)}
html[data-theme=dark] .venture-error{color:var(--suite-error)}
html[data-theme=dark] .venture-feedback,html[data-theme=dark] .venture-timer{border:1px solid var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] .venture-feedback:focus{outline:2px solid var(--suite-focus)}
html[data-theme=dark] .venture-history>details{border-top:1px solid var(--suite-line)}
html[data-theme=dark] #venture-save-status{color:var(--suite-blue)}
html[data-theme=dark] .venture-workspace nav a,html[data-theme=dark] .venture-workspace nav a:visited{color:var(--suite-blue)!important}
html[data-theme=dark] .venture-workspace nav a:hover,html[data-theme=dark] .venture-workspace nav a:focus-visible{color:var(--suite-blue)!important;background:var(--suite-blue-soft)}
html[data-theme=dark] .venture-workspace nav a[aria-current]{color:var(--suite-blue)!important}
html[data-theme=dark] .venture-company-jumps{background:var(--theme-warning-soft);border:1px solid var(--suite-line)}
/* learning.css */
html[data-theme=dark] .learning-lab{border-top:2px solid var(--suite-line);border-bottom:1px solid var(--suite-line)}
html[data-theme=dark] .learning-lab nav .btn{color:var(--suite-blue)}
html[data-theme=dark] .learning-lab fieldset{border:1px solid var(--suite-line)}
html[data-theme=dark] .learning-fields input{border:1px solid var(--suite-line);background:var(--suite-surface);color:var(--suite-blue)}
html[data-theme=dark] .learning-feedback{border:1px solid var(--suite-line);background:var(--suite-surface)}
html[data-theme=dark] .learning-feedback:focus{outline:2px solid var(--suite-focus)}
html[data-theme=dark] .learning-error{color:var(--suite-error)}
html[data-theme=dark] .learning-save,html[data-theme=dark] .learning-help{color:var(--suite-blue)}
html[data-theme=dark] .learning-hints{background:var(--theme-warning-soft)}
html[data-theme=dark] .learning-figure{background:var(--suite-surface);border:1px solid var(--suite-line)}
html[data-theme=dark] .learning-axis{stroke:var(--suite-focus)}
html[data-theme=dark] .learning-data th,html[data-theme=dark] .learning-data td{border-bottom:1px solid var(--suite-line)}
html[data-theme=dark] .home-path-summary{border-left:3px solid var(--suite-focus)}
/* venture-exhibits.css */
html[data-theme=dark] .venture-learning-example,html[data-theme=dark] .venture-comparison-exhibit,html[data-theme=dark] .venture-terms-exhibit{border:1px solid var(--line,var(--suite-line));background:var(--paper,var(--suite-surface))}
html[data-theme=dark] .venture-chart-axis{stroke:var(--suite-focus)}
html[data-theme=dark] .venture-chart-benchmark{stroke:var(--suite-focus)}
html[data-theme=dark] .venture-flow-box{fill:var(--suite-surface);stroke:var(--suite-line)}
html[data-theme=dark] .venture-flow-connector{stroke:var(--suite-focus)}
/* prep-brand.css */
html[data-theme=dark] ::selection{background:var(--suite-orange-soft)}
html[data-theme=dark] body :is(.btn,.btn-sm,.suite-secondary){border-color:var(--suite-line)}
html[data-theme=dark] body :is(.btn,.btn-sm,.suite-secondary):hover{border-color:var(--suite-line)}
html[data-theme=dark] body :is(.btn.danger,.btn.btn-danger){background:var(--suite-surface);border-color:var(--suite-line)}
html[data-theme=dark] body :is(.btn.danger,.btn.btn-danger):hover{border-color:var(--suite-line)}
html[data-theme=dark] body :is(.field input,.field select,.field textarea,input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file]),select,textarea,.input-unit){border-color:var(--suite-line)}
html[data-theme=dark] body .topbar .local-badge{border-color:var(--suite-focus)}
html[data-theme=dark] body .prep-hero-stats,html[data-theme=dark] body .suite-public-home .study-intro-inventory{border-color:var(--suite-focus)}
html[data-theme=dark] body :is(.prep-course-preview,.study-sample,.real-example){border-color:var(--suite-line)}
html[data-theme=dark] body .suite-public-home :is(.home-chart-legend i,.home-bar-prior){background:var(--suite-blue-soft)}
html[data-theme=dark] body .cm-public-footer .cm-footer-bottom{border-color:var(--suite-focus)}
html[data-theme=dark] body :is(.prep-hero,.suite-home-hero,.cm-public-footer) :is(a,button):focus-visible{outline-color:var(--suite-focus)}
html[data-theme=dark] body :is(.overview-copy,.overview-intro){border-color:var(--suite-focus)}
html[data-theme=dark] body .overview-copy .btn.secondary{border-color:var(--suite-line)}
html[data-theme=dark] body .overview-copy .btn.secondary:hover{border-color:var(--suite-line)}
html[data-theme=dark] body .suite-topbar .beta{border-color:var(--suite-focus)}
html[data-theme=dark] body .answer-choice{border-color:var(--suite-line)}
html[data-theme=dark] body .resource-card:hover{border-color:var(--suite-line)}
html[data-theme=dark] body :is(.worked-example,.public-practice,.scope-note,.scope-mini,.import-confirm,.worked,.formula,.assumptions,.dr-working,.dr-model,.dr-your-answer,.dr-saved-working,.dl-filter,.dr-bookmark){border-color:var(--suite-line)}
html[data-theme=dark] body .overview-hero :is(a,button):focus-visible{outline-color:var(--suite-focus)}
/* Dark brand bands and feedback keep a deliberate contrast with readable panels. */
html[data-theme=dark] body :is(.prep-hero,.suite-home-hero,.cm-public-footer,.suite-topbar,.topbar,.overview-hero,.overview-copy) { background:var(--theme-shell); }
html[data-theme=dark] body :is(.prep-hero h1,.cm-public-footer h2,.cm-public-footer .cm-wordmark,.suite-topbar,.suite-topbar a,.overview-copy h1,.overview-copy h2) { color:#fff; }
html[data-theme=dark] body .cm-public-header .cm-wordmark { color:var(--suite-ink); }
html[data-theme=dark] body .mentem-endorsement-mark path:first-child,html[data-theme=dark] body .cm-public-footer .mentem-endorsement-mark path:first-child { fill:#f3edf6; }
html[data-theme=dark] body .mentem-endorsement-mark path:last-child,html[data-theme=dark] body .cm-public-footer .mentem-endorsement-mark path:last-child { fill:#80d8cb; }
html[data-theme=dark] body :is(.read-dot.done,.cm-nav-start,.suite-primary,.btn.primary,.btn.btn-primary,.home-button-primary) { background:#087f7b; border-color:#80d8cb; color:#fff; }
html[data-theme=dark] body :is(.read-dot.done,.cm-nav-start,.suite-primary,.btn.primary,.btn.btn-primary,.home-button-primary):hover { background:#006d68; color:#fff; }
html[data-theme=dark] body :is(.correct,.is-correct,.check-list .correct) { color:var(--suite-success); }
html[data-theme=dark] body :is(.incorrect,.is-wrong,.check-list .incorrect) { color:var(--suite-error); }
html[data-theme=dark] :is(input,textarea,select) { color-scheme:dark; }
html[data-theme=dark] body :is(input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file]),textarea,select,.input-unit) { border-color:#8f7a9e; }
html[data-theme=dark] .venture-chart-bar { fill:#c4a1d7; }
html[data-theme=dark] .venture-chart-benchmark { stroke:var(--theme-warning); }
html[data-theme=dark] .venture-flow-box { fill:var(--suite-blue-soft); stroke:var(--suite-line); }
html[data-theme=dark] .venture-flow-connector { stroke:var(--suite-blue); }
html[data-theme=dark] .venture-flow-arrow { fill:var(--suite-blue); }
html[data-theme=dark] .learning-positive { fill:#c4a1d7; }
html[data-theme=dark] .learning-negative { fill:#eda48b; }
html[data-theme=dark] .learning-total { fill:#80d8cb; }
html[data-theme=dark] :is(.learning-axis,.venture-chart-axis) { stroke:#afa0b8; }
html[data-theme=dark] .theme-toggle { color:var(--suite-ink); background:var(--suite-surface); border-color:var(--suite-line); }
html[data-theme=dark] .theme-toggle:hover { background:var(--suite-orange-soft); }
html[data-theme=dark] .suite-topbar .theme-toggle { color:#fff; background:transparent; border-color:#86718f; }
