:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#eef3f8}*{box-sizing:border-box}body{margin:0}main{width:min(980px,calc(100% - 32px));margin:0 auto;padding:32px 0 80px}header{margin-bottom:24px}header h1{margin-bottom:6px}header p{margin-top:0;color:#5f6b7a}.panel{background:#fff;border-radius:16px;padding:24px;margin-bottom:20px;box-shadow:0 8px 24px #14253f14}label{display:block;margin-bottom:16px;font-weight:600}input,select{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #cdd6e1;border-radius:10px;font:inherit}button{border:0;border-radius:10px;background:#2864dc;color:#fff;padding:11px 18px;font:inherit;font-weight:700;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:#e7eef9;color:#234e9b}.actions{display:flex;gap:10px;margin-top:12px}.question-card,.example,.mastery,.mistake{border:1px solid #dce3ec;border-radius:12px;padding:16px;margin:14px 0}.hint{margin-top:10px;padding:10px;border-radius:8px;background:#fff6d8}.feedback{margin-top:10px;padding:10px;border-radius:8px;background:#eaf6ed}.error{margin-bottom:18px;padding:12px;border-radius:10px;background:#ffe8e8;color:#8c1d1d}.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width:640px){main{width:min(100% - 20px,980px);padding-top:18px}.panel{padding:18px;border-radius:12px}.progress-heading{align-items:flex-start;flex-direction:column}}.mission-hero{border-top:6px solid #2864dc}.mission-label{display:inline-block;padding:6px 10px;border-radius:999px;background:#e7eef9;color:#234e9b;font-weight:700;font-size:.85rem;margin-bottom:12px}.mission-meta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;color:#5f6b7a}.mission-meta span{padding:6px 10px;border-radius:8px;background:#f2f5f9}.curiosity-card{padding:20px;border-radius:14px;background:#fff7dc;margin:18px 0}.mission-story{padding:18px;border-left:4px solid #2864dc;background:#f4f7fc;margin:18px 0}.activity-panel{border-left:5px solid #8c62d6}.reflection-box,.discovery-card,.why-box{margin-top:16px;padding:16px;border-radius:12px;background:#f4f7fc}.challenge-panel{border-left:5px solid #e6872b}.creative-panel{border-left:5px solid #7a52c7}.teach-back-panel{border-left:5px solid #298d78}.celebration-panel{text-align:center;background:#edf8f2}.next-question{margin-top:18px;padding-top:18px;border-top:1px solid #cfe2d7}details{margin-top:12px;padding:12px;border-radius:10px;background:#f4f7fc}summary{cursor:pointer;font-weight:700}.dashboard-panel{background:linear-gradient(135deg,#fff,#f4f7fc)}.dashboard-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:20px}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.dashboard-card{border:1px solid #dce3ec;border-radius:14px;padding:18px;background:#fff;min-height:180px}.dashboard-card h3{margin-top:0}.continue-card{border-top:5px solid #2864dc}.review-card{border-top:5px solid #e6872b}.explore-card{border-top:5px solid #7a52c7}.strengthen-card{border-top:5px solid #c64a4a}.progress-card{border-top:5px solid #298d78}@media(max-width:640px){.dashboard-header{flex-direction:column}.dashboard-grid{grid-template-columns:1fr}}.mode-description{margin-top:-4px;color:#5f6b7a;font-size:.92rem}select{width:100%}.mission-complete-panel{text-align:center;border:2px solid #b9dfca;background:linear-gradient(135deg,#f4fcf7,#e8f7ee)}.mission-complete-icon{display:flex;align-items:center;justify-content:center;width:68px;height:68px;margin:0 auto 14px;border-radius:50%;background:#298d78;color:#fff;font-size:2rem;font-weight:800}.completion-stats{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:14px;margin:24px 0}.completion-stats div{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:12px;background:#fff;border:1px solid #d1e8da}.completion-stats strong{font-size:1.45rem}.completion-stats span{color:#5f6b7a;font-size:.9rem}.completion-message{max-width:650px;margin:16px auto;font-weight:600}.review-date{color:#4f5d57}@media(max-width:640px){.completion-stats{grid-template-columns:1fr}}.app-shell{width:min(1180px,calc(100% - 36px));padding-top:20px}.app-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 14px;padding:14px 18px;border:1px solid rgba(205,214,225,.8);border-radius:18px;background:#fffffff2;box-shadow:0 10px 30px #14253f14;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.brand-block,.header-actions,.primary-nav,.view-heading{display:flex;align-items:center}.brand-block{gap:12px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#2864dc,#7a52c7);color:#fff;font-size:1.25rem;font-weight:900}.brand-block h1,.view-heading h2{margin:0}.brand-block p{margin:3px 0 0}.header-actions{gap:12px}.student-switcher{display:flex;align-items:center;gap:8px;margin:0;font-size:.84rem;color:#5f6b7a}.student-switcher select{width:auto;min-width:190px;margin:0;padding:9px 34px 9px 10px}.compact-button{padding:10px 14px}.primary-nav{position:sticky;top:88px;z-index:15;justify-content:center;gap:8px;margin:0 auto 20px;padding:8px;border:1px solid #dce3ec;border-radius:16px;background:#fffffff5;box-shadow:0 8px 22px #14253f0f}.primary-nav button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:128px;background:transparent;color:#4b5870}.primary-nav button.active{background:#2864dc;color:#fff;box-shadow:0 6px 16px #2864dc3d}.view-heading{justify-content:space-between;gap:16px;margin:26px 2px 18px}.eyebrow{display:block;margin-bottom:5px;color:#2864dc;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.lesson-builder-panel{max-width:760px;margin-right:auto;margin-left:auto}.parent-centre-panel,.progress-view{max-width:900px;margin-right:auto;margin-left:auto}@media(max-width:760px){.app-shell{width:min(100% - 20px,1180px);padding-bottom:104px}.app-header{position:static;align-items:flex-start;flex-direction:column}.header-actions{width:100%}.student-switcher{flex:1}.student-switcher select{width:100%;min-width:0;max-width:100%;font-size:.82rem;padding-left:8px;padding-right:24px}.primary-nav{position:fixed;right:10px;bottom:10px;left:10px;top:auto;z-index:50;display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:7px;border-radius:18px;box-shadow:0 14px 38px #14253f33}.primary-nav button{flex-direction:column;gap:3px;min-width:0;padding:9px 4px;font-size:.76rem}.primary-nav button span:first-child{font-size:1.1rem}.view-heading{align-items:flex-start;flex-direction:column}.dashboard-card{min-height:auto}}.card-context{margin:0 0 10px;color:#5f6b7a;font-size:.86rem;font-weight:700}.card-meta{color:#6c7888;font-size:.84rem}.recent-card{border-top:5px solid #298d78}.dashboard-card>strong{display:block;font-size:1.05rem;line-height:1.35}.my-books-panel{margin-top:18px}.my-books-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.my-book-card{border:1px solid #dce3ec;border-radius:16px;padding:18px;background:#fff}.my-book-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.my-book-heading h3{margin:5px 0 0}.my-book-subject{color:#6c7888;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.curriculum-status{flex:0 0 auto;display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;font-size:.76rem;font-weight:800}.curriculum-status.not-started{background:#f2f5f9;color:#526173}.curriculum-status.in-progress{background:#e9f0ff;color:#2458b8}.curriculum-status.needs-practice{background:#fff1e4;color:#a35a18}.curriculum-status.mastered{background:#e7f7ef;color:#22735f}.book-progress-bar{height:8px;margin:18px 0;overflow:hidden;border-radius:999px;background:#edf1f6}.book-progress-bar>div{height:100%;border-radius:inherit;background:#2864dc;transition:width .25s ease}.book-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.book-stat-row div{padding:10px;border-radius:10px;background:#f7f9fc}.book-stat-row strong,.book-stat-row span{display:block}.book-stat-row strong{font-size:1.1rem}.book-stat-row span{margin-top:3px;color:#6c7888;font-size:.72rem}.book-progress-copy{margin:14px 0 0;color:#5f6b7a;font-size:.86rem;font-weight:600}@media(max-width:640px){.my-books-grid{grid-template-columns:1fr}.my-book-heading{flex-direction:column}.book-stat-row{grid-template-columns:repeat(3,minmax(0,1fr))}.book-stat-row div{padding:9px 6px}}.lesson-stepper-panel{margin-bottom:18px;padding:16px;border:1px solid #dce3ec;border-radius:16px;background:#fff;box-shadow:0 8px 24px #14253f14}.lesson-stepper-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.lesson-stepper-heading strong{display:block;margin-top:4px}.lesson-step-count{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#f2f5f9;color:#5f6b7a;font-size:.84rem;font-weight:700}.lesson-stepper{display:grid;grid-template-columns:repeat(7,minmax(88px,1fr));gap:7px;overflow-x:auto}.lesson-step{min-height:54px;padding:8px 6px;background:#f2f5f9;color:#526173;font-size:.82rem}.lesson-step span{display:block;margin-bottom:2px;font-size:.72rem;opacity:.75}.lesson-step.active{background:#2864dc;color:#fff}.focus-step-note{margin:12px 0 0;color:#6c7888;font-size:.82rem}@media(max-width:760px){.lesson-stepper-heading{flex-direction:column}.lesson-stepper{display:flex;position:relative;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-right:28px;mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 26px),transparent 100%);-webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 26px),transparent 100%)}.lesson-step{flex:0 0 88px}}.parent-dashboard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-top:18px}.parent-dashboard-heading h3{margin-bottom:4px}.parent-summary-total{display:flex;align-items:baseline;gap:10px;margin:20px 0;padding:16px;border-radius:14px;background:#f5f8fc}.parent-summary-total strong{font-size:2rem}.parent-summary-total span{color:#5f6b7a}.parent-child-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.parent-child-card{padding:18px;border:1px solid #dce3ec;border-radius:16px;background:#fff}.parent-child-card h3{margin:4px 0 16px}.parent-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.parent-stat-grid>div{padding:12px 8px;border-radius:12px;background:#f7f9fc;text-align:center}.parent-stat-grid strong,.parent-stat-grid span{display:block}.parent-stat-grid strong{margin-bottom:4px;font-size:1.4rem}.parent-stat-grid span{color:#667283;font-size:.78rem}@media(max-width:760px){.parent-dashboard-heading{flex-direction:column}.parent-dashboard-heading button{width:100%}.parent-summary-total{align-items:flex-start;flex-direction:column}.parent-stat-grid{grid-template-columns:1fr}}.parent-subject-management{margin:8px 0 28px;padding:18px;border:1px solid #dce3ec;border-radius:16px;background:#fff}.parent-subject-auto{margin-top:16px;padding:16px;border-radius:14px;background:#f5f8fc}.parent-subject-auto p{margin:6px 0 0;color:#5f6b7a}.parent-subject-summary{display:flex;align-items:baseline;gap:8px;margin:18px 0 14px}.parent-subject-summary strong{font-size:1.8rem}.parent-subject-summary span{color:#667283}.parent-subject-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.parent-subject-card{padding:14px;border:1px solid #dce3ec;border-radius:14px;background:#fff}.parent-subject-card.selected{border-width:2px}.parent-subject-toggle{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.parent-subject-toggle input{width:auto;margin-top:4px}.parent-subject-toggle strong,.parent-subject-toggle small{display:block}.parent-subject-toggle small{margin-top:4px;color:#667283}.parent-subject-role{display:block;margin-top:14px;font-size:.84rem}.parent-subject-role select{width:100%;margin-top:6px}.parent-subject-actions{display:flex;align-items:center;gap:14px;margin-top:18px}.parent-subject-success{font-weight:600}@media(max-width:760px){.parent-subject-management{padding:14px}.parent-subject-grid{grid-template-columns:1fr}.parent-subject-actions{align-items:stretch;flex-direction:column}.parent-subject-actions button{width:100%}}.curriculum-selection-summary{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #dce3ec;border-radius:14px;background:#f7f9fc}.curriculum-selection-summary strong{font-size:1rem}.curriculum-selection-summary>span:last-child{color:#5f6b7a}.curriculum-custom-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 16px;border-radius:14px;background:#f7f9fc}.curriculum-custom-heading p{margin:4px 0 0}@media(max-width:760px){.curriculum-custom-heading{flex-direction:column}.curriculum-custom-heading button{width:100%}}.parent-student-management{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid rgba(120,130,150,.22)}.parent-student-layout{display:grid;grid-template-columns:minmax(190px,.75fr) minmax(0,2fr);gap:18px;margin-top:18px}.parent-student-list{display:flex;flex-direction:column;gap:8px}.parent-student-list h4{margin:0 0 4px}.parent-student-list-item{width:100%;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:12px 14px}.parent-student-list-item span{font-size:.82rem;opacity:.75}.parent-student-list-item.selected{outline:2px solid currentColor}.parent-student-list-item.inactive{opacity:.58}.parent-student-editor{min-width:0}.parent-student-section{padding:18px;border:1px solid rgba(120,130,150,.22);border-radius:14px;margin-bottom:14px}.parent-student-section h4{margin-top:0;margin-bottom:6px}.parent-student-section>p{margin-top:0}.parent-student-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.parent-student-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.parent-student-form-grid label{display:flex;flex-direction:column;gap:6px}.parent-student-form-grid input,.parent-student-form-grid select{width:100%}.parent-student-actions{display:flex;flex-wrap:wrap;gap:10px}.parent-student-success{margin:12px 0;padding:10px 12px;border-radius:10px;background:#28a05a1f}.student-status{font-size:.76rem;font-weight:700;padding:5px 9px;border-radius:999px}.student-status.active{background:#28a05a26}.student-status.inactive{background:#96969626}@media(max-width:760px){.parent-student-layout,.parent-student-form-grid{grid-template-columns:1fr}.parent-student-section-heading,.parent-student-actions{flex-direction:column}.parent-student-actions button{width:100%}}.fraction-strip-visual{margin-top:1.25rem;padding:1rem;border:1px solid var(--border);border-radius:14px;background:var(--panel-soft, #f8fafc)}.fraction-strip-visual h3{margin-top:0}.fraction-strip-rows{display:grid;gap:.9rem}.fraction-strip-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.85rem;align-items:center}.fraction-strip-bar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;min-height:46px;border:2px solid currentColor;border-radius:8px;overflow:hidden}.fraction-strip-cell{min-width:0;border-right:1px solid currentColor;background:transparent}.fraction-strip-cell:last-child{border-right:0}.fraction-strip-cell.filled{background:currentColor;opacity:.24}.fraction-strip-label{min-width:48px;text-align:center;font-size:1.05rem}@media(max-width:640px){.fraction-strip-row{grid-template-columns:1fr}.fraction-strip-label{text-align:left}}.number-line-visual{margin-top:1.25rem;padding:1rem;border:1px solid var(--border);border-radius:14px;background:var(--panel-soft, #f8fafc)}.number-line-visual h3{margin-top:0}.number-line-scroll{overflow-x:auto;padding:1.5rem .5rem .5rem}.number-line-track{display:grid;position:relative;min-width:100%}.number-line-track:before{content:"";position:absolute;left:0;right:0;top:10px;border-top:2px solid currentColor}.number-line-tick{position:relative;min-width:42px;text-align:center}.number-line-marker{position:relative;z-index:1;display:block;width:2px;height:20px;margin:0 auto .4rem;background:currentColor}.number-line-label{display:block;min-height:1.4rem;font-size:.95rem;white-space:nowrap}.number-line-tick.highlighted .number-line-marker{width:12px;height:12px;margin-top:4px;margin-bottom:.65rem;border:2px solid currentColor;border-radius:50%;background:var(--panel-soft, #f8fafc)}.number-line-tick.highlighted .number-line-label{font-weight:700}@media(max-width:640px){.number-line-scroll{padding-left:0;padding-right:0}.number-line-track{width:max-content}}.feedback-correct{background:#eaf6ed;color:#1f6b35}.feedback-incorrect{background:#ffe8e8;color:#8c1d1d}.feedback-review{background:#fff6d8;color:#6b5318}.feedback-neutral{background:#eef2f6;color:#344054}
