:root{--operand-first-color: #5b63e7;--operand-second-color: #c45b12;font-family:ui-rounded,Trebuchet MS,Verdana,Arial,sans-serif;color:#24324f;background:#f5f7fd;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:300px}button,input{font:inherit}input{caret-color:#5b63e7;caret-shape:block}button{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M4 3v26l7-7 5 11 5-2-5-11h11L4 3z' fill='%23ffd166' stroke='%231b2849' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M28 2l1.5 4.5L34 8l-4.5 1.5L28 14l-1.5-4.5L22 8l4.5-1.5z' fill='%235b63e7' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 4 3,pointer}button:focus-visible,input:focus-visible{outline:3px solid #236ce4;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.45}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.operand-breakdowns{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:8px;align-items:stretch;margin:8px 0 0}.operand-breakdown{min-width:0;padding:9px 10px;border:1px solid #dcefe9;border-radius:12px;background:#f6fffd}.operand-breakdown-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}.operand-breakdown-heading>span{color:#718d85;font-size:22px;font-weight:900;white-space:nowrap}.operand-breakdown-heading>strong{margin-left:auto;font-size:42px;line-height:1}.operand-breakdown-first .operand-breakdown-heading>strong{color:var(--operand-first-color)}.operand-breakdown-second .operand-breakdown-heading>strong{color:var(--operand-second-color)}.operand-breakdown-values{display:flex;flex-direction:column;align-items:stretch;gap:5px}.operand-breakdown-place{display:flex;min-width:0;flex-direction:column;align-items:stretch;gap:4px}.operand-breakdown-place>span{color:#667d76;font-size:22px;font-weight:800;text-align:center;white-space:nowrap}.app-shell .operand-breakdown .tens-visual,.app-shell .operand-breakdown .ones-visual{justify-content:center;gap:3px;width:100%;max-width:100%;min-height:0;margin:0}.app-shell .operand-breakdown .tens-visual{align-items:stretch;flex-direction:column}.app-shell .operand-breakdown .ones-visual{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:0}.app-shell .operand-breakdown .ten-rod{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));width:100%;height:auto;aspect-ratio:10 / 1;min-width:0;overflow:hidden;background:linear-gradient(90deg,#42bfb3,#54d0ae);border-radius:4px;border:0;box-shadow:0 0 0 1px #299c97}.app-shell .operand-breakdown .ten-rod-unit{display:flex;min-width:0;align-items:center;justify-content:center;border-right:1px solid #ffffff99;color:#174f4d;font-size:8px;font-variant-numeric:tabular-nums;font-weight:800;line-height:1}.app-shell .operand-breakdown .ten-rod-unit:last-child{border-right:0}.app-shell .operand-breakdown .one-cube{display:inline-flex;width:100%;height:auto;aspect-ratio:1;min-width:0;align-items:center;justify-content:center;border-width:1px;border-radius:3px;color:#69471d;font-size:8px;font-weight:800;line-height:1}.operand-breakdown-operator{display:grid;align-self:center;justify-self:center;place-items:center;color:#6b6edb;font-size:32px;font-weight:900;line-height:1}.operand-breakdown-operation{display:grid;align-self:center;justify-self:center;place-items:center;color:#6b6edb;font-size:48px;font-weight:900;line-height:1}@media(max-width:560px){.operand-breakdowns{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:5px}.operand-breakdown{padding:7px 6px;border-radius:10px}.operand-breakdown-heading{gap:3px;margin-bottom:6px}.operand-breakdown-heading>span{font-size:18px}.operand-breakdown-heading>strong{font-size:36px}.operand-breakdown-values{gap:4px}.operand-breakdown-place{gap:3px}.operand-breakdown-place>span{font-size:18px}.app-shell .operand-breakdown .ten-rod-unit{font-size:6px}.app-shell .operand-breakdown .one-cube{font-size:7px}.operand-breakdown-operation{font-size:36px}.operand-breakdown-operator{font-size:24px}}.app-shell .worksheet-button{display:flex;min-height:42px;align-items:center;gap:8px;flex:none;padding:10px 15px;border:0;border-radius:10px;background:#6267df;box-shadow:0 4px 10px #6870d840;color:#fff;font-size:12px;font-weight:900;white-space:nowrap}.app-shell .worksheet-button:hover{background:#5359d2}.print-worksheet{display:none}@page{size:A4 portrait;margin:10mm}@media(max-width:560px){.app-shell .worksheet-button{width:100%;justify-content:center}}@media print{html,body{min-width:0;background:#fff!important;color:#111!important}.app-shell.print-worksheet-active{display:none!important}.print-worksheet{display:block!important;color:#1e293b;font:10pt/1.25 Arial,sans-serif}.worksheet-header{margin-bottom:2mm;padding-bottom:1.5mm;border-bottom:2px solid #222}.worksheet-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:5mm}.worksheet-logo{display:block;width:50mm;max-height:14mm;object-fit:contain;object-position:left center}.worksheet-heading h1{margin:0;font-size:20pt;line-height:1.1}.worksheet-meta{margin:0;font-weight:700;text-align:right}.worksheet-identification{display:flex;gap:12mm;margin:2mm 0}.worksheet-identification>span{display:flex;align-items:baseline;gap:2mm}.worksheet-name-line,.worksheet-date-line{display:inline-block;height:5mm;border-bottom:1px solid #444}.worksheet-name-line{width:60mm}.worksheet-date-line{width:30mm}.worksheet-instruction{margin:0;font-size:9pt}.worksheet-problems{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5mm;margin:0;padding:0;list-style:none;break-inside:avoid;page-break-inside:avoid}.worksheet-problem{break-inside:avoid;page-break-inside:avoid;padding:1mm;border:1px solid #777;border-radius:1mm}.worksheet-problem-heading{display:flex;align-items:center;gap:2mm;margin-bottom:.5mm}.worksheet-number{display:grid;width:6mm;height:6mm;place-items:center;border:1px solid #444;border-radius:50%;font-weight:700}.worksheet-problem-heading strong{font-size:13pt}.worksheet-answer-line{display:inline-block;width:20mm;height:5mm;border-bottom:1px solid #222}.worksheet-grid{width:100%;border-collapse:collapse;table-layout:fixed}.worksheet-grid th,.worksheet-grid td{border:1px solid #777;padding:0 1mm;text-align:center}.worksheet-grid,.worksheet-grid th,.worksheet-grid td{-webkit-print-color-adjust:exact;print-color-adjust:exact}.worksheet-group-row th:nth-child(1),.worksheet-place-row th:nth-child(1),.worksheet-place-row th:nth-child(2),.worksheet-grid tbody td:nth-child(1),.worksheet-grid tbody td:nth-child(2){background-color:#fff0d9}.worksheet-group-row th:nth-child(2),.worksheet-place-row th:nth-child(3),.worksheet-place-row th:nth-child(4),.worksheet-grid tbody td:nth-child(3),.worksheet-grid tbody td:nth-child(4){background-color:#e5f4e4}.worksheet-group-row th:nth-child(3),.worksheet-place-row th:nth-child(5),.worksheet-place-row th:nth-child(6),.worksheet-grid tbody td:nth-child(5),.worksheet-grid tbody td:nth-child(6){background-color:#e6edff}.worksheet-grid th{height:4.5mm;font-size:8pt}.worksheet-grid .worksheet-place-row th{height:3mm;font-size:7pt;font-weight:400}.worksheet-grid td{height:7mm}}@media screen and (min-width:1100px)and (max-height:1080px){:root .app-shell{padding-right:20px;padding-left:20px}:root .app-shell .site-header{min-height:94px;gap:12px}:root .app-shell .brand-logo{width:250px;max-height:94px}:root .app-shell .header-right{gap:14px}:root .app-shell .star-counter{padding:6px 9px;font-size:15px}:root .app-shell .star-counter>span{font-size:18px}:root .app-shell .hero{min-height:0;padding:8px 20px;margin-bottom:6px;border-radius:16px}:root .app-shell .eyebrow{margin-bottom:6px;font-size:9px}:root .app-shell .hero h1{margin-bottom:0;font-size:clamp(23px,2.1vw,30px);line-height:1.15;letter-spacing:-.7px}:root .app-shell .hero-art{width:150px;height:90px;margin-right:0;transform:scale(.62);transform-origin:center right}:root .app-shell .setup{gap:10px;padding:7px 12px;margin-bottom:7px;border-radius:12px}:root .app-shell .setup-block{gap:10px}:root .app-shell .segmented,:root .app-shell .level-options{gap:2px;padding:3px}:root .app-shell .segmented button,:root .app-shell .level-options button{padding:6px 9px;font-size:11px}:root .app-shell .worksheet-button{min-height:36px;padding:7px 10px;font-size:11px}:root .app-shell .custom-wrap{margin:-3px 0 6px}:root .app-shell .custom-toggle{min-height:36px;gap:8px;padding:5px 11px;font-size:12px}:root .app-shell .custom-toggle-icon{flex-basis:22px;width:22px;height:22px;font-size:18px}:root .app-shell .workspace{gap:12px}:root .app-shell .exercise-card{border-radius:14px}:root .app-shell .exercise-head{height:42px;gap:8px;padding:0 16px}:root .app-shell .exercise-subtitle{font-size:10px}:root .app-shell .reset-button{padding:6px 0;font-size:11px}:root .app-shell .task-block{padding:8px 16px}:root .app-shell .task-header{gap:8px}:root .app-shell .task-block h2{margin-top:3px;font-size:18px}:root .app-shell .listen-button{padding:6px 9px;font-size:11px}:root .app-shell .operand-breakdowns{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:5px;margin-top:5px}:root .app-shell .operand-breakdown{padding:6px 7px;border-radius:9px}:root .app-shell .operand-breakdown-heading{gap:4px;margin-bottom:4px}:root .app-shell .operand-breakdown-heading>span{font-size:15px}:root .app-shell .operand-breakdown-heading>strong{font-size:30px}:root .app-shell .operand-breakdown-values{gap:3px}:root .app-shell .operand-breakdown-place{gap:2px}:root .app-shell .operand-breakdown-place>span{font-size:14px}:root .app-shell .operand-breakdown .ten-rod{aspect-ratio:16 / 1}:root .app-shell .operand-breakdown .ten-rod-unit{font-size:7px}:root .app-shell .operand-breakdown .one-cube{aspect-ratio:1.5;font-size:7px}:root .app-shell .operand-breakdown-operator{font-size:24px}:root .app-shell .operand-breakdown-operation{font-size:34px}:root .app-shell .big-equation{gap:12px;min-height:64px;padding:6px 8px;border-radius:12px;font-size:clamp(28px,2.8vw,40px)}:root .app-shell .big-equation .equals{font-size:30px}:root .app-shell .big-equation .question{min-width:50px;height:50px;border-radius:12px}:root .app-shell .workspace-caption{gap:8px;padding:4px 16px 8px}:root .app-shell .workspace-caption h3{margin-bottom:2px;font-size:16px}:root .app-shell .workspace-caption p{font-size:10px;line-height:1.3}:root .app-shell .step-indicator{padding:5px 7px;font-size:9px}:root .app-shell .grid-scroll{padding:0 16px}:root .app-shell .abn-labels{margin-bottom:4px}:root .app-shell .label-box{padding:6px 3px;border-radius:7px 7px 0 0;font-size:14px}:root .app-shell .label-box small{margin-top:2px;font-size:11px}:root .app-shell .abn-row{height:34px}:root .app-shell .step-no{font-size:10px}:root .app-shell .active-step{width:24px;height:24px}:root .app-shell .digit-pair span{font-size:20px}:root .app-shell .input-pair input{height:30px;font-size:21px}:root .app-shell .active-row{margin-bottom:4px}:root .app-shell .check-button{width:100%;min-height:24px;padding:2px;gap:3px;font-size:9px;margin:0}:root .app-shell .check-button>span:first-child{width:14px;height:14px}:root .app-shell .feedback{gap:8px;min-height:36px;margin:8px 16px 10px;padding:7px 10px}:root .app-shell .feedback p{font-size:11px;line-height:1.35}:root .app-shell .feedback-symbol{width:18px;height:18px;font-size:11px}:root .app-shell .feedback-error{padding:9px 11px}:root .app-shell .feedback-error p{font-size:16px;line-height:1.3}:root .app-shell .feedback-error .feedback-symbol{width:24px;height:24px;font-size:14px}:root .app-shell .error-explanation{margin:0 16px 12px;padding:12px}:root .app-shell .win-box{margin:0 16px 12px;padding:12px}:root .app-shell .win-box h3{font-size:20px}:root .app-shell .earned-stars{margin:4px 0 8px;font-size:25px}:root .app-shell .next-button{padding:9px 16px}:root .app-shell .card-footer{gap:8px;padding:8px 16px;font-size:9px}:root .app-shell .side-panel{gap:8px}:root .app-shell .guide-card,:root .app-shell .journey-card{padding:12px;border-radius:12px}:root .app-shell .side-card-head{gap:8px}:root .app-shell .side-icon{width:34px;height:34px;border-radius:10px;font-size:21px}:root .app-shell .side-card-head h3{font-size:16px}:root .app-shell .guide-intro{margin:8px 0 6px;font-size:11px}:root .app-shell .guide-list{gap:6px}:root .app-shell .guide-list li{gap:8px}:root .app-shell .list-icon{width:22px;height:22px;border-radius:7px;font-size:10px}:root .app-shell .guide-list strong{margin-bottom:2px;font-size:11px}:root .app-shell .guide-list p{font-size:10px;line-height:1.3}:root .app-shell .hint-button{min-height:36px;margin:8px 0 0;font-size:11px}:root .app-shell .hint-text{margin:6px 0 0;padding:7px 8px;font-size:10px;line-height:1.3}:root .app-shell .journey-card h3{margin:4px 0 8px;font-size:13px}:root .app-shell .number-path{min-height:0;gap:4px}:root .app-shell .path-number{min-width:30px;height:28px;padding:0 5px;border-radius:8px;font-size:12px}:root .app-shell .journey-bottom{margin-top:7px;padding-top:7px}:root .app-shell .mini-star{font-size:18px}:root .app-shell .example-link{padding:8px 12px;border-radius:9px;font-size:11px}:root .app-shell .demo-card{margin-top:8px;padding:10px 14px}:root .app-shell .demo-head h2{margin:2px 0 3px;font-size:18px}:root .app-shell .demo-head p{font-size:10px}:root .app-shell .close-demo{width:30px;height:30px;font-size:20px}:root .app-shell .demo-content{gap:12px;margin-top:8px}:root .app-shell .demo-label-row span{padding:6px 4px;font-size:11px}:root .app-shell .demo-row span{padding:6px 4px;font-size:16px}:root .app-shell .demo-placeholder{padding:10px;font-size:12px}:root .app-shell .demo-story p{min-height:0;margin:4px 0;font-size:13px;line-height:1.3}:root .app-shell .demo-actions button{padding:8px 10px}:root .app-shell .site-footer{min-height:32px;gap:8px;font-size:9px}}@media screen and (min-width:1100px){:root .app-shell .setup{flex-wrap:nowrap;gap:6px;padding:8px 10px}:root .app-shell .setup.custom-open{flex-wrap:wrap}:root .app-shell .setup.custom-open .custom-wrap{flex:1 0 100%;width:100%}:root .app-shell .setup-block{flex-wrap:nowrap;gap:6px}:root .app-shell .setup-title{font-size:10px}:root .app-shell .segmented,:root .app-shell .level-options{gap:2px;padding:3px}:root .app-shell .segmented button,:root .app-shell .level-options button{padding:6px 7px;font-size:11px}:root .app-shell .worksheet-button{min-height:36px;gap:6px;padding:7px 8px;font-size:11px}:root .app-shell .custom-wrap{margin:0}:root .app-shell .custom-toggle{min-height:36px;gap:6px;padding:5px 7px;font-size:11px;white-space:nowrap}:root .app-shell .custom-toggle-icon{flex-basis:20px;width:20px;height:20px;font-size:16px}}@media screen and (min-width:561px)and (max-height:1080px){:root .app-shell .abn-labels{margin-bottom:4px}:root .app-shell .label-box{padding:6px 3px;font-size:14px}:root .app-shell .label-box small{margin-top:2px;font-size:11px}:root .app-shell .abn-row{height:clamp(24px,2.4vh,28px)}:root .app-shell .step-no{font-size:10px}:root .app-shell .active-step{width:clamp(19px,2vh,22px);height:clamp(19px,2vh,22px)}:root .app-shell .digit-pair span{font-size:clamp(15px,1.8vh,19px)}:root .app-shell .input-pair input{height:clamp(22px,2.4vh,26px);font-size:clamp(15px,1.8vh,19px)}}@media screen and (max-width:560px)and (max-height:1080px){:root .app-shell .abn-row{height:36px}:root .app-shell .active-step{width:22px;height:22px}:root .app-shell .digit-pair span{font-size:17px}:root .app-shell .input-pair input{height:32px;font-size:18px}}@media screen and (max-height:1080px){:root,body,app-root{height:100%;min-height:0;overflow:hidden}body{height:100dvh}:root .app-shell{display:flex;height:100dvh;max-height:100dvh;flex-direction:column;overflow:hidden;padding:0 clamp(8px,1.5vw,20px)}:root .app-shell>main{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden}:root .app-shell .site-header{height:auto;min-height:0;flex:0 0 clamp(52px,7.4vh,80px);flex-wrap:nowrap;gap:8px}:root .app-shell .brand-logo{width:clamp(135px,32vw,250px);max-height:58px}:root .app-shell .saved-note{display:none}:root .app-shell .header-right{width:auto;gap:6px;margin-left:auto}:root .app-shell .star-counter{padding:4px 8px;font-size:12px}:root .app-shell .star-counter>span{font-size:15px}:root .app-shell .star-counter small{display:none}:root .app-shell .hero{min-height:0;flex:0 0 auto;margin-bottom:5px;padding:5px 14px;border-radius:12px}:root .app-shell .eyebrow{margin-bottom:3px;font-size:8px}:root .app-shell .hero h1{font-size:clamp(18px,2.4vh,28px);line-height:1.1;letter-spacing:-.5px}:root .app-shell .hero-art{display:none}:root .app-shell .setup{display:flex;min-height:0;flex:0 0 auto;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:5px;margin-bottom:6px;padding:6px;border-radius:10px}:root .app-shell .setup-block{min-width:0;flex:1 1 300px;flex-wrap:nowrap;gap:5px}:root .app-shell .setup-title{font-size:9px}:root .app-shell .segmented,:root .app-shell .level-options{gap:2px;padding:2px}:root .app-shell .segmented button,:root .app-shell .level-options button{min-height:30px;padding:4px 6px;font-size:10px}:root .app-shell .worksheet-button{min-height:32px;gap:4px;flex:0 1 auto;padding:5px 7px;font-size:10px;white-space:normal}:root .app-shell .custom-wrap{flex:0 1 auto;margin:0}:root .app-shell .custom-toggle{min-height:32px;gap:4px;padding:4px 7px;font-size:10px;white-space:normal}:root .app-shell .custom-toggle-icon{flex-basis:18px;width:18px;height:18px;font-size:14px}:root .app-shell .workspace{display:grid;min-height:0;flex:1 1 0;grid-template-columns:minmax(0,1fr);gap:0;overflow:hidden;align-items:stretch}:root .app-shell .exercise-card{display:flex;height:100%;min-height:0;flex-direction:column;border-radius:12px}:root .app-shell .exercise-head{height:36px;min-height:36px;flex:0 0 36px;gap:6px;padding:0 12px}:root .app-shell .exercise-subtitle{font-size:9px}:root .app-shell .reset-button{min-height:30px;padding:3px 0;font-size:10px}:root .app-shell .task-block{min-height:0;flex:0 0 auto;padding:6px 12px}:root .app-shell .task-header{gap:6px}:root .app-shell .task-block h2{margin-top:2px;font-size:16px}:root .app-shell .listen-button{padding:5px 8px;font-size:10px}:root .app-shell .operand-breakdowns{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:4px;margin-top:4px}:root .app-shell .operand-breakdown{padding:4px 5px;border-radius:8px}:root .app-shell .operand-breakdown-heading{gap:2px;margin-bottom:4px}:root .app-shell .operand-breakdown-heading>span{font-size:clamp(12px,1.5vh,16px)}:root .app-shell .operand-breakdown-heading>strong{font-size:clamp(24px,3.2vh,34px)}:root .app-shell .operand-breakdown-values{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);align-items:center;gap:2px}:root .app-shell .operand-breakdown-place{min-width:0;gap:1px}:root .app-shell .operand-breakdown-place>span{font-size:clamp(11px,1.4vh,14px)}:root .app-shell .operand-breakdown .tens-visual,:root .app-shell .operand-breakdown .ones-visual{max-width:240px;min-height:0;margin:0 auto}:root .app-shell .operand-breakdown .ten-rod{aspect-ratio:12 / 1}:root .app-shell .operand-breakdown .ten-rod-unit,:root .app-shell .operand-breakdown .one-cube{font-size:clamp(8px,1vh,10px)}:root .app-shell .operand-breakdown .one-cube{aspect-ratio:1.25}:root .app-shell .operand-breakdown-operator{font-size:clamp(20px,2.4vh,26px)}:root .app-shell .operand-breakdown-operation{font-size:clamp(24px,3.2vh,34px)}:root .app-shell .big-equation{min-height:52px;gap:clamp(5px,1.4vw,14px);padding:4px 6px;border-radius:10px;font-size:clamp(25px,3vw,40px)}:root .app-shell .big-equation .question{min-width:44px;height:44px;border-radius:10px}:root .app-shell .workspace-caption{flex:0 0 auto;gap:6px;padding:3px 12px 6px}:root .app-shell .workspace-caption h3{margin-bottom:0;font-size:16px}:root .app-shell .step-indicator{padding:4px 6px;font-size:9px}:root .app-shell .grid-scroll{min-height:min(200px,32vh);max-height:min(240px,38vh);flex:1 1 190px;overflow-x:auto;overflow-y:auto;padding:0 12px}:root .app-shell .abn-labels{margin-bottom:3px}:root .app-shell .label-box{padding:5px 2px;border-radius:6px 6px 0 0;font-size:14px}:root .app-shell .label-box small{margin-top:1px;font-size:11px}:root .app-shell .abn-row{height:clamp(24px,2.4vh,28px)}:root .app-shell .step-no{font-size:10px}:root .app-shell .active-step{width:22px;height:22px}:root .app-shell .digit-pair span{font-size:clamp(15px,1.8vh,19px)}:root .app-shell .input-pair input{height:clamp(22px,2.4vh,26px);font-size:clamp(15px,1.8vh,19px)}:root .app-shell .active-row{margin-bottom:2px}:root .app-shell .check-button{width:100%;min-height:24px;padding:2px;gap:3px;font-size:9px;margin:0}:root .app-shell .check-button>span:first-child{width:14px;height:14px}:root .app-shell .feedback,:root .app-shell .card-footer,:root .app-shell .side-panel,:root .app-shell .demo-card,:root .app-shell .site-footer{display:none}:root .app-shell .win-box{max-height:100%;margin:0 12px 6px;padding:8px;overflow:auto}}@media screen and (max-width:800px)and (max-height:1080px){:root .app-shell .setup-block{flex-basis:100%}:root .app-shell .check-button{width:100%}}@media screen and (max-width:800px)and (max-height:850px){:root .app-shell .hero,:root .app-shell .operand-breakdowns{display:none}}@media screen and (max-width:560px)and (max-height:1080px){:root .app-shell{padding-right:8px;padding-left:8px}:root .app-shell .site-header{flex-basis:52px}:root .app-shell .brand-logo{width:clamp(135px,45vw,190px);max-height:48px}:root .app-shell .hero{display:none}:root .app-shell .setup{gap:4px;margin-bottom:4px;padding:5px}:root .app-shell .setup-block{flex-basis:100%;flex-direction:row;align-items:center;gap:3px}:root .app-shell .setup-title{font-size:8px}:root .app-shell .segmented button,:root .app-shell .level-options button{min-height:28px;padding:3px 4px;font-size:9px}:root .app-shell .worksheet-button,:root .app-shell .custom-wrap{flex:1 1 calc(50% - 2px)}:root .app-shell .worksheet-button{min-height:34px;padding:4px 5px;font-size:9px}:root .app-shell .custom-toggle{width:100%;min-height:34px;justify-content:center;padding:4px 5px;font-size:9px}:root .app-shell .exercise-head{height:34px;min-height:34px;flex-basis:34px;padding:0 8px}:root .app-shell .exercise-subtitle{font-size:8px}:root .app-shell .reset-button{min-width:30px;min-height:28px}:root .app-shell .reset-button span{display:none}:root .app-shell .task-block{padding:5px 8px}:root .app-shell .task-header{align-items:center}:root .app-shell .task-block h2{font-size:14px}:root .app-shell .listen-button{min-height:30px;padding:4px 6px;font-size:9px}:root .app-shell .operand-breakdowns{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:2px}:root .app-shell .operand-breakdown{padding:3px}:root .app-shell .operand-breakdown-heading>span{font-size:9px}:root .app-shell .operand-breakdown-heading>strong{font-size:20px}:root .app-shell .operand-breakdown-values{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:1px}:root .app-shell .operand-breakdown-place>span{font-size:8px}:root .app-shell .operand-breakdown .tens-visual,:root .app-shell .operand-breakdown .ones-visual{max-width:74px}:root .app-shell .operand-breakdown .ten-rod-unit,:root .app-shell .operand-breakdown .one-cube{font-size:5px}:root .app-shell .operand-breakdown-operator{font-size:16px}:root .app-shell .operand-breakdown-operation{font-size:24px}:root .app-shell .big-equation{min-height:46px;gap:5px;padding:3px;font-size:clamp(22px,7vw,30px)}:root .app-shell .big-equation .equals{font-size:20px}:root .app-shell .big-equation .question{min-width:36px;height:36px}:root .app-shell .workspace-caption{padding:3px 8px 5px}:root .app-shell .workspace-caption h3{font-size:14px}:root .app-shell .step-indicator{padding:3px 5px;font-size:8px}:root .app-shell .grid-scroll{min-height:min(230px,38vh);max-height:min(250px,42vh);padding:0 5px}:root .app-shell .abn-grid{min-width:330px}:root .app-shell .abn-labels,:root .app-shell .abn-row{grid-template-columns:24px repeat(3,minmax(0,1fr)) 96px}:root .app-shell .label-box{padding:4px 1px;font-size:11px}:root .app-shell .label-box small{font-size:9px}:root .app-shell .abn-row{height:32px}:root .app-shell .active-step{width:21px;height:21px}:root .app-shell .digit-pair span{font-size:16px}:root .app-shell .input-pair input{height:28px;font-size:17px}:root .app-shell .active-row{margin-bottom:1px}:root .app-shell .check-button{min-height:30px;padding:1px;gap:0;font-size:8px}:root .app-shell .check-button>span:first-child{width:12px;height:12px}}@media screen and (max-width:400px)and (max-height:1080px){:root .app-shell .setup-title{display:none}}@media screen and (max-height:700px){:root .app-shell .hero,:root .app-shell .operand-breakdowns{display:none}:root .app-shell .site-header{flex-basis:50px}:root .app-shell .setup{margin-bottom:3px;padding:4px}:root .app-shell .task-block{padding-top:4px;padding-bottom:4px}:root .app-shell .big-equation{min-height:44px}:root .app-shell .big-equation .question{min-width:38px;height:38px}:root .app-shell .workspace-caption{padding-top:2px;padding-bottom:3px}:root .app-shell .grid-scroll{min-height:min(180px,30vh);max-height:min(220px,38vh)}}@media screen and (min-width:1100px)and (max-height:1080px){:root .app-shell .setup{flex-wrap:nowrap}:root .app-shell .setup.custom-open{flex-wrap:wrap}}.error-dialog{width:min(920px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:0;border:1px solid #f0d7d4;border-radius:20px;background:#fff;color:#283757;box-shadow:0 20px 70px #19264955}dialog.error-dialog .error-explanation{margin:0;padding:16px}dialog.error-dialog .error-dialog-content{padding:20px}dialog.error-dialog #error-dialog-message{margin:12px 0 16px}.error-dialog::backdrop{background:#19264999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.error-dialog-content{padding:24px}.error-dialog-heading{display:flex;align-items:center;gap:14px}.error-dialog-icon{display:grid;flex:none;width:52px;height:52px;place-items:center;border:1px solid #f6d2cf;border-radius:16px;background:#fff0ef;color:#bd4a4a;font-size:30px;font-weight:900}.error-dialog-kicker{color:#b86565;font-size:10px;font-weight:900;letter-spacing:1px}.error-dialog h2{margin:4px 0 0;color:#283757;font-size:22px}.error-dialog p{margin:18px 0 20px;color:#46536e;font-size:18px;font-weight:700;line-height:1.5}.error-dialog button{width:100%;min-height:46px;border:0;border-radius:12px;background:#626be3;color:#fff;font-size:15px;font-weight:900}.error-dialog button:hover{background:#515bd0}
