:root{color-scheme:dark;--ink:#12100d;--panel:#211d16;--text:#fff5de;--muted:#e0cfac;--gold:#ffd680;--line:#8e754b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ink);color:var(--text);font:1.25rem/1.55 Georgia,serif}.gift-wrap{max-width:58rem;margin:0 auto;padding:2rem 1.25rem 4rem}.brand{font:bold 1.4rem/1.3 Georgia,serif;letter-spacing:.06em}.eyebrow{color:var(--gold);font:700 1rem/1.5 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;margin:1.5rem 0 .5rem}h1,h2{line-height:1.15;text-wrap:balance}h1{font-size:clamp(2.2rem,6vw,3.8rem);margin:.6rem 0 1rem}h2{font-size:clamp(1.7rem,4vw,2.2rem);margin:.4rem 0 1rem}.intro{max-width:45rem}.quick-links{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.6rem 0}.quick-links a,.button,button{display:inline-block;padding:.75rem 1rem;border:2px solid var(--gold);border-radius:.35rem;text-decoration:none;font:700 1.1rem/1.4 system-ui,sans-serif;background:var(--gold);color:#18120a;cursor:pointer}.panel{border:1px solid var(--line);background:var(--panel);padding:1.5rem;margin:1.5rem 0;border-radius:.5rem;scroll-margin-top:1rem}a{color:var(--gold);text-underline-offset:.18em}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #fff;outline-offset:4px}form{display:grid;gap:.65rem;margin:1.5rem 0}label{font-weight:bold}input{display:block;width:min(100%,26rem);font:1.75rem/1.3 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;padding:.6rem;border:2px solid var(--line);background:#fff;color:#15110c;border-radius:.25rem}button{justify-self:start}button:disabled{opacity:.65;cursor:wait}.message{margin:0;min-height:1.5em}.message.error{color:#ffc5ba}details{margin:1.2rem 0;border-top:1px solid var(--line);padding-top:1rem}summary{cursor:pointer;font-weight:bold}.footer-note{color:var(--muted)}.solution-index{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:0}.solution-index a{display:inline-block;min-width:2.6rem;text-align:center;padding:.35rem;border:1px solid var(--line);border-radius:.2rem}.answer{padding:1rem;margin:1rem 0;border:1px solid var(--line);border-radius:.3rem;scroll-margin-top:1rem}.answer p{margin:.7rem 0}.grid-scroll{max-width:100%;overflow:auto;padding:.25rem}.answer-grid{border-collapse:collapse;table-layout:fixed;background:#fff;color:#000;width:min(100%,27rem);font:1.2rem/1.3 system-ui,sans-serif;text-align:center;border:3px solid #000;margin:.8rem 0}.answer-grid td{width:11.111%;height:2.8rem;border:1px solid #777;padding:.15rem}.answer-grid td:nth-child(3n){border-right:3px solid #000}.answer-grid tr:nth-child(3n) td{border-bottom:3px solid #000}.answer-grid caption{background:var(--panel);color:var(--text);font:1.1rem/1.4 Georgia,serif;text-align:left;padding:.4rem 0}.edition{color:var(--muted);font-size:1.1rem}@media(max-width:30rem){.panel{padding:1rem}.answer{padding:.6rem}.answer-grid td{height:2.1rem;padding:.05rem}.quick-links a{width:100%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
