/* Loaded after the main design system so these final UI decisions always win. */

/* Editorial promos */
.overview-promo{position:relative;overflow:hidden;padding:clamp(28px,3vw,42px);border-radius:20px;background:linear-gradient(90deg,color-mix(in srgb,var(--primary) 8%,transparent) 1px,transparent 1px) 0 0/34px 34px,radial-gradient(circle at 80% 8%,color-mix(in srgb,var(--primary) 19%,transparent),transparent 22rem),linear-gradient(125deg,color-mix(in srgb,var(--primary-soft) 74%,white),#fff 68%)}
.overview-promo::after{position:absolute;right:-68px;top:-120px;width:310px;height:310px;border:1px solid color-mix(in srgb,var(--primary) 14%,transparent);border-radius:50%;box-shadow:0 0 0 42px color-mix(in srgb,var(--primary) 3%,transparent),0 0 0 84px color-mix(in srgb,var(--primary) 2%,transparent);content:"";pointer-events:none}
.overview-promo h2{max-width:760px;color:#14243b;font-size:clamp(32px,3.7vw,49px);line-height:1.16;letter-spacing:-.052em;text-wrap:balance}
.overview-promo-copy>p:not(.eyebrow){max-width:760px;color:#536981;font-size:15.5px;line-height:1.8}
.overview-promo-visual{display:grid;align-content:center;gap:10px;min-height:0}
.promo-school-card,.promo-stat-card{position:relative;inset:auto;right:auto;bottom:auto;left:auto;top:auto;width:100%;transform:none}
.promo-school-card strong{font-size:15px;line-height:1.35;overflow-wrap:anywhere}.promo-stat-card strong{font-size:18px}
.overview-promo-points{gap:7px}.overview-promo-points span{padding:5px 10px;border:1px solid color-mix(in srgb,var(--primary) 14%,#dfe8f3);border-radius:999px;background:rgba(255,255,255,.72);font-size:12.5px}.overview-promo-points span+span::before{display:none}
.page-promo{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;min-height:124px;padding:23px 26px;overflow:hidden;border-radius:17px;background:radial-gradient(circle at 94% 20%,color-mix(in srgb,var(--primary) 12%,transparent),transparent 17rem),linear-gradient(110deg,color-mix(in srgb,var(--primary-soft) 72%,white),#fff 70%)}
.page-promo::after{position:absolute;right:9%;bottom:-70px;width:150px;height:150px;border:1px solid color-mix(in srgb,var(--primary) 13%,transparent);border-radius:50%;content:""}
.page-promo>.page-promo-icon{width:48px;height:48px;border-radius:14px;box-shadow:0 8px 18px color-mix(in srgb,var(--primary) 10%,transparent)}
.page-promo small{display:block;margin-bottom:6px;color:var(--primary);font-size:10px;font-weight:800;letter-spacing:.14em}.page-promo strong{display:block;max-width:780px;color:#1c304b;font-size:clamp(21px,2vw,28px);line-height:1.3;letter-spacing:-.025em}.page-promo p{max-width:830px;margin:7px 0 0;color:#657990;font-size:14px;line-height:1.72}.page-promo>b{display:inline-flex;align-self:center;align-items:center;gap:7px;padding:7px 11px;border:1px solid color-mix(in srgb,var(--primary) 16%,#dce7f3);border-radius:999px;background:#fff;color:var(--primary-dark);font-size:10px;font-weight:800;letter-spacing:.08em;white-space:nowrap}.page-promo>b i{width:6px;height:6px;border-radius:50%;background:var(--primary)}

/* Real campus photos and logo quality guards */
.campus-shot.has-photo{position:relative;padding:0;background:#1b2b41}.campus-shot.has-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 62%;transition:transform .24s ease}.campus-shot.has-photo:hover>img{transform:scale(1.025)}.campus-shot.has-photo::after{z-index:1}.campus-shot.has-photo>span{position:absolute;left:12px;bottom:12px;z-index:2;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.campus-gallery-empty{display:block;padding:22px;border:1px dashed #cbd9e9;border-radius:11px;color:#6f8095;background:#f8fbff;font-size:13px}.campus-gallery-empty p{margin:0}
.campus-gallery:has(.campus-shot:only-child) .campus-shot{grid-column:1/-1;min-height:240px}.campus-gallery:has(.campus-shot:only-child) .campus-shot>img{object-position:center 58%}
.school-crest.logo-low-resolution img,.school-emblem.logo-low-resolution img{display:none}.school-crest.logo-low-resolution span,.school-crest.logo-low-resolution em,.school-emblem.logo-low-resolution span{opacity:1}
.school-crest.logo-wordmark img{inset:9px 4px;width:calc(100% - 8px);height:calc(100% - 18px)}

/* Personal archive folding */
.personal-workspace .personal-fold{display:block;padding:0;overflow:hidden}.personal-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:92px;padding:20px 22px;list-style:none;cursor:pointer}.personal-fold>summary::-webkit-details-marker{display:none}.personal-fold-copy{display:block}.personal-fold-copy h3{margin-bottom:0}.personal-fold-action{display:inline-flex;align-items:center;gap:6px;color:var(--primary-dark);font-size:11.5px;font-weight:700}.personal-fold-action i{display:grid;width:24px;height:24px;place-items:center;border-radius:7px;background:var(--primary-soft);font-style:normal;transition:transform .18s ease}.personal-fold[open] .personal-fold-action i{transform:rotate(180deg)}.personal-fold[open]>summary{border-bottom:1px solid #edf1f6}.personal-fold .personal-facts{margin:0;padding:20px 22px 6px}.personal-fold-edit{margin:8px 22px 20px!important}

/* Compact data panel */
.settings-storage-card{padding-bottom:18px}.settings-storage-compact{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding-top:15px}.settings-storage-compact>span{display:inline-flex;align-items:center;gap:7px;margin-right:auto;color:#526981;font-size:12.5px;font-weight:650}.settings-storage-compact>span i{width:7px;height:7px;border-radius:50%;background:#21a36b;box-shadow:0 0 0 4px rgba(33,163,107,.1)}.settings-storage-compact .settings-secondary{min-height:34px}

/* Grouped tasks */
.todo-overview-list{display:grid;gap:11px}.todo-group{display:grid;gap:2px}.todo-group>header{display:flex;align-items:center;justify-content:space-between;padding:0 3px 4px}.todo-group>header strong{color:#536981;font-size:10.5px;font-weight:800;letter-spacing:.06em}.todo-group>header span{display:grid;min-width:20px;height:20px;place-items:center;border-radius:999px;color:#6b7f96;background:#eef3f9;font-size:9.5px;font-weight:750}.todo-group-list{overflow:hidden;border:1px solid #e4ebf4;border-radius:11px;background:#fff}.todo-group-list .todo{margin:0;padding:10px 11px;border-top:1px solid #edf1f6}.todo-group-list .todo:first-child{border-top:0}.todo-copy{display:grid;gap:5px;min-width:0}.todo-copy strong{color:#31465f;font-size:12.5px;line-height:1.55;font-weight:620;text-decoration:none}.todo-copy small{display:flex;align-items:center;gap:7px;color:#8492a4;font-size:10px}.todo-priority{padding:2px 6px;border-radius:999px;color:#64758b;background:#f0f4f8;font-style:normal;font-weight:750}.todo-priority.high{color:#ad4157;background:#fff0f3}.todo-priority.medium{color:#986c25;background:#fff7e6}.todo.done .todo-copy strong{color:#8b97a8;text-decoration:line-through}.todo.done .todo-copy small{opacity:.68}.todo-view-all{justify-self:start;min-height:34px;padding:0 11px;border:1px solid color-mix(in srgb,var(--primary) 15%,#dce5f1);border-radius:8px;color:var(--primary-dark);background:var(--primary-wash);font-size:11.5px;font-weight:650}.generated-task-tag{display:inline-block;margin-right:8px;padding:2px 7px;border-radius:999px;color:#47658a;background:#eaf2fc;font-size:9.5px;font-weight:750}

/* Compact, actionable empty timetable */
.tt-empty-week{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:142px;padding:22px;border:1px dashed #cbd9ea;border-radius:14px;background:linear-gradient(90deg,rgba(38,91,157,.035) 1px,transparent 1px) 0 0/28px 28px,#f9fbfe}.tt-empty-week-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;color:var(--primary);background:var(--primary-soft)}.tt-empty-week-icon svg{width:23px;height:23px}.tt-empty-week strong{display:block;color:#273d58;font-size:16px}.tt-empty-week p{margin:4px 0 0;color:#71839a;font-size:12.5px;line-height:1.65}.tt-empty-week-actions{display:flex;gap:7px}

/* Larger adjustment comparison */
.adjx-compare-section{gap:18px;padding:26px;border-radius:18px;box-shadow:0 14px 34px rgba(28,52,86,.07)}.adjx-compare-section .adjx-section-head h3{max-width:820px;color:#172c47;font-size:clamp(24px,2.3vw,32px);line-height:1.28;letter-spacing:-.025em}.adjx-compare-section .adjx-section-head>span{max-width:390px;color:#687c92;font-size:13px;line-height:1.7}.adjx-compare-picker{gap:14px;padding:17px;border-radius:14px}.adjx-compare-picker label>span{color:#536b85;font-size:12px}.adjx-compare-picker select{min-height:46px;color:#203753;font-size:14px;font-weight:620}.adjx-compare-swap{width:40px;height:40px;color:#2f5e9b;background:#e2eefc;font-size:11px}.adjx-compare-run{min-height:46px;padding:0 20px;font-size:13px}
.adjx-compare-decision{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 14px;padding:19px 21px;border-radius:14px}.adjx-compare-decision-label{align-self:start;padding:5px 9px;border-radius:999px;color:#35639a!important;background:rgba(255,255,255,.78);font-size:10.5px!important;letter-spacing:.04em}.adjx-compare-decision strong{grid-column:2;color:#172e4b;font-size:21px;line-height:1.35}.adjx-compare-decision p{grid-column:2;color:#536a83;font-size:14px;line-height:1.75}
.adjx-compare-card{gap:13px;padding:20px;border-radius:15px}.adjx-compare-card-head strong{font-size:21px;line-height:1.3}.adjx-compare-card-head span{font-size:12.5px}.adjx-compare-card-head small{font-size:11px}.adjx-compare-score strong{font-size:34px}.adjx-compare-score span,.adjx-compare-score small{font-size:12px}.adjx-compare-program{color:#40566f;font-size:13.5px;line-height:1.7}.adjx-compare-card footer>span,.adjx-compare-card footer a{font-size:12px}
.adjx-compare-table{border-radius:14px}.adjx-compare-row{grid-template-columns:170px minmax(0,1fr) minmax(0,1fr);gap:18px;padding:14px 17px}.adjx-compare-row.is-head{padding-top:15px;padding-bottom:15px;color:#435a74;font-size:12px}.adjx-compare-row.is-head strong{display:flex;align-items:center;gap:7px;color:#344e6b;font-size:12px}.adjx-compare-row.is-head i{width:7px;height:7px;border-radius:50%;background:#3269a9}.adjx-compare-row.is-head strong:last-child i{background:#2c947f}.adjx-compare-row>span{display:flex;align-items:center;gap:8px;color:#536a83;font-size:12.5px}.adjx-compare-row>span em{color:#94a2b3;font-size:9px;font-style:normal;font-weight:800}.adjx-compare-row p{color:#263f5c;font-size:13.5px;line-height:1.72}

/* Membership / entitlement loading state */
.adjustment-member-gate{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:22px;border-radius:16px}.adjustment-gate-mark{display:grid;width:44px;height:44px;place-items:center;border-radius:13px;color:var(--primary);background:rgba(255,255,255,.86)}.adjustment-gate-mark svg{width:21px;height:21px}.adjustment-member-gate h4{margin:0;font-size:18px}.adjustment-member-gate p{margin:5px 0 0;color:#61758c;font-size:12.5px;line-height:1.65}.adjustment-gate-actions{display:flex;gap:8px}.adjustment-member-gate.is-loading .adjustment-gate-mark{animation:gatePulse 1.35s ease-in-out infinite}.adjustment-gate-skeleton{grid-column:1/-1;display:grid;gap:8px}.adjustment-gate-skeleton i{display:block;height:12px;border-radius:999px;background:linear-gradient(90deg,#e9f0f9 25%,#f8fbff 50%,#e9f0f9 75%) 0 0/220% 100%;animation:gateSkeleton 1.4s linear infinite}.adjustment-gate-skeleton i:nth-child(2){width:82%}.adjustment-gate-skeleton i:nth-child(3){width:61%}@keyframes gatePulse{50%{transform:translateY(-2px);opacity:.72}}@keyframes gateSkeleton{to{background-position:-220% 0}}

.adjx-hero-kicker{margin:0 0 8px;color:var(--primary);font-size:11px;font-weight:850;letter-spacing:.14em}.adjx-hero-copy{max-width:640px;margin:10px 0 0;color:#61758c;font-size:14px;line-height:1.75}

/* Three distinct scales that also resize tables, charts and rails. */
body.settings-font-small{zoom:.88}body.settings-font-standard{zoom:1}body.settings-font-large{zoom:1.12}

/* Soft yellow theme */
body[data-theme="yellow"]{--primary:#b67a25;--primary-dark:#875716;--primary-light:#d9a34f;--primary-soft:#fff2d8;--primary-wash:#fffaf0;--teal:#c79345;--surface-soft:#fff8eb;--bg:#fbf5e9;background:radial-gradient(circle at 12% 2%,rgba(223,174,83,.16),transparent 24rem),radial-gradient(circle at 92% 10%,rgba(244,208,139,.2),transparent 27rem),linear-gradient(145deg,#fffdf8 0%,#fbf3e5 52%,#fffaf2 100%)}body[data-theme="yellow"] .sidebar{border-color:#ebdfc9;background:rgba(255,252,244,.95)}body[data-theme="yellow"] .brand-mark{background:linear-gradient(135deg,#c1842c,#e1b35e 58%,#9d772e)}body[data-theme="yellow"] .nav-item.active,body[data-theme="yellow"] .nav-item:hover{background:#f8eed9}

/* Night theme: one palette for every work surface. */
body[data-theme="dark"]{color-scheme:dark;--bg:#07111f;--surface:#0e1b2c;--surface-soft:#132238;--ink:#e8effa;--muted:#94a7bf;--line:#263950;--primary:#78a7ff;--primary-dark:#9fc1ff;--primary-light:#5e8ee7;--primary-soft:#142743;--primary-wash:#0b1727;--teal:#52c7b5;--amber:#f0b45b;--rose:#f0809a;--green:#57c890;--shadow:0 18px 44px rgba(0,0,0,.3);--shadow-soft:0 10px 28px rgba(0,0,0,.22);--shadow-tight:0 3px 12px rgba(0,0,0,.2);background:radial-gradient(circle at 12% 2%,rgba(66,111,189,.2),transparent 27rem),radial-gradient(circle at 92% 10%,rgba(48,137,142,.13),transparent 29rem),linear-gradient(145deg,#06101d 0%,#0b1625 48%,#071320 100%)}
body[data-theme="dark"] .sidebar{border-color:#203149;background:rgba(8,18,31,.96);box-shadow:8px 0 30px rgba(0,0,0,.12)}body[data-theme="dark"] .dashboard-topbar{border-color:#253850;background:rgba(13,27,44,.94);box-shadow:0 10px 28px rgba(0,0,0,.18)}body[data-theme="dark"] #modulePanel,body[data-theme="dark"] #modulePanel:has(.tt-workbench),body[data-theme="dark"] #modulePanel:has(.ai-workbench),body[data-theme="dark"] #modulePanel:has(.daily-hero){border-color:#21344b;background:radial-gradient(circle at 94% 2%,rgba(86,135,213,.09),transparent 25rem),#091522}body[data-theme="dark"] .workspace{background:transparent}
body[data-theme="dark"] .workspace :is(h1,h2,h3,h4,h5){color:#edf4ff}body[data-theme="dark"] .workspace :is(p,dt,label){color:#9cafc5}
body[data-theme="dark"] .workspace :is([class$="-card"],[class$="-panel"],.settings-card,.module-card,.dashboard-card,.page-promo,.promo-school-card,.promo-stat-card,.adjx-compare-table,.todo-group-list,.campus-gallery-empty,.tt-empty-week){border-color:#253950!important;background:#0f1d2f!important;box-shadow:0 8px 24px rgba(0,0,0,.16)}
body[data-theme="dark"] .workspace :is(input,select,textarea){border-color:#324761!important;color:#e8effa!important;background:#0b1727!important}body[data-theme="dark"] .workspace :is(input,textarea)::placeholder{color:#6f8298}
body[data-theme="dark"] .overview-promo{border-color:#29415f;background:linear-gradient(90deg,rgba(120,167,255,.045) 1px,transparent 1px) 0 0/34px 34px,radial-gradient(circle at 80% 8%,rgba(89,139,219,.17),transparent 22rem),linear-gradient(125deg,#11243c,#0c192a 68%)}
body[data-theme="dark"] :is(.overview-promo h2,.page-promo strong,.adjx-compare-section .adjx-section-head h3,.adjx-compare-decision strong,.adjx-compare-card-head strong,.tt-empty-week strong,.adjx-hero h3){color:#f1f6ff}body[data-theme="dark"] :is(.overview-promo-copy>p:not(.eyebrow),.page-promo p,.adjx-compare-section .adjx-section-head>span,.adjx-compare-decision p,.adjx-compare-row p,.adjx-compare-program,.tt-empty-week p,.adjx-hero-copy){color:#a8b9cd}
body[data-theme="dark"] :is(.overview-promo-points span,.page-promo>b,.todo-view-all,.adjustment-gate-mark){border-color:#304761;color:#b7cce8;background:#14273f}body[data-theme="dark"] :is(.promo-school-card,.promo-stat-card){color:#dce8f7;background:rgba(17,34,53,.96)!important}body[data-theme="dark"] :is(.promo-school-card strong,.promo-stat-card strong,.todo-copy strong){color:#e8f0fb}
body[data-theme="dark"] :is(.promo-school-card small,.promo-stat-card small,.promo-school-card span,.promo-stat-card span,.overview-promo-status,.todo-copy small){color:#91a5bd}body[data-theme="dark"] .nav-item.active{color:#dceaff;background:#172b45}body[data-theme="dark"] .nav-item:hover{background:#122238}body[data-theme="dark"] :is(.settings-form-grid select,.settings-secondary,.sidebar-account-action){color:#c8d7ea;background:#112239}
body[data-theme="dark"] .adjx-compare-decision{border-color:#29425e;background:#102238}body[data-theme="dark"] .adjx-compare-decision.switch{border-color:#295849;background:#0e2926}body[data-theme="dark"] .adjx-compare-decision.keep{border-color:#594b2d;background:#2b2415}body[data-theme="dark"] .adjx-compare-row{border-color:#23364d}body[data-theme="dark"] .adjx-compare-row.is-head{background:#13253a}body[data-theme="dark"] .todo-group-list .todo{border-color:#23364d}body[data-theme="dark"] .todo-group>header strong{color:#8fa6bf}body[data-theme="dark"] :is(.todo-group>header span,.todo-priority){color:#a6b9ce;background:#172a40}body[data-theme="dark"] .todo-priority.high{color:#ffb2c2;background:#3a1e2a}body[data-theme="dark"] .todo-priority.medium{color:#ffd391;background:#3a2c16}body[data-theme="dark"] .tt-empty-week{border-color:#314961;background:linear-gradient(90deg,rgba(120,167,255,.025) 1px,transparent 1px) 0 0/28px 28px,#0b1828!important}body[data-theme="dark"] .campus-shot.has-photo{background:#101c2b}
body[data-theme="dark"] .adjx-hero{border-color:#29415e;background:radial-gradient(circle at 92% 10%,rgba(81,137,224,.13),transparent 20rem),linear-gradient(125deg,#10243a,#0b1727)}body[data-theme="dark"] .adjx-hero-kicker{color:#9fc1ff}
/* Keep action accents in the active theme family. Semantic risk badges remain distinct. */
body :is(.row-action.premium,.small-action.premium){border-color:color-mix(in srgb,var(--primary) 34%,#d8e4f3);color:var(--primary-dark);background:var(--primary-soft)}
body :is(.row-action.added,.small-action.added){border-color:color-mix(in srgb,var(--primary) 26%,#d8e4f3);color:var(--primary-dark);background:color-mix(in srgb,var(--primary-soft) 72%,white)}
body .rank-badge.is-estimate{border-color:color-mix(in srgb,var(--primary) 20%,#d9e5f3);color:var(--primary-dark);background:var(--primary-soft)}
body[data-theme="blue"] .school-crest:not(.has-logo){background:linear-gradient(145deg,var(--primary-light),var(--primary-dark))}
body[data-theme="blue"] :is(.news-tag,.stat-pill,.type-pill){border-color:color-mix(in srgb,var(--primary) 18%,#dfe7f1);color:var(--primary-dark);background:var(--primary-soft)}
body :is(.badge.risk-low,.badge.risk-mid,.badge.risk-high,.elite-summary .coverage-status){color:var(--primary-dark)}
body :is(.badge.risk-low,.badge.risk-mid,.badge.risk-high){border:1px solid color-mix(in srgb,var(--primary) 18%,#dfe7f1);background:var(--primary-soft)}
body .elite-summary .coverage-status::before{color:var(--primary-dark);background:var(--primary-soft)}
body .overview-promo-status i{background:var(--primary)}
.password-input-wrap{position:relative;display:block;min-width:0}
.password-input-wrap>input{width:100%;padding-right:72px}
.password-visibility-toggle{position:absolute;right:8px;top:50%;display:inline-flex;min-width:50px;height:30px;align-items:center;justify-content:center;transform:translateY(-50%);border:1px solid color-mix(in srgb,var(--primary) 18%,#dce6f2);border-radius:7px;color:var(--primary-dark);background:var(--primary-wash);font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.password-visibility-toggle:hover,.password-visibility-toggle:focus-visible{border-color:color-mix(in srgb,var(--primary) 40%,#c7d7ea);background:var(--primary-soft);outline:0}
.password-visibility-toggle[aria-pressed="true"]{color:#fff;border-color:var(--primary);background:var(--primary)}
.auth-art-login{background:radial-gradient(circle at 76% 24%,color-mix(in srgb,var(--primary-light) 32%,transparent),transparent 16rem),linear-gradient(145deg,color-mix(in srgb,var(--primary-dark) 82%,#122a48),color-mix(in srgb,var(--primary-dark) 54%,#08182d))}
.auth-card .auth-cta{border-color:var(--primary);background:linear-gradient(135deg,var(--primary),var(--primary-dark))}
.auth-card .auth-tab.active{color:var(--primary-dark);border-color:var(--primary)}
.auth-card .auth-remember input{accent-color:var(--primary)}
.feedback-notice-button{position:relative;display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border:1px solid color-mix(in srgb,var(--primary) 14%,#dbe5f1);border-radius:12px;color:#526983;background:#fff;box-shadow:var(--shadow-tight);cursor:pointer}
.feedback-notice-button svg{width:19px;height:19px}
.feedback-notice-button:hover,.feedback-notice-button:focus-visible{border-color:color-mix(in srgb,var(--primary) 36%,#cad8e8);color:var(--primary-dark);outline:0}
.feedback-notice-button.has-unread{color:var(--primary-dark);background:var(--primary-soft)}
.feedback-notice-button>b{position:absolute;top:-5px;right:-5px;display:grid;min-width:19px;height:19px;padding:0 4px;place-items:center;border:2px solid #fff;border-radius:999px;color:#fff;background:var(--primary);font-size:9px;line-height:1}
.personal-feedback-card{display:grid;gap:12px}
.personal-feedback-copy{margin:0;color:#6b7d92;font-size:12.5px;line-height:1.7}
.personal-feedback-list{display:grid;gap:8px}
.personal-feedback-item{display:grid;gap:5px;width:100%;padding:12px 13px;border:1px solid #e1e9f3;border-radius:10px;color:inherit;background:#fbfcff;text-align:left;cursor:pointer}
.personal-feedback-item:hover{border-color:color-mix(in srgb,var(--primary) 28%,#d9e3ef);background:var(--primary-wash)}
.personal-feedback-item.is-unread{border-color:color-mix(in srgb,var(--primary) 32%,#d7e1ee);background:var(--primary-wash)}
.personal-feedback-item strong{display:block;overflow:hidden;color:#344b65;font-size:12.5px;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}
.personal-feedback-item small{color:#8795a7;font-size:10px}
.personal-feedback-empty{padding:14px;border:1px dashed #cedbea;border-radius:10px;color:#7a8ca1;background:#f9fbfe;font-size:12px;line-height:1.65}
.personal-feedback-error{margin:0;color:#a74457;font-size:11.5px}
.feedback-status{display:inline-flex;width:fit-content;padding:3px 8px;border-radius:999px;color:#3b6594;background:#ebf3fd;font-size:9.5px;font-weight:800}
.feedback-status.progress{color:#2f5f99;background:#e3efff}
.feedback-status.resolved{color:var(--primary-dark);background:var(--primary-soft)}
.feedback-modal-list{display:grid;gap:12px;max-height:min(58vh,560px);overflow:auto;padding-right:3px}
.feedback-modal-item{display:grid;gap:10px;padding:15px;border:1px solid #dfe8f3;border-radius:12px;background:#fbfcff}
.feedback-modal-item.is-unread{border-color:color-mix(in srgb,var(--primary) 30%,#dce7f3);background:var(--primary-wash)}
.feedback-modal-item>header{display:flex;align-items:center;gap:8px}
.feedback-modal-item>header strong{color:#314b67;font-size:12.5px}
.feedback-modal-item>header time{margin-left:auto;color:#8493a5;font-size:10px}
.feedback-modal-item>p{margin:0;color:#3e536b;font-size:13px;line-height:1.75;white-space:pre-wrap}
.feedback-reply{padding:12px;border-left:3px solid var(--primary);border-radius:0 9px 9px 0;background:var(--primary-wash)}
.feedback-reply small{display:block;margin-bottom:3px;color:var(--primary-dark);font-size:10px;font-weight:750}
.feedback-reply p{margin:0;color:#4a6078;font-size:12.5px;line-height:1.7;white-space:pre-wrap}
.feedback-reply.pending{border-left-color:#b8c7d9;background:#f6f8fb}
.feedback-reply.pending small{color:#718398}
.feedback-modal-empty{padding:28px 18px;border:1px dashed #cbd8e8;border-radius:11px;color:#788a9f;text-align:center;background:#f9fbfe}
.feedback-form textarea{min-height:126px;resize:vertical}
.developer-feedback-workspace{display:grid;gap:14px}
.developer-feedback-filters{display:flex;flex-wrap:wrap;gap:7px;padding:0 16px}
.developer-feedback-filters button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid #dbe5f1;border-radius:8px;color:#546c86;background:#fbfcfe;font:inherit;font-size:11px;cursor:pointer}
.developer-feedback-filters button.active{border-color:color-mix(in srgb,var(--primary) 35%,#d4e0ee);color:var(--primary-dark);background:var(--primary-soft)}
.developer-feedback-filters b{display:grid;min-width:18px;height:18px;place-items:center;border-radius:999px;background:rgba(255,255,255,.72);font-size:9px}
.developer-feedback-list{display:grid;gap:12px;padding:0 16px 18px}
.developer-feedback-card{display:grid;gap:11px;padding:16px;border:1px solid #dfe8f3;border-radius:12px;background:#fbfcff}
.developer-feedback-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.developer-feedback-card>header>div:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.developer-feedback-card>header small{color:#8493a5;font-size:10px}
.developer-feedback-user{text-align:right}
.developer-feedback-user strong,.developer-feedback-user small{display:block}
.developer-feedback-user strong{color:#344d68;font-size:11.5px}
.developer-feedback-content{margin:0;padding:12px;border-radius:9px;color:#314a65;background:#f5f8fc;font-size:13px;line-height:1.7;white-space:pre-wrap}
.developer-feedback-source{width:fit-content;color:var(--primary-dark);font-size:11px;font-weight:650}
.developer-feedback-form{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px 14px;padding-top:11px;border-top:1px solid #e8eef5}
.developer-feedback-form label{display:grid;gap:5px;color:#6b7d91;font-size:10px;font-weight:650}
.developer-feedback-form .full{grid-column:1/-1}
.developer-feedback-form select,.developer-feedback-form textarea{border:1px solid #d8e3ef;border-radius:8px;color:#344b65;background:#fff;font:inherit;font-size:12px}
.developer-feedback-form select{height:38px;padding:0 9px}
.developer-feedback-form textarea{min-height:78px;padding:9px 10px;resize:vertical}
.developer-loading.compact{min-height:120px}
body[data-theme="dark"] :is(.feedback-notice-button,.personal-feedback-item,.personal-feedback-empty,.feedback-modal-item,.feedback-reply,.feedback-modal-empty,.developer-feedback-card,.developer-feedback-filters button,.developer-feedback-content,.developer-feedback-form select,.developer-feedback-form textarea){border-color:#2b4058!important;color:#c5d5e7!important;background:#0f1d2f!important}
body[data-theme="dark"] :is(.personal-feedback-item strong,.feedback-modal-item>header strong,.developer-feedback-user strong,.developer-feedback-content){color:#e2edf9}
body[data-theme="dark"] :is(.personal-feedback-copy,.personal-feedback-item small,.feedback-modal-item>header time,.developer-feedback-card>header small,.developer-feedback-form label){color:#93a7be}
body[data-theme="dark"] .nav-group-toggle{color:#b6c7dc}body[data-theme="dark"] .nav-group-toggle:hover,body[data-theme="dark"] .nav-group:has(.nav-item.active) .nav-group-toggle{color:#dceaff;background:linear-gradient(90deg,#172b45,#102137)}body[data-theme="dark"] .nav-subitems{border-color:#2a3c53;background:#0a1625!important;box-shadow:0 15px 34px rgba(0,0,0,.25)}body[data-theme="dark"] .nav-subitems .nav-item{color:#aebfd3}body[data-theme="dark"] .nav-subitems .nav-item.active{color:#e4efff;background:#1a3351}
body[data-theme="dark"] .search-box{border-color:#2b4059;background:#0b1828}body[data-theme="dark"] .search-box input{color:#e8effa;background:transparent!important}body[data-theme="dark"] .search-box svg{color:#8fa5bd}body[data-theme="dark"] :is(.ghost-action,.small-action,.settings-secondary,.sidebar-account-action){border-color:#30465f!important;color:#bfd1e7!important;background:#112239!important}
body[data-theme="dark"] :is(.personal-account-rows div,.personal-benefit,.personal-history li,.personal-numbers div,.personal-account-row,.sidebar-account-card){border-color:#263a51!important;background:#102033!important}body[data-theme="dark"] :is(.sidebar-account-main strong,.personal-account-row strong,.personal-facts dd){color:#e0eafa}body[data-theme="dark"] :is(.sidebar-account-main small,.personal-account-row small,.personal-facts dt){color:#91a6be}
body[data-theme="dark"] .settings-list,body[data-theme="dark"] .settings-storage-compact{border-color:#253850}body[data-theme="dark"] .app-footer{border-color:#22344a;color:#8398af}body[data-theme="dark"] .app-footer a{color:#aabed5}
body[data-theme="dark"] :is(.adjx-compare-section,.adjx-compare-card,.adjx-compare-card.is-suggested,.adjx-compare-card.is-current,.adjx-hero-metrics div,.generated-task-section,.analysis-report-modal,.compare-core-advice article,.compare-result-card){border-color:#2a405a!important;background:#0f1d2f!important;box-shadow:0 10px 28px rgba(0,0,0,.18)!important}
body[data-theme="dark"] :is(.adjx-compare-card .adjx-compare-score,.adjx-compare-card footer,.adjx-compare-card-head span,.adjx-compare-card-head small,.adjx-hero-metrics strong,.adjx-hero-metrics small){color:#b8c8da}body[data-theme="dark"] :is(.adjx-compare-card .adjx-compare-score,.adjx-hero-metrics div){background:#14263c!important}body[data-theme="dark"] .adjx-compare-score strong{color:#b7d1ff}
body[data-theme="dark"] .adjx-compare-picker{border-color:#2a405a;background:#0c1929}body[data-theme="dark"] .adjx-compare-picker label>span{color:#a7b9ce}body[data-theme="dark"] .adjx-compare-swap{color:#d1e2f7;background:#203653}
body[data-theme="dark"] :is(.tt-side-frame,.tt-week-card,.tt-ai-card,.tt-manage-card){border-color:#2a405a!important;background:#0f1d2f!important}body[data-theme="dark"] .tt-side-frame :is(.tt-course-list-wrap,.tt-course-item){border-color:#2a405a;background:#0b1727;color:#c4d4e7}
body[data-theme="dark"] :is(.empty-state,.tt-course-list-wrap .empty-state){border-color:#2e455f!important;color:#a8bbd0!important;background:#0b1828!important}body[data-theme="dark"] .empty-state :is(strong,h3){color:#e5effb}
body[data-theme="dark"] :is(.secondary-action,.choice-pill){border-color:#344b65!important;color:#c7d8ea!important;background:#112239!important}body[data-theme="dark"] .choice-pill:has(input:checked){border-color:#4e77ad!important;background:#19324f!important}

@media(max-width:760px){.adjustment-member-gate{grid-template-columns:auto minmax(0,1fr)}.adjustment-gate-actions{grid-column:1/-1;flex-wrap:wrap}.adjx-compare-decision{grid-template-columns:1fr}.adjx-compare-decision strong,.adjx-compare-decision p{grid-column:1}.page-promo{grid-template-columns:auto minmax(0,1fr)}.page-promo>b{display:none}.tt-empty-week{grid-template-columns:auto minmax(0,1fr)}.tt-empty-week-actions,.tt-empty-week>.small-action{grid-column:1/-1}}
@media(max-width:560px){body.settings-font-small{zoom:.94}body.settings-font-large{zoom:1.06}.overview-promo h2{font-size:30px}.page-promo{grid-template-columns:1fr;padding:18px}.page-promo>.page-promo-icon{width:40px;height:40px}.todo-edit,.todo-delete{width:24px;height:24px}}
@media(max-width:920px){
  .sidebar{height:auto;align-items:center;gap:6px;padding:8px 10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .sidebar::-webkit-scrollbar{display:none}
  .sidebar .brand{width:44px;height:44px;flex:0 0 44px;justify-content:center;padding:0;border:0}
  .sidebar .brand-mark{width:40px;height:40px}
  .sidebar .nav-list{gap:2px}
  .sidebar :is(.nav-item,.nav-group-toggle){width:42px;min-height:42px}
  .sidebar .utility-nav{margin-left:auto}
  .sidebar-account-card{display:none}
  .dashboard-topbar .top-actions{grid-template-columns:minmax(0,1fr) 44px;width:100%}
}

/* School data folds: compact by default, one click to inspect the evidence. */
.school-detail-main .school-detail-fold{display:block;margin:16px 0;padding:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--primary) 15%,#dfe7f1);border-radius:13px;background:linear-gradient(145deg,rgba(255,255,255,.96),color-mix(in srgb,var(--primary-wash) 72%,white));box-shadow:0 6px 18px rgba(31,55,87,.045)}
.school-detail-fold>summary{display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;list-style:none;cursor:pointer;color:color-mix(in srgb,var(--primary-dark) 70%,#172b45);font-size:16px;font-weight:750}
.school-detail-fold>summary::-webkit-details-marker{display:none}
.school-detail-fold>summary::after{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border-radius:8px;color:var(--primary-dark);background:var(--primary-soft);font-size:15px;font-weight:800;content:"+";transition:transform .18s ease,background .18s ease}
.school-detail-fold[open]>summary{border-bottom:1px solid color-mix(in srgb,var(--primary) 12%,#e6edf5)}
.school-detail-fold[open]>summary::after{content:"−";background:color-mix(in srgb,var(--primary-soft) 75%,white)}
.school-detail-fold>summary em{margin-left:auto;color:color-mix(in srgb,var(--primary-dark) 55%,#74869a);font-size:11px;font-style:normal;font-weight:650}
.school-detail-fold[open]>summary em{font-size:0}
.school-detail-fold[open]>summary em::after{font-size:11px;content:"收起"}
.school-detail-fold .admission-facts{margin:0;padding:12px 16px 16px}
.school-detail-fold .admission-fact{border-color:color-mix(in srgb,var(--primary) 12%,#e5ebf3);background:rgba(255,255,255,.7)}
html[lang="en"] .school-detail-fold[open]>summary em::after{content:"Collapse"}

/* A clear personal-center feedback destination, not a hidden account-page extra. */
.personal-feedback-page{display:grid;grid-template-columns:minmax(250px,.62fr) minmax(0,1.38fr);align-items:start;gap:16px}
.personal-feedback-intro{position:sticky;top:22px;display:grid;gap:11px;padding:26px;border:1px solid color-mix(in srgb,var(--primary) 17%,#dce6f2);border-radius:18px;background:radial-gradient(circle at 92% 5%,color-mix(in srgb,var(--primary) 15%,transparent),transparent 13rem),linear-gradient(145deg,color-mix(in srgb,var(--primary-soft) 55%,white),#fff)}
.personal-feedback-intro .eyebrow{margin:0;color:var(--primary)}
.personal-feedback-intro h3{max-width:390px;margin:0;color:color-mix(in srgb,var(--primary-dark) 55%,#152c46);font-size:clamp(23px,2.2vw,31px);line-height:1.32;letter-spacing:-.025em}
.personal-feedback-intro>p:last-child{margin:0;color:#64788f;font-size:13px;line-height:1.78}
.personal-feedback-page .personal-feedback-card{min-height:260px;padding:24px}
.personal-feedback-page .personal-feedback-list{max-height:430px;overflow:auto}
body[data-theme="dark"] .personal-feedback-intro{border-color:#29415e;background:radial-gradient(circle at 92% 5%,rgba(92,145,225,.13),transparent 13rem),linear-gradient(145deg,#10243a,#0b1727)}
body[data-theme="dark"] .personal-feedback-intro h3{color:#edf4ff}
body[data-theme="dark"] .personal-feedback-intro>p:last-child{color:#9db0c6}
body[data-theme="dark"] .school-detail-fold{border-color:#29415e!important;background:linear-gradient(145deg,#102033,#0c1929)!important}
body[data-theme="dark"] .school-detail-fold>summary{color:#e5eefb;border-color:#29415e}
body[data-theme="dark"] .school-detail-fold>summary::after{color:#cfe0f6;background:#182e48}
body[data-theme="dark"] .school-detail-fold>summary em{color:#91a6be}
body[data-theme="dark"] .school-detail-fold .admission-fact{border-color:#293d55!important;background:#0f1d2f!important}

/* One complete theme family for cards, controls, labels and active states. */
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]){
  --theme-border:color-mix(in srgb,var(--primary) 16%,#dfe7f1);
  --theme-border-strong:color-mix(in srgb,var(--primary) 30%,#d5e1ee);
  --theme-surface:color-mix(in srgb,var(--primary-wash) 70%,#fff);
  --theme-surface-soft:color-mix(in srgb,var(--primary-soft) 42%,#fff);
  --theme-ink:color-mix(in srgb,var(--primary-dark) 38%,#172d47);
  --theme-muted:color-mix(in srgb,var(--primary-dark) 28%,#63788f);
  accent-color:var(--primary);
}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) ::selection{color:#fff;background:var(--primary)}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .sidebar{border-color:var(--theme-border);background:linear-gradient(180deg,color-mix(in srgb,var(--primary-wash) 88%,white),color-mix(in srgb,var(--primary-soft) 30%,white))}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .dashboard-topbar{border-color:var(--theme-border)!important;background:color-mix(in srgb,var(--primary-wash) 82%,white)!important;box-shadow:0 10px 28px color-mix(in srgb,var(--primary) 8%,rgba(28,52,86,.08))}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace #modulePanel,
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace #modulePanel:has(.tt-workbench),
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace #modulePanel:has(.ai-workbench),
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace #modulePanel:has(.daily-hero){border-color:var(--theme-border)!important;background:radial-gradient(circle at 94% 2%,color-mix(in srgb,var(--primary) 12%,transparent),transparent 25rem),linear-gradient(145deg,color-mix(in srgb,var(--primary-wash) 80%,white),color-mix(in srgb,var(--primary-soft) 38%,white))!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace :is(h1,h2,h3,h4,h5){color:var(--theme-ink)}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace :is(p,dt,label,small){border-color:var(--theme-border)}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace :is(p,dt,label){color:var(--theme-muted)}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace :is([class$="-card"],[class$="-panel"],.personal-panel,.settings-card,.settings-list,.page-promo,.overview-promo,.school-row,.table-head,.program-filter-panel,.program-disclosure,.plan-filter-bar,.detail-section,.side-block,.campus-gallery-empty,.todo-group-list,.tt-empty-week,.personal-workspace,.feedback-modal-item,.personal-feedback-item){border-color:var(--theme-border)!important;background:linear-gradient(145deg,rgba(255,255,255,.96),var(--theme-surface))!important;box-shadow:0 8px 24px color-mix(in srgb,var(--primary) 7%,rgba(29,50,79,.08))!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.overview-promo,.page-promo,.ai-audit-banner,.daily-hero,.adjx-hero){border-color:var(--theme-border)!important;background:radial-gradient(circle at 92% 9%,color-mix(in srgb,var(--primary) 17%,transparent),transparent 20rem),linear-gradient(122deg,color-mix(in srgb,var(--primary-soft) 68%,white),#fff 72%)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.table-head,.school-row:hover,.school-row.selected,.adjx-compare-row.is-head,.todo-group-list .todo:hover){border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace :is(input,select,textarea,.search-box,.tt-school-select-btn){border-color:var(--theme-border)!important;color:var(--theme-ink)!important;background:color-mix(in srgb,var(--primary-wash) 56%,white)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace :is(input,select,textarea):focus{border-color:var(--theme-border-strong)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.primary-action,.auth-cta,.adjx-compare-run,.compare-run,.tt-primary-action){border-color:var(--primary)!important;color:#fff!important;background:linear-gradient(135deg,var(--primary),var(--primary-dark))!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.ghost-action,.secondary-action,.small-action,.row-action,.settings-secondary,.sidebar-account-action,.text-action,.personal-text-action,.compact-target,.todo-view-all,.password-visibility-toggle,.page-btn,.filter-chip,.choice-pill){border-color:var(--theme-border)!important;color:var(--primary-dark)!important;background:var(--primary-wash)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.ghost-action,.secondary-action,.small-action,.row-action,.settings-secondary,.page-btn,.choice-pill):hover{border-color:var(--theme-border-strong)!important;background:var(--primary-soft)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace :is(.page-btn.active,.small-action.primary,.mode-tab.active,.profile-choice-field input:checked+span,.ai-profile-option.is-on,.choice-pill:has(input:checked),button[aria-pressed="true"],button.active){border-color:color-mix(in srgb,var(--primary) 42%,#cedbe9)!important;color:var(--primary-dark)!important;background:var(--primary-soft)!important;box-shadow:0 4px 12px color-mix(in srgb,var(--primary) 12%,transparent)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace :is(.badge,.stat-pill,.type-pill,.news-tag,.rank-badge,.feedback-status,.pro-chip,.exam-code-chip,.research-tag,.ai-audit-year,.ai-form-badge,.ai-report-mode,.daily-badge,.generated-task-tag,.todo-priority,.status-pill,.score-band){border-color:var(--theme-border)!important;color:var(--primary-dark)!important;background:var(--primary-soft)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.nav-item.active,.nav-item:hover,.nav-group-toggle:hover,.nav-group:has(.nav-item.active) .nav-group-toggle){color:var(--primary-dark)!important;background:var(--primary-soft)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.nav-subitems,.tt-school-suggest,.retest-major-menu,.modal-card,.auth-card,.adjx-region-menu,.tt-school-list-wrap,.tt-school-picker){border-color:var(--theme-border)!important;background:linear-gradient(155deg,#fff,var(--primary-wash))!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.modal-backdrop,.auth-backdrop){background:color-mix(in srgb,var(--primary) 16%,rgba(19,37,58,.38))!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.app-footer,.announcement-item,.brief-item,.tutor-official-card,.tutor-college,.timeline-item,.retest-timeline>div,.personal-history li,.personal-numbers div,.personal-account-rows div){border-color:var(--theme-border)}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.app-footer,.announcement-item,.brief-item,.tutor-official-card,.tutor-college,.timeline-item,.retest-timeline>div,.personal-history li,.personal-numbers div,.personal-account-rows div):hover{border-color:var(--theme-border-strong)}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(a:not(.primary-action),.title-link,.link-action){color:var(--primary-dark)}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.risk-low,.risk-mid,.risk-high,.badge.risk-low,.badge.risk-mid,.badge.risk-high,.danger,.is-error,[data-tone="risk"]){color:color-mix(in srgb,var(--rose) 72%,#8f2947)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.tt-legend-course,.tt-page-nav,.daily-week-chart>span>i){background:var(--primary-soft)!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) :is(.tt-legend-study,.tt-study-box:not([style]),.daily-week-chart i b,.score-bar span){background:linear-gradient(135deg,var(--primary),var(--primary-dark))!important}
body:is([data-theme="green"],[data-theme="pink"],[data-theme="yellow"]) .workspace :is(.personal-numbers b,.hero-metric strong,.section-title-row>span,.world-rank-item strong,.forecast-main strong,.forecast-stat strong,.adjx-compare-score strong,.retest-school-metrics strong,.retest-hero-metrics strong,.ai-card-score strong,.target-card-fit strong){color:var(--primary-dark)!important}

/* Details with modifier classes do not end in "-panel", so dark mode needs this explicit surface. */
body[data-theme="dark"] #modulePanel :is(.personal-panel,.personal-fold,.personal-history,.personal-editor,.study-option-card,.study-base-card){border-color:#253950!important;color:#dbe7f6!important;background:#0f1d2f!important}
body[data-theme="dark"] #modulePanel :is(.personal-fold>summary,.personal-history>summary){border-color:#253950!important;color:#dbe7f6!important;background:#0f1d2f!important}
body[data-theme="dark"] #modulePanel :is(.personal-fold-copy h3,.personal-history>summary,.personal-fold-action){color:#e8f1fd!important}
body[data-theme="dark"] :is(.personal-numbers b,.hero-metric strong,.school-key-fact strong,.world-rank-item strong,.forecast-main strong,.forecast-stat strong,.adjx-compare-score strong,.retest-school-metrics strong,.retest-hero-metrics strong,.ai-card-score strong,.target-card-fit strong){color:#9fc1ff!important}

/* Keep the logo inside the selected palette instead of rotating blue into the wrong hue. */
body[data-theme="green"] .brand-mark{filter:hue-rotate(270deg) saturate(.82)}
body[data-theme="pink"] .brand-mark{filter:hue-rotate(105deg) saturate(.78)}
body[data-theme="yellow"] .brand-mark{filter:hue-rotate(160deg) saturate(.76)}
body[data-theme="dark"] .brand-mark{filter:none}

@media(max-width:820px){
  .personal-feedback-page{grid-template-columns:1fr}
  .personal-feedback-intro{position:static}
}
@media(max-width:560px){
  .school-detail-fold>summary{min-height:58px;padding:14px 15px;font-size:14px}
  .school-detail-fold .admission-facts{padding:10px}
  .personal-feedback-page .personal-feedback-card{padding:18px}
}

/* Developer feedback detail: make the submitted issue and follow-up context explicit. */
.developer-feedback-detail{display:grid;gap:7px}
.developer-feedback-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.developer-feedback-detail-head strong{color:#2f4965;font-size:12px;font-weight:760}
.developer-feedback-detail-head small{color:#8b98aa;font-size:10px}
.developer-feedback-content{white-space:pre-wrap;overflow-wrap:anywhere}
.developer-feedback-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.developer-feedback-meta>div{display:grid;gap:4px;min-width:0;padding:10px 11px;border:1px solid #e2eaf3;border-radius:9px;background:#f8fafc}
.developer-feedback-meta dt{color:#8291a4;font-size:9.5px;font-weight:760;letter-spacing:.04em}
.developer-feedback-meta dd{min-width:0;margin:0;overflow-wrap:anywhere;color:#344e68;font-size:11.5px;line-height:1.5}
.developer-feedback-meta a{color:var(--primary-dark);font-weight:680;text-decoration:none}
.developer-feedback-meta code{padding:1px 5px;border-radius:5px;color:#61758a;background:#edf2f7;font-size:9.5px}
.developer-feedback-vague{margin:0;padding:9px 11px;border-left:3px solid #d59b45;border-radius:0 8px 8px 0;color:#876332;background:#fff8e9;font-size:11px;line-height:1.6}
.developer-feedback-test-note{margin:0;padding:9px 12px;border:1px dashed #cbd9e8;border-radius:9px;color:#65798f;background:#f8fafc;font-size:11px;line-height:1.6}
body[data-theme="dark"] .developer-feedback-detail-head strong{color:#e2edf9}
body[data-theme="dark"] .developer-feedback-detail-head small{color:#8fa4bc}
body[data-theme="dark"] .developer-feedback-meta>div{border-color:#293f58!important;background:#0b1828!important}
body[data-theme="dark"] .developer-feedback-meta dt{color:#849ab2}
body[data-theme="dark"] .developer-feedback-meta dd{color:#cbd9e9}
body[data-theme="dark"] .developer-feedback-meta a{color:#a9c9ff}
body[data-theme="dark"] .developer-feedback-meta code{color:#b9c9da;background:#16283d}
body[data-theme="dark"] .developer-feedback-vague{border-color:#b98539;color:#e6c58e;background:#2b2417}
body[data-theme="dark"] .developer-feedback-test-note{border-color:#324a64;color:#a7bbcf;background:#0c1929}

/* Night theme: daily review should stay dark instead of inheriting light KPI cards. */
body[data-theme="dark"] #modulePanel .daily-hero,
body[data-theme="dark"] #modulePanel .daily-hero.idle,
body[data-theme="dark"] #modulePanel .daily-hero.warm,
body[data-theme="dark"] #modulePanel .daily-hero.good,
body[data-theme="dark"] #modulePanel .daily-hero.clear{
  color:#dce8f7!important;
  border-color:#29435f!important;
  background:
    radial-gradient(circle at 86% 4%,rgba(84,145,228,.13),transparent 28%),
    linear-gradient(135deg,#0b1a2b 0%,#0d2136 58%,#0a1828 100%)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.22)!important;
}
body[data-theme="dark"] #modulePanel :is(.daily-hero-copy h3,.daily-kpi-strip b,.daily-card-heading strong,.daily-score-compare strong){color:#e8f1fc!important}
body[data-theme="dark"] #modulePanel :is(.daily-hero-copy p,.daily-meta,.daily-kpi-strip small,.daily-card>p,.daily-week-card>p,.daily-score-compare span,.daily-week-chart small){color:#9fb2c8!important}
body[data-theme="dark"] #modulePanel .daily-badge{color:#c8dcf6!important;background:#17304b!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel .daily-kpi-strip>span{border-color:#2b435d!important;background:#102238!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel .daily-proof-chips>div span{border-color:#2a415b!important;color:#b8c9dc!important;background:#102238!important}
body[data-theme="dark"] #modulePanel .daily-progress-ring::before{background:conic-gradient(#78a7ff var(--daily-progress),#233a53 0)!important}
body[data-theme="dark"] #modulePanel .daily-progress-ring strong{color:#edf5ff!important}
body[data-theme="dark"] #modulePanel .daily-progress-ring small{color:#9eb1c8!important}
body[data-theme="dark"] #modulePanel :is(.daily-visual-grid .daily-card,.daily-action-grid .daily-card,.daily-sharp-card){border-color:#293f58!important;background:#0e1d2f!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel :is(.daily-card-heading .stat-pill,.daily-gap-chip){border-color:#304861!important;color:#bed5f2!important;background:#152b43!important}
body[data-theme="dark"] #modulePanel :is(.daily-visual-empty,.daily-score-compare i){border-color:#2b415a!important;color:#90a5bd!important;background:#0a1726!important}
body[data-theme="dark"] #modulePanel .daily-score-compare i b{background:linear-gradient(90deg,#6c9be7,#4f82d8)!important}
body[data-theme="dark"] #modulePanel .daily-week-chart>span>i{background:#172b40!important}
body[data-theme="dark"] #modulePanel .daily-week-chart .is-empty i{background:#101f31!important}
body[data-theme="dark"] #modulePanel .daily-week-chart i b{background:linear-gradient(180deg,#78a7ff,#4f82d8)!important}
body[data-theme="dark"] #modulePanel :is(.daily-sharp-copy>span,.daily-sharp-copy blockquote strong){color:#e6f0fc!important}
body[data-theme="dark"] #modulePanel .daily-sharp-copy blockquote em{color:#a3b6cb!important}
body[data-theme="dark"] #modulePanel .daily-sharp-context{border-color:#2b425b!important;color:#dce8f7!important;background:#102238!important}
body[data-theme="dark"] #modulePanel .daily-sharp-context :is(strong,dt,dd){color:#dce8f7!important}
body[data-theme="dark"] #modulePanel .daily-sharp-context small{color:#91a7bf!important}
body[data-theme="dark"] #modulePanel :is(.daily-honest,.daily-tip){border-color:#2a4059!important;color:#c6d5e6!important;background:#0f1d2f!important}
body[data-theme="dark"] #modulePanel :is(.daily-honest-tag,.daily-tip-tag){color:#d4e4f8!important;background:#17304a!important}

/* Night theme: retest workspace must not mix a white hero with white headings. */
body[data-theme="dark"] #modulePanel .retest-guide{color:#dbe7f6!important}
body[data-theme="dark"] #modulePanel .retest-hero{
  color:#e7f0fb!important;
  border-color:#2a435f!important;
  background:
    radial-gradient(circle at 88% 5%,rgba(82,145,228,.15),transparent 34%),
    linear-gradient(135deg,#0d1d30 0%,#10263d 62%,#0b1929 100%)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.22)!important;
}
body[data-theme="dark"] #modulePanel .retest-hero :is(h2,strong){color:#f0f6ff!important}
body[data-theme="dark"] #modulePanel .retest-hero :is(p,span){color:#9fb6d0!important}
body[data-theme="dark"] #modulePanel .retest-hero-actions .primary-action{color:#071629!important;background:#a9c9ff!important}
body[data-theme="dark"] #modulePanel .retest-hero-actions .secondary-action{color:#d7e6f8!important;border-color:#36536f!important;background:#142941!important}
body[data-theme="dark"] #modulePanel .retest-hero-metrics div{border-color:#2d4964!important;background:#11253a!important}
body[data-theme="dark"] #modulePanel .retest-page-switch button{border-color:#2b425b!important;color:#aebfd2!important;background:#0e1d2e!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel .retest-page-switch button strong{color:#dce9f7!important}
body[data-theme="dark"] #modulePanel .retest-page-switch button small,
body[data-theme="dark"] #modulePanel .retest-page-switch button em{color:#8fa6bd!important}
body[data-theme="dark"] #modulePanel .retest-page-switch button>span{color:#b5c9df!important;background:#1a3149!important}
body[data-theme="dark"] #modulePanel .retest-page-switch button:hover,
body[data-theme="dark"] #modulePanel .retest-page-switch button.active{border-color:#4f79aa!important;background:#17304a!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel .retest-page-switch button.active>span{color:#071629!important;background:#9fc1ff!important}
body[data-theme="dark"] #modulePanel :is(.retest-page-body,.retest-school-page,.retest-timeline-card,.retest-focus-card,.retest-rule-section,.retest-checklist-card,.retest-question-card,.retest-expression-card,.retest-official-links,.retest-catalog-page,.retest-catalog-filters){border-color:#293f58!important;color:#dbe7f6!important;background:#0f1d2f!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel :is(.retest-section-head h3,.retest-rule-grid h4,.retest-school-card strong,.retest-catalog-row strong,.retest-empty-panel strong){color:#e8f1fc!important}
body[data-theme="dark"] #modulePanel :is(.retest-section-head p,.retest-section-head>span,.retest-rule-grid p,.retest-school-card p,.retest-empty-panel p,.retest-catalog-row small){color:#9fb2c8!important}
body[data-theme="dark"] #modulePanel :is(.retest-rule-grid article,.retest-school-card,.retest-source-band,.retest-empty-panel,.retest-catalog-table-head,.retest-catalog-row){border-color:#293f58!important;background:#102238!important}
body[data-theme="dark"] #modulePanel .retest-catalog-table-head{color:#aebfd2!important}
body[data-theme="dark"] #modulePanel :is(.retest-catalog-filters input,.retest-catalog-filters select){border-color:#304861!important;color:#e3eefb!important;background:#0b1828!important}
body[data-theme="dark"] #modulePanel :is(.retest-catalog-search,.retest-catalog-major,.retest-catalog-region){border-color:#2d465f!important;color:#dce8f7!important;background:#0b1828!important}
body[data-theme="dark"] #modulePanel :is(.retest-catalog-search input,.retest-catalog-major input,.retest-catalog-region select){border:0!important;color:#dce8f7!important;background:transparent!important}
body[data-theme="dark"] #modulePanel :is(.retest-catalog-search svg,.retest-catalog-major svg,.retest-major-menu-toggle){color:#8fa8c2!important}
body[data-theme="dark"] #modulePanel .retest-catalog-pager button,
body[data-theme="dark"] #modulePanel .retest-catalog-pager button:disabled{border-color:#2c435c!important;color:#b5c8dc!important;background:#112238!important}
body[data-theme="dark"] #modulePanel .retest-catalog-pager button:hover:not(:disabled){border-color:#4d77a7!important;color:#e4effd!important;background:#19334d!important}
body[data-theme="dark"] #modulePanel .retest-catalog-meta{color:#8fa4bb!important}
body[data-theme="dark"] #modulePanel .retest-overview-summary span{border-color:#304961!important;color:#bfd2e7!important;background:#11253a!important}
body[data-theme="dark"] #modulePanel .retest-timeline>div{border-color:#293f58!important;background:#102238!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel .retest-timeline>div>span{border:1px solid #315273!important;color:#c9dff7!important;background:#17304a!important}
body[data-theme="dark"] #modulePanel .retest-timeline :is(time,strong){color:#dce9f8!important}
body[data-theme="dark"] #modulePanel .retest-timeline p{color:#98adc4!important}
body[data-theme="dark"] #modulePanel .retest-guide>nav.retest-page-switch,
body[data-theme="dark"] #modulePanel .retest-page-body>section,
body[data-theme="dark"] #modulePanel :is(.retest-overview-grid,.retest-materials-page){background:transparent!important}
body[data-theme="dark"] #modulePanel .retest-tools-page{border-color:#293f58!important;background:#0f1d2f!important}
body[data-theme="dark"] #modulePanel :is(.retest-progress,.retest-checklist button,.retest-official-links>div>*,.retest-official-priority,.retest-tool-launch-grid button){border-color:#2b425b!important;color:#c5d6e8!important;background:#102238!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel .retest-progress>span{background:linear-gradient(90deg,#78a7ff,#4f82d8)!important}
body[data-theme="dark"] #modulePanel .retest-checklist button.done{border-color:#3b705d!important;background:#102b28!important}
body[data-theme="dark"] #modulePanel .retest-school-rail{border-color:#293f58!important;background:#0d1b2c!important}
body[data-theme="dark"] #modulePanel .retest-school-rail>button{color:#b9cbe0!important;background:transparent!important}
body[data-theme="dark"] #modulePanel .retest-school-rail>button:hover,
body[data-theme="dark"] #modulePanel .retest-school-rail>button.active{border-color:#3e6085!important;color:#e4effc!important;background:#17304a!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel :is(.retest-school-dossier,.retest-program-note,.retest-dossier-metrics>div,.retest-rule-facts>div,.retest-dossier-grid>section,.retest-school-note,.retest-school-dossier>footer){border-color:#293f58!important;color:#c7d7e8!important;background:#102238!important;box-shadow:none!important}
body[data-theme="dark"] #modulePanel .retest-program-note>span,
body[data-theme="dark"] #modulePanel .retest-dossier-status>span{color:#cbbcf4!important;background:#241d3a!important}
body[data-theme="dark"] #modulePanel :is(.retest-dossier-head strong,.retest-dossier-metrics strong,.retest-rule-facts strong,.retest-dossier-grid h4,.retest-contact-list strong){color:#e8f1fc!important}
body[data-theme="dark"] #modulePanel :is(.retest-dossier-head span,.retest-dossier-head small,.retest-dossier-metrics span,.retest-rule-facts span,.retest-rule-facts small,.retest-program-note p,.retest-dossier-grid li,.retest-contact-list span){color:#98adc4!important}
body[data-theme="dark"] #modulePanel :is(.retest-official-links-compact a,.retest-tool-launch-grid button span span){color:#a9c9ff!important}
body[data-theme="dark"] #modulePanel .retest-official-links-compact a{border-color:#2c465f!important;background:#102238!important}
body[data-theme="dark"] #modulePanel .retest-catalog-school em{color:#9fc1ff!important;background:#17304a!important}
body[data-theme="dark"] #modulePanel .retest-school-dossier .school-crest{background:#102238!important}

/* Structural dark fallback: cover new pages and nested panels without page-by-page patches. */
body[data-theme="dark"] #workspace :is(section,article,aside,details,form,nav,main) {
  background-color:#0f1d2f!important;
}
body[data-theme="dark"] #workspace :is(
  [class$="-page"],
  [class$="-main"],
  [class$="-panel"],
  [class$="-card"],
  [class$="-workspace"],
  [class$="-toolbar"],
  [class$="-filter"],
  [class$="-filters"],
  [class$="-row"],
  [class$="-item"],
  [class$="-group"],
  [class$="-box"],
  [class$="-pane"],
  [class$="-strip"],
  [class$="-header"],
  [class$="-head"],
  [class$="-empty"]
) {
  border-color:#293f58!important;
  background-image:none!important;
  background-color:#102238!important;
}
body[data-theme="dark"] #workspace :is(table,thead,tbody,tr,th,td) {
  border-color:#293f58!important;
  background-color:transparent!important;
}
body[data-theme="dark"] #workspace tbody tr:nth-child(odd),
body[data-theme="dark"] #workspace .data-table-body>tr:nth-child(odd) {
  background-color:#0f1d2f!important;
}
body[data-theme="dark"] #workspace tbody tr:nth-child(even),
body[data-theme="dark"] #workspace .data-table-body>tr:nth-child(even) {
  background-color:#11253a!important;
}
body[data-theme="dark"] #workspace button:not(.primary-action):not(.auth-cta) {
  background-color:#11253a!important;
}
body[data-theme="dark"] #workspace :is(input,select,textarea) {
  border-color:#304861!important;
  color:#e5eefb!important;
  background-color:#0b1828!important;
}
body[data-theme="dark"] #workspace :is(h1,h2,h3,h4,h5,strong,dt) {
  color:#e8f1fc!important;
}
body[data-theme="dark"] #workspace :is(p,dd,small,time,em) {
  color:#9eb2c9!important;
}

body[data-theme="dark"] #workspace :is(.entry-progress-card,.elite-summary,.entry-progress-tag){border-color:#293f58!important;background:#102238!important;box-shadow:none!important}
body[data-theme="dark"] #workspace :is(.entry-progress-track,.entry-progress-pct){border-color:#304861!important;color:#b9d6fb!important;background:#17304a!important}
body[data-theme="dark"] #workspace .elite-summary>div{border-color:#293f58!important;background:#102238!important}
body[data-theme="dark"] #workspace :is(.elite-summary dt,.elite-summary dd,.elite-summary small,.entry-progress-note){color:#9eb2c9!important}
body[data-theme="dark"] #workspace .elite-summary dd{color:#e8f1fc!important}

body[data-theme="dark"] #workspace .school-hero-metrics .hero-metric,
body[data-theme="dark"] #workspace .school-hero-chips span,
body[data-theme="dark"] #workspace .school-resource,
body[data-theme="dark"] #workspace :is(.school-key-fact,.world-rank-item,.admission-facts>div,.school-contact-row,.school-directory-group>dl>div,.tutor-official-card,.tutor-college){
  border-color:#2a425b!important;
  color:#d8e6f6!important;
  background:#102238!important;
  background-image:none!important;
  box-shadow:none!important;
}
body[data-theme="dark"] #workspace .school-emblem{background:#102238!important}
body[data-theme="dark"] #workspace :is(.school-key-fact strong,.school-contact-row dd,.admission-facts strong,.world-rank-item strong){color:#e7f1fc!important}
body[data-theme="dark"] #workspace :is(.school-key-fact span,.school-contact-row dt,.world-rank-item span){color:#9eb2c9!important}

body[data-theme="dark"] #workspace :is(.adjx-school-detail,.adjx-ai-summary,.adjx-pick-form,.adjx-pick,.adjx-pick-block,.adjx-shared-conditions){border-color:#2a425b!important;color:#cbd9e8!important;background:#102238!important;background-image:none!important}
body[data-theme="dark"] #workspace :is(.adjx-ai-summary strong,.adjx-pick-top strong,.adjx-pick-block p,.adjx-school-detail p){color:#dce9f7!important}
body[data-theme="dark"] #workspace :is(.adjx-ai-summary p,.adjx-ai-summary span,.adjx-pick-meta span,.adjx-pick-top small){color:#9fb4cb!important}
body[data-theme="dark"] #workspace :is(.adjx-pick-top>span,.adjx-pick-meta>span,.adjx-school-detail em){border-color:#304861!important;color:#c4d9f2!important;background:#17304a!important}
body[data-theme="dark"] #workspace .primary-action{border-color:#4f7db7!important;color:#fff!important;background:linear-gradient(135deg,#527fbd,#345f96)!important}
body[data-theme="dark"] #workspace details>summary{color:#d6e5f5!important;background:#102238!important}

body[data-theme="dark"] #workspace :is(.planning-profile-score,.planning-target-preview,.planning-profile-snapshot article,.planning-profile-form .field,.dossier-completion){border-color:#293f58!important;background:#102238!important;background-image:none!important}
body[data-theme="dark"] #workspace :is(.planning-profile-score>div,.planning-profile-score>span,.planning-profile-score>p,.planning-target-preview>div){background:#102238!important;color:#c8d8e9!important;border-color:#293f58!important}

body[data-theme="dark"] #workspace :is(.pass-intro,.membership-offer-note,.membership-offer-card,.membership-offer-card.is-featured){border-color:#293f58!important;background:#102238!important;background-image:none!important;box-shadow:none!important}
body[data-theme="dark"] #workspace .pass-intro{background:radial-gradient(circle at 92% 5%,rgba(85,141,215,.12),transparent 22rem),#0e1d2f!important}
body[data-theme="dark"] #workspace .membership-offer-note{border:1px solid #5b482b!important;color:#eed09c!important;background:#2b2418!important}
body[data-theme="dark"] #workspace .membership-offer-card li{color:#b9cadc!important}
body[data-theme="dark"] #workspace .adjx-school-list em{border-color:#305448!important;color:#a8e0c8!important;background:#12302b!important}
body[data-theme="dark"] #workspace :is(.adjx-execution-entry>button,.adjx-official-portal){border-color:#293f58!important;color:#d8e6f6!important;background:#102238!important;background-image:none!important;box-shadow:none!important}
body[data-theme="dark"] #workspace :is(.adjx-execution-copy strong,.adjx-official-portal h3){color:#e8f1fc!important}
body[data-theme="dark"] #workspace :is(.adjx-execution-copy small,.adjx-official-portal p,.adjx-official-portal>div:nth-child(2)>span){color:#9fb4ca!important}
body[data-theme="dark"] #workspace .adjx-official-portal>a{border-color:#35516d!important;color:#c7dcf5!important;background:#17304a!important}
body[data-theme="dark"] #workspace .planning-profile-page div:not([class]){border-color:#293f58!important;background:#102238!important;background-image:none!important}
body[data-theme="dark"] #workspace .adjustment-member-gate{border-color:#293f58!important;color:#d3e1f1!important;background:#102238!important;background-image:none!important}
body[data-theme="dark"] #workspace .adjustment-gate-mark{color:#9fc1ff!important;background:#17304a!important}
body[data-theme="dark"] #workspace .adjustment-gate-skeleton i{background:linear-gradient(90deg,#172b40 25%,#223d59 50%,#172b40 75%) 0 0/220% 100%!important}

@media(max-width:760px){
  .developer-feedback-meta{grid-template-columns:1fr}
  .developer-feedback-detail-head{align-items:flex-start;flex-direction:column;gap:3px}
}
