[hidden]{display:none!important}
:root{--paper:#f8f8f1;--white:#fffefa;--ink:#24382f;--muted:#738078;--line:#e3e7dc;--orange:#ff8055;--orange-dark:#9e3616;--mint:#dceee4;--teal:#287b68;--lime:#e9edbc;--lavender:#ede6fb;--yellow:#fff0c4;--radius:20px;--shadow:0 6px 0 #24382f08;font-family:'Trebuchet MS','Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #328a77;outline-offset:4px}button:disabled:focus-visible{outline:none}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.045em}h1{font-size:38px;line-height:1.13}h2{font-size:25px}h3{font-size:20px}p{line-height:1.6}button{border:0;background:none}svg{vertical-align:middle;flex-shrink:0}input,select,textarea{min-width:0;color:var(--ink);background:var(--white);border:1px solid #cfd7cc;border-radius:11px;padding:12px 14px;line-height:1.5;width:100%}input::placeholder,textarea::placeholder{color:#7a857e}input[type=checkbox],input[type=radio]{width:18px;height:18px;accent-color:var(--teal);margin:0;flex-shrink:0}textarea{resize:vertical}label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px}small{font-size:12px;line-height:1.5}.muted{color:var(--muted)}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.8px;font-weight:800}.icon{width:20px;height:20px}.inline-icon{display:inline-flex;align-items:center;gap:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:11px;padding:11px 18px;font-size:13px;font-weight:800;line-height:1.3;transition:transform .15s,background .15s}.button:hover{transform:translateY(-2px)}.primary{background:var(--ink);color:white;box-shadow:0 3px 0 #14291e22}.orange{background:var(--orange);color:#402215;box-shadow:0 3px 0 #e9683f}.secondary{background:var(--white);border:1px solid #d4ddcf}.soft{background:#e8eee3}.danger{color:#a63428;background:#ffebe5}.text-button{font-size:13px;font-weight:700;padding:8px 0;display:inline-flex;align-items:center;gap:7px}.text-button:hover{text-decoration:underline}.icon-button{width:36px;height:36px;border-radius:10px;display:inline-grid;place-items:center}.icon-button:hover{background:#24382f0b}.full{width:100%}.skip-link{position:fixed;left:10px;top:-80px;background:var(--ink);color:white;padding:14px;z-index:100}.skip-link:focus{top:10px}.initial-loading{height:100vh;display:grid;place-content:center;justify-items:center;gap:24px}.logo-mark{width:39px;height:39px;display:inline-grid;place-items:center;border-radius:12px;background:var(--orange);font-size:36px;font-weight:800;line-height:1;transform:rotate(-5deg)}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:#fffef8;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;width:224px;display:flex;flex-direction:column;padding:33px 22px 25px;z-index:20}.brand{display:flex;gap:11px;align-items:center;font-weight:900;font-size:23px;letter-spacing:-1.2px}.brand small{display:block;letter-spacing:2.2px;font-size:8px;font-weight:700;margin-top:5px;color:#7b877c}.sidebar-label{color:#889184;margin:48px 13px 16px;font-size:10px;letter-spacing:1.8px;font-weight:800}.nav-link{display:flex;align-items:center;gap:12px;padding:14px 14px;font-size:13px;font-weight:700;border-radius:12px;margin-bottom:7px}.nav-link svg{color:#778575}.nav-link.active{background:#e9edcd}.nav-link.active svg{color:var(--ink)}.nav-link:hover{background:#f0f2e9}.nav-link.active:after{content:'';width:6px;height:6px;background:var(--teal);border-radius:50%;margin-left:auto}.nav-divider{border:0;border-top:1px solid var(--line);margin:21px 0 16px}.sidebar-bottom{margin-top:auto;padding-top:35px}.level-card{padding:19px 16px;border-radius:15px;background:#f4f2e4;position:relative;overflow:hidden}.level-symbol{background:#fff3c3;width:37px;height:37px;border-radius:50%;display:grid;place-items:center;font-size:21px;margin-bottom:13px}.level-card b{font-size:13px;display:block}.level-card p{font-size:11px;color:#6c796e;margin-top:5px}.mini-track{height:5px;background:#e0e2cd;margin:13px 0 7px;border-radius:10px;overflow:hidden}.mini-track span{display:block;height:100%;background:var(--teal);border-radius:10px}.sidebar-foot{font-size:10px;color:#889184;margin:23px 0 0;text-align:center;letter-spacing:.3px}.main-column{grid-column:2;min-width:0}.topbar{height:87px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:20px;background:#f8f8f1e6}.breadcrumb{font-size:12px;display:flex;gap:12px;align-items:center;color:#859081}.breadcrumb strong{font-weight:700;color:var(--ink)}.topbar-right{display:flex;align-items:center;gap:23px}.curious-label{font-size:11px;color:#6e7e70;display:flex;align-items:center;gap:7px}.curious-label svg{color:#b49432}.avatar{width:33px;height:33px;background:#eadff2;display:grid;place-items:center;border-radius:50%;font-size:17px}.content{max-width:1480px;margin:0 auto;padding:33px 42px 48px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-intro p{font-size:13px;color:var(--muted);margin-top:8px}.page-intro h1{font-size:29px}.date-tag{font-size:11px;color:#738173;white-space:nowrap}.hero{background:#e7ecc5;border:1px solid #dce3b9;border-radius:23px;min-height:253px;padding:33px 37px;position:relative;overflow:hidden;display:flex;align-items:center}.hero-copy{position:relative;z-index:2}.hero .eyebrow{font-size:10px;display:flex;align-items:center;gap:8px;margin-bottom:15px}.hero .eyebrow span{width:6px;height:6px;border-radius:50%;background:var(--teal)}.hero h1{font-size:43px;line-height:1.08;max-width:490px;letter-spacing:-2.1px}.hero h1 em{font-style:normal;color:#52806a}.hero p{font-size:12px;color:#65745c;margin-top:12px;max-width:430px}.hero .button{margin-top:22px;min-height:40px;font-size:11px}.hero-art{position:absolute;width:365px;height:270px;right:10px;bottom:-7px}.hero-note{position:absolute;right:29px;top:24px;font-size:10px;letter-spacing:1px;transform:rotate(6deg);font-weight:700;color:#4c6b4d}.stat-strip{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0 33px;gap:15px}.stat-pill{display:flex;align-items:center;gap:13px;padding:16px 20px;background:#fffef9;border:1px solid var(--line);border-radius:13px}.stat-icon{width:36px;height:36px;background:#f0eee2;border-radius:11px;display:grid;place-items:center}.stat-pill:nth-child(2) .stat-icon{background:#eee7f7}.stat-pill:nth-child(3) .stat-icon{background:#e6f0e7}.stat-pill b{font-size:20px;letter-spacing:-.7px}.stat-pill span{font-size:11px;color:#7b877b;margin-left:5px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.section-heading h2{font-size:23px}.section-heading p{font-size:11px;color:var(--muted);margin-top:5px}.section-heading .text-button{font-size:11px}.filter-row{display:flex;gap:8px;align-items:center;margin:0 0 18px;flex-wrap:wrap}.subject-pill{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fffef8;font-size:11px;font-weight:700;border-radius:9px;padding:9px 12px;min-height:37px}.subject-pill.active{background:var(--ink);color:white;border-color:var(--ink)}.subject-pill .icon{width:14px;height:14px}.search-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.search-box{position:relative;width:min(410px,100%)}.search-box .icon{position:absolute;left:14px;top:13px;color:#84917f;width:17px;height:17px}.search-box input{padding:11px 38px 11px 41px;font-size:11px;background:#fffef9}.search-box button{position:absolute;right:6px;top:5px}.result-count{font-size:11px;color:#7d887b;white-space:nowrap}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.lesson-card{background:#fffef9;border:1px solid var(--line);border-radius:17px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.lesson-card:hover{transform:translateY(-4px);box-shadow:0 9px 24px #24382f0a}.card-art{height:111px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--card-color,#e8efda)}.card-art:before{content:'';width:130px;height:130px;border:1px solid #24382f0d;border-radius:50%;position:absolute;right:14%;top:-33px}.card-art:after{content:'✦';position:absolute;font-size:22px;right:21px;top:25px;color:#24382f34;transform:rotate(14deg)}.art-glyph{font-size:53px;line-height:1;letter-spacing:-3px;font-family:Georgia,serif;font-weight:800;transform:rotate(-8deg);color:var(--art-ink,#576c45);position:relative}.art-glyph.science{letter-spacing:0;font-size:70px;font-weight:400}.art-glyph.spelling{font-family:Georgia,serif;letter-spacing:-5px;font-size:48px}.art-doodle{position:absolute;left:27px;bottom:22px;font-size:18px;color:#24382f35;transform:rotate(-20deg)}.art-chip{position:absolute;top:12px;left:13px;border:1px solid #ffffff70;border-radius:20px;background:#fffef9c7;padding:4px 8px;font-size:8px;letter-spacing:.6px;font-weight:800}.card-body{padding:18px 19px 15px;flex:1;display:flex;flex-direction:column}.card-subject{font-size:8px;letter-spacing:1.1px;font-weight:800;color:#74816e;text-transform:uppercase;margin-bottom:7px}.card-body h3{font-size:17px;line-height:1.3;letter-spacing:-.5px}.book-title{font-size:11px;font-weight:700;color:#58745e;line-height:1.5;margin-top:7px}.card-description{font-size:11px;line-height:1.65;color:#7b8677;margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}.card-author{font-size:10px;color:#6d7b6d;margin-top:7px}.card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:15px;margin-top:auto;gap:7px}.question-count{font-size:10px;color:#75836f;display:flex;align-items:center;gap:5px}.question-count .icon{width:13px;height:13px}.card-actions{display:flex;align-items:center;gap:4px}.start-card{background:#f1f3e8;border:1px solid #e3e8d4;border-radius:8px;display:flex;align-items:center;gap:6px;padding:8px 10px;font-size:10px;font-weight:800}.start-card:hover{background:var(--ink);color:white}.start-card .icon{width:13px;height:13px}.card-actions .icon-button{width:26px;height:29px}.card-actions .icon{width:14px;height:14px}.library-foot{display:flex;align-items:center;justify-content:center;gap:9px;color:#7e8979;margin-top:29px;font-size:10px}.resume-banner{border:1px solid #c6d7c8;background:#e9f2e9;border-radius:14px;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;font-size:12px}.resume-banner strong{display:block;margin-bottom:4px}.empty-state{padding:60px 20px;text-align:center;grid-column:1/-1;border:1px dashed #ced8c5;border-radius:18px}.empty-state .big-symbol{font-size:47px;margin-bottom:14px}.empty-state p{font-size:13px;color:var(--muted);margin:10px 0 20px}.panel{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.span-2{grid-column:1/-1}.form-grid .hint{font-size:11px;color:var(--muted);font-weight:400}.builder-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:24px;align-items:start}.builder-main{display:flex;flex-direction:column;gap:21px}.panel-heading{display:flex;align-items:center;gap:11px;margin-bottom:23px}.step-number{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--lime);font-size:12px;font-weight:800}.panel-heading h2{font-size:19px}.segmented{display:flex;gap:4px;background:#f0f2e9;padding:4px;border-radius:11px;margin-bottom:21px}.segmented button{flex:1;padding:10px 9px;font-size:12px;font-weight:700;border-radius:8px}.segmented button.active{background:var(--white);box-shadow:0 2px 4px #24382f0b}.import-area{font-family:Consolas,'Courier New',monospace;font-size:12px;line-height:1.9;min-height:300px;margin-top:12px;tab-size:2}.import-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.import-toolbar .text-button{font-size:11px}.help-details{font-size:12px;line-height:1.6;color:#61745e;margin:16px 0}.help-details summary{cursor:pointer;font-weight:700}.help-details pre{white-space:pre-wrap;background:#f3f4eb;padding:16px;border-radius:10px;font-size:11px}.builder-actions{display:flex;align-items:center;gap:12px;justify-content:flex-end}.builder-aside{position:sticky;top:24px;display:flex;flex-direction:column;gap:18px}.builder-aside .panel{padding:22px}.preview-label{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;font-weight:800;margin-bottom:15px}.preview-count{border-radius:8px;background:var(--lime);padding:5px 8px;font-size:10px}.preview-scroll{max-height:600px;overflow:auto;padding-right:3px}.preview-question{border-bottom:1px solid var(--line);padding:16px 0}.preview-question:first-child{padding-top:0}.preview-question:last-child{border:0}.preview-question p{font-size:12px;font-weight:700;line-height:1.6}.preview-options{display:grid;gap:5px;margin-top:10px}.preview-option{font-size:11px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;color:#70806a}.preview-option.correct{background:#e6f1e5;border-color:#bad1b6;color:#2b6d43}.preview-question-head{display:flex;align-items:start;justify-content:space-between;gap:8px}.error-box{background:#fff1e9;border:1px solid #edc2af;border-radius:11px;color:#8c3c21;font-size:12px;line-height:1.7;padding:15px;margin-bottom:16px}.error-box ul{padding-left:18px;margin:7px 0 0}.tip-panel{background:#f0ecd9;border:1px solid #e7e1c7;padding:22px;border-radius:15px}.tip-panel h3{font-size:14px;letter-spacing:-.2px;margin-bottom:8px}.tip-panel p{font-size:11px;color:#7b7a60}.question-editor{display:flex;flex-direction:column;gap:17px}.editor-option{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:center}.editor-option input[type=radio]{margin-top:0}.choice-caption{font-size:11px;color:var(--muted);margin-top:-6px}.bank-item{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line)}.bank-item span{font-size:11px;flex:1;line-height:1.6}.bank-item b{font-size:10px}.bank-item .icon{width:15px;height:15px}.math-banner{background:#ece5f8;border-color:#e3daf0;min-height:180px;padding:27px 32px;margin-bottom:26px}.math-banner h1{font-size:35px;letter-spacing:-1.4px}.math-banner p{max-width:420px}.math-banner .hero-art{width:290px;height:200px;right:20px;bottom:-15px}.math-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:24px;align-items:start}.operation-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:24px}.operation{border:1px solid var(--line);border-radius:12px;padding:16px 7px;display:flex;flex-direction:column;align-items:center;gap:7px;background:#fbfcf6}.operation .op-symbol{font-size:25px;line-height:1.1}.operation span:last-child{font-size:10px;font-weight:700}.operation.active{background:var(--lime);border-color:#9da968;box-shadow:0 0 0 1px #9da968}.check-row{display:flex;align-items:center;gap:12px;font-weight:400;font-size:12px;flex-direction:row;margin-top:19px}.check-row b{display:block;margin-bottom:4px;font-size:12px}.check-row small{display:block;color:var(--muted);font-size:10px}.math-count{margin:23px 0}.math-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.math-sheet{background-color:#fffef9;background-image:linear-gradient(#b6cbd429 1px,transparent 1px),linear-gradient(90deg,#b6cbd429 1px,transparent 1px);background-size:22px 22px;border:1px solid #e0e5d9;border-radius:12px;min-height:166px;display:flex;align-items:center;justify-content:center;padding:20px 10px}.arithmetic{font-family:'Cambria Math',Cambria,Georgia,serif;font-size:31px;line-height:1.5;display:inline-grid;grid-template-columns:auto auto;text-align:right;column-gap:13px;min-width:90px;letter-spacing:3px;font-variant-numeric:tabular-nums}.arithmetic .top{grid-column:2}.arithmetic .bottom{grid-column:2}.arithmetic .operator{grid-column:1;grid-row:2}.arithmetic .answer-line{grid-column:1/-1;border-top:2px solid currentColor;height:28px}.long-division{display:inline-flex;align-items:flex-start;font-family:'Cambria Math',Cambria,Georgia,serif;font-size:33px;line-height:1.5;letter-spacing:3px;font-variant-numeric:tabular-nums}.long-division .divisor{padding:6px 9px 0 0}.long-division .dividend{border-top:2px solid;border-left:2px solid;border-top-left-radius:8px;padding:5px 8px 0 12px;min-width:75px}.math-sheet .arithmetic{font-size:24px;min-width:65px;gap:6px;letter-spacing:1px}.math-sheet .long-division{font-size:25px;letter-spacing:1px}.math-sheet .long-division .dividend{min-width:45px;padding-left:6px}.math-preview-note{font-size:11px;color:var(--muted);margin-top:17px;line-height:1.8}.math-save{margin-top:23px;border-top:1px solid var(--line);padding-top:22px;display:flex;flex-direction:column;gap:13px}.quiz-container{max-width:850px;margin:0 auto}.quiz-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.quiz-top .text-button{font-size:12px}.quiz-meta{font-size:11px;color:var(--muted)}.quiz-header{text-align:center;margin-bottom:25px}.quiz-header .eyebrow{color:#7b8a6d;margin-bottom:9px}.quiz-header h1{font-size:25px;letter-spacing:-.6px}.progress-row{display:flex;align-items:center;gap:16px;margin-bottom:30px;font-size:11px;color:#6d7e68}.progress-track{height:8px;flex:1;background:#e4e9d9;border-radius:20px;overflow:hidden}.progress-track span{background:#669277;height:100%;display:block;border-radius:20px;transition:width .25s}.question-panel{padding:35px 43px 30px;border-radius:21px;border:1px solid #dde4d5;background:var(--white);box-shadow:var(--shadow)}.question-tag{display:inline-flex;background:#edf1df;color:#5d7455;border-radius:6px;font-size:9px;padding:5px 9px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;margin-bottom:20px}.question-panel h2{font-size:24px;line-height:1.5;letter-spacing:-.5px;white-space:pre-wrap}.answer-options{display:grid;gap:12px;margin-top:29px}.answer-option{display:flex;align-items:center;gap:15px;padding:16px 18px;border:1.5px solid #dce3d5;border-radius:12px;text-align:left;font-size:14px;min-height:62px;background:#fffefb}.answer-option:hover{background:#f3f5e9;border-color:#b3c19f}.answer-option.selected{background:#e8efcf;border-color:#8b9f61;box-shadow:0 0 0 1px #8b9f61}.answer-letter{display:inline-grid;place-items:center;width:29px;height:29px;flex-shrink:0;background:#f0f2e8;border-radius:7px;font-size:11px;font-weight:800;color:#718266}.answer-option.selected .answer-letter{background:var(--ink);color:white}.answer-option .chosen{margin-left:auto;width:20px;height:20px;border:1px solid #b8c3ae;border-radius:50%;flex-shrink:0}.answer-option.selected .chosen{background:var(--ink);border-color:var(--ink);color:white;display:grid;place-items:center;font-size:11px}.quiz-controls{display:flex;align-items:center;justify-content:space-between;margin-top:28px;gap:15px}.quiz-controls .button{font-size:12px}.quiz-dots{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:25px}.quiz-dot{width:28px;height:28px;border-radius:8px;background:#e9eddf;color:#738368;font-size:10px;font-weight:700}.quiz-dot.answered{background:#cee2c7;color:#355c31}.quiz-dot.current{outline:2px solid #687c51;outline-offset:2px}.quiz-tip{text-align:center;font-size:11px;color:#839077;margin-top:18px}.quiz-math-sheet{display:flex;justify-content:center;padding:40px 10px 25px;background-image:linear-gradient(#b7cad52e 1px,transparent 1px),linear-gradient(90deg,#b7cad52e 1px,transparent 1px);background-size:25px 25px;border-radius:13px;margin-top:20px}.quiz-math-sheet .arithmetic{font-size:46px;min-width:140px}.quiz-math-sheet .long-division{font-size:48px;line-height:1.5}.math-answer-fields{display:flex;justify-content:center;gap:20px;margin:25px auto 0;max-width:360px}.math-answer-fields label{flex:1}.math-answer-fields input{font-size:23px;text-align:center;font-family:Cambria,Georgia,serif}.result-hero{text-align:center;padding:35px 25px;margin-bottom:24px;background:#e8edcf;border:1px solid #dde5ba;border-radius:23px;position:relative;overflow:hidden}.result-medal{font-size:44px;width:84px;height:84px;display:grid;place-items:center;background:#fff2bc;border:2px solid #eed883;border-radius:50%;margin:0 auto 19px;box-shadow:0 6px 0 #d9dbac}.result-hero .eyebrow{color:#78846c;margin-bottom:9px}.result-hero h1{font-size:34px}.result-hero>p{font-size:13px;color:#718067;margin:12px 0}.result-stats{display:flex;justify-content:center;gap:40px;margin:22px 0}.result-stats strong{display:block;font-size:27px;letter-spacing:-1px}.result-stats span{font-size:10px;color:#758168}.result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:11px}.result-question{padding:23px;background:var(--white);border:1px solid var(--line);border-radius:14px;margin-bottom:13px}.result-question-title{display:flex;gap:13px;align-items:start;margin-bottom:13px}.result-question-title p{font-size:13px;font-weight:700}.result-status{flex-shrink:0;width:23px;height:23px;background:#e4efdf;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#3b7639}.result-status.wrong{background:#ffede3;color:#a95331}.result-answer{font-size:12px;line-height:1.7;margin-left:36px;color:#72806b}.result-answer .correct-text{color:#376f43;font-weight:700}.result-answer .wrong-text{color:#aa5c3e}.result-explanation{font-size:11px;margin:12px 0 0 36px;padding-top:12px;border-top:1px solid var(--line);color:#7d8577}.review-heading{margin:28px 0 19px;display:flex;justify-content:space-between;align-items:center;gap:15px}.review-heading h2{font-size:21px}.review-filter{display:flex;gap:4px;background:#e9eddc;padding:4px;border-radius:9px;font-size:11px}.review-filter button{padding:7px 12px;border-radius:6px}.review-filter button.active{background:var(--white);font-weight:700}.history-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:30px}.history-stat{padding:23px;background:var(--white);border:1px solid var(--line);border-radius:16px}.history-stat .icon{color:#788969;margin-bottom:17px}.history-stat strong{font-size:31px;display:block;letter-spacing:-1px}.history-stat p{font-size:11px;color:var(--muted);margin-top:5px}.history-list{display:flex;flex-direction:column;gap:12px}.history-row{display:flex;align-items:center;gap:18px;background:var(--white);border:1px solid var(--line);padding:19px 22px;border-radius:14px}.history-row .subject-icon{width:46px;height:46px;background:var(--card-color);border-radius:12px;display:grid;place-items:center;font-size:24px;flex-shrink:0}.history-row-info{flex:1}.history-row h3{font-size:15px;letter-spacing:-.3px}.history-row p{font-size:11px;color:var(--muted);margin-top:5px}.history-score{text-align:right;min-width:67px}.history-score strong{font-size:20px;display:block}.history-score span{font-size:10px;color:var(--muted)}dialog{border:1px solid #d5decc;border-radius:22px;padding:30px;max-width:470px;width:calc(100% - 30px);color:var(--ink);background:var(--white);box-shadow:0 20px 80px #1527162b}dialog::backdrop{background:#152c2566;backdrop-filter:blur(4px)}.dialog-top{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:12px}.dialog-top h2{font-size:24px}.dialog-description{font-size:12px;color:var(--muted);margin-bottom:23px}.dialog-label{margin-bottom:18px}.count-options{display:flex;gap:8px;margin:12px 0 20px;flex-wrap:wrap}.count-options button{min-width:48px;padding:9px 11px;background:#f0f3e7;border:1px solid var(--line);border-radius:9px;font-weight:700;font-size:12px}.count-options button.active{background:var(--lime);border-color:#9da968}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-art{font-size:40px;margin-bottom:17px}.toast{position:fixed;bottom:25px;left:calc(50% + 80px);transform:translateX(-50%);padding:14px 22px;background:var(--ink);color:white;border-radius:13px;font-size:12px;line-height:1.6;box-shadow:0 10px 30px #24382f30;z-index:100;max-width:calc(100vw - 40px)}.toast.error{background:#923d29}.toast[hidden]{display:none}.loading-panel{padding:100px 20px;text-align:center;color:var(--muted);font-size:13px}.mobile-brand{display:none}.saved-indicator{font-size:10px;color:#74896b;display:flex;align-items:center;gap:6px}.saved-indicator:before{content:'';height:5px;width:5px;background:#7e9d6e;border-radius:50%}.error-inline{font-size:12px;color:#a1452b;margin-top:12px}.small-note{font-size:11px;color:var(--muted);line-height:1.8}.field-heading{font-size:12px;font-weight:700;margin-bottom:12px}.math-template-saved{padding:12px;background:#e8f1e3;border-radius:10px;font-size:12px}.preview-empty{text-align:center;padding:42px 9px}.preview-empty .big-symbol{font-size:37px;color:#a3ad8c;margin-bottom:13px}.preview-empty p{font-size:12px;color:var(--muted)}.format-note{font-size:10px;font-weight:400;color:var(--muted);margin-left:auto}
@media(min-width:1600px){.content{padding-left:55px;padding-right:55px}.hero-art{right:60px}.hero h1{font-size:49px}.hero{min-height:278px}.card-art{height:135px}.card-body{padding:21px 23px}.card-body h3{font-size:20px}.card-description{font-size:12px}}
@media(max-width:1180px){.sidebar{width:195px;padding-left:17px;padding-right:17px}.shell{grid-template-columns:195px minmax(0,1fr)}.brand{font-size:20px}.content{padding:28px 28px 40px}.topbar{padding:0 28px}.hero{padding:29px}.hero h1{font-size:37px;max-width:360px}.hero-art{right:-50px;opacity:.85;width:300px}.hero p{max-width:320px}.lesson-grid{gap:14px}.card-body{padding:16px 15px}.card-body h3{font-size:16px}.card-description{font-size:10px}.subject-pill{padding:9px 10px;font-size:10px}.builder-grid,.math-layout{grid-template-columns:minmax(0,1fr)}.builder-aside{position:static}.builder-aside .preview-scroll{max-height:380px}.hero.math-banner .hero-art{right:-50px}.math-preview{margin-top:18px}.history-grid{grid-template-columns:repeat(2,1fr)}.stat-pill{padding:14px 13px;gap:9px}.stat-pill span{display:block;margin-left:0;margin-top:2px}.stat-pill b{font-size:19px}}
@media(max-width:950px){.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{right:-90px;opacity:.55}.hero-copy{max-width:78%}.topbar-right{gap:13px}.curious-label{display:none}.hero-note{display:none}.question-panel{padding:28px}.toast{left:calc(50% + 50px)}}
@media(max-width:700px){.shell{display:block}.sidebar{position:fixed;inset:auto 0 0;width:100%;height:70px;padding:7px 8px;background:#fffef9f5;border-right:0;border-top:1px solid var(--line);backdrop-filter:blur(15px);flex-direction:row;justify-content:space-around}.sidebar>.brand,.sidebar-label,.nav-divider,.sidebar-bottom{display:none}.nav-link{flex-direction:column;gap:5px;padding:6px 11px;margin:0;font-size:8px;border-radius:10px;flex:1;justify-content:center;text-align:center}.nav-link .icon{width:20px;height:20px}.nav-link.active:after{display:none}.main-column{padding-bottom:70px}.topbar{height:72px;padding:0 20px;background:var(--white)}.breadcrumb{display:none}.mobile-brand{display:flex;gap:8px;align-items:center;font-weight:900;font-size:21px;letter-spacing:-1px}.mobile-brand .logo-mark{width:31px;height:31px;font-size:29px;border-radius:9px}.topbar-right .button{font-size:10px;padding:10px;min-height:36px}.topbar-right .button .icon{width:14px;height:14px}.avatar{display:none}.content{padding:23px 19px 30px}.page-intro{margin-bottom:21px}.page-intro h1{font-size:25px}.page-intro p{font-size:11px}.date-tag{display:none}.hero{min-height:239px;padding:26px 23px;border-radius:18px}.hero-copy{max-width:100%}.hero h1{font-size:34px;letter-spacing:-1.5px;max-width:285px}.hero p{font-size:11px;max-width:240px}.hero .eyebrow{font-size:8px;letter-spacing:1.5px}.hero-art{width:220px;height:225px;right:-85px;opacity:.35;bottom:-16px}.hero .button{position:relative;z-index:3;font-size:10px}.stat-strip{gap:8px;margin:16px 0 25px}.stat-pill{padding:12px 9px;gap:7px;border-radius:11px}.stat-icon{width:27px;height:30px;border-radius:8px}.stat-icon .icon{width:16px;height:16px}.stat-pill b{font-size:17px}.stat-pill span{font-size:8px}.section-heading{align-items:start;margin-bottom:16px}.section-heading h2{font-size:20px}.section-heading p{font-size:10px}.section-heading .text-button{font-size:9px;white-space:nowrap}.section-heading .text-button .icon{width:13px}.filter-row{gap:6px}.subject-pill{font-size:10px;padding:8px 10px;min-height:33px;border-radius:8px}.search-row{gap:10px;margin-bottom:17px}.search-box input{font-size:10px}.result-count{font-size:9px}.lesson-grid{gap:12px}.card-art{height:94px}.art-glyph{font-size:42px}.art-glyph.science{font-size:57px}.art-glyph.spelling{font-size:41px}.art-chip{font-size:6px;padding:4px 6px;left:9px;top:9px}.card-art:after{font-size:16px;right:14px;top:30px}.art-doodle{left:16px;bottom:15px;font-size:14px}.card-body{padding:15px 13px 12px}.card-body h3{font-size:15px;letter-spacing:-.5px}.card-subject{font-size:7px}.book-title{font-size:9px}.card-description{font-size:10px;min-height:49px;-webkit-line-clamp:3}.card-author{font-size:9px}.card-footer{flex-wrap:wrap;padding-top:13px;gap:10px}.question-count{font-size:9px}.card-actions{margin-left:auto}.start-card{font-size:9px;padding:7px 8px}.card-actions .icon-button{width:22px;height:25px}.library-foot{font-size:9px;margin-top:24px}.resume-banner{padding:13px 14px;font-size:10px}.resume-banner .button{font-size:10px;padding:10px}.builder-grid,.math-layout{gap:18px}.panel{padding:21px 18px}.form-grid{gap:16px}.form-grid label{font-size:11px}.form-grid input,.form-grid select{font-size:12px;padding:11px}.panel-heading h2{font-size:18px}.builder-actions{justify-content:stretch;gap:9px}.builder-actions .button{flex:1;font-size:11px;padding:12px 8px}.import-toolbar{flex-wrap:wrap}.import-area{font-size:11px;min-height:280px}.math-banner{min-height:178px;padding:25px 23px}.math-banner h1{font-size:30px}.math-banner p{max-width:240px}.math-banner .hero-art{opacity:.25}.math-layout .panel-heading{margin-bottom:20px}.operation-grid{gap:7px}.operation{padding:14px 5px}.operation span:last-child{font-size:9px}.quiz-container{width:100%}.quiz-top{margin-bottom:21px}.quiz-header h1{font-size:21px}.quiz-header .eyebrow{font-size:9px}.quiz-meta{font-size:9px}.question-panel{padding:25px 20px 24px}.question-panel h2{font-size:20px;line-height:1.5}.question-tag{font-size:8px;margin-bottom:17px}.answer-options{margin-top:23px;gap:10px}.answer-option{padding:13px;gap:11px;font-size:12px;min-height:59px}.answer-letter{width:26px;height:26px;font-size:10px}.answer-option .chosen{height:17px;width:17px}.quiz-controls{margin-top:22px}.quiz-controls .button{font-size:11px;padding:12px 14px}.quiz-tip{font-size:10px}.quiz-dot{height:27px;width:27px}.progress-row{margin-bottom:22px;font-size:10px}.quiz-math-sheet .arithmetic{font-size:41px}.quiz-math-sheet .long-division{font-size:42px}.math-answer-fields{gap:13px}.result-hero{padding:28px 18px}.result-hero h1{font-size:27px}.result-hero>p{font-size:11px}.result-stats{gap:27px}.result-stats strong{font-size:24px}.result-actions .button{font-size:11px}.result-question{padding:19px 17px}.result-question-title p{font-size:12px}.result-answer{font-size:11px}.history-grid{gap:11px}.history-stat{padding:20px}.history-stat strong{font-size:27px}.history-stat p{font-size:10px}.history-row{padding:16px 14px;gap:12px}.history-row .subject-icon{width:37px;height:37px;font-size:20px}.history-row h3{font-size:12px}.history-row p{font-size:9px}.history-score strong{font-size:17px}.history-score{min-width:50px}.history-row .icon-button{width:25px}.history-score span{font-size:9px}.toast{left:50%;bottom:84px;width:max-content;max-width:calc(100% - 36px);font-size:11px}.review-heading h2{font-size:19px}.review-filter{font-size:10px}.review-filter button{padding:7px 10px}.format-note{display:none}.builder-main .form-grid .span-2{grid-column:1/-1}}
@media(max-width:360px){.lesson-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.hero h1{font-size:30px}.stat-icon{display:none}.stat-pill{justify-content:center}.stat-pill span{font-size:8px}.math-preview{gap:6px}.math-sheet{padding:15px 5px}.math-sheet .long-division{font-size:21px}.math-sheet .arithmetic{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.quiz-top,.result-actions,.review-filter,.toast,.quiz-controls,.quiz-dots,.quiz-tip{display:none!important}.shell{display:block}.main-column{padding:0}.content{padding:0}.result-question{break-inside:avoid}.result-hero{background:white}.review-heading{margin-top:20px}}

.brand-text{min-width:0;overflow-wrap:anywhere;line-height:1.15}.brand-text small{overflow-wrap:anywhere;line-height:1.7}.logo-mark{flex-shrink:0}
@media(max-width:700px){.mobile-brand{min-width:0;max-width:65%;font-size:19px;overflow-wrap:anywhere;line-height:1.2}.topbar-right{flex-shrink:0}}

.edit-card{display:inline-flex;align-items:center;gap:5px;padding:7px 6px;border-radius:8px;font-size:10px;font-weight:700;min-height:30px}.edit-card:hover{background:#edf1e2}.edit-card .icon{width:13px;height:13px}.duplicate-notice{padding:15px;border:1px solid #c4d9b7;border-radius:11px;background:#edf5e6;color:#3c6434;font-size:12px;line-height:1.7;margin-bottom:18px}.duplicate-notice p{font-size:11px;margin-top:5px}.duplicate-notice ul{margin:9px 0 0;padding-left:18px}
@media(max-width:700px){.edit-card{font-size:9px;padding:7px 5px;gap:4px}.card-actions{gap:3px}.duplicate-notice{font-size:11px}}

.auth-page{max-width:1250px;padding:40px;margin:auto}.auth-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center;min-height:80vh}.auth-story h1{font-size:55px;margin:22px 0;line-height:1.08;letter-spacing:-2px}.auth-story>p{font-size:16px;color:var(--muted);max-width:390px}.auth-benefits{display:grid;gap:13px;margin-top:30px;font-size:13px;color:var(--teal)}.auth-panel{padding:32px}.auth-panel h2{margin-bottom:13px}.auth-form{display:grid;gap:17px;margin-top:23px}.auth-form label{font-size:12px}.auth-form .check-row{margin:0}.auth-panel>.small-note{margin-top:15px}.account-bar{display:flex;align-items:center;gap:14px}.account-name{font-size:12px;font-weight:700;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-name small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:3px}.grade-filter{font-size:10px;min-width:130px}.grade-filter select{padding:9px 11px;font-size:11px;background:var(--white)}.search-row{flex-wrap:wrap;align-items:end}.grade-badge{display:inline-block;font-size:8px;background:#edf1df;border-radius:5px;padding:3px 5px;color:#59714e;margin-left:4px;letter-spacing:0;text-transform:none}.math-pathways{margin:0 0 28px}.math-pathways .section-heading p{max-width:400px}.student-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.student-avatar{background:var(--lavender);width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:23px;font-weight:700;margin-bottom:16px}.student-card h2{font-size:23px}.student-levels{display:flex;gap:30px;margin:22px 0}.student-levels span{font-size:10px;color:var(--muted)}.student-levels strong{display:block;font-size:16px;color:var(--ink);margin-top:6px}.student-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:20px}.student-actions .button{font-size:11px}.student-actions .text-button{font-size:11px}.inline-fraction{display:inline-block;vertical-align:middle;font-size:1.15em;margin:0 3px}.inline-fraction mtext{font-family:'Cambria Math',Cambria,Georgia,serif}.math-pathways .lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.auth-layout{gap:30px}.auth-story h1{font-size:43px}.account-bar{gap:9px}.curious-label{display:none}.math-pathways .lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.auth-page{padding:24px 20px}.auth-layout{grid-template-columns:1fr;gap:26px;margin-top:35px;min-height:0}.auth-story h1{font-size:35px;letter-spacing:-1.4px;margin:16px 0}.auth-story>p{font-size:13px}.auth-benefits{display:none}.auth-panel{padding:25px 21px}.auth-panel h2{font-size:23px}.account-name{max-width:115px;font-size:11px}.account-name small{font-size:8px}.account-bar{gap:7px}.topbar-create{display:none}.topbar{gap:12px}.mobile-brand{max-width:48%;font-size:18px}.grade-filter{min-width:115px}.search-row .search-box{flex:1;min-width:150px}.search-row .result-count{width:100%;text-align:right}.student-grid{grid-template-columns:1fr}.student-card{padding:23px}.student-levels{gap:23px}.math-pathways .section-heading{flex-wrap:wrap}.math-pathways .lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-link{padding-left:5px;padding-right:5px;font-size:7px}}

.practice-level-note{border:1px solid #cbdcb7;background:#edf3e2;border-radius:12px;padding:16px 19px;margin:21px 0;font-size:12px}.practice-level-note p{font-size:11px;color:#62775b;margin-top:6px;line-height:1.7}
.chapter-picker{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:0 0 22px;min-width:0}.chapter-picker legend{font-size:13px;font-weight:700;padding:0 6px}.chapter-list{max-height:210px;overflow:auto;overscroll-behavior:contain;margin-top:10px}.chapter-list .check-row{margin:0;padding:9px 0}.chapter-list span{overflow-wrap:anywhere}.chapter-list small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.paste-chapter{display:block;font-size:12px;margin:0 0 15px}.chapter-tag{display:block;color:#657a52;font-size:10px;font-weight:600;margin-bottom:5px}dialog{max-height:calc(100dvh - 30px);overflow:auto}

.phone-help{margin:28px 0 0;padding:15px 18px;border:1px solid var(--line);border-radius:12px;color:var(--muted);font-size:12px;line-height:1.7}.phone-help summary{cursor:pointer;color:var(--ink);font-weight:600}.phone-help p{margin-top:10px;max-width:720px}.offline-page{max-width:550px;margin:12vh auto;padding:30px max(24px,env(safe-area-inset-left))}.offline-page h1{font-size:32px;margin:24px 0 16px}.offline-page p{margin:16px 0;line-height:1.7;color:var(--muted)}.offline-page .button{margin-top:12px}
@media(max-width:700px){body{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.sidebar{height:calc(70px + env(safe-area-inset-bottom));padding-bottom:calc(7px + env(safe-area-inset-bottom));padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.main-column{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.toast{bottom:calc(84px + env(safe-area-inset-bottom))}input:not([type=checkbox]):not([type=radio]),select,textarea,.search-box input,.form-grid input,.form-grid select,.import-area,.grade-filter select{font-size:16px}.icon-button,.edit-card,.start-card,.subject-pill,.quiz-dot{min-height:44px;min-width:44px}.phone-help{font-size:12px}.offline-page{margin-top:8vh;min-height:70dvh}}

.family-data{display:flex;align-items:center;gap:24px;margin-bottom:24px}.family-data h2{font-size:19px;margin-bottom:8px}.family-data>div{flex:1}.family-data>.button{flex-shrink:0}.import-intro{margin-bottom:15px}@media(max-width:700px){.family-data{display:block}.family-data>.button{margin-top:15px}}
