@font-face{font-family:'DM Sans';src:url('/assets/dm-sans.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('/assets/instrument-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('/assets/instrument-italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
:root {
  color-scheme: light;
  --navy:#071426;--ink:#142438;--blue:#19334a;--gold:#d4af37;--bronze:#745a18;--ice:#f8f7f2;
  --line:#dddcd3;--muted:#53616a;--paper:#fffefa;--serif:'Instrument Serif',Georgia,'Times New Roman',serif;
  --sans:'DM Sans','Avenir Next',Avenir,system-ui,sans-serif;
  font-family:var(--sans);color:var(--ink);background:var(--ice);line-height:1.55;
}
*,*:before,*:after{box-sizing:border-box}
body{margin:0;min-width:286px}
button,input,select{font:inherit}
a{color:var(--bronze);text-underline-offset:3px}
button,a,input,select,summary{touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a87d12;outline-offset:3px}
button{cursor:pointer}
button:disabled{cursor:progress;opacity:.65}
h1,h2,h3,h4,p{margin:0 0 .72em}
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.035em;line-height:1.13;text-wrap:balance}
h1{font-size:clamp(2.55rem,4.8vw,4.7rem)}
h2{font-size:clamp(1.65rem,2.8vw,2.35rem)}
h3{font-size:1.45rem}
p{color:var(--muted)}
.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}
.kicker,.side-caption,.cover-foot{font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;font-weight:700}
.kicker{color:var(--bronze);display:block;margin-bottom:1em}
.brand{display:inline-flex;align-items:center;width:182px;max-width:100%;min-height:44px}
.brand img{display:block;width:100%;height:auto}
.auth-cover .brand{width:190px}
.skip{position:absolute;left:12px;top:-80px;padding:9px 15px;background:white;z-index:10}.skip:focus{top:12px}
.auth{min-height:100svh;display:grid;grid-template-columns:minmax(310px,.85fr) minmax(420px,1.15fr)}
.auth-cover,.side,.study-banner{background:var(--navy);color:#fff}
.auth-cover{position:relative;isolation:isolate;overflow:hidden;padding:clamp(26px,4.5vw,80px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:100svh;background:radial-gradient(at 100% 85%,#294243,transparent 60%),linear-gradient(135deg,#0b1a32,var(--navy) 65%)}
.auth-cover:before,.auth-cover:after{content:"";position:absolute;z-index:-1;width:85%;aspect-ratio:1;right:-42%;top:23%;border:1px solid #ccb26955;transform:rotate(32deg);border-radius:12%}
.auth-cover:after{right:-37%;width:92%;top:21%;border-color:#ccb26930}
.cover-type .kicker,.study-banner .kicker{color:#e4c968}
.cover-type p{color:#fff;font:400 clamp(3.6rem,7.2vw,7.8rem)/.98 var(--serif);letter-spacing:-.065em;margin:0}
.cover-type em{color:#dec46f}.cover-foot{color:#c5cdce;font-size:.64rem}
.auth-main{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:2.2rem;padding:clamp(24px,5vw,86px);background:var(--paper)}
.auth-main>div{width:100%;max-width:520px;align-self:center}
.auth-main footer,.small,.back{font-size:.87rem}
.auth-main footer a,.back,.side-foot a{color:var(--muted)}
.back{display:inline-block;margin-bottom:12px;text-decoration:none;font-weight:600}
.btn,.side-foot button{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:650;border-radius:8px;text-decoration:none}
.btn{min-height:46px;padding:10px 20px;color:white;background:var(--navy);border:1px solid var(--navy);transition:background .2s,transform .2s}
.btn:hover{background:var(--blue);transform:translateY(-1px)}.btn.gold{color:var(--navy);border-color:#dfc465;background:#e4c966}
.btn.outline{background:transparent;color:var(--ink);border:1px solid #9a9f9d}
.link{color:var(--bronze);background:transparent;border:none;padding:8px 0;text-decoration:underline;text-underline-offset:3px}
label,legend{font-size:.88rem;font-weight:650}
label{display:flex;flex-direction:column;gap:5px}
input:not([type=radio]):not([type=checkbox]),select{width:100%;min-width:0;min-height:46px;border:1px solid #aab1ae;background:white;color:var(--ink);border-radius:7px;padding:8px 12px}
input[type=checkbox],input[type=radio]{width:18px;height:18px;accent-color:var(--bronze);flex-shrink:0}
input.code{letter-spacing:.28em;font-size:1.45rem}
form{display:grid;gap:18px;margin:18px 0}fieldset{padding:0;border:0;margin:0;min-width:0}legend{margin-bottom:9px}
.auth-main form .btn{width:100%}.callout,.feedback{padding:16px 20px;background:#f5f0df;border:1px solid #e5d6a3;border-radius:9px;margin:18px 0}
.callout p,.feedback p:last-child{margin:4px 0 0}
.offer,.alternative{display:flex;flex-direction:row;align-items:center;gap:12px;border:1px solid var(--line);background:white;border-radius:8px;padding:12px;margin:9px 0;cursor:pointer}
.offer:has(:checked),.alternative:has(:checked){border-color:#9b7a24;background:#f8f3e4}.offer span{flex:1}.offer small,.students small{display:block;font-weight:450;color:var(--muted)}
.workspace{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100svh}
.side{display:flex;flex-direction:column;min-height:100svh;position:sticky;top:0;align-self:start;padding:30px 19px 20px}
.side>.brand{margin:0 7px 44px}.side-caption{color:#abb4bc;margin:0 12px 12px;font-size:.61rem}
.side nav{display:grid;gap:5px}.side nav a,.side-foot a,.side-foot button{font-size:.88rem}
.side nav a,.side-foot button{display:flex;align-items:center;gap:11px;color:#d4dbe1;text-decoration:none;border:1px solid transparent;padding:11px;border-radius:7px}
.side nav a[aria-current]{color:#f3dda0;background:#d5bd7217;border-color:#d5bd7240}
.side nav a:hover,.side-foot button:hover{background:#ffffff0d}
.side-foot{margin-top:auto;border-top:1px solid #ffffff23;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:20px 6px 0;gap:8px}
.side-foot a{color:#cbd3d9;text-decoration:none}.side-foot button{background:transparent;min-height:42px}
.desk{width:100%;min-width:0;max-width:1540px;padding:0 clamp(18px,4.4vw,77px) 70px}
.desk-top,.section-head,.row,.course-picker{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.desk-top{min-height:68px;border-bottom:1px solid var(--line);font-size:.83rem;color:var(--muted)}.desk-top b{color:#a7a394;margin:0 7px}.identity{color:var(--ink);overflow-wrap:anywhere}
.page-title{margin:clamp(25px,3.2vw,52px) 0 22px}.page-title h1{margin-bottom:6px}.page-title .kicker{margin-bottom:9px}
.course-picker{justify-content:flex-start;gap:14px;padding:10px 0 20px}.course-picker select{max-width:min(100%,580px)}
.study-banner{position:relative;isolation:isolate;overflow:hidden;border-radius:15px;padding:clamp(22px,3.2vw,42px);background:linear-gradient(110deg,#0b1a2f 25%,#173341)}
.study-banner>div:first-child{max-width:77%}.study-banner h2{font-size:clamp(1.9rem,3.3vw,3.25rem)}.study-banner p{color:#d7dfe0}
.banner-monogram{position:absolute;z-index:-1;bottom:-.21em;right:-.03em;color:#e4c9661d;font:italic 9rem/1 var(--serif);letter-spacing:-.14em}
.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}
.metric,.box{background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 20px #17263405}
.metric{display:flex;flex-direction:column;gap:6px;padding:18px 20px;min-width:0}.metric span,.metric small,small{color:var(--muted)}.metric strong{font:400 2.35rem/1.05 var(--serif)}.metric span{font-weight:650;font-size:.86rem}.metric small{font-size:.75rem}
.box{padding:clamp(17px,2.5vw,35px);margin:16px 0}.box h2,.section-head h2{margin-bottom:.35em}
.section-head{align-items:flex-start}.section-head>a{font-size:.87rem}
.empty{border:1px dashed #c7c4b7;padding:22px;margin:12px 0;background:#f9f8f2;border-radius:8px}.empty p{margin-bottom:0}.empty .btn{margin-top:16px}
.records,.students{list-style:none;padding:0;margin:8px 0 0}.records li,.students li,.plan-row{padding:12px 0;border-top:1px solid var(--line);}
.records li,.students li{display:flex;align-items:center;justify-content:space-between;gap:13px}.records li span,.students li a{overflow-wrap:anywhere}
.records small{white-space:normal;flex-shrink:0}.students li a:first-child{flex:1}.students li a{font-size:.88rem}.students span{font-size:.8rem}
.trend{display:grid;grid-template-columns:repeat(auto-fit,minmax(20px,1fr));gap:5px;list-style:none;padding:0;max-width:640px}
.trend li{height:29px;text-align:center;background:#f1dfcf;border-bottom:3px solid #976648;color:#573a28;border-radius:3px}
.trend .hit{background:#e0e9dd;border-color:#4f7757;color:#2e5136}
details{border-top:1px solid var(--line)}summary{padding:13px 0;font-weight:650;cursor:pointer}summary small{font-weight:450;padding-left:8px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.box form>.btn{justify-self:start}.row{justify-content:flex-start}
.row label{flex:1;min-width:145px}.row .btn{align-self:flex-end}
.pre,.stem{white-space:pre-line}.stem{font-size:1.05rem;color:var(--ink)}.reference{max-width:100%;max-height:420px;object-fit:contain}
.plan-row{display:grid;grid-template-columns:minmax(0,1fr) 78px 78px;gap:10px;align-items:center}.plan-row label{font-size:.74rem}.plan-row label.task{flex-direction:row;align-items:center;gap:10px;font-size:.91rem}.plan-row input[type=number]{min-height:36px;padding:4px 8px}.search{min-width:200px}
.loading,.recovery{padding:24px}.recovery{max-width:650px;margin:auto}
body:has(.recovery){background:var(--navy)}
#notice:not(:empty){position:fixed;z-index:11;bottom:20px;left:50%;transform:translateX(-50%);max-width:min(92vw,590px);color:#fff;background:#142a36;border:1px solid #d3bd77;border-radius:9px;padding:12px 17px;box-shadow:0 8px 24px #0003}
@media(max-width:850px){
  .workspace{grid-template-columns:1fr}.side{position:static;min-height:auto;display:block;padding:14px 18px}.side>.brand{margin:0 0 14px}.side-caption{display:none}
  .side nav{display:flex;flex-wrap:wrap;gap:3px}.side nav a{padding:7px;font-size:.78rem;min-height:40px}.side nav .icon{width:16px}
  .side-foot{margin:10px 0 0;padding:4px 0 0}.side-foot button{min-height:30px;padding:3px 8px}
  .desk-top{min-height:50px}.auth{grid-template-columns:.7fr 1fr}.auth-main{padding:26px}
}
@media(max-width:620px){
  .brand,.auth-cover .brand{width:174px}
  .auth{grid-template-columns:1fr}.auth-cover{min-height:0;padding:18px 24px}.cover-type,.cover-foot{display:none}.auth-main{min-height:calc(100svh - 81px);padding:22px}
  .metrics{gap:7px}.metric{padding:12px 8px}.metric strong{font-size:1.85rem}.metric small{font-size:.7rem}.metric span{font-size:.74rem}
  .fields{grid-template-columns:1fr}.study-banner>div:first-child{max-width:95%}
  .records li,.students li{flex-wrap:wrap}.students li>a:first-child{flex-basis:100%}.plan-row{grid-template-columns:minmax(0,1fr) 51px 56px}
  .offer{flex-wrap:wrap}.desk-top{gap:5px}.identity{max-width:55%}.section-head .search{width:100%}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
