:root{--ink:#29434c;--muted:#789097;--teal:#287e81;--line:#e2ecea;--surface:#fff;--bg:#f7faf9;--mint:#e8f4ef;--rose:#fbebf1;--shadow:0 6px 30px #214a4320;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:14px;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,select,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:default}.layout{display:flex;min-height:100dvh}.sidebar{width:240px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:26px 17px;display:flex;flex-direction:column;gap:4px}.logo{font-size:25px;font-weight:850;letter-spacing:-1.3px;display:flex;align-items:center;margin:1px 5px 45px}.logoMark{display:grid;place-items:center;background:var(--teal);color:#fff;width:38px;height:38px;border-radius:13px;margin-right:10px;font-size:24px}.logo b{color:var(--teal)}.logo small{display:block;letter-spacing:1px;font-size:8px;color:#9aafb0;font-weight:750}.navHeading{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#a3b4b6;padding:0 14px;margin:8px 0}.nav{display:flex;align-items:center;gap:12px;width:100%;padding:13px 15px;background:none;border:0;text-align:left;border-radius:12px;color:#778e93;font-weight:700}.nav span{font-size:20px}.nav:hover,.nav.active{color:#277b78;background:#e8f4ef}.nav .counter{margin-left:auto;background:#d7eae3;border-radius:20px;padding:3px 7px;font-size:11px}.sidebottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0;font-weight:800}.sidebottom small{display:block;color:var(--muted);font-size:11px;font-weight:500;margin-top:3px}.main{flex:1;min-width:0}.topbar{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.crumbs{font-size:12px;color:#8a9ea3}.profilePicker{border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-weight:750;padding:10px}.content{max-width:1220px;margin:auto;padding:30px 38px 65px}.eyebrow{font-size:11px;font-weight:850;letter-spacing:1.5px;color:#328680;text-transform:uppercase}h1,h2,h3{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.22;letter-spacing:-.75px}h1{font-size:clamp(30px,3.3vw,44px);margin:12px 0}h2{font-size:23px}h3{font-size:17px}.muted{color:var(--muted);line-height:1.7}.hero{background:#e7f3ed;border-radius:20px;min-height:300px;padding:40px 46px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.hero .intro{max-width:530px;z-index:1}.hero p{max-width:450px;line-height:1.7;color:#60857e;font-size:15px}.heroArt{font-size:124px;position:relative;filter:drop-shadow(0 12px 10px #5d9b8b55)}.heroArt:before{content:'✺';position:absolute;top:-55px;right:-30px;font-size:80px;color:#f0c372}.primary,.secondary,.outline,.softbutton,.danger{border-radius:11px;padding:12px 18px;font-weight:800;display:inline-flex;gap:8px;align-items:center;justify-content:center}.primary{border:1px solid var(--teal);background:var(--teal);color:#fff}.primary:hover{background:#226b6c}.secondary,.outline{border:1px solid #cddeda;background:#fff;color:#267f7e}.softbutton{border:1px solid #c1ded4;background:#edf7f2;color:#25776f}.danger{border:1px solid #f0ccca;background:#fff4f2;color:#aa514d}.buttonRow{display:flex;gap:9px;flex-wrap:wrap}.sectionTitle{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:34px 0 18px}.sectionTitle h2{margin:0}.sectionTitle p{margin:6px 0 0}.textlink{background:none;border:0;color:var(--teal);font-weight:800}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:25px 0}.stat{background:#fff;border:1px solid var(--line);padding:21px;border-radius:16px;display:flex;flex-direction:column;gap:7px}.stat .em{font-size:25px;background:#eef7f2;border-radius:12px;display:grid;place-items:center;width:42px;height:42px}.stat b{font-size:30px;line-height:1.2}.stat small{font-size:11px;color:var(--muted)}.subjectGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.subjectCard{border:1px solid var(--line);border-radius:16px;background:#fff;padding:23px;text-align:left;min-height:165px;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.subjectCard:hover,.chapter:hover{border-color:#a7cfc2;box-shadow:var(--shadow)}.subjectCard .emoji{font-size:27px;background:#e8f5ef;border-radius:12px;width:46px;height:46px;display:grid;place-items:center}.subjectCard b{font-size:17px}.subjectCard small{color:var(--muted)}.subjectCard .arrow{position:absolute;right:20px;top:20px;color:var(--teal);font-size:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;margin:20px 0}.pageHeading{margin:18px 0 30px}.pageHeading p{color:var(--muted);font-size:14px}.chapterList{display:grid;gap:13px}.chapter{display:flex;align-items:center;gap:19px;padding:21px;background:#fff;border:1px solid var(--line);border-radius:16px}.chapterNum{border-radius:13px;background:#e8f4ee;color:var(--teal);font-size:25px;font-weight:850;padding:12px}.chapterText{flex:1;min-width:0}.chapterText h3{margin:0 0 8px}.chapterText p{color:var(--muted);font-size:12px;margin:2px 0 10px}.chapter .buttonRow{justify-content:flex-end}.tinyBar{height:7px;background:#edf3f0;border-radius:20px;overflow:hidden;max-width:350px}.tinyBar span{display:block;height:100%;background:#68a89b}.quizHead{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin:10px 0 18px}.quizHead button{border:0;background:none;color:var(--teal);font-weight:800}.progressTrack{height:8px;border-radius:15px;background:#e7efec;overflow:hidden;margin-bottom:22px}.progressTrack span{display:block;height:100%;background:#55a393}.quizLayout{display:grid;grid-template-columns:1fr;gap:17px}.quizLayout.withPassage{grid-template-columns:1.06fr 1fr}.storyCard{border:1px solid #d7e8dc;border-radius:17px;background:#f0f8f4;padding:28px;align-self:start;position:sticky;top:20px}.storyCard h2{margin:15px 0}.storyCard p{line-height:1.85;font-size:15px;white-space:pre-line}.questionCard{border:1px solid var(--line);background:#fff;border-radius:18px;padding:32px;max-width:900px;width:100%;margin:auto}.questionCard h2{font-size:clamp(21px,2.5vw,31px);margin:15px 0 27px;white-space:pre-line;line-height:1.45}.options{display:grid;gap:10px}.answer{width:100%;display:flex;gap:13px;align-items:flex-start;border:1px solid #deebe7;border-radius:12px;background:#fff;color:var(--ink);padding:13px 15px;text-align:left;font-weight:650;line-height:1.5}.answer:hover:not(:disabled){background:#f7faf8;border-color:#b0d5c7}.letter{display:grid;place-items:center;border-radius:9px;background:#ecf4f0;width:31px;height:31px;flex-shrink:0;font-size:12px;font-weight:850}.answer.right{border-color:#88c6a0;background:#ebf8ef}.answer.wrong{border-color:#d5a09b;background:#fbedea}.answer .tick{margin-left:auto;color:#28874e}.feedback{margin-top:17px;border-radius:12px;padding:15px;background:#e9f6ed}.feedback.wrong{background:#fff1e8}.feedback p{margin:5px 0 0;line-height:1.55}.quizFoot{display:flex;justify-content:flex-end;align-items:center;margin-top:24px}.textInput{font-size:19px;padding:13px;border:1px solid #b8d1cb;border-radius:11px;width:100%;max-width:420px}.typedArea{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.typedArea label{width:100%;font-weight:750}.tileBank{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.wordTile{border:1px solid #bcd8d0;background:#fff;border-radius:10px;padding:11px 16px;font-size:20px;color:var(--ink)}.buildTarget{min-height:92px;background:#edf7f1;border:1px dashed #8cbdab;border-radius:13px;padding:23px;line-height:1.8;font-size:22px}.buildTarget .hint{font-size:14px;color:#8aa79c}.pictograph{background:#f1f9f5;border-radius:14px;padding:17px;margin:20px 0;border:1px solid #dfebe5}.graphRow{display:grid;grid-template-columns:110px 1fr;border-top:1px solid #dce9e2;padding:12px 3px;gap:9px;align-items:start}.graphRow>strong{padding-top:8px}.graphIcons{display:flex;gap:5px;flex-wrap:wrap}.graphIcons span{display:grid;place-items:center;background:#fff;border-radius:8px;width:34px;height:34px;font-size:24px;border:1px solid #e1eee8}.shapeDiagram{background:#f2f8f6;border-radius:14px;padding:16px;margin:15px 0;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.shapeDiagram svg{width:75px;height:75px}.finish{text-align:center;max-width:680px;margin:32px auto;padding:45px}.finish .icon{font-size:57px}.finish p{line-height:1.65;color:var(--muted)}.chartColumns{display:grid;grid-template-columns:1fr 1fr;gap:17px}.chartDay{display:flex;align-items:end;justify-content:space-around;height:180px;gap:9px;padding-bottom:17px;border-bottom:1px solid #e0e9e6}.chartDay>div{display:flex;flex-direction:column;justify-content:end;align-items:center;flex:1;height:100%;max-width:50px;gap:8px}.chartDay i{display:block;width:75%;background:linear-gradient(#7bc2a6,#287e81);border-radius:6px 6px 0 0;min-height:3px}.chartDay small{color:var(--muted);font-size:10px}.chartRows{display:grid;gap:16px}.chartRow{display:flex;gap:9px;align-items:center}.chartRow label{width:150px;flex-shrink:0;font-weight:750;font-size:12px}.chartRow .bar{height:11px;background:#edf3ef;border-radius:12px;flex:1;overflow:hidden}.chartRow .bar i{height:100%;display:block;background:#67ab9a}.chartRow b{width:48px;text-align:right}.dataTable{width:100%;border-collapse:collapse;font-size:12px}.dataTable td,.dataTable th{text-align:left;border-bottom:1px solid var(--line);padding:12px}.dataTable th{color:var(--muted);background:#f5f9f6}.tip{background:#eaf5ee;border-radius:14px;padding:20px;display:flex;gap:17px;align-items:center}.tip .icon{font-size:38px}.tip h3{margin:0}.tip p{margin:5px 0 0;color:#5a817b}.parentForm{display:grid;grid-template-columns:1fr 1fr;gap:12px}.parentForm label{display:grid;gap:6px;font-size:12px;font-weight:750}.parentForm .wide{grid-column:1/-1}.parentForm input,.parentForm select,.parentForm textarea{padding:12px;border:1px solid #d5e7e1;border-radius:9px;min-width:0}.footerNote{font-size:11px;line-height:1.7;color:#879b9d;margin:30px 0}.empty{padding:40px;text-align:center;color:var(--muted)}.empty .icon{font-size:46px}.loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column}.loadmark{background:#287e81;color:#fff;border-radius:18px;padding:15px;font-size:40px}.srOnly{position:absolute;left:-10000px}@media(max-width:1050px){.sidebar{width:195px}.content{padding:23px}.subjectGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter{flex-wrap:wrap}.chapter .buttonRow{width:100%;justify-content:flex-start}}@media(max-width:700px){.layout{display:block}.sidebar{width:100%;min-width:0;min-height:auto;display:flex;flex-direction:row;gap:5px;padding:9px 11px;overflow:auto;align-items:center}.logo{margin:0 13px 0 0;font-size:19px;flex-shrink:0}.logoMark{height:30px;width:30px;font-size:19px}.logo small,.navHeading,.sidebottom{display:none}.nav{width:auto;flex-shrink:0;font-size:11px;gap:5px;padding:10px}.nav span{font-size:16px}.topbar{height:60px;padding:0 14px}.crumbs{display:none}.profilePicker{margin-left:auto}.content{padding:16px 13px 55px}.hero{padding:25px;min-height:265px;position:relative}.hero .intro{max-width:85%}.heroArt{position:absolute;right:-10px;opacity:.24;font-size:105px}.hero p{font-size:13px}.stats{gap:10px}.stat{padding:13px}.stat b{font-size:25px}.subjectGrid{gap:10px}.subjectCard{min-height:155px;padding:17px}.subjectCard b{font-size:15px}.subjectCard small{font-size:11px}.sectionTitle{align-items:start}.chapter{padding:16px;gap:12px}.chapterNum{font-size:18px}.chapterText h3{font-size:16px}.chapter .buttonRow{gap:7px}.chapter .buttonRow button{font-size:11px;padding:10px}.questionCard{padding:20px}.quizLayout.withPassage,.chartColumns{grid-template-columns:1fr}.storyCard{position:static;padding:20px}.graphRow{grid-template-columns:70px 1fr}.graphIcons span{width:30px;height:30px;font-size:21px}.chartRow label{width:100px}.panel{padding:17px}.parentForm{grid-template-columns:1fr}.parentForm .wide{grid-column:auto}}
