@import url('/assets/tokens.css');
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--canvas);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
button,input,select,textarea{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.55}
a{color:var(--green);text-underline-offset:3px}
button,a,input,select,summary{outline-offset:4px}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e9b95b}
input:focus,select:focus{outline:0;border-color:var(--green);box-shadow:0 0 0 3px #294cc615}
svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
img{max-width:100%}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{line-height:1.25;letter-spacing:-.035em}
h1{font-size:34px;font-weight:700;margin-bottom:12px}
h2{font-size:22px;font-weight:650}
h3{font-size:17px;font-weight:650}
p{margin-bottom:14px}
.muted{color:var(--muted)}
.eyebrow{font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.skip-link{position:fixed;top:-100px;left:16px;background:white;padding:12px;z-index:100}
.skip-link:focus{top:12px}
.brand{display:inline-flex;gap:11px;align-items:center;text-decoration:none;color:inherit;font-size:23px;font-weight:700;letter-spacing:-.8px;white-space:nowrap}
.brand-mark{width:37px;height:37px;display:grid;place-items:center;border-radius:9px;background:var(--lime);color:var(--deep)}
.brand-mark svg{width:25px;height:25px;stroke-width:1.8}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:7px;padding:11px 17px;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;transition:background .15s,border-color .15s;white-space:nowrap}
.btn.primary{background:var(--green);color:white;box-shadow:0 2px 2px #1825360a}
.btn.primary:hover{background:#1c3eaf}
.btn.light{background:white;border-color:var(--line);color:var(--ink)}
.btn.light:hover{border-color:#afbdd4;background:#f8faff}
.btn.ghost{background:transparent;color:var(--muted)}
.btn.ghost:hover{color:var(--green);background:var(--soft)}
.btn.danger{background:#a83b3b;color:white}
.btn.small{padding:8px 11px;font-size:12px}
.btn.wide{width:100%}
.btn svg{width:17px;height:17px}
.icon-btn{width:36px;height:36px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--muted);display:inline-grid;place-items:center;flex-shrink:0}
.icon-btn:hover{color:var(--green);background:var(--soft)}
.text-btn{border:0;background:none;color:var(--green);padding:0;font-weight:600;text-decoration:none}
.row{display:flex;align-items:center;gap:12px}
.spread{justify-content:space-between}
.stack{display:flex;flex-direction:column;gap:18px}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.field>label{font-size:12px;font-weight:650;color:#35445a}
.field small{font-size:11px;color:var(--muted);line-height:1.6}
.field input,.field select,.field textarea,.search-input{width:100%;min-width:0;border:1px solid #cfd7e2;border-radius:7px;background:white;padding:11px 12px;color:var(--ink);min-height:44px;transition:border-color .15s}
.field input::placeholder,.search-input::placeholder{color:#7a8799}
.field select{padding-right:26px;text-overflow:ellipsis}
.field input:disabled,.field select:disabled{background:#f0f2f6;color:#748094}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}
.full{grid-column:1/-1}
.form-error{padding:11px 13px;background:#fff1ee;border:1px solid #f6d3cc;color:#9b3e32;border-radius:7px;font-size:12px;line-height:1.6;display:none}
.form-error:not(:empty){display:block}
.check-line{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:12px}
.check-line input{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}
.pill{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:600;white-space:nowrap}
.pill.green{background:#e8f3ed;color:#276648}
.pill.amber{background:#fbf0d8;color:#85601b}
.pill.gray{background:#edf0f4;color:#5f6b7c}
.pill.red{background:#fbe9e8;color:#a03b38}
.pill.blue{background:#eaf0ff;color:#355abc}
.dot{width:5px;height:5px;background:currentColor;border-radius:50%}
.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:16px;color:var(--muted)}
.loader{display:inline-block;width:20px;height:20px;border:2px solid #d5dcea;border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}
}

/* Entry: local architectural linework, ink and amber. No remote assets. */
.auth-layout{min-height:calc(100vh - 113px);display:grid;grid-template-columns:47% 53%}
.auth-story{background:var(--deep);color:#fff;padding:44px 12% 32px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}
.auth-story:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:48px 48px;pointer-events:none}
.auth-story .brand{position:relative}
.story-content{position:relative;margin:65px 0 30px}
.story-content .eyebrow{color:#a9b9ce}
.story-content h1{font-size:clamp(37px,3.8vw,58px);font-weight:650;line-height:1.12;letter-spacing:-2px;margin:22px 0}
.story-content h1 em{color:var(--lime);font-style:normal}
.story-content>p{color:#b8c5d6;font-size:14px;line-height:1.9}
.story-art{margin-top:30px;position:relative;border-top:1px solid #ffffff12;padding-top:10px}
.story-art img{display:block;width:100%;height:180px;object-fit:contain;opacity:.85}
.art-caption{display:flex;justify-content:space-between;gap:12px;color:#8f9eb1;font-size:9px;letter-spacing:.08em}
.art-caption strong{color:#b7c3d3;font-weight:500;letter-spacing:0}
.story-foot{position:relative;color:#9baec5;font-size:10px;display:flex;align-items:center;gap:8px}
.story-foot svg{width:17px;height:17px;color:var(--lime)}
.auth-side{background:#fcfcfd;display:flex;align-items:center;justify-content:center;padding:56px 45px}
.auth-card{width:100%;max-width:390px}
.auth-card>.eyebrow{margin-bottom:18px;color:#7c8799}
.auth-card h2{font-size:28px;margin-bottom:11px;letter-spacing:-1px}
.auth-card>p{color:var(--muted);font-size:13px;margin-bottom:27px}
.auth-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:30px}
.auth-tabs button{background:none;border:0;color:var(--muted);padding:12px 0;font-size:12px;font-weight:600;border-bottom:2px solid transparent}
.auth-tabs button.active{color:var(--green);border-bottom-color:var(--green)}
.auth-card .field{margin-bottom:17px}
.auth-card .btn.wide{padding:13px;margin-top:6px}
.auth-bottom{margin-top:22px;font-size:11px;text-align:center;color:var(--muted)}
.auth-privacy{margin-top:30px;display:flex;gap:7px;justify-content:center;font-size:10px;color:#788597}
.auth-privacy svg{width:14px;height:14px}
.verify-icon{width:49px;height:49px;background:var(--soft);border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;color:var(--green);margin-bottom:22px}
.verify-icon svg{width:24px;height:24px}
.mail-note{background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:13px;font-size:11px;color:var(--muted);margin-top:20px}
.mail-note a{font-weight:650;display:inline-flex;align-items:center;gap:5px;margin-top:6px}
.registration-notice{font-size:11px;color:var(--muted);margin:18px 0;line-height:1.8}

/* App shell */
.workspace{min-height:100vh;padding-left:232px}
.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:var(--deep);color:#dce5f0;z-index:30;padding:29px 17px 20px;display:flex;flex-direction:column}
.sidebar .brand{margin:0 9px 43px;font-size:22px}
.sidebar .brand-mark{width:32px;height:32px}
.side-label{font-size:9px;letter-spacing:.13em;color:#8194ad;margin:0 13px 14px;font-weight:650}
.side-nav{display:flex;flex-direction:column;gap:6px}
.nav-link{display:flex;align-items:center;gap:12px;color:#9eb0c6;text-decoration:none;padding:12px 13px;border-radius:6px;font-size:12px;font-weight:500;border:1px solid transparent}
.nav-link svg{width:18px;height:18px}
.nav-link:hover{background:#ffffff05;color:white}
.nav-link.active{background:#ffffff0b;color:#fff;border-color:#ffffff0d;box-shadow:inset 3px 0 var(--lime)}
.nav-link.active svg{color:var(--lime)}
.nav-count{margin-left:auto;background:#ffffff12;color:#d9e4f2;border-radius:4px;padding:0 6px;font-size:10px}
.side-note{margin-top:auto;padding:20px 13px;border-top:1px solid #ffffff13}
.side-note .eyebrow{color:#778ba5;font-size:8px}
.side-note h3{font-size:16px;color:#e2e9f3;margin:12px 0 8px}
.side-note p{font-size:11px;color:#91a4bd;line-height:1.8}
.side-note a{color:#d5b779;font-size:10px;text-decoration:none;display:flex;align-items:center;gap:8px}
.side-note a svg{width:14px;height:14px}
.side-user{display:flex;gap:9px;align-items:center;padding:18px 5px 0;border-top:1px solid #ffffff13;min-width:0}
.avatar{display:inline-grid;place-items:center;width:33px;height:33px;border-radius:9px;font-size:11px;font-weight:700;background:#e5ebf8;color:#3c56a0;flex-shrink:0}
.side-user .avatar{background:#34455e;color:#d1dced}
.side-user-name{font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:125px}
.side-user-role{font-size:9px;color:#8fa2bd}
.side-user button{margin-left:auto;background:none;border:0;color:#9aafc9;padding:4px}
.side-user button svg{width:16px;height:16px}
.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#ffffffd9}
.breadcrumb{font-size:11px;color:#7b8798;display:flex;gap:11px;align-items:center}
.breadcrumb span:last-child{color:#41516a}
.breadcrumb svg{width:12px;height:12px}
.topbar-right{display:flex;align-items:center;gap:19px}
.topbar-date{font-size:10px;color:#7b8798}
.verified-label{font-size:10px;display:flex;gap:6px;align-items:center;color:#53745e}
.verified-label svg{width:14px;height:14px}
.mobile-menu{display:none}
.mobile-brand{display:none}
.page{max-width:1380px;padding:37px 38px 0;margin:auto}
.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}
.page-title h1{font-size:30px;margin:4px 0 9px;letter-spacing:-1.2px}
.page-title p{font-size:12px;color:var(--muted);margin:0;max-width:580px}
.term-picker{display:flex;align-items:center;gap:7px}
.term-picker select{max-width:248px;padding:10px 30px 10px 12px;border:1px solid #ccd5e2;border-radius:7px;background:white;color:#41516a;font-size:11px;min-height:38px}
.welcome-banner{border-radius:10px;background:#243a62;position:relative;overflow:hidden;padding:28px 32px;margin-bottom:22px;min-height:155px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:white}
.welcome-banner:after{content:"";position:absolute;right:100px;top:-80px;width:260px;height:300px;border:1px solid #ffffff09;transform:rotate(25deg);pointer-events:none}
.welcome-banner .eyebrow{font-size:9px;color:#c5b484}
.welcome-banner h2{font-size:25px;margin:11px 0;font-weight:550;letter-spacing:-.7px}
.welcome-banner p{font-size:11px;color:#b7c5dc;margin:0;max-width:450px}
.banner-symbol{width:100px;min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid #ffffff1c;padding-left:22px;flex-shrink:0}
.banner-symbol span{font-size:56px;line-height:1;color:#eac789;font-weight:300;letter-spacing:-4px}
.banner-symbol small{font-size:9px;color:#c3cfe1;margin-top:10px;letter-spacing:.2em}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:33px}
.stat-card{background:white;border:1px solid var(--line);border-radius:9px;padding:21px;position:relative;box-shadow:var(--shadow)}
.stat-label{font-size:11px;color:#65748b;font-weight:500}
.stat-icon{position:absolute;right:19px;top:19px;background:#f0f3f9;border-radius:6px;color:#6b7d9a;display:grid;place-items:center;width:30px;height:30px}
.stat-icon svg{width:16px;height:16px}
.stat-value{font-size:33px;line-height:1;margin:17px 0 10px;letter-spacing:-1px;font-weight:600;font-variant-numeric:tabular-nums}
.stat-sub{font-size:10px;color:#8190a4}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.section-head h2{font-size:16px;margin:0 0 5px}
.section-head p{font-size:11px;color:var(--muted);margin:0}
.section-head .text-btn{font-size:11px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:24px}
.panel{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.panel-padding{padding:23px}
.course-mini{display:flex;align-items:center;gap:13px;padding:17px 20px;border-bottom:1px solid #edf0f5}
.course-mini:last-child{border-bottom:0}
.course-icon{width:38px;height:40px;border-radius:6px;display:grid;place-items:center;color:#526a9e;background:#edf1f9;font-size:11px;font-weight:650;flex-shrink:0;border:1px solid #dfe6f2}
.course-icon.tone-1{background:#f8f1e6;color:#926b2f;border-color:#efe2ca}
.course-icon.tone-2{background:#ebf1f1;color:#4d7774;border-color:#dae6e5}
.course-icon.tone-3{background:#f1edf6;color:#7a6594;border-color:#e5dff0}
.mini-main{min-width:0;flex:1}
.mini-main h3{font-size:12px;letter-spacing:-.01em;margin:0 0 4px;line-height:1.45;font-weight:600}
.mini-main p{margin:0;font-size:10px;color:#7d8a9d}
.mini-end{text-align:right;display:flex;align-items:flex-end;gap:7px;flex-direction:column}
.credits{font-size:10px;color:#6b7990;white-space:nowrap}
.profile-summary .eyebrow{font-size:8px;margin-bottom:15px}
.profile-summary h3{font-size:15px;line-height:1.5;margin:0 0 6px}
.profile-summary>p{font-size:11px;color:var(--muted)}
.profile-facts{border-top:1px solid var(--line);padding-top:11px;margin-top:17px}
.profile-facts div{display:flex;justify-content:space-between;font-size:10px;padding:7px 0;gap:12px}
.profile-facts span{color:#7c899c}
.profile-facts strong{font-weight:550;color:#4d5f79}
.profile-summary .btn{margin-top:18px}
.empty-state{text-align:center;padding:48px 25px;max-width:490px;margin:auto}
.empty-icon{width:52px;height:52px;border:1px dashed #c6d1e3;background:#f5f7fb;border-radius:12px;display:grid;place-items:center;margin:0 auto 19px;color:#8094b4}
.empty-state h3{font-size:18px;margin-bottom:10px}
.empty-state p{font-size:12px;color:var(--muted);line-height:1.8;max-width:340px;margin:0 auto 22px}
.empty-state.compact{padding:35px 20px}
.empty-state.compact h3{font-size:16px}
.empty-state.compact p{font-size:11px}
.notice{padding:13px 15px;border:1px solid #eadcbd;border-radius:7px;background:#fcf8ef;color:#856a36;font-size:11px;display:flex;align-items:flex-start;gap:9px;margin-bottom:20px}
.notice svg{width:16px;height:16px;margin-top:1px}
.notice p{margin:0}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.toolbar .check-note{margin:0}
.filter-tabs{display:flex;gap:5px;flex-wrap:wrap}
.filter-tabs button{border:1px solid transparent;border-radius:6px;background:transparent;padding:7px 11px;color:#6d7b90;font-size:11px}
.filter-tabs button.active{border-color:#cfd8eb;background:#e9eefb;color:#294cc6;font-weight:600}
.toolbar select{border:1px solid var(--line);padding:9px;border-radius:6px;font-size:11px;background:white;color:#4d5e78}
.courses-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.course-card{background:white;border:1px solid var(--line);border-radius:9px;padding:23px;display:flex;flex-direction:column;gap:18px;position:relative;transition:border-color .15s}
.course-card:hover{border-color:#aebed9}
.course-card.archived{background:#f0f2f5}
.course-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.course-card h3{font-size:16px;line-height:1.5;margin:0;min-height:44px;font-weight:600}
.course-meta{font-size:10px;color:#75849a;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}
.course-card-footer{border-top:1px solid #e9edf3;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.card-actions{display:flex;gap:6px}
.card-actions .icon-btn{width:31px;height:31px}
.card-actions svg{width:14px;height:14px}
.grade-label{font-size:11px;color:#718199}
.inline-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}

/* Profile and searchable program selection */
.profile-page,.onboarding{max-width:850px;margin:auto}
.profile-page .panel-padding,.onboarding .panel-padding{padding:32px}
.profile-intro{padding-bottom:24px;margin-bottom:26px;border-bottom:1px solid var(--line)}
.profile-intro h2{font-size:19px;margin-bottom:9px}
.profile-intro p{font-size:12px;color:var(--muted);margin:0}
.form-section-title{grid-column:1/-1;font-size:10px;color:#627590;letter-spacing:.12em;border-top:1px solid var(--line);padding-top:24px;margin-top:5px}
.profile-actions{grid-column:1/-1;display:flex;justify-content:flex-end;margin-top:6px}
.step-tag{font-size:10px;color:#3758b5;background:#e9eefb;border-radius:5px;padding:4px 9px;display:inline-flex;margin-bottom:17px}
.onboarding>h1{font-size:31px;max-width:600px}
.onboarding>p{color:var(--muted);font-size:12px;margin-bottom:27px}
.search-wrapper{position:relative}
.search-wrapper>svg{position:absolute;top:13px;left:12px;width:17px;height:17px;color:#7b8ca4}
.search-wrapper input{padding-left:38px}
.program-picker{position:relative}
.combo-control{position:relative;display:flex;align-items:center}
.combo-control>svg{position:absolute;left:13px;width:17px;height:17px;color:#788ba7;pointer-events:none}
.combo-control input{padding-left:39px;padding-right:42px}
.combo-control button{position:absolute;right:3px;top:3px;bottom:3px;width:36px;display:grid;place-items:center;border:0;background:transparent;color:#72839e}
.combo-control button svg{width:14px;height:14px;transform:rotate(90deg)}
.program-options{position:absolute;top:48px;left:0;right:0;max-height:275px;overflow:auto;background:white;border:1px solid #c5d1e5;border-radius:7px;box-shadow:0 12px 32px #18253622;z-index:45;padding:5px}
.program-options[hidden]{display:none}
.program-options [role=option]{padding:11px 12px;border-radius:5px;cursor:pointer}
.program-options [role=option]:hover,.program-options .keyboard-active{background:#edf2ff}
.program-options [aria-selected=true]{background:#f4f6fb;box-shadow:inset 2px 0 var(--green)}
.program-options strong{display:block;font-size:12px;font-weight:600}
.program-options small{display:block;font-size:10px;color:#7b8a9e;margin-top:2px}
.program-selection{display:block;margin-top:7px;font-size:10px!important}
.no-results{font-size:12px;color:var(--muted);padding:15px;margin:0}

/* Semester archive */
.history-overview{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:9px;margin-bottom:24px;padding:20px 0}
.history-overview>div{padding:0 23px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:3px}
.history-overview>div:last-child{border:0}
.history-overview strong{font-size:25px;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.history-overview span{font-size:10px;color:var(--muted)}
.history-term{background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:16px;overflow:hidden}
.history-term summary{list-style:none;display:flex;align-items:center;gap:20px;padding:22px;cursor:pointer}
.history-term summary::-webkit-details-marker{display:none}
.history-year{font-size:22px;color:#3a5683;border-right:1px solid var(--line);padding-right:20px;font-weight:600;letter-spacing:-1px}
.history-year small{display:block;font-size:9px;color:#7e8da3;letter-spacing:.08em;margin-top:2px}
.history-heading{flex:1;min-width:0}
.history-heading strong{font-size:14px;display:block;margin-bottom:5px}
.history-heading>span{font-size:11px;color:#7a8a9f;display:block}
.history-total{font-size:12px;text-align:right;white-space:nowrap}
.history-total small{display:block;font-size:10px;color:#78899e}
.history-total svg{width:14px;height:14px;margin-left:8px;transform:rotate(90deg)}
.history-term[open] .history-total svg{transform:rotate(-90deg)}
.history-detail{border-top:1px solid var(--line);padding:23px}
.history-facts{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;margin-bottom:20px}
.history-facts>div:last-child{grid-column:1/-1}
.history-facts span{display:block;font-size:9px;color:#8190a5;margin-bottom:4px;text-transform:uppercase;letter-spacing:.07em}
.history-facts strong{font-size:11px;font-weight:550;color:#4f627e}
.table-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:7px}
table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
th{font-size:9px;text-transform:uppercase;letter-spacing:.07em;background:#f6f8fb;color:#73839b;padding:12px;font-weight:600;white-space:nowrap}
td{padding:13px 12px;border-top:1px solid #e9edf4;font-size:11px;color:#5c6e87}
td:first-child{min-width:160px}
td strong{font-weight:550;color:#344965}
td small{display:block;color:#8796a9;font-size:9px;margin-top:4px}
.archived-row{background:#f7f8fa}
.history-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px}
.history-actions>small{font-size:10px;color:#8a97aa;max-width:360px}

/* Dialogs */
dialog{border:1px solid #cdd6e5;border-radius:12px;padding:0;width:calc(100% - 32px);max-width:610px;max-height:90vh;box-shadow:0 28px 100px #15243b40;color:var(--ink);background:#fff}
dialog.wide-dialog{max-width:820px}
dialog::backdrop{background:#111f386e;backdrop-filter:blur(4px)}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:25px 27px 21px;border-bottom:1px solid var(--line)}
.modal-head h2{font-size:22px;margin:0 0 7px}
.modal-head p{font-size:11px;color:var(--muted);margin:0}
.modal-body{padding:24px 27px}
.modal-foot{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:17px 27px;background:#f7f9fc;border-radius:0 0 12px 12px;flex-wrap:wrap}
.modal-tabs{display:flex;gap:12px;padding:0 25px;border-bottom:1px solid var(--line);background:#fafbfd}
.modal-tabs button{padding:15px 8px;border-bottom:2px solid transparent;border-top:0;border-left:0;border-right:0;background:none;color:#7a8a9f;font-size:11px;font-weight:550}
.modal-tabs button.active{color:var(--green);border-bottom-color:var(--green)}
.suggestion-row{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)}
.suggestion-main{min-width:0;flex:1}
.suggestion-main h3{font-size:12px;margin:0 0 6px;line-height:1.5;letter-spacing:0;font-weight:600}
.suggestion-main p{margin:0;font-size:10px;color:#8090a6;line-height:1.8}
.suggestion-main .pill{font-size:8px;margin-right:6px}
.suggestion-added{font-size:10px;color:#437557;display:flex;align-items:center;gap:4px}
.suggestion-added svg{width:14px;height:14px}
.suggestion-row .btn{flex-shrink:0}
.modal-search{margin:0 0 18px;display:flex;gap:10px;align-items:center}
.modal-search .search-wrapper{flex:1}
.modal-search .search-input{font-size:12px}
.period-select{display:flex;align-items:center;gap:10px;padding:12px;background:#f0f3fb;border-radius:7px;margin-bottom:17px;color:#657c9d;font-size:11px;flex-wrap:wrap}
.period-select select{border:1px solid #d1daec;border-radius:5px;padding:7px;background:white;color:#425d89;font-size:11px;max-width:170px;margin-left:auto}
.load-more{display:flex;justify-content:center;gap:10px;margin-top:15px}
.check-note{font-size:11px;color:#73849d;line-height:1.8;margin-bottom:0}
.dialog-loading{padding:45px;text-align:center}
.dialog-loading .loader{margin-bottom:12px}
.dialog-loading p{color:var(--muted);font-size:12px}
.required-heading,.elective-courses summary{font-size:15px;font-weight:650;color:var(--ink)}
.required-heading{margin:20px 0 0}
.elective-courses{margin-top:14px;border-top:1px solid var(--line)}
.elective-courses summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;cursor:pointer;list-style:none}
.elective-courses summary::-webkit-details-marker{display:none}
.elective-courses summary svg{width:18px;height:18px;flex:none}
.elective-courses[open] summary svg{transform:rotate(90deg)}
.elective-info{padding:16px 18px;background:#faf6ec;border:1px solid #ebdfc6;border-radius:8px;margin:16px 0;color:#816b3c}
.elective-info h3{font-size:12px;margin-bottom:10px;letter-spacing:0;display:flex;align-items:center;gap:7px}
.elective-info h3 svg{width:16px;height:16px}
.elective-info p{font-size:11px;margin:6px 0}
.elective-info small{font-size:10px;display:block;margin-top:10px}
.chip-list{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}
.chip-list .pill{white-space:normal}
#toasts{position:fixed;bottom:25px;right:25px;z-index:100;display:flex;flex-direction:column;gap:9px;max-width:min(390px,calc(100vw - 32px))}
.toast{background:var(--deep);color:#edf3fc;padding:14px 18px;border:1px solid #ffffff14;border-radius:8px;font-size:12px;box-shadow:0 7px 30px #0d203026;display:flex;gap:10px;align-items:center;animation:enter .2s ease-out}
.toast.error{background:#91453c}
.toast svg{width:17px;height:17px}
.mobile-backdrop{display:none}
@keyframes enter{from{opacity:0;transform:translateY(8px)}
to{opacity:1;transform:translateY(0)}
}

/* Footer and public policy pages */
.site-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:28px 38px 20px;border-top:1px solid var(--line);background:#fff;color:#7c899c;font-size:10px}
.site-footer>div{display:flex;align-items:center;gap:13px}
.site-footer strong{font-size:12px;letter-spacing:-.3px;color:#435570}
.site-footer nav{display:flex;gap:18px;flex-wrap:wrap}
.site-footer nav a{color:#6d7e98;text-decoration:none;font-size:10px}
.site-footer nav a:hover{color:var(--green);text-decoration:underline}
.site-footer>p{flex-basis:100%;margin:0;font-size:9px;color:#8b98aa}
.page>.site-footer{margin:48px -38px 0;background:transparent;padding-top:24px}
.legal-layout{min-height:100vh;display:flex;flex-direction:column}
.legal-layout>header{display:flex;justify-content:space-between;align-items:center;padding:23px max(25px,calc((100vw - 1000px)/2));gap:20px;background:white;border-bottom:1px solid var(--line)}
.legal-page{max-width:800px;width:100%;padding:52px 25px 60px;margin:0 auto;flex:1}
.legal-page h1{font-size:36px;margin:14px 0 30px}
.legal-lead{font-size:17px!important;color:#465b7b!important;line-height:1.8!important}
.legal-page h2{font-size:18px;margin:34px 0 12px;letter-spacing:-.4px}
.legal-page p{font-size:13px;line-height:1.95;color:#62738d}
.legal-page table{margin:0}
.legal-page td{font-size:12px}
.legal-facts{padding:20px;border:1px solid var(--line);border-radius:8px;background:white;display:grid;grid-template-columns:1fr 2fr;gap:14px;font-size:12px}
.legal-facts dt{color:#7889a0}
.legal-facts dd{margin:0;color:#304a71;overflow-wrap:anywhere}

@media(min-width:1500px){.page{padding-top:45px}
.auth-story{padding-top:55px;padding-bottom:40px}
.story-art img{height:230px}
}

@media(max-width:1150px){.workspace{padding-left:210px}
.sidebar{width:210px;padding-left:13px;padding-right:13px}
.sidebar .brand{font-size:20px;gap:9px}
.page{padding:30px 26px 0}
.topbar{padding:0 26px}
.dashboard-grid{grid-template-columns:minmax(0,1fr) 230px;gap:16px}
.profile-summary.panel-padding{padding:18px}
.page-title{align-items:flex-start;flex-wrap:wrap}
.auth-story{padding:35px}
.auth-side{padding:40px}
.term-picker select{max-width:220px}
.page>.site-footer{margin-left:-26px;margin-right:-26px;padding-left:26px;padding-right:26px}
}

@media(max-width:850px){.workspace{padding-left:0}
.sidebar{transform:translateX(-100%);visibility:hidden;pointer-events:none;transition:transform .2s;width:232px}
.workspace.menu-open .sidebar{transform:translateX(0);visibility:visible;pointer-events:auto}
.workspace.menu-open .mobile-backdrop{display:block;position:fixed;inset:0;background:#162b4877;z-index:29}
.mobile-menu{display:grid}
.topbar{height:66px;padding:0 23px}
.topbar .breadcrumb{margin-right:auto;margin-left:12px}
.topbar-date{display:none}
.page{padding:27px 23px 0}
.page-title h1{font-size:28px}
.auth-layout{grid-template-columns:43% 57%}
.auth-story{padding:30px 25px}
.story-content h1{font-size:36px;letter-spacing:-1.5px}
.auth-side{padding:30px}
.story-content{margin-top:50px}
.story-art img{height:145px}
.story-foot{font-size:9px}
.dashboard-grid{grid-template-columns:minmax(0,1fr) 240px}
.page>.site-footer{margin-left:-23px;margin-right:-23px;padding-left:23px;padding-right:23px}
}

@media(max-width:620px){.auth-layout{display:block;min-height:0}
.auth-story{min-height:0;padding:22px 25px}
.auth-story .brand{font-size:21px}
.story-content,.story-foot{display:none}
.auth-side{min-height:calc(100vh - 230px);padding:34px 25px;justify-content:flex-start}
.auth-card{max-width:420px;margin:auto}
.auth-tabs{margin-bottom:26px}
.auth-card h2{font-size:27px}
.auth-card>.eyebrow{font-size:9px}
.auth-privacy{margin-top:26px}
.topbar{padding:0 18px}
.topbar-right{gap:10px}
.verified-label{display:none}
.desktop-crumb{display:none}
.mobile-brand{display:inline;font-weight:650;color:var(--green)}
.page{padding:25px 18px 0}
.page-title{gap:16px;margin-bottom:23px}
.page-title h1{font-size:27px}
.page-title p{font-size:11px}
.page-title>.btn{padding:9px 12px;font-size:11px}
.page-title .term-picker{width:100%}
.term-picker select{flex:1;max-width:none}
.stats-grid{gap:8px;margin-bottom:27px}
.stat-card{padding:15px 11px}
.stat-icon{display:none}
.stat-value{font-size:26px;margin-top:13px}
.stat-label{font-size:9px}
.stat-sub{font-size:8px;line-height:1.6}
.welcome-banner{padding:22px;min-height:145px}
.welcome-banner h2{font-size:22px}
.welcome-banner p{font-size:10px}
.banner-symbol{width:55px;padding-left:13px;min-height:85px}
.banner-symbol span{font-size:40px}
.banner-symbol small{font-size:7px}
.dashboard-grid{grid-template-columns:1fr;gap:25px}
.profile-summary .profile-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.courses-grid{grid-template-columns:1fr}
.toolbar{flex-wrap:wrap;gap:12px}
.filter-tabs{gap:3px}
.filter-tabs button{padding:6px 8px;font-size:10px}
.toolbar .check-line{font-size:11px}
.course-mini{padding:14px}
.mini-end .pill{font-size:8px}
.form-grid{grid-template-columns:1fr;gap:18px}
.full,.profile-actions,.form-section-title{grid-column:1}
.profile-page .panel-padding,.onboarding .panel-padding{padding:23px}
.profile-intro{padding-bottom:19px}
.onboarding>h1{font-size:27px}
.onboarding>p{font-size:11px}
.modal-head{padding:21px}
.modal-body{padding:20px}
.modal-tabs{padding:0 15px;gap:0}
.modal-tabs button{padding:14px 10px;font-size:10px}
.modal-foot{padding:16px 20px}
.modal-head h2{font-size:20px}
.modal-search .search-input{font-size:11px}
.suggestion-row{gap:10px}
.suggestion-row .course-icon{display:none}
.suggestion-row .btn{padding:8px 10px;font-size:10px}
.suggestion-main h3{font-size:11px}
.suggestion-main p{font-size:9px}
.period-select{font-size:10px}
.period-select select{max-width:135px}
.section-head .text-btn{font-size:10px}
.history-overview{grid-template-columns:1fr 1fr;padding:0}
.history-overview>div{padding:15px 18px;border-bottom:1px solid var(--line)}
.history-overview>div:nth-child(2){border-right:0}
.history-overview>div:nth-child(3){border-bottom:0}
.history-overview strong{font-size:24px}
.history-overview span{font-size:9px}
.history-term summary{padding:17px;gap:13px;align-items:flex-start}
.history-year{font-size:19px;padding-right:12px}
.history-heading strong{font-size:12px}
.history-heading>span{font-size:10px}
.history-total{font-size:10px}
.history-total small{font-size:8px}
.history-detail{padding:17px}
.history-facts{grid-template-columns:1fr}
.history-facts>div:last-child{grid-column:1}
.history-actions{align-items:flex-start;flex-direction:column;gap:12px}
.table-scroll .history-table{min-width:580px}
.site-footer{padding:24px 25px 20px;gap:18px}
.site-footer nav{gap:14px}
.site-footer>div{flex-wrap:wrap;gap:9px}
.site-footer nav a{font-size:9px}
.page>.site-footer{margin:32px -18px 0;padding-left:18px;padding-right:18px}
.legal-layout>header{padding:20px}
.legal-layout .brand{font-size:19px}
.legal-layout>header .btn{font-size:10px;padding:8px}
.legal-page{padding:35px 23px}
.legal-page h1{font-size:30px}
.legal-facts{grid-template-columns:1fr;gap:8px}
#toasts{right:16px;bottom:16px}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* Native hidden semantics must also apply to flex/grid form fields. */
[hidden]{display:none!important}

.history-table td{font-size:12px}
.history-table td small{font-size:10px}
.history-facts strong{font-size:12px}
.history-heading>span{font-size:12px}
.history-overview span{font-size:11px}

.page{min-height:calc(100vh - 72px);display:flex;flex-direction:column}
.page>.site-footer{margin-top:auto;padding-top:28px}
.page>.profile-page,.page>.onboarding{width:100%;margin:0 auto 40px}
.page>.dashboard-grid,.page>.courses-grid{margin-bottom:42px}
.page>.history-term:last-of-type{margin-bottom:42px}
.site-footer{flex-shrink:0}

@media(max-width:850px){.page{min-height:calc(100vh - 66px)}
}
.btn.remove-course{background:transparent;border-color:#e3d8d8;color:#8c5353;padding:7px 9px;font-size:10px;box-shadow:none}
.btn.remove-course:hover{background:#fff1ee;border-color:#cda7a3;color:#9b3535}
.btn.remove-course svg{width:13px;height:13px}
.suggestion-selection{display:flex;align-items:center;gap:12px;flex-shrink:0}
.toast-undo{border:1px solid #ffffff55;border-radius:5px;background:transparent;color:#ffe1a6;padding:5px 10px;font-size:11px;font-weight:650;white-space:nowrap;margin-left:auto}
.toast-undo:hover{background:#ffffff12}
.modal-feedback{position:sticky;bottom:0;padding:10px 20px;background:#f7f9fc;z-index:2;border-top:1px solid var(--line)}
.modal-feedback:empty{display:none}
.modal-feedback .toast{margin:5px 0;box-shadow:none}
@media(max-width:620px){.suggestion-selection{flex-direction:column;gap:6px}.course-mini{flex-wrap:wrap}.course-mini>.remove-course{margin-left:auto}.modal-feedback{padding:10px 15px}}
.grade-entry{display:block}
/* Compact result selector: one row, no decorative cards. */
.result-editor{padding-top:3px}
.result-heading{display:flex;align-items:center;margin-bottom:12px}
.result-heading h3{font-size:12px;font-weight:650;letter-spacing:0;margin:0;color:#40516b}
.result-heading h3>span{font-size:10px;color:#8a97aa;font-weight:400;margin-left:8px}
.result-options{display:flex;flex-wrap:wrap;gap:0}
.result-option{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;min-height:43px;padding:10px 12px;flex:1;border:1px solid #dce3ed;background:#f8f9fc;font-size:11px;color:#7b899e;white-space:nowrap}
.result-options>.result-option:first-child{border-radius:7px 0 0 7px}
.result-options>.result-option:nth-child(3){border-radius:0 7px 7px 0}
.result-options>.result-option+.result-option{border-left:0}
.result-option:hover{background:#eef2f9;color:#40577b}
.result-option:has(input:checked){color:#304c80;background:#fff;box-shadow:inset 0 -2px #476ab5;font-weight:650}
.result-option:has(input:focus-visible){outline:3px solid #e9b95b;outline-offset:2px;z-index:1}
.result-option input{position:absolute;opacity:0;width:1px;height:1px}
.status-indicator{width:6px;height:6px;border-radius:50%;background:#a7b1c1;flex-shrink:0}
.result-option:has(input:checked) .status-in_progress{background:#c79a43}
.result-option:has(input:checked) .status-passed,.result-option:has(input:checked) .status-exempt{background:#42856d}
.result-option:has(input:checked) .status-failed{background:#b96262}
.result-other{flex-basis:100%;margin-top:12px}
.result-other summary{font-size:10px;color:#8996aa;cursor:pointer;padding:5px 0}
.result-other>div{display:flex;gap:8px;margin-top:8px}
.result-other .result-option{border-radius:6px}
.result-context{display:flex;gap:7px;align-items:flex-start;padding:13px 0 0;color:#8998ac}
.result-context svg{width:13px;height:13px;margin-top:3px}
.result-context p{font-size:11px;line-height:1.8;margin:0}
.result-grade{margin-top:24px;padding:22px 0 0;border-top:1px solid #e5eaf2}
.result-grade .result-heading{margin-bottom:16px}
.grade-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.result-grade>small{display:block;margin-top:13px;font-size:10px;color:#8393ab;line-height:1.8}
@media(max-width:620px){.grade-layout{grid-template-columns:1fr}.result-option{padding:10px 7px;font-size:10px;gap:6px}}
dialog[open]{display:flex;flex-direction:column;overflow:hidden}
dialog>.modal-head,dialog>.modal-tabs,dialog .modal-foot,dialog>.modal-feedback{flex-shrink:0}
dialog>form{display:flex;flex-direction:column;min-height:0;overflow:hidden;flex:1}
dialog .modal-body{overflow:auto;min-height:0}
/* Shared product scale. New screens should use these tokens. */
body{font-size:var(--font-body)}
.page-title h1{font-size:var(--font-title)}
.page-title p,.profile-intro p{font-size:var(--font-small)}
.section-head h2,.profile-intro h2{font-size:var(--font-section)}
.btn{min-height:40px;border-radius:var(--radius-control);font-size:var(--font-ui);gap:var(--space-2)}
.btn.small{min-height:32px;font-size:var(--font-small)}
.field input,.field select,.search-input{min-height:var(--control-height);border-radius:var(--radius-control);font-size:var(--font-ui)}
.field>label{font-size:var(--font-small)}
.field small{font-size:var(--font-caption)}
.panel,.course-card,.history-term{border-radius:var(--radius-panel)}
.panel-padding,.modal-body{padding:var(--space-6)}
.modal-head{padding:var(--space-6);gap:var(--space-4)}
.modal-foot{padding:var(--space-4) var(--space-6)}
.form-grid{gap:var(--space-5)}
.field-help{font-size:var(--font-caption);color:var(--muted)}
.field-help summary{cursor:pointer;color:#647c9e;width:fit-content;padding:3px 0}
.field-help p{margin:8px 0 0;line-height:1.8;padding:12px;border-left:2px solid #ced8eb;background:#f7f9fd}
.field .field-error{color:#a64039;font-size:var(--font-small);margin-top:2px;line-height:1.6}
.field [aria-invalid=true]{border-color:#bd6159;box-shadow:0 0 0 2px #bd61590d}
form[aria-busy=true] [type=submit]{opacity:1;cursor:wait;background:#425fac}
.btn .loader{width:15px;height:15px;border-color:#ffffff55;border-top-color:white}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.course-tools{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.course-tools>.search-wrapper{flex:1;min-width:190px}
.course-tools>select{min-height:var(--control-height);border:1px solid #cfd7e2;background:white;color:#526781;border-radius:var(--radius-control);padding:9px 12px;font-size:var(--font-small);max-width:210px}
.view-switch{display:flex;gap:2px;border:1px solid var(--line);background:#eaf0f7;padding:3px;border-radius:var(--radius-control)}
.view-switch .btn{min-height:35px;padding:8px 10px;font-size:var(--font-caption);color:#7b8ca5}
.view-switch .btn[aria-pressed=true]{background:white;color:#36599b;box-shadow:0 1px 4px #1f36521a}
.view-switch svg{width:14px;height:14px}
.course-filters{gap:10px;align-items:center}
#course-result-count{font-size:var(--font-caption);color:#8190a5;white-space:nowrap}
.course-list-panel{overflow:hidden}
.course-list-panel .table-scroll{border:0;border-radius:0}
.personal-course-table td{font-size:var(--font-small);padding:17px 18px}
.personal-course-table th{padding:14px 18px;font-size:10px}
.personal-course-table td:first-child{width:48%;min-width:210px}
.personal-course-table td strong{display:block;font-size:var(--font-ui)}
.personal-course-table td small{font-size:var(--font-caption)}
.personal-course-table tr:hover{background:#f8faff}
.list-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center}
#personal-course-results{margin-bottom:36px}
@media(max-width:620px){.course-tools{gap:10px}.course-tools>.search-wrapper{flex-basis:100%}.course-tools>select{flex:1;max-width:none;min-width:0}.course-tools .view-switch{flex-shrink:0}.view-switch .btn{padding:8px}.personal-course-table{min-width:610px}.modal-body,.panel-padding{padding:var(--space-5)}.page-title h1{font-size:26px}}
dialog.discard-dialog{max-width:455px;z-index:100}
.discard-dialog .modal-head{border-bottom:0;padding-bottom:21px}
.discard-dialog .modal-head h2{font-size:20px}
.discard-dialog .modal-head p{line-height:1.8;margin-top:12px}
.discard-dialog .modal-foot{background:#fff;border-top:1px solid var(--line)}
@media(max-width:620px){.discard-dialog .modal-foot{flex-direction:column-reverse}.discard-dialog .btn{width:100%}}
/* Off-canvas navigation must not create a document-level horizontal scroll area. */
html{overflow-x:clip}
/* Readability, focus visibility and touch targets. */
:root{--muted:#586a80;--font-caption:12px}
.field small,.check-note,.result-context,.result-grade>small,.profile-facts span,.history-facts span,.history-actions>small,.auth-privacy,.course-meta,.grade-label,.stat-sub,.credits,.mini-main p,.section-head p,.page-title p,.course-tools>select,.filter-tabs button,.site-footer,.site-footer nav a,.site-footer>p,.program-options small,.result-other summary,.table-scroll-hint{color:#586a80}
.field input::placeholder,.search-input::placeholder{color:#65758a}
.side-note p,.side-user-role,.side-label{color:#a8b9d0}
.table-scroll:focus-visible{outline:3px solid #bb852a;outline-offset:3px}
.table-scroll-hint{font-size:12px;line-height:1.7;margin:9px 12px}
.menu-close{display:none}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b57d20;outline-offset:3px}
@media(max-width:850px){.menu-close{display:grid;position:absolute;right:12px;top:15px;background:#233951;border-color:#52637b;color:white;width:40px;height:40px}.sidebar .brand{margin-top:33px}.nav-link{font-size:14px;min-height:46px}.side-user button{min-height:44px;min-width:44px}.side-user-name{font-size:12px}.sidebar .side-label{font-size:11px}}
@media(max-width:620px){
  .field input,.field select,.field textarea,.search-input,.term-picker select,.course-tools>select,.toolbar select,.period-select select{font-size:16px;min-height:46px}
  .btn,.btn.small,.icon-btn,.card-actions .icon-btn,.view-switch .btn,.auth-tabs button,.filter-tabs button,.modal-tabs button,.text-btn,.combo-control button,.result-option,.toast-undo{min-height:44px}
  .icon-btn,.card-actions .icon-btn,.combo-control button{min-width:44px}
  .combo-control input{padding-right:52px}.combo-control button{top:0;bottom:0}
  .pill{font-size:11px}.stat-label{font-size:11px}.stat-sub{font-size:10px}.stat-value{font-size:27px}
  .mini-main h3,.suggestion-main h3{font-size:13px}.mini-main p,.course-meta,.grade-label,.suggestion-main p,.check-line,.check-note,.result-context p,.result-grade>small,.page-title p,.auth-card>p,.profile-intro p,.field-help,.site-footer nav a{font-size:12px}
  .field>label{font-size:13px}.course-card h3{font-size:17px}.site-footer nav a{display:inline-flex;align-items:center;min-height:44px}.site-footer>p{font-size:11px}
  .history-heading strong{font-size:13px}.history-heading>span,.history-facts strong,.history-actions>small,.history-overview span{font-size:12px}
  .filter-tabs{gap:3px}.filter-tabs button{font-size:12px;padding:8px 10px}
  .modal-head h2{font-size:21px}.modal-head p{font-size:12px}.modal-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .result-option{font-size:12px;padding:10px 8px}.term-picker{flex-wrap:wrap;max-width:100%}.term-picker select{min-width:0;flex:1;max-width:calc(100% - 104px)}
  .course-tools{align-items:stretch}.course-tools>.search-wrapper{min-width:0}.course-tools>select{font-size:13px}.view-switch .btn{font-size:12px;padding:8px}
  #course-result-count{font-size:12px}.toast{font-size:13px;flex-wrap:wrap}.toast-undo{font-size:12px}
}
.assignment-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);background:#fff;border-radius:12px;padding:20px 0;margin-bottom:25px}
.assignment-summary>div{display:flex;flex-direction:column;gap:8px;border-right:1px solid var(--line);padding:0 23px}
.assignment-summary>div:last-child{border:0}.assignment-summary span{font-size:12px;color:#586a80}.assignment-summary strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums;color:#304969}
.assignment-item{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:23px 24px;border-bottom:1px solid var(--line)}
.assignment-item:last-child{border-bottom:0}.assignment-item.is-completed{background:#fafcfb}.assignment-item.is-archived{background:#f5f6f8}
.assignment-main{min-width:0;flex:1}.assignment-labels{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:9px}
.assignment-course{font-size:11px;letter-spacing:.04em;font-weight:650;color:#49638a}.assignment-item h3{font-size:16px;margin:0 0 8px;line-height:1.6;letter-spacing:-.2px;overflow-wrap:anywhere}
.assignment-description{font-size:12px;color:#586a80;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.assignment-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#586a80;font-size:12px}.assignment-meta>span{display:inline-flex;align-items:center;gap:6px}.assignment-meta svg{width:14px;height:14px}
.assignment-meta .priority-high{color:#974d33;font-weight:600}.assignment-course-name{display:block;color:#586a80;font-size:12px;margin-top:8px;overflow-wrap:anywhere}
.assignment-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.assignment-dashboard{margin-bottom:32px}.assignment-dashboard .assignment-item{padding:19px 22px}.assignment-dashboard .assignment-item h3{font-size:14px}
.assignment-empty-inline{padding:24px;color:#586a80;font-size:13px}.assignment-time-note{font-size:12px;color:#586a80;margin:0 0 20px;line-height:1.8}
#assignment-results{margin-bottom:35px}.result-count{font-size:12px;color:#586a80;white-space:nowrap}.field textarea{font-size:14px;line-height:1.8;min-height:100px;border:1px solid #cfd7e2;border-radius:8px;padding:11px 12px;color:var(--ink);resize:vertical}
.side-user>div{min-width:0;flex:1}.side-user-name{max-width:100%}
@media(max-width:620px){.assignment-summary{grid-template-columns:1fr 1fr;padding:0}.assignment-summary>div{padding:17px;border-bottom:1px solid var(--line)}.assignment-summary>div:nth-child(2){border-right:0}.assignment-summary>div:nth-child(3){border-bottom:0}.assignment-summary strong{font-size:26px}.assignment-summary span{font-size:12px}.assignment-item{padding:20px;align-items:flex-start;flex-direction:column;gap:16px}.assignment-actions{width:100%;flex-wrap:wrap}.assignment-actions>.primary{margin-right:auto}.assignment-meta{gap:8px 12px}.assignment-item h3{font-size:16px}.assignment-course{font-size:12px}.assignment-dashboard .assignment-item{padding:19px}.assignment-dashboard .assignment-actions{justify-content:flex-end}.field textarea{font-size:16px}.legal-page p{font-size:14px;color:#4d6078}.legal-page h2{font-size:19px}}
@media(max-width:620px){.btn.small.remove-course{font-size:12px}.assignment-actions .icon-btn{min-width:44px}.mini-end .pill{font-size:11px}}

.exam-source{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0;color:var(--muted);font-size:13px}.exam-source a{text-decoration:underline}.exam-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}.exam-period{background:#fff;border:1px solid #dce3ec;border-radius:16px;padding:28px}.exam-period h2{margin:12px 0;font-size:22px}.exam-range{font-size:20px;line-height:1.6;color:#253953}.exam-range span{color:#586a80}@media(max-width:600px){.exam-periods{grid-template-columns:1fr}.exam-period{padding:22px}}

.exam-sync{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #dce3ec;border-radius:14px;padding:20px;margin:24px 0;background:#fff}.exam-sync p,.exam-candidate p{font-size:14px;color:#586a80;margin:8px 0}.exam-errors{padding:16px;background:#fff8ea;border-radius:12px;margin-bottom:24px}.exam-errors summary{cursor:pointer;font-weight:600}.exam-errors li{margin:12px 0;font-size:14px}.exam-section-title{font-size:19px;margin-top:30px}.exam-candidate{padding:18px 0;border-bottom:1px solid #e5eaf0;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}.exam-candidate:last-child{border:0}.exam-candidate a{font-size:13px;text-decoration:underline}.exam-candidate small{display:block;margin-top:12px;color:#586a80}@media(max-width:600px){.exam-sync{align-items:stretch;flex-direction:column}.exam-candidate .btn{min-height:44px}}
/* Overview: a focused night palette; all charts use recorded data. */
.overview-theme{background:#15212a;color:#eef5f6}.overview-theme .page{background:radial-gradient(ellipse at 85% 0,#21413c55,transparent 48%),#15212a}.overview-theme .sidebar{background:#101c24;border-color:#30404a}.overview-theme .topbar{background:#15212af5;border-color:#30404a;color:#d7e2e5}.overview-theme .side-nav .nav-link{color:#aebec6}.overview-theme .side-nav .nav-link.active{background:#28483f;color:#8be9c9}.overview-theme .brand,.overview-theme .side-user-name{color:#eef5f6}.overview-theme .side-label,.overview-theme .side-user-role{color:#a5b7c0}.overview-theme .side-note{background:#1c3035;border-color:#30454a;color:#cfdee2}.overview-theme .side-note h3{color:#eef5f6}.overview-theme .side-note p{color:#b0c3c8}.overview-theme .side-note a{color:#8be9c9}.overview-theme .side-user{border-color:#30404a}.overview-theme .verified-label{color:#8be9c9}.overview-theme .legal-footer{color:#b1c0c8}.overview-theme .legal-footer a{color:#c4d4db}
.dash-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 30px}.dash-heading h1{font-size:36px;font-weight:650;letter-spacing:-1.5px;margin:10px 0}.dash-wave{color:#63d9b3}.dash-heading p{color:#b4c4cd;margin:0}.dash-heading .eyebrow{color:#7dd7ba}.overview-theme .term-picker select,.overview-theme .term-picker .icon-btn{background:#21313c;color:#e5eff2;border-color:#40515b}.dash-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.dash-stat{background:#1e2e38;border:1px solid #34444e;border-radius:18px;padding:24px;display:grid;grid-template-columns:1fr auto;gap:9px}.dash-stat>span:not(.dash-stat-icon){grid-column:1;grid-row:1;color:#c0cdd3;font-size:13px}.dash-stat strong{grid-column:1;font-size:38px;font-weight:600;letter-spacing:-1px}.dash-stat small{grid-column:1 / -1;color:#afc0c9;font-size:12px}.dash-stat-icon{grid-column:2;grid-row:1 / 3;align-self:center;display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#254f46;color:#88e8c5}.dash-stat.accent-1 .dash-stat-icon{background:#58432e;color:#ffc78e}.dash-stat.accent-2 .dash-stat-icon{background:#3a405c;color:#c6c5ff}.dash-stat-icon svg{width:23px;height:23px}.dash-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px}.dash-panel{padding:26px;background:#1c2c36;border:1px solid #35444d;border-radius:20px;min-width:0}.dash-panel-head{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:22px}.dash-panel-head h2{font-size:19px;font-weight:600;letter-spacing:-.4px;margin:0 0 7px;color:#f1f6f7}.dash-panel-head p{font-size:12px;color:#acbec8;margin:0;line-height:1.7}.dash-panel-head a{color:#86dfbe;font-size:12px;white-space:nowrap}.dash-panel-head a svg{width:20px;height:20px}.dash-live{padding:6px 9px;border-radius:8px;background:#30413f;color:#c4ddd4;font-size:12px;white-space:nowrap}.dash-legend{display:flex;gap:20px;font-size:12px;color:#cad8dd}.dash-legend span:before,.dash-ring-key p span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#7c919e;margin-right:8px}.dash-legend .mint:before,.dash-ring-key .mint:before{background:#63d9b3}.dash-legend .peach:before,.dash-ring-key .peach:before{background:#ffb16f}.dash-bars{width:100%;height:auto;display:block;margin:20px 0 0}.dash-empty-note{font-size:12px;color:#b3c6cf;text-align:center;margin-top:16px}.dash-event{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #35454f;color:#edf4f6}.dash-event:last-child{border-bottom:0}.dash-event-date{border-left:3px solid #63d9b3;padding:7px 12px;background:#233840;border-radius:6px;flex:0 0 92px}.dash-event.exam .dash-event-date{border-color:#ffb16f}.dash-event strong{font-size:13px;display:block;line-height:1.6}.dash-event small,.dash-event-date span{display:block;font-size:12px;margin-top:5px;color:#b4c8d0}.dash-event>svg{width:16px;height:16px;flex:none;margin-left:auto;color:#9bc6b5}.dash-ring-layout{display:flex;gap:24px;align-items:center}.dash-ring{position:relative;flex:0 0 150px}.dash-ring svg{display:block;width:100%}.dash-ring>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.dash-ring strong{font-size:30px;font-weight:600;letter-spacing:-1px}.dash-ring span{font-size:12px;color:#b3c6cf}.dash-ring-key{flex:1;min-width:0}.dash-ring-key p{font-size:13px;display:flex;justify-content:space-between;gap:12px}.dash-ring-key small{font-size:12px;color:#b3c6cf;line-height:1.8;display:block;margin-top:18px}.dash-empty{text-align:center;padding:22px 10px}.dash-empty>span{color:#83dbba}.dash-empty>span svg{width:28px;height:28px}.dash-empty h3{font-size:17px;color:#edf5f6}.dash-empty p{color:#afc3cc;font-size:13px;line-height:1.8}.dash-empty .btn{background:#75dfb9;color:#122c24;border-color:#75dfb9}.dash-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:26px;font-size:12px;color:#afc3cc;line-height:1.8}.dash-bottom>span{display:flex;gap:8px;align-items:start}.dash-bottom svg{width:16px;height:16px;flex:none;margin-top:2px}.dash-bottom a{color:#8be9c9;white-space:nowrap}
@media(max-width:1100px){.dash-layout{grid-template-columns:1fr}.dash-heading h1{font-size:30px}.dash-ring-layout{max-width:440px}.dash-stat{padding:18px}.dash-stat-icon{width:38px;height:38px}}@media(max-width:600px){.dash-heading{align-items:stretch;flex-direction:column}.dash-stats{grid-template-columns:1fr;gap:12px}.dash-stat{grid-template-columns:1fr auto;padding:18px 20px}.dash-stat strong{font-size:32px}.dash-stat-icon{width:44px;height:44px}.dash-panel{padding:20px;border-radius:16px}.dash-ring{flex-basis:120px}.dash-ring-layout{gap:16px}.dash-bottom{flex-direction:column}.dash-panel-head{gap:10px}.dash-event{gap:10px}.dash-event-date{flex-basis:83px;padding:6px 8px}.dash-panel-head a{min-height:44px;display:inline-flex;align-items:center}.dash-heading .term-picker{width:100%}}
.dash-ring svg{height:auto;stroke:none}.dash-bars{stroke:none}.overview-theme .site-footer,.overview-theme .site-footer a{color:#b9c9d0}.overview-theme .side-nav .nav-link.active svg{color:#8be9c9}.overview-theme .breadcrumb{color:#b9c9d0}

.dash-course-load{margin-top:24px}.dash-load-row{display:grid;grid-template-columns:minmax(0,1fr) 160px minmax(85px,.4fr);align-items:center;gap:24px;border-top:1px solid #35454f;padding:16px 0}.dash-load-row strong{font-size:14px;line-height:1.7}.dash-load-row small{display:block;color:#b3c6cf;font-size:12px;margin-top:5px}.dash-load-row>span{font-size:13px}.dash-load-row svg{width:160px;height:12px;stroke:none}@media(max-width:600px){.dash-load-row{grid-template-columns:1fr auto;gap:14px}.dash-load-row svg{grid-column:1 / -1;grid-row:auto;width:100%}}
.overview-theme .mobile-brand,.overview-theme .site-footer strong{color:#d9e9ed}.overview-theme .site-footer p{color:#a4bac4}@media(max-width:600px){.dash-load-row>span{grid-column:2;grid-row:1}.dash-load-row svg{grid-row:2}}
.assignment-dialog{max-width:560px}.assignment-dialog .modal-head{padding:22px 24px 18px}.assignment-dialog .modal-head h2{font-size:24px}.assignment-quick-body{display:flex;flex-direction:column;gap:20px;padding:22px 24px}.assignment-date-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}.assignment-date-shortcuts .btn{min-height:36px;font-size:13px;padding:7px 14px}.assignment-extra{border-top:1px solid var(--line);padding-top:16px}.assignment-extra summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--ink);padding:8px 0}.assignment-extra summary span{font-weight:400;color:var(--muted);margin-left:8px;font-size:12px}.assignment-extra .field{margin-top:16px}.assignment-dialog .modal-foot{padding:16px 24px}.assignment-dialog .modal-body{min-height:0}@media(max-width:600px){.assignment-date-shortcuts .btn{min-height:44px}.assignment-dialog .modal-head,.assignment-quick-body{padding-left:20px;padding-right:20px}}

/* All priority levels have a distinct badge; selection also has a visible outline. */
.assignment-meta [class^="priority-"]{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:7px;font-size:12px;font-weight:600;border:1px solid transparent}
.assignment-meta .priority-low{color:#326b57;background:#edf7f1;border-color:#cce7d7}
.assignment-meta .priority-normal{color:#866012;background:#fff7e3;border-color:#eedba8}
.assignment-meta .priority-high{color:#a13e34;background:#fff0ec;border-color:#efc9c2}
.assignment-priority-picker{border:0;padding:0;margin:0;min-width:0}.assignment-priority-picker legend{font-size:13px;font-weight:600;margin-bottom:9px;color:var(--ink)}.assignment-priority-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.priority-option{position:relative;cursor:pointer}.priority-option input{position:absolute;opacity:0;width:1px;height:1px}.priority-option span{min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce3e7;border-radius:9px;font-size:13px;font-weight:500;background:#fff;color:#586a80;transition:background .15s,border-color .15s}.priority-option i{width:7px;height:7px;border-radius:50%;background:currentColor}.priority-option.priority-low{--priority-ink:#326b57;--priority-bg:#edf7f1;--priority-line:#83b59a}.priority-option.priority-normal{--priority-ink:#866012;--priority-bg:#fff7e3;--priority-line:#d1ae54}.priority-option.priority-high{--priority-ink:#a13e34;--priority-bg:#fff0ec;--priority-line:#d28f85}.priority-option span{color:var(--priority-ink)}.priority-option input:checked+span{background:var(--priority-bg);border-color:var(--priority-line);box-shadow:inset 0 0 0 1px var(--priority-line);font-weight:700}.priority-option input:focus-visible+span{outline:3px solid #294cc6;outline-offset:3px}.priority-option:hover span{background:var(--priority-bg)}

.profile-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 20px;
}
.profile-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}
.profile-card h2 { margin: 0; font-size: 1.125rem; }
.profile-cards > .form-error,
.profile-cards > .profile-actions { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .profile-cards { grid-template-columns: minmax(0, 1fr); }
  .profile-cards .profile-actions button { width: 100%; }
}

.profile-cards .profile-email { grid-column: 1 / -1; }
.profile-card .program-selection {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (min-width: 761px) {
  .profile-card {
    grid-row: span 4;
    grid-template-rows: subgrid;
    align-items: start;
  }
}

.login-password { position: relative; }
.login-password input { width: 100%; padding-right: 74px; }
.login-password button {
  position: absolute;
  inset: 2px 4px 2px auto;
  padding: 0 12px;
  background: transparent;
  border: 0;
  color: var(--green);
  font-weight: 600;
}

.login-surface {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
  min-height: calc(100svh - 96px);
  padding: clamp(40px, 8vw, 120px);
  background: linear-gradient(100deg, #113e4088, #102e34 68%), url('/assets/halic-lines.svg') left bottom / 65% auto no-repeat, #163e40;
  color: white;
}
.login-brand { justify-self: center; }
.login-brand .brand { font-size: clamp(32px, 5vw, 72px); letter-spacing: -.045em; }
.login-brand .brand-mark { width: 1.3em; height: 1.3em; border-radius: .28em; }
.login-brand .brand-mark svg { width: .88em; height: .88em; }
.login-fields { width: 100%; max-width: 380px; }
.login-fields h1 { margin: 0 0 28px; color: white; font-size: clamp(30px, 3vw, 44px); }
.login-fields .field { margin-bottom: 18px; }
.login-fields label, .login-fields .auth-bottom { color: #deeeea; }
.login-fields .btn.primary { background: #bceecb; color: #13392e; min-height: 46px; }
.login-fields .text-btn { color: #bceecb; }
.login-fields .form-error, .login-fields .field-error { color: #ffcbc5; }
.login-fields .auth-bottom { margin: 15px 0 0; font-size: 13px; }
@media (max-width: 700px) {
  .login-surface { grid-template-columns: minmax(0, 380px); justify-content: center; align-content: center; gap: 32px; padding: 36px 24px; }
  .login-brand { justify-self: start; }
}

#app:has(> .login-surface) {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: #102e34;
}
#app > .login-surface { flex: 1; min-height: auto; }
.login-surface + .site-footer {
  padding-inline: clamp(24px, 8vw, 120px);
  background: #102e34;
  border-top-color: #345357;
  color: #b5ccca;
}
.login-surface + .site-footer strong { color: #e0efeb; }
.login-surface + .site-footer p,
.login-surface + .site-footer a { color: #b5ccca; }
.login-surface + .site-footer a:is(:hover, :focus-visible) { color: #bceecb; }

:root {
  --surface-sage: #e5eee9;
  --surface-paper: #f6f9f6;
  --surface-edge: #c9d8d0;
}
.workspace:not(.overview-theme), .legal-layout, .auth-layout .auth-side {
  background: linear-gradient(135deg, #dceae4, var(--surface-sage) 48%, #eff1e9);
}
.workspace:not(.overview-theme) .topbar,
.legal-layout > header,
.modal-head, .modal-foot {
  background: #e4ede7;
  border-color: var(--surface-edge);
}
.workspace:not(.overview-theme) :is(.panel, .course-card, .history-term, .exam-period),
.legal-facts, .modal-body {
  background-color: var(--surface-paper);
  border-color: var(--surface-edge);
}
.legal-layout .site-footer, .auth-layout + .site-footer {
  background: #173a3e;
  color: #d0e0dc;
  border-color: #345357;
}
:is(.legal-layout .site-footer, .auth-layout + .site-footer) :is(strong, p, a) {
  color: #d0e0dc;
}
:is(.legal-layout .site-footer, .auth-layout + .site-footer) a:is(:hover, :focus-visible) {
  color: white;
}

.login-fields > p { color: #deeeea; margin-bottom: 22px; }
.login-fields .field small,
.login-fields .registration-notice { color: #c2d7d1; }
.login-fields .registration-notice a { color: #bceecb; text-decoration: underline; }
.login-fields .mail-note { background: #193f43; color: #deeeea; border-color: #48666a; }
.login-fields .mail-note a { color: #bceecb; }

.verification-email {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.verification-email input,
.login-fields .verification-email .btn { min-height: 46px; }
.verification-email input { width: 100%; border-start-end-radius: 0; border-end-end-radius: 0; }
.login-fields .verification-email .btn {
  padding-inline: 12px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  font-size: 13px;
  white-space: nowrap;
}
.verification-note { margin: 0 0 16px; color: #c2d7d1; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  #verification-code:not([hidden]) { animation: reveal-verification-code 220ms ease-out; }
}
@keyframes reveal-verification-code {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.course-selection { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:16px 0; }
.course-selection p { flex-basis:100%; margin:0; }
.course-choice { display:inline-flex; align-items:center; gap:6px; min-height:44px; cursor:pointer; }
.course-edit-label { display:none; }
@media (max-width:700px) {
  .course-edit-label { display:inline; }
  button[data-action="edit-course"] { width:auto; min-height:44px; padding-inline:8px; gap:5px; }
}

.assignment-group > h2 { margin: 0; padding: 18px 20px 8px; font-size: 1rem; }
.assignment-group + .assignment-group { border-top: 1px solid var(--line); }
.assignment-item:focus, .exam-period:focus { outline: 2px solid var(--green); outline-offset: -2px; }
.dash-agenda { margin-bottom: 24px; }
.dash-agenda h2 { margin-top: 0; }
.dash-agenda h3 { margin-bottom: 6px; font-size: 1rem; color: #c7d5dc; }
.dash-agenda .dash-event > div { min-width: 0; overflow-wrap: anywhere; }
.card-actions, .list-actions { flex-wrap: wrap; }

.history-year-group h2 { margin: 26px 0 10px; }
.history-record { margin: 10px 0; padding: 16px; }
.history-open { display:grid; width:100%; grid-template-columns:1fr auto; gap:7px;
  text-align:start; background:transparent; color:var(--ink); border:0; padding:4px 0 12px; }
.history-open span { grid-column:1 / -1; font-size:.9rem; }
.history-open svg { width:18px; }
.history-record summary { cursor:pointer; padding:12px 0; }
.prior-results { list-style:none; padding:0; margin:0; }
.prior-results li { padding:12px 0; border-bottom:1px solid var(--line); }
.prior-results small { display:block; margin:4px 0 8px; }
.forgot-password { align-self:start; margin-top:6px; }
[data-form="reset-password"] { margin-top:18px; }

.course-agenda{margin:12px 0 24px;background:#fff;border:1px solid var(--line);border-radius:12px}
.exam-course+.exam-course{border-top:1px solid var(--line)}
.agenda-line{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr)) 18px;align-items:center;gap:14px;padding:12px 18px}
summary.agenda-line{cursor:pointer;list-style:none}
.agenda-line::-webkit-details-marker{display:none}
.agenda-line>svg{width:16px;height:16px;color:var(--muted)}
.exam-course[open]>.agenda-line>svg{transform:rotate(90deg)}
.agenda-name,.agenda-date{display:grid;gap:3px;min-width:0;font-size:14px}
.agenda-line small{font-size:12px;color:var(--muted)}
.agenda-date time{font-variant-numeric:tabular-nums;color:var(--green);font-weight:600}
.agenda-detail{padding:0 18px 12px}
.agenda-detail .exam-period{border:0;border-top:1px solid var(--line);border-radius:0;padding:12px 0}
.agenda-detail h4{margin:0 0 6px}
@media(max-width:620px){
 .agenda-line{grid-template-columns:1fr 1fr 16px;gap:8px;padding:12px 14px}
 .agenda-name{grid-column:1/3;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
 .agenda-date{grid-row:2;display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;font-size:13px}
 .agenda-line>svg{grid-column:3;grid-row:1/3}
}
.exam-resources{margin:24px 0}.exam-resources>summary{cursor:pointer;font-weight:600;padding:12px 0}
[data-form="exam-search"] input{min-width:0;flex:1}[data-form="exam-search"]{flex-wrap:wrap}[data-form="exam-search"] .form-error:not(:empty){flex-basis:100%}
