.rescue-page{background:#f3f0e7}.rescue-interaction{max-width:58rem;margin:auto}.rescue-lesson{padding:1.2rem;border-left:4px solid #b9953c;background:#fff5d9;margin-bottom:1.5rem}.rescue-lesson p{margin-top:0}.rescue-target{max-width:48rem;margin:1rem auto 1.5rem}.rescue-target ol{display:flex;flex-wrap:wrap;gap:.6rem;padding:0;list-style:none}.rescue-target li{display:flex;align-items:center;gap:.4rem;padding:.4rem .6rem;border:2px solid transparent;background:#fff9eb;border-radius:.8rem;min-width:0;overflow-wrap:anywhere;flex:1 1 10rem;min-width:min(100%,10rem)}.rescue-target li.is-next{border-color:#a47624;background:#fff0c9}.rescue-target li.is-delivered{background:#e0ece6}.rescue-target svg{width:44px;height:44px;flex-shrink:0}.rescue-stage{max-width:48rem;margin:auto}.rescue-current{position:-webkit-sticky;position:sticky;top:.5rem;z-index:5;background:#fff9eb;padding:.8rem 1rem;border-radius:1rem;display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;margin-bottom:1rem;scroll-margin-top:1rem}.rescue-current h2{margin:0}.rescue-current svg{width:48px;height:48px;flex-shrink:0}.rescue-stage.is-finished .rescue-current{position:static}.rescue-board{position:relative;max-width:32rem;margin:1rem auto 2rem}.rescue-board-spacer{padding-top:100%}.rescue-tracks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.rescue-interaction .rescue-node{position:absolute;padding:0;min-height:0;min-width:0;max-width:none;border:0;border-radius:50%;background:transparent;touch-action:manipulation}.rescue-node>svg{width:100%;height:100%;pointer-events:none}.rescue-node.is-selected{outline:4px solid #a47624;outline-offset:0}.rescue-node.is-legal{box-shadow:0 0 0 3px #397f85}.rescue-node.is-hinted{box-shadow:0 0 0 5px #a47624}.rescue-node:focus-visible{outline:4px solid #294f55;outline-offset:3px}.rescue-node-label{position:absolute;transform:translate(-50%);font-size:.8rem;font-weight:700;background:#fff8e5;border-radius:.3rem;padding:0 .15rem;line-height:1;pointer-events:none}.rescue-bead-picture{display:block}.rescue-beads{display:flex;flex-wrap:wrap;gap:.6rem;margin:.8rem 0}.rescue-beads button{display:flex;align-items:center;gap:.5rem;min-width:0;border:3px solid transparent}.rescue-beads button[aria-pressed=true]{border-color:#a47624;background:#fff0c9}.rescue-beads svg{width:40px;height:40px;flex-shrink:0}.rescue-moves{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.rescue-controls{max-width:48rem;margin:1.5rem auto}.rescue-controls>div{display:flex;flex-wrap:wrap;gap:.7rem}.rescue-interaction button{min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.rescue-feedback{min-height:3em}.rescue-feedback.is-complete{color:#28674d;font-weight:700;animation:rescue-success .5s ease-out}.rescue-interaction details{max-width:48rem;margin:2rem auto}.rescue-node .rescue-bead-picture{animation:rescue-arrive .2s ease-out}@keyframes rescue-arrive{0%{opacity:.7;transform:scale(.93)}to{opacity:1;transform:none}}@keyframes rescue-success{0%{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}@media (max-width:400px){.rescue-controls>div>*{flex:1 1 8rem}.rescue-current{padding:.8rem}.rescue-target li{flex:1 1 7rem}}@media (prefers-reduced-motion:reduce){.rescue-feedback.is-complete,.rescue-node .rescue-bead-picture{animation:none}}.odd-page{background:#f3f0e7}.odd-interaction{max-width:58rem;margin:auto}.odd-lesson{padding:1.2rem;border-left:4px solid #b9953c;background:#fff5d9;margin-bottom:1.5rem}.odd-lesson p{margin-top:0}.odd-stage{max-width:48rem;margin:auto}.odd-rule{display:flex;align-items:center;gap:1rem;background:#fff9eb;padding:1.1rem;border-radius:1rem;margin-bottom:1.2rem;position:-webkit-sticky;position:sticky;top:.5rem;z-index:5;scroll-margin-top:1rem}.odd-rule>svg{width:48px;height:48px;flex-shrink:0}.odd-rule h2{margin:0 0 .5rem}.odd-rule p{margin:0}.odd-stage.is-complete .odd-rule{position:static}.odd-board{max-width:24rem;margin:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:.8rem}.odd-choice{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;padding:.7rem;border:3px solid transparent;background:#fff9eb;border-radius:1rem;overflow-wrap:anywhere}.odd-picture{display:block;width:min(100%,12rem);height:auto;flex-shrink:0}.odd-choice-name{font-weight:700;line-height:1.4}.odd-choice.is-match{border-color:#28674d;background:#e3eee6}.odd-choice.is-exception{border-color:#a47624;background:#fff0c9}.odd-interaction .odd-choice:disabled{opacity:1;color:inherit;cursor:default}.odd-proof{margin-top:.7rem}.odd-proof strong{display:block}.odd-proof p{font-size:.9em;line-height:1.5;margin:.5rem 0 0}.odd-controls{max-width:48rem;margin:1.5rem auto}.odd-controls>div{display:flex;flex-wrap:wrap;gap:.7rem}.odd-interaction button{min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.odd-feedback{min-height:3em}.odd-feedback.is-complete{color:#28674d;font-weight:700;animation:odd-success .5s ease-out}.odd-interaction details{max-width:48rem;margin:2rem auto}@keyframes odd-success{0%{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}@media (max-width:400px){.odd-rule{align-items:flex-start;padding:.8rem}.odd-controls>div>*{flex:1 1 8rem}}@media (prefers-reduced-motion:reduce){.odd-feedback.is-complete{animation:none}}.treasure-page{background:#f3f1e7}.treasure-interaction{max-width:58rem;margin:auto}.treasure-lesson{padding:1.2rem;border-left:4px solid #b9953c;background:#fff5d9;margin-bottom:1.5rem}.treasure-lesson p{margin-top:0}.treasure-stage{position:relative;max-width:48rem;margin:auto}.treasure-clue{position:-webkit-sticky;position:sticky;top:.5rem;z-index:5;background:#fff9eb;padding:1rem;border-radius:1rem;box-shadow:0 3px 15px #294f5512;scroll-margin-top:1rem}.treasure-clue h2{margin:0 0 .6rem}.treasure-properties{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}.treasure-property{display:flex;align-items:center;gap:.5rem;font-weight:700;min-width:0;overflow-wrap:anywhere}.treasure-property>svg{width:48px;height:48px;flex-shrink:0}.treasure-properties>span{font-weight:700}.treasure-zoom{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-top:.8rem}.treasure-zoom span{font-weight:600}.treasure-viewport{width:min(100%,max(16rem,60vh));max-height:calc(60vh + 3rem);overflow:auto;overscroll-behavior:contain;margin:1rem auto;background:#e2e8d7;border-radius:1rem;touch-action:pan-x pan-y}.treasure-scene{position:relative;height:0}.treasure-scene-backdrop{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.treasure-toy{position:absolute;border:3px solid transparent;border-radius:.8rem;min-width:0;min-height:0;background:transparent;padding:0;touch-action:manipulation}.treasure-toy>svg{width:100%;height:100%;pointer-events:none}.treasure-toy>span{position:absolute;left:0;bottom:0;font-weight:700;font-size:.8em;background:#fff8e5;border-radius:.3rem;line-height:1.2;min-width:1.3em;color:#294f55}.treasure-toy:hover{background:#fff8e533}.treasure-toy:focus-visible{outline:4px solid #397f85;outline-offset:-2px}.treasure-toy.is-selected{border-color:#a47624;background:#fff0be55}.treasure-zone-labels{display:flex;justify-content:space-around;font-weight:700;margin:1rem 0 0}.treasure-controls{max-width:48rem;margin:1.5rem auto}.treasure-controls>div{display:flex;flex-wrap:wrap;gap:.7rem}.treasure-interaction button{min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.treasure-interaction .treasure-toy{min-height:0;max-width:none}.treasure-primary{background:#397f85;color:white}.treasure-feedback{padding:.8rem 0;min-height:3em}.treasure-feedback.is-complete{color:#28674d;font-weight:700;animation:treasure-success .5s ease-out}.treasure-interaction details{max-width:48rem;margin:2rem auto}.treasure-explanation{background:#e0ece6;padding:1rem;border-radius:1rem;margin:1rem 0}.treasure-explanation p{margin-top:0}@keyframes treasure-success{0%{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}@media (max-width:400px){.treasure-clue{padding:.8rem}.treasure-controls>div>*{flex:1 1 8rem}}@media (prefers-reduced-motion:reduce){.treasure-feedback.is-complete{animation:none}}.missing-page{background:#f4f1e8}.missing-interaction{max-width:58rem;margin:auto}.missing-lesson{padding:1.2rem;border-left:4px solid #b9953c;background:#fff5d9;margin-bottom:1.8rem}.missing-lesson p{margin-top:0}.missing-stage{max-width:44rem;margin:auto}.missing-stage h2{scroll-margin-top:9rem}.missing-scene{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));grid-auto-rows:12rem;gap:.8rem;padding:1rem;border-radius:1.5rem;background:#dce9d6;position:relative}.missing-scene.is-shelf{background:repeating-linear-gradient(0deg,#e9d9b9,#e9d9b9 calc(25% - 9px),#baa17e calc(25% - 9px),#baa17e 25%)}.missing-slot{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.35rem;text-align:center;border-radius:1rem;border:3px solid transparent;overflow-wrap:anywhere}.missing-slot>svg{width:clamp(3rem,16vw,5.2rem);height:5.2rem;flex-shrink:0}.missing-slot>span{font-weight:600;background:#fff9e9;border-radius:.3rem;padding:0 .25rem;line-height:1.35;min-height:2.7em}.missing-slot.is-restored{border-color:#96721f;background:#fff0bf}.missing-slot>strong{font-size:.9em}.missing-scene.is-covered{background:#dce5da}.missing-curtain{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;padding:1rem}.missing-curtain svg{width:min(100%,18rem)}.missing-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr));gap:.6rem;margin:1.4rem 0}.missing-options button{min-width:0;min-height:8rem;padding:.7rem .35rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:3px solid transparent;border-radius:1rem;background:#fff9eb;overflow-wrap:anywhere;line-height:1.4}.missing-options button>svg{width:clamp(2.6rem,13vw,4.5rem);height:4.5rem;flex-shrink:0}.missing-options button[aria-pressed=true]{border-color:#397f85;background:#e1eeea}.missing-controls{max-width:44rem;margin:1.2rem auto 2rem}.missing-controls>div{display:flex;flex-wrap:wrap;gap:.75rem}.missing-interaction button{min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.missing-primary{background:#397f85;color:white}.missing-feedback{min-height:3rem;margin:1.2rem 0}.missing-feedback.is-complete{color:#28674d;font-weight:700;animation:missing-success .5s ease-out}.missing-interaction details{margin:2rem auto;max-width:44rem}.missing-cue{min-height:2.5em}@keyframes missing-success{0%{transform:translateY(5px);opacity:.5}to{transform:none;opacity:1}}@media (max-width:380px){.missing-scene{gap:.5rem;padding:.7rem}.missing-controls>div>*{flex:1 1 8rem}}@media (prefers-reduced-motion:reduce){.missing-feedback.is-complete{animation:none}}.stone-memory-page{color:#294f55}.stone-memory-page button{min-height:48px;padding:12px 16px;border:2px solid transparent;border-radius:12px;white-space:normal;overflow-wrap:anywhere}.stone-memory-page button:focus-visible{outline:3px solid #9b6417;outline-offset:3px}.stone-memory-lesson{padding:16px 20px;background:#fff5dc;border-left:4px solid #bd963d;margin:22px 0}.stone-memory-lesson p{margin-top:0}.stone-memory-controls,.stone-memory-page details,.stone-memory-status{max-width:740px;margin:24px auto}.stone-memory-status h2{font-size:1.5rem;margin-bottom:8px}.stone-memory-status p{margin-top:0;min-height:3em}.stone-memory-board{position:relative;width:100%;margin:20px auto;isolation:isolate}.stone-memory-board>svg{position:absolute;inset:0;display:block}.stone-memory-hit-grid{position:absolute;inset:0;display:grid}.stone-memory-page .stone-memory-cell{position:relative;min-height:48px;min-width:0;width:100%;height:100%;padding:0;border:2px solid transparent;background:transparent;border-radius:16px}.stone-memory-cell>span{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);white-space:nowrap;line-height:1.1;padding:0 3px;border-radius:4px;background:#fff8e8eb;color:#294f55;font-weight:700;overflow-wrap:normal}.stone-memory-page .stone-memory-cell:disabled{opacity:1;cursor:default}.stone-memory-animal.is-motion{transition:transform .28s ease-in-out}.stone-memory-hop{animation:stone-frog-hop .28s ease-in-out}.stone-memory-controls fieldset>div,.stone-memory-controls>div{display:flex;flex-wrap:wrap;gap:12px}.stone-memory-control-cue{padding:12px 16px;background:#fff5dc;border-left:4px solid #bd963d;min-height:3em}.stone-memory-page .stone-memory-primary{background:#397f85;color:white}.stone-memory-controls fieldset{border:0;border-top:1px solid #c8bea3;padding:14px 0;margin:22px 0}.stone-memory-controls legend{padding-right:12px}.stone-memory-controls [aria-pressed=true]{border-color:#397f85;background:#dcebe5}.stone-memory-feedback{min-height:3em}.stone-memory-page summary{cursor:pointer;min-height:48px;padding:12px 0}.stone-memory-page button:disabled:not(.stone-memory-cell){opacity:.55}@keyframes stone-frog-hop{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}@media (max-width:600px){.stone-memory-controls>div>button{flex:1 1 130px}.stone-memory-status h2{font-size:1.4rem}}@media (prefers-reduced-motion:reduce){.stone-memory-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.picnic-memory-page{color:#294f55}.picnic-memory-page button{min-height:48px;padding:12px 16px;border:2px solid transparent;border-radius:12px;white-space:normal;overflow-wrap:anywhere}.picnic-memory-page button:focus-visible{outline:3px solid #9b6417;outline-offset:4px}.picnic-memory-lesson{padding:16px 20px;border-left:4px solid #bd963d;background:#fff5db;margin:22px 0}.picnic-memory-lesson p{margin-top:0}.picnic-memory-stage{max-width:920px;margin:24px auto}.picnic-memory-status h2{font-size:1.5rem;margin-bottom:8px}.picnic-memory-status p{margin-top:0}.picnic-memory-basket{position:relative;padding:80px 40px 40px;isolation:isolate}.picnic-memory-basket>.picnic-memory-basket-frame{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.picnic-memory-basket ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.picnic-memory-basket figure{margin:0;padding:12px;background:#fff9e9;border-radius:50% 50% 22% 22%;text-align:center}.picnic-memory-basket figcaption{font-weight:700}.picnic-memory-basket svg:not(.picnic-memory-basket-frame){display:block;margin:0 auto 8px;max-width:100%}.picnic-memory-tray{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:18px}.picnic-memory-tray button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#fff9e9;border-color:#c8bea3;min-width:0}.picnic-memory-tray button>svg{display:block;max-width:100%;flex-shrink:0}.picnic-memory-tray button>span:first-of-type{font-weight:700}.picnic-memory-tray button[aria-pressed=true]{background:#e0ede3;border-color:#397f85}.picnic-memory-selection{font-size:1.1em;font-weight:700;color:#397f85}.picnic-memory-controls,.picnic-memory-page details{max-width:920px;margin:22px auto}.picnic-memory-controls>div{display:flex;flex-wrap:wrap;gap:12px}.picnic-memory-page .picnic-memory-primary{background:#397f85;color:white}.picnic-memory-feedback{min-height:3em}.picnic-memory-feedback.is-complete{font-weight:700;animation:picnic-found .6s ease-out}.picnic-memory-page summary{cursor:pointer;min-height:48px;padding:12px 0}.picnic-memory-page button:disabled{opacity:.5}@keyframes picnic-found{0%{opacity:.6}to{opacity:1}}@media (max-width:600px){.picnic-memory-basket{padding:64px 22px 30px}.picnic-memory-basket ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.picnic-memory-basket figure{padding:10px}.picnic-memory-tray{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.picnic-memory-tray button{padding:12px 8px}.picnic-memory-controls>div>button{flex:1 1 130px}.picnic-memory-basket figcaption{overflow-wrap:anywhere}}@media (prefers-reduced-motion:reduce){.picnic-memory-page *{animation:none!important;transition:none!important}}.repeat-lights-page{color:#294f55}.repeat-lights-page button{min-height:48px;padding:12px 16px;border:2px solid transparent;border-radius:12px;white-space:normal;overflow-wrap:anywhere}.repeat-lights-page button:focus-visible{outline:3px solid #945c12;outline-offset:4px}.repeat-lights-lesson{padding:16px 20px;background:#fff5dc;border-left:4px solid #bd963d;margin:22px 0}.repeat-lights-lesson p{margin-top:0}.repeat-lights-controls,.repeat-lights-page details,.repeat-lights-status{max-width:740px;margin:22px auto}.repeat-lights-status{min-height:110px}.repeat-lights-status h2{font-size:1.5rem;margin:0 0 8px}.repeat-lights-status p{margin:0}.repeat-lights-pads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:740px;margin:20px auto}.repeat-lights-page .repeat-light-pad{min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#fffaf0;border:4px solid #294f55;box-shadow:0 7px 0 #294f5540;min-width:0}.repeat-lights-page .repeat-light-pad:disabled{opacity:1;cursor:default}.repeat-light-pad span{color:#294f55;background:#fff8e5;border-radius:6px;padding:4px 8px;white-space:nowrap;overflow-wrap:normal;font-size:1.25em;font-weight:700;text-transform:capitalize}.repeat-light-pad>svg{max-width:100%;flex-shrink:0}.repeat-light-pad.is-lit{filter:brightness(1.2);transform:translateY(-3px)}.repeat-light-pad.is-lit,.repeat-light-pad.is-static-cue{outline:7px solid #f8d66a;outline-offset:3px}.repeat-lights-controls fieldset>div,.repeat-lights-controls>div{display:flex;flex-wrap:wrap;gap:12px}.repeat-light-control-cue{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;background:#fff5dc;border-left:4px solid #bd963d;padding:12px 16px;margin:0 0 12px;min-height:3em}.repeat-lights-controls fieldset{border:0;border-top:1px solid #c8bea3;padding:14px 0;margin:22px 0}.repeat-lights-controls legend{padding:0 10px 0 0}.repeat-lights-controls [aria-pressed=true]{border-color:#397f85;background:#dcebe5}.repeat-lights-page .repeat-light-primary{background:#397f85;color:white}.repeat-lights-feedback{min-height:3em}.repeat-lights-page summary{cursor:pointer;min-height:48px;padding:12px 0}.repeat-lights-page button:disabled:not(.repeat-light-pad){opacity:.55}@media (max-width:600px){.repeat-lights-pads{gap:16px}.repeat-lights-page .repeat-light-pad{padding:10px;min-height:172px;gap:8px}.repeat-light-pad>svg:first-child{width:58px;height:58px}.repeat-light-pattern{width:112px;height:28px}.repeat-light-pad span{font-size:1.05em}.repeat-lights-controls>div>button{flex:1 1 130px}}@media (prefers-reduced-motion:reduce){.repeat-lights-page *{animation:none!important;transition:none!important}.repeat-light-pad.is-lit{filter:none;transform:none;outline:7px solid #f8d66a}}.hidden-peg-page{color:#294f55}.hidden-peg-page button{min-height:48px;padding:12px 16px;border:2px solid transparent;border-radius:12px;white-space:normal;overflow-wrap:anywhere}.hidden-peg-page button:focus-visible{outline:3px solid #a56b17;outline-offset:4px}.hidden-peg-lesson{padding:16px 20px;border-left:4px solid #bd963d;background:#fff5da;margin:22px 0}.hidden-peg-lesson p{margin-top:0}.hidden-peg-target{display:flex;align-items:center;gap:16px;flex-wrap:wrap;max-width:760px;margin:28px auto 18px}.hidden-peg-target>svg{width:80px;height:80px;flex-shrink:0}.hidden-peg-target h2{font-size:1.5rem;margin:0}.hidden-peg-target p{margin:6px 0}.hidden-peg-count{margin-left:auto!important}.hidden-peg-mode{max-width:760px;margin:12px auto;min-height:3em}.hidden-peg-board{display:grid;gap:18px;max-width:760px;margin:16px auto;padding:26px;background:#e1cfa9;border-radius:28px;border-bottom:8px solid #bfaa7c}.hidden-peg-page .hidden-peg-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#d1bb8b;min-height:138px;min-width:0;border:2px solid #ac9665;color:#294f55}.hidden-peg-slot.is-visible{background:#fff8e5}.hidden-peg-slot.is-collected{background:#dce9df;border-color:#789c87}.hidden-peg-page .hidden-peg-slot:disabled{opacity:1;cursor:default}.hidden-peg-slot>svg{display:block;width:72px;height:72px;max-width:100%;animation:peg-lift .22s ease-out}.hidden-peg-slot span{font-weight:700;overflow-wrap:normal}.hidden-peg-actions{max-width:760px;margin:20px auto}.hidden-peg-actions>div{display:flex;flex-wrap:wrap;gap:12px}.hidden-peg-page .hidden-peg-primary{background:#397f85;color:white}.hidden-peg-feedback{min-height:3em}.hidden-peg-page details{max-width:760px;margin:18px auto}.hidden-peg-page summary{min-height:48px;padding:12px 0;cursor:pointer}.hidden-peg-page button:disabled:not(.hidden-peg-slot){opacity:.5}@keyframes peg-lift{0%{transform:translateY(5px);opacity:.7}to{transform:translateY(0);opacity:1}}@media (max-width:600px){.hidden-peg-board{gap:10px;padding:14px;border-radius:18px}.hidden-peg-page .hidden-peg-slot{padding:8px;min-height:112px;gap:6px}.hidden-peg-slot>svg{width:58px;height:58px}.hidden-peg-slot span{font-size:.85em}.hidden-peg-actions>div>button{flex:1 1 130px}.hidden-peg-count{width:100%;margin-left:0!important}.hidden-peg-target{gap:10px}}@media (prefers-reduced-motion:reduce){.hidden-peg-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.cup-stacks-page{--cup-ink:#294f55;--cup-accent:#397f85;color:var(--cup-ink)}.cup-stacks-page button{min-height:48px;border:2px solid transparent;border-radius:10px;padding:10px 14px;white-space:normal;overflow-wrap:anywhere}.cup-stacks-page button:focus-visible{outline:3px solid #a56b17;outline-offset:4px}.cup-stacks-page button:disabled{opacity:.5}.cup-stacks-lesson{padding:16px 20px;background:#fff5db;border-left:4px solid #c59737;margin:20px 0}.cup-stacks-lesson p{margin-top:0}.cup-stacks-reference{position:-webkit-sticky;position:sticky;top:8px;z-index:2;background:#fffaf0;border-bottom:3px solid #b9ac86;padding:10px 16px;max-width:640px;margin:22px auto 0;box-shadow:0 5px 12px #294f5510}.cup-stacks-reference-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.cup-stacks-reference h2{font-size:1.15rem;margin:0}.cup-stacks-reference-title span{font-size:.85em}.cup-stacks-targets{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px}.cup-stacks-targets figure{margin:0;text-align:center;min-width:0}.cup-stacks-targets svg{display:block;margin:auto;max-width:100%}.cup-stacks-targets figcaption{font-weight:700}.cup-stacks-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}.cup-stacks-tools p{margin:0}.cup-stacks-workspace{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px;align-items:end;border-bottom:2px solid #c8bea3;padding-bottom:22px}.cup-stacks-column{text-align:center;min-width:0}.cup-stacks-column h3{margin:8px 0;font-size:1.1em}.cup-stacks-source{display:flex;flex-direction:column;align-items:center;justify-content:end;width:100%;background:transparent;min-height:200px}.cup-stacks-source[aria-pressed=true]{background:#e1efea;border-color:var(--cup-accent)}.cup-stacks-source svg{display:block;flex-shrink:0}.cup-stacks-source span{display:block}.cup-stacks-column [data-cup-destination]{display:flex;flex-direction:column;justify-content:center;width:100%;background:#ece7d8;margin-top:8px}.cup-stacks-column [data-cup-destination][aria-pressed=true]{border-color:var(--cup-accent);background:#d6e9e3}.cup-stacks-capacity{display:block;font-size:.8em}.cup-stacks-actions{padding:16px 0}.cup-stacks-actions>div{display:flex;flex-wrap:wrap;gap:12px}.cup-stacks-page .cup-stacks-primary{background:#397f85;color:white}.cup-stacks-feedback{min-height:3em}.cup-stacks-success{font-weight:700;animation:cup-stack-success .7s ease-out}.cup-stacks-source svg{animation:cup-stack-settle .2s ease-out}.cup-stacks-page details{margin:16px 0}.cup-stacks-page summary{cursor:pointer;min-height:48px;padding:10px 0}.cup-stacks-page .sr-only{position:absolute;-webkit-clip-path:inset(50%);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}@keyframes cup-stack-settle{0%{transform:translateY(-4px);opacity:.8}to{transform:translateY(0);opacity:1}}@keyframes cup-stack-success{0%{opacity:.6}to{opacity:1}}@media (max-width:600px){.cup-stacks-workspace{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cup-stacks-column.is-supply{grid-column:1/-1}.cup-stacks-column.is-supply .cup-stacks-source{min-height:0}.cup-stacks-reference{padding:8px;top:4px}.cup-stacks-source{padding:8px!important;min-height:190px}.cup-stacks-tools button{width:100%}.cup-stacks-actions>div>button{flex:1 1 130px}.cup-stacks-reference-title{gap:4px}.cup-stacks-reference-title span{font-size:.8em}}@media (prefers-reduced-motion:reduce){.cup-stacks-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.bridge-engineer-interaction{color:#294b57}.bridge-engineer-interaction button{font-size:.9375rem;line-height:1.4;min-height:48px;white-space:normal;overflow-wrap:anywhere}.bridge-engineer-lesson{border-left:4px solid #c79936;background:#fff7e3;padding:.75rem 1rem;max-width:56rem;margin-bottom:1.5rem}.bridge-engineer-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"scene scene" "tray controls";gap:1.5rem 2rem;align-items:start;max-width:70rem}.bridge-engineer-workspace h2{font-size:1.4rem;margin:0 0 .7rem}.bridge-engineer-workspace p{line-height:1.6}.bridge-engineer-scene{grid-area:scene;min-width:0}.bridge-engineer-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:14px;background:#d8e9e6;margin:.6rem 0}.bridge-engineer-board{position:relative;margin:auto;touch-action:pan-x pan-y}.bridge-map{display:block}.bridge-engineer-cell{position:absolute!important;width:48px;height:48px;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;touch-action:pan-x pan-y}.bridge-engineer-board:focus-visible{outline:3px solid #a87929;outline-offset:-3px}.bridge-engineer-animal{position:absolute;left:4px;top:8px;width:40px;height:40px;pointer-events:none}.bridge-engineer-animal.is-crossing{animation:bridge-cross 1.8s linear forwards}@keyframes bridge-cross{0%{transform:translateX(0)}to{transform:translateX(var(--bridge-walk-distance))}}.bridge-engineer-tray{grid-area:tray;min-width:0}.bridge-engineer-tray>ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}.bridge-engineer-tray li{min-width:0}.bridge-engineer-tray li button{width:100%;display:block!important;padding:.4rem!important;border:2px solid transparent!important;background:transparent!important;box-shadow:none!important}.bridge-engineer-tray li button[aria-pressed=true]{border-color:#a87929!important;background:#f3e6c7!important}.bridge-engineer-tray small{display:block;font-size:.8em;font-weight:400}.bridge-engineer-tray svg{display:block;width:124px;max-width:100%;height:auto;margin:auto}.bridge-engineer-tray-scroll{display:none}.bridge-engineer-controls{grid-area:controls;min-width:0;display:flex;flex-direction:column;gap:.8rem}.bridge-engineer-actions{display:flex;flex-wrap:wrap;gap:.5rem}.bridge-engineer-primary{background:#34756d!important;color:white!important}.bridge-engineer-controls>button{align-self:flex-start}.bridge-engineer-feedback{min-height:3em}.bridge-engineer-spots>div{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}.bridge-engineer-spots button[aria-pressed=true]{background:#e3ead8}.bridge-preview{pointer-events:none}.bridge-placed{animation:bridge-piece .15s ease-out}@keyframes bridge-piece{0%{opacity:.6}to{opacity:1}}@media (max-width:650px){.bridge-engineer-workspace{display:flex;flex-direction:column;align-items:stretch;gap:1rem}.bridge-engineer-tray{order:-1}.bridge-engineer-tray>ul{display:flex;overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;gap:.5rem}.bridge-engineer-tray li{flex:0 0 142px}.bridge-engineer-tray-scroll{display:flex;gap:.5rem}.bridge-engineer-actions>button,.bridge-engineer-spots button,.bridge-engineer-tray-scroll button{flex:1 1 43%;min-width:0}}@media (prefers-reduced-motion:reduce){.bridge-placed{animation:none}.bridge-engineer-animal.is-crossing{animation:none;transform:translateX(var(--bridge-walk-distance))}}.mosaic-interaction{color:#294b57}.mosaic-interaction button{font-size:.9375rem;line-height:1.4;min-height:48px;white-space:normal;overflow-wrap:anywhere}.mosaic-lesson{border-left:4px solid #c79936;background:#fff7e3;padding:.75rem 1rem;max-width:56rem;margin-bottom:1.5rem}.mosaic-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-areas:"reference build" "tray build";gap:1.5rem 2rem;align-items:start;max-width:70rem}.mosaic-workspace h2{font-size:1.4rem;margin:0 0 .7rem}.mosaic-workspace p{line-height:1.6}.mosaic-reference{grid-area:reference;min-width:0;background:#edf0e4;padding:1rem;border-radius:1.5rem}.mosaic-reference .mosaic-map{margin:.8rem auto 0;max-width:100%;height:auto}.mosaic-reference details ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1rem}.mosaic-tray{grid-area:tray;min-width:0}.mosaic-tray>ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}.mosaic-tray li{min-width:0}.mosaic-tray li button{width:100%;display:block!important;padding:.4rem!important;background:transparent!important;box-shadow:none!important;border:2px solid transparent!important}.mosaic-tray li button[aria-pressed=true]{border-color:#a87929!important;background:#f3e6c7!important}.mosaic-tray small{display:block;font-size:.8em;font-weight:400}.mosaic-tray svg{width:96px;max-width:100%;height:auto;display:block;margin:auto}.mosaic-tray-scroll{display:none}.mosaic-build{grid-area:build;min-width:0;display:flex;flex-direction:column;gap:.8rem}.mosaic-board{position:relative;max-width:100%;margin:auto;flex-shrink:0}.mosaic-map{display:block;max-width:100%;height:auto}.mosaic-board .mosaic-map{width:100%;height:100%}.mosaic-cell{position:absolute!important;width:64px;height:64px;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.mosaic-board:focus-visible{outline:3px solid #a87929;outline-offset:3px}.mosaic-actions{display:flex;flex-wrap:wrap;gap:.5rem}.mosaic-primary{background:#34756d!important;color:white!important}.mosaic-build>button{align-self:flex-start}.mosaic-preview{pointer-events:none}.mosaic-feedback{min-height:3em}.mosaic-spots>div{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.mosaic-spots button[aria-pressed=true]{background:#e2e9d5}.mosaic-board .mosaic-map{animation:mosaic-arrive .15s ease-out}@keyframes mosaic-arrive{0%{opacity:.75}to{opacity:1}}@media (max-width:650px){.mosaic-workspace{display:flex;flex-direction:column;align-items:stretch;grid-template-columns:minmax(0,1fr);grid-template-areas:"reference" "tray" "build";gap:1rem}.mosaic-reference{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;gap:.5rem;align-items:center;padding:.6rem;max-height:45vh;overflow-y:auto}.mosaic-reference>div{flex:1 1;min-width:0}.mosaic-reference h2{font-size:1.15rem}.mosaic-reference .mosaic-map{width:144px;flex:0 0 144px;margin:0}.mosaic-target-help{display:none}.mosaic-reference summary{font-size:.85em}.mosaic-tray>ul{display:flex;overflow-x:auto;overscroll-behavior-x:contain;gap:.5rem;max-width:100%}.mosaic-tray li{flex:0 0 130px}.mosaic-tray-scroll{display:flex;gap:.5rem}.mosaic-actions>button,.mosaic-spots button,.mosaic-tray-scroll button{flex:1 1 43%;min-width:0}}@media (prefers-reduced-motion:reduce){.mosaic-board .mosaic-map{animation:none}}.mosaic-reference h2,.mosaic-reference summary{overflow-wrap:anywhere}.cube-interaction{color:#294b57}.cube-interaction button{font-size:.9375rem;line-height:1.4;min-height:48px;white-space:normal;overflow-wrap:anywhere}.cube-lesson{border-left:4px solid #c79936;background:#fff7e3;padding:.75rem 1rem;max-width:56rem;margin-bottom:1.5rem}.cube-view-controls{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin-bottom:1.5rem}.cube-view-controls p{margin:0}.cube-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:2rem;align-items:start;max-width:68rem}.cube-workspace h2{font-size:1.4rem;margin:0 0 .8rem}.cube-workspace p{line-height:1.6}.cube-build,.cube-plan{min-width:0}.cube-plan{background:#edf0e4;padding:1rem;border-radius:1.5rem}.cube-drawing{display:block;max-width:100%;height:auto;margin:0 auto}.cube-height-map{width:100%;border-collapse:initial;border-spacing:.35rem;text-align:center;font-size:1.2rem}.cube-height-map caption{font-size:1rem;font-weight:700;margin:.7rem 0}.cube-height-map td,.cube-height-map th{padding:.5rem;border-radius:.4rem;background:#fff9e9}.cube-height-map th{background:transparent}.cube-sides{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}.cube-side{margin:.6rem 0;max-width:100%;flex:1 1 10rem}.cube-side figcaption{font-weight:700}.cube-side svg{max-width:100%;height:auto;display:block}.cube-side ul{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;padding:0;font-size:.85em}.cube-build{display:flex;flex-direction:column;gap:.8rem}.cube-columns{display:grid;gap:.5rem}.cube-columns button{display:block!important;border:2px solid transparent!important;background:#e8ede0!important;text-align:center}.cube-columns button[aria-pressed=true]{border-color:#a87929!important;background:#f5e5bf!important}.cube-columns strong{display:block;font-size:1.5em}.cube-height-controls{padding:1rem 0;border-top:1px solid #cbd3bf;border-bottom:1px solid #cbd3bf;display:flex;flex-direction:column;gap:.6rem}.cube-height-controls h3{font-size:1.2rem;margin:0}.cube-height-controls p{margin:0}.cube-height-controls:focus-visible{outline:3px solid #b68a35;outline-offset:3px}.cube-actions,.cube-height-choices{display:flex;flex-wrap:wrap;gap:.5rem}.cube-height-choices button{flex:1 1 4rem;min-width:0}.cube-height-choices button[aria-pressed=true],.cube-primary{background:#34756d!important;color:white!important}.cube-build>button{align-self:flex-start}.cube-feedback{min-height:3em}.cube-model-motion{animation:cube-arrive .18s ease-out}@keyframes cube-arrive{0%{opacity:.6}to{opacity:1}}@media (max-width:650px){.cube-workspace{grid-template-columns:minmax(0,1fr);gap:1.5rem}.cube-plan{padding:.7rem}.cube-actions>button,.cube-view-controls button{flex:1 1 43%;min-width:0}.cube-view-controls p{order:3;width:100%}.cube-height-map td,.cube-height-map th{padding:.35rem}.cube-height-map{border-spacing:.15rem}}@media (prefers-reduced-motion:reduce){.cube-model-motion{animation:none}}.rotate-interaction{color:#294b57}.rotate-interaction button{font-size:.9375rem;line-height:1.4;min-height:48px;white-space:normal;overflow-wrap:anywhere}.rotate-lesson{border-left:4px solid #c79936;background:#fff7e3;padding:.75rem 1rem;max-width:56rem;margin-bottom:1.5rem}.rotate-workspace{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:2rem;align-items:start;max-width:66rem}.rotate-workspace h2{font-size:1.4rem;margin:0 0 .5rem}.rotate-workspace p{line-height:1.6;margin:.4rem 0 .9rem}.rotate-reference{margin:0;text-align:center;padding:1rem;background:#edf0e4;border-radius:1.5rem}.rotate-reference .rotation-drawing{margin:.5rem auto}.rotate-reference details{text-align:left}.rotation-drawing{display:block;max-width:100%;height:auto}.rotate-copy{min-width:0;display:flex;flex-direction:column;gap:.8rem}.rotate-keyboard{max-width:100%;width:272px;align-self:center;border-radius:50%;outline-offset:3px}.rotate-keyboard:focus-visible{outline:3px solid #b68a35}.rotate-position{font-weight:700;text-align:center}.rotate-actions{display:flex;flex-wrap:wrap;gap:.5rem}.rotate-primary{background:#34756d!important;color:white!important}.rotate-copy>button{align-self:flex-start}.rotate-feedback{min-height:3em}.rotate-shape-motion{animation:rotate-settle .18s ease-out}@keyframes rotate-settle{0%{opacity:.6;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@media (max-width:620px){.rotate-workspace{grid-template-columns:minmax(0,1fr);gap:1.5rem}.rotate-reference{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:.5rem;align-items:center;text-align:left;padding:.8rem}.rotate-reference .rotation-drawing{width:128px}.rotate-reference details{grid-column:1/-1}.rotate-actions>button{flex:1 1 43%;min-width:0}}@media (prefers-reduced-motion:reduce){.rotate-shape-motion{animation:none}}.silhouette-interaction{color:#294b57}.silhouette-interaction button{font-size:.9375rem;min-height:48px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.silhouette-lesson{border-left:4px solid #c79936;background:#fff7e3;padding:.75rem 1rem;max-width:56rem;margin-bottom:1.5rem}.silhouette-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(18rem,1fr);grid-template-areas:"target tray" "controls tray";gap:1.5rem 2rem;align-items:start}.silhouette-target{grid-area:target;min-width:0}.silhouette-tray{grid-area:tray;min-width:0}.silhouette-controls{grid-area:controls;max-width:58rem;display:flex;flex-direction:column;gap:.8rem}.silhouette-workspace h2{font-size:1.4rem;margin:.2rem 0 .6rem}.silhouette-workspace p{line-height:1.6;margin:.4rem 0 .8rem}.silhouette-map{display:block;max-width:100%;height:auto;margin:0 auto}.silhouette-tray ul{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:.5rem}.silhouette-piece{display:flex!important;flex-direction:column;align-items:center;width:100%;padding:.5rem!important;border:2px solid transparent!important;background:transparent!important;box-shadow:none!important}.silhouette-piece[aria-pressed=true]{border-color:#39766d!important;background:#e9eee1!important}.silhouette-piece svg{width:96px;max-width:100%;height:auto}.silhouette-piece small,.silhouette-sockets small{display:block;font-size:.85em;font-weight:400}.silhouette-sockets{display:flex;flex-wrap:wrap;gap:.5rem}.silhouette-sockets button{min-width:5rem;border-bottom:3px solid transparent}.silhouette-sockets button[aria-pressed=true]{border-bottom-color:#ad7829;background:#f5e6c5}.silhouette-preview{display:flex;gap:1.5rem;align-items:center}.silhouette-preview svg{flex:0 0 224px;max-width:50%;height:auto}.silhouette-preview p{max-width:26rem}.silhouette-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.silhouette-primary{background:#34756d!important;color:white!important}.silhouette-feedback{min-height:3em}.silhouette-count{font-weight:700}.silhouette-fitted{animation:silhouette-arrive .2s ease-out}@keyframes silhouette-arrive{0%{opacity:.5}to{opacity:1}}@media (max-width:680px){.silhouette-workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"target" "tray" "controls"}.silhouette-tray ul{grid-template-columns:repeat(3,minmax(0,1fr))}.silhouette-piece{padding:.25rem!important}.silhouette-preview{flex-wrap:wrap;gap:.5rem}.silhouette-preview svg{max-width:100%}.silhouette-sockets button{flex:1 1 28%;min-width:0}.silhouette-actions>button{flex:1 1 43%;min-width:0}}@media (prefers-reduced-motion:reduce){.silhouette-fitted{animation:none}}.silhouette-tray-scroll{display:none}.silhouette-sockets button{display:block!important;text-align:left;min-width:min(100%,8rem);flex:1 1 8rem}.silhouette-sockets small{overflow-wrap:normal;word-break:normal}@media (max-width:680px){.silhouette-workspace{grid-template-areas:"tray" "target" "controls"}.silhouette-tray ul{display:flex;overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;gap:.5rem}.silhouette-tray li{flex:0 0 120px;min-width:0}.silhouette-tray-scroll{display:flex;gap:.5rem;flex-wrap:wrap}.silhouette-tray-scroll button{flex:1 1 43%;min-width:0}.silhouette-sockets button{flex:1 1 8rem;min-width:min(100%,8rem)}}.hex-page{--hex-ink:#294b57}.hex-interaction{color:var(--hex-ink)}.hex-interaction button{font-size:.9375rem;line-height:1.4;min-height:48px;white-space:normal;overflow-wrap:anywhere}.hex-lesson{max-width:56rem;border-left:4px solid #cf9c35;background:#fff8e6;padding:.75rem 1rem;margin-bottom:1.25rem}.hex-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(17rem,24rem);grid-template-areas:"board tray" "board controls";gap:1rem 2rem;align-items:start}.hex-tray{grid-area:tray;min-width:0}.hex-controls h2,.hex-tray h2{font-size:1.4rem;margin:0 0 .6rem}.hex-piece-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding:0;margin:0;list-style:none}.hex-piece-list li{display:flex;align-items:center;gap:.2rem;min-width:0;border-bottom:2px solid #dbdfc9}.hex-piece-list .is-selected{border-color:#294b57}.hex-select{display:block!important;flex:1 1;min-width:0;padding:.35rem!important;background:transparent!important;box-shadow:none!important;text-align:left}.hex-select small{display:block;font-size:.8em;font-weight:400}.hex-select[aria-pressed=true]{font-weight:700}.hex-handle{width:56px;height:56px;flex:0 0 56px;padding:2px!important;touch-action:none;cursor:grab}.hex-handle svg{display:block;width:52px;height:52px}.hex-handle:active{cursor:grabbing}.hex-tray-scroll{display:none}.hex-board-section{grid-area:board;min-width:0}.hex-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;background:#f7efd6;border-radius:20px}.hex-board{position:relative;margin:auto;touch-action:pan-y}.hex-board:focus-visible{outline:4px solid #ad7829;outline-offset:-4px;border-radius:20px}.hex-map{display:block}.hex-preview{pointer-events:none}.hex-hit{min-width:0!important;min-height:0!important;position:absolute!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;-webkit-clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);touch-action:pan-y}.hex-hit:focus-visible{outline:0!important;background:#c49c2944!important}.hex-toolbar{display:flex;flex-direction:column;gap:.6rem;margin-top:.75rem;max-width:38rem}.hex-toolbar p{margin:.1rem 0;line-height:1.4}.hex-actions,.hex-history,.hex-turns,.hex-view{display:flex;gap:.5rem;flex-wrap:wrap}.hex-view{margin-top:.75rem}.hex-primary{background:#34756d!important;color:#fff!important}.hex-controls{grid-area:controls;display:flex;flex-direction:column;gap:.75rem;min-width:0}.hex-controls p{margin:.15rem 0}.hex-controls>button{align-self:flex-start}.hex-feedback{min-height:3em}.hex-candidates ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:.4rem;max-height:18rem;overflow-y:auto}.hex-candidates button{width:100%;text-align:left}.hex-candidates button[aria-pressed=true]{outline:2px solid #294b57}.hex-controls details{font-size:.9375rem;line-height:1.6}.hex-controls summary{cursor:pointer}.hex-board,.hex-handle{user-select:none;-webkit-user-select:none}@media (prefers-reduced-motion:no-preference){.hex-placed{animation:hex-place .18s ease-out 1}@keyframes hex-place{0%{opacity:.4}to{opacity:1}}}@media (max-width:700px){.hex-workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"tray" "board" "controls";gap:1rem}.hex-piece-list{display:flex;overflow-x:auto;overscroll-behavior-x:contain;padding:.2rem 0}.hex-piece-list li{flex:0 0 164px}.hex-tray-scroll{display:flex;gap:.5rem;margin-top:.5rem;flex-wrap:wrap}.hex-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}.tangram-page{--tg-ink:#294b57}.tangram-interaction{color:var(--tg-ink)}.tangram-interaction button{font-size:.9375rem;line-height:1.4;min-height:48px;white-space:normal;overflow-wrap:anywhere}.tangram-lesson{max-width:56rem;border-left:4px solid #d79b36;padding:.75rem 1rem;margin-bottom:1.25rem;background:#fff9e8}.tangram-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(17rem,24rem);grid-template-areas:"board tray" "board controls";column-gap:2rem;row-gap:1rem;align-items:start}.tangram-tray{grid-area:tray;min-width:0}.tangram-controls h2,.tangram-tray h2{font-size:1.4rem;margin:0 0 .6rem}.tangram-piece-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding:0;margin:0;list-style:none}.tangram-piece-list li{display:flex;align-items:center;gap:.2rem;min-width:0;border-bottom:2px solid #dce2d0}.tangram-piece-list li.is-selected{border-color:#294b57}.tangram-select{display:block!important;flex:1 1;min-width:0;text-align:left;background:transparent!important;box-shadow:none!important;padding:.35rem!important}.tangram-select[aria-pressed=true]{font-weight:700}.tangram-select small{display:block;font-size:.8em;font-weight:400}.tangram-handle{width:56px;height:56px;flex:0 0 56px;padding:2px!important;touch-action:none;cursor:grab}.tangram-handle:active{cursor:grabbing}.tangram-handle svg{display:block;width:52px;height:52px}.tangram-tray-scroll{display:none}.tangram-board-section{grid-area:board;min-width:0}.tangram-scroll{overflow-x:auto;max-width:100%;border-radius:22px;background:#edf0dc;overscroll-behavior-x:contain}.tangram-board{width:320px;height:320px;position:relative;margin:auto;touch-action:pan-y}.tangram-board:focus-visible{outline:4px solid #bc8126;outline-offset:-4px;border-radius:22px}.tangram-map{display:block;width:320px;height:320px}.tangram-controls{grid-area:controls;display:flex;flex-direction:column;gap:.75rem;min-width:0}.tangram-controls p{margin:.15rem 0}.tangram-controls>button{align-self:flex-start}.tangram-history,.tangram-spots,.tangram-transforms,.tangram-view{display:flex;gap:.5rem;flex-wrap:wrap}.tangram-view{margin-top:.75rem}.tangram-feedback{min-height:3em}.tangram-primary{background:#286c6b!important;color:#fff!important}.tangram-candidates ul{padding:0;list-style:none;display:flex;flex-direction:column;gap:.4rem;max-height:18rem;overflow-y:auto}.tangram-candidates button{width:100%;text-align:left}.tangram-candidates button[aria-pressed=true]{outline:2px solid #294b57}.tangram-controls details{font-size:.9375rem;line-height:1.6}.tangram-controls summary{cursor:pointer}.tangram-preview{pointer-events:none}.tangram-toolbar{display:flex;flex-direction:column;gap:.6rem;margin-top:.75rem;max-width:38rem}.tangram-toolbar p{margin:.1rem 0;line-height:1.4}.tangram-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.tangram-board,.tangram-handle{user-select:none;-webkit-user-select:none}@media (prefers-reduced-motion:no-preference){.tangram-placed{animation:tangram-place .18s ease-out 1}.tangram-success{animation:tangram-glow .6s ease-out 1}@keyframes tangram-place{0%{opacity:.45}to{opacity:1}}@keyframes tangram-glow{0%{opacity:.3;stroke-width:2}to{opacity:1;stroke-width:.8}}}@media (max-width:700px){.tangram-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tangram-workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"tray" "board" "controls";gap:1rem}.tangram-piece-list{display:flex;overflow-x:auto;overscroll-behavior-x:contain;padding:.2rem 0}.tangram-piece-list li{flex:0 0 164px}.tangram-tray-scroll{display:flex;gap:.5rem;margin-top:.5rem;flex-wrap:wrap}}.pair-page{--pair-ink:#294f55}.pair-interaction{color:var(--pair-ink)}.pair-interaction button{font-size:.9375rem;line-height:1.4;min-height:48px;white-space:normal;overflow-wrap:anywhere}.pair-lesson{max-width:56rem;border-left:4px solid #c29b3b;padding:.75rem 1rem;background:#fff9e8;margin-bottom:1.25rem}.pair-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(15rem,22rem);gap:2rem;align-items:start}.pair-workspace section{min-width:0}.pair-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;background:#f8f4e5;border-radius:16px}.pair-board{position:relative;width:calc(var(--pair-size) * 56px);height:calc(var(--pair-size) * 56px);margin:auto;touch-action:pan-y;-webkit-user-select:none;user-select:none}.pair-map{display:block}.pair-hit{position:absolute;width:56px;height:56px!important;min-width:56px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:9px!important;touch-action:none}.pair-hit:focus-visible{outline:3px solid #294f55;outline-offset:-4px}.pair-controls{display:flex;flex-direction:column;gap:.75rem}.pair-controls h2{font-size:1.4rem;margin:0}.pair-controls p{margin:.15rem 0}.pair-endpoints,.pair-history,.pair-select{display:flex;flex-wrap:wrap;gap:.5rem}.pair-select button{text-transform:capitalize}.pair-select button[aria-pressed=true]{background:#294f55;color:#fff}.pair-primary{background:#286c6b!important;color:#fff!important}.pair-feedback{min-height:3em}.pair-controls>button{align-self:flex-start}.pair-controls details{font-size:.9375rem;line-height:1.6}.pair-controls summary{cursor:pointer}.pair-workspace section>button{margin-top:.75rem}.pair-rule{font-weight:650}@media (max-width:700px){.pair-workspace{grid-template-columns:minmax(0,1fr);gap:1.25rem}}@media (prefers-reduced-motion:no-preference){.pair-primary{animation:pair-appear .4s ease-out 1}@keyframes pair-appear{0%{opacity:.55}to{opacity:1}}}.trail-page{--trail-ink:#294f55;--trail-accent:#286c6b}.trail-interaction{color:var(--trail-ink)}.trail-interaction button{font-size:.9375rem;line-height:1.4;min-height:48px;white-space:normal;overflow-wrap:anywhere}.trail-lesson{max-width:56rem;border-left:4px solid #dca443;padding:.75rem 1rem;margin-bottom:1.25rem;background:#fff9e8}.trail-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(15rem,22rem);gap:2rem;align-items:start}.trail-workspace section{min-width:0}.trail-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:24px;background:#edf0dc}.trail-board{position:relative;margin:auto;touch-action:pan-y;-webkit-user-select:none;user-select:none}.trail-board,.trail-map{width:304px;height:304px}.trail-map{display:block}.trail-pencil{transition:transform .18s ease}.trail-hit{position:absolute;width:56px;height:56px!important;min-width:56px;padding:0!important;border:0!important;border-radius:50%;background:transparent!important;box-shadow:none!important;touch-action:none}.trail-hit:focus-visible{outline:4px solid #ad6f19;outline-offset:1px}.trail-controls{display:flex;flex-direction:column;gap:.75rem}.trail-controls h2{font-size:1.4rem;margin:0}.trail-controls p{margin:.15rem 0}.trail-feedback{min-height:3em}.trail-choices,.trail-history{display:flex;gap:.5rem;flex-wrap:wrap}.trail-primary{background:#286c6b!important;color:#fff!important}.trail-controls details{font-size:.9375rem;line-height:1.6}.trail-controls summary{cursor:pointer}.trail-controls button{align-self:flex-start}.trail-workspace section>button{margin-top:.75rem}@media (max-width:700px){.trail-workspace{grid-template-columns:minmax(0,1fr);gap:1.25rem}.trail-controls{max-width:100%}}@media (prefers-reduced-motion:reduce){.trail-pencil{transition:none}}.pattern-core-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,.8fr);align-items:start;gap:clamp(28px,5vw,80px);margin-top:32px}.pattern-core-inspector,.pattern-core-workspace{min-width:0}.pattern-core-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:12px}.pattern-core-heading h2,.pattern-core-inspector h2{font-size:clamp(22px,2vw,28px);line-height:1.4;margin:0}.pattern-core-heading>span{font-size:12px}.pattern-core-reading,.pattern-core-shelf-label{font-size:13px;line-height:1.8;color:#627263;margin:17px 0}.pattern-core-scroll{overflow-x:auto;max-width:100%;padding:4px 4px 14px;outline-offset:-3px}.pattern-core-sequence{display:grid;grid-template-columns:repeat(var(--pattern-core-cols),minmax(84px,1fr));gap:12px;width:100%;min-width:calc(var(--pattern-core-cols) * 84px + (var(--pattern-core-cols) - 1) * 12px)}.pattern-core-cell{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;position:relative;min-height:145px;padding:10px 8px;border:2px solid #dfdfcb;border-radius:13px;background:#fff9e9;color:#2a5351;text-align:center;min-width:0}.pattern-core-cell.is-unit{border-color:#91a77d;background:#e8eddc;box-shadow:inset 0 0 0 2px #a6b78c}.pattern-core-number{align-self:flex-start;font-size:11px;color:#70826a;line-height:1}.pattern-core-token-name{font-size:12px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}.pattern-core-figure{display:block;position:relative;width:76px;height:76px;max-width:100%;flex-shrink:0;margin:auto;pointer-events:none}.pattern-core-scaled{display:flex;position:absolute;inset:0;justify-content:center;align-items:center}.pattern-core-figure .pw-token-picture{width:76px;height:76px;max-width:none}.pattern-core-figure .pw-token-picture svg{max-height:76px}.pattern-core-page .pattern-core-gap{display:flex;flex-direction:column;justify-content:center;align-items:center;border:2px dashed #b5834e;border-radius:13px;min-height:145px;padding:10px 8px;background:#f6e8ce;color:#5c634b;cursor:pointer;gap:9px}.pattern-core-gap.is-complete{background:#e5edd7;border-style:solid;border-color:#719465}.pattern-core-gap.is-over{background:#e3ecd3;border-color:#4b8068}.pattern-core-page .pattern-core-gap:disabled,.pattern-core-page .pattern-core-option:disabled{opacity:1;cursor:default}.pattern-core-missing{display:flex;align-items:center;justify-content:center;width:76px;height:76px;font:800 38px Nunito,sans-serif;color:#9b7447}.pattern-core-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:530px}.pattern-core-page .pattern-core-option{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:130px;min-width:44px;padding:14px 9px;border:2px solid #cbd6bd;border-radius:13px;background:#ebefdf;color:#2c5752;cursor:grab;touch-action:none}.pattern-core-option>span:last-child{font-size:13px;line-height:1.6;overflow-wrap:anywhere;max-width:100%}.pattern-core-option.is-selected{border-color:#9c7944;background:#f4e8ca}.pattern-core-option:hover:not(:disabled){border-color:#799975}.pattern-core-eyebrow{font-size:11px!important;letter-spacing:.16em;text-transform:uppercase;margin:0 0 12px!important}.pattern-core-inspector p{font-size:14px;line-height:1.8}.pattern-core-inspector h2{margin-bottom:18px}.pattern-core-inspector button,.pattern-core-intro button{font:inherit;cursor:pointer;min-height:44px;padding:12px 15px;border-radius:11px;background:#e5ecda;color:#315f54;max-width:100%;gap:8px;white-space:normal;line-height:1.6}.pattern-core-teaching{border-block:1px solid #d5dec9;padding:14px 0;margin:22px 0}.pattern-core-intro>button,.pattern-core-success>button,.pattern-core-teaching>button{width:100%;background:#2d6258;color:#fff;font-weight:700}.pattern-core-success{animation:pattern-core-fit .35s ease-out}.pattern-core-hint,.pattern-core-new{width:100%;margin-top:18px}.pattern-core-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.pattern-core-feedback{min-height:55px;color:#6a694c}.pattern-core-hint-text{background:#f5eacd;padding:14px;border-radius:12px}.pattern-core-help{margin-top:24px;border-top:1px solid #d4ddc9;padding-top:18px;font-size:13px;line-height:1.8}.pattern-core-help summary{cursor:pointer}.pattern-core-follow{padding:12px 0;border-block:1px solid #d3dfc7}.pattern-core-follow>button{width:100%}.pattern-core-follow p{font-size:12px}.pattern-core-archive{display:flex!important;justify-content:flex-start!important;background:transparent!important;text-decoration:underline;text-underline-offset:3px;margin-top:18px;padding-left:0!important}.pattern-core-legacy-note{font-size:13px;line-height:1.8;color:#658164;margin:0 0 18px}.pattern-core-intro>svg{display:block;width:100%;height:auto;border-radius:18px}.pattern-core-ghost{position:fixed;z-index:100;pointer-events:none;transform:translate(-50%,-50%);padding:12px;border:2px solid #8eab7e;background:#fff5de;border-radius:14px;box-shadow:0 6px 18px #3b513b33}.pattern-core-page button:focus-visible,.pattern-core-scroll:focus-visible{outline:3px solid #b78745;outline-offset:3px}@keyframes pattern-core-fit{0%{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}@media (max-width:800px){.pattern-core-layout{grid-template-columns:minmax(0,1fr);gap:30px}.pattern-core-sequence{gap:8px;min-width:calc(var(--pattern-core-cols) * 84px + (var(--pattern-core-cols) - 1) * 8px)}.pattern-core-shelf{gap:8px}.pattern-core-page .pattern-core-option{padding:12px 6px}.pattern-core-cell,.pattern-core-page .pattern-core-gap{padding:9px 6px}.pattern-core-inspector .pattern-core-feedback{min-height:0}}@media (prefers-reduced-motion:reduce){.pattern-core-success{animation:none}.pattern-core-ghost{box-shadow:none}}.ff-main:where(.factor-player){max-width:1180px;margin:auto;padding:30px 32px 48px;color:#215b59}:where(.factor-player) .ff-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:26px}:where(.factor-player) .ff-heading h1{font:900 clamp(28px,3.4vw,40px)/1.15 Nunito,sans-serif;letter-spacing:-.03em;margin:8px 0}:where(.factor-player) .ff-heading p{margin:8px 0;line-height:1.6;font-size:18px}:where(.factor-player) .ff-heading .eyebrow{color:#526650}:where(.factor-player) .ff-mobile-equation{display:none}.ff-main:where(.factor-player) button{min-height:48px;min-width:48px;touch-action:manipulation}.ff-main:where(.factor-player) button:focus-visible{outline:3px solid #2457d6;outline-offset:4px}.ff-main:where(.factor-player) button:disabled{opacity:.55}:where(.factor-player) .ff-new,:where(.factor-player) .ff-tools button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;border:1px solid #8caa94;border-radius:10px;background:#fffefb;color:#215b59;font-weight:700;font-size:16px}:where(.factor-player) .ff-new{flex-shrink:0}:where(.factor-player) .ff-workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);background:#eef1e4;border:1px solid #c7d5bc;border-radius:24px;overflow:hidden}:where(.factor-player) .ff-board{padding:28px;display:flex;flex-direction:column;align-items:center;background:#e1ead6;min-width:0}:where(.factor-player) .ff-eyebrow{font-size:14px;letter-spacing:.12em;font-weight:800;text-transform:uppercase;margin:0 0 8px}:where(.factor-player) .ff-board h2{font:900 clamp(30px,4vw,48px)/1.15 Nunito,sans-serif;margin:5px 0 24px;text-align:center}:where(.factor-player) .ff-array{width:100%;min-height:180px;display:flex;flex-direction:column;justify-content:center;border-radius:18px;padding:22px;background:#fff9ec}:where(.factor-player) .ff-counter-grid{display:grid;justify-items:center;align-items:center;gap:7px;width:100%}:where(.factor-player) .ff-counter{display:block;width:min(100%,24px);aspect-ratio:1;border-radius:50% 50% 45% 50%;background:#287158;border:1px solid #215b59;box-shadow:inset -3px -3px 0 #215b5940}:where(.factor-player) .ff-leftovers{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;flex-wrap:wrap;color:#75452c;font-weight:700}:where(.factor-player) .ff-leftovers .ff-counter{width:18px;background:#e79e63;border-style:dashed;border-color:#75452c}:where(.factor-player) .ff-array-caption{font-size:16px;line-height:1.6;margin:14px 0 5px;text-align:center}:where(.factor-player) .ff-equation{font:900 clamp(28px,4vw,40px)/1.5 Nunito,sans-serif;margin:14px 0;text-align:center}:where(.factor-player) .ff-equation span{color:#526b59}:where(.factor-player) .ff-equation small{display:block;font-size:18px;color:#75452c}:where(.factor-player) .ff-controls{padding:28px;display:flex;flex-direction:column;gap:18px;min-width:0}:where(.factor-player) .ff-controls h3{font:800 22px/1.3 Nunito,sans-serif;margin:0 0 8px}:where(.factor-player) .ff-controls p{font-size:17px;line-height:1.65;margin:0}:where(.factor-player) .ff-stepper{display:flex;align-items:center;gap:22px;margin:20px 0}:where(.factor-player) .ff-stepper button{display:grid;place-items:center;background:#fffefb;border:1px solid #8caa94;border-radius:50%;width:56px;height:56px}:where(.factor-player) .ff-stepper output{font:900 40px/1 Nunito,sans-serif;min-width:50px;text-align:center}:where(.factor-player) .ff-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;min-height:56px!important;border:0;border-radius:10px;color:#fff9ec;background:#215b59;font-size:18px;font-weight:800;width:100%}:where(.factor-player) .ff-primary:hover{background:#17433e}:where(.factor-player) .ff-pair-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}:where(.factor-player) .ff-pair-heading h3{margin:0}:where(.factor-player) .ff-text{background:none;border:0;text-decoration:underline;text-underline-offset:4px;font-weight:700;font-size:16px;color:#215b59;padding:8px 0}:where(.factor-player) .ff-pairs{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0}:where(.factor-player) .ff-pairs li{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;background:#d0e5bd;font:800 21px/1.3 Nunito,sans-serif;animation:ff-grow .25s ease-out}:where(.factor-player) .ff-muted{color:#526650}:where(.factor-player) .ff-tools{display:flex;flex-wrap:wrap;gap:12px}:where(.factor-player) .ff-controls .ff-message{min-height:3.3em;color:#3f594a;font-size:16px}:where(.factor-player) .ff-tree{width:100%;max-height:390px;min-height:180px;margin:0 0 16px}:where(.factor-player) .ff-tree g{animation:ff-grow .25s ease-out}:where(.factor-player) .ff-branches{display:flex;flex-wrap:wrap;gap:10px}:where(.factor-player) .ff-branches button{display:flex;align-items:center;gap:8px;min-height:56px;border:1px solid #8caa94;background:#fff9ec;border-radius:10px;padding:9px 15px;font:800 24px/1.2 Nunito,sans-serif}:where(.factor-player) .ff-branches small{font-size:14px}:where(.factor-player) .ff-branches [aria-pressed=true]{background:#215b59;color:#fff9ec}:where(.factor-player) .ff-success{display:flex;flex-direction:column;gap:16px}:where(.factor-player) .ff-success h3{font-size:28px}:where(.factor-player) .ff-success .ff-answer{font:900 25px/1.6 Nunito,sans-serif;overflow-wrap:anywhere}:where(.factor-player) .ff-discoveries{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:24px;padding-top:36px}:where(.factor-player) .ff-discoveries h2{font:800 28px/1.2 Nunito,sans-serif;margin:8px 0}:where(.factor-player) .ff-discoveries p{line-height:1.6}:where(.factor-player) .ff-stickers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}:where(.factor-player) .ff-stickers figure{margin:0;text-align:center;font-size:14px;line-height:1.4;color:#526650}:where(.factor-player) .ff-stickers svg{width:82px;max-width:100%;display:block;margin:0 auto 8px}:where(.factor-player) .ff-stickers .is-earned{color:#215b59;font-weight:800}@keyframes ff-grow{0%{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}@media (max-width:760px){:where(.factor-player) .ff-controls .ff-mobile-equation{display:block;font-weight:800;margin:0 0 16px}.ff-main:where(.factor-player){padding:22px 20px 36px}:where(.factor-player) .ff-workspace{grid-template-columns:1fr}:where(.factor-player) .ff-heading{flex-wrap:wrap;gap:10px}:where(.factor-player) .ff-board{padding:24px 20px}:where(.factor-player) .ff-controls{padding:24px 20px}:where(.factor-player) .ff-board h2{margin-bottom:20px;font-size:36px}:where(.factor-player) .ff-array{min-height:150px;padding:20px 14px}:where(.factor-player) .ff-counter-grid{gap:4px}:where(.factor-player) .ff-discoveries{grid-template-columns:1fr}:where(.factor-player) .ff-stickers{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}:where(.factor-player) .ff-tree{max-height:340px}}@media (prefers-reduced-motion:reduce){:where(.factor-player) .ff-pairs li,:where(.factor-player) .ff-tree g{animation:none}}.wb-page{--wb-ink:#235856;--wb-paper:#fffaf0;--wb-peach:#f3bb8b;min-height:100svh;background:var(--wb-paper);color:var(--wb-ink)}.wb-page .cp-header{flex-wrap:wrap;gap:14px}.wb-page .cp-header-actions{margin-left:auto}.wb-main{max-width:1080px;margin:auto;padding:38px 32px 24px}.wb-title{display:flex;justify-content:space-between;align-items:center;gap:24px}.wb-eyebrow{font-size:.875rem;font-weight:800;letter-spacing:.16em}.wb-title h1{font-size:clamp(3rem,7vw,5.4rem);line-height:1.05;letter-spacing:-.05em;margin:10px 0 12px;color:var(--wb-ink)}.wb-title h1 span{color:#a65d43}.wb-title p:last-child{font-size:1.05rem;margin:0}.wb-mascot{width:125px;flex-shrink:0;animation:wb-arrive .5s ease-out both}.wb-scores{display:flex;gap:48px;margin:28px 0 26px;padding:17px 0;border-top:1px solid #23585626;border-bottom:1px solid #23585626}.wb-scores div{min-width:75px}.wb-scores dt{font-size:.875rem;overflow-wrap:anywhere}.wb-scores dd{font-size:2rem;font-weight:900;margin:2px 0 0;line-height:1.2;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.wb-workbench{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(230px,1fr);gap:clamp(30px,5vw,75px);align-items:start}.wb-board{background:#205957;padding:13px;border-radius:25px;box-shadow:0 8px 0 #163e3d}.wb-board,.wb-board>[role=row]{display:grid;gap:8px}.wb-board [role=gridcell]{min-width:0;aspect-ratio:1}.wb-cell{display:grid;place-items:center;position:relative;width:100%;height:100%;padding:0;min-width:0;min-height:0;border:0;border-radius:12px;background:#faf2df;color:var(--wb-ink);font:900 clamp(1.5rem,4vw,2.9rem)/1 Nunito,sans-serif;cursor:pointer;transition:background .15s,transform .15s}.wb-cell:not([aria-disabled=true]):hover{background:#f7d7b5;transform:translateY(-2px)}.wb-cell.occupied{background:#f3bb8b;cursor:default}.wb-cell:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:inset 0 0 0 4px #235856}.wb-letter{animation:wb-plant .22s ease-out both}.wb-ghost{position:absolute;inset:0;display:grid;place-items:center;background:#f3bb8b;border-radius:inherit;animation:wb-clear .65s ease-in forwards;pointer-events:none}.wb-board-caption{font-size:.875rem;margin:16px 0 0;color:#52706a}.wb-side{padding-top:2px}.wb-next{text-align:left;border-bottom:1px solid #23585626;padding-bottom:16px;margin-bottom:18px}.wb-next>div{display:flex;align-items:center;justify-content:space-between}.wb-next-bean{width:132px;height:118px;margin:-12px 0;animation:wb-arrive .25s ease-out}.wb-next p{font-size:.95rem;margin:12px 0 0;max-width:28ch}.wb-next strong{font-size:1.5rem;line-height:1.3;margin:20px 0}.wb-hint,.wb-primary{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;min-height:52px;border-radius:14px;padding:12px 18px;font:800 1rem Nunito,sans-serif;cursor:pointer}.wb-primary{background:var(--wb-ink);border:2px solid var(--wb-ink);color:#fffaf0}.wb-primary:hover{background:#153f3e}.wb-hint{border:1px solid #23585655;background:transparent;color:var(--wb-ink)}.wb-hint:focus-visible,.wb-primary:focus-visible,.wb-tools button:focus-visible{outline:3px solid #ba642e;outline-offset:4px}.wb-feedback{min-height:5.4em;padding:20px 0 12px;font-size:1rem;line-height:1.6}.wb-earned,.wb-streak{display:flex;gap:8px;align-items:center;font-size:.875rem;font-weight:800;color:#386953}.wb-tools{border-top:1px solid #23585626;padding-top:14px;display:grid;gap:4px}.wb-tools button{border:0;background:none;text-align:left;color:var(--wb-ink);display:flex;gap:10px;align-items:center;min-height:48px;padding:10px 0;font:700 .9rem Nunito,sans-serif;cursor:pointer}.wb-tools button span{margin-left:auto;font-size:.875rem;font-weight:500}.wb-footnote{font-size:.875rem;color:#52706a;margin:30px 0 0;max-width:70ch}.wb-dialog-actions{display:flex;gap:16px;margin-top:24px;flex-wrap:wrap}.wb-dialog-actions>button{flex:1 1;min-width:120px}.wb-help p{line-height:1.65}.wb-help dl{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;border-block:1px solid #23585626;padding:16px 0}.wb-help dd{margin:0;font-weight:800}.wb-search{display:grid;gap:8px;font-weight:700;margin:22px 0 12px}.wb-search input{width:100%;min-height:48px;border:1px solid #23585677;border-radius:10px;background:#fffdf7;padding:12px;color:var(--wb-ink);font:inherit}.wb-word-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:8px;max-height:45svh;overflow:auto}.wb-word-list li{padding:9px 5px;border-bottom:1px solid #23585620;font-size:.95rem;overflow-wrap:anywhere}@keyframes wb-arrive{0%{opacity:0;transform:translateY(8px) rotate(-5deg)}to{opacity:1;transform:none}}@keyframes wb-plant{0%{transform:scale(.7)}to{transform:scale(1)}}@keyframes wb-clear{0%{opacity:1;transform:none}70%{opacity:.7}to{opacity:0;transform:translateY(-20px) scale(.8)}}@media (max-width:700px){.wb-main{padding:24px 18px}.wb-title{gap:10px}.wb-title h1{font-size:3.2rem}.wb-title p:last-child{font-size:.88rem}.wb-mascot{width:78px}.wb-scores{gap:22px;margin:22px 0 16px}.wb-scores div{min-width:0;flex:1 1}.wb-scores dt{font-size:.875rem}.wb-scores dd{font-size:1.7rem}.wb-workbench{display:flex;flex-direction:column;gap:0}.wb-side{display:contents}.wb-next{order:0;display:flex;align-items:center;gap:22px;justify-content:space-between;flex-wrap:wrap;width:100%;padding-bottom:14px;margin-bottom:15px}.wb-next>div{gap:5px}.wb-next .wb-eyebrow{font-size:.875rem;max-width:7ch}.wb-next-bean{width:79px;height:81px;margin:0}.wb-next p{font-size:.875rem;max-width:20ch;margin:0}.wb-next strong{font-size:1.1rem}.wb-board-area{order:1;width:100%}.wb-board{padding:10px;gap:6px;border-radius:18px}.wb-board>[role=row]{gap:6px}.wb-cell{border-radius:9px;font-size:clamp(1.3rem,6vw,2.4rem)}.wb-workbench>.wb-side>.wb-hint,.wb-workbench>.wb-side>.wb-primary{order:2;margin-top:20px}.wb-feedback{order:3;min-height:0;padding:18px 0;line-height:1.5}.wb-streak{order:4}.wb-earned{order:5}.wb-tools{order:6;width:100%}.wb-footnote{margin-top:20px}.wb-page .cp-header{padding:16px 18px}.wb-page .cp-header>.cp-secondary{font-size:0;padding:0;min-width:48px}.wb-page .cp-header>.cp-secondary svg{width:21px}.wb-page .cp-header .cp-header-actions{gap:6px}.wb-page .cp-header .cp-icon{width:48px;height:48px;min-width:48px}.wb-page .cp-header .profile-trigger{max-width:150px}}@media (max-width:360px){.wb-mascot{width:54px}.wb-title h1{font-size:2.7rem}.wb-scores{gap:12px}.wb-main{padding-inline:14px}.wb-next{gap:12px}.wb-page .cp-header{gap:8px}.wb-page .cp-header-actions{width:100%;justify-content:flex-end}.wb-cell{border-radius:7px}.wb-main{padding-inline:8px}.wb-board{padding:6px;gap:4px;border-radius:13px}.wb-board>[role=row]{gap:4px}}@media (prefers-reduced-motion:reduce){.wb-page *,.wb-page :after,.wb-page :before{animation:none!important;transition:none!important;scroll-behavior:auto!important}.wb-ghost{display:none}}.pm-page{--pm-ink:#254b42;--pm-accent:#356952;background:#fbf8ed;color:var(--pm-ink);min-height:100svh}.pm-main{width:min(100% - 40px,940px);margin:auto;padding:28px 0 70px}.pm-progress,.pm-topline{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.9rem}.pm-topline a{text-underline-offset:4px}.pm-topline{padding-bottom:22px;border-bottom:1px solid #d9dfce}.pm-complete,.pm-intro{padding:34px 0;max-width:760px;margin:auto}.pm-complete h1,.pm-intro h1{font-size:clamp(2rem,4.6vw,3.6rem);line-height:1.12;margin:10px 0 22px;max-width:700px}.pm-intro>svg{display:block;width:min(100%,650px);margin:20px auto;border-radius:24px}.pm-complete>p,.pm-intro>p{font-size:1.15rem;line-height:1.6;max-width:580px}.pm-intro>.cp-primary{display:flex;margin-top:22px}.pm-question{padding:25px 0}.pm-progress{align-items:center}.pm-progress span:last-child{font-size:.85rem}.pm-question progress{width:100%;height:7px;accent-color:#47775a;margin:12px 0 25px}.pm-prompt{display:flex;align-items:center;gap:20px;justify-content:space-between}.pm-prompt h1{font-size:clamp(1.5rem,3.5vw,2.2rem);line-height:1.3;margin:0 0 20px;max-width:700px}.pm-picture{display:block;width:100%;max-height:290px}.pm-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:14px;margin:22px 0}.pm-options>button{position:relative;min-height:100px;border:2px solid #b2c4b0;border-radius:18px;background:#fffcf3;color:var(--pm-ink);padding:14px;transition:background .18s,border-color .18s,transform .18s}.pm-options>button[aria-pressed=true]{border-color:#356952;background:#e4edda;box-shadow:inset 0 0 0 1px #356952}.pm-options>button:not(:disabled):hover{transform:translateY(-2px);border-color:#356952}.pm-numeral{font-size:clamp(1.7rem,6vw,3rem);font-weight:800;line-height:1.2}.pm-choice-label{font-size:1.25rem;font-weight:700}.pm-choice-check{position:absolute;top:9px;right:10px;background:#356952;color:#fff;border-radius:50%;padding:2px}.pm-instruction{font-size:1rem;line-height:1.5;margin:10px 0 18px}.pm-mat,.pm-touch-count{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-width:550px;margin:20px auto;padding:16px;background:#eef0df;border-radius:20px}.pm-mat button,.pm-touch-count button{position:relative;min-height:54px;aspect-ratio:1;border:2px dashed #91a789;background:#fffcf3;border-radius:10px;transition:background .18s,transform .18s;color:var(--pm-ink);padding:5px}.pm-mat button svg,.pm-touch-count button svg{width:100%;height:100%}.pm-mat button.pm-filled{border-style:solid;background:#e2ecd4}.pm-add{font-size:2rem;color:#67815d}.pm-removed svg{opacity:.28}.pm-cross{position:absolute;inset:0;display:grid;place-content:center;font-size:3.5rem;line-height:1;color:#993c2c}.pm-double-frame button:nth-child(n+11){border-top-width:4px}.pm-touch-count{background:transparent;max-width:590px}.pm-touch-count button{border-color:transparent;background:transparent}.pm-touch-count button[aria-pressed=true]{background:#e4edd9;border-color:#7b9c72}.pm-frame{background:#eef0df}.pm-frame button{border:2px solid #91a789}.pm-scatter button:nth-child(3n+1){transform:translateY(7px)}.pm-count-tag{position:absolute;right:0;top:0;border-radius:50%;min-width:25px;min-height:25px;background:#315d43;color:#fff;font-size:.9rem;display:grid;place-content:center}.pm-count{text-align:center;min-height:1.5em;font-size:.95rem}.pm-order-answer,.pm-order-pool{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:30px 0}.pm-order-answer button,.pm-order-pool button{width:76px;height:80px;background:#fffcf1;border:2px solid #91a789;border-radius:12px;color:var(--pm-ink)}.pm-order-answer button{border-style:dashed;background:#e9eedc}.pm-order-pool button:disabled{opacity:.28}.pm-sort-items{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}.pm-sort-items button{width:100px;min-height:110px;padding:8px;border:2px solid transparent;background:#f1eddd;border-radius:12px;color:var(--pm-ink)}.pm-sort-items button[aria-pressed=true]{border-color:#356952;background:#dfead2}.pm-sort-items svg{width:72px;height:72px}.pm-item-tray{display:block;font-size:.78rem}.pm-sort-trays{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:12px}.pm-sort-trays>button{background:#f1f2df;min-height:130px;border:2px dashed #78946b;border-radius:14px;padding:12px;color:var(--pm-ink);font-weight:700;font-size:1rem}.pm-tray-pictures{display:flex;flex-wrap:wrap;justify-content:center;min-height:70px}.pm-tray-pictures>span{width:48px;height:48px}.pm-tray-pictures svg{width:100%;height:100%}.pm-feedback{margin:20px 0 10px;min-height:30px;font-size:1.05rem;line-height:1.6}.pm-feedback:not(:empty){background:#f8ecd4;padding:16px 20px;border-left:4px solid #c49346;border-radius:0 12px 12px 0;animation:pm-feedback-in .18s ease-out}.pm-feedback.pm-success:not(:empty){background:#e7efde;border-color:#507a46}.pm-demo{font-size:.95rem;margin:8px 0 0}.pm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:20px 0}.pm-actions>a{display:inline-flex;align-items:center;gap:10px}.pm-collection{border-top:1px solid #d9dfce;margin-top:30px;padding:24px 0}.pm-collection summary{font-weight:700;cursor:pointer;padding:8px 0}.pm-collection section{margin-top:26px}.pm-collection h2{font-size:1.25rem}.pm-collection ol{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}.pm-collection a{display:block;padding:10px 0;text-underline-offset:4px;line-height:1.5}.pm-collection a[aria-current=page]{font-weight:800}.pm-flower{font-size:5rem;color:#bf7c43}.pm-complete details{padding:18px 0}.pm-complete details p{line-height:1.6}.pm-page a:focus-visible,.pm-page button:focus-visible,.pm-page summary:focus-visible{outline:3px solid #9b5a28;outline-offset:4px}.pm-page button:disabled{cursor:default}.pm-maths-filter{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 24px}.pm-maths-filter a{padding:10px 14px;background:#eef0df;color:#254b42;border-radius:8px;text-decoration:none}.pm-maths-filter a[aria-current=page]{background:#356952;color:#fff}@keyframes pm-feedback-in{0%{opacity:.2;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (max-width:600px){.pm-main{width:calc(100% - 28px);padding-top:18px}.pm-topline{font-size:.8rem}.pm-prompt{align-items:flex-start;gap:8px}.pm-options{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.pm-options:has(.pm-picture){grid-template-columns:1fr}.pm-options>button{padding:12px;min-height:78px}.pm-options .pm-picture{max-height:175px}.pm-mat,.pm-touch-count{padding:10px;gap:6px}.pm-mat button,.pm-touch-count button{min-height:44px;padding:2px}.pm-many-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pm-many-options .pm-picture{height:80px}.pm-order-answer,.pm-order-pool{gap:7px}.pm-order-answer button,.pm-order-pool button{width:48px;height:58px}.pm-collection ol{grid-template-columns:1fr}.pm-intro{padding:24px 0}.pm-sort-trays{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-sort-items button{width:78px;min-height:90px}.pm-sort-items svg{width:58px;height:58px}.pm-actions .cp-primary{max-width:100%;white-space:normal}.pm-picture{min-height:120px}}@media (prefers-reduced-motion:reduce){.pm-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.pm-frame-empty{aspect-ratio:1;border:2px solid #91a789;border-radius:10px;background:#fffcf3}.pm-many-options{display:flex!important;overflow-x:auto;flex-wrap:nowrap;padding:8px 4px 16px;scroll-snap-type:x proximity}.pm-many-options>button{flex:0 0 78px;min-width:78px;padding:4px;scroll-snap-align:start}.pm-many-options .pm-picture{height:100px}.pm-many-options::-webkit-scrollbar{height:10px}.pm-many-options::-webkit-scrollbar-thumb{background:#8ca391;border-radius:5px}.pm-picture-text{max-height:125px;min-height:80px}.pm-compact-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pm-compact-options .pm-picture{height:120px;min-height:0}.pm-start{display:flex;align-items:center;gap:8px;font-weight:700}.pm-prompt h1{min-width:0}.pm-prompt h1:focus{outline:none}.pm-compact-options>button{min-width:0}@media (max-width:600px){.pm-prompt{flex-direction:column;align-items:flex-start;margin-bottom:18px}.pm-prompt h1{margin-bottom:0;width:100%}.pm-compact-options>button{padding:8px}.pm-compact-options .pm-picture{height:90px}.pm-many-options .pm-picture{min-height:0}}