/* Appearance controls remain usable in either theme. Dark colors apply to screens only. */
.cfi-appearance-options{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;border:0;padding:0}
.cfi-appearance-options legend{float:none;width:100%;font-size:1rem;font-weight:700;margin-bottom:8px}
.cfi-appearance-options label{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 18px;border:1px solid #a6b3bb;border-radius:9px;cursor:pointer}
.cfi-appearance-options input{margin:0;accent-color:#316287;width:18px;height:18px}
.cfi-appearance-options label:has(input:checked){background:#e8f0f8;border-color:#316287;color:#183c57}
.cfi-appearance-options label:focus-within{outline:3px solid #4684b8;outline-offset:3px}
.cfi-appearance-status{min-height:1.5em}
@media screen {
  html[data-cfi-theme="dark"][data-cfi-theme="dark"]{
    color-scheme:dark;
    --background-color:#15171b;--surface-color:#22262c;--default-color:#edf0f3;--heading-color:#f2f3f5;--accent-color:#9bbce0;--contrast-color:#101820;
    --nav-color:#edf0f3;--nav-hover-color:#bbd6f4;--nav-mobile-background-color:#22262c;--nav-dropdown-background-color:#22262c;--nav-dropdown-color:#edf0f3;--nav-dropdown-hover-color:#bbd6f4;
    --account-green:#9bbce0;--account-green-dark:#9bbce0;--account-green-soft:#293847;--account-border:#47515e;
    --cfi-dark-bg:#15171b;--cfi-dark-card:#22262c;--cfi-dark-panel:#29313b;--cfi-dark-text:#edf0f3;--cfi-dark-muted:#c0c7d0;--cfi-dark-link:#9bbce0;--cfi-dark-rule:#47515e;
  }
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] body{
    --notebook-ink:#f2f3f5;--notebook-green:#9bbce0;--notebook-rule:#47515e;--notebook-paper:#15171b;--notebook-sage:#29313b;
    --lp-ink:#f2f3f5;--lp-green:#9bbce0;--lp-rule:#47515e;--lp-soft-rule:#47515e;--lp-paper:#15171b;--lp-sage:#29313b;--lesson-ink:#f2f3f5;--lesson-green:#9bbce0;--lesson-rule:#47515e;--lesson-paper:#15171b;--lesson-sage:#29313b;
    background:#15171b!important;color:#edf0f3!important;
  }
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.light-background,.dark-background){--background-color:#22262c;--surface-color:#22262c;--default-color:#edf0f3;--heading-color:#f2f3f5;--accent-color:#9bbce0;--contrast-color:#101820}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(#main-content,#article){background-color:#15171b!important;color:#edf0f3!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.header,#header,.footer,#footer){background-color:#15171b!important;color:#edf0f3!important;border-color:#47515e!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.header,#header) .logo p{color:#f2f3f5!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.header,#header) .logo p span{color:#71c55d!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(#article>.notebook-toc,#article>.section,.account-card,.account-sidebar,.cfi-login-bubble,.cfi-account-menu,dialog,.card){background:#22262c!important;color:#edf0f3!important;border-color:#47515e!important;box-shadow:0 4px 16px #0002}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(#article,.account-shell) :is(h1,h2,h3,h4,h5,h6,.h3header,.h4header){color:#f2f3f5!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(#article,.account-shell) :is(.section-title h2,.section-title h2:before,.description-title){border-color:#47515e!important;color:#edf0f3!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(#article,.account-shell,.footer,#footer,.navmenu,.cfi-login-bubble) a{color:#9bbce0!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(#article,.account-shell,.footer,#footer,.navmenu,.cfi-login-bubble) a:hover{color:#c5dff9!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.page-title .heading,#article>.page-title .heading){background:linear-gradient(135deg,#1a222c,#263445)!important;border-color:#47515e!important;color:#edf0f3!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] .page-title .heading .background{background:transparent!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.page-title .heading,#article>.page-title .heading) :is(h1,p,a){color:#f2f3f5!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-nav-group,.account-status,.account-stat,.account-stat-card,.support-card,.quiz-benefit,.quiz-card,.scenario-card,.scenario-stage,.scenario-debrief,.scenario-option,.scenario-feedback){background:#29313b!important;color:#edf0f3!important;border-color:#47515e!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-nav-group h2,.account-card p,.account-card label,.account-help,.account-muted,.quiz-introduction,.quiz-benefit-text,.quiz-benefit-title,.scenario-card__intro p,.scenario-card__intro h3){color:#c0c7d0!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-card h1,.account-card h2,.account-card h3,.account-card label){color:#edf0f3!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-field,.account-card,.cfi-login-bubble,.search-form,.header,.scenario-card,.quiz-modal) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:#151c24!important;color:#edf0f3!important;border-color:#657588!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] input::placeholder,html[data-cfi-theme="dark"][data-cfi-theme="dark"] textarea::placeholder{color:#aeb9c7!important;opacity:1}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-button,.account-link,.account-launch-control,.section-bookmark-button,.cfi-login-submit,.quiz-trigger,.scenario-card button){background:#304f6e!important;color:#f2f3f5!important;border-color:#7193b6!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-button,.account-link,.account-launch-control,.section-bookmark-button,.cfi-login-submit,.quiz-trigger,.scenario-card button):hover{background:#3c6286!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] .account-button--danger{background:#753638!important;border-color:#c67578!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-nav-control,.account-nav-group a:hover,.account-nav-group a[aria-current],.cfi-account-menu-links a:hover){background:#29313b!important;color:#edf0f3!important;border-color:#47515e!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] .account-nav-control>a{color:#edf0f3!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.procedure-warning-callout,.procedure-warning-callout--warning){background:#40292e!important;color:#f7d9db!important;border-color:#ca777d!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] .procedure-warning-callout :is(p,strong,.procedure-warning-title){color:#f7d9db!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-notice,.alert){background:#263c36!important;color:#d7eee3!important;border-color:#598575!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-notice--error,.alert-danger){background:#40292e!important;color:#f7d9db!important;border-color:#ca777d!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-table,.administrator-table,.account-card table) :is(th,td){background:#22262c!important;color:#edf0f3!important;border-color:#47515e!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(#auto-toc,.account-tour-launcher,.account-section-title,.lesson-module,.lesson-part,.lesson-teaching-path){color:#edf0f3!important;border-color:#47515e!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(#auto-toc,main) [style*="background:#f9f9f9"],html[data-cfi-theme="dark"][data-cfi-theme="dark"] main [style*="background: #f9f9f9"],html[data-cfi-theme="dark"][data-cfi-theme="dark"] main div:has(>#auto-toc){background:#29313b!important;color:#edf0f3!important;border-color:#47515e!important}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.cfi-appearance-options label){color:#edf0f3;border-color:#657588}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-appearance-options label:has(input:checked){background:#304f6e;color:#fff;border-color:#9bbce0}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #9bbce0!important;outline-offset:3px}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] section[itemtype="https://schema.org/Quiz"]{--quiz-text:#edf0f3;--quiz-muted:#c0c7d0;--quiz-ppl:#426e9c;--quiz-cpl:#426e9c}
  html[data-cfi-theme="dark"][data-cfi-theme="dark"] ::selection{background:#45698b;color:#fff}
  /* Images, charts, canvas, video and their safety/meaningful colors are never filtered or inverted. */
}

@media screen {
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.hf-section-nav,.lp-schedule-item,.lp-utility-item,.acs-card-section,.acs-certificate-panel,.acs-category-card,.acs-element,.quiz-selector-card,.quiz-selector-option,.quiz-selector-copy,.scenario-card__stage,.scenario-card__choices,.scenario-card__feedback){background:#22262c!important;color:#edf0f3!important;border-color:#47515e!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.acs-element-text,.acs-category-title,.acs-panel-heading,.quiz-selector-copy p,.quiz-selector-intro,.scenario-card__prompt){color:#edf0f3!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.acs-certificate-tab,.acs-mobile-selector,.hf-section-nav__print,.lp-schedule-item button){background:#29313b!important;color:#bcd7f1!important;border-color:#657588!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] .acs-certificate-tab[aria-selected="true"]{background:#304f6e!important;color:#fff!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] #cfi-branded :is(.paths,.topics,article,header){background:#22262c!important;color:#edf0f3!important;border-color:#47515e!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] #cfi-branded :is(h1 span,h2 span,.eyebrow,.label){color:#9bbce0!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] #cfi-branded article p{color:#c0c7d0!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] #cfi-branded .cta{background:#304f6e!important;color:#fff!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] #cfi-branded .cta:hover{background:#3c6286!important}
}
@media screen {
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.breadcrumb-segments__item,.lp-lesson-actions,.quiz-selector-tab,.quiz-selector-panel,.quiz-selector-copy li,#cfiQuizModal,.cfiq-card,.cfiq-q,.cfiq-opt,.cfiq-review,.scenario-player,.scenario-player__choices){background:#29313b!important;color:#edf0f3!important;border-color:#47515e!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.breadcrumb-segments__item--current,.lp-lesson-actions button.is-selected,.quiz-selector-tab[aria-selected="true"]){background:#304f6e!important;color:#fff!important;border-color:#7193b6!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.lp-lesson-actions button,.cfiq-btn){background:#304f6e!important;color:#fff!important;border-color:#7193b6!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.quiz-selector-tab small,.quiz-selector-kicker,.cfiq-sub,.cfiq-meta,.cfiq-expl,.cfiq-h2,.cfiq-opt,.scenario-player__prompt,.scenario-player__question,.scenario-card__description,.scenario-card__meta-item){color:#d4dde7!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.cfiq-ok,.scenario-feedback.is-correct){color:#b6e6c5!important;background:#263c36!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.cfiq-bad,.scenario-feedback.is-incorrect){color:#f6c4c9!important;background:#40292e!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] #cfiQuizClose{background:#29313b!important;color:#edf0f3!important;border-color:#7193b6!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] .breadcrumb-segments__link{color:#bdd7f2!important}
}
/* Shared components audited in both collapsed and expanded states. */
@media screen {
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.trivia-item,.qod-answer,.cfi-administrator-preview-bar,.scenario-card__intro,.scenario-card__meta-item,.scenario-complete,.acs-element-section,.acs-category-section>summary,.prep-dashboard,.prep-dashboard article){background:#22262c!important;color:#edf0f3!important;border-color:#47515e!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.trivia-item,.qod-answer,.cfi-administrator-preview-bar,.scenario-card__intro,.scenario-complete,.acs-certificate-tab,.acs-category-section>summary,.prep-dashboard) :is(h2,h3,h4,p,label,span,strong,small,li){color:#edf0f3!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.qod-toggle,.cfi-administrator-preview-bar button,.prep-button,.cfi-support-card__button){background:#304f6e!important;color:#fff!important;border-color:#7193b6!important;box-shadow:none!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.qod-toggle,.cfi-administrator-preview-bar button,.prep-button,.cfi-support-card__button):hover{background:#3c6286!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-administrator-preview-bar select{background:#151c24!important;color:#edf0f3!important;border-color:#657588!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.trivia-item hr,.acs-card-section hr){background:#47515e!important;border-color:#47515e!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.footer,#footer) :is(h2,h3,h4,h5,h6){color:#edf0f3!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] .bottom-line-callout{background:#29313b!important;color:#edf0f3!important;border-color:#7193b6!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] .bottom-line-callout :is(p,li,strong,.bottom-line-title){color:#edf0f3!important}
 html[data-cfi-theme="dark"][data-cfi-theme="dark"] main code{color:#f0b9d4}
}

@media screen {
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.acs-category-card>summary,#fpw.fpw,.fpw-assignment,.fpw-reference-library,#wind-calc-recovery,#radio-setup-trainer.rst,.prep-section--resources,.prep-section article,.prep-resources>a,.prep-section ul){background:#22262c!important;color:#edf0f3!important;border-color:#47515e!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] #article :is(.prep-button,.cfi-support-card__button,.cfi-support-card__button span){color:#fff!important}
}

@media screen {
html[data-cfi-theme="dark"][data-cfi-theme="dark"] #article #wind-calc-recovery,html[data-cfi-theme="dark"][data-cfi-theme="dark"] #radio-setup-trainer :is(.rst-guide,.rst-transcript){background:#29313b!important;color:#edf0f3!important;border-color:#7193b6!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.fpw-eyebrow,.rst-note,.rst-step,.prep-section article strong,.prep-resources strong){color:#c0c7d0!important}
}

@media screen {html[data-cfi-theme="dark"]{--cfi-calculator-surface:#29313b}}

/* Notebook directory and trivia card boundaries. */
@media screen {
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .trivia-item{border:1px solid #718297!important;box-shadow:0 6px 18px rgba(0,0,0,.22)!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book-directory{--book-green:#9bbce0;--book-ink:#edf0f3;--book-muted:#b7c3d1;--book-paper:#222a34;--book-line:#526274;background:#22262c!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book{background:linear-gradient(90deg,#273544,#374b60 48%,#273544)!important;border-color:#718297!important;box-shadow:0 16px 32px rgba(0,0,0,.25)!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book::before{background:linear-gradient(90deg,transparent,rgba(0,0,0,.28),rgba(150,175,200,.12),rgba(0,0,0,.22),transparent)!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book-page{background-color:var(--book-paper)!important;background-image:repeating-linear-gradient(0deg,transparent,transparent 31px,rgba(155,188,224,.04) 32px)!important;border-color:#526274!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.notebook-book-summary,.notebook-book-count,.notebook-book-position,.notebook-book-link-number){color:#c0cbd8!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.notebook-book-links-heading,.notebook-book-links li){border-color:#526274!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.notebook-book-tab,.notebook-book-nav,.notebook-book-topic-picker){background:#293b4e!important;color:#edf0f3!important;border-color:#718297!important;box-shadow:none!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book-tab[aria-selected="true"]{background:#416385!important;color:#fff!important;border-color:#a8c6e7!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.notebook-book-tab:hover,.notebook-book-nav:hover:not(:disabled)){background:#385572!important;color:#fff!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book-tab::before{background:#a8c6e7!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book-tab::after{border-color:#718297!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book-image{background:#222a34!important;border-color:#526274!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book-image::after{box-shadow:inset 0 0 0 2px rgba(155,188,224,.2)!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book-links a:hover{background:#304253!important;color:#d8e9fc!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .notebook-book-directory :focus-visible{outline:2px solid #bedaff!important;outline-offset:3px}
}

/* Lesson directory categories and expanded lesson lists. */
@media screen {
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-lesson-plan-directory{--lp-ink:#edf0f3;--lp-paper:#15171b;--lp-sage:#29313b}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .lesson-plan-explorer{--lp-green:#9bbce0;--lp-forest:#304f6e;--lp-sage:#29313b;background:#15171b!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.lesson-plan-introduction,.lesson-plan-explorer-nav,.lesson-plan-explorer-content,.lesson-plan-panel,.lesson-plan-accordion,.lesson-plan-accordion-body){background:#22262c!important;color:#edf0f3!important;border-color:#657588!important;box-shadow:none!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.lesson-plan-category,.lesson-plan-accordion summary){background:#29313b!important;color:#edf0f3!important;border-color:#657588!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.lesson-plan-category[aria-selected="true"],.lesson-plan-accordion[open] summary,.lesson-plan-panel-title){background:#304f6e!important;color:#fff!important;border-color:#9bbce0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.lesson-plan-category:hover,.lesson-plan-category:focus-visible){background:#385572!important;color:#fff!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] #article .cfi-preparation-hub-link{background:#304f6e!important;color:#fff!important;border-color:#7193b6!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-lesson-plan-directory #article>.page-title .heading{background:linear-gradient(135deg,#1c2835,#30465d)!important;border-color:#526274!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-lesson-plan-directory #article>.page-title .breadcrumbs a{color:#bdd7f2!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .lesson-plan-explorer :focus-visible{outline:2px solid #bedaff!important;outline-offset:2px}
}

/* Shared support cards and informational callouts. */
@media screen {
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.cfi-support-card,.foi-note,.foi-roadmap li,.acs-reference-note,.prep-syllabus-note){background:#29313b!important;color:#edf0f3!important;border-color:#7193b6!important;box-shadow:none!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.cfi-support-card,.foi-note,.foi-roadmap,.foi-acs-list,.acs-reference-note,.prep-syllabus-note) :is(p,strong,span,li,h3,h4){color:#edf0f3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-support-card__heart{fill:#9bbce0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-support-card .cfi-support-card__button span{color:#fff!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .bottom-line-callout::before{background:#9bbce0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .bottom-line-callout .bottom-line-check{background:#304f6e!important;color:#fff!important}
}

@media screen {
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-login-bubble :is(h2,label,.cfi-login-close){color:#edf0f3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-login-bubble p{color:#c0cbd8!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-login-bubble .cfi-login-error{color:#f6c4c9!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-login-bubble .cfi-login-show{color:#bdd7f2!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-login-bubble .cfi-login-submit{background:#304f6e!important;color:#fff!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-account-menu-links a:is(:hover,:focus-visible){background:#304f6e!important;color:#fff!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-account-menu-links a:last-child{border-color:#657588!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .cfi-login-bubble :focus-visible{outline:2px solid #bedaff!important;outline-offset:3px}
}

@media screen{html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.acs-certificate-group,.acs-certificate-group-label){background:#22262c!important;color:#edf0f3!important;border-color:#47515e!important}html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.acs-element,.acs-element-section,.acs-element-section-wrapper){border-color:#47515e!important}}

/* Account component surfaces and text, including lazy-loaded tools. */
@media screen {
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-sidebar,
    .overview-ring > div,
    .account-card,
    .syllabus-accordion,
    .syllabus-title__icon,
    .syllabus-percent, .syllabus-group-count, .syllabus-status,
    .syllabus-task-group,
    .syllabus-task,
    .administrator-master-list,
    .administrator-master-list tr,
    .versioned-element,
    .versioned-syllabus-summary > div::before,
    .versioned-element.versioned-element-inline,
    .versioned-element-group,
    .versioned-element-row--child,
    .versioned-element-group.versioned-element-group--objectives,
    .versioned-objectives,
    .account-tour-arrow,
    body.lp-editing .lp-customizer,
    .lp-drag-ghost,
    body.lp-editing.lp-card-dragging section[data-lp-card],
    .lp-editing li.lp-list-active > .lp-list-controls,
    .lp-editing li[data-lp-section-editor], .lp-editing section[data-lp-section-editor],
    .lp-editing li[data-lp-section-editor]:hover, .lp-editing section[data-lp-section-editor]:hover,
    .lp-media-preview,
    .lp-modal__panel,
    .lp-modal__actions,
    .schedule-editor-page,
    .start-picker-actions [data-cancel]){background:#22262c!important;color:#edf0f3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-nav-group--training,
    .account-nav-group--instructor,
    .account-nav-group--account,
    .account-nav-group--administrator,
    .admin-preview-item,
    .account-progress,
    .dashboard-profile-summary,
    .overview-notifications,
    .overview-kpi--blue .overview-kpi__icon,
    .certificate-bar,
    .overview-mini-progress,
    .overview-focus-row:hover,
    .scenario-title-icon,
    .quiz-action:hover, .quiz-action:focus-visible,
    .activity-row--scenario > i,
    .activity-row--assignment > i,
    .activity-row--scenario .activity-icon,
    .activity-row--assignment .activity-icon,
    .syllabus-area-heading,
    .syllabus-lesson,
    .syllabus-task__body,
    .administrator-master-list tbody tr:nth-child(2n),
    .password-visibility-toggle:hover,
    .qod-email-settings__profiles,
    .training-profile-option:has(input:checked),
    .administrator-notification-history__item,
    .administrator-syllabus-options label:has(input:checked),
    .profile-mode:has(input:checked),
    .versioned-syllabus-step[open] > summary,
    .versioned-element--r .versioned-element-type,
    .versioned-element > summary:hover, .versioned-element > summary:focus-visible, .versioned-element[open] > summary,
    .versioned-syllabus-stage,
    .versioned-syllabus-stage > summary,
    .versioned-elements:has(.versioned-element-group--objectives),
    .versioned-element-group--objectives .versioned-applicability,
    .versioned-objective-form:has(input:checked),
    .training-setup-row.is-editing,
    .training-setup-editor,
    .training-completion-card,
    .assignment-table-status,
    .connection-actions a:hover,
    .lp-lesson-actions button:hover, .lp-lesson-actions button:focus,
    .lp-editing #main-content,
    .lp-editing li[data-lp-draggable]:hover,
    .lp-editing li.lp-list-editing,
    .lp-editing li[data-lp-section-editor]:focus, .lp-editing li[data-lp-section-editor]:focus-within, .lp-editing section[data-lp-section-editor]:focus, .lp-editing section[data-lp-section-editor]:focus-within,
    .lp-insert-line:active span,
    .plan-stats-table th,
    .plan-comparison pre,
    .schedule-weekday,
    .schedule-day--empty,
    .schedule-month-arrow:hover,
    .schedule-modal-bar,
    .schedule-subscription-card ul,
    .schedule-subscription-card [data-subscribe-result],
    .start-picker-days button,
    .start-picker-days button:hover){background:#29313b!important;color:#edf0f3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.admin-preview-banner,
    .dashboard-metric--sage,
    .dashboard-metric--sand,
    .dashboard-offline-button--secondary:hover, .dashboard-offline-button--secondary:focus-visible,
    .overview-progress-tabs button:hover, .overview-progress-tabs button:focus-visible,
    .overview-kpi__icon, .certificate-icon,
    .quiz-status--in-progress,
    .activity-row > i,
    .activity-row--quiz > i,
    .activity-icon,
    .activity-row--quiz .activity-icon,
    .syllabus-task-group[open] > summary,
    .syllabus-group-count,
    .syllabus-status--in-progress,
    .syllabus-status--studied,
    .administrator-master-list th,
    .account-status--active,
    .account-status--deactivated,
    .account-status--inactive,
    .account-status--archived,
    .account-status--unverified,
    .administrator-master-list-banner:hover, .administrator-master-list-banner:focus-visible,
    .versioned-step-number,
    .versioned-element-type,
    .versioned-element--s .versioned-element-type,
    .versioned-stage-number,
    .assignment-table th,
    .connections-table th,
    .endorsement-table th,
    .lp-lesson-actions button,
    .lp-editing li[data-lp-section-editor][contenteditable="true"]::before, .lp-editing section[data-lp-section-editor][contenteditable="true"]::before,
    .plan-live-preview .plan-section-marker,
    .notification-group legend,
    .schedule-event,
    .schedule-month-arrow,
    [data-reading-picker] [data-reading-remove],
    [data-reading-picker] [data-reading-remove]:hover,
    .schedule-new-day,
    .schedule-list-table th,
    .schedule-status,
    .schedule-start-picker [data-selection]){background:#29313b!important;color:#edf0f3!important;color:#9bbce0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.admin-preview-item.is-excluded,
    .quiz-status--not-started,
    .next-grid a,
    .syllabus-status,
    .account-status,
    .versioned-applicability,
    .versioned-elements-heading,
    .start-picker-month button, .start-picker-days button){background:#29313b!important;color:#edf0f3!important;color:#c0c7d0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-nav-group h2,
    .account-sidebar a > i,
    .dashboard-progress small,
    .overview-notifications__heading p,
    .overview-notification-row small,
    .notification-history-row small,
    .overview-header p,
    .overview-profile small,
    .dashboard-offline-card p,
    .overview-progress-tabs button, .overview-progress-tabs > a,
    .overview-ring span, .overview-overall__count span,
    .overview-overall__count small,
    .overview-kpi span,
    .certificate-detail span,
    .overview-panel__heading p,
    .overview-fraction,
    .overview-focus-row,
    .overview-focus-row small,
    .overview-focus-chevron,
    .overview-empty,
    .quiz-dashboard-heading h1 span,
    .quiz-dashboard-heading h2 span,
    .quiz-dashboard-heading p,
    .quiz-filter span,
    .quiz-table th,
    .quiz-table td,
    .quiz-last-attempt small,
    .quiz-empty, .quiz-no-results,
    .quiz-table td[data-label]:not(:first-child)::before,
    .activity-row span, .activity-row time,
    .next-grid small,
    .overview-footnote,
    .dashboard-profile-summary span, .dashboard-profile-summary small,
    .syllabus-percent--empty,
    .syllabus-accordion summary small, .syllabus-task-group summary small, .syllabus-task summary small,
    .syllabus-empty-state,
    .administrator-master-list td:nth-child(1),
    .administrator-master-list td::before,
    .administrator-syllabus-options > p,
    .administrator-notification-history__item small,
    .administrator-syllabus-options small,
    .administrator-account-status-card dt,
    .administrator-account-status-card dd,
    .administrator-permission-result dt,
    .administrator-account-status-note,
    .profile-mode small,
    .versioned-syllabus-summary > div span,
    .versioned-step-title small,
    .versioned-element header small,
    .versioned-element-task,
    .versioned-element-description,
    .versioned-stage-title small,
    .versioned-objective-status small,
    .versioned-objective-save-state,
    .versioned-element-reference .versioned-element-task,
    .versioned-objective-status strong,
    .versioned-objectives-heading small,
    .versioned-objective-form:has(input:checked) label span,
    .versioned-objective-form .versioned-objective-evidence,
    .training-setup-row small,
    .syllabus-state-card > summary,
    .account-tour-invite,
    .account-tour-launcher p,
    .account-tour-bubble small,
    .assignment-table td::before,
    .connections-table td::before,
    .connection-time,
    .connection-time-info > summary,
    .lp-editing [data-lp-placeholder]:empty::before,
    .lp-status,
    .plan-stat-grid span,
    .plan-change-note,
    .plan-unchanged,
    .plan-source > summary,
    .plan-live-preview,
    .plan-live-preview .plan-paper,
    .notification-intro,
    .notification-columns,
    .notification-unavailable,
    .notification-settings > .account-help-text, .notification-settings form > .account-help-text,
    .notification-card-heading,
    .schedule-subscription-card > summary,
    .schedule-subscription-card p,
    .schedule-list-table small,
    .start-picker-month strong,
    .start-picker-days > span,
    .start-picker-time label){color:#c0c7d0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-sidebar a,
    .account-sidebar a:hover, .account-sidebar a:focus, .account-sidebar a.is-active,
    .overview-profile > i:first-child,
    .dashboard-offline-card h2,
    .dashboard-offline-card .dashboard-offline-status,
    .overview-progress-tabs button[aria-selected="true"],
    .overview-overall__count > b,
    .overview-overall__count strong,
    .overview-overall__count a,
    .overview-text-link,
    .overview-expand,
    .quiz-filter:hover, .quiz-filter:focus-visible,
    .quiz-view-all,
    .quiz-action,
    .activity-score,
    .next-grid a > i:first-child,
    .next-grid b,
    .account-brand span,
    .training-goals-reset h3,
    .password-visibility-toggle,
    .password-requirements li,
    .password-requirements li.is-met,
    .account-link,
    .account-notice,
    .qod-email-settings__legend,
    .administrator-master-list-banner,
    .versioned-step-percent,
    .versioned-stage-percent,
    .versioned-element-save-state,
    .versioned-objective-status strong,
    .versioned-objectives-heading h4,
    .versioned-objective-group__label,
    .versioned-objective-form small,
    .versioned-objective-form .versioned-objective-evidence strong,
    .training-setup-edit,
    .account-tour-link,
    .connection-actions a,
    .connection-disconnect summary,
    .lp-customizer__editing-label,
    .lp-media-preview > span,
    .lp-schedule-incomplete,
    .plan-stat-grid strong,
    .plan-change summary,
    .plan-live-preview .hf-section-nav span,
    .plan-live-preview .notebook-toc h3, .plan-live-preview .notebook-toc .h3header,
    .plan-live-preview .notebook-toc a,
    .plan-paper h3,
    .start-picker-time option){color:#9bbce0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.dashboard-progress,
    .training-goals-reset,
    .training-profile-option,
    .administrator-syllabus-options label,
    .administrator-account-status-card,
    .administrator-account-status-card--total,
    .administrator-account-status-card--active,
    .administrator-account-status-card--deactivated,
    .administrator-permission-result,
    .profile-mode,
    .versioned-objectives,
    .training-setup-editor > fieldset, .training-completion-card,
    .connection-actions a,
    .lp-history-changes,
    .plan-stat-grid > div,
    .quick-builder,
    .start-picker-time select){background:#29313b!important;color:#edf0f3!important;border-color:#536171!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.administrator-notification-form fieldset,
    .overview-kpi--link:hover, .overview-kpi--link:focus-visible,
    .versioned-elements,
    .training-setup-row,
    .assignment-table tr,
    .connections-table tr,
    .lp-editing li[data-lp-draggable],
    .lp-editing [data-lp-section-editor] li[data-lp-draggable]:hover,
    .plan-change,
    .plan-live-preview [id$="-introduction"] .lp-schedule-item,
    .plan-paper td, .plan-paper th,
    .notification-group,
    .schedule-assignment-picker,
    .schedule-event-modal,
    .schedule-subscription-card input,
    .schedule-start-picker,
    [data-lesson-choice] button.schedule-event){border-color:#536171!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-profile,
    .quiz-filter, .quiz-view-all,
    .account-tour-bubble,
    .plan-paper,
    .notification-info-text,
    .schedule-start-trigger,
    .schedule-start-picker,
    .start-picker-time select){background:#22262c!important;color:#edf0f3!important;color:#c0c7d0!important;border-color:#536171!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.dashboard-offline-button--secondary,
    .connection-disconnect button,
    .lp-customizer button, .lp-customizer select, .lp-editor-tools button, .lp-modal button,
    .lp-card-controls button, .lp-list-control,
    .lp-list-move-button,
    .lp-list-delete-button,
    .lp-part-insert-line > button, .lp-subsection-insert-line > button,
    .lp-insert-line:hover span, .lp-insert-line:focus span,
    .lp-card-insert-line span,
    .lp-media-preview > button,
    .lp-insert-line span){background:#22262c!important;color:#edf0f3!important;color:#9bbce0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-panel,
    .quiz-table tr,
    .syllabus-task-group, .syllabus-task,
    .administrator-permission-result dl div,
    .versioned-syllabus-step,
    .versioned-element-form select, .versioned-element-form input,
    .versioned-objective-list,
    .lp-lesson-actions,
    .lp-editor-tools,
    .plan-live-preview .notebook-toc,
    .quick-builder textarea, .quick-builder input:not([type="checkbox"]),
    .schedule-subscription-card){background:#22262c!important;color:#edf0f3!important;border-color:#536171!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-kpi--purple .overview-kpi__icon,
    .versioned-element--p .versioned-element-type){background:#342d46!important;color:#d5c3f3!important;color:#d5c3f3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-kpi--orange .overview-kpi__icon,
    .overview-focus-icon--amber,
    .overview-focus-icon--orange,
    .overview-focus-icon--red,
    .quiz-status--needs-review,
    .administrator-notification-history__item.is-retracted){background:#402f2c!important;color:#ffd6b3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-kpi--green){color:#b5e5c9!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-kpi--purple){color:#d5c3f3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-focus-icon--green,
    .quiz-status--completed,
    .syllabus-status--completed,
    .plan-tracked-text ins, .plan-change-key ins,
    .plan-live-preview .plan-added, .plan-live-preview ins,
    .plan-paper ins, .plan-paper .plan-added){background:#243c32!important;color:#b5e5c9!important;color:#b5e5c9!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.syllabus-status--needs-review,
    .account-notice--error,
    .versioned-objectives__legacy,
    .plan-tracked-text del, .plan-change-key del,
    .plan-live-preview .plan-deleted, .plan-live-preview del,
    .plan-paper del, .plan-paper .plan-deleted,
    .schedule-status.is-cancelled){background:#402f2c!important;color:#ffd6b3!important;color:#ffd6b3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.administrator-notification-history__item.is-retracted small,
    .versioned-element-save-state--error,
    .syllabus-completion-mode__warning){color:#ffd6b3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.syllabus-endorsement-objective button,
    .account-tour-actions button,
    .schedule-subscription-card [data-subscribe-revoke]){background:#22262c!important;color:#edf0f3!important;color:#9bbce0!important;border-color:#536171!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.lp-locked-card::before,
    .start-picker-actions button){background:#29313b!important;color:#edf0f3!important;color:#9bbce0!important;border-color:#536171!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] {--account-surface-soft:#29313b;--syllabus-tint:#293847;--syllabus-accent:#9bbce0}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-ring){background:conic-gradient(#9bbce0 var(--overview-progress),#47515e 0)!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .versioned-syllabus-summary>div{background:conic-gradient(#9bbce0 var(--syllabus-progress,0%),#47515e 0)!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-ring>div,.versioned-syllabus-summary>div::before){background:#22262c!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.syllabus-accordion>summary,.administrator-master-list-banner,.account-page){background:#22262c!important;color:#edf0f3!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-progress-tabs button[aria-selected="true"],.quiz-filter.is-active){background:#304f6e!important;color:#fff!important;border-color:#9bbce0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-button,.dashboard-offline-button,.schedule-picker-actions .schedule-picker-done){background:#304f6e!important;color:#fff!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-button:hover,.account-button:focus-visible,.dashboard-offline-button:hover){background:#3c6286!important;color:#fff!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.overview-panel,.syllabus-accordion,.versioned-element,.schedule-start-picker,.lp-modal__panel){border-color:#718297!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] :is(.account-page,.account-shell) :is(h1,h2,h3,h4,h5,h6){color:#f2f3f5!important}
}

/* Saved notes and account-only semantic controls. */
@media screen {
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .account-page{background:#15171b!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .account-notes .note-card{background:#29313b!important;color:#edf0f3!important;border-color:#718297!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .account-notes .note-meta small{color:#c0c7d0!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .versioned-syllabus-summary>div::before{background:#22262c!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .account-button--danger{background:#873d3d!important;color:#fff!important}
html[data-cfi-theme="dark"][data-cfi-theme="dark"] .account-button--danger:hover{background:#a14b4b!important}
}

@media screen {html[data-cfi-theme="dark"][data-cfi-theme="dark"] body.account-page .account-shell button.account-button.account-button--danger{background:#873d3d!important;color:#fff!important}html[data-cfi-theme="dark"][data-cfi-theme="dark"] body.account-page .account-shell button.account-button.account-button--danger:hover{background:#a14b4b!important}}
