@font-face { font-family:SchoolSans; src:url("fonts/roboto-regular.3e1af3ef546b.ttf") format('truetype'); font-weight:400; font-display:swap; }
@font-face { font-family:SchoolSans; src:url("fonts/roboto-medium.d08840599e05.ttf") format('truetype'); font-weight:500 600; font-display:swap; }
@font-face { font-family:SchoolSans; src:url("fonts/roboto-bold.ee7b96fa85d8.ttf") format('truetype'); font-weight:650 900; font-display:swap; }
/* Great School design system: primitives → semantic tokens → components. */
:root {
  color-scheme: light;
  --blue-950:#102d40; --blue-900:#173b52; --blue-700:#295a76;
  --gold-400:#e7c885; --gold-600:#a57b2c; --stone-50:#f6f5f0; --stone-100:#eeece5;
  --primary:var(--blue-900); --primary-hover:var(--blue-700); --accent:var(--gold-400);
  --bg:var(--stone-50); --card:#fff; --text:#233844; --muted:#62717a; --line:#dfe4e5;
  --green:#236649; --red:#a23e38; --amber:#805d1d; --navy:var(--primary); --navy-2:var(--blue-700);
  --radius:14px; --radius-sm:9px; --shadow:0 6px 24px #102d4006;
  --button-bg:var(--primary); --button-fg:#fff; --field-border:#aebcc2;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-6:24px; --space-8:32px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font:16px/1.55 SchoolSans,system-ui,-apple-system,"Segoe UI",sans-serif; background:var(--bg); color:var(--text); -webkit-font-smoothing:antialiased; }
a { color:var(--blue-700); text-decoration:none; text-underline-offset:4px; }
a:hover { text-decoration:underline; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
:focus-visible { outline:3px solid #a57b2c; outline-offset:4px; }
[hidden] { display:none!important; }
.icon-library { position:absolute; width:0; height:0; overflow:hidden; }
.icon { width:21px; height:21px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.skip-link { position:fixed; left:16px; top:-100px; z-index:100; background:var(--primary); color:white; padding:12px 20px; border-radius:8px; }
.skip-link:focus { top:12px; }
.sidebar { position:fixed; inset:0 auto 0 0; width:252px; background:var(--blue-950); color:#e2ebef; display:flex; flex-direction:column; z-index:40; }
.brand { display:flex; align-items:center; gap:12px; color:#fff; font-size:17px; font-weight:650; line-height:1.25; padding:29px 23px 25px; }
.brand:hover { text-decoration:none; }
.brand-mark { display:grid; place-items:center; width:42px; height:46px; color:var(--gold-400); border:1px solid #e7c88566; border-radius:12px 12px 18px 18px; flex-shrink:0; }
.brand-mark .icon { width:27px; height:27px; }
.brand small { display:block; color:#a6bbc6; font-size:10px; letter-spacing:1.4px; text-transform:uppercase; margin-top:7px; font-weight:500; }
.sidebar nav { padding:0 14px 20px; flex:1; overflow-y:auto; scrollbar-width:thin; }
.nav-caption { color:#a0b6c2; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; font-weight:650; margin:23px 14px 8px; }
.nav-link { color:#ccdbe3; display:flex; gap:13px; align-items:center; padding:11px 14px; border-radius:9px; font-size:13px; min-height:44px; margin:3px 0; transition:background .18s,color .18s; }
.nav-link:hover { background:#ffffff0c; text-decoration:none; color:#fff; }
.nav-link.active { background:#ffffff12; color:var(--gold-400); box-shadow:inset 3px 0 var(--gold-400); }
.nav-link .icon { width:18px; height:18px; }
.sidebar-footer { border-top:1px solid #ffffff14; display:flex; gap:14px; align-items:center; padding:21px 27px; font-size:11px; color:#a6bbc6; line-height:1.5; }
.sidebar-footer .icon { color:var(--gold-400); width:18px; }
.workspace-frame { margin-left:252px; }
.workspace-header { min-height:84px; background:#fff; border-bottom:1px solid var(--line); padding:16px 36px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.workspace-heading { font-size:12px; color:var(--muted); display:flex; align-items:center; gap:14px; }
.workspace-heading strong { color:var(--primary); font-weight:600; }
.header-separator { margin:0 13px; color:#b9c4c9; }
.account-menu { position:relative; z-index:30; }
.account-menu summary { display:flex; gap:10px; align-items:center; cursor:pointer; list-style:none; min-height:44px; }
.account-menu summary::-webkit-details-marker { display:none; }
.avatar { width:38px; height:38px; border-radius:50%; background:var(--stone-100); color:var(--primary); font-size:14px; font-weight:700; display:grid; place-items:center; }
.account-name { font-size:12px; font-weight:650; }
.account-name small { display:block; font-size:10px; color:var(--muted); font-weight:400; }
.account-options { position:absolute; top:54px; right:0; width:200px; background:white; padding:8px; box-shadow:0 12px 40px #102d4024; border:1px solid var(--line); border-radius:12px; }
.account-options a,.account-options button { display:block; padding:12px; width:100%; color:var(--primary); font-size:13px; background:none; border:0; text-align:left; border-radius:7px; }
.account-options a:hover,.account-options button:hover { background:var(--bg); text-decoration:none; }
.icon-button { width:44px; height:44px; padding:10px; display:grid; place-items:center; color:var(--primary); border:1px solid var(--line); background:#fff; border-radius:9px; }
#menu-toggle,.nav-scrim { display:none; }
main { max-width:1500px; margin:0 auto; padding:31px 36px 20px; min-width:0; }
main:focus { outline:none; }
.page-eyebrow { color:var(--muted); font-size:10px; letter-spacing:1.3px; text-transform:uppercase; margin-bottom:23px; }
.page-eyebrow span { color:#79868c; letter-spacing:.7px; }
.page-footer { margin-top:40px; padding:22px 0 10px; display:flex; justify-content:space-between; gap:16px; font-size:10px; color:var(--muted); border-top:1px solid var(--line); }
.page-footer span:first-child { font-weight:650; }
h1 { color:var(--primary); font-size:clamp(25px,2.6vw,34px); letter-spacing:-1px; font-weight:650; line-height:1.25; margin:0 0 14px; }
h2 { font-size:17px; font-weight:650; margin:30px 0 15px; letter-spacing:-.3px; color:var(--primary); }
p { margin:0 0 16px; }
.muted,.hint,.helptext { color:var(--muted); }
.hint,.helptext { font-size:12px; margin-top:7px; line-height:1.6; }
.card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; margin-bottom:20px; box-shadow:var(--shadow); }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr)); gap:16px; margin:22px 0; }
.stat { padding:24px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); min-width:0; position:relative; }
.stat::before { content:""; display:block; width:23px; height:3px; border-radius:5px; background:var(--gold-400); margin-bottom:17px; }
.stat .n { font-size:clamp(21px,2vw,28px); letter-spacing:-.8px; font-weight:650; line-height:1.2; color:var(--primary); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.stat .l { color:var(--muted); font-size:11px; margin-top:10px; }
.stat.good .n { color:var(--green); }.stat.bad .n { color:var(--red); }
.stat.good::before { background:#69a88a; }.stat.bad::before { background:#ca8e81; }
.grid.secondary .stat { background:transparent; padding:17px 21px; }.grid.secondary .stat::before { display:none; }.grid.secondary .n { font-size:21px; }
.row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:16px; }
.row > * { flex:0 1 auto; max-width:100%; }.row input,.row select { width:auto; }.row form { margin:0; }
.btn,button.btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; background:var(--button-bg); color:var(--button-fg); border:1px solid transparent; border-radius:var(--radius-sm); padding:11px 18px; font-size:13px; line-height:1.5; font-weight:600; min-height:44px; text-decoration:none; text-align:center; transition:background .18s,box-shadow .18s; }
.btn:hover { background:var(--primary-hover); color:#fff; text-decoration:none; box-shadow:0 3px 8px #173b5214; }
.btn.green { background:var(--primary); }.btn.green:hover { background:var(--primary-hover); }
.btn.red { background:var(--red); }.btn.red:hover { background:#872e29; }
.btn.grey { background:white; border-color:#cbd5d9; color:var(--primary); }.btn.grey:hover { background:var(--stone-100); }
.btn.small { font-size:11px; padding:8px 12px; min-height:40px; }
.btn .icon { width:17px; height:17px; }
button:disabled,.btn[aria-disabled=true] { cursor:not-allowed; opacity:.5; }
table { width:100%; border-collapse:collapse; background:white; font-size:13px; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:white; margin-bottom:20px; box-shadow:var(--shadow); }
th,td { padding:16px 20px; text-align:left; border-bottom:1px solid #e9edef; vertical-align:middle; }
th { font-size:10px; font-weight:650; letter-spacing:1px; text-transform:uppercase; color:#627581; background:#f0f3f3; white-space:nowrap; }
tr:last-child td { border-bottom:0; }tr:hover td { background:#fcfcf9; }
td a:not(.btn) { font-weight:600; }
td.num,th.num { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
td[colspan].muted { padding:35px 24px; text-align:center; }
tr.void td { color:var(--muted); }tr.void td.num { text-decoration:line-through; }tr.rev td { color:var(--red); }
label { display:block; font-weight:600; font-size:12px; color:var(--primary); margin:18px 0 7px; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea { width:100%; min-height:47px; padding:11px 13px; border:1px solid var(--field-border); border-radius:var(--radius-sm); font-size:15px; line-height:1.5; background:#fff; color:var(--text); }
input:focus,select:focus,textarea:focus { border-color:var(--primary); outline:3px solid #d9e6eb; outline-offset:1px; }
input:disabled,select:disabled,textarea:disabled { background:#edf0f0!important; color:var(--muted); cursor:not-allowed; }
input[type=checkbox],input[type=radio] { width:19px; height:19px; accent-color:var(--primary); }
.row input,.row select { width:auto!important; max-width:100%; }.row label { margin:0; }
.errorlist { color:var(--red); list-style:none; padding:0; margin:8px 0; font-size:12px; }
[aria-invalid=true],.err input { border-color:var(--red)!important; }
.pill { display:inline-flex; align-items:center; padding:4px 10px; border-radius:6px; font-size:10px; font-weight:600; background:#ebf0f3; color:var(--primary); line-height:1.5; }
.pill.green { background:#e7f1eb; color:#215a41; }.pill.red { background:#f7e9e5; color:#963d35; }.pill.amber { background:#f6edd9; color:#76551b; }
.msg { padding:16px 19px; border-radius:var(--radius-sm); margin-bottom:18px; border:1px solid var(--line); background:white; font-size:13px; line-height:1.65; }
.msg.success { background:#edf5ef; border-color:#b8d5c3; color:#215a41; }.msg.error { background:#fbede9; border-color:#e6b8ae; color:#943c34; }.msg.warning { background:#fbf3e2; border-color:#e5d2a7; color:#76551b; }.msg.info { background:#edf3f6; border-color:#c5d7df; color:#254b60; }
.right { text-align:right; }.big { font-size:22px; font-weight:650; letter-spacing:-.5px; }
.tt td { min-width:145px; height:76px; }.tt td.brk { background:#f4f4f0; color:var(--muted); text-align:center; }.tt td.today,.tt th.today { background:#fbf3df; }.tt .subj { font-weight:650; }.tt .sub { font-size:11px; color:var(--muted); margin-top:4px; }
.receipt { max-width:650px; border-top:4px solid var(--gold-400); }.receipt dl { display:grid; grid-template-columns:minmax(100px,1fr) 2fr; gap:13px 20px; margin:0; font-size:14px; }.receipt dt { color:var(--muted); }.receipt dd { margin:0; font-weight:600; overflow-wrap:anywhere; }
.report { border-top:4px solid var(--gold-400); }.report h1 { text-align:center; margin:8px 0; }.report .sub { text-align:center; color:var(--muted); margin-bottom:30px; font-size:13px; }.report .row { justify-content:space-between; font-size:13px; padding:12px 0; border-bottom:1px solid var(--line); }.report table { font-size:12px; }.draft { background:#fbf2df; border:1px solid #e9d8ae; color:var(--amber); padding:13px 20px; border-radius:9px; font-weight:600; text-align:center; font-size:12px; margin-bottom:20px; }
input.score { min-width:76px; width:86px!important; text-align:right; font-variant-numeric:tabular-nums; }
.form-actions { border-top:1px solid var(--line); padding-top:22px; margin-top:28px; display:flex; flex-wrap:wrap; gap:10px; }
.form-intro { margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--line); color:var(--muted); font-size:13px; }
.field-grid { display:grid; gap:0 24px; grid-template-columns:repeat(2,minmax(0,1fr)); }.field-grid > div { min-width:0; }.field-grid .full { grid-column:1 / -1; }
.dashboard-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:24px; }.dashboard-heading p { margin:0; font-size:13px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:30px; }.section-heading h2 { margin:0 0 15px; }.section-heading a { font-size:12px; }
.calendar-item { display:flex; gap:20px; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); }.calendar-item:last-child { border:0; }.calendar-date { min-width:95px; color:var(--primary); font-size:12px; font-weight:650; }.calendar-item .pill { margin-left:auto; }
.empty-state { padding:26px 10px; text-align:center; color:var(--muted); font-size:13px; }
.guest main { max-width:none; padding:0; min-height:100vh; display:grid; place-items:center; }
.login-layout { display:grid; grid-template-columns:1.1fr 1fr; width:min(1100px,calc(100% - 80px)); min-height:660px; background:#fff; border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:0 25px 80px #173b520c; margin:48px auto; }
.login-story { background:var(--blue-950); color:white; padding:42px 48px; display:flex; flex-direction:column; position:relative; overflow:hidden; }.login-story .brand { padding:0; font-size:20px; }.login-story .brand-mark { width:48px; height:53px; }.login-story h2 { color:#fff; font-size:42px; line-height:1.16; letter-spacing:-1.5px; font-weight:500; margin:64px 0 24px; max-width:360px; }.login-story h2 em { color:var(--gold-400); font-style:normal; }.login-story p { color:#bacbd4; max-width:330px; font-size:14px; line-height:1.85; }.login-features { display:flex; gap:9px; flex-wrap:wrap; margin-top:24px; }.login-features span { padding:7px 10px; border:1px solid #ffffff20; border-radius:6px; color:#ccdbe2; font-size:10px; }.login-story-footer { margin-top:auto; padding-top:42px; font-size:11px; color:#a9bfcb; display:flex; align-items:center; gap:9px; }.login-story::after { content:""; position:absolute; width:280px; height:280px; border:1px solid #e7c88518; border-radius:50%; bottom:-180px; right:-70px; box-shadow:0 0 0 40px #e7c88506,0 0 0 80px #e7c88504; pointer-events:none; }
.login-form-panel { padding:68px 54px; display:flex; flex-direction:column; justify-content:center; }.login-form-panel .eyebrow { text-transform:uppercase; font-size:10px; letter-spacing:1.8px; color:var(--amber); font-weight:700; margin-bottom:16px; }.login-form-panel h1 { font-size:31px; margin-bottom:12px; }.login-form-panel > p { color:var(--muted); font-size:13px; margin-bottom:18px; }.login-form-panel label { margin-top:22px; }.login-form-panel input { background:#fafbf9!important; }.login-form-panel .btn { width:100%; margin-top:28px; }.password-field { position:relative; }.password-field input { padding-right:65px!important; }.password-field button { position:absolute; right:4px; top:4px; bottom:4px; border:0; background:transparent; padding:0 12px; font-size:11px; color:var(--primary); }.login-support { font-size:11px; color:var(--muted); text-align:center; border-top:1px solid var(--line); padding-top:22px; margin-top:30px; }.login-security { text-align:center; font-size:10px; color:var(--muted); margin:20px 0 0; }
@media(min-width:1500px) { main { padding:36px 48px 20px; } }
@media(max-width:1023px) {
 .sidebar { transform:translateX(-100%); transition:transform .2s ease; }.workspace-frame { margin-left:0; }.workspace-header { padding:15px 24px; min-height:76px; }#menu-toggle { display:grid; }.nav-open .sidebar { transform:translateX(0); }.nav-open .nav-scrim { display:block; position:fixed; inset:0; background:#102d4070; border:0; z-index:35; }.nav-open #menu-toggle { position:relative; z-index:45; }.nav-open { overflow:hidden; }.nav-open .workspace-heading > span { visibility:hidden; }.nav-open #menu-toggle { margin-left:238px; }main { padding:28px 24px 20px; }.login-layout { width:calc(100% - 48px); grid-template-columns:1fr 1fr; }.login-story { padding:32px; }.login-story h2 { font-size:34px; }.login-form-panel { padding:44px 32px; }
}
@media(max-width:700px) {
 body { font-size:15px; }main { padding:24px 18px 16px; }.workspace-header { padding:12px 18px; }.workspace-heading > span { font-size:11px; }.workspace-heading strong,.header-separator { display:none; }.account-name { display:none; }.page-eyebrow { font-size:9px; margin-bottom:18px; }.page-eyebrow span { display:none; }.grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.stat { padding:17px 14px; }.stat .n { font-size:21px; }.stat .l { font-size:10px; }.grid.secondary .stat { padding:15px 14px; }.card { padding:20px; }.row { gap:9px; }.row input,.row select { width:100%!important; }.row .btn { flex-shrink:0; }th,td { padding:13px 15px; }.table-wrap table { min-width:500px; }.field-grid { grid-template-columns:1fr; }.dashboard-heading { align-items:flex-start; flex-direction:column; }.dashboard-heading .btn { width:100%; }.page-footer { font-size:9px; }.page-footer span:last-child { text-align:right; max-width:140px; }.login-layout { display:block; width:calc(100% - 32px); min-height:0; margin:16px auto; border-radius:18px; }.login-story { padding:25px; }.login-story h2 { font-size:29px; margin:31px 0 14px; max-width:280px; }.login-story p { font-size:12px; margin:0; }.login-features,.login-story-footer { display:none; }.login-story .brand { font-size:16px; }.login-story .brand-mark { height:41px; width:38px; }.login-form-panel { padding:31px 25px; }.login-form-panel h1 { font-size:26px; }.login-support { margin-top:24px; }.calendar-item { gap:12px; font-size:13px; flex-wrap:wrap; }.calendar-date { min-width:80px; }.calendar-item .pill { margin-left:0; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; scroll-behavior:auto!important; } }
@media print { .sidebar,.workspace-header,.page-eyebrow,.page-footer,.noprint,.msg,.skip-link,.nav-scrim { display:none!important; }.workspace-frame { margin:0; }body { background:#fff; font-size:12px; }main { padding:0; max-width:none; }.card,.table-wrap { border:0; box-shadow:none; }.table-wrap { overflow:visible; }th,td { padding:8px; }.report { border-top:3px solid #173b52; } }

/* Readable operational records and phone fields. */
.nav-link { font-size:14px; }
table { font-size:14px; } th { font-size:11px; }
@media(max-width:700px) { input:not([type=hidden]),select,textarea { font-size:16px!important; } }
@media(max-width:1023px) { .nav-open #menu-toggle { position:fixed; left:264px; top:16px; margin-left:0; } }

/* Phone overview and student filters */
.student-filters { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin-bottom:20px; }
.student-filters label { display:flex; flex:1 1 180px; flex-direction:column; gap:6px; font-size:14px; color:var(--muted); }
.student-filters input,.student-filters select { width:100%; min-height:48px; }
@media (max-width:600px) {
 .overview-page .grid { grid-template-columns:1fr; gap:10px; margin:16px 0; }
 .overview-page .stat,.overview-page .grid.secondary .stat { padding:16px; }
 .overview-page .stat::before { display:none; }
 .overview-page .stat .n { font-size:24px; letter-spacing:-.4px; }
 .overview-page .stat .l { font-size:14px; margin-top:6px; }
 .overview-page .hero { align-items:stretch; }
 .overview-page .row > .btn { width:100%; min-height:48px; justify-content:center; }
 .overview-page .section-heading { align-items:flex-start; gap:12px; }
 .overview-page .section-heading h2 { font-size:20px; }
 .student-filters { flex-direction:column; align-items:stretch; }
 .student-filters label { flex:auto; }
 .student-filters .btn { min-height:48px; }
}

.student-filters { display:grid; grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) minmax(170px,1fr) auto; align-items:end; }
.student-filters label { min-width:0; margin:0; }
.student-filters > .btn { min-height:48px; height:48px; margin:0; align-self:end; }
@media(max-width:900px) { .student-filters { grid-template-columns:1fr 1fr; } }
@media(max-width:600px) { .student-filters { grid-template-columns:1fr; } }

.brand-mark { width:58px; height:66px; padding:4px; background:#fff; border:0; border-radius:8px; }
.brand-mark img { width:100%; height:100%; object-fit:contain; }
.school-report-badge { display:block; width:86px; height:auto; margin:0 auto 12px; }
.school-stamp { display:block; width:220px; max-width:100%; height:auto; margin:22px 0 8px; }
