@font-face{font-family:"Space Grotesk";src:url("../fonts/space-grotesk.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("../fonts/ibm-plex-sans.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/ibm-plex-mono.woff2") format("woff2");font-weight:400;font-display:swap}
:root{--brand-ink:#00002a;--brand-blue:#1a3f75;--brand-slate:#4e6a9c;--brand-sky:#4ea4cc;--brand-frost:#c8e0ee;--brand-paper:#eff6fa;--brand-white:#fff;--font-display:"Space Grotesk","Arial Narrow",sans-serif;--font-body:"IBM Plex Sans",Arial,sans-serif;--font-mono:"IBM Plex Mono","Courier New",monospace;--brand-shadow:6px 6px 0 var(--brand-blue);--primary:var(--brand-blue);--secondary:var(--brand-slate);--background:var(--brand-paper);--surface:var(--brand-white);--text:var(--brand-ink);--muted:var(--brand-blue);--danger:var(--brand-ink);--border:var(--brand-ink)}
*,*::before,*::after{box-sizing:border-box}html{color-scheme:light}body{color:var(--brand-ink);background:var(--brand-paper);font:16px/1.55 var(--font-body)}h1,h2,h3,legend,.button,button{font-family:var(--font-display)}h1,h2,h3{color:var(--brand-ink);letter-spacing:-.035em}h1{font-size:clamp(2rem,5vw,3.7rem);line-height:.98;font-weight:700;text-wrap:balance}h2{font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.05}a{color:var(--brand-blue);text-underline-offset:.18em}a:hover{color:var(--brand-ink)}:focus-visible{outline:3px solid var(--brand-sky);outline-offset:3px}
.eyebrow,.tag,.admin-metric-label,.admin-results-heading,.brand-kicker{color:var(--brand-blue);font:600 .76rem/1.4 var(--font-mono);letter-spacing:.1em;text-transform:uppercase}
.site-head{display:block;background:var(--brand-frost);border-bottom:3px solid var(--brand-ink);padding:12px clamp(16px,4vw,64px)}.site-head-inner{width:min(100%,1240px);max-width:1240px;min-height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.school-brand{display:inline-flex;align-items:center;gap:13px;color:var(--brand-ink);text-decoration:none}.school-brand:hover{color:var(--brand-ink)}.sgia-school-logo{width:54px;height:62px;flex:0 0 auto;object-fit:contain}.school-brand-copy{display:grid;gap:2px}.school-brand-copy strong{font:700 clamp(.85rem,1.6vw,1.08rem)/1.05 var(--font-display);letter-spacing:-.02em;text-transform:uppercase}.school-brand-copy small{color:var(--brand-blue);font:500 .72rem/1.35 var(--font-mono)}.cambridge-brand{display:flex;align-items:center;justify-content:center;min-width:174px;max-width:225px;min-height:58px;padding:5px 12px;border:2px solid var(--brand-ink);background:var(--brand-white)}.cambridge-international-logo{width:100%;max-height:58px;object-fit:contain}
.wrap{width:calc(100% - 40px);max-width:1180px;margin:34px auto 52px;padding:0}.wrap>a:first-child:not(.button){display:inline-block;margin-bottom:16px;font:600 .78rem/1.4 var(--font-mono);letter-spacing:.07em;text-transform:uppercase}.hero{margin:30px 0 36px;padding:clamp(26px,5vw,58px);border:3px solid var(--brand-ink);background:var(--brand-frost);box-shadow:var(--brand-shadow)}.hero:before{content:"SGIA / EXAM REGISTRATION";display:block;width:fit-content;margin-bottom:24px;padding:6px 9px;border:2px solid var(--brand-ink);background:var(--brand-white);font:600 .7rem var(--font-mono);letter-spacing:.08em}.hero h1{max-width:850px;margin:0 0 18px;text-transform:uppercase}.hero>p:last-child{max-width:58ch;margin-bottom:0;font-size:1.08rem}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}.card,.panel{min-width:0;padding:22px;border:3px solid var(--brand-ink);border-radius:0;background:var(--brand-white);box-shadow:5px 5px 0 var(--brand-slate)}.card{display:flex;flex-direction:column}.card h2{margin:14px 0 8px}.card dl{display:grid;grid-template-columns:minmax(94px,.8fr) 1.2fr;gap:6px 12px;margin:14px 0 22px;font-size:.92rem}.card dt{color:var(--brand-blue);font:500 .72rem/1.45 var(--font-mono);text-transform:uppercase}.card dd{margin:0;font-weight:600}.card .button{margin-top:auto;align-self:flex-start}.button,button,input[type=submit]{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:2px solid var(--brand-ink);border-radius:0;background:var(--brand-blue);box-shadow:4px 4px 0 var(--brand-sky);color:var(--brand-white);font-size:.92rem;font-weight:700;text-decoration:none;cursor:pointer;transition:transform 120ms ease,box-shadow 120ms ease,background-color 120ms ease}.button:hover,button:hover,input[type=submit]:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--brand-sky);background:var(--brand-ink);color:var(--brand-white)}.center{margin:34px auto;text-align:center}.center a{font-weight:600}.site-foot{padding:24px 18px 32px;border-top:3px solid var(--brand-ink);background:var(--brand-frost);color:var(--brand-blue);text-align:center;font:500 .72rem/1.5 var(--font-mono)}
.notice,.admin-page .notice,.admin-auth .notice{padding:14px 16px;margin:16px 0;border:2px solid var(--brand-ink);border-radius:0;background:var(--brand-frost);color:var(--brand-ink);font-weight:600}.notice.error,.admin-page .notice.error,.admin-auth .notice.error{border-left-width:8px;background:var(--brand-paper);color:var(--brand-ink)}.notice.error:before,.admin-page .notice.error:before,.admin-auth .notice.error:before{content:"CHECK / ";font:600 .72rem var(--font-mono)}table{width:100%;border-collapse:collapse;background:var(--brand-white)}th,td{padding:11px 13px;border:1px solid var(--brand-ink);text-align:left}th{background:var(--brand-frost);font:600 .76rem/1.4 var(--font-mono);text-transform:uppercase}label{color:var(--brand-ink);font-weight:600}input,select,textarea{border:2px solid var(--brand-ink);border-radius:0;background:var(--brand-white);color:var(--brand-ink);font:inherit}input:focus,select:focus,textarea:focus{outline:3px solid var(--brand-sky);outline-offset:1px}input[type=checkbox],input[type=radio]{accent-color:var(--brand-blue)}fieldset{border-color:var(--brand-ink);border-radius:0}.grid{gap:12px 18px}.subject{border:2px solid var(--brand-ink);border-radius:0;background:var(--brand-white)}.subject:nth-child(even){background:var(--brand-paper)}.total{color:var(--brand-blue);font:700 1.25rem var(--font-display)}
.admin-page,.admin-auth{--navy:var(--brand-ink);--blue:var(--brand-blue);--green:var(--brand-blue);--ink:var(--brand-ink);--muted:var(--brand-blue);--line:var(--brand-ink);--canvas:var(--brand-paper);--surface:var(--brand-white);color:var(--brand-ink);background:var(--brand-paper);font-family:var(--font-body)}.admin-page a,.admin-auth a{color:var(--brand-blue)}.admin-shell{max-width:1280px;margin:auto;padding:clamp(18px,3.2vw,40px) clamp(16px,3.5vw,36px)}.admin-header{border-bottom:3px solid var(--brand-sky);background:var(--brand-ink);color:var(--brand-white)}.admin-header-inner{max-width:1280px;min-height:86px;margin:auto;padding:12px clamp(16px,3.5vw,36px);display:flex;align-items:center;justify-content:space-between;gap:22px}.admin-brand-lockup{display:flex;align-items:center;gap:11px;min-width:0}.admin-school-logo{width:42px;height:50px;object-fit:contain;background:var(--brand-white)}.admin-brand{color:var(--brand-white)!important;font:700 1rem/1.05 var(--font-display);text-decoration:none;text-transform:uppercase}.admin-brand small{display:block;margin-top:5px;color:var(--brand-frost);font:500 .65rem/1.3 var(--font-mono)}.admin-cambridge{width:118px;max-height:45px;padding:3px 7px;border:1px solid var(--brand-ink);background:var(--brand-white);object-fit:contain}.admin-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.admin-tools nav{display:flex;gap:7px;flex-wrap:wrap}.admin-tools nav a{padding:8px 10px;border:1px solid var(--brand-frost);border-radius:0;color:var(--brand-white);font:500 .7rem/1.2 var(--font-mono);text-transform:uppercase;text-decoration:none}.admin-tools nav a[aria-current=page],.admin-tools nav a:hover{background:var(--brand-frost);color:var(--brand-ink)}.admin-user{color:var(--brand-frost);font:500 .68rem var(--font-mono)}.admin-logout{margin:0}.admin-logout button{min-height:38px;padding:7px 10px;border:1px solid var(--brand-frost);border-radius:0;background:transparent;box-shadow:none;color:var(--brand-white);font:500 .68rem var(--font-mono)}.admin-logout button:hover{background:var(--brand-frost);color:var(--brand-ink)}.admin-page h1{margin:0 0 14px;font:700 clamp(2rem,4.5vw,3.5rem)/.98 var(--font-display);text-transform:uppercase}.admin-page h2{font:700 1.5rem/1.05 var(--font-display);text-transform:uppercase}.admin-page h3{font:700 1.08rem/1.1 var(--font-display)}.admin-subtitle,.admin-page .muted,.admin-results-heading{color:var(--brand-blue)}.admin-page-heading{padding:18px 20px;border-left:8px solid var(--brand-blue);background:var(--brand-frost)}.admin-card,.admin-section,.admin-auth-card{border:3px solid var(--brand-ink);border-radius:0;background:var(--brand-white);box-shadow:5px 5px 0 var(--brand-slate)}.admin-metrics{gap:18px}.admin-metric-label{color:var(--brand-blue)}.admin-metric-value{color:var(--brand-ink);font:700 clamp(1.8rem,3vw,2.6rem)/1 var(--font-display)}.admin-table-wrap{border:3px solid var(--brand-ink);border-radius:0;box-shadow:4px 4px 0 var(--brand-slate)}.admin-page th,.admin-page td{border-color:var(--brand-ink)}.admin-page th{background:var(--brand-frost);color:var(--brand-ink);font-family:var(--font-mono)}.admin-page fieldset{border-top:2px solid var(--brand-ink)}.admin-page legend{color:var(--brand-ink);font:700 1rem var(--font-display);text-transform:uppercase}.admin-page input:not([type=checkbox]):not([type=hidden]),.admin-page select,.admin-page textarea,.admin-auth input:not([type=hidden]){min-height:44px;border:2px solid var(--brand-ink);border-radius:0;background:var(--brand-white);color:var(--brand-ink);font:inherit}.admin-page input[type=checkbox]{accent-color:var(--brand-blue)}.admin-page button,.admin-page .button,.admin-auth button{border:2px solid var(--brand-ink);border-radius:0;background:var(--brand-blue);box-shadow:4px 4px 0 var(--brand-sky);color:var(--brand-white);font-family:var(--font-display);font-weight:700}.admin-status{padding:4px 8px;border:1px solid var(--brand-ink);border-radius:0;background:var(--brand-frost);color:var(--brand-ink);font:600 .68rem var(--font-mono);text-transform:uppercase}.admin-notice,.admin-page .notice,.admin-auth .notice{border:2px solid var(--brand-ink);border-radius:0;background:var(--brand-frost);color:var(--brand-ink)}.admin-empty{border:2px dashed var(--brand-slate);background:var(--brand-paper);color:var(--brand-blue)}.admin-page .admin-detail-grid>p{border:1px solid var(--brand-ink);border-radius:0;background:var(--brand-paper)}.admin-settings>fieldset{border:2px solid var(--brand-ink);border-radius:0;box-shadow:4px 4px 0 var(--brand-slate)}
.admin-auth{min-height:100vh;padding:24px;background:var(--brand-frost)}.admin-auth-card{width:min(100%,520px);padding:clamp(22px,4vw,38px)}.admin-auth-marks{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;padding:12px;border:2px solid var(--brand-ink);background:var(--brand-paper)}.admin-auth-school-logo{width:62px;height:74px;object-fit:contain}.admin-auth-cambridge-logo{width:min(70%,210px);max-height:70px;object-fit:contain}.admin-auth-card .admin-brand{display:block;margin-bottom:14px;color:var(--brand-ink)!important}.admin-auth-card .admin-brand small{color:var(--brand-blue)}.admin-login-form{margin-top:20px}.admin-auth-card .admin-setup{display:inline-block;margin-top:20px;padding-bottom:3px;border-bottom:1px solid currentColor;font:500 .72rem var(--font-mono);text-transform:uppercase}.admin-pagination{font-family:var(--font-mono)}
@media(max-width:980px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-header-inner{align-items:flex-start;flex-wrap:wrap}.admin-tools{justify-content:flex-start}}
@media(max-width:760px){.site-head-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;min-width:0}.school-brand{grid-column:1;width:100%;min-width:0}.cambridge-brand{grid-column:1;justify-self:end;margin-left:0}.cards{grid-template-columns:1fr}.hero{margin:24px 0 30px}.admin-header-inner{flex-direction:column;gap:14px}.admin-tools{width:100%;align-items:flex-start}.admin-tools nav{width:100%}.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.site-head-inner{align-items:flex-start}.sgia-school-logo{width:44px;height:52px}.school-brand-copy strong{font-size:.78rem}.school-brand-copy small{font-size:.61rem}.cambridge-brand{min-width:140px;max-width:175px;min-height:46px;padding:4px 8px} .wrap{width:calc(100% - 28px);max-width:1180px;margin:22px auto 38px;padding:0}.hero{padding:22px 18px;box-shadow:4px 4px 0 var(--brand-blue)}.card,.panel{padding:17px;box-shadow:4px 4px 0 var(--brand-slate)}.card dl{grid-template-columns:1fr;gap:3px}.card dd{margin-bottom:8px}.grid{grid-template-columns:1fr}.subject{flex-wrap:wrap}.subject .level-select{width:100%;max-width:none}.admin-metrics{grid-template-columns:1fr}.admin-shell{padding:20px 14px}.admin-filters{grid-template-columns:1fr}.admin-filters .filter-search{grid-column:auto}.admin-settings>fieldset{grid-template-columns:1fr;padding:15px}.admin-auth{padding:14px}.admin-auth-marks{align-items:center}.admin-auth-school-logo{width:50px;height:60px}.admin-auth-cambridge-logo{width:min(74%,170px)}}
.card:nth-child(2){background:var(--brand-white);box-shadow:5px 5px 0 var(--brand-slate)}
.card:nth-child(2){background:var(--brand-white)!important;box-shadow:5px 5px 0 var(--brand-slate)!important}
.admin-header-inner{min-height:104px;gap:28px}.admin-brand-lockup{gap:16px}.admin-school-logo{width:64px;height:72px;object-fit:contain;background:transparent}.admin-cambridge{width:190px;max-height:64px;padding:0;border:0;background:transparent;object-fit:contain}.admin-dashboard-chart{height:190px;max-height:190px;margin:10px 0 8px;overflow:hidden}.admin-dashboard-chart svg{display:block;width:100.admin-header-inner{min-height:104px;gap:28px}.admin-brand-lockup{gap:16px}.admin-school-logo{width:64px;height:72px;object-fit:contain;background:transparent}.admin-cambridge{width:190px;max-height:64px;padding:0;border:0;background:transparent;object-fit:contain}.admin-dashboard-chart{height:190px;max-height:190px;margin:10px 0 8px;overflow:hidden}.admin-dashboard-chart svg{display:block;width:100%;height:190px}.admin-dashboard-legend{margin:8px 0 12px}@media(max-width:760px){.admin-header-inner{min-height:0}.admin-school-logo{width:56px;height:64px}.admin-cambridge{width:min(100%,190px);max-height:56px}.admin-dashboard-chart{height:160px;max-height:160px}.admin-dashboard-chart svg{height:160px}}
.admin-dashboard-chart{height:190px!important;max-height:190px!important;overflow:hidden!important}.admin-dashboard-chart svg{display:block!important;width:100%!important;height:190px!important;max-height:190px!important}.admin-dashboard-legend{margin:8px 0 12px!important}@media(max-width:760px){.admin-dashboard-chart{height:160px!important;max-height:160px!important}.admin-dashboard-chart svg{height:160px!important;max-height:160px!important}}
