:root{--ink:#20251f;--muted:#62675c;--yellow:#f5cd46;--paper:#faf8ef;--line:#dedcce;--green:#315c46}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 Arial,sans-serif}a{color:var(--green);text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a.btn{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #2487ab;outline-offset:4px}aside{width:236px;position:fixed;inset:0 auto 0 0;background:var(--ink);color:#e6e9df;padding:29px 20px;display:flex;flex-direction:column}.brand{font-size:25px;font-weight:700;color:var(--yellow);line-height:1.2;text-decoration:none;padding-left:5px}.brand-sub{font-size:11px;margin:25px 5px 36px;color:#c8cebf}nav{display:grid;gap:10px}nav a{padding:11px 10px;color:#e6e9df;text-decoration:none;font-size:16px}nav a[aria-current=page]{background:var(--yellow);color:var(--ink);font-weight:700}.aside-bottom{margin-top:auto;font-size:12px;color:#c8cebf;padding:24px 5px 0}.aside-bottom span{display:block;margin-top:15px;color:#aab3a2}main{margin-left:236px;padding:38px 46px 80px;max-width:1500px;min-height:100vh}h1{font-size:40px;line-height:1.18;letter-spacing:-1px;margin:0 0 16px}h2{font-size:27px;line-height:1.3;margin:0 0 15px}h3{font-size:21px;line-height:1.35;margin:0 0 12px}p{margin:0 0 16px}.lead{color:var(--muted);font-size:19px;margin-bottom:32px}.eyebrow{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);font-weight:700}.hero{background:var(--yellow);padding:30px;display:flex;justify-content:space-between;align-items:center;min-height:260px;margin-bottom:34px}.hero h2{font-size:52px;line-height:1.2;letter-spacing:-1px}.hero p{font-size:23px;margin-bottom:0}.hero-side{font-size:22px;font-weight:bold;line-height:1.3;padding:0 30px}.actions{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0}.home-actions{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:18px}.btn,button.primary{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;min-height:50px;background:var(--ink);color:white;font-weight:700;text-decoration:none;border:1px solid var(--ink);border-radius:3px;font-size:16px}.btn.green{background:var(--green);border-color:var(--green)}.btn.light{background:white;color:var(--ink);border-color:var(--line)}.btn.yellow{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}.muted,small{color:var(--muted)}.home-note{margin-top:44px;color:var(--muted)}.notice{padding:16px 20px;background:#f0eddf;border-left:4px solid var(--yellow);margin:20px 0}.notice p:last-child{margin-bottom:0}.card{background:white;border:1px solid var(--line);padding:25px;border-radius:6px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card .actions{margin-bottom:0}.tag{display:inline-block;background:#eeefe7;color:var(--green);font-size:12px;font-weight:700;padding:4px 9px;margin:0 6px 12px 0;border-radius:3px}.groupmark{font-size:35px;font-weight:700;color:var(--green);margin-bottom:13px}.toolbar{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:22px 0}.toolbar label{display:grid;gap:5px;font-weight:700}.toolbar input,.toolbar select{min-width:180px}.toolbar input{width:270px}input[type=text],input[type=date],textarea,select{padding:11px 12px;border:1px solid #aaaE9f;border-radius:4px;background:#fff;color:var(--ink);max-width:100%}textarea{width:100%;min-height:110px;resize:vertical}.formfield{display:grid;gap:7px;margin:18px 0}.formfield>span{font-weight:700}.progress{height:7px;border-radius:10px;background:#e5e2d6;overflow:hidden;margin:12px 0 23px}.progress div{height:100%;background:var(--green)}.progress-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:14px}.question{border:1px solid var(--line);border-radius:6px;background:white;padding:20px;margin:0 0 18px;min-width:0}.question legend{float:left;font-weight:700;font-size:19px;width:100%;margin-bottom:16px}.question .choices{clear:both;display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.choice{padding:10px 8px;border:1px solid var(--line);border-radius:4px;text-align:center;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:13px}.choice:has(input:checked){background:#fff4bc;border-color:#9c7c0d;box-shadow:inset 0 0 0 1px #9c7c0d}.choice input{accent-color:var(--green);width:18px;height:18px}.choice b{font-size:18px}.unknown{display:flex;align-items:center;gap:9px;margin-top:14px;color:var(--muted);font-size:14px}.error{color:#a13222;font-weight:700;margin:12px 0}.checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:15px 0}.checklist label{display:flex;align-items:center;gap:10px;background:white;padding:16px;border:1px solid var(--line)}input[type=checkbox],input[type=radio]{accent-color:var(--green)}.score{display:grid;grid-template-columns:minmax(190px,1fr) 2fr 70px;gap:18px;align-items:center;margin:18px 0}.score .bar{height:12px;background:#e8e6dc;border-radius:3px}.score .bar div{height:100%;background:var(--green);border-radius:3px}.score small{display:block}.section{margin-top:38px}.empty{padding:40px;border:1px dashed #a8ab9e;text-align:center}.back{display:inline-block;margin-bottom:22px}.detail-head{background:var(--yellow);padding:28px;margin-bottom:24px}.detail-head h1{margin-bottom:12px}.detail-head p{margin:0}.step{counter-increment:step;display:flex;gap:20px;padding:25px;background:white;border:1px solid var(--line);margin-bottom:15px}.step:before{content:'0' counter(step);font-size:28px;font-weight:bold;color:var(--green)}.steps{counter-reset:step}.source-note{font-size:13px;color:var(--muted);margin-top:28px}.source-note a{font-size:13px}.school{margin:18px 0}.school .meta{font-size:14px;color:var(--muted)}.school p{margin-bottom:10px}.school h3{margin-bottom:9px}.school-links{display:flex;gap:20px;flex-wrap:wrap}.rules summary{cursor:pointer;font-weight:700}.rules{padding:18px 0;border-top:1px solid var(--line)}.rules ul{padding-left:22px}.divider{height:1px;background:var(--line);margin:30px 0}#toast{position:fixed;bottom:24px;right:24px;background:var(--ink);color:white;padding:12px 22px;border-radius:4px;display:none;z-index:9}.skip{position:fixed;top:-80px;left:250px;background:white;padding:10px;z-index:10}.skip:focus{top:8px}.status{color:var(--green);font-weight:700}.spacer{margin-top:35px}.danger{border:0;background:none;color:#913628;text-decoration:underline;padding:10px;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}@media(min-width:1500px){main{margin-right:auto}}@media(max-width:1050px){main{padding:30px}.hero-side{display:none}.hero h2{font-size:46px}.home-actions{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.score{grid-template-columns:1fr 1fr 60px}}@media(max-width:700px){aside{position:static;width:auto;padding:20px}.brand{font-size:21px}.brand br{display:none}.brand-sub{margin:8px 5px 18px}.aside-bottom{display:none}nav{display:flex;overflow:auto;gap:6px;padding-bottom:5px}nav a{white-space:nowrap;font-size:13px;padding:9px}main{margin:0;padding:28px 18px 65px}h1{font-size:31px}.lead{font-size:17px}.hero{padding:23px}.hero h2{font-size:40px}.hero p{font-size:19px}.question{padding:15px}.question legend{font-size:17px}.question .choices{gap:4px}.choice{font-size:11px;padding:9px 3px}.checklist{grid-template-columns:1fr}.score{grid-template-columns:1fr 80px;gap:10px}.score .bar{grid-row:2;grid-column:1/3}.toolbar{align-items:stretch}.toolbar label,.toolbar input,.toolbar select{width:100%}.card{padding:20px}.hero-side{display:none}.skip{left:10px}.actions .btn{flex:1;min-width:150px}.source-note{overflow-wrap:anywhere}}@media print{aside,.actions,.toolbar,.back,#toast,.danger{display:none}main{margin:0;padding:0}body{background:white}.card{break-inside:avoid}.grid{display:block}.card{margin-bottom:16px}a{color:black}}

main:focus{outline:none}
