:root{
  --ink:#292448;--muted:#726c8e;--violet:#7759ef;--violet-deep:#6348d9;
  --mint:#d5f7e8;--teal:#32bfa6;--peach:#ffe8d7;--coral:#fa7b91;
  --sun:#ffcf51;--blue:#6daaf6;--border:#eae7f5;--shadow:0 14px 38px rgba(69,48,132,.08);
  --round:25px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(circle at 93% 15%,#ffeff6 0,transparent 22%),radial-gradient(circle at 0% 36%,#edf9ff 0,transparent 27%),#faf9ff;color:var(--ink);font-family:"Trebuchet MS", "Arial Rounded MT Bold", Verdana,sans-serif;line-height:1.5;overflow-x:hidden}
button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #63cbd5;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.55}
.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}.skip-link{position:absolute;left:12px;top:-60px;background:white;padding:12px;z-index:90}.skip-link:focus{top:8px}
.confetti{position:absolute;pointer-events:none;font-size:60px;opacity:.17;z-index:-1}.decor-one{top:190px;left:1%;color:#8c5ffc}.decor-two{top:510px;right:2%;color:#ffa940}
.site-header{background:rgba(255,255,255,.88);backdrop-filter:blur(12px);border-bottom:1px solid #ede9f9;position:relative;z-index:3}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:89px}.brand-link{background:none;border:0;padding:0;display:flex;align-items:center}.brand-logo{height:64px;width:235px;object-fit:contain;object-position:left center}.header-center{color:#4a4463;font-size:13px;font-weight:bold;letter-spacing:.02em;white-space:nowrap}.heart-dot{color:#ff9eaf;font-size:14px;margin:0 6px}.header-actions{display:flex;align-items:center;gap:12px}.sound-btn,.parent-btn{display:flex;gap:8px;align-items:center;justify-content:center;border:1.5px solid var(--border);background:white;color:var(--ink);font-weight:800;border-radius:999px;padding:10px 14px;font-size:13px;white-space:nowrap;transition:transform .2s,background .2s}.sound-btn:hover,.parent-btn:hover{background:#f4f0ff;transform:translateY(-2px)}.parent-btn{background:#f5f0ff;color:#694bd6;border-color:#eee6ff}
.subject-nav{display:flex;align-items:center;gap:9px;padding:0 0 16px}.nav-chip{border:1.5px solid transparent;background:#f7f5ff;color:#4a4463;border-radius:999px;padding:10px 19px;display:flex;align-items:center;gap:9px;font-weight:900;transition:background .2s,transform .2s,box-shadow .2s;font-size:14px}.nav-chip:hover{transform:translateY(-2px)}.nav-chip.active{background:#7657eb;color:white;box-shadow:0 6px 14px #7960e833}.nav-chip .chip-symbol{font-size:17px}.nav-spacer{flex:1}.safe-note{color:#4a4463;background:#fff8dc;font-weight:bold;white-space:nowrap;font-size:12px;border-radius:999px;padding:8px 12px}.safe-note span{color:#ffaa3c;font-size:18px;vertical-align:middle}
main{min-height:60vh}.hero{position:relative;margin-top:32px;background:linear-gradient(106deg,#f2eaff 0%,#e9eeff 57%,#d9f7f2 100%);border:1px solid white;border-radius:34px;min-height:377px;display:grid;grid-template-columns:1.12fr .88fr;box-shadow:var(--shadow);overflow:hidden}.hero:before,.hero:after{content:"";position:absolute;display:block;border:2px dashed #cbb9ff;opacity:.5;border-radius:50%;width:340px;height:340px;right:-100px;top:-180px}.hero:after{width:80px;height:80px;right:42%;top:70%;opacity:.45}.hero-copy{z-index:1;padding:43px 0 42px 55px;position:relative}.eyebrow{display:inline-flex;align-items:center;gap:6px;background:white;color:#8661cf;font-size:12px;border-radius:999px;padding:7px 15px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;box-shadow:0 4px 12px #745ce216}.hero h1{font-size:clamp(34px,4.3vw,56px);line-height:1.13;letter-spacing:-.045em;margin:16px 0 16px;font-weight:900;max-width:580px}.hero h1 .rainbow-underline{position:relative;color:#7858e4;white-space:nowrap}.hero h1 .rainbow-underline:after{content:"";height:7px;position:absolute;left:2px;right:2px;bottom:-5px;border-radius:100%;transform:rotate(-1deg);background:#ffd34b;opacity:.9}.hero p{color:#4a4463;font-size:16px;max-width:485px;line-height:1.65;margin:0 0 24px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:17px;border:2px solid transparent;padding:13px 22px;font-weight:900;font-size:15px;min-height:51px;transition:transform .2s,box-shadow .2s,background .2s;text-align:center}.btn:hover{transform:translateY(-3px)}.btn-primary{background:var(--violet);color:white;box-shadow:0 8px 0 #5e43c9,0 12px 20px #795ce02b}.btn-primary:hover{background:#6744e7;box-shadow:0 6px 0 #5e43c9,0 10px 20px #795ce02b}.btn-white{background:white;color:#4a4463;border-color:#eee9f8}.btn-white:hover{box-shadow:0 6px 16px #6847af1c}.btn-outline{background:white;color:var(--violet);border-color:#d9d1ff}.btn-soft{background:#f1edff;color:#6849d2}.btn-small{min-height:40px;padding:8px 15px;border-radius:13px;font-size:13px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;isolation:isolate}.hero-art:before{content:"";width:350px;height:350px;border-radius:50%;position:absolute;background:rgba(255,255,255,.55);z-index:-1;right:42px;bottom:-55px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.6)}.hero-art img{max-width:115%;width:510px;transform:translate(-5px,12px);filter:drop-shadow(0 17px 9px rgba(90,54,119,.12));animation:bob 5s ease-in-out infinite}.hero-speech{position:absolute;right:12px;top:23px;background:white;transform:rotate(7deg);box-shadow:0 8px 20px #654a9f18;border-radius:16px;padding:8px 14px;color:#6750ba;font-weight:900;font-size:14px;z-index:2}.hero-speech:after{content:"";position:absolute;bottom:-12px;left:18px;border:8px solid transparent;border-top-color:white}.hero-sparkle{position:absolute;font-size:30px;color:#eaa949;z-index:1}.sparkle-one{left:5%;top:17%}.sparkle-two{right:8%;bottom:8%;color:#e888c2}.hero-highlights{display:flex;gap:16px;align-items:center;margin-top:22px;color:#4a4463;font-size:12px;font-weight:800}.hero-highlights span{display:flex;align-items:center;gap:5px}.hero-highlights i{width:7px;height:7px;background:#5bccb6;border-radius:50%;display:inline-block}
@keyframes bob{0%,100%{transform:translate(-5px,12px)}50%{transform:translate(-5px,1px)}}
.section-heading{margin:44px 0 18px;display:flex;align-items:flex-end;justify-content:space-between;gap:15px}.section-heading h2,.section-heading h3{margin:0;font-size:27px;font-weight:900;letter-spacing:-.035em}.section-heading p{margin:4px 0 0;color:#4a4463;font-size:14px}.mini-pill{font-size:13px;background:#fff;border:1px solid #eee9f6;color:#4a4463;font-weight:900;padding:9px 14px;border-radius:999px}
.subject-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.subject-card{border:1px solid #fff;text-align:left;border-radius:25px;min-height:257px;padding:21px;overflow:hidden;position:relative;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s;color:var(--ink);background:#f0e9ff}.subject-card:hover{transform:translateY(-7px);box-shadow:0 20px 32px #62498e21}.subject-card:before{content:"";position:absolute;width:190px;height:190px;right:-92px;top:-80px;border-radius:50%;background:rgba(255,255,255,.48)}.subject-card:after{content:"";position:absolute;width:66px;height:66px;right:19px;top:21px;border:2px dashed rgba(255,255,255,.7);border-radius:50%;transform:rotate(18deg)}.subject-card.reading{background:#dff4ff}.subject-card.grammar{background:#ffe6db}.subject-card.smarts{background:#fff1bc}.subject-card.math{background:#e9e0ff}.subject-card-icon{height:75px;width:75px;border-radius:24px;background:rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center;font-size:45px;box-shadow:0 6px 0 rgba(255,255,255,.45);transform:rotate(-7deg);margin-bottom:14px;position:relative;z-index:1}.subject-card.reading .subject-card-icon{transform:rotate(7deg)}.subject-card h3{font-size:20px;font-weight:900;letter-spacing:-.035em;margin:0}.subject-card p{font-size:13px;color:#4a4463;margin:6px 0 13px;line-height:1.5;max-width:185px;min-height:40px}.subject-card-action{display:flex;margin-top:auto;align-items:center;justify-content:space-between;font-size:13px;font-weight:900;color:#5e51a2}.circle-arrow{background:#fff;display:inline-grid;place-items:center;width:33px;height:33px;border-radius:50%;font-size:20px;color:#6149ca;box-shadow:0 3px 6px #57379513}
.lower-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px;margin-top:22px}.step-panel,.calm-panel{background:white;border-radius:25px;border:1px solid #f0edf6;box-shadow:var(--shadow);padding:25px}.panel-title{font-size:19px;font-weight:900;letter-spacing:-.02em;margin:0 0 17px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.step{display:flex;gap:8px;flex-direction:column;align-items:flex-start}.step-number{height:37px;width:37px;border-radius:14px;background:#ede6ff;color:#7654e7;display:grid;place-items:center;font-weight:900;font-size:16px}.step:nth-child(2) .step-number{background:#d9f9f3;color:#157a62}.step:nth-child(3) .step-number{background:#fff0cf;color:#875700}.step-title{font-size:14px;font-weight:900;margin-top:3px}.step-copy{font-size:12px;color:#4a4463;line-height:1.4}.calm-panel{background:linear-gradient(110deg,#ffebf2,#fff9e6);display:flex;align-items:center;gap:20px}.calm-icon{background:white;border-radius:22px;font-size:46px;min-width:85px;height:85px;display:grid;place-items:center;transform:rotate(-9deg)}.calm-panel p{font-size:13px;color:#4a4463;margin:5px 0 0}.calm-panel .panel-title{margin:0}.site-footer{padding:32px 0 28px;margin-top:45px;display:flex;gap:15px;justify-content:space-between;align-items:center;border-top:1px dashed #e5e0f0;color:#4a4463;font-size:12px;font-weight:bold}.footer-brand{color:#7058bc}.footer-privacy span{padding:0 7px;color:#c6bfda}
/* Setup screen */
.breadcrumb{display:flex;align-items:center;gap:9px;margin:27px 0 15px;color:#4a4463;font-size:13px;font-weight:900}.breadcrumb button{color:#7156d8;border:0;background:none;padding:3px}.setup-banner{background:linear-gradient(112deg,#efe8ff,#f8efff);border-radius:28px;display:flex;align-items:center;gap:25px;padding:27px 36px;position:relative;overflow:hidden}.setup-banner.reading{background:linear-gradient(115deg,#e0f6ff,#f0f8ff)}.setup-banner.grammar{background:linear-gradient(115deg,#ffe6da,#fff1ea)}.setup-banner.smarts{background:linear-gradient(115deg,#fff0b8,#fff8e0)}.setup-banner-icon{font-size:67px;filter:drop-shadow(0 7px 2px #6d5bb017);background:#ffffff99;border-radius:20px;padding:12px 22px;transform:rotate(-5deg)}.setup-banner h1{font-size:35px;letter-spacing:-.04em;margin:0 0 2px;line-height:1.2}.setup-banner p{color:#4a4463;margin:0;font-size:15px}.setup-layout{display:grid;grid-template-columns:1.45fr .8fr;gap:22px;margin:23px 0 20px}.setup-card,.tip-card,.progress-side,.question-panel,.reading-passage,.result-panel{background:white;border:1px solid #ece8f6;border-radius:25px;padding:26px;box-shadow:var(--shadow)}.setup-card h2{font-size:22px;margin:0 0 3px;letter-spacing:-.025em}.muted{color:#4a4463;font-size:13px}.setup-card .muted{margin:2px 0 23px}.field-label{display:block;font-size:13px;font-weight:900;color:#5b537a;margin:20px 0 9px}.grade-segments,.difficulty-segments{display:flex;gap:8px;flex-wrap:wrap}.option-pill{border:2px solid #edeaf5;border-radius:14px;background:#fff;color:#4a4463;min-width:51px;padding:10px 13px;font-size:13px;font-weight:900;transition:.2s}.option-pill:hover{border-color:#c7bafc}.option-pill.selected{border-color:var(--violet);color:var(--violet);background:#f4efff}.option-pill.selected:before{content:"✓ ";font-weight:900}.level-select{appearance:none;width:100%;border:2px solid #ece7f9;border-radius:14px;padding:13px 38px 13px 15px;background:#fff url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="15" height="10"%3E%3Cpath d="m2 2 5 5 5-5" fill="none" stroke="%23795dda" stroke-width="2" stroke-linecap="round"/%3E%3C/svg%3E') no-repeat right 15px center;color:#5a517e;font-weight:800}.setup-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.tip-card{background:linear-gradient(130deg,#f3eaff,#f9f5ff);border-color:#f0e7ff}.tip-icon{height:55px;width:55px;display:grid;place-items:center;background:white;border-radius:19px;font-size:30px;margin-bottom:14px;transform:rotate(-5deg)}.tip-card h3{font-size:18px;margin:0 0 8px}.tip-card p{color:#4a4463;font-size:14px;line-height:1.65;margin:0}.tip-card .small-caption{font-size:11px;letter-spacing:.07em;font-weight:900;color:#6a4ca6;text-transform:uppercase;margin:20px 0 3px}.privacy-card{margin-top:15px;border-radius:16px;padding:17px 18px;background:#e9faf3;color:#22705b;font-size:12px;font-weight:800;line-height:1.5}.small-strategy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.strategy-tile{text-align:left;border:2px solid #efebf5;border-radius:15px;background:white;padding:12px;display:flex;gap:11px;align-items:flex-start;color:#534968;font-weight:900;font-size:12px;min-height:76px}.strategy-tile span{font-size:23px}.strategy-tile.active{border-color:#ffd86a;background:#fffbea;box-shadow:0 3px 0 #fce7a6}.strategy-tile:hover{border-color:#e5c865}
/* practice */
.practice-top{margin:27px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}.back-button{border:0;color:#705cd0;background:#f0ecff;border-radius:999px;font-weight:900;font-size:13px;padding:10px 15px}.round-pill{border-radius:999px;background:#e7f8ee;color:#1f7158;padding:9px 14px;font-weight:900;font-size:12px}.practice-layout{display:grid;grid-template-columns:1.5fr .72fr;gap:22px;align-items:start}.practice-card{min-width:0}.practice-head{display:flex;align-items:center;gap:12px;margin-bottom:15px}.practice-head-icon{height:48px;width:48px;border-radius:16px;background:#ede7ff;display:grid;place-items:center;font-size:27px}.practice-head h1{font-size:24px;margin:0;letter-spacing:-.03em}.practice-head p{font-size:12px;margin:2px 0 0;color:#4a4463}.progress-dots{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;margin-bottom:18px}.progress-dot{height:11px;border-radius:99px;background:#e9e5f1}.progress-dot.active{background:#8a66f0;box-shadow:0 0 0 3px #8a66f033}.question-panel{padding:30px;min-height:340px}.question-number{font-size:12px;font-weight:900;color:#5c42c4;text-transform:uppercase;letter-spacing:.07em}.question-text{font-size:clamp(21px,3vw,29px);letter-spacing:-.025em;margin:13px 0 20px;line-height:1.4;font-weight:900}.math-visual{width:100%;background:#f8f7ff;border:1px solid #edeafa;border-radius:18px;min-height:140px;display:flex;align-items:center;justify-content:center;margin:0 0 20px;gap:12px;flex-wrap:wrap;padding:15px}.math-visual svg{max-width:100%}.coin{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;border:6px double #c78b28;background:linear-gradient(135deg,#fff3ab,#dfae50);color:#95621a;font-weight:900;font-size:17px;box-shadow:0 3px 0 #b0883e}.coin.small{width:53px;height:53px;font-size:15px;background:linear-gradient(135deg,#e6effa,#aab5c4);border-color:#9baab8;color:#596675}.array-dot{width:28px;height:28px;background:#9a84f6;border-radius:50%;box-shadow:0 3px 0 #7b65dc}.array-row{display:flex;gap:9px;margin:7px}.choice{display:flex;align-items:center;gap:9px;min-height:66px;text-align:left;background:#fff;border:2px solid #ece8f4;border-radius:16px;padding:10px 12px;font-size:16px;font-weight:900;color:#4d4667;transition:border .2s,background .2s,transform .2s}.choice:hover:not(:disabled){border-color:#a894ef;transform:translateY(-2px)}.choice .letter{background:#f2efff;color:#7b62df;display:grid;place-items:center;width:32px;height:32px;border-radius:11px;flex:none;font-size:14px}.choice .choice-answer{flex:1;min-width:0;overflow-wrap:anywhere}.choice.correct{border-color:#72d5b0;background:#eafbf3;color:#1d6e51}.choice.incorrect{border-color:#f7a1ad;background:#fff0f1;color:#a8384d}.choice.crossed-out .choice-answer{text-decoration:line-through;color:#4a4463}.choice.crossed-out{background:#f9f8fb;opacity:.65}.choice-note{color:#4a4463;font-size:11px;margin:15px 0 0;text-align:center}.feedback{border-radius:15px;margin-top:17px;padding:15px 17px;display:flex;align-items:flex-start;gap:12px;background:#e9fbf2;border:1px solid #d1f2e2}.feedback.try{background:#fff1f2;border-color:#ffe1e3}.feedback-icon{font-size:25px}.feedback-title{font-weight:900;font-size:15px}.feedback-copy{font-size:13px;color:#4a4463;line-height:1.5}.feedback-actions{margin-top:15px;display:flex;justify-content:flex-end}.question-bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:17px;flex-wrap:wrap}.link-button{border:0;background:transparent;color:#6e5bd0;font-weight:900;font-size:13px;padding:10px}.link-button:hover{text-decoration:underline}.read-button{background:#ebf5ff;color:#4275ad;border-radius:999px;border:0;padding:9px 13px;font-weight:900;font-size:12px}.progress-side{padding:22px}.score-title{font-size:15px;margin:0 0 17px}.stat-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stat-box{border-radius:17px;background:#f2edff;padding:14px;text-align:center}.stat-box.orange{background:#fff2d5}.stat-big{font-size:26px;line-height:1.2;font-weight:900;color:#7358df}.stat-box.orange .stat-big{color:#8f5b00}.stat-label{font-size:11px;color:#4a4463;font-weight:900;margin-top:5px}.reminder{border-top:1px solid #eeeaf5;margin-top:19px;padding-top:18px}.reminder h3{font-size:14px;margin:0 0 8px}.reminder p{font-size:13px;color:#4a4463;line-height:1.55;margin:0}.mini-star{font-size:30px;display:block;margin-bottom:5px}.reading-passage{background:#fffbec;border-color:#ffefc3;margin-bottom:16px;padding:21px}.reading-passage h3{margin:0 0 8px;font-size:17px}.reading-passage p{margin:0;color:#4a4463;font-size:14px;line-height:1.8}.story-toggle{border:0;background:none;color:#8f6e35;font-weight:900;font-size:13px;margin-top:9px;padding:0}
/* results */
.results-wrap{max-width:770px;margin:33px auto 20px;text-align:center}.result-panel{padding:42px 28px}.result-mascot{font-size:75px;line-height:1}.result-panel h1{font-size:clamp(31px,5vw,44px);margin:10px 0 9px}.result-panel p{color:#4a4463;margin:0 auto 22px;max-width:455px}.stars{font-size:54px;letter-spacing:8px;text-shadow:0 5px 0 #f9e7a2}.results-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:470px;margin:23px auto 26px}.result-stat{background:#f7f3ff;border-radius:15px;padding:13px}.result-stat strong{display:block;font-size:24px;color:#775bdf}.result-stat span{display:block;color:#4a4463;font-size:11px;font-weight:900}.result-actions{display:flex;justify-content:center;gap:13px;flex-wrap:wrap}.result-tip{margin:18px auto 0;padding:12px;background:#edfcf2;border-radius:14px;color:#22705b;font-size:13px;max-width:510px;font-weight:800}
/* modals and print */
.modal-overlay{position:fixed;inset:0;background:#26203986;z-index:100;display:flex;justify-content:center;align-items:center;padding:18px;overflow-y:auto}.modal{background:white;border-radius:24px;box-shadow:0 25px 100px #1c173950;max-width:760px;width:100%;max-height:92vh;overflow-y:auto;padding:25px;position:relative}.modal.wide{max-width:900px}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #eee9f5;padding-bottom:15px;margin-bottom:16px}.modal-header h2{margin:0;font-size:22px}.close-btn{border:0;background:#f2eeff;color:#7562bb;border-radius:50%;width:35px;height:35px;font-size:21px;font-weight:900}.modal-content p{color:#4a4463;font-size:14px;line-height:1.7}.grownup-list{margin:16px 0;padding-left:22px;font-size:14px;color:#4a4463;line-height:2}.worksheet-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;background:#f1edff;padding:10px 13px;border-radius:13px;margin-bottom:16px;font-size:12px;color:#7764a7;font-weight:900}.worksheet-page{border:1px solid #e9e4f2;border-radius:8px;padding:27px;background:white;box-shadow:0 8px 16px #3c2d5110;margin:0 auto 20px;max-width:760px;font-family:Arial,sans-serif}.worksheet-page .worksheet-title{font-family:"Trebuchet MS",sans-serif;font-size:26px;color:#51409c;border-bottom:3px solid #f4d96e;padding-bottom:7px;margin:0 0 10px}.worksheet-meta{display:flex;justify-content:space-between;border-bottom:1px solid #e9e4ef;padding-bottom:12px;font-size:12px;color:#555}.worksheet-list{display:grid;grid-template-columns:1fr 1fr;gap:18px 25px;margin-top:22px}.worksheet-item{break-inside:avoid;font-size:14px;color:#282536;min-height:67px}.worksheet-item strong{margin-right:7px}.worksheet-blanks{margin-top:11px;border-bottom:1px solid #9b95aa;height:20px}.worksheet-choices{font-size:12px;color:#6a637c;margin:6px 0 0}.worksheet-story{background:#fffbed;padding:14px;font-size:13px;line-height:1.65;border-radius:8px;margin-top:15px}.worksheet-answers{columns:2;font-size:14px;line-height:2.6;color:#363247}.worksheet-answers div{break-inside:avoid}.worksheet-page .print-instructions{color:#555;font-size:12px;margin-bottom:0}.worksheet-key{page-break-before:always}
#worksheet-print{display:none}.home-return{text-align:center;margin:18px 0}.empty-state{text-align:center;padding:25px;color:#4a4463}
@media(min-width:1000px){.hero-art img{min-width:460px}}
@media(max-width:1010px){.header-center{display:none}.subject-cards{grid-template-columns:repeat(2,1fr)}.subject-card{min-height:205px}.hero-copy{padding-left:35px}.hero-art img{width:430px}.setup-layout,.practice-layout{grid-template-columns:1.3fr .8fr}}
@media(max-width:700px){.container{width:min(100% - 30px,1180px)}.header-inner{min-height:73px}.brand-logo{height:52px;width:176px}.header-actions{gap:5px}.safe-note,.nav-spacer{display:none}.hero{display:flex;flex-direction:column;margin-top:16px;min-height:auto;border-radius:25px}.hero-copy{padding:27px 25px 4px}.hero h1{font-size:38px;max-width:520px}.hero p{font-size:14px;margin-bottom:18px}.hero-art{height:250px}.hero-art img{max-width:none;width:350px;transform:translate(0,6px);animation:none}.hero-speech{top:4px;right:8px;font-size:12px}.hero-highlights{flex-wrap:wrap;gap:10px;margin-top:16px}.section-heading{margin-top:31px}.section-heading h2{font-size:23px}.subject-cards{gap:12px}.subject-card{padding:16px;border-radius:19px;min-height:218px}.subject-card-icon{height:62px;width:62px;font-size:34px}.subject-card h3{font-size:18px}.subject-card p{font-size:12px;min-height:51px}.lower-grid,.setup-layout,.practice-layout{grid-template-columns:1fr}.steps{gap:15px}.step-panel,.calm-panel{padding:19px}.calm-panel{gap:13px}.calm-icon{width:64px;min-width:64px;height:64px;font-size:31px}.site-footer{flex-direction:column;align-items:flex-start;margin-top:33px;padding:22px 0}.setup-banner{padding:18px;gap:16px}.setup-banner-icon{font-size:43px;padding:8px 12px}.setup-banner h1{font-size:25px}.setup-banner p{font-size:12px}.setup-card,.tip-card,.progress-side,.question-panel{padding:20px}.setup-card h2{font-size:19px}.practice-top{margin-top:18px}.practice-layout{display:flex;flex-direction:column}.practice-card,.progress-side{width:100%}.progress-side{order:-1;padding:13px 17px}.score-title,.reminder{display:none}.stat-row{display:flex;justify-content:space-around}.stat-box{flex:1;padding:8px}.stat-big{font-size:20px}.stat-label{font-size:10px}.question-text{font-size:23px}.result-panel{padding:30px 18px}.stars{font-size:40px;letter-spacing:2px}.modal{padding:18px}.worksheet-page{padding:17px}.worksheet-list{grid-template-columns:1fr}.worksheet-answers{columns:1}}
@media(max-width:390px){.hero h1{font-size:33px}.btn{font-size:13px;padding:11px 15px}.subject-card{min-height:225px}.subject-card h3{font-size:16px}.small-strategy-grid{grid-template-columns:1fr}.question-panel{padding:16px}}
/* UX review fixes (Neon review, Nov 22 2026) */
[hidden]{display:none!important}
/* F6: every kid-facing control is at least 48x48 */
.sound-btn,.parent-btn,.nav-chip,.back-button,.link-button,.option-pill,.btn,.btn-small{min-height:48px}
.btn-small{font-size:15px;padding:10px 18px}
.close-btn{width:48px;height:48px;flex:none}
.breadcrumb{font-size:15px;flex-wrap:wrap}.breadcrumb button{min-height:48px;padding:12px 16px;border-radius:999px;background:#f0ecff;color:#5b41c9;font-weight:900}
.back-button{font-size:16px;padding:12px 18px;color:#5b41c9}
.link-button{font-size:16px;padding:12px 16px;color:#5b41c9}
/* F1/F8: practice top bar with Home and the grown-up settings button */
.practice-top{flex-wrap:wrap;gap:12px}.round-pill{font-size:14px}
.grownup-link{min-height:48px;border:1.5px dashed #cfc6ee;background:#fff;color:#4a4463;border-radius:999px;padding:10px 16px;font-size:14px;font-weight:800}
.grownup-link:hover{background:#f7f5ff}
.grownup-tag{display:inline-block;background:#fff3d6;color:#6b4a00;font-size:12px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;border-radius:999px;padding:4px 10px;margin-bottom:8px}
body[data-screen="practice"] .subject-nav{display:none}
/* F2: read-aloud buttons sit next to what they read */
.read-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border-radius:999px;border:0;background:#24508f;color:#fff;font-weight:900;font-size:16px;flex:none}
.read-button:hover{background:#1d4477}
.question-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:13px 0 20px}.question-head .question-text{margin:0;flex:1;min-width:0}
.passage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.passage-head h3{margin:0}
.speech-bar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:120}
.speech-stop{min-height:56px;padding:14px 24px;border-radius:999px;border:0;background:#292448;color:#fff;font-weight:900;font-size:17px;box-shadow:0 10px 30px #1c173950}
/* F5: bigger, darker reading text. Line height 1.7 is a deliberate exception to the 1.4-1.6 rule for early readers. */
.reading-passage p{font-size:18px;line-height:1.7;margin:0 0 12px;max-width:65ch}
.story-toggle{min-height:48px;padding:12px 18px;border-radius:999px;background:#fff3cf;color:#6b4f1d;font-size:16px;margin-top:4px}
.question-number{font-size:14px}.practice-head p{font-size:15px}
.subject-card p{font-size:15px}
.stat-label{font-size:13px}.reminder p{font-size:15px}
/* F3: one answer per row, with a separate Rule out pill beside each answer */
.choice-list{display:flex;flex-direction:column;gap:12px}
.choice-row{display:flex;align-items:center;gap:12px}
.choice{flex:1;width:100%;min-width:0;gap:12px;font-size:18px;cursor:pointer;font-family:inherit}
.choice:disabled{opacity:1;cursor:default}
.choice:disabled:not(.correct):not(.missed):not(.crossed-out){opacity:.8}
.choice .letter{color:#5b41c9}
.choice.crossed-out .choice-answer{color:#6e6884}
.choice.missed{background:#f6f5f9;border-style:dashed;border-color:#c9c3d6;color:#4a4463;opacity:.75}
.choice.missed .choice-answer{text-decoration:line-through}
.choice-tag{margin-left:auto;flex:none;font-size:14px;font-weight:900;padding:4px 10px;border-radius:999px;background:#fff;white-space:nowrap}
.choice.correct .choice-tag{color:#1d6e51}.choice.missed .choice-tag{color:#4a4463}
.rule-out-btn{flex:none;min-width:48px;min-height:48px;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;border:2px solid #d9d2ee;background:#fff;color:#4a4463;font-weight:900;font-size:15px}
.rule-out-btn:hover:not(:disabled){background:#f7f5ff}
.rule-out-btn.on{background:#f1edff;border-color:#a894ef;color:#3f2fa0}
.rule-out-btn:disabled{opacity:.4}
.rule-out-icon{text-decoration:line-through;text-decoration-thickness:3px}
.choice-note{font-size:16px;text-align:left;margin:16px 0 0}
/* F4/F9: second-chance hint, feedback at 18px, star mascot cheering, neutral progress */
.progress-dot.done{background:#b3a6ee}.progress-dot.active{background:#4f35c4;box-shadow:0 0 0 3px #8a66f044}
.feedback{gap:16px;padding:16px;margin-top:16px}
.feedback.hint{background:#fff8e1;border-color:#ffe7a3}
.feedback.try{background:#f4f1ff;border-color:#e4ddff}
.feedback-mascot{width:72px;height:72px;object-fit:contain;flex:none}
.feedback-body{flex:1;min-width:0}
.feedback-title{font-size:20px}
.feedback-copy{font-size:18px;line-height:1.5;color:#3f3a52;margin:4px 0 12px}
.reminder-banner{display:none}
img.result-mascot{display:block;width:150px;height:auto;margin:0 auto 8px}
.result-panel .read-button{margin:0 auto 8px}
.star-jar{font-size:28px;letter-spacing:2px;line-height:1.3;margin:12px 0 4px}
.star-jar-label{font-size:16px}
.result-stat span{font-size:13px}
.grownup-details{margin:22px auto 0;max-width:560px;text-align:left;border-top:1px dashed #e0d9ef;padding-top:8px}
.grownup-details summary{padding:12px 0;min-height:48px;cursor:pointer;font-weight:900;color:#4a4463;font-size:15px}
.grownup-details p,.grownup-details li{font-size:15px;color:#3f3a52;line-height:1.5;margin:0 0 8px;max-width:none}
.result-detail-list{padding-left:22px;margin:8px 0 16px}
/* F8: leave-round confirmation */
.confirm-modal{max-width:440px}
.confirm-modal h2{margin:0 0 8px;font-size:24px}
.confirm-modal p{font-size:18px;color:#4a4463;margin:0 0 20px}
.confirm-actions{display:flex;gap:12px;flex-wrap:wrap}.confirm-actions .btn{flex:1}
/* F10: worksheet pictures, drawn with borders and strokes so they print without background graphics */
.worksheet-visual{margin:8px 0 4px}
.worksheet-visual .math-visual{background:none;border:1px solid #999;border-radius:8px;min-height:0;padding:8px;margin:0;justify-content:flex-start;filter:grayscale(1)}
.worksheet-visual svg{width:120px;height:120px}
.worksheet-visual .coin{width:46px;height:46px;border:3px solid #333;background:#fff;color:#111;box-shadow:none;font-size:15px}
.worksheet-visual .coin.small{width:40px;height:40px;font-size:13px}
.worksheet-visual .array-dot{width:18px;height:18px;background:none;box-shadow:none;border:9px solid #333}
.worksheet-visual .array-row{gap:6px;margin:4px}
/* F7: mobile layout */
@media(max-width:700px){
 .header-inner{flex-wrap:wrap;row-gap:8px;padding:8px 0}
 .header-actions{gap:8px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
 .sound-btn,.parent-btn{padding:10px 14px;font-size:14px}
 .subject-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-bottom:13px}
 .nav-chip{justify-content:center;padding:10px 12px;font-size:14px}
 .subject-card p{font-size:14px}
 .question-head{flex-direction:column;gap:12px}
 .choice{padding:10px 12px;min-height:64px;font-size:18px}
 .reminder-banner{display:flex;gap:8px;align-items:center;font-size:15px;line-height:1.4;background:#f3eaff;color:#3f3a52;border-radius:14px;padding:10px 14px;margin:0 0 16px}
 .feedback-mascot{width:56px;height:56px}
 .grownup-link{margin-left:0}
 .modal-overlay.sheet{align-items:flex-end;padding:0}
 .modal-overlay.sheet .confirm-modal{max-width:none;border-radius:24px 24px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom))}
}
@media(max-width:390px){.rule-out-icon{display:none}.rule-out-btn{padding:10px 12px}.choice{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
@media print{
 @page{size:letter;margin:.55in}
 body{background:white!important;color:black!important;font-family:Arial,sans-serif}
 .site-header,main,.site-footer,.confetti,#modal-root{display:none!important}
 #worksheet-print{display:block!important}
 #worksheet-print .worksheet-page{display:block;border:0;box-shadow:none;padding:0;margin:0;max-width:none;break-after:page}
 #worksheet-print .worksheet-page:last-child{break-after:auto}
 #worksheet-print .worksheet-title{font-size:21px}
 #worksheet-print .worksheet-list{gap:12px 24px}
 #worksheet-print .worksheet-item{min-height:55px}
 #worksheet-print .worksheet-answers{columns:2}
}
/* Full plan port (Nov 22 2026): Learning Practice content in the Vary Test look */
.coins{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;align-items:center}
.coin{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1;text-align:center;border:3px solid #b9913f;box-shadow:0 3px 0 #b0883e;color:#4a3200}
.coin small{font-size:10px;font-weight:900;letter-spacing:.04em;margin-top:2px}
.coin.q{width:70px;height:70px;background:#ffd94d}.coin.d{width:54px;height:54px;background:#e6edf5;border-color:#8d9aab;color:#2f3a46;box-shadow:0 3px 0 #8d9aab}
.coin.n{width:62px;height:62px;background:#e8e8e8;border-color:#8f8f8f;color:#333;box-shadow:0 3px 0 #8f8f8f}.coin.p{width:56px;height:56px;background:#f0a35e;border-color:#a8602a;color:#3e2000;box-shadow:0 3px 0 #a8602a}
.countdots{font-size:30px;letter-spacing:6px;color:#5b41c9;line-height:1.5;max-width:420px;margin:0 auto;word-break:break-all;text-align:center}
.arraydots{color:#2f5fb3;font-size:28px;letter-spacing:8px;line-height:1.35;text-align:center}
.question-text .big{display:inline-block;font-size:1.2em;margin-top:6px}
.topic-label{display:block;font-size:14px;font-weight:800;color:#4a4463;margin-top:4px}
.quest-tip{background:#fff8e1;border:1px solid #ffe7a3;border-radius:14px;padding:12px 16px;font-size:16px;line-height:1.5;color:#3f3a52;margin:0 0 16px}
.learn-card{background:#fffbea;border:2px solid #ffe08a;border-radius:18px;padding:16px 18px;margin:16px 0}.learn-card h3{margin:0 0 6px;font-size:18px}.learn-card p{margin:0 0 8px;font-size:16px;line-height:1.55;color:#3f3a52}.learn-card .tip-line{margin:0}
.reading-passage .passage-source{font-size:14px;color:#4a4463;font-weight:800;margin:-6px 0 10px}
.reading-passage .passage-help{font-size:16px;color:#1f6b5a;font-weight:900}
.type-answer{margin-top:18px;border-top:1px dashed #e0d9ef;padding-top:14px}.type-answer label{display:block;font-size:16px;font-weight:900;color:#3f3a52;margin-bottom:8px}
.type-row{display:flex;gap:12px;flex-wrap:wrap}.type-input{flex:1;min-width:160px;min-height:52px;font-size:20px;font-weight:800;border:2px solid #d9d2ee;border-radius:14px;padding:10px 14px;color:var(--ink);background:#fff}
.type-input:disabled{background:#f6f5f9}.type-note{font-size:16px;color:#6b4a00;margin:8px 0 0}
.guided-label{font-size:16px;font-weight:800;color:#3f3a52;margin:0 0 12px}.guided-actions{display:flex;gap:12px;flex-wrap:wrap}
.guided-box{background:#f4f1ff;border-radius:14px;padding:14px 16px;margin-top:12px;font-size:17px;line-height:1.55;color:#3f3a52}.guided-box ol{margin:8px 0 0;padding-left:22px}.guided-box li{margin-bottom:6px}
.guided-prompt{font-size:22px;margin:16px 0;line-height:1.45}
.note-card{background:#f3f0ff;border-radius:14px;padding:12px 14px;font-size:14px;color:#3f3a52;line-height:1.55;margin:16px 0 0}
.setup-card .setup-note{margin:8px 0 0}
.sticker-book{margin-top:22px;background:#fff;border-radius:25px;border:1px solid #f0edf6;box-shadow:var(--shadow);padding:22px 25px;display:grid;grid-template-columns:1fr 1.5fr;gap:18px;align-items:center}
.sticker-book p{color:#4a4463;font-size:15px;margin:0}.sticker-book .panel-title{margin:0 0 6px}
.sticker-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sticker{background:#f7f5ff;border:2px dashed #cfc6ee;border-radius:18px;padding:10px 6px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px}
.sticker.got{border-style:solid;border-color:#ffd86a;background:#fffbea}
.sticker-face{font-size:34px;line-height:1.2;color:#4a4463;font-weight:900}.sticker-face.big{font-size:44px}
.sticker-name{font-size:13px;font-weight:900;color:#3f3a52}.sticker-count{font-size:13px;color:#4a4463;font-weight:800}
.sticker-book .sticker-note{grid-column:1/-1;font-size:14px}
.sticker-earned{display:flex;align-items:center;justify-content:center;gap:12px;font-size:17px;color:#3f3a52;margin:12px auto 0;background:#fffbea;border-radius:16px;padding:10px 16px;max-width:460px}
/* Worksheet: the source pictures print without background graphics (Neon fix 10) */
.worksheet-label{font-size:12px;color:#444;margin:8px 0 0}.worksheet-tip{font-size:12px;color:#333;margin:4px 0 0}
.worksheet-source{font-size:11px;color:#555;font-weight:normal}
.worksheet-list.one-col{grid-template-columns:1fr}
.worksheet-choices{font-size:13px;color:#333}.worksheet-choices div{margin:2px 0}
.worksheet-visual .coin.q,.worksheet-visual .coin.d,.worksheet-visual .coin.n,.worksheet-visual .coin.p{background:#fff;color:#111;border:3px solid #333;box-shadow:none;width:52px;height:52px;font-size:13px}
.worksheet-visual .coin small{font-size:8px}
.worksheet-visual .countdots,.worksheet-visual .arraydots{color:#111;font-size:20px;letter-spacing:4px;margin:0}
@media(max-width:700px){.sticker-book{grid-template-columns:1fr;padding:19px}.sticker-list{grid-template-columns:repeat(2,minmax(0,1fr))}.guided-actions .btn{flex:1}}
@media print{#worksheet-print .worksheet-list.one-col{grid-template-columns:1fr}}
