.csca-appearance-control{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;font:500 12px/1.4 Inter,"Segoe UI",sans-serif;margin:0 8px;color:var(--tutor-text-primary,#172b45)}
.csca-appearance-control select{font:inherit!important;min-height:44px;min-width:94px;width:auto!important;padding:8px 28px 8px 12px!important;border:1px solid #64748b!important;border-radius:8px!important;background:#fff!important;color:#172b45!important;cursor:pointer}
.csca-appearance-control select:focus-visible{outline:3px solid #d4a64a!important;outline-offset:3px}
html[data-csca-appearance=light]{color-scheme:light}
html[data-csca-appearance=dark]{color-scheme:dark;--csca-bg:#071a2d;--csca-bg-alt:#10263c;--csca-card:#10263c;--csca-ink:#e7edf4;--csca-text:#e7edf4;--csca-text-muted:#b8c7d8;--csca-muted:#b8c7d8;--csca-line:#29435b;--csca-border:#29435b}
html[data-csca-appearance=dark] .csca-appearance-control{color:#e7edf4}
html[data-csca-appearance=dark] .csca-appearance-control select{background:#10263c!important;color:#e7edf4!important;border-color:#64748b!important}
html[data-csca-appearance=dark] :is(.csca-site,.csca-main-wrap,.csca-content){background:#071a2d;color:#e7edf4}
html[data-csca-appearance=dark] :is(.csca-topbar,.csca-sidebar,.csca-login-card,.csca-empty,.csca-teacher-promo,.tutor-card){background:#10263c;color:#e7edf4;border-color:#29435b}
html[data-csca-appearance=dark] .csca-site :is(h1,h2,h3,h4,h5,h6){color:#e7edf4}
html[data-csca-appearance=dark] :is(.csca-nav,.csca-subjects,.csca-account-links) a{color:#d6e0ea}
html[data-csca-appearance=dark] :is(.csca-breadcrumb,.csca-breadcrumb strong,.csca-label,.csca-teacher-promo p){color:#b8c7d8}
html[data-csca-appearance=dark] .csca-site a:not(.csca-button):not(.tutor-btn){color:#f3c66e}
html[data-csca-appearance=dark] :is(.csca-nav a:hover,.csca-nav a[aria-current=page],.csca-subjects a[aria-current=page]){background:#29435b;color:#f3c66e}
html[data-csca-appearance=dark] :is(.csca-content-notice,.csca-copy-feedback){background:#10263c;color:#b8c7d8}
html[data-csca-appearance=dark] .tutor-lesson-wrapper{color:var(--tutor-text-primary,#e7edf4)}
html[data-csca-appearance=dark] .tutor-lesson-wrapper a{color:#f3c66e}
.tutor-learning-header-inner>.csca-appearance-control{margin-left:auto}
@media(max-width:767px){.csca-appearance-control{margin:0 4px}.csca-appearance-control>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.csca-appearance-control select{min-width:84px;font-size:12px!important}.csca-account-links{flex-wrap:wrap}.tutor-learning-header-title{min-width:0}}
/* Explicit contrast overrides for the homepage's existing navy sections. */
.home .csca-appearance-control{color:#e7edf4}
html[data-csca-appearance=dark] .csca-site :is(.csca-label,.academic-lead,.academic-access,.academic-emblem small,.academic-process p){color:#b8c7d8!important}
html[data-csca-appearance=dark] .csca-site .academic-button{color:#071a2d!important}
html[data-csca-appearance=dark] .csca-site .academic-secondary{color:#e7edf4!important}
html[data-csca-appearance=dark] .csca-site .tutor-btn-outline-primary{color:#f3c66e;border-color:#64748b}
html[data-csca-appearance=dark] .csca-site .academic-card{background:#10263c;border-color:#29435b}
/* Allow the lesson title to shrink before the appearance control on phones. */
.tutor-learning-header-inner>.tutor-learning-header-content{flex:1 1 0;min-width:0}
.tutor-learning-header-inner>.tutor-learning-header-content .tutor-learning-header-title{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
