@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@400;500;600&family=Noto+Naskh+Arabic:wght@400;600&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#172449;background:#edf3ff;font-size:17px;--blue:#143fdd;--ink:#172449;--line:#d5e0f4}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:5px}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:12px;padding:12px 18px;font-weight:700;color:var(--ink);min-height:48px}button:hover{border-color:var(--blue);background:#eef3ff}button:disabled{cursor:default;opacity:.55}button.primary{color:white;background:var(--blue);border-color:var(--blue)}button.primary:hover{background:#1032b7}button.quiet{background:transparent}button.danger{color:#b52534}header{background:white;display:flex;align-items:center;gap:28px;padding:22px max(24px,calc((100% - 1160px)/2));border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-family:Fredoka,sans-serif;font-size:27px;font-weight:500}.brand-mark{background:var(--blue);color:white;width:48px;height:48px;display:grid;place-items:center;border-radius:16px;transform:rotate(-7deg)}.brand-sub{display:block;font:600 14px 'DM Sans',sans-serif;margin-top:3px}.week{margin-left:auto;font-size:14px;line-height:1.65}main{max-width:1160px;margin:0 auto;padding:38px 24px 52px}h1,h2,h3{font-family:Fredoka,sans-serif;font-weight:500;line-height:1.2}h1{font-size:clamp(30px,4vw,44px);margin:0 0 12px}h2{font-size:28px;margin:0 0 16px}h3{font-size:22px;margin:20px 0 12px}p{line-height:1.65;margin:10px 0 20px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:13px;font-weight:700;color:#415889;margin-bottom:10px}.welcome{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}.star-total{flex-shrink:0;background:#ffe88b;border:2px solid #eac450;padding:16px 24px;border-radius:22px;font-family:Fredoka,sans-serif;font-size:26px}.muted{color:#52617e}.small{font-size:14px}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.activity-card{position:relative;text-align:left;background:white;border:1px solid var(--line);border-radius:24px;padding:24px;display:flex;flex-direction:column;align-items:start;min-height:224px;box-shadow:0 6px 0 #dae4f7}.activity-card:hover{transform:translateY(-2px);background:white}.card-top{display:flex;justify-content:space-between;width:100%;align-items:center;margin-bottom:18px}.badge{display:inline-block;border-radius:10px;padding:8px 12px;font-weight:700;font-size:14px;background:#e5ecff;color:#2347aa}.activity-card:nth-child(2) .badge{background:#fff0cb;color:#815700}.activity-card:nth-child(3) .badge{background:#def6f5;color:#056864}.activity-card:nth-child(4) .badge{background:#ffe4ea;color:#a6234c}.card-title{font:500 28px Fredoka,sans-serif;margin-bottom:10px}.card-copy{font-weight:400;color:#52617e;line-height:1.55}.card-action{margin-top:auto;padding-top:20px;color:var(--blue)}.progress-strip{margin-top:28px;background:#172449;color:white;padding:22px 24px;border-radius:20px;display:flex;gap:24px;justify-content:space-between;align-items:center}.progress-strip p{margin:0}.progress-track{height:10px;border-radius:10px;background:#3d4a69;margin-top:10px;overflow:hidden}.progress-track span{display:block;height:100%;background:#ffe88b}.work-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.work-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px}.panel,.side-panel{background:white;border:1px solid var(--line);border-radius:24px;padding:28px}.side-panel{align-self:start;padding:22px}.side-panel p{font-size:15px}.steps{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.steps button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.spread{justify-content:space-between}.word-display{font:500 clamp(40px,6vw,70px) Fredoka,sans-serif;text-align:center;letter-spacing:.04em;margin:28px 0;background:#eef3ff;border-radius:18px;padding:26px}.prompt-card{background:#eef3ff;padding:20px;border-radius:16px;margin:18px 0}.prompt-card p{margin:0}label{display:block;font-weight:600;margin:18px 0 8px}input[type=text],textarea,select{width:100%;border:2px solid #c4d1eb;border-radius:12px;padding:14px;color:var(--ink);background:white}textarea{min-height:100px;resize:vertical;line-height:1.6}input[type=checkbox]{width:22px;height:22px;accent-color:var(--blue)}.check-label{display:flex;gap:10px;align-items:start;font-weight:400;line-height:1.5}.feedback{margin-top:16px;padding:16px;border-radius:12px;line-height:1.6;background:#eef3ff}.feedback.good{background:#dcf5eb;color:#135642}.feedback.try{background:#fff0cb;color:#735100}.feedback:empty{display:none}.chip-list{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.chip{background:#edf3ff;padding:9px 14px;border-radius:10px}.success{background:#ffe88b;border:1px solid #ebcf62;border-radius:20px;padding:24px;margin-bottom:24px}.story{line-height:1.8;font-size:19px}.story p{margin-bottom:16px}.linebox{background:#eff7ff;border-radius:16px;padding:24px 14px;margin:24px 0}.number-line{display:flex;justify-content:space-between;align-items:end;gap:0;border-bottom:3px solid var(--ink);padding-bottom:18px}.number-line button{border:0;border-radius:7px;padding:8px 0;width:4.5%;min-width:0;min-height:42px;font-size:14px;background:transparent;position:relative}.number-line button:after{content:'';height:12px;width:2px;background:#172449;position:absolute;bottom:-18px;left:50%}.number-line button.selected{background:var(--blue);color:white}.ends{display:flex;justify-content:space-between;margin-top:12px}.counter-board{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.counter-column{background:#edf3ff;padding:20px;border-radius:18px;text-align:center}.counter-dots{min-height:65px;display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap}.counter-dot{display:block;border-radius:50%;background:#ffcf42;border:2px solid #bc8a00;width:32px;height:32px}.big-number{font:500 54px Fredoka,sans-serif;margin:12px 0}.canvas-wrap{margin-top:16px}canvas{display:block;width:100%;height:300px;background:white;border:2px solid #c4d1eb;border-radius:16px;touch-action:none}.tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.tools button[aria-pressed=true]{outline:3px solid var(--blue)}.help-note{border-left:4px solid #ffcc44;padding:0 0 0 15px;margin-top:24px}.complete-badge{font-size:14px;color:#135642}.summary-list{display:grid;gap:12px;margin:18px 0}.summary-item{padding:18px;background:#edf3ff;border-radius:14px}.summary-item p{margin:0}.noun-word{min-height:40px;padding:7px 10px;margin:4px;font-weight:400}.noun-word[aria-pressed=true]{background:#ffe88b;border-color:#af8200}footer{max-width:1160px;margin:auto;padding:0 24px 28px;color:#52617e;font-size:14px}dialog{border:1px solid var(--line);border-radius:24px;padding:28px;max-width:700px;width:calc(100% - 32px);color:var(--ink)}dialog::backdrop{background:#172449aa}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}details{margin:22px 0}summary{cursor:pointer;font-weight:600}.print-only{display:none}@media(max-width:850px){header{padding:18px 20px;flex-wrap:wrap;gap:14px}.week{order:3;width:100%;margin:0}.brand{margin-right:auto}.work-layout{grid-template-columns:1fr}.side-panel{order:2}.welcome{align-items:start}.star-total{padding:12px 16px;font-size:21px}.panel{padding:22px}.number-line button{font-size:12px}.work-top{align-items:start}}@media(max-width:560px){main{padding:25px 16px}.cards{grid-template-columns:1fr}.activity-card{min-height:205px}.welcome{flex-direction:column;gap:10px}.welcome p{margin-bottom:8px}.progress-strip{flex-direction:column;align-items:stretch}.number-line button{font-size:12px}.linebox{padding:20px 6px}.panel{padding:18px}.row button{flex-grow:1}.work-top button{padding:10px 12px}.work-top h1{font-size:28px}.brand{font-size:24px}header .quiet{font-size:14px;padding:10px 12px}}@media print{body{background:white}header,main,footer,dialog{display:none!important}.print-only{display:block!important;white-space:pre-wrap;font-size:16px;line-height:1.7;padding:24px}.print-only img{max-width:100%;height:auto}h1{font-size:28px}}

