@font-face{font-family:Inter;src:url('/static/inter.woff2') format('woff2');font-weight:400 900;font-display:swap}
@font-face{font-family:'Plus Jakarta Sans';src:url('/static/plusjakartasans.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/static/jetbrainsmono.woff2') format('woff2');font-weight:400 800;font-display:swap}
:root{
  --navy:#08172b;--navy-2:#102b4e;--blue:#215bd9;--blue-hover:#194bc2;--gold:#f2c66d;--cyan:#06b6d4;
  --emerald:#087953;--amber:#99500b;--red:#b22b33;--surface:#f4f7fb;--white:#fff;--ink:#101828;
  --muted:#55657b;--border:#dfe6ef;--tint:#f1f5fc;--soft-blue:#eaf1ff;--soft-green:#e5f6ee;
  --soft-amber:#fff3df;--soft-red:#ffebed;--shadow:0 2px 4px #12254605,0 12px 25px #13294b08;
  --sidebar:244px;--top:74px;--radius:17px;--body:Inter,Arial,sans-serif;--display:"Plus Jakarta Sans",Inter,Arial,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,Consolas,monospace;color-scheme:light;
}
html[data-theme=dark]{--surface:#0c1728;--white:#132238;--ink:#eff5ff;--muted:#b7c5d8;--border:#2c3d58;--tint:#1b2b44;--soft-blue:#233963;--soft-green:#1a463b;--soft-amber:#4c3920;--soft-red:#4c2737;--blue:#7ba7ff;--blue-hover:#a0bfff;--emerald:#83dfb8;--amber:#ffd08b;--red:#ffacb3;--shadow:none;color-scheme:dark}
html[data-theme=contrast]{--surface:#fff;--white:#fff;--ink:#000;--muted:#192434;--border:#455373;--tint:#ebf1fb;--blue:#123e9d;--soft-blue:#edf2ff;--shadow:none;--emerald:#00553b;--amber:#723b00;--red:#870d20}
@media(prefers-color-scheme:dark){
  html[data-theme=system]{--surface:#0c1728;--white:#132238;--ink:#eff5ff;--muted:#b7c5d8;--border:#2c3d58;--tint:#1b2b44;--soft-blue:#233963;--soft-green:#1a463b;--soft-amber:#4c3920;--soft-red:#4c2737;--blue:#7ba7ff;--blue-hover:#a0bfff;--emerald:#83dfb8;--amber:#ffd08b;--red:#ffacb3;--shadow:none;color-scheme:dark}
}
*{box-sizing:border-box}
body{margin:0;background:var(--surface);color:var(--ink);font-family:var(--body);font-size:14px;line-height:1.55}
img{display:block;max-width:100%;height:auto}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid #417cff;outline-offset:3px}
.skip-link{position:fixed;z-index:20;left:12px;top:12px;transform:translateY(-180%);background:var(--white);padding:10px 16px;border-radius:8px}
.skip-link:focus{transform:none}
h1,h2,h3,h4{font-family:var(--display);line-height:1.2;letter-spacing:-.035em;margin:0;font-weight:800}
h1{font-size:clamp(1.8rem,3.4vw,2.65rem)}
h2{font-size:1.35rem}
h3{font-size:1.05rem}
p{margin:0}
small,.small{font-size:.8rem}
.muted{color:var(--muted)}
.hidden,[hidden]{display:none!important}
.capitalize{text-transform:capitalize}
.wrap{overflow-wrap:anywhere}
.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}
.stack{display:grid;gap:16px}
.stack.wide{gap:24px}
.inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.space{justify-content:space-between}
.end{justify-content:flex-end}
.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}
.ico{display:inline-grid;place-items:center;inline-size:42px;block-size:42px;border-radius:12px;background:var(--tint);color:var(--blue);flex-shrink:0}
.ico.teal{background:var(--soft-green);color:var(--emerald)}
.ico.amber{background:var(--soft-amber);color:var(--amber)}
.ico.red{background:var(--soft-red);color:var(--red)}
.eyebrow{color:var(--blue);font-weight:800;font-size:.73rem;letter-spacing:.12em;text-transform:uppercase}
.button{border:1px solid transparent;min-height:44px;padding:10px 15px;border-radius:10px;display:inline-flex;
  justify-content:center;align-items:center;gap:8px;font-weight:750;line-height:1.25;text-align:center;
  background:var(--white);color:var(--ink);white-space:normal;transition:background .14s,border-color .14s;text-decoration:none}
.button:hover{text-decoration:none;background:var(--tint)}
.button .icon{width:17px;height:17px}
.button.primary{background:#215bd9;color:#fff;border-color:#215bd9;box-shadow:0 5px 12px #1746b222}
.button.primary:hover{background:#1647b8;border-color:#1647b8}
.button.outline{border-color:var(--border)}
.button.ghost{background:transparent;color:var(--blue)}
.button.ghost:hover{background:var(--tint)}
.button.danger{background:var(--soft-red);color:var(--red);border-color:var(--border)}
.button.gold{background:#f6cc7b;color:#132644;border-color:#f6cc7b}
.button.gold:hover{background:#ffdfa2}
.button:disabled{opacity:.56;cursor:not-allowed;box-shadow:none}
.icon-button{height:44px;min-width:44px;display:inline-grid;place-items:center;border:1px solid var(--border);
  border-radius:10px;background:var(--white);color:var(--muted);flex-shrink:0}
.icon-button:hover{background:var(--tint);color:var(--ink)}
.inline .icon-button{flex:none}
.frame{min-height:100dvh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}
.side{position:sticky;top:0;height:100dvh;background:var(--navy);color:#fff;display:flex;
  flex-direction:column;padding:25px 16px 17px;overflow-y:auto;scrollbar-width:thin}
.brand{display:flex;align-items:center;gap:10px;color:inherit;line-height:1.05;text-decoration:none!important}
.brand img{width:43px;height:43px}
.brand strong{display:block;font-size:1rem;letter-spacing:-.03em}
.brand small{display:block;color:#a4b8d5;letter-spacing:.05em;margin-top:6px;font-size:.67rem}
.side>.brand{padding:0 8px 29px}
.navlinks{display:grid;gap:4px}
.navlinks .label{font-size:.67rem;font-weight:800;color:#8ca6ce;letter-spacing:.12em;text-transform:uppercase;padding:13px 10px 5px}
.navlinks a{display:flex;align-items:center;min-height:44px;gap:11px;padding:9px 10px;border-radius:9px;
  color:#c8d5e9;font-weight:650;text-decoration:none;font-size:.88rem}
.navlinks a .icon{width:17px;height:17px;color:#a6badd}
.navlinks a:hover{background:#13294c;color:#fff}
.navlinks a[aria-current=page]{background:#1a3764;color:#fff;box-shadow:inset 3px 0 0 #80aaff}
.navlinks a[aria-current=page] .icon{color:#a9c7ff}
.side-foot{margin-top:auto;padding-top:21px}
.side-foot .foot-card{padding:12px 10px;border:1px solid #2e4669;border-radius:12px;background:#102443}
.side-foot .foot-card .ico{width:32px;height:32px;border-radius:8px;background:#1f3c66;color:#a9c7ff}
.side-foot .foot-card .icon{width:16px;height:16px}
.side-foot .foot-card small{color:#aec0dc;display:block}
.side-foot .navlinks{margin-top:7px}
.content-cell{min-width:0;display:flex;flex-direction:column}
.content-cell>.page{flex:1 0 auto;width:100%}
.site-attribution{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;
  gap:5px 18px;padding-top:12px;border-top:1px solid var(--border);color:var(--muted);font-size:.82rem}
.support-credit strong{color:var(--ink);letter-spacing:.035em}
.portal-attribution{width:calc(100% - 60px);max-width:1480px;margin:0 auto 25px}
.auth-attribution{margin-top:25px}
.exam-attribution{padding-top:9px}
.topbar{height:var(--top);position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;
  gap:11px;padding:0 30px;background:var(--white);border-bottom:1px solid var(--border)}
.topbar .crumb{display:flex;align-items:center;gap:9px;white-space:nowrap;color:var(--muted);min-width:0}
.topbar .crumb strong{color:var(--ink);overflow:hidden;text-overflow:ellipsis}
.topbar .crumb .icon{width:15px;height:15px}
.topbar .controls{display:flex;align-items:center;gap:11px;flex-shrink:0}
.search-button{display:flex;align-items:center;gap:10px;border:1px solid var(--border);min-height:44px;padding:8px 12px;
  border-radius:10px;background:var(--surface);color:var(--muted);min-width:min(25vw,254px);text-align:left}
.search-button:hover{border-color:var(--blue)}
.search-button .icon{width:16px;height:16px}
.search-button kbd{margin-left:auto;border:1px solid var(--border);background:var(--white);border-radius:5px;padding:1px 5px;font-family:var(--mono);font-size:.65rem}
.profile-button{display:flex;align-items:center;gap:9px;font-size:.83rem;color:var(--ink);text-align:left;max-width:230px}
.profile-button:hover{text-decoration:none}
.profile-name{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:var(--soft-blue);color:var(--blue);
  font-weight:800;font-size:.77rem;border:1px solid var(--border);flex:none}
.topbar .mobile-brand,.bottom,.mobile-menu{display:none}
.page{max-width:1540px;margin:0 auto;padding:25px 30px 45px;min-width:0}
.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:20px}
.page-head p{margin-top:7px;color:var(--muted);max-width:68ch}
.page-head .eyebrow{margin-bottom:7px}
.status-pill,.tag{display:inline-flex;align-items:center;gap:6px;max-width:100%;border-radius:100px;padding:6px 10px;
  font-size:.74rem;font-weight:800;background:var(--tint);color:var(--muted);line-height:1.2;white-space:normal}
.status-pill.ok,.tag.ok{color:var(--emerald);background:var(--soft-green)}
.tag.twk,.tag.blue{color:var(--blue);background:var(--soft-blue)}
.tag.tiu,.tag.teal{color:var(--emerald);background:var(--soft-green)}
.tag.tkp,.tag.amber,.status-pill.amber{color:var(--amber);background:var(--soft-amber)}
.tag.red{color:var(--red);background:var(--soft-red)}
.dot{height:7px;width:7px;background:currentColor;border-radius:50%;display:inline-block;flex:none}
.status-pill .icon,.tag .icon{width:14px;height:14px}
.hero{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;min-height:252px;padding:27px 30px;
  border-radius:20px;background:linear-gradient(114deg,#091a35 10%,#102a55 58%,#143778 100%);color:#fff;
  box-shadow:0 12px 24px #0e264623}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#091a35 12%,#091a3500 62%);z-index:-1}
.hero .art{position:absolute;width:min(63%,670px);height:115%;object-fit:contain;right:-2%;top:-7%;z-index:-2;pointer-events:none}
.hero-copy{max-width:min(100%,610px);position:relative;z-index:1}
.hero h2{font-size:clamp(1.55rem,3.6vw,2.8rem);line-height:1.08;max-width:15ch;letter-spacing:-.05em;margin:11px 0 9px}
.hero p{color:#c6d7f3;margin-bottom:17px;max-width:41ch;font-size:.9rem}
.hero .eyebrow{color:#9cbeff}
.hero .quiet{color:#d4e3ff;font-size:.82rem;font-weight:750}
.hero .quiet .icon{width:15px;height:15px}
.hero .button{padding-inline:14px}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:16px 0 24px}
.metric{padding:14px 15px;display:flex;align-items:flex-start;gap:11px;min-width:0}
.metric .ico{height:37px;width:37px;border-radius:10px}
.metric .ico .icon{height:17px;width:17px}
.metric .label{font-size:.77rem;color:var(--muted);font-weight:700}
.metric .value{font-size:1.35rem;color:var(--ink);line-height:1.18;font-weight:850;margin:4px 0 2px;
  overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.metric .caption{font-size:.71rem;color:var(--muted);line-height:1.32}
.card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}
.card.pad{padding:18px}
.card.lg{padding:24px}
.card h3 + p,.card h2 + p{margin-top:8px}
.grid-2,.grid-3,.split{display:grid;gap:15px;align-items:start}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.split{grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr)}
.section{margin:22px 0 12px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.section p{color:var(--muted);font-size:.84rem;margin-top:5px}
.section a{font-size:.84rem;font-weight:800;display:inline-flex;align-items:center;gap:5px;min-height:32px}
.section a .icon{width:16px;height:16px}
.subject{padding:15px;display:grid;gap:9px;height:100%}
.subject h3{font-size:.97rem;min-height:2.3em}
.subject p{font-size:.77rem;min-height:2.4em;color:var(--muted)}
.subject .ico{height:38px;width:38px}
.subject-top{display:flex;justify-content:space-between;align-items:center;gap:3px}
.subject a{font-size:.79rem;font-weight:800;display:inline-flex;gap:6px;align-items:center;min-height:35px}
.subject a .icon{width:14px;height:14px}
progress{width:100%;border:0;appearance:none;height:6px;border-radius:12px;overflow:hidden;background:var(--tint);color:var(--blue)}
progress::-webkit-progress-bar{background:var(--tint)}
progress::-webkit-progress-value{background:#3b75ee;border-radius:12px}
progress::-moz-progress-bar{background:#3b75ee}
.progress-teal::-webkit-progress-value{background:#13a273}.progress-teal::-moz-progress-bar{background:#13a273}
.progress-amber::-webkit-progress-value{background:#dca246}.progress-amber::-moz-progress-bar{background:#dca246}
.aside-card{position:relative;padding:17px}
.aside-card .divider{margin:12px 0}
.aside-card .section{margin:0 0 10px;align-items:center}
.aside-card .section h2{font-size:1.12rem}
.aside-card .section .ico{width:32px;height:32px}
.aside-card .section .ico .icon{width:16px;height:16px}
.aside-card .tiny-row{display:flex;gap:9px;align-items:center;padding:8px 0}
.aside-card .tiny-row span:last-child{color:var(--muted);font-size:.8rem}
.mini-date{padding:6px 9px;background:var(--tint);border-radius:9px;color:var(--blue);font-family:var(--mono);
  font-size:.73rem;font-weight:750;flex:none}
.divider{border:0;border-top:1px solid var(--border);margin:12px 0}
.notice{display:flex;align-items:flex-start;gap:10px;background:var(--tint);border:1px solid var(--border);
  color:var(--ink);padding:12px 13px;border-radius:12px;font-size:.83rem;overflow-wrap:anywhere}
.notice .icon{color:var(--blue);width:18px;height:18px;margin-top:1px}
.notice.amber{background:var(--soft-amber)}
.notice.amber .icon{color:var(--amber)}
.notice.error{background:var(--soft-red);color:var(--red)}
.notice.error .icon{color:var(--red)}
.notice.ok{background:var(--soft-green);color:var(--emerald)}
.notice.ok .icon{color:var(--emerald)}
.empty{text-align:center;padding:28px 14px;color:var(--muted)}
.empty .ico{margin:0 auto 11px}
.empty h3{color:var(--ink);margin-bottom:7px}
.empty .button{margin-top:12px}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:13px}
.line-list{display:grid}
.line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);min-width:0}
.line:last-child{border:0}
.line strong,.line span{overflow-wrap:anywhere}
.line small{display:block;color:var(--muted)}
.form{display:grid;gap:13px}
.form label,.field{font-weight:700;min-width:0;display:grid;gap:5px}
.form label small,.field small{font-weight:400;color:var(--muted)}
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.align-end{align-self:end}
.form input:not([type=checkbox]):not([type=radio]),.form textarea,.form select,
input.field-input,select.field-input,textarea.field-input{width:100%;background:var(--white);border:1px solid var(--border);
  color:var(--ink);padding:10px 11px;min-height:44px;border-radius:9px;outline-offset:1px;font-weight:400;min-width:0}
.password-field{display:grid;gap:5px;min-width:0}
.password-input{position:relative}
.form .password-input input{padding-inline-end:52px}
.password-input input::-ms-reveal{display:none}
.password-input .password-toggle{position:absolute;inset-block:0;inset-inline-end:1px;height:auto;border:0;
  border-radius:9px;background:transparent;padding:0}
.password-input .password-toggle:hover{background:var(--tint)}
.password-toggle:focus-visible{outline-offset:-4px}
.form textarea{resize:vertical;min-height:88px}
.form select{padding-inline-end:23px}
input[type=checkbox],input[type=radio]{accent-color:#215bd9;width:17px;height:17px}
.form .check{display:flex;align-items:center;gap:8px;min-height:44px;line-height:1.3}
.field-warning{min-height:0;color:var(--red);font-size:.84rem;font-weight:700}
fieldset{min-width:0;margin:0;border:1px solid var(--border);border-radius:10px;padding:11px}
legend{font-weight:800;padding-inline:4px}
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.filters input{width:min(320px,100%)}
.filters select{width:auto;max-width:100%}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:13px}
.chip{min-height:42px;border-radius:10px;border:1px solid var(--border);background:var(--white);color:var(--muted);padding:8px 12px;font-weight:750}
.chip[aria-pressed=true],.chip:hover{background:var(--soft-blue);color:var(--blue);border-color:var(--blue)}
.table-box{max-width:100%;overflow:auto;border-radius:11px}
table{width:100%;border-collapse:collapse;min-width:450px;text-align:left;font-size:.83rem}
caption{font-weight:700;text-align:left;margin-bottom:7px}
th,td{padding:10px 9px;vertical-align:top;border-bottom:1px solid var(--border)}
th{background:var(--tint);color:var(--ink)}
td{color:var(--ink);overflow-wrap:anywhere}
td small{display:block;color:var(--muted)}
details{background:var(--white);border:1px solid var(--border);border-radius:11px;padding:10px 12px}
details+details{margin-top:8px}
summary{cursor:pointer;font-weight:750;padding:5px 0}
details[open] summary{margin-bottom:10px}
.article{max-width:880px}
.article p{overflow-wrap:anywhere}
.article h2{margin-bottom:7px}
.article .body-copy{font-size:.96rem;line-height:1.75}
.article .readout{padding:17px;border-left:3px solid #4278eb;border-radius:0 12px 12px 0;background:var(--tint)}
.sidebar-title{margin-bottom:12px}
.score-line{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 0}
.score-line progress{height:10px}
.score-big{font-family:var(--display);font-size:3.5rem;font-weight:900;letter-spacing:-.08em;line-height:1.0}
.result-band{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}
.review-opt{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:9px;padding:9px;
  background:var(--tint);border-radius:9px}
.review-opt.best{background:var(--soft-green)}
.chart-rows{display:grid;gap:8px}
.chart-row{display:grid;grid-template-columns:80px 1fr 48px;gap:10px;align-items:center}
.chart-row progress{height:10px}
.auth-layout{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
.auth-visual{background:#08172b;position:relative;overflow:hidden;color:white;padding:38px clamp(24px,6vw,100px);
  min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:26px}
.auth-visual::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 94% 57%,#1b51aa 0,#091a3400 63%);
  pointer-events:none}
.auth-visual .brand,.auth-visual .intro,.auth-visual .auth-meta{position:relative;z-index:2}
.auth-visual .intro{max-width:455px;margin-top:28px}
.auth-visual h1{font-size:clamp(2.35rem,6vw,4.55rem);max-width:12ch;line-height:.98;margin:10px 0 15px}
.auth-visual p{font-size:.93rem;color:#bbcee9;max-width:38ch}
.auth-visual .eyebrow{color:#a9c8ff}
.auth-visual .auth-art{width:100%;max-height:53vh;object-fit:contain;z-index:1;position:relative;margin:-35px auto -18px;transform:translateX(-7%)}
.auth-meta{display:flex;gap:13px;flex-wrap:wrap;color:#bcd0ec;font-size:.76rem}
.auth-pane{display:grid;place-items:center;padding:32px 27px;background:var(--white)}
.auth-box{width:min(420px,100%)}
.auth-box h2{font-size:clamp(1.5rem,4vw,2.2rem)}
.auth-box .intro-copy{margin:8px 0 20px;color:var(--muted)}
.auth-box .form{margin-top:14px}
.auth-other{border-top:1px solid var(--line);margin-top:22px;padding-top:14px}
.credential-section[hidden]{display:none}
.credential-values :is(code,a){overflow-wrap:anywhere;min-width:0}
.auth-box .button.primary{width:100%;margin-top:2px}
.auth-box .auth-links{margin-top:16px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:.82rem}
.auth-box .brand{display:none}
.auth-box code{background:var(--tint);padding:6px;border-radius:5px;overflow-wrap:anywhere}
.opening{min-height:100dvh;display:grid;align-content:center;justify-items:center;gap:12px;background:var(--navy);color:#c6d9f9}
#toast{position:fixed;right:20px;bottom:22px;z-index:40;max-width:min(365px,calc(100vw - 40px))}
.toast{background:var(--navy);color:#fff;border:1px solid #34517a;border-radius:12px;padding:11px 14px;margin-top:6px;box-shadow:0 7px 28px #07162938;font-weight:700}
dialog{color:var(--ink);padding:0;border:1px solid var(--border);border-radius:17px;background:var(--white);width:min(530px,calc(100vw - 24px));max-height:min(85dvh,740px);overflow:auto;box-shadow:0 18px 90px #0004}
dialog::backdrop{background:#05132792}
.dialog-body{padding:20px}
.dialog-body h2{font-size:1.28rem}
.dialog-body>p{margin:9px 0 15px;color:var(--muted)}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.dialog-head .icon-button{min-width:44px;height:44px}
.dialog-body label,.dialog-body input{min-width:0}
.pop-list{margin-top:12px;max-height:54dvh;overflow-y:auto}
.pop-list a{display:block;color:var(--ink);border-bottom:1px solid var(--border);padding:11px 7px}
.pop-list a small{display:block;color:var(--muted)}
.skeleton{background:var(--tint);min-height:16px;border-radius:7px;max-width:100%}
.skeleton.tall{min-height:130px}
.exam{min-height:100dvh;background:var(--surface)}
.exam-top{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;
  gap:17px;padding:12px max(16px,calc((100% - 1470px)/2));min-height:72px;background:var(--navy);color:white}
.exam-top .idline{font-size:.74rem;color:#b8cce8;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.exam-top h1{font-size:1.22rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.timer{font-family:var(--mono);font-size:clamp(1.15rem,3vw,1.7rem);font-weight:800;color:#f9da93;letter-spacing:.015em}
.timer.urgent{color:#ffafb7}
.exam-top .button{background:#203d65;border-color:#456082;color:white}
.exam-top .button:hover{background:#2d5489}
.exam-area{max-width:1470px;margin:auto;padding:18px 16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,310px);gap:13px;align-items:start}
.exam-question{padding:clamp(14px,2.5vw,24px)}
.exam-question h2{font-size:clamp(1.15rem,2.2vw,1.52rem);letter-spacing:-.02em;line-height:1.42;overflow-wrap:anywhere;margin:12px 0 13px}
.exam-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.question-figure{background:#fff;border:1px solid var(--border);border-radius:10px;padding:6px;max-width:555px;text-align:left;margin:10px 0}
.question-figure img{margin:auto;max-height:410px;object-fit:contain}
.question-figure details{margin-top:5px}
.options{display:grid;gap:8px;margin-top:10px}
.option{display:grid;grid-template-columns:auto 31px minmax(0,1fr);gap:9px;align-items:center;border:1px solid var(--border);
  background:var(--white);padding:8px 10px;border-radius:9px;min-height:50px;cursor:pointer}
.option:has(:checked){background:var(--soft-blue);border-color:#4b81f1}
.option:hover{border-color:#7099ee}
.option .letter{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;background:var(--tint);font-weight:800}
.option .opt-text{overflow-wrap:anywhere}
.option input{margin:0}
.arena-actionbar{position:sticky;bottom:0;z-index:3;background:var(--white);border-top:1px solid var(--border);
  border-radius:0 0 9px 9px;margin:16px -5px 0;padding:9px 5px calc(3px + env(safe-area-inset-bottom));box-shadow:0 -7px 11px var(--white)}
.exam-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.exam-status:empty{min-height:0;margin:0}
.exam-aside{position:sticky;top:88px;padding:13px}
.exam-aside h2{font-size:1.14rem;margin:4px 0 6px}
.exam-aside details{padding:0;border:0}
.exam-aside summary{list-style:none}
.exam-aside summary::-webkit-details-marker{display:none}
.question-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-height:min(63dvh,620px);overflow:auto;padding:4px;scrollbar-width:thin}
.question-num{display:grid;place-items:center;min-height:35px;border:1px solid #d69ca0;color:#822c34;background:#fff0f1;border-radius:7px;
  font-size:.76rem;font-family:var(--mono);line-height:1.0;padding:6px 2px;min-width:0}
.question-num.saved{border-color:#76b69c;color:#07573d;background:#e2f4eb}
.question-num[aria-current=true]{outline:2px solid #316ceb;outline-offset:1px;font-weight:850}
.exam-status{min-height:25px;color:var(--muted);margin:7px 0 0;font-size:.82rem}
.exam-status.error{color:var(--red)}
.number-key{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:.7rem;color:var(--muted);margin:8px 0}
.figure-zoom{width:min(820px,calc(100vw - 20px))}
.figure-zoom img{width:100%;background:white;border-radius:8px}
.review-list .question-figure{padding:7px}
.mobile-nav-backdrop{display:none}
@media(max-width:1150px){
  :root{--sidebar:212px}
  .page,.topbar{padding-left:22px;padding-right:22px}
  .metric{gap:7px;padding:11px 10px}
  .metric .ico{height:31px;width:31px;border-radius:8px}
  .subject{padding:12px}
  .split{grid-template-columns:minmax(0,1.55fr) minmax(238px,1fr)}
  .split>.workspace-cards .grid-3{gap:8px}
}
@media(max-width:960px){
  .split{grid-template-columns:1fr}
  .search-button{min-width:auto}.search-button kbd{display:none}
  .profile-name{max-width:85px}
  .hero .art{width:68%;right:-10%}
}
@media(max-width:820px){
  :root{--top:61px}
  .frame{display:block}
  .side{display:none;position:fixed;left:0;top:0;bottom:0;width:min(290px,82vw);z-index:19}
  .side.is-open{display:flex}
  .mobile-nav-backdrop.is-open{display:block;position:fixed;z-index:18;background:#08172b92;inset:0;border:0}
  .topbar{padding:0 13px;gap:7px}
  .topbar .crumb{display:none}
  .topbar .mobile-brand,.mobile-menu{display:flex}
  .topbar .mobile-brand{font-weight:800;gap:7px;align-items:center;font-size:.94rem}
  .mobile-menu{display:inline-grid}
  .topbar .mobile-brand img{width:32px}
  .topbar .controls{gap:6px}
  .topbar .profile-button .avatar{width:35px;height:35px}
  .profile-name,.topbar .profile-button>.icon,.search-button span,.topbar .theme-button{display:none}
  .search-button{padding:7px;height:40px;min-height:40px;min-width:40px;justify-content:center}
  .topbar .controls .icon-button,.mobile-menu{height:40px;min-width:40px}
  .page{padding:17px 13px calc(90px + env(safe-area-inset-bottom))}
  .content-cell>.page{padding-bottom:22px}
  .portal-attribution{width:calc(100% - 26px);margin-bottom:calc(78px + env(safe-area-inset-bottom))}
  .bottom{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;left:0;right:0;bottom:0;
    z-index:9;background:var(--white);border-top:1px solid var(--border);padding:5px 6px calc(5px + env(safe-area-inset-bottom))}
  .bottom a{display:grid;justify-items:center;align-content:center;gap:3px;min-height:47px;color:var(--muted);
    font-weight:750;border-radius:9px;font-size:.68rem;text-decoration:none}
  .bottom .icon{width:17px;height:17px}
  .bottom a[aria-current=page]{background:var(--soft-blue);color:var(--blue)}
  .page-head{align-items:flex-start;gap:8px;margin-bottom:14px}
  .page-head p{font-size:.79rem}
  .hero{min-height:215px;padding:19px 15px}
  .hero .art{width:74%;right:-20%;opacity:.76}
  .hero:after{background:linear-gradient(90deg,#091a35 20%,#091a3500 90%)}
  .hero p{font-size:.82rem}
  .hero .quiet{display:none}
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:11px 0 18px}
  .metric{min-height:84px}
  .subject h3{font-size:.84rem;min-height:0}
  .subject p{display:none}
  .subject .ico{width:31px;height:31px}
  .card.pad,.card.lg{padding:13px}
  .grid-2{grid-template-columns:1fr}
  .section{margin:16px 0 9px}
  .section p{font-size:.78rem}
  .auth-layout{grid-template-columns:1fr}
  .auth-visual{display:none}
  .auth-pane{min-height:100dvh;align-items:center;padding:20px}
  .auth-box .brand{display:flex;margin-bottom:25px;color:var(--ink)}
  .auth-box .brand small{color:var(--muted)}
  .exam-top{min-height:63px;padding:8px 11px;gap:6px}
  .exam-top h1{font-size:.95rem}
  .exam-top .idline{font-size:.63rem}
  .exam-top .button{padding:6px;font-size:.76rem}
  .exam-area{grid-template-columns:1fr;padding:10px 9px 25px;gap:9px}
  .exam-aside{position:static}
  .question-grid{grid-template-columns:repeat(auto-fit,minmax(42px,1fr));max-height:280px}
  .question-num{min-height:44px}
  #toast{bottom:74px;right:12px}
}
@media(max-width:390px){
  .topbar .mobile-brand{font-size:.78rem}.topbar .mobile-brand img{width:28px}
  .hero h2{font-size:1.55rem}
  .hero .art{opacity:.47}
  .form-row{grid-template-columns:1fr}
  .split>.workspace-cards .grid-3{grid-template-columns:1fr}
  .subject{grid-template-columns:1fr auto}
  .subject-top{grid-column:1/-1}
  .subject progress{grid-column:1/-1}
  .subject a{white-space:nowrap}
  .exam-actions .button{flex:1 1 130px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}
}
@media print{
  body,.page{background:white;color:black;padding:0}
  .side,.topbar,.bottom,.button,.print-hide,#toast{display:none!important}
  .frame{display:block}
  .portal-attribution{width:100%;margin:16px 0 0;break-inside:avoid;color:#222;border-color:#ddd}
  .support-credit strong{color:inherit}
  .card{box-shadow:none;break-inside:avoid}
}
body {font-size:16px}
.auth-meta,.eyebrow,.crumb,.small,small {font-size:.82rem}
.auth-box .button:not(.primary) {text-align:center}
.dark-timer{color:var(--blue)}
.readout.answer-evidence{border-left-color:#13a273}
.answer-steps{margin:0;padding-left:1.28rem}
.answer-steps li{margin:.55rem 0;line-height:1.65}
.verify-board{max-width:850px}
.verify-board .review-opt{align-items:center}
.tight-metrics{margin-top:0}
@media(max-width:820px){
  .topbar .controls .profile-name{display:none}
  .arena-actionbar{bottom:0}
}
@media print{
  .card{border:1px solid #ddd}
  .page-head{margin-bottom:1rem}
  .print-hide{display:none!important}
}
