.seating-page{background:#efeee2}.seating-interaction{max-width:50rem;margin:auto}.seating-lesson{padding:1.2rem;border-left:4px solid #bb9b4a;background:#fff1ce;margin-bottom:1.5rem}.seating-interaction p{line-height:1.7}.seating-cue{padding:1rem 0;scroll-margin-top:1rem}.seating-cue h2{margin:0}.seating-interaction button{min-width:48px;min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.seating-clues{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem;padding:0;list-style:none;margin:1rem 0 1.5rem}.seating-clues li{padding:1rem;border-top:3px solid #c6d2b6;background:#faf6e8}.seating-clue-number{font-weight:700;font-size:.85rem}.seating-clue-picture{display:flex;align-items:center;gap:.6rem;margin:.7rem 0;flex-wrap:wrap}.seating-clue-picture>span{font-size:1.6rem;font-weight:700}.seating-seat-symbol{display:flex;align-items:center;justify-content:center;background:#e1cf9e;border-radius:.4rem;min-width:2.5rem;min-height:2.5rem}.seating-animal{display:block;width:56px;height:56px;max-width:100%;flex-shrink:0}.seating-animal>.memory-animal{width:100%;height:100%;max-width:none}.seating-clue-picture .seating-animal{width:44px;height:44px}.seating-clues li.is-conflict{border-color:#9e5d45;background:#fff0d5}.seating-clue-note{font-weight:700}.seating-tools{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.5rem 0}.seating-tools button{display:flex;align-items:center;gap:.4rem;padding:.5rem .8rem;background:#e1e7d9;border:3px solid transparent;border-radius:1rem}.seating-tools button[aria-pressed=true]{border-color:#937329;background:#fff0c9}.seating-tools .seating-animal{width:36px;height:36px}.seating-tools small{display:block;font-size:.75rem;line-height:1.4}.seating-screen-directions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.7rem;font-size:.9rem;margin:1rem 0}.seating-bench{display:grid;gap:.5rem;position:relative;padding:.75rem .25rem 1.2rem;border-bottom:16px solid #aa8956;margin:0 0 1rem;direction:ltr;writing-mode:horizontal-tb;background:linear-gradient(transparent 60%,#d7bf8d 0);border-radius:.5rem}.seating-interaction .seating-bench button{display:flex;align-items:center;flex-direction:column;justify-content:space-between;min-width:0;padding:.5rem .15rem .7rem;border:3px solid transparent;background:#faf6e8;border-radius:1rem;min-height:108px;gap:.5rem}.seating-seat-number{font-size:.85rem;font-weight:700;line-height:1.3}.seating-bench .seating-animal{width:56px;height:56px}.seating-empty{font-size:2rem;color:#a4b798;line-height:1}.seating-interaction .seating-bench button.is-hint{border-color:#b29840;background:#fff1ce}.seating-interaction button:focus-visible{outline:4px solid #294f55;outline-offset:-4px}.seating-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.seating-actions button{padding:.7rem 1rem;border-radius:1rem}.seating-actions button:first-child{background:#306b68;color:#fff9eb}.seating-feedback{padding:1rem 0;scroll-margin-top:1rem}.seating-feedback.is-complete{padding:1rem;background:#e0ecd5;border:3px solid #b9cda7;border-radius:1rem;animation:seating-welcome .5s ease-out}.seating-hint{padding:1rem;background:#fff0cc;border-left:4px solid #b29840;margin:1rem 0}.seating-hint h3{margin-top:0}.seating-interaction details{line-height:1.7;margin-top:1.5rem}@keyframes seating-welcome{0%{transform:scale(.97)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.seating-feedback.is-complete{animation:none}}.sudoku-page{background:#f0eee3}.sudoku-interaction{max-width:48rem;margin:auto}.sudoku-lesson{padding:1.2rem;border-left:4px solid #b89644;background:#fff2d3;margin-bottom:1.5rem}.sudoku-cue p,.sudoku-hint p,.sudoku-lesson p{line-height:1.7}.sudoku-cue{padding:1rem 0;margin:1rem 0;scroll-margin-top:1rem}.sudoku-cue h2{margin:0}.sudoku-tools{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.sudoku-interaction button{min-width:48px;min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.sudoku-tools button{display:flex;align-items:center;gap:.4rem;padding:.5rem .8rem;border:3px solid transparent;border-radius:1rem;background:#e0e8dc}.sudoku-tools button[aria-pressed=true]{border-color:#8b6a26;background:#fff0c9}.sudoku-animal{display:block;width:48px;height:48px;max-width:100%;flex-shrink:0}.sudoku-animal>.memory-animal{width:100%;height:100%;max-width:none}.sudoku-tools .sudoku-animal{width:36px;height:36px}.sudoku-board-legend{line-height:1.7}.sudoku-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:min(100%,28rem);margin:1.5rem auto;border:4px solid #567b70;border-radius:.7rem;overflow:hidden;background:#fff9e9}.sudoku-interaction .sudoku-cell{position:relative;display:flex;justify-content:center;align-items:center;aspect-ratio:1;min-width:0;padding:7px 3px 15px;border:1px solid #a3b6a1;border-radius:0;background:#fff9e9;isolation:isolate}.sudoku-cell:nth-child(4n+2){border-right:4px solid #567b70}.sudoku-cell:nth-child(n+5):nth-child(-n+8){border-bottom:4px solid #567b70}.sudoku-interaction .sudoku-cell.is-fixed{opacity:1;background:#dfe7d8;color:#294f55}.sudoku-cell .sudoku-coordinate{position:absolute;bottom:1px;left:4px;font-size:.65rem;font-weight:700;line-height:1.1}.sudoku-fixed-mark{position:absolute;right:4px;top:1px;font-size:.75rem}.sudoku-empty{font-size:2rem;color:#aabca5}.sudoku-interaction .sudoku-cell.is-conflict{box-shadow:inset 0 0 0 4px #a66048;background:#fff0d1}.sudoku-interaction .sudoku-cell.is-hint{box-shadow:inset 0 0 0 4px #b99835}.sudoku-interaction button:focus-visible{outline:4px solid #294f55;outline-offset:-4px;z-index:1}.sudoku-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.sudoku-actions button{padding:.7rem 1rem;border-radius:1rem}.sudoku-actions button:first-child{background:#306b68;color:#fff9eb}.sudoku-feedback{padding:1rem 0;line-height:1.7;scroll-margin-top:1rem}.sudoku-feedback.is-complete{padding:1rem;background:#e1ecd8;border:3px solid #b5c9a5;border-radius:1rem;animation:sudoku-bloom .5s ease-out}.sudoku-hint{padding:1rem;border-left:4px solid #b99835;background:#fff1cb;margin:1rem 0}.sudoku-hint h3{margin-top:0}.sudoku-interaction details{margin-top:1.5rem;line-height:1.7}@keyframes sudoku-bloom{0%{transform:scale(.97)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.sudoku-feedback.is-complete{animation:none}}.secret-bottles-page{background:#f2eee4}.secret-bottle-interaction{max-width:56rem;margin:auto}.secret-bottle-lesson{padding:1.2rem;background:#fff3d4;border-left:4px solid #b9953c;margin-bottom:1.5rem}.secret-bottle-lesson p{line-height:1.7}.secret-practice{padding:1rem 0;border-top:1px solid #d8c99e;margin:1rem 0}.secret-practice h3{margin-top:0}.secret-bottle-picture{display:block;width:64px;max-width:100%;height:auto;flex-shrink:0}.secret-bottle-row{display:flex;align-items:center;justify-content:flex-start;gap:.6rem;list-style:none;padding:0;margin:.75rem 0;max-width:100%;flex-wrap:wrap}.secret-bottle-row li{display:flex;flex-direction:column;align-items:center;gap:.25rem}.secret-bottle-row .secret-bottle-picture{width:40px}.secret-position-mini{font-size:.85rem;font-weight:700}.secret-bottle-cue{padding:1rem;background:#fff9eb;border-radius:1rem;margin:1rem 0;scroll-margin-top:1rem}.secret-bottle-cue h2{margin:0}.secret-bottle-cue p{line-height:1.7;margin:.5rem 0 0}.secret-bottle-interaction button{min-width:48px;min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.secret-draft-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,5.5rem),1fr));gap:.7rem;margin:1.5rem 0}.secret-draft-choice{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:.6rem .3rem;background:#e3ece5;border:3px solid transparent;border-radius:1rem;min-width:0}.secret-draft-choice>span{line-height:1.5;text-align:center;overflow-wrap:anywhere}.secret-draft-choice.is-selected{border-color:#a47624;background:#fff0cb}.secret-draft-choice:focus-visible{outline:4px solid #294f55;outline-offset:2px}.secret-bottle-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.secret-submit{background:#306b68;color:#fff9eb;padding:.85rem 1.2rem}.secret-latest{padding:1rem;background:#fff0cb;border-radius:1rem;margin:1rem 0;scroll-margin-top:1rem}.secret-latest h3{margin:0;line-height:1.6}.secret-bottle-feedback{min-height:3rem;line-height:1.7}.secret-bottle-feedback.is-complete{padding:1rem;background:#dfebd9;color:#28674d;border-radius:1rem;animation:secret-bottle-celebrate .45s ease-out}.secret-candidate-aid{padding:1rem;background:#edf1e5;border-radius:1rem;margin:1.5rem 0}.secret-candidate-aid h3{margin-top:0}.secret-candidate-aid p{line-height:1.7;overflow-wrap:anywhere}.secret-candidate-status{border-left:4px solid #477775;padding:.6rem .8rem;background:#fff9eb}.secret-candidate-status.is-ruled-out{border-color:#b9953c}.secret-history{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem}.secret-history>li{padding:1rem;border:2px solid #d6d9ca;border-radius:1rem;background:#fff9eb;min-width:0}.secret-history h3{margin:0}.secret-history p{line-height:1.7}.secret-history .is-full{border-color:#7fae8c}.secret-feedback-count{font-size:1.2rem;font-weight:700}.secret-history-empty{line-height:1.7}.secret-bottle-interaction details{margin:1rem 0}@keyframes secret-bottle-celebrate{50%{box-shadow:0 0 0 7px #b5d5c2}}@media (prefers-reduced-motion:reduce){.secret-bottle-feedback.is-complete{animation:none}}.one-stick-page{background:#f2eee4}.one-stick-interaction{max-width:56rem;margin:auto}.one-stick-lesson{padding:1.2rem;background:#fff3d4;border-left:4px solid #b9953c;margin-bottom:1.5rem}.one-stick-goal{background:#fff9eb;padding:1rem;border-radius:1rem;margin:1rem 0;scroll-margin-top:1rem}.one-stick-goal h2{margin:0}.one-stick-goal p{line-height:1.7}.one-stick-goal>svg{display:block;width:180px;height:60px;max-width:100%}.one-stick-board{max-width:32rem;margin:1.5rem auto}.one-stick-drawing{display:block;width:100%;height:auto}.one-stick-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,6rem),1fr));gap:.6rem;margin:1rem 0}.one-stick-interaction button{min-width:48px;min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.one-stick-choice{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:.5rem;border:2px solid transparent;border-radius:.8rem;background:#e3ece5;gap:.3rem}.one-stick-choice svg{width:44px;height:44px;flex-shrink:0}.one-stick-choice.is-selected{border-color:#a47624;background:#fff0cb}.one-stick-choice.is-hinted{box-shadow:0 0 0 2px #b9953c}.one-stick-choice:focus-visible{outline:4px solid #294f55;outline-offset:2px}.one-stick-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.one-stick-actions .one-stick-check{background:#306b68;color:#fff9eb;padding:.9rem 1.2rem}.one-stick-feedback{min-height:3rem;line-height:1.7}.one-stick-feedback.is-complete{padding:1rem;border-radius:1rem;background:#dfebd9;color:#28674d}.one-stick-results{padding:1rem;background:#fff9eb;border-radius:1rem;margin:1rem 0}.one-stick-results h2{margin:0;scroll-margin-top:1rem}.one-stick-results p{line-height:1.7}.one-stick-proof-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}.one-stick-proof-list button{border:2px solid transparent}.one-stick-proof-list button[aria-pressed=true]{border-color:#a47624}.one-stick-counted{animation:one-stick-celebrate .45s ease-out}@keyframes one-stick-celebrate{50%{box-shadow:0 0 0 7px #b5d5c2}}@media (prefers-reduced-motion:reduce){.one-stick-counted{animation:none}}.bead-tubes-page{background:#f2eee4}.bead-tube-interaction{max-width:56rem;margin:auto}.bead-tube-lesson{padding:1.2rem;background:#fff3d4;border-left:4px solid #b9953c;margin-bottom:1.5rem}.bead-tube-legend{display:flex;flex-wrap:wrap;gap:1rem;list-style:none;padding:0;margin:1rem 0}.bead-tube-legend li{display:flex;align-items:center;gap:.5rem}.bead-tube-cue svg,.bead-tube-legend svg{width:44px;height:44px;flex-shrink:0}.bead-tube-cue{position:-webkit-sticky;position:sticky;top:.5rem;z-index:4;padding:1rem;background:#fff9eb;border-radius:1rem;display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;margin:1rem 0;scroll-margin-top:1rem}.bead-tube-cue h2{margin:0}.bead-tube-cue p{margin:0;flex-basis:100%;line-height:1.7}.bead-tube-cue.is-complete{position:static}.bead-tube-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,5.3rem),1fr));gap:.8rem;margin:1.5rem 0}.bead-tube-interaction .bead-tube-choice{border:3px solid transparent;border-radius:1.1rem;background:#e3ece5;padding:.7rem .3rem;min-width:0;display:flex;flex-direction:column;align-items:center;gap:.35rem;max-width:100%;min-height:48px;touch-action:manipulation;scroll-margin-top:12rem}.bead-tube-choice.is-selected{border-color:#a47624;background:#fff0cb}.bead-tube-choice.is-legal{border-color:#477775}.bead-tube-choice.is-hinted{box-shadow:0 0 0 3px #b9953c}.bead-tube-choice:focus-visible{outline:4px solid #294f55;outline-offset:2px}.bead-tube-interaction .bead-tube-choice:disabled{opacity:1}.bead-tube-choice>span{overflow-wrap:anywhere;text-align:center;line-height:1.5}.bead-tube-picture{display:block;width:90px;max-width:100%;height:auto;flex-shrink:0}.bead-tube-choice>span:first-child{font-weight:700}.bead-tube-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.bead-tube-interaction button{min-height:48px;min-width:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.bead-tube-feedback{line-height:1.7;min-height:3rem}.bead-tube-feedback.is-complete{padding:1rem;border-radius:1rem;background:#dfebd9;color:#28674d}.bead-tube-ball{animation:bead-tube-arrive .18s ease-out}.bead-tube-success{animation:bead-tube-success .5s ease-out}@keyframes bead-tube-arrive{0%{opacity:.2}to{opacity:1}}@keyframes bead-tube-success{50%{box-shadow:0 0 0 7px #b5d5c2}}@media (prefers-reduced-motion:reduce){.bead-tube-ball,.bead-tube-success{animation:none}}@media (max-width:480px){.bead-tube-cue{position:static}}.island-page{background:#f2efe4}.island-interaction{max-width:54rem;margin:auto}.island-lesson{padding:1.2rem;background:#fff3d4;border-left:4px solid #b9953c;margin-bottom:1.5rem}.island-cue{padding:1rem;background:#fff9eb;border-radius:1rem;margin:1rem 0;scroll-margin-top:1rem}.island-cue h2{margin:0}.island-cue p{margin:.5rem 0 0}.island-board{position:relative;max-width:32rem;margin:1.5rem auto 2.5rem}.island-spacer{padding-top:100%}.island-scene{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.island-interaction .island-node{position:absolute;padding:0;border:0;border-radius:50%;background:transparent;color:#294f55;min-height:0;min-width:0;max-width:none;font-size:1.05rem;line-height:1;display:flex;align-items:center;justify-content:center;touch-action:manipulation}.island-interaction .island-node:disabled{opacity:1}.island-node.is-selected{outline:3px solid #a47624;outline-offset:1px}.island-node:focus-visible{outline:4px solid #306b68;outline-offset:1px}.island-dots{position:absolute;top:91%;left:50%;transform:translateX(-50%);display:flex;gap:3px;pointer-events:none}.island-dot{width:8px;height:8px;border:1px solid #306b68;border-radius:50%;background:#fff9eb}.island-dot.is-filled{background:#306b68}.island-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.island-interaction button{min-height:48px;min-width:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.island-bridge{animation:island-bridge .22s ease-out}.island-counts{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.6rem;margin:1.5rem 0}.island-counts li{padding:.5rem 0;border-bottom:1px solid #cecdb9;overflow-wrap:anywhere;line-height:1.7}.island-counts .is-filled{color:#28674d;font-weight:700}.island-feedback{min-height:3rem;line-height:1.7}.island-feedback.is-complete{padding:1rem;border-radius:1rem;background:#e1ecda;color:#28674d}.island-complete{animation:island-success .5s ease-out}@keyframes island-bridge{0%{opacity:.2}to{opacity:1}}@keyframes island-success{50%{box-shadow:0 0 0 8px #b5d5c2}}@media (prefers-reduced-motion:reduce){.island-bridge,.island-complete{animation:none}}.tilt-page{background:#eef0e6}.tilt-interaction{max-width:52rem;margin:auto}.tilt-lesson{padding:1.2rem;background:#fff3d4;border-left:4px solid #b9953c;margin-bottom:1.5rem}.tilt-status{background:#fff9eb;padding:1rem;border-radius:1rem;margin:1rem 0;scroll-margin-top:1rem}.tilt-status h2{margin:0}.tilt-status p{margin:.5rem 0 0}.tilt-board-frame{position:relative;width:100%;max-width:30rem;margin:1.5rem auto;overflow:hidden;border-radius:1.5rem;background:#e1d7bd}.tilt-board-spacer{padding-top:100%}.tilt-rotor{position:absolute;inset:0;transform-origin:center}.tilt-rotor.is-turning{transition:transform .18s ease-in-out}.tilt-drawing{display:block;width:100%;height:100%}.tilt-directions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0;color:#306b68}.tilt-down{font-size:1.15rem;font-weight:700}.tilt-turns{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin:1.25rem 0}.tilt-interaction button{min-height:48px;white-space:normal;max-width:100%;overflow-wrap:anywhere}.tilt-turns button{flex:1 1 12rem;padding:1rem;background:#306b68;color:#fff9eb;font-size:1.1rem}.tilt-turns button:disabled{opacity:.65}.tilt-controls>div{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.tilt-feedback{min-height:3rem;line-height:1.7}.tilt-feedback.is-complete{padding:1rem;background:#dfebd9;color:#28674d;border-radius:1rem}.tilt-explanation{padding:1rem;background:#fff9eb;border-radius:.75rem;line-height:1.7}.tilt-legend{font-size:.95rem;line-height:1.7}.tilt-capture{animation:tilt-capture .5s ease-out}@keyframes tilt-capture{50%{box-shadow:0 0 0 8px #b5d5c2}}@media (prefers-reduced-motion:reduce){.tilt-rotor.is-turning{transition:none}.tilt-capture{animation:none}}.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}}