*{box-sizing:border-box}body{margin:0;background:#f2f3fb;color:#1a1633;font:16px/1.65 system-ui,sans-serif}header,footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px max(5%,calc((100% - 1120px)/2));background:#fff}header>a{font-size:1.45rem;font-weight:850;text-decoration:none}nav,.actions,form{display:flex;flex-wrap:wrap;gap:8px 14px}a{color:#3c2790}main{max-width:1120px;width:90%;margin:46px auto}h1{font-size:clamp(2.3rem,6vw,4.5rem);line-height:1.04;letter-spacing:-.055em;margin:0}h2,h3{line-height:1.25}.layout{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:25px}.layout>section{background:white;border:1px solid #dcd8ee;border-radius:18px;padding:clamp(14px,3vw,24px);min-width:0}textarea,input,button{font:inherit;color:inherit}textarea,input{border:1px solid #b7b0d2;border-radius:9px;padding:8px}textarea{display:block;width:100%;margin:8px 0 12px;resize:vertical}button,.primary{border:1px solid #b7b0d2;border-radius:9px;padding:6px 12px;background:#f8f7ff;cursor:pointer}.primary,button[aria-pressed=true]{background:#4732a5;color:white;text-decoration:none;display:inline-block}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}#feedback{min-height:1.65em}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;background:white}th,td{padding:8px 13px;text-align:left;border-bottom:1px solid #ded9ed}thead{background:#e6e0ff}.actions{margin-top:10px}:focus-visible{outline:3px solid #5442be;outline-offset:3px}#sheet li{padding:6px 0;break-inside:avoid}@media(max-width:760px){.layout{grid-template-columns:1fr}}@media print{@page{size:A4;margin:15mm}body{background:white;color:black}body:has(#sheet) header,body:has(#sheet) footer,body:has(#sheet) main>h1,body:has(#sheet) main>p,body:has(#sheet) .layout>section:first-child,#study>h2,#modes,#result>button{display:none}main{width:100%;margin:0}.layout{display:block;margin:0}.layout>section{padding:0;border:0}#answer-key{break-before:page}}
.notes-heading,.notes-toggle{display:flex;align-items:center;gap:8px}.notes-heading{justify-content:space-between;flex-wrap:wrap}.notes-toggle{cursor:pointer}
