:root{--paper:#f6f5ef;--white:#fffefa;--ink:#302c3b;--muted:#686470;--purple:#7456a5;--lavender:#e6def6;--orange:#f5b16f;--green:#cee2cf;--line:#e5e2d9;--blue:#d9e8f4;--shadow:0 5px 0 #e9e6dc;--radius:26px;font-family:ui-rounded,'Trebuchet MS',system-ui,-apple-system,sans-serif;color:var(--ink);font-synthesis:none;line-height:1.5}
*{box-sizing:border-box}body{margin:0;background:var(--paper);min-width:300px}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}button,a,input,select{touch-action:manipulation}button,a,input,select{outline-offset:5px}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--purple)}input:focus-visible{outline:3px solid var(--purple)}a{color:inherit}button svg{width:21px;height:21px;flex-shrink:0}svg{vertical-align:middle}button{border:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:800;line-height:1.14;letter-spacing:-.035em}h1{font-size:clamp(32px,3.7vw,48px)}h2{font-size:26px}h3{font-size:20px}p{line-height:1.65}.skip-link{position:fixed;top:-80px;left:15px;background:white;padding:10px;z-index:30}.skip-link:focus{top:10px}.loading{text-align:center;margin:20vh auto}.loading h1{margin:18px}.shell{max-width:1260px;margin:auto;padding:0 38px 40px}.topbar{min-height:103px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;background:none;padding:0}.brand img{width:43px;height:43px}.brand-name{font-size:25px;font-weight:900;letter-spacing:-1px}.brand-name span{color:var(--purple)}.head-actions{display:flex;align-items:center;gap:12px}.tool-button{display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:1px solid var(--line);border-radius:13px;padding:9px 12px;min-height:42px;font-size:13px;font-weight:700}.tool-button.active{background:var(--lavender);border-color:#c4b2e0}.profile-switch{display:flex;align-items:center;gap:8px;background:var(--white);border:1px solid var(--line);border-radius:13px;padding:7px 10px}.profile-face{width:29px;height:29px;display:grid;place-items:center;background:var(--green);border-radius:50%;font-weight:800;font-size:13px}.profile-switch select{border:0;background:transparent;color:var(--ink);max-width:145px;font-size:13px;font-weight:700;padding:5px 2px}.nav-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 30px}.main-nav{display:flex;gap:7px;padding:5px;background:#eeece5;border-radius:16px}.nav-button{display:flex;align-items:center;gap:8px;background:transparent;padding:11px 19px;border-radius:12px;color:var(--muted);font-weight:700;font-size:14px}.nav-button.active{color:var(--ink);background:var(--white);box-shadow:0 2px 5px #302c3b08}.teacher-button{background:transparent;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);padding:8px}.teacher-button svg{width:18px}.greeting{display:flex;align-items:end;justify-content:space-between;margin-bottom:23px;gap:12px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--purple);font-size:11px;font-weight:800;margin-bottom:11px}.greeting h1{font-size:34px}.greeting p{margin-top:8px;color:var(--muted);font-size:15px}.small-tag{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;background:var(--white);border:1px solid var(--line);border-radius:40px;font-size:12px;white-space:nowrap}.small-tag svg{width:16px;height:16px}.home-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(275px,1fr);gap:22px}.hero{position:relative;overflow:hidden;min-height:320px;background:#ecebdd;border:1px solid #e0e0d1;border-radius:var(--radius);padding:34px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;width:57%}.hero h2{font-size:clamp(29px,3vw,40px);max-width:310px;line-height:1.15}.hero p{font-size:14px;color:#656454;max-width:270px;margin:15px 0 23px}.hero img{position:absolute;right:-17px;top:10px;width:54%;height:94%;object-fit:contain}.primary{background:var(--ink);color:var(--white);border-radius:14px;padding:14px 23px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:800;font-size:15px;min-height:50px;box-shadow:0 4px 0 #211d29;transition:transform .15s,box-shadow .15s}.primary:hover{transform:translateY(-2px);box-shadow:0 6px 0 #211d29}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #211d29}.primary.orange{background:var(--orange);color:var(--ink);box-shadow:0 4px 0 #d89150}.primary svg{width:19px}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:var(--white);border-radius:13px;padding:12px 18px;min-height:46px;font-weight:700;font-size:14px}.secondary:hover{background:#f1eee7}.text-button{background:transparent;font-weight:700;font-size:13px;display:inline-flex;align-items:center;gap:7px;color:var(--purple);padding:5px 0}.text-button svg{width:17px}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:27px;box-shadow:var(--shadow)}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}.card-heading h2{font-size:21px}.card p.muted,.muted{color:var(--muted)}.summary-card{display:flex;flex-direction:column;justify-content:space-between}.summary-card .sub{font-size:13px;color:var(--muted);margin:-7px 0 21px}.stat-row{display:flex;align-items:center;gap:13px;margin:15px 0}.stat-icon{height:40px;width:40px;display:grid;place-items:center;border-radius:13px;background:var(--lavender);flex-shrink:0}.stat-icon svg{width:21px;height:21px}.stat-icon.blue{background:var(--blue)}.stat-icon.green{background:var(--green)}.stat-row strong{font-size:23px;margin-left:auto;font-weight:800}.stat-row small{font-size:12px;color:var(--muted);font-weight:400}.stat-label{font-size:13px;font-weight:700}.stat-row .muted{font-size:11px;font-weight:400}.summary-card .text-button{margin-top:9px}.focus-card{margin-top:23px}.focus-card p{font-size:14px;color:var(--muted);margin:8px 0 20px}.family-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:8px}.family{border:1px solid var(--line);border-radius:13px;background:var(--white);height:49px;font-size:17px;font-weight:800;display:grid;place-items:center}.family.smart{font-size:12px;line-height:1.1;background:var(--lavender);color:#57427b}.family.selected{background:var(--ink);color:var(--white);border-color:var(--ink);box-shadow:0 3px 0 #bbb4c7}.family:hover{border-color:var(--purple);transform:translateY(-2px)}.section-heading{margin:32px 0 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading h2{font-size:22px}.section-heading p{font-size:13px;color:var(--muted)}.explore-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.explore-card{padding:23px 25px;display:flex;align-items:center;gap:21px;text-align:left;box-shadow:none;transition:transform .15s}.explore-card:hover{transform:translateY(-3px)}.explore-visual{width:72px;height:72px;display:grid;place-items:center;background:#e4e8d5;border-radius:20px;flex-shrink:0}.explore-visual.lilac{background:var(--lavender)}.explore-card .explore-title{display:block;font-weight:800;font-size:19px;letter-spacing:-.02em}.explore-card .explore-copy{display:block;font-size:13px;color:var(--muted);margin-top:6px}.explore-card>.arrow{margin-left:auto;flex-shrink:0;color:var(--purple)}.mini-array{display:grid;grid-template-columns:repeat(3,10px);gap:5px}.mini-array i{width:10px;height:10px;border-radius:3px;background:#779575}.mini-map{display:grid;grid-template-columns:repeat(3,12px);gap:4px}.mini-map i{width:12px;height:12px;background:#af98d5;border-radius:3px}.mini-map i:nth-child(3n){background:#f7f1ff}.footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:34px;color:var(--muted);font-size:11px}.footer span{display:flex;align-items:center;gap:6px}.footer svg{height:14px;width:14px}.storage-warning{padding:12px;background:#ffedcf;border-radius:12px;margin:12px 0;font-size:13px}.practice-wrap{max-width:950px;margin:auto}.mission-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.mission-top .back{background:transparent;display:flex;gap:7px;align-items:center;font-size:13px;color:var(--muted)}.mission-label{font-size:13px;font-weight:700;display:flex;align-items:center;gap:7px}.mission-dots{display:flex;justify-content:center;gap:9px;margin:15px 0 27px}.mission-dot{width:13px;height:13px;border-radius:50%;background:#dfdcd1;border:1px solid #dfdcd1}.mission-dot.done{background:var(--purple);border-color:var(--purple)}.mission-dot.current{outline:2px solid var(--purple);outline-offset:3px}.question-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:21px;align-items:start}.question-card{text-align:center;padding:31px}.question-label{display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;color:var(--muted);margin-bottom:21px}.read-button{padding:6px;background:transparent;display:grid;place-items:center}.read-button svg{width:19px;height:19px}.equation{display:flex;justify-content:center;align-items:center;gap:12px;font-size:clamp(32px,4vw,53px);font-weight:800;line-height:1.2;letter-spacing:-.05em;white-space:nowrap}.answer-input{border:2px solid #b9aacb;background:#f9f5ff;border-radius:14px;text-align:center;color:var(--ink);font-size:inherit;font-weight:800;width:113px;height:80px;appearance:textfield;padding:0 4px}.answer-input:read-only{background:#e6f0e3;border-color:#adc9a8}.answer-input::placeholder{color:#bfb3c9;font-weight:500}.answer-label{display:block;font-size:12px;color:var(--muted);margin:14px 0 20px}.keypad{max-width:290px;margin:0 auto 19px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.key{height:45px;background:#f1eee6;border:1px solid #e8e3d7;box-shadow:0 2px 0 #dfd8cb;border-radius:11px;font-size:20px;font-weight:700}.key:hover{background:var(--lavender)}.key.small{font-size:12px}.check-button{width:100%;max-width:290px}.hint-button{margin:18px auto 0;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;background:transparent;color:var(--purple)}.answer-feedback{border-radius:15px;padding:15px;margin-top:21px;background:#eaf1e6;font-size:14px;text-align:left}.answer-feedback h3{font-size:17px;margin-bottom:6px;letter-spacing:-.02em}.answer-feedback.try{background:#fff0da}.how-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.how-buttons button{padding:13px 8px;border:1px solid #b5c9a9;background:var(--white);border-radius:13px;font-weight:700;font-size:13px;display:flex;flex-direction:column;align-items:center;gap:5px}.how-buttons svg{width:20px;height:20px}.next-button{margin-top:15px;width:100%}.strategy-card{padding:23px;background:#f0ebf8;border-color:#e0d5f1;box-shadow:0 5px 0 #e5dfed}.strategy-card h2{font-size:20px}.strategy-card p{font-size:13px;margin:12px 0;color:#62576d}.strategy-card .big-star{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#e0d2f2;margin-bottom:17px}.strategy-card .big-star svg{width:24px;height:24px;color:var(--purple)}.hint-empty{padding:30px 0;display:flex;justify-content:center}.hint-empty img{max-width:190px;width:100%}.strategy-equation{font-size:16px;font-weight:800;line-height:1.6;margin-top:15px;word-break:normal}.array{display:flex;flex-direction:column;align-items:center;gap:5px;padding:13px 0;--dot:15px}.array-row{display:flex;gap:5px;max-width:100%}.array-dot{width:var(--dot);height:var(--dot);background:#9477bd;border-radius:4px;flex-shrink:0}.array-row.other .array-dot{background:#e5a765}.array-row.split{margin-top:6px}.array-description{font-size:12px;color:#685a78;text-align:center;margin-top:3px}.zero-array{min-height:90px;display:grid;place-items:center;border:2px dashed #cbbadf;border-radius:14px;color:#6b567e;font-size:15px}.lab-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px}.lab-panel h2{font-size:21px}.lab-panel>p{font-size:13px;color:var(--muted);margin:9px 0 25px}.step-label{font-size:13px;font-weight:700;margin-bottom:9px}.stepper{display:flex;align-items:center;justify-content:space-between;background:#f2efe8;border-radius:14px;padding:7px;margin-bottom:25px}.stepper button{height:40px;width:40px;background:var(--white);border-radius:10px;font-size:23px;font-weight:600}.stepper strong{font-size:29px}.lab-panel .secondary{width:100%;margin-bottom:12px}.lab-panel .primary{width:100%;font-size:14px}.lab-board{text-align:center;min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px}.lab-board .array{--dot:clamp(13px,2.1vw,25px);gap:7px;margin:17px 0}.lab-board .array-row{gap:7px}.lab-board .array-dot{border-radius:6px}.lab-board .array-row.split{margin-top:12px}.lab-board .strategy-equation{font-size:20px;margin:12px 0}.lab-equation{font-size:34px;font-weight:800;letter-spacing:-.03em}.lab-caption{font-size:14px;color:var(--muted);margin:6px 0}.lab-board .zero-array{width:85%;margin:25px 0}.progress-intro{display:flex;gap:20px;align-items:end;justify-content:space-between;margin-bottom:22px}.progress-intro p{max-width:650px;font-size:14px;color:var(--muted);margin-top:11px}.progress-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:23px}.progress-stat{padding:20px 22px;display:flex;gap:15px;align-items:center}.progress-stat strong{font-size:29px;line-height:1}.progress-stat small{font-size:13px;color:var(--muted)}.progress-stat .stat-label{margin-top:5px}.map-card h2{font-size:23px}.map-card p{font-size:13px;color:var(--muted);margin-top:7px}.legend{display:flex;gap:17px;flex-wrap:wrap;margin:20px 0;font-size:11px;color:var(--muted)}.legend span{display:flex;align-items:center;gap:7px}.legend i{height:12px;width:12px;border-radius:4px;border:1px solid #d9d5cc;background:#f3f1eb}.legend .learning{background:#ffe0ba}.legend .remembered{background:#ded3f4}.legend .later{background:#bcd6b7}.map-scroll{overflow-x:auto;padding:3px 3px 10px}.fact-map{min-width:590px;display:grid;grid-template-columns:34px repeat(11,minmax(44px,1fr));gap:5px}.map-header{display:grid;place-items:center;font-weight:800;font-size:12px;min-height:34px}.map-empty{background:#f6f4ee;border-radius:9px}.map-fact{background:#f4f1e9;border:1px solid #e5e0d4;border-radius:9px;min-height:44px;font-size:10px;font-weight:700;line-height:1.2;padding:4px 0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.map-fact>span:last-child{font-size:10px;min-height:11px}.map-fact.learning{background:#ffe0ba;border-color:#ebc695}.map-fact.remembered{background:#ded3f4;border-color:#bcacd7}.map-fact.later{background:#bcd6b7;border-color:#a3c39d}.map-fact:hover{outline:2px solid var(--purple);outline-offset:1px}.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}.badge{border-radius:19px;border:1px solid var(--line);background:#edeae3;padding:20px;text-align:center;opacity:.65}.badge.earned{background:#fbf1dc;border-color:#e8d39d;opacity:1}.badge .badge-icon{font-size:27px;display:block;margin-bottom:8px}.badge strong{font-size:13px}.badge p{font-size:11px;color:var(--muted);margin-top:7px}.history-list{margin-top:25px}.history-list h2{font-size:21px;margin-bottom:14px}.history-row{border-top:1px solid var(--line);padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.history-row span{color:var(--muted);font-size:12px}.celebration{text-align:center;max-width:750px;margin:0 auto;position:relative;overflow:hidden;padding:36px}.medal{width:90px;height:90px;margin:8px auto 23px;display:grid;place-items:center;background:#f9dfae;border:7px solid #f1c876;border-radius:50%;color:#896025;box-shadow:0 6px 0 #f2e4c7}.medal svg{width:45px;height:45px}.celebration h1{font-size:38px}.celebration>p{color:var(--muted);margin:13px auto 25px;max-width:500px;font-size:15px}.summary-tiles{display:flex;justify-content:center;gap:15px;margin:25px 0}.summary-tile{background:#f0ede5;border-radius:17px;padding:17px;flex:1;max-width:180px}.summary-tile strong{font-size:29px;display:block}.summary-tile p{font-size:12px;color:var(--muted)}.summary-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:13px;margin:24px 0 13px}.confetti{position:absolute;top:-12px;left:var(--x);width:8px;height:14px;background:var(--c);border-radius:2px;animation:fall 2.5s ease-in forwards;animation-delay:var(--delay);pointer-events:none}@keyframes fall{to{transform:translateY(550px) rotate(510deg);opacity:0}}dialog{width:min(590px,calc(100% - 32px));border:1px solid var(--line);border-radius:25px;background:var(--white);padding:29px;color:var(--ink);box-shadow:0 22px 80px #231b3a40;max-height:85vh;overflow:auto}dialog::backdrop{background:#30263c66;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.modal-header h2{font-size:24px}.close-modal{background:#eeebe4;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;font-size:22px}.modal-body p{font-size:13px;color:var(--muted);margin-bottom:15px}.modal-body h3{font-size:17px;margin:20px 0 10px}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.modal-note{background:#f2eee6;border-radius:13px;padding:13px;font-size:12px}.fact-detail-title{font-size:32px;font-weight:800;margin:15px 0}.fact-detail-row{padding:10px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:13px}.danger{color:#9a413f}.sources{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;margin:15px 0}.sources a{color:var(--purple)}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(90px);background:var(--ink);color:white;padding:13px 22px;border-radius:16px;font-size:14px;z-index:50;opacity:0;transition:.2s;max-width:90%;text-align:center;pointer-events:none}#toast.show{transform:translateX(-50%) translateY(0);opacity:1}.projector{--radius:28px}.projector .shell{max-width:1450px}.projector .equation{font-size:72px}.projector .answer-input{height:105px;width:145px}.projector .key{height:57px;font-size:25px}.projector .question-layout{grid-template-columns:minmax(0,1fr) 350px}.projector .array{--dot:19px}.projector .hero h2{font-size:46px}
@media(min-width:1500px){.shell{padding-top:12px}}
@media(max-width:1000px){.shell{padding:0 24px 32px}.home-grid{grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr)}.hero{padding:27px}.hero img{right:-35px;width:57%}.hero-copy{width:65%}.hero h2{font-size:33px}.family-grid{grid-template-columns:repeat(6,1fr)}.question-layout{grid-template-columns:minmax(0,1fr) 270px}.question-card{padding:27px 20px}.lab-layout{grid-template-columns:260px minmax(0,1fr)}.head-actions{gap:7px}.tool-button{padding:9px}.tool-button .optional-label{display:none}.projector .question-layout{grid-template-columns:minmax(0,1fr) 300px}.projector .equation{font-size:52px}}
@media(max-width:740px){.topbar{min-height:83px;flex-wrap:wrap;padding:17px 0;gap:14px}.brand-name{font-size:23px}.brand img{width:36px;height:36px}.head-actions{gap:7px}.tool-button{min-height:36px;padding:7px 9px;font-size:12px}.head-actions .projector-toggle{display:none}.profile-switch{padding:3px 7px;gap:3px}.profile-switch select{font-size:11px;max-width:115px}.profile-face{width:24px;height:24px;font-size:10px}.nav-row{margin:18px 0 26px;align-items:start;gap:7px}.nav-button{padding:10px 12px;font-size:12px;gap:5px}.nav-button svg{width:17px;height:17px}.teacher-button{font-size:0;padding:13px 3px}.teacher-button svg{height:21px;width:21px}.greeting h1{font-size:29px}.greeting .small-tag{display:none}.home-grid{grid-template-columns:1fr}.hero{min-height:290px}.hero-copy{width:56%}.hero img{width:50%;right:-2px;top:8px}.summary-card{padding:23px}.summary-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.stat-row{display:block;margin:0}.stat-icon{margin-bottom:9px}.stat-row strong{display:block;font-size:24px}.stat-label{font-size:11px}.stat-label .muted{display:none}.summary-card .sub{margin-bottom:19px}.summary-card .text-button{margin-top:18px}.summary-card .card-heading{margin-bottom:13px}.explore-grid{grid-template-columns:1fr}.explore-card{padding:21px}.section-heading{align-items:start}.section-heading p{display:none}.question-layout{grid-template-columns:1fr}.question-card{padding:27px 23px}.strategy-card{padding:20px}.strategy-card .hint-empty{display:none}.strategy-card .big-star{float:left;margin-right:15px;margin-bottom:0}.strategy-card>h2{padding-top:4px}.strategy-card>p{margin-bottom:0}.strategy-card:has(.hint-empty)>p{margin-left:59px}.strategy-card .array{--dot:19px;margin-top:14px}.equation{font-size:47px}.mission-label{font-size:11px}.lab-layout{grid-template-columns:1fr}.lab-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.lab-panel>h2,.lab-panel>p{grid-column:span 2}.lab-panel>p{margin-bottom:10px}.lab-panel .stepper{margin-bottom:10px}.lab-panel .secondary,.lab-panel .primary{margin-bottom:0;font-size:12px;padding:10px}.lab-board{min-height:370px}.lab-board .array{--dot:clamp(12px,3.6vw,25px)}.lab-board .array-row{gap:6px}.progress-intro{display:block}.progress-intro>.secondary{margin-top:15px}.progress-stats{gap:8px}.progress-stat{padding:15px 10px;display:block}.progress-stat .stat-icon{margin-bottom:11px}.progress-stat strong{font-size:25px}.progress-stat .stat-label{font-size:10px}.progress-stat small{font-size:10px}.map-card{padding:23px 17px}.badges{gap:8px}.badge{padding:15px 9px}.badge strong{font-size:11px}.history-row{font-size:12px}.history-row span{font-size:10px}.projector .question-layout{grid-template-columns:1fr}.projector .equation{font-size:47px}.projector .hero h2{font-size:33px}.celebration{padding:25px 18px}.celebration h1{font-size:32px}.summary-tiles{gap:8px}.summary-tile{padding:12px 9px}.summary-tile p{font-size:10px}.footer{display:block}.footer>span{margin-top:7px}}
@media(max-width:430px){.shell{padding:0 17px 26px}.head-actions{width:100%;justify-content:space-between}.brand-name{font-size:25px}.topbar{padding-bottom:13px}.nav-button{padding:9px 11px;font-size:11px}.main-nav{gap:2px}.hero{min-height:310px;padding:25px 21px}.hero-copy{width:66%}.hero h2{font-size:31px}.hero p{max-width:190px;font-size:13px}.hero img{right:-55px;top:0;width:67%;opacity:.7}.hero .primary{font-size:13px;padding:13px 16px}.family-grid{gap:7px}.family{height:44px}.greeting p{font-size:13px}.greeting h1{font-size:26px}.explore-visual{width:58px;height:58px;border-radius:15px}.explore-card{gap:15px}.equation{font-size:37px;gap:9px}.answer-input{width:87px;height:69px}.question-card{padding:25px 15px}.how-buttons button{font-size:12px}.progress-intro h1{font-size:29px}.mission-top{gap:10px}.mission-top .back{font-size:11px}.question-label{font-size:11px}.lab-panel{padding:23px 18px;gap:9px}.lab-panel .secondary,.lab-panel .primary{font-size:11px}.lab-board{padding:25px 12px}.lab-board .array{--dot:17px}.lab-board .array-row{gap:6px}.strategy-equation{font-size:14px}.progress-stat .stat-label{line-height:1.4}.history-row{align-items:start;flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}
@media print{body{background:white}.topbar,.nav-row,.footer,.progress-intro>.secondary,.history-list,.badges,.skip-link,#toast,dialog{display:none!important}.shell{max-width:none;padding:0}.card{box-shadow:none;border:0;padding:10px 0}.progress-intro h1{font-size:25px}.progress-stats{margin:12px 0}.progress-stat{border:1px solid #ddd;padding:10px}.map-scroll{overflow:visible}.fact-map{min-width:0;gap:3px}.map-fact{min-height:32px;font-size:8px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.map-empty{background:#eee;print-color-adjust:exact;-webkit-print-color-adjust:exact}.map-card,.progress-stats{break-inside:avoid}.legend{margin:10px 0}.greeting{margin-bottom:10px}@page{size:letter portrait;margin:0.45in}}

.empty-groups{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:20px 0}.empty-group{width:39px;height:33px;border:2px dashed #baa8d0;border-radius:8px;display:grid;place-items:center;font-size:13px;color:#756187}

.activity-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}.activity-choice{display:flex;align-items:center;gap:13px;text-align:left;padding:17px 18px;background:var(--white);border:2px solid var(--line);border-radius:19px;min-height:94px}.activity-choice.selected{background:#f0eaf8;border-color:var(--purple);box-shadow:0 3px 0 #d8c9e9}.activity-symbol{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;font-size:31px;line-height:1;font-weight:800;color:var(--purple);background:var(--lavender);border-radius:13px}.activity-choice strong{display:block;font-size:16px;line-height:1.3;letter-spacing:-.02em}.activity-choice small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:4px}.activity-choice>svg{margin-left:auto;width:19px;flex-shrink:0;color:var(--purple)}.focus-card .activity-note{font-size:12px;margin:18px 0 0;max-width:780px}.division-story{background:#edf3e9;border:1px solid #d3dfca;border-radius:15px;padding:15px 18px;max-width:410px;margin:0 auto 23px;text-align:left;font-size:16px;line-height:1.6;color:#40523a}.gem-symbol{color:var(--purple);margin-right:9px;font-size:21px}.family-panel{background:#fbf1dc;border:1px solid #e8d8b4;border-radius:22px;margin-bottom:22px;padding:23px 25px;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,1fr);gap:8px 25px}.family-panel h2{font-size:23px;align-self:end}.family-panel>p{grid-column:1;font-size:13px;color:#716348}.family-numbers{grid-column:1;display:flex;gap:10px;margin:9px 0}.family-numbers span{background:var(--white);border:2px solid #d7c2e8;border-radius:14px;min-width:55px;padding:7px 13px;display:grid;place-items:center;font-size:26px;font-weight:800;box-shadow:0 3px 0 #e8dbb8}.family-numbers .product{background:var(--lavender);border-color:#bba4d6}.family-panel .square-note{font-size:11px}.family-paths{grid-column:2;grid-row:1 / span 4;display:grid;grid-template-columns:1fr;gap:7px;align-content:center}.family-path{display:flex;gap:10px;align-items:center;background:#fffaf0;border:1px solid #e4d7bd;border-radius:11px;padding:8px 12px;font-size:16px;font-weight:800}.family-path>span:first-child{width:23px;height:23px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;font-size:11px;background:#eae1cc;color:#716348}.family-path.current{background:#f0e7fa;border-color:var(--purple)}.family-path.done>span:first-child{background:#cee2cf;color:#3e6139}.family-path.done{background:#f1f5e9}.map-fact.connected,.legend .connected{background:#bcd6b7;border-color:#a3c39d}.family-map{grid-template-columns:34px repeat(10,minmax(44px,1fr))}.lab-family{border-top:1px solid var(--line);padding-top:20px;margin-top:22px;width:100%}.lab-family h2{font-size:18px}.related-equations{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0;font-size:18px;font-weight:800}.related-equations span{background:#f0ebf8;border-radius:12px;padding:9px}.lab-activities{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:15px}.lab-activities button{font-size:12px}.lab-board{min-width:0}.lab-caption{max-width:100%}.progress-intro+ .activity-picker{margin-top:26px}
@media(max-width:1000px){.activity-choice{padding:14px 12px;gap:10px}.activity-choice strong{font-size:14px}.activity-choice small{font-size:11px}.activity-choice>svg{display:none}.activity-symbol{width:35px;height:35px;font-size:27px}}
@media(max-width:740px){.activity-picker{gap:8px}.activity-choice{flex-direction:column;text-align:center;padding:13px 7px;gap:8px;min-height:115px}.activity-choice strong{font-size:13px}.activity-choice small{font-size:10px}.activity-symbol{height:31px;width:31px;font-size:25px;border-radius:9px}.family-panel{grid-template-columns:1fr;padding:20px}.family-panel>h2,.family-panel>p,.family-numbers,.family-paths{grid-column:1;grid-row:auto}.family-paths{grid-template-columns:1fr 1fr;margin-top:10px}.family-path{font-size:14px;padding:9px;gap:7px}.family-panel h2{font-size:21px}.division-story{font-size:15px;padding:13px 15px}.equation{font-size:42px}.answer-input{width:100px}.related-equations{font-size:16px}.projector .family-path{font-size:18px}.projector .equation{font-size:42px}}
@media(max-width:430px){.activity-choice strong{font-size:12px}.activity-choice small{display:none}.activity-choice{min-height:88px;padding:12px 5px}.family-panel{padding:18px 14px}.family-path{font-size:12px;padding:8px 7px;gap:5px}.family-path>span:first-child{width:19px;height:19px;font-size:10px}.family-numbers span{font-size:23px;min-width:48px}.equation,.projector .equation{font-size:34px;gap:8px}.answer-input{width:80px}.related-equations{font-size:14px;gap:7px}.related-equations span{padding:9px 5px}}
@media print{.activity-picker{display:none!important}.map-fact.connected{print-color-adjust:exact;-webkit-print-color-adjust:exact}.family-map{min-width:0}}

.loading small{display:block;margin-top:8px;color:var(--muted)}.loading img{border-radius:24px;box-shadow:0 7px 0 #ded8cb}.install-callout{width:100%;margin-top:22px;display:flex;align-items:center;gap:19px;text-align:left;box-shadow:none;background:linear-gradient(100deg,#f0e9fb,#fff8e9)}.install-callout img{width:68px;height:68px;border-radius:20px}.install-callout .explore-title{display:block;font-weight:800;font-size:19px}.install-callout .explore-copy{display:block;color:var(--muted);font-size:13px;margin-top:5px}.install-callout .arrow{margin-left:auto;color:var(--purple)}.install-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;background:linear-gradient(120deg,#ece4fa,#fff0d9);border:1px solid #ded2ec;border-radius:var(--radius);padding:36px 46px;margin-bottom:23px;overflow:hidden}.install-hero>div{max-width:650px}.install-hero>div>p:not(.eyebrow){color:var(--muted);margin:14px 0 22px}.install-hero>img{width:170px;height:170px;border-radius:44px;box-shadow:0 8px 0 #d8cce5}.installed-badge{display:inline-flex;align-items:center;gap:9px;background:var(--green);border-radius:14px;padding:13px 18px;font-weight:800}.installed-badge svg{width:20px}.install-unavailable{font-size:13px;background:#fffefa;padding:12px 15px;border-radius:12px;border:1px solid var(--line);display:inline-block}.install-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:22px}.install-steps{display:grid;gap:4px}.device-step{display:grid;grid-template-columns:48px 1fr;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.device-step:first-child{padding-top:0}.device-step>span{height:42px;width:42px;display:grid;place-items:center;background:var(--lavender);border-radius:13px;font-size:21px;font-weight:800}.device-step:nth-child(2)>span{background:#dcebd8;color:#466345}.device-step:nth-child(3)>span{background:#fae0bc;color:#815b2f}.device-step h2{font-size:18px;margin-bottom:6px}.device-step p,.qr-card p,.offline-note p{font-size:13px;color:var(--muted)}.offline-note{background:#edf3e9;border-radius:15px;padding:16px 18px;margin-top:13px}.offline-note strong{font-size:14px}.offline-note p{margin-top:5px}.qr-card{text-align:center;display:flex;flex-direction:column;align-items:center}.qr-card h2{font-size:21px}.qr-card p{margin:8px 0 14px}.qr-card>img{width:min(230px,100%);height:auto;border:10px solid white;border-radius:13px;margin-bottom:14px}.qr-card .secondary{width:100%;text-decoration:none}.qr-card small{display:block;overflow-wrap:anywhere;color:var(--muted);font-size:10px;margin-top:12px}.secure-note{display:flex;align-items:center;gap:9px;margin:20px 3px 0;color:var(--muted);font-size:12px}.secure-note svg{width:18px;flex-shrink:0;color:var(--purple)}
@media(max-width:740px){.install-hero{padding:28px 24px}.install-hero>img{width:105px;height:105px;border-radius:29px}.install-layout{grid-template-columns:1fr}.install-callout{padding:18px}.qr-card>img{width:220px}}
@media(max-width:430px){.install-hero{padding:25px 20px;display:block}.install-hero>img{display:none}.install-hero h1{font-size:31px}.device-step{grid-template-columns:40px 1fr;gap:12px}.device-step>span{height:36px;width:36px;font-size:17px}.install-callout img{width:53px;height:53px;border-radius:16px}.install-callout .explore-copy{font-size:11px}}

.problem-callout{width:100%;margin-top:22px;display:flex;align-items:center;gap:19px;text-align:left;box-shadow:none;background:linear-gradient(100deg,#e8f1e2,#f5edff)}.problem-callout-icon{width:68px;height:68px;display:grid;place-items:center;border-radius:20px;background:#d5e5ca;color:#3f6540;flex-shrink:0}.problem-callout-icon svg{width:34px;height:34px}.problem-callout .explore-title{display:block;font-weight:800;font-size:19px}.problem-callout .explore-copy{display:block;color:var(--muted);font-size:13px;margin-top:5px}.problem-callout .arrow{margin-left:auto;color:var(--purple)}
.problem-landing>div:first-child{max-width:760px}.problem-landing>div:first-child>p:not(.eyebrow){color:var(--muted);font-size:15px;margin-top:12px}.english-note{background:#edf3e9;border-radius:14px;padding:13px 16px}.grade-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:27px}.grade-card{text-align:left;box-shadow:none;transition:transform .15s}.grade-card:hover{transform:translateY(-3px);border-color:#b9a5d4}.grade-card span,.grade-card small,.grade-card em{display:block}.grade-card span{text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-size:10px;font-weight:800}.grade-card strong{display:block;font-size:46px;line-height:1;margin:10px 0}.grade-card small{color:var(--muted);font-size:12px}.grade-card em{font-style:normal;color:var(--purple);font-weight:800;font-size:11px;margin-top:14px}
.problem-wrap{max-width:960px;margin:auto}.problem-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.problem-head .back{background:transparent;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}.problem-head>div{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.problem-head>div strong{background:var(--lavender);color:var(--ink);border-radius:999px;padding:6px 10px}.problem-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:22px}.problem-progress>span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.problem-progress i{height:28px;width:28px;display:grid;place-items:center;background:#e7e3da;border-radius:50%;font-style:normal;font-weight:800;flex-shrink:0}.problem-progress .current{color:var(--ink);font-weight:800}.problem-progress .current i{background:var(--lavender);outline:2px solid var(--purple)}.problem-progress .done i{background:var(--green);color:#385b38}.problem-card{padding:33px}.problem-context{position:relative;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:27px}.problem-context h1{font-size:31px;max-width:650px}.problem-context .eyebrow{padding-right:180px}.bridge-toggle{position:absolute;right:0;top:0}.bridge-toggle.active{background:var(--lavender);border-color:#bda7d8}.read-three{font-size:12px;color:var(--muted);margin-top:18px}.problem-story{font-size:18px;line-height:1.7;margin-top:8px;max-width:780px}.problem-question{display:block;font-size:19px;margin-top:10px}.bridge-note{background:#fff1ce;border-radius:15px;padding:14px 17px;margin-top:18px}.bridge-note p{font-size:15px;font-weight:700;margin-top:4px}.bridge-note small{display:block;color:#76674d;font-size:11px;margin-top:5px}.problem-step .step-kicker,.exemplar .step-kicker{text-transform:uppercase;color:var(--purple);letter-spacing:.12em;font-size:11px;font-weight:800}.problem-step h2{font-size:22px;margin:7px 0 22px}.problem-step label,.problem-step legend{display:block;font-size:13px;font-weight:800;margin:15px 0 8px}.problem-step textarea,.problem-step input{width:100%;border:1px solid #cfc9bd;border-radius:13px;background:#fff;padding:12px 14px;color:var(--ink)}.problem-step textarea:focus-visible,.problem-step input:focus-visible{outline:3px solid var(--purple)}.problem-step fieldset{border:0;padding:0;margin:20px 0}.problem-choices{display:grid;gap:9px}.choice-button{display:flex;align-items:center;gap:12px;text-align:left;background:#f5f2ea;border:2px solid transparent;border-radius:14px;padding:12px 15px;font-size:14px;font-weight:700}.choice-button>span{height:27px;width:27px;display:grid;place-items:center;border-radius:50%;background:#e5e0d5;font-size:11px;flex-shrink:0}.choice-button.selected{background:#eee6f8;border-color:var(--purple)}.choice-button.selected>span{background:var(--purple);color:white}.representation-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.representation-choice{min-height:105px;border:2px solid var(--line);border-radius:15px;background:#faf8f2;padding:12px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center}.representation-choice>span{font-size:31px;color:var(--purple)}.representation-choice strong{font-size:12px;line-height:1.3}.representation-choice.selected{background:#eee6f8;border-color:var(--purple)}.problem-continue{margin-top:24px}.problem-feedback{background:#fff0da;color:#674c2a;border-radius:13px;padding:12px 15px;margin-top:18px;font-size:13px;font-weight:700}.solution-row{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:start}.solution-row fieldset{margin:0}.solution-row input{font-size:24px;font-weight:800;text-align:center}.solution-row .problem-choices{grid-template-columns:repeat(3,1fr)}.solution-row .choice-button{justify-content:center;padding:10px 8px}.solution-row .choice-button>span{display:none}
.problem-model{margin:22px 0;background:#f7f5ef;border:1px solid var(--line);border-radius:17px;padding:20px}.bar-row+ .bar-row{margin-top:18px}.bar-row>strong{font-size:11px;color:var(--muted);display:block;margin-bottom:6px}.strip{display:flex;min-height:54px}.strip span{display:grid;place-items:center;text-align:center;border:2px solid #8064a8;background:#e8ddf5;padding:7px;min-width:55px;font-size:12px;font-weight:800}.strip span+span{border-left:0}.strip span:nth-child(even){background:#f8deb7;border-color:#c88547}.graph-model figcaption{text-align:center;font-weight:800;margin-bottom:12px}.graph-bars{height:190px;border-left:2px solid #7d776d;border-bottom:2px solid #7d776d;display:flex;align-items:end;justify-content:space-around;gap:16px;padding:15px 20px 0}.graph-item{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;min-width:60px}.graph-item strong{font-size:12px;margin-bottom:5px}.graph-bar{width:52px;background:#8b70b4;border-radius:7px 7px 0 0}.graph-item:nth-child(2) .graph-bar{background:#d99659}.graph-item:nth-child(3) .graph-bar{background:#82a57d}.graph-item small{padding:7px 2px;font-size:11px}.graph-model>p{text-align:center;color:var(--muted);font-size:11px;margin-top:8px}.table-model table{border-collapse:collapse;width:100%;font-size:14px}.table-model th{background:#365f86;color:white}.table-model th,.table-model td{border:1px solid #c4cfda;padding:10px;text-align:center}.array-model{text-align:center}.array-model>div{display:grid;gap:7px;justify-content:center}.array-model span{display:flex;gap:5px;background:#eee7f6;border-radius:10px;padding:8px}.array-model i{width:15px;height:15px;border-radius:4px;background:#8c70b2}.array-model figcaption{font-size:12px;color:var(--muted);margin-top:10px}.exemplar{border-top:1px solid var(--line);margin-top:27px;padding-top:23px}.exemplar h3{font-size:24px;margin:6px 0}.exemplar>p:not(.step-kicker){font-size:13px;color:var(--muted)}.exemplar blockquote{margin:17px 0;background:#edf3e9;border-left:5px solid #7d9f77;border-radius:0 13px 13px 0;padding:15px 18px;font-size:15px;line-height:1.6}.reflection-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.reflection-buttons button{background:#f3f0e9;border:2px solid transparent;border-radius:13px;padding:13px;font-weight:700}.reflection-buttons button.selected{background:#e7f0e2;border-color:#86a681}.exemplar .primary{margin-top:5px}
@media(max-width:900px){.grade-cards{grid-template-columns:repeat(2,1fr)}.problem-progress small{display:none}.main-nav{gap:3px}.nav-button{padding-left:12px;padding-right:12px}.problem-context .eyebrow{padding-right:0}.bridge-toggle{position:static;margin-top:16px}}
@media(max-width:740px){.problem-callout{padding:18px}.problem-callout-icon{width:53px;height:53px;border-radius:16px}.problem-card{padding:24px 18px}.representation-choices{grid-template-columns:1fr 1fr}.solution-row{grid-template-columns:1fr}.problem-story{font-size:16px}.problem-question{font-size:17px}.problem-progress>span{justify-content:center}.problem-progress i{width:26px;height:26px}.nav-button{font-size:0;padding:10px}.nav-button svg{width:20px;height:20px}.reflection-buttons{grid-template-columns:1fr}}
@media(max-width:430px){.grade-cards{grid-template-columns:1fr 1fr;gap:9px}.grade-card{padding:18px}.grade-card strong{font-size:38px}.problem-callout .explore-copy{font-size:11px}.problem-model{padding:14px}.strip span{font-size:10px;min-width:43px}.graph-bars{padding-left:8px;padding-right:8px}.graph-item{min-width:45px}.graph-bar{width:38px}.solution-row .problem-choices{grid-template-columns:1fr}.problem-head .back{font-size:11px}}
