:root{font-family:ui-rounded,"Segoe UI",Arial,sans-serif;color:#203b48;background:#f8f5ed;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:0}button{font:inherit;cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,summary:focus-visible{outline:3px solid #d37a32;outline-offset:4px}button:not(:disabled){transition:transform .16s ease,box-shadow .16s ease,background .16s ease}button:not(:disabled):hover{transform:translateY(-2px)}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{width:min(1160px,calc(100% - 36px));margin:auto;display:flex;justify-content:space-between;align-items:center;padding:19px 0;border-bottom:1px solid #e4e4dc}.brand{background:none;border:0;color:#183f52;display:flex;align-items:center;gap:8px;font-size:18px;font-weight:800;text-align:left}.brand .robot{width:38px;height:38px}.top-actions{display:flex;gap:8px}.icon-button{width:43px;height:43px;border:1px solid #d7e5e8;background:#fffdf8;border-radius:13px;font-size:22px;color:#2d6177}main{width:min(1160px,calc(100% - 36px));margin:auto;flex:1}footer{text-align:center;color:#71818a;font-size:13px;padding:22px}.hero{margin:28px 0 44px;min-height:265px;border-radius:30px;background:linear-gradient(110deg,#dff1ee,#e5f0f5 64%,#d4e8ee);display:flex;align-items:center;justify-content:space-between;padding:38px clamp(28px,6vw,74px);overflow:hidden;position:relative}.hero h1{font-size:clamp(37px,5vw,62px);line-height:1.08;letter-spacing:-.05em;color:#173f52;margin:14px 0}.hero p{font-size:clamp(17px,2vw,22px);margin:0;color:#456b78}.eyebrow{letter-spacing:.12em;font-size:12px;font-weight:900;color:#347c85}.hero-robot{position:relative;margin-right:6%;}.hero-robot .robot{width:clamp(145px,22vw,225px);height:auto;filter:drop-shadow(0 18px 10px #2d68802b)}.spark{position:absolute;color:#eeaa59;font-size:34px}.spark-one{top:0;left:-25px}.spark-two{right:-20px;bottom:20px}.section-heading{margin-bottom:22px}.section-heading h2{font-size:28px;letter-spacing:-.03em;margin:0 0 5px}.section-heading p{color:#667b82;margin:0}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.lesson-card{background:#fffefa;border:1px solid #ebe8de;border-radius:25px;padding:24px;box-shadow:0 10px 25px #3450610b;display:flex;flex-direction:column;min-height:325px}.card-illustration{height:105px;border-radius:18px;display:flex;align-items:center;justify-content:center;margin-bottom:22px}.card-compare .card-illustration{background:#e6f0f7}.card-parity .card-illustration{background:#e8f3e9}.card-order .card-illustration{background:#f9efdd}.mini-icon{font-weight:900;font-size:33px;color:#27647e}.compare-icon b{color:#eeaa59;padding:0 8px}.parity-icon{font-size:30px;letter-spacing:8px;line-height:29px;color:#5ca78b}.order-icon{font-size:26px;color:#b8803c}.lesson-number{font-size:11px;letter-spacing:.12em;color:#568294;font-weight:900}.lesson-card h3{font-size:23px;line-height:1.2;margin:10px 0 5px;letter-spacing:-.025em}.lesson-card p{color:#637882;margin:0 0 24px}.primary,.secondary,.danger-button{border:0;border-radius:13px;min-height:48px;padding:11px 21px;font-weight:800}.primary{background:#2f7a96;color:#fff;box-shadow:0 5px 0 #225c72}.primary:hover{background:#286d87}.lesson-card .primary{margin-top:auto;align-self:flex-start;min-width:140px}.secondary{background:#eaf4f4;color:#235b70}.danger-button{background:#fae9e5;color:#9c3c2b}.wide{width:100%;max-width:320px}.lesson-layout{max-width:900px;margin:25px auto}.lesson-header h1{font-size:clamp(30px,4vw,43px);margin:16px 0 3px;letter-spacing:-.04em}.lesson-header p{color:#627980;margin:0 0 23px}.back-link,.text-button,.small-link{border:0;background:none;color:#2d7088;font-weight:800;padding:8px 0}.stage-nav{display:flex;gap:7px;overflow-x:auto;padding:4px 3px 17px;margin-bottom:5px}.stage{flex:1 0 115px;min-height:62px;border:1px solid #d8e5e6;border-radius:14px;background:#fffefa;display:flex;align-items:center;gap:8px;padding:8px 10px;text-align:left;color:#62777e}.stage span{flex:none;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e8f0f1;font-weight:800}.stage small{font-size:11px;font-weight:700}.stage.active{border-color:#4e99b5;background:#e9f4f6;color:#214e63}.stage.active span{background:#397f9a;color:#fff}.content-card{background:#fffefa;border:1px solid #ebe8de;border-radius:27px;padding:clamp(22px,4vw,42px);box-shadow:0 12px 32px #3450610c}.content-card h2{font-size:clamp(27px,3.2vw,36px);letter-spacing:-.035em;margin:12px 0 12px}.lead{font-size:18px;line-height:1.6;max-width:730px;color:#4b6471}.intro-card{text-align:center}.intro-card .lead{margin:0 auto 26px}.demo-quantity,.pair-demos,.examples,.digit-rule{display:flex;justify-content:center;align-items:center;gap:22px;margin:25px auto 33px}.dots{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;align-content:center;max-width:180px;min-height:70px}.dots i,.pair i,.single i{display:block;width:23px;height:23px;border-radius:50%;background:#55a1b9;box-shadow:inset 0 -3px #32809b}.versus{color:#84949a;font-weight:800}.examples{flex-wrap:wrap}.examples span{font-size:31px;font-weight:900;background:#edf5f3;border-radius:15px;padding:10px 20px}.examples b{color:#e1a052}.pair-demos{align-items:flex-start;flex-wrap:wrap}.pair-demos>div{background:#f1f7f4;padding:15px;border-radius:16px;min-width:220px}.pairs{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:19px auto;max-width:500px}.pair{border:2px solid #afd4bf;border-radius:13px;padding:6px;display:flex;gap:5px;background:#eff9f2}.pair i{background:#69ac8e;box-shadow:inset 0 -3px #438e71}.single{border:2px dashed #dcaa71;border-radius:13px;padding:6px;background:#fff8ed}.single i{background:#edb773;box-shadow:inset 0 -3px #cf9450}.pairs.compact i{width:16px;height:16px}.pair-summary{background:#eef6f2;border-radius:13px;padding:13px;color:#276e5a;font-weight:800;text-align:center;margin:17px auto;max-width:450px}.digit-rule{flex-wrap:wrap}.digit-rule span{display:block;border-radius:17px;padding:17px;background:#edf6f2;font-weight:800;min-width:185px}.digit-rule span+span{background:#fff4e6}.digit-rule b{font-size:25px;line-height:2}.demo-order{font-size:clamp(28px,6vw,46px);font-weight:900;color:#2b7894;padding:20px}.question-top{display:flex;justify-content:space-between}.quiet-tag{font-size:12px;color:#778c92;background:#f2f5f1;border-radius:20px;padding:5px 10px}.exercise-card{text-align:center}.exercise-card h2{margin:18px 0 25px}.quantity-choices{display:grid;grid-template-columns:1fr 1fr;gap:15px}.quantity-choice{min-height:155px;border:2px solid #cee3e5;background:#f5fbfa;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#23586c}.quantity-choice strong{font-size:20px}.compare-row{display:flex;justify-content:center;align-items:center;gap:clamp(22px,7vw,75px);font-size:clamp(55px,10vw,95px);font-weight:900;line-height:1;margin:10px auto 30px}.question-mark,.help-symbol{color:#e1a052}.mini-quantities{display:flex;justify-content:center;gap:25px}.mini-quantities .dots{max-width:130px;min-height:50px}.mini-quantities i{width:14px;height:14px}.answer-row{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:26px 0}.answer-button{min-width:84px;min-height:75px;background:#e8f3f7;border:2px solid #b7d5df;border-radius:17px;color:#23627c;font-size:42px;font-weight:900}.answer-button.word{font-size:25px;min-width:132px}.big-number{font-size:90px;line-height:1.1;color:#2d7896;font-weight:900}.helper-line{color:#6c8186}.number-bank,.chosen-row{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin:18px auto}.number-tile,.chosen-tile{width:70px;height:70px;border:2px solid #bdd9e1;border-radius:15px;background:#e9f4f6;font-size:31px;font-weight:900;color:#245e75;touch-action:manipulation}.chosen-tile{border-style:dashed;background:#faf8f1;color:#a0b0ae}.chosen-tile.filled{background:#e7f2ec;border-style:solid;border-color:#a8d0b6;color:#285e4b}.order-actions,.exercise-bottom,.help-actions{display:flex;justify-content:center;align-items:center;gap:15px;flex-wrap:wrap;margin-top:24px}.exercise-bottom{border-top:1px solid #edf0ea;padding-top:22px}.feedback-space{min-height:16px}.feedback{display:flex;gap:13px;text-align:left;align-items:start;padding:15px;margin-top:22px;border-radius:16px}.feedback.success{background:#e8f5eb;color:#286044}.feedback.retry{background:#fff5e7;color:#805929}.feedback-icon{width:31px;height:31px;flex:none;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:21px;font-weight:900}.feedback strong{font-size:18px}.feedback p{margin:3px 0 0;line-height:1.45}.number-line{background:#f7f8f2;border-radius:13px;margin:25px auto 0;padding:13px;text-align:left}.number-line summary{cursor:pointer;font-weight:800;color:#427284}.line-values{display:flex;gap:4px;overflow:auto;margin-top:14px}.line-values span{flex:1;min-width:30px;text-align:center;border-top:3px solid #9db6bd;padding-top:9px}.line-values .marked{font-weight:900;color:#1e708f;border-color:#4e99b5}.number-line p{font-size:13px;color:#728589}.step-count{color:#70848a;font-weight:800}.step-message{background:#e9f4f2;border-radius:17px;padding:19px;font-size:20px;color:#23596c;min-height:72px}.help-card{text-align:center}.plain-page{max-width:850px;margin:27px auto}.plain-page>.content-card{margin-top:14px}.plain-page h1{font-size:38px;letter-spacing:-.04em;margin:10px 0}.plain-page p{color:#657a83;line-height:1.5}fieldset{border:0;padding:0;margin:30px 0}legend{font-weight:900;margin-bottom:12px}.segmented{display:flex;gap:9px;flex-wrap:wrap}.segmented button,.toggle{border:2px solid #d6e5e8;border-radius:12px;background:#fff;padding:10px 17px;min-height:45px;color:#2d647b;font-weight:800}.segmented button.selected,.toggle[aria-pressed=true]{background:#e6f3f5;border-color:#5da0b9}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 0;border-top:1px solid #e9eee9}.setting-row p{margin:4px 0 0;font-size:14px}.reset-area{border-top:1px solid #e9eee9;margin-top:12px;padding-top:19px}.reset-area h2{font-size:22px}.progress-list{margin-top:28px}.progress-item{display:flex;align-items:center;gap:15px;padding:15px 0;border-top:1px solid #e8eee9}.progress-icon{width:57px;height:57px;border-radius:14px;background:#e9f4f5;display:grid;place-items:center;flex:none;overflow:hidden}.progress-icon .mini-icon{font-size:14px;letter-spacing:0}.progress-item p{font-size:14px;margin:3px 0}.progress-item .small-link{margin-left:auto;white-space:nowrap}@media(max-width:760px){.hero{padding:28px;min-height:220px}.hero-robot{margin-right:0}.hero-robot .robot{width:125px}.lesson-grid{grid-template-columns:1fr}.lesson-card{min-height:0}.card-illustration{height:90px;margin-bottom:16px}.lesson-card p{margin-bottom:16px}.stage{flex-basis:130px}.progress-item{flex-wrap:wrap}.progress-item .small-link{margin-left:72px}}@media(max-width:520px){.topbar{width:calc(100% - 28px)}main{width:calc(100% - 28px)}.brand{font-size:14px}.brand .robot{width:32px;height:32px}.icon-button{width:38px;height:38px}.hero{margin-top:18px;padding:27px 22px;min-height:205px}.hero h1{font-size:34px;max-width:260px}.hero p{font-size:15px;max-width:220px}.hero-robot{position:absolute;right:0;bottom:-20px;opacity:.7}.hero-robot .robot{width:100px}.hero .eyebrow{font-size:10px}.section-heading h2{font-size:24px}.quantity-choices{gap:8px}.quantity-choice{min-height:130px}.quantity-choice .dots{max-width:115px}.dots i{width:17px;height:17px}.answer-button{min-width:75px}.number-tile,.chosen-tile{width:54px;height:58px;font-size:25px}.exercise-bottom{gap:11px}.setting-row{align-items:start;flex-direction:column}.pair-demos>div{min-width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.tens{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:18px auto}.ten-block{display:flex;flex-direction:column;justify-content:center;align-items:center;width:54px;height:54px;border-radius:12px;background:#e4f2e9;border:2px solid #a9d3b8;color:#2c7456;font-size:20px;font-weight:900}.ten-block small{font-size:8px}.compare-bars{max-width:360px;margin:0 auto 25px;display:flex;flex-direction:column;gap:8px}.compare-bars span{height:27px;min-width:28px;background:#69adc0;border-radius:8px;color:#183f52;font-weight:900;text-align:left;padding-left:8px}.compare-bars span+span{background:#eac388}
.teacher-card-main,.teacher-choice{text-align:center}.teacher-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.teacher-message{display:flex;align-items:center;gap:17px;background:#eaf4f5;border-radius:20px;padding:15px 20px;text-align:left;margin:20px auto;max-width:660px}.teacher-message .robot{width:64px;height:64px;flex:none}.teacher-message strong{color:#235d75;font-size:18px}.teacher-message p{margin:4px 0 0;color:#3c6170;line-height:1.45}.teacher-card-main h2{margin:22px auto}.teacher-group{border:2px solid #d8e8ea;border-radius:17px;padding:13px;min-width:130px}.teacher-group.emphasis{border-color:#67af91;background:#ecf8ef}.teacher-group strong{display:block;margin-top:7px;font-size:22px}.teacher-compare{font-size:clamp(48px,8vw,75px)}.teacher-pairs{margin:24px auto}.teacher-digits,.teacher-cards{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:24px auto}.teacher-digits span{min-width:80px;padding:12px;border-radius:15px;background:#eaf4f5;font-size:31px;font-weight:900}.teacher-digits b{color:#b97831;border-bottom:3px solid}.teacher-digits small{display:block;font-size:12px;color:#3a7180}.teacher-card{min-width:63px;height:67px;padding:8px;border-radius:15px;background:#e7f3f5;border:2px solid #abd1dd;display:grid;place-items:center;font-size:30px;color:#245f77;font-weight:900}.teacher-arrow{font-size:24px;color:#d69b56}.teacher-axis{max-width:670px;margin:26px auto}.axis-cells{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));border-bottom:4px solid #a8c1ca}.axis-cells span{position:relative;padding:12px 0 9px;font-size:clamp(13px,2vw,18px);font-weight:800;color:#627b85}.axis-cells span:after{content:'';position:absolute;left:50%;bottom:-9px;height:9px;border-left:2px solid #a8c1ca}.axis-cells span.marked{color:#226b85;background:#e5f3f5;border-radius:10px}.axis-direction{font-weight:900;color:#3485a0;padding-top:19px}.teacher-answers{margin:22px auto}.teacher-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:27px auto 0;padding-top:18px;border-top:1px solid #edf0ea}.teacher-choice .teacher-actions{border:0}.teacher-actions .text-button{min-height:45px;padding:8px 12px}@media(max-width:520px){.teacher-message{padding:12px;gap:10px}.teacher-message .robot{width:48px;height:48px}.teacher-message strong{font-size:16px}.teacher-group{min-width:110px;padding:8px}.teacher-card{min-width:52px;height:58px;font-size:24px}.teacher-actions button{width:100%}.teacher-digits span{min-width:70px;font-size:25px}}
