/* Account and teacher surfaces share the approved light/dark palette. */
html[data-theme]{--review-bg:#fff;--review-ink:#242126;--review-muted:#685b64;--review-soft:#f6f3f5;--review-line:#e8e3e6;--review-accent:#5c1a26;color-scheme:light}
html[data-theme=dark]{--review-bg:#1b191d;--review-ink:#f7f3f5;--review-muted:#c2b5bf;--review-soft:#29242b;--review-line:#423740;--review-accent:#efc4ce;color-scheme:dark}
html[data-theme],html[data-theme] body{background:var(--review-bg);color:var(--review-ink)}
html[data-theme]{--ink:var(--review-ink);--muted:var(--review-muted);--line:var(--review-line)}
.account-bar{background:var(--review-bg);color:var(--review-ink);border-bottom:1px solid var(--review-line)}
.account-back,.account-brand,.account-bar-label{color:var(--review-accent)}
.account-main h1{font:750 30px/1.2 Onest,sans-serif;letter-spacing:0}
.account-intro{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:16px;margin-bottom:14px}
.account-intro img{object-fit:contain;width:88px;height:88px}.account-faculty{display:none}
.account-main[data-screen=overview] .account-intro,.account-main[data-screen=student] .account-intro{flex-direction:row;align-items:center;justify-content:space-between}
#accountLead{font:400 15px/1.6 Onest,sans-serif;color:var(--review-muted);margin:0 0 24px}
.account-tabs{border:0;background:var(--review-soft);border-radius:8px;padding:4px}
.account-tabs button{border:0;border-radius:6px;color:var(--review-muted)}
.account-tabs button[aria-pressed=true]{background:var(--review-bg);color:var(--review-accent)}
html[data-theme] :is(input:not([type=checkbox]),textarea,select){background:var(--review-soft);color:var(--review-ink);border-color:var(--review-line)}
html[data-theme] :is(input,textarea)::placeholder{color:var(--review-muted)}
html[data-theme] :is(a,.password-toggle,.text-command,.secondary-command,.step-label){color:var(--review-accent)}
html[data-theme] .primary-command{background:#5c1a26;color:#fff}
html[data-theme=dark] :is(.account-status.is-error,.danger-command){color:#ffb6c4}
html[data-theme=dark] :is(.account-status.is-success,.verified-email){color:#a9dfbf}
.people-view-switch{display:flex;justify-content:flex-end;padding:0 18px 12px}
.people-view-switch .mode-switch{display:flex;gap:4px;background:var(--review-soft);border-radius:8px;padding:4px}
.people-view-switch button{width:44px;height:44px;background:transparent;color:var(--review-muted);border-radius:6px}
.people-view-switch button[aria-pressed=true]{background:var(--review-bg);color:var(--review-accent)}
.teacher-list .row-info strong{font:650 15px/1.4 Onest,sans-serif;overflow-wrap:anywhere}
.teacher-list .row-info small{font:400 12px/1.5 Onest,sans-serif;color:var(--review-muted)}
html[data-theme] :is(.topbar,.bottom-nav,.app,#main,.teacher-row,.profile-body,.teacher-actions,.teacher-details,.review-form,dialog){background:var(--review-bg);color:var(--review-ink);border-color:var(--review-line)}
html[data-theme] :is(.bottom-nav a,.teacher-row .row-link,.people-heading h1,.academic-details,.academic-details h2,.academic-details dd,.subjects,.form-field,.field-title){color:var(--review-ink)}
html[data-theme] :is(.bottom-nav a[aria-current=page],.topbar .icon-button,.teacher-email,.official-link){color:var(--review-accent)}
html[data-theme=dark] :is(.search,.heading-actions .icon-button:hover,.heading-actions .has-filter,.score-option span,.review-card,.rating-option){background:var(--review-soft);color:var(--review-ink)}
html[data-theme=dark] .teacher-details summary{background:transparent;color:var(--review-ink)}
html[data-theme=dark] .academic-details :is(dt,.academic-department,.source-date,.missing-fact){color:var(--review-muted)}
html[data-theme=dark] :is(.row-link,.teacher-row){border-color:var(--review-line)}
html[data-theme=dark] .heading-actions .icon-button[aria-expanded=true]{background:var(--review-soft);color:var(--review-accent)}
html[data-theme=dark] .teacher-list .save-button{background:var(--review-soft);color:var(--review-accent)}
html[data-theme=dark] .card-top .save-button{background:#fffffff0;color:#5c1a26}
html[data-theme=dark] .save-button[aria-pressed=true]{background:#5c1a26;color:#fff}
html[data-theme=dark] .bottom-nav a[aria-current=page] svg{color:var(--review-accent)}
@media(max-width:360px){.account-main h1{font-size:26px}.account-main{padding-inline:18px}}
