.unit-course{--kid-ink:#17345b;--kid-blue:#145bc3}.unit-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:55px;align-items:center;padding:45px 0 60px}.unit-hero h1{font-size:clamp(36px,4.5vw,58px);line-height:1.12;letter-spacing:-1.8px;max-width:670px}.unit-hero p{color:#50637b;max-width:600px;margin:22px 0}.unit-hero .quiet,.quiet{font-size:12px;color:#52677e;line-height:1.7}.hero-number{background:#e5f3ff;border:1px solid #c3dcf1;border-radius:35px;padding:32px 25px;transform:rotate(2deg);box-shadow:8px 10px 0 #ffe9ab}.hero-number>span{display:block;text-align:center;font-size:90px;font-weight:1000;color:#1566c7;line-height:1.1}.hero-number>small{display:block;text-align:center;font-weight:800;margin:9px 0 24px}.unit-path h2{font-size:30px;letter-spacing:-.7px}.unit-path>p{font-size:15px;color:#52677e;margin:15px 0 28px}.lesson-heading{padding:30px 0 38px;max-width:850px}.lesson-heading h1{font-size:clamp(34px,4vw,52px);letter-spacing:-1.5px;line-height:1.15}.lesson-heading>p{font-size:16px;color:#50637b;line-height:1.8;margin:15px 0}.lesson-actions{display:flex;gap:14px;flex-wrap:wrap;margin:25px 0}.lesson-actions .button{font-size:14px}.theory{border:1px solid #bfd9ec;border-radius:24px;background:white;padding:35px;max-width:850px;margin:0 0 50px;box-shadow:0 5px 0 #dcebf5}.theory h2{font-size:31px;letter-spacing:-.8px}.theory h3{font-size:22px;letter-spacing:-.3px;margin-top:28px;margin-bottom:10px}.theory p{font-size:16px;line-height:1.9;color:#3c5571;margin:12px 0}.paxa-tip{background:#fff2c8;border:1px solid #ead391;border-radius:15px;padding:20px;margin-top:25px;font-size:15px;line-height:1.8}.paxa-tip strong{color:#8b4b16}.place-model{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0;max-width:600px}.place-model>div{flex:1;min-width:70px;padding:15px 12px;background:#e5f2ff;border:1px solid #b9d5ee;border-radius:14px;text-align:center}.place-model>div:nth-child(2){background:#fff0be;border-color:#ead18a}.place-model>div:nth-child(3){background:#e6f4e9;border-color:#bbd9c3}.place-model small{font-size:12px;font-weight:800;display:block}.place-model strong{font-size:29px;display:block}.blocks{display:flex;gap:5px;flex-wrap:wrap;justify-content:center;margin:14px 0;min-height:28px}.block{display:block;border:1px solid #2d6fa7;background:#a8d8ff}.block.hundreds{width:27px;height:27px;background:repeating-linear-gradient(0deg,transparent 0 2px,#6098bc 2px 3px),repeating-linear-gradient(90deg,#a8d8ff 0 2px,#6098bc 2px 3px)}.block.tens{width:5px;height:27px;background:repeating-linear-gradient(0deg,#e6b940 0 2px,#a18423 2px 3px)}.block.ones{width:6px;height:6px;background:#72b591;border-color:#316d4d}.symbol-lesson{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.symbol-lesson span{border-radius:12px;background:#e8f3ff;padding:16px;font-size:14px}.symbol-lesson strong{font-size:25px;display:block}.math-line{width:100%;max-width:600px;height:auto;display:block;overflow:visible;margin:18px 0}.math-line path{stroke:#6e94bb;stroke-width:2;fill:none}.math-line text{font:700 13px Nunito,sans-serif;text-anchor:middle;fill:#17345b}.math-line .marker{fill:#146ac8;stroke:white;stroke-width:2}.dot-picture{display:block;width:min(260px,100%);height:auto;margin:18px 0}.number-tokens{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.number-tokens span{font-size:23px;font-weight:900;padding:8px 18px;border-radius:12px;background:#e7f2ff;border:1px solid #bed4ea;min-width:52px;text-align:center}.number-tokens span:nth-child(3n+2){background:#fff1c6;border-color:#e9d69e}.number-tokens span:nth-child(3n){background:#eaf5e9;border-color:#c4dbbe}.course-card h3{font-size:21px;line-height:1.4;letter-spacing:-.4px;margin:15px 0 12px}.course-card h3 small{display:block;color:#5d7592;font-size:12px;letter-spacing:1px;margin-bottom:10px}.grownup-notes{max-width:850px;margin:40px 0}.grownup-notes h2{font-size:25px}.grownup-notes p,.grownup-notes details{font-size:14px;line-height:1.9;color:#50637b;margin:15px 0}.grownup-notes summary{cursor:pointer;font-weight:900;color:#17345b}.related-lessons{margin:40px 0}.related-lessons h2{font-size:24px;margin-bottom:17px}.related-lessons a{display:inline-flex;padding:13px 18px;border:1px solid #c2d5e7;background:#fff;border-radius:12px;font-size:14px;font-weight:800;margin:6px 10px 6px 0}.native-activities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:30px 0}.activity{position:relative;background:#fff;border:1px solid #c2d8e9;border-bottom:5px solid #c4dced;border-radius:20px;min-width:0;padding:22px;margin:0}.activity:nth-child(3n+2){border-bottom-color:#f0d383}.activity:nth-child(3n){border-bottom-color:#c9b7e1}.activity legend{float:left;width:100%;font-size:18px;font-weight:900;line-height:1.6;margin:0 0 14px;padding:0;letter-spacing:-.2px}.activity legend+*{clear:both}.question-id{display:block;font-size:10px;font-weight:800;letter-spacing:1px;color:#607896;margin-bottom:9px}.answer-row{display:flex;gap:12px;flex-wrap:wrap;clear:both}.answer-cell{flex:1;min-width:85px;max-width:100%}.answer-cell label{display:block;font-size:12px;font-weight:900;margin:10px 0}.answer-cell input,.answer-cell select{font:800 18px Nunito,sans-serif;color:#17345b;border:1px solid #89aaca;border-radius:10px;background:#f3f9ff;padding:10px 12px;width:100%;height:48px;min-width:0}.answer-cell input[maxlength="100"]{font-size:15px}.answer-cell input:focus-visible,.answer-cell select:focus-visible,.bar-buttons button:focus-visible{outline:3px solid #1466bf;outline-offset:3px}.answer-cell input[data-status=correct],.answer-cell select[data-status=correct]{border-color:#268059;background:#e9f6ed}.answer-cell [aria-invalid=true]{background:#fff1dc;border-color:#a6531c}.entry-feedback{font-size:12px;line-height:1.6;margin:9px 0;color:#355d4a;min-height:19px}.hint{clear:both;margin-top:14px;border-top:1px dashed #c7d9e9;padding-top:14px;font-size:13px}.hint summary{cursor:pointer;font-weight:900;color:#285c8e}.hint p{font-size:13px;line-height:1.8;color:#52677e;margin-top:10px}.format-CBA.colored{background:#fff0b4}.bar-track{height:30px;background:repeating-linear-gradient(90deg,#edf3fa 0 9.7%,#b4c9df 9.7% 10%);border:1px solid #9fbbd6;border-radius:6px;overflow:hidden;margin:12px 0}.bar-track span{display:block;width:0;height:100%;background:#44a9db}.bar-buttons{display:flex;gap:14px}.bar-buttons button{padding:9px 15px;border:1px solid #9fbbd6;border-radius:8px;background:white;color:#17345b;min-height:44px;font:900 14px Nunito,sans-serif}.practice-links{display:flex;flex-wrap:wrap;gap:12px}.practice-links a{font-size:13px;background:white;border:1px solid #b7d1c4;border-radius:8px;padding:10px 13px;text-decoration:underline}.unit-course #activity-status{font-size:12px;color:#52677e}.unit-course .reader-toolbar select{min-width:0;max-width:65%}.unit-course .reader-toolbar #answered-progress{font-size:12px}.unit-course .button:disabled{opacity:.55}.native-activities .format-ORD .answer-cell{min-width:70px}.unit-course #worksheet-title{scroll-margin-top:20px}.unit-course #practice{scroll-margin-top:25px}.unit-course .course-footer{font-size:11px}.unit-course .reader-heading .course-home{margin-top:10px}
@media(max-width:850px){.unit-hero{gap:28px}.hero-number>span{font-size:70px}.native-activities{grid-template-columns:minmax(0,1fr)}.activity{padding:24px}.theory{padding:28px}.unit-course .reader-toolbar select{max-width:100%}}
@media(max-width:600px){.unit-hero{grid-template-columns:1fr;padding:20px 0 40px;gap:25px}.unit-hero h1{font-size:39px}.hero-number{transform:none;padding:23px}.hero-number>span{font-size:65px}.unit-hero p{font-size:15px}.lesson-heading{padding-top:18px}.lesson-heading h1{font-size:35px}.lesson-heading>p{font-size:15px}.theory{padding:22px 19px}.theory h2{font-size:26px}.theory h3{font-size:21px}.theory p{font-size:15px}.place-model{gap:7px}.place-model>div{padding:12px 7px}.place-model small{font-size:10px}.place-model strong{font-size:25px}.activity{padding:20px 17px}.activity legend{font-size:17px}.answer-row{gap:10px}.answer-cell{min-width:75px}.format-ORD .answer-row{display:grid;grid-template-columns:1fr 1fr}.unit-course .reader-toolbar{display:block}.unit-course .reader-toolbar label{display:block;margin-bottom:12px}.unit-course .reader-toolbar select{width:100%;margin-bottom:15px}.lesson-actions{flex-direction:column}.symbol-lesson span{flex:1;min-width:100px}.unit-course .course-footer{gap:15px}.number-tokens span{font-size:20px;padding:8px 13px}.hero-number .place-model{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.hero-number{transform:none}}

@media(max-width:600px){.math-line text{font-size:20px}}
/* One complete lesson and worksheet pack per topic section. */
.worksheet-section{background:#fff;border:1px solid #bfd6e8;border-radius:20px;margin:18px 0;scroll-margin-top:20px;overflow:clip}.worksheet-section>summary{display:flex;gap:18px;align-items:center;list-style:none;padding:23px;cursor:pointer;font-weight:900;color:#17345b}.worksheet-section>summary::-webkit-details-marker{display:none}.worksheet-section>summary:focus-visible{outline:3px solid #1466bf;outline-offset:-5px}.worksheet-number{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e4f2ff;color:#195cad;font-size:20px;flex-shrink:0}.worksheet-summary-title{font-size:21px;line-height:1.4}.worksheet-summary-title small{display:block;color:#556d85;font-size:12px;font-weight:700;margin-top:6px}.worksheet-toggle{margin-left:auto;font-size:28px;color:#30669c}.worksheet-section[open]>.summary{border-bottom:1px solid #cbdce9}.worksheet-section[open]>summary .worksheet-toggle{transform:rotate(45deg)}.worksheet-body{padding:0 23px 23px;border-top:1px solid #dfebf4}.worksheet-body>.reader-instructions{padding-top:22px}.worksheet-body .native-activities{margin-top:20px}.worksheet-body .score-panel{margin-bottom:20px}.next-activity{display:inline-block;font-weight:900;color:#215ea8;font-size:14px;padding:12px 0;text-decoration:underline}.whole-section-result{border:1px solid #bedacb;border-radius:22px;background:#eff8f2;padding:28px;margin-top:35px}.whole-section-result>h2{font-size:28px;letter-spacing:-.5px}.whole-section-result>p{font-size:15px;line-height:1.8;margin:14px 0 22px;color:#4d6577}.whole-section-result .score-panel{padding:25px 0 0;border:0;margin-bottom:0}.worksheet-form .reader-actions .button{font-size:13px}#expand-worksheets{font-size:12px;min-height:44px}.worksheet-form [hidden]{display:none!important}
@media(max-width:650px){.worksheet-section>summary{padding:18px 15px;gap:12px}.worksheet-summary-title{font-size:18px}.worksheet-summary-title small{font-size:11px}.worksheet-number{width:39px;height:39px;border-radius:11px;font-size:17px}.worksheet-body{padding:0 12px 18px}.worksheet-body .activity{padding:18px 13px}.worksheet-body .answer-row{gap:8px}.worksheet-body .answer-cell{min-width:65px}.worksheet-body .place-model{gap:5px}.worksheet-body .place-model>div{min-width:55px;padding:10px 5px}.worksheet-body .place-model small{font-size:9px}.worksheet-body .number-tokens span{padding:8px 10px}.whole-section-result{padding:23px 18px}.worksheet-body .score-panel{padding:20px 15px}.worksheet-body .format-ORD .answer-row{display:grid;grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.worksheet-toggle{transition:none}}

.parent-jump a{font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px;color:#285c8e}.contextual-links{font-size:15px;line-height:1.9;color:#50637b;max-width:850px;margin:15px 0}.contextual-links a{display:inline;padding:0;border:0;background:none;font-size:inherit;margin:0;text-decoration:underline;border-radius:0}.grownup-notes{scroll-margin-top:25px}

:root{scroll-behavior:auto} /* Keep long worksheet-page anchor navigation immediate. */
.number-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-width:330px;margin:18px 0;clear:both}.number-grid>span{padding:12px 5px;text-align:center;background:#edf5ff;border:1px solid #bfd6e9;border-radius:8px;font-size:21px;font-weight:900}.practice-only-note{grid-column:1/-1;background:#fff3ce;border:1px solid #e8d39e;border-radius:12px;padding:16px;font-size:14px;line-height:1.8;color:#725015}
.workbook-celebration{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:10000;width:min(470px,calc(100% - 32px));max-height:calc(100dvh - 32px);background:#fffdf5;background-image:radial-gradient(circle at 6% 13%,#ffca5070 0 4px,transparent 5px),radial-gradient(circle at 91% 30%,#fe72ac70 0 5px,transparent 6px),radial-gradient(circle at 12% 66%,#49b9e760 0 4px,transparent 5px),radial-gradient(circle at 89% 76%,#57bf9170 0 4px,transparent 5px);border:3px solid #f6cf65;border-radius:30px;box-shadow:0 18px 80px #24457040;padding:23px 27px;text-align:center;color:#17345b;pointer-events:none;font-family:Nunito,sans-serif}.workbook-celebration[hidden]{display:none!important}.workbook-celebration>img{display:block;width:100px;height:100px;object-fit:contain;margin:5px auto}.workbook-celebration h2{font-size:31px;line-height:1.2;letter-spacing:-.7px;margin:14px 0;color:#1956ad}.workbook-celebration p{font-size:17px;font-weight:800;line-height:1.6;margin:12px 0}.workbook-celebration .celebration-praise{font-size:15px;font-weight:700;color:#506b80}.celebration-balloons{height:90px;display:flex;gap:13px;align-items:center;justify-content:center}.balloon{display:block;position:relative;width:36px;height:49px;border-radius:50% 50% 45% 45%;background:#2aa4e6;box-shadow:inset 7px 4px 0 #ffffff33;animation:balloon-bob 2.7s ease-in-out infinite}.balloon:before{content:'';position:absolute;bottom:-5px;left:calc(50% - 4px);border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:0;border-top:7px solid currentColor;color:inherit}.balloon:after{content:'';position:absolute;width:1px;height:24px;background:#a5b6ca;left:50%;top:calc(100% + 5px)}.balloon:nth-child(2n){animation-delay:-.8s;background:#ff72ae;color:#ff72ae}.balloon:nth-child(3n){animation-delay:-1.4s;background:#f3be39;color:#f3be39}.balloon:nth-child(4){background:#54bd8b;color:#54bd8b}.balloon:nth-child(5){background:#a27ae1;color:#a27ae1}.balloon:nth-child(1),.balloon:nth-child(7){color:#2aa4e6}@keyframes balloon-bob{0%,100%{transform:translateY(4px) rotate(-5deg)}50%{transform:translateY(-9px) rotate(5deg)}}
@media(max-width:600px){.workbook-celebration{padding:20px 18px}.workbook-celebration h2{font-size:27px}.workbook-celebration p{font-size:15px}.celebration-balloons{gap:7px;height:75px}.balloon{width:28px;height:40px}.workbook-celebration>img{width:85px;height:85px}.number-grid>span{font-size:18px;padding:10px 4px}}
@media(max-height:550px){.workbook-celebration{padding:14px 18px}.celebration-balloons{height:52px}.balloon{height:29px;width:23px}.balloon:after{height:12px}.workbook-celebration>img{width:48px;height:48px}.workbook-celebration h2{font-size:23px;margin:8px 0}.workbook-celebration p{font-size:13px;margin:7px 0}.workbook-celebration .celebration-praise{font-size:12px}}
@media(prefers-reduced-motion:reduce){.balloon{animation:none}}
