/* One appearance preference for public, student and embedded admin documents. */
.admin-theme-toggle{display:inline-grid;place-items:center;width:36px;height:36px;padding:7px;border:1px solid #d7e2ef;border-radius:8px;background:transparent;color:inherit;cursor:pointer;flex:none}
.admin-theme-toggle svg{width:19px;height:19px}
#site-header-root .site-theme-toggle{width:32px;height:32px;padding:6px;margin-left:8px;border-color:var(--login-border);color:var(--nav-color);order:3}
#site-header-root .yantu-nav-toggle{order:4}
.admin-theme-menu{position:fixed;inset:60px 20px auto auto;margin:0;padding:6px;width:156px;border:1px solid #d7e2ef;border-radius:10px;background:#fff;color:#253349;box-shadow:0 8px 26px #14253c20;font:14px/1.5 "Microsoft YaHei",sans-serif}
.admin-theme-menu button{display:block;width:100%;padding:10px 12px;text-align:left;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.admin-theme-menu button:hover,.admin-theme-menu button[aria-pressed=true]{background:#eaf0ff;color:#2d59bf}
.admin-theme-menu button[aria-pressed=true]::after{content:'✓';float:right}
.admin-theme-menu button:focus-visible{outline:2px solid #82aaff;outline-offset:-2px}
:root[data-admin-theme-switching] *,:root[data-admin-theme-switching] *::before,:root[data-admin-theme-switching] *::after{transition:none!important}
:root[data-admin-theme=dark],:root[data-admin-theme=dark] body{
 color-scheme:dark;--bg:#101824;--page:#101824;--footer:#101824;--ink:#e3eaf5;--ink-strong:#e3eaf5;--strong:#e3eaf5;--navy:#e3eaf5;--text:#c2cede;--muted:#a4b3c7;--line:#344359;--line-soft:#344359;--border:#344359;--soft:#1f2d40;--panel:#172130;--white:#172130;
 --blue:#82aaff;--blue-dark:#a8c6ff;--blue-hover:#a8c6ff;--blue-light:#243b60;--blue-soft:#243b60;--blue-bg:#243b60;--blue-tint:#1f2d40;--green:#85d8b4;--green-bg:#193e35;--green-soft:#193e35;--amber:#f3cd87;--amber-bg:#3b3021;--red:#ffb0b7;--red-bg:#432830;--orange:#f3cd87;--orange-soft:#3b3021;
 --ac-bg:#101824;--ac-soft:#1f2d40;--ac-blue:#a8c6ff;--ac-ink:#e3eaf5;--ac-muted:#a4b3c7;--ac-line:#344359;--app-ink:#e3eaf5;--app-muted:#a4b3c7;--app-line:#344359;--app-blue:#a8c6ff;--app-soft:#1f2d40;--app-green:#85d8b4;--brand-tint:#1f2d40;
 --site-surface:#172130;--site-raised:#1f2d40;--site-link:#a8c6ff;
 --ink2:#e3eaf5;--line-2:#344359;--blue-weak:#243b60;--orange-bg:#3b3021;--gray:#a4b3c7;--gray-bg:#1f2d40;
}
:root[data-admin-theme=dark] body{background:#101824;color:#e3eaf5}
:root[data-admin-theme=dark] #site-header-root{--nav-bg:#172130f2;--nav-border:#344359;--brand-color:#e3eaf5;--sub-brand-color:#c2cede;--nav-color:#e3eaf5;--nav-active:#a8c6ff;--login-bg:#1f2d40;--login-color:#a8c6ff;--login-border:#526784;color-scheme:dark}
:root[data-admin-theme=dark] #site-header-root .yantu-global-nav{background:transparent}
:root[data-admin-theme=dark] body :is(.admin-theme-menu,dialog,.modal-card,.modal-content,.question-dialog,.application-dialog,.account-security-dialog,.contact-dialog,.recovery-card,.login-card,.auth-form,.auth-shell,.login-shell,.account-sidebar,.account-card,.card,.panel,.stat,.stat-box,.question-card,.notice-card,.filter-panel,.apply-card,.kanban-col,.flat-grid,.answer-panel,.assessment-history-item,.assessment-report,.assessment-feedback,.profile-workspace,.applications-workspace,.filling-panel,.mc-card,.mc-material-dialog,.mc-menu-items,.comparison,.site-footer,.section-nav,.hero,.platform-intro,.platform-steps,.join-strip,.feedback-panel,.cta-band){background:var(--site-surface);color:var(--ink);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.input,.form-control,.mc-input,.profile-control,.field input,.field select,.field textarea,.account-profile-fields input,.account-profile-fields textarea,.account-profile-fields select,.account-security-fields input,.account-inline-form input,.recovery-card input,.contact-composer,.my-answer textarea,.search-input,.search,.url-box,.filter-select,.filter-input,.application-select-trigger,.application-select-search,.select-trigger,.select-button,.source-box,.source-box pre,.bank-select,.outreach-draft-body,.mc-drop,.student-list-select,.mc-variant,.mc-category-files,.record-card,.account-source,.application-material,.application-notice-link,.notice-link-result,.application-contact,.outreach-draft,.application-next,.application-milestone,.account-service-summary,.account-balance,.ai-bubble,.examiner,.ability-summary,.overview,.scene-note,.phase-note,.assistant-context,.assistant-output,.template-card,.summary-output,.selection,.notice,.evidence,.result,.steps,.health-note,.exception){background:var(--site-raised);color:var(--text);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.select-menu,.application-select-menu,.yt-calendar,.access-select-menu){background:var(--site-surface);color:var(--ink);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
:root[data-admin-theme=dark] body :is(.button,.small-btn,.icon-btn,.text-btn,.ghost,.soft-btn,.record-actions button,.review-actions button,.account-button,.account-filter button,.action-btn,.mc-btn,.dialog-close,.modal-close,.contact-status-action,.quick button,.progress button,.contact-channel-tabs button){background:var(--site-raised);color:var(--site-link);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.button.primary,.primary,.btn-primary,.button.is-primary,.account-button.primary,.mc-btn.primary,.submit-btn,.login-submit,.action-btn.primary,.yt-calendar-apply,.yt-calendar-apply:hover){background:#356be6;color:#fff;border-color:#527fe8}
:root[data-admin-theme=dark] body :is(.button.danger,.mc-btn.danger,.account-error,.summary-error,.review-actions .reject){background:#432830;color:#ffb0b7;border-color:#81505b}
:root[data-admin-theme=dark] body :is(.tabbar,.contact-channel-tabs,.application-tabs,.sw-detail-tabs,.contact-status-tabs,.account-nav-link,.application-list-item,.account-mobile-nav select){background:transparent;color:var(--text);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.account-nav-link.active,.account-nav-link[aria-current=page],.account-filter button.active,.application-tabs button.is-active,.application-list-item.is-active,.mode-tab.active,.action-btn.active,.answer-mode button.active,.contact-channel-tabs .is-active,.select-option.active,.select-option:hover,.application-select-option:hover:not(:disabled),.application-select-option[aria-selected=true],.account-nav-link:hover,.template-card:hover){background:#243b60;color:#a8c6ff;border-color:#47699d}
:root[data-admin-theme=dark] body :is(.select-option,.application-select-option,.application-select-search,.filter-count,.account-text-button,.account-breadcrumb,.record-actions button,.meta-item label,.source-box pre,.source-caption,.account-nav-group p,.account-sidebar-title){color:var(--text)}
:root[data-admin-theme=dark] body :is(th,.comparison th,.metric-grid>div,.qid,.tag,.pill,.style-pill,.stage-pill,.mode-badge,.application-metric,.simulation-dimensions div,.sp-paragraph p,.visual-fields span,.hero-tags span,.profile-state,.profile-state.is-dirty,.mc-banner,.mc-upload-privacy,.account-unavailable,.account-loading,.personal-missing,.attitude-waiting,.attitude-no_quota,.attitude-unknown){background:var(--site-raised);color:var(--text);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.panel-head,.panel-body,.card,.field,.record-card,.result,.steps,.review-meta,td,th,.dialog-head,.dialog-footer,.dialog-actions,.contact-dialog-footer,.site-footer,.application-list-item,.account-toolbar,.account-nav-group,.detail-item,.filterbar){border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.about-outlook,.about-brand .offer-entry,.about-brand .join-application .join-availability,.plan-card.featured,.join-application,.mc-category-removed){background:var(--site-raised);color:var(--text);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.status.gray,.tag.gray,.model-badge,.confidence){background:var(--site-raised);color:var(--muted)}
:root[data-admin-theme=dark] body :is(.status.green,.tag.green,.mc-tag.ready){background:#193e35;color:#85d8b4}
:root[data-admin-theme=dark] body :is(.status.amber,.tag.amber,.mc-tag.failed,.mc-tag.needs_ocr,.mc-banner.warning){background:#3b3021;color:#f3cd87}
:root[data-admin-theme=dark] body :is(.status.red,.tag.red,.error,.account-error){color:#ffb0b7}
:root[data-admin-theme=dark] body :is(.field label,.field>span,.panel h2,.card h2,.card h3,.recovery-card h1,.login-card h1,.heading h1,.section-title,.site-footer strong){color:var(--ink)}
:root[data-admin-theme=dark] body :is(.select-trigger,.select-button,.input,.url-box,.field input,.field select,.field textarea,.recovery-card input):focus-visible{outline:2px solid #82aaff;outline-offset:2px}
:root[data-admin-theme=dark] body .yt-calendar{--calendar-blue:#a8c6ff}
:root[data-admin-theme=dark] body .yt-calendar input{background:var(--site-raised);color:var(--ink);border-color:var(--line)}
:root[data-admin-theme=dark] body .yt-calendar button:hover:not(:disabled){background:var(--site-raised);color:var(--site-link)}
:root[data-admin-theme=dark] body .yt-calendar-grid button.is-selected,:root[data-admin-theme=dark] body .yt-calendar-footer .yt-calendar-apply{background:#356be6;color:#fff}
:root[data-admin-theme=dark] body .yt-calendar-periods [aria-pressed=true]{background:#243b60;color:#a8c6ff}
:root[data-admin-theme=dark] body :is(.yt-calendar-week,.yt-calendar-time,.yt-calendar-grid button.is-other:not(.is-selected):not(:disabled)){color:var(--muted)}
:root[data-admin-theme=dark] body .yt-calendar button:disabled{color:#8492a6}
:root[data-admin-theme=dark] body :is(.yt-calendar-footer,.yt-calendar-time){border-color:var(--line)}
:root[data-admin-theme=dark] body .admin-theme-menu{background:#172130;color:#e3eaf5}
:root[data-admin-theme=dark] body .admin-theme-menu button:hover,:root[data-admin-theme=dark] body .admin-theme-menu button[aria-pressed=true]{background:#243b60;color:#a8c6ff}
:root[data-admin-theme=dark] body dialog::backdrop{background:#050b14b3}
/* Notification filters are a standalone public document, not admin controls. */
:root[data-admin-theme=dark] body :is(.module,.auth-gate,.submission-dialog,.empty-result,.drop-menu,.suggestions,.skip,.skip-link){background:var(--site-surface);color:var(--ink);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.input-control,.drop-trigger,.stage-tabs,.stage-tab,.mode-tabs,.answer-mode,.choice span,.submit-notice-btn,.submission-field input,.submission-field textarea,.submission-field select){background:var(--site-raised);color:var(--text);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.stage-tab.active,.drop-option:hover,.drop-option.active,.suggest-item:hover,.choice:has(input:checked) span){background:#243b60;color:#a8c6ff}
:root[data-admin-theme=dark] body :is(.row-label,.pref-btn,.suggest-item,.drop-option,.drop-group-title,.optional-toggle,.school-meta-label,.school-badge,.check-item,.check-item:has(input:checked),.submission-field label,.submission-message,.college,.info-item,.info-item b,.majors-label,.majors-text){color:var(--text)}
:root[data-admin-theme=dark] body :is(h1,h2,h3,h4){color:var(--ink)}
:root[data-admin-theme=dark] body :is(p,label){color:var(--text)}
:root[data-admin-theme=dark] body :is(.section-title,.outside-section-head h2,.notice-section-head h2){color:var(--ink)}
:root[data-admin-theme=dark] body :is(.application-primary,.primary-btn,.save-btn,.start-btn,.recovery-button,.analyze,.login-background .submit,.application-progress-step.is-done .application-progress-dot,.application-progress-step.is-current .application-progress-dot){background:#356be6;color:#fff;border-color:#527fe8}
:root[data-admin-theme=dark] body :is(.content-disclosure>summary,.marketing-faq summary,.feedback-disclosure>summary){color:var(--ink)}
:root[data-admin-theme=dark] body:not(.yantu-home-page) .hero{background:transparent}
:root[data-admin-theme=dark] body .tabbar button.is-active{background:#243b60;color:#a8c6ff}
:root[data-admin-theme=dark] body .contact-note{background:#243b60;color:var(--ink)}
:root[data-admin-theme=dark] body :is(.ai-mode,.material-status){background:var(--site-raised);color:var(--text);border-color:var(--line)}
:root[data-admin-theme=dark] body :is(.ai-state,.material-name,.material-status p,.ai-mode p,#personalModeState){color:var(--text)}
@media(max-width:1080px){:root[data-admin-theme=dark] #site-header-root .yantu-global-nav{background:#172130;--nav-color:#e3eaf5;--nav-active:#a8c6ff}}
@media(max-width:760px){.admin-theme-menu{inset:54px 12px auto auto}.admin-theme-menu button{min-height:44px}#site-header-root .site-theme-toggle{margin-left:4px;width:30px;height:32px}}
