/* StudyCorner: warm paper, quiet silver, champagne highlights and ink actions. */
:root{--paper:var(--sc-brand-cream);--sc-cream:var(--sc-brand-cream);--sc-card:var(--sc-brand-ivory);--sc-surface:var(--sc-brand-ivory);--surface:var(--sc-brand-ivory);--card:var(--sc-brand-ivory);--ink:var(--sc-brand-teal);--sc-ink:var(--sc-brand-teal);--sc-text:var(--sc-brand-teal);--muted:var(--sc-brand-slate);--sc-muted:var(--sc-brand-slate);--line:var(--sc-brand-silver);--sc-silver:var(--sc-brand-silver);--sc-gold:var(--sc-brand-gold-tint);--gold:var(--sc-brand-gold-tint);--yellow:var(--sc-brand-gold-tint);--sc-gold-border:var(--sc-brand-gold);--sc-focus:var(--sc-brand-gold-text);--blue:var(--sc-brand-teal);--navy:var(--sc-brand-teal);--pale:var(--sc-brand-silver-tint)}
body{background:var(--paper);color:var(--ink)}
.sc-header{background:#fffefaed!important;border-bottom-color:var(--sc-brand-silver)!important;transition:box-shadow 220ms ease,border-color 220ms ease}
.sc-header[data-scrolled=true]{box-shadow:0 5px 20px #293e480b!important;border-bottom-color:var(--sc-brand-silver)!important}
.sc-header .sc-nav-links a{color:var(--sc-brand-slate);font-weight:600}
.sc-header .sc-nav-links a:hover{color:var(--sc-brand-teal);background:var(--sc-brand-silver-tint)}
.sc-header .sc-nav-links a[aria-current=page]{color:var(--sc-brand-teal);background:var(--sc-brand-silver-tint);box-shadow:inset 0 -2px var(--sc-brand-gold)}
.sc-header .sc-nav-links a:focus-visible{outline:3px solid var(--sc-brand-gold-text);outline-offset:3px}
.button:not(.light):not(.secondary):not(.danger){background:var(--sc-brand-teal);border-color:var(--sc-brand-teal);color:var(--sc-brand-ivory);box-shadow:0 2px 4px #293e4808!important}
.button.light,.button.secondary,.small-button{background:var(--sc-brand-ivory);color:var(--sc-brand-teal);border-color:var(--sc-brand-silver)}
.button,.small-button{border-radius:12px!important;min-height:46px;line-height:1.8;display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;gap:10px}
.button:disabled,.small-button:disabled{box-shadow:none!important}
.actions,.result-actions,.panel-actions,.backup-actions{gap:12px;align-items:center}
.button.light:hover,.button.secondary:hover,.small-button:hover{background:var(--sc-brand-silver-tint);border-color:#aeb9b5}
.panel,.lesson-card,.video-card{border-color:var(--sc-brand-silver)}
.video-watch,.video-more{background:var(--sc-brand-gold-tint);border-color:var(--sc-brand-gold);color:var(--sc-brand-teal)}
.video-sources button[aria-pressed=true]{background:var(--sc-brand-teal);border-color:var(--sc-brand-teal);color:var(--sc-brand-ivory)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--sc-brand-gold-text)}
::selection{background:var(--sc-brand-gold-tint);color:var(--sc-brand-teal)}
@media(hover:hover) and (pointer:fine){
 .button,.small-button,.sc-auth-entry,.video-watch,.video-more{transition:background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease}
 .button:not(:disabled):hover,.small-button:not(:disabled):hover,.sc-auth-entry:hover,.video-watch:hover,.video-more:hover{transform:translateY(-2px);box-shadow:0 5px 14px #293e4810!important}
 .button:not(.light):not(.secondary):not(.danger):not(:disabled):hover{background:var(--sc-brand-teal-hover);border-color:var(--sc-brand-teal-hover)}
 .video-card{transition:border-color 200ms ease,box-shadow 200ms ease}
 .video-card:hover{border-color:#bca77c;box-shadow:0 8px 22px #293e4808}
}
@media(max-width:600px){.actions,.result-actions,.panel-actions,.backup-actions{gap:10px}.actions>.button,.result-actions>.button{flex:1 1 150px}.button,.small-button{padding-block:11px}.sc-header .sc-auth-entry{min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.sc-header,.button,.small-button,.sc-auth-entry,.video-card,.video-watch,.video-more{animation:none!important;transition:none!important;transform:none!important}}
.button[hidden],.small-button[hidden],.sc-auth-entry[hidden]{display:none!important}

/* Motion is reserved for the home subject illustration. */
.button:hover,.small-button:hover,.sc-auth-entry:hover,.video-watch:hover,.video-more:hover{transform:none!important}
