:root{font:17px/1.5 ui-rounded,"Avenir Next",system-ui,sans-serif;color:#1a2340;background:#edf1ff;--ink:#1a2340;--muted:#465477;--purple:#4933ae;--border:#d8dff2}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer;min-height:48px;touch-action:manipulation}button:focus-visible{outline:4px solid #0b6394;outline-offset:4px}.wrap{width:min(100% - 40px,1040px);margin:auto}header,footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0}.logo{border:0;background:none;padding:0;display:flex;gap:10px;align-items:center;font-weight:900;text-align:left}.mark{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#543cc7;color:#fff;font-size:1.5rem}.adult,.secondary,.close{border:2px solid var(--border);border-radius:13px;background:white;padding:8px 15px;font-weight:800}.hero{background:#242052;color:white;border-radius:30px;display:grid;grid-template-columns:1.4fr .8fr;align-items:center;padding:32px 40px;overflow:hidden;min-height:257px}.hero h1{font-size:clamp(2.3rem,6vw,4.2rem);letter-spacing:-.07em;line-height:.96;margin:.18em 0 .2em}.hero .eyebrow{color:#fed777}.hero p:last-child{margin-bottom:0;color:#f3edff}.hero svg{width:min(100%,300px);margin:auto;display:block}.eyebrow{font-size:.83rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;margin:0;color:var(--purple)}.grade-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:21px 0 8px}.grade-title h2,h2{margin:0;font-size:1.43rem}.stars{font-weight:850;color:var(--purple)}.grades{display:flex;gap:8px;flex-wrap:wrap}.grades button{background:#fff;border:2px solid var(--border);border-radius:999px;padding:6px 18px;font-weight:800}.grades button[aria-pressed=true]{background:var(--purple);border-color:var(--purple);color:white}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:17px}.card{display:grid;grid-template-columns:62px 1fr auto;gap:15px;align-items:center;text-align:left;border:2px solid var(--border);border-radius:23px;background:#fff;padding:15px;min-height:120px}.card strong{display:block;font-size:1.24rem;line-height:1.14}.card small{display:block;font-size:.88rem;color:var(--muted);margin-top:5px}.tile{display:grid;place-items:center;height:62px;border-radius:18px;background:#e7ddff;color:#39268f;font-weight:950;font-size:1.35rem}.card:nth-child(2) .tile{background:#d6f6e9;color:#16584a}.bubble{font-size:.86rem;font-weight:900;color:var(--purple)}footer{color:var(--muted);font-size:.82rem;margin-top:10px}.scene{background:#fff;border:2px solid var(--border);border-radius:26px;padding:clamp(16px,4vw,32px);margin:auto;max-width:800px;text-align:center}.top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.scene h1{font-size:clamp(1.8rem,5vw,2.7rem);margin:0 0 8px;line-height:1.12}.scene p{margin:7px 0 12px}.feedback{min-height:2rem;font-weight:850;color:#284582}.board{display:block;width:min(100%,440px);height:auto;margin:10px auto;border:2px solid #d9e1fa;border-radius:18px;background:#f7f9ff;touch-action:none;user-select:none}.board .guide{fill:none;stroke:#ddd4fa;stroke-width:27;stroke-linecap:round;stroke-linejoin:round}.board .done{stroke:#7654dd}.board .mid{stroke:#ac99ea;stroke-width:2;stroke-dasharray:4 6;fill:none}.board .ink{fill:none;stroke:#6245d4;stroke-width:10;stroke-linecap:round;stroke-linejoin:round}.board circle{fill:#6245d4;stroke:white;stroke-width:2}.board text{fill:white;text-anchor:middle;font-size:12px;font-weight:850;pointer-events:none}.primary{background:var(--purple);border:2px solid var(--purple);border-radius:14px;color:white;font-weight:900;padding:9px 22px}.actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.prompt{font-size:clamp(1.27rem,4vw,2rem);font-weight:850}.choices{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px auto}.choices button{border:2px solid #cabefa;background:#f1ebff;border-radius:16px;min-width:82px;min-height:65px;font-size:1.25rem;font-weight:850;padding:9px 18px}.choices button.correct,.objects button.counted{background:#bbf2dc;border-color:#238970;color:#134c3d}.objects{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:15px auto}.objects button{width:60px;height:60px;border:2px solid #ffd276;background:#fff1cc;border-radius:16px;font-size:1.45rem}.fraction{display:flex;justify-content:center;margin:15px auto;gap:3px}.fraction span{width:41px;height:50px;border:2px solid #6245d4;border-radius:5px}.fraction .paint{background:#9181f5}.celebrate{font-size:3.2rem;display:block}dialog{width:min(90vw,560px);border:2px solid var(--border);border-radius:23px;padding:25px;color:var(--ink)}dialog::backdrop{background:#191239aa}.close{float:right;font-size:1.4rem;line-height:1}.close:focus-visible{outline-offset:1px}@media(max-width:650px){.wrap{width:calc(100% - 24px)}.hero{padding:21px;grid-template-columns:1.4fr .7fr;min-height:190px}.cards{grid-template-columns:1fr;gap:9px}.card{min-height:90px}.grades button{padding:5px 13px}.adult{font-size:.86rem;padding:5px 8px}footer{align-items:start}}@media(max-width:390px){.hero svg{display:none}.hero{grid-template-columns:1fr}.grades{gap:5px}.grades button{padding:5px 10px}}
details{margin:12px 0;padding:8px 12px;background:#f4f1ff;border-radius:12px}summary{cursor:pointer;font-weight:800;padding:8px 0}dialog{max-height:85vh;overflow:auto}.scene h1:focus{outline:none}
.card:nth-child(3) .tile{background:#ffe8ad;color:#573616}.book-sheet{background:#f4efff;border:2px solid #ddd0ff;border-radius:22px;padding:clamp(15px,4vw,32px);margin:10px 0 13px}.book-title{font-size:1.05rem;color:var(--purple);margin:0}.scene .big-reading{font-size:clamp(2.45rem,7.4vw,5rem);line-height:1.15;letter-spacing:-.025em;font-weight:850;margin:14px 0;overflow-wrap:normal}.scene .big-reading:focus{outline:none}.scene .book-position{font-size:.86rem;color:var(--muted);margin:0}.scene .book-question{font-size:1.2rem;font-weight:850;margin-bottom:0}.picture-choices{gap:clamp(7px,2vw,14px);margin:10px 0}.picture-choices button{min-width:clamp(69px,19vw,120px);min-height:clamp(68px,14vw,105px);font-size:clamp(2rem,7vw,3.2rem);padding:4px 8px}
.mat-art{width:1.2em;height:1.2em;vertical-align:middle}
.card:nth-child(4) .tile{background:#fce4ed;color:#812e53}
.shelf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;text-align:left;margin-top:17px}.shelf-card{display:flex;align-items:center;gap:14px;min-height:93px;border:2px solid var(--border);border-radius:18px;background:#faf9ff;text-align:left;padding:11px}.shelf-card.adventure{background:#fff6df;border-color:#e7c778}.shelf-card strong,.shelf-card small{display:block}.shelf-card strong{font-size:1.07rem;line-height:1.17}.shelf-card small{color:var(--muted);font-size:.87rem;margin-top:5px}.book-cover{display:grid;place-items:center;border-radius:13px;flex:0 0 54px;height:54px;background:#e9e0ff;font-size:1.65rem}.adventure .book-cover{background:#ffe7ac}.shelf-count{color:var(--purple);font-weight:800}.story-image{font-size:clamp(2rem,7vw,3.45rem);line-height:1;display:block}.story-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px;margin-inline:auto}.story-choices button{line-height:1.1;padding:9px 5px;min-width:0;display:grid;place-content:center;gap:5px}.choice-label{display:block;font-size:clamp(.92rem,3vw,1.22rem)}.word-guide{font-weight:850;font-size:1.2rem}.letter-tiles{gap:clamp(5px,2vw,14px)}.letter-tiles button{padding:3px;min-width:clamp(48px,16vw,90px);min-height:clamp(58px,17vw,98px);font-size:clamp(2.2rem,7vw,3.55rem);line-height:1.05}.adult-cue{color:var(--muted);font-weight:700}.word-slots{display:flex;justify-content:center;gap:9px}.word-slots span{display:grid;place-items:center;min-width:clamp(52px,17vw,91px);min-height:clamp(62px,17vw,95px);border:2px dashed #b8a7eb;border-radius:12px;background:#f9f6ff;font-size:clamp(2.1rem,7vw,3.65rem);font-weight:850;line-height:1}.scene .tile-picture{margin:0;line-height:1;font-size:clamp(3rem,10vw,5rem)}@media(max-width:525px){.shelf-grid{grid-template-columns:1fr;gap:8px}.shelf-card{min-height:72px}.book-cover{height:46px;flex-basis:46px}}

/* Picture books: warm paper, large print, and original SVG artwork. */
.tile .subject-art-svg{width:51px;height:51px}
.bookshelf,.book-scene{--paper:#fff9eb;--storybook-ink:#37284c;--storybook-rule:#e7d5c0;background:#fffdf8;border-color:#e9d9c8;color:var(--storybook-ink)}
.bookshelf{max-width:914px}.bookshelf h1{font-size:clamp(2.05rem,5.5vw,3.3rem);letter-spacing:-.05em}.scene .shelf-intro{max-width:32rem;margin:9px auto 12px}.scene .shelf-count{display:inline-block;margin:0 auto 5px;padding:4px 13px;border-radius:99px;background:#eee7f9;font-size:.88rem;color:#503c6f}
.shelf-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.shelf-card,.shelf-card.adventure{position:relative;display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:0;border:1.5px solid #e8d7c7;background:white;border-radius:17px;overflow:hidden;align-items:stretch;text-align:left;padding:0;box-shadow:0 2px 0 #f0e7dd}.shelf-card:focus-visible{outline-offset:3px}.shelf-card.adventure{border:2px solid #d8ad75;background:#fff9e9;box-shadow:0 2px 0 #f0ddbb}
.book-cover,.adventure .book-cover{display:block;width:100%;height:auto;aspect-ratio:9/4;border-radius:0;background:#e9efd9;overflow:hidden}.page-art-svg{display:block;width:100%;height:auto}.cover-copy{padding:11px 12px 12px}.shelf-card strong{font-size:clamp(.98rem,2.6vw,1.14rem);line-height:1.14}.shelf-card small{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-top:7px}.cover-tag,.read-badge{display:inline-block;font-weight:800;font-size:.75rem;padding:3px 7px;line-height:1.12;border-radius:999px;background:#eeebfa;color:#534375}.adventure .cover-tag{color:#704128;background:#ffe4ab}.read-badge{background:#e3f3e6;color:#295f47}
.book-scene{max-width:824px}.book-scene h1{font-size:clamp(1.6rem,4.8vw,2.42rem);letter-spacing:-.045em}.book-scene .top{margin-bottom:9px}.book-scene .book-sheet{background:var(--paper);border:1.5px solid var(--storybook-rule);padding:0 0 9px;overflow:hidden;box-shadow:0 2px 0 #f3e7d5}.book-scene .story-image{display:block;width:100%;overflow:hidden;margin:0;background:#dce4ca}.book-scene .story-image .page-art-svg{width:100%;height:auto;max-width:590px;margin:auto;border-radius:0 0 13px 13px}.book-scene .big-reading{margin:10px 12px 7px;line-height:1.09;font-size:clamp(2.3rem,7.3vw,4.7rem);letter-spacing:-.032em}.book-scene .book-position{font-size:.87rem;color:#6e6679}
.picture-choices button{background:#f8efe9;border-color:#dec9c2;min-height:clamp(67px,14vw,103px);padding:3px 6px}.picture-glyph,.subject-art-svg{display:block;width:100%;height:auto}.picture-choices .picture-glyph{width:clamp(57px,13vw,90px);margin:0 auto}.story-choices button{background:#f6edf9;border-color:#d8c4e4;min-height:clamp(91px,18vw,140px);padding:3px 6px 9px}.story-choices .picture-glyph{width:clamp(56px,14vw,90px)}.story-choices{gap:10px}.book-scene .feedback:empty{min-height:0;margin:0}.book-scene .actions:empty{display:none}.book-finish-art{max-width:330px;border:2px solid var(--storybook-rule);border-radius:16px;overflow:hidden;margin:0 auto 16px}
.adult-cue .picture-glyph{display:inline-block;width:1.9em;vertical-align:middle}.tile-picture .picture-glyph{width:1.65em;margin:auto}
@media(max-width:650px){.shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cover-copy{padding:8px 9px 10px}.book-scene .big-reading{font-size:clamp(2.15rem,8.6vw,3.4rem)}}
.celebrate .subject-art-svg{width:72px;margin:0 auto 9px}.objects .subject-art-svg{width:42px;margin:auto}
.book-scene .story-image{background:var(--paper)}
.draw-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(6px,2vw,16px);max-width:700px;margin:13px auto 9px}.draw-panel h2{font-size:clamp(.9rem,3.6vw,1.15rem);color:#4c3d78}.draw-panel .board{width:100%;margin:5px 0 0;border-radius:14px}.draw-panel:last-child .board{background:#fffcf4;border-color:#d6c6ec}.model-board{touch-action:auto}.board .sample-ink{fill:none;stroke:#6043b5;stroke-width:12;stroke-linecap:round;stroke-linejoin:round}.board .accepted-ink{stroke:#226e58}.check-drawing{border-color:#7654ce;background:#eee7ff;color:#3c278c}

/* School lessons and AP prep. Same touch targets, with an older-student layout when needed. */
.launch-academy{margin-top:9px;background:#f7d889;color:#2e2047;border:0;border-radius:13px;padding:8px 18px;font-weight:900}.home-school-link{margin:17px 0 0}.home-school-link button{background:#f8f4ff;color:#432e8e;border-color:#cebfee}
.academy-scene{max-width:904px;--school-violet:#4b328e;--school-green:#215e4a}
.academy-scene h1{letter-spacing:-.04em}.academy-scene .academy-intro{max-width:620px;margin:9px auto 16px;color:#465477}
.academy-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:16px 0 22px}.academy-tab{background:#fff;border:1.5px solid #d5c9ed;border-radius:999px;padding:8px 14px;font-weight:800;color:var(--school-violet)}.academy-tab[aria-pressed=true]{background:var(--school-violet);color:#fff;border-color:var(--school-violet)}
.academy-group{text-align:left;margin-top:17px}.academy-group>p{color:#465477}
.academy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.academy-card{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;text-align:left;min-height:112px;background:#faf8ff;border:1.5px solid #dfd4f3;border-radius:17px;padding:12px;color:#30254d}
.academy-card:nth-child(4n+2){background:#eff9f1;border-color:#cbe2d3}.academy-card:nth-child(4n+3){background:#fff7e6;border-color:#f0dfb7}.academy-card:nth-child(4n+4){background:#eff4fd;border-color:#d0dff7}
.academy-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:13px;background:#e9dcfc;font-weight:900;color:#4f3686}.academy-icon .subject-art-svg{width:48px}.academy-card-copy{min-width:0}.academy-card-copy strong,.academy-card-copy small{display:block}.academy-card-copy strong{font-size:1.11rem;line-height:1.17}.academy-card-copy small{font-size:.91rem;color:#4d506c;margin:4px 0 7px}.academy-chip{display:inline-block;font-size:.76rem;font-weight:850;line-height:1.2;background:#fff;border:1px solid #e5ddf4;border-radius:99px;padding:3px 8px;color:#4e3d78}
.academy-outline{text-align:left;margin-top:21px;padding:11px 16px}.academy-outline h3{font-size:1.03rem;margin:14px 0 5px}.academy-outline .unit{padding:2px 0 7px;border-top:1px solid #dcd1ee}.academy-outline .unit p{margin:3px 0}
.teach-card{max-width:680px;margin:19px auto 16px;padding:clamp(17px,4vw,29px);background:#f1edf9;border:1.5px solid #dfd4eb;border-radius:18px;text-align:left}.academy-scene .teach-text{font-size:clamp(1.2rem,3.3vw,1.7rem);line-height:1.3;font-weight:750;margin:9px 0 0}.academy-scene .course-prereq{font-size:.93rem;color:#4b5675;margin:10px auto 4px}.academy-scene .academy-prompt{font-size:clamp(1.18rem,3.9vw,1.65rem);font-weight:800;line-height:1.32;max-width:710px;margin:17px auto}
.academy-early .academy-prompt{font-size:clamp(1.5rem,5.5vw,2.3rem);line-height:1.15}
.academy-choices{display:grid;grid-template-columns:1fr;gap:9px;max-width:715px;margin:13px auto}.academy-answer{border:1.5px solid #d8c9ed;border-radius:13px;background:#f6f0ff;font-weight:850;padding:9px 15px;min-height:56px}.academy-answer.review{border-color:#d8a269;background:#fff1da}.academy-answer.correct{background:#d9f1e3;color:#1f523f;border-color:#85bba5}.academy-answer:disabled{opacity:.65}.academy-early .academy-answer{font-size:clamp(1.06rem,4.5vw,1.38rem);min-height:63px}
.academy-feedback{font-weight:750;color:#27416c;min-height:1.5em}.academy-feedback:empty{margin:0;min-height:0}.academy-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.academy-blocks{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:12px 0}.academy-block{width:clamp(42px,12vw,66px);height:clamp(48px,13vw,66px);border:2px solid #875ac1;border-top-color:#c09be7;border-left-color:#c09be7;border-radius:11px;background:#aa81db;box-shadow:inset -4px -5px 0 #946dcc;font-size:1.25rem;color:#fff;font-weight:900}.academy-block.counted{background:#2d8168;border-color:#296752;box-shadow:none}
.academy-response{font:inherit;width:100%;min-height:135px;padding:12px 14px;border:1.5px solid #c9b8e6;border-radius:14px;resize:vertical;color:#2c2245}.academy-response:focus-visible{outline:3px solid #0b6394;outline-offset:2px}.academy-earned{margin:15px auto;width:78px;height:78px}.academy-earned .subject-art-svg{width:64px}
@media(max-width:620px){.academy-grid{grid-template-columns:1fr;gap:8px}.academy-card{min-height:94px}.academy-tabs{justify-content:flex-start}.academy-tab{font-size:.9rem;padding:6px 10px}}
.academy-lab{max-width:680px;margin:13px auto 18px;padding:16px 14px;border:1.5px solid #c9dfd8;border-radius:17px;background:#f0f9f5}.academy-lab h2{font-size:1.16rem;color:#245b4a}.academy-lab .lab-status{margin:9px 0 2px;font-weight:825;color:#244b40}.lab-fractions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;max-width:365px;margin:10px auto}.lab-piece{background:#fff;border:2px solid #6da693;border-radius:8px;min-height:49px}.lab-piece[aria-pressed=true]{background:#37836e;border-color:#245f50}.lab-range-label{display:block;font-weight:800}.academy-lab input[type=range]{accent-color:#32755f;display:block;width:min(100%,370px);height:44px;margin:0 auto}.lab-fare-tokens{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}.lab-fare-tokens span{padding:4px 9px;border-radius:9px;font-size:.89rem;font-weight:800}.lab-fare-tokens .fixed{background:#ede1fc;color:#3d286c}.lab-fare-tokens .distance{background:#cbeedb;color:#214f3d}

/* Practice sessions and family reward goals */
.session-panel{padding:16px;margin:12px auto 17px;background:#eef2ff;border:1.5px solid #d7dbf4;border-radius:17px}.session-panel h2{font-size:1.2rem;color:#3e3181}
.reward-banner{display:flex;align-items:center;gap:15px;text-align:left;margin:16px auto 13px;padding:14px 16px;border:1.5px solid #ebcd92;border-radius:18px;background:#fff5de;color:#36294e}.reward-gift{display:grid;place-items:center;flex:0 0 clamp(56px,12vw,82px);aspect-ratio:1;border-radius:16px;background:#f7e8bc}.reward-gift svg{width:96%}.reward-copy{min-width:0}.reward-copy .eyebrow{margin:0 0 2px;color:#694227}.reward-copy h2{line-height:1.15;overflow-wrap:anywhere}.reward-copy p:last-of-type{margin:3px 0 4px;font-weight:700}.reward-copy progress{display:block;width:min(64vw,290px);max-width:100%;height:13px;margin:9px 0 3px;accent-color:#5c3cba}.reward-cta{margin-top:7px;border-color:#e2cb95;font-size:.91rem}.scene .reward-banner{max-width:680px}
#parent-rewards{padding:12px 0 16px;border-bottom:2px solid #e2d9f2;margin-bottom:17px}#parent-rewards>p{margin:7px 0 10px}#parent-rewards summary{color:#473587}.reward-form{display:grid;grid-template-columns:1fr;gap:5px;margin:8px 0 10px}.reward-form label{font-weight:800;margin-top:4px}.reward-form input,.reward-form select{width:100%;font:inherit;color:#30264d;border:1.5px solid #c5b3e9;min-height:46px;padding:7px 9px;border-radius:9px;background:#fff}.reward-form .primary{justify-self:start;margin-top:7px}.reward-form .reward-help{color:#52607d;font-size:.9rem;margin:3px 0}.parent-message{font-weight:800;color:#345773}.parent-message:empty{display:none}
@media(max-width:480px){.reward-banner{gap:9px;padding:10px}.reward-copy .eyebrow{font-size:.78rem}.reward-copy h2{font-size:1.19rem}.reward-copy p{font-size:.94rem}}

/* KrewQuest Learning / longer picture books */
.pack-promo{margin:20px 0 15px;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:13px;padding:16px 18px;border:1.5px solid #dfc59c;border-radius:18px;background:#fff2d8}.pack-promo h2{line-height:1.13;color:#3b2a4e}.pack-promo p:not(.eyebrow){margin:7px 0 0;color:#625474;font-size:.92rem}.pack-promo button{flex-shrink:0}
.pack-shelf{max-width:920px}.pack-badge{display:inline-block;font-size:.86rem;font-weight:850;border-radius:999px;background:#e9ddf7;color:#523c78;padding:5px 12px}.pack-shelf .pack-blurb{display:block;font-size:.82rem;color:#5b5069;line-height:1.24;margin:5px 0 2px}.pack-cover small{gap:4px}.pack-reader .top{margin-bottom:10px}.pack-reader .actions{margin-top:8px}
@media(max-width:560px){.pack-promo{align-items:flex-start;flex-direction:column;padding:13px}.pack-promo button{align-self:flex-start}.pack-cover .pack-blurb{display:none}}

/* KrewQuest graphic identity and quiet, one-shot character feedback. */
.brand-mark{width:48px;height:48px;border-radius:13px;display:block;flex:none;box-shadow:0 2px 4px #34225718}.brand-wordmark{display:grid;line-height:1.05;font-size:1.25rem;font-weight:950;letter-spacing:-.045em;color:#35265f}.brand-wordmark small{margin:4px 0 0 1px;font-size:.61rem;text-transform:uppercase;letter-spacing:.26em;color:#6b519c}.hero-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px}.hero-buttons .launch-academy{margin:0}.launch-krew{padding:7px 15px;border:1.5px solid #b399e5;border-radius:13px;background:#fff0;color:#f6efff;font-weight:850}
.krew-figure{margin:0;overflow:visible;flex-shrink:0}.krew-painted-pose{display:block;width:100%;aspect-ratio:1/2;border-radius:15px;background:#fbf2e5 url("brand/krew-illustrated-poses.png") 0 50%/300% 100% no-repeat}.krew-celebrate .krew-painted-pose{background-position:50% 50%}.krew-retry .krew-painted-pose{background-position:100% 50%}.hero .krew-figure{width:min(100%,126px);margin:auto}
.krew-motion,.krew-sparkles{transform-box:fill-box;transform-origin:center}.krew-hello .krew-motion{animation:krew-hello-in 680ms ease-out both}.krew-celebrate .krew-motion{animation:krew-hop 940ms cubic-bezier(.22,.67,.26,1) both}.krew-celebrate .krew-sparkles{animation:krew-burst 850ms ease-out both}.krew-retry .krew-motion{transform-origin:center 65%;animation:krew-nod 650ms ease-out both}.krew-retry .krew-sparkles{animation:krew-burst 650ms ease-out both}
@keyframes krew-hello-in{0%{opacity:.35;translate:0 7px}100%{opacity:1;translate:0 0}}
@keyframes krew-hop{0%,100%{translate:0 0;scale:1}16%{translate:0 4px;scale:1.06 .94}45%{translate:0 -21px;rotate:-4deg;scale:.98 1.03}67%{translate:0 2px;rotate:2deg;scale:1.04 .97}82%{translate:0 -5px}}
@keyframes krew-burst{0%{opacity:0;scale:.72}52%{opacity:1;scale:1.08}100%{opacity:1;scale:1}}
@keyframes krew-nod{0%{rotate:-4deg;opacity:.5}40%{rotate:4deg}70%{rotate:-2deg}100%{rotate:0deg;opacity:1}}
.krew-feedback{margin:4px auto -6px}.krew-compact{width:65px;margin:auto}.krew-finish .krew-figure{width:min(42vw,132px);margin:0 auto 12px}.krew-showcase{max-width:920px}.krew-showcase-intro{color:#4d5674}.krew-studio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:18px}.krew-studio-card{border:1.5px solid #e0d4ec;border-radius:19px;padding:14px 12px;background:#f3edfc;min-width:0}.krew-studio-celebrate{background:#fff3d9;border-color:#ead8a7}.krew-studio-retry{background:#eaf7f1;border-color:#c5e2d5}.krew-studio-card .krew-figure{width:min(100%,140px);margin:auto}.krew-studio-card h2{font-size:1.12rem}.krew-studio-card p{color:#4e496b;font-size:.9rem;min-height:2.8em}.brand-downloads{padding-left:20px}.brand-downloads a{display:inline-flex;align-items:center;min-height:40px}
@media(max-width:620px){.krew-studio{grid-template-columns:1fr;max-width:330px;margin:14px auto 0}.krew-studio-card .krew-figure{width:124px}.krew-studio-card p{min-height:auto}.brand-mark{width:41px;height:41px;border-radius:10px}.brand-wordmark{font-size:1.08rem}.wrap{padding-top:env(safe-area-inset-top,0px)}}
@media(max-width:390px){.hero .krew-figure{display:none}}
@media(prefers-reduced-motion:reduce){.krew-motion,.krew-sparkles{animation:none!important}}

/* Learner-facing quest map; no commercial controls outside the grown-up area. */
.quest-scene{max-width:900px}.quest-scene .eyebrow{text-wrap:balance}.quest-access,.quest-progress{color:#4b3978;font-weight:800}.quest-grades{justify-content:center;margin:18px 0 12px}.quest-scene progress{display:block;margin:0 auto 18px;width:min(100%,320px);height:16px;accent-color:#6144be}.quest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;text-align:left}.quest-card{min-height:96px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;justify-items:start;align-items:center;gap:4px 11px;padding:12px;border:2px solid #e0d8f1;border-radius:17px;background:#f8f5ff;text-align:left;line-height:1.17}.quest-card small{grid-column:2;color:#524973;font-size:.87rem;line-height:1.32}.quest-card strong{font-size:1.12rem}.quest-number{grid-row:span 2;display:grid;place-content:center;width:39px;height:39px;border-radius:12px;background:#e5dafb;color:#3a2974;font-weight:900;font-variant-numeric:tabular-nums}.quest-card:nth-child(4n+2),.quest-card:nth-child(4n+3){background:#eff7f3;border-color:#d4e8dd}.quest-question{margin:10px auto 13px;max-width:35rem;text-wrap:balance}.quest-cue,.quest-transfer{margin:12px auto!important;padding:12px 17px;border-radius:14px;background:#f2edff;max-width:34rem;font-weight:750}.quest-controls{margin:16px auto}.quest-options{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.quest-options button{max-width:100%;overflow-wrap:anywhere}.quest-options button.quest-correct{background:#dcf6e9;border-color:#39866b;color:#113e31}.quest-sequence{background:#f0ecff;border-radius:12px;min-height:48px;padding:10px;font-weight:750}.quest-controls>.primary,.quest-controls>.secondary{margin:10px 5px 0}.quest-model{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap;max-width:380px;margin:12px auto}.quest-dot-group{display:inline-flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:7px}.quest-unit{display:block;width:27px;height:27px;border-radius:50%;background:#7d60c8}.quest-dot-group.group-1 .quest-unit{background:#1b8b78}.quest-array{display:grid;grid-template-columns:repeat(var(--columns),27px)}.quest-array .quest-unit{border-radius:6px}.quest-frame{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));max-width:330px}.quest-strip{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:3px}.quest-square{min-height:48px;border:2px solid #8975c2;border-radius:8px;background:#faf7ff}.quest-square[aria-pressed=true]{background:#5436ab;color:#fff}.quest-square[aria-pressed=true]::after{content:"✓"}.quest-selected{font-weight:750}.quest-color-purple{background:#e4d6ff!important;border-color:#a38ac7!important}.quest-color-teal{background:#c9eee9!important;border-color:#74aea4!important}.quest-feedback:empty,.quest-gate-status:empty{display:none}.quest-gate-form{display:flex;align-items:end;flex-wrap:wrap;gap:9px;margin:13px 0}.quest-gate-form input{display:block;width:110px;min-height:48px;border:2px solid #8f82af;border-radius:9px;padding:6px 9px;font:inherit}.quest-gate-status{flex:0 0 100%;margin:0;color:#7d284a}.quest-family-progress{margin-bottom:14px}#grown-access{margin:15px 0 22px;padding-bottom:14px;border-bottom:1px solid var(--border)}#grown-access>button{margin:0 9px 8px 0}#info{max-height:min(85dvh,860px)}@media(max-width:510px){.quest-scene .top{flex-wrap:wrap}.quest-grid{grid-template-columns:1fr}.quest-card{min-height:70px}.quest-frame{gap:5px}}
.quest-picture{display:block;width:54px;height:54px;margin:0 auto 4px}.quest-picture svg{display:block;width:100%;height:100%}@media print{header,footer,.actions,.top,button{display:none!important}}
.quest-picture svg[viewBox="0 0 60 60"]{fill:#c3acf6;stroke:#4b2b88;stroke-width:3}

.trace-board .trace-future{stroke:#e7e6f3}.trace-board .done{stroke:#9989c5}
.trace-board .trace-active{stroke:#d9caff}.trace-board .trace-active-mid{stroke:#6747b8;stroke-width:2.8}
.trace-board .trace-direction{fill:none;stroke:#452881;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.trace-board .trace-start{fill:#5132a7;stroke:#fff;stroke-width:3}.trace-board .trace-start-number{font-size:13px}
.trace-board .trace-stop{fill:#ffcb70;stroke:#673908;stroke-width:2.5;pointer-events:none}
.trace-board .trace-stop-loop{fill:#ffcb70}.trace-board .ink{stroke:#4d30b4}
.trace-cue{font-weight:800;color:#302761}.trace-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px;color:#413760;font-weight:800}
.trace-legend[hidden]{display:none}.trace-legend span{display:inline-flex;gap:7px;align-items:center}
.trace-legend i{display:inline-block;width:17px;height:17px;flex:none}.trace-legend-start{background:#5132a7;border:2px solid #5132a7;border-radius:50%}
.trace-legend-stop{background:#ffcb70;border:2px solid #673908;border-radius:4px}

.draw-panel .board[hidden],.trace-memory-note[hidden]{display:none}.trace-memory-note{color:#465477;font-weight:800;padding:clamp(12px,5vw,32px) 4px}

/* A pause removes answer targets from both the screen and the tab order. */
[hidden].choices,[hidden].academy-choices,[hidden].quest-options,[hidden].mini-answer-options{display:none!important}
.thinking-retry{min-height:44px}

.daily-school{max-width:900px;margin-inline:auto}
.daily-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.75rem;padding-block:.5rem}
.daily-tile{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;min-height:5.5rem;text-align:left}
.daily-tile small{font-size:.88rem}
.daily-step{padding:1rem;margin-block:1rem;border:1px solid #d8dff8;border-radius:1rem;background:#f8f9ff}
.daily-step h2,.daily-step h3{margin-top:0}
.daily-step p{white-space:pre-line}
.daily-step label{display:block;margin-block:.5rem}
.daily-step textarea{display:block;width:100%;padding:.8rem;font:inherit;border:1px solid #95a1bd;border-radius:.5rem;color:#202548;background:white;resize:vertical}
.daily-warmup{margin-block:1rem;padding:.75rem 1rem;background:#e7efff;border-radius:.75rem}
.daily-check-feedback:not(:empty){margin-block:1rem}

/* Keep the public App Store link separate from lessons and the grown-up controls. */
.site-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0}
.store-download{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:8px 14px;border-radius:13px;background:#403096;color:#fff;font-weight:850;text-decoration:none;white-space:nowrap;font-size:.9rem}
.store-download:hover{background:#312279;text-decoration:underline}
.store-download:focus-visible{outline:3px solid #0b6394;outline-offset:3px}
@media(max-width:510px){.wrap>header{flex-wrap:wrap;row-gap:8px}.site-header-actions{justify-content:flex-start}}
@media(max-width:650px){.store-download{padding:6px 10px;font-size:.86rem}}
