:root{color-scheme:light;--ink:#233c43;--teal:#286a69;--gold:#986125;--line:#afc3b9;--pale:#edf3ee}*{box-sizing:border-box}html{font:18px/1.65 system-ui,sans-serif}body{margin:0;background:#f4f1e6;color:var(--ink)}header,main,footer{max-width:1240px;margin:auto;padding:30px}header{padding-top:48px}h1{font:clamp(1.8rem,4.5vw,3.4rem)/1.15 Georgia,serif;margin:15px 0 24px;max-width:23ch}h2{font-size:1.35rem;line-height:1.3;margin:.3em 0 .8em}h3{font-size:1.08rem;line-height:1.4}.kicker,.tag{font-weight:750;color:var(--teal);font-size:.8rem;letter-spacing:.07em}.intro{font-size:1.15rem;max-width:60ch}.source{max-width:85ch}.workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px;align-items:start}.task,.side,.follow{background:white;border:1px solid var(--line);border-radius:12px;padding:28px;min-width:0}.follow{margin-top:28px;max-width:900px}.side details{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:17px}summary{min-height:44px;cursor:pointer;font-weight:750;padding:10px 0}.prediction{background:var(--pale);border-radius:7px;padding:17px;margin:22px 0}.prediction label{display:block;font-weight:650}.prediction select{font:inherit;min-height:44px;padding:8px;width:100%;max-width:280px;margin:10px 9px 10px 0;border:1px solid #63847b;background:white;color:inherit;border-radius:4px}button{font:inherit;min-height:44px;max-width:100%;padding:9px 13px;background:white;color:inherit;border:1px solid #63847b;border-radius:4px;cursor:pointer}button:disabled{opacity:.55;cursor:default}.primary{font-weight:750;background:var(--teal);color:white}a{color:#215f60;text-underline-offset:.17em}button:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.grid-wrap{max-width:540px;margin:24px auto}.grid{display:grid;grid-template-columns:24px repeat(6,minmax(0,1fr));gap:2px;align-items:stretch}.grid .label{display:grid;place-items:center;font-size:.83rem;font-weight:650}.grid .cell{border:1px solid #8daba1;border-radius:0;min-height:0;aspect-ratio:1/1;padding:0;background:white;opacity:1}.grid .cell.on{background:#6e8584}.grid .cell.fixed{cursor:default}.grid .axis{grid-column:1/-1;height:1.5em;position:relative;margin:0}.grid .axis::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:2px dashed var(--gold);transform:translateY(-50%)}.grid .axis span{position:absolute;left:4px;top:50%;transform:translateY(-50%);background:white;padding-right:8px;font-weight:750;line-height:1.3}.legend{font-size:.88rem}.controls{display:flex;gap:10px;flex-wrap:wrap}.moves{font-weight:700}.notice{border-left:4px solid var(--gold);background:#fbf5e8;padding:12px 16px}.key-grid{max-width:400px;margin:20px auto}.key-grid .cell{min-height:0}.key-grid .label{font-size:.8rem}.paper{padding-top:15px}.material{display:inline-block;font-weight:750;padding:13px 17px;border:1px solid var(--teal);border-radius:5px}.small,footer{font-size:.86rem}footer p{max-width:90ch}@media(max-width:900px){.workspace{grid-template-columns:minmax(0,1fr)}header,main,footer{padding:24px 18px}.task,.side,.follow{padding:22px}.grid-wrap{max-width:500px}}@media(max-width:450px){html{font-size:17px}header,main,footer{padding:20px 12px}.task,.side,.follow{padding:18px 14px}.prediction{padding:14px}.grid .cell{min-height:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}@media print{@page{size:A4;margin:16mm}html{font-size:11pt}body{background:white}header,main,footer{padding:0;max-width:none}.workspace{display:block}.task,.side,.follow{border:0;padding:0}.prediction,.controls,#check,#feedback,.follow,footer{display:none}.grid-wrap{max-width:420px}.side{break-before:page}details{display:block}details>*{display:block}h1{font-size:22pt}.notice{break-inside:avoid}.grid .cell{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
