:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#223d43;background:#f6f9f7;color-scheme:light}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,a,input{font:inherit}button,a{touch-action:manipulation;outline-offset:4px}button{min-height:46px;border:1px solid #d0ddd6;border-radius:12px;padding:11px 19px;background:#fff;color:#28544b;font-weight:650;cursor:pointer}button:disabled{opacity:.5;cursor:default}button:hover:not(:disabled){background:#eaf4ee}.primary{background:#237a67;border-color:#237a67;color:#fff}.primary:hover:not(:disabled){background:#176454}a{color:#236e63;text-underline-offset:3px}h1,h2,p{margin-top:0}.muted{font-size:13px;color:#687e73}.mode-home{min-height:100svh;display:grid;place-items:center;background:radial-gradient(ellipse at 18% 10%,#e9f4ee,transparent 48%),#fafbf7}.mode-picker{width:min(780px,100%);padding:28px 22px 40px;text-align:center}.mode-pati{width:125px;height:145px;object-fit:contain;margin:0 auto 12px;display:block}.mode-picker h1{font-size:clamp(25px,4vw,36px);letter-spacing:-1px;margin-bottom:28px;color:#264c45}.mode-links{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mode-card{display:grid;grid-template-columns:auto 1fr auto;text-align:left;align-items:center;gap:8px 15px;padding:26px 23px;border:1px solid #cddfd3;border-radius:22px;background:#fff;color:#284f46;text-decoration:none;box-shadow:0 6px 24px #244e3e06;transition:transform .15s,border-color .15s}.mode-card:hover{transform:translateY(-3px);border-color:#65a48d}.mode-card strong{font-size:27px}.mode-card>span:not(.mode-icon):not(.mode-arrow){grid-column:2/4;color:#62796e;font-size:14px;line-height:1.5}.mode-icon{grid-row:1/3;align-self:start;font-size:30px;color:#37846c}.mode-arrow{font-size:25px}.test-card{background:#fffaf0;border-color:#e4d8ba}.test-card .mode-icon{color:#ab8134}.entry-loading{display:grid;place-content:center;min-height:100svh;text-align:center}.test-topbar{height:58px;display:flex;gap:14px;align-items:center;padding:9px max(14px,calc((100vw - 1200px)/2));background:#fff;border-bottom:1px solid #e0e9e2}.home-link{font-size:13px;text-decoration:none;margin-right:auto;padding:9px 0;white-space:nowrap}.test-topbar>strong{font-size:15px}.test-topbar>span{white-space:nowrap;font-variant-numeric:tabular-nums}#test-counter{font-size:14px;color:#63786e}.test-clock{padding:6px 10px;border-radius:9px;background:#ecf5ef;color:#29664f;font-size:17px;font-weight:700}.test-clock.time-low{background:#fff1d8;color:#845f20}.test-intro,.test-results{max-width:600px;margin:7vh auto 25px;padding:22px;text-align:center}.test-intro img,.test-results>img{object-fit:contain}.test-intro h1,.test-results h1{font-size:29px;margin:12px 0 16px}.test-intro p{color:#60766e;line-height:1.75;font-size:15px}.test-facts{font-weight:650}.test-intro .primary{display:block;margin:24px auto 12px;min-width:210px}.test-intro #test-new{font-size:13px;border:0;background:transparent}.test-shell main{min-height:calc(100svh - 58px)}#test-stage{position:relative;height:calc(100svh - 58px);display:grid;grid-template-rows:minmax(0,1fr) 64px;background:#fff}#test-frame{width:100%;height:100%;border:0;background:#fff}#test-load{position:absolute;inset:30% 15px auto;text-align:center;color:#657e72;font-size:15px}.test-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px max(14px,calc((100vw - 1100px)/2));border-top:1px solid #e6ece7;background:#f8fbf8}.test-footer>span{font-size:13px;color:#677e72}.test-footer .primary{min-width:120px}.result-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:22px 0}.result-counts>div{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #dde8df;border-radius:16px;padding:20px 10px}.result-counts b{font-size:34px;color:#32745d}.result-counts span{color:#687e72;font-size:14px}#result-points{font-size:19px;font-weight:650;color:#456b5b}.test-results>button{margin:8px 4px}.test-results>a{display:block;margin-top:19px;font-size:14px}#test-review{max-width:1400px;margin:auto;padding:14px}.review-test-toolbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.test-filters{display:flex;gap:6px;flex-wrap:wrap}.test-filters button{font-size:13px;padding:9px 13px}.test-filters button[aria-pressed=true]{background:#e3f1e8;border-color:#75a88d}#review-question-list{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.review-question-chip{min-width:44px;min-height:44px;padding:7px 10px;font-variant-numeric:tabular-nums}.review-question-chip.correct{background:#e8f5ec;border-color:#b3d9be}.review-question-chip.wrong{background:#fff4df;border-color:#ddc494}.review-question-chip.blank{background:#f0f3f1;border-style:dashed}.review-question-chip[aria-current=true]{outline:2px solid #477c68;outline-offset:2px}#review-outcome{font-size:15px;color:#526f61;margin:12px 0}#review-frame{display:block;border:1px solid #dde7e0;border-radius:13px;background:#fff;width:100%;height:calc(100svh - 285px);min-height:410px}.review-test-navigation{display:flex;justify-content:space-between;margin-top:12px;gap:12px}.test-error{max-width:560px;margin:15vh auto;padding:25px;text-align:center}.test-error p{line-height:1.7;color:#65796e}.test-error a{display:block;margin:18px}.test-error button{min-width:160px}@media(max-width:600px){.mode-links{grid-template-columns:1fr;gap:14px}.mode-picker{max-width:480px;padding:24px 22px}.mode-picker h1{margin-bottom:22px}.mode-pati{height:120px;width:105px}.mode-card{padding:22px}.mode-card strong{font-size:25px}.test-topbar{gap:8px;height:54px;padding:7px 12px}.test-topbar>strong{font-size:14px}.home-link{font-size:12px}#test-counter{font-size:13px}.test-clock{font-size:16px;padding:5px 8px}.test-shell main{min-height:calc(100svh - 54px)}#test-stage{height:calc(100svh - 54px);grid-template-rows:minmax(0,1fr) 63px}.test-footer{padding:8px 12px}.test-footer>span{font-size:11px;max-width:48%}.test-footer .primary{font-size:14px;padding:10px 15px;min-width:115px}.test-intro,.test-results{margin:4vh auto 20px;padding:20px}.test-intro h1,.test-results h1{font-size:25px}.result-counts{gap:8px}.result-counts>div{padding:17px 8px}.result-counts b{font-size:29px}#test-review{padding:12px}.review-test-toolbar{gap:8px}.review-test-toolbar>button{font-size:13px}.test-filters button{padding:8px 10px}#review-frame{height:calc(100svh - 290px);min-height:380px}}@media(prefers-reduced-motion:reduce){.mode-card{transition:none}}
