:root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#172b4d;background:#f5f7fb;font-size:14px;--navy:#071b3c;--yellow:#ffd14a;--muted:#526780;--border:#dce4ef}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a27600}a{color:#174f93}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border:1px solid #cbd7e6;border-radius:6px;background:#fff;color:#254d77;font-weight:600;text-decoration:none;line-height:20px;transition:background .15s ease}button:hover,.button:hover{background:#eaf0f8}.primary{background:var(--yellow);border-color:var(--yellow);color:#102c53}.primary:hover{background:#ffdc73}.secondary{background:#edf2f9;border-color:#dce4ef}.danger{color:#9e2f40;border-color:#e4bec5}.quiet{background:transparent;border-color:transparent}.skip{position:absolute;left:-9999px}.skip:focus{left:250px;top:10px;z-index:4;background:white;padding:12px}aside{position:fixed;inset:0 auto 0 0;width:236px;height:100dvh;background:var(--navy);color:#cfddf0;display:flex;flex-direction:column;padding:24px 18px;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font-size:13px;font-weight:700}.brand img{height:56px;width:56px;object-fit:contain}.brand small{display:block;margin-top:4px;font-size:12px;color:#b4c8e4;font-weight:400}.nav-label{font-size:10px;letter-spacing:1.6px;color:#9ab2d3;margin:30px 12px 12px}nav{display:grid;gap:4px}nav a{display:flex;align-items:center;gap:11px;min-height:40px;padding:10px 12px;border-radius:6px;text-decoration:none;color:#dce7fa;font-size:13px;font-weight:450}nav a:hover{background:#17365f}nav a[aria-current]{background:#17365f;color:#fff;box-shadow:inset 3px 0 #ffd14a}nav .nd-menu-symbol{width:18px;flex:0 0 18px;display:inline-flex;justify-content:center;font-size:15px}aside footer{padding:20px 12px 0;margin-top:auto;font-size:12px;color:#a9bed9}aside footer strong{display:block;color:#dce7fa;font-weight:500;margin-bottom:4px}aside footer a{display:inline-block;margin-top:12px;color:#dce7fa}main{margin-left:236px;padding:0 36px 48px;min-width:0}header{display:flex;gap:16px;align-items:center;justify-content:space-between;min-height:72px;border-bottom:1px solid var(--border);margin-bottom:28px;color:var(--muted);font-size:12px}.context{display:flex;align-items:center;gap:10px}.context strong{font-weight:600;color:#304963}.context span{color:#a4b2c3}.preview-tag{border:1px solid #c9d5e5;padding:6px 10px;border-radius:5px;background:#fff;font-size:11px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.page-heading h1{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin:0;color:#172b4d;font-weight:650}.page-heading p{margin:9px 0 0;max-width:65ch;line-height:1.65;color:var(--muted)}h2{font-size:16px;font-weight:650;letter-spacing:-.15px;margin:0 0 18px}h3{font-size:14px;margin:0 0 8px}p{line-height:1.65;color:var(--muted)}.meta{font-size:12px;color:var(--muted);line-height:1.65}.notice{background:#edf3fa;color:#3f5d7d;border:1px solid #dce6f1;padding:12px 16px;border-radius:6px;font-size:12px;margin-bottom:24px;line-height:1.6}.notice.warn{background:#fff8de;border-color:#eadca2;color:#715a19}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stats article{background:#fff;border:1px solid var(--border);border-radius:8px;padding:20px}.stats article span{font-size:12px;color:var(--muted)}.stats article b{display:block;margin-top:14px;font-size:32px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.1}.stats article small{display:block;margin-top:9px;font-size:11px;color:#647992}.stats article:first-child{border-top:3px solid var(--yellow);padding-top:18px}.panel{background:#fff;border:1px solid var(--border);border-radius:8px;padding:22px;margin-bottom:24px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.panel-heading h2{margin:0}.panel-heading p{margin:6px 0 0;font-size:12px}.split{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.bar-item{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted);padding:12px 0;border-bottom:1px solid #edf1f7}.bar-item:last-child{border:0}.bar-item strong{color:#253f68;font-variant-numeric:tabular-nums}.section-title{display:flex;align-items:center;justify-content:space-between;margin:6px 0 14px;gap:16px}.section-title h2{margin:0}.section-title a{font-size:12px;text-decoration:none}:is(.table,.table-wrap){overflow-x:auto;background:#fff;border:1px solid var(--border);border-radius:8px;margin-bottom:24px}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{background:#f8fafd;color:#526780;font-size:12px;font-weight:600;white-space:nowrap;padding:14px 16px;border-bottom:1px solid var(--border)}td{padding:16px;border-bottom:1px solid #edf1f7;vertical-align:top;line-height:1.5}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}td strong{font-weight:600}td small{display:block;color:#62758e;font-size:12px;margin-top:5px}td a{text-decoration:none}td .machine{display:block;min-width:175px}:is(.state,.status){display:inline-flex;align-items:center;gap:6px;padding:3px 8px;background:#edf0f5;border-radius:4px;font-size:11px;white-space:nowrap;color:#526780}:is(.state.online,.status.on){background:#e8f3ee;color:#27634d}.state.pending{background:#fff5d5;color:#745d19}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar label{flex:1;min-width:130px}.toolbar label.search{flex:2;min-width:220px}label{display:block;font-size:12px;color:#4b6482;font-weight:500;margin-bottom:0}input,select,textarea{display:block;width:100%;margin-top:7px;background:#fff;border:1px solid #cbd7e6;border-radius:5px;min-height:40px;padding:9px 11px;color:#253f68}textarea{min-height:96px;resize:vertical}input::placeholder{color:#687d97}input[type=checkbox]{display:inline-block;width:auto;min-height:auto;margin:0 8px 0 0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.field-grid .wide{grid-column:1/-1}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.groups-controls{display:grid;grid-template-columns:minmax(210px,1fr) auto;gap:12px;align-items:end}.group-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.group-chips button{font-size:12px;min-height:34px;padding:6px 12px;font-weight:500;background:#f8fafd}.group-chips button:first-child{background:#edf3fa;border-color:#bacde4}.group-chips span{font-size:11px;color:#62758e}.tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:7px;background:#fff;width:max-content;max-width:100%;overflow-x:auto;margin-bottom:24px}.tabs button{border:0;min-height:34px;padding:7px 14px;font-size:13px;white-space:nowrap;background:transparent;font-weight:500}.tabs button[aria-selected=true]{background:var(--navy);color:white;box-shadow:inset 0 -2px var(--yellow)}.descriptions{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin:0}.descriptions dt{color:#62758e;font-size:12px;margin-bottom:5px}.descriptions dd{margin:0;line-height:1.6;font-size:13px;overflow-wrap:anywhere}.descriptions div{padding-bottom:14px;border-bottom:1px solid #edf1f7}.empty{padding:28px;text-align:center;color:var(--muted)}.empty strong{display:block;margin-bottom:8px;font-weight:600;color:#304963}.empty p{font-size:13px;margin:0 auto;max-width:48ch}.preview-toast{position:fixed;right:24px;bottom:24px;max-width:360px;padding:16px 20px;border-radius:8px;border:1px solid #d8e2ef;background:#fff;box-shadow:0 8px 32px #071b3c22;color:#253f68;font-size:13px;z-index:10}.preview-toast[hidden]{display:none}dialog{border:1px solid #d4deec;border-radius:10px;padding:24px;max-width:440px;width:calc(100% - 32px);color:#172b4d}dialog::backdrop{background:#071b3c88}dialog .actions{justify-content:flex-end;margin-top:22px}.maintenance{padding:16px;border:1px solid #e4bec5;border-radius:6px;margin-top:20px}.maintenance h3{color:#9e2f40}.maintenance p{font-size:12px}code{font-size:12px;background:#eef2f8;padding:3px 5px;border-radius:3px}.mobile-note{display:none}button:active,.button:active{transform:translateY(1px)}
@media(max-width:1100px){main{padding-left:24px;padding-right:24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:1fr}.toolbar label.search{min-width:100%}.split{grid-template-columns:1fr}}
@media(max-height:760px) and (min-width:701px){aside{padding-top:18px;padding-bottom:16px}.nav-label{margin-top:20px}nav{gap:2px}nav a{min-height:36px;padding-top:8px;padding-bottom:8px}aside footer{padding-top:12px}}
@media(max-width:700px){aside{position:relative;inset:auto;width:auto;height:auto;padding:16px;overflow:visible}.nav-label,aside footer{display:none}.brand img{width:48px;height:48px}.brand small{margin-top:2px}nav{display:flex;gap:4px;overflow-x:auto;margin-top:14px;padding-bottom:3px}nav a{white-space:nowrap;flex:0 0 auto;min-height:40px;padding:8px 12px}nav a[aria-current]{box-shadow:inset 0 -2px #ffd14a}main{margin-left:0;padding:0 16px 32px}header{min-height:56px;margin-bottom:22px;flex-wrap:wrap;gap:8px;padding:10px 0}.preview-tag{font-size:10px}.page-heading{display:block;margin-bottom:22px}.page-heading h1{font-size:26px}.page-heading>.actions{margin-top:16px}.stats{gap:10px}.stats article{padding:16px}.stats article b{font-size:28px}.stats article:first-child{padding-top:14px}.panel{padding:18px}.toolbar{gap:12px}.toolbar label{min-width:100%}.toolbar label.search{min-width:100%}.toolbar .actions{width:100%}.groups-controls{grid-template-columns:1fr}.panel-heading{align-items:flex-start}.panel-heading .button,.panel-heading button{font-size:12px;padding:8px 10px;white-space:nowrap}.field-grid,.descriptions{grid-template-columns:1fr}:is(.table,.table-wrap) table{min-width:760px}.actions button,.actions .button{flex:0 0 auto}.mobile-note{display:block;font-size:11px;color:#62758e;margin:0 0 10px}.preview-toast{left:16px;right:16px;bottom:16px}.group-chips button{min-height:36px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Application components share the approved preview geometry. */
.app-page nav .nav-agent{margin:0}.app-page nav .nav-link-agent{display:flex;align-items:center;gap:11px;min-height:40px;padding:10px 12px;width:100%;text-align:left;border:0;background:transparent;border-radius:6px;color:#dce7fa;font-size:13px;font-weight:450;margin:0;line-height:20px}.app-page nav .nav-link-agent:hover{background:#17365f}
.app-page .brand small{font-size:12px}.app-page aside footer form{margin-top:10px}.app-page aside footer button{font-size:12px;padding:6px 10px;min-height:34px;background:#edf2f9;color:#254d77}.app-page main header .header-account{color:#526780;overflow-wrap:anywhere;font-size:12px}.eyebrow{display:none}
.app-page main>h1{font-size:28px;line-height:1.2;letter-spacing:-.7px;font-weight:650;margin:0 0 10px}.app-page main>h1+p{margin:0 0 24px}.app-page main>p:first-child{font-size:12px}.app-page main section:not(.panel){background:#fff;border:1px solid var(--border);border-radius:8px;padding:22px;margin-bottom:24px}.columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.columns section{min-width:0}.columns form>label{margin-bottom:16px}.columns select{margin-bottom:16px}.columns dl{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px;margin:0}.columns dt{font-size:12px;color:#62758e;grid-column:1/-1;margin-top:12px}.columns dd{font-size:13px;line-height:1.6;overflow-wrap:anywhere;grid-column:1/-1;margin:0;padding-bottom:10px;border-bottom:1px solid #edf1f7;white-space:pre-wrap}
.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 20px}.filters label{flex:1;min-width:135px}.filters label.search{flex:2;min-width:240px}.filters .filter-actions{display:flex;gap:10px}.filters button{margin:0}.quiet{background:#edf2f9;color:#254d77}.bar{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:16px;font-size:13px}.bar meter{grid-column:1/-1;width:100%;height:6px}meter::-webkit-meter-bar{background:#eef2f8;border:0}meter::-webkit-meter-optimum-value{background:#ffd14a}small{display:block}.status{display:inline-flex}.status.on{background:#e8f3ee;color:#27634d}.notice.warn{background:#fff8de;border-color:#eadca2;color:#715a19}th{font-variant-numeric:tabular-nums}td{font-variant-numeric:tabular-nums}td:first-child{min-width:170px}td:nth-child(5){max-width:260px}td .status+small{white-space:nowrap}.table .empty{padding:32px}.table .empty small{margin:10px 0 18px}input[readonly],textarea[readonly],select:disabled{background:#f4f7fb;color:#526780}.app-page button:disabled{opacity:.55}.app-page .stats article:first-child{background:#fff}
@media(max-width:1100px){.filters label.search{min-width:100%}.columns{grid-template-columns:1fr}}
@media(max-width:700px){.app-page nav .nav-agent{flex:0 0 auto}.app-page aside footer{display:none}.app-page main>h1{font-size:26px}.app-page main header .header-account{display:none}.app-page .filters label{min-width:100%}.app-page .filters .filter-actions{width:100%}.app-page .columns{display:block}.app-page :is(.table,.table-wrap) table{min-width:760px}}

/* Existing sign-in is preserved. */
.account-link{color:#dce7fa;font-size:12px}
/* Institutional sign-in: original school mark on a deep navy canvas. */
body.auth-page{background:var(--nd-navy);color:#f5f8ff}
.auth-page main.login{margin:0;max-width:none;min-height:100dvh;display:grid;place-items:center;padding:32px 20px}
.auth-page main.login>header{display:none}
.auth-page .auth{width:min(100%,440px);padding:28px 34px 26px;background:#0c254b;border:1px solid #24416a;border-radius:16px;box-shadow:0 24px 80px #020d2450;text-align:center;margin:0}
.auth-page .school-logo{display:block;width:160px;height:160px;object-fit:contain;margin:0 auto 22px}
.auth-page .eyebrow{font-size:9px;letter-spacing:2.2px;color:#8aa8cf}
.auth-page .auth h1{color:#fff;font-size:31px;line-height:1.2;letter-spacing:-.9px;margin:10px 0 8px}
.auth-page .auth p{color:#a9bedb;font-size:13px;margin:0;line-height:1.7}
.auth-page .auth form{margin-top:27px;text-align:left}
.auth-page label{color:#c7d7ed;font-size:12px;margin-bottom:17px}
.auth-page input{background:#081e3f;border-color:#355174;color:#fff;min-height:45px;padding:12px 13px;box-shadow:none}
.auth-page input::placeholder{color:#718bac;letter-spacing:3px}
.auth-page input:focus{outline:2px solid var(--nd-yellow);outline-offset:2px;border-color:transparent}
.auth-page button{width:100%;min-height:46px;background:var(--nd-yellow);color:#102c53;font-weight:650;margin:4px 0 0;border-radius:6px}
.auth-page button:hover{background:var(--nd-yellow-hover)}
.auth-page .auth-note{color:#829cbd;font-size:10px;line-height:1.6;margin:22px auto 0;max-width:290px}
.auth-page main.login>a,.auth-page main.login a{color:var(--nd-yellow)}
@media(max-width:480px){.auth-page main.login{padding:20px 14px}.auth-page .auth{padding:24px}.auth-page .school-logo{width:144px;height:144px;margin-bottom:20px}}


.app-page nav .nav-link-agent{justify-content:flex-start}.app-page nav a,.app-page nav .nav-link-agent{line-height:20px}.filters label:not(.search){min-width:155px}.app-page .brand{font-weight:700}
