:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#f6f8fc;--surface:#fff;--surface2:#f1f5fa;--ink:#142038;--muted:#637087;--border:#dfe5f0;--shadow:0 14px 44px #12274c14;--blue:#2859e6;--blueSoft:#ecf2ff;--red:#d32f3f;--redSoft:#fdebed;--redLight:#d96369;--green:#168451;--greenSoft:#e8f8ef;--track:#e4e9f2}body[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#0d1424;--surface:#172337;--surface2:#213048;--ink:#f2f6ff;--muted:#afbdd3;--border:#33445d;--shadow:0 15px 55px #00000038;--blue:#8ea9ff;--blueSoft:#283d6a;--red:#ff7d88;--redSoft:#502c3b;--redLight:#ffb0b3;--green:#76dfab;--greenSoft:#204b3f;--track:#33445d}*{box-sizing:border-box}html,body{min-height:100%;margin:0;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}body{background:var(--page);color:var(--ink);transition:background .18s,color .18s}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.42}main{max-width:690px;padding:env(safe-area-inset-top) 18px calc(32px + env(safe-area-inset-bottom));min-height:100dvh;margin:auto}.top{justify-content:flex-end;align-items:center;gap:12px;min-height:76px;display:flex}.iconBtn{border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:14px;justify-content:center;align-items:center;min-width:44px;height:44px;display:flex}.iconBtn:hover{background:var(--surface2)}.top .exit{min-width:76px;padding:0 14px;font-weight:650;display:none}.top .exit.active{display:flex}.theme{font-size:21px}.menu{gap:12px;padding-top:10px;display:grid}.menuItem{border:1px solid var(--border);background:var(--surface);width:100%;min-height:72px;color:var(--ink);box-shadow:var(--shadow);text-align:left;border-radius:18px;justify-content:space-between;align-items:center;padding:19px;font-size:18px;font-weight:750;transition:transform .14s,border-color .14s;display:flex}.menuItem:active{transform:scale(.99)}.menuItem:hover{border-color:var(--blue)}.chev{color:var(--muted);font-size:27px;font-weight:400}.panel{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:24px;margin-top:8px;padding:clamp(20px,5vw,34px)}.eyebrow{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex}.eyebrow strong{color:var(--blue);font-size:15px}.progress{background:var(--track);border-radius:100px;height:9px;margin-top:12px;overflow:hidden}.progressBar{background:linear-gradient(90deg,#4d6cef,#3098f5);border-radius:100px;width:0;height:100%;transition:width .23s}.question{letter-spacing:-.3px;overflow-wrap:anywhere;margin:28px 0 23px;font-size:clamp(20px,4.6vw,27px);font-weight:680;line-height:1.43}.choices{grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:10px;display:grid}.choice{border:2px solid var(--border);background:var(--surface);min-height:65px;color:var(--ink);border-radius:14px;font-size:21px;font-weight:800;transition:border-color .12s,background .12s;position:relative}.choice .bar{background:var(--tone);border-radius:12px;height:5px;position:absolute;bottom:9px;left:9px;right:9px}.choice:hover:not(:disabled){border-color:var(--blue)}.choice.selected{border-color:var(--blue);background:var(--blueSoft);box-shadow:0 0 0 1px var(--blue) inset}.choice:disabled{opacity:1;cursor:default}.choice.correct{border-color:var(--green);background:var(--greenSoft);color:var(--green)}.choice.incorrect{border-color:var(--red);background:var(--redSoft);color:var(--red)}.choice.muted{opacity:.58}.feedback{border-radius:15px;margin-top:22px;padding:17px 18px;font-size:17px;font-weight:780}.feedback[hidden]{visibility:hidden;display:block!important}.feedback{align-items:center;min-height:64px;display:flex}.feedback.good{background:var(--greenSoft);color:var(--green)}.feedback.near{background:var(--redSoft);color:var(--redLight)}.feedback.wrong{background:var(--redSoft);color:var(--red)}.action{color:#fff;background:#2859e6;border:0;border-radius:15px;width:100%;min-height:58px;margin-top:25px;font-size:17px;font-weight:780}.action:disabled{opacity:.42}.action:hover:not(:disabled){filter:brightness(1.08)}.resultHeading{text-align:center;margin:7px 0 22px;font-size:23px;font-weight:780}.resultGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.metric{background:var(--surface2);border:1px solid var(--border);text-align:center;border-radius:17px;padding:23px 10px}.metric b{margin-bottom:8px;font-size:38px;line-height:1;display:block}.metric span{color:var(--muted);font-size:14px;font-weight:680}.metric.perc{grid-column:1/-1}.metric.perc b{color:var(--blue)}.metric.hit b{color:var(--green)}.metric.miss b{color:var(--red)}.overlay{z-index:20;background:#030c1ea6;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.dialog{background:var(--surface);border:1px solid var(--border);border-radius:22px;width:100%;max-width:390px;padding:27px;box-shadow:0 26px 100px #0000003d}.dialog h2{margin:0 0 9px;font-size:21px}.dialog p{color:var(--muted);margin:0;line-height:1.5}.dialogActions{gap:10px;margin-top:26px;display:flex}.dialogActions button{border-radius:13px;flex:1;min-height:49px;font-weight:750}.cancel{border:1px solid var(--border);background:var(--surface2);color:var(--ink)}.confirm{color:#fff;background:#c53044;border:0}.hint{color:var(--muted);text-align:center;margin-top:15px;font-size:13px}.sr{width:1px;height:1px;position:absolute;left:-9999px;overflow:hidden}[hidden]{display:none!important}@media (width<=420px){main{padding-left:14px;padding-right:14px}.top{min-height:66px}.panel{border-radius:20px}.choices{grid-template-columns:repeat(auto-fit,minmax(62px,1fr));gap:8px}.choice{min-height:60px}.question{margin:25px 0 22px}}