.week-tabs{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.week-tabs button{text-align:left;min-width:180px}.week-tabs button span{display:block;font-weight:400;font-size:14px;margin-top:5px}.week-tabs button[aria-pressed=true]{background:#143fdd;color:white;border-color:#143fdd}.library-caption{display:flex;justify-content:space-between;gap:18px;align-items:start;margin:14px 0 24px;line-height:1.6}.library-caption span{flex-shrink:0;color:#52617e}.library-caption+.feedback{margin-bottom:24px}.resource-link{display:inline-block;font-weight:700;color:#143fdd;border:1px solid #c4d1eb;border-radius:12px;padding:14px 18px;text-decoration:none;min-height:48px;margin:12px 12px 18px 0}.resource-link:hover{background:#edf3ff}.arabic-large,.arabic-word,.arabic-verse,.arabic-letters{font-family:'Noto Naskh Arabic','Traditional Arabic',serif;letter-spacing:normal;font-weight:600}.arabic-large{font-size:64px;line-height:2.2;background:#edf3ff;border-radius:18px;text-align:center;padding:14px 22px;margin:20px 0}.arabic-word{font-size:30px;line-height:1.9}.arabic-letters{font-size:34px;line-height:2.1}.arabic-verse{font-size:32px;line-height:2.25;margin:14px 0;overflow-wrap:break-word}.sound-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.sound-card{border:1px solid #d5e0f4;padding:16px;border-radius:18px;text-align:center;min-width:0}.sound-card p{margin:0}.sound-card select{font-size:14px;line-height:1.5;padding:12px 8px;direction:ltr}.sound-card label{direction:ltr}.blend-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap;border-bottom:1px solid #d5e0f4;padding:16px 0}.verse{background:#eff5ff;border-radius:18px;padding:20px;margin:20px 0}.vocabulary{display:flex;gap:12px;flex-wrap:wrap}.vocabulary button{display:flex;flex-direction:column;align-items:center;min-width:150px}.answer-options{display:grid;gap:12px;margin-top:18px}.answer-option{display:flex;align-items:center;gap:12px;border:2px solid #d5e0f4;border-radius:14px;padding:14px;margin:0;cursor:pointer;line-height:1.6}.answer-option:has(input:checked){border-color:#143fdd;background:#edf3ff}.answer-option input{width:22px;height:22px;flex-shrink:0;accent-color:#143fdd}.question-header{display:flex;justify-content:space-between;gap:12px;align-items:center}.question-nav{margin-top:24px}.source-image{display:block;max-width:100%;height:auto;border:1px solid #d5e0f4;border-radius:12px;margin:18px 0}.identity-card{background:#e9f0ff;border:2px solid #143fdd;border-radius:20px;padding:24px}.identity-card p{font-size:20px}.identity-card>div{margin:18px 0}.place-inputs{display:flex;gap:12px;flex-wrap:wrap}.place-inputs>div{flex:1;min-width:85px}.base-blocks{display:grid;gap:14px;padding:20px;background:#edf3ff;border-radius:16px;margin:20px 0}.base-blocks>div{display:flex;gap:8px;flex-wrap:wrap}.hundred-block{width:60px;height:60px;display:block;background:repeating-linear-gradient(0deg,transparent 0px,transparent 5px,#3371dd 5px,#3371dd 6px),repeating-linear-gradient(90deg,#bed4ff 0px,#bed4ff 5px,#3371dd 5px,#3371dd 6px);border:1px solid #3371dd}.ten-rod{display:block;width:12px;height:100px;background:repeating-linear-gradient(0deg,#1ca582 0px,#1ca582 9px,#11765e 9px,#11765e 10px);border:1px solid #11765e}.one-cube{width:14px;height:14px;background:#ffcc44;border:1px solid #b88700;display:block}.number-sentence{font-family:Fredoka,sans-serif;font-size:28px}@media(max-width:560px){.week-tabs button{min-width:0;flex:1;padding:12px;font-size:15px}.week-tabs button span{font-size:13px}.library-caption{flex-direction:column;gap:5px}.arabic-verse{font-size:27px}.arabic-large{font-size:52px}.sound-grid{grid-template-columns:1fr}.blend-row{gap:12px}.resource-link{display:block;margin-right:0}.identity-card{padding:18px}}@media print{.arabic-word,.arabic-verse{line-height:2.2}}
.welcome{position:relative;isolation:isolate;min-height:310px;padding:32px;border-radius:28px;overflow:hidden;background:#d8efff url('assets/football-background.webp') right center/auto 100% no-repeat;box-shadow:0 8px 24px #173c7020;align-items:flex-start}.welcome:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#eff8fff5 0%,#eff8ffe8 32%,#eff8ff00 65%)}.welcome>div:first-child{max-width:48%}.welcome p{margin-bottom:0}.welcome .star-total{position:absolute;left:32px;bottom:24px;font-size:21px;padding:10px 18px}body{background:linear-gradient(#edf3ffe8,#edf3fff5),url('assets/football-background.webp') right top/auto 100vh fixed no-repeat}.work-top{background:#f7fbfff2;border-radius:22px;padding:20px}.panel,.side-panel,.activity-card{box-shadow:0 6px 18px #173c7012}.library-caption{background:#f7fbffed;padding:16px 20px;border-radius:16px}footer{background:#edf3fff0;border-radius:16px}.brand-mark{background:#143fdd;border:2px solid #ffdc62}@media(max-width:850px){.welcome{min-height:330px;padding:24px;background-position:right center}.welcome>div:first-child{max-width:49%}.welcome h1{font-size:34px}.welcome .star-total{left:24px;bottom:20px}.welcome:before{background:linear-gradient(90deg,#eff8fff5 0%,#eff8ffee 35%,#eff8ff00 70%)}}@media(max-width:560px){.welcome{min-height:440px;padding:22px;background-size:auto 255px;background-position:right bottom;background-color:#d8efff}.welcome:before{background:linear-gradient(180deg,#eff8ff 0%,#eff8fff5 35%,#eff8ff00 65%)}.welcome>div:first-child{max-width:100%}.welcome h1{font-size:32px}.welcome p{font-size:15px;max-width:100%}.welcome .star-total{left:22px;bottom:auto;top:170px;font-size:18px;padding:8px 12px}.work-top{padding:16px}.library-caption{padding:14px 16px}}@media print{body{background:white}}
.lesson-sidebar{display:grid;gap:20px;align-self:start;min-width:0}.homework-question-card h3{margin-top:0}#originalQuestionDialog{max-height:90vh;overflow-y:auto}#originalQuestionDialog .sound-grid{margin:18px 0}
.practice-intro{margin-top:0}.practice-step{padding:22px 0;border-bottom:1px solid var(--line)}.practice-step:last-of-type{border-bottom:0}.practice-step h2{font-size:24px;display:flex;align-items:center;gap:12px}.step-number{display:inline-grid;place-items:center;background:#e5ecff;color:#143fdd;width:34px;height:34px;border-radius:50%;flex-shrink:0;font:700 18px "DM Sans",sans-serif}.practice-step p{margin:8px 0 16px}.practice-step .word-display{font-size:clamp(28px,4vw,44px);margin:18px 0 0;padding:20px}.spelling-help{border:1px solid var(--line);border-radius:14px;padding:16px;margin:20px 0 0}.spelling-help summary{color:#415889}

.sentence-choice{text-align:left;font-weight:500;padding:18px}.sentence-choice[aria-pressed=true]{border:2px solid #143fdd;background:#edf3ff}.sentence-building{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:90px;background:#edf3ff;border:2px dashed #91a7d6;border-radius:18px;padding:18px;margin:20px 0}.sentence-building button{min-height:48px}#writingBasics p{margin:8px 0}
