.card-art-sharing{background:var(--sage-soft, #eaf0df)}.card-art-balance{background:var(--lilac-soft, #eee8f5)}.card-art-numberline{background:var(--sky-soft, #e8eff6)}.math-card-picture{width:100%;height:100%;display:block}.math-picture-quantities{background:var(--sage-soft, #eaf0df);color:#455c36}.math-picture-operations{background:var(--lilac-soft, #eee8f5);color:#55406e}.math-picture-space{background:var(--sky-soft, #e8eff6);color:#304d68}.math-details{margin-top:24px;border-top:1px solid var(--line);padding-top:12px}.math-details summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:700}.math-details summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.math-transform .g-button{margin:4px}.math-box .math-units{max-width:64px;justify-content:center}.math-total-label{margin:12px 0 2px;font-weight:700}.math-start-marker{stroke:#304d68;stroke-width:5}.math-task-target{font-size:1.25rem;font-weight:700;text-align:center;margin:18px 0}.math-task-target strong{font-size:1.6rem;font-variant-numeric:tabular-nums}.math-extra{padding:8px 0}.math-extra .g-button{min-width:48px;min-height:48px}.math-dots{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:100%}.math-dots i{flex:0 0 16px;height:16px;border-radius:50%;background:#5d7550;border:1px solid #435b37}.math-touch-tokens{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:16px auto;max-width:550px}.math-extra:not(.math-extra-counting) .math-touch-token{display:grid;place-items:center;padding:6px;width:48px;height:48px;border-radius:50%;border:2px solid #647c56;color:#fff;background:#5d7550;font-weight:800}.math-extra:not(.math-extra-counting) .math-touch-token.is-marked{background:#eee8f5;color:#443068;border-color:#746092}.math-extra:not(.math-extra-counting) .math-touch-token.can-remove.is-marked{background:#fff;color:#455c36;border-style:dashed}.math-live-count{text-align:center;font-size:1.1rem;margin:16px 0;font-variant-numeric:tabular-nums}.math-answer-picker{margin:24px auto 8px;text-align:center}.math-answer-picker label{display:block;font-weight:800;margin-bottom:12px}.math-answer-picker input{font:inherit;font-size:1.5rem;font-weight:800;color:var(--ink);width:5rem;min-width:0;padding:10px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:10px}.math-compare-piles,.math-join-groups,.math-place-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.math-extra .math-choice-pile,.math-join-groups .g-button{display:flex;flex-direction:column;align-items:center;gap:20px;padding:18px}.math-extra [aria-pressed=true]{background:#e6def5;border-color:#65538d;color:#3e305d;box-shadow:inset 0 0 0 2px #65538d}.math-pattern-row,.math-pattern-slots,.math-shape-options,.math-direct-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:20px 0}.math-shape{display:block;width:64px;height:64px;fill:#d9e4ca;stroke:#455c36;stroke-width:3}.math-pattern-slots .g-button{min-width:80px;min-height:80px;font-size:1.8rem}.math-pattern-row .math-shape{width:44px;height:44px}.math-building-tray{display:flex;align-items:center;justify-content:center;padding:24px;min-height:110px;background:#fffdf5;border:2px solid #a8b993;border-radius:14px;margin:18px 0}.math-fixed-amount{display:flex;align-items:center;justify-content:center;gap:16px}.math-place-columns section{text-align:center;min-width:0}.math-place-columns h4{margin:8px 0 12px}.math-place-columns output{display:block;margin:12px;font-size:1.5rem;font-weight:800}.math-place-material{display:flex;flex-wrap:wrap;justify-content:center;align-content:start;gap:8px;min-height:70px}.math-ten-rod{background:#eaf0df;border:1px solid #647c56;padding:5px;border-radius:4px}.math-ten-rod .math-dots{display:grid;grid-template-columns:repeat(2,8px);gap:3px}.math-ten-rod .math-dots i{width:8px;height:8px}.math-array-rows{display:grid;gap:10px;margin:20px auto;max-width:560px}.math-array-rows .g-button{display:flex;align-items:center;gap:16px;justify-content:start}.math-array-rows .math-dots{justify-content:start}.math-measure-track{display:grid;row-gap:12px;grid-template-rows:44px 44px;margin:24px 0}.math-measure-strip{background:#6c5c98;border-radius:4px}.math-measure-block{border:1px solid #455c36;background:#eaf0df}.math-shape-example{display:flex;align-items:center;justify-content:center;gap:16px;margin:12px}.math-figure-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:500px;margin:18px auto}.math-figure-grid .g-button{display:flex;flex-direction:column;align-items:center;padding:10px}.math-selection-mark{display:flex;min-height:24px;align-items:center}.math-fraction-circle{display:block;width:min(100%,280px);height:auto;margin:20px auto}.math-fraction-circle path{fill:#fffdf5;stroke:#65538d;stroke-width:1.5;cursor:pointer}.math-fraction-circle path[aria-pressed=true]{fill:#6c5c98}.math-fraction-circle path:hover{stroke-width:2.5}.math-fraction-circle path:focus{outline:none}.math-fraction-circle path:focus-visible{stroke:#b24d00;stroke-width:3}.math-fraction-circle path[aria-disabled=true]{cursor:default}.math-fixed-amount{flex-wrap:wrap}.math-fixed-amount>span:first-child{flex:0 0 100%;text-align:center}@media(max-width:420px){.math-figure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.math-extra .math-choice-pile,.math-join-groups .g-button{padding:10px}.math-place-columns{gap:8px}.math-stepper .g-button{padding:8px}.math-answer-picker input{width:4rem}}.math-units{display:inline-flex;flex-wrap:wrap;align-content:start;gap:6px;max-width:170px;min-height:14px}.math-units i{display:block;width:12px;height:12px;border-radius:50%;background:#5d7550;border:1px solid #435b37}.math-stepper{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.math-stepper .g-button{min-width:46px;min-height:46px;padding:8px 13px;font-size:1.2rem}.math-equation{font-size:1.1rem;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.math-scale{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;margin:22px 0}.math-pan{align-self:stretch;padding:18px;text-align:center;border:2px solid #b6a5cc;border-radius:14px;background:#fffcff}.math-pan h4{margin:0 0 18px;font-size:.95rem}.math-pan output{display:block;font-size:1.7rem;font-weight:800;color:#55406e}.math-boxes{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;min-height:64px}.math-box{background:#e5daf0;border:1px solid #b9a5cf;border-radius:9px;padding:7px 13px;display:grid;font-weight:800}.math-box small{color:#55406e;font-weight:600;font-size:.7rem}.math-box span{font-size:1.3rem}.math-loose{display:grid;justify-items:center;gap:8px;margin-top:14px}.math-loose>span:last-child{font-size:.85rem}.math-balance .math-units i{background:#7c649a;border-color:#5d4478}.math-relation{font-size:1.8rem;color:#604b7b}.math-value-label{display:block;text-align:center;font-weight:800;margin:24px 0 12px}.math-value input{width:5rem;min-width:0;text-align:center;border:1px solid #b6a5cc;border-radius:10px;padding:12px;font:inherit;font-size:1.3rem;font-weight:800;background:#fff;color:var(--ink)}.math-value+p{text-align:center}.math-transform{border-top:1px solid #ccbddc;margin-top:24px;padding-top:18px;display:flex;gap:10px;flex-wrap:wrap}.math-transform p{flex-basis:100%;margin:0 0 5px}.math-transform .g-button{flex:1 1 10rem}.math-line-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;scrollbar-color:#7394b2 #e2eaf3}.math-line-svg{display:block;width:100%;min-width:30rem;color:#456d94}.math-line-svg text{font-family:inherit;font-size:22px;fill:#304d68;font-weight:700}.math-axis,.math-tick{stroke:#537493;stroke-width:2;fill:none}.math-jump{fill:none;stroke:#6a63b7;stroke-width:2.5}.math-position{fill:#5447c5;stroke:#fff;stroke-width:2}.math-line-svg .math-position-label{fill:#493cb4;font-size:28px}.math-location{text-align:center;margin:18px 0 4px}.math-location output{display:inline-block;font-size:1.8rem;font-weight:800;padding-inline:8px;color:#304d68}.math-jump-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:20px 0}.math-jump-controls label{font-weight:800}.math-jump-controls select{max-width:6rem}.math-trail{overflow-wrap:anywhere}.math-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px}.math-actions .g-primary{flex:1 1 12rem}.math-hint{margin-top:24px;padding:18px;background:#fffdf4;border:1px solid #c9be9c;border-radius:12px}.math-hint p{margin:8px 0 0}input,select):focus-visible{outline:3px solid var(--primary, #5747c7);outline-offset:3px}@media(max-width:640px){.math-scale{gap:8px}.math-pan{padding:12px 8px}.math-pan h4{font-size:.85rem}.math-box{padding:5px 8px}}@media(max-width:420px){.math-scale{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px}.math-relation{text-align:center}.math-pan{padding:10px 5px}.math-box{padding:5px 4px}.math-boxes{gap:4px}.math-pan h4{overflow-wrap:anywhere}}.math-scroll-note{display:none}@media(max-width:640px){.math-scroll-note{display:block}}.math-scene-garden{background:#eaf2da}.math-scene-orchard{background:#e2ecd2}.math-scene-workshop{background:#eee5f4}.math-scene-picnic{background:#f5e6d5}.math-scene-journey{background:#e9eedb}.math-scene-pond{background:#e2edf2}.math-scene-treasure{background:#f8ead0}.math-scene-decor{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;border-radius:inherit}.math-scene-decor .g-scene-sun{opacity:.35}.math-scene-decor .g-leaf-one{top:18%;left:-45px;opacity:.4}.math-scene-decor .g-leaf-two{bottom:4%;right:-45px;opacity:.4}.math-scene-ground{position:absolute;bottom:-28px;left:-10%;width:120%;height:60px;border-radius:50%;background:#b0cf8b;opacity:.35}.math-scene-workshop .math-scene-ground,.math-scene-treasure .math-scene-ground{background:#b4a0df}.math-scene-picnic .math-scene-ground{background:#dc9673}.math-scene-pond .math-scene-ground{background:#a7cbd7}.math-picture{display:inline-block;font-family:inherit;font-style:normal;font-size:36px;line-height:1.2;flex:0 0 auto}.math-pieces{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;max-width:100%}.math-pieces .math-picture{font-size:30px}.math-tone-0{--piece-colour: #f2cf70}.math-tone-1{--piece-colour: #b4a0df}.math-tone-2{--piece-colour: #a6c8b9}.math-tone-3{--piece-colour: #dc9673}.math-block-piece{position:relative;display:inline-flex;justify-content:space-around;flex:0 0 34px;width:34px;height:25px;margin-top:6px;border-radius:3px;background:var(--piece-colour, #f2cf70);border:1px solid #756353}.math-block-piece i{width:9px;height:6px;margin-top:-6px;background:inherit;border:1px solid #756353;border-radius:2px 2px 0 0}.math-shape{fill:var(--piece-colour, #b4a0df);stroke:#55406e}.math-extra:not(.math-extra-counting) .math-touch-token{position:relative;border:2px solid transparent;border-radius:14px;width:64px;height:70px;background:transparent;padding:3px;color:var(--ink);box-shadow:none}.math-touch-token .math-picture{font-size:50px}.math-extra:not(.math-extra-counting) .math-touch-token:hover{border-color:#6d9b5b;background:#fffdf5}.math-extra:not(.math-extra-counting) .math-touch-token.is-marked{border-color:#17664e;background:#fffdf5;box-shadow:none}.math-count-mark{position:absolute;top:-6px;right:-5px;min-width:25px;height:25px;display:grid;place-items:center;background:#17664e;border-radius:50%;color:#fff;font-size:14px;font-weight:800}.math-perch{padding:8px 0 0;border-bottom:5px solid #bda482;min-height:82px;align-items:end}.math-birds-away{border-top:1px dashed #779165;padding-top:8px;font-size:.85rem;text-align:center}.math-birds-away .math-picture{font-size:38px}.math-extra:not(.math-extra-counting) .math-touch-token.can-remove.is-marked{background:#fffdf5;border:2px dashed #6d9b5b}.math-answer-picker{margin:20px auto 8px;max-width:560px}.math-answer-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.math-answer-choices .g-button{font-size:1.8rem!important;font-weight:800!important;min-height:76px;padding:12px;background:var(--surface);border:1px solid var(--line);box-shadow:0 3px #dce0ed}.math-answer-choices .g-button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);color:var(--ink)}.math-free-answer{margin-top:8px}.math-free-answer summary,.math-hint-relation summary{cursor:pointer;padding:12px 0;min-height:44px;font-size:.85rem}.math-free-answer .math-stepper{margin-top:6px}.math-extra .math-choice-pile{justify-content:space-between;background:#fffdf5;border:2px solid #ba9874;border-bottom:10px solid #ba9874;border-radius:12px 12px 35% 35%;gap:12px;min-height:130px}.math-compare-piles .math-pieces{min-height:50px}.math-extra .math-choice-pile[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.math-extra-compare>.g-button{display:flex;align-items:center;justify-content:center;margin:0 auto}.math-sequence-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;scrollbar-color:#a48abb #fffdf5;border-radius:10px;margin:12px 0 0}.math-sequence-note{font-size:.8rem;text-align:center;margin:8px 0 12px}.math-necklace{display:flex;align-items:center;width:max-content;min-width:100%;padding:8px 6px;background:linear-gradient(transparent calc(50% - 2px),#bda482 calc(50% - 2px),#bda482 calc(50% + 2px),transparent calc(50% + 2px))}.math-pattern-row,.math-pattern-slots{flex-wrap:nowrap;margin:12px 0;gap:4px}.math-pattern-row .math-shape{width:40px;height:40px;flex:0 0 40px}.math-pattern-slots{margin-left:4px}.math-pattern-slots .g-button{min-width:48px;min-height:48px;width:48px;height:48px;padding:3px;background:#fffdf5}.math-pattern-slots .math-shape{width:38px;height:38px}.math-pattern-slots .g-button:disabled{opacity:1}.math-pattern-slots [data-next=true]:not([data-math-review]){border:3px dashed #17664e}.math-shape-options .g-button{padding:16px;min-width:76px;min-height:80px;background:var(--surface)}.math-shape-options .math-shape{width:48px;height:48px}.math-building-tray{background:#fffdf5;border:0;border-bottom:8px solid #ba9874;border-radius:8px;min-height:110px;padding:18px 10px}.math-construction .math-pieces{display:grid;grid-template-columns:repeat(5,34px);align-content:end;gap:1px 3px}.math-construction{align-items:end}.math-drop-place{align-self:center;color:#55406e;font-size:.95rem}.math-treasure-chest{border:6px solid #ba9874;border-bottom-width:13px;border-radius:10px 10px 22px 22px;background:#f8ead0;flex-direction:column;gap:12px}.math-treasure-chest .math-fixed-amount{margin:0}.math-added-amount{display:grid;justify-items:center;gap:8px}.math-treasure-chest .math-added-amount{border-top:2px dashed #946440;padding-top:12px;width:100%}.math-direct-actions .g-button[data-math=place-one]{display:flex;align-items:center;gap:7px;flex-direction:column;flex-wrap:nowrap;justify-content:center;background:#fffdf5}.math-direct-actions .g-button[data-math=place-one] .math-picture{font-size:28px}.math-direct-actions .g-button[data-math=place-one]>span:last-child{flex-basis:auto;font-size:.85rem}.math-join-groups .g-button{border:3px solid #d5bda3;background:#fffdf5;border-radius:45%;justify-content:space-between;gap:8px;min-height:120px;padding:15px}.math-join-groups .g-button:disabled{opacity:1}.math-join-groups .g-button>span:first-child{font-size:.85rem}.math-empty-plate{min-height:42px;display:grid;place-items:center;color:#17664e}.math-extra-addition .math-building-tray{border-radius:25% 25% 10px 10px;border-bottom:7px solid #ba9874;background:#fffdf5}.math-extra-addition .math-building-tray .math-pieces .math-picture{font-size:34px}.math-place-columns{gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr))}.math-place-columns h4{font-size:1rem}.math-place-material{background:#fffdf5;border-bottom:5px solid #ba9874;border-radius:8px;padding:8px 4px;min-height:85px}.math-ten-rod{display:inline-block;border:2px solid #6d9b5b;border-radius:7px;padding:4px;background:#e2ecd2}.math-ten-rod .math-pieces{display:grid;grid-template-columns:repeat(2,14px);gap:0 2px}.math-ten-rod .math-picture{font-size:14px;width:14px}.math-place-columns .math-stepper{flex-direction:column-reverse}.math-place-columns .math-stepper .g-button{display:flex;gap:8px;align-items:center;min-width:86px;justify-content:center}.math-place-columns .math-stepper .g-button>span:last-child{white-space:nowrap}.math-place-columns .math-stepper .g-button[data-math$=more]{background:#fffdf5}.math-array-rows{background:#d6e4b0;padding:8px 4px;border-bottom:7px solid #ba9874;border-radius:10px;gap:6px}.math-array-rows .g-button{display:grid;grid-template-columns:20px minmax(0,1fr) 18px;padding:6px;gap:6px;min-height:56px;background:transparent;border:1px solid #8cad71}.math-array-rows .math-pieces{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));justify-content:stretch;gap:1px;width:100%}.math-array-rows .math-picture{font-size:min(44px,calc(160px / var(--columns)))}.math-array-rows .g-button[aria-pressed=true]{border-color:#17664e;background:#fffdf5;box-shadow:inset 0 0 0 1px #17664e}.math-measure-strip{background:#dc9673;border:2px solid #946440;border-radius:4px}.math-measure-block{background:#f2cf70;border:1px solid #756353;border-radius:3px}.math-sample-block{display:inline-block;width:28px;height:24px;border:1px solid #756353;border-radius:3px;background:#f2cf70;vertical-align:middle}.math-figure-grid .g-button{background:#fffdf5;border:2px solid #c3aed6;border-radius:12px}.math-extra-shapes .math-figure-grid [aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.math-pizza-crust{fill:#f2cf70;stroke:#b37e42;stroke-width:2}.math-fraction-circle path{fill:#fff4cf;stroke:#946440}.math-fraction-circle path[aria-pressed=true]{fill:#dc9673}.math-fraction-circle path:focus-visible{stroke:#55406e;stroke-width:3}.math-fraction-circle{background:#fffdf5;border:3px solid #d5bda3;border-radius:50%}.math-scale-mechanism{grid-column:1 / -1;margin:0 3%}.math-scale-mechanism svg{display:block;width:100%;height:90px}.math-scale{gap:0 10px;margin:12px auto 30px;max-width:600px}.math-pan{border:0;border-bottom:6px solid #75669b;border-radius:0 0 35% 35%;background:#fffdf5;padding:12px 5px;transition:transform .18s cubic-bezier(.16,1,.3,1)}.math-pan:nth-of-type(1){transform:translateY(calc(-1 * var(--math-pan-shift)))}.math-pan:nth-of-type(2){transform:translateY(var(--math-pan-shift))}.math-pan h4{font-size:.8rem;margin-bottom:10px}.math-pan output{font-size:1.4rem}.math-pan .math-picture{font-size:22px}.math-pan .math-loose,.math-pan .math-total-label{margin-top:8px}.math-box{position:relative;padding:8px 5px;border:2px solid #75669b;background:#d9c9f0;border-radius:5px;min-width:42px}.math-box-ribbon{height:4px;background:#f2cf70;margin:-8px -5px 4px;border-bottom:1px solid #75669b}.math-box .math-picture{font-size:15px}.math-box .math-pieces{gap:2px}.math-value-label{margin:12px 0 8px}.math-value .g-button{display:flex;align-items:center;gap:4px}.math-value .math-picture{font-size:26px}.math-value input{padding:8px}.math-line-svg .math-frog-picture{font-size:40px;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif}.math-line-svg .math-position-label{font-size:23px}.math-location{margin-top:6px}.math-jump-controls{justify-content:center;gap:8px;margin:12px 0}.math-scale-beam,.math-frog{transition:transform .18s cubic-bezier(.16,1,.3,1)}.math-hint{background:#fffdf5;border:1px solid #ba9874;padding:14px}.math-hint-demo{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:14px 0}.math-hint-demo>b{font-size:1.3rem}.math-hint-demo .math-picture{font-size:32px}.math-hint-demo .math-pieces .math-picture{font-size:24px}.math-hint-demo .math-ten-rod .math-picture{font-size:14px}.math-hint-demo .math-shape{width:40px;height:40px}.math-demo-count,.math-demo-friend{display:grid;justify-items:center;gap:3px}.math-demo-count b{background:#17664e;color:#fff;border-radius:50%;width:24px;text-align:center}.math-demo-car,.math-demo-box,.math-demo-tray{padding:6px 10px;background:#e2ecd2;border:2px solid #a8b993;border-radius:6px}.math-demo-away{border:2px dashed #6d9b5b;border-radius:12px;padding:4px}.math-demo-array{display:grid;gap:6px}.math-demo-measure{display:grid;gap:5px}.math-demo-measure>i{height:24px;background:#dc9673;border:2px solid #946440}.math-demo-measure .math-pieces{gap:0}.math-demo-pizza{width:100px;height:100px}.math-details,.math-transform{margin-top:16px;padding-top:8px}.math-transform{display:block}.math-actions{gap:8px;margin-top:18px}.math-live-count{font-size:1rem;margin:12px 0}.math-mini-scene{display:grid;place-items:center;position:relative;isolation:isolate;overflow:hidden;min-height:120px;padding:8px}.math-mini-scene>:not(.math-scene-decor){position:relative;z-index:1}.math-mini-scene>.math-pieces{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:100%;gap:6px}.math-mini-scene .math-picture{font-size:32px}.math-mini-scene svg{width:100%;height:100%;max-height:145px}.math-mini-scene .g-scene-sun{width:55px;height:55px}.math-mini-train,.math-mini-groups,.math-mini-tens{display:flex;align-items:center;gap:6px;max-width:100%}.math-mini-train{transform:scale(.65);transform-origin:center;width:190px;max-width:none}.math-mini-train>span,.math-mini-tens>span{padding:8px 6px;border:2px solid #a8b993;border-radius:6px;background:#fffdf5;font-size:1.2rem;font-weight:800;white-space:nowrap}.math-mini-groups .math-picture{font-size:24px}.math-mini-groups .math-pieces{width:38px}.math-mini-bridge,.math-mini-journey{display:grid;justify-items:center;gap:8px}.math-mini-bridge>span:first-child{width:112px;height:27px;background:#dc9673;border:2px solid #946440}.math-mini-bridge .math-block-piece{width:29px}.math-mini-bridge .math-pieces{flex-wrap:nowrap;gap:2px}.math-mini-journey>div{border-bottom:5px solid #a7cbd7;font-size:1.3rem;word-spacing:10px}.math-mini-picnic{display:grid;grid-template-columns:1fr 1fr;gap:4px 15px}.math-mini-picnic .math-pieces{grid-column:1 / -1}.math-mini-picnic .math-pieces .math-picture{font-size:22px}.math-mini-shapes{display:flex;gap:7px;align-items:center}.math-mini-shapes i{width:32px;height:32px;border:2px solid #55406e;background:#f2cf70}.math-mini-shapes i:first-child{border-radius:50%}.math-mini-shapes i:nth-child(2){background:#b4a0df;transform:rotate(45deg);width:25px;height:25px}.math-mini-shapes i:nth-child(3){background:#a6c8b9}@media(max-width:420px){.math-extra:not(.math-extra-counting) .math-touch-token{width:54px;height:60px}.math-touch-token .math-picture{font-size:42px}.math-pan .math-total-label{font-size:.8rem}.math-extra .math-choice-pile{padding:12px 6px}.math-value .g-button{font-size:1rem;padding:7px}}.math-lesson{margin:0 0 1.5rem;display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.math-lesson p{flex:1 1 20rem;margin:0;max-width:65ch}.math-control-note{font-size:.95rem;max-width:60ch;margin:.75rem auto;color:var(--ink, #302b35)}.math-control-note .math-shape{width:2rem;height:2rem;vertical-align:middle}.math-meaning{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;align-items:stretch;margin:1.25rem auto;max-width:100%}.math-meaning-part{display:flex;align-items:center;gap:.75rem;flex:0 0 auto;max-width:100%}.math-meaning span{overflow-wrap:normal;word-break:normal;hyphens:none}.math-meaning-term{display:flex;flex-direction:column;gap:.25rem;text-align:center;max-width:12rem}.math-meaning-term strong{font-size:1.65rem;font-variant-numeric:tabular-nums;line-height:1.2}.math-meaning-term>span{font-size:.9rem;line-height:1.35}.math-meaning-sign{display:flex;flex-direction:column;align-items:center;max-width:6rem;text-align:center;font-size:.8rem}.math-meaning-sign b{font-size:1.4rem}.math-direct-actions .g-button,.math-stepper .g-button{white-space:normal;height:auto;min-height:48px;overflow-wrap:anywhere}.math-direct-actions,.math-value{flex-wrap:wrap}.math-value .g-button{flex:1 1 9rem}.math-value input{flex:0 1 4.5rem;min-width:3rem}.math-count-group{width:100%;text-align:start}.math-count-group>span{display:block;margin:.4rem 0;font-weight:700}.math-count-group>div{display:flex;flex-wrap:wrap;gap:.4rem}.math-planted-row{display:flex;gap:.75rem;align-items:center;padding:.5rem;border-bottom:1px solid var(--line)}.math-planted-row .math-pieces{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));width:100%}.math-ruler{position:relative;height:2.8rem;margin:0 0 1rem;border-top:2px solid #304d68;color:#304d68;font-variant-numeric:tabular-nums}.math-ruler span{position:absolute;top:0;transform:translate(-50%);padding-top:.6rem;font-size:.9rem;white-space:nowrap;overflow-wrap:normal;word-break:normal}.math-ruler [data-ruler-label]{visibility:hidden;font-weight:inherit}.math-measure-scroll{overflow-x:auto;max-width:100%;padding:.5rem 1.25rem;overscroll-behavior-x:contain}.math-measure-scale{width:100%}.math-measure-scroll:focus-visible{outline:3px solid #55406e;outline-offset:2px}.math-flower-row{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:.5rem;margin:.5rem}.math-array-singles .g-button{display:flex;position:relative;justify-content:center;min-width:44px}.math-array-bridge{text-align:center;margin:1rem 0}.math-repeated-sum{display:flex;justify-content:center;flex-wrap:wrap;font-size:1.4rem;gap:.5rem}.math-repeated-sum strong[data-counted=true]{text-decoration:underline;text-underline-offset:.2em;color:#17664e}.math-ruler span:before{content:"";position:absolute;top:0;left:50%;height:.5rem;border-left:1px solid currentColor}.math-fraction-model{display:flex;width:min(100%,20rem);height:3rem;margin:1rem auto;border:2px solid #55406e}.math-fraction-model span{flex:1;background:#fff}.math-fraction-model span+span{border-left:2px solid #55406e}.math-fraction-model [data-filled=true]{background:#ae99cd}.math-demo{margin:1.5rem 0;padding:1rem 0;border-block:2px solid var(--primary, #485e3f)}.math-demo h3{margin:0 0 .5rem}.math-demo-controls{display:flex;flex-wrap:wrap;gap:.75rem;margin-block:1rem}.math-demo-change{scroll-margin-top:1rem;margin-block:1rem;max-width:100%}.math-demo-change:focus{outline:2px solid #55406e;outline-offset:4px}.math-demo-change p{margin:.4rem 0;overflow-wrap:normal;word-break:normal}.math-demo-change dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem;margin:0}.math-demo-change dd{margin:0;font-size:1.4rem;font-weight:700;font-variant-numeric:tabular-nums}.math-demo-board{padding:1rem;background:#fffdf8}[data-demo-target]{outline:3px solid #55406e;outline-offset:4px}.math-demo .math-extra{padding:0}.math-compare-piles .g-button:disabled{opacity:1}@media(max-width:540px){.math-meaning{gap:1rem .5rem;flex-direction:column;align-items:stretch}.math-meaning-part{gap:.5rem;flex-direction:column;width:100%}.math-meaning-term,.math-meaning-sign{max-width:100%;width:100%}.math-direct-actions .g-button{flex:1 1 8rem}.math-demo-board{padding:.5rem 0}.math-ruler span{font-size:.75rem}.math-jump-controls .g-button{flex:1 1 100%}}.math-place-columns .math-stepper{display:flex;flex-direction:column;width:100%}.math-place-columns .math-stepper .g-button{width:100%;min-width:0;flex-wrap:wrap}.math-place-columns .math-stepper .g-button>span:last-child{white-space:normal;overflow-wrap:anywhere}.math-place-columns section{min-width:0}.math-lesson .g-button{padding-block:.5rem}@media(max-width:540px){.math-count-group>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.15rem}.math-count-group .math-touch-token{min-width:44px;width:100%;padding:0}.math-count-group .math-picture{font-size:36px}}.math-demo-controls .g-button:hover,.math-demo-controls .g-button:active{transform:none}.math-count-group>.g-button{margin:.5rem 0 1rem}.math-reference-pile{padding:1rem;background:#fffdf5;border:2px solid #abc18c;border-radius:12px;min-width:0;text-align:center}.math-reference-pile strong,.math-reference-pile>span:last-child{display:block}.math-apple-pairs{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:1rem 0}.math-apple-pairs>span:first-child{width:100%}.math-apple-pair{border-bottom:2px solid #455c36;padding:.25rem}.math-apple-pair .math-picture{font-size:1.5rem}.math-visual-play [hidden]{display:none!important}.math-hand{width:32px;height:36px;flex:none;color:#55406e}.math-goal-model{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;color:#55406e}.math-goal-model b{font-size:1.6rem}.math-goal-model .math-picture{font-size:1.65rem}.math-goal-model .math-pieces{gap:.15rem;max-width:260px}.math-goal-model .math-block-piece{width:23px;height:18px;flex-basis:23px}.math-goal-model .math-mini-tray{background:#fffdf5;border-style:dashed}.math-goal-model [data-highlight=true]{outline:3px solid #55406e;outline-offset:3px}.math-goal-order{display:flex;align-items:center;gap:.4rem}.math-mini-tray,.math-mini-box{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.25rem;min-width:36px;min-height:36px;padding:.3rem;border:2px solid #846b48;border-radius:6px}.math-mini-tray{border-top:0}.math-mini-box{background:#f4dfae}.math-mini-box .math-pieces{display:grid;grid-template-columns:repeat(5,1fr);gap:0}.math-mini-box .math-picture{font-size:1rem}.math-transfer,.math-object-action{display:flex;align-items:center;justify-content:center;gap:.4rem}.math-transfer>.math-pieces{max-width:70px;gap:0}.math-transfer>.math-pieces .math-picture{font-size:1.2rem}.math-transfer .math-mini-tray .math-pieces{max-width:70px}.math-picture-button .math-picture,.math-picture-button b{font-size:1.5rem}.math-flow-arrow{display:inline-flex;flex:none}.math-flow-arrow svg{width:26px;height:26px}.math-flow-arrow.is-reverse{transform:rotate(180deg)}.math-ghost{opacity:.45}.math-each{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem}.math-each>span{display:flex;flex-direction:column;align-items:center}.math-each .math-flow-arrow{transform:rotate(90deg)}.math-shape-rule{display:flex;align-items:center;gap:.25rem}.math-shape-rule svg{width:60px;height:60px}.math-goal-pizza{width:100px;height:100px}.math-goal-plank{background:#e4c89c;border:1px solid #846b48;padding:.2rem}.math-matched-pair{display:flex;align-items:center;border-bottom:2px solid #455c36}.math-visual-play .math-extra{display:flex;flex-direction:column;gap:.5rem}.math-visual-play .math-extra>*{flex-shrink:0}.math-visual-play .math-meaning-details{order:8}.math-meaning-details summary{cursor:pointer;min-height:44px;padding:.5rem;color:#55406e;font-size:.85rem}.math-visual-play .math-meaning{margin:.5rem 0}.math-play-scene>[data-math-board]{max-width:100%;margin:auto}.math-visual-play .math-direct-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:.5rem 0}.math-visual-play .math-direct-actions .g-button{flex:0 1 auto;min-width:80px;padding:.5rem .75rem}.math-visual-play .math-answer-picker{margin:.5rem auto;width:100%}.math-visual-play .math-free-answer summary{min-width:48px;min-height:44px;padding:.75rem}.math-visual-play .math-building-tray{min-height:85px;margin:.25rem 0}.math-visual-play .math-building-tray .math-drop-place{display:flex;justify-content:center}.math-visual-play .math-join-groups>.g-button{position:relative;padding:.75rem}.math-visual-play .math-join-groups .math-flow-arrow{transform:rotate(90deg)}.math-visual-play .math-necklace{margin:.25rem 0}.math-visual-play .math-balance{display:flex;flex-direction:column}.math-visual-play .math-balance .math-scale{order:0}.math-visual-play .math-balance .math-value-label{order:1;text-align:center;font-size:.9rem}.math-visual-play .math-balance .math-value{order:2;justify-content:center}.math-visual-play .math-balance .math-meaning-details,.math-visual-play .math-balance .math-transform{order:4}.math-visual-play .math-value .g-button{padding:.5rem;min-width:70px}.math-visual-play .math-value input{width:64px}.math-visual-play .math-details{margin-top:.5rem;padding-top:0}.math-visual-play .math-details summary{font-size:.85rem}.math-visual-play .math-jump-controls{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.math-visual-play .math-jump-controls label{width:100%;text-align:center;font-size:.9rem}.math-visual-play .math-jump-controls .g-button{flex:0 1 auto;min-width:96px}.math-visual-play .math-location{margin:.25rem;text-align:center}.math-visual-play .math-place-columns .math-stepper{flex-direction:row;flex-wrap:wrap;justify-content:center}.math-visual-play .math-place-columns .math-stepper .g-button{width:auto;flex:1 1 65px}.math-visual-play .math-place-columns h4{font-size:.9rem}.math-visual-play .math-fraction-circle{width:min(100%,320px);height:auto;margin:0 auto}[data-math-review=true]{outline:3px dashed #9a5318;outline-offset:3px}.math-visual-play .math-demo{margin:0;padding:0;border:0;background:transparent}.math-demo-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 .5rem;position:sticky;top:0;z-index:3;background:#fffdf7;padding:.4rem}.math-demo-controls strong{flex:1;font-size:.95rem}.math-demo-controls .g-button{min-width:44px;min-height:48px;padding:.5rem}.math-demo-controls .math-hand{height:25px;width:24px}.math-demo-board{position:relative;padding:0}.math-demo-hand{position:absolute;transform:translate(-15%,-10%);pointer-events:none;color:#55406e;z-index:2;transition:left .35s ease-out,top .35s ease-out;filter:drop-shadow(0 2px 2px #fffdf7)}.math-demo-hand .math-hand{width:42px;height:48px}.math-demo-progress{display:flex;align-items:center;justify-content:center;gap:.5rem}.math-demo-progress progress{width:140px;height:8px;accent-color:#55406e}.math-demo-progress svg{width:24px;height:24px}.math-example-controls .math-meaning-details,.math-example-controls .math-free-answer,.math-example-controls .math-details{display:none}.math-visual-play summary:focus-visible{outline:3px solid #55406e;outline-offset:2px}@media(max-width:540px){.math-visual-play .math-scale{gap:.3rem}.math-visual-play .math-pan{padding:.5rem}.math-visual-play .math-value{flex-direction:row}.math-visual-play .math-value .g-button{flex:0 1 auto}.math-visual-play .math-pan .math-picture{font-size:1.4rem}.math-visual-play .math-box{padding:.4rem}.math-visual-play .math-boxes{gap:.3rem}.math-goal-model .math-mini-tray .math-pieces{max-width:210px}.math-visual-play .math-stepper .math-transfer{gap:.2rem}}@media(prefers-reduced-motion:reduce){.math-demo-hand{transition:none}}[data-reduced-motion=true] .math-demo-hand{transition:none}.math-visual-play .math-free-answer summary{display:flex;justify-content:center;align-items:center;padding:.25rem}.math-free-answer summary svg{width:24px;height:24px}.math-visual-play .math-picture-button .math-mini-box{width:66px;max-width:100%;min-width:0;padding:.15rem}.math-visual-play .math-picture-button .math-mini-box .math-picture{font-size:12px;line-height:16px}.math-visual-play .math-picture-button .math-mini-box .math-pieces{width:60px;gap:0}.math-visual-play .math-picture-button .math-mini-box .math-picture:only-child{font-size:20px}.math-visual-play .math-place-columns .math-stepper{flex-direction:column}.math-visual-play .math-place-columns .math-stepper .g-button{flex:none;width:100%}.math-visual-play .math-figure-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(100%,540px);max-width:540px}.math-visual-play .math-figure-grid .g-button{min-width:0;min-height:120px;padding:12px}.math-visual-play .math-figure-grid .math-shape{width:100%;max-width:76px;height:76px}.math-box-scope{display:flex;flex-wrap:wrap;gap:2px;max-width:100px;justify-content:center}.math-visual-play .math-value .math-mini-box{width:32px}.math-goal-model>.math-mini-tray .math-pieces{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.math-visual-play .math-mini-tray .math-pieces .math-picture{font-size:1.4rem}.math-visual-play .math-goal-model>.math-mini-tray:has(.math-picture-apple) .math-picture{font-size:1rem}.math-visual-play .math-exchange>summary{cursor:pointer;min-height:44px;padding:.5rem;font-size:.85rem}.math-visual-play .math-exchange[open]>summary{display:none}.math-visual-play .math-exchange .math-direct-actions{margin:0}.math-visual-play .math-goal-model>.math-shape{width:44px;height:44px}.math-visual-play .math-extra-patterns .math-sequence-scroll{overflow:visible;padding:0}.math-visual-play .math-necklace{display:block;width:100%;min-width:0;background:none;padding:24px 0;text-align:center;line-height:80px}.math-visual-play .math-pattern-row{display:inline;margin:0;padding:0}.math-visual-play .math-pattern-row .math-shape{width:44px;height:44px}.math-visual-play .math-pattern-slots{display:inline;margin:0;padding:0;border:0}.math-necklace .math-pattern-piece,.math-necklace .g-button{margin:6px;vertical-align:middle}.math-necklace .g-button{display:inline-flex;width:64px;height:64px}.math-necklace .g-button .math-pattern-piece{margin:0}.math-goal-model>.ui-icon{display:inline-flex;width:28px;height:28px;flex:0 0 28px}.math-goal-model>.ui-icon>svg{width:100%;height:100%}.math-visual-play .math-picture-button[data-math=pack-ten],.math-visual-play .math-picture-button[data-math=unpack-ten]{width:100%;max-width:280px;padding:8px}.math-visual-play .math-picture-button[data-math$=pack-ten] .math-transfer{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:4px}.math-visual-play .math-picture-button[data-math$=pack-ten] .math-transfer>.math-pieces{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;max-width:100%;gap:0}.math-visual-play .math-picture-button[data-math$=pack-ten] .math-transfer>.math-pieces .math-picture{font-size:clamp(14px,4vw,18px);line-height:24px;width:100%}.math-visual-play .math-picture-button[data-math$=pack-ten] .math-mini-box{width:100%;justify-self:center}.math-visual-play .math-picture-button[data-math$=pack-ten] .math-mini-box .math-pieces{width:100%}.math-visual-play .math-picture-button[data-math$=pack-ten] .math-mini-box .math-picture{font-size:12px;line-height:18px}.math-play-scene{position:relative}.g-play-surface{padding-bottom:24px}.g-play-table{background:#f6e8d6;border-color:#eadbcb}.g-play-workshop{background:#f2edf8;border-color:#e2d9ec}.g-play-water{background:#e8eff6;border-color:#d4e1eb}.g-play-table>.g-scene-leaf,.g-play-workshop>.g-scene-leaf,.g-play-water>.g-scene-leaf,.g-play-table>.g-scene-sun,.g-play-workshop>.g-scene-sun,.g-play-water>.g-scene-sun{display:none}.math-play-scene>:not(.g-scene-sun,.g-scene-leaf){position:relative}.math-goal-model{margin:0 0 24px}.math-scene-audio{justify-content:center;margin:16px 0 24px}.math-scene-audio .ui-icon{width:22px;height:22px}.math-play-workbench .math-scene-audio{justify-content:flex-start}.math-live-board[data-solved=true] .math-answer-choices [aria-pressed=true]{opacity:1;background:#f1ffd9;border-color:#2a8755;color:#245c42}.math-play-scene .ui-icon{display:inline-flex;flex:none;width:24px;height:24px}.math-play-scene .ui-icon>svg{width:100%;height:100%}.math-butterfly-garden{margin:20px auto;gap:14px;max-width:650px;align-items:center}.math-extra-counting .math-touch-token{position:relative;width:72px;min-height:76px;border-radius:14px;padding:10px}.math-extra-counting .math-touch-token.g-picture-card{width:116px;min-height:120px;background:#fffffc;border:2px solid #d8e2cd;box-shadow:0 4px #d2ddc6}.math-extra-counting .math-touch-token.is-marked{background:var(--accent-soft);border-color:var(--accent)}.math-extra-counting .math-touch-token .math-picture{font-size:48px}.math-extra-counting .math-count-group .math-touch-token{width:48px;min-height:48px;padding:4px}.math-extra-counting .math-count-group .math-picture{font-size:32px}.math-extra-counting .math-count-group{margin:0;padding:12px}.math-extra-counting .math-answer-picker,.math-extra-order .g-train-track{margin-top:24px}.math-extra-order .g-train-cars{min-width:0}.math-number-cars{width:100%;margin:0;border-radius:0}.math-number-train{display:flex;align-items:center;gap:8px;width:max-content;min-width:100%;padding:6px}.math-number-train .g-train-word{display:flex;flex-direction:column;min-width:64px;min-height:72px;font-size:1.35rem!important}.math-number-train .g-train-word[data-next=true]:not([data-math-review]){outline:2px dashed #5d7550;outline-offset:-4px}.math-number-train .g-train-word:disabled{color:var(--ink);opacity:1}.math-number-train .math-pieces,.math-number-tile .math-pieces{max-width:80px}.math-number-train .math-picture,.math-number-tile .math-picture{font-size:25px}.math-number-tile{flex-direction:column;min-width:72px;font-size:1.35rem!important}.math-sharing-table{display:flex;flex-wrap:wrap;align-items:stretch;gap:20px;margin:12px 0 28px}.math-supply{flex:1 1 160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;border-radius:16px;background:#fffdf7}.math-material-caption{font-size:.8rem;color:#735a42}.math-supply strong{font-size:1.2rem}.math-reserve{flex:1 1 140px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px;border:1px dashed #987252;border-radius:12px}.math-reserve-target{display:flex;align-items:center;gap:8px}.math-reserve-place{width:100%;min-height:80px;flex-wrap:wrap}.math-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:24px 16px}.math-group{min-width:0;display:flex;flex-direction:column;align-items:center;gap:12px}.math-group>.math-picture{font-size:48px}.math-serving-plate{width:100%;min-height:130px;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;gap:8px;padding:16px;background:#fffdf7;border:2px solid #d8c4ab;border-radius:50%}.math-serving-plate:disabled{opacity:1;color:var(--ink)}.math-serving-plate .math-units{max-width:100%;margin:0}.math-serving-plate .math-picture{font-size:30px}.math-add-cookie{display:inline-flex;align-items:center;justify-content:center;gap:2px}.math-add-cookie .math-picture{opacity:.35}.math-add-cookie b{font-size:1.25rem;color:#735a42}.math-portion-tools{display:flex;align-items:center;justify-content:center;gap:12px}.math-portion-tools output,.math-portion-tools strong{font-size:1.4rem;min-width:24px;text-align:center}.math-portion-tools .g-button{min-width:48px;min-height:44px;padding:8px}.math-portion-tools .math-picture{font-size:20px}.math-portion-tools .g-button>span:first-child{font-size:1.5rem}.math-sharing-round{display:flex;justify-content:center;margin-top:20px}.math-sharing .g-button:hover:not(:disabled){transform:none}.math-sharing-round .math-picture{font-size:24px}.math-sharing>.math-meaning-details{margin-top:16px}@media(max-width:540px){.g-play-surface{padding-bottom:18px}.math-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.math-group:last-child:nth-child(odd){grid-column:1/-1;width:50%;justify-self:center}.math-serving-plate{min-height:112px;padding:12px}.math-serving-plate .math-picture{font-size:26px}.math-extra-counting .math-touch-token.g-picture-card{width:86px;min-height:96px}.math-number-train .g-train-word{min-width:56px;padding:8px}}.math-count-mark .ui-icon{width:1rem;height:1rem}.math-route-location{display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:.5rem 2rem}.math-route-origin{color:var(--muted)}.math-route-origin b{color:var(--ink);font-size:1.25rem}.math-undo-jump{display:flex;justify-content:center;margin:-.5rem 0 1rem}.math-trail{display:flex;flex-wrap:wrap;gap:.75rem 2rem;padding-left:1.5rem}.math-trail li{padding-inline:.25rem;white-space:nowrap}.math-select-units{gap:.25rem}.math-unit-choice.g-button{position:relative;min-width:2.75rem;min-height:2.75rem;width:2.75rem;padding:.125rem;border-radius:.75rem;background:transparent;border-color:transparent}.math-unit-choice.g-button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.math-unit-choice .math-picture{font-size:1.75rem}.math-unit-mark{position:absolute;bottom:-.125rem;right:-.125rem;display:grid;place-items:center;width:1rem;height:1rem;color:#fff;background:var(--accent);border-radius:50%}.math-unit-mark .ui-icon{width:.8rem;height:.8rem}.math-open-pack.g-button{padding:.375rem;min-width:2.75rem;min-height:2.75rem}.math-build-pack{display:grid;justify-items:center;gap:.5rem;margin-block:1rem}.math-build-pack p{margin:0}.math-build-pack .g-button{flex-direction:column;gap:.75rem}.math-build-pack .math-ten-rod .math-pieces{grid-template-columns:repeat(5,14px)}.math-pack-error{color:var(--ink)}.math-equal-mark{fill:none;stroke-width:2;stroke-linecap:round}.math-pack-feedback{width:100%;max-width:25rem;display:grid;justify-items:center;gap:.75rem}.math-pack-comparison{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.75rem;width:100%}.math-ten-spaces{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.25rem;width:min(100%,12rem);padding:.375rem;background:#e2ecd2;border:2px solid #6d9b5b;border-radius:.5rem}.math-ten-spaces>span{display:grid;place-items:center;min-width:0;aspect-ratio:1;background:#fffdf5;border:1px solid #899879;border-radius:.25rem}.math-ten-spaces>span[data-filled=false]{border:2px dashed var(--focus)}.math-ten-spaces .math-picture{width:100%;min-width:0;font-size:clamp(1rem,5vw,1.5rem)}.math-pack-excess{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:.5rem;max-width:100%;color:var(--focus)}.math-pack-excess .math-pieces{flex-wrap:wrap}.math-pack-feedback .math-pack-error{text-align:center}.math-pattern-piece{display:inline-grid;place-items:center;flex:0 0 auto;width:2.75rem;height:2.75rem;font-size:2rem;line-height:1}.math-pattern-piece .math-shape{width:100%;height:100%}.math-pattern-slots .math-pattern-piece,.math-shape-options .math-pattern-piece{width:3rem;height:3rem;font-size:2.4rem}.math-game-symbol{font-size:1.5rem;line-height:1}.math-answer-label{font-weight:750;margin:0 0 12px}.math-picture-button{flex-direction:column;gap:8px}.math-action-label{max-width:100%;overflow-wrap:anywhere;font-size:.85rem;font-weight:700;line-height:1.4}.math-visual-play .math-picture-button .math-action-label{display:block}.math-visual-play .math-free-answer summary{width:auto;display:inline-flex;align-items:center;gap:8px;color:var(--muted)}.math-task-detail{margin-top:12px}.math-task-detail summary{min-height:44px;padding:12px 0;cursor:pointer}.math-task-detail p{margin:8px 0}.math-scene-hint p{margin:8px 0 0}.math-play-scene .math-figure-grid .g-button{background:var(--surface);border-color:var(--line)}.math-play-scene .math-figure-grid .g-button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.math-play-scene .g-button[aria-pressed=true]{color:var(--ink)}.math-live-board[data-solved=true] .g-button[aria-pressed=true]{opacity:1;background:var(--teal-soft, #e8f3ef);border-color:var(--teal, #146e63)}.math-extra-subtraction .math-touch-token{border-radius:12px}.math-visual-play .math-value{width:min(100%,540px);margin:12px auto}.math-visual-play .math-value .g-button{flex:1 1 110px}.math-visual-play .math-value input{flex:0 1 4rem;min-width:0}.math-visual-play .math-place-columns .math-stepper{flex-direction:row}.math-visual-play .math-place-columns .math-stepper .g-button{flex:1 1 7rem;width:auto;flex-wrap:nowrap}.math-visual-play .math-place-columns .math-stepper .math-action-label{white-space:normal}.math-line-svg{margin-inline:auto}.math-array-rows:empty{width:min(100%,360px);min-height:90px;border:2px dashed #8cad71;background:transparent}@media(max-width:540px){.math-answer-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.math-answer-choices .g-button{min-height:64px}.math-visual-play .math-figure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.math-visual-play .math-figure-grid .g-button{min-height:100px}.math-shape-options{gap:12px}.math-shape-options .g-button{padding:12px}}
