.math-shell{--math-teal:#367f83;--math-dark:#284e52;--math-peach:#f7e4cd;display:flex;flex-direction:column;gap:10px;width:min(100%,1060px);margin:auto;padding:8px max(20px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));height:var(--content-height,100svh);min-height:0;color:var(--math-dark)}.math-shell a,.math-shell button{touch-action:manipulation}.math-shell>header{padding:0!important;flex:0 0 auto}.math-stage-pill{border-radius:30px;background:#e3f0e8;color:#356e60;padding:8px 12px;font-size:15px;font-weight:800;white-space:nowrap}.math-extension-badge{display:inline-block;margin-right:6px;padding:0 6px;border:1px solid #c9a24a;border-radius:8px;background:#fff0c9;color:#6b4e00;font-size:13px;font-weight:800;line-height:1.5}.math-prompt{flex:0 0 auto;text-align:center}.math-prompt h1{font-size:clamp(19px,2.4vw,27px);margin:4px 0;line-height:1.3}.math-prompt p{font-size:clamp(14px,1.8vw,19px);margin:0;color:#627675;line-height:1.3}.math-question-progress{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:#697c72}.math-board{flex-direction:column;gap:8px}.math-board,.math-scene{display:flex;flex:1 1 0;min-height:0}.math-scene{justify-content:center;align-items:center;background:#fffdf8;border:1px solid #e8e4d6;border-radius:28px;padding:14px;position:relative;overflow:hidden}.math-object-art{width:100%;height:100%;display:block}.math-objects{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:4px;width:100%}.math-object{position:relative;display:block;flex:0 0 auto;width:clamp(32px,5svh,58px);height:clamp(32px,5svh,58px);padding:0;background:none;border:0;border-radius:50%}button.math-object{min-width:44px;min-height:44px}.math-object.is-crossed:after{content:"";position:absolute;left:7%;top:47%;width:86%;height:4px;background:#673e50;transform:rotate(-35deg);border-radius:3px;box-shadow:0 0 0 2px white}.math-bowl{border:3px solid #87b6b8;border-bottom:10px solid #6d9b9f;border-radius:50% 50% 36% 36%/25% 25% 35% 35%;background:#f0f9f4;min-height:86px;padding:12px;display:flex;align-items:center;justify-content:center;width:100%}.math-bowl-empty{color:#5d7468;font-size:14px;padding:10px}.math-model,.math-story{display:flex;flex-direction:column;gap:8px;align-items:center;width:min(100%,620px);max-height:100%}.math-givens{gap:20px;font-size:24px;font-weight:850}.math-givens,.math-givens span{display:flex;align-items:center}.math-givens span{gap:5px}.math-color-blue,.math-color-gold{display:inline-block;width:18px;height:18px;border-radius:50%;background:#459ab7}.math-color-gold{background:#efa442}.math-counter-tools{display:flex;justify-content:center;gap:8px}.math-burger-tools button,.math-counter-tools button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:56px;min-width:56px;border:1px solid #b7cfcb;border-radius:14px;background:white;padding:6px 14px;font-weight:750}.math-counter-tools svg{width:28px;height:28px}.math-numeric-area{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:8px}.math-equation{display:flex;align-items:center;justify-content:center;gap:12px;font-size:clamp(22px,4svh,38px);font-weight:800}.math-number-slot{min-height:52px;min-width:58px;padding:5px 12px;background:white;border:2px solid #bbcbc3;border-radius:15px;font-size:27px;color:var(--math-dark)}.math-number-slot.is-active{border-color:#367f83;box-shadow:0 0 0 3px #d7eddf}.math-keypad{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:min(100%,460px)}.math-keypad button{background:#f6eedf;border:1px solid #dfd7c7;border-radius:12px;font-size:23px;font-weight:750;color:#42534c}.math-keypad button:last-child:not(:nth-child(11)){font-size:15px}.math-footer{flex:0 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:6px;align-items:stretch}.math-feedback{grid-column:1/-1;box-sizing:border-box;height:calc(1.2em + 12px);min-height:calc(1.2em + 12px);padding:4px 12px;border:2px solid transparent;border-radius:12px;font-size:16px;text-align:center;color:#366b5a;font-weight:750;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.math-feedback.is-correct{background:#effaf1;color:#2f7a52}.math-feedback.is-revealed{background:#fff4e0;color:#7a4e00;border-color:#8a5a00}.math-feedback.is-idle{color:var(--ink-soft);font-weight:600}.math-feedback.is-wrong{background:#fff1f4;color:#b3264f}.math-feedback.is-observed{background:var(--paper-2);color:var(--ink-soft)}.math-feedback.is-correct:before{content:"✓ "}.math-feedback.is-wrong:before{content:"✗ "}.math-feedback.is-revealed:before{content:"👀 "}.math-feedback.is-observed:before{content:"📝 "}.math-feedback.is-error{background:#fff0f2;color:#9b2c45;border-color:#c93f63}.math-feedback.is-error:before{content:"⚠ "}.math-feedback.is-saving{background:#eef3f5;color:#4f6b73;border-color:#bfd0d4;font-weight:650}.math-feedback.is-saving:before{content:"⏳ "}.math-feedback.is-demo{background:#ede9f8;color:#4b3f8f;border-color:#a99bd6}.math-feedback.is-demo:before{content:"▶ "}.math-footer-tools{grid-column:1;grid-row:2;display:flex;align-items:stretch;gap:12px}.math-footer-tools .btn{box-shadow:none;max-width:96px;padding:4px 6px;font-size:13px;line-height:1.15;text-align:center;border-radius:16px;background:#f6f1e6;border:1px solid #d8ddd1}.math-primary{grid-column:2;grid-row:2;width:auto;min-width:0;background:var(--math-teal);color:white;min-height:56px;padding:6px 12px;font-size:21px;white-space:nowrap;border-radius:20px;box-shadow:0 5px 0 #cfdbd2}.math-primary[data-phase=retry]{background:#b45f06;box-shadow:0 5px 0 #e6cba0}.math-primary.math-primary-next{background:#285eab;box-shadow:0 5px 0 #bccce3}.math-primary.math-primary-revealed{background:#8a5a00;box-shadow:0 5px 0 #d9c39a}@keyframes math-spin{to{transform:rotate(1turn)}}.math-primary[aria-busy=true] .math-primary-icon{animation:math-spin .9s linear infinite}.math-primary-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 1.35em;width:1.35em;height:1.35em;margin-left:.4em;border-radius:50%;background:rgba(255,255,255,.18);font-size:1em;line-height:1}.math-shell button:disabled{opacity:.55;cursor:default}.math-primary:disabled:not([aria-busy=true]){background:#d7dfdd;color:#3d4f4c;box-shadow:none;opacity:1}.math-shell a:focus-visible,.math-shell button:focus-visible{outline:3px solid #2769a4;outline-offset:3px}.math-overview-lead{text-align:center}.math-overview-lead>span{font-size:13px;color:#4d7666;letter-spacing:2px}.math-overview-lead h1{font-size:clamp(21px,3vw,31px);line-height:1.3;margin:5px 0}.math-stage-tabs,.math-tabs{display:flex;gap:6px;justify-content:center;flex:0 0 auto}.math-stage-tabs button,.math-tabs button{background:#efe8d9;border:1px solid #ddd8c9;border-radius:12px;min-height:44px;padding:5px 13px;font-weight:700;font-size:15px}.math-tabs button[aria-pressed=true]{background:#467f79;color:white;border-color:#467f79}.math-stage-tabs button{flex:1;max-width:190px;background:white}.math-stage-tabs button[aria-pressed=true]{background:#f1d49d;border-color:#caa769}.math-catalog{flex:1;min-height:0}.math-catalog>.viewport-page-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-content:stretch!important}.math-course-card{border:1px solid #dfddd0;background:#fffdf6;border-radius:24px;padding:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:0;box-shadow:0 5px 0 #e6e1d4;color:#335952}.math-course-card h2{font-size:19px;margin:0;text-align:center;line-height:1.3}.math-course-card p{font-size:12px;margin:0;line-height:1.25}.math-course-card>span{font-size:14px}.math-method-art{flex:1;min-height:30px;max-height:95px;display:flex;align-items:center;justify-content:center;width:100%}.math-card-objects{display:flex;width:80%;max-height:80px}.math-card-objects svg{width:33%}.math-card-numbers{display:flex;gap:5px;align-items:center;font-size:25px;font-weight:750}.math-card-numbers>span{background:#e6eddf;border-radius:12px;padding:8px}.math-course-enter{background:#dbeadd;border:0;box-shadow:none;font-size:16px;min-height:44px;width:100%;padding:7px}.math-unit-note{display:flex;gap:12px;align-items:center;font-size:13px;line-height:1.3}.math-unit-note button{white-space:nowrap;min-height:40px}.home-math-entry{display:flex;justify-content:center;flex:0 0 auto}.home-math-entry>a{min-height:44px;font-size:16px;padding:7px 16px;border-radius:16px;background:#e2efe3;color:#386655;box-shadow:none}.math-catalog .page-controls{margin-top:8px}@media(max-width:600px){.math-tabs{gap:4px}.math-tabs button{padding:4px 8px;font-size:13px}.math-catalog>.viewport-page-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.math-course-card{padding:10px;border-radius:19px;gap:5px}.math-course-card h2{font-size:16px}.math-method-art{max-height:70px}.math-card-numbers{font-size:20px;gap:3px}.math-card-numbers>span{padding:5px}.math-overview-lead h1{font-size:22px}.math-unit-note{font-size:12px}.math-course-enter{font-size:14px}}@media(max-height:600px) and (orientation:landscape){.math-overview-lead{display:none}.math-stage-tabs,.math-tabs{gap:5px}.math-stage-tabs button,.math-tabs button{min-height:36px;padding:3px 12px;font-size:13px}.math-catalog>.viewport-page-items{grid-template-columns:repeat(2,minmax(0,1fr))}.math-course-card{display:grid;grid-template-columns:65px 1fr 120px;padding:8px;gap:8px}.math-course-card h2{font-size:17px}.math-course-card p{display:none}.math-method-art{max-height:55px}.math-course-enter{min-height:40px;font-size:14px}.math-catalog .page-controls{margin-top:3px}.math-catalog .page-controls .btn{min-height:36px;padding:3px 10px}.math-unit-note{font-size:12px}}.math-butterfly{height:100%;max-height:290px;position:relative}.math-butterfly>svg{width:100%;height:100%}.math-butterfly-dots{position:absolute;inset:0}.math-butterfly-dots button{position:absolute;width:26px;height:26px;min-width:26px;min-height:26px;border:3px solid white;box-shadow:0 2px 0 #84a6a0;background:#d39c65;border-radius:50%;color:white;font-size:16px;transform:translate(-50%,-50%)}.math-butterfly-dots button.is-counted{background:#487f70}.math-count-choices{display:flex;flex:0 0 auto;justify-content:center;gap:24px;padding:4px}.math-count-choices button{border:4px solid transparent;min-width:62px;min-height:62px;border-radius:50%;background:#fbf1d9;font-size:28px;font-weight:800;color:#42594c}.math-count-choices .is-circled{border-color:#467f79;background:#def2f4}.math-sums{width:min(100%,640px);text-align:center}.math-sums p{margin:0 0 12px;font-size:19px}.math-sums>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.math-sum-bowl{min-height:80px;border:solid #bdd2cd;border-width:3px 3px 9px;border-radius:45%;background:#f7faf3;display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;font-size:25px;font-weight:800;padding:8px}.math-sum-bowl small{font-size:12px;font-weight:400}.math-sum-bowl.is-colored{background:#f7d88d;border-color:#bc914c}.math-compare .is-colored{background:#def2f4}.math-compare{display:flex;justify-content:center;gap:30px;width:100%}.math-compare button{width:clamp(88px,18vw,145px);height:clamp(88px,18vw,145px);background:#f2f7ed;border:4px solid #bed4c8;border-radius:50%;font-size:clamp(40px,8vw,64px);font-weight:800}.math-sort{display:flex;flex-direction:column;gap:20px;width:100%;max-width:650px;align-items:center}.math-sort-direction{font-weight:750;font-size:22px;color:#51785e}.math-sort-bank,.math-sort-slots{display:flex;justify-content:center;gap:8px;width:100%}.math-sort button{min-width:44px;min-height:52px;border-radius:12px;font-size:26px;border:2px solid #a8c4bc;background:#f5f7ed;flex:1 1 0;max-width:80px}.math-sort-slots button{background:white;border-style:dashed}.math-sort-slots small{font-size:15px;color:#66736a}.math-sort p{font-size:14px;margin:0}.math-bond{display:flex;flex-direction:column;align-items:center;width:250px}.math-whole{width:80px;height:80px;display:grid;place-items:center;border-radius:50%;background:#649995;color:white;font-weight:850;font-size:36px}.math-bond>svg{width:100%;height:55px}.math-bond-parts{display:flex;align-items:center;gap:25px;font-size:32px;font-weight:750}.math-bond-parts>span{padding:8px 20px;border-radius:14px;background:#f5dfb8}.math-calculate-art{display:flex;align-items:center;gap:25px;opacity:.75;font-size:50px;color:#c08e60}.math-calculate-art svg{width:80px;height:80px}.math-picture{width:min(100%,650px)}.math-story-frames{display:grid;grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);gap:6px;width:100%;align-items:center}.math-story-frame{display:flex;flex-direction:column;gap:8px;align-items:center;min-width:0}.math-story-frame>small,.math-unknown-change>small{font-weight:750;font-size:14px}.math-story-frame .math-bowl{padding:5px;min-height:90px}.math-story-frame .math-object{width:30px;height:30px}.math-story-change{display:flex;flex-direction:column;align-items:center;font-size:28px;color:#b7834a}.math-story-change small{font-size:13px}.math-unknown-change{display:flex;align-items:center;gap:8px;justify-content:center;width:100%}.math-unknown-change>.math-bowl{width:50%;min-height:65px}.math-burger-workshop{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%;max-width:720px}.math-burger-builder{align-items:center;gap:8px}.math-burger,.math-burger-builder{display:flex;flex-direction:column;justify-content:center}.math-burger{width:100%;max-width:120px}.math-burger svg{display:block;width:100%;height:auto;max-height:30px}.math-ingredients{display:flex;gap:5px}.math-ingredients button{min-width:54px;min-height:58px;width:75px;border:1px solid #dbd4c0;border-radius:12px;background:white;padding:5px;font-size:12px}.math-ingredients svg{width:100%;height:24px}.math-burger-tools{display:flex;gap:6px}.math-burger-tools button{font-size:13px;padding:5px 8px}.math-burger-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.math-burger-gallery>button{min-height:70px;display:flex;justify-content:center;background:#f5efdf;border:2px solid #e4d6b9;border-radius:50%;padding:5px}.math-burger-gallery>button>span{margin:auto;color:#6a6549;font-size:20px}.math-burger-gallery .math-burger{width:65px}.math-burger-gallery .math-burger svg{max-height:16px}.math-burger-workshop>p{grid-column:1/-1;margin:0;text-align:center;font-size:14px}.math-finished{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center}.math-finished>.btn{min-height:56px}.math-finished-note{font-size:14px;line-height:1.35;color:#7a4e00;background:#fff4e0;border-radius:12px;padding:6px 10px;max-width:440px}.math-finished>span{font-size:70px}.math-finished h1,.math-finished p{margin:0}.math-error{font-size:15px;color:#a7314a;line-height:1.3;margin:0}@media(max-height:600px){.math-finished{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;justify-content:normal;justify-items:center;gap:12px 18px;min-height:0;width:min(100%,560px);align-self:center;padding:8px 0}.math-finished>h1,.math-finished>p,.math-finished>span{grid-column:1/-1}.math-finished>span{font-size:42px;line-height:1}.math-finished>.btn{min-height:56px;width:100%;font-size:18px}}@media(max-width:600px){.math-shell{padding:6px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));gap:6px}.math-scene{padding:8px;border-radius:20px}.math-prompt h1{font-size:19px}.math-prompt p{font-size:13px}.math-burger-workshop{gap:9px;grid-template-columns:1fr}.math-burger-builder{display:grid;grid-template-columns:85px 1fr;gap:6px}.math-burger-tools{grid-column:1/-1;justify-content:center}.math-burger-gallery{grid-template-columns:repeat(6,1fr);gap:4px}.math-burger-gallery>button{min-height:53px;padding:4px}.math-burger-gallery .math-burger svg{max-height:11px}.math-burger-builder>.math-burger{max-width:82px}.math-burger-builder>.math-burger svg{max-height:22px}.math-burger-workshop>p{font-size:12px}.math-ingredients{justify-content:center}.math-ingredients button{width:60px;min-width:50px}.math-equation{gap:6px;font-size:27px}.math-number-slot{min-height:44px;min-width:48px;font-size:23px;padding:4px 8px}.math-numeric-area{gap:6px}.math-footer-tools .btn{padding:5px 12px}.math-story .math-object{width:26px;height:26px}.math-story-frame button.math-object{min-width:36px;min-height:36px}.math-sort{gap:15px}.math-sort-bank,.math-sort-slots{gap:5px}.math-sort button{font-size:22px}.math-counter-tools button{padding:5px 10px;font-size:14px}.math-counter-tools svg{width:23px;height:23px}.math-unknown-change>.math-bowl{padding:4px}.math-unknown-change .math-object{width:30px;height:30px}}@media(max-height:720px) and (orientation:portrait){.math-shell{gap:4px}.math-prompt h1{font-size:17px}.math-prompt p{font-size:12px}.math-question-progress{font-size:11px}.math-footer{row-gap:4px}.math-feedback{font-size:14px}.math-whole{width:55px;height:55px;font-size:28px}.math-bond>svg{height:35px}.math-bowl{min-height:58px;padding:6px}.math-givens{font-size:19px}.math-story-frame .math-bowl{min-height:58px}.math-story-change{font-size:22px}.math-scene{padding:5px}.math-butterfly-dots button{width:20px;height:20px;min-width:20px;min-height:20px;border-width:2px}.math-object{width:30px;height:30px}}@media(orientation:landscape) and (max-height:600px){.math-shell{padding:4px max(10px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));gap:3px}.math-prompt h1{font-size:16px;margin:0}.math-prompt p{font-size:12px}.math-question-progress{font-size:11px}.math-numeric-area{justify-content:center;gap:6px}.math-scene{padding:6px}.math-equation{font-size:24px;gap:5px}.math-number-slot{min-width:44px;min-height:44px;font-size:22px;padding:3px 7px}.math-feedback{font-size:13px}.math-primary{font-size:18px}.math-bowl{min-height:56px;padding:4px}.math-object{width:30px;height:30px}.math-bond{flex-direction:row;width:auto;gap:12px}.math-bond>svg{display:none}.math-whole{width:50px;height:50px;font-size:29px}.math-bond-parts{gap:12px;font-size:24px}.math-burger-workshop{grid-template-columns:1fr 1fr;gap:6px}.math-burger-builder{display:grid;grid-template-columns:70px 1fr;gap:4px}.math-burger-tools{grid-column:2}.math-burger-gallery{grid-template-columns:repeat(6,1fr);gap:3px;align-items:center}.math-burger-workshop>p{font-size:12px}.math-burger-builder>.math-burger{grid-row:1/3}.math-ingredients button{min-height:44px;width:60px}.math-burger-gallery>button{min-height:60px}.math-sort{gap:6px}.math-sort button{min-height:42px}.math-sort-direction{font-size:16px}.math-sort p{font-size:12px}.math-sums>div{grid-template-columns:repeat(4,1fr);gap:6px}.math-sum-bowl{min-height:65px;font-size:21px}.math-counter-tools button{min-height:56px;padding:3px 8px}.math-givens{font-size:18px}.math-story{gap:4px}.math-story-frames{grid-template-columns:1fr 40px 1fr}.math-story-frame .math-bowl{min-height:54px}.math-story-frame .math-object{width:22px;height:22px}.math-story-change{font-size:18px}.math-unknown-change .math-bowl{min-height:42px}.math-unknown-change .math-object{width:22px;height:22px}.math-butterfly-dots button{width:22px;height:22px;min-width:22px;min-height:22px}}.math-count-scene{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;min-height:0}.math-butterfly{width:min(100%,450px);height:auto;aspect-ratio:420/250;max-height:calc(100% - 52px)}.math-butterfly>svg{display:block}.math-count-aid{min-height:44px;border:1px solid #bbccc2;border-radius:14px;background:#f5efdf;padding:5px 18px;font-size:15px;color:#355951}.math-catalog>.viewport-page-items{grid-auto-rows:minmax(0,1fr)}.math-catalog .viewport-page-item>.math-course-card{width:100%;height:100%}.math-pane-tabs{display:none}.math-teaching{display:flex;align-items:center;gap:12px;background:#e5efe2;border-radius:13px;padding:6px 9px;font-size:14px;line-height:1.3;flex:0 0 auto}.math-teaching>span{flex:1}.math-teaching button{min-height:44px;border:1px solid #aac4b7;border-radius:12px;padding:5px 10px;background:white;font-size:14px;white-space:nowrap}.math-board .math-object:disabled{opacity:1}.math-story-frame .math-objects{gap:2px}.math-story-frame .math-object{min-width:0;min-height:0;width:23px;height:23px}@media(max-height:740px) and (orientation:portrait){.math-pane-tabs{display:flex;flex:0 0 auto;gap:6px}.math-pane-tabs button{flex:1;min-height:44px;border:1px solid #b8d1c5;border-radius:12px;background:#f7faf1;font-size:14px}.math-pane-tabs button[aria-pressed=true]{background:#dfecda;font-weight:800}.math-board:has(.math-pane-tabs).pane-model>.math-numeric-area{display:none}.math-board:has(.math-pane-tabs).pane-numbers>.math-scene{display:none}.math-board:has(.math-pane-tabs).pane-numbers>.math-numeric-area{flex:1;justify-content:center}.math-teaching{font-size:12px;padding:4px 7px}.math-teaching button{min-height:40px;font-size:12px}.math-prompt p{display:none}.math-bowl .math-object{width:34px;height:34px}.math-model .math-objects{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;justify-items:center}.math-story-frame .math-objects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.math-story-frame .math-object{width:20px;height:20px;min-width:0;min-height:0}}.math-audio{display:flex;flex:0 0 auto;justify-content:center;gap:18px}@media(orientation:portrait){.math-audio{height:44px}}.math-audio .speaker-control{flex-direction:row;gap:5px}.math-audio .speaker-control .btn-round{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;font-size:22px!important;box-shadow:0 3px 0 #dfdcd0}.math-audio .speaker-caption{font-size:13px;max-width:40px}.math-catalog{display:flex;flex-direction:column;gap:8px}.math-catalog>.viewport-page-items{flex:1;min-height:0}.math-catalog .viewport-page-item{display:block;min-height:0;min-width:0}@media(max-height:740px){.math-audio{gap:12px}.math-audio .speaker-caption{font-size:11px}}.math-bowl-empty{grid-column:1/-1}.math-burger-builder,.math-burger-gallery,.math-burger-workshop,.math-ingredients{min-width:0}.math-burger-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.math-burger-gallery>button{min-width:0}.math-burger-gallery .math-burger{max-width:100%}@media(max-width:600px){.math-burger-workshop{grid-template-columns:minmax(0,1fr)}.math-burger-builder{grid-template-columns:75px minmax(0,1fr)}.math-burger-gallery{grid-template-columns:repeat(6,minmax(0,1fr))}.math-burger-gallery>button{min-width:0;min-height:50px}.math-burger-gallery .math-burger{width:100%}}@media(max-height:740px) and (orientation:portrait){.math-primary{font-size:18px}.math-unknown-change .math-bowl .math-object{min-width:0;min-height:0;width:22px;height:22px}}@media(orientation:landscape) and (max-height:600px){.math-audio{gap:12px}.math-burger-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.math-burger-gallery>button{min-height:44px;max-height:56px}.math-burger-gallery .math-burger svg{max-height:9px}.math-story-frame .math-objects{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px}.math-story-frame .math-object{width:20px;height:20px;min-width:0;min-height:0}.math-feedback{padding:2px 10px;height:calc(1.2em + 8px);min-height:calc(1.2em + 8px)}}.math-board.is-demonstration .math-burger-builder,.math-board.is-demonstration .math-count-aid,.math-board.is-demonstration .math-counter-tools,.math-board.is-demonstration .math-keypad{display:none}.math-board.is-demonstration .math-burger-gallery{grid-column:1/-1}.math-board.is-demonstration .math-object{min-width:0;min-height:0}.math-board.is-demonstration .math-butterfly{max-height:100%}.math-shell{height:var(--content-height,calc(var(--app-height,100svh) - var(--family-chrome-height,0px)))}.math-story-frames.math-story-unknown{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.math-change-model{gap:6px}.math-change-model .math-bowl{min-height:62px;padding:4px}@media(max-height:600px),(max-width:600px){.math-story-unknown .math-objects{display:flex;flex-wrap:wrap;gap:2px}.math-story-unknown .math-object{width:16px;height:16px;min-width:0;min-height:0}.math-story-unknown .math-bowl-empty{font-size:11px;padding:5px}.math-change-model small,.math-story-unknown .math-story-frame>small{font-size:12px}}.math-audio .speaker-control{position:relative}.math-audio .speaker-control>[role=status]{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid #e8ddc8;border-radius:13px;pointer-events:none;font-size:12px;line-height:1.25}.math-play-card-art{font-size:44px}.math-play-card-preview{display:block;width:100%;height:100%;max-height:95px}@media(max-width:599px){.math-audio{gap:12px;align-items:center}.math-audio-group button{font-size:11px;line-height:1.15;padding:3px 6px}.math-audio .speaker-control{gap:3px}.math-audio .speaker-caption{font-size:10px}}.math-overview .math-stage-tabs>button,.math-overview .math-tabs>button{min-height:44px;min-width:44px}.math-overview .math-period-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;max-width:380px;align-self:center}.math-overview .math-period-tabs>button{padding:4px 2px;white-space:nowrap;font-size:13px}@media(orientation:landscape) and (max-height:600px){.math-overview .math-course-card{grid-template-columns:90px minmax(0,1fr) 120px;min-width:0}.math-overview .math-card-numbers{font-size:16px;gap:2px}.math-overview .math-card-numbers>span{padding:4px}}.math-core-activity .math-prompt p{display:block}.math-shell header .btn.topbar-rest{min-height:56px!important;height:56px;min-width:56px;flex:0 0 auto;padding:0 14px;border-radius:18px;font-size:17px;gap:6px;box-shadow:none;background:#e8f1ec;color:#2f5f52}.math-keypad{grid-template-columns:repeat(4,56px);gap:12px;justify-content:center;width:auto}.math-keypad button{width:56px;min-width:56px;height:56px;min-height:56px;font-size:22px}.math-keypad button:last-child:not(:nth-child(11)){font-size:14px}.math-numeric-area{gap:12px}@media(orientation:landscape){.math-activity{display:grid;grid-template-columns:minmax(300px,42%) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;column-gap:12px;row-gap:6px;align-content:stretch}.math-activity>header{grid-column:1;grid-row:1}.math-activity>.math-prompt{grid-column:1;grid-row:2}.math-activity>.math-footer{grid-column:1;grid-row:4;align-self:end;padding-top:6px}.math-activity>.math-audio{grid-column:2;grid-row:1;align-self:center;justify-content:flex-start}.math-activity>.math-board{grid-column:2;grid-row:2/-1;min-width:0;min-height:0}.math-activity>.math-teaching{grid-column:2;grid-row:4;align-self:end}.math-activity:has(>.math-teaching)>.math-board{grid-row:2/4}.math-activity>.btn,.math-activity>.math-error,.math-activity>p{grid-column:1/-1}.math-activity>section{grid-column:1/-1;grid-row:2/-1}}@media(orientation:landscape) and (max-height:600px){.math-activity{row-gap:4px}.math-keypad{grid-template-columns:repeat(6,56px)}.math-shell header .topbar-rest{padding:0 10px;font-size:15px}.math-prompt h1{font-size:15px}.math-prompt p{display:none}.math-audio{flex-wrap:nowrap;justify-content:flex-start;gap:12px;align-items:center;height:44px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;padding:0}.math-prompt h1{margin:2px 0}.math-audio>*{flex:0 0 auto}.math-audio .speaker-caption{display:none}.math-audio-group{flex:0 0 auto;flex-wrap:nowrap;gap:12px}.math-audio-group button{padding:4px 6px;font-size:12px;min-height:44px;white-space:nowrap}.math-teaching{font-size:12px;padding:4px 7px}.math-teaching button{min-height:44px;font-size:12px;padding:4px 6px}.math-audio .speaker-caption{font-size:10px}}@media(orientation:landscape) and (min-height:601px){.math-activity{grid-template-columns:minmax(320px,36%) minmax(0,1fr)}}@media(min-width:700px) and (min-height:601px){.math-primary{min-height:64px;font-size:24px}.math-footer-tools .btn{width:64px;min-height:64px;min-width:64px;max-width:64px;font-size:13px}.math-shell header .topbar-rest{height:64px;min-height:64px!important;font-size:19px}.math-keypad{grid-template-columns:repeat(4,64px)}.math-keypad button{width:64px;min-width:64px;height:64px;min-height:64px;font-size:26px}.math-feedback{font-size:18px}}@media(max-width:360px){.math-primary{font-size:17px;padding:6px 8px}.math-primary .math-primary-icon{display:none}.math-footer{padding-top:12px}}@media(orientation:portrait) and (min-height:741px) and (max-height:900px){:is(.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration)>.math-pane-tabs{display:flex;flex:0 0 auto;gap:12px}:is(.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration)>.math-pane-tabs button{flex:1;min-height:44px;border:1px solid #b8d1c5;border-radius:12px;background:#f7faf1;font-size:14px}:is(.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration)>.math-pane-tabs button[aria-pressed=true]{background:#dfecda;font-weight:800}:is(.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration).pane-model>.math-numeric-area{display:none}:is(.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration).pane-numbers>.math-scene{display:none}:is(.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration).pane-numbers>.math-numeric-area{flex:1;justify-content:center;min-height:0;overflow-y:auto;overscroll-behavior:contain}}@media(max-height:740px) and (orientation:portrait){.math-board:has(.math-pane-tabs).pane-numbers>.math-numeric-area{min-height:0;overflow-y:auto;overscroll-behavior:contain;justify-content:safe center}}.math-play-board label>input[type=text]{display:block;box-sizing:border-box;width:min(100%,360px);min-height:56px;margin-top:8px;padding:8px 12px;font-size:22px;border:2px solid #b9d4d9;border-radius:14px;background:#fff}@media(max-height:740px) and (orientation:portrait){.math-board-symbolic-add>.math-scene,.math-board-symbolic-subtract>.math-scene{display:none}.math-board-missing-part>.math-numeric-area,.math-board-symbolic-add>.math-numeric-area,.math-board-symbolic-subtract>.math-numeric-area{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;justify-content:safe center}}.math-footer-tools .btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:58px;min-width:58px;max-width:58px;min-height:56px;padding:2px;font-size:12px;line-height:1.1;white-space:normal}.math-footer-tools .btn small{font-size:10px;line-height:1.05}.math-footer-tools .btn>span[aria-hidden]{font-size:18px;line-height:1}@media(min-width:700px) and (min-height:601px){.math-footer-tools .btn{width:64px;max-width:64px;font-size:13px}}@media(orientation:landscape){.math-footer{grid-template-columns:minmax(0,1fr);row-gap:12px}.math-footer-tools{grid-column:1;grid-row:2}.math-primary{grid-column:1;grid-row:3}}@media(orientation:landscape) and (max-height:600px){.math-activity{grid-template-columns:minmax(200px,38%) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto}.math-activity>.math-prompt{grid-row:2/4;min-height:0;overflow-y:auto;overscroll-behavior:contain}.math-activity>.math-footer{grid-row:4/6}.math-activity>.math-board{grid-row:2/6}.math-activity>.math-teaching{grid-row:5}.math-activity:has(>.math-teaching)>.math-board{grid-row:2/5}.math-keypad{grid-template-columns:repeat(auto-fill,56px);width:100%;justify-content:center}.math-board>.math-numeric-area{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;justify-content:safe center}.math-board-symbolic-add>.math-scene,.math-board-symbolic-subtract>.math-scene{display:none}.math-board>.math-scene{flex:0 1 auto;min-height:0}.math-activity>header{min-width:0;overflow:hidden}.math-activity>header .topbar-title,.math-activity>header h1{display:none}.math-activity>header .math-stage-pill{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(orientation:portrait) and (max-height:600px){.math-teaching{font-size:12px;padding:0 6px}.math-teaching button{min-height:44px;font-size:12px;padding:2px 6px}.math-audio{flex-wrap:nowrap;justify-content:flex-start;gap:12px;align-items:center;height:44px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:0}.math-audio>*{flex:0 0 auto}.math-audio .speaker-caption{display:none}.math-audio-group{flex:0 0 auto;flex-wrap:nowrap;gap:12px}}@media(max-width:360px){.math-activity>header .topbar-title,.math-activity>header h1{display:none}}@media(orientation:portrait) and (min-height:741px){.math-prompt h1{min-height:2.6em;margin-top:0;margin-bottom:0}.math-shell{gap:6px}}@media(orientation:portrait) and (min-height:741px) and (max-width:600px){.math-shell{padding:0 max(12px,env(safe-area-inset-right)) max(0px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}}.math-activity>.math-audio{height:76px;min-height:76px;overflow:visible;gap:12px;align-items:flex-start;flex-wrap:nowrap}.math-question-audio-controls{min-width:192px;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:2px}.math-question-audio-keys{display:flex;gap:12px}.math-question-help.btn,.math-question-speaker.btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:56px;min-width:56px;height:56px;min-height:56px;padding:3px;border-radius:18px;font-size:13px;line-height:1.15;box-shadow:0 3px 0 #dfdcd0}.math-question-help.btn>span[aria-hidden],.math-question-speaker.btn>span[aria-hidden]{font-size:23px;line-height:1}.math-question-speaker[aria-pressed=true]{background:#e0f0ed;outline:3px solid #437e78;outline-offset:1px}.math-question-speaker[aria-disabled=true]{opacity:.65}.math-question-audio-status{display:block;height:18px;line-height:18px;font-size:12px;color:#627675;text-align:center;white-space:nowrap}@media(orientation:landscape) and (max-height:440px){.math-activity{grid-template-rows:56px minmax(0,1fr) 56px auto;row-gap:2px}.math-activity>.math-prompt{grid-column:1;grid-row:2}.math-activity>.math-audio{grid-column:1;grid-row:3;height:56px;min-height:56px}.math-activity .math-question-help{display:none}.math-activity .math-question-audio-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.math-activity>.math-board{grid-column:2;grid-row:1/4}.math-activity>.math-footer{grid-column:1/-1;grid-row:4;grid-template-columns:auto minmax(0,1fr);row-gap:4px}.math-activity>.math-footer .math-feedback{grid-column:1/-1;grid-row:1}.math-activity>.math-footer .math-footer-tools{grid-column:1;grid-row:2}.math-activity>.math-footer .math-primary{grid-column:2;grid-row:2}.math-activity:has(>.math-teaching)>.math-board{grid-row:1/3}.math-activity>.math-teaching{grid-column:2;grid-row:3;align-self:stretch;height:56px;min-width:0;min-height:0;gap:12px;padding:0 4px}.math-activity>.math-teaching>span{min-width:0;min-height:0;max-height:100%;overflow-y:auto;overscroll-behavior:contain}.math-activity>.math-teaching button{min-width:56px;width:56px;height:56px;min-height:56px;padding:2px}}@media(orientation:portrait) and (max-height:500px){main.math-activity:not(.fr-room){gap:2px;padding-top:4px}main.math-activity:not(.fr-room)>.math-prompt{max-height:48px;overflow-y:auto;overscroll-behavior:contain}main.math-activity:not(.fr-room)>.math-prompt h1{margin:0}main.math-activity:not(.fr-room)>.math-audio{height:56px;min-height:56px}main.math-activity:not(.fr-room) .math-question-audio-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}main.math-activity:not(.fr-room)>.math-board.math-play-board{overflow-y:auto;overscroll-behavior:contain}main.math-activity:not(.fr-room)>.math-board.math-play-board>.mp-paged-surface{flex:0 0 auto;min-height:180px}main.math-activity:not(.fr-room)>.math-board.math-play-board .mp-viewport{min-height:60px}}html:is([data-native-locale=es-MX],[data-native-locale=en-US]) .math-activity>header{min-width:0}html:is([data-native-locale=es-MX],[data-native-locale=en-US]) .math-stage-pill{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.15}html:is([data-native-locale=es-MX],[data-native-locale=en-US]) .math-footer-tools .btn{overflow-wrap:anywhere}html:is([data-native-locale=es-MX],[data-native-locale=en-US]) .math-footer-tools .btn>small,html:is([data-native-locale=es-MX],[data-native-locale=en-US]) .math-footer-tools .btn>span:not([aria-hidden]){max-width:100%}html:is([data-native-locale=es-MX],[data-native-locale=en-US]) .math-primary{white-space:normal;overflow-wrap:anywhere}.math-play-board{--mp-ink:#294959;--mp-blue:#188ca6;gap:6px;color:var(--mp-ink);overflow:hidden;font-size:16px}.math-play-board,.mp-panel{display:flex;flex:1 1 0;flex-direction:column;min-width:0;min-height:0}.mp-panel{overflow:auto;overscroll-behavior:contain;scroll-padding:10px;padding:10px;border:2px solid #d6e8e8;border-radius:22px;background:linear-gradient(145deg,#fffdf3,#f0f9fa);align-items:center;gap:10px}.mp-panel>*{flex-shrink:0;max-width:100%}.mp-instruction{margin:0;text-align:center;font-size:14px;line-height:1.4;max-width:650px!important}.math-play-board .mp-button{box-sizing:border-box;min-width:44px;min-height:44px;border:2px solid #b9d4d9;border-radius:13px;background:#fff;color:#294959;padding:5px 9px;display:inline-flex;align-items:center;justify-content:center;gap:5px;touch-action:manipulation;font-family:inherit;font-size:16px;line-height:1.25;font-weight:700;cursor:pointer;box-shadow:0 2px 0 #d6e4df}.math-play-board .mp-button:focus-visible{outline:3px solid #da5977;outline-offset:2px}.math-play-board .mp-button.is-active{border-color:#163242;background:#def2f4;box-shadow:inset 0 0 0 3px #163242}.math-play-board .mp-button:disabled{cursor:default;opacity:.55}.math-board button:disabled{opacity:.55}.math-board .math-object:disabled,.math-play-board .mp-button.is-given:disabled,.math-play-board.is-demonstration .mp-button:disabled{opacity:1}.mp-piece{display:block;flex:0 0 auto;width:34px;height:34px}.mp-money-tray,.mp-tile-bank,.mp-token-bank,.mp-tools,.mp-wallet{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px}.mp-tools{margin-top:6px}.mp-token-bank:empty{min-height:44px}.mp-token-bank>.mp-button{padding:3px;width:44px}.mp-token-bank>.mp-button:has(small){height:64px;flex-direction:column;gap:0}.mp-token-bank small{font-size:11px}.mp-sign{padding:7px 15px;background:#fff0c9;border:1px solid #efc882;border-radius:14px;text-align:center;font-size:20px;font-weight:800}.mp-frame{display:grid;gap:4px;width:min(100%,420px);padding:8px;border-radius:20px;background:#acd9df;border:3px solid #508c9d;box-sizing:border-box}.mp-frame .mp-button{padding:2px;height:48px}.mp-bus{border-color:#d79633;background:#ffe1a6;border-bottom-width:10px}.mp-place-dot{width:6px;height:6px;border-radius:50%;background:#8fafb8}.mp-tray{width:100%;max-width:500px;box-sizing:border-box;border:solid #7ab6bc;border-width:3px 3px 9px;border-radius:20px;background:#e9f8f5;padding:10px}.mp-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:2px}.mp-dots>span{width:30px;height:30px;display:block}.mp-dots .mp-piece{width:100%;height:100%}.mp-cover{min-height:70px!important;width:min(100%,370px);background:#ffe0bc!important;border-color:#b6844a!important}.mp-mystery{border:3px dashed #ae8ab5;border-radius:16px;padding:18px;background:#f4eaf8;font-weight:700}.mp-dot-photo{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;padding:15px;border:6px solid white;background:#e3eefd;box-shadow:0 3px 12px #bed2d8}.mp-five{border:2px solid #78aebc;border-radius:12px;padding:6px;width:100px}.mp-given-line{display:flex;align-items:center;gap:8px}.mp-pair-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;width:100%}.mp-pair-columns>div{align-content:start}.mp-pair-right{display:flex;align-items:center;border:2px dashed #9bc2d0;padding:4px;border-radius:12px}.mp-pair-right.is-linked{background:#d1f1d9;border-style:solid}.mp-number-line{display:flex;align-items:end;justify-content:center;gap:3px;border-bottom:4px solid #94c5c1;width:100%;padding-top:25px}.mp-number-line>span{min-width:32px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:23px;padding:5px 2px}.mp-number-line .is-frog{background:#e3f3b2;border-radius:20px}.mp-number-line .is-footprint{color:#a87535}.mp-route-history{display:flex;gap:6px;flex-wrap:wrap;font-size:14px}.mp-houses{display:flex;justify-content:center;align-items:end;gap:14px;margin-top:24px}.math-play-board .mp-house{width:68px;height:78px;min-height:78px;border-radius:4px;background:#f2d6b3;border:3px solid #aa7856;position:relative;display:flex;justify-content:center;align-items:center;font-size:30px;font-weight:800}.mp-house:before{content:"";position:absolute;top:-24px;left:-5px;border-left:37px solid transparent;border-right:37px solid transparent;border-bottom:24px solid #6b98b3}.mp-house.is-given{background:#d4edf0}.mp-train{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:8px 0 15px;border-bottom:4px solid #9b8c7d}.mp-engine{font-size:25px;font-weight:800}.math-play-board .mp-carriage{width:62px;height:58px;background:#ffe2a0;border-color:#b48841;position:relative}.mp-carriage:after{content:"●　●";position:absolute;bottom:-12px;font-size:18px;color:#495c68}.mp-place-value{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}.mp-place-value>div{border:2px solid #b4cddd;border-radius:15px;padding:8px;text-align:center;background:#eef6fc}.mp-place-value>div+div{background:#fff0da;border-color:#edcda7}.mp-place-value strong{display:block;font-size:24px}.mp-ten-rod{display:flex;flex-direction:column;width:20px;height:70px;border:1px solid #24657a;border-radius:3px;overflow:hidden}.mp-ten-rod i{flex:1;border-bottom:1px solid #d3f1f4;background:#2f95ad}.mp-place-value .mp-token-bank>.mp-button{width:44px;min-height:82px}.mp-domino{display:grid;grid-template-columns:1fr 1fr;width:100%;border:5px solid #4c5974;border-radius:20px;background:white;padding:10px;gap:10px}.mp-domino>.mp-dots{align-content:center;border-right:3px solid #4c5974;padding-right:10px}.mp-domino>.mp-tray{padding:5px;border:0;background:transparent}.mp-dice-row{display:flex;gap:22px;justify-content:center}.math-play-board .mp-die{width:100px;height:100px;border:4px solid #87aeb9;border-radius:22px;background:#fff}.mp-die .mp-dots>span{width:24px;height:24px}.mp-balance{width:min(100%,420px);min-height:140px;position:relative;padding-top:20px}.mp-beam{height:7px;background:#86614e;position:absolute;top:28px;left:10%;right:10%;transition:transform .2s}.mp-balance-pans{display:flex;justify-content:space-between;gap:30px;position:relative}.mp-balance-pans>div{width:45%;border-bottom:8px solid #b69a69;border-radius:0 0 35% 35%;padding:15px 4px 7px;background:#f4e7caaa}.mp-balance-pans .mp-dots>span{width:21px;height:21px}.mp-fulcrum{position:absolute;left:45%;top:40px;font-size:58px;color:#6a989b}.mp-two-trays{grid-template-columns:1fr 1fr;text-align:center}.mp-share-grid,.mp-two-trays{display:grid;gap:10px;width:100%}.mp-share-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-share-bowl{border:3px solid #aed5c6;border-radius:15px;background:#f2fbef;padding:7px;text-align:center}.mp-share-bowl>.mp-button{margin-bottom:6px}.mp-bags{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.mp-bag{width:130px;padding:8px;border:3px solid #b59362;background:#f4e7bd;border-radius:10px 10px 30px 30px;text-align:center}.mp-bag>.mp-button{font-size:13px;margin:3px 0}.mp-shop{display:flex;flex-wrap:wrap;gap:15px;font-size:24px;font-weight:800;border-bottom:6px solid #ce887d;padding:14px;background:#ffe7de;border-radius:18px}.math-play-board .mp-coin{width:58px;height:58px;border-radius:50%;border:4px double #b68c2d;background:#ffe17f;font-size:26px}.math-play-board .coin-2{background:#dde4e6;border-color:#83969b}.math-play-board .coin-5{background:#f0ca84;border-color:#a8793d}.mp-money-tray{width:100%;min-height:85px;border:solid #7898a5;border-width:4px 4px 12px;border-radius:20px;padding:8px;background:#e4eff2}.mp-money-tray .mp-coin{width:48px;height:48px;font-size:21px}.mp-measure-scroll,.mp-peg-scroll{width:100%;overflow:auto;overscroll-behavior:contain;padding:5px}.mp-measure-ruler{max-width:none;position:relative;border-left:3px solid #e07863;padding-top:5px}.mp-measure-target{height:40px;background:repeating-linear-gradient(45deg,#d881a0,#d881a0 9px,#eba5bc 0,#eba5bc 18px);border-radius:5px;color:#51283f;text-align:center;margin-bottom:12px;font-weight:800;overflow:hidden;white-space:nowrap}.mp-measure-cells{display:flex}.mp-measure-cells .mp-button{min-width:46px;width:46px;height:46px;border-radius:3px;padding:2px;box-shadow:none}.mp-ticks{display:flex}.mp-ticks span{min-width:46px;width:46px;border-left:1px solid #3e6577;padding:3px;font-size:12px}.mp-map{display:grid;border:4px solid #8dbea0;border-radius:8px;overflow:hidden}.mp-map-cell{width:44px;height:44px;background:#f7f7dc;display:flex;align-items:center;justify-content:center;border:1px solid #d4d9b6;font-size:26px}.mp-map-cell.is-trail{background:#c9e6d3}.mp-route-controls{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}.mp-clock-select{gap:8px}.mp-clock{width:260px;height:260px;position:relative;flex-shrink:0}.mp-clock>svg{width:100%;height:100%}.math-play-board .mp-clock-number{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;padding:0;border:0;background:transparent;box-shadow:none;border-radius:50%;font-size:20px}.math-play-board .mp-clock-number.is-active{background:#c7e8ee;box-shadow:none}.mp-pattern-given{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.mp-pattern-unit{display:flex;gap:3px;background:#e7e2f3;border:2px solid #bdb2d3;border-radius:13px;padding:5px}.mp-pattern-unit .mp-piece{width:30px;height:30px}.mp-mirror-grid{display:grid;gap:0;border:3px solid #adbfd6}.math-play-board .mp-mirror-grid .mp-button{width:44px;height:44px;padding:2px;border-radius:0;border:1px solid #b8c5d6;box-shadow:none}.math-play-board .mp-mirror-grid .mp-axis{border-left:3px dashed #ce699b}.mp-peg-board{position:relative;display:grid;background:#e1eddc;border-radius:10px;max-width:none}.mp-rubber{position:absolute;inset:0;pointer-events:none;z-index:1}.math-play-board .mp-peg{position:relative;z-index:2;width:48px;height:48px;padding:0;border:0;background:transparent;box-shadow:none;font-size:16px}.math-play-board .mp-peg.is-active{background:#c55f8640;color:#843b65}.mp-shape-card{display:flex;flex-direction:column;align-items:center;padding:12px;border:3px solid #bfacd1;border-radius:20px;background:#f4eafc}.mp-shape-card .mp-piece{width:110px;height:110px}.mp-shape-card>span{font-size:13px}.mp-mailboxes{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.math-play-board .mp-mailbox{flex-direction:column;background:#e3f0d8;border-color:#83ab78;min-width:57px;font-size:22px}.mp-mailbox b{font-size:13px}.mp-posted{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.mp-posted>span{display:flex;align-items:center;font-size:14px}.mp-survey{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%;border:2px solid #ecd5ad;border-radius:15px;padding:7px;background:#fff0d8}.mp-survey .mp-dots>span{width:24px;height:24px}.mp-graph{display:flex;gap:20px;justify-content:center;align-items:end;width:100%}.mp-graph-column{flex-direction:column;justify-content:end}.mp-graph-bar,.mp-graph-column{display:flex;align-items:center}.mp-graph-bar{min-height:50px;border:2px solid #b6ced4;border-bottom:5px solid #497989;background:repeating-linear-gradient(0deg,#eef8fa 0,#eef8fa 44px,#adc8d0 0,#adc8d0 46px);width:58px;flex-direction:column-reverse;justify-content:flex-start;padding:0 5px}.mp-graph-bar .mp-button{width:44px;height:46px;min-height:46px;padding:3px;border:0;background:transparent;box-shadow:none}.mp-graph-column>.mp-button{margin-top:5px}.mp-number-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%}.mp-number-entry label{text-align:center;font-weight:700}.mp-number-output{min-width:75px;font-size:35px;text-align:center;border:3px solid #71aeb5;background:#fff3bd;border-radius:14px;padding:6px}.mp-keypad{display:grid;grid-template-columns:repeat(4,minmax(44px,64px));gap:7px;justify-content:center}.mp-keypad .mp-button{font-size:22px}.mp-pages{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:6px}.mp-pages>span{text-align:center;font-size:13px}@media(min-width:700px){.mp-panel{padding:16px;gap:14px}.mp-instruction{font-size:16px}.mp-frame .mp-button{height:58px}.mp-share-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mp-place-value{max-width:650px}.mp-peg-scroll{display:flex;justify-content:center}}@media(max-width:360px){.mp-panel{padding:5px;border-radius:15px;gap:7px}.mp-frame{padding:4px;gap:2px}.mp-frame .mp-button{height:44px}.mp-instruction{font-size:13px}.mp-sign{font-size:18px}.mp-mirror-grid{border-width:1px}.mp-domino{padding:5px;gap:5px}.mp-share-grid{gap:5px}.mp-share-bowl{padding:3px}}@media(orientation:landscape) and (max-height:600px){.mp-panel{padding:7px;gap:6px}.mp-pages>span,.mp-panel>.mp-instruction{font-size:12px}.mp-instruction{max-width:750px!important}.mp-frame{width:370px}.mp-clock{width:260px;height:260px}.mp-share-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.mp-beam{transition:none}}.mp-core-geometry{width:min(100%,520px);height:auto;max-height:230px;flex-shrink:0}.mp-core-clock{width:220px;height:220px}.mp-core-shape .mp-piece{width:160px;height:160px}.mp-core-options{display:grid;grid-template-columns:1fr;width:min(100%,550px);gap:12px}.mp-core-options .mp-button{min-height:56px;font-size:20px}.mp-core-option{display:flex;align-items:center;gap:12px;min-width:0}.mp-core-option-answer{flex:1;min-width:0;overflow-wrap:anywhere}.mp-core-option-speaker{flex:0 0 56px;min-width:56px!important}.mp-core-option-speaker .btn-round{width:56px!important;height:56px!important;min-width:56px;min-height:56px}.mp-core-context summary{min-height:44px;padding:10px;cursor:pointer}.math-board.math-play-board{flex-direction:column}.mp-paged-surface{display:flex;flex:1 1 0;flex-direction:column;min-height:0;min-width:0;gap:4px;overflow:hidden;border:2px solid #d6e8e8;border-radius:18px;background:linear-gradient(145deg,#fffdf3,#f0f9fa)}.mp-viewport{flex:1 1 0;min-height:44px;min-width:0;overflow:clip;position:relative}.mp-paged-surface .mp-panel{min-height:0;height:auto;overflow:visible;border:0;border-radius:0;background:none;will-change:transform}.mp-column-nav,.mp-surface-pages{display:flex;align-items:center;justify-content:space-between;gap:4px;flex:0 0 auto;min-height:44px;background:#e7f3f0}.mp-column-nav>span,.mp-surface-pages>span{font-size:12px;text-align:center}.mp-column-pages{width:100%;display:flex;align-items:center;flex-direction:column;gap:6px}.mp-column-nav{width:100%;max-width:360px}.mp-peg-overview{width:100px;height:100px}.mp-peg-board{overflow:hidden;flex-shrink:0}.mp-measure-ruler{border-left:0}.mp-clock{width:220px;height:220px}.mp-clock .mp-clock-select{position:absolute;left:66px;top:116px;gap:0}.math-play-board .mp-clock-select .mp-button{width:44px;height:44px;padding:2px;font-size:12px;border-radius:10px}@media(orientation:landscape) and (max-height:600px){.mp-clock{width:220px;height:220px}}.mp-clock-preview{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}.mp-clock-preview>svg{display:block;width:auto;height:100%;max-width:100%;max-height:160px;aspect-ratio:1}.mp-paged-surface .mp-panel:has(>.mp-clock-preview){height:100%;padding:5px}.mp-clock-number-grid{display:grid;grid-template-columns:repeat(4,44px);gap:6px}.math-play-board .mp-clock-number-grid .mp-clock-number{position:static;transform:none;border:2px solid #b9d4d9;border-radius:10px;background:white}.mp-clock-select{position:static;display:flex;gap:6px}.math-play-board .mp-clock-select .mp-button{width:auto;min-width:70px;font-size:14px}@media(orientation:landscape) and (max-height:600px){.math-play-board .mp-paged-surface{flex-direction:row}.math-play-board .mp-surface-pages{flex-direction:column;justify-content:space-between;width:48px;min-width:48px;max-width:48px;min-height:0;gap:2px}.math-play-board .mp-surface-pages>span{font-size:10px;line-height:1.1}.math-play-board .mp-surface-pages .mp-button{flex-shrink:0}.math-play-board .mp-button{min-height:44px;height:44px;padding:2px 6px;font-size:13px}.math-play-board .mp-token-bank>.mp-button:has(small){height:44px;position:relative}.mp-token-bank>.mp-button small{position:absolute;right:0;bottom:0;background:#fff;font-size:9px}.mp-place-value .mp-ten-rod{height:36px}.math-play-board .mp-die{height:44px;width:100px}.mp-die .mp-dots>span{width:16px;height:16px}.mp-clock-number-grid{grid-template-columns:repeat(6,44px);gap:4px}.mp-paged-surface .mp-panel:has(>.mp-clock-preview){width:100%}}@media(orientation:landscape) and (max-height:450px){.math-play-board .mp-surface-pages{flex-direction:row;align-items:center;justify-content:center;width:96px;min-width:96px;max-width:96px;gap:4px}.math-play-board .mp-surface-pages>span{display:none}}.mp-number-entry{gap:6px}.mp-number-output{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:64px;height:44px;padding:2px 8px;font-size:27px;line-height:1}.mp-keypad{grid-template-columns:repeat(4,56px);gap:12px}.math-play-board .mp-keypad .mp-button{width:56px;height:56px;min-height:56px;padding:2px;font-size:22px}.math-play-board .mp-keypad .mp-number-clear{font-size:13px}.mp-paged-surface .mp-panel:has(>.mp-number-entry){padding:5px}@media(orientation:landscape) and (max-height:600px){.mp-number-entry{flex-direction:row;gap:10px}.mp-number-output{min-width:56px}}.math-work-board{display:flex;flex-direction:column;gap:6px;min-height:0;padding:10px}.math-work-note,.math-work-step{margin:0;font-size:clamp(12px,1.6vw,18px);line-height:1.35}.math-work-note{color:#6d7874}.math-work-canvas{width:100%;min-height:90px;flex:1;touch-action:none;border:2px solid #b9d5d9;border-radius:14px;background:#fffdf8}.math-work-tools{display:flex;flex-wrap:wrap;gap:5px;flex-shrink:0}.math-work-tools .mp-button{font-size:13px;padding:3px 7px;min-height:56px;min-width:56px}.math-work-caption{display:flex;gap:8px;align-items:center;font-size:11px;line-height:1.25}.math-work-caption button{min-height:44px;flex-shrink:0;border:1px solid #8ebfc5;border-radius:12px;padding:4px}.math-work-board textarea{width:100%;font-size:16px;min-height:50px;border:1px solid #8bb2ba;border-radius:10px}.math-work-observations{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.math-survey{display:grid;gap:6px;min-height:0}.math-survey>div{display:grid;grid-template-columns:1fr 44px 24px 44px 44px;gap:5px;align-items:center}.math-survey svg{grid-column:1/-1;width:100%;height:22px}.mp-quantity-model{display:flex;flex-direction:column;align-items:center;gap:4px}.mp-quantity-model>div{display:flex;flex-wrap:wrap;justify-content:center;gap:3px}.mp-quantity-model .mp-piece{width:18px;height:18px}.mp-quantity-model .mp-ten-rod{height:16px;min-width:65px}.math-resume{display:block;text-align:center;font-size:14px;line-height:1.25;min-height:44px;padding:8px;border:1px solid #90bfb7;border-radius:14px;background:#eff8ef}.mp-clock-workspace{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;width:100%}.mp-clock-workspace .mp-clock-preview{width:140px;height:140px;flex:0 0 140px}.mp-clock-controls{display:grid;gap:8px}.mp-clock-controls>div{display:flex;align-items:center;gap:6px}.mp-clock-controls strong{font-size:15px;min-width:34px}.mp-clock-controls output{min-width:25px;text-align:center;font-size:22px}@media(orientation:landscape) and (max-height:450px){.mp-clock-workspace .mp-clock-preview{width:110px;height:110px;flex-basis:110px}.mp-clock-controls{gap:4px}}.math-work-tools select{min-height:44px;min-width:110px;max-width:180px;border:1px solid #8ebfc5;border-radius:12px;background:white;font-size:16px;padding:4px}.math-work-board .math-work-notes{flex:1;min-height:90px;resize:none}.math-work-board .math-work-caption{flex-shrink:0}.math-work-board .math-work-canvas{height:auto;min-height:90px;aspect-ratio:var(--canvas-ratio,1000/600);flex:1 1 auto;max-height:100%}@media(orientation:landscape) and (max-height:600px){.math-board.math-work-board{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(44px,1fr) 44px;gap:4px}.math-work-note,.math-work-step{grid-column:1/-1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.math-work-step{grid-row:1}.math-work-note{grid-row:2}.math-work-note+.math-work-note{display:none}.math-survey,.math-work-canvas,.math-work-notes{grid-column:1;grid-row:3/5;height:100%!important;min-height:0!important;aspect-ratio:auto}.math-work-tools{grid-column:2;grid-row:3;max-width:190px}.math-work-caption{grid-column:2;grid-row:4;max-width:190px}.math-work-caption span{display:none}.math-work-observations{grid-column:1/-1;grid-row:3}.math-work-board:has(.math-work-observations) .math-work-canvas{display:none}}.math-survey .math-survey-label{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:12px}.math-survey .math-survey-label svg{width:100%;height:16px}.math-survey>div{grid-template-columns:minmax(50px,1fr) 44px 20px 44px 44px;gap:4px;min-height:44px}.math-work-board:has(.math-work-observations){justify-content:center}.math-work-board:has(.math-work-observations) .math-work-caption{margin-top:6px}@media(orientation:landscape) and (max-height:600px){.math-board.math-work-board{grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:auto auto minmax(44px,1fr) 44px;padding:4px}.math-work-caption,.math-work-tools{max-width:240px}.math-work-tools{align-content:start;flex-wrap:nowrap}.math-work-tools select{min-width:100px;width:120px}.math-work-tools .mp-button{padding:2px 4px}.math-work-board:has(.math-survey){grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) 44px}.math-work-board:has(.math-survey) .math-work-note{grid-row:1}.math-work-board .math-survey{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr);align-items:center;gap:6px}.math-work-board:has(.math-survey) .math-work-caption{grid-column:1;grid-row:3}.math-work-board:has(.math-work-observations){grid-template-rows:auto minmax(0,1fr) 44px}.math-work-board:has(.math-work-observations) .math-work-note{grid-row:1}.math-work-board .math-work-observations{grid-row:2}.math-work-board:has(.math-work-observations) .math-work-caption{grid-column:1/-1;grid-row:3;margin:0}}.mp-peg-canvas{display:block;width:100%;height:100%;min-height:44px;max-height:480px;flex:1!important;touch-action:none}.mp-peg-cursor{display:none}.mp-peg-canvas:focus-visible .mp-peg-cursor{display:block}.mp-paged-surface .mp-panel:has(>.mp-peg-canvas){height:100%;padding:4px}.mp-peg-shapes .mp-instruction{font-size:12px;line-height:1.3}.mp-peg-shapes .mp-tools{flex-shrink:0}.math-work-board .math-work-tools{gap:12px}.math-work-board .math-work-tools select{min-width:100px;width:100px}.math-work-board .math-work-tools .mp-button{font-size:12px;min-width:56px;padding:2px 4px}.mp-core-option-copy{display:flex;flex-direction:column;align-items:center;gap:1px;line-height:1.15}.mp-core-option-copy small{font-size:12px;color:#496c68}.math-work-controls{display:flex;flex-direction:column;gap:12px;flex-shrink:0}.math-work-palette{display:flex;flex-wrap:wrap;gap:4px}.math-work-palette .mp-button{display:flex;align-items:center;gap:3px;font-size:12px;min-height:56px;min-width:56px;padding:3px 6px}.math-work-palette svg{width:28px;height:24px;flex-shrink:0}.math-work-canvas [data-piece]{cursor:grab}@media(orientation:landscape) and (max-height:600px){.math-work-controls{grid-column:2;grid-row:3/5;max-width:240px;justify-content:center}.math-work-controls .math-work-tools{flex-wrap:wrap}}.mp-fixed-tools{flex-wrap:wrap;justify-content:center;flex:0 0 auto;padding:2px 0}.mp-fixed-tools,.mp-panel-part{display:flex;align-items:center;gap:8px}.mp-panel-part{flex-direction:column;width:100%;box-sizing:border-box;padding:2px;border-radius:14px}.mp-panel-part+.mp-panel-part{border-top:2px dashed #cfe3e6;padding-top:12px;margin-top:4px}.mp-panel-label{margin:0;font-size:13px;line-height:1.2;font-weight:700;color:#4f7078}@media(max-height:740px) and (orientation:portrait),(orientation:landscape) and (max-height:600px){.mp-panel-label{display:none}}.mp-panel-part.is-suggested{outline:3px solid #e2a63b;outline-offset:2px;background:#fff7e3}@media(min-width:700px) and (min-height:601px){.mp-keypad{grid-template-columns:repeat(4,64px)}.math-play-board .mp-keypad .mp-button{width:64px;height:64px;min-height:64px;font-size:26px}}.mp-paged-surface .mp-panel:has(.mp-clock-preview),.mp-paged-surface .mp-panel:has(.mp-peg-canvas){height:100%}.mp-panel-part:has(>.mp-clock-workspace),.mp-panel-part:has(>.mp-peg-canvas){flex:1 1 0;min-height:0}.mp-panel-part:has(>.mp-number-entry){padding:0}@media(orientation:portrait){.mp-surface-pages{margin-top:8px}}@media(orientation:landscape){.math-play-board .mp-surface-pages{margin-left:8px}}@media(max-height:740px) and (orientation:portrait){.mp-panel{padding:6px;gap:8px}.math-board.math-work-board{padding:6px;gap:4px}.math-work-board .math-work-note{display:none}.math-work-board .math-work-canvas{min-height:70px}}@media(max-width:360px){.mp-fixed-tools{gap:6px}.mp-fixed-tools .mp-button{padding:3px 6px;font-size:14px}.math-board.math-work-board{overflow-y:auto;overscroll-behavior:contain}}@media(max-height:740px) and (orientation:portrait){.mp-number-entry{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}}.math-burger-tools,.math-counter-tools,.math-work-palette,.math-work-tools,.mp-fixed-tools,.mp-tools{gap:12px}.mp-two-trays{column-gap:16px}.mp-paged-surface+.mp-fixed-tools{margin-top:8px}@media(max-width:360px){.mp-fixed-tools{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain}.mp-fixed-tools>*{flex:0 0 auto}}.math-burger-tools button,.math-counter-tools button,.math-work-board .math-work-palette .mp-button,.math-work-board .math-work-tools .mp-button,.math-work-palette .mp-button,.math-work-tools .mp-button,.mp-fixed-tools .mp-button,.mp-tools .mp-button{min-width:56px;min-height:56px}.math-work-tools select{min-height:56px}.math-work-board .math-work-canvas{min-height:120px;min-width:120px}@media(max-height:740px) and (orientation:portrait){.math-work-controls{flex-direction:row;flex-wrap:nowrap;align-items:center;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.math-work-controls .math-work-palette,.math-work-controls .math-work-tools{flex-wrap:nowrap;flex:0 0 auto}}.math-board .math-compare .is-colored,.math-board .math-count-choices .is-circled,.math-board .math-sum-bowl.is-colored,.math-play-board .mp-button.is-active{position:relative}.math-board .math-compare .is-colored,.math-board .math-count-choices .is-circled,.math-board .math-sum-bowl.is-colored{border-color:#163242;box-shadow:inset 0 0 0 3px #163242}.math-board .math-compare .is-colored:after,.math-board .math-count-choices .is-circled:after,.math-board .math-sum-bowl.is-colored:after,.math-play-board .mp-button.is-active:after{content:"";position:absolute;top:3px;right:3px;width:10px;height:10px;border-radius:50%;background:#163242;box-shadow:0 0 0 2px #fff;pointer-events:none}.math-board[data-graded]{position:relative;border-radius:18px}.math-board[data-graded=correct]{outline:3px solid #2f7a52;outline-offset:-3px}.math-board[data-graded=wrong]{outline:3px dashed #b3261e;outline-offset:-3px}.math-board[data-graded=correct]:after{content:"✓";position:absolute;top:4px;right:4px;z-index:3;width:24px;height:24px;border-radius:50%;background:#2f7a52;box-shadow:0 1px 3px #0004;color:#fff;font-size:16px;font-weight:900;line-height:24px;text-align:center;pointer-events:none}.math-board[data-graded] :is(.mp-choice.is-active,.math-count-choices .is-circled,.math-compare .is-colored,.math-sum-bowl.is-colored):after{top:2px;right:2px;z-index:3;width:16px;height:16px;border:0;border-radius:50%;box-shadow:0 0 0 2px #fff;color:#fff;font-size:11px;font-weight:900;line-height:16px;text-align:center;pointer-events:none}.math-board[data-graded=correct] :is(.mp-choice.is-active,.math-count-choices .is-circled,.math-compare .is-colored,.math-sum-bowl.is-colored):after{content:"✓";background:#2f7a52}.math-board[data-graded=wrong] :is(.mp-choice.is-active,.math-count-choices .is-circled,.math-compare .is-colored,.math-sum-bowl.is-colored):after{content:"✗";background:#b3261e}.math-board[data-graded=correct] :is(.mp-number-output,.math-number-slot){border-color:#2f7a52;border-style:solid;box-shadow:0 0 0 2px #2f7a52}.math-board[data-graded=wrong] :is(.mp-number-output,.math-number-slot){border-color:#b3261e;border-style:dashed}.math-board[data-graded] :is(.mp-choice.is-active,.math-count-choices .is-circled,.math-compare .is-colored,.math-sum-bowl.is-colored,.math-number-slot):disabled{opacity:1}.math-pinned-picture{display:none;justify-content:center;align-items:center;width:100%;max-height:var(--pin-max,80px);overflow:hidden;pointer-events:none;flex:0 0 auto}.math-board .math-pinned-picture .math-objects{display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:2px}.math-board .math-pinned-picture .math-object{width:var(--pin-object,24px);height:var(--pin-object,24px);min-width:0;min-height:0}.math-pinned-picture .math-story-frames{gap:4px}.math-pinned-picture .math-story-frame{gap:2px}.math-pinned-picture .math-story-change{font-size:16px}.math-pinned-picture .math-givens{font-size:14px}.math-pinned-picture[data-overfull]{align-items:flex-start;overflow-y:auto;overscroll-behavior:contain;pointer-events:auto}.math-scene[data-fit] .math-objects{display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:2px}.math-scene[data-fit] .math-object:not(button){width:var(--scene-object);height:var(--scene-object);min-width:0;min-height:0}@media(max-height:740px) and (orientation:portrait){.math-board.pane-numbers .math-pinned-picture{display:flex}}.math-board.is-cramped:not(.is-demonstration)>.math-pane-tabs{display:flex;flex:0 0 auto;gap:12px}.math-board.is-cramped:not(.is-demonstration)>.math-pane-tabs button{flex:1;min-height:44px;border:1px solid #b8d1c5;border-radius:12px;background:#f7faf1;font-size:14px}.math-board.is-cramped:not(.is-demonstration)>.math-pane-tabs button[aria-pressed=true]{background:#dfecda;font-weight:800}.math-board.is-cramped:not(.is-demonstration).pane-model>.math-numeric-area{display:none}.math-board.is-cramped:not(.is-demonstration).pane-model>.math-scene{flex:1 1 0;min-height:0}.math-board.is-cramped:not(.is-demonstration).pane-numbers>.math-scene{display:none}.math-board.is-cramped:not(.is-demonstration).pane-numbers>.math-numeric-area{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;justify-content:safe center}.math-board.is-cramped:not(.is-demonstration).pane-numbers .math-pinned-picture{display:flex}@media(orientation:landscape) and (max-height:600px){.math-board.math-work-board{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(120px,1fr) auto auto}.math-work-note{display:none}.math-survey,.math-work-canvas,.math-work-notes{grid-column:1;grid-row:2}.math-work-controls{grid-column:1;grid-row:3;max-width:none;min-width:0;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:12px;overflow-x:auto;overscroll-behavior-x:contain}.math-work-controls .math-work-palette,.math-work-controls .math-work-tools{flex-wrap:nowrap;flex:0 0 auto}.math-work-caption,.math-work-tools{max-width:none}.math-work-caption{grid-column:1;grid-row:4}}.mp-number-side{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:8px;width:100%}.mp-number-side:before{content:""}.mp-number-side>.mp-number-limit{min-height:0;text-align:left;line-height:1.2}@media(max-height:740px) and (orientation:portrait) and (min-width:361px){.mp-number-side{display:flex;flex-direction:column;align-items:center;gap:4px;width:64px}.mp-number-side:before{display:none}.mp-number-side>.mp-number-limit{text-align:center}}.math-play-board.is-demonstration .mp-fixed-tools,.math-play-board.is-demonstration .mp-keypad,.math-play-board.is-demonstration .mp-number-limit{display:none}@media(orientation:landscape) and (max-height:600px){.math-play-board .mp-surface-pages{flex-direction:column;justify-content:center;width:44px;min-width:44px;max-width:44px;gap:4px;margin-left:6px}.math-play-board .mp-surface-pages>span{display:none}.mp-panel{padding:2px}.mp-number-entry{flex-direction:column;align-items:stretch;gap:6px}.mp-keypad{grid-template-columns:repeat(auto-fill,56px);justify-content:start;width:100%}.mp-frame{width:min(100%,370px);padding:3px;gap:2px}.mp-mirror-grid{border-width:1px}}.mp-place-value .mp-token-bank>.mp-button{min-height:44px}.mp-place-value .mp-token-bank>.mp-button:has(.mp-ten-rod){min-height:82px}@media(max-height:740px) and (orientation:portrait){.mp-place-value .mp-token-bank>.mp-button:has(.mp-ten-rod){min-height:56px}.mp-place-value .mp-ten-rod{height:44px}.mp-cover{min-height:56px!important}}@media(max-height:600px) and (orientation:portrait){.math-play-board .mp-die{width:72px;height:72px}.mp-die .mp-dots>span{width:18px;height:18px}}@media(orientation:landscape) and (max-height:600px){.mp-core-options{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.mp-core-options .mp-button{height:auto;min-height:56px}.mp-place-value .mp-token-bank>.mp-button:has(.mp-ten-rod){min-height:44px}.mp-cover{min-height:56px!important}}.mp-surface-label.is-pinned{flex:1 1 auto}.mp-pin,.mp-surface-label.is-pinned{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;overflow:hidden}.mp-pin{height:40px;pointer-events:none}.mp-pin .mp-core-geometry{width:auto;height:40px;max-width:160px;max-height:40px;flex:0 1 auto}.mp-pin .mp-core-shape .mp-piece{width:36px;height:36px}.mp-pin-rows{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}.mp-pin .mp-dots{flex-wrap:nowrap;gap:1px}.mp-pin .mp-dots>span{width:12px;height:12px}.mp-pin .mp-quantity-model{flex-direction:row;gap:2px}.mp-pin .mp-quantity-model .mp-ten-rod{width:6px;height:18px;min-width:0}.mp-pin .mp-quantity-model .mp-piece{width:8px;height:8px}.mp-pin .mp-quantity-model strong{display:none}.mp-pin-grid{display:grid;grid-template-columns:repeat(5,7px);gap:1px}.mp-pin-grid>i{display:block;width:7px;height:7px;border-radius:2px;background:#d6e8e8}.mp-pin-grid>i.is-on{background:#188ca6}.mp-pin-number{flex:0 0 auto;min-width:32px;padding:1px 6px;font-size:20px;font-weight:800;line-height:1.3;text-align:center;border:2px solid #71aeb5;border-radius:8px;background:#fff3bd}@media(orientation:landscape) and (max-height:600px){.math-play-board .mp-paged-surface.has-pin{flex-direction:column}.math-play-board .mp-paged-surface.has-pin>.mp-surface-pages{flex-direction:row;justify-content:space-between;width:auto;min-width:0;max-width:none;min-height:44px;margin:4px 0 0;gap:12px}.math-play-board .mp-paged-surface.has-pin>.mp-surface-pages>span{display:flex;align-items:center;justify-content:center;flex:1 1 auto;min-width:0}}@media(orientation:portrait) and (min-height:741px) and (max-height:900px){:is(.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration).pane-numbers .math-pinned-picture{display:flex}}.math-numeric-head{display:flex;flex-direction:column;align-items:center;align-self:stretch;gap:inherit;position:sticky;top:0;z-index:1;background:var(--paper,#fff8ef)}@media(orientation:landscape) and (max-height:600px){:is(.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration)>.math-pane-tabs{display:flex;flex:0 0 auto;gap:12px}:is(.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration)>.math-pane-tabs button{flex:1;min-height:44px;border:1px solid #b8d1c5;border-radius:12px;background:#f7faf1;font-size:14px}:is(.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration)>.math-pane-tabs button[aria-pressed=true]{background:#dfecda;font-weight:800}:is(.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-model>.math-numeric-area{display:none}:is(.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-model>.math-scene{flex:1 1 0}:is(.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-numbers>.math-scene{display:none}.math-board:is(.is-cramped,.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-numbers>.math-numeric-area{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;column-gap:12px;row-gap:6px;align-items:start;flex:1 1 0;min-height:0;overflow:hidden}.math-board:is(.is-cramped,.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-numbers>.math-numeric-area>.math-numeric-head{display:contents}.math-board:is(.is-cramped,.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-numbers .math-pinned-picture{display:flex;grid-column:1;grid-row:1/-1;align-self:stretch;height:100%;max-height:none}.math-board:is(.is-cramped,.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-numbers .math-equation{grid-column:2;grid-row:1;justify-self:center}.math-board:is(.is-cramped,.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-numbers>.math-numeric-area>.math-keypad{grid-column:2;grid-row:2;align-self:stretch;grid-template-columns:repeat(3,56px);align-content:start;width:auto;max-height:100%;overflow-y:auto;overscroll-behavior:contain}.math-board:is(.is-cramped,.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-numbers>.math-numeric-area>.mp-number-limit{grid-column:2;grid-row:3}.math-board:is(.is-cramped,.math-board-draw-add-equation,.math-board-draw-subtract-equation,.math-board-story-result-add,.math-board-story-result-subtract,.math-board-story-unknown-change):not(.is-demonstration):has(>.math-pane-tabs).pane-numbers>.math-numeric-area>.mp-number-limit:empty{min-height:0}.math-play-board .mp-paged-surface:not(.has-pin)>.mp-surface-pages>.is-pinned{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto}.math-play-board .mp-paged-surface:not(.has-pin)>.mp-surface-pages>.is-pinned .mp-surface-count{display:none}.math-play-board .mp-paged-surface:not(.has-pin) .mp-pin{height:auto}.math-play-board .mp-paged-surface:not(.has-pin) .mp-pin-number{min-width:0;max-width:44px;padding:1px 2px;font-size:16px;overflow:hidden}.math-scene>.math-model,.math-scene>.math-story{height:100%;min-height:0}.math-model>.math-model-toolbar,.math-story>.math-counter-tools{flex:0 0 auto}.math-model>.math-bowl,.math-story>.math-story-frames{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;align-items:safe center}}