:root{font-family:ui-rounded,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#284c3b;background:#edf3e9;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;font-size:18px;line-height:1.5}button{font:inherit;color:inherit;cursor:pointer;border:0;touch-action:manipulation}button:disabled{opacity:.38;cursor:default}button:focus-visible{outline:3px solid #bc762e;outline-offset:4px}button:active:not(:disabled){transform:translateY(1px)}svg{flex-shrink:0}.adventure{max-width:1120px;margin:auto;padding:0 28px 24px}.adventure-header{height:84px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #d2dfce}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:750}.brand>svg{color:#548363}.chapter-track{display:flex;list-style:none;gap:16px;margin:0;padding:0}.chapter-track li{display:flex;align-items:center;justify-content:center;gap:7px;min-width:62px;height:42px;border:1px solid #d8e4d0;border-radius:15px;color:#789071;background:#f5f8ee;font-size:16px}.chapter-track .current{background:#dceccf;color:#355f41;border:2px solid #7aa16d}.chapter-track .done{background:#e5f0dc;color:#4c7552}.icon-button{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;color:#5d7b60;background:#e3ecda}.scene-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 4px 16px}.scene-heading h1{font-size:27px;line-height:1.3;letter-spacing:-.035em;margin:0}.goal{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:650;color:#5a795d}.stage-world{border:1px solid #c4d9c5;border-radius:25px 25px 0 0;overflow:hidden;background:radial-gradient(ellipse at 45% 25%,#edf5e7,#cae2d6);position:relative}.island-board{display:block;width:100%;height:clamp(245px,calc(100dvh - 370px),485px);overflow:hidden}.island-land{filter:drop-shadow(0 8px 4px #477c5220)}.tile-hit{cursor:pointer;outline:none}.tile-hit:hover{fill:#fff9bd88}.tile-hit:focus-visible{stroke:#aa672e;stroke-width:4;fill:#fff9bd55}.robot-art{display:block;width:70px;height:78px}.start-ring{animation:ring-pulse 1.7s ease-in-out infinite}.coach-dock{background:#fffdf4;border:1px solid #d3dfca;border-top:0;border-radius:0 0 25px 25px;padding:20px 24px 18px;box-shadow:0 15px 34px #32523c0b;min-height:160px}.coach-line{display:flex;gap:18px;align-items:center;min-height:64px}.buddy{display:grid;place-items:center;background:#e5efda;border:1px solid #cfdfc4;border-radius:20px;width:62px;height:65px;flex:none}.robot-art.small{width:48px;height:56px}.coach-line p{font-size:21px;line-height:1.5;font-weight:650;flex:1;min-width:0;margin:0;overflow-wrap:anywhere}.primary-action{display:flex;justify-content:center;align-items:center;gap:10px;border-radius:15px;min-width:155px;min-height:56px;padding:12px 22px;flex-shrink:0;background:#39794e;color:#fff;font-size:19px;font-weight:700;box-shadow:0 4px #285e3a}.primary-action:hover{background:#306a44}.context-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 0 80px;min-height:42px}.context-row:empty{display:none}.pictogram{display:flex;align-items:center;flex-wrap:wrap;gap:13px;color:#526e50;font-size:17px}.pictogram b{font-size:20px;font-variant-numeric:tabular-nums}.pictogram>svg:last-child{color:#b37b43}.terrain-pair{display:flex;gap:10px;align-items:center}.terrain-pair>span{display:flex;align-items:center;gap:7px;border:1px solid #c9d9ba;border-radius:12px;padding:6px 12px;font-weight:650;font-size:17px}.grass-chip{background:#e6efce;color:#506a3d}.terrain-pair>.mud-chip{background:#eee0be;color:#775937;border-color:#d4bf8c}.drawing-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:17px}.drawing-status>.terrain-pair{margin-left:8px}.secondary-actions{display:flex;gap:10px}.secondary-actions button,.secondary-button{display:flex;justify-content:center;align-items:center;gap:7px;background:transparent;color:#5b775e;border:1px solid #cddac4;border-radius:12px;min-height:42px;padding:6px 13px;font-size:16px;white-space:nowrap}.packing-panel{display:flex;align-items:center;gap:22px;flex-wrap:wrap;width:100%}.stepper{display:flex;align-items:center;gap:10px}.stepper button{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#dfeecd;border:1px solid #bccfae;color:#43693d}.stepper output{min-width:57px;font-size:23px;text-align:center;font-weight:700}.cargo-groups{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cargo-groups>span{display:grid;grid-template-columns:repeat(2,22px);gap:2px;background:#f4f3e8;border:1px dashed #acb998;border-radius:10px;padding:5px;color:#93a282}.cargo-groups>.loaded{color:#528349;background:#e0edcf;border:1px solid #9bbb83}.cargo-groups b{font-size:19px;margin-left:6px}.empty-trip{font-size:16px;color:#976f37}.old-time{color:#796e5a}.inline-help{display:flex;align-items:flex-start;gap:10px;margin:16px 0 0 80px;padding:13px;background:#f2efdd;border-radius:12px;font-size:17px;color:#626f4e}.inline-help svg{margin-top:2px}.save-error{font-size:16px;color:#995936}.ending-scene{height:clamp(245px,calc(100dvh - 370px),485px);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px}.ending-scene>.robot-art{width:100px;height:110px}.completion-icons{display:flex;align-items:center;gap:24px;color:#679351}.completion-icons>svg:nth-child(2){color:#b3834c}.learned{display:flex;gap:36px;color:#527552;font-size:18px}.learned span{display:flex;align-items:center;gap:8px}@keyframes ring-pulse{50%{opacity:.55;stroke-width:6}}@media(max-width:800px){.adventure{padding:0 16px 20px}.adventure-header{height:70px}.chapter-track{gap:8px}.chapter-track li{min-width:49px}.brand{font-size:17px}.scene-heading{padding:16px 2px 14px}.scene-heading h1{font-size:24px}.island-board,.ending-scene{height:clamp(265px,calc(100dvh - 390px),470px)}.coach-dock{padding:16px 18px}.coach-line{gap:12px}.coach-line p{font-size:19px}.primary-action{min-width:126px;padding:12px 16px;font-size:18px}.buddy{width:50px;height:56px}.context-row{margin-left:62px;flex-wrap:wrap}.inline-help{margin-left:0}.packing-panel{gap:16px}.learned{gap:14px;font-size:16px}}@media(max-width:560px){.adventure{padding:0 10px 16px}.adventure-header{height:62px;gap:8px}.brand{font-size:0;gap:0}.chapter-track li{height:38px;min-width:46px;font-size:15px}.icon-button{width:40px;height:40px}.scene-heading h1{font-size:22px}.goal{font-size:17px}.island-board{height:auto;aspect-ratio:730/425;min-height:230px}.coach-dock{padding:16px 14px}.coach-line{display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px}.buddy{width:46px;height:54px;border-radius:16px}.coach-line p{font-size:19px}.primary-action{grid-column:1/-1;min-height:50px;margin-top:4px;width:100%;font-size:19px}.context-row{margin:14px 0 0;gap:10px}.context-row .pictogram{gap:10px;font-size:16px}.pictogram b{font-size:18px}.terrain-pair{gap:8px}.terrain-pair>span{padding:6px 8px;font-size:16px}.drawing-status{font-size:16px;gap:6px}.drawing-status>.terrain-pair{margin:0}.drawing .context-row{align-items:flex-start}.secondary-actions{margin-left:auto}.secondary-actions button{padding:6px 9px}.packing-panel{gap:14px}.cargo-groups{gap:7px}.cargo-groups>span{padding:4px}.cargo-groups b{font-size:17px}.ending-scene{height:280px}.learned{gap:18px}.learned span{flex-direction:column;gap:6px}.inline-help{font-size:16px}.stage-world{border-radius:20px 20px 0 0}.coach-dock{border-radius:0 0 20px 20px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.review-scene{height:clamp(245px,calc(100dvh - 370px),485px);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:28px 24px;background:radial-gradient(circle at 50% 35%,#fffdf1 0,#eef5e5 72%);color:#355d42;text-align:center}.review-title{display:flex;align-items:center;gap:9px;color:#b47734;font-size:20px;font-weight:750}.review-title svg{color:#c8913f}.review-flow{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;font-size:28px;font-weight:800;color:#3f714c}.review-flow>svg{color:#6f9970}.review-flow>svg:nth-of-type(2){color:#b48245}.review-scene>p{margin:0;font-size:18px;font-weight:650;color:#557259}.review-chip{display:flex;align-items:center;gap:7px;border:1px solid;border-radius:13px;padding:7px 12px;font-size:19px}.review-chip.grass{background:#e7f0d4;color:#557441;border-color:#b9cea6}.review-chip.mud{background:#f0e2c1;color:#7a5f38;border-color:#d4c08f}.review-plus,.review-equals,.review-divide{font-size:27px;color:#759075}.review-flow>b{font-size:30px;color:#315f43}.review-compare{display:flex;align-items:center;gap:11px;color:#61785f;font-size:17px}.review-compare span,.review-compare strong{display:flex;align-items:center;gap:6px}.review-compare strong{color:#3d744d;font-size:19px}.review-compare>svg{color:#b27a40}.review-scene details{width:min(100%,390px);margin-top:2px;text-align:left;background:#f5f1df;border:1px solid #e0d7b7;border-radius:12px;padding:7px 12px;color:#6b6c4f;font-size:16px}.review-scene summary{cursor:pointer;font-weight:700;color:#876836}.review-scene details p{margin:4px 0 1px;line-height:1.45}@media(max-width:800px){.island-board,.ending-scene,.review-scene{height:clamp(265px,calc(100dvh - 390px),470px)}.review-flow{gap:9px}.review-scene{padding:24px 18px}}@media(max-width:560px){.review-scene{height:280px;gap:11px;padding:18px 10px}.review-title{font-size:18px}.review-flow{gap:6px;font-size:23px}.review-flow>b{font-size:27px}.review-chip{padding:5px 8px;font-size:17px}.review-plus,.review-equals,.review-divide{font-size:22px}.review-scene>p{font-size:16px}.review-compare{font-size:15px;gap:7px}.review-compare strong{font-size:17px}.review-scene details{font-size:15px;padding:6px 10px}}.review-flow{flex-wrap:wrap}.map-board{max-width:720px;margin:auto;padding:18px 24px 14px}.map-caption{display:flex;justify-content:center;align-items:center;gap:18px;margin-bottom:16px;font-size:18px;font-weight:700}.map-caption span{display:flex;align-items:center;gap:8px}.destination-caption{color:#a4602d}.tile-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));position:relative;isolation:isolate;border:5px solid #c1d2b5;border-radius:19px;background:#c1d2b5;overflow:hidden}.map-tile{position:relative;display:grid;place-items:center;min-width:0;height:clamp(46px,5.6vw,58px);border:2px solid #c1d2b5;border-radius:10px;background:#eaf1dd;padding:0;box-shadow:inset 0 0 0 1px #d0dec3;color:#355c3e}.map-tile.water{background:#c8e1e5;box-shadow:inset 0 0 0 1px #a9cdd5;color:#6b98a3}.map-tile.rock{background:#d7dfd0;color:#8c9a87;box-shadow:inset 0 0 0 1px #bdc9b5}.map-tile.mud{background:#e9cea4;box-shadow:inset 0 0 0 1px #c8a373;color:#8a5a28}.map-tile.on-route{background:#cfdfb4;box-shadow:inset 0 0 0 1px #9db888}.map-tile.origin{background:#d6e9c5;box-shadow:inset 0 0 0 2px #6b9868}.map-tile.destination{background:#f8dfb5;color:#955023;box-shadow:inset 0 0 0 2px #c38a51}.map-tile.available{background:#fff0ac;box-shadow:inset 0 0 0 3px #b86b27;cursor:pointer;color:#96501c}.map-tile.available:hover{background:#ffdf77;box-shadow:inset 0 0 0 4px #995017}.map-tile.available:focus-visible{outline:0;box-shadow:inset 0 0 0 4px #273c86;background:#ffe388}.map-tile.available:active{transform:none;background:#f8d167}.map-route{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.tile-content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;pointer-events:none}.station-icon{display:grid;place-items:center}.station-icon svg{width:27px;height:27px}.station-label{font-size:14px;line-height:1.1;font-weight:800}.origin .tile-content{background:#d6e9c5;border-radius:8px;box-shadow:inset 0 0 0 2px #6b9868}.destination .tile-content{background:#f8dfb5;border-radius:8px;box-shadow:inset 0 0 0 2px #c38a51}.destination.available .tile-content{background:#fff0ac;box-shadow:inset 0 0 0 3px #b86b27}.destination.available:hover .tile-content{background:#ffdf77}.destination.available:focus-visible .tile-content{box-shadow:inset 0 0 0 4px #273c86}.tap-icon{width:30px;height:30px}.tile-cost{position:absolute;right:5px;bottom:2px;font-size:14px;font-weight:800;line-height:1.2}.obstacle-icon{width:23px;height:23px;opacity:.65}.mud-symbol{display:flex;align-items:center;gap:3px}.mud-symbol svg{width:20px;height:20px}.mud-symbol b{font-size:18px}.on-route .mud-symbol{border-radius:6px;background:#e9cea4;padding:0 3px}.tip-dot{width:19px;height:19px;border:4px solid #fffdf4;border-radius:50%;background:#39764f;box-shadow:0 0 0 2px #39764f}.map-robot{width:32px;height:32px;background:#edf5df;border-radius:9px;color:#2f6548}.map-key{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 24px;padding-top:12px;font-size:17px;line-height:1.4;font-weight:650}.map-key>span{display:flex;align-items:center;gap:7px}.tap-key{color:#91521f}.mud-key{color:#80582f}.route-swatch{width:24px;height:5px;border-radius:4px;background:#39764f}@media(max-width:560px){.map-board{padding:12px 7px 10px}.map-caption{gap:14px;font-size:17px;margin-bottom:12px}.tile-grid{border-width:3px;border-radius:13px}.map-tile{height:46px;border-width:1.5px;border-radius:7px}.map-key{font-size:16px;gap:8px 14px;padding-top:10px}.tap-icon{width:25px;height:25px}.mud-symbol{flex-direction:column;gap:0;line-height:1}.mud-symbol svg{width:16px;height:16px}.mud-symbol b{font-size:16px}.station-icon svg{width:23px;height:23px}.station-label{font-size:13px}.tile-cost{right:3px;bottom:2px;font-size:12px}.map-robot{width:27px;height:27px}.tip-dot{width:16px;height:16px;border-width:3px}.map-caption span{gap:6px}}.course-progress{display:flex;align-items:center;gap:10px;color:#57765b;font-size:16px}.course-progress span{padding:5px 10px;border-radius:999px;background:#e6efda;color:#789071}.lesson-world{min-height:clamp(310px,calc(100dvh - 370px),485px);display:flex;align-items:center;justify-content:center;padding:18px;background:radial-gradient(ellipse at 50% 25%,#f3f8e9,#d7eadc)}.lesson-intro,.lesson-review{width:min(100%,620px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}.intro-hero{display:flex;align-items:center;gap:25px;color:#4d8a62}.intro-hero>svg:nth-child(2){color:#b07a3b}.intro-topic{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center}.intro-topic b{font-size:25px;color:#315e42}.intro-topic span{padding:6px 13px;border-radius:12px;background:#f4dfb8;color:#866333;font-weight:700}.lesson-intro p{margin:0;color:#5d775e;font-size:19px;font-weight:650}.intro-formula{padding:8px 18px;border-radius:13px;background:#fffdf1;color:#3b704d;font-size:25px;font-weight:800;letter-spacing:.05em}.lesson-coach{min-height:132px}.lesson-context{justify-content:flex-start}.phase-pill{display:flex;align-items:center;gap:7px;padding:7px 12px;border-radius:12px;background:#e7f0dc;color:#527451;font-weight:700}.rule-mini{color:#77744f;font-size:16px}.game-metric{display:flex;justify-content:center;align-items:center;gap:14px;margin-bottom:12px;color:#47734e;font-size:22px}.river-crossing{display:flex;align-items:center;gap:12px;width:100%;max-width:540px}.river-grid{display:grid;grid-template-columns:repeat(var(--parts),1fr);gap:5px;flex:1;padding:10px;background:#b8dce0;border-radius:14px}.river-grid>span{height:42px;border-radius:7px;background:#e9f2dc;border:1px dashed #9ebc9d;text-align:center;color:#6c9da3}.river-grid>span.wood{background:#bd8753;border:0;box-shadow:inset 0 5px #dca16d}.crossed-robot{color:#39794e}.built-equation{min-height:35px;font-size:20px;color:#456b4c;font-weight:750}.game-controls{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:15px}.plank-button,.crate-button,.shape-button,.weight-button,.arrow-button{min-height:58px;padding:9px 15px;border:2px solid #b9cfae;border-radius:13px;background:#fffdf1;color:#477049;font-weight:750;box-shadow:0 3px #d1dbc7}.plank-button:hover,.crate-button:hover,.shape-button:hover,.weight-button:hover,.arrow-button:hover{border-color:#9c733d;background:#fff0ba}.plank-button.tutorial-target,.crate-button.tutorial-target,.shape-button.tutorial-target,.weight-button.tutorial-target,.arrow-button.tutorial-target{border-color:#b76b26;background:#fff0a8;box-shadow:0 0 0 4px #f2c66880}.wood-dashes{display:block;color:#b57d4e;letter-spacing:-3px;font-size:15px}.plank-button b{font-size:16px}.boat-deck{display:flex;align-items:center;justify-content:center;gap:16px;padding:18px;border-radius:18px;background:#d5e6d1;border:2px solid #b3cbaa}.boat-deck>svg{color:#4d7b62}.sorted-cargo{display:flex;gap:8px;flex-wrap:wrap}.cargo-slot{display:grid;place-items:center;gap:1px;width:50px;height:58px;border-radius:10px;border:2px dashed #a7bea2;background:#eef3df;color:#9bac95}.cargo-slot.filled{border-style:solid;background:#fff0bd;color:#965c2f}.crate-button{display:flex;align-items:center;gap:6px;min-width:65px}.crate-button svg{color:#ae7746}.light-string{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:13px;max-width:590px;padding:25px;border-radius:20px;background:#315345}.lamp{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#566d62;color:#bdc9bd}.lamp.lit{background:#f6c962;color:#6c5523;box-shadow:0 0 18px #f6c962aa}.lamp.next-lamp{outline:4px solid #f2e5a7;outline-offset:3px}.pattern-unit{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:15px;color:#547553}.shape{display:inline-block;width:25px;height:25px;background:#e7a85d;border-radius:50%;vertical-align:middle}.shape-red{background:#dc745f}.shape-blue{background:#67a2b5}.shape-1{background:#dbbe60;transform:rotate(45deg);border-radius:5px}.shape-2{background:#78a673;border-radius:5px}.shape-button{display:flex;align-items:center;gap:9px}.shape-button .shape{width:20px;height:20px}.treasure-map{display:flex;flex-direction:column;align-items:center;gap:12px}.coordinate-clue{display:flex;gap:10px}.coordinate-clue span{display:flex;align-items:center;gap:5px;padding:6px 11px;border-radius:10px;background:#fff0be;color:#855c2e;font-weight:700}.coordinate-grid{display:grid;grid-template-columns:32px repeat(5,46px);grid-template-rows:32px repeat(5,46px);gap:4px;padding:9px;border-radius:16px;background:#bdd4b3}.coordinate-grid>*{display:grid;place-items:center}.coordinate-grid>b{color:#54704e}.axis-mark{color:#a25a2d!important;font-size:20px}.treasure-cell{border:1px solid #a6c69e;border-radius:7px;background:#e5f0d6;color:#84a17c;font-size:20px}.treasure-cell.tutorial-target{background:#fff0a2;border:3px solid #b86b27}.treasure-cell.dug{background:#f1d99f;color:#a35f2e}.mirror-labels{display:flex;justify-content:space-between;width:330px;color:#6a7c5c;font-weight:700;margin-bottom:8px}.garden-grid{display:grid;grid-template-columns:repeat(5,54px);grid-template-rows:repeat(5,54px);gap:5px;padding:8px;border-radius:16px;background:#d2e4c8}.garden-cell{display:grid;place-items:center;border:1px solid #b0cda3;border-radius:9px;background:#f1f5e2;color:#a2b58e}.garden-cell.fixed{color:#c7775a}.garden-cell.planted{background:#f9e4ac;color:#c7775a}.garden-cell.tutorial-target{background:#fff0a2;border:3px solid #b86b27}.mirror-axis{position:relative;background:#8ba47e}.mirror-axis:after{content:"↕";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#fff;font-size:20px}.pizza-game{display:grid;grid-template-columns:160px 220px 90px;align-items:center;gap:22px}.fraction-order{display:flex;flex-direction:column;align-items:center;gap:7px;color:#8a5d32;font-size:18px}.fraction-order b{font-size:27px}.pizza-board{width:220px;height:220px}.pizza-piece{cursor:pointer}.pizza-piece path{fill:#f7dc8e;stroke:#b9804b;stroke-width:2}.pizza-piece.selected path{fill:#8fbe83;stroke:#47754e}.pizza-piece.tutorial-target path{stroke:#b86b27;stroke-width:5}.fraction-count{display:flex;flex-direction:column;align-items:center;color:#4d754f}.fraction-count b{font-size:23px}.balance-game{display:flex;flex-direction:column;align-items:center;gap:12px}.scale-pans{display:flex;align-items:center;gap:18px;font-size:21px}.scale-pan{display:flex;align-items:center;gap:8px;padding:10px 15px;border-radius:13px;background:#fff5d5;color:#7b6133}.scale-body{position:relative;width:270px;height:65px}.scale-beam{position:absolute;left:18px;right:18px;top:17px;height:10px;border-radius:8px;background:#a4784e;transform-origin:center;transition:transform .25s}.scale-stand{position:absolute;left:calc(50% - 9px);top:20px;width:18px;height:45px;background:#6d8c6b;clip-path:polygon(50% 0,100% 100%,0 100%)}.weight-stack{min-height:30px;display:flex;gap:5px}.weight-stack span{display:grid;place-items:center;width:32px;height:28px;border-radius:7px;background:#a88a62;color:#fff}.weight-button{min-width:62px}.sorting-station{display:flex;flex-direction:column;align-items:center;gap:17px}.parcel-counter{display:flex;gap:8px;color:#5d845d}.parcel-counter span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f5e2b5}.parcel-counter span.done{background:#cfe5c7}.current-parcel{display:grid;place-items:center;width:100px;height:100px;border-radius:18px;background:#fff1b5;border:3px solid #b8783b}.sort-gates{display:flex;gap:15px}.sort-gate{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:145px;padding:11px;border-radius:14px;border:2px solid #b8cfad;background:#f8f3dd;color:#527450}.sort-gate.yes{background:#e1efd8}.sort-gate.no{background:#f3e7d2}.sort-gate.tutorial-target{border-color:#b86b27;box-shadow:0 0 0 4px #f2c66880}.lighthouse-meter{display:flex;align-items:center;justify-content:center;gap:18px;color:#4a7a56}.lighthouse-meter b{font-size:30px}.lighthouse-meter span{font-size:18px;color:#83917b}.binary-lights{display:flex;gap:11px;justify-content:center;flex-wrap:wrap;margin:17px}.binary-light{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 11px;border:2px solid #abc6a4;border-radius:14px;background:#e7f0de;color:#60795e}.binary-light.on{background:#ffe18b;color:#8a6128;border-color:#c18a44;box-shadow:0 0 14px #f8ca62aa}.binary-light.tutorial-target{border-color:#b86b27;box-shadow:0 0 0 4px #f2c66880}.program-game{display:flex;flex-direction:column;align-items:center;gap:13px}.robot-grid{display:grid;grid-template-columns:repeat(5,42px);grid-template-rows:repeat(5,42px);gap:3px;padding:7px;border-radius:15px;background:#b9d4ae}.robot-cell{display:grid;place-items:center;border-radius:6px;background:#edf3df;color:#5a835d}.robot-cell.road{background:#fff0b0}.program-block{display:flex;align-items:center;gap:12px}.command-slots{display:flex;gap:5px}.command-slots>span{display:grid;place-items:center;width:43px;height:43px;border-radius:8px;background:#f1eddb;border:1px dashed #aabc9d}.command-slots>span.filled{background:#d8ebc8;border:1px solid #87a47e}.arrow-controls .arrow-button{width:54px;padding:8px}.lesson-review{max-width:620px}.lesson-review .review-title{font-size:22px}.lesson-recap-visual{display:flex;align-items:center;gap:14px;color:#4d8053}.lesson-review>p{margin:0;color:#5b775f;font-size:19px;font-weight:700}.review-quiz{width:min(100%,480px);padding:15px 18px;border-radius:16px;background:#fffdf0;border:1px solid #ddd5b7}.quiz-label{display:flex;align-items:center;gap:7px;color:#936a35;font-weight:750}.review-quiz p{margin:7px 0 11px;color:#566f57;font-size:17px}.quiz-options{display:flex;gap:10px;flex-wrap:wrap}.quiz-options button{flex:1;min-width:130px;padding:9px 12px;border:1px solid #b4c9a7;border-radius:10px;background:#edf4e3;color:#4d7350;font-weight:700}.quiz-options button.correct{background:#cfe8c6;border-color:#5e9761}.quiz-options button.wrong{background:#f3d8c3;border-color:#b8774d}.quiz-good,.quiz-tip{display:block;margin-top:8px;font-size:15px}.quiz-good{color:#4e8554}.quiz-tip{color:#9b673f}@media(max-width:700px){.course-progress{font-size:14px;gap:5px}.course-progress span{display:none}.lesson-world{padding:12px 8px;min-height:315px}.intro-hero{gap:12px}.intro-hero>svg{width:58px;height:58px}.intro-formula{font-size:21px}.lesson-coach{min-height:145px}.pizza-game{grid-template-columns:1fr;gap:10px}.fraction-order{order:0;flex-direction:row}.pizza-board{width:190px;height:190px}.fraction-count{position:absolute;margin:75px 0 0 220px}.sort-gates{gap:8px}.sort-gate{min-width:120px}.coordinate-grid{grid-template-columns:27px repeat(5,42px);grid-template-rows:27px repeat(5,42px)}.garden-grid{grid-template-columns:repeat(5,46px);grid-template-rows:repeat(5,46px)}.mirror-labels{width:285px}.light-string{padding:17px 10px;gap:8px}.lamp{width:43px;height:43px}.program-block{flex-wrap:wrap;justify-content:center}}.lesson-playarea{display:flex;flex-direction:column;align-items:center;gap:24px;width:100%;min-width:0}.recovery-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;width:100%}.undo-action{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:10px 19px;border:2px solid #ab793b;border-radius:13px;background:#fff0bc;color:#805021;font-size:20px;font-weight:750;box-shadow:0 3px #dac28e}.undo-action:hover:not(:disabled){background:#ffe295}.undo-action.needs-undo{background:#ffdf87;border-color:#95511d;box-shadow:0 0 0 4px #efbd6666}.recovery-actions .secondary-button{min-height:48px;background:#fffdf1;font-size:18px}@media(max-width:560px){.lesson-playarea{gap:20px}.recovery-actions{gap:10px}.undo-action{font-size:19px;padding:10px 13px}.recovery-actions .secondary-button{padding:9px 11px;font-size:17px}}.catalog-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;overflow:auto;background:#edf3e9;max-width:none;margin:0;padding:32px 28px 48px}.catalog-header,.catalog-grid{max-width:1120px;margin-left:auto;margin-right:auto}.catalog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:24px;border-bottom:1px solid #d2dfce}.catalog-brand{display:flex;align-items:center;gap:13px;color:#4c805a}.catalog-brand>div{display:flex;flex-direction:column;gap:1px}.catalog-brand h1{margin:0;color:#294f3b;font-size:30px;line-height:1.2}.catalog-brand p{margin:0;color:#70856d;font-size:17px}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}.course-card{position:relative;display:grid;grid-template-columns:36px 52px minmax(0,1fr) 24px;align-items:center;gap:12px;min-height:92px;padding:15px 18px;border:1px solid #d0dfc8;border-radius:18px;background:#fffdf4;text-align:left;color:#315e42;box-shadow:0 4px #e0e9d8;transition:transform .15s,box-shadow .15s,border-color .15s}.course-card:hover{transform:translateY(-2px);border-color:#94b487;box-shadow:0 6px #d6e4cd}.course-card.current{border:2px solid #6e9c6b;background:#eef6e5}.course-number{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e5efda;color:#527853;font-size:17px;font-weight:800}.course-card-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#f4e5c3;color:#9a6838}.course-card-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.course-card-copy b{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.course-card-copy small{font-size:15px;color:#70836b}.course-card-arrow{color:#6e966c}.course-badge{position:absolute;right:14px;top:9px;padding:2px 7px;border-radius:8px;background:#f1ddb5;color:#8b6537;font-size:12px;font-weight:750}.current-badge{background:#dceccf;color:#4d7a50}.catalog-button{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 13px;border:1px solid #cadbc1;border-radius:12px;background:#eef5e8;color:#4f7657;font-size:16px;font-weight:700;white-space:nowrap}.catalog-button:hover{background:#e0edd8}.adventure-header .catalog-button{margin-left:auto}.playable-title{max-width:1120px;margin:24px auto 0;color:#3b6546;font-size:19px}.playable-title small{margin-left:7px;color:#819179;font-size:14px;font-weight:500}@media(max-width:700px){.catalog-screen{padding:22px 16px 34px}.catalog-header{align-items:flex-start}.catalog-brand h1{font-size:26px}.catalog-brand p{font-size:15px}.playable-title{margin-top:18px;font-size:18px}.catalog-grid{grid-template-columns:1fr;gap:11px;margin-top:10px}.course-card{min-height:82px;padding:12px 14px}.course-card-copy b{font-size:19px}.course-card-copy small{font-size:14px}.catalog-button span{display:inline}.catalog-button{padding:8px 10px}.adventure-header .catalog-button{margin-left:auto}}@media(max-width:560px){.catalog-screen{padding:18px 10px 28px}.catalog-header{gap:8px}.catalog-brand{gap:9px}.catalog-brand>svg{width:27px;height:27px}.catalog-brand h1{font-size:24px}.catalog-header .secondary-button{padding:7px 9px;font-size:15px}.course-card{grid-template-columns:30px 44px minmax(0,1fr) 20px;gap:9px;border-radius:15px}.course-number{width:28px;height:28px;font-size:15px}.course-card-icon{width:44px;height:44px}.course-card-icon svg{width:29px;height:29px}.course-card-copy b{font-size:17px}.course-card-copy small{font-size:13px}.course-badge{right:9px;top:7px}}@media(max-width:560px){.adventure-header .chapter-track{gap:4px}.adventure-header .chapter-track li{min-width:25px;gap:0}.adventure-header .chapter-track svg{display:none}.catalog-button{font-size:16px;gap:5px;padding:8px}.course-progress{white-space:nowrap}}.roadmap{max-width:1120px;margin:42px auto 0}.roadmap-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:1px solid #d2dfce;padding-bottom:17px}.roadmap-heading h2{margin:0;color:#294f3b;font-size:26px;line-height:1.25}.roadmap-heading p{margin:6px 0 0;color:#70856d;font-size:16px}.roadmap-count{padding:7px 12px;border-radius:999px;background:#e4efdc;color:#527853;font-size:15px;white-space:nowrap}.roadmap-count b{font-size:21px}.roadmap-legend{display:flex;gap:18px;margin:14px 0;color:#71836d;font-size:14px}.roadmap-legend span{display:flex;align-items:center;gap:6px}.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.ready-dot{background:#5f9861}.planned-dot{background:#c7b58d}.roadmap-tracks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.roadmap-track{border:1px solid #d0dfc8;border-radius:17px;background:#fffdf4;overflow:hidden}.roadmap-track>summary{display:flex;align-items:center;gap:11px;padding:14px 16px;cursor:pointer;list-style:none}.roadmap-track>summary::-webkit-details-marker{display:none}.roadmap-track>summary:focus-visible{outline:3px solid #bc762e;outline-offset:-3px}.track-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e7f0dc;color:#4e8355}.track-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.track-copy b{font-size:18px;color:#315e42}.track-copy small{font-size:13px;color:#71836d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track-meta{font-size:13px;color:#8a7a58;white-space:nowrap}.roadmap-track>summary:after{content:"⌄";font-size:21px;color:#799171;transition:transform .15s}.roadmap-track:not([open])>summary:after{transform:rotate(-90deg)}.roadmap-track.blue .track-icon{background:#dceef0;color:#47808b}.roadmap-track.gold .track-icon{background:#f5e5c2;color:#9a6c35}.roadmap-track.purple .track-icon{background:#e8e0f1;color:#765596}.roadmap-track.orange .track-icon{background:#f4e0c5;color:#a06332}.track-units{display:grid;gap:12px;padding:0 16px 17px}.roadmap-unit{border-top:1px dashed #d8dfcc;padding-top:10px}.roadmap-unit h3{margin:0 0 8px;font-size:15px;color:#657b63}.roadmap-courses{display:grid;gap:6px}.roadmap-course{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:8px;min-height:42px;padding:7px 9px;border-radius:10px;background:#f3f5e8;color:#61755e}.roadmap-course.is-ready{border:1px solid #c3d9ba;background:#eaf3e3;color:#3f714a;text-align:left;cursor:pointer}.roadmap-course.is-ready:hover{background:#deedd7;border-color:#8db287}.roadmap-course-title{font-weight:700;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.roadmap-course small{font-size:12px;color:#89947a;white-space:nowrap}.roadmap-course.is-ready small{color:#5c8b61}.roadmap-course-info{display:grid;place-items:center;width:17px;height:17px;border:1px solid #bbc9b2;border-radius:50%;font-size:11px;color:#82927b;font-weight:700}@media(max-width:700px){.roadmap{margin-top:32px}.roadmap-heading{align-items:flex-start;flex-direction:column;gap:10px}.roadmap-heading h2{font-size:23px}.roadmap-heading p{font-size:15px}.roadmap-tracks{grid-template-columns:1fr;gap:11px}.roadmap-track>summary{padding:12px 13px}.track-icon{width:40px;height:40px}.track-copy b{font-size:17px}.track-units{padding:0 13px 14px}.roadmap-course-title{font-size:14px}.roadmap-course small{font-size:11px}}.advanced-board{width:min(100%,740px);display:flex;flex-direction:column;align-items:center;gap:18px;color:#365f44}.advanced-board button{min-height:50px;border:2px solid #bbcfb0;border-radius:13px;background:#fffdf1;color:#3c6949;font-size:19px;font-weight:700;padding:10px 15px;box-shadow:0 3px #d1dfc7}.advanced-board button:hover:not(:disabled){background:#fff0ba;border-color:#ae813f}.advanced-board .tutorial-target{background:#fff0a6;border-color:#b6742d;box-shadow:0 0 0 4px #ebc66b66}.advanced-board .selected{background:#d8edca;border-color:#6f9c61}.advanced-order-bank,.advanced-slots,.machine-flow,.machine-trace,.walk-controls,.number-bank,.chosen-pair,.buffer-controls,.benchmark-methods,.memory-inputs,.memory-values,.memory-filled,.divide-answers,.schedule-line,.found-list{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;width:100%}.advanced-slots{min-height:68px;padding:13px;border:2px dashed #a7bc98;border-radius:15px;background:#edf4e1}.advanced-slots span,.machine-trace span,.memory-filled span,.schedule-line span,.chosen-pair span{padding:8px 13px;border-radius:10px;background:#dceccb;font-weight:700}.machine-value,.machine-target{padding:20px;border-radius:18px;background:#dceccf;font-size:30px;font-weight:800}.machine-target{font-size:22px;background:#f5e5ba}.machine-trace{min-height:46px}.advanced-grid{display:grid;gap:8px;width:100%}.advanced-grid.select{grid-template-columns:repeat(2,minmax(0,1fr))}.advanced-grid.paint,.advanced-grid.transform{grid-template-columns:repeat(5,minmax(0,1fr));max-width:340px}.advanced-cell{overflow-wrap:anywhere;min-width:0}.advanced-grid.paint .advanced-cell,.advanced-grid.transform .advanced-cell{padding:8px;aspect-ratio:1;min-height:44px}.walk-grid{display:grid;grid-template-columns:repeat(5,48px);grid-template-rows:repeat(5,48px);gap:4px;padding:9px;border-radius:17px;background:#bad1ae}.walk-grid span{display:grid;place-items:center;background:#d7e4cd;border-radius:7px;font-size:28px}.walk-grid .walkable{background:#fff0b8;border:1px solid #dfcc8d}.walk-grid .finish{color:#b97534}.walk-grid .player{background:#cce8c2}.graph-map{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;width:100%;min-height:200px;background:#e7f1df;border:1px solid #c0d3b5;border-radius:18px;padding:20px;position:relative}.graph-edge{display:none}.graph-node{z-index:1}.graph-node.visited{background:#d9eaca}.graph-node.at{border-color:#ad7635;background:#ffecac}.graph-log{display:flex;flex-wrap:wrap;gap:8px}.graph-log span{padding:6px 10px;border-radius:9px;background:#d5e6c9}.memory-values>span{display:grid;place-items:center;min-width:48px;min-height:50px;border:2px solid #b6c9a8;border-radius:9px;background:#f4f5df;font-size:22px;font-weight:800}.buffer-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%;padding:20px;border:2px dashed #aabd99;border-radius:15px;min-height:90px}.buffer-row span{padding:12px 18px;background:#f4ddb2;border-radius:10px;font-size:24px;font-weight:800}.buffer-row em{font-size:16px;color:#8c9a7d}.buffer-row:has(span) em{display:none}.buffer-history,.prune-history{font-size:17px;color:#739067}.schedule-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}.schedule-job{display:flex;justify-content:space-between;align-items:center;gap:10px}.schedule-job small{font-size:14px;color:#809071}.divide-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.divide-node{display:flex;flex-direction:column;align-items:center;justify-content:center}.divide-node small{font-size:13px;color:#809071}.divide-node:first-child{grid-column:1/-1}.divide-node:nth-child(2),.divide-node:nth-child(3){grid-column:span 2}.divide-leaf{display:grid;place-items:center;padding:15px;background:#e3eed4;border-radius:12px;font-size:26px;font-weight:800}.divide-answers{grid-column:1/-1}.divide-answers>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.benchmark-method{display:flex;flex-direction:column;gap:4px;min-width:150px}.benchmark-method small{font-size:14px;color:#7d8e72}.prune-state{font-size:21px}.debug-lines{display:flex;flex-direction:column;gap:8px;width:min(100%,420px)}.debug-lines button{border-color:#b7caa9;background:#e7efd9;text-align:left;box-shadow:none}.debug-lines .bug-line{background:#ffedac;border-color:#bf8338}.advanced-check{background:#3c7a4c!important;color:#fff!important;border-color:#3c7a4c!important}@media(max-width:560px){.advanced-board{gap:14px}.advanced-board button{font-size:18px;padding:10px 12px;min-height:48px}.advanced-grid.select{grid-template-columns:1fr}.advanced-grid.paint,.advanced-grid.transform{max-width:290px}.walk-grid{grid-template-columns:repeat(5,43px);grid-template-rows:repeat(5,43px)}.machine-value{font-size:26px;padding:14px}.machine-target{font-size:20px;padding:13px}.schedule-list{grid-template-columns:1fr}.divide-board{gap:8px}.divide-node small{font-size:12px}.memory-values>span{min-width:38px;min-height:45px}.benchmark-methods{flex-direction:column}.benchmark-method{width:100%}}.catalog-controls{max-width:1120px;margin:18px auto 0;display:flex;align-items:center;gap:14px}.track-filters{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;flex:1;padding:2px}.track-filters::-webkit-scrollbar{display:none}.track-filters button{display:flex;align-items:center;gap:5px;min-height:40px;padding:7px 11px;border:1px solid #ceddc6;border-radius:999px;background:#f7f8ef;color:#657b63;font-size:14px;white-space:nowrap}.track-filters button.active{background:#dceccb;border-color:#6f9b6b;color:#315e42;font-weight:750}.course-search{display:flex;align-items:center;gap:7px;flex:none;width:230px;height:42px;padding:5px 10px;border:1px solid #cadbc1;border-radius:12px;background:#fffdf4;color:#718a70}.course-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#315e42;font:inherit;font-size:15px}.course-search input::placeholder{color:#9aa793}.course-search button{padding:0;background:none;color:#758871;font-size:23px}.catalog-result-count{max-width:1120px;margin:12px auto 0;color:#82917b;font-size:14px}.curriculum-sections{max-width:1120px;margin:18px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.curriculum-section{padding:16px;border:1px solid #d0dfc8;border-radius:19px;background:#f5f8ed}.curriculum-heading{display:flex;align-items:center;gap:10px;padding:1px 2px 12px;color:#4d8156}.curriculum-heading h2{margin:0;font-size:21px;color:#315e42}.curriculum-heading p{margin:3px 0 0;color:#74866f;font-size:13px}.curriculum-unit{border-top:1px dashed #cfdcc6;padding-top:10px;margin-top:10px}.curriculum-unit h3{margin:0 0 8px;font-size:15px;color:#667b64}.curriculum-unit .catalog-grid{grid-template-columns:1fr;gap:7px;margin:0}.curriculum-unit .course-card{min-height:71px;padding:9px 11px;border-radius:13px;grid-template-columns:31px 39px minmax(0,1fr) 20px;gap:8px;box-shadow:0 2px #e0e9d8}.curriculum-unit .course-number{width:27px;height:27px;font-size:13px}.curriculum-unit .course-card-icon{width:39px;height:39px;border-radius:11px}.curriculum-unit .course-card-icon svg{width:25px;height:25px}.curriculum-unit .course-card-copy{gap:1px}.curriculum-unit .course-card-copy b{font-size:16px}.curriculum-unit .course-card-copy small{font-size:12px}.course-card-status{display:flex;align-items:center;gap:4px;color:#718970;font-size:11px}.course-card.current .course-card-status{color:#4a8051;font-weight:700}.curriculum-section.blue .curriculum-heading{color:#478391}.curriculum-section.gold .curriculum-heading{color:#9b7135}.curriculum-section.purple .curriculum-heading{color:#7c5b9b}.curriculum-section.orange .curriculum-heading{color:#aa6d37}.empty-catalog{max-width:500px;margin:50px auto;text-align:center;color:#778975}.empty-catalog p{margin:8px 0 14px}.advanced-board{width:min(100%,760px);display:flex;flex-direction:column;align-items:center;gap:16px;color:#365f44}.round-mission{margin:0;text-align:center;color:#5a775d;font-size:18px;font-weight:700}.game-action{display:flex;align-items:center;justify-content:center;gap:7px;min-height:50px;padding:9px 14px;border:2px solid #b9cfb0;border-radius:13px;background:#fffdf1;color:#3f6b48;font:inherit;font-size:18px;font-weight:750;box-shadow:0 3px #d2dfc8;cursor:pointer}.game-action:hover:not(:disabled){background:#fff0b7;border-color:#ae7a37}.game-action:disabled{opacity:.42}.game-action.selected{background:#d8ebca;border-color:#6d9a63}.choice-bank{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;width:100%}.order-track{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%;padding:12px;background:#e8f1df;border-radius:16px}.order-track>span{display:flex;align-items:center;gap:8px;min-width:100px;min-height:54px;padding:8px 10px;border-radius:11px;background:#fffdf1;border:1px dashed #adbf9e;color:#4f7451;font-weight:700}.order-track>span.filled{border-style:solid;background:#dceccb}.order-track small{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#d8e6cb;color:#688065}.selection-count{color:#778b70}.selection-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}.selection-cards .game-action{justify-content:flex-start;text-align:left;min-height:62px}.selection-mark{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#eef2df}.shape-comparison{display:flex;align-items:center;justify-content:center;gap:20px;width:100%}.shape-comparison>div{display:flex;flex-direction:column;align-items:center;gap:7px}.shape-comparison b{font-size:15px;color:#71866d}.shape-arrow{color:#bd7d3f}.drawing-grid{display:grid;grid-template-columns:repeat(5,34px);grid-template-rows:repeat(5,34px);gap:3px;padding:6px;border-radius:12px;background:#b9d3ad}.draw-cell{display:grid;place-items:center;min-height:34px;padding:0!important;border:1px solid #9fbd95!important;border-radius:5px;background:#e8f1df!important;color:#668763!important;box-shadow:none!important}.draw-cell.source{background:#ffe4a6!important;color:#a46b31!important}.draw-cell.selected{background:#bfe0b2!important;color:#397447!important}.draw-cell.pivot{background:#8ea887!important;color:#fff!important}.data-strip{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;color:#6c8368;font-size:15px}.data-chip{padding:5px 9px;border-radius:8px;background:#e4efdb;color:#4d744e;font-weight:700}.machine-display{display:flex;align-items:center;justify-content:center;gap:18px}.machine-display>div{display:flex;flex-direction:column;align-items:center;min-width:90px;padding:13px 16px;border-radius:15px;background:#dceccb}.machine-display .target-value{background:#f4e1b9}.machine-display small{font-size:12px;color:#748a70}.machine-display b{font-size:30px}.trace-op{color:#a46d36;font-weight:700}.board-note{color:#788b73;font-size:14px}.walk-grid{display:grid;grid-template-columns:repeat(5,48px);grid-template-rows:repeat(5,48px);gap:4px;padding:8px;border-radius:15px;background:#b9d3ad}.walk-grid>span{display:grid;place-items:center;border-radius:6px;background:#e1ecda;color:#80a07a}.walk-grid>span.walkable{background:#fff0b0;color:#bc8c4a}.walk-grid>span.traveled{box-shadow:inset 0 0 0 3px #76a66a}.walk-grid>span.player{background:#c2e4b7;color:#316f47}.graph-picture{position:relative;width:min(100%,590px);height:280px;border-radius:17px;background:#e7f1df;border:1px solid #c3d8b8;overflow:hidden}.graph-picture>svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.graph-picture line{stroke:#a2b99a;stroke-width:1.5}.graph-picture line.chosen{stroke:#51895a;stroke-width:3}.graph-picture g rect{fill:#fff0b5;stroke:#bf8a4b;stroke-width:.3}.graph-picture text{font-size:3px;text-anchor:middle;fill:#7e5e32}.graph-stop{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;min-width:72px;min-height:45px;padding:6px 8px;border:2px solid #abc79e;border-radius:12px;background:#fffdf1;color:#4e7651;font-size:13px;z-index:1}.graph-stop b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e0edd5}.graph-stop.at{border-color:#b57935;background:#ffebb0}.graph-stop.visited{background:#dceccb}.graph-picture .game-action{position:absolute;transform:translate(-50%,-50%);z-index:2}.memory-table{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.memory-box{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:59px;padding:8px;border:2px solid #b7caa9;border-radius:10px;background:#f3f5df}.memory-box small{font-size:11px;color:#778b70}.memory-box b{font-size:24px}.memory-box.current,.memory-box.lookup{background:#ffe8ab;border-color:#b97d36}.memory-answer{font-size:15px;color:#468351}.query-card{padding:12px 17px;border-radius:12px;background:#fff0b5;color:#855f2e;font-size:19px;font-weight:750;text-align:center}.prefix-display{display:flex;flex-direction:column;align-items:center;gap:5px}.buffer-incoming{display:flex;flex-direction:column;align-items:center;gap:5px;padding:11px 20px;border-radius:13px;background:#fff0b4;color:#815e2d}.buffer-visual{display:flex;align-items:center;gap:9px;width:100%;padding:15px;border-radius:14px;background:#e6f0dc;color:#5f805e}.buffer-visual>div{display:flex;flex-wrap:wrap;gap:7px;flex:1}.buffer-card{min-width:55px!important;min-height:49px!important;flex-direction:column}.buffer-visual.lifo{flex-direction:column}.buffer-visual.lifo>div{width:100%;flex-direction:column;align-items:center}.empty-buffer{color:#91a789}.schedule-timeline{width:min(100%,650px);display:flex;flex-direction:column;gap:6px}.timeline-axis{display:flex;justify-content:space-between;padding-left:85px;color:#83957a;font-size:12px}.timeline-job{display:grid!important;grid-template-columns:76px 1fr;align-items:center;width:100%;min-height:46px!important;text-align:left}.job-label{font-size:14px}.time-track{height:15px;border-radius:8px;background:#e9efdf;position:relative;overflow:hidden}.time-track>span{position:absolute;top:0;height:100%;border-radius:8px;background:#b8d8a9}.timeline-job.selected .time-track>span{background:#5e9763}.division-tree{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;width:100%}.division-node{display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px;border:1px solid #bfd2b2;border-radius:13px;background:#eff5e7;text-align:center}.division-node.root{grid-column:1/-1;background:#dceccb}.equation-slots{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:10px;font-size:23px}.equation-slots>b{display:grid;place-items:center;min-width:45px;min-height:45px;padding:4px 10px;border-radius:9px;background:#fff0b3;color:#825c2e}.search-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 10px;border-radius:10px;background:#e8efdf;color:#748b70}.search-item.current{outline:3px solid #b97833}.search-item.included{background:#cde7be}.search-item.skipped{background:#e6e6d6}.benchmark-budget{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;color:#6f856b}.benchmark-budget span{padding:7px 10px;border-radius:9px;background:#e5efdb}.engine-card{display:flex;flex-direction:column;gap:4px;min-width:150px}.engine-card small{font-size:13px;color:#798b73}.benchmark-results{width:100%;display:flex;flex-direction:column;gap:5px}.benchmark-results>div{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:7px 10px;border-radius:8px;background:#edf3e5;color:#5f795e;font-size:14px}.over-budget{color:#b35e3c}.code-trace{display:flex;flex-direction:column;gap:6px;width:min(100%,450px);margin:0;padding:0;list-style:none}.code-trace li{display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:8px;padding:9px 11px;border-radius:9px;background:#e8efdf;color:#537354}.code-trace li>span:first-child{color:#839475}.code-trace li.bug-line{background:#ffe9ac;border:1px solid #bd7c36}.code-trace li small{grid-column:2/-1;color:#a66c32}.board-debug .game-action{font-size:15px}@media(max-width:700px){.catalog-controls{align-items:stretch;flex-direction:column}.course-search{width:100%}.curriculum-sections{grid-template-columns:1fr;margin-top:14px}.curriculum-section{padding:12px}.curriculum-heading h2{font-size:19px}.course-card-status{font-size:10px}.shape-comparison{gap:8px}.drawing-grid{grid-template-columns:repeat(5,29px);grid-template-rows:repeat(5,29px)}.draw-cell{min-height:29px!important}.graph-picture{height:260px}.schedule-timeline{width:100%}}@media(max-width:560px){.advanced-board{gap:13px}.round-mission{font-size:16px}.selection-cards{grid-template-columns:1fr}.machine-display{gap:8px}.machine-display>div{min-width:72px;padding:10px}.machine-display b{font-size:25px}.walk-grid{grid-template-columns:repeat(5,42px);grid-template-rows:repeat(5,42px)}.graph-picture{height:245px}.graph-stop{min-width:57px;font-size:11px;padding:4px}.timeline-job{grid-template-columns:68px 1fr!important}.job-label{font-size:12px}.division-tree{gap:7px}.benchmark-budget{font-size:13px}.engine-card{min-width:0;width:100%}}.seo-overview{max-width:1120px;margin:28px auto 0;padding:0 28px 36px;color:#5f765f}.seo-overview-inner{border-top:1px solid #d2dfce;padding:24px 2px 0}.seo-eyebrow{margin:0 0 7px;color:#8a7a58;font-size:14px;font-weight:750;letter-spacing:.03em}.seo-overview h1{margin:0;color:#294f3b;font-size:26px;line-height:1.3;letter-spacing:-.025em}.seo-overview p:not(.seo-eyebrow){max-width:850px;margin:10px 0 15px;font-size:16px;line-height:1.75}.seo-stage-list{display:flex;flex-wrap:wrap;gap:8px}.seo-stage-list span{padding:6px 11px;border:1px solid #d0dfc8;border-radius:999px;background:#f5f8ed;color:#60785f;font-size:14px}.seo-overview details{max-width:850px;margin-top:13px;color:#71836d;font-size:14px}.seo-overview summary{display:inline-block;cursor:pointer;color:#527853;font-weight:700}.seo-overview details p{margin:7px 0 0!important;font-size:14px!important;line-height:1.6!important}@media(max-width:560px){.seo-overview{padding:0 16px 28px;margin-top:22px}.seo-overview-inner{padding-top:18px}.seo-overview h1{font-size:22px}.seo-overview p:not(.seo-eyebrow){font-size:15px;line-height:1.65}.seo-stage-list{gap:6px}.seo-stage-list span{font-size:13px;padding:5px 8px}}
