@font-face{font-family:Playwrite PT;src:url(/fonts/PlaywritePT-Variable.ttf) format("truetype");font-weight:100 400;font-style:normal;font-display:swap}:root{--color-bg: #FCF9F2;--color-card: #FFFFFF;--color-card-border: #ECE3D4;--color-ink: #2D3436;--color-ink-faded: #747d8c;--color-accent: #6C5CE7;--color-accent-light: #A29BFE;--color-sky: #0984E3;--color-grass: #00B894;--color-ground: #E17055;--color-dirt: #B2BEC3;--color-good: #00B894;--color-okay: #FDCB6E;--color-off: #E17055;--color-star: #FDCB6E;--font-cursive: "Playwrite PT", cursive;--font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box;margin:0;padding:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}html,body{width:100vw;height:100vh;min-height:100%;overflow:hidden;background-color:var(--color-bg);color:var(--color-ink);font-family:var(--font-ui)}#app{width:100%;height:100%;min-height:100dvh;display:flex;flex-direction:column}.app-header{position:relative;height:56px;padding:0 1rem;display:flex;align-items:center;justify-content:space-between;background:#fcf9f2eb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--color-card-border);z-index:10;flex-shrink:0}.header-left,.header-right{display:flex;align-items:center;gap:.6rem}.btn-back{width:38px;height:38px;border-radius:50%;background:var(--color-card);border:1px solid var(--color-card-border);display:flex;align-items:center;justify-content:center;font-size:1.25rem;cursor:pointer;color:var(--color-ink);box-shadow:0 2px 6px #00000008;transition:transform .15s ease}.btn-back:active{transform:scale(.9)}.btn-icon-small{width:38px;height:38px;border-radius:50%;background:var(--color-card);border:1px solid var(--color-card-border);display:flex;align-items:center;justify-content:center;font-size:1.1rem;cursor:pointer;box-shadow:0 2px 6px #00000008;transition:transform .15s ease}.btn-icon-small:active{transform:scale(.9)}.sketch-icon{width:1.35rem;height:1.35rem;display:block;flex:0 0 auto;color:var(--color-ink);overflow:visible}.btn-icon-small .sketch-icon{width:1.3rem;height:1.3rem}.pill-icon{display:inline-flex;align-items:center;color:var(--color-ink)}.pill-icon .sketch-icon{width:1.05rem;height:1.05rem}.sketch-image{display:inline-block;width:1.2em;height:1.2em;flex:0 0 auto;object-fit:contain;vertical-align:-.2em}.current-item-display{position:absolute;left:50%;transform:translate(-50%);font-family:var(--font-cursive);font-size:2.2rem;font-weight:700;color:var(--color-accent);line-height:1}.current-item-display.word-display{font-size:1.8rem;letter-spacing:.5px}.btn-skip{background:none;border:none;color:var(--color-ink-faded);font-family:var(--font-ui);font-size:.85rem;font-weight:600;cursor:pointer;padding:.4rem .6rem;border-radius:14px}.phase-indicator{display:flex;align-items:center;gap:0}.phase-step{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1rem;transition:all .3s ease}.phase-step.upcoming{opacity:.3}.phase-step.active{background:#6c5ce71f;box-shadow:0 0 0 2px var(--color-accent);transform:scale(1.15)}.phase-step.completed .phase-icon{color:var(--color-good);font-weight:700;font-size:1.1rem}.phase-connector{width:18px;height:2px;background:var(--color-card-border);border-radius:1px}.lesson-status{height:48px;min-height:48px;display:flex;align-items:center;justify-content:center;font-size:2.2rem;color:#111;-webkit-user-select:none;user-select:none;flex-shrink:0}.lesson-status .status-retry{font-size:2.2rem;font-weight:700;color:#111;line-height:1}.lesson-status .status-stars{display:inline-flex;align-items:center;gap:.35rem}.lesson-status .status-stars .sketch-image{width:2.2rem;height:2.2rem}.worksheet-container{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:.5rem 1rem;position:relative;min-height:0;overflow-y:auto;overscroll-behavior:contain}.writing-stage{width:100%;max-width:820px;flex:1;max-height:430px;background:var(--color-card, #ffffff);border-radius:20px;border:2px solid #111111;box-shadow:none;position:relative;overflow:hidden}.guidelines-svg{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.guideline-sky{stroke:var(--color-sky);stroke-dasharray:6 5;opacity:.75}.guideline-grass{stroke:var(--color-grass);stroke-dasharray:5 4;opacity:.85}.guideline-ground{stroke:var(--color-ground);opacity:.95}.guideline-dirt{stroke:var(--color-dirt);stroke-dasharray:6 5;opacity:.6}.guideline-cue-icon{-webkit-user-select:none;user-select:none}#animator-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;pointer-events:none}#canvas-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:5}.animation-layer{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.animated-stroke{fill:none;stroke:var(--color-ink);stroke-width:6;stroke-linecap:round;stroke-linejoin:round}.ghost-outline{fill:var(--color-ink-faded);stroke:none;pointer-events:none;transition:opacity .3s ease}.ghost-outline-text{font-family:"Playwrite PT",var(--font-cursive);fill:var(--color-ink-faded);stroke:none;dominant-baseline:alphabetic;font-feature-settings:"calt" 1,"liga" 1;-webkit-user-select:none;user-select:none;pointer-events:none;transition:opacity .3s ease}.start-beacon-pulse{animation:beaconPulse 1.4s infinite ease-out}.start-beacon-dot{filter:drop-shadow(0 2px 5px rgba(0,184,148,.5))}@keyframes beaconPulse{0%{transform:scale(.6);opacity:.9}to{transform:scale(2.2);opacity:0}}.pencil-nib{filter:drop-shadow(0 3px 6px rgba(0,0,0,.2));transition:opacity .2s ease}.controls-bar{height:72px;padding:.25rem 1rem;display:flex;align-items:center;justify-content:center;gap:.85rem;flex-shrink:0}.btn-icon{width:50px;height:50px;border-radius:50%;background:var(--color-card);border:1px solid var(--color-card-border);display:flex;align-items:center;justify-content:center;font-size:1.35rem;cursor:pointer;box-shadow:0 4px 12px #0000000a;transition:transform .15s ease,background .15s ease}.btn-icon:active{transform:scale(.9)}.btn-done{width:62px;height:62px;border-radius:50%;background:var(--color-good);color:#fff;border:none;display:flex;align-items:center;justify-content:center;font-size:1.9rem;font-weight:700;cursor:pointer;box-shadow:0 6px 22px #00b89459;transition:transform .15s ease;animation:popIn .3s cubic-bezier(.175,.885,.32,1.275)}.btn-done:active{transform:scale(.9)}.btn-primary{padding:.8rem 2rem;border-radius:30px;background:var(--color-accent);color:#fff;font-family:var(--font-ui);font-size:1.1rem;font-weight:600;border:none;cursor:pointer;box-shadow:0 6px 16px #6c5ce74d;transition:transform .15s ease}.btn-primary.btn-large{padding:1.1rem 2.8rem;font-size:1.2rem;border-radius:40px}.btn-primary:active{transform:scale(.95)}.btn-text{background:none;border:none;color:var(--color-ink-faded);font-size:.9rem;cursor:pointer}.home-screen{flex:1;display:flex;flex-direction:column;align-items:center;padding:1.5rem 1rem;text-align:center;overflow-y:auto}.home-topbar{width:100%;max-width:700px;display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.model-font-badge{display:flex;align-items:center;gap:.5rem;background:#fffc;border:1px solid var(--color-card-border);padding:.25rem .75rem;border-radius:20px;font-size:.8rem}.badge-label{color:var(--color-ink-faded);font-weight:600;text-transform:uppercase;font-size:.7rem;letter-spacing:.5px}.badge-sample{font-family:var(--font-cursive);font-size:1.2rem;color:var(--color-accent);font-weight:700}.home-hero{margin-bottom:1.25rem}.home-brand{display:flex;align-items:center;justify-content:center;gap:.45rem;margin-bottom:.2rem}.home-brand .home-title{margin-bottom:0}.home-logo{width:3.4rem;height:4.1rem;flex:0 0 auto}.home-logo-image{display:block;width:100%;height:100%;object-fit:contain}.home-title{font-family:var(--font-cursive);font-size:3rem;font-weight:700;color:var(--color-ink);margin-bottom:.25rem}.home-subtitle{font-size:1.05rem;color:var(--color-ink-faded)}.curriculum-tabs{display:flex;gap:.5rem;background:#ece3d473;padding:.3rem;border-radius:24px;margin-bottom:1.5rem}.tab-btn{padding:.6rem 1.4rem;border-radius:20px;border:none;background:transparent;font-family:var(--font-ui);font-size:.95rem;font-weight:600;color:var(--color-ink);cursor:pointer;transition:all .2s ease}.tab-btn.active{background:var(--color-card);box-shadow:0 4px 12px #0000000f;color:var(--color-accent)}.home-cta-group{margin-bottom:1.8rem}.home-grid-section{width:100%;max-width:700px;display:flex;flex-direction:column;gap:1.5rem;margin-bottom:2rem}.family-group{text-align:left}.section-title{font-size:.88rem;text-transform:uppercase;letter-spacing:1px;color:var(--color-ink-faded);margin-bottom:.75rem}.home-letter-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:.75rem}.home-word-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.grid-card{height:70px;background:var(--color-card);background-image:linear-gradient(to bottom,transparent 0px,transparent 48px,rgba(225,112,85,.35) 49px,rgba(225,112,85,.35) 50px,transparent 51px);border-radius:16px;border:2px solid var(--color-card-border);display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:var(--font-cursive);font-size:2.2rem;font-weight:700;position:relative;cursor:pointer;box-shadow:0 3px 8px #00000005;transition:transform .15s ease,border-color .15s ease}.grid-card.word-card{height:80px;font-size:1.8rem;background-image:linear-gradient(to bottom,transparent 0px,transparent 55px,rgba(225,112,85,.35) 56px,rgba(225,112,85,.35) 57px,transparent 58px)}.grid-card:active{transform:scale(.95)}.grid-card.mastered{border-color:var(--color-good);background:#00b8940d;color:var(--color-good)}.grid-card.locked{opacity:.65}.grid-card .grid-check{position:absolute;top:4px;right:6px;font-size:.8rem;color:var(--color-good)}.grid-star-badge{font-size:.65rem;letter-spacing:1px;margin-top:-4px}.home-footer{margin-top:auto;padding:1rem 0}.feedback-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:100;display:flex;align-items:center;justify-content:center;animation:none}.feedback-note{max-width:32rem;margin:.5rem auto 0;color:var(--color-ink-faded, #555);font-size:.95rem;line-height:1.35;text-align:center}.confetti-canvas{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.feedback-card{width:90%;max-width:380px;background:#fff;border-radius:20px;padding:1.75rem 1.5rem;text-align:center;border:2px solid #111111;box-shadow:none;position:relative;z-index:2}.stars-row{font-size:3.2rem;margin-bottom:.5rem;display:flex;justify-content:center;gap:.5rem}.star{display:inline-flex;width:3.2rem;height:3.2rem}.star .sketch-image{width:100%;height:100%}.star.filled{color:#111;filter:none}.star.empty{color:#b0b0b0;opacity:.35}.feedback-item-display{font-family:"Playwrite PT",var(--font-cursive, cursive);font-size:clamp(3rem,9vh,4.5rem);font-weight:400;color:#111;text-align:center;margin:.5rem 0 1.25rem;-webkit-user-select:none;user-select:none;line-height:1.2}.feedback-actions{display:flex;align-items:center;justify-content:center;gap:1rem}.feedback-actions .btn-primary{padding:.6rem 1.8rem;font-size:1.5rem;border-radius:999px;background:#111;color:#fff;border:2px solid #111;cursor:pointer;box-shadow:none;transition:none}.feedback-actions .btn-primary:active{background:#fff;color:#111;transform:scale(.95)}.feedback-actions .btn-icon{width:52px;height:52px;border-radius:50%;background:#fff;border:2px solid #111;color:#111;font-size:1.5rem;font-weight:700;box-shadow:none;transition:none;cursor:pointer}.feedback-actions .btn-icon:active{background:#111;color:#fff;transform:scale(.95)}.confetti-burst{font-size:2.2rem;margin-bottom:.5rem;animation:pulse 1s infinite alternate}.confetti-burst .sketch-image{width:3.5rem;height:3.5rem}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(30px) scale(.95);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@keyframes popIn{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes pulse{0%{transform:scale(1)}to{transform:scale(1.1)}}.recorder-screen{width:100%;height:100%;display:flex;flex-direction:column;background:var(--color-bg)}.recorder-header{height:64px;padding:0 1rem;display:flex;align-items:center;justify-content:space-between;background:var(--color-card);border-bottom:1px solid var(--color-card-border);gap:1rem;flex-shrink:0}.recorder-header-left{display:flex;align-items:center;gap:.75rem}.recorder-title-block{display:flex;flex-direction:column}.recorder-studio-badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.65rem;font-weight:700;letter-spacing:.75px;color:var(--color-accent)}.recorder-studio-badge .sketch-image{width:1rem;height:1rem}.recorder-letter-title{font-size:1.25rem;font-weight:700;color:var(--color-ink);display:flex;align-items:center;gap:.5rem}.family-tag{font-size:.75rem;font-weight:600;color:var(--color-ink-faded);background:#6c5ce714;padding:2px 8px;border-radius:12px}.recorder-type-tabs{display:flex;gap:4px;background:#ece3d480;padding:3px;border-radius:14px}.type-tab-btn{display:inline-flex;align-items:center;gap:.25rem;padding:4px 10px;border-radius:10px;border:none;background:transparent;font-family:var(--font-ui);font-size:.8rem;font-weight:600;color:var(--color-ink);cursor:pointer;transition:all .15s ease}.type-tab-btn .sketch-image{width:1.05rem;height:1.05rem}.type-tab-btn.active{background:var(--color-card);color:var(--color-accent);box-shadow:0 2px 5px #0000000f}.recorder-chips-container{display:flex;align-items:center;gap:4px;overflow-x:auto;padding:4px;scrollbar-width:none}.recorder-chips-container::-webkit-scrollbar{display:none}.letter-chip{min-width:28px;height:28px;padding:0 4px;border-radius:6px;border:1px solid var(--color-card-border);background:var(--color-bg);font-family:var(--font-cursive);font-size:1.1rem;font-weight:700;color:var(--color-ink);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.letter-chip.word-chip{font-size:.95rem;padding:0 8px;min-width:auto}.letter-chip.active{background:var(--color-accent);color:#fff;border-color:var(--color-accent);box-shadow:0 2px 6px #6c5ce74d}.letter-chip.done:not(.active){background:#00b8941f;color:var(--color-good);border-color:var(--color-good)}.api-badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;font-weight:700;padding:4px 10px;border-radius:14px}.api-badge .sketch-image{width:1rem;height:1rem}.api-badge.pending{background:#fdcb6e40;color:#d63031}.api-badge.saving{background:#6c5ce726;color:var(--color-accent)}.api-badge.saved{background:#00b89426;color:var(--color-good)}.recorder-stage-area{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.5rem 1rem;min-height:0}.recorder-prompt{text-align:center;font-size:.9rem;color:var(--color-ink-faded);margin-bottom:.4rem}.recorder-ghost-layer{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2}.recorder-ghost-path{fill:var(--color-ink);opacity:.12}.recorder-ghost-text{font-family:"Playwrite PT",var(--font-cursive);fill:var(--color-ink);opacity:.15;dominant-baseline:alphabetic;font-feature-settings:"calt" 1,"liga" 1;-webkit-user-select:none;user-select:none;pointer-events:none}#recorder-animator-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3;pointer-events:none}.recorder-ink-canvas{position:absolute;top:0;left:0;width:100%;height:100%;z-index:5;touch-action:none;cursor:crosshair}.recorder-toolbar{height:64px;display:flex;align-items:center;justify-content:center;gap:.6rem;margin-top:.4rem}.btn-toolbar{display:inline-flex;gap:.35rem;padding:.55rem 1rem;border-radius:20px;border:1px solid var(--color-card-border);background:var(--color-card);font-family:var(--font-ui);font-size:.88rem;font-weight:600;color:var(--color-ink);cursor:pointer;display:flex;align-items:center;gap:.4rem;box-shadow:0 2px 6px #00000008;transition:all .15s ease}.btn-toolbar .sketch-image{width:1.1rem;height:1.1rem}.btn-toolbar:disabled{opacity:.4;cursor:not-allowed}.btn-toolbar:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 4px 10px #0000000f}.btn-toolbar.btn-save.ready{background:var(--color-good);color:#fff;border-color:var(--color-good);box-shadow:0 4px 14px #00b89459}.btn-toolbar.btn-next{background:var(--color-accent);color:#fff;border-color:var(--color-accent)}.guided-home{max-width:960px;margin:0 auto;padding:1.5rem 1.25rem 3rem;width:100%}.progress-stats-pill{display:inline-flex;align-items:center;gap:.4rem;background:#fdcb6e33;border:1px solid rgba(253,203,110,.4);padding:.35rem .85rem;border-radius:20px;font-size:.88rem;font-weight:700;color:#d35400}.guided-deck-container{display:grid;gap:1.25rem;margin:1.5rem 0 2rem;width:100%}.guided-deck-container.deck-count-3{grid-template-columns:repeat(3,1fr)}.guided-deck-container.deck-count-2{grid-template-columns:repeat(2,1fr);max-width:720px;margin-left:auto;margin-right:auto}.guided-deck-container.deck-count-1{grid-template-columns:1fr;max-width:440px;margin-left:auto;margin-right:auto}@media (max-width: 768px){.guided-deck-container.deck-count-3,.guided-deck-container.deck-count-2{grid-template-columns:1fr}}.guided-card{background:var(--color-card, #FFFFFF);border-radius:20px;border:2px solid var(--color-card-border, #E2E8F0);padding:1.25rem;display:flex;flex-direction:column;align-items:center;text-align:center;cursor:pointer;box-shadow:0 4px 12px #00000008;transition:all .22s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.guided-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #00000014}.guided-card:active{transform:scale(.98)}.guided-card.theme-new{border-color:#00b894;background:linear-gradient(180deg,#00b8940f,#fff 60%)}.guided-card.theme-new .card-badge{background:#00b894;color:#fff}.guided-card.theme-review{border-color:#94a3b8;background:linear-gradient(180deg,#94a3b814,#fff 60%)}.guided-card.theme-review .card-badge{background:#94a3b8;color:#fff}.card-badge-row{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.card-badge{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding:.25rem .65rem;border-radius:12px}.card-star-rating{display:inline-flex;align-items:center;gap:.12rem;font-size:.88rem;letter-spacing:1px}.card-star-rating .sketch-image{width:.95rem;height:.95rem}.card-glyph-container{width:100%;height:140px;display:flex;align-items:center;justify-content:center;margin:.5rem 0 1.25rem}.card-glyph{font-family:"Playwrite PT",var(--font-cursive);font-size:5.8rem;font-weight:400;line-height:1;color:var(--color-ink, #2D3436);-webkit-user-select:none;user-select:none;filter:drop-shadow(0 4px 10px rgba(0,0,0,.06));transition:transform .2s cubic-bezier(.34,1.56,.64,1)}.guided-card:hover .card-glyph{transform:scale(1.1)}.card-glyph.word-glyph{font-size:3.4rem;letter-spacing:0;font-feature-settings:"calt" 1,"liga" 1;font-variant-ligatures:contextual}.card-word-svg{width:100%;height:100%;max-width:280px;max-height:120px;color:var(--color-ink, #2D3436);filter:drop-shadow(0 4px 10px rgba(0,0,0,.06));transition:transform .2s cubic-bezier(.34,1.56,.64,1);display:block;margin:0 auto}.guided-card:hover .card-word-svg{transform:scale(1.08)}.btn-card-action{width:100%;padding:.75rem 1rem;border-radius:14px;border:none;background:var(--color-ink, #2D3436);color:#fff;font-family:var(--font-ui);font-size:.95rem;font-weight:700;cursor:pointer;transition:background .15s ease,transform .15s ease}.guided-card.theme-new .btn-card-action{background:#00b894}.guided-card.theme-review .btn-card-action{background:#94a3b8}.btn-card-action:hover{filter:brightness(1.1);transform:translateY(-1px)}.writing-stage.multi-slot-stage{max-width:900px;width:min(100%,900px);height:clamp(180px,52dvh,430px);aspect-ratio:2 / 1;min-height:0;margin:0 auto;flex:0 1 auto}@media (max-width: 768px){.writing-stage.multi-slot-stage{height:clamp(170px,48dvh,320px)}}.active-slot-focus{filter:none}.slot-header text{-webkit-user-select:none;user-select:none}.btn-lesson-action{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;border:2px solid #111111;background:#fff;color:#111;cursor:pointer;box-shadow:none;transition:none;-webkit-user-select:none;user-select:none;padding:0}.btn-lesson-action:focus-visible,.btn-lesson-stop:focus-visible,.btn-check:focus-visible{outline:4px dashed #111;outline-offset:4px}.btn-lesson-stop{min-width:7rem;min-height:3.5rem;padding:.6rem 1rem;border:2px solid #111;border-radius:.6rem;background:#fff;color:#111;font:inherit;font-weight:700;cursor:pointer}.btn-lesson-stop:active{background:#111;color:#fff}.btn-lesson-action:hover{transform:none;box-shadow:none}.btn-lesson-action:active{background:#111;color:#fff;transform:scale(.94)}.btn-action-icon{display:flex;align-items:center;justify-content:center;font-size:1.5rem;line-height:1}.btn-action-icon .sketch-image{width:2.25rem;height:2.25rem}.hint-dashed-path{stroke:#111;stroke-width:5;stroke-dasharray:10 8;fill:none;stroke-linecap:round;stroke-linejoin:round}#app[data-display-mode=eink],#app[data-display-mode=high-contrast]{--color-bg: #fff;--color-card: #fff;--color-card-border: #111;--color-ink: #111;--color-ink-faded: #555;--color-accent: #111;--color-accent-light: #555;--color-sky: #555;--color-grass: #111;--color-ground: #111;--color-dirt: #555}#app[data-display-mode=eink] .ghost-outline,#app[data-display-mode=high-contrast] .ghost-outline,#app[data-display-mode=eink] .ghost-outline-text,#app[data-display-mode=high-contrast] .ghost-outline-text{fill:#555}#app[data-display-mode=eink] .feedback-overlay,#app[data-display-mode=high-contrast] .feedback-overlay{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}#app[data-display-mode=eink] *:not(.start-beacon-pulse),#app[data-display-mode=high-contrast] *:not(.start-beacon-pulse){animation-duration:var(--display-motion, 0ms)!important;transition-duration:var(--display-motion, 0ms)!important;box-shadow:none!important}#app[data-reduced-motion=true] *{animation-duration:0ms!important;transition-duration:0ms!important;scroll-behavior:auto!important}@media (prefers-reduced-motion: reduce){#app *{animation-duration:0ms!important;transition-duration:0ms!important;scroll-behavior:auto!important}}#app[data-handedness=left] .controls-bar,#app[data-handedness=left] .pen-box-stage{flex-direction:row-reverse}#app[data-input-mode=stylus] .user-canvas,#app[data-input-mode=stylus] .pen-digit-canvas{touch-action:none}@media (min-width: 1000px) and (orientation: landscape){.worksheet-container{padding-left:max(1rem,env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right))}.writing-stage.multi-slot-stage{width:min(100%,920px);height:min(56dvh,460px)}}@media (max-width: 640px){.app-header{min-height:52px;height:auto;padding-block:.35rem}.current-item-display{max-width:min(45vw,12rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem}.lesson-status{min-height:1.75rem;max-width:100%;overflow-wrap:anywhere;text-align:center}}@media (max-width: 480px) and (orientation: portrait){.worksheet-container{align-items:stretch;padding-inline:max(.5rem,env(safe-area-inset-left))}.writing-stage.multi-slot-stage{min-height:190px;height:min(42dvh,330px)}.slot-stars-row{min-height:2.5rem}}.count-tens-workspace{display:grid;justify-items:center;gap:18px;width:min(950px,100%);margin:0 auto}.count-tens-material{display:grid;grid-template-columns:repeat(5,max-content);justify-content:center;align-content:center;gap:9px 12px;min-height:150px}.count-tens-rod{display:grid;grid-template-columns:repeat(10,12px);width:max-content;border:2px solid #111;background:#fff}.count-tens-rod i{width:12px;height:15px;border-right:1px solid #111;box-sizing:border-box;font-style:normal}.count-tens-rod i:last-child{border:0}.count-tens-hundred{display:grid;grid-template-columns:repeat(10,14px);width:max-content;border:2px solid #111;background:#eee;grid-column:1 / -1}.count-tens-hundred i{width:14px;height:14px;box-sizing:border-box;border:1px solid #111}.count-tens-lesson button.count-tens-number{min-width:64px;min-height:64px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:#111;font-size:64px;line-height:1.1;font-weight:800;cursor:pointer}.count-tens-lesson button.count-tens-number:focus-visible{outline:4px solid #111;outline-offset:2px}.count-tens-lesson button.count-tens-number.is-featured{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:6px 22px;border:3px solid #111;border-radius:16px;background:#fff;font-size:clamp(44px,7vh,64px);font-weight:900;line-height:1.05}.count-tens-number.is-featured .sketch-image{width:32px;height:32px;flex-shrink:0}.count-tens-model{display:flex;flex-direction:column;align-items:center;gap:12px}.count-tens-model .count-tens-material{min-height:180px;padding:12px 18px;border:3px solid #111;border-radius:16px;background:#fff;box-sizing:border-box}.count-tens-model .count-tens-rod{grid-template-columns:repeat(10,16px)}.count-tens-model .count-tens-rod i{width:16px;height:22px;font-size:12px;text-align:center}.count-tens-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 20px;width:min(700px,100%)}.count-tens-landing{min-height:64px;border-bottom:3px solid #aaa;text-align:center;font-size:40px}.count-tens-landing.is-current{border-color:#111;outline:3px solid #111;border-radius:10px;background:#efefef}.count-tens-lesson .count-tens-track button.count-tens-number{font-size:30px}.count-tens-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%}.count-tens-lesson .count-tens-quantity.counting-button{min-width:0;min-height:270px;padding:10px}.count-tens-lesson button.count-tens-quantity.counting-button:focus-visible{outline:4px solid #111;outline-offset:3px}.count-tens-quantity .count-tens-material{grid-template-columns:repeat(2,max-content);gap:10px;min-height:200px}.count-tens-quantity .count-tens-rod{grid-template-columns:repeat(10,11px)}.count-tens-quantity .count-tens-rod i{width:11px;height:18px}.count-tens-lesson button.count-tens-quantity.counting-button.is-wrong{opacity:.45;background:#eee;border-color:#bbb;cursor:default}.count-tens-lesson button.count-tens-quantity.counting-button.is-correct{background:#efefef;color:#111;border:5px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}.count-tens-sequence{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;width:100%}.count-tens-sequence:has(>:last-child:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.count-tens-sequence-item{position:relative;display:grid;justify-items:center;border:2px solid #111;border-radius:14px;padding:8px 4px;background:#fff}.count-tens-sequence-item.is-missing{border:3px dashed #111;background:#f5f5f5}.count-tens-sequence-item>strong{font-size:52px;height:64px}.count-tens-unknown{display:inline-grid;place-items:center;min-width:56px}.count-tens-solved{display:inline-grid;place-items:center;min-width:60px;padding:0 10px;border-radius:12px;background:#111;color:#fff}.count-tens-sequence-item .count-tens-material{min-height:200px;grid-template-columns:1fr;gap:4px}.count-tens-sequence-item .count-tens-rod{grid-template-columns:repeat(10,11px)}.count-tens-sequence-item .count-tens-rod i{width:11px;height:13px}.count-tens-arrow{position:absolute;right:-22px;top:30px;width:20px;text-align:center;font-size:22px;font-weight:900}@media (max-width: 650px){.count-tens-track{gap:8px}.count-tens-landing{min-width:0}.count-tens-lesson .count-tens-track button.count-tens-number{width:100%;max-width:100%;min-width:0;padding:0;font-size:clamp(18px,5vw,26px)}.count-tens-model .count-tens-material{grid-template-columns:repeat(2,max-content)}.count-tens-quantity .count-tens-material{grid-template-columns:1fr}.count-tens-choices{gap:6px}.count-tens-quantity .count-tens-rod{grid-template-columns:repeat(10,8px)}.count-tens-quantity .count-tens-rod i{width:8px;height:13px}.count-tens-sequence{grid-template-columns:repeat(2,minmax(0,1fr))}.count-tens-sequence:has(>:last-child:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.count-tens-hundred{grid-template-columns:repeat(10,8px)}.count-tens-hundred i{width:8px;height:8px}}@media (max-height: 680px){.count-tens-workspace{gap:12px}.count-tens-model .count-tens-material{min-height:140px;padding:8px 14px}.count-tens-lesson .count-tens-quantity.counting-button{min-height:210px}.count-tens-quantity .count-tens-material{min-height:150px}.count-tens-sequence-item .count-tens-material{min-height:160px}}@media (max-height: 600px){.count-tens-workspace{gap:8px}.count-tens-lesson button.count-tens-number.is-featured{font-size:2.2rem;padding:4px 14px}.count-tens-number.is-featured .sketch-image{width:24px;height:24px}.count-tens-landing{min-height:48px}.count-tens-lesson .count-tens-quantity.counting-button{min-height:175px}}@font-face{font-family:Playwrite PT;src:url(/fonts/PlaywritePT-Variable.ttf) format("truetype-variations");font-weight:100 900;font-style:normal;font-display:swap}.slot-stars-row{position:relative;max-width:900px;width:min(100%,900px);margin:.25rem auto .5rem;display:grid;grid-template-columns:repeat(var(--slot-count, 4),1fr);align-items:center;justify-items:center;box-sizing:border-box;min-height:2.2rem}.slot-star-cell{display:flex;align-items:center;justify-content:center;width:clamp(3.2rem,14vw,5.5rem);height:2.2rem;padding:.2rem .5rem;border-radius:999px;background:transparent;border:1px solid #d0d0d0;box-sizing:border-box;transition:border-color .15s ease,background-color .15s ease}.slot-star-cell.active{border:2px solid #111111;background:#fff;transform:none;box-shadow:none}.slot-stars-row.positioned-stars .slot-star-cell{position:absolute;top:50%;transform:translate(-50%,-50%)}.slot-stars-row.positioned-stars .slot-star-cell[hidden]{display:none}.slot-star-placeholder{color:#a0a0a0;font-weight:700}.slot-star.earned{display:inline-flex;align-items:center;gap:.15rem}.slot-star.missed{display:inline-flex;opacity:.4}.slot-star .sketch-image{width:1.2rem;height:1.2rem}@keyframes star-pop{0%{transform:scale(.3);opacity:0}70%{transform:scale(1.25)}to{transform:scale(1);opacity:1}}@media (prefers-reduced-motion: reduce){.slot-star.earned{animation:none}}.onboarding-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#2d34368c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:1.5rem}.onboarding-card{background:var(--color-surface, #fff8f0);border-radius:24px;padding:2rem 2.25rem;max-width:420px;width:100%;box-shadow:0 24px 60px #2d343659;text-align:center}.onboarding-title{font-size:1.35rem;margin:0 0 1.25rem;color:#2d3436}.onboarding-title .sketch-image{width:1.15em;height:1.15em;vertical-align:-.18em}.onboarding-steps{list-style:none;padding:0;margin:0 0 1.5rem;text-align:left;display:flex;flex-direction:column;gap:.75rem;font-size:1rem;color:#475569}.onboarding-steps li{display:flex;align-items:center;gap:.6rem}.onboarding-steps .sketch-image{width:1.7rem;height:1.7rem;flex-shrink:0}.btn-large{font-size:1.1rem;padding:.9rem 2rem;width:100%}.dashboard-screen{height:100vh;width:100%;min-width:0;overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--color-bg, #fff8f0);padding:1.25rem;max-width:860px;margin:0 auto}.dashboard-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}.dashboard-title{font-size:1.4rem;margin:0;color:#2d3436}.dashboard-subtitle{margin:.15rem 0 0;font-size:.9rem;color:#64748b}.dashboard-empty{text-align:center;color:#64748b;padding:3rem 1rem}.dashboard-table-wrap{overflow-x:auto;background:var(--color-surface, #ffffff);border-radius:16px;box-shadow:0 4px 16px #2d343614}.dashboard-table{width:100%;border-collapse:collapse;font-size:.95rem}.dashboard-table th,.dashboard-table td{padding:.7rem .9rem;text-align:left;border-bottom:1px solid rgba(148,163,184,.18);white-space:nowrap}.dashboard-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.dash-item{font-weight:700;color:#2d3436}.dash-word{font-family:Playwrite PT,cursive}.dash-level-num{color:#94a3b8;font-size:.8rem}.dash-due{padding:.15rem .6rem;border-radius:999px;font-size:.78rem;font-weight:600}.dash-due-overdue{background:#ede9fe;color:#6d28d9}.dash-due-soon{background:#e0f2fe;color:#0369a1}.dash-due-ok{background:#d1fae5;color:#047857}.dash-due-new{background:#e0e7ff;color:#4338ca}.dash-section{margin-bottom:1.25rem;border-radius:16px;overflow:hidden}.dash-section-summary{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.1rem;background:var(--color-surface, #ffffff);box-shadow:0 4px 16px #2d343614;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.dash-section-summary::-webkit-details-marker{display:none}.dash-section-summary:after{content:"▸";font-size:.9rem;color:#94a3b8;transition:transform .2s ease}.dash-section[open] .dash-section-summary:after{transform:rotate(90deg)}.dash-section-title{display:inline-flex;align-items:center;gap:.35rem;font-weight:700;color:#2d3436;font-size:1rem}.dash-section-title .sketch-image{width:1.15rem;height:1.15rem}.dash-item-icon,.dash-star{width:1.05rem;height:1.05rem;vertical-align:-.22em}.dash-section-hint{font-size:.78rem;color:#94a3b8}.dash-danger-zone{margin-top:1.5rem;text-align:center}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:flex;align-items:center;justify-content:center;background:#2d34368c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);padding:1.5rem}.modal-card{background:var(--color-surface, #ffffff);border-radius:20px;padding:1.5rem 1.75rem;max-width:400px;width:100%;box-shadow:0 24px 60px #2d343659;text-align:center}.modal-title{margin:0 0 .5rem;font-size:1.15rem;color:#2d3436}.modal-message{margin:0 0 1.25rem;font-size:.92rem;color:#64748b;line-height:1.45}.modal-actions{display:flex;gap:.75rem;justify-content:center}.btn-modal{padding:.65rem 1.25rem;border-radius:12px;border:none;font-size:.95rem;font-weight:600;cursor:pointer}.btn-modal-cancel{background:#94a3b82e;color:#334155}.btn-modal-cancel:focus-visible{outline:2px solid #64748b;outline-offset:2px}.btn-modal-confirm{background:#b91c1c;color:#fff}.topbar-pills{display:flex;gap:.5rem;align-items:center}.aura-pill{background:linear-gradient(135deg,#6c5ce726,#fdcb6e33)}.btn-fun{font-size:1.05rem}.aura-fun .aura-pill .pill-value,.aura-fun .goal-text,.aura-fun .feedback-aura,.aura-fun .aura-summary-row span{font-family:Comic Sans MS,Chalkboard SE,Comic Neue,cursive!important;font-weight:700;letter-spacing:.03em}.aura-goal-bar{max-width:560px;margin:0 auto 1rem;padding:0 1rem}.aura-goal-bar .goal-track{height:14px;border-radius:999px;background:#94a3b840;overflow:hidden;box-shadow:inset 0 1px 3px #2d343626}.aura-goal-bar .goal-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#6c5ce7,#fdcb6e);transition:width .6s cubic-bezier(.22,1,.36,1)}.aura-goal-bar.met .goal-fill{background:linear-gradient(90deg,#00b894,#55efc4)}.aura-goal-bar .goal-text{display:block;text-align:center;margin-top:.35rem;font-size:.9rem;color:#475569}.aura-goal-bar.no-goal .goal-text{margin-top:0}.feedback-aura{display:inline-flex;align-items:center;gap:.25rem;margin:-.4rem 0 .8rem;font-size:1.05rem;font-weight:700;color:#6c5ce7;animation:star-pop .5s cubic-bezier(.34,1.56,.64,1)}.feedback-aura .sketch-image{width:1.2rem;height:1.2rem}.feedback-aura .sketch-image-aura{object-fit:contain}.aura-settings{margin-top:1.75rem;background:var(--color-surface, #ffffff);border-radius:16px;box-shadow:0 4px 16px #2d343614;padding:1.25rem 1.5rem}.aura-settings-title{margin:0 0 .25rem;font-size:1.15rem;color:#2d3436}.aura-settings-subtitle{margin:0 0 1rem;font-size:.85rem;color:#64748b}.aura-summary-row{display:flex;justify-content:space-between;align-items:center;padding:.6rem .9rem;border-radius:12px;background:linear-gradient(135deg,#6c5ce71f,#fdcb6e29);margin-bottom:1rem;font-size:.95rem}.aura-summary-row>span{display:inline-flex;align-items:center;gap:.25rem}.aura-summary-row .sketch-image-aura{width:1.15rem;height:1.15rem;object-fit:contain}.btn-danger-text{color:#b91c1c}.aura-mode-fieldset{border:1px solid rgba(148,163,184,.3);border-radius:12px;padding:.75rem 1rem;margin:0 0 1rem}.aura-mode-fieldset legend{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b;padding:0 .4rem}.aura-mode-options{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem}.aura-mode-option{display:flex;align-items:center;gap:.4rem;cursor:pointer;font-size:.95rem}.aura-goals-config h3,.aura-week-chart h3{margin:0 0 .25rem;font-size:.95rem;color:#2d3436}.aura-goals-hint{margin:0 0 .6rem;font-size:.8rem;color:#94a3b8}.aura-goal-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.5rem 1rem}.aura-goal-row{display:flex;align-items:center;gap:.5rem;font-size:.92rem}.goal-day{min-width:4.5rem;color:#475569}.goal-input{width:4.5rem;padding:.35rem .5rem;border:1px solid rgba(148,163,184,.5);border-radius:8px;font-size:.95rem;text-align:right}.goal-unit{color:#94a3b8;font-size:.8rem}.aura-streak-toggle{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;font-size:.92rem;cursor:pointer}.week-chart-row{display:flex;align-items:stretch;gap:.4rem}.week-y-axis{writing-mode:vertical-rl;transform:rotate(180deg);align-self:center;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8}.week-bars{display:flex;align-items:flex-end;justify-content:space-between;gap:.5rem;height:120px;padding-top:.5rem}.week-bar-col{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}.week-bar-track{position:relative;flex:1;width:100%;max-width:34px;background:#94a3b826;border-radius:8px;overflow:hidden;display:flex;align-items:flex-end}.week-bar-fill{width:100%;background:linear-gradient(180deg,#6c5ce7,#a29bfe);border-radius:8px 8px 0 0;transition:height .5s ease}.week-bar-fill.met{background:linear-gradient(180deg,#00b894,#55efc4)}.week-bar-goal{position:absolute;left:0;right:0;bottom:0;border-bottom:2px dashed #e17055;pointer-events:none}.week-bar-value{font-size:.68rem;font-weight:700;color:#475569;opacity:0;transition:opacity .15s ease;min-height:1em}.week-bar-col:hover .week-bar-value,.week-bar-col:focus-within .week-bar-value{opacity:1}@media (hover: none){.week-bar-value{opacity:1}}.week-bar-day{margin-top:.3rem;font-size:.72rem;color:#64748b}.subject-screen{min-height:100dvh;padding:clamp(.75rem,2vh,1.5rem) clamp(.75rem,2.5vw,2rem) max(1rem,env(safe-area-inset-bottom))}.subject-screen .home-topbar{max-width:var(--stage-max, 960px);flex:0 0 auto}.subject-screen .home-hero{flex:0 0 auto;margin:clamp(.35rem,1.5vh,1rem) 0 clamp(1rem,2.5vh,1.75rem)}.subject-screen .home-brand{gap:clamp(.65rem,1.4vw,1rem)}.subject-screen .home-logo{width:clamp(4.75rem,8vw,6.75rem);height:clamp(5.5rem,9vw,7.75rem)}.subject-screen .home-title{font-size:clamp(2.5rem,5.25vw,4.75rem);line-height:1}.subject-screen .home-subtitle{margin-top:.5rem;font-size:clamp(1.05rem,2vw,1.35rem);font-weight:650;color:#5b6573}.subject-cards{width:100%;flex:1 1 auto;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:clamp(.85rem,2vw,1.5rem);max-width:var(--stage-max, 960px);margin:0 auto;padding:0}.subject-card{width:100%;max-width:none;min-width:0;min-height:clamp(18rem,46dvh,31rem);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(.75rem,1.5vh,1.1rem);padding:clamp(1.25rem,3vw,2.25rem);border-radius:clamp(22px,3vw,32px);border:2px solid var(--color-card-border, #ece3d4);background:var(--color-surface, #ffffff);box-shadow:0 10px 28px #2d34361a;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.subject-card:hover{transform:translateY(-3px);border-color:#a8afb6;box-shadow:0 14px 36px #2d343629}.subject-card:focus-visible{outline:4px solid rgba(45,52,54,.28);outline-offset:4px}.subject-card:active{transform:scale(.98)}.subject-card-icon{display:flex;align-items:center;justify-content:center;font-size:3rem;line-height:1}.subject-card-icon .sketch-image{width:clamp(6.5rem,12vw,9rem);height:clamp(6.5rem,12vw,9rem)}.subject-card-icon .math-subject-sketch,.math-subject-sketch{object-fit:contain}.subject-card-name{font-size:clamp(1.65rem,3vw,2.25rem);font-weight:800;color:#2d3436}.subject-card-desc{max-width:17rem;font-size:clamp(.95rem,1.55vw,1.12rem);color:#596574;text-align:center;line-height:1.45}@media (min-width: 641px){.subject-cards{align-items:center;align-content:center}.subject-card{min-height:0;height:fit-content;display:grid;grid-template-rows:clamp(5.5rem,10vw,7.5rem) auto minmax(4.35em,auto);align-content:center;justify-items:center;padding:clamp(1rem,2.25vw,1.75rem) clamp(1rem,2.5vw,2rem)}.subject-card-icon{width:100%;height:clamp(5.5rem,10vw,7.5rem)}.subject-card-icon .sketch-image{width:clamp(5.5rem,10vw,7.5rem);height:clamp(5.5rem,10vw,7.5rem)}.subject-card-name{min-height:1.1em;line-height:1.1;display:flex;align-items:center}.subject-card-desc{min-height:4.35em}}.topbar-left,.topbar-right{flex:1;display:flex;align-items:center;gap:.75rem;min-width:0}.topbar-right{justify-content:flex-end}.topbar-center{flex:0 0 auto;display:flex;align-items:center;justify-content:center}.subject-tabs{display:flex;justify-content:center;gap:.35rem;margin:0 auto .75rem;padding:.25rem;width:fit-content;max-width:100%;border-radius:999px;background:#94a3b826}.subject-tab{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem 1.1rem;border:1px solid transparent;border-radius:999px;background:transparent;font-size:.95rem;font-weight:700;color:#64748b;cursor:pointer;transition:border-color .2s ease,background .2s ease,color .2s ease}.subject-tab .sketch-image{width:1.15rem;height:1.15rem}.subject-tab.active{background:transparent;color:#2d3436;border-color:#94a3b8}.subject-tab:not(.active):hover{color:#2d3436;background:#94a3b82e}.aura-header{display:flex;align-items:center;gap:.5rem;padding:.35rem .85rem;border-radius:999px;background:linear-gradient(135deg,#6c5ce726,#fdcb6e33);border:1px solid rgba(253,203,110,.4)}.aura-header-total{font-weight:800;color:#2d3436}.aura-header .sketch-image-aura{width:1.15rem;height:1.15rem;object-fit:contain}.aura-header-today{font-size:.8rem;font-weight:600;color:#64748b}.aura-header-track{position:relative;width:96px;height:16px;border-radius:999px;background:#94a3b84d;overflow:hidden;display:flex;align-items:center}.aura-header-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#6c5ce7,#fdcb6e);transition:width .5s cubic-bezier(.22,1,.36,1)}.aura-header-track-label{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:800;color:#2d3436;text-shadow:0 1px 2px rgba(255,255,255,.8);white-space:nowrap;pointer-events:none}.aura-header-track.no-goal{background:transparent;border:1px dashed rgba(148,163,184,.5)}.aura-header-track.met .aura-header-fill{background:linear-gradient(90deg,#00b894,#55efc4)}.aura-header-streak{display:inline-flex;align-items:center;gap:.2rem;font-size:.8rem;font-weight:700;color:#e17055}.aura-header-streak .sketch-image{width:1rem;height:1rem}.card-reading-title{display:block;font-size:1.6rem;font-weight:800;color:#2d3436;text-align:center;line-height:1.3}.reading-screen{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;width:100%;max-width:720px;margin:0 auto;padding:1rem 1.25rem calc(.75rem + env(safe-area-inset-bottom))}.reading-subtitle{font-size:.85rem;color:#64748b}.reading-screen>.app-header .header-left{min-width:0;flex:1 1 auto}.reading-screen>.app-header .current-item-display{position:static;transform:none;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-ui);font-size:clamp(1.05rem,3.3vw,1.45rem);line-height:1.15}.reading-screen>.app-header .header-right{min-width:0;max-width:42%;flex:0 1 auto}.reading-screen>.app-header .reading-subtitle{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 480px) and (orientation: portrait){.reading-screen{padding-inline:.75rem}.reading-screen>.app-header{padding-inline:.5rem;gap:.4rem}.reading-screen>.app-header .header-left,.reading-screen>.app-header .header-right{gap:.35rem}.reading-screen>.app-header .header-right{max-width:46%}.reading-screen>.app-header .current-item-display{font-size:clamp(.95rem,4.5vw,1.2rem)}.reading-screen>.app-header .btn-back,.reading-screen>.app-header .btn-icon-small{flex:0 0 38px}}.reading-content{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0}.reading-nav{position:sticky;bottom:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 0 .25rem;margin-top:auto;background:linear-gradient(to top,var(--color-bg, #fff8f0) 65%,transparent)}.reading-nav .btn-primary,.reading-nav .btn-secondary,.reading-nav .btn-success{padding:.8rem 1.5rem;border-radius:14px;border:2px solid #111111;font-size:1rem;font-weight:700;cursor:pointer;box-shadow:none}.reading-nav .btn-primary{background:#111;color:#fff;min-width:160px}.reading-nav .btn-primary:active{background:#333}.reading-nav .btn-secondary{background:#fff;color:#111}.reading-nav .btn-secondary:active{background:#f0f0f0}.reading-nav .btn-success{background:#111;color:#fff;flex:1;max-width:200px}.reading-screen .app-header{gap:.6rem}.reading-screen .header-left{flex:1 1 auto;min-width:0}.reading-screen .current-item-display{position:static;transform:none;flex:1 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1rem,4.2vw,1.35rem)}.reading-screen .header-right{flex:0 1 auto;min-width:0}.reading-screen .reading-subtitle{min-width:0;max-width:8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 640px){.reading-screen .app-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.35rem}.reading-screen .header-left{display:contents}.reading-screen .btn-back{grid-column:1}.reading-screen .current-item-display{grid-column:2;font-size:clamp(.95rem,4.2vw,1.15rem)}.reading-screen .header-right{grid-column:3;gap:.3rem}.reading-screen .reading-subtitle{max-width:min(22vw,5.8rem);font-size:.72rem}}@media (max-width: 360px){.reading-screen .reading-subtitle{max-width:4rem}}@media (max-width: 640px) and (max-height: 650px) and (orientation: portrait){.reading-screen{min-height:0;overflow:hidden}.reading-content{flex:1 1 auto;min-height:0;justify-content:flex-start;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding-block:.35rem .75rem}.reading-nav{flex:0 0 auto;margin-top:0}}.reading-intro{display:flex;flex-direction:column;align-items:center;text-align:center;padding:.5rem;width:100%}.reading-intro-title{font-size:1.6rem;margin:0 0 .4rem;color:#111;font-weight:800}.reading-intro-desc{font-size:1.05rem;color:#475569;margin:0 0 1.25rem}.reading-scope-label{display:inline-block;font-size:.85rem;font-weight:700;color:#111;background:#f1f5f9;border:1px solid #111111;border-radius:999px;padding:.25rem .75rem;margin:0 0 .75rem}.reading-teaching-notes{display:flex;flex-direction:column;gap:.5rem;max-width:480px;width:100%;margin:0 auto 1.25rem;text-align:left}.reading-teaching-note{padding:.65rem .9rem;border:2px solid #111111;border-radius:14px;background:#fff;font-size:.9rem;color:#333}.reading-teaching-note strong{display:block;color:#111;margin-bottom:.2rem;font-size:.95rem}.reading-teaching-note p{margin:0;line-height:1.4}.intro-icon{display:flex;justify-content:center}.intro-icon .sketch-image{width:5rem;height:5rem}.vowel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:.6rem;width:100%;max-width:560px;margin:0 auto}.vowel-card{background:var(--color-surface, #ffffff);border-radius:16px;border:2px solid #111111;box-shadow:none;padding:.9rem .5rem .7rem;display:flex;flex-direction:column;align-items:center;gap:.2rem;cursor:pointer;color:inherit;font:inherit}.vowel-card:active{background:#f0f0f0}.vowel-letter{font-size:2.2rem;font-weight:800;color:#111}.vowel-name{font-size:.85rem;color:#333;font-weight:600}.vowel-sound{font-size:.75rem;color:#555}.intro-letter-card{display:flex;flex-direction:column;align-items:center;gap:.4rem;width:100%;max-width:300px;margin:0 auto;padding:1.75rem 1.5rem 1.35rem;background:var(--color-surface, #ffffff);border:2px solid #111111;border-radius:24px;box-shadow:none;font:inherit;color:inherit}button.intro-letter-card{cursor:pointer}button.intro-letter-card:active{transform:scale(.98);background:#f9f9f9}.intro-letter-card.intro-letter-static{max-width:420px;cursor:default}.intro-letter-glyph{font-size:5rem;font-weight:800;color:#111;line-height:1}.intro-letter-name{font-size:1.1rem;color:#333;font-weight:700}.intro-letter-hint{font-size:.9rem;color:#555;line-height:1.4;max-width:16rem}.intro-listen{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;margin-top:.45rem;padding:.45rem .95rem;border-radius:999px;background:#111;color:#fff;font-size:.95rem;font-weight:700;border:2px solid #111111}.intro-listen .sketch-icon{width:1.15rem;height:1.15rem;flex-shrink:0}.intro-listen-compact{margin-top:.35rem;padding:.28rem;width:1.85rem;height:1.85rem}.carousel{display:flex;flex-direction:column;align-items:center;gap:.75rem;height:100%}.carousel-hint{font-size:.9rem;color:#475569;font-weight:600;margin:0;text-align:center}.carousel-stage{flex:1;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;touch-action:pan-y;-webkit-user-select:none;user-select:none}.carousel-counter{font-size:.9rem;font-weight:700;color:#333}.word-card{background:var(--color-surface, #ffffff);border:2px solid #111111;border-radius:24px;box-shadow:none;padding:2rem 2.5rem;text-align:center;display:flex;flex-direction:column;gap:1.25rem;max-width:420px;width:100%}.word-text{font-size:2.6rem;font-weight:800;color:#111;cursor:default;border-radius:12px;padding:.15rem .5rem}.word-syllable{display:inline;letter-spacing:inherit}.word-syllable.tone-a{color:#111}.word-syllable.tone-b{color:#555}.sentence-card{background:var(--color-surface, #ffffff);border:2px solid #111111;border-radius:24px;box-shadow:none;padding:1.75rem 2.25rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1.15rem;max-width:min(840px,95vw);width:100%}.sentence-card .say-hear{max-width:340px;width:100%;margin:0 auto}.sentence-text{margin:0;width:100%;font-size:clamp(2rem,4.2vw,3rem);font-weight:800;line-height:1.35;color:#111;text-align:center;word-break:normal;overflow-wrap:normal}.sentence-word{display:inline-block;padding:.05rem .25rem;border-radius:8px;font-weight:800;cursor:default}.sentence-media-card{width:min(180px,36vw);max-height:180px;aspect-ratio:1 / 1;flex-shrink:0;align-self:center;display:flex;align-items:center;justify-content:center;border-radius:18px;background:#fafafa;border:2px dashed #111111;overflow:hidden;cursor:pointer;transition:transform .15s ease,background .15s ease}.sentence-media-card:hover{transform:scale(1.03);background:#f0f0f0}.sentence-media-card:active{transform:scale(.98)}.sentence-reveal-mark{font-size:3.5rem;font-weight:800;color:#111;-webkit-user-select:none;user-select:none;pointer-events:none}.sentence-illustration{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;opacity:0;animation:sentence-img-in .4s ease forwards;pointer-events:none}@keyframes sentence-img-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.sentence-illustration.shown{opacity:1}.reading-practice{text-align:center;padding:.5rem}.practice-icon{display:flex;justify-content:center}.practice-icon .sketch-image{width:5rem;height:5rem}.practice-title{font-size:1.8rem;color:#00b894;margin:.25rem 0}.practice-desc{color:#64748b;margin:0 0 1rem}.summary-box{background:var(--color-surface, #ffffff);border:2px solid #111111;border-radius:16px;box-shadow:none;padding:1rem 1.25rem;max-width:360px;margin:0 auto;text-align:left}.summary-box h3{margin:0 0 .5rem;font-size:1rem;color:#111;font-weight:700}.summary-item{margin:.25rem 0;font-size:.92rem;color:#333}@media (max-width: 640px){.worksheet-container{padding:.5rem}.writing-stage.multi-slot-stage{width:100%;height:min(42dvh,320px);min-height:170px;aspect-ratio:auto}.app-header{flex-wrap:wrap;gap:.5rem}.phase-indicator{order:3;width:100%;justify-content:center}.guided-deck-container{grid-template-columns:1fr}.slot-stars-row{margin-block:.25rem}.dashboard-table th,.dashboard-table td{padding:.55rem .6rem;font-size:.85rem}.subject-cards{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(8.5rem,1fr));gap:.75rem}.subject-screen .home-hero{margin-block:.25rem .85rem}.subject-screen .home-logo{width:3.75rem;height:4.4rem}.subject-screen .home-title{font-size:clamp(2rem,10vw,3rem)}.subject-screen .home-subtitle{margin-top:.2rem;font-size:1rem}.subject-card{min-height:8.5rem;display:grid;grid-template-columns:minmax(5.5rem,7.25rem) minmax(0,1fr);grid-template-rows:auto auto;align-content:center;justify-items:start;column-gap:1rem;row-gap:.2rem;padding:.75rem 1rem;text-align:left}.subject-card-icon{grid-column:1;grid-row:1 / 3;justify-self:center}.subject-card-icon .sketch-image{width:clamp(4.75rem,18vw,6.25rem);height:clamp(4.75rem,18vw,6.25rem)}.subject-card-name,.subject-card-desc{grid-column:2}.subject-card-name{align-self:end;font-size:clamp(1.4rem,6vw,1.8rem)}.subject-card-desc{align-self:start;max-width:none;font-size:.9rem;text-align:left}.word-text{font-size:2rem}.sentence-text{font-size:1.7rem}.card-reading-title{font-size:1.3rem}.subject-tab{padding:.4rem .85rem;font-size:.88rem}}@media (min-width: 900px){.home-screen{max-width:960px;margin:0 auto}.guided-deck-container.deck-count-2{max-width:860px}.guided-deck-container.deck-count-1{max-width:520px}.reading-screen{max-width:880px}.sentence-card{text-align:center;align-items:center;gap:1.25rem;padding:2rem 2.5rem;max-width:min(860px,95vw)}.sentence-text{font-size:clamp(2.2rem,4.5vh,3.2rem)}.sentence-media-card{width:clamp(140px,22vh,180px);max-height:clamp(140px,22vh,180px)}.word-text{font-size:clamp(2.2rem,10vh,3.4rem)}.intro-letter-glyph{font-size:clamp(3.5rem,16vh,6rem)}.intro-icon,.practice-icon{font-size:clamp(2.5rem,12vh,4.5rem)}}@media (max-height: 480px) and (orientation: landscape){.reading-screen{padding:.5rem 1rem calc(.5rem + env(safe-area-inset-bottom))}.home-hero{margin:.35rem 0}.home-logo{display:none}.home-title{font-size:1.9rem}.home-subtitle{margin:.1rem 0 0}.guided-deck-container{margin:.6rem 0 1rem;gap:.75rem}.worksheet-container{padding:.25rem .5rem}.writing-stage.multi-slot-stage{height:min(48dvh,205px);min-height:150px;aspect-ratio:auto}.controls-bar{height:58px;min-height:58px;padding:.1rem .25rem;gap:.45rem}.btn-lesson-action{width:52px;height:52px}.btn-lesson-stop{min-width:5.5rem;min-height:2.8rem;padding:.35rem .65rem}.reading-intro-title,.practice-title{font-size:1.3rem}.word-card,.sentence-card{padding:1rem 1.5rem}.sentence-card{max-width:min(820px,95vw);gap:.45rem;padding:.75rem 1.25rem}.sentence-text{font-size:clamp(1.5rem,5.5vh,2.1rem)}.sentence-media-card{width:clamp(85px,20vh,115px);max-height:clamp(85px,20vh,115px)}.word-text{font-size:clamp(1.8rem,11vh,2.8rem)}.vowel-grid{grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:.4rem}.vowel-letter{font-size:1.6rem}.intro-letter-glyph{font-size:3.2rem}.intro-icon{font-size:2.5rem}.subject-cards{gap:.75rem}.subject-card{min-height:0;padding:.9rem 1rem}.subject-card-icon{font-size:2rem}.subject-card-icon .sketch-image{width:clamp(3.75rem,18vh,5.25rem);height:clamp(3.75rem,18vh,5.25rem)}.subject-card-name{font-size:1.35rem}.subject-card-desc{font-size:.78rem}}.btn-clear{background:#fdcb6e59;color:#7a5c00}.btn-clear:active{transform:scale(.96)}.math-screen{display:flex;flex-direction:column;min-height:100dvh;padding:.75rem 1.25rem calc(1rem + env(safe-area-inset-bottom))}.math-header{display:flex;align-items:center;gap:.9rem;padding:.25rem 0 .75rem;width:100%;max-width:var(--stage-max);margin:0 auto}.math-header-progress{flex:1;display:flex;align-items:center;gap:.75rem;min-width:0}.math-header .math-progress-track{flex:1;margin-bottom:0}.math-header .math-round-label{font-size:.85rem;padding:.15rem .7rem;white-space:nowrap}.math-progress-track{height:8px;border-radius:999px;background:#6c5ce726;overflow:hidden;margin-bottom:1rem}.math-progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#6c5ce7,#74b9ff);transition:width .35s ease}.math-progress-label{font-size:.95rem;font-weight:600;color:#6c5ce7;white-space:nowrap}.math-content{flex:1;width:100%;max-width:var(--stage-max);margin:0 auto;display:flex;flex-direction:column;position:relative;min-height:0}.lesson-stage{flex:1;display:flex;flex-direction:column;min-height:0}.stage-prompt{display:flex;justify-content:center;padding:.5rem 0 .25rem}.stage-prompt .exercise-prompt{margin-bottom:0}.stage-display{flex:0 1 auto;margin:auto 0;display:flex;align-items:center;justify-content:center;padding:.75rem 0;min-height:0}.stage-display>*{max-height:42vh}.stage-mid{display:flex;justify-content:center;padding:.5rem 0}.stage-answers{display:flex;flex-direction:column;align-items:center;gap:.75rem;margin-top:auto;padding:1rem 0 clamp(24px,5vh,56px)}.option-row{display:flex;gap:1rem;justify-content:center;width:100%}.option-row .option-btn{flex:1 1 0;max-width:230px;padding:1.1rem .5rem}.exercise-card{width:100%;max-width:520px;margin:0 auto;text-align:center;padding:1rem .25rem}.exercise-prompt{font-size:clamp(1.25rem,4.5vh,1.7rem);margin-bottom:1rem;color:#2d3436}.exercise-display{margin:0 auto 1.5rem;max-width:520px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center}.count-grid{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:.45rem;max-width:420px}.count-dot{font-size:clamp(1.9rem,7vh,2.6rem);line-height:1.15;-webkit-user-select:none;user-select:none}.count-gap{flex-basis:100%;height:0}.compare-groups,.compare-numbers{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}.compare-group{display:flex;flex-direction:column;align-items:center;gap:.5rem}.compare-label{font-weight:700;font-size:1.05rem;color:#6c5ce7;background:#6c5ce71f;border-radius:999px;padding:.15rem .85rem}.math-big-number{font-size:clamp(3rem,14vh,5rem);font-weight:700;color:#2d3436;line-height:1.1}.math-big-word{font-size:clamp(1.6rem,7vh,2.4rem);font-weight:600;color:#2d3436}.math-equation{display:inline-flex;align-items:center;gap:.55rem;font-size:clamp(2.2rem,10vh,3.4rem);font-weight:700;color:#2d3436}.math-op{color:#6c5ce7}.math-blank{display:inline-block;min-width:1.4em;border-bottom:.12em solid #9aa4ae}.shape-svg{width:clamp(120px,26vh,180px);height:clamp(120px,26vh,180px);color:#6c5ce7}.option-grid{display:grid;gap:.8rem;max-width:520px;margin:0 auto}.option-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.option-count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.option-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}.option-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:2px solid rgba(108,92,231,.35);background:#fffdf7;border-radius:16px;padding:.85rem .5rem;font-size:clamp(1.5rem,6vh,2.1rem);font-weight:700;color:#2d3436;cursor:pointer;box-shadow:0 3px #6c5ce72e;transition:transform .08s ease,background .15s ease,border-color .15s ease;touch-action:manipulation}.option-btn:not(:disabled):active{transform:scale(.96)}.option-shape{display:flex;align-items:center;justify-content:center}.option-shape .shape-svg{width:72px;height:72px}.option-btn.correct{background:#e6f9ee;border-color:#00b894;color:#00795c;animation:option-pop .3s ease}.option-btn.wrong{opacity:.45;border-color:#d63031;color:#a13c3c;cursor:not-allowed}@keyframes option-pop{50%{transform:scale(1.08)}}.shake{animation:shake-x .35s ease}@keyframes shake-x{20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}.order-chip-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:clamp(1rem,3vw,2rem)}.order-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:3px solid rgba(108,92,231,.35);background:#fffdf7;border-radius:999px;min-width:clamp(4.2rem,11vh,6.5rem);padding:clamp(.9rem,3vh,1.5rem) clamp(1.2rem,3vw,2rem);font-size:clamp(2rem,7.5vh,3.4rem);font-weight:700;color:#2d3436;cursor:pointer;box-shadow:0 4px #6c5ce72e;transition:transform .08s ease,background .15s ease,border-color .15s ease;touch-action:manipulation}.order-chip:not(:disabled):active{transform:scale(.94)}.order-chip.done{background:#e6f9ee;border-color:#00b894;color:#00795c;cursor:default}.order-chip.wrong-flash{border-color:#d63031;color:#a13c3c;background:#fdecea}.order-slots{min-height:1.8em;display:flex;align-items:center;justify-content:center;font-size:clamp(1.7rem,5.5vh,2.6rem);font-weight:700;letter-spacing:.08em;color:#00795c}.order-slot-placeholder{display:inline-block;width:clamp(5rem,14vw,9rem);height:.32rem;border-radius:999px;background:#00b8944d}.aura-pop{position:absolute;top:-.4rem;right:.5rem;display:inline-flex;align-items:center;gap:.3rem;font-weight:800;font-size:1.05rem;color:#6c5ce7;pointer-events:none;animation:aura-float-up 1.1s ease forwards}@keyframes aura-float-up{0%{opacity:0;transform:translateY(8px) scale(.85)}25%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-42px) scale(1)}}.card-glyph.card-math-glyph{font-size:clamp(3rem,12vh,4.5rem);display:flex;flex-direction:column;align-items:center;gap:.35rem;width:100%}.card-glyph.card-math-glyph .math-skill-card-icon{width:1em;height:1em;object-fit:contain;vertical-align:middle}.card-glyph.card-math-glyph .math-skill-card-title{color:var(--color-ink, #2D3436);font-family:var(--font-ui);font-size:clamp(.95rem,2.6vh,1.2rem);font-weight:700;line-height:1.2}.prompt-row{display:flex;align-items:center;justify-content:center;gap:.6rem}.btn-speak{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:2px solid rgba(108,92,231,.35);background:#fffdf7;border-radius:999px;width:2.4rem;height:2.4rem;display:inline-flex;align-items:center;justify-content:center;color:#6c5ce7;cursor:pointer;box-shadow:0 2px #6c5ce72e;transition:transform .08s ease;touch-action:manipulation;flex-shrink:0}.btn-speak .sketch-icon{width:1.25rem;height:1.25rem}.btn-speak:not(:disabled):active{transform:scale(.9)}.sum-objects{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.55rem;font-size:clamp(1.7rem,6vh,2.4rem);line-height:1.3}.sum-group{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:.15rem;max-width:200px}.takeaway-scene,.problem-scene{display:flex;flex-direction:column;align-items:center;gap:.8rem}.takeaway-objects,.problem-scene .sum-group{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:.35rem;max-width:420px;font-size:clamp(1.8rem,6.5vh,2.5rem);line-height:1.35}.obj-crossed{position:relative;opacity:.5}.obj-crossed:after{content:"";position:absolute;left:-8%;top:52%;width:116%;height:.14em;background:#d63031;border-radius:999px;transform:rotate(-18deg)}.takeaway-result{display:inline-flex;align-items:baseline;gap:.45rem;font-size:clamp(1.7rem,6vh,2.3rem);font-weight:700;color:#2d3436}.pattern-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.6rem}.pattern-tile{display:inline-flex;align-items:center;justify-content:center;min-width:3.1rem;height:3.1rem;padding:0 .5rem;font-size:1.8rem;background:#6c5ce717;border:2px solid rgba(108,92,231,.22);border-radius:14px}.pattern-num{font-size:1.6rem;font-weight:700;color:#2d3436}.pattern-q{background:#fff3cd;border-color:#e17055;color:#e17055;font-weight:800}.base-ten{display:flex;align-items:flex-end;justify-content:center;flex-wrap:wrap;gap:.55rem;padding:.5rem}.base-ten-rod{display:grid;grid-template-rows:repeat(10,.42rem);gap:2px;padding:3px;background:#74b9ff;border:2px solid #3888c9;border-radius:6px}.base-ten-rod i{background:#dfefff;border-radius:2px}.base-ten-unit{width:1.05rem;height:1.05rem;align-self:flex-end;background:#fdcb6e;border:2px solid #d9a63c;border-radius:50%}.coin-tray{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.35rem}.numberline-svg{width:min(100%,420px);height:auto;color:#2d3436}.balance-svg{width:min(78vw,320px);height:auto;color:#6c5ce7}.measure-bars{display:flex;flex-direction:column;gap:1rem;max-width:480px;margin:0 auto}.measure-row{display:flex;align-items:center;gap:.7rem}.measure-track{flex:1;height:2.1rem;background:#6c5ce714;border-radius:999px;overflow:hidden}.measure-bar{height:100%;border-radius:inherit;background:linear-gradient(90deg,#6c5ce7,#74b9ff);min-width:12%}.numpad-wrapper{display:flex;flex-direction:column;align-items:center;width:100%}.numpad-stage{display:flex;align-items:center;justify-content:center;gap:1.4rem;margin-bottom:.85rem;width:100%}.numpad-entry{display:flex;align-items:center;justify-content:center;min-width:6.8rem;height:4.6rem;padding:0 1.2rem;background:#fff;border:2.5px solid #262626;border-radius:12px;box-shadow:0 3px #262626;box-sizing:border-box}.numpad-display{display:inline-block;font-size:clamp(2.1rem,7vh,2.7rem);font-weight:800;color:#111;letter-spacing:.12em;line-height:1;text-align:center}.numpad-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;max-width:280px;margin:0 auto;width:100%}.numpad-key{-moz-appearance:none;appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;height:3.75rem;min-height:3.75rem;border:2px solid #262626;background:#fff;border-radius:12px;font-size:1.6rem;font-weight:800;color:#111;cursor:pointer;box-shadow:0 3px #262626;transition:transform .08s ease,box-shadow .08s ease,background-color .1s ease;touch-action:manipulation;-webkit-user-select:none;user-select:none}.numpad-key:hover:not(:disabled){background:#f4f4f5}.numpad-key:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px #262626}.numpad-fn{background:#f4f4f5;color:#3f3f46;font-size:1.35rem;font-weight:700}.numpad-fn:hover:not(:disabled){background:#e4e4e7}.numpad-back{font-size:1.5rem}.numpad-clear{font-size:1.35rem;font-weight:800}.numpad-entry.correct{background:#111;color:#fff}.numpad-entry.correct .numpad-display{color:#fff}.tap-count-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;max-width:640px;margin:0 auto}.count-object{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;position:relative;font-size:clamp(2rem,7vh,2.7rem);line-height:1.2;padding:.15rem;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation}.count-object.counted{cursor:default}.count-dot .math-object,.count-object .math-object{display:block;width:1em;height:1em;object-fit:contain;vertical-align:middle}.pattern-tile .pattern-object{width:1.8rem;height:1.8rem;object-fit:contain}.theory-obj .theory-object{width:1em;height:1em;object-fit:contain;vertical-align:middle}.theory-label .theory-object{width:1.35em;height:1.35em;object-fit:contain;vertical-align:middle}.math-skill-table-icon{width:1.15rem;height:1.15rem;object-fit:contain;vertical-align:middle}.math-skill-help-icon{width:1.25rem;height:1.25rem;object-fit:contain;vertical-align:middle}.count-stamp{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:.95rem;font-weight:800;color:#fff;text-shadow:0 0 4px #00b894,0 0 7px #00b894;animation:option-pop .3s ease;pointer-events:none}.option-hidden{visibility:hidden}.option-reveal{visibility:visible;animation:option-pop .35s ease}.math-btn-primary{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:linear-gradient(180deg,#7d71f0,#6c5ce7);color:#fff;font-size:clamp(1.3rem,5vh,1.8rem);font-weight:800;padding:.85rem 2.4rem;border-radius:999px;cursor:pointer;box-shadow:0 4px #4f44b3,0 8px 18px #6c5ce759;transition:transform .08s ease,box-shadow .08s ease;touch-action:manipulation;margin-top:1rem}.math-btn-primary:not(:disabled):active{transform:translateY(3px);box-shadow:0 1px #4f44b3}.retry-banner,.math-round-label{display:inline-block;background:#fff3cd;color:#946200;border-radius:999px;padding:.25rem 1rem;font-weight:700;font-size:1rem}.retry-banner{margin-bottom:.8rem}.slide-dots{display:flex;justify-content:center;gap:.45rem;margin:1rem 0 .2rem}.slide-dots .dot{width:.65rem;height:.65rem;border-radius:50%;background:#6c5ce738;transition:background .2s ease,transform .2s ease}.slide-dots .dot.active{background:#6c5ce7;transform:scale(1.25)}.theory-row,.theory-stack,.theory-stairs{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.55rem}.theory-count{display:inline-flex;flex-direction:column;align-items:center;gap:.1rem}.theory-obj{font-size:clamp(1.9rem,7vh,2.6rem);line-height:1.15}.obj-circled{border:3px solid #00b894;border-radius:50%;padding:.05em}.theory-num{font-size:1rem;font-weight:800;color:#6c5ce7}.theory-label{font-size:clamp(1.3rem,5vh,1.8rem);font-weight:800;color:#2d3436;background:#6c5ce717;border:2px solid rgba(108,92,231,.22);border-radius:999px;padding:.35rem 1.2rem}.theory-word{font-style:italic}.theory-symbols{display:flex;gap:1.2rem;flex-wrap:wrap;justify-content:center;font-size:clamp(1.8rem,7vh,2.5rem);font-weight:800;color:#2d3436}.theory-stair{display:inline-flex;align-items:center;justify-content:center;min-width:2.6rem;height:2.6rem;font-size:1.5rem;font-weight:700;color:#2d3436;background:#6c5ce717;border:2px solid rgba(108,92,231,.22);border-radius:12px}.theory-arrow{color:#6c5ce7;font-weight:800}.theory-shapes{display:flex;gap:.9rem;flex-wrap:wrap;justify-content:center}.theory-shape-card{display:flex;flex-direction:column;align-items:center;gap:.3rem;font-weight:700;color:#2d3436}.theory-shape-card .shape-svg{width:84px;height:84px}.coach-steps{list-style:none;counter-reset:step;max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:.45rem;text-align:left}.coach-steps li{counter-increment:step;display:flex;align-items:center;gap:.6rem;border-radius:12px;padding:.45rem .7rem;font-size:clamp(1.05rem,4vh,1.35rem);font-weight:600;transition:opacity .25s ease,transform .25s ease}.coach-steps li:before{content:counter(step);flex-shrink:0;width:1.6rem;height:1.6rem;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:.95rem;font-weight:800}.coach-steps li.revealed{background:#00b89414;border:2px solid rgba(0,184,148,.35);color:#00795c;animation:option-pop .3s ease}.coach-steps li.revealed:before{background:#00b894;color:#fff}.coach-steps li.pending{background:#6c5ce70d;border:2px dashed rgba(108,92,231,.18);color:transparent;-webkit-user-select:none;user-select:none}.coach-steps li.pending:before{background:#6c5ce726;color:#6c5ce7}.count-object.static,.order-chip.static{cursor:default}.btn-help{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:2px solid rgba(225,112,85,.5);background:#fff3cd;color:#e17055;width:2.4rem;height:2.4rem;border-radius:50%;font-size:1.35rem;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 2px #e1705540;transition:transform .08s ease;touch-action:manipulation;flex-shrink:0}.btn-help:not(:disabled):active{transform:scale(.9)}.help-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#2d343666;opacity:0;pointer-events:none;transition:opacity .25s ease;z-index:60}.help-backdrop.open{opacity:1;pointer-events:auto}.help-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(88vw,400px);background:#fffdf7;border-left:3px solid rgba(108,92,231,.25);box-shadow:-12px 0 32px #2d343640;padding:1rem 1.1rem 2rem;overflow-y:auto;transform:translate(105%);transition:transform .28s cubic-bezier(.22,1,.36,1);z-index:70}.help-drawer.open{transform:translate(0)}.help-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.help-header h3{font-size:1.3rem;color:#2d3436}.help-example{margin-bottom:1rem}.help-speak{margin-top:1rem}:root{--stage-max: 960px}.subject-cards{max-width:var(--stage-max)}.guided-deck-container.deck-count-3{max-width:var(--stage-max);margin-left:auto;margin-right:auto}.guided-deck-container.deck-count-2{max-width:860px}.math-screen{--math-line: #c7ccd1;--math-mid: #9aa4ae;--math-soft: #eceff1;--math-ink: #2f3640;--math-slate: #5b636b}.math-screen .math-progress-track{background:transparent;border:2px solid var(--math-line);height:12px}.math-screen .math-progress-fill{background:var(--math-mid)}.math-screen .math-progress-label{color:var(--math-ink)}.math-screen .math-round-label,.math-screen .retry-banner{background:var(--math-soft);color:var(--math-slate)}.math-screen .btn-speak{border-color:var(--math-line);color:var(--math-slate);box-shadow:0 2px #00000014}.math-screen .btn-help{border-color:var(--math-line);background:var(--math-soft);color:var(--math-slate);box-shadow:0 2px #00000014}.math-screen .math-op{color:var(--math-mid)}.math-screen .math-blank{border-bottom-color:var(--math-mid)}.math-screen .option-btn{border-color:var(--math-line);box-shadow:0 3px #0000001a}.math-screen .option-btn.correct{background:var(--math-slate);border-color:var(--math-slate);color:#fffdf7}.math-screen .option-btn.wrong{border-color:var(--math-mid);color:var(--math-slate)}.math-screen .order-chip{border-color:var(--math-line);box-shadow:0 4px #0000001a}.math-screen .order-chip.done{background:#dfe3e6;border-color:var(--math-mid);color:var(--math-ink)}.math-screen .order-chip.wrong-flash{border-color:var(--math-slate);color:var(--math-ink);background:var(--math-soft)}.math-screen .order-slot-placeholder{background:#0000002e}.math-screen .numpad-key{border-color:var(--math-line);color:var(--math-ink);box-shadow:0 3px 0 var(--math-line)}.math-screen .numpad-fn{background:var(--math-soft);color:var(--math-mid)}.math-screen .numpad-back{color:var(--math-ink)}.math-screen .numpad-display{color:var(--math-ink);border:none}.math-screen .numpad-entry.correct{background:var(--math-ink);color:var(--math-paper)}.math-screen .numpad-entry.correct .numpad-display{color:var(--math-paper)}.math-screen .count-stamp{text-shadow:0 0 4px var(--math-slate),0 0 7px var(--math-slate)}.math-screen .math-btn-primary{background:linear-gradient(180deg,var(--math-slate),var(--math-ink));box-shadow:0 4px #262b30,0 8px 18px #0003}.math-screen .math-btn-primary:not(:disabled):active{box-shadow:0 1px #262b30}.math-screen .slide-dots .dot{background:#d3d7db}.math-screen .slide-dots .dot.active{background:var(--math-ink)}.math-screen .theory-label{background:var(--math-soft);border-color:var(--math-line)}.math-screen .theory-num,.math-screen .theory-arrow{color:var(--math-slate)}.math-screen .theory-stair,.math-screen .pattern-tile{background:var(--math-soft);border-color:var(--math-line)}.math-screen .pattern-q{background:var(--math-soft);border-color:var(--math-slate);color:var(--math-slate)}.math-screen .shape-svg{color:var(--math-slate)}.math-screen .compare-label{background:var(--math-soft);color:var(--math-slate)}.math-screen .coach-steps li.revealed{background:var(--math-soft);border-color:var(--math-mid);color:var(--math-ink)}.math-screen .coach-steps li.revealed:before{background:var(--math-ink);color:#fffdf7}.math-screen .coach-steps li.pending{background:#f6f7f8;border-color:#d3d7db}.math-screen .coach-steps li.pending:before{background:#d3d7db;color:var(--math-slate)}.math-screen .measure-bar{background:linear-gradient(90deg,var(--math-slate),var(--math-mid))}.math-screen .balance-svg{color:var(--math-slate)}.math-screen .obj-crossed:after{background:var(--math-slate)}.math-screen .obj-circled{border-color:var(--math-slate)}.math-screen .base-ten-rod{background:var(--math-mid);border-color:var(--math-slate)}.math-screen .base-ten-rod i{background:#f1f3f4}.math-screen .base-ten-unit{background:#dfe3e6;border-color:var(--math-mid)}.math-screen .help-drawer{border-left-color:var(--math-line)}@media (min-width: 900px) and (orientation: landscape){.math-screen .help-drawer{border:2px solid var(--math-line)}}@media (min-width: 900px) and (orientation: landscape){.math-content.split{flex-direction:row;align-items:stretch;gap:1.5rem}.math-content.split .lesson-stage{flex:1;min-width:0}.help-drawer{position:static;width:min(380px,34vw);height:auto;align-self:stretch;transform:none;box-shadow:none;border:2px solid rgba(108,92,231,.2);border-radius:24px}.help-backdrop{display:none}}.ab-layout{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;align-items:stretch}.ab-band{align-items:stretch}.ab-layout{width:100%;max-width:820px;margin:0 auto;gap:1.5rem}.ab-band>.ab-layout{max-height:none}.ab-column{display:flex;flex-direction:column;align-items:center;gap:.7rem}.ab-display{flex:1;width:100%;min-height:150px;display:flex;align-items:flex-end;justify-content:center}.ab-display .measure-track{width:100%}.ab-btn{width:100%;max-width:380px;margin:0 auto}.btn-icon-small.parent-hold-armed{position:relative;overflow:hidden}.btn-icon-small.parent-hold-armed:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#6c5ce759;transform-origin:left center;animation:parent-hold-fill var(--hold-ms, 1.5s) linear forwards}@keyframes parent-hold-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.vowel-card.letter-sound,.intro-letter-card.letter-sound{border:2px solid #111111;cursor:pointer;font:inherit;color:inherit}.say-hear{display:flex;justify-content:center;gap:.65rem;width:100%;margin-top:.25rem}.btn-say,.btn-hear{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:3rem;padding:.65rem .9rem;border-radius:16px;border:2px solid #111111;font-size:1rem;font-weight:700;cursor:pointer;box-shadow:none}.btn-say{background:#fff;color:#111}.btn-say:active{background:#f0f0f0}.btn-say.holding{background:#111;color:#fff;border-color:#111}.btn-say.holding .sketch-icon{color:#fff}.btn-hear{background:#fff;color:#111}.btn-hear:active{background:#f0f0f0}.btn-hear:disabled{opacity:.35;cursor:not-allowed}.btn-say .sketch-icon,.btn-hear .sketch-icon{width:1.25rem;height:1.25rem;flex-shrink:0}.oral-judge{display:flex;justify-content:center;gap:.5rem;width:100%;margin-top:.35rem}.oral-judge.judged{opacity:.45;pointer-events:none}.btn-oral{padding:.5rem .9rem;border-radius:10px;border:2px solid #111111;background:#fff;color:#111;font-weight:700;font-size:.9rem;cursor:pointer}.btn-oral:active{background:#111;color:#fff}.btn-oral:disabled{opacity:.4;cursor:not-allowed}.reading-activity{text-align:center;width:100%;max-width:560px;margin:0 auto;padding:.5rem 0}.activity-prompt{font-size:1.35rem;font-weight:700;color:#111;margin-bottom:.4rem}.activity-question{display:block;font-size:1.15rem;font-weight:700;color:#111;margin-top:.35rem}.activity-instruction{font-size:.95rem;color:#475569;margin:.25rem 0 .75rem}.activity-actions{display:flex;align-items:center;justify-content:center;gap:1rem;margin:.6rem 0 1.2rem}.btn-play-prompt{width:3.8rem;height:3.8rem;border-radius:50%;border:2px solid #111111;background:#111;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none;margin:0}.btn-play-prompt .sketch-icon{width:1.8rem;height:1.8rem;color:#fff}.btn-play-prompt:active{background:#333}.btn-activity-help{padding:.5rem 1.1rem;border-radius:999px;border:2px solid #555555;background:#fff;color:#333;font-weight:700;font-size:.9rem;cursor:pointer}.btn-activity-help:active{background:#f0f0f0}.activity-options,.build-tiles{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin:.75rem 0}.btn-activity-opt,.btn-syl-tile{min-width:4.8rem;padding:.85rem 1.15rem;border-radius:14px;border:2px solid #111111;background:#fff;color:#111;font-size:1.4rem;font-weight:700;cursor:pointer;box-shadow:none;transition:transform .1s ease}.btn-activity-opt:active:not(:disabled),.btn-syl-tile:active:not(:disabled){transform:scale(.97)}.btn-activity-opt.selected{border-color:#111;background:#111;color:#fff}.btn-activity-opt.selected span{color:#fff}.btn-activity-opt.correct,.btn-syl-tile.correct{border-color:#111;background:#111;color:#fff}.btn-activity-opt.wrong{border:2px dashed #888888;background:#f5f5f5;color:#888;opacity:.55;cursor:not-allowed;text-decoration:line-through}.comprehension-opt{display:flex;flex-direction:column;align-items:center;gap:.5rem;max-width:170px;padding:.75rem}.comprehension-opt img{width:100%;max-height:120px;object-fit:contain}.btn-syl-tile:disabled{opacity:.25;cursor:not-allowed;border-style:dashed;background:#f0f0f0}.build-slots{display:flex;justify-content:center;gap:.6rem;margin:1rem 0;font-size:1.8rem;font-weight:800;letter-spacing:.05em}.build-slot{min-width:2.5rem;border-bottom:3px solid #111111;padding:.25rem .5rem;text-align:center;color:#111;cursor:pointer;border-radius:6px;transition:background .15s ease,border-color .15s ease,color .15s ease}.build-slot.correct{border-bottom:3px solid #111111;background:#111;color:#fff}.build-slot.wrong{border-bottom:3px dashed #777777;color:#777;text-decoration:line-through;opacity:.65}.activity-confirm-row{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:1.25rem}.btn-activity-confirm,.btn-activity-correct{padding:.75rem 1.4rem;border-radius:14px;border:2px solid #111111;font-size:1.05rem;font-weight:700;cursor:pointer;box-shadow:none}.btn-activity-confirm{background:#111;color:#fff}.btn-activity-confirm:active:not(:disabled){background:#333}.btn-activity-confirm:disabled{opacity:.35;cursor:not-allowed}.btn-activity-confirm.correct{border-color:#111;background:#111;color:#fff}.btn-activity-confirm.wrong{border-color:#555;background:#f0f0f0;color:#111}.btn-activity-correct{background:#fff;color:#111}.btn-activity-correct:active:not(:disabled){background:#f0f0f0}.btn-activity-correct:disabled{opacity:.35;cursor:not-allowed}.activity-feedback{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem;padding:.85rem 1.2rem;border-radius:14px;border:2px solid #111111;background:#fff}.activity-feedback[hidden]{display:none!important}.activity-feedback-text{font-size:1.1rem;font-weight:700;color:#111}.btn-activity-continue{padding:.6rem 1.25rem;border-radius:12px;border:2px solid #111111;background:#111;color:#fff;font-size:1rem;font-weight:700;cursor:pointer}.btn-activity-continue:active{background:#333}.reading-content-notice{display:none!important}.activity-teaching-required{font-size:.85rem;color:#555;margin-top:.5rem;font-style:italic}.activity-audio-status{font-size:.95rem;color:#111;font-weight:600;padding:.5rem .75rem;border:2px solid #111111;border-radius:10px;background:#fff;margin-top:.6rem}.reading-audio-status{min-height:1.4em;margin:.65rem 0 0;color:#334155;font-size:.9rem;font-weight:600}.reading-audio-status[data-state=unavailable]{color:#7f1d1d}.reading-production{display:flex;flex-direction:column;align-items:center;gap:.75rem}.production-model{font-size:2.4rem;font-weight:800;color:#111;padding:.5rem 1.5rem;border:2px solid #111111;border-radius:16px;background:#fff;letter-spacing:.05em}.reading-ink-sample{border:2px solid #111111;border-radius:14px;background:#fff;width:100%;max-width:520px;height:160px;touch-action:none}.reading-typed-sample{border:2px solid #111111;border-radius:14px;background:#fff;width:100%;max-width:520px;font-size:1.4rem;padding:.75rem 1rem;font-family:inherit;color:#111;resize:none}.production-disclaimer,.production-paper-hint{font-size:.85rem;color:#555;text-align:center}.btn-production-save{padding:.75rem 1.5rem;border-radius:14px;border:2px solid #111111;background:#111;color:#fff;font-size:1.05rem;font-weight:700;cursor:pointer}.btn-production-save:disabled{opacity:.4;cursor:not-allowed}.tenframe-row{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}.tenframe{display:grid;grid-template-columns:repeat(5,1.6rem);grid-template-rows:repeat(2,1.6rem);gap:3px;padding:4px;border:2px solid currentColor;border-radius:6px}.tenframe-cell{border:1px solid rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center}.tenframe-cell .sketch-image,.tenframe-cell .math-object{width:1.2rem;height:1.2rem}.clock-svg{width:160px;height:160px}.profile-row{display:flex;flex-wrap:wrap;gap:.5rem}.profile-chip{padding:.45rem .9rem;border-radius:999px;border:2px solid #dfe6e9;background:#fff;font-weight:600;cursor:pointer}.profile-chip.active{border-color:#6c5ce7;background:#f3f0ff}.profile-chip.add{border-style:dashed}.dash-profiles{margin:1.25rem 0}.sound-variants{display:flex;flex-direction:column;gap:.6rem;width:100%;margin-top:.65rem}.sound-variant{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;text-align:left;padding:.8rem 1.1rem;border:2px solid #111111;border-radius:14px;background:#fff;box-shadow:none;cursor:pointer;font:inherit;color:inherit}.sound-variant strong{display:inline-flex;align-items:center;gap:.4rem;color:#111;font-size:1.1rem}.sound-variant strong .sketch-icon{width:1.15rem;height:1.15rem;flex-shrink:0}.sound-variant span{font-size:.85rem;color:#475569;line-height:1.35}.sound-variant:active{transform:scale(.98);background:#f0f0f0}.audio-studio{flex:1;min-height:0;height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;background:var(--color-bg, #f8fafc);padding-bottom:calc(2.5rem + env(safe-area-inset-bottom))}.audio-studio-header{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:var(--color-card, #fff);border-bottom:1px solid var(--color-card-border, #e2e8f0);position:sticky;top:0;z-index:5}.audio-studio-heading{flex:1;min-width:0}.audio-studio-title{margin:0;font-size:1.15rem}.audio-studio-progress{margin:0;font-weight:800;color:#6c5ce7;white-space:nowrap}.audio-studio-lead,.audio-studio-error,.audio-studio-done{margin:.75rem 1rem 0;font-size:.92rem;line-height:1.45;color:#475569}.audio-studio-error{color:#b91c1c}.audio-studio-done{color:#047857;font-weight:700}.audio-studio-list{padding:.5rem 1rem 1.5rem}.audio-studio-group{margin-top:1.25rem}.audio-studio-group-title{margin:0 0 .6rem;font-size:.95rem;color:#334155}.audio-clip-card{display:flex;gap:.85rem;background:var(--color-surface, #fff);border-radius:16px;box-shadow:0 4px 16px #2d343614;padding:.85rem;margin-bottom:.7rem}.audio-clip-card.is-saved{box-shadow:0 0 0 2px #10b98159}.audio-clip-card.is-recording{box-shadow:0 0 0 3px #dc262673}.audio-clip-glyph{flex:0 0 3.2rem;width:3.2rem;height:3.2rem;border-radius:12px;background:#f3f0ff;color:#6c5ce7;font-size:1.6rem;font-weight:800;display:flex;align-items:center;justify-content:center}.audio-clip-body{flex:1;min-width:0}.audio-clip-title{margin:0 0 .2rem;font-size:1.05rem}.audio-clip-covers,.audio-clip-how,.audio-clip-ex{margin:0 0 .35rem;font-size:.85rem;line-height:1.4;color:#475569}.audio-clip-ex span{font-weight:700;color:#64748b}.audio-clip-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin-top:.45rem}.btn-audio-rec,.btn-audio-play{border:none;border-radius:999px;padding:.55rem .9rem;font:inherit;font-weight:700;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}.btn-audio-rec{background:#6c5ce7;color:#fff}.btn-audio-rec.is-holding,.audio-clip-card.is-recording .btn-audio-rec{background:#dc2626}.btn-audio-play{background:#eef2ff;color:#4338ca}.btn-audio-play:disabled{opacity:.45;cursor:default}.audio-clip-status{font-size:.8rem;font-weight:700;color:#94a3b8}.audio-clip-card.is-saved .audio-clip-status{color:#047857}.dash-badge-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.35rem;flex-wrap:wrap}.dash-badge{display:inline-flex;align-items:center;gap:.35rem;background:#ede9fe;color:#6d28d9;font-size:.72rem;font-weight:800;letter-spacing:.05em;padding:.2rem .6rem;border-radius:999px}.dash-student-pill{display:inline-flex;align-items:center;gap:.3rem;background:#e0f2fe;color:#0369a1;font-size:.78rem;font-weight:700;padding:.2rem .65rem;border-radius:999px}.dash-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.85rem;margin-bottom:1.25rem}.dash-kpi-card{background:var(--color-surface, #ffffff);border-radius:18px;padding:1rem;display:flex;align-items:center;gap:.85rem;box-shadow:0 4px 16px #2d34360f;border:1px solid rgba(148,163,184,.12);transition:transform .2s ease}.dash-kpi-icon{width:2.2rem;height:2.2rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.dash-kpi-icon .sketch-image,.dash-kpi-icon .sketch-icon-svg{width:100%;height:100%}.dash-kpi-body{display:flex;flex-direction:column}.dash-kpi-value{font-size:1.35rem;font-weight:800;color:#2d3436;line-height:1.2}.dash-kpi-label{font-size:.76rem;font-weight:600;color:#64748b;margin-top:.15rem}.dash-nav-tabs,.dev-nav-tabs{display:flex;gap:.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:.35rem .2rem .85rem;margin-bottom:.5rem;scrollbar-width:none}.dash-nav-tabs::-webkit-scrollbar,.dev-nav-tabs::-webkit-scrollbar{display:none}.dash-tab-btn,.dev-tab-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.65rem 1.1rem;background:var(--color-surface, #ffffff);border:1px solid rgba(148,163,184,.2);border-radius:999px;font-size:.88rem;font-weight:700;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .2s ease;box-shadow:0 2px 8px #2d34360a}.dash-tab-btn:hover,.dev-tab-btn:hover{color:#2d3436;border-color:#cbd5e1}.dash-tab-btn.active,.dev-tab-btn.active{background:#6c5ce7;color:#fff;border-color:#6c5ce7;box-shadow:0 4px 14px #6c5ce74d}.dash-tab-icon,.dev-tab-icon{width:1.1rem;height:1.1rem;display:inline-flex}.dash-tab-icon .sketch-image,.dev-tab-icon .sketch-image{width:100%;height:100%}.dev-tab-count{background:#ffffff38;color:inherit;font-size:.72rem;padding:.1rem .45rem;border-radius:999px}.dev-tab-btn:not(.active) .dev-tab-count{background:#f1f5f9;color:#64748b}.dash-section-intro,.dev-section-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.dash-intro-text h2,.dev-section-header h2{font-size:1.15rem;font-weight:800;color:#2d3436;margin:0}.dash-intro-text p,.dev-section-header p{font-size:.85rem;color:#64748b;margin:.25rem 0 0}.dash-stat-chips{display:flex;gap:.4rem;flex-wrap:wrap}.dash-chip{padding:.25rem .7rem;border-radius:999px;font-size:.78rem;font-weight:700}.dash-chip.ok{background:#d1fae5;color:#047857}.dash-chip.soon{background:#e0f2fe;color:#0369a1}.dash-item-cell{display:flex;align-items:center;gap:.65rem}.dash-glyph-preview{font-size:1.5rem;width:2.2rem;height:2.2rem;display:flex;align-items:center;justify-content:center;background:#f8fafc;border-radius:8px;color:#2d3436}.dash-glyph-preview.word-glyph{font-size:1.15rem;width:auto;padding:0 .5rem}.dash-reading-num{font-size:.85rem;font-weight:800;color:#6c5ce7;background:#ede9fe;padding:.2rem .5rem;border-radius:6px}.dash-reading-titles,.dash-math-titles{display:flex;flex-direction:column}.dash-reading-titles strong,.dash-math-titles strong{font-size:.92rem;color:#2d3436}.dash-reading-titles span,.dash-math-titles span{font-size:.78rem;color:#94a3b8}.dash-math-icon{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.math-skill-glyph-sm{width:1.6rem;height:1.6rem}.dash-level-pill{display:inline-flex;flex-direction:column;gap:.1rem}.level-dots{letter-spacing:.1em;color:#6c5ce7;font-size:.85rem}.level-num{font-size:.72rem;color:#94a3b8;font-weight:600}.dash-stars{font-size:.95rem}.dash-score-cell{display:flex;flex-direction:column;gap:.2rem}.dash-score-value{font-size:.88rem;font-weight:700}.dash-score-value.good{color:#059669}.dash-score-value.mid{color:#d97706}.dash-score-value.low{color:#dc2626}.dash-mini-bar{width:55px;height:4px;background:#e2e8f0;border-radius:999px;overflow:hidden}.dash-mini-fill{height:100%;background:#10b981;border-radius:999px}.dash-due-badge{padding:.2rem .65rem;border-radius:999px;font-size:.76rem;font-weight:700}.dash-due-badge.dash-due-new{background:#e0e7ff;color:#4338ca}.dash-due-badge.dash-due-ok{background:#d1fae5;color:#047857}.dash-due-badge.dash-due-soon{background:#fef3c7;color:#b45309}.dash-due-badge.dash-due-overdue{background:#fee2e2;color:#b91c1c}.dash-empty-state{text-align:center;padding:3rem 1.5rem;background:var(--color-surface, #ffffff);border-radius:18px;box-shadow:0 4px 16px #2d34360d}.dash-empty-state p{font-size:1.05rem;font-weight:700;color:#2d3436;margin:0 0 .4rem}.dash-empty-state span{font-size:.85rem;color:#64748b}.dash-modes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.85rem;margin-bottom:1.25rem}.dash-mode-card{background:var(--color-surface, #ffffff);border:2px solid rgba(148,163,184,.2);border-radius:16px;padding:1rem;cursor:pointer;display:flex;gap:.75rem;transition:all .2s ease}.dash-mode-card input{margin-top:.2rem}.dash-mode-card.selected{border-color:#6c5ce7;background:#fbfbfe;box-shadow:0 4px 14px #6c5ce71f}.mode-card-body strong{display:block;font-size:.92rem;color:#2d3436;margin-bottom:.25rem}.mode-card-body p{font-size:.8rem;color:#64748b;margin:0;line-height:1.35}.dash-goals-panel,.dash-chart-card,.dash-card-section{background:var(--color-surface, #ffffff);border-radius:18px;padding:1.25rem;margin-bottom:1.25rem;box-shadow:0 4px 16px #2d34360f}.dash-goals-header h3,.dash-chart-header h3,.dash-card-section h3{font-size:1.05rem;font-weight:800;color:#2d3436;margin:0 0 .25rem}#dash-compatible-speed{display:block;width:100%;min-height:48px;margin-top:8px;padding:10px;border:2px solid #111;border-radius:8px;background:#fff;color:#111;font:inherit}.dash-goals-header p,.dash-chart-sub,.dash-section-sub{font-size:.82rem;color:#64748b;margin:0 0 1rem}.dash-goals-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem;margin-bottom:1rem}.dash-goal-row{display:flex;flex-direction:column;gap:.35rem;background:#f8fafc;padding:.75rem;border-radius:12px}.goal-day-name{font-size:.8rem;font-weight:700;color:#475569}.goal-input-group{display:flex;align-items:center;gap:.35rem}.dash-goal-input{width:60px;padding:.35rem .5rem;border:1px solid #cbd5e1;border-radius:8px;font-size:.95rem;font-weight:700;text-align:center}.goal-unit-label{font-size:.78rem;color:#94a3b8}.dash-toggle-row{display:flex;align-items:center;gap:.65rem;font-size:.88rem;font-weight:600;color:#2d3436;cursor:pointer;margin-top:.5rem}.dash-card-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.profiles-list-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.profile-card{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border:2px solid transparent;border-radius:14px;padding:.85rem;transition:all .2s ease}.profile-card.active{border-color:#6c5ce7;background:#ede9fe}.profile-card-left{display:flex;align-items:center;gap:.75rem}.profile-avatar{width:2.2rem;height:2.2rem;border-radius:50%;background:#6c5ce7;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1rem}.profile-info strong{display:block;font-size:.92rem;color:#2d3436}.profile-info span{font-size:.75rem;color:#64748b}.btn-switch-profile{background:var(--color-surface, #ffffff);border:1px solid #cbd5e1;border-radius:999px;padding:.35rem .8rem;font-size:.78rem;font-weight:700;color:#475569;cursor:pointer}.profile-card.active .btn-switch-profile{background:#6c5ce7;color:#fff;border-color:#6c5ce7}.btn-small-action{background:#6c5ce7;color:#fff;border:none;border-radius:999px;padding:.4rem .9rem;font-size:.8rem;font-weight:700;cursor:pointer}.dash-action-buttons-row{display:flex;gap:.75rem;flex-wrap:wrap}.btn-outline-action{background:var(--color-surface, #ffffff);border:1px solid #cbd5e1;border-radius:12px;padding:.65rem 1.1rem;font-size:.88rem;font-weight:700;color:#334155;cursor:pointer;transition:background .2s ease}.btn-outline-action:hover{background:#f1f5f9}.btn-outline-action:disabled,.btn-small-action:disabled,.btn-table-action:disabled{opacity:.6;cursor:not-allowed}.dash-section-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.offline-pack-list{display:grid;gap:.75rem}.offline-pack-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(170px,.9fr) auto;align-items:center;gap:.9rem;padding:.9rem;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.offline-pack-copy,.offline-pack-progress{display:grid;gap:.2rem;min-width:0}.offline-pack-copy strong{color:#2d3436;font-size:.92rem}.offline-pack-copy span,.offline-pack-metrics,.offline-pack-status,.offline-update-note{color:#64748b;font-size:.78rem}.offline-pack-status{font-weight:700}.offline-pack-error{color:#b91c1c!important;overflow-wrap:anywhere}.offline-pack-progress progress{width:100%;height:.65rem;accent-color:#6c5ce7}.offline-pack-progress span{color:#64748b;font-size:.72rem;text-align:right}.offline-update-note{margin:.8rem 0 0}.btn-table-action{background:#ede9fe;border:1px solid #c4b5fd;border-radius:9px;padding:.4rem .65rem;color:#5b21b6;font-size:.75rem;font-weight:700;cursor:pointer}.math-practice-section{margin-top:1.25rem}.parent-lesson-section{margin-bottom:1.5rem}.parent-lesson-notice{margin:0;color:#334155;font-size:.9rem}.parent-lesson-notice:not(:empty){padding:.75rem 0}.parent-lesson-group+.parent-lesson-group{margin-top:1.5rem}.parent-lesson-group h4{margin:1rem 0 .65rem;font-size:1rem}.parent-lesson-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:.75rem}.parent-lesson-card{display:flex;flex-direction:column;gap:.9rem;min-width:0;padding:1rem;border:1px solid #cbd5e1;border-radius:12px;background:#fff}.parent-lesson-title{display:flex;align-items:center;gap:.75rem;flex:1;overflow-wrap:anywhere}.parent-lesson-title img{flex-shrink:0}.parent-lesson-title strong,.parent-lesson-title small{display:block}.parent-lesson-title small,.parent-lesson-source{margin-top:.25rem;color:#475569;font-size:.8rem}.parent-lesson-glyph{font-size:1.7rem;max-width:45%}.parent-lesson-actions{display:grid;gap:.5rem}.parent-lesson-actions button{min-height:44px;padding:.5rem .75rem;border:1px solid #334155;border-radius:8px;background:#fff;color:#1e293b;font:inherit;font-size:.85rem;cursor:pointer}.parent-lesson-actions button:first-child{background:#f1f5f9;font-weight:700}.parent-lesson-actions button:disabled{border-color:#cbd5e1;color:#64748b;background:#f8fafc;cursor:default}.parent-lesson-card:focus,.parent-lesson-actions button:focus-visible{outline:2px solid #334155;outline-offset:3px}.math-practice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.55rem}.math-practice-choice{display:flex;align-items:center;gap:.55rem;min-width:0;padding:.65rem .7rem;border:1px solid #ddd6fe;border-radius:12px;background:#faf5ff;color:#334155;text-align:left;cursor:pointer}.math-practice-choice:hover{background:#ede9fe}.math-practice-choice .math-skill-glyph-sm{width:1.8rem;height:1.8rem;flex:0 0 auto}.math-practice-choice span{display:grid;gap:.1rem;min-width:0}.math-practice-choice strong,.math-practice-choice small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.math-practice-choice strong{font-size:.78rem}.math-practice-choice small{color:#64748b;font-size:.7rem}@media (max-width: 680px){.offline-pack-row{grid-template-columns:1fr}.offline-pack-progress span{text-align:left}}.btn-danger-action{background:#fee2e2;border:1px solid #fca5a5;border-radius:12px;padding:.65rem 1.1rem;font-size:.85rem;font-weight:700;color:#b91c1c;cursor:pointer;transition:background .2s ease}.btn-danger-action:hover{background:#fecaca}.danger-section{border-left:4px solid #ef4444}.dash-footer{margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(148,163,184,.2)}.dash-dev-banner{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:16px;padding:1rem 1.25rem;gap:1rem;flex-wrap:wrap}.dash-dev-info strong{display:block;font-size:.92rem;color:#334155}.dash-dev-info span{font-size:.8rem;color:#64748b}.btn-dev-action{display:inline-flex;align-items:center;gap:.45rem;background:#334155;color:#fff;border:none;border-radius:999px;padding:.65rem 1.2rem;font-size:.85rem;font-weight:700;cursor:pointer;transition:background .2s ease}.btn-dev-action:hover{background:#1e293b}.dev-screen{height:100vh;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#f8fafc;padding:1.25rem;max-width:960px;margin:0 auto}.dev-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;gap:1rem;flex-wrap:wrap}.dev-header-left{display:flex;align-items:center;gap:.85rem}.dev-badge{display:inline-flex;align-items:center;gap:.35rem;background:#fef3c7;color:#b45309;font-size:.72rem;font-weight:800;padding:.2rem .6rem;border-radius:999px;margin-bottom:.25rem}.dev-title{font-size:1.35rem;font-weight:800;color:#0f172a;margin:0}.dev-header-actions{display:flex;align-items:center;gap:.65rem}.dev-search-box input{padding:.5rem .85rem;border:1px solid #cbd5e1;border-radius:999px;font-size:.85rem;background:#fff;outline:none;min-width:190px}.dev-search-box input:focus{border-color:#6c5ce7;box-shadow:0 0 0 3px #6c5ce726}.dev-tools-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:.85rem;margin-bottom:1.25rem}.dev-tool-card{background:var(--color-surface, #ffffff);border:2px solid #e2e8f0;border-radius:18px;padding:1.1rem;display:flex;align-items:center;gap:1rem;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 16px #0f172a0a}.dev-tool-card:hover{border-color:#6c5ce7;transform:translateY(-2px);box-shadow:0 6px 20px #6c5ce71f}.dev-tool-icon{width:2.8rem;height:2.8rem;display:flex;align-items:center;justify-content:center;background:#ede9fe;border-radius:14px;flex-shrink:0}.dev-tool-icon .sketch-image{width:1.6rem;height:1.6rem}.dev-tool-info{display:flex;flex-direction:column;flex:1}.dev-tool-title{font-size:.98rem;font-weight:800;color:#0f172a}.dev-tool-desc{font-size:.78rem;color:#64748b;margin-top:.15rem}.dev-tool-action{font-size:.8rem;font-weight:800;color:#6c5ce7;white-space:nowrap}.dev-catalog-group{margin-bottom:1.5rem}.dev-group-title{font-size:.95rem;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.04em;margin:0 0 .75rem .2rem}.dev-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.75rem}.dev-catalog-card{background:var(--color-surface, #ffffff);border-radius:16px;padding:.85rem;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.5rem;box-shadow:0 2px 10px #0f172a0d;border:1px solid #e2e8f0}.dev-catalog-card.dev-word-card{align-items:stretch}.dev-card-preview{font-size:2.2rem;color:#0f172a;height:50px;display:flex;align-items:center;justify-content:center}.dev-card-preview.word-preview{font-size:1.5rem}.dev-card-info{display:flex;flex-direction:column;gap:.15rem;width:100%}.dev-card-title{font-size:.88rem;font-weight:800;color:#1e293b}.dev-card-sub{font-size:.72rem;color:#94a3b8}.dev-status-pill{font-size:.7rem;font-weight:700;padding:.15rem .5rem;border-radius:999px;align-self:center;margin-top:.25rem}.dev-status-pill.ok{background:#d1fae5;color:#047857}.dev-status-pill.pending{background:#fee2e2;color:#b91c1c}.dev-btn-test{width:100%;background:#6c5ce7;color:#fff;border:none;border-radius:10px;padding:.45rem .75rem;font-size:.78rem;font-weight:700;cursor:pointer;transition:background .2s ease;margin-top:.35rem}.dev-btn-test:hover{background:#5a4bcf}.dev-reading-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.85rem}.dev-reading-card{background:var(--color-surface, #ffffff);border-radius:16px;padding:1rem;box-shadow:0 3px 12px #0f172a0d;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.75rem}.dev-reading-badge{font-size:.75rem;font-weight:800;color:#6c5ce7;background:#ede9fe;padding:.2rem .6rem;border-radius:999px;align-self:flex-start}.dev-reading-title{font-size:.95rem;font-weight:800;color:#0f172a;margin:0}.dev-reading-sub{font-size:.82rem;color:#64748b;margin:.15rem 0 .35rem}.dev-reading-words{font-size:.78rem;color:#475569;margin:0 0 .35rem;background:#f8fafc;padding:.35rem .5rem;border-radius:8px}.dev-reading-meta{font-size:.72rem;color:#94a3b8;margin:0}.dev-math-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:.85rem}.dev-math-card{background:var(--color-surface, #ffffff);border-radius:16px;padding:1rem;box-shadow:0 3px 12px #0f172a0d;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.75rem}.dev-math-header{display:flex;align-items:center;gap:.75rem}.dev-trilho-tag{font-size:.7rem;font-weight:700;color:#0369a1;background:#e0f2fe;padding:.15rem .5rem;border-radius:999px}.dev-math-title{font-size:.92rem;font-weight:800;color:#0f172a;margin:.2rem 0 0}.dev-math-desc{font-size:.8rem;color:#64748b;margin:0;line-height:1.35;flex:1}.dev-math-footer{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding-top:.5rem;border-top:1px solid #f1f5f9}.dev-diff-selector{display:flex;align-items:center;gap:.25rem}.dev-diff-label{font-size:.7rem;color:#94a3b8;font-weight:600}.dev-diff-btn{width:22px;height:22px;border-radius:50%;border:1px solid #cbd5e1;background:#f8fafc;font-size:.72rem;font-weight:700;color:#475569;cursor:pointer;display:flex;align-items:center;justify-content:center}.dev-diff-btn.active{background:#6c5ce7;color:#fff;border-color:#6c5ce7}.dev-math-footer .dev-btn-test{width:auto;margin:0;padding:.35rem .85rem}.dev-tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.dev-action-card{background:var(--color-surface, #ffffff);border-radius:18px;padding:1.25rem;box-shadow:0 4px 16px #0f172a0d;border:1px solid #e2e8f0;display:flex;gap:1rem}.dev-action-card.danger{border-left:4px solid #ef4444}.dev-action-icon{width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.dev-action-body{flex:1}.dev-action-body h3{font-size:1rem;font-weight:800;color:#0f172a;margin:0 0 .25rem}.dev-action-body p{font-size:.82rem;color:#64748b;margin:0 0 .85rem;line-height:1.35}.dev-action-button{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:10px;padding:.55rem 1rem;font-size:.82rem;font-weight:700;color:#334155;cursor:pointer;transition:all .2s ease}.dev-action-button.btn-primary-dev{background:#6c5ce7;color:#fff;border-color:#6c5ce7}.dev-action-button.btn-danger-dev{background:#fee2e2;color:#b91c1c;border-color:#fca5a5}.dev-sound-buttons{display:flex;gap:.4rem;flex-wrap:wrap}.btn-sound-test{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;padding:.35rem .65rem;font-size:.75rem;font-weight:700;color:#475569;cursor:pointer}.btn-sound-test:hover{background:#ede9fe;color:#6c5ce7;border-color:#6c5ce7}.dev-empty{text-align:center;color:#94a3b8;padding:2.5rem 1rem;font-size:.9rem}.slot-star-cell.dev-clickable{cursor:pointer;position:relative;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.slot-star-cell.dev-clickable:hover{border-color:#2563eb;transform:scale(1.12);box-shadow:0 4px 12px #2563eb33}.dev-star-hint{position:absolute;right:0;bottom:-1.3rem;display:inline-flex;align-items:center;font-size:.72rem;color:#475569;font-weight:600;padding:.15rem .5rem;background:#94a3b833;border-radius:999px;-webkit-user-select:none;user-select:none;pointer-events:none}.dev-score-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;align-items:center;justify-content:center;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:1rem}.dev-modal-card{background:#fff;border-radius:20px;max-width:720px;width:100%;max-height:88vh;overflow-y:auto;box-shadow:0 25px 60px #00000059;padding:1.5rem;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#1e293b;text-align:left}.dev-modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;border-bottom:1px solid #e2e8f0;padding-bottom:.75rem}.dev-modal-tag{font-size:.68rem;font-weight:700;letter-spacing:.05em;color:#2563eb;text-transform:uppercase;margin-bottom:.2rem}.dev-modal-title{margin:0;font-size:1.25rem;font-weight:700;color:#0f172a}.dev-modal-close{background:transparent;border:none;font-size:1.75rem;line-height:1;color:#64748b;cursor:pointer;padding:.2rem .5rem;border-radius:8px;transition:background .15s ease,color .15s ease}.dev-modal-close:hover{background:#f1f5f9;color:#0f172a}.dev-modal-tabs{display:flex;gap:.5rem;margin-bottom:1.25rem;flex-wrap:wrap}.dev-modal-tab{padding:.4rem .85rem;border-radius:999px;border:1px solid #cbd5e1;background:#f8fafc;color:#475569;font-size:.85rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:.35rem;transition:all .15s ease}.dev-modal-tab:hover{border-color:#94a3b8;background:#f1f5f9}.dev-modal-tab.active{background:#0f172a;border-color:#0f172a;color:#fff}.dev-modal-tab .tab-stars{color:#eab308;font-weight:700}.dev-modal-tab.active .tab-stars{color:#facc15}.dev-summary-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin-bottom:1.25rem}.dev-sum-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem 1rem;display:flex;flex-direction:column}.dev-sum-label{font-size:.72rem;font-weight:700;color:#64748b;text-transform:uppercase;margin-bottom:.3rem}.dev-sum-val{font-size:1.35rem;font-weight:800;color:#0f172a;display:flex;align-items:center;gap:.35rem}.dev-sum-val.star-val{color:#d97706}.dev-sum-sub{font-size:.75rem;color:#64748b;margin-top:.25rem}.dev-section{margin-bottom:1.25rem;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.15rem}.dev-section-title{margin:0 0 .75rem;font-size:.88rem;font-weight:700;color:#334155;display:flex;justify-content:space-between;align-items:center}.dev-grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.6rem}.dev-grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem}.dev-cell{background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;padding:.6rem .75rem;display:flex;flex-direction:column}.dev-cell.cell-warn{background:#fff7ed;border-color:#ffedd5}.dev-cell.cell-fail{background:#fef2f2;border-color:#fee2e2}.cell-label{font-size:.72rem;color:#64748b;font-weight:600;margin-bottom:.2rem}.cell-val{font-size:1.05rem;font-weight:700;color:#0f172a}.cell-val small{font-size:.75rem;font-weight:500;color:#64748b}.cell-sub{font-size:.7rem;color:#64748b;margin-top:.2rem}.dev-badge{display:inline-block;font-size:.72rem;font-weight:700;padding:.2rem .55rem;border-radius:6px;line-height:1.2}.badge-green{background:#dcfce7;color:#15803d}.badge-red{background:#fee2e2;color:#b91c1c}.badge-yellow{background:#fef3c7;color:#b45309}.badge-blue{background:#e0f2fe;color:#0369a1}.text-green{color:#16a34a!important}.text-blue{color:#2563eb!important}.text-red{color:#dc2626!important}.dev-table{width:100%;border-collapse:collapse;font-size:.82rem}.dev-table th{text-align:left;padding:.4rem .6rem;color:#64748b;font-weight:600;border-bottom:1px solid #e2e8f0}.dev-table td{padding:.5rem .6rem;border-bottom:1px solid #f1f5f9}.dev-modal-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem}.btn-dev-copy{padding:.55rem 1.1rem;border-radius:10px;background:#f1f5f9;border:1px solid #cbd5e1;color:#334155;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .15s ease}.btn-dev-copy:hover{background:#e2e8f0;color:#0f172a}.btn-dev-close-action{padding:.55rem 1.25rem;border-radius:10px;background:#0f172a;border:none;color:#fff;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .15s ease}.btn-dev-close-action:hover{background:#334155}.dev-modal-empty{padding:2.5rem 1rem;text-align:center;color:#64748b}.dev-modal-hint{font-size:.85rem;color:#94a3b8;margin-top:.5rem}@media (max-height: 480px) and (orientation: landscape){.worksheet-container{justify-content:flex-start;gap:.2rem;overflow-y:auto}.writing-stage.multi-slot-stage{flex:0 1 min(48dvh,205px);max-height:min(48dvh,205px)}.slot-stars-row{margin-block:0;min-height:1.9rem}.controls-bar{flex:0 0 auto}}@media (max-width: 480px) and (orientation: portrait){.writing-stage.multi-slot-stage{flex:0 1 auto}.controls-bar{flex-wrap:wrap;height:auto;min-height:58px;padding-bottom:max(.25rem,env(safe-area-inset-bottom))}}.math-screen,.math-screen *{animation:none!important;transition:none!important}.math-screen{--math-ink: #111111;--math-mid: #5a5a5a;--math-line: #111111;--math-paper: #ffffff;--math-soft: #f0f0f0;height:100%;overflow:hidden;display:flex;flex-direction:column;background:var(--math-paper);color:var(--math-ink)}.math-screen .math-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.math-screen .btn-back,.math-screen .btn-speak,.math-screen .btn-help,.math-screen .math-btn-primary,.math-screen .option-btn,.math-screen .order-chip,.math-screen .numpad-key,.math-screen .pen-tool,.math-screen .pen-digit,.math-screen .pen-candidate,.math-screen .ab-btn{box-shadow:none!important;filter:none!important}.math-screen .math-object,.math-screen .sketch-image.math-object,.math-screen .count-dot .sketch-image,.math-screen .tap-count-grid .sketch-image{width:3.1rem;height:3.1rem}.math-screen .tenframe-row{flex-shrink:0;max-height:none}.math-screen .tenframe{grid-template-columns:repeat(5,3.6rem);grid-template-rows:repeat(2,3.6rem);gap:4px;padding:6px;width:max-content;max-width:100%;border:3px solid #111}.math-screen .tenframe-cell{min-width:0;min-height:0;width:100%;height:100%;padding:0;margin:0;border:2px solid #111;background:#fff;-moz-appearance:none;appearance:none;-webkit-appearance:none;font:inherit;color:inherit}.math-screen .tenframe-cell .sketch-image,.math-screen .tenframe-cell .math-object{width:2.2rem;height:2.2rem}.math-screen .option-btn,.math-screen .numpad-key,.math-screen .order-chip,.math-screen .math-btn-primary{min-height:4rem;font-size:1.45rem}.math-screen .option-btn.correct,.math-screen .pen-box.correct .pen-digit{outline:4px solid var(--math-ink);background:var(--math-ink);color:var(--math-paper)}.math-screen .option-btn.wrong{opacity:.35;outline:3px solid var(--math-ink)}.math-screen .help-drawer,.math-screen .help-backdrop{transform:none!important}.pen-box{display:flex;flex-direction:column;align-items:center;gap:.7rem;width:100%}.pen-box-stage{display:flex;align-items:center;justify-content:center;gap:1.4rem;width:100%}.pen-side-btn{display:inline-flex;align-items:center;justify-content:center;width:4.2rem;height:4.2rem;padding:0;border:none;background:transparent;color:var(--math-ink, #111);cursor:pointer;box-shadow:none;touch-action:manipulation;-webkit-user-select:none;user-select:none;flex-shrink:0;transition:transform .12s cubic-bezier(.34,1.56,.64,1),opacity .1s ease;outline:none}.pen-side-btn:hover:not(:disabled){transform:scale(1.08);opacity:.85}.pen-side-btn:active:not(:disabled){transform:scale(.92);opacity:.65}.pen-side-btn:focus-visible{outline:2px dashed var(--math-ink, #111);outline-offset:4px;border-radius:8px}.pen-side-btn:disabled{opacity:.25;cursor:not-allowed;transform:none}.pen-side-img{width:3.6rem;height:3.6rem;object-fit:contain;pointer-events:none;filter:grayscale(100%) contrast(1.1)}.pen-side-btn .sketch-icon{width:3.2rem;height:3.2rem;pointer-events:none}.pen-digit-row{display:flex;justify-content:center;gap:.7rem}.pen-digit{position:relative;display:block;box-sizing:border-box;width:7.2rem;height:7.2rem;padding:0;border:3px solid var(--math-ink, #111);background:#fff;border-radius:4px;cursor:crosshair;touch-action:none;user-select:none;-webkit-user-select:none}.pen-digit.active{outline:4px solid var(--math-ink, #111);outline-offset:3px}.pen-digit-canvas{display:block;width:100%;height:100%;touch-action:none}.pen-box-tools{display:flex;gap:.6rem}.pen-tool,.pen-candidate{min-height:3.2rem;min-width:5.5rem;padding:.4rem 1rem;border:2px solid #111;background:#fff;color:#111;font:inherit;font-weight:700;font-size:1.05rem;cursor:pointer}.pen-candidates{display:flex;gap:.75rem;align-items:center;justify-content:center;flex-wrap:wrap;max-width:min(100%,34rem)}.pen-candidates[hidden]{display:none}.pen-candidate{width:4.5rem;height:4.5rem;font-size:2rem}.pen-ghost{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-family:Playwrite PT,cursive;font-size:4.2rem;line-height:1;color:#b0b0b0;pointer-events:none}.math-written-number{display:flex;align-items:center;justify-content:center;font-family:"Playwrite PT",var(--font-cursive, cursive);font-size:clamp(2.8rem,8vh,4.2rem);font-weight:400;color:var(--math-ink, #111);letter-spacing:0;font-feature-settings:"calt" 1,"liga" 1;font-variant-ligatures:contextual common-ligatures;padding:.4rem 1.4rem;-webkit-user-select:none;user-select:none;line-height:1.2}.bead-string{display:flex;justify-content:center;margin:.4rem 0}.bead-rail{display:flex;gap:.25rem;padding:.35rem .6rem;border:3px solid #111;border-radius:999px;background:#fff}.bead{width:1.35rem;height:1.35rem;border-radius:50%;border:2px solid #111;background:#fff}.bead.dark.active{background:#111}.bead.light.active{background:#fff;outline:4px solid #111;outline-offset:-6px}.bead:not(.active){opacity:.28}.dice-row{display:flex;justify-content:center}.dice-face{width:7.5rem;height:7.5rem}.queue-row{display:flex;justify-content:center;flex-wrap:wrap;gap:.6rem}.queue-item{width:4.8rem;height:4.8rem;padding:.3rem;border:3px solid #111;background:#fff}.queue-item.static{display:flex;align-items:center;justify-content:center}.pair-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.35rem}.pair-gap{width:.9rem}.tenframe-interactive .tenframe-cell{cursor:pointer}.pen-recognition-message{flex:1 1 100%;min-width:12rem;text-align:center;font-size:1.1rem;font-weight:700}.pen-digit[data-pending-value]:after{content:attr(data-pending-value);position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#111;font-family:Playwrite PT,cursive;font-size:4.2rem;line-height:1;pointer-events:none}.pen-digit[data-value]:after{content:attr(data-value);position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#111;font-family:Playwrite PT,cursive;font-size:4.2rem;line-height:1;pointer-events:none}.pen-digit:focus-visible{outline:4px dashed #111;outline-offset:5px}.math-screen .math-btn-primary:disabled{opacity:.35;cursor:default}.skip-groups{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem}.skip-group{display:flex;gap:.15rem;padding:.25rem;outline:3px solid #111}.estimate-jar{display:flex;flex-wrap:wrap;justify-content:center;align-content:center;width:12rem;min-height:8rem;margin:0 auto;padding:.6rem;outline:3px solid #111;border-radius:50% 50% 40% 40%;gap:.15rem}.jar-dot{width:.7rem;height:.7rem;border-radius:50%;background:#111}.part-whole{display:flex;flex-direction:column;align-items:center;gap:.35rem}.ppw-whole,.ppw-parts{display:flex;gap:.35rem}.ppw-cell{min-width:3.4rem;min-height:3.4rem;display:flex;align-items:center;justify-content:center;outline:3px solid #111;font-size:1.6rem;font-weight:700}.ppw-cell.is-blank{background:#f0f0f0}.hundred-chart{display:grid;grid-template-columns:repeat(10,minmax(2.2rem,1fr));gap:3px;max-width:36rem;width:100%;margin:0 auto}.chart-cell{min-height:2.4rem;font-size:1rem;font-weight:700;outline:2px solid #111;background:#fff;padding:0}.chart-cell.is-hi{background:#111;color:#fff}.chart-cell.is-hole{background:#f0f0f0}.nl-interactive{position:relative;height:5.5rem;margin:.4rem 1rem .8rem}.nl-rail{position:absolute;left:0;right:0;top:2.2rem;height:3px;background:#111}.nl-arcs{position:absolute;top:0;right:0;bottom:1.6rem;left:0;width:100%;height:2.4rem;overflow:visible}.nl-tick{position:absolute;top:1.5rem;transform:translate(-50%);width:2.2rem;padding:0;border:0;background:transparent;display:flex;flex-direction:column;align-items:center}.nl-mark{width:3px;height:.9rem;background:#111}.nl-label{font-size:.8rem;font-weight:700}.nl-tick.is-start .nl-mark,.nl-tick.is-landed .nl-mark,.nl-tick.is-next .nl-mark{outline:3px solid #111;width:10px;height:10px;border-radius:50%}.mab-place{display:flex;flex-direction:column;align-items:center;gap:.6rem}.mab-sources{display:flex;gap:1rem;align-items:center}.mab-source,.mab-placed{border:0;background:transparent;padding:.2rem}.calc-chain{display:flex;flex-direction:column;align-items:center;gap:.5rem}.strike-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem}.strike-item{border:3px solid #111;background:#fff;padding:.25rem}.strike-item.is-struck{opacity:.35}.math-calendar{display:flex;flex-direction:column;gap:.35rem;max-width:22rem;margin:0 auto}.cal-head,.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:.2rem}.cal-dow,.cal-day{min-height:2.2rem;display:flex;align-items:center;justify-content:center;font-size:.95rem;font-weight:700;border:2px solid transparent}.cal-day{border-color:#111;background:#fff;color:#111}.cal-day.is-empty{border-color:transparent}.cal-day.is-hi,.cal-day.is-event{background:#111;color:#fff}.cal-caption,.weekday-chip{text-align:center;font-size:1.3rem;font-weight:800}.route-grid{display:grid;grid-template-columns:repeat(var(--route-cols, 3),3.2rem);gap:.35rem;justify-content:center}.route-cell{width:3.2rem;height:3.2rem;border:3px solid #111;background:#fff;font-size:1.2rem}.route-cell.is-start,.route-cell.is-done{background:#111;color:#fff}.route-cell.is-next{outline:4px solid #111}.arrow-code{display:flex;justify-content:center;gap:.5rem;margin-bottom:.5rem}.arrow-token{font-size:2rem;font-weight:800;min-width:2.4rem;text-align:center;border:3px solid #111}.pos-scene{display:flex;flex-direction:column;align-items:center;gap:.35rem}.pos-mid{display:flex;align-items:stretch;gap:.35rem}.scene-region{min-width:4.2rem;min-height:4.2rem;border:3px solid #111;background:#fff;display:flex;align-items:center;justify-content:center;position:relative}.pos-table{min-width:5.5rem;min-height:5.5rem;border:4px solid #111;display:flex;align-items:center;justify-content:center}.pos-obj{width:2.6rem;height:2.6rem}.compose-slots{display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem;margin-top:.4rem}.compose-slot{width:3.2rem;height:3.2rem;border:3px dashed #111;background:#fff;padding:.15rem}.compose-slot.filled{border-style:solid}.compose-outline{width:6rem;height:6rem}.compose-piece{width:100%;height:100%}.composition-board{display:flex;align-items:center;justify-content:center;gap:clamp(1rem,4vw,2.5rem);width:min(100%,42rem);margin-inline:auto}.composition-target{position:relative;width:clamp(9rem,24vw,13rem);aspect-ratio:1;flex:0 0 auto}.composition-target>.compose-outline,.composition-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.composition-overlay{z-index:1;fill:currentColor;fill-opacity:.22;stroke:currentColor;stroke-width:1.5;pointer-events:none}.composition-slots{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;grid-template-columns:1fr 1fr;pointer-events:none;opacity:0}.composition-palette{display:grid;grid-template-columns:repeat(2,minmax(4rem,5.5rem));gap:.55rem;align-items:center}.composition-piece{min-width:4.25rem;min-height:4.25rem;padding:.3rem;border:3px solid currentColor;background:var(--color-card, #fff);border-radius:.45rem}.composition-piece:focus-visible{outline:4px dashed currentColor;outline-offset:3px}.pattern-palette{display:flex;justify-content:center;gap:.6rem}.pattern-palette-btn{border:3px solid #111;background:#fff;min-width:4rem;min-height:4rem;padding:.3rem}.pattern-model{display:flex;align-items:center;justify-content:center;gap:.4rem;margin-bottom:.4rem}.pattern-model-label{font-weight:800;font-size:1.1rem}.pattern-object.is-big img,.pattern-tile .is-big{transform:scale(1.15)}.pattern-object.is-small img,.pattern-tile .is-small{transform:scale(.75)}.tally-row,.tally-table{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem;align-items:center}.tally-table-row{display:flex;align-items:center;gap:.6rem}.tally-bundle{position:relative;display:inline-flex;gap:.28rem;min-width:2.4rem;min-height:2.4rem;align-items:flex-end}.tally-stroke{width:.22rem;height:2.2rem;background:#111;display:inline-block}.tally-fifth{position:absolute;left:0;bottom:.4rem;width:2.2rem;height:.22rem;transform:rotate(-28deg)}.pictogram,.dot-plot{display:flex;flex-direction:column;gap:.45rem;align-items:flex-start}.picto-row,.tally-table-row{display:flex;align-items:center;gap:.4rem}.picto-icons{display:flex;gap:.2rem}.picto-icon,.picto-key{width:2.2rem;height:2.2rem}.dot-plot{flex-direction:row;justify-content:center;align-items:flex-end;gap:1.2rem}.dot-col{display:flex;flex-direction:column;align-items:center;gap:.35rem}.dot-stack{display:flex;flex-direction:column-reverse;gap:.2rem;min-height:6rem;justify-content:flex-start}.dot-plot-dot{width:1.1rem;height:1.1rem;border:3px solid #111;border-radius:50%;background:#111;display:block}.euro-note{display:inline-flex;align-items:center;justify-content:center;min-width:3.6rem;min-height:2.2rem;padding:.2rem .5rem;border:3px solid #111;font-weight:800;font-size:1.1rem}.unit-measure{display:flex;flex-direction:column;gap:.35rem;width:min(90%,22rem);margin:0 auto}.unit-clips{display:flex;gap:.2rem}.unit-clip{width:.7rem;height:1.4rem;border:2px solid #111;background:#fff}.clock-svg,.solid-svg{width:7.5rem;height:7.5rem;color:#111}.pay-scene{display:flex;flex-direction:column;align-items:center;gap:.5rem}.price-tag{font-size:1.6rem;font-weight:800;border:3px solid #111;padding:.2rem .7rem}.vote-row{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}.vote-face{display:flex;flex-direction:column;align-items:center;border:2px solid #111;padding:.2rem}.vote-choice{width:1.8rem;height:1.8rem}.math-screen .numpad-wrapper{display:flex;flex-direction:column;align-items:center;width:100%}.math-screen .numpad-stage{display:flex;align-items:center;justify-content:center;gap:1.4rem;margin-bottom:.85rem;width:100%}.math-screen .numpad-entry{display:flex;align-items:center;justify-content:center;min-width:6.8rem;height:4.6rem;padding:0 1.2rem;background:var(--math-paper, #ffffff);border:2px solid var(--math-ink, #111);border-radius:12px;box-shadow:0 3px 0 var(--math-ink, #111);box-sizing:border-box}.math-screen .numpad-display{display:inline-block;font-size:clamp(2.1rem,7vh,2.7rem);font-weight:800;color:var(--math-ink, #111);letter-spacing:.12em;line-height:1;text-align:center;border:none}.math-screen .numpad-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;max-width:280px;width:100%;margin:0 auto}.math-screen .numpad-key{-moz-appearance:none;appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;height:3.75rem;min-height:3.75rem;border:2px solid var(--math-ink, #111);background:var(--math-paper, #ffffff);border-radius:12px;font-size:1.6rem;font-weight:800;color:var(--math-ink, #111);cursor:pointer;box-shadow:0 3px 0 var(--math-ink, #111);transition:transform .08s ease,box-shadow .08s ease,background-color .1s ease;touch-action:manipulation;-webkit-user-select:none;user-select:none}.math-screen .numpad-key:hover:not(:disabled){background:var(--math-soft, #f4f4f5)}.math-screen .numpad-key:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 var(--math-ink, #111)}.math-screen .numpad-fn{background:var(--math-soft, #f4f4f5);color:var(--math-mid, #52525b);font-size:1.35rem;font-weight:700}.math-screen .numpad-fn:hover:not(:disabled){background:#e4e4e7}.math-screen .numpad-back{font-size:1.5rem}.math-screen .numpad-clear{font-size:1.35rem;font-weight:800}@media (max-width: 640px){.pen-digit{width:5.4rem;height:5.4rem}.pen-box-stage,.math-screen .numpad-stage{gap:1.1rem}.pen-side-btn{width:3.6rem;height:3.6rem}.pen-side-img{width:3rem;height:3rem}.pen-side-btn .sketch-icon{width:2.7rem;height:2.7rem}}@media (max-height: 480px) and (orientation: landscape){.pen-digit{width:4.8rem;height:4.8rem}.pen-box-stage,.math-screen .numpad-stage{gap:.9rem}.pen-side-btn{width:3.2rem;height:3.2rem}.pen-side-img{width:2.6rem;height:2.6rem}.math-screen .math-object,.math-screen .sketch-image.math-object{width:2.4rem;height:2.4rem}}.math-foundations,.math-foundations-screen{--foundation-ink: #111;--foundation-paper: #fff;--foundation-border: 3px;--foundation-counter-size: clamp(88px, min(14vw, 18vh), 148px);--foundation-frame-cell: clamp(70px, min(8vw, 15vh), 104px);height:100%;min-height:100%;width:100%;display:flex;flex-direction:column;overflow:hidden;background:var(--foundation-paper);color:var(--foundation-ink);font-family:var(--font-ui, system-ui, sans-serif)}.math-foundations *,.math-foundations-screen *{animation:none!important;transition:none!important;box-shadow:none!important;filter:none!important}.math-foundations button,.math-foundations-screen button{color:inherit;font:inherit;cursor:pointer;touch-action:manipulation}.math-foundations button:focus-visible,.math-foundations-screen button:focus-visible,.math-foundations [tabindex]:focus-visible,.math-foundations-screen [tabindex]:focus-visible{outline:5px solid var(--foundation-ink);outline-offset:4px}.math-foundations [hidden],.math-foundations-screen [hidden]{display:none!important}.math-foundations .foundation-header,.math-foundations-screen .foundation-header{flex:0 0 64px;min-height:64px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;border-bottom:var(--foundation-border) solid var(--foundation-ink);background:var(--foundation-paper)}.math-foundations .foundation-header .foundation-control,.math-foundations-screen .foundation-header .foundation-control{flex:0 0 64px;width:64px;min-width:64px;height:64px;min-height:64px;border:0;padding:8px;background:var(--foundation-paper);display:inline-flex;align-items:center;justify-content:center}.math-foundations .foundation-header .foundation-control svg,.math-foundations-screen .foundation-header .foundation-control svg{width:38px;height:38px}.math-foundations-screen .foundation-control .sketch-image{width:38px;height:38px}.math-foundations .foundation-heading,.math-foundations-screen .foundation-heading{min-width:0;flex:1 1 auto;text-align:center}.math-foundations .foundation-heading h1,.math-foundations-screen .foundation-heading h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-ui, system-ui, sans-serif);font-size:clamp(1.35rem,2vw,1.8rem);font-weight:700;line-height:1.1}.math-foundations .foundation-phase,.math-foundations-screen .foundation-phase{display:block;font-size:.88rem;font-weight:700}.math-foundations .foundation-progress,.math-foundations-screen .foundation-progress{flex:0 0 64px;width:64px;min-height:64px;display:inline-flex;align-items:center;justify-content:center;font-size:1.15rem;font-weight:800;white-space:nowrap}.math-foundations .foundation-stage,.math-foundations-screen .foundation-stage{flex:1 1 auto;min-height:0;width:min(100%,1240px);margin:0 auto;padding:8px 14px 6px;display:flex;flex-direction:column;align-items:stretch;gap:8px;overflow:hidden}.math-foundations .foundation-prompt-row,.math-foundations-screen .foundation-prompt-row{flex:0 0 auto;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px}.math-foundations .foundation-prompt,.math-foundations-screen .foundation-prompt{min-width:0;flex:1 1 auto;overflow:visible;font-family:var(--font-ui, system-ui, sans-serif);font-size:clamp(1.2rem,1.8vw,1.5rem);font-weight:700;line-height:1.2;text-align:center;text-wrap:balance}.math-foundations .foundation-prompt-row .foundation-hear,.math-foundations-screen .foundation-prompt-row .foundation-hear{flex:0 0 64px;width:64px;min-width:64px;height:64px;min-height:64px;padding:8px;border:2px solid var(--foundation-ink);background:var(--foundation-paper);display:inline-flex;align-items:center;justify-content:center}.math-foundations .foundation-prompt-row .foundation-hear svg,.math-foundations-screen .foundation-prompt-row .foundation-hear svg{width:38px;height:38px}.math-foundations-screen .foundation-prompt-row .foundation-control .sketch-image{width:36px;height:36px}.math-foundations .foundation-worksheet,.math-foundations-screen .foundation-worksheet{flex:1 1 auto;min-height:0;width:100%;padding:clamp(10px,1.6vw,22px);border:3px solid var(--foundation-ink);overflow:auto;display:flex;align-items:stretch;justify-content:stretch}.math-foundations .foundation-help,.math-foundations-screen .foundation-help{flex:0 0 auto;padding:5px 10px;border:2px solid var(--foundation-ink);display:flex;align-items:center;justify-content:center;gap:8px;font-size:.95rem}.math-foundations .foundation-feedback,.math-foundations-screen .foundation-feedback{flex:0 0 auto;min-height:34px;padding:0 6px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:700;text-align:center}.math-foundations .foundation-controls,.math-foundations-screen .foundation-controls{flex:0 0 78px;min-height:78px;display:flex;align-items:center;justify-content:center;gap:12px;padding:4px}.math-foundations .foundation-controls .foundation-control,.math-foundations-screen .foundation-controls .foundation-control{flex:0 0 68px;width:68px;min-width:68px;height:68px;min-height:68px;padding:8px;border:3px solid var(--foundation-ink);background:var(--foundation-paper);display:inline-flex;align-items:center;justify-content:center}.math-foundations .foundation-controls .foundation-control svg,.math-foundations-screen .foundation-controls .foundation-control svg{width:40px;height:40px}.math-foundations .foundation-controls .foundation-undo,.math-foundations-screen .foundation-controls .foundation-undo{font-family:var(--font-ui, system-ui, sans-serif);font-size:2.5rem;font-weight:700;line-height:1}.math-foundations .foundation-controls .foundation-primary,.math-foundations-screen .foundation-controls .foundation-primary{flex:0 0 auto;width:auto;min-width:170px;max-width:min(40vw,260px);min-height:68px;height:68px;padding:8px 18px;border:3px solid var(--foundation-ink);background:var(--foundation-ink);color:var(--foundation-paper);font-size:1.25rem;font-weight:800;white-space:nowrap}.math-foundations .foundation-controls .foundation-primary:disabled,.math-foundations-screen .foundation-controls .foundation-primary:disabled{background:var(--foundation-paper);color:var(--foundation-ink);outline:3px dashed var(--foundation-ink);outline-offset:2px;cursor:default}.math-foundations .foundation-count,.math-foundations-screen .foundation-count{flex:1 1 auto;min-height:0;width:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;justify-items:center;gap:clamp(10px,1.8vh,20px)}.math-foundations .foundation-counter-grid,.math-foundations-screen .foundation-counter-grid{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,var(--foundation-counter-size)));grid-auto-rows:minmax(0,var(--foundation-counter-size));align-content:center;justify-content:center;justify-items:center;gap:clamp(8px,1.2vw,18px);max-width:100%;margin-inline:auto}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="0"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="0"]{grid-template-columns:minmax(var(--foundation-counter-size),max-content)}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="1"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="1"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="2"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="2"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="3"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="3"]{--foundation-counter-size: clamp(160px, min(18vw, 24vh), 180px);grid-template-columns:repeat(var(--foundation-set-size, 1),minmax(0,var(--foundation-counter-size)))}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="2"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="2"]{--foundation-set-size: 2}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="3"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="3"]{--foundation-set-size: 3}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="4"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="4"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="5"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="5"]{--foundation-counter-size: clamp(120px, min(14vw, 18vh), 140px);grid-template-columns:repeat(var(--foundation-set-size, 4),minmax(0,var(--foundation-counter-size)))}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="5"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="5"]{--foundation-set-size: 5}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="6"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="6"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="7"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="7"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="8"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="8"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="9"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="9"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="10"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="10"]{--foundation-counter-size: clamp(88px, min(10vw, 14vh), 104px);grid-template-columns:repeat(5,minmax(0,var(--foundation-counter-size)))}.math-foundations .foundation-count .foundation-arrangement-two-rows,.math-foundations-screen .foundation-count .foundation-arrangement-two-rows,.math-foundations .foundation-count .foundation-arrangement-five-and-five,.math-foundations-screen .foundation-count .foundation-arrangement-five-and-five{grid-template-columns:repeat(5,minmax(0,var(--foundation-counter-size)));grid-template-rows:repeat(2,minmax(0,var(--foundation-counter-size)));grid-auto-flow:row}.math-foundations .foundation-counter,.math-foundations-screen .foundation-counter{position:relative;width:var(--foundation-counter-size);height:var(--foundation-counter-size);min-width:0;min-height:0;max-width:100%;max-height:100%;padding:5px;border:3px solid transparent;border-radius:3px;background:var(--foundation-paper);color:var(--foundation-ink);display:inline-flex;align-items:center;justify-content:center}.math-foundations .foundation-counter-svg,.math-foundations-screen .foundation-counter-svg{flex:0 0 auto;display:block;width:118%;height:118%;overflow:visible;color:currentColor}.math-foundations .foundation-counter.is-selected,.math-foundations-screen .foundation-counter.is-selected,.math-foundations .foundation-counter[aria-pressed=true],.math-foundations-screen .foundation-counter[aria-pressed=true]{border-color:var(--foundation-ink);outline:4px solid var(--foundation-ink);outline-offset:3px}.math-foundations .foundation-counter.is-checked,.math-foundations-screen .foundation-counter.is-checked{outline:4px solid var(--foundation-ink);outline-offset:3px}.math-foundations .foundation-empty-quantity,.math-foundations-screen .foundation-empty-quantity{width:var(--foundation-counter-size);height:var(--foundation-counter-size);border:3px dashed var(--foundation-ink)}.math-foundations .foundation-model-total,.math-foundations-screen .foundation-model-total,.math-foundations .foundation-zero,.math-foundations-screen .foundation-zero{min-width:68px;min-height:68px;display:grid;place-items:center;font-family:var(--font-cursive, cursive);font-size:clamp(3.4rem,8vh,5rem);font-weight:800;line-height:1}.math-foundations .foundation-choice-grid,.math-foundations-screen .foundation-choice-grid{width:100%;display:flex;align-items:center;justify-content:center;gap:12px}.math-foundations .foundation-choice,.math-foundations-screen .foundation-choice{min-width:82px;min-height:74px;padding:6px 14px;border:3px solid var(--foundation-ink);background:var(--foundation-paper);display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:2rem;font-weight:800}.math-foundations .foundation-choice .foundation-counter-svg,.math-foundations-screen .foundation-choice .foundation-counter-svg{width:25px;height:25px}.math-foundations .foundation-choice.is-selected,.math-foundations-screen .foundation-choice.is-selected,.math-foundations .foundation-choice[aria-pressed=true],.math-foundations-screen .foundation-choice[aria-pressed=true]{background:var(--foundation-ink);color:var(--foundation-paper);outline:4px solid var(--foundation-ink);outline-offset:3px}.math-foundations .foundation-write,.math-foundations-screen .foundation-write{position:relative;flex:1 1 auto;min-height:0;width:100%;display:grid;grid-template-columns:minmax(220px,.3fr) minmax(0,.7fr);grid-template-rows:minmax(104px,.24fr) minmax(0,.76fr);grid-template-areas:"quantity ink" "reference ink";gap:clamp(10px,1.4vw,18px)}.math-foundations .foundation-write-quantity,.math-foundations-screen .foundation-write-quantity{grid-area:quantity;min-width:0;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:center;justify-items:center;gap:4px;padding:8px;border:3px solid var(--foundation-ink)}.math-foundations .foundation-write-quantity .foundation-counter-grid,.math-foundations-screen .foundation-write-quantity .foundation-counter-grid{width:100%;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:auto;gap:2px}.math-foundations .foundation-write-quantity .foundation-counter,.math-foundations-screen .foundation-write-quantity .foundation-counter,.math-foundations .foundation-write-quantity .foundation-empty-quantity,.math-foundations-screen .foundation-write-quantity .foundation-empty-quantity{width:clamp(28px,4.5vw,58px);height:clamp(28px,4.5vw,58px);min-width:0;min-height:0;padding:1px;border:0}.math-foundations .foundation-write-reference,.math-foundations-screen .foundation-write-reference{grid-area:reference;position:relative;min-width:0;min-height:0;padding:8px;border:0;display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;align-items:center;gap:2px;text-align:center}.math-foundations .foundation-digit-guide,.math-foundations-screen .foundation-digit-guide{display:block;width:min(100%,280px);height:100%;min-height:0;max-height:min(100%,300px);overflow:visible;color:var(--foundation-ink);stroke:var(--foundation-ink)}.math-foundations .foundation-digit-guide path,.math-foundations-screen .foundation-digit-guide path{stroke:var(--foundation-ink);stroke-width:12px;fill:none;stroke-linecap:round;stroke-linejoin:round}.math-foundations .foundation-digit-start,.math-foundations-screen .foundation-digit-start{fill:var(--foundation-ink);stroke:var(--foundation-paper);stroke-width:4px}.math-foundations .foundation-guide-action,.math-foundations-screen .foundation-guide-action{grid-area:reference;z-index:2;justify-self:end;align-self:start;width:64px;min-width:64px;height:64px;min-height:64px;margin:4px;padding:8px;border:3px solid var(--foundation-ink);border-radius:0;background:var(--foundation-paper);color:var(--foundation-ink);font-size:2rem;line-height:1}.math-foundations .foundation-write-reference-recall,.math-foundations-screen .foundation-write-reference-recall{border:0}.math-foundations .foundation-model-number,.math-foundations-screen .foundation-model-number{font-family:var(--font-cursive, cursive);font-size:clamp(4rem,12vh,7rem);font-weight:700;line-height:.92}.math-foundations .foundation-model-cue,.math-foundations-screen .foundation-model-cue{font-size:.85rem;font-weight:700}.math-foundations .foundation-pen-host,.math-foundations-screen .foundation-pen-host{grid-area:ink;min-width:0;min-height:220px;width:100%;border:0;overflow:hidden}.math-foundations .foundation-pen-host .pen-box,.math-foundations-screen .foundation-pen-host .pen-box,.math-foundations .foundation-pen-host .pen-box-stage,.math-foundations-screen .foundation-pen-host .pen-box-stage{width:100%;height:100%;min-height:0}.math-foundations .foundation-pen-host .pen-box-stage,.math-foundations-screen .foundation-pen-host .pen-box-stage{gap:4px;flex:1 1 0;height:auto;min-height:0}.math-foundations .foundation-pen-host .pen-box,.math-foundations-screen .foundation-pen-host .pen-box{min-height:0;height:100%;border:0;display:flex;flex-direction:column;align-items:stretch}.math-foundations .foundation-pen-host .pen-btn-erase,.math-foundations-screen .foundation-pen-host .pen-btn-erase{display:none}.math-foundations .foundation-pen-host .pen-digit-row,.math-foundations-screen .foundation-pen-host .pen-digit-row{flex:1 1 0;min-width:0;width:0;height:100%}.math-foundations .foundation-pen-host .pen-digit,.math-foundations-screen .foundation-pen-host .pen-digit{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}.math-foundations .foundation-pen-host .pen-digit-canvas,.math-foundations-screen .foundation-pen-host .pen-digit-canvas{display:block;width:100%;height:100%;max-width:100%;max-height:100%;touch-action:none}.math-foundations .foundation-pen-host .pen-ghost,.math-foundations-screen .foundation-pen-host .pen-ghost{color:var(--foundation-paper);-webkit-text-stroke:3px var(--foundation-ink);font-family:var(--font-cursive, cursive);font-size:clamp(9rem,38vh,17rem);line-height:.8}.math-foundations .foundation-pen-host .pen-ghost-svg,.math-foundations-screen .foundation-pen-host .pen-ghost-svg{position:absolute;top:0;right:0;bottom:0;left:0;width:auto;height:auto;max-width:none;display:flex;align-items:center;justify-content:center;overflow:visible;color:var(--foundation-ink);pointer-events:none}.math-foundations .foundation-pen-host .pen-ghost-svg .foundation-digit-guide,.math-foundations-screen .foundation-pen-host .pen-ghost-svg .foundation-digit-guide{width:100%;height:100%;max-width:none;max-height:none}.math-foundations .foundation-pen-host .pen-ghost-svg path,.math-foundations-screen .foundation-pen-host .pen-ghost-svg path{fill:none;stroke:var(--foundation-ink);stroke-width:10px;stroke-dasharray:16 12;stroke-linecap:round;stroke-linejoin:round}.math-foundations .foundation-pen-host .pen-candidates,.math-foundations-screen .foundation-pen-host .pen-candidates{flex:0 0 auto;width:100%;max-width:none;min-height:0;padding:4px;gap:8px}.math-foundations .foundation-pen-host .pen-recognition-message,.math-foundations-screen .foundation-pen-host .pen-recognition-message{flex:0 0 100%;text-align:center;font-size:1.05rem;font-weight:800}.math-foundations .foundation-pen-host .pen-candidate,.math-foundations-screen .foundation-pen-host .pen-candidate{flex:1 1 0;width:auto;min-width:96px;min-height:64px;height:64px;padding:8px 10px;border:3px solid var(--foundation-ink);background:var(--foundation-paper);color:var(--foundation-ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:1rem;font-weight:800}.math-foundations .foundation-pen-host .pen-action-icon,.math-foundations-screen .foundation-pen-host .pen-action-icon{flex:0 0 32px;width:32px;height:32px;display:inline-grid;place-items:center;font-family:var(--font-ui, system-ui, sans-serif);font-size:2rem;font-weight:900;line-height:1}.math-foundations .foundation-recognition-message,.math-foundations-screen .foundation-recognition-message{grid-column:1 / -1;text-align:center;font-size:1rem;font-weight:700}.math-foundations .foundation-ten-frame-wrap,.math-foundations-screen .foundation-ten-frame-wrap{flex:1 1 auto;width:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto}.math-foundations .foundation-ten-frame,.math-foundations-screen .foundation-ten-frame{flex:0 0 auto;display:grid;grid-template-columns:repeat(5,var(--foundation-frame-cell));grid-template-rows:repeat(2,var(--foundation-frame-cell));gap:clamp(4px,.8vw,10px);padding:clamp(5px,1vw,12px);border:4px solid var(--foundation-ink);background:var(--foundation-paper)}.math-foundations .foundation-frame-task,.math-foundations-screen .foundation-frame-task{flex:0 1 auto;min-width:0;min-height:0;width:fit-content;max-width:100%;margin-inline:auto;display:grid;grid-template-columns:minmax(104px,160px) max-content;align-items:center;justify-items:center;gap:clamp(8px,1.5vw,20px)}.math-foundations .foundation-frame-target,.math-foundations-screen .foundation-frame-target{width:min(100%,160px);min-height:120px;border:3px solid var(--foundation-ink);display:grid;place-items:center;font-family:var(--font-ui, system-ui, sans-serif);font-size:clamp(4.5rem,9vh,7rem);font-weight:800;line-height:1}.math-foundations .foundation-frame-task .foundation-ten-frame-wrap,.math-foundations-screen .foundation-frame-task .foundation-ten-frame-wrap{width:fit-content;justify-self:start}.math-foundations .foundation-ten-frame[data-capacity="5"],.math-foundations-screen .foundation-ten-frame[data-capacity="5"]{grid-template-rows:repeat(1,var(--foundation-frame-cell))}.math-foundations .foundation-ten-cell,.math-foundations-screen .foundation-ten-cell{width:var(--foundation-frame-cell);height:var(--foundation-frame-cell);min-width:0;min-height:0;padding:5px;border:3px solid var(--foundation-ink);border-radius:0;background:var(--foundation-paper);color:var(--foundation-ink);display:inline-flex;align-items:center;justify-content:center}.math-foundations .foundation-ten-cell .foundation-counter-svg,.math-foundations-screen .foundation-ten-cell .foundation-counter-svg{width:78%;height:78%}.math-foundations .foundation-ten-cell.is-filled,.math-foundations-screen .foundation-ten-cell.is-filled{background:var(--foundation-ink);color:var(--foundation-paper)}.math-foundations .foundation-ten-cell.is-selected,.math-foundations-screen .foundation-ten-cell.is-selected,.math-foundations .foundation-ten-cell[aria-pressed=true],.math-foundations-screen .foundation-ten-cell[aria-pressed=true]{outline:4px solid var(--foundation-ink);outline-offset:3px}.math-foundations .foundation-compare,.math-foundations-screen .foundation-compare{flex:1 1 auto;min-height:0;width:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 64px minmax(0,1fr);grid-template-areas:"left" "equal" "right";align-items:center;justify-items:stretch;gap:clamp(6px,1vh,12px)}.math-foundations .foundation-compare-row,.math-foundations-screen .foundation-compare-row{width:100%;min-width:0;min-height:0;padding:5px 8px;border:3px solid var(--foundation-ink);border-radius:3px;background:var(--foundation-paper);color:var(--foundation-ink);display:flex;align-items:center;justify-content:center}.math-foundations .foundation-compare-row[data-choice=left],.math-foundations-screen .foundation-compare-row[data-choice=left]{grid-area:left}.math-foundations .foundation-compare-row[data-choice=right],.math-foundations-screen .foundation-compare-row[data-choice=right]{grid-area:right}.math-foundations .foundation-compare-quantity,.math-foundations-screen .foundation-compare-quantity{--foundation-compare-size: 90px;grid-template-columns:repeat(5,minmax(0,var(--foundation-compare-size)));grid-auto-rows:minmax(0,var(--foundation-compare-size));gap:6px}.math-foundations .foundation-compare[data-max-count="0"] .foundation-compare-quantity,.math-foundations-screen .foundation-compare[data-max-count="0"] .foundation-compare-quantity,.math-foundations .foundation-compare[data-max-count="1"] .foundation-compare-quantity,.math-foundations-screen .foundation-compare[data-max-count="1"] .foundation-compare-quantity,.math-foundations .foundation-compare[data-max-count="2"] .foundation-compare-quantity,.math-foundations-screen .foundation-compare[data-max-count="2"] .foundation-compare-quantity,.math-foundations .foundation-compare[data-max-count="3"] .foundation-compare-quantity,.math-foundations-screen .foundation-compare[data-max-count="3"] .foundation-compare-quantity,.math-foundations .foundation-compare[data-max-count="4"] .foundation-compare-quantity,.math-foundations-screen .foundation-compare[data-max-count="4"] .foundation-compare-quantity{--foundation-compare-size: clamp(128px, min(11vw, 19vh), 148px);grid-template-columns:repeat(4,minmax(0,var(--foundation-compare-size)))}.math-foundations .foundation-compare[data-max-count="5"] .foundation-compare-quantity,.math-foundations-screen .foundation-compare[data-max-count="5"] .foundation-compare-quantity{--foundation-compare-size: clamp(116px, min(10vw, 17vh), 132px)}.math-foundations .foundation-compare-quantity .foundation-counter,.math-foundations-screen .foundation-compare-quantity .foundation-counter{width:var(--foundation-compare-size);height:var(--foundation-compare-size);padding:2px;border:0}.math-foundations .foundation-compare-quantity .foundation-empty-quantity,.math-foundations-screen .foundation-compare-quantity .foundation-empty-quantity{width:var(--foundation-compare-size);height:var(--foundation-compare-size);border:3px dashed var(--foundation-ink)}.math-foundations .foundation-compare-row.is-selected,.math-foundations-screen .foundation-compare-row.is-selected,.math-foundations .foundation-compare-row[aria-pressed=true],.math-foundations-screen .foundation-compare-row[aria-pressed=true]{background:var(--foundation-ink);color:var(--foundation-paper);outline:4px solid var(--foundation-ink);outline-offset:2px}.math-foundations .foundation-compare-equal,.math-foundations-screen .foundation-compare-equal{grid-area:equal;justify-self:center;width:88px;min-width:88px;min-height:64px;padding:8px;border:3px solid var(--foundation-ink);background:var(--foundation-paper);color:var(--foundation-ink);display:grid;place-items:center}.math-foundations .foundation-compare-equal.is-selected,.math-foundations-screen .foundation-compare-equal.is-selected,.math-foundations .foundation-compare-equal[aria-pressed=true],.math-foundations-screen .foundation-compare-equal[aria-pressed=true]{background:var(--foundation-ink);color:var(--foundation-paper);outline:4px solid var(--foundation-ink);outline-offset:3px}.math-foundations .foundation-equal-icon,.math-foundations-screen .foundation-equal-icon{width:100%;height:46px}.math-foundations .foundation-order,.math-foundations-screen .foundation-order{flex:1 1 auto;min-height:0;width:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px}.math-foundations .foundation-order-progress,.math-foundations-screen .foundation-order-progress{flex:0 0 auto;margin:0;text-align:center;font-weight:700}.math-foundations .foundation-order-group,.math-foundations-screen .foundation-order-group{flex:1 1 auto;width:100%;min-height:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:8px}.math-foundations .foundation-order-group.is-slots,.math-foundations-screen .foundation-order-group.is-slots{flex:0 0 156px;height:156px}.math-foundations .foundation-order-group.is-slots .foundation-order-cards,.math-foundations-screen .foundation-order-group.is-slots .foundation-order-cards{height:100%;align-items:stretch}.math-foundations .foundation-order-group.is-slots .foundation-order-card,.math-foundations-screen .foundation-order-group.is-slots .foundation-order-card,.math-foundations .foundation-order-group.is-slots .foundation-order-slot,.math-foundations-screen .foundation-order-group.is-slots .foundation-order-slot{height:100%}.math-foundations .foundation-order-direction,.math-foundations-screen .foundation-order-direction{display:block;flex:0 0 48px;width:clamp(150px,17vw,210px);height:48px;margin-inline:auto;color:var(--foundation-ink)}.math-foundations .foundation-order-cards,.math-foundations-screen .foundation-order-cards{width:100%;min-width:0;display:flex;flex-direction:row;align-items:stretch;justify-content:center;gap:clamp(8px,1.4vw,18px)}.math-foundations .foundation-order-card,.math-foundations-screen .foundation-order-card{flex:1 1 0;width:clamp(140px,25vw,320px);min-width:0;max-width:360px;min-height:156px;padding:8px;border:3px solid var(--foundation-ink);border-radius:3px;background:var(--foundation-paper);color:var(--foundation-ink);display:flex;align-items:center;justify-content:center}.math-foundations .foundation-order-card:not(button),.math-foundations-screen .foundation-order-card:not(button){background:var(--foundation-paper);color:var(--foundation-ink);border-width:4px}.math-foundations .foundation-order-card.is-selected,.math-foundations-screen .foundation-order-card.is-selected,.math-foundations .foundation-order-card[aria-pressed=true],.math-foundations-screen .foundation-order-card[aria-pressed=true]{outline:4px solid var(--foundation-ink);outline-offset:3px}.math-foundations .foundation-order-visual,.math-foundations-screen .foundation-order-visual{display:flex;align-items:center;justify-content:center}.math-foundations .foundation-order-quantity,.math-foundations-screen .foundation-order-quantity{--foundation-order-dot: 52px;grid-template-columns:repeat(5,var(--foundation-order-dot));grid-auto-rows:var(--foundation-order-dot);gap:4px}.math-foundations .foundation-order-quantity .foundation-counter,.math-foundations-screen .foundation-order-quantity .foundation-counter,.math-foundations .foundation-order-quantity .foundation-empty-quantity,.math-foundations-screen .foundation-order-quantity .foundation-empty-quantity{width:var(--foundation-order-dot);height:var(--foundation-order-dot);min-width:0;min-height:0;max-width:none;max-height:none;padding:0;border:0}.math-foundations .foundation-order-quantity .foundation-counter-svg,.math-foundations-screen .foundation-order-quantity .foundation-counter-svg{width:100%;height:100%}.math-foundations .foundation-order-quantity .foundation-empty-quantity,.math-foundations-screen .foundation-order-quantity .foundation-empty-quantity{border:2px dashed currentColor}.math-foundations .foundation-order-slot,.math-foundations-screen .foundation-order-slot{flex:1 1 0;min-width:0;height:54px;border:2px solid var(--foundation-ink);background:var(--foundation-paper)}.math-foundations .foundation-number-order-choices,.math-foundations-screen .foundation-number-order-choices{width:100%;min-width:0;display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:clamp(8px,1.4vw,18px)}.math-foundations .foundation-number-order-choices .foundation-order-direction,.math-foundations-screen .foundation-number-order-choices .foundation-order-direction{flex:0 0 100%;width:clamp(150px,17vw,210px)}.math-foundations .foundation-order-number,.math-foundations-screen .foundation-order-number{flex:1 1 0;width:clamp(140px,25vw,320px);max-width:360px;min-width:0;min-height:156px;padding:8px;border:3px solid var(--foundation-ink);border-radius:3px;background:var(--foundation-paper);color:var(--foundation-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.math-foundations .foundation-order-number:disabled,.math-foundations-screen .foundation-order-number:disabled{opacity:1;cursor:default}.math-foundations .foundation-order-number.is-selected,.math-foundations-screen .foundation-order-number.is-selected,.math-foundations .foundation-order-number.is-used,.math-foundations-screen .foundation-order-number.is-used{outline:4px solid var(--foundation-ink);outline-offset:3px}.math-foundations .foundation-order-number-glyph,.math-foundations-screen .foundation-order-number-glyph{min-width:0;min-height:0;display:grid;place-items:center;font-family:var(--font-ui, system-ui, sans-serif);font-size:clamp(2.5rem,5.5vw,4rem);font-weight:800;line-height:1}.math-foundations .foundation-order-number-dots,.math-foundations-screen .foundation-order-number-dots{--foundation-order-dot: 34px;grid-template-columns:repeat(5,var(--foundation-order-dot));grid-auto-rows:var(--foundation-order-dot);gap:4px}.math-foundations .foundation-order-number-dots .foundation-counter,.math-foundations-screen .foundation-order-number-dots .foundation-counter,.math-foundations .foundation-order-number-dots .foundation-empty-quantity,.math-foundations-screen .foundation-order-number-dots .foundation-empty-quantity{width:var(--foundation-order-dot);height:var(--foundation-order-dot);min-width:0;min-height:0;padding:0;border:0}.math-foundations .foundation-order-number-dots .foundation-counter-svg,.math-foundations-screen .foundation-order-number-dots .foundation-counter-svg{width:100%;height:100%}.math-foundations .foundation-number-order-selected,.math-foundations-screen .foundation-number-order-selected{width:100%;flex:0 0 156px;height:156px;min-height:156px;display:flex;align-items:stretch;justify-content:center;gap:clamp(8px,1.4vw,18px)}.math-foundations .foundation-number-order-selected>.foundation-order-number-glyph,.math-foundations-screen .foundation-number-order-selected>.foundation-order-number-glyph,.math-foundations .foundation-number-order-slot,.math-foundations-screen .foundation-number-order-slot,.math-foundations .foundation-order-number-slot,.math-foundations-screen .foundation-order-number-slot{flex:1 1 0;max-width:360px;min-height:54px;border:2px solid var(--foundation-ink);background:var(--foundation-paper)}.math-foundations .foundation-number-order-selected>.foundation-order-number-glyph,.math-foundations-screen .foundation-number-order-selected>.foundation-order-number-glyph,.math-foundations .foundation-number-order-selected>.foundation-order-slot,.math-foundations-screen .foundation-number-order-selected>.foundation-order-slot{height:100%}.math-foundations .foundation-number-order-selected>.foundation-order-number-glyph,.math-foundations-screen .foundation-number-order-selected>.foundation-order-number-glyph{font-size:clamp(2rem,4vw,3rem)}.math-foundations[data-handed=left] .foundation-controls,.math-foundations-screen[data-handed=left] .foundation-controls,.math-foundations.hand-left .foundation-controls,.math-foundations-screen.hand-left .foundation-controls,.math-foundations [data-handed=left] .foundation-controls,.math-foundations-screen [data-handed=left] .foundation-controls{flex-direction:row-reverse}@media (max-width: 800px){.math-foundations,.math-foundations-screen{height:100%;min-height:100%;overflow-x:hidden;overflow-y:auto}.math-foundations .foundation-header,.math-foundations-screen .foundation-header{position:sticky;top:0;z-index:3}.math-foundations .foundation-stage,.math-foundations-screen .foundation-stage{flex:1 0 auto;min-height:0;overflow:visible;padding:6px 8px 8px}.math-foundations .foundation-prompt-row,.math-foundations-screen .foundation-prompt-row{min-height:66px}.math-foundations .foundation-prompt,.math-foundations-screen .foundation-prompt{font-size:clamp(1.1rem,4.5vw,1.45rem)}.math-foundations .foundation-worksheet,.math-foundations-screen .foundation-worksheet{flex:1 0 auto;min-height:380px;overflow:visible;padding:10px}.math-foundations .foundation-controls,.math-foundations-screen .foundation-controls{position:sticky;bottom:0;z-index:3;flex:0 0 auto;min-height:146px;display:grid;grid-template-columns:repeat(3,64px);grid-template-rows:64px 68px;align-content:center;justify-content:center;gap:5px 8px;border-top:3px solid var(--foundation-ink);background:var(--foundation-paper)}.math-foundations .foundation-controls .foundation-control,.math-foundations-screen .foundation-controls .foundation-control{flex-basis:64px;width:64px;min-width:64px;height:64px;min-height:64px}.math-foundations .foundation-controls .foundation-primary,.math-foundations-screen .foundation-controls .foundation-primary{grid-column:1 / -1;width:100%;max-width:none;min-height:64px;height:64px}.math-foundations .foundation-counter-grid,.math-foundations-screen .foundation-counter-grid{--foundation-counter-size: 64px;grid-template-columns:repeat(auto-fit,minmax(64px,var(--foundation-counter-size)));grid-auto-rows:var(--foundation-counter-size);gap:6px}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="1"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="1"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="2"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="2"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="3"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="3"]{--foundation-counter-size: clamp(64px, 18vw, 100px);grid-template-columns:repeat(var(--foundation-set-size, 1),minmax(0,var(--foundation-counter-size)))}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="2"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="2"]{--foundation-set-size: 2}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="3"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="3"]{--foundation-set-size: 3}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="4"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="4"]{--foundation-counter-size: clamp(72px, calc((100vw - 144px)/2) , 84px);grid-template-columns:repeat(2,minmax(0,var(--foundation-counter-size)))}.math-foundations .foundation-count .foundation-counter-grid[data-quantity="5"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="5"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="6"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="6"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="7"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="7"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="8"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="8"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="9"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="9"],.math-foundations .foundation-count .foundation-counter-grid[data-quantity="10"],.math-foundations-screen .foundation-count .foundation-counter-grid[data-quantity="10"]{--foundation-counter-size: clamp(66px, calc((100vw - 80px) / 3), 84px);grid-template-columns:repeat(3,minmax(0,var(--foundation-counter-size)))}.math-foundations .foundation-count .foundation-arrangement-two-rows,.math-foundations-screen .foundation-count .foundation-arrangement-two-rows,.math-foundations .foundation-count .foundation-arrangement-five-and-five,.math-foundations-screen .foundation-count .foundation-arrangement-five-and-five{grid-template-columns:repeat(3,minmax(0,var(--foundation-counter-size)));grid-template-rows:none;grid-auto-flow:row}.math-foundations .foundation-write,.math-foundations-screen .foundation-write{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 200px 320px;grid-template-areas:"quantity" "reference" "ink"}.math-foundations .foundation-write-quantity,.math-foundations-screen .foundation-write-quantity{min-height:76px}.math-foundations .foundation-write-reference,.math-foundations-screen .foundation-write-reference{min-height:160px;padding:6px}.math-foundations .foundation-digit-guide,.math-foundations-screen .foundation-digit-guide{width:min(100%,190px);max-height:190px}.math-foundations .foundation-guide-action,.math-foundations-screen .foundation-guide-action{width:56px;min-width:56px;height:56px;min-height:56px}.math-foundations .foundation-pen-host,.math-foundations-screen .foundation-pen-host{min-height:280px}.math-foundations .foundation-pen-host .pen-ghost,.math-foundations-screen .foundation-pen-host .pen-ghost{font-size:clamp(8rem,28vh,12rem)}.math-foundations .foundation-frame,.math-foundations-screen .foundation-frame{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.math-foundations .foundation-frame-grid,.math-foundations-screen .foundation-frame-grid{--foundation-frame-cell: clamp(44px, calc((100vw - 84px)/5) , 72px)}.math-foundations .foundation-frame-task,.math-foundations-screen .foundation-frame-task{width:100%;margin-inline:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;justify-items:center;gap:8px}.math-foundations .foundation-frame-target,.math-foundations-screen .foundation-frame-target{width:64px;min-height:64px;font-size:4rem}.math-foundations .foundation-frame-task .foundation-ten-frame-wrap,.math-foundations-screen .foundation-frame-task .foundation-ten-frame-wrap{max-width:100%;justify-self:center;overflow-x:auto}.math-foundations .foundation-frame-task .foundation-ten-frame,.math-foundations-screen .foundation-frame-task .foundation-ten-frame{--foundation-frame-cell: clamp(44px, calc((100vw - 84px)/5) , 64px);grid-template-columns:repeat(5,var(--foundation-frame-cell));grid-auto-rows:var(--foundation-frame-cell);gap:4px;padding:5px}.math-foundations .foundation-compare-quantity,.math-foundations-screen .foundation-compare-quantity{--foundation-compare-size: clamp(44px, calc((100vw - 96px)/5) , 68px)}.math-foundations .foundation-compare[data-max-count] .foundation-compare-quantity,.math-foundations-screen .foundation-compare[data-max-count] .foundation-compare-quantity{--foundation-compare-size: clamp(42px, calc((100vw - 112px)/5) , 64px)}.math-foundations .foundation-order-direction,.math-foundations-screen .foundation-order-direction{flex-basis:36px;width:156px;height:36px}.math-foundations .foundation-order-card,.math-foundations-screen .foundation-order-card{min-height:116px}.math-foundations .foundation-order-group.is-slots,.math-foundations-screen .foundation-order-group.is-slots{--foundation-order-dot: clamp(36px, calc((100vw - 120px) / 6), 46px);flex-basis:166px;height:166px}.math-foundations .foundation-order-group.is-slots[data-max-quantity="7"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="7"],.math-foundations .foundation-order-group.is-slots[data-max-quantity="8"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="8"]{flex-basis:calc(var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + 24px);height:calc(var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + 24px)}.math-foundations .foundation-order-group.is-slots[data-max-quantity="9"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="9"],.math-foundations .foundation-order-group.is-slots[data-max-quantity="10"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="10"]{flex-basis:calc(var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + 28px);height:calc(var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + var(--foundation-order-dot) + 28px)}.math-foundations .foundation-order-group.is-slots[data-max-quantity="0"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="0"],.math-foundations .foundation-order-group.is-slots[data-max-quantity="1"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="1"],.math-foundations .foundation-order-group.is-slots[data-max-quantity="2"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="2"],.math-foundations .foundation-order-group.is-slots[data-max-quantity="3"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="3"],.math-foundations .foundation-order-group.is-slots[data-max-quantity="4"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="4"],.math-foundations .foundation-order-group.is-slots[data-max-quantity="5"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="5"],.math-foundations .foundation-order-group.is-slots[data-max-quantity="6"],.math-foundations-screen .foundation-order-group.is-slots[data-max-quantity="6"]{flex-basis:166px;height:166px}.math-foundations .foundation-order-quantity,.math-foundations-screen .foundation-order-quantity{--foundation-order-dot: 16px;grid-template-columns:repeat(3,var(--foundation-order-dot));grid-auto-rows:var(--foundation-order-dot);gap:2px}.math-foundations .foundation-order-card,.math-foundations-screen .foundation-order-card{min-width:0;width:min(30vw,160px);min-height:124px;padding:3px}.math-foundations .foundation-order-quantity,.math-foundations-screen .foundation-order-quantity{--foundation-order-dot: clamp(36px, calc((100vw - 120px) / 6), 46px);grid-template-columns:repeat(2,var(--foundation-order-dot));grid-auto-rows:var(--foundation-order-dot);gap:4px}.math-foundations .foundation-number-order-choices,.math-foundations-screen .foundation-number-order-choices{gap:4px}.math-foundations .foundation-order-number,.math-foundations-screen .foundation-order-number{width:calc((100vw - 32px) / 3);min-height:116px;padding:4px;gap:4px}.math-foundations .foundation-order-number-glyph,.math-foundations-screen .foundation-order-number-glyph{font-size:clamp(2rem,10vw,3rem)}.math-foundations .foundation-order-number-dots,.math-foundations-screen .foundation-order-number-dots{--foundation-order-dot: clamp(36px, calc((100vw - 120px) / 6), 46px);grid-template-columns:repeat(2,var(--foundation-order-dot));grid-auto-rows:var(--foundation-order-dot);gap:4px}.math-foundations .foundation-number-order-selected,.math-foundations-screen .foundation-number-order-selected{gap:4px;flex-basis:166px;height:166px;min-height:166px}.math-foundations .foundation-feedback,.math-foundations-screen .foundation-feedback{min-height:40px;line-height:1.15}}@media (max-width: 420px){.math-foundations .foundation-header,.math-foundations-screen .foundation-header{gap:4px;padding:0 5px}.math-foundations .foundation-header .foundation-control,.math-foundations-screen .foundation-header .foundation-control{flex-basis:56px;width:56px;min-width:56px;height:56px;min-height:56px}.math-foundations .foundation-heading h1,.math-foundations-screen .foundation-heading h1{font-size:1.2rem}.math-foundations .foundation-phase,.math-foundations-screen .foundation-phase{font-size:.72rem}.math-foundations .foundation-progress,.math-foundations-screen .foundation-progress{flex-basis:54px;width:54px;min-height:54px;font-size:1rem}.math-foundations .foundation-prompt-row .foundation-hear,.math-foundations-screen .foundation-prompt-row .foundation-hear{flex-basis:56px;width:56px;min-width:56px;height:56px;min-height:56px}.math-foundations .foundation-prompt-row .foundation-hear svg,.math-foundations-screen .foundation-prompt-row .foundation-hear svg{width:32px;height:32px}.math-foundations .foundation-frame-grid,.math-foundations-screen .foundation-frame-grid{--foundation-frame-cell: clamp(44px, calc((100vw - 84px)/5) , 64px);gap:4px;padding:5px;border-width:3px}.math-foundations .foundation-frame-cell,.math-foundations-screen .foundation-frame-cell{border-width:2px}.math-foundations .foundation-compare-quantity,.math-foundations-screen .foundation-compare-quantity{--foundation-compare-size: clamp(42px, calc((100vw - 96px)/5) , 58px)}.math-foundations .foundation-compare[data-max-count] .foundation-compare-quantity,.math-foundations-screen .foundation-compare[data-max-count] .foundation-compare-quantity{--foundation-compare-size: clamp(42px, calc((100vw - 112px)/5) , 56px)}.math-foundations .foundation-compare-row,.math-foundations-screen .foundation-compare-row{min-height:106px}.math-foundations .foundation-order-cards,.math-foundations-screen .foundation-order-cards{gap:4px}.math-foundations .foundation-order-card,.math-foundations-screen .foundation-order-card{width:calc((100vw - 32px) / 3);min-height:110px;padding:3px}.math-foundations .foundation-order-quantity,.math-foundations-screen .foundation-order-quantity,.math-foundations .foundation-order-number-dots,.math-foundations-screen .foundation-order-number-dots{--foundation-order-dot: clamp(36px, calc((100vw - 120px) / 6), 46px);grid-template-columns:repeat(2,var(--foundation-order-dot));grid-auto-rows:var(--foundation-order-dot);gap:4px}.math-foundations .foundation-order-number,.math-foundations-screen .foundation-order-number{min-height:110px}.math-foundations .foundation-order-slot,.math-foundations-screen .foundation-order-slot{height:46px}}.math-foundations-screen.counting-lesson{overflow:auto}.counting-lesson .foundation-header{border:0}.counting-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:16px clamp(16px,5vw,64px)}.counting-lesson .foundation-prompt-row{justify-content:center}.counting-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.counting-lesson .foundation-prompt-row .foundation-control{width:56px;height:56px;padding:10px;border:0;background:transparent}.counting-objects{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(8px,2vw,24px);width:min(100%,850px);margin:auto}.counting-object{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:clamp(1.5rem,4vw,2.5rem);font-weight:700}.counting-object .sketch-image,.counting-object .counting-ball{width:100%;height:clamp(60px,14vh,130px);object-fit:contain}.counting-lesson button.counting-object{border:0;background:transparent;padding:0;min-width:0;cursor:pointer}.counting-lesson button.counting-object:disabled{opacity:1;cursor:default}.counting-lesson button.counting-object.is-counted{border-radius:16px;outline:3px solid #111}.counting-objects.is-staggered .counting-object:nth-child(2n){transform:translateY(9px)}.counting-objects.is-empty{display:flex;align-items:center;justify-content:center;min-height:clamp(125px,24vh,230px);border:3px dashed #111;border-radius:18px;width:min(100%,340px)}.counting-source.counting-button{display:grid;place-items:center;align-self:center;width:clamp(90px,14vw,145px);min-height:clamp(80px,14vh,130px)}.counting-source .sketch-image{display:block;width:100%;height:clamp(65px,11vh,110px);object-fit:contain}.counting-object.is-hidden{visibility:hidden}.counting-status{min-height:1.5em;text-align:center;font-size:1.25rem}.counting-actions{min-height:64px;display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.counting-lesson .counting-choices{display:grid;grid-template-columns:repeat(3,minmax(64px,140px));justify-content:center;gap:24px}.counting-lesson .counting-choices .foundation-choice{font-size:2.5rem;min-height:84px}.counting-lesson .counting-choices .is-wrong{color:#888;background:#eee;border-color:#bbb;opacity:.5}.counting-lesson .counting-choices .is-correct{color:#fff;background:#111}@media (max-height: 600px){.counting-stage{gap:6px;padding-top:0}.counting-status{margin:0}.counting-lesson .counting-choices .foundation-choice{min-height:64px}}.counting-lesson button.counting-button{min-height:64px;padding:12px 24px;border:2px solid #111;border-radius:12px;color:#111;background:#fff;font:inherit;font-weight:700;font-size:1.2rem;cursor:pointer}.counting-lesson button.counting-button:disabled{opacity:.35;cursor:default}.counting-lesson .counting-choices button.counting-button{font-size:2.5rem;min-height:84px}.counting-lesson button.counting-button.is-wrong{color:#888;background:#eee;border-color:#bbb;opacity:.5;cursor:default}.counting-lesson button.counting-button.is-correct{color:#fff;background:#111}.counting-lesson button.counting-button:focus-visible{outline:3px solid #111;outline-offset:4px}.numbers-lesson .numbers-stage{min-height:0;overflow-y:auto;gap:18px}.numbers-workspace{display:flex;align-items:center;justify-content:center;gap:clamp(18px,4vw,56px);width:min(100%,900px);margin:0 auto}.numbers-numeral{display:flex;flex-direction:column;align-items:center;flex:0 0 auto;border:2px solid #111;border-radius:16px;background:#fff;padding:12px 24px;min-width:130px;cursor:pointer}.numbers-numeral:focus-visible{outline:4px solid #111;outline-offset:3px}.numbers-digit{font-size:clamp(5rem,12vw,9rem);line-height:1;font-weight:800}.numbers-name{font-size:1.25rem;margin-top:8px}.numbers-sound{display:block;width:28px;height:28px;margin-top:8px}.numbers-sound .sketch-icon{width:100%;height:100%}.numbers-quantity{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:620px}.numbers-quantity.is-empty{border:3px dashed #111;border-radius:15px;background:#fff;min-height:90px}.numbers-object{display:flex;align-items:center;justify-content:center;min-width:0;height:clamp(52px,11vh,115px)}.numbers-object.is-hidden{visibility:hidden}.numbers-object .sketch-image{display:block;width:100%;height:100%;object-fit:contain}.numbers-explorer{display:grid;grid-template-columns:repeat(5,minmax(0,80px));justify-content:center;gap:12px}.numbers-explorer button.counting-button{padding:8px;font-size:2rem}.numbers-explorer button.is-current{background:#111;color:#fff}.numbers-actions{flex:0 0 auto;padding:8px 16px max(12px,env(safe-area-inset-bottom))}.numbers-status{margin:0}.numbers-status:empty{display:none}.numbers-lesson .numbers-choices.has-quantities{align-self:center;width:min(100%,1100px);margin-inline:auto;grid-template-columns:repeat(3,minmax(0,320px));place-content:center;gap:clamp(14px,2.4vw,28px)}.numbers-lesson .has-quantities button.counting-button{padding:10px}.has-quantities .numbers-quantity{gap:3px}.has-quantities .numbers-object{height:clamp(30px,6vh,60px)}.numbers-lesson .has-quantities button.is-correct{background:#eee;color:#111;outline:3px solid #111;opacity:1}.number-range-lesson .numbers-workspace{width:min(100%,1080px)}.number-range-lesson .numbers-explorer{grid-template-columns:repeat(5,minmax(64px,92px))}.number-range-lesson .numbers-base-ten{display:block;width:100%;max-width:760px}.number-range-lesson .numbers-base-ten .base-ten{min-height:130px;padding:6px;gap:5px}.number-range-lesson .base-ten-rod{grid-template-rows:repeat(10,7px);gap:1px;padding:2px;background:#ddd;border-color:#111}.number-range-lesson .base-ten-rod i{width:11px;background:#fff;border:1px solid #777}.number-range-lesson .base-ten-unit{width:16px;height:16px;background:#fff;border-color:#111;border-radius:3px}.base-ten-hundred{display:grid;grid-template-columns:repeat(10,7px);grid-template-rows:repeat(10,7px);gap:1px;padding:3px;border:3px solid #111;background:#111}.base-ten-hundred i{display:block;width:7px;height:7px;background:#fff}.number-range-lesson .numbers-choices .base-ten{transform-origin:center}.number-range-lesson .numbers-choices .numbers-base-ten{max-width:none}.number-range-lesson .numbers-choices .numbers-base-ten .base-ten{min-height:100px}.numbers-picture-lesson .numbers-workspace{gap:clamp(24px,5vw,70px)}.numbers-picture-quantity{--numbers-picture-height: clamp(54px, 8.5vh, 86px);display:grid;width:min(100%,680px);max-width:680px;grid-template-columns:repeat(5,minmax(48px,1fr));grid-template-rows:none;grid-auto-rows:var(--numbers-picture-height);grid-auto-flow:row;place-content:center;gap:clamp(5px,1vw,11px)}.numbers-picture-object{display:grid;min-width:0;height:var(--numbers-picture-height);place-items:center}.numbers-picture-image{display:block;width:100%;height:var(--numbers-picture-height);object-fit:contain}.numbers-picture-lesson .numbers-choices button.counting-button{width:100%;min-height:clamp(190px,34vh,290px);padding:clamp(10px,1.5vw,18px)}.numbers-picture-lesson .numbers-choices .numbers-picture-quantity{--numbers-picture-height: clamp(38px, 6vh, 58px);align-self:center;width:100%;grid-template-columns:repeat(5,minmax(32px,1fr));grid-template-rows:none;grid-auto-rows:var(--numbers-picture-height);grid-auto-flow:row;gap:clamp(2px,.5vw,6px)}@media (max-width: 680px){.numbers-workspace{flex-direction:column;gap:16px}.numbers-digit{font-size:5rem}.numbers-numeral{padding:8px 24px}.numbers-lesson .numbers-choices.has-quantities{gap:8px}.numbers-lesson .has-quantities button.counting-button{padding:6px}.has-quantities .numbers-quantity{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));grid-auto-flow:column}.number-range-lesson .numbers-explorer{grid-template-columns:repeat(5,minmax(48px,1fr));gap:6px}.number-range-lesson .numbers-explorer button.counting-button{font-size:1.35rem}.number-range-lesson .numbers-choices.has-quantities{grid-template-columns:repeat(3,minmax(0,1fr))}.number-range-lesson .numbers-choices .base-ten{transform:scale(.78);margin:-10px}.numbers-picture-lesson .numbers-choices.has-quantities{grid-template-columns:1fr;width:min(100%,430px)}.numbers-picture-lesson .numbers-choices button.counting-button{min-height:190px}.numbers-picture-lesson .numbers-picture-quantity{display:grid;grid-template-columns:repeat(5,minmax(38px,1fr));grid-template-rows:none;grid-auto-flow:row}}@media (max-height: 600px){.numbers-lesson .numbers-stage{gap:6px}.numbers-workspace{flex-direction:row}.numbers-digit{font-size:4rem}.numbers-numeral{padding:6px 16px}.numbers-object{height:48px}.numbers-lesson .has-quantities .numbers-object{height:30px}.numbers-picture-lesson .numbers-picture-quantity{--numbers-picture-height: 44px;grid-auto-rows:var(--numbers-picture-height)}.numbers-picture-lesson .numbers-choices button.counting-button{min-height:168px}.numbers-picture-lesson .numbers-choices .numbers-picture-quantity{--numbers-picture-height: 34px;grid-auto-rows:var(--numbers-picture-height)}}.math-foundations-screen.ten-frame-lesson{overflow:auto}.ten-frame-lesson .foundation-header{border:0}.ten-frame-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:16px clamp(16px,5vw,64px)}.ten-frame-lesson .foundation-prompt-row{justify-content:center}.ten-frame-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.ten-frame-lesson .foundation-prompt-row .foundation-control{width:56px;height:56px;padding:10px;border:0;background:transparent}.ten-frame-workspace{display:flex;align-items:center;justify-content:center;gap:clamp(20px,5vw,72px);width:min(100%,900px);margin:0 auto}.ten-frame-target{min-width:clamp(70px,10vw,120px);font-size:clamp(4rem,12vw,8rem);font-weight:800;line-height:1;text-align:center}.ten-frame-lesson .foundation-ten-frame-wrap{flex:0 1 auto;width:fit-content;overflow:visible}.ten-frame-lesson .foundation-ten-frame{--foundation-frame-cell: clamp(58px, 10vw, 100px);gap:clamp(5px,.8vw,10px);padding:clamp(6px,1vw,12px);border:3px solid #111;border-radius:16px}.ten-frame-lesson .foundation-ten-frame[data-capacity="5"]{grid-template-rows:repeat(1,var(--foundation-frame-cell))}.ten-frame-lesson .foundation-ten-cell{border:2px solid #111;border-radius:12px;background:#fff;color:#111}.ten-frame-lesson .foundation-ten-cell.is-filled{background:#111;color:#fff}.ten-frame-lesson .foundation-ten-cell:focus-visible{outline:3px solid #111;outline-offset:4px}.ten-frame-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1.2vw,16px);width:min(100%,900px)}.ten-frame-lesson .ten-frame-options button.ten-frame-option{width:100%;min-width:0;min-height:158px;height:auto;padding:12px;display:flex;align-items:center;justify-content:center}.ten-frame-lesson .ten-frame-option .foundation-ten-frame-wrap{flex:0 1 260px;width:100%;max-width:260px;min-width:0}.ten-frame-lesson .ten-frame-option .foundation-ten-frame{width:100%;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:auto;gap:3px;padding:5px;border-width:2px}.ten-frame-lesson .ten-frame-option .foundation-ten-cell{width:100%;height:auto;aspect-ratio:1;border-width:1px;border-radius:5px}.ten-frame-lesson button.ten-frame-option.is-wrong{opacity:.38}.ten-frame-lesson button.ten-frame-option.is-correct{outline:4px solid #236447}.ten-frame-status{min-height:1.5em;margin:0;text-align:center;font-size:1.2rem}.ten-frame-actions{min-height:64px;display:flex;justify-content:center;gap:12px}.ten-frame-lesson button.counting-button{min-height:64px;padding:12px 24px;border:2px solid #111;border-radius:12px;color:#111;background:#fff;font:inherit;font-weight:700;font-size:1.2rem;cursor:pointer}.ten-frame-lesson button.counting-button.foundation-primary{background:#111;color:#fff}.ten-frame-lesson button.counting-button:disabled{opacity:.4;cursor:default}.ten-frame-lesson button.counting-button:focus-visible{outline:3px solid #111;outline-offset:4px}@media (max-width: 900px){.ten-frame-workspace.is-recognising{flex-direction:column;gap:12px}}@media (max-width: 680px){.ten-frame-workspace{flex-direction:column;gap:12px}.ten-frame-target{font-size:4rem}.ten-frame-lesson .foundation-ten-frame{--foundation-frame-cell: clamp(48px, calc((100vw - 72px)/5) , 72px)}.ten-frame-options{grid-template-columns:1fr;width:min(100%,360px)}.ten-frame-lesson .ten-frame-options button.ten-frame-option{min-height:118px}.ten-frame-lesson .ten-frame-option .foundation-ten-frame-wrap{max-width:240px}}@media (max-height: 600px){.ten-frame-stage{gap:6px;padding-top:0}.ten-frame-status{margin:0}}.pattern-lesson .pattern-stage{gap:clamp(12px,2.2vh,20px)}.pattern-sequence{width:min(100%,940px);margin:0 auto;display:grid;grid-template-columns:repeat(6,minmax(56px,1fr));align-items:center;justify-content:center;gap:clamp(6px,1.4vw,18px)}.pattern-item{min-width:0;height:clamp(76px,17vh,150px);padding:clamp(3px,.7vw,8px);border:2px solid transparent;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff;color:#111;font-size:clamp(3rem,8vw,6rem);font-weight:800;line-height:1}.pattern-item.is-hidden{visibility:hidden}.pattern-item.is-unit-end{box-shadow:inset -3px 0 #c7d7d7}.pattern-item.is-answer,.pattern-question{border-color:#111}.pattern-question{border-style:dashed}.pattern-repeat-key{display:flex;align-items:center;justify-content:center;gap:clamp(5px,1vw,12px);font-weight:700}.pattern-key-image{width:clamp(36px,5vw,56px);height:clamp(36px,8vh,56px);object-fit:contain}.pattern-sequence-image,.pattern-choice-image{display:block;width:100%;height:100%;object-fit:contain}.pattern-lesson .pattern-choices{grid-template-columns:repeat(3,minmax(96px,150px))}.pattern-lesson .pattern-choice{width:clamp(96px,14vw,150px);height:clamp(88px,16vh,132px);padding:8px}.pattern-lesson .pattern-choice.is-correct .pattern-choice-image{filter:invert(1)}.pattern-status{margin:0}@media (max-width: 680px){.pattern-sequence{gap:5px}.pattern-item{height:clamp(62px,14vh,104px);padding:2px}.pattern-lesson .pattern-choices{gap:12px}}@media (max-height: 600px){.pattern-lesson .pattern-stage{gap:6px;padding-top:0}.pattern-item{height:clamp(58px,14vh,92px)}.pattern-lesson .pattern-choice{height:76px;min-height:76px}}.position-lesson .position-stage{gap:clamp(10px,2vh,18px)}.position-scene{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);align-items:center;justify-items:center}.position-scene{width:min(78vw,500px);height:clamp(230px,42vh,390px);margin:0 auto}.position-reference{grid-column:2;grid-row:2;width:82%;height:82%;border:clamp(3px,.55vw,5px) solid #111;border-radius:14px;background:#fff;box-sizing:border-box}.position-object{width:82%;height:82%;z-index:1;display:flex;align-items:center;justify-content:center;transition:opacity .16s ease}.position-object.is-hidden{visibility:hidden}.position-object.is-left{grid-column:1;grid-row:2}.position-object.is-right{grid-column:3;grid-row:2}.position-object.is-above{grid-column:2;grid-row:1}.position-object.is-inside{grid-column:2;grid-row:2;width:64%;height:64%}.position-object.is-under{grid-column:2;grid-row:3}.position-object-image{display:block;width:100%;height:100%;object-fit:contain}.position-status{margin:0}.position-lesson .counting-actions{position:sticky;bottom:0;z-index:2;width:100%;padding:6px 0 max(6px,env(safe-area-inset-bottom))}.position-scene.is-interactive{height:clamp(300px,56vh,510px)}.position-target{min-width:0;min-height:0;padding:clamp(4px,.8vw,10px);border:3px solid transparent;border-radius:14px;background:transparent}.position-target.is-wrong{border-color:#bbb;background:#eee;opacity:.28}.position-target.is-correct{border-color:#111}.position-target:focus-visible{outline:4px solid #111;outline-offset:2px}@media (max-width: 680px){.position-scene{width:min(92vw,430px);height:clamp(210px,38vh,330px)}.position-scene.is-interactive{height:clamp(280px,52vh,430px)}}@media (max-height: 600px){.position-lesson .position-stage{gap:5px;padding-top:0}.position-scene{height:210px;width:360px}.position-scene.is-interactive{height:270px}}.skip-counting-lesson .skip-counting-stage,.skip-counting-lesson .staged-number-stage{gap:clamp(7px,1.4vh,13px)}.skip-counting-lesson .foundation-prompt-row{justify-content:center}.skip-counting-lesson .foundation-prompt-row h2{font-size:clamp(1.2rem,2.7vw,1.85rem)}.skip-counting-workspace{min-height:0;width:min(100%,900px);margin:0 auto;display:grid;justify-items:center;gap:clamp(14px,3vh,28px)}.skip-tracks{width:100%;display:grid;gap:clamp(14px,2.5vh,24px)}.skip-track{min-width:0;display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:8px}.skip-track-label{width:62px;min-height:52px;border:3px solid #111;border-radius:14px;display:grid;place-items:center;background:#111;color:#fff;font-size:clamp(1.2rem,2.8vw,1.7rem);font-weight:900}.skip-track-path{min-width:0;padding-top:38px;display:flex;align-items:center;justify-content:center}.skip-node{position:relative;flex:0 0 clamp(50px,min(7.8vw,11vh),76px);width:clamp(50px,min(7.8vw,11vh),76px);aspect-ratio:1;border:3px dashed #aaa;border-radius:50%;display:grid;place-items:center;background:#fff;color:transparent}.skip-node.is-reached,.skip-node.is-question{border-style:solid;border-color:#111;color:#111}.skip-node.is-question{border-style:dashed;background:#f5f5f5}.skip-node.is-question.is-solved{border-style:solid;background:#111;color:#fff}.skip-node.is-current{background:#eee;outline:3px solid #111;outline-offset:3px}.skip-node-number{font-size:clamp(1.25rem,3.5vw,2rem);font-weight:900;line-height:1}.skip-frog-image{position:absolute;left:50%;top:-36px;transform:translate(-50%);width:38px;height:38px;object-fit:contain;z-index:1}.skip-hop{flex:1 1 clamp(25px,5vw,54px);min-width:22px;max-width:62px;display:grid;place-items:center;line-height:.8}.skip-hop-step{font-size:clamp(.72rem,1.6vw,1rem);font-weight:900}.skip-hop-arrow{width:100%;font-size:clamp(1.5rem,4vw,2.5rem);text-align:center}.skip-counting-choices{width:min(100%,650px);grid-template-columns:repeat(3,minmax(0,1fr))}.skip-counting-lesson button.foundation-choice.counting-button{min-height:80px;padding:10px;font-size:clamp(1.9rem,5vw,3rem);font-weight:900}.skip-counting-status{min-height:1.5em;margin:0}.skip-counting-actions,.skip-counting-lesson .staged-number-actions{min-height:64px}@media (max-width: 680px){.skip-track{grid-template-columns:54px minmax(0,1fr);gap:4px}.skip-track-label{width:50px;min-height:46px}.skip-track-path{padding-top:28px}.skip-node{flex-basis:clamp(38px,10vw,54px);width:clamp(38px,10vw,54px)}.skip-frog-image{width:31px;height:31px;top:-29px}.skip-hop{min-width:12px}.skip-counting-lesson button.foundation-choice.counting-button{min-height:70px}}@media (max-height: 600px){.skip-counting-lesson .skip-counting-stage,.skip-counting-lesson .staged-number-stage{gap:2px;padding-top:0}.skip-counting-workspace,.skip-tracks{gap:5px}.skip-track-path{padding-top:26px}.skip-node{flex-basis:52px;width:52px}.skip-frog-image{width:28px;height:28px;top:-24px}.skip-track-label{min-height:42px}.skip-counting-lesson button.foundation-choice.counting-button{min-height:56px;font-size:2rem}.skip-counting-actions,.skip-counting-lesson .staged-number-actions{min-height:52px}}.number-order-lesson .number-order-stage{gap:clamp(8px,1.5vh,14px)}.number-order-lesson .foundation-prompt-row{justify-content:center}.number-order-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem);margin:0}.number-order-workspace{min-height:0;width:min(100%,820px);margin:0 auto;display:grid;justify-items:center;gap:clamp(12px,2.4vh,24px)}.number-order-direction{width:min(100%,670px);display:grid;grid-template-columns:1fr minmax(100px,1.2fr) 1fr;align-items:center;gap:10px;font-size:clamp(1rem,2.4vw,1.35rem);font-weight:900;text-align:center}.number-order-end{display:inline-flex;align-items:center;justify-content:center;gap:8px}.number-order-scale{display:inline-block;flex:0 0 auto;border-radius:50%;background:#111}.number-order-scale.is-small{width:12px;height:12px}.number-order-scale.is-large{width:28px;height:28px}.number-order-arrow{display:block;font-size:clamp(2.4rem,6vw,4rem);font-weight:500;line-height:.7}.number-order-slots,.number-order-numbers{width:min(100%,670px);display:grid;grid-template-columns:repeat(var(--order-count, 3),minmax(0,1fr));gap:clamp(10px,2vw,20px)}.number-order-choice.has-objects,.number-order-lesson button.number-order-choice.counting-button.has-objects{grid-template-rows:auto 1fr;align-content:center;gap:4px;padding:8px 6px}.number-order-objects{display:flex;flex-wrap:wrap;justify-content:center;align-content:start;gap:2px;max-width:calc(5*clamp(13px,2vw,24px) + 8px)}.number-order-object{width:clamp(13px,2vw,24px);height:clamp(13px,2vw,24px);object-fit:contain}.number-order-slot,.number-order-choice{min-width:0;min-height:clamp(82px,14vh,116px);border:3px solid #111;border-radius:14px;display:grid;place-items:center;color:#111;background:#fff;font:inherit;font-size:clamp(2.6rem,6vw,4.5rem);font-weight:900;line-height:1}.number-order-slot{border-style:dashed}.number-order-slot.is-filled{border-style:solid;background:#111;color:#fff}button.number-order-choice{cursor:pointer}.number-order-lesson button.number-order-choice.counting-button{min-height:clamp(82px,14vh,116px);padding:0;border:3px solid #111;border-radius:14px;font-size:clamp(2.6rem,6vw,4.5rem);font-weight:900;line-height:1}.number-order-choice.is-used{opacity:.2;border-style:dashed}button.number-order-choice.is-wrong{color:#888;background:#eee;border-color:#bbb;opacity:.5;cursor:default}.number-order-status{min-height:1.5em;margin:0}.number-order-actions{min-height:64px}@media (max-width: 680px){.number-order-workspace{gap:10px}.number-order-direction{grid-template-columns:1fr 72px 1fr;gap:6px;font-size:.95rem}.number-order-end{gap:5px}.number-order-scale.is-small{width:10px;height:10px}.number-order-scale.is-large{width:22px;height:22px}.number-order-slots,.number-order-numbers{gap:7px}.number-order-slot,.number-order-choice,.number-order-lesson button.number-order-choice.counting-button{min-height:76px;font-size:clamp(2.25rem,11vw,3.4rem)}}@media (max-height: 600px){.number-order-lesson .number-order-stage{gap:2px;padding-top:0}.number-order-workspace{gap:5px}.number-order-direction{font-size:.95rem}.number-order-scale.is-small{width:10px;height:10px}.number-order-scale.is-large{width:22px;height:22px}.number-order-arrow{font-size:2.4rem}.number-order-slot,.number-order-choice,.number-order-lesson button.number-order-choice.counting-button{min-height:64px;font-size:2.4rem}.number-order-actions{min-height:52px}}.plus-minus-one-lesson .plus-minus-one-stage{gap:clamp(8px,1.5vh,14px)}.plus-minus-one-lesson .foundation-prompt-row{justify-content:center}.plus-minus-one-lesson .foundation-prompt-row h2{font-size:clamp(1.25rem,2.8vw,1.9rem)}.plus-minus-one-workspace{min-height:0;width:min(100%,820px);margin:0 auto;display:grid;justify-items:center;align-content:center;gap:clamp(12px,2.5vh,24px)}.plus-minus-one-sequence{display:flex;align-items:center;justify-content:center;gap:clamp(6px,1vw,16px);font-size:clamp(1.9rem,5vw,3.2rem);font-weight:800}.plus-minus-one-sequence .is-result{min-width:1.4em;border:2px dashed #111;border-radius:10px;text-align:center}.plus-minus-one-change{min-width:190px;min-height:68px}.plus-minus-one-equation{display:grid;grid-template-columns:repeat(4,minmax(64px,auto));align-items:center;justify-content:center;gap:clamp(7px,1.5vw,16px);font-size:clamp(2.8rem,min(8vw,10vh),5.5rem);line-height:1;font-weight:900}.plus-minus-one-operator{min-width:1.7em;padding:.15em .25em;border:3px solid #111;border-radius:14px;text-align:center;font-size:.72em;background:#fff}.plus-minus-one-result{min-width:1.2em;padding:.12em .22em;border-bottom:5px solid #111;text-align:center}.plus-minus-one-quantity{width:min(100%,680px);display:grid;grid-template-columns:repeat(5,minmax(56px,1fr));grid-template-rows:repeat(2,minmax(56px,1fr));gap:clamp(6px,1.2vw,12px)}.plus-minus-one-object{position:relative;min-width:0;height:clamp(62px,min(10vw,13vh),94px);display:grid;place-items:center;border:3px solid transparent;border-radius:16px}.plus-minus-one-object.is-empty{visibility:hidden}.plus-minus-one-object.is-added{border-color:#111;background:#eee;animation:plus-minus-one-pop .24s ease-out}.plus-minus-one-object.is-removed{opacity:.34;background:#eee}.plus-minus-one-image{width:88%;height:88%;object-fit:contain}.plus-minus-one-badge{position:absolute;top:-11px;right:-8px;min-width:38px;min-height:38px;display:grid;place-items:center;border:2px solid #111;border-radius:50%;background:#111;color:#fff;font-size:1rem;font-style:normal;font-weight:900}.plus-minus-one-cross{position:absolute;inset:50% auto auto 50%;width:88%;height:7px;border-radius:999px;background:#111;transform:translate(-50%,-50%) rotate(-34deg)}.plus-minus-one-choices{width:min(100%,570px);grid-template-columns:repeat(3,minmax(0,1fr))}.plus-minus-one-choices button.counting-button{min-height:82px;font-size:clamp(2.2rem,6vw,3.5rem)}.plus-minus-one-status{min-height:1.5em;margin:0}.plus-minus-one-actions{min-height:64px}@keyframes plus-minus-one-pop{0%{opacity:0;transform:scale(.65)}to{opacity:1;transform:scale(1)}}@media (max-width: 680px){.plus-minus-one-equation{grid-template-columns:repeat(4,minmax(48px,auto));gap:5px}.plus-minus-one-quantity{grid-template-columns:repeat(5,minmax(44px,1fr))}.plus-minus-one-object{height:clamp(54px,15vw,76px)}}@media (max-height: 600px){.plus-minus-one-lesson .plus-minus-one-stage{gap:3px;padding-top:0}.plus-minus-one-workspace{gap:6px}.plus-minus-one-sequence{font-size:1.9rem}.plus-minus-one-equation{font-size:2.65rem}.plus-minus-one-object{height:52px}.plus-minus-one-badge{min-width:30px;min-height:30px;top:-6px;font-size:.82rem}.plus-minus-one-choices button.counting-button{min-height:58px;font-size:2.4rem}.plus-minus-one-actions{min-height:52px}}.even-odd-lesson .even-odd-stage{gap:clamp(8px,1.5vh,14px)}.even-odd-lesson .foundation-prompt-row{justify-content:center}.even-odd-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.even-odd-workspace{min-height:0;width:min(100%,1000px);margin:0 auto;display:grid;justify-items:center;align-content:center;gap:clamp(12px,2.3vh,22px)}.even-odd-example-number{font-size:clamp(3.4rem,min(9vw,12vh),6.5rem);line-height:.9;font-weight:900}.even-odd-pairs{width:min(100%,780px);min-height:clamp(112px,20vh,160px);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(12px,2vw,22px)}.even-odd-pair,.even-odd-leftover{position:relative;min-width:clamp(132px,17vw,168px);min-height:clamp(94px,16vh,128px);padding:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));place-items:center;gap:5px;border:3px solid #111;border-radius:18px;background:#fff}.even-odd-leftover{min-width:clamp(72px,9vw,90px);grid-template-columns:1fr;border-style:dashed}.even-odd-pair.is-pending,.even-odd-leftover.is-pending{border:3px dashed #bbb;background:#fafafa}.even-odd-pair.is-pending>*,.even-odd-leftover.is-pending>*{opacity:0}.even-odd-object-image{width:100%;height:clamp(72px,13vh,104px);object-fit:contain}.even-odd-leftover i{position:absolute;top:-12px;right:-10px;width:38px;height:38px;display:grid;place-items:center;border:2px solid #111;border-radius:50%;background:#111;color:#fff;font-size:1.4rem;font-style:normal;font-weight:900}.even-odd-result-label{min-height:1.25em;font-size:clamp(1.5rem,3.5vw,2.35rem);font-weight:900;opacity:0}.even-odd-result-label.is-visible{opacity:1}.even-odd-choices{width:min(100%,980px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:center;gap:clamp(10px,2vw,20px)}button.even-odd-choice.counting-button{min-width:0;min-height:clamp(188px,32vh,250px);padding:clamp(10px,1.6vw,18px);display:grid;grid-template-rows:auto 1fr;place-items:center;gap:8px}.even-odd-choice-number{font-size:clamp(2.7rem,6vw,4.4rem);line-height:1;font-weight:900}.even-odd-pairs.is-compact{width:100%;min-height:0;align-content:center;gap:clamp(4px,.7vw,8px)}.even-odd-pairs.is-compact .even-odd-pair,.even-odd-pairs.is-compact .even-odd-leftover{min-width:0;width:clamp(48px,5.5vw,64px);min-height:0;height:clamp(42px,5.2vw,58px);padding:4px;gap:1px;border-width:2px;border-radius:10px}.even-odd-choice-image{width:100%;height:100%;object-fit:contain}.even-odd-pairs.is-compact .even-odd-leftover{width:clamp(28px,3.2vw,38px)}.even-odd-pairs.is-compact .even-odd-leftover i{width:22px;height:22px;top:-8px;right:-7px;font-size:.85rem}button.even-odd-choice.is-correct .even-odd-pair,button.even-odd-choice.is-correct .even-odd-leftover{background:#fff}.even-odd-status{min-height:1.5em;margin:0}.even-odd-status:empty{display:none}.even-odd-actions{min-height:64px}@media (max-width: 680px){.even-odd-choices{gap:6px}button.even-odd-choice.counting-button{min-height:174px;padding:7px 4px}.even-odd-pairs.is-compact{gap:3px}.even-odd-pairs.is-compact .even-odd-pair{width:clamp(38px,10vw,50px);height:clamp(36px,9vw,46px)}.even-odd-pairs.is-compact .even-odd-leftover{width:27px;height:38px}}@media (max-height: 600px){.even-odd-lesson .even-odd-stage{gap:3px;padding-top:0}.even-odd-workspace{gap:5px}.even-odd-example-number{font-size:3rem}.even-odd-pairs{min-height:88px;gap:8px}.even-odd-pair,.even-odd-leftover{min-width:112px;min-height:78px}.even-odd-object-image{height:64px}button.even-odd-choice.counting-button{min-height:158px}.even-odd-actions{min-height:52px}}.ordinal-lesson .ordinal-stage{gap:clamp(9px,1.7vh,16px)}.ordinal-lesson .foundation-prompt-row{justify-content:center}.ordinal-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.ordinal-workspace{min-height:0;width:min(100%,1080px);margin:0 auto;display:grid;place-items:center;gap:clamp(12px,2vh,22px)}.ordinal-numeral{min-width:220px;padding:8px 20px;display:grid;grid-template-columns:1fr 38px;align-items:center;column-gap:16px;border:3px solid #111;border-radius:18px;background:#fff;text-align:center}.ordinal-digit{font-size:clamp(3rem,6vh,4rem);font-weight:900;line-height:1.1}.ordinal-name{grid-column:1;font-size:1.3rem;font-weight:700}.ordinal-sound{grid-column:2;grid-row:1 / span 2}.ordinal-sound .sketch-image{width:38px;height:38px}.ordinal-queue-wrap{width:100%;display:grid;grid-template-columns:clamp(52px,7vw,78px) minmax(0,1fr);align-items:center;column-gap:clamp(8px,1.5vw,18px)}.ordinal-queue-wrap.has-two-rows{grid-template-rows:repeat(2,1fr);row-gap:clamp(12px,2vh,22px)}.ordinal-front,.ordinal-continuation{grid-column:1;width:clamp(52px,7vw,74px);height:clamp(52px,7vw,74px);display:grid;place-items:center;font-size:clamp(2rem,5vw,3.4rem);font-weight:900}.ordinal-front{grid-row:1;border:3px solid #111;border-radius:50%;background:#111;color:#fff}.ordinal-continuation{grid-row:2}.ordinal-queue{grid-column:2;grid-row:1;min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:clamp(7px,1.5vw,16px);row-gap:clamp(12px,2vh,22px)}.has-two-rows .ordinal-queue{grid-row:1 / span 2}.ordinal-queue-item{min-width:0;height:clamp(126px,18vh,165px);padding:8px;display:grid;place-items:center;border:3px solid #111;border-radius:18px;background:#fff;color:#111;font:inherit}.ordinal-object-image{width:100%;height:clamp(70px,11vh,104px);object-fit:contain}.ordinal-choice .ordinal-object-image{height:clamp(90px,14vh,140px)}.ordinal-mark{min-width:48px;padding:1px 7px;border:2px solid #111;border-radius:999px;background:#fff;font-size:clamp(1.1rem,2.4vw,1.55rem);font-weight:900;text-align:center;line-height:1.2}.ordinal-numeral,.ordinal-explore,.ordinal-choice:not(:disabled){cursor:pointer}.ordinal-numeral:focus-visible,.ordinal-explore:focus-visible,.ordinal-choice:not(:disabled):focus-visible{outline:4px solid #111;outline-offset:3px}.ordinal-queue-item.is-active{border-width:5px;background:#eee;outline:3px solid #111;outline-offset:2px}button.ordinal-choice.is-wrong{border-color:#bbb;background:#eee;opacity:.42;cursor:default}button.ordinal-choice.is-correct{opacity:1;border-width:5px;background:#eee;outline:3px solid #111;outline-offset:3px}.ordinal-status{min-height:1.5em;margin:0}.ordinal-status:empty{display:none}.ordinal-actions{min-height:64px}@media (max-width: 680px){.ordinal-queue-wrap{grid-template-columns:36px minmax(0,1fr);column-gap:5px}.ordinal-front,.ordinal-continuation{width:36px;height:36px;font-size:1.7rem}.ordinal-queue{column-gap:4px}.ordinal-queue-item{padding:4px;border-radius:12px}.ordinal-mark{min-width:0;padding:2px 4px;font-size:1rem}}@media (max-height: 600px){.ordinal-lesson .ordinal-stage{gap:4px;padding-top:0}.ordinal-workspace{gap:10px}.ordinal-numeral{padding:4px 16px}.ordinal-digit{font-size:2.5rem}.ordinal-name{font-size:1.1rem}.ordinal-queue-wrap.has-two-rows,.ordinal-queue{row-gap:8px}.ordinal-queue-item{height:98px}.ordinal-object-image{height:60px}.ordinal-choice .ordinal-object-image{height:82px}.ordinal-actions{min-height:52px}}.number-line-lesson .number-line-stage{gap:clamp(10px,2vh,20px)}.number-line-lesson .foundation-prompt-row{justify-content:center}.number-line-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem);margin:0}.number-line-workspace{min-height:0;width:min(100%,1100px);margin:0 auto;display:grid;justify-items:center;gap:clamp(16px,3vh,32px)}.number-line-number{display:flex;align-items:center;justify-content:center;gap:20px;min-width:160px;min-height:64px;padding:8px 24px;border:3px solid #111;border-radius:16px;background:#fff;cursor:pointer}.number-line-number span{font-size:clamp(3.5rem,8vh,5rem);font-weight:900;line-height:1.1}.number-line-number .sketch-image{width:36px;height:36px}.number-line-step-cue{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:112px;min-height:54px;padding:6px 18px;border:3px solid #111;border-radius:14px;background:#fff;font-size:clamp(1.75rem,4vh,2.5rem);font-weight:900;line-height:1}.number-line-step-arrow{font-size:1.15em}.number-line-scroll{width:100%;overflow-x:auto;padding:10px 8px 12px}.number-line-rail{position:relative;display:grid;grid-template-columns:repeat(var(--line-points, 11),minmax(0,1fr));min-width:calc(var(--line-points, 11) * 44px)}.number-line-rail:before{content:"";position:absolute;left:calc(100% / (var(--line-points, 11) * 2));right:calc(100% / (var(--line-points, 11) * 2));top:89px;height:4px;background:#111}.number-line-place{position:relative;display:grid;grid-template-rows:80px 22px 70px;justify-items:center;align-items:center;min-width:0}.number-line-frog{grid-row:1;width:76px;max-width:100%;height:72px;object-fit:contain}.number-line-tick{grid-row:2;height:22px;width:3px;background:#111}.number-line-place.is-active .number-line-tick{width:6px}.number-line-lesson .number-line-label{grid-row:3;display:grid;place-items:center;width:100%;height:64px;font-size:clamp(1.35rem,2.8vw,2rem);font-weight:800;line-height:1}.number-line-explore{padding:0;border:2px solid transparent;border-radius:12px;background:#fff;cursor:pointer}.number-line-place.is-active .number-line-explore{border-color:#111;background:#eee}.number-line-lesson button.number-line-position.counting-button{width:min(100%,64px);min-height:64px;padding:0;font-size:2rem;cursor:pointer}.number-line-number:focus-visible,.number-line-explore:focus-visible,.number-line-position:focus-visible{outline:4px solid #111;outline-offset:3px}.number-line-lesson button.number-line-position.counting-button.is-correct,.number-line-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:2px}.number-line-lesson button.number-line-position.counting-button.is-wrong,.number-line-choices button.counting-button.is-wrong{opacity:.45;background:#eee;border-color:#bbb;color:#777}.number-line-missing{width:min(100%,64px);border:2px dashed #111;border-radius:12px;background:#eee;font-size:2rem}.number-line-status{margin:0;min-height:1.5em}.number-line-status:empty{display:none}.number-line-actions{min-height:64px}@media (max-height: 600px){.number-line-lesson .number-line-stage{gap:4px;padding-top:0}.number-line-workspace{gap:10px}.number-line-number span{font-size:3rem}.number-line-number{padding:4px 20px}.number-line-step-cue{min-height:44px;padding:4px 14px;font-size:1.5rem}.number-line-place{grid-template-rows:64px 22px 64px}.number-line-rail:before{top:73px}.number-line-frog{height:58px}.number-line-actions{min-height:52px}}.money-lesson .money-stage,.money-lesson .staged-number-stage{gap:clamp(9px,1.7vh,16px)}.money-lesson .foundation-prompt-row{justify-content:center}.money-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.money-workspace{min-height:0;width:min(100%,820px);margin:0 auto;display:grid;justify-items:center;gap:clamp(14px,3vh,28px)}.money-lesson .money-showcase{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;width:100%}.money-coins{min-height:clamp(130px,24vh,190px);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(12px,2.8vw,28px)}.money-coin{position:relative;width:clamp(112px,min(18vw,23vh),168px);aspect-ratio:1;display:grid;place-items:center;border:4px solid transparent;border-radius:20px;transition:opacity .15s ease}.money-coin.is-hidden{visibility:hidden}.money-coin.is-highlighted{border-color:#111;background:#eee}.money-coin-image{width:100%;height:100%;object-fit:contain}.money-coin-value{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);min-width:2.2em;padding:.1em .28em;border:3px solid #111;border-radius:999px;background:#fff;color:#111;text-align:center;font-size:clamp(1.15rem,3vw,1.75rem);font-weight:900;line-height:1.05}.money-total{min-width:2.6em;padding:.2em .5em;border:3px solid #111;border-radius:12px;background:#111;color:#fff;font-size:clamp(2rem,5vw,3.25rem);font-weight:900;line-height:1.1}.money-choices{width:min(100%,650px);grid-template-columns:repeat(3,minmax(0,1fr))}.money-choices button.counting-button{min-height:84px;font-size:clamp(1.7rem,4vw,2.6rem)}.money-status{min-height:1.5em;margin:0}.money-actions,.money-lesson .staged-number-actions{min-height:64px}@media (max-width: 680px){.money-coins{gap:5px}.money-coin{width:clamp(92px,27vw,128px)}.money-choices button.counting-button{min-height:72px}}@media (max-height: 600px){.money-lesson .money-stage,.money-lesson .staged-number-stage{gap:3px;padding-top:0}.money-workspace{gap:6px}.money-coins{min-height:105px;gap:8px}.money-coin{width:100px}.money-total{font-size:1.8rem}.money-choices button.counting-button{min-height:58px}.money-actions,.money-lesson .staged-number-actions{min-height:54px}}.tally-lesson .tally-stage{gap:clamp(8px,1.5vh,14px)}.tally-lesson .foundation-prompt-row{justify-content:center}.tally-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.tally-workspace{min-height:0;width:min(100%,780px);margin:0 auto;display:grid;justify-items:center;gap:clamp(12px,2.4vh,22px)}.tally-objects{min-height:70px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(4px,1vw,10px)}.tally-source-object{width:clamp(46px,min(6.4vw,9vh),64px);aspect-ratio:1;display:grid;place-items:center;border:3px solid transparent;border-radius:14px;opacity:.48}.tally-source-object.is-recorded{border-color:#111;opacity:1;background:#eee}.tally-object-image,.count-table-icon{width:100%;height:100%;object-fit:contain}.count-table{width:min(100%,700px);overflow:hidden;border:3px solid #111;border-radius:18px;background:#fff}.count-table-heading,.count-table-row{display:grid;grid-template-columns:minmax(120px,28%) 1fr;align-items:stretch}.count-table-heading{background:#111;color:#fff;font-size:clamp(.92rem,2vw,1.2rem);font-weight:900;text-align:center}.count-table-heading span{padding:.45em .7em}.count-table-heading span+span{border-left:3px solid #fff}.count-table-row{min-height:clamp(125px,22vh,174px)}.count-table-label{padding:12px;border-right:3px solid #111;display:grid;place-items:center}.count-table-label .count-table-icon{width:clamp(78px,min(13vw,17vh),122px)}.count-table-marks{padding:clamp(12px,2vw,22px);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(14px,3vw,30px)}.count-table-bundle{position:relative;width:112px;height:84px;display:flex;align-items:center;justify-content:center;gap:14px}.count-table-stroke{display:block;width:7px;height:76px;border-radius:999px;background:#111;transform:rotate(1deg)}.count-table-stroke:nth-child(2n){transform:rotate(-2deg)}.count-table-stroke.is-fifth{position:absolute;left:6px;top:38px;width:100px;height:7px;transform:rotate(-35deg)}.count-table-empty{font-size:2.5rem;font-weight:900}.tally-choices{width:min(100%,650px);grid-template-columns:repeat(3,minmax(0,1fr))}.tally-choices button.counting-button{min-height:80px;font-size:clamp(1.9rem,5vw,3rem)}.tally-choice-marks{min-height:54px;display:flex;align-items:center;justify-content:center;gap:7px}.tally-choice-marks .count-table-bundle{width:58px;height:52px;gap:6px}.tally-choice-marks .count-table-stroke{width:5px;height:46px}.tally-choice-marks .count-table-stroke.is-fifth{left:2px;top:24px;width:54px;height:5px}.tally-status{min-height:1.5em;margin:0}.tally-actions{min-height:64px}@media (max-width: 680px){.count-table-heading,.count-table-row{grid-template-columns:105px 1fr}.count-table-bundle{width:94px;gap:11px}.count-table-stroke.is-fifth{width:84px;left:5px}.tally-choice-marks .count-table-stroke.is-fifth{width:54px;left:2px}.tally-choices button.counting-button{min-height:70px}}@media (max-height: 600px){.tally-lesson .tally-stage{gap:3px;padding-top:0}.tally-workspace{gap:5px}.tally-objects{min-height:48px}.tally-source-object{width:46px}.count-table-row{min-height:105px}.count-table-bundle{height:65px}.count-table-stroke{height:58px}.count-table-stroke.is-fifth{top:29px}.tally-choices button.counting-button{min-height:56px}.tally-actions{min-height:52px}}.pictogram-lesson .pictogram-stage{gap:clamp(7px,1.4vh,13px)}.pictogram-lesson .foundation-prompt-row{justify-content:center}.pictogram-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.pictogram-workspace{min-height:0;width:min(100%,980px);margin:auto;display:grid;justify-items:center;align-content:center;gap:clamp(7px,1.4vh,14px)}.pictogram-source{width:100%;display:grid;place-items:center}.pictogram-source-grid{min-height:clamp(64px,11vh,92px);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(7px,1.3vw,14px)}.pictogram-source-object{width:clamp(58px,min(8vw,11vh),86px);aspect-ratio:1;display:grid;place-items:center}.pictogram-source-image,.pictogram-label-image,.pictogram-cell-image{width:100%;height:100%;object-fit:contain}.pictogram-arrow{font-size:clamp(1.6rem,4vh,2.5rem);line-height:.8;font-weight:900}.pictogram-board{width:min(100%,840px);display:grid;gap:clamp(5px,1vh,9px)}.pictogram-key{justify-self:center;padding:4px 14px;border-radius:999px;background:#eee;color:#222;font-size:clamp(.92rem,2vw,1.16rem);font-weight:850}.pictogram-row{--picto-size: clamp(48px, min(7vw, 9vh), 66px);width:100%;min-height:calc(var(--picto-size) + 18px);display:grid;grid-template-columns:clamp(72px,10vw,104px) 1fr;align-items:center;gap:clamp(8px,1.5vw,16px);padding:8px clamp(10px,2vw,20px);border:2px solid #111;border-radius:16px;background:#fff;transition:opacity .15s ease,background .15s ease,transform .15s ease}.pictogram-row-label{width:var(--picto-size);height:var(--picto-size);display:grid;place-items:center;padding-right:10px;border-right:2px solid #bbb}.pictogram-cells{display:grid;grid-auto-flow:column;grid-auto-columns:var(--picto-size);justify-content:start;align-items:center;gap:clamp(3px,.7vw,8px)}.pictogram-cell{width:var(--picto-size);height:var(--picto-size);display:grid;place-items:center}.pictogram-cell.is-empty{opacity:0}.pictogram-row.is-pending{visibility:hidden}.pictogram-row.is-highlighted{background:#eee;border-width:4px;transform:scale(1.02)}button.pictogram-row-choice.counting-button{min-height:calc(var(--picto-size) + 18px);padding:8px clamp(10px,2vw,20px);text-align:left}button.pictogram-row-choice.counting-button:disabled:not(.is-wrong):not(.is-correct){opacity:1}.pictogram-match-choices{width:min(100%,980px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:center;gap:clamp(9px,1.8vw,18px)}button.pictogram-match-choice.counting-button{min-width:0;min-height:clamp(110px,18vh,150px);padding:clamp(8px,1.5vw,14px);display:grid;place-items:center}.pictogram-choice-row{--compact-size: clamp(24px, 3vw, 36px);width:100%;display:grid;grid-template-columns:clamp(36px,5vw,52px) minmax(0,1fr);align-items:center;gap:clamp(4px,.8vw,8px)}.pictogram-compact-label{width:clamp(34px,4.7vw,48px);height:clamp(34px,4.7vw,48px);padding-right:6px;border-right:2px solid #bbb}.pictogram-compact-cells{min-width:0;display:grid;grid-template-columns:repeat(7,minmax(0,var(--compact-size)));justify-content:start;align-items:center;gap:clamp(1px,.35vw,4px)}.pictogram-compact-cell{width:min(100%,var(--compact-size));aspect-ratio:1;display:grid;place-items:center}.pictogram-compact-cell.is-empty{opacity:0}.pictogram-status{min-height:1.5em;margin:0}.pictogram-actions{min-height:64px}@media (max-width: 760px){.pictogram-row{--picto-size: clamp(36px, 7.5vw, 50px);grid-template-columns:60px 1fr;gap:5px;padding-inline:7px}.pictogram-match-choices{gap:6px}button.pictogram-match-choice.counting-button{min-height:102px;padding:6px 4px}.pictogram-choice-row{--compact-size: clamp(18px, 3.25vw, 28px);grid-template-columns:32px 1fr;gap:2px}.pictogram-compact-label{width:30px;height:30px;padding-right:3px}}@media (max-height: 600px){.pictogram-lesson .pictogram-stage{gap:2px;padding-top:0}.pictogram-workspace{gap:4px}.pictogram-source-grid{min-height:52px}.pictogram-source-object{width:52px}.pictogram-arrow{font-size:1.5rem}.pictogram-row{--picto-size: 42px;min-height:56px;padding-block:5px}button.pictogram-row-choice.counting-button{min-height:56px;padding-block:5px}button.pictogram-match-choice.counting-button{min-height:78px}.pictogram-key{padding-block:2px;font-size:.9rem}.pictogram-actions{min-height:52px}}.itinerary-lesson .itinerary-stage{gap:clamp(8px,1.5vh,14px)}.itinerary-lesson .foundation-prompt-row{justify-content:center}.itinerary-lesson .foundation-prompt-row h2{font-size:clamp(1.2rem,2.7vw,1.85rem)}.itinerary-workspace{min-height:0;width:min(100%,760px);margin:auto;display:grid;justify-items:center;gap:clamp(10px,2vh,18px)}.itinerary-arrows{display:flex;justify-content:center;gap:clamp(7px,1.5vw,14px)}.itinerary-arrow{width:clamp(50px,8vw,70px);aspect-ratio:1;display:grid;place-items:center;border:3px solid #111;border-radius:12px;background:#fff;color:#111;font-size:clamp(2rem,5vw,3.2rem);font-weight:900;line-height:1}.itinerary-arrow.is-active,.itinerary-arrow.is-done{background:#111;color:#fff}.itinerary-arrow.is-active{outline:4px solid #111;outline-offset:3px}.itinerary-grid{display:grid;grid-template-columns:repeat(3,clamp(76px,min(13vw,15vh),112px));gap:clamp(5px,1vw,9px);padding:clamp(7px,1.2vw,12px);border:3px solid #111;border-radius:16px;background:#fff}.itinerary-cell{aspect-ratio:1;display:grid;place-items:center;padding:5px;border:3px solid #aaa;border-radius:12px;background:#fff;color:#111;font:inherit}button.itinerary-cell{cursor:pointer}.itinerary-cell.is-choice{border-color:#111;border-style:dashed}.itinerary-cell.has-car{border-color:#111;border-style:solid}.itinerary-cell.is-trail{border-color:#111}.itinerary-car-image{width:88%;height:88%;object-fit:contain}.itinerary-trail-dot{width:22%;aspect-ratio:1;border-radius:50%;background:#111}.itinerary-choice-mark{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:900}.itinerary-cell.is-wrong{border-color:#aaa;background:#eee;color:#777;opacity:.4;cursor:default}.itinerary-cell.is-correct{border:5px solid #111;background:#eee}.itinerary-cell:focus-visible{outline:5px solid #111;outline-offset:3px}.itinerary-status{min-height:1.5em;margin:0}.itinerary-actions{min-height:64px}@media (max-width: 680px){.itinerary-grid{grid-template-columns:repeat(3,clamp(68px,25vw,92px))}.itinerary-arrow{width:52px}}@media (max-height: 600px){.itinerary-lesson .itinerary-stage{gap:3px;padding-top:0}.itinerary-workspace{gap:6px}.itinerary-arrow{width:44px;font-size:1.8rem}.itinerary-grid{grid-template-columns:repeat(3,70px);gap:4px;padding:5px}.itinerary-actions{min-height:54px}}.friends-lesson .friends-stage{gap:clamp(8px,1.5vh,14px)}.friends-lesson .foundation-prompt-row{justify-content:center}.friends-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.friends-workspace{width:min(100%,820px);min-height:0;margin:0 auto;display:grid;justify-items:center;gap:clamp(10px,2vh,18px)}.friends-bond{margin:0 auto;display:grid;grid-template-columns:repeat(5,clamp(54px,min(10vw,12vh),88px));justify-content:center;border:3px solid #111;border-radius:14px;overflow:hidden;background:#111;gap:2px}.friends-slot{aspect-ratio:1;display:grid;place-items:center;background:#fff;color:#111;font-size:clamp(1.8rem,5vw,3rem);font-weight:900}.friends-slot.is-friend{background:#e5e5e5}.friends-slot.is-empty{background:#f5f5f5;color:#111;outline:2px dashed #111;outline-offset:-5px}.friends-object-image{width:82%;height:82%;object-fit:contain}.friends-equation{display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,20px);font-size:clamp(2rem,5vw,3.5rem);font-weight:900;line-height:1;color:#111}.friends-equation.is-deferred{display:none}.friends-missing{min-width:1.45em;min-height:1.45em;display:inline-grid;place-items:center;border:3px dashed #111;border-radius:10px;background:#fff;color:#111}.friends-missing.is-filled{border-style:solid;background:#111;color:#fff}.friends-lesson .friends-choices{width:min(100%,620px);margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px)}.friends-lesson .friends-choices button.counting-button{min-height:82px;font-size:clamp(2rem,5vw,3rem)}.friends-lesson .friends-choices button.counting-button.is-wrong{color:#777;background:#eee;border-color:#aaa;opacity:.42;cursor:default}.friends-lesson .friends-choices button.counting-button.is-correct{background:#111;color:#fff;border-color:#111;outline:4px solid #111;outline-offset:3px;opacity:1}.friends-status{min-height:1.5em;margin:0;color:#111}.friends-actions{min-height:64px}@media (max-width: 680px){.friends-bond{grid-template-columns:repeat(5,clamp(44px,16vw,70px))}.friends-equation{gap:8px}.friends-lesson .friends-choices button.counting-button{min-height:72px}}@media (max-height: 600px){.friends-lesson .friends-stage{gap:4px;padding-block:4px 8px}.friends-workspace{gap:6px}.friends-bond{grid-template-columns:repeat(5,clamp(46px,9.5vh,58px))}.friends-equation{font-size:clamp(1.75rem,4.5vh,2.25rem)}.friends-lesson .friends-choices button.counting-button{min-height:64px;font-size:clamp(1.75rem,4.5vh,2.35rem)}.friends-actions{min-height:54px}}.compare-lesson .compare-stage{gap:clamp(8px,1.6vh,14px)}.compare-lesson .foundation-prompt-row{justify-content:center}.compare-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.compare-board{width:min(100%,700px);min-height:0;margin:0 auto;display:grid;grid-template-columns:minmax(120px,1fr) clamp(104px,16vw,142px) minmax(120px,1fr);align-items:center;justify-items:center;gap:clamp(8px,1.6vw,18px)}.compare-number-column{width:100%;align-self:stretch;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,1.2vh,14px);padding:clamp(10px,1.5vh,16px);border:3px solid #111;border-radius:16px;background:#fff;color:#111}.compare-number-column.is-larger-focus,.compare-number-column.is-equal-focus{border-width:4px;outline:4px solid #111;outline-offset:3px;background:#f5f5f5}.compare-column-number{width:clamp(46px,7vw,64px);aspect-ratio:1;display:grid;place-items:center;border:3px solid #111;border-radius:50%;background:#111;color:#fff;font-size:clamp(1.5rem,3.5vw,2.3rem);font-weight:900;line-height:1}.compare-column-objects{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:repeat(2,max-content);align-content:center;align-items:center;justify-content:center;gap:clamp(4px,.8vw,8px)}.compare-column-objects.is-spread{grid-template-columns:repeat(4,max-content);gap:clamp(6px,1vw,10px)}.compare-object{width:clamp(32px,min(5.4vw,5.4vh),54px);flex:0 0 auto;aspect-ratio:1;display:grid;place-items:center}.compare-object-image{width:94%;height:94%;object-fit:contain}.compare-signs{width:100%;display:grid;gap:clamp(10px,1.6vh,16px)}.compare-sign-choice{width:100%;min-height:clamp(72px,11vh,92px);display:flex;align-items:center;justify-content:center;padding:6px 10px;border:3px solid #111;border-radius:14px;background:#fff;color:#111;font:inherit}button.compare-sign-choice{cursor:pointer}.compare-sign-symbol{font:900 clamp(2.5rem,5.5vw,3.6rem)/1 system-ui,sans-serif}.compare-sign-choice.is-highlighted,.compare-sign-choice.is-correct{background:#111;color:#fff;outline:4px solid #111;outline-offset:3px}.compare-sign-choice.is-wrong{border-color:#aaa;background:#eee;color:#777;opacity:.38;cursor:default}.compare-sign-choice:focus-visible{outline:5px solid #111;outline-offset:3px}.compare-status{min-height:1.5em;margin:0}.compare-actions{min-height:64px}@media (max-width: 680px){.compare-board{width:100%;grid-template-columns:minmax(82px,1fr) 86px minmax(82px,1fr);gap:6px}.compare-number-column{padding-inline:6px}.compare-column-number{width:42px}.compare-sign-choice{min-height:60px;padding-inline:4px}.compare-sign-symbol{font-size:2.3rem}}@media (max-height: 600px){.compare-lesson .compare-stage{gap:3px;padding-top:0}.compare-board{gap:7px}.compare-number-column{padding-block:4px;gap:2px}.compare-column-number{width:38px;font-size:1.35rem}.compare-object{width:29px}.compare-signs{gap:5px}.compare-sign-choice{min-height:50px}.compare-sign-symbol{font-size:2rem}.compare-actions{min-height:54px}}.measure-lesson .measure-stage{gap:clamp(10px,2vh,18px)}.measure-lesson .foundation-prompt-row{justify-content:center}.measure-lesson .foundation-prompt-row h2{font-size:clamp(1.3rem,3vw,2rem)}.measure-workspace{width:min(100%,900px);min-height:0;margin:0 auto;display:flex;align-items:center;justify-content:center}.measure-comparison{--measure-label-w: clamp(40px, 7vw, 64px);--measure-gap: clamp(8px, 1.8vw, 16px);--measure-choice-pad: 8px;position:relative;width:min(88vw,760px);display:grid;gap:clamp(12px,2.6vh,24px);padding:12px 8px}.measure-start-line{position:absolute;top:0;bottom:0;left:calc(8px + var(--measure-choice-pad) + 3px + var(--measure-label-w) + var(--measure-gap));width:3px;border-radius:99px;background:#111;pointer-events:none}.measure-bar-choice{width:100%;min-height:clamp(66px,10vh,94px);display:grid;grid-template-columns:var(--measure-label-w) minmax(0,1fr);align-items:center;gap:var(--measure-gap);padding:var(--measure-choice-pad);border:3px solid transparent;border-radius:14px;background:transparent;color:#111;font:inherit;cursor:pointer}button.measure-bar-choice{border-color:#d4d4d4;background:#fff}.measure-bar-label{font-size:clamp(1.5rem,3vw,2rem);font-weight:800;text-align:center}.measure-lesson .measure-track{min-width:0;height:clamp(34px,6vh,52px);display:flex;align-items:center;border-left:3px solid #111;background:transparent;border-radius:0;overflow:visible}.measure-length-bar{display:block;height:clamp(24px,4.5vh,38px);border:3px solid #111;border-left:0;border-radius:0 999px 999px 0;background:#fff;transition:background .16s ease,opacity .16s ease}.measure-bar-choice.is-highlighted .measure-length-bar,.measure-bar-choice.is-correct .measure-length-bar{background:#111}button.measure-bar-choice.is-correct,.measure-bar-choice.is-correct{opacity:1;border-color:#111;outline:3px solid #111;outline-offset:2px;background:#f4f4f4}.measure-bar-choice.is-wrong{border-color:#bbb;background:#eee;color:#777;opacity:.38;cursor:default}.measure-bar-choice:focus-visible{outline:4px solid #111;outline-offset:3px}.measure-unit-practice{width:100%;display:grid;justify-items:center;gap:clamp(18px,4vh,36px)}.measure-unit-scene{--measure-unit-size: clamp(42px, 7vw, 68px);width:min(calc(var(--measure-units) * var(--measure-unit-size)),86vw);display:grid;gap:clamp(8px,1.5vh,14px)}.measure-object-bar{width:100%;height:clamp(46px,8vh,70px);border:3px solid #111;border-radius:10px 999px 999px 10px;background:#fff}.measure-unit-row{width:100%;display:grid;grid-template-columns:repeat(var(--measure-units),minmax(0,1fr))}.measure-unit{position:relative;aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:2px solid #111;border-right:0;background:#fff;font-size:clamp(1.1rem,2.5vw,1.6rem);font-weight:800}.measure-unit:first-child{border-radius:8px 0 0 8px}.measure-unit:last-child{border-right:2px solid #111;border-radius:0 8px 8px 0}.measure-unit.is-hidden{visibility:hidden}.measure-number-choices{width:min(100%,620px);grid-template-columns:repeat(3,minmax(0,1fr))}.measure-number-choices button.counting-button{min-height:84px;font-size:clamp(2rem,5vw,3rem)}.measure-number-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.measure-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;border-color:#bbb;color:#777}.measure-status{min-height:1.5em;margin:0}.measure-status:empty{display:none}.measure-actions{min-height:64px}@media (max-width: 680px){.measure-comparison{--measure-choice-pad: 5px;width:94vw;gap:8px}.measure-bar-choice{min-height:62px}.measure-unit-scene{--measure-unit-size: clamp(34px, 10vw, 54px)}}@media (max-height: 600px){.measure-lesson .measure-stage{gap:5px;padding-top:0}.measure-comparison{gap:4px;padding-block:2px}.measure-bar-choice{min-height:54px}.measure-unit-practice{gap:10px}.measure-object-bar{height:38px}.measure-unit-scene{--measure-unit-size: 42px;gap:5px}.measure-number-choices button.counting-button{min-height:64px}}.counting-victory{position:relative;width:100%;height:100%;min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;background:var(--foundation-paper, #fff);cursor:pointer}.even-odd-pair-work{width:min(100%,850px);display:grid;justify-items:center;gap:clamp(8px,1.5vh,16px)}.even-odd-pair-targets{width:100%;min-height:145px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:clamp(9px,1.6vw,18px)}.even-odd-pair-targets.staggered .even-odd-tap-object:nth-child(2n){transform:translateY(9px)}.even-odd-pair-targets.clustered{max-width:650px}.even-odd-tap-object{width:clamp(72px,8vw,100px);height:clamp(78px,12vh,106px);border:3px solid #111;border-radius:14px;background:#fff;display:grid;place-items:center;cursor:pointer}.even-odd-tap-object .even-odd-object-image{width:80%;height:80%;object-fit:contain}.even-odd-tap-object.is-selected{outline:5px solid #111;outline-offset:3px}.even-odd-tap-object.is-paired{background:#eee;border-style:double;border-width:5px}.even-odd-tap-object:focus-visible,.even-odd-choice:focus-visible{outline:4px solid #111;outline-offset:3px}.even-odd-pair-count{margin:0;font-weight:800}.even-odd-zero{display:grid;place-items:center;min-height:90px;padding:12px 24px;border:3px dashed #888;border-radius:16px;background:#fafafa;font-size:clamp(1.3rem,3vw,2rem);font-weight:800}.even-odd-pair-work .even-odd-choices{width:min(100%,540px);grid-template-columns:repeat(2,minmax(0,1fr))}.even-odd-pair-work button.even-odd-choice.counting-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:10px 14px;border:3px solid #111;border-radius:14px;font-size:clamp(1.4rem,3vw,2.3rem)}.even-odd-choice-cue{display:flex;align-items:center;justify-content:center;gap:8px}.even-odd-cue-pair{display:inline-flex;gap:6px;padding:5px 8px;border:2px solid currentColor;border-radius:999px}.even-odd-cue-lone{display:inline-flex;padding:5px;border:2px dashed currentColor;border-radius:50%}.even-odd-cue-pair i,.even-odd-cue-lone i{width:14px;height:14px;border-radius:50%;background:currentColor;display:block}.even-odd-choice-label{font-size:clamp(1.3rem,2.8vw,2rem);font-weight:900;line-height:1}.even-odd-pair-work button.even-odd-choice.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.even-odd-pair-work button.even-odd-choice.counting-button.is-wrong{opacity:.45;background:#eee;border-color:#bbb;color:#777}.even-odd-pair-work .even-odd-choices.is-hidden{visibility:hidden}.ordinal-queue-wrap.is-reversed{grid-template-columns:minmax(0,1fr) clamp(52px,7vw,78px)}.ordinal-queue-wrap.is-reversed .ordinal-front,.ordinal-queue-wrap.is-reversed .ordinal-continuation{grid-column:2}.ordinal-queue-wrap.is-reversed .ordinal-queue{grid-column:1;direction:rtl}.ordinal-queue-wrap.is-reversed .ordinal-queue-item{direction:ltr}.measure-unit-action{min-width:0;padding:0;border:0;background:transparent;cursor:pointer}.measure-unit-action .measure-unit{width:100%;height:100%}.measure-unit-action:focus-visible{outline:4px solid #111;outline-offset:3px}.measure-unit.is-empty{background:#f4f4f4;border-style:dashed;color:#333}.measure-unit.is-gap{transform:translate(18%);border:4px dashed #111;background:#e8e8e8;outline:2px solid #111;outline-offset:2px;z-index:2}.measure-unit.is-overlap{transform:translate(-25%);border:4px dashed #111;background:#e8e8e8;outline:2px solid #111;outline-offset:2px;z-index:2}.measure-number-choices.is-hidden{visibility:hidden}.measure-bar-choice.is-ordered .measure-length-bar{background:#d8d8d8}.measure-order-label{position:absolute;right:12px;font-weight:900;font-size:1.5rem}.measure-bar-choice{position:relative}.data-record-lesson .counting-stage{gap:8px}.data-record-lesson .foundation-prompt-row{justify-content:center}.data-record-lesson .foundation-prompt-row h2{font-size:clamp(1.1rem,2.5vw,1.6rem)}.data-record-workspace{width:min(100%,1050px);margin:0 auto;display:grid;gap:10px;justify-items:center}.data-record-workspace h3{margin:0;font-size:1.2rem}.data-record-source{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.data-record-observation{width:clamp(48px,6vw,70px);height:clamp(48px,8vh,70px);padding:5px;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;min-width:0;min-height:0;overflow:hidden;border:2px solid #111;border-radius:10px;background:#fff;cursor:pointer}.data-record-observation .sketch-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain}.data-record-observation.is-recorded{opacity:.35;background:#eee}.data-record-observation.is-selected{outline:4px solid #111;outline-offset:2px}.data-record-source.is-tally-source{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.data-source-category{border:2px solid #111;border-radius:10px;padding:5px;display:grid;gap:5px;text-align:center}.data-source-category>span{display:flex;align-items:center;justify-content:center;gap:5px;font-weight:750}.data-source-category>span .sketch-image{width:30px;height:30px}.data-source-category>div{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.data-source-category .data-record-observation{width:32px;height:42px;padding:4px;border:1px solid #777;border-radius:3px}.data-source-tally{width:4px;height:26px;background:#111;transform:rotate(-4deg)}.data-record-legend{font-size:1rem;font-weight:800}.data-record-table{width:100%;display:grid;gap:5px}.data-record-row{width:100%;display:grid;grid-template-columns:150px 1fr;align-items:center;gap:12px;padding:6px;border:3px solid #111;border-radius:12px;background:#fff;color:#111;font:inherit;cursor:pointer}.data-record-row:disabled{opacity:1;cursor:default}.data-record-category{display:flex;align-items:center;gap:6px;font-size:.95rem;font-weight:800}.data-record-category .sketch-image{width:45px;height:45px;object-fit:contain}.data-record-values{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-height:48px}.data-record-values .count-table-bundle{width:68px;height:48px;gap:8px}.data-record-values .count-table-stroke{width:5px;height:38px}.data-record-values .count-table-stroke.is-fifth{left:4px;top:22px;width:60px;height:5px;transform:rotate(-32deg)}.data-record-picture{width:clamp(38px,5vw,54px);height:clamp(38px,5vw,54px);object-fit:contain}.data-record-zero{font-size:1.6rem;font-weight:800;padding:4px}.data-record-row.is-wrong{opacity:.4;background:#eee;border-color:#aaa}.data-record-observation:focus-visible,.data-record-row:focus-visible,.data-record-choices .counting-button:focus-visible{outline:4px solid #111;outline-offset:2px}.data-record-lesson .counting-choices.data-record-choices{width:min(100%,760px);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.data-record-choices .counting-button{min-height:68px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:2rem}.data-record-choices .sketch-image{width:54px;height:54px;object-fit:contain}.data-record-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.data-record-choices button.counting-button.has-pictures.is-correct{opacity:1;background:#eee;color:#111;border:5px solid #111;outline:3px solid #111;outline-offset:2px}.data-record-choices button.counting-button.is-wrong{opacity:.45;background:#eee;border-color:#bbb;color:#777}.data-record-status{min-height:1.4em;margin:0}.data-record-status:empty{display:none}.data-record-actions{min-height:64px}.numbers-composition{display:grid;justify-items:center;flex:1;gap:8px;min-width:0}.numbers-composition>strong{font-size:clamp(1.3rem,3vw,2rem);padding:4px 16px;border:2px solid #111;border-radius:999px;background:#f5f5f5;font-weight:900}@media (max-width: 680px){.data-record-row{grid-template-columns:95px 1fr;gap:5px}.data-record-category{flex-direction:column;gap:1px}.data-source-category>span{flex-direction:column}.data-record-choices .sketch-image{width:35px;height:35px}}@media (max-height: 600px){.data-record-workspace{gap:4px}.data-record-lesson .counting-stage{gap:3px}.data-record-row{padding-block:2px}.data-record-values{min-height:38px}.data-record-picture{width:38px;height:38px}.data-record-choices .counting-button,.data-record-actions{min-height:52px}.data-record-workspace h3{font-size:1rem}}.data-record-row.is-highlighted{border-width:4px;background:#eee}.number-line-lesson[data-skill=reta-numerica] .number-line-label{font-size:clamp(1.15rem,2vw,1.5rem)}.money-lesson .money-payment-workspace{display:grid;justify-items:center;gap:clamp(10px,1.8vh,14px);width:min(940px,100%);margin:0 auto}.money-lesson .money-price{padding:6px 20px;border:3px solid #111;border-radius:14px;background:#fff;font-size:clamp(1.35rem,2.8vw,1.85rem);font-weight:800;line-height:1.2}.money-lesson .money-reference{display:flex;gap:12px;align-items:center;justify-content:center;padding:6px 14px;border:2px solid #999;border-radius:14px;background:#fafafa}.money-lesson .money-reference>span{font-size:20px;font-weight:700}.money-lesson .money-coins{min-height:100px;gap:6px}.money-lesson .money-coin{width:clamp(70px,9vw,100px);flex:0 0 auto;box-sizing:border-box}.money-lesson .money-coin-value{min-width:0;font-size:23px;border-width:2px;padding:.1em .2em}.money-lesson .money-tray{display:flex;align-items:center;justify-content:center;width:100%;min-height:110px;border:3px dashed #111;border-radius:18px;background:#fff;padding:10px 16px;gap:12px;box-sizing:border-box}.money-lesson .money-tray .money-coins{flex:1}.money-lesson .money-tray.is-wrong{background:#eee;border-style:solid;border-color:#888}.money-lesson .money-remove.counting-button{padding:0;min-height:76px;border:0;background:transparent}.money-lesson button.money-remove:focus-visible{outline:4px solid #111;outline-offset:2px}.money-lesson button.money-remove:disabled{opacity:1;cursor:default}.money-lesson .money-wallet{display:flex;gap:25px;align-items:center;justify-content:center}.money-lesson .money-add.counting-button{display:grid;justify-items:center;gap:4px;padding:8px 20px;min-height:118px;border:3px solid #111;border-radius:16px;font-size:22px;font-weight:800}.money-lesson .money-feedback{min-height:1.5em;margin:0;font-size:18px;font-weight:700;text-align:center}.money-lesson .money-feedback:empty{display:none}.money-lesson .money-equal{font-size:48px;font-weight:800}.money-lesson .money-workspace{gap:16px}.money-lesson .money-workspace>.money-coins{min-height:130px}.money-lesson .money-workspace>.money-coins .money-coin{width:115px}.money-lesson .staged-number-choices button.counting-button{white-space:nowrap;font-weight:900}@media (max-width: 650px){.money-lesson .money-tray{flex-direction:column;padding:8px 10px}.money-lesson .money-coin{width:68px}.money-lesson .money-reference{flex-direction:column;gap:4px;padding:6px 10px}.money-lesson .money-reference .money-coins{max-width:350px}}@media (max-height: 650px){.money-lesson .money-payment-workspace{gap:8px}.money-lesson .money-tray{min-height:92px;padding:8px 12px}.money-lesson .money-add.counting-button{min-height:100px;padding:6px 16px}}@media (max-height: 600px){.money-lesson .money-payment-workspace{gap:6px}.money-lesson .money-price{font-size:1.25rem;padding:4px 14px}.money-lesson .money-reference{padding:4px 10px}.money-lesson .money-tray{min-height:78px;padding:6px 10px}.money-lesson .money-add.counting-button{min-height:86px;font-size:18px}}.money-lesson .money-payment-workspace .money-coin{width:clamp(60px,7.2vw,76px)}.money-lesson .money-payment-workspace .money-wallet .money-coin{width:94px}.money-lesson .money-payment-workspace .money-total{font-size:30px;min-width:2.2em}.money-lesson .money-coin-value{white-space:nowrap}.math-transfer-screen{min-height:100%;overflow-y:auto}.transfer-stage{width:min(900px,96%);margin:0 auto;padding:12px 8px 24px;text-align:center}.transfer-stage h2{font-size:clamp(18px,2.6vw,26px);line-height:1.3}.transfer-choice-lesson .transfer-stage{flex:1 0 auto;min-height:0;display:flex;flex-direction:column}.transfer-stimulus{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;padding-block:clamp(24px,5vh,48px)}.transfer-stimulus>*{margin-block:0;max-width:100%}.transfer-response{flex:0 0 auto;width:100%}.transfer-response .transfer-choices{margin-block:0}.transfer-choice-lesson .transfer-status:empty{display:none}.frame-transfer-lesson .transfer-stage{width:100%;padding:16px clamp(16px,5vw,64px) 24px}.frame-transfer-lesson .ten-frame-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-inline:auto;align-items:stretch}.frame-transfer-lesson .transfer-option{min-width:0}.frame-transfer-lesson .transfer-option>button.ten-frame-option{width:100%;max-width:none;min-height:168px;padding:12px}.frame-transfer-lesson .transfer-option>button.ten-frame-option.is-correct{opacity:1;outline:3px solid #111}@media (max-width: 680px){.frame-transfer-lesson .ten-frame-options{grid-template-columns:1fr;width:min(100%,360px)}.frame-transfer-lesson .transfer-option>button.ten-frame-option{min-height:118px}}@media (max-height: 600px){.frame-transfer-lesson .transfer-stage{padding-block:8px}.frame-transfer-lesson .transfer-stimulus{padding-block:16px}.frame-transfer-lesson .ten-frame-target{font-size:4rem}.frame-transfer-lesson .transfer-option>button.ten-frame-option{min-height:130px}}.transfer-icon{width:42px;height:42px;object-fit:contain}.transfer-quantity,.transfer-frame,.transfer-shape{margin:12px auto;max-width:600px}.transfer-quantity .foundation-quantity{justify-content:center}.transfer-choices,.transfer-controls,.transfer-groups,.transfer-parts,.transfer-slots{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:12px 0}.transfer-option{display:flex;align-items:center;gap:4px;max-width:100%}.transfer-option>.foundation-choice{min-height:65px;max-width:250px;white-space:normal;padding:8px 16px;font-size:24px}.transfer-option .foundation-quantity{max-width:180px}.transfer-option .transfer-icon{width:35px;height:35px}.transfer-controls .counting-button{min-width:56px;min-height:48px;padding:7px 14px}.transfer-equation,.transfer-sequence,.transfer-solutions{font-size:clamp(24px,4vw,40px);margin:14px 0}.transfer-equation del{display:block;font-size:26px}.transfer-sequence{display:flex;justify-content:center;gap:16px}.transfer-sequence.is-vertical{flex-direction:column;gap:4px}.transfer-pattern{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.transfer-groups>div{width:42%;max-width:290px;min-height:90px;padding:8px;border:2px solid currentColor;border-radius:10px}.transfer-groups .is-small-spaced img{width:25px;height:25px}.transfer-groups .is-small-spaced .foundation-quantity{gap:18px}.transfer-groups .is-big-packed img{width:45px;height:45px}.transfer-groups .is-big-packed .foundation-quantity{gap:2px}.transfer-line{width:min(100%,650px);height:auto;font-size:20px}.transfer-race{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.transfer-race.is-reversed{flex-direction:row-reverse}.transfer-race .is-marked{border:3px solid currentColor;border-radius:8px}.transfer-parts>div{display:flex;flex-wrap:wrap;justify-content:center;width:140px;gap:5px;padding:8px;border:2px solid currentColor;border-radius:10px}.transfer-parts strong{width:100%;font-size:32px}.transfer-parts .counting-button{min-height:48px;min-width:48px}.transfer-slots>span{min-width:65px;min-height:60px;border:2px solid currentColor;border-radius:8px;padding:8px}.transfer-columns{display:flex;justify-content:center;align-items:flex-end;gap:28px;margin:10px auto}.transfer-columns>div{width:110px}.transfer-stack{min-height:160px;display:flex;flex-direction:column-reverse;align-items:center;justify-content:flex-start;border-bottom:2px solid currentColor;gap:1px}.transfer-stack .transfer-icon{width:28px;height:28px}.transfer-dot{line-height:24px;font-size:22px}.transfer-plot p,.transfer-plot figcaption{margin:6px 0}.transfer-plot figcaption{font-weight:700;font-size:22px}.transfer-raw,.transfer-record>div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.transfer-columns .counting-button{min-width:46px;min-height:42px}.transfer-overlay{display:block;width:min(240px,70vw);height:220px;margin:auto}.transfer-tiles{display:grid;grid-template-columns:repeat(3,70px);gap:2px;width:max-content;margin:16px auto}.transfer-tiles button{height:70px;border:1px dashed #777;background:transparent}.transfer-tiles .is-outline{border:3px solid currentColor}.transfer-tiles .is-filled{background:#999}.transfer-measure{overflow-x:auto;padding:12px 0}.transfer-measure-target{height:55px;border:2px solid currentColor;margin:10px auto 0}.transfer-measure-target img{width:100%;height:100%}.transfer-unit-row{display:flex;width:max-content;margin:0 auto;min-height:24px}.transfer-unit-row>span,.transfer-unit{display:inline-block;box-sizing:border-box;height:24px;border:2px solid currentColor;background:#bbb}.transfer-reference{display:flex;justify-content:center;align-items:center;gap:16px}.transfer-scatter .foundation-quantity{gap:6px;transform:rotate(4deg)}.transfer-scatter .foundation-counter:nth-child(3n),.transfer-quantity.is-scattered .foundation-counter:nth-child(3n){transform:translateY(8px)}.transfer-box{display:inline-block;width:52px;height:55px;border:3px solid currentColor;background:#fff}.transfer-place>div{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.transfer-position{width:170px;height:105px;position:relative}.transfer-position.is-outside{display:flex;justify-content:center;align-items:center;gap:20px}.transfer-position.is-between{display:flex;align-items:center;justify-content:center;gap:3px}.transfer-position.is-front>.transfer-icon,.transfer-position.is-behind>.transfer-icon{position:absolute;left:68px;top:38px;z-index:2}.transfer-position.is-front .transfer-box,.transfer-position.is-behind .transfer-box{position:absolute;left:45px;top:20px}.transfer-position.is-behind>.transfer-icon{top:8px;z-index:0}.transfer-position.is-behind .transfer-box{z-index:1}.transfer-status{min-height:22px}.transfer-invitation{font-size:18px}@media (max-width: 600px){.transfer-stage{padding:8px 4px 16px}.transfer-option>.foundation-choice{font-size:21px;min-height:55px}.transfer-columns{gap:8px}.transfer-columns>div{width:90px}.transfer-stack{min-height:150px}}.transfer-pairs{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:12px 0}.transfer-pairs>span{border:2px solid currentColor;border-radius:12px;padding:5px}.transfer-pairs .foundation-quantity{gap:3px}.transfer-lengths{margin:16px auto;width:max-content}.transfer-lengths>div{height:45px;border:2px solid currentColor;margin-bottom:10px}.transfer-lengths img{width:100%;height:100%;object-fit:fill}.transfer-shape svg{max-width:220px;max-height:180px}.transfer-controls input{width:85px;min-height:45px;font-size:24px}.transfer-coin{border:3px solid currentColor;border-radius:50%;padding:12px;font-size:22px}.transfer-pattern .is-selected{background:#ccc;outline:3px solid currentColor}.transfer-measure-strip{margin:10px auto}.transfer-measure-strip .transfer-measure-target{width:100%;box-sizing:border-box}.transfer-measure-strip .transfer-unit-row{margin-left:0}.math-transfer-screen button.counting-button{min-height:56px;padding:10px 18px;border:2px solid #111;border-radius:12px;background:#fff;color:#111;font:inherit;font-size:20px;font-weight:700;cursor:pointer}.math-transfer-screen button.counting-button:disabled{opacity:.35;cursor:default}.math-transfer-screen button.counting-button.is-wrong{background:#eee;color:#888;border-color:#bbb;opacity:.5}.math-transfer-screen button:focus-visible{outline:3px solid #111;outline-offset:3px}.math-transfer-screen .foundation-control{width:48px;min-width:48px;height:48px;border:2px solid #111;border-radius:50%;background:#fff;display:inline-grid;place-items:center;padding:4px}.math-transfer-screen .foundation-control .sketch-image{width:30px;height:30px}.math-transfer-screen .transfer-quantity .foundation-counter-grid,.math-transfer-screen .transfer-reference .foundation-counter-grid,.math-transfer-screen .transfer-scatter .foundation-counter-grid{--foundation-counter-size: clamp(30px, 6vw, 50px)}.transfer-reference{flex-wrap:wrap}.transfer-scatter{max-width:100%}.transfer-scatter .foundation-counter-grid{grid-template-columns:repeat(10,minmax(0,var(--foundation-counter-size)));gap:4px}@media (max-width: 600px){.math-transfer-screen .transfer-scatter .foundation-counter-grid{--foundation-counter-size: 27px;gap:3px}.math-transfer-screen button.counting-button{min-height:48px;font-size:18px;padding:8px 12px}.math-transfer-screen .foundation-control{width:44px;min-width:44px;height:44px}.transfer-columns button.counting-button{min-width:40px;padding:6px 10px}}.transfer-box.is-book{border:0;background:transparent}.time-transfer-lesson .transfer-icon{width:clamp(120px,17vw,180px);height:clamp(120px,17vw,180px);object-fit:contain}.time-transfer-lesson .transfer-slots{min-height:clamp(140px,24vh,215px)}.time-transfer-lesson .transfer-slots>span{display:flex;align-items:center;justify-content:center}@media (max-width: 600px),(max-height: 600px){.time-transfer-lesson .transfer-icon{width:clamp(80px,23vw,120px);height:clamp(80px,23vw,120px)}.time-transfer-lesson .transfer-slots{min-height:130px}}@media (max-height: 600px){.time-transfer-lesson .transfer-stage{padding-block:8px}.time-transfer-lesson .transfer-icon{width:90px;height:90px}.time-transfer-lesson .transfer-slots{min-height:110px}.time-transfer-lesson .transfer-controls{margin-block:8px}.time-transfer-lesson button.counting-button{min-height:48px;padding:8px 12px}}.transfer-box.is-book .transfer-icon{width:55px;height:55px}.transfer-groups .foundation-counter-grid{grid-template-columns:repeat(3,minmax(0,var(--foundation-counter-size)))}.transfer-groups .is-small-spaced .foundation-counter-grid{--foundation-counter-size: 25px;gap:14px}.transfer-groups .is-big-packed .foundation-counter-grid{--foundation-counter-size: 45px;gap:2px}.math-transfer-screen .counting-quantity{--quantity-size: clamp(44px, 8vh, 68px);--quantity-gap: 6px;display:grid;grid-template-columns:repeat(var(--quantity-columns),minmax(0,1fr));grid-template-rows:none;grid-auto-rows:var(--quantity-size);grid-auto-flow:row;gap:var(--quantity-gap);width:min(100%,calc(var(--quantity-columns) * var(--quantity-size) + (var(--quantity-columns) - 1) * var(--quantity-gap)));max-width:100%;margin-inline:auto}.math-transfer-screen .counting-quantity .numbers-object{display:flex;align-items:center;justify-content:center;min-width:0;width:auto;height:var(--quantity-size)}.math-transfer-screen .counting-quantity .sketch-image{width:100%;height:100%;object-fit:contain}.math-transfer-screen .counting-quantity.is-empty{display:block;width:min(100%,260px);min-height:calc(2 * var(--quantity-size) + 6px);border:3px dashed #111;border-radius:15px}.math-transfer-screen .transfer-quantity{width:min(100%,600px);display:flex;justify-content:center}.math-transfer-screen .transfer-choices.has-numerals,.math-transfer-screen .transfer-choices.has-symbols{display:grid;grid-template-columns:repeat(var(--transfer-choice-count),minmax(0,140px));width:100%;justify-content:center;align-items:stretch}.math-transfer-screen .transfer-choices.has-text,.math-transfer-screen .transfer-choices.has-pictures,.math-transfer-screen .transfer-choices.has-quantities{display:grid;grid-template-columns:repeat(var(--transfer-choice-count),minmax(0,1fr));align-items:stretch;width:min(100%,900px);margin-inline:auto}.math-transfer-screen .transfer-choices:not(.ten-frame-options) .transfer-option{width:100%;min-width:0;align-items:stretch}.math-transfer-screen .transfer-choices:not(.ten-frame-options) button.foundation-choice{flex:1 1 auto;width:100%;min-width:0;min-height:84px;max-width:none;padding:12px}.math-transfer-screen .transfer-choices .foundation-control{flex:0 0 48px;align-self:center}.math-transfer-screen .has-numerals .numbers-digit,.math-transfer-screen .has-symbols button.foundation-choice{font-size:clamp(2.5rem,6vw,3.5rem);line-height:1}.math-transfer-screen .has-pictures button.foundation-choice,.math-transfer-screen .has-quantities button.foundation-choice{min-height:148px}.math-transfer-screen .has-pictures button.foundation-choice>.transfer-icon{width:80px;height:80px}.transfer-picture-group{display:grid;grid-template-columns:repeat(var(--transfer-picture-columns),minmax(0,1fr));justify-items:center;align-items:center;gap:8px;max-width:100%}.math-transfer-screen .transfer-picture-group .transfer-icon{width:48px;height:48px;max-width:100%}.math-transfer-screen .transfer-choices button.is-correct{opacity:1;outline:3px solid #111}.transfer-content-choice-lesson .transfer-response{flex:1 0 auto;display:flex;align-items:center;justify-content:center;padding-block:clamp(20px,4vh,36px)}.math-transfer-screen.transfer-content-choice-lesson .transfer-choices.has-pictures{grid-template-columns:1fr;width:min(100%,780px);max-width:none;gap:12px}.math-transfer-screen.transfer-content-choice-lesson .has-pictures button.foundation-choice{min-height:clamp(96px,17vh,132px);padding:12px 20px}.transfer-content-choice-lesson .transfer-picture-group{grid-template-columns:repeat(var(--transfer-picture-count),minmax(0,1fr));width:min(100%,660px);gap:clamp(8px,2vw,20px)}.math-transfer-screen.transfer-content-choice-lesson .transfer-picture-group .transfer-icon{width:100%;height:clamp(40px,10vw,92px)}@media (max-height: 600px){.transfer-content-choice-lesson .transfer-response{padding-block:12px}.math-transfer-screen.transfer-content-choice-lesson .has-pictures button.foundation-choice{min-height:84px;padding:8px 16px}.math-transfer-screen.transfer-content-choice-lesson .transfer-picture-group .transfer-icon{height:64px}}.math-transfer-screen .transfer-pairs{width:100%;gap:12px}.math-transfer-screen .transfer-pairs>span{flex:0 0 auto;padding:8px}.math-transfer-screen .transfer-pairs .counting-quantity{--quantity-size: 58px;--quantity-gap: 4px}.math-transfer-screen .transfer-groups>.is-small-spaced,.math-transfer-screen .transfer-groups>.is-big-packed{min-height:180px;display:grid;place-items:center;padding:12px}.math-transfer-screen .is-small-spaced .counting-quantity,.math-transfer-screen .is-big-packed .counting-quantity{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.math-transfer-screen .is-small-spaced .counting-quantity{--quantity-size: 36px;--quantity-gap: 20px}.math-transfer-screen .is-big-packed .counting-quantity{--quantity-size: 64px;--quantity-gap: 4px}.quantity-construction-lesson .transfer-stimulus{gap:12px}.quantity-construction-lesson .transfer-controls{margin-block:0}.quantity-construction-lesson .transfer-equation{font-size:3rem}.transfer-exchange{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:20px;max-width:100%}.transfer-exchange>span{font-size:3rem}.math-transfer-screen .transfer-exchange .foundation-counter-grid{--foundation-counter-size: clamp(24px, 5vh, 36px)}@media (max-width: 680px){.math-transfer-screen .transfer-choices.has-text,.math-transfer-screen .transfer-choices.has-pictures,.math-transfer-screen .transfer-choices.has-quantities{grid-template-columns:1fr;max-width:460px}.math-transfer-screen .transfer-pairs .counting-quantity{--quantity-size: 48px}.math-transfer-screen .transfer-groups{gap:12px}.math-transfer-screen .transfer-groups>.is-small-spaced,.math-transfer-screen .transfer-groups>.is-big-packed{width:calc(50% - 6px);padding:8px;min-height:150px}.math-transfer-screen .is-small-spaced .counting-quantity{--quantity-size: 30px;--quantity-gap: 10px}.math-transfer-screen .is-big-packed .counting-quantity{--quantity-size: 48px}.math-transfer-screen .transfer-groups>.transfer-quantity{width:100%;max-width:340px}}@media (max-height: 600px){.math-transfer-screen .transfer-stimulus{padding-block:12px}.math-transfer-screen .counting-quantity{--quantity-size: 36px;--quantity-gap: 4px}.math-transfer-screen .transfer-choices:not(.ten-frame-options) button.foundation-choice{min-height:68px}.math-transfer-screen .has-pictures button.foundation-choice{min-height:112px}.math-transfer-screen .transfer-pairs .counting-quantity{--quantity-size: 46px}.math-transfer-screen .transfer-groups>.is-small-spaced,.math-transfer-screen .transfer-groups>.is-big-packed{min-height:140px}.quantity-construction-lesson .foundation-prompt-row{min-height:48px}.quantity-construction-lesson .transfer-equation{font-size:2rem}.quantity-construction-lesson .transfer-stimulus{gap:8px;padding-block:8px}}.early-maths-lesson{height:100dvh;max-height:100dvh;overflow:hidden;display:flex;flex-direction:column}.early-maths-lesson .early-progress{flex:0 0 auto;justify-content:center;padding:0 1rem .25rem}.early-maths-lesson .counting-stage{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:clamp(14px,2.4vh,24px);padding:clamp(10px,2vh,24px) clamp(16px,4vw,48px);overflow-y:auto}.early-maths-lesson .counting-workspace{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(14px,2.2vh,22px);width:min(100%,920px);margin:0 auto}.early-maths-lesson .numbers-workspace,.early-maths-lesson .counting-choices{flex:0 0 auto}.early-maths-lesson .counting-status:empty{display:none}.early-maths-lesson .numbers-sound .sketch-image{display:block;width:100%;height:100%;object-fit:contain}.early-maths-lesson footer.counting-actions.reading-nav{flex:0 0 auto;width:100%;display:flex;align-items:center;justify-content:center;gap:1rem;padding:clamp(.75rem,2vh,1.25rem) clamp(1rem,4vw,2.5rem);min-height:calc(var(--tap-primary, 56px) + 1.5rem)}.early-maths-lesson .reading-nav button.btn-primary,.early-maths-lesson .reading-nav button.btn-secondary{min-height:var(--tap-primary, 56px);min-width:9rem;padding:.65rem 1.35rem;border:2px solid var(--ink, #111);border-radius:16px;font-size:1.15rem;font-weight:700}.early-maths-lesson .reading-nav button.btn-primary{background:var(--ink, #111);color:var(--surface, #fff)}.early-maths-lesson .reading-nav button.btn-secondary{background:var(--surface, #fff);color:var(--ink, #111)}.early-maths-lesson .counting-quantity{--quantity-size: clamp(60px, 12vh, 100px);--quantity-gap: 6px;display:grid;grid-template-columns:repeat(var(--quantity-columns),minmax(0,1fr));grid-template-rows:none;grid-auto-rows:var(--quantity-size);grid-auto-flow:row;gap:var(--quantity-gap);width:min(100%,calc(var(--quantity-columns) * var(--quantity-size) + (var(--quantity-columns) - 1) * var(--quantity-gap)));max-width:100%;margin-inline:auto}.early-maths-lesson .counting-quantity .numbers-object{height:var(--quantity-size)}.early-maths-lesson .counting-quantity.is-empty{display:block;width:min(100%,300px);min-height:calc(var(--quantity-size) * 2 + 6px);border:3px dashed #111;border-radius:15px}.early-maths-lesson .counting-choices.has-quantities,.early-maths-lesson .counting-choices.has-text{display:grid;grid-template-columns:repeat(3,minmax(0,320px));align-self:center;align-items:stretch;justify-content:center;width:min(100%,1040px);margin-inline:auto;gap:clamp(12px,2vw,24px)}.early-maths-lesson .counting-choices.has-quantities button.counting-button{width:100%;min-width:0;min-height:clamp(148px,25vh,190px);padding:12px}.early-maths-lesson .counting-choices button.counting-button.is-correct{opacity:1}.early-maths-lesson .has-quantities .counting-quantity{--quantity-size: clamp(44px, 7vh, 62px);--quantity-gap: 4px}.early-maths-lesson .has-quantities button.counting-button.is-correct{color:#111;background:#eee;outline:3px solid #111;opacity:1}.early-maths-lesson .has-numerals .numbers-digit{font-size:clamp(2.5rem,6vw,3.5rem);line-height:1}.early-maths-lesson .has-numerals button.counting-button{width:100%;min-width:0;min-height:84px;padding:12px}.early-maths-lesson .transfer-stage{width:100%;padding:16px clamp(16px,5vw,64px) 24px}.early-maths-lesson .transfer-quantity{display:flex;justify-content:center;width:100%;max-width:none;margin:20px auto}.early-maths-lesson .transfer-quantity.is-scattered .numbers-object:nth-child(3n){transform:translateY(8px)}.early-maths-lesson .transfer-choices .transfer-option{min-width:0;width:100%;align-items:stretch}.early-maths-lesson .transfer-option>button.foundation-choice{max-width:none}.early-maths-lesson .transfer-choices.has-numerals{display:grid;grid-template-columns:repeat(3,minmax(0,140px))}.early-maths-lesson .has-text button.counting-button{width:100%;min-width:0;min-height:110px;font-size:1.2rem}.early-maths-lesson .has-text .foundation-control{flex:0 0 48px;width:48px;height:48px;align-self:center}@media (min-width: 681px) and (max-width: 900px){.early-maths-lesson .counting-stage,.early-maths-lesson .transfer-stage{padding-inline:16px}.early-maths-lesson .counting-choices.has-quantities{gap:12px}.early-maths-lesson .counting-choices.has-quantities button.counting-button{padding:8px}}@media (max-width: 680px){.early-maths-lesson .counting-choices.has-quantities,.early-maths-lesson .counting-choices.has-text{grid-template-columns:minmax(0,1fr);max-width:460px;gap:12px}.early-maths-lesson .counting-choices.has-quantities button.counting-button{min-height:148px}.early-maths-lesson .has-quantities .counting-quantity{--quantity-size: 44px}}@media (max-height: 600px){.early-maths-lesson .counting-quantity{--quantity-size: 52px}.early-maths-lesson .has-quantities .counting-quantity{--quantity-size: 44px}.early-maths-lesson .counting-choices.has-quantities button.counting-button{min-height:130px}.early-maths-lesson .has-numerals button.counting-button{min-height:68px}}.early-maths-lesson .counting-stage{gap:clamp(14px,2.4vh,24px)}.early-maths-lesson .counting-objects{grid-template-columns:repeat(var(--counting-columns, 5),minmax(0,100px));grid-auto-rows:minmax(70px,auto);justify-content:center;width:fit-content;max-width:100%;margin:0 auto;gap:12px}.early-maths-lesson .counting-objects:not(.counting-tray):not(.is-empty){padding:clamp(16px,2.8vh,28px) clamp(20px,3.2vw,38px);border:2px solid var(--ink, #111);border-radius:20px;background:var(--surface, #fff)}.early-maths-lesson .counting-object{position:relative}.early-maths-lesson .counting-object .sketch-image{width:90px;height:90px;max-width:100%}.early-maths-lesson .counting-objects.is-empty{width:280px;min-height:170px}.early-maths-lesson .counting-builder{display:flex;align-items:center;justify-content:center;gap:22px;width:100%}.early-maths-lesson .counting-source{position:relative;flex:0 0 110px}.early-maths-lesson .counting-plus{position:absolute;right:-10px;top:-14px;display:grid;place-items:center;width:40px;height:40px;border:2px solid #111;border-radius:50%;background:#fff;font-size:2rem}.early-maths-lesson .counting-source-arrow{font-size:2.5rem}.early-maths-lesson .counting-tray{border:3px solid #111;border-radius:20px;padding:12px;min-width:280px;min-height:200px;margin:0;align-content:center}.early-maths-lesson .counting-tray.is-empty{border-style:solid}.early-maths-lesson .early-coaching{margin:0;text-align:center;max-width:900px;align-self:center;font-size:1rem;line-height:1.4}.early-maths-lesson .early-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:12px}.early-maths-lesson .early-icon-button strong{font-size:2rem;line-height:1}.early-maths-lesson .early-icon-button span{font-size:1rem}.early-maths-lesson .early-icon-button .sketch-icon{width:32px;height:32px;flex:0 0 32px}.early-maths-lesson .foundation-phase{display:flex;align-items:center;gap:6px}.early-maths-lesson .foundation-phase .sketch-image{width:24px;height:24px}.early-maths-lesson .early-progress{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:140px}.early-maths-lesson .early-progress i{width:11px;height:11px;border-radius:50%;border:2px solid #111;background:#fff}.early-maths-lesson .early-progress .is-done{background:#111}.early-maths-lesson .early-progress .is-current{outline:2px solid #111;outline-offset:2px;background:#bbb}.early-maths-lesson .early-example-button{display:flex;align-items:center;gap:6px;min-height:56px;padding:6px 10px;background:#fff;color:#111;border:2px solid #111;border-radius:12px;font:inherit;font-size:.85rem}.early-maths-lesson .early-example-button .sketch-image{width:30px;height:30px}.early-maths-lesson .early-example-button small{display:block;font-size:.72rem}.early-maths-lesson .early-recount{display:flex;align-items:center;align-self:center;gap:8px}.early-maths-lesson .early-recount .sketch-image{width:28px;height:28px}.early-maths-lesson .numbers-object{position:relative}.early-maths-lesson .numbers-object.is-counted{outline:2px solid #111;border-radius:10px}.early-maths-lesson .counting-running{position:absolute;bottom:-5px;right:-3px;padding:0 4px;background:#fff;border:1px solid #111;border-radius:5px;font-size:1rem;line-height:1.2}.early-maths-lesson .early-arrangement-1{--quantity-gap: 8px}.early-maths-lesson .early-arrangement-1 .numbers-object:nth-child(2n) .sketch-image{transform:scale(.82)}.early-maths-lesson .early-arrangement-2 .numbers-object:nth-child(3n){transform:translateY(5px)}.early-maths-lesson .numbers-choices button:disabled:not(.is-wrong):not(.is-correct){opacity:1}.early-maths-lesson[data-phase=model] .counting-choices button:disabled{opacity:1}.early-maths-lesson .counting-builder button:disabled{opacity:1}.early-maths-lesson .numbers-workspace{margin:0 auto}.early-maths-lesson:not([data-phase=model]) .numbers-workspace .counting-quantity{--quantity-size: clamp(72px, min(9vw, 12vh), 100px)}.early-maths-lesson .counting-choices.has-quantities button.counting-button{min-height:145px}.early-maths-lesson .has-quantities .counting-quantity{--quantity-size: clamp(40px, 7vh, 56px)}.early-maths-lesson .counting-quantity{--quantity-size: clamp(52px, 9vh, 76px)}.early-maths-lesson .counting-quantity.is-empty{min-height:130px}.early-maths-lesson .numbers-digit{font-size:clamp(4rem,10vh,6rem)}.early-maths-lesson .has-numerals .numbers-digit{font-size:3rem}.early-maths-lesson .numbers-explorer{gap:10px}.early-maths-lesson .numbers-explorer button.counting-button{min-height:48px}.early-maths-lesson .numbers-stage{gap:10px}.early-maths-lesson .early-number-explorer{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:16px;padding:4px 16px 8px}.early-maths-lesson .early-number-explorer button.counting-button{flex:0 0 68px;width:68px;height:68px;min-height:68px;padding:0;border-radius:50%;font-size:2rem}.early-paused{display:grid;place-items:center;padding:24px;text-align:center}.early-paused section>.sketch-image{width:100px;height:100px}@media (max-height: 600px){.early-maths-lesson .counting-stage{gap:8px}.early-maths-lesson .counting-object .sketch-image{height:62px;width:62px}.early-maths-lesson .counting-tray{min-height:160px;min-width:230px;padding:10px}.early-maths-lesson .counting-source{flex-basis:85px}.early-maths-lesson .counting-objects{grid-template-columns:repeat(var(--counting-columns, 5),minmax(0,66px));grid-auto-rows:66px;gap:8px}.early-maths-lesson .counting-quantity{--quantity-size: 52px}.early-maths-lesson .has-quantities .counting-quantity{--quantity-size: 40px}.early-maths-lesson .counting-choices.has-quantities button.counting-button{min-height:110px}.early-maths-lesson:not([data-phase=model]) .numbers-workspace{min-height:110px}.early-maths-lesson:not([data-phase=model]) .numbers-workspace .counting-quantity{--quantity-size: 56px}.early-maths-lesson .early-number-explorer{gap:12px;padding-block:4px 8px}.early-maths-lesson .early-number-explorer button.counting-button{flex-basis:52px;width:52px;height:52px;min-height:52px;font-size:1.75rem}.early-maths-lesson[data-phase=model] .numbers-stage{padding-block:4px 8px;gap:6px}.early-maths-lesson[data-phase=model] .numbers-numeral{display:grid;grid-template-columns:auto auto;column-gap:10px;padding:6px 12px}.early-maths-lesson[data-phase=model] .numbers-numeral .numbers-digit{grid-row:1 / 3}.early-maths-lesson[data-phase=model] .numbers-numeral .numbers-name,.early-maths-lesson[data-phase=model] .numbers-numeral .numbers-sound{margin-top:0}.early-maths-lesson[data-phase=model] .has-quantities .counting-quantity{--quantity-size: 32px;--quantity-gap: 3px}.early-maths-lesson[data-phase=model] .counting-choices.has-quantities button.counting-button{min-height:84px;padding:6px}}@media (max-width: 680px){.early-maths-lesson .counting-builder{gap:10px;flex-wrap:wrap}.early-maths-lesson .counting-source-arrow{font-size:2rem}.early-maths-lesson .counting-objects{gap:6px;grid-template-columns:repeat(var(--counting-columns, 5),minmax(0,56px))}.early-maths-lesson .counting-object .sketch-image{width:52px;height:60px}.early-maths-lesson .counting-tray{min-width:min(100%,240px)}.early-maths-lesson .early-example-button{min-width:48px;padding:5px}.early-maths-lesson .early-example-button>span{display:none}.early-maths-lesson .early-progress{max-width:75px;gap:4px}.early-maths-lesson .early-progress i{width:9px;height:9px}.early-maths-lesson[data-phase=model] .numbers-actions{flex-wrap:nowrap;gap:10px}.early-maths-lesson[data-phase=model] .numbers-actions button{flex:1 1 0;min-width:0;padding-inline:8px;gap:8px}.early-maths-lesson[data-phase=model] .numbers-actions .early-icon-button strong{font-size:1.5rem}.early-maths-lesson[data-phase=model] .numbers-actions .early-icon-button span{font-size:.9rem}.early-maths-lesson[data-phase=model] .counting-choices.has-quantities{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.early-maths-lesson[data-phase=model] .counting-choices.has-quantities button.counting-button{min-height:100px;padding:6px}.early-maths-lesson[data-phase=model] .has-quantities .counting-quantity{--quantity-size: 30px}.early-maths-lesson[data-phase=model] .numbers-workspace .counting-quantity{--quantity-size: 60px}}.place-value-workspace{display:grid;justify-items:center;gap:14px;width:min(980px,100%);margin:0 auto}.place-value-lesson .counting-status:empty{display:none}.place-value-lesson button.place-value-numeral{font:inherit;font-size:64px;font-weight:900;line-height:1.1;padding:0 12px;border:0;border-radius:10px;background:#fff;color:#111;min-height:64px;cursor:pointer}.place-value-lesson button.place-value-numeral:focus-visible{outline:4px solid #111;outline-offset:3px}.place-value-lesson button.place-value-numeral.is-featured{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:6px 22px;border:3px solid #111;border-radius:16px;background:#fff;color:#111;font-size:clamp(44px,7vh,64px);font-weight:900;line-height:1.05;min-height:64px;cursor:pointer}.place-value-numeral.is-featured .sketch-image{width:30px;height:30px;flex-shrink:0}.place-value-showcase,.place-value-tray{width:min(100%,780px);border:3px solid #111;border-radius:16px;background:#fff;padding:14px 20px;box-sizing:border-box}.place-value-material{display:grid;justify-items:center;align-content:center;gap:14px;min-height:155px;width:100%}.place-value-tens{display:grid;grid-template-columns:repeat(5,max-content);justify-content:center;gap:10px}.place-value-tens:empty,.place-value-units:empty{display:none}.place-value-rod{display:grid;grid-template-columns:repeat(10,12px);width:max-content;border:2px solid #111;background:#fff}.place-value-rod i{width:12px;height:20px;border-right:1px solid #111;box-sizing:border-box}.place-value-rod i:last-child{border:0}.place-value-units{display:grid;grid-template-columns:repeat(5,22px);gap:8px}.place-value-unit{width:22px;height:22px;border:2px solid #111;box-sizing:border-box;background:#fff}.place-value-hundred{display:grid;grid-template-columns:repeat(10,14px);grid-column:1 / -1;border:2px solid #111;width:max-content;background:#eee}.place-value-hundred i{width:14px;height:14px;border:1px solid #111;box-sizing:border-box}.place-value-empty{font-size:22px;font-weight:700;color:#555;padding:8px 18px;border:2px dashed #999;border-radius:12px;background:#fafafa}.place-value-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%}.place-value-lesson .place-value-choices button.counting-button{min-width:0;min-height:245px;padding:12px}.place-value-lesson .place-value-choices.is-reverse button.counting-button{min-height:120px}.place-value-lesson .place-value-choices.is-reverse .numbers-digit{font-size:clamp(3rem,7vh,4.5rem)}.place-value-quantity .place-value-tens{grid-template-columns:repeat(2,max-content)}.place-value-quantity .place-value-material{min-height:215px}.place-value-quantity .place-value-rod{grid-template-columns:repeat(10,10px)}.place-value-quantity .place-value-rod i{width:10px;height:16px}.place-value-lesson button.place-value-quantity.counting-button:focus-visible{outline:4px solid #111;outline-offset:3px}.place-value-lesson button.place-value-quantity.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb;cursor:default}.place-value-lesson button.place-value-quantity.counting-button.is-correct{background:#efefef;color:#111;border:5px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}.place-value-lesson button.place-value-quantity.counting-button:has(.numbers-digit).is-correct{background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}.place-value-explorer{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.place-value-lesson .place-value-explorer button.place-value-numeral{font-size:28px;font-weight:800;min-width:56px;min-height:48px;border:2px solid #111;border-radius:12px;padding:4px 12px;background:#fff;color:#111}.place-value-lesson .place-value-explorer button.place-value-numeral.is-current{background:#111;color:#fff;border-color:#111;outline:3px solid #111;outline-offset:2px}.place-value-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}#app .place-value-lesson .place-value-controls button.counting-button{min-height:58px;padding:8px 18px}#app .place-value-lesson .place-value-controls button.is-model-control.btn-secondary:disabled{opacity:1;color:#111;border-color:#111;background:#fff}#app .place-value-lesson .place-value-controls button.is-model-control.btn-primary:disabled{opacity:1;color:#fff;border-color:#111;background:#111}#app .place-value-lesson .place-value-controls button.is-current-control{background:#efefef;color:#111;border:3px solid #111;outline:3px solid #111;outline-offset:3px}#app .place-value-lesson button.counting-button.place-value-finish{min-height:58px;min-width:11rem;padding:10px 26px}#app .place-value-lesson button.counting-button.place-value-finish.is-wrong{opacity:.55;background:#eee;color:#777;border-color:#bbb;cursor:default}#app .place-value-lesson button.counting-button.place-value-finish.is-correct{opacity:1;background:#111;color:#fff;outline:3px solid #111;outline-offset:3px}@media (max-width: 700px){.place-value-tens{grid-template-columns:repeat(2,max-content)}.place-value-choices{gap:8px}.place-value-quantity .place-value-tens{grid-template-columns:1fr}.place-value-quantity .place-value-rod{grid-template-columns:repeat(10,8px)}.place-value-quantity .place-value-rod i{width:8px;height:12px}.place-value-lesson .place-value-choices button.counting-button{padding:6px}}@media (max-height: 680px){.place-value-workspace{gap:10px}.place-value-showcase,.place-value-tray{padding:10px 14px}.place-value-material{min-height:128px}.place-value-lesson button.place-value-numeral.is-featured{font-size:48px;padding:4px 18px}.place-value-lesson .place-value-choices button.counting-button{min-height:200px}.place-value-quantity .place-value-material{min-height:175px}}@media (max-height: 600px){.place-value-workspace{gap:8px}.place-value-showcase,.place-value-tray{padding:8px 12px}.place-value-material{min-height:108px;gap:8px}.place-value-lesson button.place-value-numeral.is-featured{font-size:38px;min-height:52px;padding:4px 14px}.place-value-numeral.is-featured .sketch-image{width:24px;height:24px}.place-value-lesson .place-value-explorer button.place-value-numeral{font-size:22px;min-height:40px}.place-value-lesson .place-value-choices button.counting-button{min-height:170px}.place-value-quantity .place-value-material{min-height:150px}}.staged-number-stage{gap:clamp(8px,1.5vh,14px)}.staged-number-stage .foundation-prompt-row{justify-content:center}.staged-number-stage .foundation-prompt-row h2{margin:0;font-size:clamp(1.25rem,2.8vw,1.9rem);text-wrap:balance}.staged-number-status{min-height:1.4em;margin:0}.staged-number-status:empty{display:none}.staged-number-choices{justify-content:center;width:min(100%,720px);margin:0 auto}.staged-number-choices .counting-button{min-height:76px;font-size:2.5rem}.staged-number-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.staged-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;border-color:#bbb;color:#777}.staged-number-actions{min-height:64px}.decomposition-lesson{--decomposition-cell: clamp(26px, min(4.1vh, 3.5vw), 46px)}.decomposition-stage{width:min(1080px,100%);margin:0 auto;text-align:center}.decomposition-workspace{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;margin:0 auto}.decomposition-numeral{font-size:clamp(56px,9vh,88px);line-height:1.05;color:#111;border:3px solid #111;border-radius:16px;padding:6px 24px;background:#fff;font-weight:900}.decomposition-lesson button.decomposition-numeral.counting-button{font-size:clamp(56px,9vh,88px);line-height:1.05;display:flex;align-items:center;justify-content:center;gap:18px;min-width:180px;background:#fff;border:3px solid #111;border-radius:16px;font-weight:900}.decomposition-numeral .sketch-image{width:36px;height:36px;flex-shrink:0}.decomposition-material{display:grid;grid-template-columns:1fr 1fr;gap:24px;width:min(920px,100%)}.decomposition-group{padding:12px 18px;border:3px solid #111;border-radius:16px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:14px;min-height:160px}.decomposition-group h3{font-size:clamp(21px,3vh,28px);margin:0}.decomposition-lesson .is-focused{border-color:#111;outline:2px solid #111;outline-offset:3px}.decomposition-rods{display:flex;flex-direction:column;gap:14px}.decomposition-rod{display:grid;grid-template-columns:repeat(10,var(--decomposition-cell));border:2px solid #111;width:max-content;background:#fff}.decomposition-cell{display:block;width:var(--decomposition-cell);height:var(--decomposition-cell);border:2px solid #111;box-sizing:border-box;background:#fff}.decomposition-rod .decomposition-cell{border-width:0 1px;border-style:solid;border-color:#111}.decomposition-units{display:grid;grid-template-columns:repeat(5,var(--decomposition-cell));gap:10px;align-items:center;min-height:calc(var(--decomposition-cell) * 2 + 12px)}.decomposition-lesson .decomposition-units.is-interactive{grid-template-columns:repeat(5,44px)}.decomposition-lesson .decomposition-units.is-interactive button.decomposition-cell{width:44px;height:44px}.decomposition-lesson button.decomposition-cell{padding:0;border-radius:4px;cursor:pointer}.decomposition-lesson .decomposition-cell.is-selected{background:#111;outline:2px solid #111;outline-offset:2px}.decomposition-lesson button.decomposition-cell:focus-visible,.decomposition-lesson .decomposition-bundle:focus-visible,.decomposition-lesson button.decomposition-numeral.counting-button:focus-visible{outline:4px solid #111;outline-offset:2px}.decomposition-zero{grid-column:1 / -1;border:3px dashed #888;border-radius:14px;padding:8px 20px;background:#fafafa;font-size:2.6rem;font-weight:900;line-height:1;text-align:center}.decomposition-equation{font-size:clamp(24px,3.7vh,34px);margin:0}.decomposition-choices{width:min(720px,100%);margin:0 auto}.decomposition-lesson .decomposition-choices button.counting-button{min-height:90px;font-size:clamp(38px,6vh,56px)}.decomposition-lesson .decomposition-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.decomposition-lesson .decomposition-choices button.counting-button.is-wrong{opacity:.45;background:#eee;border-color:#bbb;color:#777}.decomposition-actions{margin-top:0}.decomposition-status{min-height:24px;margin:8px 0}@media (min-width: 721px){.decomposition-lesson{--decomposition-cell: clamp(30px, 4vh, 42px)}}@media (max-width: 720px){.decomposition-lesson{--decomposition-cell: clamp(25px, 5vw, 34px)}.decomposition-material{grid-template-columns:1fr;gap:12px}.decomposition-group{min-height:0;padding:8px}.decomposition-equation{font-size:23px}}@media (min-width: 721px) and (max-height: 740px){.decomposition-workspace{gap:10px}.decomposition-group{min-height:135px;padding:8px;gap:10px}.decomposition-lesson .decomposition-choices button.counting-button{min-height:76px}}@media (max-height: 600px){.staged-number-stage{gap:6px}.staged-number-actions{min-height:52px}.staged-number-choices .counting-button{min-height:58px;font-size:2rem}.decomposition-workspace{gap:8px}.decomposition-numeral,.decomposition-lesson button.decomposition-numeral.counting-button{font-size:clamp(40px,7vh,58px);padding:4px 18px}.decomposition-group{min-height:0;padding:6px 12px;gap:8px}.decomposition-group h3{font-size:1.15rem}.decomposition-zero{font-size:2rem;padding:4px 14px}.decomposition-equation{font-size:1.25rem}.decomposition-lesson .decomposition-choices button.counting-button{min-height:60px;font-size:clamp(28px,5vh,42px)}}.hundred-table-stage{width:min(1120px,100%);margin:auto;gap:12px}.hundred-table-workspace{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:32px;width:100%}.hundred-table-full{width:100%;max-width:450px;justify-self:center}.hundred-table-row{display:grid;grid-template-columns:30px repeat(10,1fr)}.hundred-table-cell{border:1px solid #999;height:clamp(29px,4.1vh,40px);display:grid;place-items:center;font-size:clamp(18px,2.2vw,25px);color:#000;background:#fff}.hundred-table-cell.is-marked{background:#e5e5e5}.hundred-table-cell.is-active,.hundred-table-focus-cell.is-active{background:#000;color:#fff;border-color:#000}.hundred-table-column-labels span,.hundred-table-row-label{display:grid;place-items:center;font-size:17px;font-weight:700;height:27px}.hundred-table-row-label{height:100%;border-right:3px solid #000}.hundred-table-column-labels{border-bottom:3px solid #000}.hundred-table-side{width:100%;min-width:0}.hundred-table-explanation{font-size:clamp(24px,3vw,34px);line-height:1.35;text-align:center}.hundred-table-lesson .hundred-table-choices{display:grid;grid-template-columns:repeat(3,minmax(84px,1fr));gap:15px;width:100%}.hundred-table-lesson .hundred-table-choices button.counting-button{width:100%;min-width:0;min-height:110px;font-size:44px}.hundred-table-lesson .hundred-table-choices button.counting-button.is-wrong{color:#777;background:#ddd;border-color:#aaa;opacity:1}.hundred-table-focus-wrap{width:100%;max-width:420px;justify-self:center}.hundred-table-focus{border:3px solid #000}.hundred-table-focus-row{display:grid;grid-template-columns:repeat(3,1fr)}.hundred-table-focus-cell{min-height:88px;border:1px solid #888;display:grid;place-items:center;font-size:clamp(32px,4vw,48px);background:#fff;color:#000}.hundred-table-focus-cell.is-origin{outline:4px solid #000;outline-offset:-5px;font-weight:800}.hundred-table-focus-cell.is-outside{background:repeating-linear-gradient(135deg,#fff 0,#fff 10px,#ddd 10px,#ddd 12px)}.hundred-table-focus-label{font-size:19px;text-align:center;margin:10px 0}@media (max-width: 900px){.hundred-table-workspace{grid-template-columns:minmax(0,1fr);gap:18px}.hundred-table-full{width:min(450px,94vw)}.hundred-table-side,.hundred-table-focus-wrap{width:100%;max-width:440px;justify-self:center}.hundred-table-cell{font-size:21px;height:32px}.hundred-table-explanation{font-size:25px;margin:0}}@media (max-height: 650px) and (min-width: 901px){.hundred-table-cell{height:28px;font-size:20px}.hundred-table-stage .counting-status{min-height:0;margin:0}.hundred-table-focus-cell{min-height:70px}}.compare-twenty-lesson .twenty-compare-board{display:grid;grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);align-items:center;gap:18px;width:min(100%,900px);margin:0 auto}.twenty-compare-column{display:grid;align-content:start;justify-items:center;gap:20px;width:100%;align-self:stretch;padding:clamp(10px,1.5vh,16px);border:3px solid #111;border-radius:16px;background:#fff;box-sizing:border-box}.twenty-compare-column.is-larger-focus,.twenty-compare-column.is-equal-focus{border-width:4px;outline:4px solid #111;outline-offset:3px;background:#f5f5f5}.compare-twenty-lesson .twenty-numeral,.compare-twenty-lesson button.twenty-numeral{font-size:clamp(3.5rem,9vh,5rem);line-height:1.1;border:0;background:#fff;font-weight:900;padding:4px 12px}.compare-twenty-lesson button.twenty-numeral{display:inline-flex;align-items:center;gap:10px;border:3px solid #111;border-radius:14px;cursor:pointer}.compare-twenty-lesson button.twenty-numeral:focus-visible{outline:4px solid #111;outline-offset:3px}.twenty-numeral .sketch-image{width:32px;height:32px}.twenty-signs{display:grid;gap:12px}.compare-twenty-lesson .twenty-signs button.counting-button{display:grid;place-items:center;min-height:90px;padding:4px}.compare-twenty-lesson .twenty-signs button.counting-button:focus-visible{outline:4px solid #111;outline-offset:3px}.compare-twenty-lesson .twenty-signs button.counting-button:disabled:not(.is-wrong){opacity:1}.compare-twenty-lesson .twenty-signs button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.compare-twenty-lesson .twenty-signs button.counting-button.is-wrong{opacity:.45;background:#eee;border-color:#bbb;color:#777}.twenty-sign-symbol{font:900 clamp(2.5rem,5.5vw,3.6rem)/1 system-ui,sans-serif}.twenty-material{display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:16px;min-height:156px}.twenty-rods{display:flex;gap:12px}.twenty-rods:empty,.twenty-units:empty{display:none}.twenty-rod{display:grid;grid-template-rows:repeat(10,1fr);height:150px;width:28px;border:2px solid #111}.twenty-rod i{border-bottom:1px solid #111}.twenty-rod i:last-child{border:0}.twenty-units{display:grid;grid-template-columns:repeat(5,22px);gap:8px}.twenty-unit{width:22px;height:22px;border:2px solid #111}.twenty-material.is-rearranged .twenty-units{grid-template-columns:repeat(2,22px)}.twenty-zero{font-size:2.5rem}.twenty-order-workspace{display:grid;gap:24px;width:min(100%,1050px);margin:0 auto}.compare-twenty-lesson .number-order-direction{margin:0 auto}.twenty-order-slots,.twenty-order-cards{display:grid;grid-template-columns:repeat(var(--twenty-count),minmax(0,1fr));gap:16px}.twenty-order-slots span{display:grid;place-items:center;border:3px dashed #888;border-radius:12px;background:#fafafa;color:#555;font-size:3rem;font-weight:800;min-height:75px}.twenty-order-slots span.is-filled{border:3px solid #111;background:#f5f5f5;color:#111;font-weight:900}.compare-twenty-lesson button.twenty-order-card.counting-button{display:grid;align-content:start;justify-items:center;gap:18px;padding:12px;min-height:125px}.compare-twenty-lesson button.twenty-order-card.counting-button:focus-visible{outline:4px solid #111;outline-offset:3px}.twenty-order-card strong{font-size:3.5rem;line-height:1.1}.twenty-order-card .twenty-material{min-height:124px;gap:8px}.twenty-order-card .twenty-rod{width:18px;height:120px}.twenty-order-card .twenty-units{grid-template-columns:repeat(5,15px);gap:5px}.twenty-order-card .twenty-unit{width:15px;height:15px}.twenty-order-card.is-used{opacity:.35}.compare-twenty-lesson .twenty-order-card.is-wrong{opacity:.45;background:#eee;border-color:#bbb;color:#777}@media (max-width: 720px){.compare-twenty-lesson .twenty-compare-board{grid-template-columns:minmax(0,1fr) 85px minmax(0,1fr);gap:6px}.twenty-order-slots,.twenty-order-cards{gap:7px}.twenty-order-card.counting-button{padding:4px}.twenty-order-card strong{font-size:2.5rem}.twenty-order-card .twenty-material{gap:5px}.twenty-order-card .twenty-units{grid-template-columns:repeat(3,12px);gap:4px}.twenty-order-card .twenty-unit{width:12px;height:12px}}@media (max-height: 650px){.twenty-order-workspace{gap:12px}.twenty-order-card strong{font-size:2.6rem}.twenty-order-card.counting-button{gap:8px}.twenty-order-card .twenty-rod{height:100px}.twenty-order-slots span{min-height:60px}}@media (max-height: 600px){.compare-twenty-lesson .twenty-compare-board{gap:10px}.twenty-compare-column{gap:8px;padding:8px}.compare-twenty-lesson .twenty-numeral,.compare-twenty-lesson button.twenty-numeral{font-size:clamp(2.4rem,7vh,3.4rem)}.twenty-numeral .sketch-image{width:24px;height:24px}.compare-twenty-lesson .twenty-signs{gap:6px}.compare-twenty-lesson .twenty-signs button.counting-button{min-height:58px}.twenty-sign-symbol{font-size:clamp(2rem,4.5vw,2.6rem)}.twenty-material{min-height:104px;gap:10px}.twenty-rod{height:100px;width:22px}.twenty-unit{width:16px;height:16px}.twenty-units{grid-template-columns:repeat(5,16px);gap:5px}.twenty-order-workspace{gap:8px}.twenty-order-slots span{min-height:48px;font-size:2.2rem}.compare-twenty-lesson button.twenty-order-card.counting-button{min-height:92px;gap:6px;padding:6px}.twenty-order-card strong{font-size:2.1rem}.twenty-order-card .twenty-material{min-height:84px}.twenty-order-card .twenty-rod{height:80px;width:14px}}.compare-hundred-lesson .twenty-compare-board{width:min(100%,980px)}.compare-hundred-lesson .counting-status:empty{display:none}.compare-hundred-lesson .twenty-numeral,.compare-hundred-lesson button.twenty-numeral{font-size:clamp(2.8rem,7.5vh,4.2rem);line-height:1.08}.hundred-comparison-material{width:100%}.hundred-comparison-material .place-value-material{min-height:205px;gap:16px;padding:6px;box-sizing:border-box}.hundred-comparison-material .place-value-tens{grid-template-columns:repeat(2,max-content)}.hundred-comparison-material .place-value-rod{grid-template-columns:repeat(10,10px)}.hundred-comparison-material .place-value-rod i{width:10px;height:18px}.hundred-comparison-material .focus-tens .place-value-tens,.hundred-comparison-material.focus-tens .place-value-tens,.hundred-comparison-material.focus-units .place-value-units{padding:6px 8px;border-radius:10px;background:#fff;outline:3px dashed #111;outline-offset:2px}.compare-hundred-lesson .twenty-order-workspace{width:min(100%,1060px)}.compare-hundred-lesson:has(.counting-actions) .twenty-order-card.is-used{opacity:1;background:#efefef;border:3px dashed #555}.compare-hundred-lesson .twenty-order-card .place-value-tens{grid-template-columns:repeat(2,max-content);gap:5px}.compare-hundred-lesson .twenty-order-card .place-value-rod{grid-template-columns:repeat(10,7px)}.compare-hundred-lesson .twenty-order-card .place-value-rod i{width:7px;height:14px}.compare-hundred-lesson .twenty-order-card .place-value-material{min-height:170px;gap:8px}.compare-hundred-lesson .twenty-order-card .place-value-unit{width:16px;height:16px}.compare-hundred-lesson .twenty-order-card .place-value-units{grid-template-columns:repeat(5,16px);gap:5px}.compare-hundred-lesson .twenty-order-card .place-value-hundred{grid-template-columns:repeat(10,10px)}.compare-hundred-lesson .twenty-order-card .place-value-hundred i{width:10px;height:10px}@media (max-width: 700px){.hundred-comparison-material .place-value-tens,.compare-hundred-lesson .twenty-order-card .place-value-tens{grid-template-columns:1fr}}@media (max-height: 680px){.compare-hundred-lesson .twenty-numeral,.compare-hundred-lesson button.twenty-numeral{font-size:clamp(2.4rem,6.5vh,3.5rem)}.hundred-comparison-material .place-value-material{min-height:165px;gap:10px}.compare-hundred-lesson .twenty-order-card .place-value-material{min-height:135px}}@media (max-height: 600px){.compare-hundred-lesson .twenty-numeral,.compare-hundred-lesson button.twenty-numeral{font-size:clamp(2.1rem,6vh,3rem)}.hundred-comparison-material .place-value-material{min-height:135px;gap:8px}.hundred-comparison-material .place-value-rod i{height:14px}.compare-hundred-lesson .twenty-order-card .place-value-material{min-height:105px}}.estimation-lesson{--estimation-size: clamp(28px, min(5vh, 3.6vw), 46px)}.estimation-stage{width:min(1100px,100%);margin:auto;text-align:center}.estimation-workspace{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%}.estimation-material{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:18px;width:100%;align-items:start}.estimation-benchmark,.estimation-collection{border:3px solid transparent;border-radius:12px;padding:10px;min-width:0}.estimation-benchmark{border-color:#777}.estimation-lesson h3{font-size:clamp(18px,2.8vh,24px);margin:0 0 12px}.estimation-lesson .is-focused{border-color:#111;outline:2px solid #111;outline-offset:2px}.estimation-lesson .estimation-object{width:var(--estimation-size);height:var(--estimation-size);object-fit:contain}.estimation-ten,.estimation-remainder{display:grid;grid-template-columns:repeat(5,var(--estimation-size));gap:2px;width:max-content;margin:auto}.estimation-ten span,.estimation-remainder span{grid-column:1 / -1;font-size:24px;font-weight:700}.estimation-loose{display:grid;grid-template-columns:repeat(8,var(--estimation-size));gap:5px 11px;width:max-content;max-width:100%;margin:auto;padding:8px}.estimation-scattered{display:block;transform:translateY(var(--shift)) rotate(var(--turn))}.estimation-groups{display:grid;grid-template-columns:repeat(2,max-content);justify-content:center;gap:10px 20px}.estimation-groups .estimation-ten,.estimation-remainder{border:2px solid #111;padding:4px;border-radius:8px}.estimation-exact,.estimation-explanation{font-size:clamp(20px,3.2vh,28px);margin:10px 0 0}.estimation-choices{width:min(720px,100%);margin:0 auto}.estimation-lesson .estimation-choices button.counting-button{min-height:96px;font-size:clamp(38px,6vh,56px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1}.estimation-about{font-size:20px;line-height:1.2}.estimation-lesson .estimation-choices button.counting-button.is-wrong{background:#ddd;border-color:#888;color:#777;opacity:.7}.estimation-lesson .estimation-choices button.counting-button.is-correct{opacity:1;background:#fff;color:#111;border:5px solid #111}.estimation-lesson .foundation-control .sketch-image{width:36px;height:36px}.estimation-actions{margin-top:0}.estimation-status{min-height:24px;margin:0}@media (max-width: 720px){.estimation-lesson{--estimation-size: clamp(25px, 6vw, 36px)}.estimation-material{grid-template-columns:1fr;gap:8px}.estimation-benchmark{display:flex;align-items:center;justify-content:center;gap:16px;padding:6px}.estimation-benchmark h3,.estimation-benchmark .estimation-ten{margin:0}.estimation-loose{gap:5px}.estimation-groups{gap:8px}.estimation-workspace{gap:10px}}@media (min-width: 721px) and (max-height: 740px){.estimation-lesson{--estimation-size: clamp(28px, 4.6vh, 36px)}.estimation-workspace{gap:8px}.estimation-collection,.estimation-benchmark{padding:6px}.estimation-lesson h3{margin-bottom:8px}.estimation-lesson .estimation-choices button.counting-button{min-height:78px}.estimation-groups{gap:6px 16px}}.part-whole-lesson{--part-whole-cell: clamp(14px, 2.5vh, 24px);--part-whole-obj: clamp(24px, min(4vw, 4.6vh), 40px)}.part-whole-stage{width:min(1080px,100%);margin:0 auto;text-align:center;gap:clamp(8px,1.6vh,14px)}.part-whole-lesson .foundation-prompt-row{justify-content:center}.part-whole-lesson .foundation-prompt-row h2{margin:0;font-size:clamp(1.25rem,2.8vw,1.9rem)}.part-whole-workspace{display:flex;flex-direction:column;align-items:center;gap:clamp(8px,1.6vh,14px);width:100%}.part-whole-bond{width:min(860px,100%);margin:0 auto}.part-whole-top{width:48%;margin:0 auto}.part-whole-parts{display:grid;grid-template-columns:1fr 1fr;gap:clamp(14px,3vw,32px)}.part-whole-node{border:3px solid #111;border-radius:14px;padding:clamp(6px,1vh,10px) 12px;min-height:clamp(104px,17vh,136px);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.part-whole-node.is-unknown{border-style:dashed}.part-whole-node.is-focused{background:#f5f5f5;border-width:4px;outline:4px solid #111;outline-offset:3px}.part-whole-node h3{font-size:clamp(17px,2.4vh,22px);font-weight:800;margin:0;line-height:1.1}.part-whole-number{font-size:clamp(34px,5.4vh,54px);line-height:1;font-weight:800;color:#111}.part-whole-branches{height:clamp(18px,3.2vh,30px);width:100%;display:block;overflow:visible}.part-whole-branches line{stroke:#111;stroke-width:3px;vector-effect:non-scaling-stroke}.part-whole-quantity{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:8px}.part-whole-rods{display:flex;flex-direction:column;gap:4px}.part-whole-rod{display:grid;grid-template-columns:repeat(10,var(--part-whole-cell));border:2px solid #111;position:relative;background:#fff}.part-whole-rod i{height:var(--part-whole-cell);border-right:1px solid #111;box-sizing:border-box}.part-whole-rod i:last-child{border-right:0}.part-whole-units{display:grid;grid-template-columns:repeat(5,var(--part-whole-cell));gap:4px}.part-whole-unit{width:var(--part-whole-cell);height:var(--part-whole-cell);border:2px solid #111;position:relative;box-sizing:border-box;background:#fff}.part-whole-hidden{height:clamp(24px,3.8vh,34px)}.part-whole-lesson .is-separated:after{content:"";position:absolute;top:50%;left:2px;right:2px;border-top:3px solid #111;transform:rotate(-28deg)}.part-whole-choices{width:min(720px,100%);margin:0 auto}.part-whole-lesson .part-whole-choices button.counting-button{min-height:clamp(64px,10vh,84px);font-size:clamp(32px,5.4vh,52px);border:3px solid #111;border-radius:14px;background:#fff;color:#111}.part-whole-lesson .part-whole-choices button.counting-button:focus-visible{outline:4px solid #111;outline-offset:4px}.part-whole-lesson .part-whole-choices button.counting-button.is-wrong{background:#eee;border-color:#bbb;color:#777;opacity:.5}.part-whole-lesson .part-whole-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.part-whole-status{min-height:1.4em;margin:0}.parts-to-ten-objects{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px;width:min(100%,calc(5 * var(--part-whole-obj) + 16px));margin:0 auto}.parts-to-ten-object{position:relative;width:var(--part-whole-obj);height:var(--part-whole-obj);display:grid;place-items:center;flex:0 0 auto}.parts-to-ten-image{width:100%;height:100%;object-fit:contain;display:block}.parts-to-ten-object.is-separated .parts-to-ten-image{opacity:.42}.parts-to-ten-empty{display:block;width:min(100%,88px);height:clamp(28px,4.4vh,38px);border:2px dashed #555;border-radius:10px}.parts-to-ten-equation{margin:0;font-size:clamp(1.3rem,2.8vw,1.9rem);font-weight:800;color:#111}.part-whole-actions{margin-top:0;min-height:64px}@media (max-width: 720px){.part-whole-lesson{--part-whole-cell: clamp(10px, 2.8vw, 20px);--part-whole-obj: clamp(20px, 5.2vw, 32px)}.part-whole-parts{gap:14px}.part-whole-top{width:min(260px,64%)}.part-whole-node{padding:8px;min-height:96px}}@media (min-width: 721px) and (max-height: 740px){.part-whole-lesson{--part-whole-obj: clamp(22px, min(3.6vw, 4.2vh), 34px)}.part-whole-workspace{gap:8px}.part-whole-node{display:grid;grid-template-columns:minmax(60px,auto) minmax(0,1fr);column-gap:10px;row-gap:2px;align-items:center;min-height:88px;padding:6px 12px}.part-whole-node h3{grid-column:1;grid-row:1;align-self:end;text-align:center}.part-whole-number{grid-column:1;grid-row:2;align-self:start;text-align:center}.part-whole-quantity,.parts-to-ten-objects,.part-whole-hidden{grid-column:2;grid-row:1 / 3;justify-self:center;align-self:center}.part-whole-branches{height:20px}.part-whole-lesson .part-whole-choices button.counting-button{min-height:68px}}@media (min-width: 950px) and (max-height: 740px){.part-whole-lesson .part-whole-workspace.is-practice{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;gap:20px}.part-whole-workspace.is-practice .part-whole-bond{width:100%}.part-whole-lesson .part-whole-workspace.is-practice .part-whole-choices{display:grid;grid-template-columns:140px;gap:16px;width:140px}.part-whole-lesson .part-whole-workspace.is-practice .part-whole-choices button.counting-button{min-height:76px}}@media (max-height: 600px){.part-whole-lesson{--part-whole-obj: clamp(20px, min(3.4vw, 3.8vh), 28px)}.part-whole-lesson .part-whole-stage{gap:4px;padding-top:4px;padding-bottom:6px}.part-whole-lesson .foundation-prompt-row{min-height:44px}.part-whole-lesson .foundation-prompt-row h2{font-size:clamp(1.1rem,2.4vw,1.5rem)}.part-whole-workspace{gap:6px}.part-whole-node{min-height:76px;padding:5px 10px}.part-whole-node h3{font-size:16px}.part-whole-number{font-size:clamp(28px,5vh,38px)}.part-whole-branches{height:16px}.parts-to-ten-equation{font-size:1.25rem}.part-whole-status:empty{display:none}.part-whole-lesson .part-whole-choices button.counting-button{min-height:58px;font-size:2rem}.part-whole-lesson .part-whole-workspace.is-practice .part-whole-choices{gap:10px}.part-whole-lesson .part-whole-workspace.is-practice .part-whole-choices button.counting-button{min-height:62px}.part-whole-actions{min-height:54px}}.doubles-lesson{--doubles-object: clamp(54px, 8vh, 84px)}.doubles-stage{width:min(1080px,100%);margin:0 auto;text-align:center;gap:clamp(10px,1.8vh,18px)}.doubles-lesson .foundation-prompt-row{justify-content:center}.doubles-lesson .foundation-prompt-row h2{margin:0;font-size:clamp(1.25rem,2.8vw,1.95rem)}.doubles-workspace{display:flex;flex-direction:column;align-items:center;gap:clamp(10px,1.8vh,16px);width:100%;margin:0 auto}.doubles-material{display:grid;gap:10px;padding:12px 16px;border:3px solid transparent;border-radius:14px;background:#fff}.doubles-row{display:grid;grid-template-columns:repeat(var(--doubles-cols, 5),var(--doubles-object));justify-content:center;gap:12px;align-items:center}.doubles-row.is-zero{border:2px dashed #737373;border-radius:12px;padding:4px}.doubles-slot{width:var(--doubles-object);height:var(--doubles-object);display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:3px solid transparent;border-radius:12px}.doubles-object.sketch-image{width:90%;height:90%;object-fit:contain}.doubles-slot.is-extra.is-visible{border:3px dashed #111;background:#f5f5f5}.doubles-slot.is-removed.is-visible{position:relative}.doubles-slot.is-removed.is-visible .doubles-object{opacity:.35}.doubles-slot.is-removed.is-visible:after{content:"";position:absolute;left:8%;right:8%;top:50%;border-top:4px solid #111;transform:rotate(-38deg)}.doubles-lesson .doubles-material.is-focused{border-color:#111;background:#f5f5f5}.doubles-equation{display:flex;justify-content:center;align-items:center;gap:18px;font-size:clamp(38px,6.2vh,62px);font-weight:800;line-height:1.1}.doubles-lesson button.doubles-numeral.counting-button{min-width:84px;min-height:74px;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:clamp(38px,6.2vh,62px);background:#fff;border:3px solid #111;border-radius:14px}.doubles-numeral .sketch-image{width:34px;height:34px;flex-shrink:0}.doubles-strategy{margin:0;padding:8px 18px;border:2px solid #111;border-radius:12px;background:#f5f5f5;font-size:clamp(22px,3.4vh,32px);font-weight:700;line-height:1.3}.doubles-choices{width:min(720px,100%);margin:0 auto}.doubles-lesson .doubles-choices button.counting-button{min-height:clamp(72px,11vh,90px);font-size:clamp(36px,5.8vh,56px);border:3px solid #111;border-radius:14px;background:#fff;color:#111}.doubles-lesson .doubles-choices button.counting-button:focus-visible{outline:4px solid #111;outline-offset:4px}.doubles-lesson .doubles-choices button.counting-button.is-wrong{background:#eee;border-color:#bbb;color:#777;opacity:.5}.doubles-lesson .doubles-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.doubles-status{min-height:1.4em;margin:0}.doubles-status:empty{display:none}.doubles-actions{margin-top:0;min-height:64px}@media (max-width: 720px){.doubles-lesson{--doubles-object: clamp(42px, 12vw, 68px)}.doubles-row{gap:6px}.doubles-equation{gap:10px;font-size:clamp(32px,7.5vw,48px)}.doubles-lesson button.doubles-numeral.counting-button{min-width:62px;min-height:60px;padding:6px 8px;gap:4px;font-size:clamp(32px,7.5vw,48px)}.doubles-numeral .sketch-image{width:26px;height:26px}.doubles-lesson .doubles-choices{gap:12px}}@media (min-width: 721px) and (max-height: 740px){.doubles-lesson{--doubles-object: clamp(50px, 7.6vh, 74px)}.doubles-stage,.doubles-workspace{gap:8px}.doubles-material{padding:8px 12px;gap:6px}.doubles-lesson button.doubles-numeral.counting-button{min-height:64px;padding:6px 10px}.doubles-strategy{padding:6px 14px;font-size:clamp(20px,3.2vh,28px)}.doubles-lesson .doubles-choices button.counting-button{min-height:74px}}@media (max-height: 600px){.doubles-lesson{--doubles-object: clamp(44px, 7.4vh, 58px)}.doubles-lesson .doubles-stage{gap:6px;padding-block:6px}.doubles-lesson .foundation-prompt-row{min-height:44px}.doubles-lesson .foundation-prompt-row h2{font-size:clamp(1.1rem,2.4vw,1.5rem)}.doubles-workspace{gap:6px}.doubles-material{padding:6px 10px;gap:6px}.doubles-row{gap:8px}.doubles-equation{gap:12px;font-size:clamp(32px,5.8vh,44px)}.doubles-lesson button.doubles-numeral.counting-button{min-width:66px;min-height:54px;padding:4px 10px;font-size:clamp(32px,5.8vh,44px)}.doubles-numeral .sketch-image{width:26px;height:26px}.doubles-strategy{padding:4px 12px;font-size:20px;line-height:1.2}.doubles-lesson .doubles-choices button.counting-button{min-height:58px;font-size:2rem}.doubles-status{font-size:1rem}.doubles-actions{min-height:54px}}.addition-lesson{--addition-object: clamp(36px, min(5.2vw, 7vh), 68px)}.addition-stage{width:min(1080px,100%);margin:0 auto;text-align:center;gap:clamp(8px,1.5vh,16px)}.addition-lesson .foundation-prompt-row{justify-content:center}.addition-lesson .foundation-prompt-row h2{margin:0;font-size:clamp(1.25rem,2.8vw,1.95rem);text-wrap:balance}.addition-workspace{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,1.5vh,14px);width:100%;margin:0 auto}.addition-material{display:flex;justify-content:center;align-items:stretch;gap:clamp(14px,3vw,34px);width:100%;margin:0 auto}.addition-group{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:calc(var(--addition-object) * 5 + 48px);padding:clamp(8px,1.4vh,14px) clamp(10px,1.8vw,18px);border:3px solid #111;border-radius:16px;background:#fff;box-sizing:border-box}.addition-group-label{font-size:clamp(18px,2.4vh,25px);font-weight:700;line-height:1.15}.addition-object-grid{display:grid;grid-template-columns:repeat(var(--addition-cols, 5),var(--addition-object));grid-auto-rows:var(--addition-object);gap:8px;justify-content:center}.addition-slot{width:var(--addition-object);height:var(--addition-object);display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:2px solid transparent;border-radius:12px}.addition-slot.is-added{border:2px dashed #555}.addition-slot.is-added.is-empty{border:3px dashed #888;background:#fafafa}.addition-zero-box{width:calc(var(--addition-object) * 1.6);height:var(--addition-object);display:grid;place-items:center;border:3px dashed #777;border-radius:12px;font-size:clamp(24px,3.6vh,34px);font-weight:800;color:#111;background:#fafafa}.addition-object.sketch-image{width:90%;height:90%;object-fit:contain}.addition-material-sign{align-self:center;font-size:clamp(34px,5.2vh,54px);font-weight:800;line-height:1}.addition-equation{display:flex;justify-content:center;align-items:center;gap:14px;font-size:clamp(36px,6vh,58px);font-weight:800;line-height:1.1}.addition-unknown{display:inline-grid;place-items:center;min-width:1.35em;min-height:1.25em;padding:0 .2em;border:3px dashed #111;border-radius:12px;background:#fff}.addition-result{display:inline-grid;place-items:center;min-width:1.35em;min-height:1.25em;padding:0 .2em;border:3px solid #111;border-radius:12px;background:#111;color:#fff}.addition-lesson button.addition-numeral.counting-button{min-width:76px;min-height:68px;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:clamp(36px,6vh,58px);font-weight:800;background:#fff;color:#111;border:3px solid #111;border-radius:14px}.addition-numeral .sketch-image{width:clamp(24px,4.2vh,34px);height:clamp(24px,4.2vh,34px);flex-shrink:0}.addition-choices{width:min(740px,100%);margin:0 auto}.addition-lesson .addition-choices button.counting-button{min-height:clamp(68px,10vh,88px);font-size:clamp(34px,5.6vh,54px);border:3px solid #111;border-radius:14px;background:#fff;color:#111}.addition-lesson .addition-choices button.counting-button:focus-visible,.addition-lesson button.addition-numeral.counting-button:focus-visible{outline:4px solid #111;outline-offset:4px}.addition-lesson .addition-choices button.counting-button.is-wrong{background:#eee;border-color:#bbb;color:#777;opacity:.5}.addition-lesson .addition-choices button.counting-button.is-correct{background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}.addition-status{min-height:1.4em;margin:0}.addition-status:empty{display:none}.addition-actions{margin-top:0;min-height:64px}@media (max-width: 780px){.addition-lesson{--addition-object: clamp(32px, 5.5vw, 48px)}.addition-object-grid{gap:4px}.addition-group{min-width:0;padding:8px 10px;gap:6px}.addition-material,.addition-equation{gap:10px}.addition-lesson button.addition-numeral.counting-button{min-width:60px;min-height:58px;padding:6px 8px}}@media (max-width: 560px){.addition-material{flex-direction:column;align-items:center;gap:6px}.addition-group{width:min(100%,340px)}.addition-material-sign{line-height:1}}@media (min-width: 781px) and (max-height: 700px){.addition-lesson{--addition-object: clamp(36px, 6.4vh, 52px)}.addition-object-grid{gap:5px}.addition-group{gap:4px;padding:8px 12px}.addition-lesson .addition-choices button.counting-button{min-height:68px}.addition-lesson .counting-stage{gap:8px;padding-block:8px}}@media (max-height: 600px){.addition-lesson{--addition-object: clamp(32px, 5.6vh, 44px)}.addition-lesson .addition-stage{gap:6px;padding-block:6px}.addition-lesson .foundation-prompt-row{min-height:44px}.addition-lesson .foundation-prompt-row h2{font-size:clamp(1.1rem,2.4vw,1.5rem)}.addition-workspace{gap:6px}.addition-group{gap:4px;padding:5px 10px}.addition-group-label{font-size:16px}.addition-object-grid{gap:4px}.addition-equation{font-size:clamp(28px,5.2vh,42px);gap:10px}.addition-lesson button.addition-numeral.counting-button{min-width:56px;min-height:52px;padding:4px 10px;font-size:clamp(28px,5.2vh,42px)}.addition-lesson .addition-choices button.counting-button{min-height:56px;font-size:clamp(28px,5vh,40px)}.addition-actions{min-height:54px}}.subtraction-lesson{--subtraction-object: clamp(44px, 6.8vh, 66px)}.subtraction-stage{width:min(1080px,100%);margin:0 auto;text-align:center;gap:clamp(8px,1.6vh,16px)}.subtraction-lesson .foundation-prompt-row{justify-content:center}.subtraction-lesson .foundation-prompt-row h2{margin:0;font-size:clamp(1.25rem,2.7vw,1.95rem);text-wrap:balance}.subtraction-workspace{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,1.6vh,16px);width:100%;margin:0 auto}.subtraction-material{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,1.2vh,12px);width:fit-content;max-width:100%;margin:0 auto;padding:clamp(10px,1.8vh,18px) clamp(14px,2.5vw,24px);border:2px solid #111;border-radius:18px;background:#fff;box-sizing:border-box}.subtraction-object-grid{display:grid;grid-template-columns:repeat(var(--subtraction-cols, 5),var(--subtraction-object));grid-auto-rows:var(--subtraction-object);gap:8px;justify-content:center}.subtraction-slot{position:relative;display:flex;align-items:center;justify-content:center;width:var(--subtraction-object);height:var(--subtraction-object);box-sizing:border-box;border:3px solid transparent;border-radius:10px;overflow:hidden}.subtraction-object.sketch-image{width:88%;height:88%;object-fit:contain}.subtraction-slot.is-removed .subtraction-object{opacity:.3}.subtraction-slot.is-removed:before,.subtraction-slot.is-removed:after{content:"";position:absolute;z-index:1;width:96%;border-top:4px solid #111;left:2%;top:calc(50% - 2px)}.subtraction-slot.is-removed:before{transform:rotate(45deg)}.subtraction-slot.is-removed:after{transform:rotate(-45deg)}.subtraction-slot.is-gap{border:3px dashed #888;background:#fafafa}.subtraction-slot.is-gap.is-highlighted{border:4px dashed #111;background:#efefef}.subtraction-group-label{font-size:clamp(17px,2.3vh,24px);font-weight:700;line-height:1.15}.subtraction-row{display:flex;align-items:center;gap:14px;max-width:100%}.subtraction-row+.subtraction-row{padding-top:clamp(8px,1.2vh,12px);border-top:2px dashed #bdbdbd}.subtraction-row .subtraction-group-label{width:clamp(140px,20vw,190px);flex:0 0 auto;text-align:right}.subtraction-equation{display:flex;justify-content:center;align-items:center;gap:14px;min-height:72px;font-size:clamp(36px,6vh,58px);font-weight:800;line-height:1.1}.subtraction-unknown{display:inline-grid;place-items:center;min-width:1.35em;min-height:1.3em;padding:0 .2em;border:3px dashed #111;border-radius:12px;background:#fff;color:#111}.subtraction-result{display:inline-grid;place-items:center;min-width:1.35em;min-height:1.3em;padding:0 .2em;border:3px solid #111;border-radius:12px;background:#111;color:#fff}.subtraction-lesson button.subtraction-numeral.counting-button{min-width:74px;min-height:70px;padding:6px 12px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:clamp(36px,6vh,58px);background:#fff;border:3px solid #111;border-radius:14px}.subtraction-numeral .sketch-image{width:32px;height:32px;flex-shrink:0}.subtraction-choices{width:min(720px,100%);margin:0 auto}.subtraction-lesson .subtraction-choices button.counting-button{min-height:clamp(66px,10.5vh,88px);font-size:clamp(34px,5.6vh,54px);border:3px solid #111;border-radius:14px;background:#fff;color:#111}.subtraction-lesson .subtraction-choices button.counting-button:focus-visible{outline:4px solid #111;outline-offset:4px}.subtraction-lesson .subtraction-choices button.counting-button.is-wrong{background:#eee;border-color:#bbb;color:#777;opacity:.5;cursor:default}.subtraction-lesson .subtraction-choices button.counting-button.is-correct{background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}.subtraction-status{min-height:1.4em;margin:0}.subtraction-status:empty{display:none}.subtraction-actions{margin-top:0;min-height:64px}@media (max-width: 680px){.subtraction-lesson{--subtraction-object: clamp(34px, 8vw, 48px)}.subtraction-material{padding:8px 10px}.subtraction-object-grid{gap:4px}.subtraction-row{flex-direction:column;gap:4px}.subtraction-row+.subtraction-row{padding-top:8px}.subtraction-row .subtraction-group-label{width:auto;text-align:center}.subtraction-equation{gap:8px;min-height:60px;font-size:clamp(30px,7vw,44px)}.subtraction-lesson button.subtraction-numeral.counting-button{min-width:58px;min-height:56px;padding:4px 8px;font-size:clamp(28px,6.5vw,42px)}.subtraction-numeral .sketch-image{width:24px;height:24px}.subtraction-lesson .subtraction-choices{gap:12px}}@media (min-width: 681px) and (max-height: 700px){.subtraction-lesson{--subtraction-object: clamp(36px, 6.2vh, 52px)}.subtraction-lesson .subtraction-stage{gap:6px;padding-block:6px 10px}.subtraction-workspace{gap:8px}.subtraction-material{gap:6px;padding:8px 16px}.subtraction-object-grid{gap:5px}.subtraction-row+.subtraction-row{padding-top:6px}.subtraction-equation{min-height:60px;font-size:clamp(32px,5.6vh,46px)}.subtraction-lesson button.subtraction-numeral.counting-button{min-height:58px;min-width:64px;font-size:clamp(32px,5.6vh,46px)}.subtraction-lesson .subtraction-choices button.counting-button{min-height:66px}}@media (max-height: 600px){.subtraction-lesson{--subtraction-object: clamp(32px, 5.6vh, 44px)}.subtraction-lesson .subtraction-stage{gap:4px;padding-block:4px 6px}.subtraction-lesson .foundation-prompt-row{min-height:44px}.subtraction-lesson .foundation-prompt-row h2{font-size:clamp(1.08rem,2.3vw,1.48rem)}.subtraction-workspace{gap:5px}.subtraction-material{gap:5px;padding:6px 12px}.subtraction-object-grid{gap:4px}.subtraction-row+.subtraction-row{padding-top:5px}.subtraction-group-label{font-size:16px}.subtraction-equation{gap:10px;min-height:52px;font-size:clamp(28px,5.2vh,40px)}.subtraction-lesson button.subtraction-numeral.counting-button{min-width:56px;min-height:50px;padding:4px 8px;font-size:clamp(28px,5vh,38px)}.subtraction-numeral .sketch-image{width:22px;height:22px}.subtraction-lesson .subtraction-choices button.counting-button{min-height:58px;font-size:clamp(28px,5vh,40px)}.subtraction-actions{min-height:54px}}.empty-line-stage{width:min(1080px,100%);margin:auto;text-align:center;gap:clamp(7px,1.4vh,14px)}.empty-line-workspace{display:flex;flex-direction:column;align-items:center;gap:clamp(7px,1.4vh,14px);width:100%}.empty-line-material{width:min(960px,100%)}.empty-line-track{position:relative;width:100%;height:clamp(160px,27vh,200px)}.empty-line-svg{width:100%;height:100%;overflow:visible}.empty-line-baseline,.empty-line-tick{stroke:#111;stroke-width:5;vector-effect:non-scaling-stroke}.empty-line-hop{fill:none;stroke:#111;stroke-width:5;stroke-linecap:round;vector-effect:non-scaling-stroke}.empty-line-svg marker path{fill:#111}.empty-line-frog{position:absolute;bottom:44%;width:clamp(54px,8vh,80px);height:clamp(54px,8vh,80px);transform:translate(-50%);pointer-events:none}.empty-line-frog-image.sketch-image{width:100%;height:100%;object-fit:contain}.empty-line-point{position:absolute;bottom:0;transform:translate(-50%);min-width:54px;display:flex;justify-content:center}.empty-line-point-label{display:flex;align-items:center;justify-content:center;min-width:54px;height:54px;font-size:clamp(32px,5.5vh,48px);font-weight:900;line-height:1}.empty-line-point-label.is-unknown{border:3px dashed #111;border-radius:12px}.empty-line-lesson button.empty-line-point-label.counting-button{min-height:54px;padding:2px 8px;border:3px solid #111;background:#fff;font-size:clamp(32px,5.5vh,48px)}.empty-line-caption{margin:0;font-size:clamp(20px,2.7vh,27px);font-weight:700}.empty-line-equation{display:flex;align-items:center;justify-content:center;gap:16px;font-size:clamp(40px,6.4vh,62px);line-height:1.1;font-weight:700}.empty-line-lesson .foundation-control .sketch-image{width:34px;height:34px}.empty-line-choices{width:min(740px,100%);margin:auto}.empty-line-lesson .empty-line-choices button.counting-button{min-height:90px;font-size:clamp(40px,6vh,58px)}.empty-line-lesson .empty-line-choices button.counting-button.is-wrong{background:#ddd;border-color:#888;color:#777;opacity:.7}.empty-line-lesson .empty-line-choices button.counting-button.is-correct{background:#fff;color:#111;border:5px solid #111;opacity:1}.empty-line-status{min-height:24px;margin:4px 0}.empty-line-actions{margin-top:0}@media (max-width: 560px){.empty-line-track{height:150px}.empty-line-point{min-width:42px}.empty-line-point-label{min-width:42px;height:46px;font-size:30px}.empty-line-lesson button.empty-line-point-label.counting-button{min-height:46px;font-size:30px;padding:0 4px}.empty-line-frog{width:48px;height:48px}.empty-line-equation{gap:8px}}@media (min-width: 561px) and (max-height: 700px){.empty-line-track{height:160px}.empty-line-lesson .counting-stage{gap:6px;padding-top:0}.empty-line-workspace{gap:6px}.empty-line-lesson .empty-line-choices button.counting-button{min-height:70px}}.equality-lesson{--equality-object: clamp(34px, min(5.4vw, 6.8vh), 62px)}.equality-stage{width:min(1080px,100%);margin:0 auto;text-align:center;gap:clamp(8px,1.6vh,14px)}.equality-lesson .foundation-prompt-row{justify-content:center}.equality-lesson .foundation-prompt-row h2{margin:0;font-size:clamp(1.25rem,2.8vw,1.9rem);text-wrap:balance}.equality-workspace{display:flex;flex-direction:column;align-items:center;gap:clamp(8px,1.6vh,14px);width:100%;margin:0 auto}.equality-material{display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,26px);width:100%}.equality-side{display:flex;flex-direction:column;align-items:center}.equality-side-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:calc(var(--equality-object) * 5 + 46px);min-height:calc(var(--equality-object) * 2 + 28px);padding:8px 10px;border:3px solid #111;border-bottom-width:6px;border-radius:16px;background:#fff;color:#111;box-sizing:border-box}.equality-side-content.is-unknown{border-style:dashed;border-bottom-width:3px}.equality-side-content.is-focused{background:#f5f5f5;border-width:4px;outline:4px solid #111;outline-offset:3px}.equality-icon-row,.equality-gap-row{display:grid;grid-template-columns:repeat(5,var(--equality-object));grid-auto-rows:var(--equality-object);gap:5px;justify-content:center}.equality-icon-row:empty,.equality-gap-row:empty{display:none}.equality-slot{display:flex;align-items:center;justify-content:center;width:var(--equality-object);height:var(--equality-object);box-sizing:border-box;border:3px solid transparent;border-radius:10px}.equality-object.sketch-image{width:90%;height:90%;object-fit:contain}.equality-slot.is-gap{border:3px dashed #111;background:#fafafa}.equality-placeholder{display:flex;align-items:center;justify-content:center;width:100%;min-height:calc(var(--equality-object) * 2 + 6px);font-size:clamp(46px,8vh,72px);font-weight:800;color:#111}.equality-material-sign{font-size:clamp(44px,7.5vh,72px);font-weight:800;color:#111;line-height:1}.equality-equation{display:flex;align-items:center;justify-content:center;gap:12px;font-size:clamp(34px,5.8vh,56px);line-height:1.1;font-weight:800;color:#111}.equality-missing-box{display:inline-flex;align-items:center;justify-content:center;min-width:clamp(54px,7.5vh,72px);min-height:clamp(54px,7.5vh,72px);padding:4px 12px;border:3px dashed #111;border-radius:12px;background:#fff;color:#111;font-weight:800}.equality-lesson button.equality-numeral.counting-button{min-width:64px;min-height:64px;padding:6px 10px;display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:clamp(34px,5.8vh,56px);background:#fff;border:3px solid #111;border-radius:12px;color:#111}.equality-numeral .sketch-image{width:28px;height:28px;flex-shrink:0}.equality-lesson .equality-choices.counting-choices{width:min(760px,100%);margin:0 auto;grid-template-columns:repeat(3,minmax(120px,220px));gap:18px}.equality-lesson .equality-choices button.counting-button{min-height:86px;padding:8px 10px;border:3px solid #111;border-radius:14px;background:#fff;color:#111;font-size:clamp(32px,5vh,46px);white-space:nowrap}.equality-lesson .equality-choices button.counting-button:focus-visible{outline:4px solid #111;outline-offset:4px}.equality-choice-quantity{display:flex;align-items:center;justify-content:center;gap:2px;width:100%}.equality-choice-quantity>span{display:flex;flex-wrap:wrap;justify-content:center;max-width:46%}.equality-choice-quantity i{font-size:18px;font-style:normal}.equality-choice-object.sketch-image{width:clamp(13px,1.7vw,20px);height:clamp(13px,1.7vw,20px);object-fit:contain}.equality-lesson .equality-choices button.counting-button.has-quantity{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.equality-lesson .equality-choices button.counting-button.is-wrong{background:#eee;border-color:#bbb;color:#777;opacity:.5}.equality-lesson .equality-choices button.counting-button.is-correct{background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}.equality-lesson .equality-choices button.counting-button.has-quantity.is-correct{background:#eee;color:#111;border:4px solid #111;outline:4px solid #111;outline-offset:3px;opacity:1}.equality-status{min-height:1.4em;margin:0}.equality-status:empty{display:none}.equality-actions{margin-top:0;min-height:64px}@media (max-width: 680px){.equality-lesson{--equality-object: clamp(28px, 5.8vw, 38px)}.equality-icon-row,.equality-gap-row{gap:3px}.equality-side-content{min-width:calc(var(--equality-object) * 5 + 32px);min-height:calc(var(--equality-object) * 2 + 20px);padding:6px}.equality-material{gap:8px}.equality-equation{gap:7px}.equality-missing-box{min-width:44px;min-height:44px;padding:2px 8px}.equality-lesson button.equality-numeral.counting-button{min-width:50px;min-height:50px;padding:4px}.equality-lesson .equality-choices.counting-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.equality-lesson .equality-choices button.counting-button{min-height:70px;padding:6px 4px;font-size:clamp(20px,5.2vw,30px)}}@media (max-width: 480px){.equality-material{flex-direction:column;gap:4px}.equality-side-content{min-width:min(100%,calc(var(--equality-object) * 5 + 32px));min-height:calc(var(--equality-object) + 18px)}.equality-placeholder{min-height:calc(var(--equality-object) + 8px);font-size:clamp(36px,9vw,48px)}.equality-material-sign{line-height:1;font-size:clamp(32px,8vw,44px)}.equality-equation{width:100%;flex-wrap:wrap;gap:4px;font-size:clamp(22px,6vw,30px)}.equality-lesson button.equality-numeral.counting-button{min-width:36px;min-height:48px;padding:4px;font-size:clamp(22px,6vw,30px)}.equality-numeral .sketch-image{display:none}}@media (min-width: 681px) and (max-height: 700px){.equality-lesson{--equality-object: clamp(32px, min(4.9vw, 6vh), 48px)}.equality-lesson .counting-stage{gap:6px;padding:8px clamp(16px,4vw,48px)}.equality-workspace{gap:6px}.equality-side-content{min-height:calc(var(--equality-object) * 2 + 20px);padding:6px 8px}.equality-lesson .equality-choices button.counting-button{min-height:70px}}@media (max-height: 600px){.equality-lesson{--equality-object: clamp(28px, min(4.6vw, 5.4vh), 40px)}.equality-lesson .counting-stage{gap:6px;padding:6px clamp(16px,4vw,48px)}.equality-lesson .foundation-prompt-row{min-height:44px}.equality-lesson .foundation-prompt-row h2{font-size:clamp(1.1rem,2.4vw,1.5rem)}.equality-workspace{gap:6px}.equality-side-content{min-height:calc(var(--equality-object) * 2 + 16px);padding:5px 8px}.equality-placeholder{min-height:calc(var(--equality-object) * 2 + 4px);font-size:clamp(38px,6.8vh,52px)}.equality-material-sign{font-size:clamp(34px,6.2vh,48px)}.equality-equation{font-size:clamp(28px,5.2vh,42px)}.equality-missing-box{min-width:46px;min-height:46px;padding:2px 10px}.equality-lesson button.equality-numeral.counting-button{min-width:50px;min-height:50px;font-size:clamp(28px,5.2vh,42px)}.equality-lesson .equality-choices button.counting-button{min-height:60px;font-size:clamp(24px,4.6vh,36px)}.equality-actions{min-height:54px}}.story-lesson{--story-object: clamp(44px, 7vh, 68px)}.story-stage{width:min(1080px,100%);margin:0 auto;text-align:center;gap:clamp(7px,1.4vh,14px)}.story-lesson .foundation-prompt-row{justify-content:center}.story-lesson .foundation-prompt-row h2{margin:0;font-size:clamp(1.25rem,2.8vw,1.9rem);text-wrap:balance}.story-workspace{display:flex;flex-direction:column;align-items:center;gap:clamp(7px,1.4vh,14px);width:100%;margin:0 auto}.story-material{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2.5vw,32px);width:100%}.story-material.is-join .story-group,.story-material.is-take-away,.story-material.is-rows{border:3px solid #111;border-radius:16px;background:#fff;padding:clamp(8px,1.4vh,14px) clamp(10px,1.8vw,18px);box-sizing:border-box}.story-material.is-take-away{flex-direction:column;gap:7px;width:fit-content;max-width:100%;margin:0 auto}.story-material.is-rows{flex-direction:column;gap:6px;width:fit-content;max-width:100%;margin:0 auto}.story-material.is-rows .story-group+.story-group{padding-top:clamp(6px,1.2vh,10px);border-top:2px dashed #bdbdbd;width:100%}.story-group{display:flex;flex-direction:column;align-items:center;gap:7px}.story-group-label{font-size:clamp(18px,2.4vh,26px);font-weight:700;line-height:1.15}.story-object-grid{display:grid;grid-template-columns:repeat(var(--story-cols, 5),var(--story-object));grid-auto-rows:var(--story-object);gap:6px;justify-content:center}.story-slot{position:relative;display:flex;align-items:center;justify-content:center;width:var(--story-object);height:var(--story-object);box-sizing:border-box;border:2px solid transparent;border-radius:10px;overflow:hidden}.story-material.is-take-away button.story-slot[data-story-model]:not(.is-removed){border:2px solid #bbb;background:#fff}.story-slot.is-incoming{border-style:dashed;border-color:#777}.story-slot.is-incoming.is-empty{border:3px dashed #888;background:#fafafa}.story-slot.is-gap{border:2px dashed #888;background:#f5f5f5;font-size:1.5rem}.story-slot.is-gap.is-highlighted{border-color:#111;background:#e8e8e8}.story-slot[data-story-model]{cursor:pointer;color:#111;font-weight:800}.story-slot[data-story-model]:disabled{cursor:default}button.story-slot[data-story-model]:focus-visible{outline:4px solid #111;outline-offset:2px}.story-object.sketch-image{width:90%;height:90%;object-fit:contain}.story-slot.is-removed .story-object{opacity:.28}.story-slot.is-removed:before,.story-slot.is-removed:after{content:"";position:absolute;z-index:1;width:96%;border-top:4px solid #111;left:2%;top:calc(50% - 2px)}.story-slot.is-removed:before{transform:rotate(45deg)}.story-slot.is-removed:after{transform:rotate(-45deg)}.story-material-arrow{font-size:clamp(44px,7vh,68px);font-weight:700}.story-equation{display:flex;align-items:center;justify-content:center;gap:14px;font-size:clamp(40px,6.5vh,62px);line-height:1.1;font-weight:700}.story-unknown{display:inline-grid;place-items:center;min-width:1.35em;min-height:1.25em;padding:0 .2em;border:3px dashed #111;border-radius:12px;background:#fff;color:#111}.story-result{display:inline-grid;place-items:center;min-width:1.35em;min-height:1.25em;padding:0 .2em;border:3px solid #111;border-radius:12px;background:#111;color:#fff}.story-lesson button.story-numeral.counting-button{min-width:74px;min-height:70px;padding:7px 10px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:clamp(40px,6.5vh,62px);background:#fff;border:3px solid #111}.story-numeral .sketch-image{width:30px;height:30px;flex-shrink:0}.story-lesson .story-choices.counting-choices{width:min(790px,100%);margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.story-lesson .story-choices button.counting-button{min-height:90px;padding:8px;font-size:clamp(28px,4.6vh,42px);white-space:nowrap}.story-lesson .story-choices button.counting-button.is-wrong{background:#eee;border-color:#bbb;color:#777;opacity:.5}.story-lesson .story-choices button.counting-button.is-correct{background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}.story-status{min-height:24px;margin:0}.story-status:empty{display:none}.story-actions{margin-top:0;min-height:64px}@media (max-width: 700px){.story-lesson{--story-object: clamp(35px, 7vw, 50px)}.story-object-grid{gap:4px}.story-material,.story-equation{gap:8px}.story-lesson button.story-numeral.counting-button{min-width:60px;padding:5px}.story-lesson .story-choices.counting-choices{gap:8px}.story-lesson .story-choices button.counting-button{min-height:74px;padding:4px;font-size:clamp(22px,4.8vw,31px)}}@media (max-width: 520px){.story-material.is-join{flex-direction:column;gap:4px}.story-material-arrow{line-height:1}.story-lesson .story-choices.counting-choices{grid-template-columns:1fr;width:min(340px,100%)}.story-lesson .story-choices button.counting-button{min-height:60px}}@media (min-width: 701px) and (max-height: 700px){.story-lesson{--story-object: clamp(38px, 6.4vh, 52px)}.story-object-grid{gap:4px}.story-lesson .counting-stage{gap:6px;padding-top:0}.story-workspace{gap:6px}.story-lesson .story-choices button.counting-button{min-height:72px}}@media (min-width: 701px) and (max-width: 900px){.story-lesson{--story-object: clamp(40px, 6vw, 52px)}}@media (max-height: 600px){.story-lesson{--story-object: clamp(30px, 5.4vh, 42px)}.story-lesson .story-stage{gap:4px;padding-block:4px 6px}.story-lesson .foundation-prompt-row{min-height:44px}.story-lesson .foundation-prompt-row h2{font-size:clamp(1.05rem,2.3vw,1.45rem)}.story-workspace{gap:5px}.story-material.is-join .story-group,.story-material.is-take-away,.story-material.is-rows{padding:5px 10px}.story-material.is-rows{gap:4px}.story-material.is-rows .story-group+.story-group{padding-top:5px}.story-group{gap:4px}.story-group-label{font-size:16px}.story-object-grid{gap:4px}.story-material-arrow{font-size:clamp(28px,5vh,42px)}.story-equation{gap:10px;font-size:clamp(28px,5vh,40px)}.story-lesson button.story-numeral.counting-button{min-width:56px;min-height:50px;padding:4px 8px;font-size:clamp(28px,5vh,38px)}.story-numeral .sketch-image{width:22px;height:22px}.story-lesson .story-choices button.counting-button{min-height:56px;font-size:clamp(24px,4.4vh,34px)}.story-actions{min-height:54px}}.chain-lesson{--chain-object: clamp(25px, 3.8vw, 40px)}.chain-stage{width:min(1120px,100%);margin:auto;text-align:center;gap:clamp(7px,1.5vh,16px)}.chain-workspace{display:flex;flex-direction:column;align-items:center;gap:clamp(12px,2vh,24px);width:100%}.chain-material{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;justify-content:center;gap:clamp(4px,1.2vw,18px);width:min(980px,100%)}.chain-stop{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;min-height:clamp(172px,30vh,240px);padding:10px 6px;border:3px solid #111;border-radius:18px;background:#fff;box-sizing:border-box}.chain-stop.is-unknown{border-style:dashed;border-color:#888}.chain-stop-label{font-size:clamp(19px,2.6vh,27px);font-weight:700}.chain-stop-value{display:flex;align-items:center;justify-content:center;min-height:62px;font-size:clamp(43px,7.2vh,66px);line-height:1;font-weight:800}.chain-unknown{color:#777}.chain-object-grid{display:grid;grid-template-columns:repeat(5,var(--chain-object));grid-auto-rows:var(--chain-object);justify-content:center;gap:3px;min-height:calc(var(--chain-object) * 2 + 3px)}.chain-object.sketch-image{width:var(--chain-object);height:var(--chain-object);object-fit:contain}.chain-step{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:clamp(50px,7vw,82px);color:#111;font-weight:800}.chain-step-operation{font-size:clamp(35px,5.4vh,52px);white-space:nowrap}.chain-step-arrow{font-size:clamp(38px,6vh,58px);line-height:.8}.chain-lesson button.chain-numeral.counting-button{display:inline-flex;align-items:center;gap:5px;min-height:60px;padding:4px 7px;border-width:3px;font-size:clamp(43px,7.2vh,66px)}.chain-numeral .sketch-image{width:27px;height:27px;flex-shrink:0}.chain-lesson .chain-choices.counting-choices{width:min(620px,100%);margin:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.chain-lesson .chain-choices button.counting-button{min-height:88px;font-size:clamp(42px,7vh,64px)}.chain-lesson .chain-choices button.counting-button.is-wrong{background:#ddd;border-color:#888;color:#777;opacity:.7}.chain-status{min-height:24px;margin:4px 0}.chain-actions{margin-top:0}@media (max-width: 700px){.chain-lesson{--chain-object: clamp(20px, 4vw, 28px)}.chain-material{gap:4px}.chain-stop{min-height:160px;padding:8px 2px;border-radius:12px}.chain-step{min-width:38px}.chain-step-operation{font-size:30px}.chain-step-arrow{font-size:32px}.chain-stop-value{font-size:44px}.chain-lesson button.chain-numeral.counting-button{font-size:42px}.chain-lesson .chain-choices.counting-choices{gap:9px}}@media (max-width: 520px){.chain-lesson{--chain-object: clamp(17px, 3.7vw, 22px)}.chain-stop-label{font-size:16px}.chain-stop{min-height:145px}.chain-stop-value{min-height:48px;font-size:36px}.chain-step{min-width:31px}.chain-step-operation{font-size:26px}.chain-step-arrow{font-size:27px}.chain-lesson button.chain-numeral.counting-button{min-height:48px;font-size:31px}.chain-numeral .sketch-image{width:19px;height:19px}.chain-lesson .chain-choices button.counting-button{min-height:67px;font-size:40px}}@media (min-width: 701px) and (max-height: 650px){.chain-lesson{--chain-object: clamp(26px, 5vh, 33px)}.chain-stage{gap:5px;padding-top:0}.chain-workspace{gap:8px}.chain-stop{min-height:165px;padding:5px;gap:4px}.chain-lesson .chain-choices button.counting-button{min-height:68px}}.create-sequence-workspace{width:min(1050px,100%);margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:clamp(14px,2.4vh,22px)}.create-sequence-lesson .sequence-start{align-self:flex-start;margin:0 auto 0 0;padding:4px 12px;border:2px solid #111;border-radius:999px;background:#fff;font-size:1.05rem;font-weight:800;line-height:1.2}.sequence-construction{display:flex;align-items:center;justify-content:center;gap:18px;width:100%}.sequence-part{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 12px;border:3px solid #111;border-radius:16px;background:#fff;box-sizing:border-box}.sequence-part.is-unit{border-width:4px;background:#f4f4f4}.sequence-part-label{font-size:clamp(1rem,2vw,1.25rem);font-weight:800;line-height:1.15;white-space:nowrap}.sequence-part-tiles{display:flex;justify-content:center;gap:8px}.create-sequence-lesson .create-sequence-item,.create-sequence-lesson button.create-sequence-item{display:grid;place-items:center;width:clamp(52px,7.4vw,76px);height:clamp(52px,7.4vw,76px);padding:4px;border:2px solid #111;background:#fff;border-radius:8px;font-size:2.25rem;font-weight:900;line-height:1;box-sizing:border-box}.create-sequence-lesson button.create-sequence-item:focus-visible,.create-sequence-lesson button.sequence-unit-choice:focus-visible{outline:4px solid #111;outline-offset:2px}.create-sequence-item.is-empty{border:3px dashed #888;background:#fafafa;color:#555}.create-sequence-item.is-current{border:3px solid #111;outline:4px solid #111;outline-offset:2px;background:#eee;color:#111}.create-sequence-item.is-wrong{background:#eee;border-color:#999;color:#777;opacity:.45}.create-sequence-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.sequence-unit-choices{display:flex;align-items:center;justify-content:center;gap:18px;width:100%}.create-sequence-lesson button.sequence-unit-choice.counting-button{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 18px;min-height:118px;border:3px solid #111;border-radius:16px;background:#fff}.sequence-unit-image{width:66px;height:80px;object-fit:contain}.create-sequence-lesson .staged-number-choices{width:min(720px,100%)}.create-sequence-lesson .staged-number-choices button.counting-button{display:grid;place-items:center;min-height:104px;padding:10px;border:3px solid #111;border-radius:16px}.create-sequence-choice-image{display:block;width:88px;height:88px;max-width:100%;object-fit:contain}@media (max-width: 760px){.sequence-construction{gap:8px;flex-wrap:wrap}.sequence-part{padding:8px;gap:6px}.sequence-part-tiles{gap:4px}.sequence-unit-choices{gap:10px;flex-wrap:wrap}.sequence-unit-image{width:54px;height:62px}.sequence-part-label{font-size:1rem}.create-sequence-lesson .create-sequence-item,.create-sequence-lesson button.create-sequence-item{width:54px;height:54px;font-size:1.75rem}}@media (max-height: 650px){.create-sequence-workspace{gap:12px}.create-sequence-lesson .create-sequence-item,.create-sequence-lesson button.create-sequence-item{width:60px;height:60px;font-size:1.85rem}.create-sequence-lesson .staged-number-choices button.counting-button{min-height:84px}.create-sequence-choice-image{width:64px;height:64px}}@media (max-height: 600px){.create-sequence-workspace{gap:8px}.sequence-part{padding:6px 8px;gap:4px}.create-sequence-lesson .create-sequence-item,.create-sequence-lesson button.create-sequence-item{width:50px;height:50px;font-size:1.5rem}.create-sequence-lesson button.sequence-unit-choice.counting-button{min-height:92px;padding:10px 14px}.create-sequence-lesson .staged-number-choices button.counting-button{min-height:68px}.create-sequence-choice-image{width:52px;height:52px}}.sequence-position-workspace{display:flex;flex-direction:column;align-items:center;gap:clamp(14px,2.4vh,22px);width:100%;margin:0 auto}.sequence-position-target{display:inline-flex;align-items:center;justify-content:center;padding:6px 20px;border:3px solid #111;border-radius:14px;background:#fff;font-size:clamp(1.25rem,2.8vw,1.75rem);font-weight:800;min-height:48px}.sequence-position-target strong{font-size:clamp(2rem,4.5vh,2.8rem);font-weight:900;line-height:1}.sequence-position-track{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:fit-content;max-width:100%;margin:0 auto}.sequence-position-lesson .sequence-start{margin:0;padding:4px 12px;border:2px solid #111;border-radius:999px;background:#fff;font-size:1rem;font-weight:800;line-height:1.2}.sequence-position-row{display:grid;grid-template-columns:repeat(var(--sequence-length),minmax(0,68px));justify-content:center;gap:8px;width:auto;max-width:100%}.sequence-position-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);width:100%;aspect-ratio:1;min-width:0;min-height:0;overflow:hidden;border:2px solid #aaa;border-radius:12px;background:#fff;padding:4px;color:#111;box-sizing:border-box}.sequence-position-item.is-empty{border:2px dashed #bdbdbd;background:#fafafa}.sequence-position-item.is-choice{border:3px dashed #111;cursor:pointer}.sequence-position-lesson button.sequence-position-item:focus-visible{outline:4px solid #111;outline-offset:2px}.sequence-position-item.is-current{border:4px solid #111;background:#f2f2f2}.sequence-position-item.is-marked{border:4px solid #111;outline:3px solid #111;outline-offset:2px;background:#efefef}.sequence-position-lesson button.sequence-position-item.is-marked:disabled{opacity:1;cursor:default}.sequence-position-image.sketch-image{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.sequence-model-label{position:absolute;bottom:0;right:0;background:#fff;border-top:2px solid #111;border-left:2px solid #111;border-top-left-radius:6px;padding:1px 4px;font-size:.95rem;font-weight:900;line-height:1.15}.sequence-position-item.is-wrong{opacity:.45;background:#eee;border-color:#999}.sequence-position-workspace .counting-choices{width:min(640px,100%);margin:0 auto}.sequence-position-workspace .counting-choices button{min-height:84px;font-size:clamp(2rem,4.5vw,2.8rem);font-weight:900}.sequence-position-lesson button.sequence-position-ordinal.counting-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;font-size:clamp(1.5rem,3vw,2.1rem);font-weight:900;min-height:70px;padding:10px 22px;border:3px solid #111;border-radius:16px;background:#fff}.sequence-position-ordinal .sketch-image{width:28px;height:28px;flex-shrink:0}@media (max-width: 700px){.sequence-position-track{width:100%}.sequence-position-row{width:100%;gap:3px;grid-template-columns:repeat(var(--sequence-length),minmax(0,1fr))}.sequence-position-workspace{gap:12px}.sequence-position-item{padding:1px}}@media (max-height: 600px){.sequence-position-workspace{gap:8px}.sequence-position-target{padding:4px 14px;min-height:40px}.sequence-position-target strong{font-size:1.75rem}.sequence-position-lesson button.sequence-position-ordinal.counting-button{min-height:54px;padding:6px 16px;font-size:1.3rem}.sequence-position-workspace .counting-choices button{min-height:60px;font-size:1.85rem}}.route-workspace{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;margin:0 auto}.route-compass{display:flex;flex-direction:column;align-items:center;padding:6px 16px;border:2px solid #111;border-radius:14px;background:#fff;font-size:1rem;font-weight:800;line-height:1.25;gap:2px}.route-board{display:flex;align-items:center;justify-content:center;gap:36px;width:100%}.route-grid{display:grid;grid-template-columns:repeat(3,88px);gap:6px;padding:10px;border:3px solid #111;border-radius:16px;background:#fafafa}.route-cell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);width:88px;height:88px;min-width:0;min-height:0;overflow:hidden;align-items:center;justify-items:center;border:2px solid #aaa;border-radius:12px;background:#fff;padding:4px;box-sizing:border-box;color:#111}.itinerary-lesson .route-cell,.itinerary-lesson button.route-cell{font-size:2.35rem;font-weight:900;line-height:1}.itinerary-lesson button.route-cell:focus-visible,.itinerary-lesson button.route-arrow:focus-visible{outline:4px solid #111;outline-offset:2px}.itinerary-lesson button.route-cell:disabled:not(.is-wrong){opacity:1;cursor:default}.route-cell.is-choice{border:3px dashed #111;cursor:pointer}.route-cell.is-trail{border-color:#111}.route-cell.is-current,.route-cell.is-target{border:3px solid #111;background:#efefef}.route-cell.is-wrong{background:#eee;border-color:#999;color:#777;opacity:.45}.route-car.sketch-image{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.route-flag{font-size:58px}.route-editor{display:flex;flex-direction:column;align-items:center;gap:20px}.route-code{display:flex;justify-content:center;gap:8px;min-height:70px;padding:10px 12px;border:2px dashed #999;border-radius:14px;background:#fff}.route-code.is-wrong{background:#eee;border-style:solid;border-color:#888;opacity:.7}.route-arrow{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border:3px solid #111;border-radius:12px;background:#fff;font-size:42px;color:#111}.route-arrow.is-empty{border:3px dashed #888;background:#fafafa;color:#777}.route-arrow.is-filled{border:3px solid #111;background:#fff;color:#111;font-weight:900}.route-arrow.is-active{outline:4px solid #111;outline-offset:2px;background:#eee}.itinerary-lesson button.route-arrow{font-size:42px;padding:0;line-height:1}.route-palette{display:grid;grid-template-columns:repeat(4,64px);gap:8px}.route-palette button.counting-button{min-height:64px;min-width:0;font-size:2.2rem;font-weight:900;line-height:1;padding:4px}.route-actions{display:flex;gap:12px}@media (max-width: 650px){.route-board{flex-direction:column;gap:16px}.route-editor{gap:14px}.route-grid{grid-template-columns:repeat(3,72px);padding:8px}.route-cell{width:72px;height:72px}.route-arrow{width:52px;height:52px}.route-palette{grid-template-columns:repeat(4,56px)}}@media (min-width: 651px) and (max-height: 650px){.route-grid{grid-template-columns:repeat(3,72px);padding:8px}.route-cell{width:72px;height:72px}.route-workspace{gap:6px}.route-editor{gap:12px}}@media (max-height: 600px){.route-workspace{gap:6px}.route-compass{padding:4px 12px;font-size:.9rem}.route-grid{grid-template-columns:repeat(3,64px);padding:6px;gap:4px}.route-cell{width:64px;height:64px}.itinerary-lesson .route-cell,.itinerary-lesson button.route-cell{font-size:1.75rem}.route-code{padding:6px 8px;min-height:56px}.route-arrow,.itinerary-lesson button.route-arrow{width:48px;height:48px;font-size:1.9rem}.route-palette button.counting-button{min-height:52px;font-size:1.75rem}}.calendar-lesson{--calendar-cell-height: clamp(68px, 11vh, 94px)}.calendar-stage{width:min(1130px,100%);margin:auto;text-align:center;gap:clamp(6px,1.2vh,12px)}.calendar-lesson .foundation-prompt-row h2{font-size:clamp(22px,2.7vw,31px)}.calendar-workspace{display:flex;flex-direction:column;align-items:center;gap:clamp(8px,1.4vh,15px);width:100%}.calendar-material{display:flex;flex-direction:column;align-items:center;gap:clamp(8px,1.5vh,16px);width:100%}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;width:min(810px,100%)}.calendar-weekday{display:flex;align-items:center;justify-content:center;min-height:32px;font-size:clamp(20px,2.8vh,27px);font-weight:700}.calendar-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:var(--calendar-cell-height);border:2px solid #111;border-radius:12px;background:#fff;box-sizing:border-box}.calendar-day.is-today{border-width:5px;background:#eee}.calendar-day.is-target{border-width:5px;border-style:dashed}.calendar-date{font-size:clamp(35px,5.5vh,51px);line-height:1;font-weight:800}.calendar-badge{position:absolute;bottom:4px;font-size:clamp(15px,2vh,18px);font-weight:700;white-space:nowrap}.calendar-move{display:flex;align-items:center;justify-content:center;gap:18px;font-size:clamp(28px,4vh,38px);font-weight:800}.calendar-move span{display:inline-flex;align-items:center;justify-content:center;min-width:53px;min-height:50px;border:2px solid #111;border-radius:11px;background:#fff}.calendar-move strong{min-width:150px}.calendar-result{display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px;padding:5px 17px;border:3px solid #111;border-radius:12px;background:#fff;font-size:clamp(27px,4vh,38px);font-weight:800}.calendar-lesson button.calendar-result.counting-button{min-height:54px;font-size:clamp(27px,4vh,38px)}.calendar-result .sketch-image{width:28px;height:28px}.calendar-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.5vw,18px);width:min(960px,100%);margin:auto}.calendar-choice-wrap{display:grid;grid-template-columns:minmax(0,1fr) 47px;gap:4px;min-width:0}.calendar-lesson .calendar-choice.counting-button{min-width:0;min-height:85px;padding:8px;font-size:clamp(21px,2.6vw,31px);white-space:nowrap}.calendar-choice-hear{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:85px;padding:7px;border:2px solid #111;border-radius:12px;background:#fff;cursor:pointer}.calendar-choice-hear .sketch-image{width:30px;height:30px}.calendar-choice-wrap.is-wrong .calendar-choice-hear{border-color:#888;background:#ddd;opacity:.65}.calendar-choice-hear:disabled{cursor:default;opacity:.4}.calendar-lesson .calendar-choice.counting-button.is-wrong{color:#777;background:#ddd;border-color:#888;opacity:.65}.calendar-lesson .calendar-choice.counting-button.is-correct{color:#111;background:#fff;border:5px solid #111;opacity:1}.calendar-status{min-height:22px;margin:3px 0}.calendar-actions{margin-top:0}@media (max-width: 700px){.calendar-lesson{--calendar-cell-height: clamp(56px, 9vh, 74px)}.calendar-grid{gap:3px}.calendar-weekday{min-height:26px;font-size:clamp(16px,3vw,21px)}.calendar-date{font-size:clamp(27px,6vw,39px)}.calendar-badge{font-size:12px}.calendar-choices{gap:7px}.calendar-choice-wrap{grid-template-columns:minmax(0,1fr) 37px;gap:2px}.calendar-lesson .calendar-choice.counting-button{min-height:64px;padding:3px;font-size:clamp(15px,2.8vw,21px)}.calendar-choice-hear{min-width:35px;min-height:64px;padding:2px}.calendar-choice-hear .sketch-image{width:24px;height:24px}}@media (max-width: 520px){.calendar-choices{grid-template-columns:1fr;width:min(350px,100%);gap:5px}.calendar-lesson .calendar-choice.counting-button,.calendar-choice-hear{min-height:51px}.calendar-lesson .calendar-choice.counting-button{font-size:22px}.calendar-move{gap:8px;font-size:23px}.calendar-move strong{min-width:116px}}@media (min-width: 701px) and (max-height: 650px){.calendar-lesson{--calendar-cell-height: clamp(54px, 9vh, 67px)}.calendar-stage{gap:3px;padding-top:0}.calendar-workspace,.calendar-material{gap:5px}.calendar-weekday{min-height:24px}.calendar-date{font-size:34px}.calendar-badge{font-size:12px}.calendar-lesson .calendar-choice.counting-button,.calendar-choice-hear{min-height:62px}}.solids-workspace{display:flex;align-items:center;justify-content:center;width:100%;margin:0 auto}.solids-model,.solids-choices{display:flex;align-items:stretch;justify-content:center;gap:20px;width:min(940px,100%);margin:0 auto}.solids-model-card,.solids-lesson .solids-choice.counting-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;width:min(29vw,270px);min-height:270px;border:3px solid #111;border-radius:17px;background:#fff;color:#111;padding:12px;min-width:0}.solids-model-card.is-hidden{border:3px dashed #bbb;background:#fafafa}.solids-model-card.is-current{border-width:5px;outline:3px solid #111;outline-offset:3px;background:#f2f2f2}.solids-model-card strong{font-size:clamp(22px,2.4vw,28px);overflow-wrap:anywhere;text-align:center}.solids-model-card>span{font-size:20px;text-align:center;font-weight:700}.solids-variant{display:flex;align-items:center;justify-content:center;width:100%;height:160px}.solids-svg{width:160px;height:160px;max-width:100%;flex-shrink:0}.solids-variant.is-tilt .solids-svg{transform:rotate(-12deg)}.solids-variant.is-small .solids-svg{width:125px;height:125px}.solids-lesson .solids-choice.counting-button{cursor:pointer}.solids-lesson button.solids-choice.counting-button:focus-visible{outline:4px solid #111;outline-offset:3px}.solids-lesson button.solids-choice.counting-button.is-wrong{color:#777;background:#eee;border-color:#bbb;opacity:.5;cursor:default}.solids-lesson button.solids-choice.counting-button.is-correct{background:#111;color:#fff;border:5px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}@media (max-width: 700px),(max-height: 620px){.solids-model,.solids-choices{gap:8px}.solids-model-card,.solids-lesson .solids-choice.counting-button{min-height:190px;padding:8px;gap:6px}.solids-variant{height:110px}.solids-svg{width:104px;height:104px}.solids-model-card strong{font-size:19px}.solids-model-card>span{font-size:15px}}.shapes-stage{width:min(1150px,100%);margin:0 auto;text-align:center;gap:clamp(10px,1.8vh,18px)}.shapes-lesson .foundation-prompt-row{justify-content:center}.shapes-lesson .foundation-prompt-row h2{margin:0;font-size:clamp(1.3rem,2.8vw,2rem);text-wrap:balance}.shapes-workspace{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;width:min(940px,100%);margin:0 auto}.shapes-model,.shapes-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;justify-items:center;gap:clamp(10px,2vw,24px);width:100%;margin:0 auto}.shapes-model-card,.shapes-lesson .shapes-choice.counting-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;width:100%;min-width:0;min-height:clamp(200px,34vh,300px);border:3px solid #111;border-radius:17px;background:#fff;color:#111;padding:12px 10px}.shapes-model-card.is-hidden{border:3px dashed #bbb;background:#fafafa}.shapes-model-card.is-current{border-width:5px;background:#f4f4f4}.shapes-model-card strong{font-size:clamp(22px,3.4vh,34px);font-weight:800;line-height:1.15}.shapes-model-card>span{font-size:clamp(15px,2.2vh,21px);font-weight:700;line-height:1.2}.shapes-variant{display:grid;place-items:center;flex:0 0 auto;width:clamp(110px,18vh,170px);height:clamp(110px,18vh,170px);max-width:100%}.shapes-svg{display:block;width:100%;height:100%;overflow:visible}.shapes-variant.is-rotate .shapes-svg{transform:rotate(45deg) scale(.88)}.shapes-variant.is-small .shapes-svg{transform:scale(.7)}.shapes-variant.is-tall .shapes-svg{transform:rotate(90deg) scale(.86)}.shapes-variant.is-wide .shapes-svg{transform:scale(1.08,.74)}.shapes-lesson .shapes-choice.counting-button{cursor:pointer}.shapes-lesson .shapes-choice.counting-button.is-wrong{color:#777;background:#eee;border-color:#999;opacity:.55;cursor:default}.shapes-lesson .shapes-choice.counting-button.is-correct{background:#111;color:#fff;border-color:#111;border-width:5px;opacity:1}.shapes-status{min-height:23px;margin:0}.shapes-status:empty{display:none}.shapes-actions{margin-top:0}@media (max-height: 600px){.shapes-stage{gap:6px;padding-block:6px}.shapes-model-card,.shapes-lesson .shapes-choice.counting-button{min-height:clamp(148px,32vh,200px);padding:8px 6px;gap:4px}.shapes-variant{width:clamp(84px,16vh,120px);height:clamp(84px,16vh,120px)}.shapes-model-card strong{font-size:clamp(18px,3.6vh,24px)}.shapes-model-card>span{font-size:clamp(13px,2.4vh,16px)}}@media (max-width: 700px){.shapes-stage{gap:8px;padding-inline:12px}.shapes-model,.shapes-choices{gap:8px}.shapes-model-card,.shapes-lesson .shapes-choice.counting-button{min-height:clamp(140px,26vh,210px);padding:8px 5px}.shapes-variant{width:min(22vw,18vh,110px);height:min(22vw,18vh,110px)}.shapes-model-card strong{font-size:clamp(17px,4vw,23px)}.shapes-model-card>span{font-size:clamp(12px,3vw,16px)}}.congruence-lesson .staged-number-stage{width:min(1130px,100%);margin:0 auto;text-align:center;gap:clamp(5px,1vh,11px)}.congruence-lesson .foundation-prompt-row h2{font-size:clamp(22px,2.7vw,31px)}.congruence-workspace{display:flex;align-items:center;justify-content:center;width:100%;margin:0 auto}.congruence-board{--figure-base: clamp(92px, 17vh, 126px);display:flex;flex-direction:column;align-items:center;gap:clamp(7px,1.4vh,14px);width:min(920px,100%)}.congruence-target{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px 14px;box-sizing:border-box;width:clamp(180px,24vw,240px);min-height:clamp(150px,23vh,195px);border:3px dashed #111;border-radius:17px;background:#fff}.congruence-target strong{font-size:clamp(23px,3.6vh,32px)}.congruence-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.8vw,24px);width:100%}.congruence-choice,.congruence-lesson .congruence-choice.counting-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-sizing:border-box;width:100%;min-height:clamp(175px,30vh,245px);padding:8px;border:3px solid #111;border-radius:17px;background:#fff;color:#111}.congruence-choice.is-hidden{border:3px dashed #bbb;background:#fafafa}.congruence-lesson button.congruence-choice.counting-button{cursor:pointer}.congruence-lesson button.congruence-choice.counting-button:focus-visible{outline:4px solid #111;outline-offset:3px}.congruence-lesson .congruence-choice.counting-button.is-wrong{color:#777;background:#eee;border-color:#bbb;opacity:.5;cursor:default}.congruence-choice.is-correct,.congruence-lesson button.congruence-choice.counting-button.is-correct{background:#111;color:#fff;border:5px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}.congruence-figure,.congruence-figure-placeholder{display:inline-flex;align-items:center;justify-content:center;width:var(--figure-base);height:var(--figure-base);flex:0 0 auto}.congruence-figure{transform:rotate(var(--figure-rotate, 0deg)) scale(var(--figure-scale, 1));transform-origin:center}.congruence-figure-placeholder{border:2px dashed #ccc;border-radius:12px}.congruence-svg{display:block;width:100%;height:100%}.congruence-option-label{font-size:clamp(20px,3.2vh,28px);font-weight:800}@media (max-height: 650px){.congruence-lesson .staged-number-stage{gap:4px;padding-top:0}.congruence-board{--figure-base: clamp(70px, 14vh, 95px);gap:6px}.congruence-target{min-height:112px;padding:6px 10px}.congruence-choice,.congruence-lesson .congruence-choice.counting-button{min-height:135px}}@media (max-height: 600px){.congruence-board{--figure-base: 64px;gap:4px}.congruence-target{min-height:98px}.congruence-choice,.congruence-lesson .congruence-choice.counting-button{min-height:118px;padding:6px}}@media (max-width: 520px){.congruence-board{--figure-base: min(20vw, 82px)}.congruence-choices{gap:5px}.congruence-target{width:155px;min-height:130px}.congruence-choice,.congruence-lesson .congruence-choice.counting-button{min-height:140px;padding:3px}.congruence-option-label{font-size:19px}}.composition-workspace{width:min(940px,100%);margin:0 auto}.composition-builder{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;justify-items:center}.composition-canvas{position:relative;width:min(34vw,300px);aspect-ratio:1}.composition-canvas.is-horizontal{aspect-ratio:2;width:min(40vw,380px)}.composition-canvas.is-vertical{aspect-ratio:.5;width:min(20vw,170px)}.composition-canvas svg{display:block;width:100%;height:100%}.composition-outline{fill:none;stroke:#111;stroke-width:.04;stroke-dasharray:.09 .05;pointer-events:none}.composition-guide{fill:none;stroke:#999;stroke-width:.02;stroke-dasharray:.04 .04}.composition-piece{fill:#ddd;stroke:#111;stroke-width:.025;stroke-linejoin:round}.composition-piece.is-b{fill:#999}.composition-drop-zones{position:absolute;top:3.7%;right:3.7%;bottom:3.7%;left:3.7%;display:grid;grid-template-columns:1fr}.is-horizontal .composition-drop-zones{grid-template-columns:1fr 1fr}.composition-drop{border:0;background:transparent;min-width:64px;min-height:64px;cursor:pointer}.composition-drop.has-selection{outline:3px dashed #111;outline-offset:-6px;background:#0000000a}.composition-drop:disabled{cursor:default}.composition-drop:focus-visible{outline:4px solid #111}.composition-toolbox{display:grid;justify-items:center;gap:12px;width:100%}.composition-palette{display:flex;justify-content:center;gap:12px;width:100%}.composition-lesson .composition-pick.counting-button{display:grid;justify-items:center;width:min(11vw,112px);min-height:132px;padding:8px;border:3px solid #111;border-radius:16px;background:#fff;font-size:22px;font-weight:800}.composition-piece-preview{width:85px;height:85px;display:block;overflow:visible}.composition-pick.is-selected{border:4px solid #111;outline:3px solid #111;outline-offset:2px;background:#efefef}.composition-pick.is-wrong{opacity:.45;background:#eee;border-color:#bbb;color:#777}.composition-lesson .composition-pick:focus-visible,.composition-rotate:focus-visible,.composition-placed button:focus-visible,.composition-lesson button[data-composition-finish]:focus-visible{outline:4px solid #111;outline-offset:2px}.composition-placed{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;min-height:64px}.composition-builder.is-model .composition-placed:empty{display:none}.composition-feedback{min-height:2.5em;margin:0;font-size:18px;font-weight:700;text-align:center}.composition-feedback:empty{display:none}.composition-lesson .staged-number-stage{gap:10px}.composition-lesson .composition-builder.is-model .counting-button:disabled{opacity:1;color:#111;border-color:#111;background:#fff}@media (max-width: 650px){.composition-builder{gap:12px;grid-template-columns:1fr}.composition-canvas{width:180px}.composition-canvas.is-horizontal{width:250px}.composition-canvas.is-vertical{width:110px}.composition-lesson .composition-pick.counting-button{width:100px;min-height:100px}.composition-piece-preview{width:65px;height:65px}.composition-toolbox{gap:8px}}@media (max-height: 650px){.composition-canvas{width:min(28vw,240px)}.composition-canvas.is-horizontal{width:min(36vw,320px)}.composition-canvas.is-vertical{width:min(16vw,136px)}.composition-lesson .composition-pick.counting-button{min-height:112px}.composition-piece-preview{width:70px;height:70px}}@media (max-height: 600px){.composition-lesson .staged-number-stage{gap:6px}.composition-builder{gap:14px}.composition-toolbox{gap:6px}.composition-placed{min-height:50px}.composition-lesson .composition-pick.counting-button{min-height:94px;padding:6px;font-size:18px}.composition-piece-preview{width:56px;height:56px}}.time-lesson .time-stage{width:min(1130px,100%);margin:0 auto;text-align:center;gap:clamp(8px,1.5vh,16px)}.time-lesson .foundation-prompt-row{justify-content:center}.time-lesson .foundation-prompt-row h2{margin:0;font-size:clamp(1.25rem,2.7vw,1.95rem)}.time-workspace{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(10px,1.8vh,20px);width:100%;margin:0 auto}.time-timeline{display:flex;align-items:center;justify-content:center;gap:clamp(6px,1.2vw,16px);width:min(960px,100%);margin:0 auto}.time-event{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(4px,.7vh,8px);box-sizing:border-box;width:clamp(150px,21vw,250px);min-height:clamp(195px,29vh,260px);padding:clamp(6px,1vh,10px);border:3px solid #111;border-radius:16px;background:#fff;color:#111}.time-event.is-hidden{border:3px dashed #bbb;background:#fafafa}.time-event-pictures{display:flex;align-items:center;justify-content:center;width:100%;min-height:0}.time-event-pictures>.time-event-icon{display:block;width:100%;height:clamp(130px,22vh,190px);object-fit:contain;margin:0}.time-event strong{font-size:clamp(17px,2.5vh,24px);line-height:1.15}.time-arrow{flex:0 0 auto;font-size:clamp(28px,5vh,46px);font-weight:800;line-height:1}.time-question-mark{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:clamp(150px,21vw,250px);min-height:clamp(195px,29vh,260px);border:3px dashed #111;border-radius:16px;background:#fff;color:#111;font-size:clamp(56px,10vh,92px);font-weight:800}.time-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,2vw,24px);width:min(910px,100%);margin:0 auto}.time-lesson button.time-choice.counting-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(4px,.8vh,8px);box-sizing:border-box;min-width:0;min-height:clamp(140px,24vh,200px);padding:clamp(6px,1vh,10px);border:3px solid #111;border-radius:16px;background:#fff;color:#111}.time-event-pictures>.time-choice-icon{display:block;width:100%;height:clamp(115px,19vh,165px);object-fit:contain;margin:0}.time-lesson button.time-choice.counting-button>span:not(.time-event-pictures){font-size:clamp(17px,2.7vh,25px);font-weight:800;line-height:1.15}.time-lesson button.time-choice.counting-button.is-wrong{color:#777;background:#ddd;border-color:#888;opacity:.55}.time-lesson button.time-choice.counting-button.is-correct{background:#eee;color:#111;border-width:5px;outline:3px solid #111;outline-offset:2px;opacity:1}.time-status{min-height:1.4em;margin:0}.time-status:empty{display:none}.time-actions{min-height:64px}@media (max-width: 700px){.time-timeline{gap:4px}.time-event,.time-question-mark{width:calc((100% - 56px) / 3);min-width:0;min-height:clamp(140px,24vh,210px);padding:4px}.time-event strong{font-size:clamp(14px,3vw,19px)}.time-arrow{font-size:24px}.time-choices{gap:6px}.time-lesson button.time-choice.counting-button{min-height:clamp(110px,20vh,165px);padding:4px}.time-event-pictures>.time-event-icon,.time-event-pictures>.time-choice-icon{height:clamp(82px,22vw,140px)}.time-lesson button.time-choice.counting-button>span:not(.time-event-pictures){font-size:clamp(14px,3vw,19px)}}@media (max-height: 600px){.time-lesson .time-stage{gap:6px;padding-block:6px 8px}.time-lesson .foundation-prompt-row{min-height:48px}.time-lesson .foundation-prompt-row h2{font-size:clamp(1.1rem,2.4vw,1.55rem)}.time-workspace{gap:8px}.time-event,.time-question-mark{min-height:146px;padding:5px}.time-event-pictures>.time-event-icon{height:102px}.time-event strong{font-size:16px}.time-lesson button.time-choice.counting-button{min-height:122px;padding:5px}.time-event-pictures>.time-choice-icon{height:88px}.time-lesson button.time-choice.counting-button>span:not(.time-event-pictures){font-size:16px}.time-actions{min-height:54px}}.dot-plot-workspace{display:grid;justify-items:center;gap:12px;width:min(900px,100%);margin:0 auto}.dot-plot-chart{margin:0;display:grid;justify-items:center;gap:6px;width:min(700px,100%);border:3px solid #111;border-radius:16px;background:#fff;padding:12px 18px 10px;box-sizing:border-box}.dot-plot-chart figcaption{font-weight:800;font-size:23px}.dot-plot-legend{display:flex;gap:10px;align-items:center;padding:3px 12px;border:2px dashed #999;border-radius:999px;background:#fafafa;font-size:1rem;font-weight:700}.dot-plot-grid{display:grid;grid-template-columns:40px repeat(3,minmax(0,1fr));width:100%}.dot-plot-axis{display:grid;grid-template-rows:repeat(10,23px);font-size:16px;font-weight:700;text-align:right;padding-right:10px;border-right:2px solid #111;position:relative}.dot-plot-axis span{display:grid;place-content:center}.dot-plot-axis .dot-plot-axis-zero{position:absolute;top:221px;left:0;right:10px;font-weight:800}.dot-plot-chart-column{display:grid;justify-items:center;align-content:start}.dot-plot-chart-stack{display:grid;grid-template-rows:repeat(10,23px);width:100%;border-bottom:3px solid #111;box-sizing:border-box}.dot-plot-chart-cell{display:grid;place-items:center;width:100%;border-bottom:1px solid #eee;box-sizing:border-box}.dot-plot-chart-dot{display:block;width:19px;height:19px;border:2px solid #111;border-radius:50%;background:#111;box-sizing:border-box}.dot-plot-chart-cell.is-paired .dot-plot-chart-dot{background:#fff}.dot-plot-chart-cell.is-extra .dot-plot-chart-dot{outline:2px dashed #111;outline-offset:2px}.dot-plot-picture{width:23px;height:23px;object-fit:contain}.dot-plot-chart-key{display:grid;justify-items:center;padding:4px 0}.dot-plot-chart-icon{width:48px;height:48px;object-fit:contain}.dot-plot-chart-key strong{font-size:20px}.dot-plot-chart-column.is-highlighted .dot-plot-chart-key{padding:4px 10px;background:#efefef;outline:3px solid #111;border-radius:10px}.dot-plot-chart-column.is-target .dot-plot-chart-key strong{text-decoration:underline}.dot-plot-choice-icon{width:65px;height:65px;object-fit:contain}.dot-plot-lesson .counting-choices.staged-number-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dot-plot-lesson .staged-number-choices button.counting-button{display:flex;gap:8px;align-items:center;justify-content:center;min-width:0;min-height:90px;padding:8px}.dot-plot-lesson .staged-number-choices button>span{font-size:26px}.dot-plot-lesson .staged-number-choices button.counting-button:has(.dot-plot-choice-icon).is-correct{background:#f2f2f2;color:#111;border:5px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}@media (max-height: 650px){.dot-plot-axis,.dot-plot-chart-stack{grid-template-rows:repeat(10,19px)}.dot-plot-axis .dot-plot-axis-zero{top:181px}.dot-plot-chart-dot{width:16px;height:16px}.dot-plot-picture{width:19px;height:19px}}@media (max-height: 600px){.dot-plot-workspace{gap:8px}.dot-plot-chart{padding:8px 12px;gap:4px}.dot-plot-axis,.dot-plot-chart-stack{grid-template-rows:repeat(10,17px)}.dot-plot-axis .dot-plot-axis-zero{top:161px}.dot-plot-chart-dot{width:14px;height:14px}.dot-plot-picture{width:17px;height:17px}.dot-plot-chart-icon{width:38px;height:38px}.dot-plot-lesson .staged-number-choices button.counting-button{min-height:72px}.dot-plot-choice-icon{width:50px;height:50px}}@media (max-width: 650px){.dot-plot-chart{padding:8px 10px}.dot-plot-choice-icon{width:43px;height:43px}.dot-plot-chart-key strong{font-size:16px}}.mini-inquiry-workspace{display:grid;justify-items:center;gap:10px;width:min(960px,100%);margin:0 auto}.mini-inquiry-workspace>h3{margin:0;padding:4px 16px;border:2px solid #111;border-radius:12px;background:#fff;font-size:clamp(1.1rem,2.2vw,1.35rem);font-weight:800;text-align:center}.mini-inquiry-builder{display:grid;grid-template-columns:1fr 1.15fr;gap:20px;width:100%;align-items:center}.mini-inquiry-respondents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mini-inquiry-lesson .mini-inquiry-respondent.counting-button{display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-items:center;gap:2px;min-width:0;min-height:125px;padding:6px;border:3px solid #111;border-radius:14px;font-size:17px}.mini-inquiry-respondent>span:last-child{grid-column:1 / -1}.mini-inquiry-person-icon{width:43px;height:43px;object-fit:contain}.mini-inquiry-person svg{width:40px;height:44px}.mini-inquiry-response{grid-column:1 / -1;height:42px;font-size:30px}.mini-inquiry-vote-icon{width:42px;height:42px;object-fit:contain}.mini-inquiry-respondent.is-selected{outline:4px solid #111;outline-offset:2px;background:#efefef}.mini-inquiry-respondent.is-recorded{opacity:.55;background:#f5f5f5;border-style:dashed}.mini-inquiry-record{display:grid;gap:8px;width:100%;border:3px solid #111;border-radius:16px;background:#fff;padding:10px 12px;box-sizing:border-box}.mini-inquiry-record h3{margin:0;font-size:20px;text-align:center}.mini-inquiry-legend{font-size:17px;text-align:center}.mini-inquiry-lesson .mini-inquiry-record-row.counting-button{display:flex;gap:10px;min-width:0;align-items:center;width:100%;min-height:80px;padding:8px;font-size:20px}.mini-inquiry-key{display:grid;justify-items:center;width:75px;flex:0 0 75px;height:auto;font-size:15px}.mini-inquiry-key img{width:42px;height:42px;object-fit:contain}.mini-inquiry-record-marks{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.mini-inquiry-mark{width:43px;height:43px;object-fit:contain}.mini-inquiry-record-row.is-wrong{opacity:.45;background:#eee;border-color:#bbb}.mini-inquiry-record-row.is-highlighted{outline:4px solid #111;outline-offset:2px;background:#efefef}.mini-inquiry-choice-icon{width:60px;height:60px;object-fit:contain}.mini-inquiry-lesson .counting-choices.staged-number-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mini-inquiry-lesson .staged-number-choices button.counting-button{display:flex;justify-content:center;align-items:center;gap:6px;min-width:0;padding:8px;min-height:85px}.mini-inquiry-lesson .staged-number-choices button.counting-button.is-correct{background:#f2f2f2;color:#111;border:5px solid #111;outline:3px solid #111;outline-offset:3px;opacity:1}.mini-inquiry-lesson .staged-number-choices button>span{font-size:26px}.mini-inquiry-feedback{min-height:1.3em;margin:0;font-size:18px;font-weight:700;text-align:center}.mini-inquiry-feedback:empty{display:none}.mini-inquiry-optional{width:min(700px,100%);font-size:16px;text-align:center}.mini-inquiry-optional summary{min-height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:underline}.mini-inquiry-optional p{padding:6px 12px}.mini-inquiry-lesson .mini-inquiry-record-row:disabled:not(.is-wrong),.mini-inquiry-lesson:has(.counting-actions) .mini-inquiry-respondent:disabled{color:#111;border-color:#111;background:#fff;opacity:1}.mini-inquiry-lesson:has(.counting-actions) .mini-inquiry-respondent.is-recorded:disabled{background:#f2f2f2;border-style:dashed;opacity:1}@media (max-width: 650px){.mini-inquiry-builder{grid-template-columns:1fr;gap:10px}.mini-inquiry-respondents{grid-template-columns:repeat(3,1fr)}.mini-inquiry-record{max-width:470px}}@media (max-height: 680px){.mini-inquiry-workspace{gap:6px}.mini-inquiry-lesson .mini-inquiry-respondent.counting-button{min-height:102px}.mini-inquiry-lesson .mini-inquiry-record-row.counting-button{min-height:66px}}@media (max-height: 600px){.mini-inquiry-workspace{gap:4px}.mini-inquiry-workspace>h3{font-size:1rem;padding:2px 12px}.mini-inquiry-lesson .mini-inquiry-respondent.counting-button{min-height:86px;font-size:15px}.mini-inquiry-response{height:34px;font-size:24px}.mini-inquiry-vote-icon,.mini-inquiry-mark{width:32px;height:32px}.mini-inquiry-lesson .mini-inquiry-record-row.counting-button{min-height:54px;padding:5px}.mini-inquiry-lesson .staged-number-choices button.counting-button{min-height:68px}.mini-inquiry-choice-icon{width:46px;height:46px}}#app{--ink: #111111;--ink-soft: #555555;--ink-mute: #737373;--line-soft: #bdbdbd;--surface: #ffffff;--tap-primary: 56px;--tap-secondary: 48px;--header-h: 64px;background:var(--color-bg)}#app:is([data-display-mode=eink],[data-display-mode=high-contrast]){--color-good: #111111;--color-okay: #555555;--color-off: #555555;--color-star: #111111;--color-surface: #ffffff}#app:is([data-display-mode=eink],[data-display-mode=high-contrast]) :is(.math-screen,.math-foundations-screen,.dev-screen,.recorder-screen,.audio-studio,.onboarding-overlay),#app:is([data-display-mode=eink],[data-display-mode=high-contrast]) img{filter:grayscale(1)}#app .app-header{height:auto;min-height:var(--header-h);background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:2px solid var(--ink)}#app .btn-back{flex:0 0 auto;width:52px;height:52px;border:2px solid var(--ink);background:var(--surface);color:var(--ink);font-size:1.6rem;font-weight:700}#app .btn-icon-small{flex:0 0 auto;width:var(--tap-secondary);height:var(--tap-secondary);border:2px solid var(--ink);background:var(--surface);color:var(--ink)}#app .btn-icon-small .sketch-icon{width:1.6rem;height:1.6rem;color:inherit}#app .btn-icon-small .sketch-image{width:1.6rem;height:1.6rem}#app :is(.intro-listen,.btn-say.holding,.btn-icon-small.active,.btn-icon-small[aria-pressed=true],.reading-nav .btn-primary,.btn-card-action) .sketch-image{filter:invert(1)}#app .btn-icon-small.active,#app .btn-icon-small[aria-pressed=true]{background:var(--ink);color:var(--surface)}#app .btn-skip{min-height:var(--tap-secondary);padding:0 1rem;border:2px dashed var(--ink-soft);border-radius:999px;color:var(--ink-soft);font-size:.95rem}#app .current-item-display{color:var(--ink)}#app .writing-header-center{position:absolute;left:50%;transform:translate(-50%);display:inline-flex;align-items:center;justify-content:center;gap:.75rem;max-width:calc(100% - 124px)}#app .writing-header-center .current-item-display{position:static;transform:none;max-width:none}#app .writing-scale-pill{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:.25rem .75rem;border-radius:999px;border:1.5px solid var(--ink);background:var(--surface);color:var(--ink);font-family:var(--font-ui);font-size:.85rem;font-weight:700;letter-spacing:.01em;line-height:1.1;white-space:nowrap;cursor:pointer;flex-shrink:0}#app .writing-scale-pill.is-notebook{background:var(--ink);color:var(--surface)}#app .writing-scale-pill:focus-visible{outline:3px dashed var(--ink);outline-offset:3px}#app .writing-scale-pill .scale-pill-short{display:none}@media (max-width: 640px){#app .writing-header-center{gap:.45rem}#app .writing-scale-pill{min-height:30px;padding:.2rem .6rem;font-size:.76rem}#app .writing-scale-pill .scale-pill-full{display:none}#app .writing-scale-pill .scale-pill-short{display:inline}}#app .math-lesson-header{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:.75rem;flex:0 0 auto;flex-wrap:nowrap}#app .math-lesson-header .header-left{display:contents}#app .math-lesson-header .btn-icon-small[aria-pressed=true] .sketch-image{filter:invert(1)!important}#app .math-lesson-header .foundation-heading,#app .math-lesson-header .math-lesson-heading{position:static;transform:none;width:100%;min-width:0;max-width:100%;overflow:hidden;font-family:var(--font-ui);font-size:clamp(1rem,2vw,1.8rem);line-height:1.15;text-align:left;justify-self:stretch}#app .math-lesson-header .foundation-heading h1{line-height:1.2;padding-bottom:1px}#app .math-lesson-header .foundation-phase{display:inline-flex;align-items:center;gap:.35rem}#app .math-lesson-header .foundation-phase .sketch-image{width:1.25rem;height:1.25rem;object-fit:contain;vertical-align:middle}#app .math-lesson-header .foundation-progress{width:auto;min-height:0;flex:0 0 auto;font-size:.95rem}#app .math-lesson-header .math-header-progress{min-width:0}@media (max-width: 640px){#app .math-lesson-header{gap:.4rem;padding-inline:.5rem}#app .math-lesson-header .foundation-heading h1{font-size:1rem}#app .math-lesson-header .foundation-phase,#app .math-lesson-header .foundation-progress{font-size:.75rem}#app .math-lesson-header .math-progress-track{display:none}}#app .subject-screen .home-subtitle{color:var(--ink)}#app .subject-card{border:3px solid var(--ink);border-radius:28px;background:var(--surface);box-shadow:none}#app .subject-card:hover{transform:none;border-color:var(--ink);box-shadow:none}#app .subject-card:active{background:#eee}#app .subject-card:focus-visible{outline:4px dashed var(--ink);outline-offset:4px}#app .subject-card-name{color:var(--ink)}@media (orientation: landscape) and (min-width: 700px){#app .subject-screen{display:grid;grid-template-columns:minmax(12rem,.9fr) minmax(0,2.6fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"top top" "hero cards";align-items:center;column-gap:clamp(1rem,3vw,3rem);width:100%;max-width:1440px;height:100dvh;min-height:0;margin:0 auto;overflow:hidden}#app .subject-screen .home-topbar{grid-area:top;max-width:none;margin:0}#app .subject-screen .home-hero{grid-area:hero;margin:0}#app .subject-screen .home-brand{flex-direction:column;gap:.5rem}#app .subject-screen .home-logo{display:block;width:clamp(4.5rem,16dvh,9rem);height:clamp(5.4rem,19dvh,10.8rem)}#app .subject-screen .home-title{font-size:clamp(1.7rem,3vw,3.4rem);white-space:nowrap}#app .subject-screen .home-subtitle{margin-top:.75rem;font-size:clamp(1rem,1.8vw,1.4rem)}#app .subject-screen .subject-cards{grid-area:cards;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;max-width:none;height:100%;align-content:center;align-items:center;gap:clamp(.75rem,2vw,1.75rem)}#app .subject-screen .subject-card{height:min(58dvh,34rem);min-height:0;display:flex;flex-direction:column;justify-content:center;gap:clamp(.5rem,3dvh,1.75rem);padding:clamp(.75rem,2.5dvh,2rem) 1rem;text-align:center}#app .subject-screen .subject-card-icon,#app .subject-screen .subject-card-icon .sketch-image{width:clamp(5rem,28dvh,14rem);height:clamp(5rem,28dvh,14rem)}#app .subject-screen .subject-card-name{min-height:0;font-size:clamp(1.6rem,3.4vw,3rem);line-height:1.1}}#app .guided-home{max-width:1320px;padding:clamp(.5rem,2dvh,1.25rem) clamp(.75rem,2.5vw,2rem) 1rem}#app .guided-home .home-topbar{max-width:none}#app .home-hero-compact{margin:.25rem 0 .75rem}#app .home-hero-compact .home-logo{width:2.6rem;height:3.1rem}#app .home-hero-compact .home-title{font-size:2.2rem}#app .subject-tabs{gap:.5rem;padding:0;margin:0 auto .5rem;border-radius:0;background:transparent}#app .subject-tab{min-height:52px;padding:.35rem 1.1rem;border:2px solid transparent;border-radius:999px;background:transparent;color:var(--ink-soft);font-size:1.1rem;font-weight:700}#app .subject-tab .sketch-image{width:2.1rem;height:2.1rem;opacity:.6}#app .subject-tab.active{border:3px solid var(--ink);background:var(--surface);color:var(--ink);font-weight:800}#app .subject-tab.active .sketch-image{opacity:1}#app .subject-tab:not(.active):hover{background:transparent;color:var(--ink)}#app .aura-header{min-height:var(--tap-secondary);padding:.3rem .9rem;border:2px solid var(--ink);background:var(--surface)}#app .aura-header .sketch-image-aura{width:1.7rem;height:1.7rem}#app .aura-header-total{color:var(--ink);font-size:1.15rem}#app .aura-header-track{width:116px;height:24px;border:2px solid var(--ink);background:var(--surface)}#app .aura-header-track.no-goal{border:2px dashed var(--ink-mute)}#app .aura-header-fill{background:var(--line-soft)}#app .aura-header-track.met .aura-header-fill{background:#8c8c8c}#app .aura-header-track-label{color:var(--ink);font-size:.85rem;text-shadow:none}#app .aura-header-streak{color:var(--ink);font-size:.95rem}#app .aura-header-streak .sketch-image{width:1.4rem;height:1.4rem}#app .guided-card{border-radius:24px;padding:clamp(.75rem,2dvh,1.5rem);background:var(--surface);box-shadow:none}#app .guided-card:hover{transform:none;box-shadow:none}#app .guided-card.theme-new{border:4px solid var(--ink);background:var(--surface)}#app .guided-card.theme-review{border:3px dashed var(--ink-soft);background:var(--surface)}#app .card-badge{padding:.3rem .85rem;border:2px solid var(--ink);border-radius:999px;font-size:.95rem}#app .guided-card.theme-new .card-badge{background:var(--ink);color:var(--surface)}#app .guided-card.theme-review .card-badge{border-style:dashed;border-color:var(--ink-soft);background:var(--surface);color:var(--ink)}#app .card-star-rating .sketch-image{width:1.5rem;height:1.5rem}#app .card-glyph-container{height:clamp(96px,26dvh,260px);flex-direction:column;gap:.35rem;margin:.25rem 0 clamp(.5rem,2dvh,1.25rem)}#app .card-glyph{color:var(--ink);font-size:clamp(4.5rem,17dvh,9rem);filter:none}#app .guided-card:hover .card-glyph,#app .guided-card:hover .card-word-svg{transform:none}#app .card-glyph.word-glyph{font-size:clamp(2.6rem,9dvh,4.8rem)}#app .card-word-svg{max-width:92%;max-height:100%;color:var(--ink);filter:none}#app .card-reading-letters{display:flex;align-items:baseline;justify-content:center;gap:.55em;color:var(--ink);font-size:clamp(3rem,13dvh,7rem);line-height:1.1}#app .card-reading-letters.is-group{flex-direction:column;align-items:center;gap:0;font-size:clamp(1.8rem,8dvh,4.5rem)}#app .card-reading-print{font-family:var(--font-ui);font-weight:800}#app .card-reading-cursive{font-family:var(--font-cursive);font-weight:400}#app .card-reading-title{color:var(--ink);font-size:clamp(1.2rem,3.2dvh,1.9rem)}#app .btn-card-action{min-height:var(--tap-primary);border:2px solid var(--ink);border-radius:16px;background:var(--ink);color:var(--surface);font-size:1.25rem}#app .guided-card.theme-new .btn-card-action{background:var(--ink)}#app .guided-card.theme-review .btn-card-action{background:var(--surface);color:var(--ink)}#app .btn-card-action:hover{filter:none;transform:none}@media (orientation: landscape) and (min-width: 700px){#app .guided-home{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);grid-template-areas:"left tabs right" "deck deck deck";align-items:center;column-gap:.75rem;height:100dvh;overflow-y:auto}#app .guided-home .home-topbar{display:contents}#app .guided-home .home-topbar>span,#app .guided-home .home-hero{display:none}#app .guided-home .topbar-left{grid-area:left}#app .guided-home .topbar-right{grid-area:right}#app .guided-home .subject-tabs{grid-area:tabs;margin:0 auto}#app .guided-deck-container{grid-area:deck;align-self:center;margin:clamp(.5rem,2dvh,1.5rem) auto;gap:clamp(.75rem,2vw,1.5rem)}#app .guided-deck-container.deck-count-3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}#app .guided-deck-container.deck-count-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:920px}#app .guided-deck-container.deck-count-1{max-width:580px}}@media (orientation: landscape) and (min-width: 700px) and (max-width: 1060px){#app .guided-home .subject-tab{padding:.3rem .8rem}#app .guided-home .subject-tab span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}#app .guided-home .subject-tab .sketch-image{width:2.3rem;height:2.3rem}}#app .lesson-picker-content{width:100%}#app .lesson-review-trigger-row{display:flex;justify-content:center;margin:.5rem 0 0}#app .lesson-review-trigger,#app .lesson-review-back,#app .lesson-review-pagination button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.5rem 1rem;border:2px solid var(--ink);border-radius:12px;background:var(--surface);color:var(--ink);font:700 1rem var(--font-ui);cursor:pointer}#app .lesson-review-trigger .sketch-image,#app .lesson-review-back .sketch-image{width:1.4rem;height:1.4rem}#app .lesson-review-trigger-icon{font-size:1.5rem;line-height:1}@media (orientation: landscape) and (min-width: 700px){#app .lesson-picker-content{grid-area:deck;align-self:center}#app .lesson-review-trigger-row{margin-top:.75rem}}#app .lesson-review-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100dvh;overflow:hidden;background:var(--surface);color:var(--ink)}#app .lesson-review-menu{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:1rem;width:100%;max-width:960px;height:100%;margin:0 auto;padding:clamp(12px,2.5dvh,28px) clamp(12px,3vw,32px)}#app .lesson-review-header,#app .lesson-review-pagination{display:flex;align-items:center;justify-content:space-between;gap:.75rem}#app .lesson-review-subject{padding:.4rem .9rem;border:2px solid var(--ink);border-radius:999px;font-weight:800}#app .lesson-review-heading h2{display:inline;margin:0;font-size:clamp(1.5rem,4vw,2rem)}#app .lesson-review-count{display:inline-block;margin-left:.75rem;font-size:1rem}#app .lesson-review-heading p{margin:.4rem 0 0;font-size:1rem;line-height:1.4}#app .lesson-review-list{display:grid;grid-template-columns:repeat(var(--review-columns, 1),minmax(0,1fr));grid-template-rows:repeat(var(--review-rows, 1),minmax(0,1fr));gap:12px;min-height:0}#app .lesson-review-card{display:flex;align-items:center;gap:.75rem;min-width:0;max-height:116px;padding:.75rem;border:2px solid var(--ink);border-radius:14px;background:var(--surface);color:var(--ink);text-align:left;font-family:var(--font-ui);cursor:pointer}#app .lesson-review-icon{flex:0 0 auto;width:38px;height:38px}#app .lesson-review-card-title{display:block;font-size:1.15rem;font-weight:800;line-height:1.2;overflow-wrap:anywhere}#app .lesson-review-literacy{justify-content:center;text-align:center}#app .lesson-review-cursive{display:block;min-width:0;font-family:var(--font-cursive);font-weight:400;font-size:2rem;line-height:1.5;overflow-wrap:anywhere}#app .lesson-review-cursive.is-letter{font-size:2.8rem}#app .lesson-review-cursive.is-sentence{font-size:1.3rem}#app .lesson-review-pagination button:disabled{border-style:dashed;color:var(--ink-soft);cursor:default}#app .lesson-review-page{text-align:center;font-weight:700}#app .lesson-review-empty{grid-column:1 / -1;align-self:center;margin:0;text-align:center;font-size:1.2rem}#app :is(.lesson-review-trigger,.lesson-review-menu button){box-shadow:none;transition:none;transform:none}#app :is(.lesson-review-trigger,.lesson-review-menu button):focus-visible{outline:3px solid var(--ink);outline-offset:3px}@media (max-height: 480px){#app .lesson-review-menu{gap:.5rem}#app .lesson-review-heading p{display:none}}@media (max-width: 380px){#app .lesson-review-pagination{gap:.35rem}#app .lesson-review-pagination button{padding-inline:.5rem}#app .lesson-review-page{font-size:.85rem}}#app .reading-subtitle{color:var(--ink-soft);font-size:.95rem}#app .reading-nav{background:var(--color-bg)}#app .reading-nav .btn-primary,#app .reading-nav .btn-secondary,#app .reading-nav .btn-success{min-height:var(--tap-primary);min-width:9rem;font-size:1.15rem}#app .reading-nav .btn-primary .sketch-icon,#app .math-foundations-screen .reading-nav .btn-primary .sketch-icon{color:inherit}#app .math-foundations-screen{min-height:100dvh;background:transparent}#app .math-foundations-screen>:is(.counting-stage,.ten-frame-stage){min-height:0;overflow-y:auto}#app .math-foundations-screen .foundation-prompt-row .btn-icon-small{width:var(--tap-secondary);height:var(--tap-secondary);padding:0;border:2px solid var(--ink);border-radius:999px}#app .math-foundations-screen .foundation-prompt-row .btn-icon-small:not(.active):not([aria-pressed=true]){background:var(--surface);color:var(--ink)}#app .early-maths-lesson .early-progress{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.45rem}#app .math-foundations-screen footer.counting-actions.reading-nav{flex:0 0 auto;width:100%;display:flex;align-items:center;justify-content:center;gap:1rem;padding:clamp(.75rem,2vh,1.25rem) clamp(1rem,4vw,2.5rem);min-height:calc(var(--tap-primary, 56px) + 1.5rem)}#app .math-foundations-screen .reading-nav button.btn-primary,#app .math-foundations-screen button.counting-button.btn-primary{background:var(--ink);color:var(--surface);border:2px solid var(--ink);border-radius:16px}#app .math-foundations-screen .reading-nav button.btn-secondary,#app .math-foundations-screen button.counting-button.btn-secondary{background:var(--surface);color:var(--ink);border:2px solid var(--ink);border-radius:16px}#app .carousel-hint{margin-top:.5rem;color:#333;font-size:1rem}#app .progress-dots{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.55rem;min-height:24px}#app .progress-dot{width:16px;height:16px;border:2px solid var(--ink);border-radius:50%;background:var(--surface)}#app .progress-dot.done{background:var(--ink)}#app .progress-dot.current{width:24px;height:24px;border-width:6px}#app .progress-dots-text{font-size:1rem;font-weight:700;color:var(--ink)}#app .intro-listen{min-height:var(--tap-secondary);padding:.5rem 1.2rem;color:var(--surface);font-size:1.1rem}#app .intro-listen .sketch-icon{width:1.5rem;height:1.5rem;color:inherit}#app .intro-listen-compact{width:var(--tap-secondary);height:var(--tap-secondary);padding:.6rem}#app .reading-intro-desc{color:#333}#app .word-syllable.tone-b{color:var(--ink-mute)}#app .say-hear{flex-wrap:wrap}#app .reading-mic-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}#app .reading-mic-status:empty{display:none}#app .btn-say,#app .btn-hear{min-height:var(--tap-primary);font-size:1.15rem}#app .btn-say .sketch-icon,#app .btn-hear .sketch-icon{width:1.6rem;height:1.6rem}@media (orientation: landscape) and (min-width: 700px){#app .reading-screen{max-width:1240px}#app .reading-intro-title{font-size:clamp(1.5rem,4dvh,2.4rem)}#app .reading-intro-desc{font-size:clamp(1.05rem,2.4dvh,1.4rem);margin-bottom:clamp(.5rem,2dvh,1.25rem)}#app .vowel-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-width:1040px;gap:clamp(.5rem,1.5vw,1.25rem)}#app .vowel-card{padding:clamp(.5rem,2dvh,1.4rem) .5rem;border-radius:20px}#app .vowel-letter{font-size:clamp(2.8rem,15dvh,7.5rem);line-height:1}#app .vowel-name{font-size:clamp(1rem,2.4dvh,1.4rem)}#app .intro-letter-card{max-width:560px;padding:clamp(.75rem,3dvh,2rem) 1.5rem}#app .intro-letter-glyph{font-size:clamp(4rem,26dvh,12rem)}#app .intro-letter-name{font-size:clamp(1.2rem,3dvh,1.8rem)}#app .word-card{max-width:min(780px,90vw);gap:clamp(.75rem,3dvh,2rem);padding:clamp(1rem,3dvh,2.5rem) clamp(1.25rem,4vw,3rem)}#app .word-text{font-size:clamp(3.5rem,19dvh,10rem);line-height:1.1}#app .word-card .say-hear{max-width:460px;margin:0 auto}#app .sentence-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr auto auto auto 1fr;align-items:center;column-gap:clamp(1rem,3vw,2.5rem);row-gap:clamp(.5rem,2dvh,1.25rem);max-width:min(1200px,96vw);padding:clamp(.75rem,3dvh,2rem) clamp(1rem,3vw,2.5rem)}#app .sentence-card>*{grid-column:1}#app .sentence-card>.sentence-text{grid-row:2}#app .sentence-card>.say-hear{grid-row:3}#app .sentence-card>.oral-judge{grid-row:4}#app .sentence-card>.sentence-media-card{grid-column:2;grid-row:1 / -1;width:clamp(140px,40dvh,380px);max-height:none}#app .sentence-text{font-size:clamp(2rem,8dvh,4.5rem)}#app .sentence-reveal-mark{font-size:clamp(3rem,12dvh,6rem)}}#app .slot-stars-row{min-height:var(--tap-secondary)}#app .slot-star-cell{width:clamp(4rem,14vw,6.5rem);height:var(--tap-secondary);border:2px solid var(--line-soft)}#app .slot-star-cell.active{border:3px solid var(--ink)}#app .slot-star-placeholder{color:var(--ink-mute);font-size:1.4rem}#app .slot-star .sketch-image{width:1.6rem;height:1.6rem}#app .btn-clear{background:var(--surface);color:var(--ink)}#app .btn-lesson-action{width:64px;height:64px}#app .controls-bar .btn-check-slot{width:80px;height:80px}#app .controls-bar .btn-check-slot:disabled,#app .controls-bar .btn-check-slot[aria-disabled=true]{opacity:.45;cursor:default}#app .btn-lesson-action:active .sketch-image{filter:invert(1)}#app .btn-lesson-stop{min-height:var(--tap-primary);font-size:1.1rem}@media (max-width: 540px) and (orientation: portrait){#app .worksheet-container{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.5rem;padding:.5rem .75rem max(.75rem,env(safe-area-inset-bottom))}#app .worksheet-container>.lesson-status{min-height:2rem;margin-top:auto;flex:0 0 auto}#app .worksheet-container>.slot-stars-row{max-width:100%;margin:0 auto .25rem;flex:0 0 auto}#app .slot-star-cell{width:min(100%,5.5rem);padding-inline:.15rem}#app .worksheet-container>.writing-stage.multi-slot-stage{width:100%;max-width:100%;height:clamp(210px,34dvh,260px);max-height:260px;margin-bottom:auto;aspect-ratio:auto;flex:0 0 auto}#app .worksheet-container>.controls-bar,#app[data-handedness=left] .worksheet-container>.controls-bar{width:100%;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:.65rem;height:auto;min-height:64px;padding:.25rem 0;flex:0 0 auto}#app .worksheet-container>.controls-bar .btn-lesson-action{width:54px;height:54px;flex:0 0 auto}#app .worksheet-container>.controls-bar .btn-check-slot{width:64px;height:64px;flex:0 0 auto}#app .worksheet-container>.controls-bar .btn-lesson-stop{min-width:0;width:auto;min-height:48px;padding:.45rem .8rem;font-size:.92rem;flex:0 0 auto}#app .worksheet-container>#feedback-container{display:contents}}@media ((orientation: portrait) and (min-width: 541px)),((max-width: 699px) and (orientation: landscape)){#app .worksheet-container{--rail-w: clamp(80px, 14vw, 112px);display:grid;grid-template-columns:minmax(0,1fr) var(--rail-w);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"status rail" "stars rail" "stage rail";align-content:center;justify-items:center;gap:.5rem}#app[data-handedness=left] .worksheet-container{grid-template-columns:var(--rail-w) minmax(0,1fr);grid-template-areas:"rail status" "rail stars" "rail stage"}#app .worksheet-container>.lesson-status{grid-area:status}#app .worksheet-container>.slot-stars-row{grid-area:stars;max-width:100%;margin:0}#app .slot-star-cell{width:min(100%,6.5rem);padding-inline:.1rem}#app .slot-star .sketch-image{width:clamp(.8rem,3vw,1.6rem);height:clamp(.8rem,3vw,1.6rem)}#app .worksheet-container>.writing-stage.multi-slot-stage{grid-area:stage;width:min(100%,var(--stage-ideal-w, 773px));max-height:var(--stage-max-h, 290px);aspect-ratio:var(--stage-aspect, 8 / 3);align-self:start}#app .worksheet-container>.controls-bar,#app[data-handedness=left] .worksheet-container>.controls-bar{grid-area:rail;flex-direction:column;flex-wrap:nowrap;align-self:center;height:auto;padding:0;gap:.75rem}#app .worksheet-container>.controls-bar .btn-lesson-stop{min-width:0;width:var(--rail-w);padding-inline:.25rem;font-size:.95rem}#app .worksheet-container>#feedback-container{display:contents}}@media (orientation: landscape) and (min-width: 700px){#app .worksheet-container{--rail-w: 128px;--status-h: 44px;--stars-h: 52px;--stage-h: min(var(--stage-max-h, 290px), calc(100dvh - var(--header-h) - var(--status-h) - var(--stars-h) - 2.25rem));display:grid;grid-template-columns:minmax(0,1fr) var(--rail-w);grid-template-rows:var(--status-h) var(--stars-h) auto;grid-template-areas:"status rail" "stars rail" "stage rail";align-content:center;justify-items:center;column-gap:clamp(.5rem,2vw,1.5rem);padding:.5rem clamp(.5rem,2vw,1.5rem) clamp(1.25rem,8dvh,5rem);overflow:hidden}#app[data-handedness=left] .worksheet-container{grid-template-columns:var(--rail-w) minmax(0,1fr);grid-template-areas:"rail status" "rail stars" "rail stage"}#app .worksheet-container>.lesson-status{grid-area:status;height:var(--status-h);min-height:0}#app .worksheet-container>.writing-stage.multi-slot-stage{grid-area:stage;flex:none;width:min(100%,var(--stage-ideal-w, 773px));height:auto;min-height:0;max-width:100%;max-height:var(--stage-h);aspect-ratio:var(--stage-aspect, 8 / 3);margin:0}#app .worksheet-container>.slot-stars-row{grid-area:stars;align-self:end;max-width:none;margin:0 0 .4rem}#app .worksheet-container>.controls-bar,#app[data-handedness=left] .worksheet-container>.controls-bar{grid-area:rail;flex-direction:column;align-self:center;height:auto;min-height:0;padding:0;gap:1rem}#app .worksheet-container>.controls-bar .btn-lesson-action{width:72px;height:72px}#app .worksheet-container>.controls-bar .btn-check-slot{width:88px;height:88px}#app .worksheet-container>.controls-bar .btn-lesson-stop{min-width:0;width:var(--rail-w)}#app .worksheet-container>#feedback-container{display:contents}}@media (orientation: landscape) and (max-height: 520px){#app{--header-h: 52px}#app .app-header{min-height:var(--header-h);padding-block:0}#app .btn-back{width:48px;height:48px}#app .worksheet-container{--status-h: 32px;--stars-h: 48px;--rail-w: 112px;--stage-h: min(var(--stage-max-h, 290px), calc(100dvh - var(--header-h) - var(--status-h) - var(--stars-h) - 1.5rem));padding-bottom:.5rem}#app .worksheet-container>.writing-stage.multi-slot-stage{width:100%;height:var(--stage-h);aspect-ratio:auto}#app .lesson-status,#app .lesson-status .status-retry{font-size:1.6rem}#app .lesson-status .status-stars .sketch-image{width:1.6rem;height:1.6rem}#app .worksheet-container>.controls-bar{gap:.5rem}#app .worksheet-container>.controls-bar .btn-lesson-action{width:60px;height:60px}#app .worksheet-container>.controls-bar .btn-check-slot{width:72px;height:72px}#app .reading-screen{padding-top:.25rem}#app .carousel{gap:.35rem}#app .carousel-hint{margin-top:.25rem}#app .word-card,#app .sentence-card{gap:.5rem;padding-block:.5rem}#app .word-text{font-size:clamp(2.5rem,16dvh,6rem)}#app .btn-say,#app .btn-hear{min-height:var(--tap-secondary)}#app .progress-dot{width:12px;height:12px}#app .progress-dot.current{width:18px;height:18px;border-width:5px}#app .reading-nav{padding-top:.4rem}#app .reading-nav .btn-primary,#app .reading-nav .btn-secondary,#app .reading-nav .btn-success{min-height:var(--tap-secondary)}}#app .reading-screen.is-practice .reading-content{flex:1;display:flex;flex-direction:column;justify-content:stretch}#app .reading-screen.is-practice .reading-nav[hidden]{display:none}#app .reading-screen.is-practice .reading-activity{display:flex;flex-direction:column;justify-content:space-between;gap:clamp(12px,2.4vh,24px);max-width:1100px;width:100%;margin:0 auto;flex:1;padding:16px clamp(16px,5vw,64px)}#app .reading-screen.is-practice .practice-prompt-row{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px}#app .reading-screen.is-practice .practice-prompt{font-size:clamp(1.3rem,3vw,2rem);font-weight:700;text-align:center;margin:0}#app .reading-screen.is-practice .practice-hear{width:56px;height:56px;padding:10px;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}#app .reading-screen.is-practice .practice-hear .sketch-image{width:36px;height:36px}#app .reading-screen.is-practice .practice-heading{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1;white-space:normal;overflow:visible;text-overflow:clip}#app .reading-screen.is-practice .practice-phase{font-size:.88rem;font-weight:700;color:#111}#app .reading-screen.is-practice .practice-title{font-size:clamp(1.2rem,2vw,1.6rem);font-weight:700;margin:0;color:#111}#app .reading-screen.is-practice .practice-progress{min-width:64px;text-align:center;font-size:1.15rem;font-weight:800}#app .reading-screen.is-practice .activity-options[data-layout=grid],#app .reading-screen.is-practice .build-tiles,#app .reading-screen.is-practice .build-slots{display:grid;grid-template-columns:repeat(var(--slot-count, var(--option-count, 3)),minmax(0,220px));justify-content:center;gap:clamp(10px,2vw,24px);margin:0}#app .reading-screen.is-practice .activity-options[data-layout=rows]{display:grid;grid-template-columns:1fr;gap:14px;width:min(100%,900px);margin:0 auto}#app .reading-screen.is-practice .btn-activity-opt,#app .reading-screen.is-practice .btn-syl-tile,#app .reading-screen.is-practice .build-slot{min-height:clamp(82px,14vh,116px);padding:8px 12px;border:3px solid #111;border-radius:14px;background:#fff;color:#111;font-size:clamp(2.2rem,min(5vw,7vh),3.8rem);font-weight:900;line-height:1;display:grid;place-items:center;min-width:0;text-decoration:none;opacity:1}#app .reading-screen.is-practice .activity-options[data-layout=rows] .btn-activity-opt{font-size:clamp(1.5rem,3.4vw,2.4rem);min-height:clamp(72px,11vh,96px)}#app .reading-screen.is-practice .btn-activity-opt.wrong,#app .reading-screen.is-practice .btn-activity-opt:disabled:not(.correct){color:#888;background:#eee;border:3px solid #bbb;opacity:.5;text-decoration:none;cursor:default}#app .reading-screen.is-practice .btn-activity-opt.correct{background:#111;color:#fff;border-color:#111;opacity:1}#app .reading-screen.is-practice .btn-syl-tile:disabled{opacity:.2;border-style:dashed;background:#fff}#app .reading-screen.is-practice .build-slot{border-style:dashed;cursor:pointer}#app .reading-screen.is-practice .build-slot.is-filled,#app .reading-screen.is-practice .build-slot.correct{border-style:solid;background:#111;color:#fff}#app .reading-screen.is-practice .build-slot.wrong{border:3px solid #bbb;background:#eee;color:#888;opacity:.6;text-decoration:none}#app .reading-screen.is-practice .cloze-sentence{margin:0;text-align:center;font-size:clamp(2rem,5vw,3.4rem);font-weight:800;line-height:1.5}#app .reading-screen.is-practice .cloze-gap{display:inline-block;min-width:calc(var(--gap-ch) * .62em);min-height:1.2em;vertical-align:bottom;border:3px dashed #111;border-radius:12px;padding:0 .2em}#app .reading-screen.is-practice .cloze-gap.is-filled{border-style:solid;background:#111;color:#fff}#app .reading-screen.is-practice :is(.btn-activity-opt.correct,.build-slot.is-filled) .sketch-image{filter:invert(1)}@media (orientation: landscape) and (max-height: 520px){#app .reading-screen.is-practice .reading-activity{gap:6px;padding-top:0}#app .reading-screen.is-practice .btn-activity-opt,#app .reading-screen.is-practice .btn-syl-tile,#app .reading-screen.is-practice .build-slot{min-height:64px;font-size:2.2rem}#app .reading-screen.is-practice .cloze-sentence{font-size:1.8rem}#app .reading-screen.is-practice .activity-options[data-layout=rows] .btn-activity-opt{min-height:56px;font-size:1.4rem}}@media (max-width: 680px){#app .reading-screen.is-practice .activity-options[data-layout=grid],#app .reading-screen.is-practice .build-tiles,#app .reading-screen.is-practice .build-slots{grid-template-columns:repeat(var(--slot-count, var(--option-count, 3)),minmax(0,1fr))}#app .reading-screen.is-practice .btn-activity-opt,#app .reading-screen.is-practice .btn-syl-tile,#app .reading-screen.is-practice .build-slot{min-height:76px}}.calc-workspace{width:min(960px,100%);margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:clamp(14px,2.4vh,22px)}.calc-material,.bridge-material{width:100%;display:flex;align-items:center;justify-content:center;gap:34px}.calc-full-ten,.calc-loose{display:flex;flex-direction:column;gap:14px;align-items:center;border:3px solid #111;border-radius:16px;background:#fff;padding:14px 20px;min-height:186px;box-sizing:border-box}.calc-full-ten h3,.calc-loose h3{margin:0;font-size:clamp(1.15rem,2.4vw,1.45rem);font-weight:800}.calc-rod{display:grid;grid-template-columns:repeat(10,30px);border:3px solid #111;margin:auto 0;border-radius:4px;overflow:hidden;background:#fff}.calc-rod i{height:40px;border-right:1px solid #111;background:#ddd}.calc-rod i:last-child{border-right:0}.calc-units{display:grid;grid-template-columns:repeat(5,56px);gap:12px;min-height:124px;align-content:start}.calc-unit,.bridge-cell{width:56px;height:56px;display:grid;place-items:center;border:2px solid #111;background:#fff;border-radius:8px;padding:4px;box-sizing:border-box;position:relative;overflow:hidden}.twenty-calculation-lesson .calc-unit,.twenty-calculation-lesson button.calc-unit{font-size:1.85rem;font-weight:900;line-height:1}.twenty-calculation-lesson button.calc-unit:focus-visible{outline:4px solid #111;outline-offset:2px}.calc-object{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.calc-unit.is-added{border:3px solid #111;outline:2px solid #111;outline-offset:1px;background:#f2f2f2}.bridge-cell.is-added{border:3px solid #111;background:#efefef}.calc-unit.is-empty{border:3px dashed #111;background:#fafafa;color:#111}.calc-unit.is-removed{background:#f5f5f5;border-color:#666}.calc-unit.is-removed .calc-object{opacity:.28}.calc-unit.is-removed:before,.calc-unit.is-removed:after{content:"";position:absolute;z-index:1;width:84%;border-top:4px solid #111;left:8%;top:calc(50% - 2px)}.calc-unit.is-removed:before{transform:rotate(45deg)}.calc-unit.is-removed:after{transform:rotate(-45deg)}.calc-unit.is-moved{border:2px dashed #888;background:#f2f2f2;color:#555;font-size:1.65rem;font-weight:900}.calc-zero{grid-column:1 / -1;justify-self:center;align-self:center;border:3px dashed #888;border-radius:14px;padding:8px 22px;background:#fafafa;font-size:2.4rem;font-weight:900;line-height:1}.calc-equation{text-align:center;margin:0;font-size:clamp(27px,3.6vw,38px);line-height:1.4;font-weight:800;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.25em}.calc-unknown{display:inline-grid;place-items:center;border:3px dashed #111;border-radius:10px;padding:0 .28em;min-width:1.3em;background:#fff;color:#111}.calc-result{display:inline-grid;place-items:center;border:3px solid #111;border-radius:10px;padding:0 .28em;min-width:1.3em;background:#111;color:#fff}.twenty-calculation-lesson button.calc-numeral.counting-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;font-size:clamp(44px,7vh,62px);font-weight:900;line-height:1.05;min-width:156px;padding:6px 20px;border:3px solid #111;border-radius:16px;background:#fff}.calc-numeral .sketch-image{width:32px;height:32px;flex-shrink:0}.bridge-frame,.bridge-source{display:grid;grid-template-columns:repeat(5,64px);gap:6px;border:3px solid #111;border-radius:14px;padding:10px;background:#fff;min-height:160px;box-sizing:border-box;align-content:start}.bridge-cell,.bridge-source .calc-unit{width:64px;height:64px;border-radius:6px}.bridge-cell.is-needed{outline:3px dashed #111;outline-offset:-5px;background:#f2f2f2}.bridge-plus{font-size:2.8rem;font-weight:900}.bridge-line{width:100%;display:grid;grid-template-columns:repeat(21,minmax(0,1fr));padding-top:44px;margin-top:0}.twenty-calculation-lesson .bridge-mark,.twenty-calculation-lesson button.bridge-mark{position:relative;display:grid;place-items:center;padding:16px 0 6px;background:#fff;border:0;border-top:3px solid #111;color:#111;font-size:clamp(15px,1.9vw,21px);font-weight:700}.bridge-mark:before{content:"";position:absolute;left:50%;top:-8px;height:15px;border-left:2px solid #111}.bridge-mark.is-ten:before{height:22px;top:-12px;border-left-width:4px}.bridge-mark.is-path{border-top-width:7px}.twenty-calculation-lesson button.bridge-mark.is-active{font-weight:900;background:#111;color:#fff;border-radius:0 0 8px 8px}.bridge-mark:focus-visible{outline:3px solid #111;outline-offset:2px}.bridge-frog{position:absolute;width:38px;height:38px;top:-42px;left:50%;transform:translate(-50%);object-fit:contain}.skip-equal-groups{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:100%}.skip-equal-groups[data-group-size="10"]{gap:16px}.skip-equal-group{display:grid;justify-items:center;gap:4px;padding:6px 8px;border:3px dashed #999;border-radius:10px;background:#fff;font-size:21px;font-weight:800;line-height:1.1}.skip-equal-group.is-reached{border:3px solid #111;background:#eee;padding:6px 8px}.skip-group-objects{display:grid;grid-template-columns:repeat(2,34px);gap:3px}.skip-group-objects:has(.skip-group-image:nth-child(5)){grid-template-columns:repeat(5,38px)}.skip-group-image{width:100%;height:34px;object-fit:contain}.skip-row-connection{margin:0 12px 0 auto;padding:2px 10px;border:2px dashed #111;border-radius:999px;background:#fff;font-size:1.05rem;font-weight:800;line-height:1.2}.skip-counting-lesson .skip-counting-workspace{gap:14px}.skip-counting-lesson .skip-tracks{gap:10px}@media (max-width: 900px){.calc-material,.bridge-material{flex-wrap:wrap;gap:16px}.calc-workspace{gap:14px}.calc-full-ten,.calc-loose{min-height:0;padding:10px 14px}.calc-rod{grid-template-columns:repeat(10,25px)}.bridge-frame,.bridge-source{grid-template-columns:repeat(5,52px);padding:6px;min-height:124px}.bridge-cell,.bridge-source .calc-unit{width:52px;height:52px}.bridge-plus{display:none}.skip-group-objects{grid-template-columns:repeat(2,28px)}.skip-group-objects:has(.skip-group-image:nth-child(5)){grid-template-columns:repeat(5,30px)}.skip-node{flex-basis:42px;width:42px}.skip-hop{min-width:14px}.bridge-line{min-width:700px}.calc-workspace:has(.bridge-line){overflow-x:auto;align-items:flex-start}}.skip-equal-groups[data-group-size="2"]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:min(560px,100%)}.skip-equal-groups[data-group-size="2"] .skip-group-objects{grid-template-columns:repeat(2,38px)}@media (max-width: 500px){.skip-equal-groups[data-group-size="2"]{gap:6px}.skip-equal-groups[data-group-size="2"] .skip-group-objects{grid-template-columns:repeat(2,26px)}}.skip-equal-groups[data-group-size="5"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.skip-equal-groups[data-group-size="5"] .skip-group-objects{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%}@media (max-width: 720px){.skip-equal-groups[data-group-size="5"]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-height: 680px){.calc-workspace{gap:10px}.calc-full-ten,.calc-loose{min-height:0;padding:10px 14px;gap:10px}.calc-units{min-height:104px;gap:8px}.calc-unit{width:48px;height:48px}.bridge-frame,.bridge-source{grid-template-columns:repeat(5,52px);padding:8px;min-height:128px}.bridge-cell,.bridge-source .calc-unit{width:52px;height:52px}.bridge-line{padding-top:34px}.bridge-frog{width:32px;height:32px;top:-35px}.calc-equation{font-size:clamp(22px,3.2vw,30px)}}@media (max-height: 600px){.calc-workspace{gap:8px}.twenty-calculation-lesson button.calc-numeral.counting-button{font-size:2.2rem;min-width:128px;padding:4px 14px}.calc-numeral .sketch-image{width:24px;height:24px}.calc-full-ten,.calc-loose{padding:8px 12px;gap:6px}.calc-full-ten h3,.calc-loose h3{font-size:1rem}.calc-rod i{height:32px}.calc-units{min-height:88px}.calc-unit{width:42px;height:42px}.bridge-frame,.bridge-source{grid-template-columns:repeat(5,46px);padding:6px;min-height:112px}.bridge-cell,.bridge-source .calc-unit{width:46px;height:46px}.skip-equal-group{padding:4px 6px;font-size:1rem}.skip-equal-group.is-reached{padding:4px 6px}.skip-group-image{height:24px}}.cross-ten-workspace{width:min(960px,100%);margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:clamp(14px,2.4vh,22px)}.cross-ten-material{display:flex;justify-content:center;gap:30px}.cross-ten-frame{display:grid;grid-template-columns:repeat(5,58px);gap:5px;padding:10px;border:3px solid #111;border-radius:14px;background:#fff;box-sizing:border-box}.cross-ten-frame.is-active-frame{outline:3px solid #111;outline-offset:4px}.cross-ten-cell{position:relative;width:58px;height:58px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;padding:3px;background:#fff;border:2px solid #111;border-radius:5px;min-width:0;min-height:0;overflow:hidden;box-sizing:border-box}.cross-ten-cell:focus-visible{outline:4px solid #111;outline-offset:2px}.cross-ten-cell.is-empty{background:#fafafa;border:2px dashed #bdbdbd}.cross-ten-cell.is-removed{background:#f5f5f5;border-color:#666}.cross-ten-cell.is-removed .cross-ten-object{opacity:.28}.cross-ten-cell.is-removed:before,.cross-ten-cell.is-removed:after{content:"";position:absolute;z-index:1;width:82%;border-top:4px solid #111;left:9%;top:calc(50% - 2px)}.cross-ten-cell.is-removed:before{transform:rotate(45deg)}.cross-ten-cell.is-removed:after{transform:rotate(-45deg)}.cross-ten-cell.is-wrong{background:#ddd;border-color:#999;opacity:.45}.cross-ten-object{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block;min-width:0;min-height:0}.cross-ten-equation{margin:0;font-size:clamp(27px,3.8vw,38px);text-align:center;line-height:1.45;font-weight:800;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.25em}.cross-ten-eq-row{flex:1 0 100%;display:flex;align-items:center;justify-content:center;gap:.25em}.cross-ten-unknown{display:inline-grid;place-items:center;border:3px dashed #111;border-radius:10px;padding:0 .28em;min-width:1.3em;background:#fff;color:#111}.cross-ten-result{display:inline-grid;place-items:center;border:3px solid #111;border-radius:10px;padding:0 .28em;min-width:1.3em;background:#111;color:#fff}.cross-ten-line{width:100%;display:grid;grid-template-columns:repeat(21,minmax(0,1fr));padding-top:44px;margin-top:0}.cross-ten-lesson .cross-ten-mark,.cross-ten-lesson button.cross-ten-mark{position:relative;display:grid;place-items:center;padding:16px 0 6px;border:0;border-top:3px solid #111;background:#fff;color:#111;font-size:clamp(15px,1.9vw,22px);font-weight:700}.cross-ten-mark:focus-visible{outline:3px solid #111;outline-offset:2px}.cross-ten-mark:before{content:"";position:absolute;height:15px;left:50%;top:-9px;border-left:2px solid #111}.cross-ten-mark.is-path{border-top-width:7px}.cross-ten-mark.is-target span{border:2px dashed #111;border-radius:999px;padding:0 5px;font-weight:900}.cross-ten-lesson .cross-ten-mark.is-active,.cross-ten-lesson button.cross-ten-mark.is-active{font-weight:900;background:#111;color:#fff;border-radius:0 0 8px 8px}.cross-ten-mark.is-active.is-target span{border-color:#fff}.cross-ten-mark.is-ten:before{height:22px;top:-13px;border-left-width:4px}.cross-ten-frog{position:absolute;width:38px;height:38px;top:-42px;left:50%;transform:translate(-50%);object-fit:contain}.cross-ten-lesson button.cross-ten-step.counting-button{min-width:260px;min-height:72px;font-size:1.5rem;font-weight:800}@media (max-width: 720px){.cross-ten-frame{grid-template-columns:repeat(5,44px);padding:6px;gap:3px}.cross-ten-cell{width:44px;height:44px}.cross-ten-material{gap:12px;flex-wrap:wrap}.cross-ten-line{min-width:680px}.cross-ten-workspace:has(.cross-ten-line){overflow-x:auto;align-items:flex-start}}@media (max-height: 680px){.cross-ten-workspace{gap:12px}.cross-ten-frame{grid-template-columns:repeat(5,50px);padding:8px;gap:4px}.cross-ten-cell{width:50px;height:50px}.cross-ten-equation{font-size:clamp(22px,3.2vw,30px)}.cross-ten-line{padding-top:34px}.cross-ten-frog{width:32px;height:32px;top:-35px}}@media (max-height: 600px){.cross-ten-workspace{gap:8px}.cross-ten-frame{grid-template-columns:repeat(5,42px);padding:6px;gap:3px}.cross-ten-cell{width:42px;height:42px}.cross-ten-equation{font-size:1.3rem;line-height:1.3}.cross-ten-lesson button.cross-ten-step.counting-button{min-height:56px;font-size:1.25rem}}.story-twenty-workspace{width:min(960px,100%);margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:clamp(12px,2vh,18px)}.story-twenty-material{display:flex;align-items:center;justify-content:center;gap:22px}.story-twenty-group{display:flex;flex-direction:column;align-items:center;gap:10px;border:3px solid #111;border-radius:16px;background:#fff;padding:12px 16px;box-sizing:border-box}.story-twenty-group h3{font-size:clamp(1.05rem,2.2vw,1.35rem);font-weight:800;line-height:1.2;margin:0;min-height:auto;max-width:310px;display:grid;place-items:center;text-align:center}.story-twenty-grid{display:grid;grid-template-columns:repeat(5,52px);gap:8px}.story-twenty-object{width:52px;height:52px;display:grid;place-items:center;position:relative;padding:3px;border:2px solid #111;background:#fff;border-radius:8px;overflow:hidden;box-sizing:border-box}.story-twenty-lesson .story-twenty-object,.story-twenty-lesson button.story-twenty-object{font-size:1.75rem;font-weight:900;line-height:1}.story-twenty-lesson button.story-twenty-object:focus-visible{outline:4px solid #111;outline-offset:2px}.story-twenty-lesson button.story-twenty-object:disabled{opacity:1;cursor:default}.story-twenty-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.story-twenty-object.is-incoming{border-width:3px}.story-twenty-object.is-marked{border:3px solid #111;outline:3px solid #111;outline-offset:1px;background:#e8e8e8}.story-twenty-object.is-gap{background:#fafafa;border:3px dashed #777;color:#111}.story-twenty-lesson button.story-twenty-object.is-gap:not(:disabled){border-color:#111}.story-twenty-object.is-gap.is-highlighted{border:3px solid #111;background:repeating-linear-gradient(-45deg,#fff,#fff 6px,#d8d8d8 6px,#d8d8d8 10px)}.story-twenty-object.is-removed{background:#f5f5f5;border-color:#666}.story-twenty-object.is-removed .story-twenty-image{opacity:.28}.story-twenty-object.is-removed:before,.story-twenty-object.is-removed:after{content:"";position:absolute;z-index:1;width:84%;border-top:4px solid #111;left:8%;top:calc(50% - 2px)}.story-twenty-object.is-removed:before{transform:rotate(45deg)}.story-twenty-object.is-removed:after{transform:rotate(-45deg)}.story-twenty-arrow{align-self:center;font-size:clamp(2rem,4vw,2.8rem);font-weight:900}.story-twenty-equation{margin:0;padding:6px 20px;border:3px solid #111;border-radius:14px;background:#fff;font-size:clamp(1.75rem,3.6vw,2.5rem);font-weight:900;line-height:1.2;text-align:center}.story-twenty-lesson .foundation-prompt-row h2{font-size:clamp(23px,3.1vw,31px)}@media (max-width: 720px){.story-twenty-material{flex-wrap:wrap;gap:12px}.story-twenty-arrow{display:none}.story-twenty-group{padding:8px 12px;gap:6px}.story-twenty-grid{grid-template-columns:repeat(5,44px);gap:5px}.story-twenty-object{width:44px;height:44px}.story-twenty-group h3{font-size:20px;max-width:250px}}@media (max-height: 720px) and (min-width: 721px){.story-twenty-workspace{gap:12px}.story-twenty-group{padding:10px 14px;gap:8px}.story-twenty-grid{grid-template-columns:repeat(5,46px);gap:6px}.story-twenty-object{width:46px;height:46px}}@media (max-height: 600px){.story-twenty-workspace{gap:8px}.story-twenty-group{padding:6px 10px;gap:6px}.story-twenty-group h3{font-size:1rem}.story-twenty-grid{grid-template-columns:repeat(5,38px);gap:4px}.story-twenty-object{width:38px;height:38px}.story-twenty-lesson .story-twenty-object,.story-twenty-lesson button.story-twenty-object{font-size:1.35rem}.story-twenty-equation{font-size:1.5rem;padding:4px 14px}}.hundred-line-workspace{display:grid;justify-items:center;gap:18px;width:min(100%,1060px);margin:0 auto}.hundred-line-lesson .counting-status:empty,.hundred-table-lesson .counting-status:empty,.hundred-parts-lesson .counting-status:empty{display:none}.hundred-parts-workspace{display:grid;justify-items:center;gap:10px;width:min(100%,1060px);margin:0 auto}.hundred-line-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.hundred-line-context,.hundred-scale{margin:0;padding:6px 16px;border:2px solid #111;border-radius:999px;background:#fff;font-size:clamp(18px,2vw,22px);text-align:center}.hundred-scale{background:#f5f5f5}.hundred-line-card{width:100%;border:3px solid #111;border-radius:18px;background:#fff;padding:22px 14px 16px;box-sizing:border-box}.hundred-track{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));position:relative;gap:2px;margin:40px 0 28px}.hundred-line-card .hundred-track{width:100%;margin:0}.hundred-track:before{content:"";position:absolute;top:23px;left:4.5%;right:4.5%;border-top:4px solid #111}.hundred-line-lesson button.hundred-tick,.hundred-track>span.hundred-tick{background:transparent;border:3px solid transparent;border-radius:12px;display:flex;flex-direction:column;align-items:center;min-height:88px;font:inherit;font-size:clamp(24px,3.6vw,40px);padding:0 2px 10px;color:inherit;z-index:1}.hundred-line-lesson button.hundred-tick[data-hundred-number],.hundred-line-lesson button.hundred-tick.is-interactive:not(:disabled){cursor:pointer}.hundred-line-lesson button.hundred-tick:focus-visible{outline:4px solid #111;outline-offset:2px}.hundred-tick-mark{height:34px;border-left:3px solid currentColor;margin:3px 0 8px}.hundred-tick-label{display:inline-grid;place-items:center;min-width:44px;padding:2px 6px;border:2px solid transparent;border-radius:10px;font-weight:800;line-height:1.15}.hundred-line-lesson button.hundred-tick.is-interactive:not(:disabled) .hundred-tick-label{border-color:#111;background:#fff}.hundred-line-lesson button.hundred-tick.is-missing .hundred-tick-label{border:3px dashed #111;background:#f5f5f5;font-weight:900}.hundred-tick:disabled,.hundred-row-number:disabled,.hundred-part-number:disabled{opacity:1;color:inherit}.hundred-line-lesson button.hundred-tick.is-current{border-color:#111;background:#efefef}.hundred-line-lesson button.hundred-tick.is-correct{border-color:#111;background:#efefef;outline:3px solid #111;outline-offset:2px;opacity:1}.hundred-line-lesson button.hundred-tick.is-correct .hundred-tick-label{background:#111;color:#fff;border-color:#111}.hundred-line-lesson button.hundred-tick.is-wrong{opacity:.4;background:#f2f2f2;color:#777}.hundred-line-lesson .staged-number-choices{grid-template-columns:repeat(3,minmax(120px,210px));gap:18px;width:min(680px,100%)}.hundred-line-lesson .staged-number-choices button.counting-button{font-size:clamp(2rem,4.5vw,2.75rem);font-weight:900;min-height:82px}.hundred-line-lesson .staged-number-choices button.counting-button.is-correct,.hundred-table-lesson .staged-number-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.hundred-line-lesson .staged-number-choices button.counting-button.is-wrong,.hundred-table-lesson .staged-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}.hundred-table-workspace{display:grid;grid-template-columns:minmax(290px,340px) minmax(0,1fr);gap:28px;align-items:center;width:min(100%,1120px);margin:0 auto}.hundred-table-task{display:grid;justify-items:center;gap:22px;width:100%;min-width:0}.hundred-context-table{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));padding:8px;border:3px solid #111;border-radius:16px;background:#fff;box-sizing:border-box;width:100%}.hundred-context-cell{display:grid;place-items:center;height:32px;border:1px solid #ccc;font-size:15px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;box-sizing:border-box}.hundred-context-cell.is-active-row{background:#efefef;font-weight:800}.hundred-context-cell.is-hole{background:#fafafa;font-weight:900;color:#111}.hundred-context-cell.is-origin{background:#fff;box-shadow:inset 0 0 0 3px #111;font-weight:900}.hundred-context-cell.is-current{background:#111;color:#fff;border-color:#111;font-weight:900}.hundred-table-lesson .hundred-enlarged-row,.hundred-enlarged-row{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;width:100%;max-width:760px;margin:0;padding:12px;border:3px solid #111;border-radius:16px;background:#fff;box-sizing:border-box}.hundred-table-lesson button.hundred-row-number,.hundred-enlarged-row>span.hundred-row-number{font:inherit;font-size:clamp(22px,2.4vw,28px);font-weight:800;min-height:64px;border:2px solid #111;border-radius:10px;background:#fff;color:#111;padding:4px 2px;font-variant-numeric:tabular-nums}.hundred-table-lesson button.hundred-row-number[data-hundred-number]{cursor:pointer}.hundred-table-lesson button.hundred-row-number:focus-visible,.hundred-table-lesson button.hundred-equation-number:focus-visible{outline:4px solid #111;outline-offset:2px}.hundred-table-lesson button.hundred-row-number.is-hidden{border:2px dashed #777;background:#fafafa;color:#555}.hundred-table-lesson button.hundred-row-number.is-filled{border:3px solid #111;background:#efefef;font-weight:900}.hundred-table-lesson button.hundred-row-number.is-current{border:3px solid #111;background:#111;color:#fff;font-weight:900;outline:3px solid #111;outline-offset:2px}.hundred-table-lesson button.hundred-row-number.is-hidden.is-current{border:3px dashed #111;background:#efefef;color:#111;outline:3px solid #111;outline-offset:2px}.hundred-step-equation{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:14px 24px;border:3px solid #111;border-radius:16px;background:#fff;font-size:clamp(36px,4.6vw,54px);font-weight:800;line-height:1.1;margin:0}.hundred-equation-number{display:inline-flex;align-items:center;gap:8px;font:inherit;font-weight:900;color:#111;background:#fff;border:3px solid #111;border-radius:14px;padding:4px 14px;cursor:pointer}.hundred-equation-number .sketch-image{width:28px;height:28px;flex-shrink:0}.hundred-equation-unknown{display:inline-grid;place-items:center;min-width:64px;padding:2px 16px;border:3px dashed #111;border-radius:12px;background:#f5f5f5;font-weight:900}.hundred-equation-solved{display:inline-grid;place-items:center;min-width:64px;padding:2px 16px;border:3px solid #111;border-radius:12px;background:#111;color:#fff;font-weight:900}.hundred-table-lesson .staged-number-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:min(100%,620px)}.hundred-table-lesson .foundation-choice{min-width:0;font-size:40px;font-weight:900;min-height:84px}.hundred-two-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;width:min(100%,780px);margin:auto}.hundred-part-node{text-align:center;border:3px solid #111;border-radius:16px;background:#fff;padding:10px 14px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}.hundred-part-node.is-missing{border:3px dashed #111;background:#fafafa}.hundred-part-label{font-size:15px;font-weight:800;letter-spacing:.03em;color:#444}.hundred-parts-lesson button.hundred-part-number,.hundred-parts-lesson strong.hundred-part-number{font:inherit;font-size:46px;font-weight:900;line-height:1.05;background:none;border:0;padding:0}.hundred-parts-lesson button.hundred-part-number.is-speaker{display:inline-flex;align-items:center;gap:8px;padding:4px 14px;border:3px solid #111;border-radius:14px;background:#fff;color:#111;font-size:46px;font-weight:900;line-height:1.05;cursor:pointer}.hundred-part-number.is-speaker .sketch-image{width:24px;height:24px;flex-shrink:0}.hundred-parts-lesson button.hundred-part-number.is-speaker:focus-visible{outline:4px solid #111;outline-offset:2px}.hundred-part-number.is-unknown{display:inline-grid;place-items:center;min-width:64px;padding:4px 16px;border:3px dashed #111;border-radius:12px;background:#f5f5f5;font-size:46px;font-weight:900}.hundred-part-number.is-solved{display:inline-grid;place-items:center;min-width:64px;padding:4px 16px;border-radius:12px;background:#111;color:#fff;font-size:46px;font-weight:900}.hundred-whole{width:min(100%,440px);margin:auto}.hundred-whole .hundred-part-node{flex-direction:row;justify-content:center;flex-wrap:wrap}.hundred-part-branches{text-align:center;font-size:30px;line-height:1.2}.hundred-parts-lesson .place-value-material{gap:8px;align-items:center;min-height:70px}.hundred-parts-lesson .place-value-tens:empty,.hundred-parts-lesson .place-value-units:empty{display:none}.hundred-parts-lesson .place-value-tens{grid-template-columns:repeat(3,max-content);gap:5px}.hundred-parts-lesson .place-value-rod{grid-template-columns:repeat(10,7px);height:12px}.hundred-parts-lesson .place-value-rod i{width:7px;height:12px}.hundred-parts-lesson .place-value-unit{width:16px;height:16px}.hundred-parts-lesson .place-value-units{grid-template-columns:repeat(5,16px);gap:5px}.hundred-parts-lesson .place-value-hundred{grid-template-columns:repeat(10,10px)}.hundred-parts-lesson .place-value-hundred i{width:10px;height:10px}.hundred-parts-equation{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 20px;border:3px solid #111;border-radius:14px;background:#f5f5f5;font-size:clamp(24px,3vw,32px);font-weight:900;text-align:center;margin:4px 0}.hundred-transfer-controls{display:flex;justify-content:center;gap:22px;margin-top:4px}.hundred-transfer-controls>div{display:flex;gap:10px}.hundred-parts-lesson .hundred-transfer-controls .counting-button{min-height:54px;font-size:26px;padding:6px 22px}#app .hundred-parts-lesson button.counting-button.hundred-parts-finish{display:block;min-height:56px;min-width:10rem;padding:10px 26px;margin:4px auto 0}#app .hundred-parts-lesson button.counting-button.hundred-parts-finish.is-wrong{opacity:.55;background:#eee;color:#777;border-color:#bbb;cursor:default}#app .hundred-parts-lesson button.counting-button.hundred-parts-finish.is-correct{opacity:1;background:#111;color:#fff;outline:3px solid #111;outline-offset:3px}.hundred-parts-lesson .staged-number-choices{grid-template-columns:repeat(3,minmax(120px,210px));gap:16px;width:min(680px,100%);margin-top:4px}.hundred-parts-lesson .staged-number-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.hundred-parts-lesson .staged-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}@media (max-width: 900px){.hundred-table-workspace{grid-template-columns:1fr;gap:16px}.hundred-context-table{width:min(100%,340px);margin:auto}.hundred-context-cell{height:27px;font-size:14px}.hundred-table-lesson .hundred-enlarged-row,.hundred-enlarged-row{grid-template-columns:repeat(10,minmax(0,1fr));max-width:100%;gap:4px;padding:8px}.hundred-table-lesson button.hundred-row-number,.hundred-enlarged-row>span.hundred-row-number{font-size:24px;min-height:52px}}@media (max-width: 800px){.hundred-parts-lesson .place-value-tens{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 500px){.hundred-line-lesson button.hundred-tick,.hundred-track>span.hundred-tick{font-size:20px}.hundred-tick-label{min-width:28px;padding:2px 3px}.hundred-two-parts{gap:10px}.hundred-table-lesson button.hundred-row-number,.hundred-row-number{font-size:20px}.hundred-transfer-controls{gap:12px}.hundred-parts-lesson .hundred-transfer-controls .counting-button{padding:6px 12px}}@media (max-height: 680px){.hundred-line-workspace{gap:12px}.hundred-line-card{padding:16px 12px 12px}.hundred-context-cell{height:27px;font-size:14px}.hundred-table-task{gap:14px}.hundred-table-lesson button.hundred-row-number{min-height:54px}.hundred-step-equation{padding:10px 18px;font-size:clamp(30px,4vw,44px)}.hundred-parts-workspace{gap:8px}.hundred-part-node{padding:8px 10px}.hundred-parts-lesson button.hundred-part-number.is-speaker,.hundred-parts-lesson strong.hundred-part-number{font-size:38px}.hundred-parts-equation{padding:6px 14px;font-size:clamp(20px,2.6vw,26px)}}@media (max-height: 600px){.hundred-line-workspace{gap:8px}.hundred-parts-workspace{gap:6px}.hundred-part-node{padding:6px 8px;gap:4px}.hundred-parts-lesson button.hundred-part-number.is-speaker,.hundred-parts-lesson strong.hundred-part-number{font-size:32px}.hundred-part-number.is-speaker .sketch-image{width:20px;height:20px}.hundred-transfer-controls{gap:12px}.hundred-parts-lesson .hundred-transfer-controls .counting-button{min-height:44px;font-size:20px;padding:4px 14px}.hundred-parts-equation{padding:4px 12px;font-size:20px}.hundred-line-context,.hundred-scale{padding:4px 12px;font-size:16px}.hundred-line-card{padding:12px 10px 10px}.hundred-line-lesson button.hundred-tick,.hundred-track>span.hundred-tick{min-height:72px;font-size:clamp(20px,3vw,30px)}.hundred-tick-mark{height:26px;margin:2px 0 6px}.hundred-track:before{top:19px}.hundred-line-lesson .staged-number-choices button.counting-button,.hundred-table-lesson .foundation-choice{min-height:66px;font-size:32px}.hundred-context-cell{height:24px;font-size:13px}.hundred-table-task{gap:10px}.hundred-table-lesson button.hundred-row-number{min-height:48px;font-size:20px}.hundred-step-equation{padding:8px 14px;font-size:clamp(26px,3.6vw,38px)}.hundred-equation-number .sketch-image{width:22px;height:22px}}.hundred-parts-lesson [data-parts-finish]:disabled,.hundred-parts-lesson [data-parts-from]:disabled{color:inherit}.hundred-parts-lesson .hundred-transfer-controls button:disabled{opacity:.4}.hundred-parts-lesson:has(.counting-actions) [data-parts-from]:disabled,.hundred-parts-lesson:has(.counting-actions) [data-parts-finish]:disabled{opacity:1}.hundred-parts-lesson button.hundred-part-number:disabled{opacity:1;color:inherit}.hundred-parts-lesson .counting-stage{gap:8px;padding-top:8px;padding-bottom:8px}.hundred-parts-lesson .counting-status:empty{min-height:0;margin:0}.hundred-whole{width:min(100%,560px)}.hundred-whole .hundred-part-node{flex-wrap:nowrap;gap:16px}.hundred-whole .place-value-material{width:auto;min-height:0}.hundred-parts-workspace.is-model [data-parts-from]:disabled{opacity:1}.hundred-part-branches{line-height:1;font-size:24px}@media (max-width: 500px){.hundred-whole .hundred-part-node{flex-wrap:wrap;gap:6px}.hundred-whole .place-value-material{width:100%}}.estimation-staged-lesson .counting-stage{gap:8px;padding-top:8px;padding-bottom:8px}.estimation-staged-lesson .counting-status:empty{display:none}.estimate-workspace{width:min(100%,980px);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px}.estimate-references{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}.estimate-reference{display:grid;gap:4px;justify-items:center;padding:8px 14px;border:3px solid #111;border-radius:14px;background:#fff}.estimate-reference span{font-size:19px;font-weight:700}.estimate-reference-items{display:grid;grid-template-columns:repeat(5,34px);gap:2px}.estimate-sketch{display:block;object-fit:contain;width:34px;height:34px}.estimate-reference-items .estimate-sketch{width:34px;height:34px}.estimate-scatter{position:relative;width:min(100%,840px);height:260px;border:3px solid #111;border-radius:18px;background:#fff;padding:10px;box-sizing:border-box}.estimate-scatter>span{position:absolute;left:calc(var(--estimate-x) * 1% + 14px);top:calc(var(--estimate-y) * 1% + 10px);transform:rotate(var(--estimate-angle))}.estimate-organised{display:grid;gap:10px;width:min(100%,800px);border:3px solid #111;border-radius:18px;background:#fff;padding:12px;box-sizing:border-box}.estimate-organised.is-five{grid-template-columns:repeat(2,minmax(0,1fr))}.estimate-organised.is-ten{grid-template-columns:repeat(3,minmax(0,1fr))}.estimation-staged-lesson button.estimate-count-group{display:grid;width:100%;min-width:0;grid-template-columns:repeat(var(--estimate-columns),minmax(0,1fr));justify-items:center;align-items:center;min-height:48px;border:2px dashed #555;border-radius:12px;background:#fafafa;padding:4px 8px;cursor:pointer}.estimation-staged-lesson button.estimate-count-group:focus-visible{outline:4px solid #111;outline-offset:2px}.estimation-staged-lesson button.estimate-count-group .estimate-sketch{width:100%;max-width:34px;height:auto;aspect-ratio:1;object-fit:contain}.estimation-staged-lesson button.estimate-count-group:disabled{opacity:1;color:inherit}.estimation-staged-lesson button.estimate-count-group.is-counted{border:3px solid #111;background:#efefef;outline:2px solid #111;outline-offset:1px;cursor:default}.estimation-staged-lesson .staged-number-choices{width:min(100%,720px);grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.estimation-staged-lesson .staged-number-choices button.counting-button{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:36px;font-weight:900;min-height:86px;padding:8px}.estimation-staged-lesson .staged-number-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.estimation-staged-lesson .staged-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}.estimate-between{font-size:18px;font-weight:700}.estimate-selected-range{font-size:32px;margin:4px}.estimation-staged-lesson button.estimate-total{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:6px 22px;border:3px solid #111;border-radius:16px;background:#fff;color:#111;font-size:clamp(40px,6.5vh,56px);font-weight:900;line-height:1.05;min-height:60px;cursor:pointer}.estimation-staged-lesson button.estimate-total:focus-visible{outline:4px solid #111;outline-offset:3px}.estimate-total .sketch-image{width:28px;height:28px;flex-shrink:0}#app .estimation-staged-lesson button.counting-button.estimate-organise{min-height:58px;min-width:12rem;padding:10px 26px;font-size:1.35rem}.estimate-model-action{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}#app .estimation-staged-lesson .estimate-model-action button.is-model-pill:disabled{opacity:1;font-size:24px}@media (max-width: 650px){.estimate-sketch{width:28px;height:28px}.estimate-scatter{width:96%;height:220px}.estimate-references{gap:12px}.estimate-reference-items{grid-template-columns:repeat(5,28px)}.estimate-reference-items .estimate-sketch{width:28px;height:28px}.estimate-organised.is-ten{grid-template-columns:repeat(2,minmax(0,1fr))}.estimation-staged-lesson .staged-number-choices button.counting-button{min-width:0;width:100%;max-width:100%;padding:8px 4px;font-size:clamp(20px,5.3vw,28px);white-space:normal}}@media (max-height: 680px){.estimate-workspace{gap:8px}.estimate-scatter{height:215px}.estimate-organised{padding:8px;gap:8px}.estimation-staged-lesson button.estimate-count-group{min-height:40px}.estimation-staged-lesson button.estimate-total{font-size:40px;padding:4px 18px}}@media (max-height: 600px){.estimate-workspace{gap:6px}.estimate-reference{padding:4px 10px}.estimate-reference span{font-size:16px}.estimate-reference-items{grid-template-columns:repeat(5,26px)}.estimate-reference-items .estimate-sketch,.estimate-sketch{width:26px;height:26px}.estimate-scatter{height:185px}.estimation-staged-lesson .staged-number-choices button.counting-button{min-height:66px;font-size:28px}}.hundred-calc-workspace{width:min(100%,1020px);margin:0 auto;display:grid;justify-items:center;gap:12px}.hundred-calc-lesson .counting-stage{gap:10px}.hundred-calc-lesson .counting-status:empty{display:none}.hundred-calc-fact{padding:5px 16px;border:2px dashed #555;border-radius:999px;background:#fafafa;font-size:clamp(18px,2.2vw,24px);font-weight:700;margin:0}.hundred-calc-equation{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:10px 22px;border:3px solid #111;border-radius:16px;background:#fff;font-size:clamp(34px,4.6vw,48px);font-weight:800;line-height:1.1;margin:0}.hundred-calc-lesson button.hundred-calc-number{font:inherit;font-weight:900;background:none;color:#111;border:0;padding:0 4px;border-radius:8px;cursor:pointer}.hundred-calc-lesson button.hundred-calc-number:focus-visible{outline:4px solid #111;outline-offset:2px}.hundred-calc-lesson button.hundred-calc-number.is-featured{display:inline-flex;align-items:center;gap:8px;padding:2px 12px;border:3px solid #111;border-radius:12px;background:#fff}.hundred-calc-number.is-featured .sketch-image{width:24px;height:24px;flex-shrink:0}.hundred-calc-unknown{display:inline-grid;place-items:center;min-width:56px;padding:2px 14px;border:3px dashed #111;border-radius:12px;background:#f5f5f5;font-weight:900}.hundred-calc-solved{display:inline-grid;place-items:center;min-width:56px;padding:2px 14px;border-radius:12px;background:#111;color:#fff;font-weight:900}.hundred-calc-trays{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%}.hundred-calc-trays.is-single{grid-template-columns:1fr;width:min(100%,650px)}.hundred-calc-tray{border:3px solid #111;border-radius:16px;background:#fff;padding:12px 14px;min-width:0;box-sizing:border-box}.hundred-calc-tray h3{font-size:19px;font-weight:800;text-align:center;margin:0 0 8px}.hundred-calc-material{display:grid;justify-items:center;align-content:start;gap:12px;min-height:150px}.hundred-calc-tens:empty,.hundred-calc-units:empty{display:none}.hundred-calc-tens{display:grid;grid-template-columns:repeat(3,max-content);gap:4px;justify-content:center}.hundred-calc-lesson .hundred-calc-rod{display:grid;grid-template-columns:repeat(10,10px);height:24px;width:104px;border:2px solid #111;background:#fff;box-sizing:border-box;padding:0}.hundred-calc-rod i{border-right:1px solid #111;width:10px;height:20px;box-sizing:border-box}.hundred-calc-rod i:last-child{border:0}.hundred-calc-units{display:grid;grid-template-columns:repeat(5,44px);gap:4px}.hundred-calc-lesson .hundred-calc-unit{width:30px;height:30px;border:2px solid #111;background:#fff;padding:0;box-sizing:border-box}.hundred-calc-lesson .hundred-calc-piece{position:relative;display:grid;place-items:center;background:none;border:2px solid transparent;border-radius:8px;padding:0;min-height:44px;box-sizing:border-box}.hundred-calc-lesson button.hundred-calc-piece{cursor:pointer;border:2px dashed #777;background:#fafafa}.hundred-calc-lesson button.hundred-calc-piece:focus-visible{outline:4px solid #111;outline-offset:2px}.hundred-calc-lesson .hundred-calc-piece.is-ten{width:116px}.hundred-calc-lesson .hundred-calc-piece.is-unit{width:44px}.hundred-calc-piece.is-removed,.hundred-calc-piece.is-moved{opacity:.35}.hundred-calc-piece.is-removed:after{content:"";position:absolute;border-top:3px solid #111;inset:50% 4px auto;transform:rotate(-12deg)}.hundred-calc-piece.is-moved:after{content:"←";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:24px;font-weight:900;color:#111}.hundred-calc-empty{padding:6px 14px;border:2px dashed #999;border-radius:12px;background:#fafafa;font-size:22px;font-weight:700;color:#555}.hundred-calc-decade-line{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));width:100%;border:3px solid #111;border-radius:14px;background:#fff;padding:8px 6px;box-sizing:border-box}.hundred-calc-decade-line>span{font-size:26px;text-align:center;border:2px solid transparent;border-radius:8px}.hundred-calc-decade-line .is-current{border-color:#111;background:#111;color:#fff;font-weight:900}.hundred-calc-decade-line .is-current button.hundred-calc-number{color:#fff}.hundred-calc-decade-line .is-start:not(.is-current){font-weight:900;text-decoration:underline}.hundred-calc-jumps{position:relative;width:80%;margin-top:30px;height:48px;border-top:4px solid #111}.hundred-calc-jumps>span{position:absolute;top:8px;transform:translate(-50%);font-size:28px;font-weight:800}.hundred-calc-jumps>span.hundred-calc-arc{top:-30px;height:26px;transform:none;border:2px dashed #111;border-bottom:0;border-radius:80% 80% 0 0;box-sizing:border-box}.hundred-calc-arc>span{position:absolute;left:50%;top:-16px;transform:translate(-50%);font-size:17px;font-weight:800;white-space:nowrap;background:#fff;border:2px solid #111;border-radius:999px;padding:1px 8px}.hundred-calc-lesson .staged-number-choices{grid-template-columns:repeat(3,minmax(120px,200px));gap:16px;width:min(640px,100%)}.hundred-calc-lesson .staged-number-choices button.counting-button{font-size:clamp(1.8rem,4vw,2.5rem);font-weight:900;min-height:78px}.hundred-calc-lesson .staged-number-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.hundred-calc-lesson .staged-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}@media (max-width: 700px){.hundred-calc-tens{grid-template-columns:repeat(2,max-content)}.hundred-calc-trays{gap:10px}.hundred-calc-lesson .hundred-calc-rod{grid-template-columns:repeat(10,8px);width:84px}.hundred-calc-rod i{width:8px}.hundred-calc-lesson .hundred-calc-piece.is-ten{width:92px}.hundred-calc-equation{font-size:36px}.hundred-calc-decade-line>span{font-size:20px}}@media (max-width: 450px){.hundred-calc-tens{grid-template-columns:1fr}.hundred-calc-units{grid-template-columns:repeat(3,26px)}.hundred-calc-lesson .hundred-calc-unit{width:26px;height:26px}}@media (max-height: 680px){.hundred-calc-workspace{gap:8px}.hundred-calc-equation{padding:8px 16px;font-size:clamp(28px,4vw,40px)}.hundred-calc-material{min-height:120px;gap:8px}.hundred-calc-lesson .staged-number-choices button.counting-button{min-height:66px}}@media (max-height: 600px){.hundred-calc-workspace{gap:6px}.hundred-calc-fact{padding:3px 12px;font-size:16px}.hundred-calc-equation{padding:6px 12px;font-size:clamp(24px,3.6vw,34px)}.hundred-calc-number.is-featured .sketch-image{width:20px;height:20px}.hundred-calc-tray{padding:8px 10px}.hundred-calc-tray h3{font-size:16px;margin-bottom:4px}.hundred-calc-material{min-height:100px}}.exchange-workspace,.strategy-workspace,.visible-chain-workspace{width:min(100%,1000px);margin:0 auto;display:grid;justify-items:center;gap:12px}.exchange-ten-lesson .counting-stage,.strategy-route-lesson .counting-stage,.visible-chain-lesson .counting-stage{gap:8px;padding-top:8px;padding-bottom:8px}.exchange-ten-lesson .counting-status:empty,.strategy-route-lesson .counting-status:empty,.visible-chain-lesson .counting-status:empty{display:none}.exchange-equation,.strategy-equation{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:10px 22px;border:3px solid #111;border-radius:16px;background:#fff;font-size:clamp(32px,4.4vw,46px);font-weight:800;line-height:1.1;margin:0}.visible-chain-equation{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;font-size:clamp(32px,4.4vw,46px);font-weight:900;line-height:1.1;margin:0}button.exchange-number{font:inherit;font-weight:900;border:0;background:none;color:#111;padding:0 4px;border-radius:8px;min-height:44px;cursor:pointer}button.exchange-number:focus-visible{outline:4px solid #111;outline-offset:2px}button.exchange-number.is-featured{display:inline-flex;align-items:center;gap:8px;padding:2px 12px;border:3px solid #111;border-radius:12px;background:#fff}button.exchange-number.is-featured .sketch-image{width:24px;height:24px;flex-shrink:0}.exchange-unknown{display:inline-grid;place-items:center;min-width:56px;padding:2px 14px;border:3px dashed #111;border-radius:12px;background:#f5f5f5;font-weight:900}.exchange-solved{display:inline-grid;place-items:center;min-width:56px;padding:2px 14px;border-radius:12px;background:#111;color:#fff;font-weight:900}button.strategy-number,button.chain-number{font:inherit;font-weight:900;border:0;background:none;color:#111;padding:0 4px;border-radius:8px;min-height:44px;cursor:pointer}button.strategy-number:focus-visible,button.chain-number:focus-visible{outline:4px solid #111;outline-offset:2px}button.strategy-number.is-featured,button.chain-number.is-featured{display:inline-flex;align-items:center;gap:8px;padding:2px 12px;border:3px solid #111;border-radius:12px;background:#fff}button.strategy-number.is-featured .sketch-image,button.chain-number.is-featured .sketch-image{width:24px;height:24px;flex-shrink:0}.strategy-unknown{display:inline-grid;place-items:center;min-width:56px;padding:2px 14px;border:3px dashed #111;border-radius:12px;background:#f5f5f5;font-weight:900}.strategy-solved{display:inline-grid;place-items:center;min-width:56px;padding:2px 14px;border-radius:12px;background:#111;color:#fff;font-weight:900}.exchange-trays{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.exchange-trays.is-single{grid-template-columns:1fr;width:min(100%,680px)}.exchange-tray{border:3px solid #111;border-radius:16px;background:#fff;padding:12px 14px;min-width:0;box-sizing:border-box}.exchange-tray h3{font-size:19px;font-weight:800;margin:0 0 8px;text-align:center}.exchange-material{display:grid;justify-items:center;gap:8px;min-height:100px;align-content:start}.exchange-tens:empty,.exchange-units:empty{display:none}.exchange-tens{display:grid;grid-template-columns:repeat(4,112px);gap:4px;justify-content:center}.exchange-trays:not(.is-single) .exchange-tens{grid-template-columns:repeat(3,112px)}.exchange-units{display:grid;grid-template-columns:repeat(5,44px);gap:4px}.exchange-piece{display:grid;place-items:center;min-height:44px;border:2px solid transparent;background:none;padding:0;border-radius:8px;box-sizing:border-box;position:relative}button.exchange-piece{cursor:pointer;border:2px dashed #777;background:#fafafa}button.exchange-piece:focus-visible{outline:4px solid #111;outline-offset:2px}.exchange-piece.is-ten{width:112px}.exchange-piece.is-unit{width:44px}.exchange-piece.is-selected{border:3px solid #111;background:#e5e5e5;outline:2px solid #111;outline-offset:1px}.exchange-piece.is-gone{opacity:.35}.exchange-piece.is-gone:after{content:"";position:absolute;border-top:3px solid #111;width:90%;transform:rotate(-15deg)}.exchange-piece.is-moved:after{content:"←";border:0;width:auto;transform:none;display:grid;place-items:center;font-size:24px;font-weight:900;color:#111}.exchange-rod{display:grid;grid-template-columns:repeat(10,10px);width:104px;height:24px;border:2px solid #111;box-sizing:border-box;background:#fff}.exchange-rod i{width:10px;height:20px;box-sizing:border-box;border-right:1px solid #111}.exchange-rod i:last-child{border:0}.exchange-unit{width:28px;height:28px;box-sizing:border-box;border:2px solid #111;background:#fff}.exchange-value{padding:6px 16px;border:2px solid #111;border-radius:999px;background:#f5f5f5;font-size:20px;font-weight:700;text-align:center;margin:0}.exchange-selection{padding:4px 14px;border:2px dashed #111;border-radius:999px;background:#fff;font-size:19px;font-weight:800;text-align:center;margin:0}#app .exchange-ten-lesson button.counting-button.exchange-action{font-size:21px;min-height:58px;padding:10px 24px}#app .exchange-ten-lesson button.counting-button.exchange-action:disabled:not(.is-model-action){opacity:1;background:#f2f2f2;color:#555;border:2px dashed #888;cursor:default}#app .exchange-ten-lesson button.counting-button.exchange-action.is-model-action:disabled{opacity:1;background:#111;color:#fff;border:2px solid #111}.exchange-ten-lesson .staged-number-choices{grid-template-columns:repeat(3,minmax(120px,200px));gap:16px;width:min(640px,100%)}.exchange-ten-lesson .staged-number-choices button.counting-button{font-size:clamp(1.8rem,4vw,2.5rem);font-weight:900;min-height:78px}.exchange-ten-lesson .staged-number-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.exchange-ten-lesson .staged-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}.strategy-workspace{gap:14px}.strategy-chosen{padding:5px 16px;border:2px dashed #555;border-radius:999px;background:#fafafa;font-size:22px;font-weight:800;margin:0;min-height:0;text-align:center}.strategy-line{position:relative;width:100%;height:122px;margin:0;border:3px solid #111;border-radius:18px;background:#fff;box-sizing:border-box}.strategy-baseline{position:absolute;left:8%;right:8%;top:54px;border-top:4px solid #111}.strategy-arc{position:absolute;top:18px;height:36px;border:3px dashed #111;border-bottom:0;border-radius:80% 80% 0 0;box-sizing:border-box}.strategy-landing{position:absolute;top:64px;transform:translate(-50%);font-size:30px;font-weight:900}.strategy-landing:before{content:"";position:absolute;left:50%;top:-16px;height:14px;border-left:3px solid #111}.strategy-landing i{display:block;width:4px;height:4px}.strategy-landing.is-current{padding:0 8px;border:2px solid #111;border-bottom:3px solid #111;border-radius:10px;background:#efefef}.strategy-current{padding:4px 16px;border:2px solid #111;border-radius:999px;background:#f5f5f5;font-size:22px;font-weight:800;margin:0;min-height:0}.strategy-option{display:grid;justify-items:center;gap:8px;font-size:24px}.strategy-option>span:first-child{font-size:36px;font-weight:700}.strategy-route-lesson .staged-number-choices .counting-button{min-height:140px}.strategy-jump-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.strategy-jump-buttons .counting-button{min-width:100px;font-size:28px;min-height:70px}.strategy-undo{min-height:56px;font-size:22px}.strategy-jump-buttons .is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}.visible-chain-panel{width:min(100%,700px);border:3px solid #111;border-radius:16px;background:#fff;padding:14px 22px;text-align:center;box-sizing:border-box}.visible-chain-panel.is-reference{background:#f5f5f5}.visible-chain-panel.is-active{outline:3px solid #111;outline-offset:2px;background:#fff}.chain-caption{font-size:16px;font-weight:800;letter-spacing:.03em;color:#444;margin:0 0 6px}.chain-link{padding:4px 16px;border:2px dashed #555;border-radius:999px;background:#fafafa;font-size:20px;font-weight:800;text-align:center}.visible-chain-panel.is-waiting{border:3px dashed #888;background:#fafafa;color:#666}.visible-chain-panel.is-complete{background:#efefef;border-color:#111}@media (max-width: 700px){.exchange-trays{gap:10px}.exchange-tens,.exchange-trays:not(.is-single) .exchange-tens{grid-template-columns:repeat(2,112px)}.exchange-equation,.strategy-equation,.visible-chain-equation{font-size:40px}.strategy-jump-buttons .counting-button{min-width:80px}.strategy-option{font-size:20px}}@media (max-width: 450px){.exchange-trays{grid-template-columns:1fr}.exchange-units{grid-template-columns:repeat(5,40px)}.exchange-piece.is-unit{width:40px}.strategy-chosen{font-size:22px}}.strategy-route-lesson .staged-number-choices .counting-button:disabled:not(.is-wrong),.strategy-route-lesson .strategy-jump-buttons .counting-button:disabled:not(.is-wrong){opacity:1;color:inherit}.strategy-option.is-chosen{font-weight:700}.strategy-route-lesson .strategy-jump-buttons .counting-button{min-width:88px}.strategy-route-lesson .strategy-current:empty{display:none}.strategy-route-lesson .counting-actions{margin-top:0}.strategy-route-lesson .counting-choices.staged-number-choices{grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,900px);gap:16px}.strategy-route-lesson .counting-choices.staged-number-choices button.counting-button{width:100%;min-height:126px;padding:12px;height:100%}.strategy-route-lesson .counting-choices.staged-number-choices button.counting-button.is-correct,.strategy-route-lesson .counting-choices.staged-number-choices button.counting-button:has(.strategy-option.is-chosen){opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.strategy-route-lesson .counting-choices.staged-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}.visible-chain-lesson .staged-number-choices{grid-template-columns:repeat(3,minmax(120px,200px));gap:16px;width:min(640px,100%)}.visible-chain-lesson .staged-number-choices button.counting-button{font-size:clamp(1.8rem,4vw,2.5rem);font-weight:900;min-height:78px}.visible-chain-lesson .staged-number-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.visible-chain-lesson .staged-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}.strategy-option{white-space:nowrap}.strategy-option>span:first-child{font-size:32px}@media (max-width: 700px){.strategy-route-lesson .counting-choices.staged-number-choices{gap:8px}.strategy-option{white-space:normal;font-size:18px}.strategy-option>span:first-child{font-size:26px}}@media (max-height: 680px){.exchange-workspace{gap:8px}.exchange-equation{padding:8px 16px;font-size:clamp(28px,4vw,38px)}.exchange-tray{padding:8px 10px}.exchange-material{min-height:80px;gap:6px}#app .exchange-ten-lesson button.counting-button.exchange-action{min-height:50px;font-size:19px;padding:8px 18px}.exchange-ten-lesson .staged-number-choices button.counting-button{min-height:66px}.strategy-workspace,.visible-chain-workspace{gap:8px}.strategy-equation{padding:8px 16px;font-size:clamp(28px,4vw,38px)}.strategy-line{height:106px}.strategy-baseline{top:46px}.strategy-arc{top:14px;height:32px}.strategy-landing{top:54px;font-size:26px}.visible-chain-panel{padding:10px 16px}.visible-chain-equation{font-size:clamp(28px,4vw,38px)}.visible-chain-lesson .staged-number-choices button.counting-button{min-height:66px}}@media (max-height: 600px){.exchange-workspace{gap:6px}.exchange-equation{padding:6px 12px;font-size:clamp(24px,3.6vw,32px)}button.exchange-number.is-featured .sketch-image{width:20px;height:20px}.exchange-tray h3{font-size:16px;margin-bottom:4px}.exchange-value,.exchange-selection{font-size:17px}.strategy-workspace,.visible-chain-workspace{gap:6px}.strategy-equation{padding:6px 12px;font-size:clamp(24px,3.6vw,32px)}.strategy-chosen,.strategy-current,.chain-link{font-size:18px}button.strategy-number.is-featured .sketch-image,button.chain-number.is-featured .sketch-image{width:20px;height:20px}.strategy-route-lesson .counting-choices.staged-number-choices button.counting-button{min-height:98px;padding:8px}.visible-chain-panel{padding:8px 12px}.visible-chain-equation{font-size:clamp(24px,3.6vw,32px)}}.calendar-learning-workspace,.story-hundred-workspace{width:min(100%,1020px);margin:0 auto;display:grid;justify-items:center;gap:10px}.calendar-learning-lesson .counting-stage,.story-hundred-lesson .counting-stage{gap:8px;padding-top:8px;padding-bottom:8px}.calendar-learning-lesson .counting-status:empty,.story-hundred-lesson .counting-status:empty{display:none}.calendar-learning-lesson .foundation-prompt-row h2,.story-hundred-lesson .foundation-prompt-row h2{font-size:26px;line-height:1.25;max-width:870px}.lesson-calendars{width:min(100%,960px);display:flex;gap:20px;justify-content:center;align-items:flex-start}.lesson-month{width:min(100%,440px);padding:10px 12px;border:3px solid #111;border-radius:16px;background:#fff;box-sizing:border-box}.lesson-month h3{margin:0 0 6px;padding-bottom:4px;border-bottom:2px solid #111;text-align:center;font-size:26px}.calendar-label{font:inherit;font-weight:inherit;color:#111;background:transparent;border:0;padding:4px;min-height:40px;cursor:pointer;border-radius:8px}.calendar-label:focus-visible{outline:3px solid #111;outline-offset:2px}.lesson-weekdays,.lesson-month-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.lesson-weekdays{font-size:16px;font-weight:800;padding-bottom:4px;border-bottom:1px solid #ccc;margin-bottom:4px}.lesson-date{display:grid;place-items:center;border:2px solid transparent;border-radius:8px;font-size:24px;font-weight:800;line-height:1;min-height:40px;box-sizing:border-box;background:#fff;color:#111;padding:0}.lesson-date.is-reference{border:3px solid #111;border-radius:50%;background:#efefef;font-weight:900}.lesson-date.is-candidate{border:2px dashed #111;background:#fafafa;cursor:pointer}.lesson-date.is-candidate:focus-visible{outline:4px solid #111;outline-offset:2px}.lesson-date.is-focus,.lesson-date.is-selected{background:#111;color:#fff;border:3px solid #111;outline:2px solid #111;outline-offset:1px;opacity:1}.lesson-date.is-wrong{color:#777;background:#eee;border-color:#bbb;opacity:.45}.calendar-key{padding:5px 18px;border:2px solid #111;border-radius:999px;background:#f5f5f5;font-size:20px;font-weight:800;text-align:center;margin:0}.calendar-legend{font-size:17px;font-weight:600;color:#444;text-align:center;margin:0}.calendar-answer-grid{width:min(100%,880px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.calendar-answer{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 50px;align-items:center;gap:6px}.calendar-learning-lesson .calendar-answer button.counting-button{min-height:74px;padding:8px;font-size:23px}.calendar-option-sound{display:inline-grid;place-items:center;width:48px;height:48px;border:2px solid #111;border-radius:999px;background:#fff;color:#111;cursor:pointer}.calendar-option-sound:focus-visible{outline:4px solid #111;outline-offset:2px}.calendar-option-sound .sketch-image{width:24px;height:24px}.calendar-learning-lesson .calendar-answer button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.calendar-learning-lesson .calendar-answer button.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}.lesson-year{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,820px);gap:12px}.lesson-year .calendar-label{border:3px solid #111;border-radius:14px;background:#fff;font-size:24px;font-weight:800;min-height:58px;padding:6px 12px}.lesson-year .calendar-label.is-focus{background:#111;color:#fff;border-color:#111;outline:3px solid #111;outline-offset:2px}.story-hundred-workspace{gap:10px}.story-scene-details{display:flex;justify-content:center;gap:8px;pointer-events:none;opacity:.45}.story-scene-details .sketch-image{width:28px;height:28px;object-fit:contain}.story-known-groups,.story-calc-trays{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%}.story-calc-trays.is-single{grid-template-columns:1fr;width:min(100%,680px)}.story-known{padding:12px 14px;border:3px solid #111;border-radius:16px;background:#fff;min-width:0;display:grid;justify-items:center;align-content:start;gap:8px;box-sizing:border-box}.story-known h3{margin:0;font-size:20px;font-weight:800;text-align:center;min-height:28px}.story-rods:empty,.story-units:empty{display:none}.story-rods{display:grid;grid-template-columns:repeat(3,max-content);gap:4px;justify-content:center}.story-rod{display:grid;grid-template-columns:repeat(10,10px);width:104px;height:24px;border:2px solid #111;box-sizing:border-box;background:#fff;margin:4px}.story-rod i{height:20px;width:10px;box-sizing:border-box;border-right:1px solid #111}.story-rod i:last-child{border:0}.story-units{display:grid;grid-template-columns:repeat(5,max-content);gap:4px;justify-content:center}.story-unit{display:inline-block;width:28px;height:28px;border:2px solid #111;box-sizing:border-box;background:#fff;margin:4px}.story-piece{display:grid;place-items:center;padding:0;background:none;border:2px solid transparent;border-radius:8px;min-height:44px;position:relative}button.story-piece{cursor:pointer;border:2px dashed #777;background:#fafafa}button.story-piece:focus-visible{outline:4px solid #111;outline-offset:2px}.story-piece.is-ten{width:116px}.story-piece.is-unit{width:44px}.story-piece.is-gone{opacity:.35}.story-piece.is-gone:after{content:"";position:absolute;border-top:3px solid #111;inset:50% 4px auto;transform:rotate(-14deg)}.story-piece.is-moved:after{content:"←";border:0;top:0;right:0;bottom:0;left:0;width:auto;transform:none;display:grid;place-items:center;font-size:24px;font-weight:900;color:#111}.story-small-quantity{display:grid;grid-template-columns:repeat(5,44px);grid-auto-rows:44px;gap:4px;min-height:44px;justify-content:center}.story-small-quantity .sketch-image{width:42px;height:42px;object-fit:contain}.story-build-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;margin-top:6px}.story-hundred-lesson .story-build-tools .counting-button{padding:6px;min-height:52px;font-size:22px}.story-hundred-lesson .story-build-tools .counting-button:disabled{opacity:.45;border-color:#bbb;color:#777}.story-strategies{display:flex;justify-content:center;gap:20px}.story-strategies .counting-button{min-width:180px;font-size:28px}.story-question{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:10px 22px;border:3px solid #111;border-radius:16px;background:#fff;font-size:clamp(30px,4.2vw,44px);font-weight:800;line-height:1.1;margin:0;text-align:center}.story-hundred-number{font:inherit;font-weight:900;border:0;padding:0 4px;background:none;color:#111;min-height:44px;border-radius:8px;cursor:pointer}.story-hundred-number:focus-visible{outline:4px solid #111;outline-offset:2px}.story-hundred-number.is-featured{display:inline-flex;align-items:center;gap:8px;padding:2px 12px;border:3px solid #111;border-radius:12px;background:#fff}.story-hundred-number.is-featured .sketch-image{width:24px;height:24px;flex-shrink:0}.story-unknown{display:inline-grid;place-items:center;min-width:56px;padding:2px 14px;border:3px dashed #111;border-radius:12px;background:#f5f5f5;font-weight:900}.story-solved{display:inline-grid;place-items:center;min-width:56px;padding:2px 14px;border-radius:12px;background:#111;color:#fff;font-weight:900}.story-relation{padding:5px 16px;border:2px solid #111;border-radius:999px;background:#f5f5f5;font-size:20px;font-weight:700;line-height:1.2;margin:0;text-align:center}.story-route-summary{padding:5px 16px;border:2px dashed #555;border-radius:999px;background:#fafafa;font-size:20px;font-weight:700;line-height:1.2;margin:0;text-align:center}.story-jump-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.story-hundred-lesson .story-jump-tools .counting-button{min-width:80px;min-height:56px;font-size:24px;padding:8px 16px}.story-jump-tools .is-wrong{opacity:.45;color:#777;background:#eee;border-color:#bbb}#app .story-hundred-lesson button.counting-button.story-primary-cta{min-height:56px;padding:10px 24px;font-size:21px}#app .story-hundred-lesson button.counting-button.story-primary-cta.is-model-cta:disabled{opacity:1;background:#111;color:#fff;border:2px solid #111}.story-hundred-lesson .staged-number-choices{grid-template-columns:repeat(3,minmax(120px,200px));gap:16px;width:min(640px,100%)}.story-hundred-lesson .staged-number-choices button.counting-button{font-size:clamp(1.8rem,4vw,2.5rem);font-weight:900;min-height:78px}.story-hundred-lesson .staged-number-choices button.counting-button.is-correct{opacity:1;background:#111;color:#fff;border:4px solid #111;outline:3px solid #111;outline-offset:3px}.story-hundred-lesson .staged-number-choices button.counting-button.is-wrong{opacity:.45;background:#eee;color:#777;border-color:#bbb}.story-hundred-lesson .counting-actions,.calendar-learning-lesson .counting-actions{margin:0}@media (max-width: 700px){.lesson-calendars{gap:8px}.lesson-month{padding:6px}.lesson-date{font-size:20px;min-height:36px}.lesson-weekdays{font-size:14px}.lesson-month h3{font-size:22px}.story-known-groups,.story-calc-trays{gap:10px}.story-rods{grid-template-columns:repeat(2,max-content)}.story-question{font-size:32px}.story-build-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-learning-lesson .calendar-answer button.counting-button{font-size:18px}.lesson-year .calendar-label{font-size:20px}}@media (max-width: 450px){.lesson-calendars{flex-wrap:wrap}.calendar-answer-grid{gap:6px}.calendar-answer{grid-template-columns:1fr 44px}.lesson-year{grid-template-columns:repeat(2,minmax(0,1fr))}.story-known-groups,.story-calc-trays{grid-template-columns:1fr}}@media (max-height: 680px){.calendar-learning-workspace,.story-hundred-workspace{gap:8px}.lesson-date{min-height:34px;font-size:20px}.lesson-month h3{font-size:22px}.lesson-year .calendar-label{min-height:48px;font-size:20px}.calendar-learning-lesson .calendar-answer button.counting-button{min-height:62px}.story-question{padding:8px 16px;font-size:clamp(26px,3.6vw,36px)}.story-known{padding:8px 10px}.story-hundred-lesson .staged-number-choices button.counting-button{min-height:66px}}@media (max-height: 600px){.calendar-learning-workspace,.story-hundred-workspace{gap:6px}.calendar-key{padding:3px 14px;font-size:17px}.lesson-date{min-height:30px;font-size:18px}.lesson-year .calendar-label{min-height:42px;font-size:18px;padding:4px 8px}.story-question{padding:6px 12px;font-size:clamp(22px,3.2vw,30px)}.story-hundred-number.is-featured .sketch-image{width:20px;height:20px}.story-relation,.story-route-summary{font-size:17px}}#app .dashboard-screen{--dash-ink: #111111;--dash-soft: #4b5563;--dash-mute: #6b7280;--dash-border: #111111;--dash-border-soft: #d1d5db;--dash-surface: #ffffff;--dash-tint: #f3f4f6;display:flex;flex-direction:column;width:100%;max-width:none;height:100dvh;margin:0;padding:0;overflow:hidden;background:var(--dash-surface);color:var(--dash-ink);font-family:inherit}#app .dashboard-screen .sketch-image{display:inline-block;vertical-align:middle;object-fit:contain}#app .dash-topbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px;padding:.65rem 1.25rem;background:var(--dash-surface);border-bottom:2px solid var(--dash-border)}#app .dash-topbar-left{display:flex;align-items:center;gap:.9rem;min-width:0}#app .dash-topbar-titles{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;min-width:0}#app .dash-topbar .dashboard-title{margin:0;font-size:1.3rem;font-weight:800;line-height:1.15;color:var(--dash-ink)}#app .dash-student-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .75rem;border:2px solid var(--dash-border);border-radius:999px;background:var(--dash-tint);color:var(--dash-ink);font-size:.9rem;font-weight:700}#app .dash-student-pill .sketch-image{width:1.05rem;height:1.05rem}#app .dash-topbar-right{display:flex;align-items:center;gap:.75rem;flex:0 0 auto}#app .dash-advanced-switch{display:inline-flex;align-items:center;gap:.55rem;min-height:48px;padding:.4rem .85rem;border:2px solid var(--dash-border);border-radius:999px;background:var(--dash-surface);color:var(--dash-ink);font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}#app .dash-advanced-switch .sketch-image{width:1.15rem;height:1.15rem}#app .dash-switch-track{position:relative;display:inline-block;width:40px;height:22px;border:2px solid var(--dash-border);border-radius:999px;background:var(--dash-surface);flex:0 0 auto}#app .dash-switch-thumb{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:var(--dash-ink);transition:transform .14s ease}#app .dash-advanced-switch.is-on{background:var(--dash-ink);color:var(--dash-surface)}#app .dash-advanced-switch.is-on .sketch-image{background:var(--dash-surface);border-radius:6px;padding:2px;box-sizing:content-box}#app .dash-advanced-switch.is-on .dash-switch-track{background:var(--dash-surface);border-color:var(--dash-surface)}#app .dash-advanced-switch.is-on .dash-switch-thumb{transform:translate(18px)}#app .dash-switch-state{font-size:.8rem;opacity:.85}#app .dash-workspace{flex:1 1 0;min-height:0;display:grid;grid-template-columns:236px minmax(0,1fr);overflow:hidden}#app .dash-nav{display:flex;flex-direction:column;justify-content:space-between;gap:1rem;padding:1.1rem .85rem;background:var(--dash-surface);border-right:2px solid var(--dash-border);overflow-y:auto}#app .dash-nav-list{display:flex;flex-direction:column;gap:.45rem}#app .dash-nav .dash-tab-btn{display:flex;align-items:center;justify-content:flex-start;gap:.7rem;width:100%;min-height:48px;padding:.6rem .9rem;border:2px solid transparent;border-radius:12px;background:transparent;color:var(--dash-ink);font:inherit;font-size:.98rem;font-weight:700;text-align:left;cursor:pointer}#app .dash-nav .dash-tab-btn:hover{border-color:var(--dash-border);background:var(--dash-tint)}#app .dash-nav .dash-tab-btn.active{border-color:var(--dash-border);background:var(--dash-ink);color:var(--dash-surface)}#app .dash-nav .dash-tab-btn .dash-tab-icon{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:8px;flex:0 0 auto}#app .dash-nav .dash-tab-btn .sketch-image{width:1.35rem;height:1.35rem}#app .dash-nav .dash-tab-btn.active .dash-tab-icon{background:var(--dash-surface)}#app .dash-nav-footer{padding-top:.85rem;border-top:2px dashed var(--dash-border-soft)}#app .dash-nav-footer .btn-dev-action{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:46px;padding:.55rem .8rem;border:2px solid var(--dash-border);border-radius:12px;background:var(--dash-surface);color:var(--dash-ink);font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}#app .dash-nav-footer .btn-dev-action .sketch-image{width:1.15rem;height:1.15rem}#app .dash-main{min-width:0;overflow-y:auto;padding:1.5rem 2rem 2.5rem;-webkit-overflow-scrolling:touch}#app .dash-tab-content{display:flex;flex-direction:column;gap:1.25rem;max-width:1320px}#app .dash-status-banner{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem;padding:.75rem 1rem;border:2px solid var(--dash-border);border-radius:12px;background:var(--dash-tint);color:var(--dash-ink);font-weight:700}#app .dash-status-banner.is-error{border-style:dashed;background:var(--dash-surface)}#app .dash-banner-close{min-width:34px;min-height:34px;border:2px solid var(--dash-border);border-radius:8px;background:var(--dash-surface);color:var(--dash-ink);font-size:1.1rem;font-weight:700;cursor:pointer}#app .dash-advanced-banner{margin-bottom:1rem;padding:.65rem 1rem;border:2px dashed var(--dash-border);border-radius:12px;background:var(--dash-tint);color:var(--dash-ink);font-size:.92rem}#app .dash-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0}#app .dash-kpi-card{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border:2px solid var(--dash-border);border-radius:16px;background:var(--dash-surface);box-shadow:none}#app .dash-kpi-icon{display:inline-flex;align-items:center;justify-content:center;width:3rem;height:3rem;border:2px solid var(--dash-border);border-radius:12px;background:var(--dash-tint);flex:0 0 auto}#app .dash-kpi-icon .sketch-image{width:1.9rem;height:1.9rem}#app .dash-kpi-value{display:block;font-size:1.75rem;font-weight:800;line-height:1.1;color:var(--dash-ink)}#app .dash-kpi-value small{font-size:.95rem;font-weight:600;color:var(--dash-soft)}#app .dash-kpi-label{display:block;margin-top:.2rem;font-size:.92rem;font-weight:600;color:var(--dash-soft)}#app .dash-subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}#app .dash-card-section{border:2px solid var(--dash-border);border-radius:16px;padding:1.15rem 1.25rem;background:var(--dash-surface);box-shadow:none;margin:0}#app .dash-card-section h2,#app .dash-card-section h3{margin:0 0 .35rem;font-size:1.08rem;font-weight:800;color:var(--dash-ink);display:flex;align-items:center;gap:.5rem}#app .dash-card-section h3 .sketch-image{width:1.3rem;height:1.3rem}#app .dash-subject-card{display:flex;flex-direction:column;justify-content:space-between;gap:.9rem}#app .dash-subject-card-head{display:flex;align-items:center;gap:.85rem}#app .dash-subject-card-icon{display:inline-flex;align-items:center;justify-content:center;width:3rem;height:3rem;border:2px solid var(--dash-border);border-radius:12px;background:var(--dash-tint);flex:0 0 auto}#app .dash-subject-card-icon .sketch-image{width:2rem;height:2rem}#app .dash-subject-card-head p{margin:0;font-size:.88rem;color:var(--dash-soft)}#app .dash-subject-counts{font-size:.95rem;color:var(--dash-ink);margin-bottom:.45rem}#app .dash-subject-counts span{color:var(--dash-soft)}#app .dash-progress-track{width:100%;height:12px;border:2px solid var(--dash-border);border-radius:999px;background:var(--dash-surface);overflow:hidden}#app .dash-progress-fill{height:100%;background:var(--dash-ink)}#app .dash-quick-profile-pills{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}#app .dash-section-intro{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}#app .dash-intro-text p,#app .dash-section-sub{margin:.25rem 0 0;font-size:.9rem;color:var(--dash-soft);line-height:1.4}#app .dash-intro-metrics{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem}#app .dash-mode-hint{margin:0;font-size:.85rem;color:var(--dash-soft)}#app .dash-chip{display:inline-flex;align-items:center;padding:.3rem .8rem;border:2px solid var(--dash-border);border-radius:999px;background:var(--dash-tint);color:var(--dash-ink);font-size:.88rem;font-weight:700}#app .btn-outline-action,#app .btn-small-action,#app .btn-switch-profile,#app .btn-table-action,#app .btn-danger-action{min-height:44px;padding:.5rem .95rem;border:2px solid var(--dash-border);border-radius:10px;background:var(--dash-surface);color:var(--dash-ink);font:inherit;font-size:.92rem;font-weight:700;cursor:pointer}#app .btn-small-action,#app .btn-switch-profile.is-active{background:var(--dash-ink);color:var(--dash-surface)}#app .btn-outline-action:disabled,#app .btn-switch-profile:disabled{opacity:.65;cursor:default}#app .btn-danger-action{border-style:dashed}#app .dash-section-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}#app .dashboard-table-wrap{border:2px solid var(--dash-border);border-radius:16px;background:var(--dash-surface);overflow-x:auto;box-shadow:none}#app .dashboard-table{width:100%;border-collapse:collapse;text-align:left}#app .dashboard-table th{padding:.75rem 1rem;background:var(--dash-tint);color:var(--dash-ink);font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em;border-bottom:2px solid var(--dash-border)}#app .dashboard-table td{padding:.75rem 1rem;border-bottom:1px solid var(--dash-border-soft);color:var(--dash-ink);font-size:.94rem;vertical-align:middle}#app .dashboard-table tbody tr:last-child td{border-bottom:none}#app .dash-item-cell{display:flex;align-items:center;gap:.65rem}#app .dash-glyph-preview{display:inline-flex;align-items:center;justify-content:center;min-width:2.3rem;height:2.3rem;padding:0 .4rem;border:1.5px solid var(--dash-border);border-radius:8px;font-size:1.25rem}#app .dash-reading-num{display:inline-flex;align-items:center;justify-content:center;min-width:2.3rem;height:2.3rem;border:1.5px solid var(--dash-border);border-radius:8px;font-weight:800}#app .dash-reading-titles,#app .dash-math-titles{display:flex;flex-direction:column}#app .dash-reading-titles span,#app .dash-math-titles span{font-size:.82rem;color:var(--dash-soft)}#app .dash-math-icon .sketch-image{width:2rem;height:2rem}#app .dash-due-badge{display:inline-block;padding:.2rem .6rem;border:1.5px solid var(--dash-border);border-radius:999px;font-size:.82rem;font-weight:700}#app .dash-due-ok{background:var(--dash-ink);color:var(--dash-surface)}#app .dash-due-overdue{border-style:dashed}#app .dash-empty-state{border:2px dashed var(--dash-border);border-radius:16px;padding:1.5rem;background:var(--dash-surface);text-align:center}#app .dash-empty-state p{margin:0 0 .3rem;font-weight:700}#app .dash-empty-state span{font-size:.9rem;color:var(--dash-soft)}#app .dash-filter-pills{display:inline-flex;gap:.4rem;flex-wrap:wrap}#app .dash-filter-btn{min-height:40px;padding:.35rem .8rem;border:2px solid var(--dash-border);border-radius:999px;background:var(--dash-surface);color:var(--dash-ink);font:inherit;font-size:.86rem;font-weight:700;cursor:pointer}#app .dash-filter-btn.active{background:var(--dash-ink);color:var(--dash-surface)}#app .parent-lesson-group{margin-top:1.1rem}#app .parent-lesson-group h4{margin:0 0 .6rem;font-size:.95rem;font-weight:800;color:var(--dash-ink)}#app .parent-lesson-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.85rem}#app .parent-lesson-card{display:flex;flex-direction:column;justify-content:space-between;gap:.65rem;padding:.85rem;border:2px solid var(--dash-border);border-radius:12px;background:var(--dash-surface)}#app .parent-lesson-card.is-completed{border-style:dashed;background:var(--dash-tint)}#app .parent-lesson-actions button{min-height:40px;border:2px solid var(--dash-border);border-radius:8px;background:var(--dash-surface);color:var(--dash-ink);font-weight:700}#app .parent-lesson-actions button:first-child{background:var(--dash-ink);color:var(--dash-surface)}#app .parent-lesson-actions button:disabled{border-color:var(--dash-border-soft);color:var(--dash-mute);background:var(--dash-tint)}#app .dash-settings-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem;align-items:start}#app .dash-card-wide{grid-column:1 / -1}#app .profiles-list-grid{display:flex;flex-direction:column;gap:.55rem;margin-top:.75rem}#app .profile-card{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.6rem .8rem;border:2px solid var(--dash-border);border-radius:12px;background:var(--dash-surface)}#app .profile-card.active{background:var(--dash-tint)}#app .profile-card-left{display:flex;align-items:center;gap:.65rem}#app .profile-avatar{display:inline-flex;align-items:center;justify-content:center;width:2.1rem;height:2.1rem;border:2px solid var(--dash-border);border-radius:50%;font-weight:800;background:var(--dash-surface)}#app .profile-info{display:flex;flex-direction:column}#app .profile-info span{font-size:.8rem;color:var(--dash-soft)}#app .dash-inline-form{display:flex;gap:.6rem;margin-top:.85rem}#app .dash-inline-form input{flex:1 1 auto;min-width:0;min-height:44px;padding:.45rem .75rem;border:2px solid var(--dash-border);border-radius:10px;font:inherit;color:var(--dash-ink);background:var(--dash-surface)}#app .dash-field-label{display:flex;flex-direction:column;gap:.3rem;margin-top:.65rem;font-size:.88rem;font-weight:700;color:var(--dash-ink)}#app .dash-field-label select,#app #dash-compatible-speed{display:block;width:100%;height:44px;min-height:44px;box-sizing:border-box;padding:.45rem .65rem;border:2px solid var(--dash-border);border-radius:10px;font:inherit;font-weight:600;background:var(--dash-surface);color:var(--dash-ink)}#app .dash-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.5rem}#app .dash-toggle-row{display:flex;align-items:center;gap:.5rem;margin-top:.5rem;font-weight:700;cursor:pointer}#app .dash-action-buttons-row{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.85rem}#app .dash-inline-status{min-height:1.2rem;margin:.45rem 0;font-size:.85rem;font-weight:700}#app .offline-pack-list{display:flex;flex-direction:column;gap:.7rem;margin-top:.85rem}#app .offline-pack-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:.85rem;align-items:center;padding:.75rem .9rem;border:2px solid var(--dash-border);border-radius:12px;background:var(--dash-surface)}#app .offline-pack-copy{display:flex;flex-direction:column;gap:.15rem}#app .offline-pack-status{font-size:.82rem;font-weight:700}#app .offline-pack-error{font-size:.82rem;color:var(--dash-ink);text-decoration:underline}#app .offline-pack-progress{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem}#app .offline-pack-progress progress{width:100%;height:10px;accent-color:var(--dash-ink)}.parent-gate-overlay.modal-backdrop{background:#11111180;-webkit-backdrop-filter:none;backdrop-filter:none}.parent-gate-card.modal-card,.dash-modal-card.modal-card{max-width:420px;border:3px solid #111111;border-radius:20px;background:#fff;color:#111;box-shadow:none;text-align:center}.parent-gate-header{display:flex;align-items:center;justify-content:center;gap:.75rem;text-align:left;margin-bottom:1rem}.parent-gate-icon{display:inline-flex;align-items:center;justify-content:center;width:3rem;height:3rem;border:2px solid #111111;border-radius:12px;flex:0 0 auto}.parent-gate-icon .sketch-image{width:2rem;height:2rem}.parent-gate-header .modal-title,.dash-modal-card .modal-title{margin:0 0 .2rem;color:#111}.parent-gate-header .modal-message,.dash-modal-card .modal-message{margin:0;color:#4b5563}.parent-gate-pin-row{display:grid;grid-template-columns:repeat(4,52px);justify-content:center;gap:.6rem;margin:.75rem 0}.parent-gate-pin-slot{display:inline-flex;align-items:center;justify-content:center;height:52px;border:2px solid #111111;border-radius:12px;background:#fff;font-size:1.5rem;font-weight:800;color:#111}.parent-gate-pin-slot.is-filled{background:#f3f4f6}.parent-gate-error{margin:.35rem 0 .65rem;padding:.45rem .75rem;border:2px dashed #111111;border-radius:10px;font-size:.88rem;font-weight:700;color:#111}.parent-gate-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin:.85rem 0 1.1rem}.parent-gate-key{min-height:52px;border:2px solid #111111;border-radius:12px;background:#fff;color:#111;font:inherit;font-size:1.25rem;font-weight:800;cursor:pointer}.parent-gate-key:active{background:#111;color:#fff}.parent-gate-key-util{font-size:.95rem;background:#f3f4f6}.parent-gate-card .btn-modal,.dash-modal-card .btn-modal{min-height:46px;border:2px solid #111111;border-radius:12px;font-weight:700}.parent-gate-card .btn-modal-cancel,.dash-modal-card .btn-modal-cancel{background:#fff;color:#111}.parent-gate-card .btn-modal-confirm,.dash-modal-card .btn-modal-confirm{background:#111;color:#fff}.parent-gate-card .btn-modal-confirm:disabled{opacity:.45;cursor:default}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media (max-width: 759px){#app .dash-topbar{padding:.55rem .85rem;flex-wrap:wrap}#app .dash-workspace{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}#app .dash-nav{flex-direction:row;align-items:center;padding:.5rem .75rem;border-right:none;border-bottom:2px solid var(--dash-border);overflow-x:auto;overflow-y:hidden}#app .dash-nav-list{flex-direction:row;gap:.4rem}#app .dash-nav .dash-tab-btn{width:auto;white-space:nowrap;padding:.45rem .75rem}#app .dash-nav-footer{padding-top:0;border-top:none;flex:0 0 auto}#app .dash-main{padding:1rem .9rem 2rem}#app .dash-kpi-grid,#app .dash-subject-grid,#app .dash-settings-cards,#app .dash-policy-grid,#app .offline-pack-row{grid-template-columns:1fr}#app .dash-intro-metrics{align-items:flex-start}}.audio-check-screen{box-sizing:border-box;max-width:760px;width:100%;flex:1;min-height:0;overflow-y:auto;margin:0 auto;padding:20px;background:#fff;color:#111;font:20px/1.5 sans-serif}.audio-check-screen h1{font:700 30px/1.3 sans-serif}.audio-check-screen h2{font:700 24px/1.3 sans-serif}.audio-check-screen section{border:2px solid #111;border-radius:8px;padding:16px}.audio-check-screen label{display:block}.audio-check-screen select{width:100%;min-height:52px;margin-top:8px;padding:10px;color:#111;background:#fff;border:2px solid #111;border-radius:8px;font:inherit}.audio-check-screen button{display:block;width:100%;padding:16px;margin:16px 0;border:2px solid #111;border-radius:8px;background:#fff;color:#111;font:inherit;text-align:left}.audio-check-screen button[hidden]{display:none}.audio-check-screen button:focus-visible{outline:3px solid #111;outline-offset:3px}.audio-check-screen pre{-webkit-user-select:text;user-select:text;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border:1px solid #111;font:15px/1.5 monospace}
