:root{--paper:#0b1020;--ink:#f4f1e8;--panel:#18203a;--gold:#ffd27a;--sky:#9fd3ff;--radius:14px;--sans:system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.65 var(--sans)}
header,main,footer,body>nav{max-width:76ch;margin:auto;padding:1.2rem}header{border-bottom:2px solid var(--gold)}
a{color:var(--gold);text-underline-offset:.18em}a:hover{text-decoration-thickness:3px}
h1{font-size:clamp(2rem,6vw,3.3rem);line-height:1.12}h2{font-size:1.65rem;line-height:1.3;margin-top:2.5rem;color:var(--sky)}h3{color:var(--gold)}
section{margin-block:2rem}.kicker{font-weight:700;letter-spacing:.04em;color:var(--sky)}.lead{font-size:1.5rem}.brand{font-weight:800}
nav a,footer a{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:44px;min-height:44px;padding:.4rem .5rem}
.card,.callout,.tool{display:block;background:var(--panel);padding:1.5rem;border:2px solid var(--sky);border-radius:var(--radius)}
.card{color:var(--ink);text-decoration:none}.card strong{color:var(--gold)}
table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}caption{text-align:left;font-size:1rem;padding:.4rem 0}td,th{border:1px solid #5a6488;padding:.5rem;text-align:left}
figure{margin:1.5rem 0}img{max-width:100%;height:auto}figcaption{font-size:1rem}
fieldset{margin:1.5rem 0;padding:1rem;border:2px solid var(--sky);border-radius:var(--radius);min-width:0}legend{font-weight:700;max-width:100%}
fieldset label{display:flex;gap:.6rem;align-items:center;min-height:44px;padding:.65rem;margin:.4rem 0;background:var(--panel);cursor:pointer;border-radius:6px}
input[type=radio]{width:1.3rem;height:1.3rem;accent-color:var(--gold)}
.tool label{display:block;font-weight:700}input[type=number]{font:inherit;min-height:44px;width:10rem;padding:.4rem;margin:.5rem 0 1rem;background:#fff;color:#0b1020;border:2px solid var(--sky);border-radius:6px}
button{font:inherit;min-height:44px;color:#0b1020;background:var(--gold);border:2px solid var(--gold);padding:.7rem 1.2rem;cursor:pointer;border-radius:8px}
.feedback:empty{display:none}.feedback{border-left:4px solid var(--gold);padding-left:.8rem}
:focus-visible{outline:3px solid var(--sky);outline-offset:4px}
.skip{position:absolute;left:1rem;top:-10rem;background:var(--gold);color:#0b1020;padding:1rem}.skip:focus{top:0}
.print-only{display:none}footer{border-top:2px solid var(--gold);font-size:1rem}
@media(max-width:440px){header,main,footer,body>nav{padding:1rem}td,th{padding:.3rem}fieldset{padding:.7rem}}
/* Correction 2026-11-08: brand link target height; let nav/footer/pager links shrink and wrap so a 290.7px pager link cannot overflow a ~284px content box at 320 CSS px (400% zoom). */
.brand{display:inline-flex;align-items:center;min-height:44px;max-width:100%}
nav a,footer a{max-width:100%;overflow-wrap:anywhere}

.sorter-row{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}
.sorter-row button{min-width:44px;min-height:44px}
.card+.card{margin-top:1rem}
