/* StudyCorner's single brand palette. Legacy components reference these tokens. */
:root {
 --sc-brand-cream:#F7F4ED;
 --sc-brand-ivory:#FFFEFA;
 --sc-brand-teal:#304A53;
 --sc-brand-teal-hover:#243D46;
 --sc-brand-teal-pressed:#1F353D;
 --sc-brand-gold:#C5AA76;
 --sc-brand-gold-text:#78613B;
 --sc-brand-gold-tint:#F1EADB;
 --sc-brand-silver:#C7CCCB;
 --sc-brand-silver-tint:#EEF0ED;
 --sc-brand-slate:#637177;
 --sc-brand-control:#889599;
 --sc-brand-shadow:0 3px 14px #304a5307;
 --sc-brand-focus:#78613B;
 --hub-paper:var(--sc-brand-cream);
 --hub-card:var(--sc-brand-ivory);
 --hub-ink:var(--sc-brand-teal);
 --hub-muted:var(--sc-brand-slate);
 --hub-line:var(--sc-brand-silver);
 --hub-gold:var(--sc-brand-gold-tint);
 --hub-teal:var(--sc-brand-teal);
 --sc-pill-gold:var(--sc-brand-gold-tint);
 --sc-pill-gold-line:var(--sc-brand-gold-text);
 --sc-pill-focus:var(--sc-brand-focus);
}
body {background-color:var(--sc-brand-cream)}
:where(h1,h2,h3,h4) {color:var(--sc-brand-teal)}
/* These primary actions keep their original dimensions and event handlers. */
.hub-button:not(.hub-quick-secondary),.button:not(.light):not(.secondary):not(.danger),.primary,.video-library .video-watch,.sc-auth-entry,.sc-mock-entry>a {
 background:var(--sc-brand-teal);border-color:var(--sc-brand-teal);color:var(--sc-brand-ivory);
 box-shadow:var(--sc-brand-shadow);border-radius:12px;
}
:is(.button.light,.button.secondary,.small-button,.secondary,.video-more,.hub-quick-actions .hub-quick-secondary) {
 background:var(--sc-brand-ivory);color:var(--sc-brand-teal);border-color:var(--sc-brand-control);border-radius:12px;
}
.hub-quick-actions .hub-quick-secondary {color:var(--sc-brand-teal)!important}
:is(.hub-button,.button,.small-button,.primary,.secondary,.video-watch,.video-more,.sc-auth-entry):not(:disabled):not([aria-disabled=true]):active {
 box-shadow:none;background:var(--sc-brand-teal-pressed);border-color:var(--sc-brand-teal-pressed);color:var(--sc-brand-ivory);
}
:is(.button,.small-button,.hub-button,.primary,.secondary,.video-watch,.video-more):is(:disabled,[aria-disabled=true]) {
 background:var(--sc-brand-silver-tint);color:var(--sc-brand-slate);border-color:var(--sc-brand-silver);box-shadow:none;cursor:not-allowed;
}
@media(hover:hover) and (pointer:fine) {
 :is(.hub-button:not(.hub-quick-secondary),.button:not(.light):not(.secondary):not(.danger),.primary,.video-watch,.sc-auth-entry):not(:disabled):not([aria-disabled=true]):hover {
  background:var(--sc-brand-teal-hover);border-color:var(--sc-brand-teal-hover);color:var(--sc-brand-ivory);
 }
 :is(.button.light,.button.secondary,.small-button,.secondary,.video-more,.hub-quick-actions .hub-quick-secondary):not(:disabled):hover {
  background:var(--sc-brand-silver-tint);border-color:var(--sc-brand-teal);color:var(--sc-brand-teal);
 }
}
:is(a,button,input,select,textarea,summary):focus-visible {outline:3px solid var(--sc-brand-focus);outline-offset:3px}
:is(input:not([type=radio]):not([type=checkbox]),select,textarea) {border-color:var(--sc-brand-control);background-color:var(--sc-brand-ivory)}
input[type=radio],input[type=checkbox] {accent-color:var(--sc-brand-teal)}
:is(.hub-subject-card,.hub-activity-card,.hub-frontdoor,.panel,.lesson-card,.video-card,.quick-panel,.quiz-paper,.word-row,.flashcard,.sc-evidence-panel,.stat,.fee-card) {
 background-color:var(--sc-brand-ivory);border-color:var(--sc-brand-silver);box-shadow:var(--sc-brand-shadow);
}
/* Keep the existing hierarchy; reserve gold for a small selected mark. */
:is(.hub-desktop-nav,.hub-bottom-nav) a {color:var(--sc-brand-slate)!important}
:is(.hub-desktop-nav,.hub-bottom-nav) a svg {color:#78898E}
:is(.hub-desktop-nav,.hub-bottom-nav) a[aria-current=page] {
 background:var(--sc-brand-ivory);color:var(--sc-brand-teal)!important;box-shadow:inset 0 -2px var(--sc-brand-gold);
}
:is(.hub-desktop-nav,.hub-bottom-nav) a[aria-current=page] svg {color:var(--sc-brand-teal)}
.hub-resource-row {background:var(--sc-brand-cream)}
.hub-resource-row a[aria-current=page] {background:var(--sc-brand-gold-tint);border-color:var(--sc-brand-gold);color:var(--sc-brand-teal)}
:is(.hub-eyebrow,.eyebrow,.kicker,.video-card-topic) {color:var(--sc-brand-gold-text)}
.hub-home-board :is(h2,a),.hub-home-board .hub-eyebrow {color:var(--sc-brand-ivory)!important}
.hub-home-board .sc-brand-icon {color:var(--sc-brand-gold)}
:is(.hub-subject-symbol,.hub-activity-icon,.hub-frontdoor-art,.hub-catalog-doors>a>span) {
 background:var(--sc-brand-silver-tint);color:var(--sc-brand-teal);border-color:var(--sc-brand-silver);
}
.hub-frontdoor-class .hub-frontdoor-art {background:var(--sc-brand-gold-tint)}
.sc-brand-icon {display:inline-block;width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.hub-subject-symbol .sc-brand-icon {width:29px;height:29px}
.hub-board-subjects .sc-brand-icon {width:19px;height:19px}
.sc-brand-arrow {width:18px;height:18px;flex:none}
/* Chart values and status labels are untouched; only the visual marks change. */
.sc-evidence-ring svg circle {stroke:var(--sc-brand-silver-tint)}
.sc-evidence-ring svg g circle {stroke:var(--sc-brand-teal)}
.sc-evidence-chart svg polyline {stroke:var(--sc-brand-teal)}
.sc-evidence-chart svg circle {stroke:var(--sc-brand-teal);fill:var(--sc-brand-ivory)}
.sc-recap-bar {background:var(--sc-brand-gold)}
:is(.track i,.progress-line>span) {background:var(--sc-brand-teal)}
.quick-study progress {accent-color:var(--sc-brand-teal)}
::selection {background:var(--sc-brand-gold-tint);color:var(--sc-brand-teal)}
@media(max-width:760px) {
 .hub-bottom-nav a[aria-current=page] {background:var(--sc-brand-ivory);box-shadow:inset 0 -2px var(--sc-brand-gold)}
 .hub-resource-row a {background:var(--sc-brand-ivory);border-color:var(--sc-brand-silver)}
}
@media(forced-colors:active) {
 :is(.hub-desktop-nav,.hub-bottom-nav) a[aria-current=page] {outline:2px solid Highlight;outline-offset:-3px}
}

.hub-home-board{background:var(--sc-brand-teal)}

.subject-practice .sc-practice-intro h1{color:var(--sc-brand-teal)}
