/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:"Nunito", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-surface:var(--c-surface);--color-text:var(--c-text)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.relative{position:relative}.block{display:block}.hidden{display:none}.inline{display:inline}.min-h-screen{min-height:100vh}.rounded{border-radius:.25rem}.bg-surface{background-color:var(--color-surface)}.text-text{color:var(--color-text)}}:root{color-scheme:light;--c-surface:#f6f7ee;--c-surface-alt:#fff;--c-text:#293c30;--c-text-muted:#697165;--c-accent:#346548;--c-accent-hover:#264f37;--c-border:#dfe4d6;--c-ring:#28583d;--c-danger:#9d3427;--c-green:#6d9e53;--c-green-ink:#426c2e;--c-green-light:#ebf1e4;--c-green-deep:#466f33;--c-orange:#efa664;--c-orange-ink:#a7521b;--c-orange-light:#fff2e4;--c-orange-deep:#d77e3d;--c-frame:#f7f8f2;--c-hole:#e0e5d8;--c-hole-border:#cbd3c1;--c-note:#f5f6eb;--c-white:#fff;--c-sun:#eed475;--shadow-sheet:0 5px 25px -12px #2d3e1b26;--shadow-counter:0 3px 5px -3px #2c4a1e40;--radius-sheet:16px;--radius-control:12px}*{box-sizing:border-box}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;margin:0}button,input,select{font:inherit}button,summary,a,input,select{-webkit-tap-highlight-color:transparent}button,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}button,a,summary,input,select{outline-offset:5px}:focus-visible{outline:3px solid var(--c-ring)}[hidden]{display:none!important}.icon{flex:none}.app-shell{width:min(1184px,100% - 80px);margin:auto}.skip-link{z-index:10;background:var(--c-white);border-radius:8px;padding:12px;position:fixed;top:12px;left:12px;transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}.app-header{border-bottom:1px solid var(--c-border);align-items:center;gap:30px;min-height:100px;display:flex}.brand{color:var(--c-text);letter-spacing:-.04em;white-space:nowrap;align-items:center;gap:11px;font-size:27px;font-weight:900;text-decoration:none;display:inline-flex}.brand:hover{color:var(--c-accent)}.brand-dot{color:var(--c-orange-ink)}.brand-mark{grid-template-columns:repeat(2,11px);gap:3px;display:grid;transform:rotate(-8deg)}.brand-mark i{background:var(--c-green);border-radius:50%;width:11px;height:11px}.brand-mark i:last-child{background:var(--c-orange)}.brand-note{color:var(--c-text-muted);font-size:13px;font-weight:600}.text-button{color:var(--c-accent);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:8px 10px;font-size:14px;font-weight:800;display:inline-flex}.text-button:hover{background:var(--c-green-light)}.text-button:disabled{opacity:.35}.text-button:disabled:hover{background:0 0}.help-toggle{color:var(--c-text-muted);margin-left:auto}.help-panel{background:var(--c-green-light);border-radius:var(--radius-control);margin-top:16px;padding:20px 24px;font-size:15px}.help-panel p{max-width:80ch;margin:5px 0 0;line-height:1.6}.page-heading{justify-content:space-between;align-items:center;max-width:946px;margin:auto;padding:39px 0 30px;display:flex}h1{letter-spacing:-.035em;text-wrap:balance;margin:0;font-size:clamp(29px,3.3vw,39px);font-weight:900;line-height:1.2}.heading-dot{color:var(--c-orange-ink)}.page-heading p{color:var(--c-text-muted);margin:10px 0 0;font-size:16px}.counting-decoration{align-items:center;padding-right:5px;display:flex}.counting-decoration span{border-radius:13px;place-items:center;width:40px;height:48px;font-size:24px;font-weight:900;display:grid}.counting-decoration span:first-child{background:var(--c-green-light);color:var(--c-green-ink);transform:rotate(-13deg)}.counting-decoration span:nth-child(2){background:var(--c-orange-light);color:var(--c-orange-ink);transform:translate(-2px,-8px)rotate(4deg)}.counting-decoration span:nth-child(3){background:var(--c-sun);color:var(--c-text);transform:translate(-4px,2px)rotate(13deg)}.counting-decoration svg{color:var(--c-green);transform:translateY(-15px)}.learning-layout{max-width:946px;margin:0 auto}.custom-question{margin:0 0 12px}.custom-question summary{width:max-content;margin-left:auto}.custom-question form{max-width:340px;margin-left:auto;padding:0 0 14px}.custom-question summary{cursor:pointer;color:var(--c-accent);border-radius:8px;align-items:center;gap:9px;min-height:44px;padding:5px 7px;font-size:14px;font-weight:800;list-style:none;display:flex}.custom-question summary::-webkit-details-marker{display:none}.custom-question summary:hover{background:var(--c-green-light)}.custom-question p{color:var(--c-text-muted);margin:12px 0;font-size:12px;line-height:1.5}.custom-inputs{grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);gap:7px;display:grid}.custom-inputs label{min-width:0}.custom-inputs input,.custom-inputs select{border:1px solid var(--c-hole-border);background:var(--c-white);text-align:center;width:100%;min-height:48px;color:var(--c-text);border-radius:8px;padding:6px;font-size:20px;font-weight:800}.custom-inputs input:hover,.custom-inputs select:hover{border-color:var(--c-green)}.custom-inputs input{appearance:textfield}.custom-inputs input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.custom-inputs input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.custom-question .form-error{color:var(--c-danger)}.form-error:empty{display:none}.custom-submit{background:var(--c-accent);color:var(--c-white);border:0;border-radius:8px;justify-content:space-between;align-items:center;width:100%;margin-top:12px;padding:11px;font-size:14px;font-weight:800;display:flex}.custom-submit:hover{background:var(--c-accent-hover)}.activity-sheet{background:var(--c-surface-alt);border-radius:var(--radius-sheet);box-shadow:var(--shadow-sheet);min-width:0;padding:24px 36px 27px}.activity-sheet:focus:not(:focus-visible){outline:none}.activity-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.operation-label{background:var(--c-green-light);color:var(--c-green-ink);border-radius:20px;align-items:center;gap:7px;padding:6px 11px;font-size:12px;font-weight:800;display:flex}.operation-label>span{font-size:17px;line-height:1}.question-position{color:var(--c-text-muted);font-size:12px;font-weight:600}.equation{font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:clamp(16px,2.4vw,31px);padding:23px 0 17px;font-size:clamp(56px,5.6vw,76px);font-weight:900;line-height:1.1;display:flex}.first-number{color:var(--c-green-ink)}.second-number{color:var(--c-orange-ink)}.equation-operator,.equals-sign{color:var(--c-text-muted);font-size:.7em;font-weight:600}.answer-number{text-align:center;border:2px dashed var(--c-hole-border);min-width:1.28em;color:var(--c-accent);background:var(--c-frame);border-radius:16px;padding:3px 8px}.answer-number.is-revealed{background:var(--c-green-light);border-color:var(--c-green-light)}.quantity-key{color:var(--c-text-muted);justify-content:center;gap:30px;font-size:13px;font-weight:700;display:flex}.quantity-key>span{align-items:center;gap:7px;display:inline-flex}.key-dot{border-radius:50%;place-items:center;width:12px;height:12px;font-size:11px;font-style:normal;font-weight:900;line-height:1;display:inline-grid}.key-dot.start{background:var(--c-green)}.key-dot.added{background:var(--c-orange);color:var(--c-orange-ink)}.frames{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;max-width:730px;margin:34px auto 0;display:grid}.frame-block{min-width:0}.frame-caption{justify-content:space-between;align-items:baseline;gap:7px;margin:0 2px 10px;font-size:13px;font-weight:800;display:flex}.ten-label{color:var(--c-text-muted);font-size:11px;font-weight:600}.ten-frame{border:1px solid var(--c-border);background:var(--c-frame);border-radius:14px;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 9px;padding:16px 13px;display:grid}.counter{aspect-ratio:1;width:100%;min-width:0;color:var(--c-white);border:2px solid #0000;border-radius:50%;place-items:center;padding:0;font-size:clamp(16px,1.8vw,23px);font-weight:900;transition:transform .18s ease-out,background .18s ease-out;display:grid;position:relative}.counter.start{background:var(--c-green);box-shadow:inset 0 -3px 0 var(--c-green-deep), var(--shadow-counter);color:var(--c-white)}.counter.added{background:var(--c-orange);box-shadow:inset 0 -3px 0 var(--c-orange-deep), var(--shadow-counter);color:var(--c-text)}.counter.empty{background:var(--c-hole);border:2px dashed var(--c-hole-border)}.counter:hover:not(:disabled){transform:translateY(-2px)}.counter:active:not(:disabled){transform:scale(.94)}.counter.counted.start{background:var(--c-green-deep)}.counter.counted.added{background:var(--c-orange)}.counter-mark{width:7px;height:7px;color:var(--c-orange-ink);display:none;position:absolute;top:5px;right:5px}.counter.added:not(.counted) .counter-mark{display:block}.counter.added .counter-mark:before,.counter.added .counter-mark:after{content:"";background:currentColor;border-radius:1px;position:absolute}.counter.added .counter-mark:before{width:2px;height:7px;left:2.5px}.counter.added .counter-mark:after{width:7px;height:2px;top:2.5px}.counter.removed{background:var(--c-orange-light);border:2px dashed var(--c-orange-deep)}.counter.removed .counter-mark{width:20px;height:20px;margin:auto;display:block;inset:0}.counter.removed .counter-mark:before,.counter.removed .counter-mark:after{content:"";background:var(--c-orange-ink);border-radius:1px;width:2px;height:22px;position:absolute;top:-1px;left:9px;transform:rotate(45deg)}.counter.removed .counter-mark:after{transform:rotate(-45deg)}.single-frame{grid-template-columns:minmax(0,386px);justify-content:center}.single-frame .ten-frame{gap:14px 13px;padding:17px}.count-hint{color:var(--c-text-muted);text-align:center;min-height:20px;margin:19px 0 22px;font-size:13px;line-height:1.5}.learning-note{background:var(--c-note);border-radius:10px;align-items:center;gap:12px;padding:13px 17px;display:flex}.note-symbol{color:var(--c-green-ink);border:1px solid var(--c-hole-border);border-radius:8px;flex:none;place-items:center;width:36px;height:36px;font-size:18px;font-weight:900;display:grid}.learning-note p{color:var(--c-text-muted);margin:0;font-size:12px;line-height:1.65}.learning-note strong{color:var(--c-text);font-size:13px;font-weight:800;display:block}.activity-actions{justify-content:center;align-items:center;gap:14px;padding-top:25px;display:flex}.activity-actions button{border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:49px;padding:13px 21px;font-size:14px;font-weight:800;transition:background .15s ease-out;display:flex}.replay-button{background:var(--c-white);color:var(--c-accent);border:1px solid var(--c-hole-border)}.replay-button:hover{background:var(--c-green-light)}.answer-button{background:var(--c-accent);color:var(--c-white);border:1px solid var(--c-accent)}.answer-button:hover{background:var(--c-accent-hover)}.answer-button:disabled{opacity:.5}.answer-feedback{text-align:center;color:var(--c-accent);padding-top:17px;font-size:15px;font-weight:800}.no-script{font-size:14px;line-height:1.5}.practice-footer{max-width:946px;color:var(--c-text-muted);justify-content:space-between;align-items:center;gap:20px;margin:13px auto 0;font-size:12px;display:flex}.practice-footer>span{align-items:center;gap:7px;display:flex}.footer-dot{background:var(--c-green);border-radius:50%;width:6px;height:6px}.next-button{white-space:nowrap}.site-footer{border-top:1px solid var(--c-border);color:var(--c-text-muted);justify-content:space-between;margin-top:37px;padding:19px 0 23px;font-size:11px;display:flex}@keyframes arrive{0%{transform:scale(.75)}65%{transform:scale(1.08)}to{transform:scale(1)}}.counter.arriving{animation:.34s ease-out both arrive}@media (min-width:1450px){.app-shell{padding-top:16px}.page-heading{padding-top:47px;padding-bottom:38px}.activity-sheet{padding-top:29px;padding-bottom:30px}.frames{margin-top:38px}.site-footer{margin-top:50px}}@media (max-width:1050px){.app-shell{width:calc(100% - 48px)}.activity-sheet{padding:24px}.frames{gap:14px}.ten-frame{gap:10px 7px;padding:12px 10px}.counter,.counter.empty{border-width:1px}.practice-footer>span{max-width:170px}.brand-note{display:none}}@media (max-width:759px){.app-shell{width:min(580px,100% - 32px)}.app-header{min-height:78px}.brand{font-size:24px}.help-toggle{gap:6px;padding-right:0;font-size:12px}.page-heading{padding:26px 0 25px}h1{max-width:12ch;font-size:30px}.page-heading p{max-width:26ch;margin-top:8px;font-size:13px}.counting-decoration{transform-origin:100%;margin-left:-25px;padding:0;transform:scale(.8)}.custom-question{margin:0 0 12px}.custom-question summary{min-height:44px;padding:0 0 6px;font-size:12px}.custom-question summary .icon{width:16px}.custom-question form{max-width:none;padding:4px 0 10px}.custom-inputs{grid-template-columns:1fr 55px 1fr}.activity-sheet{width:100%;padding:19px 20px 23px;scroll-margin-top:15px}.activity-top{gap:8px}.operation-label{padding:5px 9px;font-size:11px}.question-position{font-size:11px}.equation{gap:clamp(8px,3vw,17px);padding:25px 0 18px;font-size:clamp(36px,11vw,56px)}.quantity-key{gap:24px;font-size:12px}.frames{grid-template-columns:minmax(0,328px);justify-content:center;gap:20px;margin-top:26px}.frame-caption{margin-bottom:8px;font-size:12px}.ten-frame,.single-frame .ten-frame{gap:10px;padding:12px 14px}.counter{border-width:2px;max-height:52px;font-size:22px}.counter.empty{border-width:2px}.count-hint{margin:17px 0;font-size:12px}.learning-note{gap:10px;padding:12px}.learning-note p{font-size:11px}.learning-note strong{font-size:12px}.note-symbol{width:31px;height:34px;font-size:16px}.activity-actions{gap:10px;padding-top:20px}.activity-actions button{flex:1;gap:6px;padding:12px 9px;font-size:12px}.activity-actions .icon{width:17px}.practice-footer{margin:12px 0 0}.practice-footer>span{gap:5px;max-width:135px;font-size:10px}.next-button{padding-right:2px;font-size:12px}.site-footer{margin-top:26px;font-size:10px}}@media (max-width:370px){.app-shell{width:calc(100% - 24px)}.help-toggle span,.counting-decoration{display:none}h1{max-width:none;font-size:28px}.activity-sheet{padding-left:15px;padding-right:15px}.activity-actions button{font-size:11px}.activity-actions .icon{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}