@font-face{font-family:Rubik;src:url('/rubik-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Rubik;src:url('/rubik-bold.ttf') format('truetype');font-weight:650 900;font-display:swap}
:root{
  font-family:Rubik,system-ui,sans-serif;color:#211f37;background:#f6f7fb;font-synthesis:none;
  --text:#211f37;--muted:#62637a;--line:#e8e8f1;--surface:#fff;--bg:#f6f7fb;
  --violet:#463ed8;--violet-dark:#30289e;--violet-soft:#eeecff;--night:#211958;
  --lime:#def58d;--amber:#815019;--amber-bg:#fff1d6;--green:#256244;--green-bg:#e4f7e9;
  --radius:23px;--shadow:0 1px 2px #2d254005,0 14px 34px -30px #3f327c53;
}
*{box-sizing:border-box}
.recovery-subjects{border:1px solid var(--line);border-radius:10px;padding:12px;margin:0;display:grid;gap:9px;min-width:0}
.recovery-subjects legend{padding:0 5px;font-size:13px}
.recovery-subjects .checkline{margin:0}
.recovery-approvals{display:grid;gap:6px;margin:16px 0;color:var(--muted);font-size:13px}
.recovery-steps{display:grid;gap:10px;margin-top:16px}
.recovery-step{border:1px solid var(--line);border-radius:10px;overflow:hidden}
.recovery-step summary>span:first-child{display:grid;gap:7px;min-width:0;flex:1 1 0}
.recovery-step strong,.recovery-step small{overflow-wrap:anywhere}
.recovery-step small{font-size:12px;color:var(--muted);font-weight:400}
.recovery-step .compact-summary{padding:13px;align-items:flex-start;gap:10px}
.recovery-step .badge{flex-shrink:0;font-size:11px}
.recovery-next{display:grid;gap:7px;padding:12px 0;border-bottom:1px solid var(--line)}
.recovery-warning{margin-top:12px;padding-left:12px;border-left:2px solid #d7a549;color:var(--muted);line-height:1.5}
.recovery-summary>.button{margin-top:12px}
.recovery-action{margin-top:12px}
.recovery-archive{margin:20px 0;color:var(--muted);font-size:13px}
.recovery-editor input,.recovery-editor select{min-width:0;max-width:100%}
.recovery-summary,.recovery-check{margin-bottom:14px}
.recovery-check>h2,.recovery-list>h2{font-size:18px;font-weight:550;margin-bottom:12px}
.recovery-info{font-size:12px;color:var(--muted);margin-top:16px}
.recovery-info .field-help{margin-top:9px}
body{margin:0;min-width:0}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.66}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6d64f6;outline-offset:3px}
::selection{background:#d4ccff;color:#211958}
h1,h2,h3,p{margin:0}
h1,h2,h3,b,strong{font-weight:700}
svg.icon{width:22px;height:22px;display:inline-block;flex:none;vertical-align:middle}
a,button{touch-action:manipulation}
[hidden]{display:none!important}
.skip{position:fixed;left:12px;top:12px;z-index:20;padding:12px 16px;background:white;border-radius:10px;transform:translateY(-150%)}
.skip:focus{transform:translateY(0)}
#content:focus{outline:none}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;line-height:1.4;color:#544cb1}
.eyebrow i{width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--lime);flex:none}
.subtitle{color:var(--muted);line-height:1.5;font-size:15px}
.brand{display:inline-flex;align-items:center;gap:11px;white-space:nowrap}
.brand>span{display:grid;gap:3px}
.brand b{font-size:33px;line-height:.83;letter-spacing:-.09em;color:#221a51}
.brand small{font-size:8px;letter-spacing:.095em;color:#67657e;line-height:1.1;font-weight:700}
.brand-dot{color:#675eef}
.brand img{display:block}
.button{
  min-height:44px;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 16px;
  border:1px solid transparent;border-radius:12px;font-size:14px;font-weight:700;line-height:1.3;text-align:center;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.button .icon{width:18px;height:18px}
.primary{background:var(--violet);color:white}
.primary:hover{background:#382fbb}
.secondary{background:#f2f0ff;color:#3b32a9;border-color:#eae6ff}
.secondary:hover{background:#e9e5ff;border-color:#dcd5ff}
.white{background:#fff;color:#2e246f}
.white:hover{background:#eef0ff}
.icon-button{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;flex:none;background:#fff;border:1px solid var(--line);color:#504c75}
.icon-button:hover{background:var(--violet-soft);color:var(--violet-dark)}
.icon-button[aria-disabled=true]{opacity:.42;pointer-events:none}
.badge{font-size:11px;line-height:1.2;font-weight:700;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;min-height:26px;padding:5px 9px;border-radius:8px}
.badge .icon{width:13px;height:13px}
.icon-box{width:40px;height:40px;border-radius:13px;display:inline-grid;place-items:center;flex:none}
.purple,.icon-box{background:var(--violet-soft);color:var(--violet-dark)}
.blue,.icon-box.blue{background:#eaf0ff;color:#30489c}
.green,.icon-box.green{background:var(--green-bg);color:var(--green)}
.amber,.icon-box.amber{background:var(--amber-bg);color:var(--amber)}
.dark.icon-box{background:#463994;color:#eef0ff}
.text-link,.back{display:inline-flex;align-items:center;gap:6px;color:#443ac2;font-size:13px;font-weight:700;min-height:44px;flex:none}
.text-link:hover,.back:hover{text-decoration:underline;text-underline-offset:4px}
.text-link .icon,.back .icon{width:16px;height:16px}
.avatar{display:inline-grid;place-items:center;border-radius:13px;width:38px;height:38px;color:#4b3999;font-size:13px;font-weight:700;flex:none;background:#e9e2ff}
.avatar.mint{color:#225b42;background:#dff6e8}
.startup{display:grid;align-content:center;justify-items:center;gap:20px;min-height:100dvh;padding:24px;color:var(--muted)}
.toast{
  opacity:0;pointer-events:none;position:fixed;z-index:9;right:24px;bottom:24px;max-width:min(390px,calc(100vw - 48px));
  color:#fff;background:#251e55;padding:13px 18px;border-radius:14px;font-size:14px;line-height:1.45;
  box-shadow:0 8px 32px #16103932;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease;
}
.toast.show{opacity:1;transform:translateY(0)}
.login{min-height:100dvh;display:grid;grid-template-columns:minmax(380px,1.05fr) minmax(390px,1fr);background:white}
.login-scene{min-height:100dvh;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:42px 48px;
  color:white;background:#101944 linear-gradient(145deg,#20175805,#140e3d22 40%,#1c154bdc 100%);isolation:isolate;overflow:hidden}
.login-scene::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#10184155 0%,#0d133900 32%,#171242e8 88%),url('/campus.jpg') 62% center/cover;z-index:-1}
.login-scene .brand b,.login-scene .brand small{color:white}
.login-scene .brand-dot,.login-scene-copy p span{color:var(--lime)}
.login-scene-copy{margin:10vh 0 0;max-width:570px}
.login-scene-copy .eyebrow{color:#e9e4ff;display:flex;align-items:center;gap:8px}
.login-scene-copy p{font-size:clamp(48px,6.4vw,102px);font-weight:700;letter-spacing:-.075em;line-height:.98;margin:16px 0 19px}
.login-scene-copy>span:last-child{font-size:16px;color:#f1eff8}
.scene-credit{font-size:12px;color:#ece9ff;margin-top:30px}
.login-area{display:grid;align-content:center;justify-items:center;min-width:0;padding:46px}
.login-mobile-brand{display:none}
.login-content{width:min(100%,410px)}
.login-content h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.052em;line-height:1.13;margin:18px 0 9px}
.login-content form{margin:29px 0 22px}
form{display:grid;gap:10px}
form label{font-weight:700;font-size:13px;margin-top:6px}
form label span{color:var(--muted);font-weight:400}
input,select,textarea{width:100%;min-width:0;border:1px solid #d9d9e7;background:#fff;border-radius:12px;color:var(--text);padding:13px 14px;min-height:46px;font-size:16px}
input::placeholder,textarea::placeholder{color:#77798e}
textarea{resize:vertical;line-height:1.5}
.password{position:relative}
.password input{padding-right:52px}
.password .icon-button{position:absolute;top:1px;right:1px;border:0;width:44px;height:44px;background:transparent}
.login-submit{margin-top:7px;justify-content:space-between;min-height:50px;padding-inline:17px}
.login-note{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.55;color:var(--muted)}
.login-note .icon{width:17px;height:17px;color:#574eb5}
.form-error{color:#90263e;background:#ffeef1;padding:10px 12px;border-radius:9px;font-size:13px;line-height:1.45}
.layout{min-height:100dvh;display:grid;grid-template-columns:242px minmax(0,1fr)}
.sidebar{position:sticky;top:0;align-self:start;height:100dvh;overflow:auto;display:flex;flex-direction:column;background:white;border-right:1px solid var(--line);padding:26px 17px 17px}
.brand-link{padding:5px 12px;align-self:flex-start;margin-bottom:43px}
.sidebar nav{display:grid;gap:5px}
.nav-link{min-height:47px;display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:12px;color:#53546e;font-size:14px;white-space:nowrap}
.nav-link:hover{background:#f5f3ff;color:var(--violet-dark)}
.nav-link.active{color:#382daf;background:#ece9ff;font-weight:700}
.nav-link .icon{width:20px;height:20px}
.nav-count{margin-left:auto;color:#3c30ae;background:#e5e0ff;padding:3px 6px;font-size:11px;font-weight:700;border-radius:6px}
.rail-bottom{margin-top:auto;padding-top:22px}
.demo-card{display:flex;align-items:flex-start;gap:9px;background:#f6f5ff;border:1px solid #eeebff;padding:13px 11px;border-radius:13px;color:#4d4390}
.demo-card .icon{width:17px;height:17px}
.demo-card b,.demo-card span{display:block}
.demo-card b{font-size:11px;margin-bottom:4px}
.demo-card span{color:#6c6487;font-size:10.5px;line-height:1.3}
.logout{width:100%;display:flex;align-items:center;gap:9px;font-size:13px;color:#5f5d73;background:none;border:0;min-height:44px;border-radius:12px;padding:8px 12px;margin-top:7px}
.logout .icon{width:18px;height:18px}
.logout:hover{background:#f7f4ff;color:#443aab}
.stage{min-width:0;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;justify-content:space-between;min-height:75px;padding:0 31px;border-bottom:1px solid var(--line);background:white}
.top-label{font-size:14px;color:#57586e}
.desktop-label{font-weight:700}
.mobile-brand,.mobile-nav{display:none}
.top-tools{display:flex;align-items:center;gap:13px}
.profile-link{min-height:50px;display:flex;align-items:center;gap:10px;border-radius:12px;padding:4px 6px 4px 4px}
.profile-link:hover{background:#f6f4ff}
.profile-copy{display:grid;gap:3px;font-size:13px}
.profile-copy span{font-size:11px;color:var(--muted)}
.profile-chevron{width:15px!important;height:15px!important;color:#827d99;margin-left:2px}
.unread-dot{width:8px;height:8px;border:2px solid white;background:#5e50ee;position:absolute;top:7px;right:9px;border-radius:50%;box-sizing:content-box}
.content{width:min(100%,1260px);margin-inline:auto;padding:27px 31px 34px;flex:1}
.footer{width:min(100%,1260px);margin-inline:auto;display:flex;justify-content:space-between;gap:12px;padding:0 31px 19px;color:#6c6d81;font-size:11px;line-height:1.5}
.hero{background:#23195f linear-gradient(110deg,#261e61,#342a79);color:white;isolation:isolate;position:relative;overflow:hidden;border-radius:26px;
  padding:29px 31px;min-height:233px;display:flex;align-items:center}
.hero::before{position:absolute;content:"";inset:0 0 0 34%;background:linear-gradient(90deg,#2c225f 0%,#2c225f05 54%),url('/campus.jpg') 50% 56%/cover;z-index:-1}
.hero-copy{max-width:410px}
.hero .eyebrow{color:#ebe8ff;display:flex;align-items:center;gap:8px;text-transform:uppercase}
.hero h1{margin:10px 0 6px;font-size:clamp(39px,4.8vw,67px);line-height:1;letter-spacing:-.062em}
.hero h1 span{color:var(--lime)}
.hero p:not(.eyebrow){color:#f0eeff;font-size:14px;line-height:1.55;max-width:330px;margin-bottom:15px}
.hero .button{flex-direction:row-reverse;padding-inline:12px}
.hero-code{position:absolute;right:17px;top:17px;display:flex;align-items:center;gap:7px;font-weight:700;font-size:11px;background:#211958e6;color:#fff;border:1px solid #ffffff45;border-radius:9px;padding:7px 8px}
.hero-code span{width:6px;height:6px;background:var(--lime);border-radius:50%}
.home-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(255px,1fr);gap:17px;margin-top:17px;align-items:stretch}
.recovery-shortcut{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:56px;margin-top:14px;padding:9px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;color:inherit}
.recovery-shortcut:hover{border-color:#776aeb}
.recovery-shortcut-copy{display:grid;gap:3px;line-height:1.33}
.recovery-shortcut-copy strong{font-size:14px}
.recovery-shortcut-copy > span{color:var(--muted);font-size:12px}
.recovery-shortcut > svg{color:var(--violet);width:16px;height:16px}
.panel{border:1px solid var(--line);background:white;border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;overflow:hidden}
.today-pairs,.focus-panel,.home-requests,.home-study,.day-panel,.grades,.notices-panel,.requests-panel,.detail-panel,.calendar-panel,.form-panel{padding:19px 21px}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;margin-bottom:7px}
.panel-head h2{font-size:20px;letter-spacing:-.035em;line-height:1.2}
.pair{display:grid;grid-template-columns:55px 3px minmax(0,1fr) auto;gap:11px;align-items:center;min-width:0;min-height:76px;border-top:1px solid #ededf5;padding:10px 1px}
.pair-focused{background:#f3f0ff;outline:2px solid #afa6ff;outline-offset:-2px;border-radius:10px;padding-inline:8px}
.pair-time{font-variant-numeric:tabular-nums;display:grid;gap:4px}
.pair-time b{font-size:14px;color:#2d2851}
.pair-time span,.pair-detail p{color:var(--muted);font-size:12px;line-height:1.4}
.pair-line{min-height:43px;height:80%;border-radius:7px;background:#bfb6fa}
.pair-line.changed{background:#df9d46}
.pair-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:3px}
.pair h3{font-size:14px;line-height:1.35}
.pair .badge{min-height:21px;padding:3px 6px;font-size:10px}
.old-place{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:4px;color:#805318!important}
.old-place .icon{width:14px;height:14px}
.old-place del{color:#696071}
.room{font-size:11px;font-weight:700;color:#5b527c;background:#f4f2fb;border-radius:8px;padding:7px 8px;white-space:nowrap}
.room .icon{width:13px;height:13px;margin-right:4px}
.focus-panel .panel-head{margin-bottom:9px}
.focus-item{display:block;border:1px solid transparent;border-radius:15px;padding:11px 12px;margin-top:7px;transition:border-color .15s ease}
.focus-change{background:#fff7e8;color:#573817}
.focus-study{background:#f3f0ff;color:#42318a}
.focus-change:hover{border-color:#ecd1a7}
.focus-study:hover{border-color:#cfc6ff}
.focus-top{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700}
.focus-top>.icon:last-child{margin-left:auto;width:15px;height:15px}
.focus-top .icon-box{width:26px;height:26px;border-radius:8px}
.focus-top .icon-box .icon{width:15px;height:15px}
.focus-item strong{display:block;margin-top:6px;font-size:14px;line-height:1.3}
.focus-item p{font-size:11px;margin-top:4px;line-height:1.4}
.request-row,.grade-row{min-height:64px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;border-top:1px solid #ededf5;padding:8px 1px}
.request-row:hover,.grade-row:hover{background:#faf9ff}
.request-copy,.grade-description{display:grid;gap:4px;min-width:0}
.request-copy b,.grade-description b{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.request-copy>span,.grade-description>span{color:var(--muted);font-size:12px;line-height:1.4}
.request-arrow,.row-arrow{color:#837aa6;width:16px!important;height:16px!important}
.home-requests>.button{margin-top:9px}
.overview-count{display:flex;align-items:center;gap:9px;color:#4d3db5;margin:8px 0}
.overview-count strong{font-size:46px;line-height:1;letter-spacing:-.07em}
.overview-count span{font-size:12px;line-height:1.4;color:var(--muted)}
.progress{width:100%;height:7px;display:block;border:0;border-radius:10px;background:#eae6ff;overflow:hidden;margin-bottom:5px;appearance:none}
.progress::-webkit-progress-bar{background:#eae6ff}
.progress::-webkit-progress-value{background:#6a56e7;border-radius:10px}
.progress::-moz-progress-bar{background:#6a56e7;border-radius:10px}
.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin:4px 0 23px}
.page-heading h1{font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.055em;overflow-wrap:anywhere;margin:5px 0 7px}
.page-heading>.button,.page-heading>.badge{flex:none;margin-bottom:1px}
.back{margin-top:-8px;margin-bottom:3px}
.calendar-panel{margin-bottom:16px}
.week-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.week-toolbar h2{font-size:23px;letter-spacing:-.035em;margin-top:4px}
.week-controls{display:flex;align-items:center;gap:6px}
.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.day{background:#f7f7fc;border:1px solid #ededf5;color:#484361;border-radius:13px;display:grid;justify-items:center;gap:4px;padding:9px 1px 7px;font-size:12px;line-height:1.05}
.day b{font-size:20px}
.day:hover{background:#eeeaff}
.day.selected{background:#4940d2;border-color:#4940d2;color:white}
.day-dot{width:5px;height:5px;border-radius:50%;background:#a89ae4;margin-top:3px}
.day-dot.moved{background:#c37622}
.day.selected .day-dot.moved{background:#ffdb92}
.day.selected .day-dot.classes{background:#e1d9ff}
.day-dot.none{visibility:hidden}
.day-panel .pair{min-height:84px}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:15px}
.metric{padding:16px 18px 13px;border:1px solid var(--line);background:white;color:#302554;border-radius:18px;min-width:0}
.metric.dark{background:#282066;color:#f9f7ff;border-color:#282066}
.metric>.icon-box{width:34px;height:34px;border-radius:10px}
.metric>.icon-box .icon{width:20px;height:20px}
.metric p{font-size:12px;margin:8px 0 4px;line-height:1.3;color:#666079}
.metric.dark p{color:#e6dfff}
.metric strong{font-size:33px;letter-spacing:-.045em;line-height:1.1}
.metric strong small{font-size:16px;opacity:.75}
.session-banner{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:15px;border-radius:16px;border:1px solid #e5ddff;background:#f4f0ff;color:#392880}
.session-banner:hover{background:#ece5ff}
.session-banner>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0;font-size:14px}
.session-banner>span:nth-child(2)>span{font-size:12px;line-height:1.35}
.segments{display:flex;gap:4px;flex-wrap:wrap;margin:3px 0 11px}
.segments button{border:0;background:white;color:#5a5572;min-height:44px;padding:7px 12px;border-radius:10px;font-size:13px}
.segments button:hover{background:#f7f5ff}
.segments button[aria-pressed=true]{background:#ede9ff;color:#3d31a0;font-weight:700}
.hint{display:flex;align-items:flex-start;gap:8px;color:#625975;background:#f0edfb;border:1px solid #eae4fb;border-radius:13px;padding:11px 12px;margin-top:12px;font-size:12px;line-height:1.45}
.hint .icon{width:17px;height:17px}
.hint.green{color:var(--green);background:var(--green-bg);border-color:#d6efe0}
.type-list{display:grid;gap:11px;max-width:720px}
.type-card{min-height:81px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 17px;border:1px solid var(--line);border-radius:17px;background:white;box-shadow:var(--shadow)}
.type-card:hover{border-color:#b8aaf2;background:#faf8ff}
.type-card h2{font-size:16px;line-height:1.3;margin-bottom:4px}
.type-card p{font-size:13px;color:var(--muted);line-height:1.4}
.type-card>.icon{color:#7464ad;width:18px;height:18px}
.form-panel{max-width:660px}
.form-profile{display:flex;align-items:center;gap:10px;background:#f5f2ff;border-radius:13px;padding:11px;margin-bottom:12px}
.form-profile>span:last-child{display:grid;gap:4px;font-size:14px}
.form-profile>span:last-child>span{font-size:12px;color:#625980;line-height:1.35}
.form-panel form>.button{justify-self:start;min-height:46px;margin-top:4px}
.field-help{font-size:12px;color:var(--muted);line-height:1.4}
.detail-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(215px,1fr);gap:14px;align-items:start}
.timeline{list-style:none;margin:5px 0 17px;padding:0}
.timeline li{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:start;min-height:55px;padding:9px 0;color:#6f6c84}
.timeline li:not(:last-child)::before{position:absolute;content:"";background:#eeebf6;width:2px;left:16px;top:37px;bottom:-10px}
.timeline .step-dot{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f1eff7;z-index:1;font-weight:700;font-size:13px}
.step-dot .icon{width:17px;height:17px}
.timeline li.reached{color:#31255f}
.timeline li.reached .step-dot{background:#e8e2ff;color:#493ab9}
.timeline li.current .step-dot{background:#4c40d1;color:white}
.timeline li b{font-size:14px;line-height:1.4}
.timeline li p,.timeline li time{font-size:12px;line-height:1.4;margin-top:3px}
.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:0;margin:8px 0 17px}
.details-grid.single{grid-template-columns:1fr}
.details-grid div{padding:10px 0;border-top:1px solid #eeedf4}
.details-grid dt{font-size:12px;color:var(--muted);margin-bottom:4px}
.details-grid dd{font-size:14px;font-weight:700;line-height:1.5;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.profile-panel{max-width:740px}
.profile-hero{display:flex;align-items:center;gap:12px;padding-bottom:10px}
.profile-hero h2{font-size:21px;line-height:1.25;letter-spacing:-.03em}
.profile-hero p{font-size:12px;color:var(--muted);margin-top:4px}
.profile-hero .avatar{width:53px;height:53px;font-size:19px;border-radius:16px}
.notice{border-top:1px solid #eeedf4;padding:13px 0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:11px}
.notice h2{margin:6px 0;font-size:16px;line-height:1.3}
.notice p{color:var(--muted);font-size:13px;line-height:1.5}
.notice-meta{display:flex;align-items:center;gap:8px;color:#69617e;font-size:11px}
.notice .mark-read{width:44px;height:44px}
.notice .mark-read .icon{width:17px;height:17px}
.inline-unread{display:inline-block;background:#6250e7;width:6px;height:6px;border-radius:50%;vertical-align:middle;margin-left:7px}
.empty{display:grid;justify-items:center;text-align:center;gap:7px;padding:28px 12px}
.empty h3{font-size:18px;line-height:1.2}
.empty p{font-size:13px;color:var(--muted);line-height:1.45}
.empty>.button{margin-top:5px}
.print-sheet{max-width:740px;background:white;margin:36px auto;padding:24px;border:1px solid var(--line);border-radius:16px;font-size:15px;line-height:1.65}
.print-sheet h1{font-size:31px;line-height:1.2;margin:10px 0}
.print-sheet hr{border:0;border-top:1px solid #dedbe9;margin:18px 0}
.print-warning{margin-top:18px;color:#6b4371}
@media(max-width:1100px){
  .layout{grid-template-columns:209px minmax(0,1fr)}
  .sidebar{padding-inline:13px}
  .topbar,.content,.footer{padding-inline:23px}
  .home-grid{grid-template-columns:minmax(0,1.52fr) minmax(220px,1fr);gap:13px}
  .today-pairs,.focus-panel,.home-requests,.home-study{padding-inline:15px}
}
@media(max-width:880px){
  .layout{display:block}
  .sidebar,.desktop-label{display:none}
  .mobile-brand{display:inline-flex}
  .topbar{min-height:63px;padding-inline:18px}
  .mobile-brand img{width:34px;height:34px}
  .mobile-brand b{font-size:28px}
  .mobile-brand small{font-size:7px}
  .mobile-nav{position:fixed;z-index:6;bottom:0;inset-inline:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;
    padding:5px max(7px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));background:#fff;border-top:1px solid var(--line);box-shadow:0 -5px 23px #29205c0b}
  .mobile-nav .nav-link{flex-direction:column;justify-content:center;gap:3px;padding:5px 1px;min-height:46px;font-size:10px;border-radius:10px}
  .mobile-nav .nav-link .icon{width:19px;height:19px}
  .footer{padding-bottom:calc(69px + env(safe-area-inset-bottom))}
  .toast{bottom:calc(71px + env(safe-area-inset-bottom))}
}
@media(max-width:630px){
  .topbar{padding-inline:12px}
  .top-tools{gap:6px}
  .profile-copy,.profile-chevron{display:none!important}
  .profile-link{justify-content:center;min-width:44px;min-height:44px;padding:3px}
  .content{padding:12px 12px 20px}
  .footer{padding-inline:12px;flex-direction:column;gap:3px}
  .hero{padding:21px 16px;min-height:211px;border-radius:19px}
  .hero::before{inset:0;background:linear-gradient(85deg,#251a60 12%,#241b61e8 39%,#38216540 100%),url('/campus.jpg') 66% 54%/cover}
  .hero h1{font-size:clamp(36px,8.6vw,47px);margin-block:8px}
  .hero p:not(.eyebrow){max-width:238px;font-size:13px;margin-bottom:10px}
  .hero .eyebrow{font-size:9px;letter-spacing:.07em;padding-right:50px}
  .hero-code{right:9px;top:9px;font-size:9px;padding:5px 6px}
  .home-grid{grid-template-columns:1fr;margin-top:11px;gap:11px}
  .focus-panel{grid-row:1}
  .focus-panel .panel-head{min-height:27px;margin-bottom:4px}
  .focus-item{padding:8px 10px}
  .focus-item strong{margin-top:4px}
  .focus-item p{margin-top:2px}
  .today-pairs,.focus-panel,.home-requests,.home-study,.calendar-panel,.day-panel,.grades,.notices-panel,.requests-panel,.detail-panel,.form-panel{padding:12px 13px}
  .panel{border-radius:17px}
  .panel-head h2{font-size:18px}
  .panel-head .text-link{font-size:12px}
  .pair{grid-template-columns:42px 3px minmax(0,1fr) auto;gap:6px;min-height:72px}
  .pair h3{font-size:13px}
  .pair-time b{font-size:13px}
  .pair-time span,.pair-detail p{font-size:11px}
  .room{font-size:10px;padding:6px;align-self:start;margin-top:3px}
  .room .icon{display:none}
  .request-row,.grade-row{grid-template-columns:auto minmax(0,1fr) auto;gap:7px}
  .request-row .icon-box,.grade-row .icon-box{width:34px;height:34px;border-radius:10px}
  .request-row .icon-box .icon,.grade-row .icon-box .icon{width:18px;height:18px}
  .request-arrow,.row-arrow{display:none!important}
  .request-copy b,.grade-description b{font-size:13px}
  .request-copy>span,.grade-description>span{font-size:11px}
  .page-heading{margin:9px 1px 14px;align-items:flex-start;flex-direction:column;gap:10px}
  .page-heading h1{font-size:32px}
  .page-heading .subtitle{font-size:13px}
  .week-toolbar h2{font-size:17px}
  .week-toolbar .eyebrow{font-size:9px}
  .week-controls{gap:4px}
  .week-controls .button{font-size:11px;padding-inline:7px}
  .week-controls .icon-button{width:44px}
  .week-days{gap:4px}
  .day{border-radius:9px}
  .day b{font-size:18px}
  .metrics{gap:6px}
  .metric{padding:11px 8px;border-radius:13px}
  .metric p{font-size:11px;min-height:26px}
  .metric strong{font-size:29px}
  .detail-columns{grid-template-columns:1fr;gap:9px}
  .details-grid{column-gap:9px}
  .profile-hero h2{font-size:18px}
  .notice{gap:7px}
  .notice>.icon-box{width:30px;height:30px;border-radius:9px}
  .notice>.icon-box .icon{width:17px;height:17px}
  .notice h2{font-size:14px}
  .notice p{font-size:12px}
  .login{display:block;background:white}
  .login-scene{display:none}
  .login-area{padding:21px 16px 26px;align-content:start;min-height:100dvh}
  .login-mobile-brand{display:block;justify-self:start;margin-bottom:0}
  .login-content{margin-top:8vh}
  .login-content h1{font-size:35px;margin-top:14px}
  .login-content form{margin-top:22px}
  .toast{right:12px;max-width:calc(100vw - 24px)}
}
@media(min-width:631px) and (max-width:830px){
  .login{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
  .login-scene,.login-area{padding-inline:23px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.print-sheet{border:0;margin:0;max-width:none}}
@media(min-width:881px) and (max-height:780px){
  .topbar{min-height:65px}
  .content{padding-top:21px}
  .hero{min-height:213px;padding-block:20px}
  .hero h1{font-size:clamp(41px,4.5vw,60px)}
  .today-pairs,.focus-panel{padding-block:15px}
  .today-pairs .pair{min-height:69px}
}
.processing-help{margin-bottom:10px}
.calendar-export{margin-top:9px}

@font-face{font-family:Inter;src:url('/inter-cyrillic.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;src:url('/inter-latin.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{font-family:Inter,system-ui,sans-serif}
.sidebar,.brand,.mobile-nav{font-family:Rubik,system-ui,sans-serif}
h2,h3,b,strong, label,.button,.text-link,.back,.badge,.eyebrow{font-weight:600}
.hero h1,.page-heading h1,.login-content h1{font-weight:700;letter-spacing:-.047em}
.login-scene-copy p{font-weight:650}
.hero h1,.page-heading h1{line-height:1.06}
.pair h3{font-size:14px}
.nav-link.active,.brand b{font-weight:700}
.avatar{overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover}
.action-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.service-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,1fr);gap:16px;align-items:start}
.service-columns.cards{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}
.dashboard-links{margin-top:16px}
.profile-preferences .panel-head{margin-bottom:4px}
.profile-preferences .field-help{margin-bottom:9px}
.profile-preferences hr{border:0;border-top:1px solid var(--line);margin:17px 0}
.profile-preferences h2{font-size:18px;margin-bottom:5px}
.contact-email{font-size:13px;overflow-wrap:anywhere;color:var(--text);margin:7px 0}
.profile-exit{margin-top:14px}
.checkline{display:flex;align-items:center;gap:9px;min-height:44px;line-height:1.35;font-size:13px;color:var(--text);margin:4px 0}
.checkline input{flex:none;width:17px;height:17px;min-height:0;padding:0;margin:0;accent-color:var(--violet)}
input[type=file]{font-size:13px;padding:8px;line-height:1.5}
input[type=file]::file-selector-button{font:inherit;background:var(--violet-soft);color:var(--violet-dark);border:0;border-radius:7px;padding:6px 8px;margin-right:8px;cursor:pointer}
.roster,.messages{display:grid;gap:7px;margin-bottom:13px}
.roster-row,.ticket-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:center;min-height:55px;padding:9px 0;border-top:1px solid var(--line)}
.ticket-row{grid-template-columns:auto minmax(0,1fr) auto;padding:9px 5px}
.ticket-row:hover{background:#faf9ff}
.roster-row p,.ticket-row p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.4;overflow-wrap:anywhere}
.ticket-row strong,.roster-row strong{font-size:14px}
.message-system{display:flex;gap:9px;align-items:center;padding:10px;background:#f3f1ff;color:var(--violet-dark);font-size:13px;border-radius:10px;line-height:1.4}
.message-system .icon{width:17px}
.message-bubble{padding:12px 14px;background:#f7f7fc;border:1px solid var(--line);border-radius:13px}
.message-bubble.staff-reply{background:#eef9f1;border-color:#e0f2e5}
.message-bubble>span{color:var(--muted);display:block;font-size:12px;margin-bottom:6px}
.message-bubble p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.message-bubble .text-link{overflow-wrap:anywhere;max-width:100%}
.staff-layout .content{max-width:1050px}
.staff-layout .topbar{gap:6px}
.attendance-row{display:grid;grid-template-columns:minmax(0,170px) minmax(115px,1fr) auto;align-items:center;gap:8px;border-top:1px solid var(--line);padding:8px 0}
.attendance-row label{padding-right:5px}
.attendance-row .form-error{grid-column:1 / -1}
.calendar-modes{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:13px}
.calendar-modes .segments{margin:0}
.segments a{display:inline-flex;align-items:center;padding:8px 13px;min-height:42px;border-radius:10px;font-size:13px}
.segments a.active{background:#ede9ff;color:#3d31a0;font-weight:600}
.month-labels{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;margin:7px 0;color:var(--muted);font-size:12px}
.month-days .day{padding:7px;min-height:45px}
button.day{width:100%}
.today-date:not(.selected){border-color:#9387ec}
.selection-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin-bottom:13px}
.day-panel+.day-panel,.day-panel+.action-row{margin-top:12px}
.document-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.document-table{border-collapse:collapse;width:100%;font-size:13px;overflow-wrap:anywhere}
.document-table th,.document-table td{text-align:left;padding:7px 5px;border-bottom:1px solid var(--line)}
.document-table th{background:var(--violet-soft)}
@media(max-height:760px) and (min-width:881px){.sidebar .brand-link{margin-bottom:20px}}
@media(max-width:630px){
  .service-columns,.service-columns.cards{grid-template-columns:1fr;gap:11px}
  .calendar-modes{align-items:flex-start;flex-wrap:wrap}
  .calendar-modes>.button{min-height:42px;font-size:12px}
  .month-days .day{padding-inline:1px;min-height:44px}
  .ticket-row{grid-template-columns:auto minmax(0,1fr)}
  .ticket-row>.badge{grid-column:2;justify-self:start}
  .attendance-row{grid-template-columns:minmax(114px,1fr) auto;gap:6px}
  .attendance-row label{grid-column:1/-1}
  .attendance-row select{padding-inline:7px}
  .staff-layout .top-tools{gap:5px}
  .staff-layout .topbar .button{padding-inline:9px}
  .print-sheet{margin:10px;padding:13px}
  .print-sheet h1{font-size:25px}
}
@media print{.document-actions{display:none}}
.session-plan{margin-bottom:14px}
.session-plan .action-row,.course-actions,.attendance-note{margin-top:9px}

.course-actions>.action-row{margin-top:9px}

h2,h3,b,strong,label,.button,.badge,.text-link,.back{font-weight:570}
.hero h1,.page-heading h1,.login-content h1{font-weight:625;letter-spacing:-.045em}
.page-heading h1{font-size:clamp(29px,4vw,43px)}
.footer>a:hover{text-decoration:underline}
.nav-link{touch-action:manipulation}
@media(hover:none){.mobile-nav .nav-link:not(.active):hover{background:transparent;color:inherit}}
@media(max-width:880px){.mobile-nav{z-index:10}.mobile-nav .nav-link{min-height:46px}}

.loading-inline{margin:17px 4px;color:var(--muted);font-size:14px}
.semester-tabs,.staff-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}
.semester-tabs a,.staff-tabs a{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:9px 13px;min-height:44px;color:var(--muted)}
.semester-tabs a{display:grid;flex:1;gap:3px;min-width:92px}
.semester-tabs a span{font-size:11px}
.semester-tabs a b,.staff-tabs a{font-size:13px}
.semester-tabs a[aria-current],.staff-tabs a[aria-current]{background:var(--violet-soft);border-color:#d9d2ff;color:var(--violet-dark)}
.staff-tabs a{display:inline-flex;align-items:center}
.pair-grades{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
.pair-grades:empty{display:none}
.pair-grades .badge{white-space:normal}
.absence-link:hover{text-decoration:underline}
.teacher-directory,.staff-quick,.public-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}
.directory-controls{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:13px}
.directory-controls a.button{min-height:44px}
.staff-quick,.journal-groups{margin-bottom:16px}
.staff-form label{display:grid;gap:6px}
.staff-form .checkline{display:flex}
.staff-form button[type=submit]{justify-self:start}
.staff-calendar{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:11px;margin-top:12px}
.work-day{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;min-width:0}
.work-day.work-today{border-color:#bcb2fa;background:#fdfcff}
.work-day-title{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:9px}
.work-day-title h3{font-size:14px}
.work-lesson{padding:10px 0;border-top:1px solid var(--line)}
.work-lesson-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 9px;margin-bottom:7px;color:var(--muted);font-size:12px}
.work-lesson-meta time{color:var(--violet-dark);font-variant-numeric:tabular-nums;font-weight:570}
.work-lesson strong,.staff-entry strong{font-size:14px}
.work-lesson p,.record-row p,.staff-note{font-size:12px;color:var(--muted);line-height:1.45;margin:4px 0 7px}
.work-empty{padding-bottom:4px}
.work-lesson .button{padding:7px 9px;min-height:40px;font-size:12px}
.staff-entry,.record-row{border-top:1px solid var(--line);padding:12px 0}
.staff-entry .action-row{margin-top:8px}
.record-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.record-row>.button{font-size:13px}
.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
.staff-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.staff-details{border-top:1px solid var(--line);padding:10px 0;margin-top:8px}
.staff-details summary{cursor:pointer;min-height:44px;padding-block:12px}
.application-card summary span{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.grade-editor,.lesson-attendance{display:grid;grid-template-columns:1fr minmax(100px,1fr) auto;gap:9px;align-items:end;border-top:1px solid var(--line);padding:10px 0}
.grade-editor .form-error,.lesson-attendance .form-error{grid-column:1/-1}
.lesson-attendance{grid-template-columns:minmax(0,1fr) minmax(125px,1fr) minmax(100px,.75fr) auto}
.attendance-alert{margin-bottom:13px}
.attendance-metrics .metric strong{font-variant-numeric:tabular-nums}
.public-about{max-width:1000px;margin:auto}
.public-hero{padding:clamp(22px,5vw,56px);border-radius:24px;background:var(--night);color:white;margin-bottom:17px}
.public-hero .eyebrow{color:var(--lime)}
.public-hero h1{font-size:clamp(32px,5vw,63px);font-weight:630;line-height:1.06;margin:12px 0}
.public-hero p:not(.eyebrow),.public-roles p{line-height:1.5;margin:0 0 16px}
.public-roles{grid-template-columns:repeat(3,minmax(0,1fr))}
.public-roles h2{margin-bottom:7px}
.public-roles p{color:var(--muted);margin:0}
.public-project-hero{background:linear-gradient(90deg,#211958 24%,#211958e8 52%,#2119584f),url('/campus.jpg') 63% center/cover}
.public-hero p:not(.eyebrow){max-width:34rem}
.public-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:12px}
.public-hero-link{color:white;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px;padding-inline:8px}
.public-block{margin:25px 0 16px}
.public-block>h2,.public-feature>h2{font-size:21px;margin-bottom:9px}
.public-block>p,.public-feature>p{line-height:1.6;color:var(--muted);max-width:46rem}
.public-feature-grid,.public-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.public-role-grid h3{font-size:16px;margin-bottom:7px}
.public-feature .button{margin-top:13px}
.public-walkthrough h2{margin:0 0 8px}
.public-walkthrough ol{padding-left:22px;line-height:1.55;color:var(--muted);margin:8px 0 12px}
.public-walkthrough li+li{margin-top:7px}
.public-section-nav{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.public-section-nav a{display:inline-flex;align-items:center;min-height:44px;padding:7px 12px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--violet-dark);font-size:13px}
.public-section-nav a:hover{background:var(--violet-soft)}
.privacy-hero h1{font-size:clamp(25px,5vw,50px);overflow-wrap:anywhere}
.privacy-sections section[id],#walkthrough-title{scroll-margin-top:16px}
.public-footer{max-width:1000px;margin:auto}
@media(max-width:630px){
  .teacher-directory,.staff-quick,.public-roles,.public-feature-grid{grid-template-columns:1fr}
  .grade-editor,.lesson-attendance{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .grade-editor>.button,.lesson-attendance>.button{grid-column:1/-1;justify-self:start}
  .lesson-attendance>label{grid-column:1/-1}
  .staff-calendar{grid-template-columns:1fr}
  .staff-tabs{gap:5px}
  .staff-tabs a{padding-inline:9px}
  .attendance-metrics .metric{padding:8px}
  .attendance-metrics .metric p{font-size:11px}
}

.login-links,.footer-links{display:flex;gap:5px 16px;flex-wrap:wrap;align-items:center}
.footer-links a:hover{text-decoration:underline}
.privacy-page{max-width:880px;margin-inline:auto}
.privacy-sections{display:grid;gap:12px;margin-top:15px}
.privacy-sections h2,.guide-section h2{font-size:19px;margin-bottom:9px}
.privacy-sections p,.guide-section p{font-size:14px;line-height:1.6;margin:8px 0;color:var(--muted)}
.privacy-sections dl{margin:0}
.privacy-sections dl>div{padding:8px 0;border-top:1px solid var(--line)}
.privacy-sections dt{font-weight:590}
.privacy-sections dd{margin:5px 0 0;line-height:1.55;color:var(--muted);font-size:14px}
.guide-section{margin-top:13px}
.guide-section .action-row{margin-top:8px}
.service-catalog{display:grid;gap:16px}
.service-catalog h2{font-size:16px;margin:0 0 8px}
.privacy-link{color:var(--violet-dark);text-decoration:underline;text-underline-offset:2px}
.support-help-links{margin-bottom:14px}
.service-catalog .type-card h3{font-size:16px}

.case-contact{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:start;gap:14px;margin-bottom:14px}
.case-contact p:not(.eyebrow){font-size:13px;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}
.case-contact h2{margin:4px 0;font-size:18px}
.case-contact .button,.thread-actions,.recipient-line{margin-top:8px}
.recipient-line{padding:10px 12px;background:var(--violet-soft);border-radius:10px;margin-bottom:10px;color:var(--violet-dark);font-size:13px}
.schedule-modes{margin:0 0 13px}
.calendar-modes .schedule-modes{margin:0}
.schedule-modes a{min-height:44px}
.calendar-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:11px}
.calendar-month h2{font-size:16px}
.calendar-month p{font-size:13px;color:var(--muted);margin:7px 0}
.calendar-month .badge{margin-top:7px}
.pair-name:hover,.pair-name:focus-visible{text-decoration:underline}
.pair-name{color:var(--violet-dark)}
.choice-form{display:grid;gap:7px}
.choice-card{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;min-height:48px}
.choice-card span{display:grid;gap:3px;color:var(--text)}
.choice-card small{font-size:12px;color:var(--muted)}
.choice-card input{padding:0;width:16px;min-height:16px;height:16px;accent-color:var(--violet)}
.choice-form>.button,.module-editor>.button{justify-self:start}
.local-recipients{border:1px solid var(--line);border-radius:10px;padding:7px 12px}
.local-recipients legend{font-size:13px;color:var(--muted)}
.request-chooser label,.request-chooser select,#makeup-date label,#makeup-date input{display:block;width:100%}
.request-chooser select,#makeup-date input{margin:5px 0 8px}
.module-editor{margin-bottom:12px}
@media(max-width:630px){
  .calendar-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .calendar-month{padding:10px}
  .calendar-month .button{font-size:12px;padding-inline:8px}
  .schedule-modes a{padding:8px;font-size:12px}
}

:root {
  color: #202432;
  background: #f5f6f8;
  --text:#202432;--muted:#5d6576;--line:#e2e5eb;--bg:#f5f6f8;--violet:#4842bc;--violet-dark:#363193;
  --violet-soft:#eeedf9;--night:#252250;--radius:15px;--shadow:none;
}
.sidebar,.mobile-nav{font-family:Inter,system-ui,sans-serif}
.brand{font-family:Rubik,system-ui,sans-serif}
.brand{gap:9px}
.brand b{font-weight:700;letter-spacing:-.015em;line-height:1.04;font-size:30px;color:#202a42}
.brand small{font-family:Inter,system-ui,sans-serif;font-weight:560;letter-spacing:.09em;color:#646578}
.brand-dot{color:#514bc8}
.topbar{min-height:68px}
.sidebar .brand-link{margin-bottom:28px}
.nav-link,.nav-link.active,.segments a,.segments a.active,.segments button,.segments button[aria-pressed=true]{
  font-weight:520;
}
.nav-link{border-radius:8px;padding-inline:10px;gap:9px}
.nav-link.active{background:#eeedf9;color:#342f91;box-shadow:inset 2px 0 #6862d1}
.nav-link.active .icon{color:#514bb4}
@media(max-width:880px){.mobile-nav .nav-link.active{box-shadow:inset 0 2px #6862d1;background:#f4f3fb}}
.page-heading{margin-block:6px 20px}
.page-heading .eyebrow{display:none}
.page-heading h1{font-size:clamp(28px,4vw,39px);font-weight:625;letter-spacing:-.036em;margin-top:0}
.page-heading .subtitle{font-size:14px}
.panel{border-color:var(--line);box-shadow:none;border-radius:var(--radius)}
.icon-box{border-radius:9px}
.badge{width:max-content;max-width:100%;font-weight:560}
.button{border-radius:9px}
.secondary{border-color:var(--line);background:white;color:#3b4055}
.secondary:hover{background:#f2f3f8;border-color:#ccd0dd}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:2px solid #6962cd;outline-offset:2px
}
.eyebrow{font-weight:570;letter-spacing:.10em}
.work-nav{display:flex;gap:6px;align-items:stretch;justify-content:space-between;border-bottom:1px solid var(--line);margin:0 0 20px}
.work-nav-main{display:flex;align-items:stretch;gap:2px;min-width:0}
.work-nav a,.work-nav summary{font-size:13px;font-weight:520;min-height:44px;display:inline-flex;align-items:center;padding:8px 12px;gap:4px}
.work-nav-main a{border-bottom:2px solid transparent}
.work-nav-main a[aria-current]{border-bottom-color:#615ac9;color:#392f9b}
.work-nav-more{position:relative;margin-left:auto;flex:none}
.work-nav-more summary{cursor:pointer;list-style:none}
.work-nav-more summary::-webkit-details-marker{display:none}
.work-nav-more>div{position:absolute;right:0;top:100%;min-width:185px;background:white;border:1px solid var(--line);border-radius:11px;
  z-index:8;padding:5px;box-shadow:0 10px 24px #1920471a}
.work-nav-more>div a{display:flex;min-height:40px;border-radius:7px}
.work-nav-more>div a:hover,.work-nav-more>div a[aria-current]{background:var(--violet-soft);color:var(--violet-dark)}
.work-nav-more .icon{width:15px;height:15px}
.quiet-filter{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 13px}
.quiet-filter a{min-height:44px;padding:9px 12px;display:flex;align-items:center;border-radius:8px;font-size:13px;color:var(--muted)}
.quiet-filter a[aria-current]{color:var(--violet-dark);background:var(--violet-soft)}
.staff-calendar-board .quiet-filter{margin:10px 0 0}
.work-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:12px}
.work-day-link{display:grid;place-items:center;padding:6px 0;min-height:55px;gap:3px;color:var(--muted);border:1px solid var(--line);border-radius:9px;font-size:11px;min-width:0}
.work-day-link b{font-size:14px;font-weight:560}
.work-day-link[aria-current]{background:var(--violet-soft);border-color:#d7d2f1;color:var(--violet-dark)}
.work-day-link i{width:5px;height:5px;border-radius:50%;background:transparent}
.work-day-link i.with-pairs{background:#7872cf}
.staff-day{margin-top:12px}
.staff-day .work-day{padding:14px 16px;border-radius:var(--radius)}
.staff-day .work-lesson{padding:12px 0;display:grid;gap:5px}
.staff-day .work-lesson p{margin:0}
.staff-day .work-lesson-meta{justify-content:flex-start;gap:7px 14px;margin:0}
.staff-day .work-lesson>div:empty{display:none}
.staff-day .work-lesson .button{min-height:44px}
.roll-call,.roster-entries,.application-list{display:grid;gap:9px}
.roll-call>.button{justify-self:start}
.roster-entry{padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:white}
.roster-entry label,.grade-fields label,.journal-select label{display:grid;gap:5px}
.roster-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;margin-top:7px}
.roster-fields label{font-size:12px}
.roster-fields select{min-width:0;width:100%;font-size:13px}
.journal-select select{max-width:440px}
.roster-entry.grade-record{padding:0}
.grade-record .compact-summary{padding:9px 11px}
.compact-summary{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:52px;cursor:pointer;list-style:none}
.compact-summary::-webkit-details-marker,.nested-details summary::-webkit-details-marker{display:none}
.compact-summary>div,.compact-summary>strong{min-width:0;overflow-wrap:anywhere}
.compact-summary>span{display:flex;flex-shrink:0;align-items:center;gap:5px}
.compact-summary .icon{width:16px;height:16px;color:var(--muted)}
details[open]>.compact-summary .icon{transform:rotate(90deg)}
.record-body{border-top:1px solid var(--line);padding:12px;margin-top:3px}
.record-body>p{margin-bottom:7px}
.application-entry .compact-summary{padding:12px}
.record-meta{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.nested-details{margin-top:8px}
.nested-details summary{cursor:pointer;color:var(--violet-dark);min-height:36px;display:flex;align-items:center;gap:5px;list-style:none;font-size:13px}
.nested-details summary::before{content:'›';font-size:18px}
.nested-details[open]>summary::before{transform:rotate(90deg)}
.nested-details form{margin-top:5px}
.attached-list{margin:8px 0;padding-inline-start:20px;font-size:13px}
.attached-list a{color:var(--violet-dark);text-decoration:underline;overflow-wrap:anywhere}
.attachment-field>label:first-child{display:flex;align-items:center;gap:6px}
.attachment-field label .icon{width:16px;height:16px}
.attachment-field input[type=file]{font-size:13px;max-width:100%;margin:4px 0}
.attachment-field .field-help{margin:3px 0 7px}
.portal-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;align-items:start}
.portal-line{min-height:48px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 0;font-size:14px}
.portal-line .icon{width:16px;height:16px;color:#6d7486}
.portal-line p,.profile-utility,.quiet-link{font-size:12px;color:var(--muted)}
.portal-line p{margin-top:4px}
.portal-line:hover,.quiet-link:hover{color:var(--violet-dark)}
.teacher-address-list{margin-top:9px}
.quiet-link{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:2px}
.login-links .text-link,.profile-utility{font-weight:500;color:var(--muted);font-size:12px}
.profile-utility{margin-top:10px}
#register-form .checkline span{font-size:13px}
.invite-output{font-family:ui-monospace,monospace;font-size:14px;overflow-wrap:anywhere}
.attendance-alert,.absence-record{margin-bottom:8px}
.absence-record .record-row,.staff-entry .record-row{padding:0;border:0}
@media(max-width:630px) {
  .work-nav{gap:2px}
  .work-nav a,.work-nav summary{padding-inline:6px;font-size:12px}
  .work-nav-main{gap:0}
  .work-nav-more>div a{padding-inline:10px}
  .page-heading{gap:7px;margin-bottom:14px}
  .page-heading h1{font-size:29px}
  .roster-fields select{padding-inline:6px}
  .application-entry .compact-summary{padding:10px}
  .compact-summary .badge{padding-inline:6px;font-size:10px}
  .work-weekdays{gap:3px}
  .staff-day .work-day{padding:12px}
}

.certificate{font:16px/1.5 'Times New Roman',serif;color:#171717;padding:12px 4px 18px}
.certificate header{font-size:16px;margin-bottom:20px}
.certificate header p{margin:0}
.certificate h1{text-align:center;font-size:20px;font-weight:700;margin:24px 0 19px;letter-spacing:0}
.certificate>p{margin:0 0 12px}
.certificate .certificate-signature{margin-top:33px;display:flex;flex-wrap:wrap;gap:4px 22px}
.certificate .certificate-note{margin-top:30px;color:#5a5a5a;font-size:13px}
@media print{.certificate{font-size:12pt;padding:0}.print-sheet:has(.certificate){max-width:none;margin:0;padding:0;border:0}}
