@font-face{font-family:Andika Learner;src:url(/assets/Andika-Regular-B-0TUju0.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Andika Learner;src:url(/assets/Andika-Bold-DU9TL9lB.woff2)format("woff2");font-style:normal;font-weight:700;font-display:swap}:root{--page-bg:#f8f6ef;--page-bg-deep:#f8f6ef;--ink:#193d38;--muted:#586b63;--muted-strong:#586b63;--accent:#216a57;--accent-soft:#e6eee4;--ui-font-family:"Avenir Next Rounded", "Avenir Next", "Nunito", "Trebuchet MS", sans-serif;--reader-font-family:"Andika Learner", "Chalkboard SE", "Comic Sans MS", sans-serif;--learner-font:var(--reader-font-family);--font-body:var(--ui-font-family);font-family:var(--ui-font-family);color:var(--ink);background:radial-gradient(circle at top, #fff9, transparent 36%), linear-gradient(135deg, var(--page-bg), var(--page-bg-deep));font-synthesis:none;font-variant-ligatures:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:500;line-height:1.45}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background:radial-gradient(circle at top, #fff9, transparent 36%), linear-gradient(135deg, var(--page-bg), var(--page-bg-deep))}body{min-width:320px;min-height:100svh;margin:0}body:before,body:after{content:"";pointer-events:none;filter:blur(18px);border-radius:50%;position:fixed;inset:auto}body:before{background:#ffffff59;width:14rem;height:14rem;top:7%;left:5%}body:after{background:#ffd0bc42;width:18rem;height:18rem;bottom:10%;right:5%}button,textarea,input{font:inherit}button{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}textarea{-webkit-appearance:none}#root{min-height:100svh}.story-share-link-label{gap:.5rem;margin:.9rem 0;font-weight:700;display:grid}.story-share-link-label input{color:#254c38;background:#fffdf6;border:1px solid #b8c5ac;border-radius:.65rem;width:100%;min-width:0;min-height:44px;padding:.6rem;font-size:.85rem}.story-share-expiry{color:#315942;font-weight:700}.shared-story-page{color:#254c38;max-width:960px;margin:0 auto;padding:1.5rem 2rem 2.5rem}.shared-story-page>header{border-bottom:1px solid #d6dcc9;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:1.25rem;display:flex}.shared-story-page .brand-logo{width:180px;max-width:100%;display:block}.shared-story-page .brand-logo img{width:100%;height:auto}.shared-story-page>header span{font-size:.85rem}.shared-story-intro{text-align:center;max-width:680px;margin:1.6rem auto}.shared-story-intro h1,.shared-story-intro p,.shared-story-sentence{overflow-wrap:anywhere}.shared-story-intro h1{margin:.4rem 0 1rem;font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.18}.shared-story-intro p{line-height:1.6}.shared-story-note,.shared-story-footer{color:#58705b;font-size:.9rem}.shared-story-paper{background:#fffdf6;border:1px solid #ded9c5;border-radius:1.2rem;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;display:grid;overflow:hidden;box-shadow:0 8px 28px #32442a0b}.shared-story-paper img{aspect-ratio:1;object-fit:contain;background:#f3f0e6;width:100%}.shared-story-sentence{font-family:var(--reader-font-family);text-align:center;padding:1.5rem;font-size:clamp(1.6rem,3.2vw,2.2rem);line-height:1.55}.shared-story-navigation{justify-content:center;align-items:center;gap:1.2rem;margin:1.2rem 0;display:flex}.shared-story-navigation button,.shared-story-page .action-button{min-height:44px}.shared-story-footer{text-align:center}.shared-story-account{background:#f3f7e9;border:1px solid #cbd7bd;border-radius:1rem;margin:1rem 0 1.5rem;padding:1rem}.shared-story-save{text-align:center}.shared-story-page .adult-auth-shell{min-height:unset;padding:1rem}@media (width<=600px){.shared-story-page{padding:1rem}.shared-story-page>header{gap:.6rem}.shared-story-page .brand-logo{width:145px}.shared-story-page>header span{text-align:right;max-width:110px}.shared-story-paper{grid-template-columns:1fr}.shared-story-paper img{max-height:330px}.shared-story-sentence{margin:0;padding:1rem 1.1rem 1.4rem}}.app-shell{min-height:100svh;padding:max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));flex-direction:column;gap:1rem;display:flex}.app-shell--story-focus{height:100svh;overflow:hidden}.app-shell--irregular-focus{overscroll-behavior:none;height:100svh;overflow:hidden}.topbar{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.custom-practice-header-actions{gap:.55rem;display:flex}.app-mode-select,.lesson-loader-label-compact{display:none}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--muted-strong);margin:0 0 .35rem;font-size:.78rem;font-weight:700}.topbar h1,.editor-copy h2{margin:0}.editor-toggle,.nav-button,.mode-button,.action-button,.slider-segment{font:inherit}.editor-toggle,.nav-button,.mode-button,.action-button{cursor:pointer;border:none;border-radius:999px;transition:transform .18s,box-shadow .18s,background-color .18s}.editor-toggle:hover,.nav-button:hover,.mode-button:hover,.action-button:hover{transform:translateY(-1px)}.editor-toggle:active,.nav-button:active,.mode-button:active,.action-button:active,.letter-conveyor-target:active,.letter-conveyor-token:active{transition-duration:60ms;transform:translateY(1px)scale(.96)}.story-alphabet-tile:active,.story-alphabet-tile[data-pressed]{filter:brightness(.94);transition-duration:60ms;transform:translateY(2px)}.editor-toggle:focus-visible,.nav-button:focus-visible,.mode-button:focus-visible,.action-button:focus-visible,.letter-conveyor-target:focus-visible,.letter-conveyor-token:focus-visible,.letter-sound-recorder-item .action-button:focus-visible,.lesson-loader input:focus-visible,.lesson-loader select:focus-visible,.app-mode-select select:focus-visible,.story-field input:focus-visible,.story-field select:focus-visible,.slider-hitbox:focus-visible,.slider-segment:focus-visible,.editor-input:focus-visible,.scratch-frame:focus-visible{outline-offset:4px;outline:3px solid #342c6e40}.editor-toggle{color:var(--ink);background:#ffffffbf;padding:.95rem 1.35rem;box-shadow:0 14px 32px #193d381f}.lesson-loader{background:#ffffff94;border-radius:999px;align-items:center;gap:.55rem;max-width:100%;padding:.45rem;display:inline-flex;box-shadow:0 14px 32px #193d381a}.lesson-loader label{color:var(--ink);white-space:nowrap;padding-left:.65rem;font-size:.9rem;font-weight:800}.lesson-loader input,.lesson-loader select{width:4.6rem;min-width:0;color:var(--ink);font:inherit;text-align:center;background:#ffffffd1;border:none;border-radius:999px;padding:.72rem .6rem;font-weight:800;box-shadow:inset 0 1px #ffffffb3}.layout{flex:1;grid-template-columns:minmax(0,1.4fr) minmax(20rem,.8fr);align-items:stretch;gap:1rem;display:grid}.layout--story{grid-template-columns:minmax(0,1fr)}.layout--story-focus{min-height:0}.story-builder-shell{grid-template-rows:auto minmax(0,1fr);gap:1rem;min-width:0;display:grid;position:relative}.story-builder-shell--reader-focus{grid-template-rows:minmax(0,1fr);min-height:0}.story-generation-overlay{z-index:40;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#f3eeff8f;place-items:center;padding:1.5rem;display:grid;position:fixed;inset:0}.story-generation-card{text-align:center;background:radial-gradient(circle at 0 0,#ffffffe6,#0000 44%),#ffffffe6;border:3px solid #193d3829;border-radius:1.6rem;gap:.9rem;width:min(32rem,100%);max-width:calc(100vw - 2rem);padding:1.5rem;display:grid;box-shadow:0 24px 48px #193d382e,inset 0 1px #ffffffb8}.story-generation-card h2,.story-generation-card p{margin:0}.story-generation-status{color:#3d316f;place-items:center;min-height:2.5rem;font-size:1.02rem;font-weight:850;line-height:1.35;animation:.24s ease-out story-generation-status-reveal;display:grid}.story-generation-progress{background:#55489c1f;border-radius:999px;height:.85rem;position:relative;overflow:hidden}.story-generation-progress span{border-radius:inherit;background:linear-gradient(90deg,#ffb85c,#6ca4ff);width:35%;animation:1.2s ease-in-out infinite story-progress-sweep;position:absolute;inset:0 auto 0 -35%}.story-generation-note{color:var(--muted-strong);font-size:.78rem;font-weight:700;line-height:1.4}@keyframes story-generation-status-reveal{0%{opacity:0;transform:translateY(.2rem)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.editor-toggle,.nav-button,.mode-button,.action-button,.story-alphabet-tile,.letter-conveyor-target,.letter-conveyor-token{transition:none}.story-generation-status,.story-generation-progress span{animation:none}.story-generation-progress span{opacity:.72;width:100%;inset:0}}.practice-stage,.editor-card,.letter-lab-stage,.story-stage{background:radial-gradient(circle at 0 0,#ffffffbf,#0000 34%),linear-gradient(#c4e5f4eb,#efe7ffe6);border:3px solid #193d382e;border-radius:2rem;position:relative;overflow:hidden;box-shadow:0 22px 54px #193d3829,inset 0 1px #ffffff8c}.practice-stage:before,.editor-card:before,.letter-lab-stage:before,.story-stage:before{content:"";pointer-events:none;border:2px solid #ffffff75;border-radius:1.55rem;position:absolute;inset:1.1rem}.practice-stage{flex-direction:column;justify-content:space-between;gap:1.5rem;min-height:min(78svh,980px);padding:1.5rem;animation:.52s stage-rise;display:flex}.letter-lab-stage,.story-stage{flex-direction:column;gap:1.25rem;min-height:min(78svh,980px);padding:1.5rem;animation:.52s stage-rise;display:flex}@keyframes stage-rise{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes panel-rise{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}.auth-starting,.adult-auth-shell{place-items:center;min-height:100svh;padding:1.5rem;display:grid}.adult-auth-panel{background:#ffffffe6;border:1px solid #4b3e8324;border-radius:1.75rem;gap:1rem;width:min(100%,32rem);min-width:0;padding:clamp(1.5rem,5vw,2.75rem);display:grid;box-shadow:0 1.5rem 4rem #3f327424}.adult-auth-panel h1{text-wrap:balance;margin:0;font-size:clamp(2rem,8vw,3.25rem);line-height:1}.adult-auth-panel form{gap:.75rem;margin:0;display:grid}.adult-auth-panel>p{margin:0;line-height:1.5}.adult-auth-panel>.eyebrow{line-height:1.3}.adult-auth-panel .brand-logo--stacked{width:13rem;margin:0 auto .25rem}.adult-auth-panel label{font-weight:600}.adult-auth-panel .action-button{width:100%;min-height:3rem;padding:.75rem 1rem;line-height:1.4}.adult-auth-alternatives{border-top:1px solid var(--studio-line);gap:.5rem;padding-top:1rem;display:grid}.adult-auth-panel .adult-auth-reconnect{color:var(--muted-strong);text-underline-offset:.2em;background:0 0;border-color:#0000;text-decoration:underline}.adult-auth-panel>.family-help,.adult-auth-panel>.legal-links{margin:0}.adult-auth-panel input{width:100%;min-height:3rem;color:var(--ink);background:#fff;border:1px solid #4b3e8340;border-radius:.8rem;padding:.7rem .85rem}.adult-auth-panel>.adult-auth-intro{color:var(--muted-strong);font-size:1.05rem}.adult-auth-highlights{background:var(--accent-soft);border-radius:1rem;gap:.5rem;margin:0;padding:.9rem 1rem;list-style:none;display:grid}.adult-auth-highlights li{align-items:baseline;gap:.6rem;line-height:1.4;display:flex}.adult-auth-highlights li:before{content:"";background:var(--studio-gold);border-radius:50%;flex:none;width:.55rem;height:.55rem;transform:translateY(-.05rem)}.adult-auth-panel form .adult-auth-hint{color:var(--muted-strong);margin:0;font-size:.875rem;line-height:1.45}.adult-auth-panel>.adult-auth-kids-note{color:var(--muted-strong);text-align:center;text-wrap:balance;font-size:.875rem}.adult-auth-panel>.invite-request-prompt{color:var(--muted-strong);text-align:center;font-size:.95rem}.invite-request-toggle{min-height:2.75rem;color:var(--accent);font:inherit;text-underline-offset:.2em;cursor:pointer;background:0 0;border:0;padding:0 .25rem;font-weight:700;text-decoration:underline}.adult-auth-panel .invite-request{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:1rem;padding:1rem}.invite-request h2{margin:0;font-size:1.15rem}.invite-request label span{color:var(--muted-strong);font-weight:400}.invite-request p{margin:0}.adult-auth-panel>.invite-request--sent{color:var(--ink);text-align:center;line-height:1.5}@media (width<=540px){.adult-auth-shell{padding:1rem}.adult-auth-panel{border-radius:1.25rem;padding:1.25rem}.adult-auth-panel>.adult-auth-intro{font-size:.95rem}}.legal-links{flex-wrap:wrap;gap:.85rem;margin-top:1rem;font-size:.82rem;display:flex}.legal-links a{min-height:2.75rem;color:var(--muted-strong);text-underline-offset:.2em;align-items:center;display:inline-flex}.app-legal-links{justify-content:center;padding:0 1rem 1.25rem}@media (width<=720px){.app-legal-links{gap:.55rem;margin-top:.3rem;padding-bottom:.5rem}}.adult-account-strip{background:#fffffff0;border:1px solid #4b3e8326;border-radius:999px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.65rem;width:fit-content;max-width:calc(100% - 2rem);margin:0 auto 1rem;padding:.5rem .6rem .5rem .85rem;font-size:.8rem;display:flex;position:relative;box-shadow:0 .5rem 1.5rem #3f32741f}.adult-account-strip>span{overflow-wrap:anywhere;min-width:0}.adult-account-strip button{color:#fff;background:var(--ink);cursor:pointer;border:0;border-radius:999px;padding:.45rem .7rem}@media (width<=720px){.adult-account-strip{border-radius:1rem}.adult-account-strip button{min-height:2.75rem}}:is(body:has(.app-shell--story-focus) .adult-account-strip,body:has(.app-shell--irregular-focus) .adult-account-strip){display:none}.adult-account-strip:has(.hosted-billing-panel){border-radius:1.25rem;width:min(25rem,100% - 2rem)}.hosted-billing-panel{width:100%;max-height:min(72svh,42rem);color:var(--ink);background:#fffffffa;border:1px solid #4b3e8326;border-radius:1.25rem;flex:0 0 100%;padding:1.1rem;font-size:.9rem;overflow:auto;box-shadow:0 1rem 2.5rem #3f32742e}.hosted-account-panel{width:min(29rem,100vw - 2rem);max-height:min(72svh,42rem);color:var(--ink);background:#fffffffc;border:1px solid #4b3e8326;border-radius:1.25rem;padding:1.2rem;font-size:.9rem;position:absolute;bottom:calc(100% + .75rem);right:50%;overflow:auto;transform:translate(50%);box-shadow:0 1rem 2.5rem #3f32742e}.hosted-account-panel h2,.hosted-account-panel h3,.hosted-account-panel p{margin:0 0 .75rem}.hosted-account-panel-header{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.adult-account-strip .hosted-account-close{width:2.75rem;height:2.75rem;color:var(--ink);background:0 0;border-radius:50%;flex:none;place-items:center;margin:-.55rem -.55rem 0 0;padding:0;font-size:1.6rem;line-height:1;display:grid}.adult-account-strip .hosted-account-close:hover,.adult-account-strip .hosted-account-close:focus-visible{background:#4b3e831a}.hosted-account-panel hr{border:0;border-top:1px solid #4b3e8326;margin:1.1rem 0}.hosted-account-panel label{margin-bottom:.4rem;font-weight:700;display:block}.hosted-account-panel input{border:1px solid #4b3e8340;border-radius:.7rem;width:100%;min-height:2.8rem;margin-bottom:.7rem;padding:.6rem .75rem}.hosted-account-panel .action-button{width:100%}.hosted-account-panel .account-delete-button{color:#fff;background:#8b2d3b}.hosted-account-panel .account-delete-button:disabled{opacity:.45}.legal-shell{background:var(--page);min-height:100svh;padding:clamp(1.25rem,5vw,4rem)}.legal-document{width:min(100%,48rem);color:var(--ink);margin:0 auto}.legal-back{color:var(--muted-strong);margin-bottom:clamp(2.5rem,8vw,5rem);text-decoration:none;display:inline-block}.legal-document h1{letter-spacing:-.055em;max-width:12ch;margin:.25rem 0 1.5rem;font-size:clamp(2.6rem,9vw,5.75rem);line-height:.95}.legal-document h2{margin:2.25rem 0 .55rem;font-size:clamp(1.2rem,3vw,1.55rem)}.legal-document p{max-width:68ch;color:var(--muted-strong);line-height:1.65}.legal-document ul{max-width:68ch;color:var(--muted-strong);padding-left:1.25rem;line-height:1.65}.legal-document li+li{margin-top:.5rem}.legal-document li strong{color:var(--ink)}.legal-document .legal-lede{max-width:48ch;color:var(--ink);margin-bottom:3rem;font-size:clamp(1.15rem,3vw,1.5rem);line-height:1.45}.legal-review-note{border-top:1px solid #4b3e832e;margin-top:2.5rem;padding-top:1.25rem}.hosted-billing-panel h2,.hosted-billing-panel p{margin:0 0 .75rem}.hosted-billing-panel .action-button{width:100%}.hosted-billing-panel .billing-attention{color:#6d3c00;background:#fff2d5;border-radius:.75rem;padding:.65rem .75rem}.story-builder-form{background:linear-gradient(160deg,#fffffff2,#f9f7ffe0),#ffffffb8;border:1px solid #193d381c;border-radius:1.5rem;grid-template-columns:1fr;align-items:stretch;gap:0;padding:clamp(1.1rem,2.2vw,1.65rem);animation:.48s panel-rise;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 46px #193d3817,inset 0 1px #ffffffb8}.story-builder-form:before{content:"";pointer-events:none;background:#ffb8951f;border-radius:50%;width:17rem;height:17rem;position:absolute;top:-7rem;right:0}.story-builder-copy{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:1rem;padding-bottom:1.3rem;display:grid;position:relative}.story-builder-heading{align-self:center}.story-builder-copy h2{margin:0;font-size:clamp(1.55rem,2.5vw,2.25rem);line-height:1.05}.story-builder-copy p{max-width:38rem;color:var(--muted-strong);margin:.35rem 0 0}.story-builder-lesson-note{min-width:14rem;max-width:18rem;color:var(--muted-strong);text-transform:uppercase;background:#fff6;border-left:2px solid #ff7f6294;grid-template-columns:auto minmax(8rem,1fr);grid-template-areas:"label label""number concept""number scope";align-items:center;gap:.12rem .72rem;margin:0;padding:.72rem .9rem;font-size:.78rem;font-weight:800;display:grid}.story-builder-lesson-label{grid-area:label}.story-builder-lesson-note strong{color:var(--ink);grid-area:number;font-size:1.7rem;line-height:1}.story-builder-lesson-note span{text-transform:none}.story-builder-lesson-note .story-builder-lesson-label{letter-spacing:.07em;text-transform:uppercase}.story-builder-lesson-concept{color:var(--ink);text-wrap:balance;grid-area:concept;font-size:.86rem;line-height:1.15}.story-builder-lesson-scope{color:var(--muted-strong);grid-area:scope;font-size:.7rem;font-weight:700}.story-builder-skill-note strong{color:#2f7561}.story-builder-official-reader{background:linear-gradient(135deg,#e7faf2eb,#f7fcffe6);border:1px solid #2e756133;border-radius:1rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;margin-bottom:1.15rem;padding:1rem 1.1rem;display:grid;position:relative}.story-builder-official-reader h3,.story-builder-official-reader p{margin:0}.story-builder-official-reader h3{color:var(--ink);margin-top:.15rem;font-size:1.12rem}.story-builder-official-reader-copy,.story-builder-official-level-note{max-width:44rem;color:var(--muted-strong);margin-top:.3rem;line-height:1.45}.story-builder-official-level-note strong{color:#2f7561}.story-builder-official-reader .action-button{min-width:13.5rem}.story-template-notice{background:#f0edffb8;border-left:4px solid #5b4fc4;border-radius:.25rem .9rem .9rem .25rem;gap:.2rem;margin-bottom:1.1rem;padding:.9rem 1rem .9rem 1.15rem;animation:.18s ease-out story-builder-reveal;display:grid;position:relative}.story-template-notice h3,.story-template-notice p{margin:0}.story-template-notice h3{color:var(--ink);font-size:1.05rem}.story-template-notice p:last-child{max-width:48rem;color:var(--muted-strong);font-size:.82rem;font-weight:700}.story-skill-setup{border-top:1px solid #193d381a;border-bottom:1px solid #193d381a;gap:.85rem;padding:.85rem 0;display:grid}.story-skill-mode{justify-content:space-between;align-items:center;gap:1rem;display:flex}.story-skill-mode>div:first-child{gap:.15rem;display:grid}.story-skill-mode>div:first-child span{color:var(--muted-strong);font-size:.82rem;font-weight:700}.story-skill-mode-actions{background:#45388014;border-radius:.9rem;grid-template-columns:repeat(2,minmax(8.75rem,1fr));padding:.25rem;display:grid}.story-skill-mode-actions button{min-height:2.75rem;color:var(--muted-strong);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:.7rem;padding:.55rem .75rem;font-size:.8rem;font-weight:850;transition:background .16s,box-shadow .16s,color .16s}.story-skill-mode-actions .story-skill-mode-button--active{color:var(--ink);background:#fffffff0;box-shadow:0 4px 14px #193d381c}.story-manual-skills{background:#f1faf6c7;border-left:4px solid #3f896ead;border-radius:.35rem 1rem 1rem .35rem;gap:.8rem;padding:.9rem;animation:.24s panel-rise;display:grid}.story-manual-skills-intro{justify-content:space-between;align-items:start;gap:1rem;display:flex}.story-manual-skills-intro h3,.story-manual-skills-intro p{margin:0}.story-manual-skills-intro h3{font-size:1.12rem}.story-manual-skills-intro>div:first-child>p:last-child{color:var(--muted-strong);margin-top:.25rem;font-size:.86rem}.story-manual-skills-counts{text-align:right;color:var(--muted-strong);flex:none;gap:.15rem;font-size:.78rem;display:grid}.story-manual-skills-counts strong{color:#2f7561;font-size:.88rem}.story-skill-tools{grid-template-columns:minmax(0,1fr) minmax(10rem,.32fr);gap:.65rem;display:grid}.story-skill-tools label{color:var(--muted-strong);gap:.25rem;font-size:.72rem;font-weight:800;display:grid}.story-skill-tools input,.story-skill-tools select{width:100%;min-height:2.75rem;color:var(--ink);font:inherit;background:#fff;border:1px solid #2f756133;border-radius:.75rem;padding:.55rem .7rem}.story-skill-selection-summary{flex-wrap:wrap;gap:.35rem;display:flex}.story-skill-selection-summary span{color:#2f7561;background:#2f75611a;border-radius:999px;padding:.3rem .55rem;font-size:.7rem;font-weight:800}.story-skill-categories{gap:.45rem;display:grid}.story-skill-categories details{background:#ffffffc7;border:1px solid #2f756124;border-radius:.85rem;overflow:clip}.story-skill-categories summary{cursor:pointer;min-height:2.8rem;color:var(--ink);justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem .75rem;font-weight:850;display:flex}.story-skill-categories summary span:last-child{color:var(--muted-strong);font-size:.72rem}.story-skill-list{border-top:1px solid #2f75611f;display:grid}.story-skill-row{border-bottom:1px solid #2f756114;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.85rem;padding:.62rem .75rem;display:grid}.story-skill-row:last-child{border-bottom:0}.story-skill-row-copy{gap:.08rem;min-width:0;display:grid}.story-skill-row-copy>span,.story-skill-row-copy small{color:var(--muted-strong);font-size:.73rem;line-height:1.3}.story-skill-word-note{color:#425987;background:#435d9a1a;border-radius:999px;width:fit-content;padding:.18rem .45rem;font-size:.67rem;font-style:normal;font-weight:850}.story-skill-word-note--permanent{color:#874b31;background:#9a56371c}.story-skill-word-note--decodable{color:#2f7561;background:#2f75611f}.story-skill-empty{color:var(--muted-strong);margin:0;padding:.75rem;font-size:.78rem}.story-manual-skills-reminder{color:#8b4b2d;margin:0;font-size:.8rem;font-weight:800}.story-manual-skills-readiness{background:#9a563714;border-radius:.75rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem .75rem;padding:.6rem .75rem;display:flex}.story-manual-skills-readiness p{color:#8b4b2d;margin:0;font-size:.8rem;font-weight:800}.story-manual-skills-readiness button,.story-skill-bulk-actions button{color:#2f7561;cursor:pointer;min-height:2.75rem;font:inherit;background:#fff;border:1px solid #2f75613d;border-radius:.75rem;padding:.45rem .75rem;font-size:.76rem;font-weight:850}.story-manual-skills-words{color:#2f7561;background:#2f756112;border-radius:.75rem;margin:0;padding:.6rem .75rem;font-size:.8rem;font-weight:750;line-height:1.4}.story-skill-bulk-actions{border-bottom:1px solid #2f756114;flex-wrap:wrap;gap:.5rem;padding:.6rem .75rem;display:flex}.story-skill-bulk-actions button:disabled{cursor:default;opacity:.5}.story-placement-launch{color:#2f7561;cursor:pointer;width:fit-content;min-height:2.65rem;font:inherit;background:#fff;border:1px solid #2f75613d;border-radius:.75rem;margin-top:.65rem;padding:.55rem .75rem;font-size:.78rem;font-weight:850}.parent-placement{border-block:1px solid #2f75612e;gap:.75rem;padding:1rem 0;display:grid}.parent-placement h4,.parent-placement p{margin:0}.parent-placement h4{font-size:1.08rem}.parent-placement>p:not(.eyebrow,.parent-placement-stop-note){max-width:48rem;color:var(--muted-strong);font-size:.84rem;line-height:1.45}.parent-placement-privacy,.parent-placement-stop-note{color:var(--muted-strong);font-size:.76rem;line-height:1.42}.parent-placement-actions{flex-wrap:wrap;gap:.55rem;display:flex}.parent-placement-actions button{color:#fff;cursor:pointer;min-height:2.75rem;font:inherit;background:#2f7561;border:0;border-radius:.75rem;padding:.58rem .9rem;font-size:.8rem;font-weight:850}.parent-placement-actions button.button-secondary{color:#2f7561;background:#fff;border:1px solid #2f756133}.parent-placement-actions button:disabled{cursor:not-allowed;opacity:.48}.placement-tested-details{gap:.5rem;display:grid}.placement-tested-details summary{cursor:pointer;background:#fff;border:1px solid #2f75612e;border-radius:.75rem;gap:.2rem;min-height:2.75rem;padding:.55rem .75rem;list-style:none;display:grid}.placement-tested-details summary::-webkit-details-marker{display:none}.placement-tested-details summary h5{margin:0}.placement-tested-details summary span{color:#2f7561;font-size:.78rem;font-weight:800}.parent-placement-review-list{grid-template-columns:minmax(0,1fr);gap:.4rem .75rem;display:grid}.parent-placement-review-list>div{min-height:3rem;color:var(--ink);border-bottom:1px solid #2f75611a;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.25rem 0;font-size:.76rem;font-weight:800;display:grid}.placement-skill-name{gap:.1rem;min-width:0;display:grid}.placement-skill-name small{color:var(--muted-strong);font-size:.7rem;font-weight:600}.story-builder-fields{grid-template-columns:repeat(6,minmax(6rem,1fr));gap:.85rem;display:grid}.story-builder-fields--primary{grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;padding:0}.story-builder-step{border-top:1px solid #193d381a;position:relative}.story-builder-step--essentials{gap:1rem;padding:1.2rem 0 1.35rem;display:grid}.story-builder-step-heading,.story-builder-step-summary{align-items:center;gap:.75rem;min-width:0;display:flex}.story-builder-step-summary{flex:auto}.story-builder-step-heading h3,.story-builder-step-heading p{margin:0}.story-builder-step-heading h3,.story-builder-step-summary strong{color:var(--ink);font-size:1rem;line-height:1.15}.story-builder-step-heading p,.story-builder-step-summary>span:last-child>span{color:var(--muted-strong);margin-top:.14rem;font-size:.78rem;font-weight:700;line-height:1.3}.story-builder-step-number{color:#fff;background:#40367e;border-radius:50%;flex:none;place-items:center;width:2rem;height:2rem;font-size:.8rem;font-weight:900;display:grid;box-shadow:0 5px 12px #193d3829}.story-builder-step-number--quiet{color:#40367e;box-shadow:none;background:#40367e1c}.story-builder-step-summary>span:last-child{min-width:0;display:grid}.story-builder-summary-meta{color:var(--muted-strong);letter-spacing:.06em;text-transform:uppercase;background:#40367e12;border-radius:999px;flex:none;margin-left:auto;padding:.34rem .62rem;font-size:.68rem;font-weight:900}.story-field{gap:.35rem;min-width:0;display:grid}.story-field span{color:var(--muted-strong);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:800}.story-field input,.story-field select,.story-field textarea{width:100%;min-width:0;min-height:3.15rem;color:var(--ink);background:#ffffffeb;border:1px solid #193d381f;border-radius:.82rem;padding:.82rem .9rem;transition:border-color .16s,box-shadow .16s,background-color .16s;box-shadow:inset 0 1px #ffffffb3,0 3px 9px #193d3806}.story-field input:hover,.story-field select:hover,.story-field textarea:hover{background:#fff;border-color:#193d383d}.story-field select{appearance:none}.story-field .story-reading-level-guidance{color:var(--muted-strong);margin:0;font-size:.72rem;font-weight:700;line-height:1.4}.story-field textarea{resize:vertical;font:inherit}.story-field--wide{grid-column:span 3}.story-field--short{grid-column:span 2}.story-field--medium,.story-field--reading-level,.story-field--character{grid-column:span 3}.story-field--story-idea{grid-column:span 6}.story-builder-details{border-bottom:0;margin:0;overflow:clip}.story-builder-details>summary{min-height:4.35rem;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;padding:.88rem 0;list-style:none;transition:color .16s;display:flex}.story-builder-details>summary::-webkit-details-marker{display:none}.story-builder-advanced>summary::-webkit-details-marker{display:none}.story-builder-details>summary:hover .story-builder-step-number,.story-builder-advanced>summary:hover .story-builder-step-number{transform:translateY(-1px)}.story-builder-details>summary:focus-visible,.story-builder-advanced>summary:focus-visible,.story-art-style-picker>summary:focus-visible{outline-offset:-3px;border-radius:.75rem;outline:3px solid #342c6e40}.story-builder-details>summary:after,.story-builder-advanced>summary:after{content:"";border-bottom:2px solid;border-right:2px solid;flex:none;width:.52rem;height:.52rem;margin-inline:.15rem .3rem;transition:transform .18s;transform:rotate(45deg)translateY(-2px)}.story-builder-details[open]>summary:after,.story-builder-advanced[open]>summary:after{transform:rotate(225deg)translate(-2px,-2px)}.story-builder-details-panel{gap:.9rem;padding:.3rem 0 1.35rem 2.75rem;animation:.18s ease-out story-builder-reveal;display:grid}.story-builder-fields--details{grid-template-columns:repeat(3,minmax(0,1fr))}.story-builder-step--creation-mode{gap:.85rem;padding:1.15rem 0 1.3rem;display:grid}.story-creation-presets{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:0;padding:0 0 0 2.75rem;display:grid}.story-creation-preset{cursor:pointer;min-width:0;display:block;position:relative}.story-creation-preset input{opacity:0;width:1px;height:1px;position:absolute}.story-creation-preset>span{background:#ffffffc2;border:1px solid #193d3821;border-radius:.9rem;gap:.32rem;min-height:100%;padding:.85rem .9rem;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.story-creation-preset strong{color:var(--ink);font-size:.88rem}.story-creation-preset>span>span{color:var(--muted-strong);font-size:.74rem;font-weight:650;line-height:1.4}.story-creation-preset:hover>span{border-color:#40367e4d;transform:translateY(-1px)}.story-creation-preset input:checked+span{background:linear-gradient(145deg,#f1eefffa,#fff7f0eb);border-color:#6657b8;box-shadow:0 7px 16px #3c2f7e1a}.story-creation-preset input:focus-visible+span{outline-offset:2px;outline:3px solid #342c6e40}.story-creation-latency-note,.story-creation-custom-note{color:var(--muted-strong);margin:-.15rem 0 0 2.75rem;font-size:.74rem;font-weight:700;line-height:1.4}.story-builder-fields--details .story-lesson-scope-option{grid-column:auto}.story-lesson-scope-option{min-height:3.15rem;color:var(--ink);cursor:pointer;background:#ffffffa8;border:1px solid #193d3814;border-radius:.9rem;grid-column:span 3;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.65rem;padding:.62rem .72rem;display:grid;box-shadow:inset 0 1px #ffffffb3,0 8px 18px #193d380a}.story-lesson-scope-option input{accent-color:#5f4bb4;width:1.05rem;height:1.05rem;margin:0}.story-lesson-scope-option>span{gap:.14rem;min-width:0;display:grid}.story-lesson-scope-option strong{color:var(--ink);font-size:.84rem;line-height:1.1}.story-lesson-scope-option span span{color:var(--muted-strong);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:800;line-height:1.2;overflow:hidden}.story-lesson-scope-option:has(input:focus-visible){outline-offset:3px;outline:3px solid #5f4bb46b}.story-art-style-picker{border:none;grid-column:1/-1;min-width:0;margin:.15rem 0 0;padding:0}.story-art-style-picker summary{cursor:pointer;color:var(--ink);background:#ffffffb8;border:1px solid #193d381a;border-radius:1rem;justify-content:space-between;align-items:center;gap:.8rem;padding:.6rem .7rem;font-weight:800;display:flex}.story-art-style-picker fieldset{border:none;margin:.75rem 0 0;padding:0}.story-art-selected{align-items:center;gap:.75rem;min-width:0;display:inline-flex}.story-art-selected img{object-fit:cover;border-radius:.6rem;width:4.5rem;height:3.2rem}.story-art-auto-swatch{background:linear-gradient(135deg,#2c7380e0,#f9c25adb),repeating-linear-gradient(45deg,#ffffff73 0 5px,#ffffff14 5px 10px);border-radius:.6rem;width:4.5rem;height:3.2rem;display:block;box-shadow:inset 0 0 0 1px #193d381f}.story-art-selected span{min-width:0;display:grid}.story-art-selected span span{color:var(--muted-strong);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.story-art-style-picker legend{color:var(--muted-strong);text-transform:uppercase;margin:0 0 .55rem;padding:0;font-size:.78rem;font-weight:800}.story-art-style-options{grid-template-columns:repeat(auto-fit,minmax(8.1rem,1fr));gap:.65rem;display:grid}.story-art-style-option{cursor:pointer;background:#fffc;border:1px solid #193d381f;border-radius:.85rem;min-height:10.4rem;transition:border-color .16s,box-shadow .16s,transform .16s;position:relative;overflow:hidden}.story-art-style-option label{cursor:pointer;grid-template-rows:5.7rem auto;min-height:10.4rem;display:grid}.story-art-style-option:hover{border-color:#4c3e8b52;transform:translateY(-1px);box-shadow:0 12px 24px #193d381f}.story-art-style-option:has(input:checked){border-color:#5643adc7;box-shadow:0 0 0 3px #8069e02e,0 14px 28px #193d3824}.story-art-style-option input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.story-art-style-option:has(input:focus-visible){outline-offset:3px;outline:3px solid #5f4bb46b}.story-art-style-image-wrap{display:block;overflow:hidden}.story-art-style-image-wrap--auto{background:#ffffffa3;place-items:center;min-height:5.7rem;display:grid}.story-art-style-image-wrap--auto .story-art-auto-swatch{width:calc(100% - 1.2rem);height:calc(100% - 1.2rem);min-height:4.5rem}.story-art-style-option img{aspect-ratio:4/3;object-fit:cover;object-position:center 40%;width:100%;height:100%;min-height:0;transition:transform .18s}.story-art-style-option:hover img{transform:scale(1.06)}.story-art-style-option-copy{align-content:start;gap:.18rem;padding:.62rem .68rem .7rem;display:grid}.story-art-style-option-copy strong{color:var(--ink);font-size:.86rem;line-height:1.1}.story-art-style-option-copy span{-webkit-line-clamp:2;color:var(--muted-strong);-webkit-box-orient:vertical;font-size:.72rem;font-weight:700;line-height:1.2;display:-webkit-box;overflow:hidden}.story-art-style-preview-button{color:var(--ink);cursor:pointer;font:inherit;opacity:0;background:#ffffffe6;border:none;border-radius:999px;padding:.34rem .55rem;font-size:.72rem;font-weight:800;transition:opacity .16s,transform .16s;position:absolute;top:.45rem;right:.45rem;box-shadow:0 10px 22px #193d3829}.story-art-style-option:hover .story-art-style-preview-button,.story-art-style-preview-button:focus-visible{opacity:1}.story-art-style-preview-button:hover{transform:translateY(-1px)}.story-art-style-preview-button:focus-visible{outline-offset:3px;outline:3px solid #5f4bb46b}.story-art-preview-backdrop{z-index:60;padding:max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));background:#221c4875;place-items:center;display:grid;position:fixed;inset:0}.story-art-preview-panel{background:#fffffff5;border:1px solid #ffffff94;border-radius:1.2rem;width:min(100%,27rem);max-height:min(90svh,42rem);display:grid;position:relative;overflow:hidden;box-shadow:0 28px 68px #1c144e47}.story-art-preview-panel img{object-fit:contain;object-position:center;width:100%;height:auto;max-height:min(72svh,32rem)}.story-art-preview-copy{gap:.5rem;padding:1.1rem;display:grid}.story-art-preview-copy h3{color:var(--ink);margin:0;font-size:clamp(1.35rem,3vw,2rem);line-height:1}.story-art-preview-copy p{color:var(--muted-strong);margin:0;font-weight:800}.story-art-preview-close{z-index:1;color:var(--ink);cursor:pointer;font:inherit;background:#ffffffe6;border:none;border-radius:999px;padding:.5rem .75rem;font-size:.8rem;font-weight:800;position:absolute;top:.7rem;right:.7rem;box-shadow:0 10px 22px #193d3829}.story-art-preview-close:focus-visible{outline-offset:3px;outline:3px solid #5f4bb46b}.story-storyboard-checkpoint{background:#f8fbffc7;border:1px solid #193d381a;border-radius:1.1rem;gap:.8rem;padding:.9rem;display:grid}.story-storyboard-checkpoint h3,.story-storyboard-checkpoint p{margin:0}.story-storyboard-checkpoint ol{gap:.42rem;margin:0;padding:0;list-style:none;display:grid}.story-storyboard-checkpoint li{color:var(--ink);background:#ffffffc2;border-radius:.75rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.45rem;padding:.52rem .62rem;font-weight:700;display:grid}.story-storyboard-checkpoint li span{color:var(--muted-strong);text-transform:uppercase;font-size:.72rem}.story-validation-strip{flex-wrap:wrap;gap:.45rem;display:flex}.story-validation-pill{color:#2d6840;background:#e8f7ede6;border-radius:999px;padding:.35rem .55rem;font-size:.78rem;font-weight:800}.story-validation-pill--warning{color:#8b4b2d;background:#ffefdfeb}.story-builder-advanced{margin:0;overflow:clip}.story-builder-advanced summary{cursor:pointer;min-height:4.35rem;color:var(--ink);justify-content:space-between;align-items:center;gap:1rem;padding:.88rem 0;list-style:none;display:flex}.story-builder-advanced-panel{padding:.3rem 0 1.35rem 2.75rem;animation:.18s ease-out story-builder-reveal}.story-builder-fields--advanced{grid-template-columns:repeat(3,minmax(0,1fr))}.story-builder-fields--advanced .story-field--wide{grid-column:1/-1}.story-builder-actions{background:linear-gradient(115deg,#ffebddc7,#f4f1ffd1);border-top:1px solid #193d381a;border-radius:1rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;margin:0 -.35rem;padding:1.15rem 1.1rem;display:grid}.story-builder-action-copy{gap:.22rem;display:grid}.story-builder-action-copy .eyebrow,.story-builder-action-copy p{margin:0}.story-builder-action-copy .eyebrow{color:var(--muted-strong)}.story-builder-action-group{flex-wrap:wrap;align-items:center;gap:.65rem;min-width:0;display:flex}.story-builder-action-group--generation{justify-content:flex-end}.story-builder-action-group--output{justify-content:flex-start}.story-builder-actions .action-button{white-space:nowrap}.story-builder-actions p{max-width:42rem;color:var(--muted-strong);text-align:left;margin:0;font-size:.82rem;font-weight:700}.story-builder-actions p[role=status]{font-size:.74rem}.story-builder-generation-note{line-height:1.35}.story-builder-actions .story-builder-credit-note{color:#6b3555;font-weight:850}.story-builder-actions .action-button--primary{min-height:3.15rem;padding-inline:1.35rem;box-shadow:0 10px 22px #c7594333}@keyframes story-builder-reveal{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.story-builder-form,.story-builder-details-panel,.story-builder-advanced-panel{animation:none}.story-builder-step-number,.story-builder-details>summary:after,.story-builder-advanced>summary:after{transition:none}}.story-output-tools{border-top:1px solid #193d381a;border-bottom:1px solid #193d381a;grid-template-columns:minmax(0,1fr);align-items:start;gap:.7rem;padding:.95rem 0;display:grid}.story-output-tools h3,.story-output-tools p{margin:0}.story-output-tools .story-builder-action-group{justify-content:flex-start}.story-print-format{gap:.28rem;min-width:13.5rem;display:grid}.story-print-format span{color:var(--muted-strong);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:900}.story-print-format select{width:100%;min-width:0;color:var(--ink);font:inherit;background:#ffffffdb;border:1px solid #193d3814;border-radius:.9rem;padding:.72rem .85rem;font-weight:800}.story-instruction-check{background:#f1faf4c2;border-left:4px solid #468e669e;border-radius:.35rem 1rem 1rem .35rem;grid-template-columns:minmax(12rem,.65fr) minmax(0,1.35fr);gap:.9rem 1.1rem;padding:1rem;display:grid}.story-instruction-check h4,.story-instruction-check p,.story-instruction-check dl,.story-instruction-check dd{margin:0}.story-instruction-check-copy{align-content:start;gap:.3rem;display:grid}.story-instruction-check-copy h4{font-size:1.18rem}.story-instruction-check-copy>p:last-child{color:var(--muted-strong);font-size:.9rem}.story-instruction-check dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.story-instruction-check dl>div{border-left:1px solid #2d68402e;min-width:0;padding-left:.7rem}.story-instruction-check dt{color:#3f7652;letter-spacing:.08em;text-transform:uppercase;margin-bottom:.18rem;font-size:.68rem;font-weight:900}.story-instruction-check dd{color:var(--ink);font-size:.86rem;font-weight:750;line-height:1.35}.story-instruction-notes,.story-instruction-save-status{grid-column:1/-1}.story-instruction-notes{border-top:1px solid #2d684029;padding-top:.65rem}.story-instruction-notes summary{color:#7c462e;cursor:pointer;align-items:center;min-height:2.75rem;font-weight:850;display:flex}.story-instruction-notes ul{margin:.35rem 0 0;padding-left:1.25rem}.story-instruction-notes p,.story-instruction-notes li{color:#704932;font-size:.86rem}.story-instruction-save-status{color:#3f7652;font-size:.78rem;font-weight:800}@keyframes story-progress-sweep{0%{transform:translate(0)}to{transform:translate(390%)}}.why-these-words .story-instruction-check{background:0 0;border:0;border-radius:0;grid-template-columns:1fr;gap:.6rem;padding:0}.why-these-words .story-instruction-check dl{grid-template-columns:1fr}.story-workspace{gap:1rem;min-width:0;display:grid}.story-stage.story-startup{animation:none}.story-startup h2{color:var(--ink)}.story-workspace-nav{background:#ffffff7a;border:1px solid #193d381a;border-radius:1.15rem;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;padding:.35rem;display:grid}.story-workspace-tab{min-width:0;color:var(--muted-strong);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:.85rem;gap:.12rem;padding:.72rem .9rem;transition:background-color .16s,color .16s,box-shadow .16s;display:grid}.story-workspace-tab:hover:not(:disabled){color:var(--ink);background:#ffffffb3}.story-workspace-tab:focus-visible{outline-offset:3px;outline:3px solid #342c6e40}.story-workspace-tab--active{color:#fff;background:#3c317b;box-shadow:0 5px 14px #193d3829}.story-workspace-tab:disabled{cursor:not-allowed;opacity:.46}.story-workspace-tab-label{align-items:center;gap:.45rem;font-weight:850;display:flex}.story-workspace-tab-label>span{text-align:center;background:#ffffff2e;border-radius:999px;min-width:1.6rem;padding:.12rem .36rem;font-size:.7rem}.story-workspace-tab small{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:700;overflow:hidden}.story-workspace-panel{min-width:0;animation:.22s panel-rise}.story-reader-workspace{gap:1rem;min-width:0;display:grid}.story-read-handoff-tool-row{flex-wrap:wrap;align-items:end;gap:.55rem;display:flex}.story-read-handoff-check,.story-read-handoff-tools,.story-read-handoff-status,.story-read-handoff-warning{grid-column:1/-1}.story-read-handoff-check,.story-read-handoff-tools{border-top:1px solid #2d684024}.story-read-handoff-status,.story-read-handoff-warning{margin:0;font-size:.84rem;font-weight:750}.story-read-handoff-status{color:var(--muted-strong)}.story-read-handoff-warning{color:#794336}.story-read-handoff-check>summary,.story-read-handoff-tools>summary{min-height:2.75rem;color:var(--muted-strong);cursor:pointer;align-items:center;font-weight:820;display:flex}.story-read-handoff-check .story-instruction-check{margin-bottom:.35rem}.story-read-handoff-tool-row{padding:.2rem 0 .65rem}.story-generation-failure{color:#54251d;background:#fff4ee;border:1px solid #9f3e2947;border-left:.4rem solid #a6402e;border-radius:1rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1rem 1.1rem;display:grid;box-shadow:0 8px 22px #5f261b14}.story-generation-failure h3,.story-generation-failure p{margin:0}.story-generation-failure>div:first-child{gap:.42rem;display:grid}.story-generation-failure-detail{color:#794336;font-size:.82rem;font-weight:750}.story-generation-credit-status{font-weight:820}.story-generation-failure-detail summary{cursor:pointer;align-items:center;min-height:2.5rem;display:flex}.story-generation-failure-detail dl{gap:.35rem;margin:0 0 .25rem;display:grid}.story-generation-failure-detail dl>div{grid-template-columns:5rem minmax(0,1fr);gap:.6rem;display:grid}.story-generation-failure-detail dt{font-weight:900}.story-generation-failure-detail dd{overflow-wrap:anywhere;min-width:0;margin:0}.story-generation-failure-actions{flex-wrap:wrap;justify-content:flex-end;gap:.55rem;display:flex}.story-generation-failure-actions button{color:#54251d;cursor:pointer;min-height:2.75rem;font:inherit;background:#fff;border:1px solid #54251d33;border-radius:.8rem;padding:.62rem .9rem;font-weight:820}.story-generation-failure-actions button:first-child{color:#fff;background:#743426;border-color:#743426}@media (width<=720px){.story-workspace{gap:.75rem}.story-workspace-nav{top:max(.5rem, env(safe-area-inset-top));z-index:12;position:sticky}.story-workspace-tab{text-align:center;justify-items:center;padding:.7rem .45rem}.story-workspace-tab small{display:none}.story-generation-failure{grid-template-columns:1fr}.story-read-handoff-check,.story-read-handoff-tools,.story-read-handoff-status,.story-read-handoff-warning{grid-column:auto}.story-generation-failure-actions{justify-content:stretch}.story-generation-failure-actions button{flex:9rem}}.story-stage{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.stage-meta,.stage-controls,.story-stage-meta,.story-controls{justify-content:space-between;align-items:center;gap:1rem;display:flex}.story-stage-meta-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.story-preview-mode-switch{background:#ffffffc7;border-radius:999px;padding:.28rem;box-shadow:0 14px 28px #193d381a}.story-preview-mode-switch .mode-button{text-transform:capitalize;min-width:6.5rem}.lesson-pill,.progress-pill{color:var(--ink);background:#ffffffc2;border-radius:999px;align-items:center;padding:.7rem 1rem;font-weight:700;display:inline-flex;box-shadow:0 14px 28px #193d381a}.progress-pill{color:var(--muted-strong)}.story-stage-meta{z-index:1;position:relative}.story-stage-meta h2{margin:0;font-size:clamp(1.9rem,4vw,3.2rem)}.story-stage--empty{text-align:center;justify-content:center;align-items:center;min-height:14rem}.story-stage--empty h2,.story-stage--empty p{margin:0}.story-stage--empty div{gap:.45rem;max-width:32rem;display:grid}.story-stage--empty p:last-child{color:var(--muted-strong);font-weight:800}.story-page{z-index:1;flex:1;grid-template-columns:minmax(0,.95fr) minmax(20rem,1.05fr);gap:1rem;min-height:0;display:grid;position:relative}.story-image-actions{z-index:3;justify-items:end;gap:.4rem;display:grid;position:absolute;top:.8rem;right:.8rem}.story-image-options-trigger{width:2.35rem;height:2.35rem;color:var(--muted-strong);opacity:0;background:#ffffffc2;border:0;border-radius:999px;place-items:center;transition:opacity .16s,transform .16s,background .16s,color .16s;display:grid;transform:scale(.96)}.story-image-pane:hover .story-image-options-trigger,.story-image-options-trigger:focus-visible,.story-image-options-trigger[aria-expanded=true]{opacity:1;transform:scale(1)}.story-image-options-trigger:hover,.story-image-options-trigger:focus-visible,.story-image-options-trigger[aria-expanded=true]{color:var(--ink);background:#fffffff0;outline:none;box-shadow:0 12px 26px #193d3824}.story-image-menu{background:#fffffff5;border-radius:.5rem;width:min(18rem,100vw - 2rem);padding:.55rem;box-shadow:0 18px 36px #193d382e}.story-image-menu-label{color:var(--muted-strong);letter-spacing:0;text-transform:uppercase;margin:0 0 .3rem;font-size:.72rem;font-weight:900;display:block}.story-image-redraw-note{resize:vertical;width:100%;min-height:4.75rem;color:var(--ink);font:inherit;-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;background:#ffffffe6;border:1px solid #6f62b138;border-radius:.45rem;padding:.65rem .7rem;font-size:.88rem;line-height:1.35}.story-image-redraw-note:focus-visible{border-color:#4c68ff94;outline:3px solid #4c68ff2e}.story-image-menu button{width:100%;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;border-radius:.45rem;margin-top:.45rem;padding:.68rem .8rem;font-size:.9rem;font-weight:800}.story-image-menu button:hover,.story-image-menu button:focus-visible{background:#4c68ff1a;outline:none}.story-stage--reader-focus{min-height:100%;animation:none}.story-stage--reader-focus .story-stage-meta{justify-content:flex-end}.story-stage--reader-focus .story-stage-meta-actions>.action-button{min-height:2.75rem}.story-stage--reader-focus .story-preview-mode-switch,.story-stage--reader-focus .story-stage-meta-copy,.story-stage--reader-focus .story-focus-card,.story-stage--reader-focus .story-hint{display:none}.story-stage--reader-focus .story-page{align-items:stretch}.story-stage--reader-focus .story-reading-pane,.story-stage--reader-focus .story-image-pane{min-height:0}.story-stage--reader-focus .story-reading-pane{overscroll-behavior:none;justify-content:center;padding-block:1rem;overflow:hidden}.story-stage--reader-focus .story-image-pane{min-height:clamp(16rem,42svh,28rem)}.story-stage--reader-focus .story-encoding-overlay{overscroll-behavior:none;touch-action:none;padding:0;position:fixed;inset:0}.story-stage--reader-focus .story-encoding-overlay-card{overscroll-behavior:none;width:100%;height:100dvh;max-height:none;padding:max(1rem, env(safe-area-inset-top)) max(1.2rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1.2rem, env(safe-area-inset-left));box-shadow:none;touch-action:none;border:none;border-radius:0;align-content:start;gap:.9rem;overflow:hidden}.story-stage--reader-focus .story-encoding-overlay-copy{gap:.3rem}.story-stage--reader-focus .story-encoding-overlay-header{gap:.75rem}.story-stage--reader-focus .story-encoding-overlay-back{padding:.6rem .85rem;font-size:.92rem}.story-stage--reader-focus .story-encoding-overlay-meta{gap:.8rem}.story-stage--reader-focus .story-encoding-overlay-actions{gap:.5rem}.story-stage--reader-focus .story-encoding-overlay-actions .action-button{min-width:6.25rem;padding:.72rem 1rem;font-size:.96rem}.story-stage--reader-focus .story-action-icon{width:1rem;height:1rem}.story-stage--reader-focus .story-spelling-slot{width:clamp(3.2rem,6.6vw,4rem);height:clamp(3.6rem,7.2vw,4.4rem);font-size:clamp(1.8rem,4.2vw,2.5rem)}.story-stage--reader-focus .story-alphabet-board{gap:.7rem;padding:.65rem .85rem 1.05rem}.story-stage--reader-focus .story-alphabet-row{gap:.65rem}.story-stage--reader-focus .story-alphabet-tile{min-width:clamp(2.7rem,5.8vw,3.5rem);min-height:clamp(2.7rem,5.8vw,3.5rem);font-size:clamp(1.6rem,3.5vw,2.15rem);box-shadow:4px 4px #0f17201f}.story-stage--reader-focus .story-alphabet-tile--faded{box-shadow:3px 3px #0f172014}.story-reading-pane,.story-image-pane{background:#ffffff85;border-radius:1.65rem;min-width:0;box-shadow:inset 0 1px #ffffff8c}.story-reading-pane{-webkit-user-select:none;user-select:none;flex-direction:column;justify-content:center;gap:1.2rem;padding:1.2rem;display:flex}.story-reading-pane .sentence-measurement,.story-reading-pane .sentence-layout{font-size:var(--story-reading-font-size,clamp(3rem, 5.9vw, 5.4rem))}.story-reading-pane .sentence-measurement,.story-reading-pane .sentence-layout,.story-completed-word,.story-word-slot,.story-encoding-punctuation,.story-spelling-slot,.story-alphabet-tile,.word-surface,.sentence-measurement,.sentence-layout{font-family:var(--reader-font-family)}.story-reading-pane .sentence-layout{max-width:100%}.story-focus-card{justify-content:space-between;align-items:center;gap:1rem;display:flex}.story-focus-card p,.story-status{color:var(--muted-strong);margin:0;font-weight:700}.story-encoding-panel{gap:1.2rem;display:grid}.story-encoding-sentences{gap:1.3rem;display:grid}.story-encoding-sentence{flex-wrap:wrap;align-items:flex-end;gap:1rem .9rem;display:flex}.story-encoding-word{width:auto;min-width:0;min-height:5.35rem;color:var(--ink);box-shadow:none;background:0 0;border:none;border-radius:.9rem;align-content:end;justify-items:center;gap:.5rem;padding:.3rem .35rem .2rem .5rem;display:inline-grid}.story-encoding-word--heard{background:0 0}.story-encoding-word--complete{background:0 0;padding-inline:.45rem;position:relative}.story-encoding-word--complete:after{content:"";position:absolute;inset:0 min(0px,50% - 22px)}.story-encoding-word--locked{cursor:not-allowed;opacity:.58}.story-completed-word{color:#235531;letter-spacing:.03em;border-bottom:.12rem solid #548d583d;justify-content:center;align-items:center;min-height:2.4rem;padding:0 .05rem .12rem;font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:800;display:inline-flex}.story-encoding-word-audio{color:#193d38eb;background:#c4e5f4b8;border-radius:999px;place-items:center;width:3rem;height:3rem;display:grid;position:relative;box-shadow:inset 0 1px #fffc}.story-encoding-word--locked .story-encoding-word-audio,.story-encoding-word--complete .story-encoding-word-audio{display:none}.story-encoding-word-content{justify-content:center;align-items:baseline;gap:.06rem;min-height:2.9rem;display:inline-flex}.story-word-slots{flex-wrap:wrap;justify-content:center;gap:.55rem;display:flex}.story-word-slots--compact{flex-wrap:nowrap;justify-content:center;gap:.42rem}.story-word-slot{text-transform:lowercase;background:#c4e5f44d;border-bottom:.3rem solid #193d3852;border-radius:.45rem .45rem .15rem .15rem;place-items:center;width:clamp(2.4rem,6vw,3.35rem);height:clamp(2.9rem,7vw,3.7rem);font-weight:800;display:grid}.story-word-slot--filled{background:#fffffff0}.story-word-slots--compact .story-word-slot{background:#c4e5f429;border-bottom-width:.26rem;border-radius:.18rem .18rem 0 0;width:clamp(1.5rem,3vw,2rem);height:clamp(2rem,4vw,2.7rem)}.story-speaker-icon{width:1.35rem;height:1.35rem}.story-encoding-punctuation{color:var(--ink);font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:800;line-height:1}.story-encoding-word-loading{border-radius:inherit;border:.18rem solid #193d381f;border-top-color:#193d3875;animation:.9s linear infinite story-audio-spin;position:absolute;inset:-.2rem}.story-audio-error{color:#8f2f2f;margin:0;font-weight:700}.story-hint{text-align:left;max-width:32rem}.story-image-pane{min-height:28rem;padding:.8rem;display:grid;position:relative}.story-encoding-overlay{z-index:3;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#f1f6fbc2;place-items:center;padding:1.5rem;display:grid;position:absolute;inset:0}.story-encoding-overlay-card{background:radial-gradient(circle at 0 0,#fffffff5,#0000 42%),#fffffff5;border:3px solid #193d3829;border-radius:1.8rem;gap:1.1rem;width:min(58rem,100%);max-height:min(92svh,58rem);padding:clamp(1.2rem,3vw,1.8rem);display:grid;overflow:auto;box-shadow:0 28px 58px #193d382e,inset 0 1px #ffffffbf}.story-encoding-overlay-copy h3,.story-encoding-overlay-copy p{margin:0}.story-encoding-overlay-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.story-encoding-overlay-copy{flex:1;gap:.45rem;min-width:0;display:grid}.story-encoding-overlay-back{flex:none;min-width:auto}.story-encoding-overlay-meta{justify-items:center;gap:1rem;display:grid}.story-spelling-slots{flex-wrap:wrap;justify-content:center;gap:.65rem;display:flex}.story-spelling-slot{width:clamp(3.5rem,8vw,4.6rem);height:clamp(4rem,9vw,5rem);color:var(--ink);text-transform:lowercase;background:#c4e5f442;border:3px solid #193d382e;border-bottom-width:.4rem;border-radius:1rem;place-items:center;font-size:clamp(2rem,5vw,2.8rem);font-weight:800;display:grid}.story-spelling-slot--filled{background:#ffffffeb}.story-spelling-slot-placeholder{border-bottom:.22rem solid #193d3838;width:60%}.story-spelling-success{color:#3d7a48;margin:0;font-weight:800}.story-spelling-status{place-items:center;min-height:1.5rem;display:grid}.story-spelling-retry{color:#8a5a12;margin:0;font-weight:700}.story-spelling-slots--retry .story-spelling-slot{background:#fbf1dc;border-bottom-color:#c98a1f;animation:.32s story-spelling-retry-nudge}@keyframes story-spelling-retry-nudge{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}@media (prefers-reduced-motion:reduce){.story-spelling-slots--retry .story-spelling-slot{animation:none}}.story-spelling-slot--peek{color:var(--accent,#216a57);opacity:.72}.story-audio-note{text-align:center;justify-self:center;max-width:32rem;margin:0}.story-encoding-overlay-actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.story-action-button-content{justify-content:center;align-items:center;gap:.45rem;display:inline-flex}.story-action-icon{flex:none;width:1.1rem;height:1.1rem}.story-encoding-overlay-actions .action-button{min-width:7rem}.story-encoding-overlay-actions .action-button--quiet{color:var(--muted-strong);background:#ffffff80}.story-alphabet-board{touch-action:manipulation;background:radial-gradient(circle at 0 0,#ffffffc7,#0000 38%),#c4e5f452;border-radius:1.5rem;justify-items:center;gap:.85rem;padding:1rem;display:grid}.story-alphabet-row{grid-template-columns:repeat(7,minmax(0,1fr));gap:.8rem;display:grid}.story-alphabet-row:last-child{grid-template-columns:repeat(5,minmax(0,1fr))}.story-alphabet-tile{color:#0f1720;text-transform:lowercase;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#a9d7e8;border:3px solid #282537d1;border-radius:1rem;place-items:center;min-width:clamp(3rem,7vw,4rem);min-height:clamp(3rem,7vw,4rem);padding:0 0 .12em;font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.15;transition:transform 60ms,box-shadow 60ms;display:grid;box-shadow:6px 6px #0f172024}.story-alphabet-tile--available{opacity:1}.story-alphabet-tile--faded{color:#0f17206b;background:#dce5ea;border-color:#28253759;box-shadow:4px 4px #0f172014}.story-alphabet-tile--target{background:#ffd782}.story-alphabet-tile:disabled{opacity:.6}.scratch-frame{cursor:default;touch-action:none;-webkit-user-select:none;user-select:none;background:radial-gradient(circle at 20% 15%,#fffc,#0000 32%),linear-gradient(150deg,#ffe9ce,#dff0f7 58%,#eadfff);border-radius:1.25rem;place-items:center;min-height:100%;display:grid;position:relative;overflow:hidden}.scratch-frame[data-enabled=true]{cursor:grab}.scratch-frame[data-scratching=true]{cursor:grabbing}.story-image{object-fit:contain;width:min(100%,32rem);height:min(100%,32rem);box-shadow:0 22px 40px #193d3829}.story-image[data-decoded=false]{visibility:hidden}.scratch-cover{touch-action:none;width:calc(100% + 2px);height:calc(100% + 2px);position:absolute;inset:-1px}.scratch-cover[data-fading=true]{opacity:0;transition:opacity .25s ease-out}@media (prefers-reduced-motion:reduce){.scratch-cover[data-fading=true]{transition:none}}.scratch-message{color:var(--ink);text-align:center;background:#ffffffd6;border-radius:1.1rem;justify-items:center;gap:.25rem;padding:.85rem 1rem;font-weight:800;display:grid;position:absolute;inset:auto 1rem 1rem;box-shadow:0 16px 32px #193d381f}.scratch-message small{color:var(--muted-strong);font-size:.8rem}.scratch-frame[data-image-status=pending] .story-image,.scratch-frame[data-image-status=failed] .story-image{opacity:.78}.scratch-frame[data-image-status=pending] .scratch-message,.scratch-frame[data-image-status=failed] .scratch-message{background:#ffffffeb;max-width:min(24rem,100% - 2rem);inset:auto 1rem 1rem}.story-controls{z-index:1;position:relative}.story-focus-toggle{white-space:nowrap}.story-page-navigation{white-space:nowrap;justify-content:center;align-items:center;gap:.35em;display:inline-flex}.story-page-direction-icon{flex:0 0 1.1em;width:1.1em;height:1.1em}@keyframes story-audio-spin{to{transform:rotate(360deg)}}.story-encoding-readable-word{min-height:2.9rem;color:var(--ink);font-family:var(--reader-font-family);letter-spacing:.03em;align-items:flex-end;padding:.3rem .5rem .36rem;font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:800;display:inline-flex}.story-library{background:#ffffff70;border-radius:1.8rem;grid-template-columns:minmax(0,1fr);gap:1rem;min-width:0;padding:1.25rem;display:grid}.story-library-header{justify-content:space-between;align-items:flex-start;gap:1rem;min-width:0;display:flex}.story-library-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:.55rem;min-width:0;display:flex}.story-library-header h2,.story-library-expanded h3{margin:0}.story-library-refresh-status,.story-library-header p:last-child,.story-library-summary,.story-library-synopsis,.story-library-meta{color:var(--muted-strong);margin:0}.story-library-refresh-status{font-size:.86rem;font-weight:800}.story-library-synopsis{color:var(--ink);font-weight:700}.story-library-gallery{grid-template-columns:repeat(auto-fit,minmax(10.5rem,1fr));gap:.7rem;display:grid}.story-library-browser,.story-library-shelf{gap:1rem;min-width:0;display:grid}.story-library-inspector{min-width:0;scroll-margin-top:5.5rem}.story-library-inspector:empty{display:none}.story-library-toolbar{grid-template-columns:minmax(10rem,auto) minmax(14rem,1fr) minmax(9rem,auto) minmax(9rem,auto);gap:.75rem;min-width:0;display:grid}.story-library-toolbar label{color:var(--muted-strong);text-transform:uppercase;gap:.32rem;font-size:.76rem;font-weight:800;display:grid}.story-library-toggle{align-self:end}.story-library-toggle-control{min-height:2.8rem;color:var(--ink);text-transform:none;background:#ffffffd1;border:1px solid #193d381a;border-radius:.85rem;align-items:center;gap:.45rem;padding:.72rem .82rem;font-size:.95rem;font-weight:700;display:inline-flex}.story-library-toggle input{width:1rem;height:1rem;margin:0}.story-library-toolbar input,.story-library-toolbar select{min-width:0;min-height:2.8rem;color:var(--ink);font:inherit;text-transform:none;background:#ffffffd1;border:1px solid #193d381a;border-radius:.85rem;padding:.72rem .82rem}.story-library-empty{color:var(--muted-strong);background:#ffffffb8;border-radius:1rem;grid-column:1/-1;margin:0;padding:1rem;font-weight:800}.story-library-pagination{justify-content:center;align-items:center;gap:.8rem;padding-top:.25rem;display:flex}.story-library-pagination p{color:var(--muted-strong);margin:0;font-size:.86rem;font-weight:800}@media (width<=720px){.story-library-pagination{text-align:center;flex-direction:column;align-items:stretch}}.story-library-cover{min-width:0}.story-library-cover[data-archived=true],.story-library-expanded[data-archived=true]{opacity:.82}.story-library-cover-button{width:100%;min-width:0;min-height:100%;color:var(--ink);cursor:pointer;font:inherit;text-align:left;background:#ffffffbd;border:1px solid #193d381a;border-radius:.85rem;grid-template-rows:auto 1fr auto;gap:.55rem;padding:.52rem;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid;box-shadow:0 7px 18px #193d3811}.story-library-cover-button:hover{transform:translateY(-2px);box-shadow:0 12px 24px #193d381a}.story-library-cover-button:focus-visible{outline-offset:4px;outline:3px solid #342c6e40}.story-library-cover-button[aria-expanded=true],.story-library-cover--active .story-library-cover-button{border-color:#5a70c65c;box-shadow:0 10px 24px #193d381c,inset 0 0 0 2px #5a70c61f}.story-library-cover-art{aspect-ratio:1/1.18;background:#fffefae6;border-radius:.65rem;display:block;position:relative;overflow:hidden}.story-library-cover-art img,.story-library-expanded-media img{object-fit:cover;width:100%;height:100%;display:block}.story-library-cover-status{max-width:calc(100% - .84rem);color:var(--muted-strong);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;background:#ffffffeb;border-radius:999px;padding:.28rem .45rem;font-size:.68rem;font-weight:900;position:absolute;bottom:.42rem;right:.42rem;overflow:hidden}.story-library-cover-copy{gap:.18rem;min-width:0;padding:0 .12rem;display:grid}.story-library-cover-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.98rem;font-weight:800;line-height:1.08;display:-webkit-box;overflow:hidden}.story-library-cover-line{color:var(--muted-strong);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:800;overflow:hidden}.story-library-cover-badges{align-items:center;gap:.28rem;min-height:1.28rem;padding:0 .12rem .02rem;display:flex;overflow:hidden}.story-library-cover-badges span{max-width:100%;color:var(--muted-strong);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;background:#fffefae6;border-radius:999px;flex:none;padding:.22rem .38rem;font-size:.66rem;font-weight:900;overflow:hidden}.story-library-expanded{background:#ffffffc7;border:1px solid #193d381a;border-radius:1rem;grid-template-columns:minmax(0,1fr);align-items:start;gap:1rem;padding:1rem;animation:.24s panel-rise;display:grid;box-shadow:0 16px 30px #193d3814}.story-library-expanded-media{aspect-ratio:1/1.18;background:#fffefae6;border-radius:.8rem;overflow:hidden}.story-library-expanded-body{gap:.85rem;min-width:0;display:grid}.story-library-expanded-header,.story-library-actions,.story-library-chip-row{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.story-library-expanded-header .eyebrow{color:var(--muted-strong);margin:0 0 .12rem}.story-library-actions{flex-wrap:wrap;justify-content:flex-end;max-width:25rem}.story-library-chip-row{flex-wrap:wrap;justify-content:flex-start}.story-library-details{background:#fffefab3;border:1px solid #193d3814;border-radius:.85rem;padding:.8rem .95rem}.story-library-details summary{cursor:pointer;font-weight:800}.story-library-details .story-library-summary{margin-top:.7rem}.story-library-pages{margin:.85rem 0 0;padding-left:1.2rem}.story-library-pages li+li{margin-top:.45rem}.story-library-debug{gap:.8rem;margin-top:.85rem;display:grid}.story-library-debug p,.story-library-debug pre{margin:0}.story-library-debug pre{white-space:pre-wrap;word-break:break-word;background:#ffffffd1;border-radius:.85rem;padding:.8rem;font-size:.9rem;line-height:1.45}.story-library-prompt-block{gap:.35rem;display:grid}.story-library-warning{color:#8e3d3d;font-weight:700}@media (prefers-reduced-motion:reduce){.story-library-expanded{animation:none}}.bookshelf-tab-list{border-bottom:1px solid var(--line,#193d3829);margin:0 0 1rem;display:flex}.bookshelf-tab{min-height:48px;color:var(--muted-strong,#4d5b57);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;flex:1 1 0;justify-content:center;align-items:center;gap:.45rem;margin-bottom:-1px;padding:.6rem .75rem;font-weight:700;display:inline-flex}.bookshelf-tab:hover{color:var(--ink)}.bookshelf-tab:focus-visible{outline:3px solid var(--accent);outline-offset:-3px;border-radius:.4rem .4rem 0 0}.bookshelf-tab[aria-selected=true]{border-bottom-color:var(--accent);color:var(--ink)}.bookshelf-tab-count{background:var(--accent-soft);min-width:1.6rem;color:var(--ink);border-radius:999px;padding:.05rem .45rem;font-size:.82rem;line-height:1.4}@media (width>=721px){.bookshelf-tab{flex:none;padding-inline:1.25rem}}.story-library-cover-art>.book-saved-mark{position:absolute;top:.45rem;right:.45rem;box-shadow:0 1px 3px #00000040}.letter-lab-header{z-index:1;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex;position:relative}.letter-lab-header h2,.letter-lab-locked h2{margin:.2rem 0 0;font-size:clamp(2rem,4vw,3.4rem);line-height:1.02}.letter-lab-header p,.letter-lab-locked p,.letter-lab-panel p{color:var(--muted-strong);margin:.45rem 0 0}.letter-lab-status{justify-items:end;gap:.5rem;display:grid}.letter-lab-grid{z-index:1;flex:1;grid-template-columns:minmax(0,1.1fr) minmax(18rem,.72fr);gap:1rem;min-height:0;display:grid;position:relative}.letter-lab-panel{background:#ffffff8a;border:1px solid #382b6e1f;border-radius:1.25rem;flex-direction:column;gap:1rem;min-width:0;padding:clamp(1rem,2vw,1.35rem);display:flex;box-shadow:inset 0 1px #ffffffa3}.letter-lab-panel--trace{align-items:stretch}.letter-lab-panel--practice{justify-content:space-between}.letter-lab-letter-tabs{background:#ffffffa8;border-radius:999px;align-self:flex-start;gap:.6rem;padding:.35rem;display:inline-flex}.letter-lab-letter-tab{min-width:4.2rem;min-height:3.4rem;color:var(--ink);font-family:var(--learner-font);background:0 0;border-radius:999px;font-size:2.3rem;line-height:1}.letter-lab-letter-tab[aria-pressed=true]{background:var(--ink);color:#fff}.letter-lab-trace-shell{grid-template-columns:minmax(16rem,28rem) minmax(12rem,1fr);align-items:center;gap:1rem;display:grid}.letter-lab-trace-board{aspect-ratio:5/7;touch-action:none;-webkit-user-select:none;user-select:none;background-color:#ffffffd1;background-image:linear-gradient(90deg,#5340ff12 1px,#0000 1px),linear-gradient(#5340ff12 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border-radius:1.1rem;width:100%;max-height:min(58svh,34rem);box-shadow:inset 0 0 0 1px #382b6e1a,0 18px 32px #3527751a}.letter-lab-guide-track{fill:none;stroke:#382b6e21;stroke-linecap:round;stroke-linejoin:round;stroke-width:23px}.letter-lab-baseline{stroke:#382b6e33;stroke-dasharray:4 4;stroke-width:1.8px}.letter-lab-arrow-path{fill:none;stroke:#ff705557;stroke-linecap:round;stroke-linejoin:round;stroke-width:6.4px}.letter-lab-arrow-segment{fill:none;stroke:#ff704f;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2px}.letter-lab-arrow-marker{fill:none;stroke:#ff704f;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px}.letter-lab-step-dot{fill:#fffffff2;stroke:#ff704f;stroke-width:2.4px;transition:r .14s,fill .14s}.letter-lab-step-dot--active{fill:#ff704f;stroke:#fff}.letter-lab-step-dot--done{fill:var(--ink);stroke:#fff}.letter-lab-step-dot-label{fill:var(--ink);font-family:var(--font-body);pointer-events:none;-webkit-user-select:none;user-select:none;font-size:5px;font-weight:900}.letter-lab-step-dot-label--strong{fill:#fff}.letter-lab-trace-ink{fill:none;stroke:#2f2868;stroke-linecap:round;stroke-linejoin:round;stroke-width:7px}.letter-lab-trace-ink-dot{fill:#2f2868}.letter-lab-step-list{color:var(--muted-strong);gap:.65rem;margin:0;padding-left:1.2rem;font-weight:700;display:grid}.letter-lab-step-list li{border-radius:.9rem;padding:.7rem .75rem}.letter-lab-step-list-item--active{color:var(--ink);background:#ffffffb8}.letter-lab-actions,.letter-lab-choice-row{flex-wrap:wrap;gap:.7rem;display:flex}.letter-lab-feedback{min-height:1.5rem;color:var(--ink);font-weight:800}.letter-lab-save-status,.letter-lab-note{font-size:.92rem}.letter-lab-discrimination{gap:.8rem;display:grid}.letter-lab-prompt{color:var(--ink);margin:0;font-size:clamp(1.35rem,2.5vw,2rem);font-weight:900}.letter-lab-choice{aspect-ratio:1;width:7rem;color:var(--ink);font-family:var(--learner-font);background:#ffffffc7;border-radius:1.1rem;font-size:clamp(3.2rem,8vw,5rem);line-height:1;box-shadow:0 16px 30px #3f367c1a}.letter-lab-choice:active{transform:translateY(1px)scale(.99)}.letter-lab-word-list{flex-wrap:wrap;gap:.55rem;display:flex}.letter-lab-word-list span{color:var(--ink);font-family:var(--learner-font);background:#ffffffb8;border-radius:.85rem;padding:.48rem .75rem;font-size:1.2rem;font-weight:800}.letter-lab-locked{z-index:1;place-content:center;justify-items:start;max-width:42rem;min-height:18rem;display:grid;position:relative}.letter-conveyor-panel,.letter-sound-recorder-panel{z-index:1;background:#ffffff8a;border:1px solid #382b6e1f;border-radius:1.25rem;gap:.95rem;padding:clamp(1rem,2vw,1.35rem);display:grid;position:relative;box-shadow:inset 0 1px #ffffffa3}.letter-lab-privacy-note{color:var(--muted-strong);background:#deeff8b3;border-radius:.9rem;margin:0;padding:.9rem 1rem}.letter-sound-recorder-header h3{color:var(--ink);margin:0;font-size:clamp(1.35rem,2.4vw,2rem);line-height:1}.letter-sound-recorder-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;display:grid}.letter-sound-recorder-item{background:#ffffffad;border-radius:1rem;grid-template-columns:1fr 1fr;align-items:center;gap:.55rem;min-width:0;padding:.75rem;display:grid}.letter-sound-recorder-letter{color:var(--ink);font-family:var(--learner-font);font-size:clamp(2.2rem,5vw,3.3rem);line-height:1}.letter-sound-recorder-state{color:var(--muted-strong);text-transform:uppercase;justify-self:end;font-size:.82rem;font-weight:900}.letter-sound-recorder-item .action-button{grid-column:span 1;min-width:0;padding-inline:.6rem}.letter-conveyor-header,.letter-conveyor-controls,.letter-conveyor-scoreboard{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.letter-conveyor-header{justify-content:space-between}.letter-conveyor-header h3{color:var(--ink);margin:0;font-size:clamp(1.6rem,3vw,2.4rem);line-height:1}.letter-conveyor-controls{justify-content:space-between}.letter-conveyor-targets{background:#ffffffa8;border-radius:999px;gap:.5rem;padding:.35rem;display:inline-flex}.letter-conveyor-target{min-width:3.6rem;min-height:3rem;color:var(--ink);cursor:pointer;font:inherit;font-family:var(--learner-font);background:0 0;border:none;border-radius:999px;font-size:2rem;line-height:1}.letter-conveyor-target[aria-pressed=true]{background:var(--ink);color:#fff}.letter-conveyor-speed{min-width:min(15rem,100%);color:var(--ink);grid-template-columns:auto minmax(7rem,1fr) 1.5rem;align-items:center;gap:.55rem;font-weight:900;display:grid}.letter-conveyor-speed input{width:100%;accent-color:var(--ink);cursor:pointer;touch-action:pan-y}.letter-conveyor-speed output{font-variant-numeric:tabular-nums;text-align:center}.letter-conveyor-track{touch-action:manipulation;background:linear-gradient(#0000 32.5%,#382b6e1f 32.5% 33.2%,#0000 33.2% 65.8%,#382b6e1f 65.8% 66.5%,#0000 66.5%),radial-gradient(circle at 20% 0,#ffffffe6,#0000 30%),#f8faffdb;border-radius:1.2rem;height:clamp(14rem,34svh,24rem);position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #382b6e1a,inset 0 1px #ffffffb8}.letter-conveyor-lane{pointer-events:none;background:#fffc;height:.2rem;position:absolute;left:0;right:0}.letter-conveyor-lane--one{top:33%}.letter-conveyor-lane--two{top:66%}.letter-conveyor-token-motion{top:var(--lane-y);width:calc(100% + 11rem);animation:letter-conveyor-glide var(--token-duration) linear forwards;pointer-events:none;will-change:transform;position:absolute;left:-5.5rem;transform:translateY(-50%)}.letter-conveyor-token{aspect-ratio:1;width:clamp(4.3rem,10vw,6.2rem);color:var(--ink);cursor:pointer;font:inherit;font-family:var(--learner-font);pointer-events:auto;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:#ffffffe6;border:3px solid #382b6e29;border-radius:1rem;place-items:center;font-size:clamp(3.1rem,8vw,5rem);line-height:.9;display:grid;position:relative;box-shadow:0 18px 32px #35277521}.letter-conveyor-token:after{content:"";opacity:0;pointer-events:none;border:.28rem solid #0000;border-radius:1.35rem;position:absolute;inset:-.65rem}.letter-conveyor-token:disabled{cursor:default;opacity:1}.letter-conveyor-token-letter{grid-area:1/1;line-height:.9}.letter-conveyor-token-feedback{z-index:1;color:#fff;font-family:var(--font-body);text-shadow:0 2px #0000001f;grid-area:1/1;font-size:clamp(2.3rem,6vw,3.7rem);font-weight:900;line-height:1}.letter-conveyor-sparkles{pointer-events:none;position:absolute;inset:-1.2rem}.letter-conveyor-sparkles span{aspect-ratio:1;background:#ffd95a;border-radius:50%;width:.5rem;animation:.42s ease-out forwards letter-conveyor-sparkle;position:absolute;top:50%;left:50%;box-shadow:0 0 .5rem #ffd95acc}.letter-conveyor-sparkles span:first-child{--sparkle-x:-3.2rem;--sparkle-y:-2.2rem}.letter-conveyor-sparkles span:nth-child(2){--sparkle-x:0;--sparkle-y:-3.4rem}.letter-conveyor-sparkles span:nth-child(3){--sparkle-x:3.2rem;--sparkle-y:-2rem}.letter-conveyor-sparkles span:nth-child(4){--sparkle-x:3rem;--sparkle-y:2.2rem}.letter-conveyor-sparkles span:nth-child(5){--sparkle-x:0;--sparkle-y:3.3rem}.letter-conveyor-sparkles span:nth-child(6){--sparkle-x:-3rem;--sparkle-y:2rem}.letter-conveyor-token-motion--correct,.letter-conveyor-token-motion--incorrect{animation-play-state:paused}.letter-conveyor-token--correct{color:#fff;background:#28a861;border-color:#168a4a;box-shadow:0 0 0 .45rem #28a8612e,0 18px 32px #14703f38}.letter-conveyor-token--correct:after{border-color:#28a8619e;animation:.38s ease-out forwards letter-conveyor-correct-ring}.letter-conveyor-token--correct .letter-conveyor-token-letter{animation:.38s ease-out forwards letter-conveyor-correct-pop}.letter-conveyor-token--correct .letter-conveyor-token-feedback{animation:.22s ease-out forwards letter-conveyor-feedback-in}.letter-conveyor-token--incorrect{color:#fff;background:#df5555;border-color:#c73c3c;box-shadow:0 0 0 .4rem #df555529,0 18px 32px #992b2b38}.letter-conveyor-token--incorrect:after{border-color:#df55558f;animation:.46s ease-out forwards letter-conveyor-incorrect-ring}.letter-conveyor-token--incorrect .letter-conveyor-token-letter{animation:.42s ease-in-out forwards letter-conveyor-incorrect-shake}.letter-conveyor-token--incorrect .letter-conveyor-token-feedback{animation:.18s ease-out forwards letter-conveyor-feedback-in}.letter-conveyor-scoreboard{justify-content:space-between}.letter-conveyor-penalty-flash{z-index:2;border-radius:inherit;pointer-events:none;background:#df555514;border:.35rem solid #c73c3c94;animation:.42s ease-out forwards letter-conveyor-penalty-flash;position:absolute;inset:0}.letter-conveyor-momentum{background:#ffffffad;border:1px solid #382b6e1a;border-radius:1rem;grid-template-columns:minmax(7rem,auto) minmax(12rem,1fr) minmax(12rem,auto);align-items:center;gap:.75rem;padding:.75rem .9rem;display:grid}.letter-conveyor-momentum--gain{animation:.42s ease-out letter-conveyor-momentum-gain}.letter-conveyor-momentum--loss{animation:.42s ease-out letter-conveyor-momentum-loss}.letter-conveyor-momentum-heading{color:var(--ink);justify-content:space-between;align-items:center;gap:.5rem;display:flex}.letter-conveyor-momentum-heading span{background:var(--ink);color:#fff;text-align:center;border-radius:999px;min-width:2.4rem;padding:.2rem .45rem;font-weight:900}.letter-conveyor-momentum-track{grid-template-columns:repeat(5,1fr);gap:.3rem;min-width:0;display:grid}.letter-conveyor-momentum-track>span{background:#382b6e1f;border-radius:999px;height:.8rem;transition:background-color .18s,transform .18s}.letter-conveyor-momentum-track>.letter-conveyor-momentum-step--filled{background:linear-gradient(90deg,#28a861,#ffd95a);transform:scaleY(1.18)}.letter-conveyor-momentum small{color:var(--muted-strong);text-align:right;font-weight:800}.letter-conveyor-scoreboard span{min-width:0;color:var(--ink);text-align:center;background:#ffffffad;border-radius:.85rem;flex:7rem;padding:.55rem .75rem;font-weight:900}.letter-conveyor-summary{color:var(--ink);background:linear-gradient(135deg,#28a86129,#ffd95a38);border-radius:1rem;flex-wrap:wrap;justify-content:center;align-items:center;gap:.7rem;padding:.75rem;display:flex}.letter-conveyor-summary strong{font-size:1.1rem}@keyframes letter-conveyor-glide{0%{transform:translateY(-50%)}to{transform:translate(100%,-50%)}}@keyframes letter-conveyor-sparkle{0%{opacity:1;transform:translate(-50%,-50%)scale(.55)}to{opacity:0;transform:translate(calc(-50% + var(--sparkle-x)), calc(-50% + var(--sparkle-y))) scale(1.1)}}@keyframes letter-conveyor-penalty-flash{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.985)}}@keyframes letter-conveyor-momentum-gain{50%{border-color:#28a86180;transform:scale(1.01);box-shadow:0 0 0 .35rem #28a8611f}}@keyframes letter-conveyor-momentum-loss{30%,70%{border-color:#c73c3c66;transform:translate(-.18rem)}50%{transform:translate(.18rem)}}@keyframes letter-conveyor-correct-pop{0%{opacity:1;transform:scale(1)}45%{opacity:.2;transform:scale(1.28)}to{opacity:0;transform:scale(.65)}}@keyframes letter-conveyor-incorrect-shake{0%,to{opacity:0;transform:translate(0)}16%,48%,80%{opacity:.35;transform:translate(-.38rem)}32%,64%{opacity:.35;transform:translate(.38rem)}}@keyframes letter-conveyor-feedback-in{0%{opacity:0;transform:scale(.55)}to{opacity:1;transform:scale(1)}}@keyframes letter-conveyor-correct-ring{0%{opacity:.9;transform:scale(.72)}to{opacity:0;transform:scale(1.35)}}@keyframes letter-conveyor-incorrect-ring{0%,35%{opacity:.8;transform:scale(.88)}to{opacity:0;transform:scale(1.18)}}@media (prefers-reduced-motion:reduce){.letter-conveyor-token--correct .letter-conveyor-token-letter,.letter-conveyor-token--incorrect .letter-conveyor-token-letter,.letter-conveyor-token--correct .letter-conveyor-token-feedback,.letter-conveyor-token--incorrect .letter-conveyor-token-feedback,.letter-conveyor-token--correct:after,.letter-conveyor-token--incorrect:after,.letter-conveyor-sparkles span,.letter-conveyor-penalty-flash,.letter-conveyor-momentum--gain,.letter-conveyor-momentum--loss{animation:none}.letter-conveyor-token--correct .letter-conveyor-token-letter,.letter-conveyor-token--incorrect .letter-conveyor-token-letter{opacity:0}.letter-conveyor-token--correct .letter-conveyor-token-feedback,.letter-conveyor-token--incorrect .letter-conveyor-token-feedback{opacity:1}}.letter-lab-stage--home{justify-content:flex-start}.letter-lab-activity-choices{z-index:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid;position:relative}.letter-lab-activity-choice{min-height:10rem;color:var(--ink);cursor:pointer;text-align:left;border:0;border-radius:1.5rem;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:clamp(1.2rem,3vw,2rem);transition:transform .18s,box-shadow .18s;display:grid;box-shadow:0 20px 38px #35277521}.letter-lab-activity-choice--trace{background:#ffffffe0}.letter-lab-activity-choice--mission{color:#fff;background:radial-gradient(circle at 82% 18%,#ffe27852,#0000 18%),linear-gradient(135deg,#30256f,#6253c6);grid-column:1/-1;min-height:8.5rem}.letter-lab-activity-choice--mission small{color:#ffffffe6;font-weight:800}.letter-lab-activity-choice--mission .letter-lab-activity-number{color:#30256f;background:#ffd95a}.letter-lab-activity-choice--conveyor{background:linear-gradient(135deg,#ffd95ad1,#ff9871d1)}.letter-lab-activity-choice:hover{transform:translateY(-3px);box-shadow:0 24px 46px #3527752b}.letter-lab-activity-choice:disabled{cursor:default;filter:grayscale(.5);opacity:.58;transform:none}.letter-lab-activity-choice strong,.letter-lab-activity-choice small{display:block}.letter-lab-activity-choice strong{font-size:clamp(1.45rem,3vw,2.2rem)}.letter-lab-activity-choice small{color:var(--muted-strong);margin-top:.45rem;font-size:.95rem;font-weight:750}.letter-lab-activity-number{aspect-ratio:1;background:var(--ink);color:#fff;border-radius:50%;place-items:center;width:3rem;font-weight:900;display:grid}.letter-lab-adult-tools{z-index:1;border-top:1px solid #382b6e29;padding-top:.9rem;position:relative}.letter-lab-adult-tools>summary{width:fit-content;color:var(--muted-strong);cursor:pointer;font-weight:800}.letter-lab-adult-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;padding:1.25rem 0;display:grid}.letter-lab-adult-tools-grid section{min-width:0}.letter-lab-progress-details{gap:.5rem;margin:0;display:grid}.letter-lab-progress-details>div{align-items:baseline;gap:.65rem;display:flex}.letter-lab-progress-details dt{font-family:var(--learner-font);font-size:1.7rem;font-weight:900}.letter-lab-progress-details dd{margin:0}.letter-tracing-mixed-target{align-items:center;gap:.45rem;min-width:7rem;font-weight:850;display:inline-flex}.letter-tracing-mixed-target strong{font-family:var(--learner-font);font-size:2rem;line-height:1}.letter-lab-focus,.letter-conveyor-focus--playing{z-index:1000;box-sizing:border-box;width:100vw;height:100svh;padding:max(.7rem, env(safe-area-inset-top)) max(.8rem, env(safe-area-inset-right)) max(.7rem, env(safe-area-inset-bottom)) max(.8rem, env(safe-area-inset-left));overscroll-behavior:none;background:radial-gradient(circle at 8% 0,#ffffffeb,#0000 34%),linear-gradient(165deg,#e8f7ff,#eee8ff 72%);animation:.26s ease-out letter-lab-focus-enter;position:fixed;inset:0;overflow:hidden}.letter-lab-focus{grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:clamp(.45rem,1.2vh,.8rem);display:grid}.letter-lab-focus-header,.letter-conveyor-play-header,.letter-conveyor-play-target,.letter-conveyor-play-progress,.letter-tracing-toolbar,.letter-tracing-actions,.letter-conveyor-play-footer{align-items:center;gap:.75rem;display:flex}.letter-lab-focus-header,.letter-conveyor-play-header{justify-content:space-between}.letter-tracing-header-actions{align-items:center;gap:.55rem;display:flex}.letter-lab-focus-header h2,.letter-conveyor-focus h2{color:var(--ink);margin:0;font-size:clamp(1.45rem,3vw,2.4rem);line-height:1}.letter-lab-focus-header p,.letter-conveyor-focus p{margin-block:.3rem 0}.letter-tracing-progress{grid-template-columns:repeat(5,minmax(2rem,1fr)) auto;align-items:center;gap:.45rem;display:grid}.letter-tracing-progress span{background:#382b6e21;border-radius:999px;height:.55rem}.letter-tracing-progress span.is-complete{background:#28a861}.letter-tracing-progress span.is-current{background:#ff704f;animation:1.2s ease-in-out infinite letter-tracing-progress-pulse}.letter-tracing-tutorial-progress{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.letter-tracing-tutorial-progress span{color:#382b6e8c;white-space:nowrap;align-items:center;gap:.4rem;font-size:clamp(.78rem,1.7vw,.95rem);font-weight:850;display:flex}.letter-tracing-tutorial-progress i{aspect-ratio:1;background:#382b6e24;border-radius:50%;flex:none;width:.68rem;display:block}.letter-tracing-tutorial-progress span.is-current{color:var(--ink)}.letter-tracing-tutorial-progress span.is-current i{background:#ff704f;box-shadow:0 0 0 .28rem #ff704f29}.letter-tracing-tutorial-progress span.is-complete{color:#187b49}.letter-tracing-tutorial-progress span.is-complete i{background:#28a861}.letter-tracing-toolbar{min-width:0}.letter-tracing-letter-picker{align-items:center;gap:.5rem;min-width:0;max-width:min(64vw,49rem);display:flex}.letter-tracing-case-tabs{background:#382b6e1a;border-radius:999px;flex:none;padding:.22rem;display:inline-flex}.letter-tracing-case-tabs button{min-width:3.2rem;min-height:2.65rem;color:var(--muted-strong);font-family:var(--learner-font);background:0 0;border-radius:999px;font-size:1.05rem;font-weight:850}.letter-tracing-case-tabs button[aria-pressed=true]{color:var(--ink);background:#fff;box-shadow:0 .2rem .8rem #382b6e1a}.letter-tracing-toolbar .letter-lab-letter-tabs{scrollbar-width:none;scroll-snap-type:x proximity;gap:.2rem;min-width:0;padding:.25rem;overflow-x:auto}.letter-tracing-toolbar .letter-lab-letter-tabs::-webkit-scrollbar{display:none}.motion-mission-letter-tabs::-webkit-scrollbar{display:none}.letter-tracing-toolbar .letter-lab-letter-tab{scroll-snap-align:center;min-width:2.85rem;min-height:2.8rem;font-size:1.65rem}.letter-tracing-cue{min-width:0;min-height:2.8em;color:var(--ink);align-items:center;margin:0;font-size:clamp(1rem,2vw,1.3rem);font-weight:850;display:flex}.letter-tracing-board-wrap{place-items:center;min-height:0;display:grid;position:relative}.letter-tracing-board-wrap .letter-lab-trace-board{aspect-ratio:5/7;background-color:#ffffffe6;width:auto;max-width:100%;height:100%;max-height:100%}.letter-lab-guide-track.is-faded{opacity:.42}.letter-lab-guide-track--recovery{stroke:#ff704f33;stroke-width:18px}.letter-lab-guide-track--tutorial{stroke:#ff704f2e;stroke-width:25px}.letter-tracing-demo-ink{fill:none;stroke:#ff704f;stroke-dasharray:1;stroke-linecap:round;stroke-linejoin:round;stroke-width:4.8px}.letter-lab-arrow-segment--tutorial{stroke-width:2.8px}.letter-tracing-firefly{fill:#ffd95a;stroke:#fff;stroke-width:2.1px;filter:drop-shadow(0 0 4px #ff704feb)}.letter-tracing-checkpoint{fill:#fffffff0;stroke:#ff704f;stroke-width:1.6px}.letter-tracing-checkpoint.is-current{fill:#ffd95a;filter:drop-shadow(0 0 3px #ff704fbf)}.letter-tracing-start-dot{fill:#ff704f;stroke:#fff;stroke-width:2.2px;filter:drop-shadow(0 0 5px #ff704fbf);animation:1.1s ease-in-out infinite letter-tracing-start-pulse}.letter-tracing-start-dot.is-memory-start{opacity:.82;stroke-width:1.7px}.letter-tracing-start-dot--tutorial{fill:#ff704f}.letter-tracing-start-dot--tutorial.is-return-point{fill:#ffd95a;stroke:#ff704f;animation-duration:.75s}.letter-lab-arrow-segment--current{stroke-width:2.7px}.letter-lab-trace-ink.has-error{stroke:#c73c3c}.letter-lab-trace-ink-dot.has-error{fill:#c73c3c}.letter-lab-trace-board.has-error{box-shadow:inset 0 0 0 .3rem #c73c3c2e}.letter-tracing-success{color:var(--ink);background:#fffffff0;border-radius:1.2rem;place-items:center;gap:.2rem;padding:1rem 1.4rem;animation:.32s ease-out letter-tracing-success-in;display:grid;position:absolute;box-shadow:0 18px 38px #35277533}.letter-tracing-success--tutorial{text-align:center;max-width:min(19rem,78%)}.motion-mission-focus{z-index:1000;box-sizing:border-box;width:100vw;height:100svh;padding:max(.75rem, env(safe-area-inset-top)) max(.85rem, env(safe-area-inset-right)) max(.75rem, env(safe-area-inset-bottom)) max(.85rem, env(safe-area-inset-left));overscroll-behavior:none;color:#fff;background:radial-gradient(circle at 82% 8%,#ffda5a30,#0000 18%),radial-gradient(circle at 12% 92%,#63d9e124,#0000 24%),linear-gradient(160deg,#17133f,#2f276e 56%,#34266d);grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:clamp(.45rem,1.15vh,.8rem);animation:.32s ease-out motion-mission-enter;display:grid;position:fixed;inset:0;overflow:hidden}.motion-mission-focus--follow{background:radial-gradient(circle at 76% 10%,#ffda5a36,#0000 20%),linear-gradient(160deg,#191647,#302d78 58%,#263d76)}.motion-mission-focus--trace{background:radial-gradient(circle at 76% 10%,#ffda5a3d,#0000 20%),linear-gradient(160deg,#1b184d,#344083 58%,#225271)}.motion-mission-focus--memory,.motion-mission-focus--complete{background:radial-gradient(circle at 76% 10%,#ffda5a42,#0000 20%),linear-gradient(160deg,#191747,#3c3b87 55%,#27646f)}.motion-mission-header,.motion-mission-header-actions,.motion-mission-picker,.motion-mission-footer{align-items:center;gap:.7rem;display:flex}.motion-mission-header{justify-content:space-between}.motion-mission-header .eyebrow{color:#ffd95a;margin:0 0 .2rem}.motion-mission-header h2{color:#fff;margin:0;font-size:clamp(1.6rem,3vw,2.5rem);line-height:1}.motion-mission-header-actions button,.motion-mission-secondary-action,.motion-mission-primary-action{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #ffffff38;border-radius:999px;min-height:2.85rem;padding:.65rem 1rem;font-weight:850}.motion-mission-rail{grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;display:grid}.motion-mission-rail span{color:#ffffff85;text-transform:capitalize;border-bottom:.22rem solid #ffffff21;align-items:center;gap:.4rem;padding-bottom:.45rem;font-size:clamp(.72rem,1.55vw,.92rem);font-weight:850;display:flex}.motion-mission-rail i{color:#ffffff3b;font-style:normal}.motion-mission-rail span.is-current{color:#fff;border-color:#ffd95a}.motion-mission-rail span.is-current i{color:#ffd95a;animation:1.2s ease-in-out infinite motion-mission-star-pulse}.motion-mission-rail span.is-complete{color:#ffffffd6;border-color:#63d9e1}.motion-mission-rail span.is-complete i{color:#63d9e1;animation:.3s ease-out motion-mission-star-pop}.motion-mission-picker{grid-template-columns:auto minmax(0,1fr);gap:.35rem .7rem;min-width:0;display:grid}.motion-mission-focus-summary{color:#ffffffb8;letter-spacing:.06em;text-transform:uppercase;grid-column:1/-1;align-items:center;gap:.55rem;min-width:0;font-size:.72rem;font-weight:850;display:flex}.motion-mission-focus-summary strong{gap:.3rem;display:flex}.motion-mission-focus-summary i{color:#fff3b1;width:1.65rem;height:1.65rem;font-family:var(--learner-font);letter-spacing:normal;text-transform:none;background:#ffd95a14;border:1px solid #ffd95a73;border-radius:50%;place-items:center;font-size:1rem;font-style:normal;display:grid}.motion-mission-focus-summary i[data-status=learning]{background:linear-gradient(#ffd95a14 50%,#63d9e16b 50%)}.motion-mission-focus-summary i[data-status=due]{border-color:#ffd95a;box-shadow:0 0 .7rem #ffd95a59}.motion-mission-focus-summary i[data-status=steady]{background:#63d9e16b;border-color:#63d9e1b3}.motion-mission-case-tabs,.motion-mission-letter-tabs{background:#07062040;border-radius:999px;padding:.24rem;display:flex}.motion-mission-case-tabs{flex:none}.motion-mission-letter-tabs{scrollbar-width:none;gap:.15rem;min-width:0;overflow-x:auto}.motion-mission-case-tabs button,.motion-mission-letter-tabs button{color:#ffffffad;min-width:2.65rem;min-height:2.45rem;font-family:var(--learner-font);background:0 0;border:1px solid #0000;border-radius:999px;flex:none;font-size:1.35rem;font-weight:900}.motion-mission-letter-tabs button[data-status=learning]{color:#ffffffdb;background:linear-gradient(#0000 50%,#63d9e147 50%);border-color:#63d9e152}.motion-mission-letter-tabs button[data-status=due]{color:#fff3b1;border-color:#ffd95ab8;box-shadow:0 0 .8rem #ffd95a47}.motion-mission-letter-tabs button[data-status=steady]{color:#fff;background:#63d9e145;border-color:#63d9e161}.motion-mission-letter-tabs button[data-focus=true]{box-shadow:inset 0 -.18rem #ffd95a}.motion-mission-case-tabs button{min-width:3rem;font-size:1rem}.motion-mission-case-tabs button[aria-pressed=true],.motion-mission-letter-tabs button[aria-pressed=true]{color:#28205f;background:#ffd95a;border-color:#0000;box-shadow:0 0 1.2rem #ffd95a40}.motion-mission-scene{background:radial-gradient(circle at 50% 118%,#63d9e12e,#0000 38%),#07062038;border:1px solid #ffffff1f;border-radius:clamp(1rem,2.2vw,1.7rem);place-items:center;min-height:0;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff17}.motion-mission-board{z-index:2;touch-action:none;-webkit-user-select:none;user-select:none;width:100%;min-width:0;height:100%;min-height:0;display:block;position:relative;overflow:hidden}.motion-mission-hit-surface{fill:#0000;pointer-events:all}.motion-mission-baseline{stroke:#9de7ec4d;stroke-dasharray:3 4;stroke-width:1.5px}.motion-mission-guide,.motion-mission-demo-ink,.motion-mission-arrow,.motion-mission-ink{fill:none;stroke-linecap:round;stroke-linejoin:round}.motion-mission-guide{stroke:#aae4e926;stroke-width:10px}.motion-mission-board.has-help .motion-mission-guide{stroke:#ffd95a2b}.motion-mission-demo-ink{stroke:#ffd95a;stroke-dasharray:1;stroke-width:4.7px;filter:drop-shadow(0 0 .28rem #ffd95aa3)}.motion-mission-arrow{stroke:#ffd95a;stroke-width:2.6px}.motion-mission-arrow-marker{fill:none;stroke:#ffd95a;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}.motion-mission-firefly{fill:#ffd95a;stroke:#fff;stroke-width:1.8px;filter:drop-shadow(0 0 .45rem #ffd95af2);animation:.9s ease-in-out infinite motion-mission-firefly-pulse}.motion-mission-start{fill:#63d9e1;stroke:#fff;stroke-width:1.8px;filter:drop-shadow(0 0 .35rem #63d9e1e6);animation:1.1s ease-in-out infinite motion-mission-firefly-pulse}.motion-mission-ink{stroke:#9de7ec;stroke-width:6.3px;filter:drop-shadow(0 0 .2rem #63d9e173)}.motion-mission-ink-dot{fill:#9de7ec;filter:drop-shadow(0 0 .2rem #63d9e173)}.motion-mission-ink.has-error{stroke:#ff9d8b}.motion-mission-ink-dot.has-error{fill:#ff9d8b}.motion-mission-stars{z-index:1;pointer-events:none;position:absolute;inset:0}.motion-mission-stars i{aspect-ratio:1;opacity:.48;background:#fff;border-radius:50%;width:.26rem;animation:2.4s ease-in-out infinite alternate motion-mission-twinkle;position:absolute}.motion-mission-stars i:first-child{top:16%;left:8%}.motion-mission-stars i:nth-child(2){animation-delay:-.7s;top:72%;left:16%}.motion-mission-stars i:nth-child(3){animation-delay:-1.5s;top:34%;left:25%}.motion-mission-stars i:nth-child(4){animation-delay:-.2s;top:84%;left:34%}.motion-mission-stars i:nth-child(5){animation-delay:-1.2s;top:12%;left:46%}.motion-mission-stars i:nth-child(6){animation-delay:-.5s;top:78%;left:58%}.motion-mission-stars i:nth-child(7){animation-delay:-1.8s;top:26%;left:67%}.motion-mission-stars i:nth-child(8){animation-delay:-.9s;top:68%;left:74%}.motion-mission-stars i:nth-child(9){animation-delay:-1.4s;top:18%;left:86%}.motion-mission-stars i:nth-child(10){animation-delay:-.3s;top:82%;left:91%}.motion-mission-stars i:nth-child(11){animation-delay:-1.9s;top:48%;left:10%}.motion-mission-phase-success,.motion-mission-complete{z-index:4;color:#fff;text-align:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#14113de0;border:1px solid #ffffff38;border-radius:1.2rem;place-items:center;max-width:min(22rem,80%);padding:1rem 1.35rem;animation:.36s ease-out motion-mission-success-in;display:grid;position:absolute;box-shadow:0 1.2rem 3rem #05031c59}.motion-mission-phase-success>span{color:#ffd95a;font-size:1.6rem}.motion-mission-complete{gap:.2rem}.motion-mission-constellation{color:#ffd95a;font-family:var(--learner-font);text-shadow:0 0 1.4rem #ffd95a8c;font-size:clamp(3.5rem,10vw,6.5rem);line-height:.9;animation:.52s ease-out motion-mission-constellation-in}.motion-mission-complete strong{font-size:1.4rem}.motion-mission-footer{grid-template-columns:auto minmax(0,1fr) auto;display:grid}.motion-mission-footer p{color:#ffffffe0;text-align:center;margin:0;font-weight:800}.motion-mission-primary-action{color:#28205f;background:#ffd95a;border-color:#0000}.motion-mission-primary-action:disabled{cursor:default;opacity:.42}@keyframes motion-mission-enter{0%{opacity:0;transform:scale(1.015)}to{opacity:1;transform:scale(1)}}@keyframes motion-mission-firefly-pulse{50%{filter:drop-shadow(0 0 .72rem #ffd95a);transform:scale(1.08)}}@keyframes motion-mission-star-pulse{50%{transform:scale(1.24)}}@keyframes motion-mission-star-pop{0%{opacity:0;transform:scale(.25)rotate(-25deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes motion-mission-twinkle{to{opacity:.95;transform:scale(1.45)}}@keyframes motion-mission-success-in{0%{opacity:0;transform:translateY(.65rem)scale(.94)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes motion-mission-constellation-in{0%{opacity:0;transform:scale(.45)rotate(-7deg)}to{opacity:1;transform:scale(1)rotate(0)}}.letter-tracing-actions{justify-content:space-between}.letter-tracing-actions>span{color:var(--muted-strong);text-align:center;flex:1;font-size:.9rem;font-weight:750}.letter-tracing-actions--tutorial .action-button--primary:disabled{cursor:wait;opacity:.58}.letter-conveyor-focus{color:var(--ink)}.letter-conveyor-focus--setup{z-index:1;background:#eff4ffeb;border:3px solid #382b6e2e;border-radius:2rem;gap:1rem;min-height:min(78svh,900px);padding:clamp(1rem,3vw,2rem);display:grid;position:relative}.letter-conveyor-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem;display:grid}.letter-conveyor-setup-grid fieldset{background:#ffffffa8;border:1px solid #382b6e21;border-radius:1rem;gap:.6rem;margin:0;padding:1rem;display:grid}.letter-conveyor-setup-grid legend,.letter-conveyor-setup-grid label{font-weight:800}.letter-conveyor-setup-grid label:not(.letter-conveyor-speed){align-items:center;gap:.6rem;min-height:2.4rem;display:flex}.letter-conveyor-setup-grid input[type=radio]{width:1.3rem;height:1.3rem;accent-color:var(--ink)}.letter-conveyor-setup-grid>.letter-conveyor-speed{grid-column:1/-1;padding:.9rem 1rem}.letter-conveyor-start{justify-self:end;min-width:min(100%,14rem)}.letter-conveyor-focus--playing{grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(.5rem,1.5vh,1rem);display:grid}.letter-conveyor-play-header{min-width:0}.letter-conveyor-play-target>span{font-weight:850}.letter-conveyor-play-target>strong{aspect-ratio:1;background:var(--ink);color:#fff;width:3.3rem;font-family:var(--learner-font);border-radius:50%;place-items:center;font-size:2.25rem;line-height:1;display:grid}.letter-conveyor-play-progress{flex:1;justify-content:center;font-weight:800}.letter-conveyor-play-progress>*{background:#ffffffb8;border-radius:999px;padding:.5rem .8rem}.letter-conveyor-focus--playing .letter-conveyor-track{border-radius:1.4rem;height:auto;min-height:0}.letter-conveyor-token{transform:scale(var(--token-scale,1));font-family:var(--token-font,var(--learner-font))}.letter-conveyor-token:active{transform:scale(calc(var(--token-scale,1) * .96))}.letter-conveyor-track.is-switching .letter-conveyor-token-motion{opacity:0}.letter-conveyor-switch-cue{z-index:3;color:var(--ink);font-family:var(--learner-font);background:#f8faffe0;place-items:center;font-size:clamp(2.4rem,8vw,5rem);font-weight:900;animation:.24s ease-out letter-conveyor-switch-in;display:grid;position:absolute;inset:0}.letter-conveyor-play-footer{justify-content:space-between;min-height:2.2rem}.letter-conveyor-play-footer p{min-height:0}@keyframes letter-lab-focus-enter{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@keyframes letter-tracing-start-pulse{50%{transform:scale(1.18)}}@keyframes letter-tracing-progress-pulse{50%{opacity:.55}}@keyframes letter-tracing-success-in{0%{opacity:0;transform:translateY(.7rem)scale(.92)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes letter-conveyor-switch-in{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@media (width<=700px){.letter-lab-activity-choices,.letter-lab-adult-tools-grid{grid-template-columns:1fr}.letter-lab-stage--home{gap:.75rem;min-height:0;padding:1rem}.letter-lab-stage--home:before{display:none}.letter-lab-stage--home .letter-lab-header{gap:.55rem}.letter-lab-stage--home .letter-lab-header h2{font-size:2rem}.letter-lab-stage--home .progress-pill{align-self:flex-start;padding:.5rem .75rem;font-size:.76rem}.letter-lab-activity-choices{gap:.65rem}.letter-lab-activity-choice{gap:.7rem;min-height:6.5rem;padding:.9rem}.letter-lab-activity-choice strong{font-size:1.3rem}.letter-lab-activity-choice small{margin-top:.25rem;font-size:.82rem}.letter-lab-activity-number{width:2.65rem}.letter-lab-adult-tools{padding-top:.35rem}.letter-lab-adult-tools>summary{align-items:center;min-height:2.75rem;display:flex}.letter-lab-activity-choice--mission{grid-column:auto}.motion-mission-focus{padding-inline:max(.55rem, env(safe-area-inset-left)) max(.55rem, env(safe-area-inset-right));gap:.38rem}.motion-mission-header .eyebrow{display:none}.motion-mission-header h2{font-size:1.35rem}.motion-mission-header-actions{gap:.35rem}.motion-mission-header-actions button{min-height:2.75rem;padding:.52rem .72rem;font-size:.8rem}.motion-mission-rail{gap:.2rem}.motion-mission-rail span{gap:.2rem;font-size:.66rem}.motion-mission-picker{gap:.35rem}.motion-mission-focus-summary{gap:.35rem;font-size:.63rem}.motion-mission-focus-summary i{width:1.45rem;height:1.45rem;font-size:.88rem}.motion-mission-case-tabs button{min-width:2.65rem;min-height:2.75rem}.motion-mission-letter-tabs button{min-width:2.75rem;min-height:2.75rem}.motion-mission-footer{grid-template-columns:1fr 1fr;gap:.45rem}.motion-mission-footer p{grid-area:1/1/auto/-1;min-height:1.15rem;font-size:.76rem;line-height:1.15;display:block}.motion-mission-secondary-action,.motion-mission-primary-action{min-height:2.75rem;padding-inline:.65rem;font-size:.82rem}.letter-lab-focus-header .eyebrow{display:none}.letter-lab-focus-header h2{font-size:1.42rem}.letter-tracing-header-actions .action-button{min-height:2.75rem;padding-inline:.9rem}.letter-tracing-tutorial-progress{gap:.28rem}.letter-tracing-tutorial-progress span{gap:.25rem;font-size:.72rem}.letter-tracing-toolbar{flex-direction:column;align-items:stretch;gap:.3rem}.letter-tracing-letter-picker{width:100%;max-width:none}.letter-tracing-case-tabs button{min-width:2.8rem;min-height:2.75rem}.letter-tracing-cue{text-align:center;align-self:center;width:100%;min-height:2.4em;font-size:.95rem}.letter-tracing-actions{grid-template-columns:1fr 1fr;display:grid}.letter-tracing-actions>span{display:none}.letter-conveyor-focus--setup{border-radius:1.35rem;gap:.65rem;min-height:0;padding:.85rem}.letter-conveyor-focus--setup .letter-lab-focus-header p:last-child{margin-top:.2rem;font-size:.82rem}.letter-conveyor-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.letter-conveyor-setup-grid fieldset{gap:.3rem;padding:.65rem}.letter-conveyor-setup-grid label:not(.letter-conveyor-speed){gap:.4rem;min-height:2.75rem;font-size:.84rem}.letter-conveyor-setup-grid>.letter-conveyor-speed{padding:.55rem .65rem}.letter-conveyor-start{justify-self:stretch;width:100%}.letter-conveyor-play-header{grid-template-columns:1fr auto;display:grid}.letter-conveyor-play-progress{grid-area:2/1/auto/-1;justify-content:flex-start;font-size:.85rem}.letter-conveyor-play-header>.action-button{grid-area:1/2}.letter-conveyor-play-target .action-button{padding-inline:.8rem}.letter-conveyor-play-footer .letter-lab-save-status{display:none}}@media (prefers-reduced-motion:reduce){.motion-mission-focus,.motion-mission-firefly,.motion-mission-start,.motion-mission-stars i,.motion-mission-rail span i,.motion-mission-phase-success,.motion-mission-complete,.motion-mission-constellation,.letter-lab-focus,.letter-tracing-start-dot,.letter-tracing-firefly,.letter-tracing-progress span.is-current,.letter-tracing-success,.letter-conveyor-switch-cue{animation:none}}.irregular-word-stage{background:radial-gradient(circle at 0 0,#ffffffbf,#0000 34%),linear-gradient(#ffe2b3e0,#efe7ffe6);border:3px solid #382b6e2e;border-radius:2rem;flex-direction:column;align-items:center;gap:1.25rem;min-height:min(78svh,980px);padding:1.5rem;animation:.52s stage-rise;display:flex;position:relative;overflow:hidden;box-shadow:0 22px 54px #35277529,inset 0 1px #ffffff8c}.irregular-word-stage:before{content:"";pointer-events:none;border:2px solid #ffffff75;border-radius:1.55rem;position:absolute;inset:1.1rem}.irregular-word-stage .stage-meta{width:100%}.irregular-word-stage-actions{justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.irregular-word-focus-toggle{white-space:nowrap}.irregular-word-heading,.irregular-word-empty,.irregular-word-complete{text-align:center;justify-items:center;gap:.45rem;display:grid}.irregular-word-stage--setup{justify-content:center;align-items:stretch;gap:clamp(.75rem,1.8vw,1.2rem);padding:clamp(1.25rem,3vw,2.25rem);animation:.32s ease-out irregular-setup-reveal}.word-practice-type-switch{z-index:1;align-self:flex-start;position:relative}.word-practice-type-switch .mode-button{min-height:2.8rem;padding-inline:1.2rem}@keyframes irregular-setup-reveal{0%{opacity:.55}to{opacity:1}}.irregular-word-setup-header{z-index:1;justify-content:space-between;align-items:flex-start;gap:1.5rem;display:flex;position:relative}.irregular-word-setup-header>div{max-width:42rem}.irregular-word-setup-header h2,.irregular-word-setup-header p,.irregular-word-setup-action p{margin:0}.irregular-word-setup-header h2{margin-top:.15rem;font-size:clamp(2rem,4.2vw,3.75rem);line-height:1}.irregular-word-setup-header p:last-child{color:var(--muted-strong);margin-top:.65rem;font-size:clamp(1rem,1.8vw,1.2rem);line-height:1.45}.irregular-word-setup-summary{z-index:1;color:var(--muted-strong);border-block:1px solid #382b6e1f;gap:2rem;padding:.85rem 0;font-size:.86rem;font-weight:800;display:flex;position:relative}.irregular-word-setup-summary span{align-items:baseline;gap:.45rem;display:flex}.irregular-word-setup-summary strong{color:var(--ink);font-size:1.35rem}.irregular-word-setup-summary small{font:inherit;line-height:1.2}.irregular-word-setup-modes{z-index:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;display:grid;position:relative}.irregular-word-setup-mode--quest{background:radial-gradient(circle at 88% 18%,#ffd37557,#0000 25%),#ffffffc2}.word-quest-source-note{z-index:1;color:var(--muted-strong);margin:0;font-size:.84rem;font-weight:800;position:relative}.word-practice-reward-picker{z-index:1;grid-template-columns:minmax(9rem,.65fr) minmax(0,1.35fr);align-items:center;gap:1rem;padding-block:.15rem;display:grid;position:relative}.word-practice-reward-picker-copy span{color:var(--ink);letter-spacing:.09em;text-transform:uppercase;font-size:.78rem;font-weight:900}.word-practice-reward-picker-copy p{color:var(--muted-strong);margin:.2rem 0 0;font-size:.82rem;font-weight:750}.word-practice-reward-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;display:grid}.word-practice-reward-choice{color:#fff;cursor:pointer;isolation:isolate;touch-action:manipulation;background:#30276b;border:3px solid #ffffffc7;border-radius:1rem;min-width:0;height:4.5rem;padding:0;transition:border-color .14s,box-shadow .14s,transform .14s;position:relative;overflow:hidden;box-shadow:0 5px 12px #30276b24}.word-practice-reward-choice:after{content:"";z-index:-1;background:linear-gradient(#0000,#161237e0);position:absolute;inset:42% 0 0}.word-practice-reward-choice img{z-index:-2;object-fit:cover;width:100%;height:100%;position:absolute;inset:0;transform:scale(1.04)}.word-practice-reward-choice>span:not(.word-practice-reward-choice-check){text-align:left;text-overflow:ellipsis;text-shadow:0 1px 3px #0f0c2abf;white-space:nowrap;font-size:.72rem;font-weight:900;line-height:1.1;position:absolute;bottom:.35rem;left:.45rem;right:.45rem;overflow:hidden}.word-practice-reward-choice-check{color:#3c317b;opacity:0;background:#fff;border-radius:50%;place-items:center;width:1.4rem;height:1.4rem;font-size:.8rem;font-weight:950;transition:opacity .14s,transform .14s;display:grid;position:absolute;top:.35rem;right:.35rem;transform:scale(.72)}.word-practice-reward-choice:hover{transform:translateY(-2px)}.word-practice-reward-choice:focus-visible{outline-offset:2px;outline:3px solid #342c6e52}.word-practice-reward-choice[aria-pressed=true]{border-color:#ffbd62;box-shadow:0 0 0 3px #ffbd624d,0 7px 16px #30276b33}.word-practice-reward-choice[aria-pressed=true] .word-practice-reward-choice-check{opacity:1;transform:scale(1)}.irregular-word-setup-mode{min-height:8rem;color:var(--ink);cursor:pointer;font:inherit;text-align:left;background:#ffffffa8;border:1px solid #382b6e1f;border-radius:1.25rem;align-content:center;gap:.4rem;padding:clamp(1rem,2.4vw,1.5rem);transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s;display:grid}.word-practice-adult-options{z-index:1;max-width:34rem;color:var(--muted-strong);text-align:center;align-self:center;position:relative}.word-practice-adult-options summary{cursor:pointer;font-size:.82rem;font-weight:850}.word-practice-adult-options p{margin:.6rem 0;font-size:.84rem}.irregular-word-setup-mode:hover{border-color:#382b6e3d;transform:translateY(-2px)}.irregular-word-setup-mode:focus-visible{outline-offset:3px;outline:3px solid #342c6e47}.irregular-word-setup-mode[aria-pressed=true]{color:#fff;background:#3c317b;border-color:#3c317b;box-shadow:0 10px 24px #35277529}.irregular-word-setup-mode-label{letter-spacing:.09em;text-transform:uppercase;font-size:.76rem;font-weight:900}.irregular-word-setup-mode strong{font-size:clamp(1.25rem,2.4vw,1.75rem)}.irregular-word-setup-mode>span:last-child{color:var(--muted-strong);line-height:1.4}.irregular-word-setup-action{z-index:1;justify-items:center;gap:.55rem;display:grid;position:relative}.irregular-word-start-button{justify-content:center;min-width:min(100%,22rem);min-height:3.35rem;font-size:1.05rem}.irregular-word-setup-action p{color:var(--muted-strong);font-size:.84rem;font-weight:800}.irregular-word-heading h2,.irregular-word-heading p,.irregular-word-empty h2,.irregular-word-empty p,.irregular-word-complete h2,.irregular-word-complete p{margin:0}.irregular-word-mode-switch{justify-content:center}.irregular-word-reading-card{width:min(100%,52rem);min-height:18rem;color:var(--ink);font-family:var(--reader-font-family);text-align:center;background:#ffffffb8;border-radius:2rem;flex:1;place-content:center;justify-items:center;gap:clamp(.75rem,2vh,1.25rem);padding:2rem;display:grid;box-shadow:inset 0 1px #fffc}.irregular-word-reading-prompt{color:var(--muted-strong);font-family:var(--ui-font-family);letter-spacing:.12em;text-transform:uppercase;font-size:clamp(.78rem,1.5vw,.95rem);font-weight:900}.irregular-word-reading-word{overflow-wrap:anywhere;max-width:100%;font-size:clamp(5rem,16vw,11rem);font-weight:800;line-height:1;animation:.22s ease-out irregular-word-change}.irregular-word-reading-word--long{font-size:clamp(4rem,12vw,7.5rem)}.word-practice-reading-support{place-items:center;gap:.45rem;min-height:3rem;display:grid}.word-practice-reading-support .action-button{min-height:2.75rem;padding:.55rem 1rem}.word-practice-sound-parts{justify-content:center;gap:.35rem;animation:.18s ease-out irregular-word-change;display:flex}.word-practice-sound-parts span{min-width:2.4rem;color:var(--ink);text-align:center;background:#ffffffad;border-bottom:.22rem solid #3c317b8c;border-radius:.6rem .6rem .3rem .3rem;padding:.45rem .6rem;font-size:clamp(1.15rem,2.5vw,1.55rem);font-weight:850;line-height:1}.irregular-word-reading-reward{width:min(100%,32rem);color:var(--muted-strong);font-family:var(--ui-font-family);border-top:1px solid #382b6e1f;justify-content:center;align-items:center;gap:clamp(1rem,2.4vw,1.6rem);padding-top:clamp(.65rem,1.5vh,.9rem);display:flex}.irregular-word-reading-lantern{filter:drop-shadow(0 9px 12px #271c4e38);flex:none;width:clamp(5.7rem,10vw,7.2rem);height:clamp(6.9rem,12.5vw,8.75rem);position:relative}.irregular-word-reading-lantern-handle,.irregular-word-reading-lantern-cap,.irregular-word-reading-lantern-glass,.irregular-word-reading-lantern-base{display:block;position:absolute}.irregular-word-reading-lantern-handle{border:.18rem solid #4b3e70;border-bottom:0;border-radius:50% 50% 0 0;height:35%;top:0;left:17%;right:17%}.irregular-word-reading-lantern-cap{background:#4b3e70;border-radius:.2rem .2rem 0 0;height:9%;top:21%;left:27%;right:27%}.irregular-word-reading-lantern-glass{background:radial-gradient(circle at 50% 62%, rgba(255, 223, 128, var(--reading-lantern-glow)), transparent 60%), linear-gradient(180deg, #e5f3f4e6, #ffd3754d);box-shadow:inset 0 0 0 2px #ffffff73, inset 0 -.75rem 1.2rem rgba(255, 190, 72, var(--reading-lantern-glow)), 0 0 1.8rem rgba(255, 196, 82, var(--reading-lantern-glow));border:.16rem solid #4b3e70;border-radius:40% 40% 28% 28%;inset:29% 14% 10%;overflow:hidden}.irregular-word-reading-lantern--glowing .irregular-word-reading-lantern-glass{animation:1.45s ease-in-out infinite alternate irregular-reading-lantern-breathe}.irregular-word-reading-lantern-glass:after{content:"";pointer-events:none;z-index:3;background:#ffffff42;border-radius:50%;height:42%;position:absolute;inset:8% 18% auto}.irregular-word-reading-lantern-glass img{object-fit:cover;filter:brightness(.82)saturate(.84);width:100%;height:100%;animation:.72s ease-out both irregular-reading-mystery-peek;display:block;transform:scale(1.18)}.irregular-word-reading-lantern-fireflies{z-index:2;position:absolute;inset:8% 9% 6%}.irregular-word-reading-lantern-firefly{opacity:.42;background:#3f36641f;border:1px solid #483d6f38;border-radius:50%;width:clamp(.4rem,.9vw,.58rem);height:clamp(.4rem,.9vw,.58rem);position:absolute;transform:translate(-50%,-50%)scale(.72)}.irregular-word-reading-lantern-firefly:before,.irregular-word-reading-lantern-firefly:after{content:"";background:#ffffff24;border:1px solid #5d518033;border-radius:70% 30% 65% 35%;width:72%;height:52%;position:absolute;top:13%}.irregular-word-reading-lantern-firefly:before{right:72%;transform:rotate(-26deg)}.irregular-word-reading-lantern-firefly:after{left:72%;transform:rotate(26deg)scaleX(-1)}.irregular-word-reading-lantern-firefly--glowing{opacity:1;background:#fff3a0;border-color:#ffffffe6;transform:translate(-50%,-50%)scale(1);box-shadow:0 0 .35rem #ffee86fa,0 0 .9rem #ffb341eb}.irregular-word-reading-lantern-firefly--glowing:before,.irregular-word-reading-lantern-firefly--glowing:after{background:#fff9cb7a;border-color:#ffffffa3}.irregular-word-reading-lantern-firefly--newest{animation:.68s cubic-bezier(.18,.88,.3,1.22) irregular-reading-firefly-arrive}.irregular-word-reading-lantern-firefly:first-child{top:64%;left:50%}.irregular-word-reading-lantern-firefly:nth-child(2){top:48%;left:30%}.irregular-word-reading-lantern-firefly:nth-child(3){top:46%;left:69%}.irregular-word-reading-lantern-firefly:nth-child(4){top:70%;left:24%}.irregular-word-reading-lantern-firefly:nth-child(5){top:69%;left:76%}.irregular-word-reading-lantern-firefly:nth-child(6){top:33%;left:49%}.irregular-word-reading-lantern-firefly:nth-child(7){top:29%;left:18%}.irregular-word-reading-lantern-firefly:nth-child(8){top:28%;left:82%}.irregular-word-reading-lantern-firefly:nth-child(9){top:82%;left:39%}.irregular-word-reading-lantern-firefly:nth-child(10){top:82%;left:63%}.irregular-word-reading-lantern-base{background:#4b3e70;border-radius:0 0 .25rem .25rem;height:9%;bottom:2%;left:24%;right:24%}.irregular-word-reading-firefly-progress{text-align:center;justify-items:center;gap:.12rem;min-width:0;display:grid}.irregular-word-reading-firefly-progress strong{color:var(--ink);font-size:clamp(1.55rem,3.4vw,2.15rem);font-weight:900;line-height:1}.irregular-word-reading-firefly-progress strong span{color:var(--muted-strong);font-size:.58em}.irregular-word-reading-firefly-progress>span{letter-spacing:.06em;text-transform:uppercase;font-size:clamp(.7rem,1.4vw,.82rem);font-weight:850;line-height:1.2}@keyframes irregular-reading-firefly-arrive{0%{opacity:0;transform:translate(1.8rem,1.2rem)scale(.2)rotate(18deg)}to{opacity:1;transform:translate(-50%,-50%)scale(1)rotate(0)}}@keyframes irregular-reading-lantern-breathe{0%{filter:brightness(.94)}to{filter:brightness(1.12)}}@keyframes irregular-reading-mystery-peek{0%{opacity:.2;transform:scale(1.3)}to{opacity:1;transform:scale(1.18)}}@keyframes irregular-word-change{0%{opacity:.55;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.irregular-word-feedback{background:#ffffffad;border:2px solid #382b6e24;border-radius:1.2rem;justify-items:center;gap:.6rem;width:min(100%,34rem);padding:.85rem;display:grid}.irregular-word-feedback p{color:var(--muted-strong);text-align:center;margin:0;font-weight:800}.irregular-word-feedback-actions{flex-wrap:wrap;justify-content:center;gap:.65rem;display:flex}.irregular-word-feedback-button--suggested{outline-offset:2px;outline:3px solid #ffb3478c}.review-undo-notice{background:color-mix(in srgb, white 92%, var(--accent) 8%);border:2px solid color-mix(in srgb, var(--accent) 32%, transparent);border-radius:1rem;justify-content:space-between;align-items:center;gap:.75rem;width:min(100%,42rem);max-width:42rem;margin:0 auto .75rem;padding:.55rem .65rem .55rem .9rem;display:flex}.review-undo-notice .action-button{min-width:4.75rem;min-height:2.75rem}.review-undo-notice--compact{background:0 0;border:0;flex:none;width:auto;margin:0;padding:0}.review-undo-notice--compact>span{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.review-undo-notice--compact .action-button{min-width:0;padding-block:.45rem;padding-inline:.9rem}.irregular-word-spelling{background:#ffffff80;border:1px solid #382b6e14;border-radius:1.75rem;justify-items:center;gap:clamp(.85rem,1.8vh,1.15rem);width:min(100%,58rem);padding:clamp(1rem,2.4vw,1.5rem);display:grid;box-shadow:inset 0 1px #ffffffb8}.irregular-word-spelling-cue{text-align:center;justify-items:center;gap:.25rem;display:grid}.irregular-word-spelling-cue span,.irregular-word-alphabet-label{color:var(--muted-strong);letter-spacing:.11em;text-transform:uppercase;font-size:clamp(.72rem,1.4vw,.84rem);font-weight:900}.irregular-word-spelling-cue p,.irregular-word-spelling-status p{margin:0}.irregular-word-spelling-cue p{color:var(--muted-strong);font-size:clamp(.88rem,1.6vw,1rem)}.irregular-word-reward-scene{gap:.35rem;width:min(100%,38rem);margin:0;display:grid}.irregular-word-reward-picture{isolation:isolate;background:#211d4d;border:2px solid #ffffffc7;border-radius:1.15rem;width:100%;height:clamp(5.25rem,11vh,7.25rem);position:relative;overflow:hidden;box-shadow:0 8px 18px #281e5b26,0 0 0 1px #382b6e1f}.irregular-word-reward-picture>img{object-fit:cover;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block;transform:scale(1.015)}.irregular-word-reward-covers{grid-template-columns:repeat(var(--reward-step-count), minmax(0, 1fr));z-index:2;display:grid;position:absolute;inset:0}.irregular-word-reward-cover{color:#ffdd93b8;transform-origin:top;background:radial-gradient(circle at 50% 22%,#ffffff29,#0000 35%),linear-gradient(155deg,#3d347e,#2a245d 72%);border-left:1px solid #fff3;place-items:center;min-width:0;transition:transform .46s cubic-bezier(.22,.82,.3,1),opacity .26s;display:grid;position:relative;transform:translateY(0)rotate(0)}.irregular-word-reward-cover:nth-child(2n){background:radial-gradient(circle at 50% 74%,#ffffff21,#0000 33%),linear-gradient(165deg,#4d3d8d,#312763 72%)}.irregular-word-reward-cover:first-child{border-left:0}.irregular-word-reward-cover>span{background:#15123a42;border:1px solid #ffdd9340;border-radius:50%;place-items:center;width:clamp(1.35rem,3.5vw,2rem);height:clamp(1.35rem,3.5vw,2rem);font-size:clamp(.72rem,1.7vw,1rem);display:grid}.irregular-word-reward-cover--open{opacity:0;transform:translateY(-108%) rotate(var(--reward-tilt))}.irregular-word-reward-scene figcaption{min-height:1.15rem;color:var(--muted-strong);text-align:center;margin:0;font-size:clamp(.72rem,1.35vw,.82rem);font-weight:800;line-height:1.35}.irregular-word-reward-scene figcaption>span{display:block}.irregular-word-spelling-workbench,.irregular-word-alphabet-area{justify-items:center;gap:clamp(.55rem,1.25vh,.8rem);width:100%;display:grid}.irregular-word-spelling-status{min-height:1.4rem;color:var(--muted-strong);text-align:center;place-items:center;font-size:.9rem;font-weight:800;display:grid}.irregular-word-spelling-input-tools{flex-wrap:wrap;justify-content:center;align-items:center;gap:.65rem;width:100%;display:flex}.word-practice-grapheme-tray,.word-practice-grapheme-tiles{justify-content:center;align-items:center;display:flex}.word-practice-grapheme-tray{gap:.5rem}.word-practice-grapheme-label{color:var(--muted-strong);letter-spacing:.08em;text-align:right;text-transform:uppercase;font-size:.7rem;font-weight:900;line-height:1.15}.word-practice-grapheme-tiles{gap:.4rem}.word-practice-grapheme-tile{min-width:3rem;min-height:2.75rem;color:var(--ink);cursor:pointer;font:850 1.25rem/1 var(--reader-font-family);text-transform:lowercase;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#efeaff;border:2px solid #342c6ead;border-radius:.8rem;place-items:center;padding:.2rem .65rem .28rem;transition:background-color .12s,box-shadow 60ms,transform 60ms;display:grid;box-shadow:0 4px #342c6e24}.word-practice-grapheme-tile:hover{background:#e4dcff}.word-practice-grapheme-tile:active{transform:translateY(3px)scale(.97);box-shadow:0 1px #342c6e24}.word-practice-grapheme-tile:focus-visible{outline-offset:2px;outline:3px solid #342c6e4d}.word-practice-grapheme-tile--target{background:#ffd782}.word-practice-grapheme-tile:disabled{cursor:default;opacity:.48}.irregular-word-spelling .story-alphabet-board{width:100%}.irregular-word-spelling--graded .story-spelling-slot--correct{animation:.42s cubic-bezier(.2,.85,.3,1.15) word-quest-success-lock}.irregular-word-spelling--graded .irregular-word-reward-picture{animation:.62s ease-out word-quest-reward-glow}.irregular-word-complete{background:#ffffffa3;border:1px solid #382b6e14;border-radius:2rem;flex:1;align-content:center;width:min(100%,34rem);padding:clamp(1.5rem,5vw,3rem);box-shadow:inset 0 1px #fffc}.irregular-word-complete-mark{color:#fff;background:#3d7a48;border-radius:50%;place-items:center;width:clamp(4.25rem,11vw,5.5rem);height:clamp(4.25rem,11vw,5.5rem);margin-bottom:.45rem;font-size:clamp(2rem,5vw,2.75rem);font-weight:900;display:grid;box-shadow:0 12px 28px #3d7a4833}.irregular-word-complete h2{font-size:clamp(2.2rem,6vw,3.5rem)}.irregular-word-complete>p:not(.eyebrow){color:var(--muted-strong);font-size:clamp(1rem,2vw,1.15rem)}.irregular-word-complete-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;width:100%;margin-top:1.1rem;display:grid}.irregular-word-complete-actions .action-button{justify-content:center;min-height:3.25rem}.irregular-word-complete--spelling{gap:.3rem;width:min(100%,50rem);padding:clamp(.9rem,2.5vw,1.5rem)}.irregular-word-complete--reading{gap:.35rem;width:min(100%,38rem);padding:clamp(1rem,3vw,1.8rem)}.irregular-word-reading-reward--complete{border-top:0;flex-direction:column;gap:.45rem;width:100%;padding-top:0}.irregular-word-reading-reward--complete .irregular-word-reading-lantern{width:clamp(6rem,16vw,8rem);height:clamp(7.25rem,19vw,9.5rem)}.irregular-word-reading-reward--complete .irregular-word-reading-lantern-glass{border-width:.22rem;box-shadow:inset 0 0 0 3px #ffffff61,0 0 2.1rem #ffc452b8}.irregular-word-reading-reward-copy{text-align:center;gap:.15rem;display:grid}.irregular-word-reading-reward-copy strong{color:var(--ink);font-size:clamp(1rem,2.4vw,1.25rem)}.irregular-word-reading-reward-copy span{font-size:clamp(.78rem,1.7vw,.9rem);font-weight:750}.irregular-word-complete--spelling .irregular-word-reward-scene{width:100%;margin-bottom:.3rem}.irregular-word-reward-scene--celebrating .irregular-word-reward-picture{aspect-ratio:3/2;border-radius:1.5rem;height:auto;box-shadow:0 16px 32px #281e5b33,0 0 0 1px #382b6e1f}.irregular-word-reward-scene--celebrating .irregular-word-reward-picture>img{animation:.9s cubic-bezier(.2,.85,.3,1) both irregular-reward-scene-settle}@keyframes irregular-reward-scene-settle{0%{filter:saturate(.82)brightness(.84);transform:scale(1.08)}to{filter:saturate()brightness();transform:scale(1.015)}}.irregular-word-reward-scene--celebrating figcaption{gap:.12rem;display:grid}.irregular-word-reward-scene--celebrating figcaption strong{color:var(--ink);font-size:clamp(1rem,2.2vw,1.25rem)}.irregular-word-reward-scene--celebrating figcaption span{font-weight:700}.irregular-word-reward-sparkles{z-index:4;pointer-events:none;position:absolute;inset:0}.irregular-word-reward-sparkles span{color:#ffdf80;filter:drop-shadow(0 2px 4px #311d5273);font-size:clamp(.75rem,2.4vw,1.35rem);animation:1.35s ease-in-out infinite alternate irregular-reward-sparkle;position:absolute}.irregular-word-reward-sparkles span:first-child{top:8%;left:7%}.irregular-word-reward-sparkles span:nth-child(2){animation-delay:-.7s;top:17%;right:9%}.irregular-word-reward-sparkles span:nth-child(3){animation-delay:-.35s;bottom:13%;left:14%}.irregular-word-reward-sparkles span:nth-child(4){animation-delay:-1s;bottom:8%;right:18%}.irregular-word-reward-sparkles span:nth-child(5){animation-delay:-.55s;top:43%;left:4%}.irregular-word-reward-sparkles span:nth-child(6){animation-delay:-.2s;top:48%;right:5%}.irregular-word-reward-sparkles span:nth-child(7){animation-delay:-.9s;top:5%;left:47%}.irregular-word-reward-sparkles span:nth-child(8){animation-delay:-.45s;bottom:5%;right:44%}.word-quest-scratch-reward{gap:.45rem;width:100%;margin:0;display:grid}.word-quest-scratch-picture{aspect-ratio:3/2;isolation:isolate;background:#211d4d;border:2px solid #ffffffc7;border-radius:1.5rem;width:100%;position:relative;overflow:hidden;box-shadow:0 16px 32px #281e5b33,0 0 0 1px #382b6e1f}.word-quest-scratch-picture .scratch-frame{border-radius:inherit;width:100%;height:100%;min-height:0}.word-quest-scratch-picture .story-image{object-fit:cover;width:100%;max-width:none;height:100%;box-shadow:none}.word-quest-scratch-reward figcaption{min-height:2.7rem;color:var(--muted-strong);text-align:center;gap:.12rem;font-size:clamp(.72rem,1.35vw,.85rem);font-weight:700;line-height:1.35;display:grid}.word-quest-scratch-reward figcaption strong{color:var(--ink);font-size:clamp(1rem,2.2vw,1.25rem)}@keyframes irregular-reward-sparkle{0%{opacity:.25;transform:scale(.72)rotate(-8deg)}to{opacity:1;transform:scale(1.1)rotate(8deg)}}.irregular-word-stage--focus{overscroll-behavior:none;gap:clamp(.65rem,1.8vh,1.15rem);height:100%;min-height:0;animation:none;overflow:hidden}.irregular-word-stage--focus .action-button{min-height:2.75rem}.irregular-word-stage--focus .stage-meta{flex-direction:row;align-items:center;gap:.75rem}.irregular-word-stage--focus .lesson-pill,.irregular-word-stage--focus .progress-pill,.irregular-word-stage--focus .irregular-word-focus-toggle{padding:.62rem .9rem;font-size:.9rem}.irregular-word-stage--focus .progress-pill{white-space:nowrap}.irregular-word-stage--focus .irregular-word-heading{display:none}.irregular-word-stage--focus .irregular-word-reading-card{min-height:0;box-shadow:none;border:1px solid #382b6e14}.irregular-word-stage--focus .irregular-word-feedback{background:0 0;border:0;gap:.5rem;width:min(100%,34rem);padding:0}.irregular-word-stage--focus .irregular-word-feedback-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.irregular-word-stage--focus .irregular-word-feedback .action-button{justify-content:center;min-height:3rem}.irregular-word-stage--focus .irregular-word-mode-switch{display:none}.irregular-word-stage--focus .irregular-word-spelling{flex:1;align-content:center;gap:clamp(.6rem,1.7vh,1rem);min-height:0}.irregular-word-stage--focus .irregular-word-reward-scene:not(.irregular-word-reward-scene--celebrating){width:min(100%,36rem)}.irregular-word-stage--focus .story-spelling-success,.irregular-word-stage--focus .story-audio-error{text-align:center;margin:0}.irregular-word-spelling-result-actions .action-button{justify-content:center;min-width:0}.word-quest-stage{gap:clamp(.45rem,1.2vh,.75rem)}.word-quest-trail{z-index:1;grid-template-columns:repeat(5,minmax(0,1fr));width:min(100%,34rem);margin:0;padding:0;list-style:none;display:grid;position:relative}.word-quest-trail:before{content:"";background:#3c317b29;border-radius:1rem;height:.18rem;position:absolute;top:1rem;left:10%;right:10%}.word-quest-trail-stop{z-index:1;color:var(--muted-strong);justify-items:center;gap:.18rem;font-weight:850;display:grid;position:relative}.word-quest-trail-stop>span{width:2rem;height:2rem;color:var(--muted-strong);background:#f4efff;border:2px solid #3c317b33;border-radius:50%;place-items:center;font-size:.76rem;transition:background-color .18s,box-shadow .18s,transform .18s;display:grid}.word-quest-trail-stop small{letter-spacing:.05em;text-transform:uppercase;font-size:.64rem}.word-quest-trail-stop--current>span{color:#211d4d;background:#ff9b73;border-color:#ff9b73;transform:scale(1.08);box-shadow:0 0 0 .3rem #ff9b7333}.word-quest-workspace{background:#ffffff94;border:1px solid #382b6e14;border-radius:1.6rem;flex:1;align-content:center;justify-items:center;gap:clamp(.55rem,1.4vh,.85rem);width:min(100%,58rem);min-height:0;padding:clamp(.75rem,1.8vw,1.15rem);display:grid;box-shadow:inset 0 1px #ffffffbd}.word-quest-challenge{text-align:center;justify-items:center;gap:clamp(.5rem,1.2vh,.75rem);width:min(100%,46rem);min-width:0;display:grid}.word-quest-kicker,.word-quest-instruction{margin:0}.word-quest-kicker{color:var(--muted-strong);letter-spacing:.1em;text-transform:uppercase;font-size:clamp(.7rem,1.3vw,.82rem);font-weight:950}.word-quest-instruction{color:var(--muted-strong);font-size:clamp(.86rem,1.5vw,1rem);font-weight:800}.word-quest-reading-word,.word-quest-sound-word,.word-quest-sentence{color:var(--ink);font-family:var(--reader-font-family);font-weight:850;animation:.22s ease-out irregular-word-change}.word-quest-reading-word{overflow-wrap:anywhere;max-width:100%;font-size:clamp(4.5rem,13vw,8rem);line-height:.95}.word-quest-sound-word,.word-quest-sentence{margin:0;line-height:1.12}.word-quest-sound-word{letter-spacing:.04em;font-size:clamp(3.5rem,9vw,6rem)}.word-quest-sentence{max-width:42rem;font-size:clamp(2rem,5.2vw,3.5rem)}.word-quest-actions,.word-quest-spelling-tools,.word-quest-choice-tiles{flex-wrap:wrap;justify-content:center;align-items:center;gap:.65rem;display:flex}.word-quest-actions .action-button,.word-quest-spelling-tools .action-button{min-height:2.75rem}.word-quest-choice-tile{min-width:clamp(5rem,12vw,7rem);min-height:3.25rem;color:var(--ink);cursor:pointer;font:850 clamp(1.35rem, 3vw, 1.85rem)/1 var(--reader-font-family);touch-action:manipulation;background:#efeaff;border:2px solid #342c6e99;border-radius:.9rem;padding:.5rem 1rem .65rem;transition:background-color .12s,box-shadow 80ms,transform 80ms;box-shadow:0 4px #342c6e24}.word-quest-choice-tile:hover{background:#e4dcff;transform:translateY(-2px)}.word-quest-choice-tile:active{transform:translateY(3px)scale(.98);box-shadow:0 1px #342c6e24}.word-quest-choice-tile--correct{color:#245d31;background:#dff3e2;border-color:#4f8a5a;box-shadow:0 0 0 .3rem #4f8a5a24}.word-quest-completed-answer{color:#245d31;background:#dff3e2;border-bottom:.1em solid #4f8a5a;border-radius:.18em;min-width:.85em;margin-inline:.06em;padding:.02em .12em .06em;animation:.42s cubic-bezier(.2,.85,.3,1.15) word-quest-answer-arrive;display:inline-block}.word-quest-feedback{color:#2e6c3b;place-items:center;min-height:1.25rem;font-size:.86rem;font-weight:900;display:grid}.word-quest-workspace--try-again .word-quest-feedback{color:#8b3c32}.word-quest-workspace--correct .word-quest-challenge{animation:.52s cubic-bezier(.2,.85,.3,1.15) word-quest-success-lock}.word-quest-workspace--correct .irregular-word-reward-picture{animation:.62s ease-out word-quest-reward-glow}.word-quest-workspace--try-again .word-quest-choice-tiles,.word-quest-workspace--try-again .story-spelling-slots{animation:.26s ease-in-out word-quest-nudge}.word-quest-spelling-challenge .story-spelling-slots{gap:.45rem}.word-quest-spelling-challenge .story-spelling-slot{width:clamp(2.7rem,6vw,3.65rem);height:clamp(3rem,6.7vw,4rem);font-size:clamp(1.55rem,3.5vw,2.2rem)}.word-quest-spelling-challenge .word-practice-grapheme-tray{min-height:2.75rem}.word-quest-alphabet{gap:.45rem;width:100%;max-width:42rem;padding:.55rem}.word-quest-alphabet .story-alphabet-row{gap:.5rem}.word-quest-alphabet .story-alphabet-tile{min-width:clamp(2.9rem,6.4vw,3.8rem);min-height:clamp(2.9rem,6.4vw,3.8rem);font-size:clamp(1.65rem,3.4vw,2.25rem)}@keyframes word-quest-success-lock{0%{transform:scale(1)}45%{transform:scale(1.025)}to{transform:scale(1)}}@keyframes word-quest-answer-arrive{0%{opacity:.4;transform:translateY(.12em)scale(.94)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes word-quest-reward-glow{0%{box-shadow:0 8px 18px #281e5b26}45%{box-shadow:0 0 0 .35rem #ffc65c40,0 9px 24px #281e5b33}to{box-shadow:0 8px 18px #281e5b26}}@keyframes word-quest-nudge{0%,to{transform:translate(0)}35%{transform:translate(-.35rem)}70%{transform:translate(.35rem)}}@media (width>=721px) and (orientation:landscape){.irregular-word-complete--spelling{text-align:left;grid-template-rows:auto auto auto 1fr;grid-template-columns:minmax(0,1.55fr) minmax(14rem,.8fr);align-items:center;column-gap:clamp(.9rem,2vw,1.4rem)}.irregular-word-complete--spelling .irregular-word-reward-scene{grid-area:1/1/span 4;align-self:center;margin:0}.irregular-word-complete--spelling>:not(.irregular-word-reward-scene){grid-column:2;justify-self:stretch}.irregular-word-complete--spelling>.eyebrow{align-self:end}.irregular-word-complete--spelling h2,.irregular-word-complete--spelling>p{text-align:left}.irregular-word-complete--spelling .irregular-word-complete-actions{grid-template-columns:1fr;align-self:start;margin-top:.65rem}.irregular-word-stage--focus .irregular-word-reward-scene--celebrating .irregular-word-reward-picture{aspect-ratio:3/2;height:auto}.word-quest-complete>.word-quest-scratch-reward{grid-area:1/1/span 4;place-self:center stretch}.word-quest-complete>:not(.word-quest-scratch-reward){grid-column:2;justify-self:stretch}.word-quest-complete{grid-template-columns:minmax(0,1.45fr) minmax(17rem,.9fr)}.word-quest-complete h2{text-wrap:balance;font-size:clamp(2rem,3.4vw,2.5rem);line-height:1.02}}@media (width>=900px) and (orientation:landscape){.irregular-word-stage--focus{gap:clamp(.45rem,1.1vh,.7rem);padding:1rem}.irregular-word-stage--focus:before{inset:.75rem}.irregular-word-stage--focus .irregular-word-spelling{align-content:center;justify-items:center;gap:clamp(.4rem,1vh,.65rem);width:min(100%,58rem);padding:clamp(.8rem,1.6vh,1rem)}.irregular-word-stage--focus .irregular-word-reward-picture{height:clamp(4.5rem,9.5vh,6.25rem)}.irregular-word-stage--focus .story-alphabet-board{gap:clamp(.55rem,1.35vh,.75rem);width:100%;max-width:42rem;padding:clamp(.65rem,1.45vh,.85rem)}.irregular-word-stage--focus .story-alphabet-row{gap:clamp(.55rem,1.35vh,.75rem)}.irregular-word-stage--focus .story-alphabet-tile{min-width:clamp(3.75rem,6.8vw,4.35rem);min-height:clamp(3.75rem,6.8vw,4.35rem);font-size:clamp(2.05rem,3.9vw,2.55rem)}.irregular-word-stage--focus .irregular-word-feedback{grid-template-columns:auto auto;justify-content:center;align-items:center;gap:.7rem;width:min(100%,40rem);padding:.6rem .75rem}.irregular-word-stage--focus .irregular-word-feedback p{white-space:nowrap;font-size:.9rem}.irregular-word-stage--focus .irregular-word-feedback-actions{gap:.45rem}.irregular-word-stage--focus .irregular-word-feedback .action-button{min-width:0;padding:.55rem .85rem;font-size:.9rem}.irregular-word-stage--focus .irregular-word-spelling-input-tools{flex-wrap:nowrap}}@media (width>=900px) and (height<=820px) and (orientation:landscape){.irregular-word-stage--focus .story-alphabet-board{gap:.4rem;padding-block:.5rem}.irregular-word-stage--focus .story-alphabet-tile{min-width:clamp(3.65rem,6vw,4rem);min-height:clamp(3.65rem,6vw,4rem);font-size:clamp(1.95rem,3.7vw,2.35rem)}}@media (width>=721px) and (height<=900px) and (orientation:landscape){.irregular-word-stage--setup{gap:.45rem;min-height:0;padding:.75rem 1rem}.irregular-word-stage--setup .irregular-word-setup-header{align-items:center}.irregular-word-stage--setup .irregular-word-setup-header h2{font-size:clamp(2rem,3.5vw,2.65rem)}.irregular-word-stage--setup .irregular-word-setup-header p:last-child{margin-top:.3rem;font-size:.88rem}.irregular-word-stage--setup .irregular-word-setup-mode{gap:.25rem;min-height:5.5rem;padding:.65rem .75rem}.irregular-word-stage--setup .irregular-word-setup-mode strong{font-size:1.12rem;line-height:1.15}.irregular-word-stage--setup .irregular-word-setup-mode>span:last-child{font-size:.72rem;line-height:1.25}.irregular-word-stage--setup .word-quest-source-note{font-size:.72rem}.irregular-word-stage--setup .word-practice-reward-choice{height:3.5rem}.irregular-word-stage--setup .irregular-word-setup-summary{padding:.42rem 0}.irregular-word-stage--setup .irregular-word-start-button{min-height:2.8rem}.irregular-word-stage--setup .irregular-word-setup-action{gap:.25rem}.irregular-word-stage--setup .irregular-word-setup-action p,.irregular-word-stage--setup .word-practice-adult-options summary{font-size:.72rem}}@media (width>=721px) and (height<=760px) and (orientation:landscape){.irregular-word-stage--focus{gap:.4rem;padding:.75rem}.irregular-word-stage--focus:before{inset:.6rem}.irregular-word-stage--focus .irregular-word-spelling{gap:.3rem;padding:.65rem}.irregular-word-stage--focus .irregular-word-reward-picture{height:3.5rem}.irregular-word-stage--focus .irregular-word-alphabet-area{gap:.35rem}.irregular-word-stage--focus .story-alphabet-board{gap:.45rem;padding:.45rem}.irregular-word-stage--focus .story-alphabet-row{gap:.55rem}.irregular-word-stage--focus .story-alphabet-tile{min-width:3.75rem;min-height:3.75rem;font-size:2.1rem}.word-quest-stage .word-quest-workspace{align-content:start}.word-quest-stage .word-quest-alphabet .story-alphabet-row{gap:.4rem}.word-quest-stage .word-quest-alphabet .story-alphabet-tile{min-width:3.2rem;min-height:3.2rem;font-size:1.9rem}}@media (width<=720px){.irregular-word-stage{padding:1rem}.irregular-word-stage--setup{gap:.65rem;min-height:0;padding:1rem}.irregular-word-stage:before{display:none}.irregular-word-setup-header{gap:.8rem;display:grid}.irregular-word-setup-header h2{font-size:clamp(1.85rem,9vw,2.3rem)}.irregular-word-setup-header p:last-child{display:none}.irregular-word-setup-header .lesson-pill{justify-self:start;padding:.6rem .8rem;font-size:.78rem}.irregular-word-setup-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;font-size:.72rem;display:grid}.irregular-word-setup-summary span{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.3rem;min-width:0;display:grid}.irregular-word-setup-summary span:last-child{justify-self:end}.irregular-word-setup-summary strong{font-size:1.15rem}.irregular-word-setup-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.irregular-word-setup-mode{min-height:0;padding:.75rem .8rem}.irregular-word-setup-mode strong{font-size:1.05rem}.irregular-word-setup-mode>span:last-child{font-size:.76rem}.word-practice-adult-options summary{align-items:center;min-height:2.75rem;display:flex}.word-practice-reward-picker{grid-template-columns:1fr;gap:.45rem}.word-practice-reward-picker-copy{justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}.word-practice-reward-picker-copy p{display:none}.word-practice-reward-choices{gap:.45rem}.word-practice-reward-choice{height:3.8rem}.word-practice-reward-choice>span:not(.word-practice-reward-choice-check){font-size:.64rem}.irregular-word-stage--setup .word-quest-source-note{white-space:nowrap;font-size:.7rem}.irregular-word-stage--setup .irregular-word-setup-action p{display:none}.irregular-word-start-button{min-height:3rem}.irregular-word-feedback{width:100%}.irregular-word-stage--focus{padding:max(.7rem, env(safe-area-inset-top)) max(.7rem, env(safe-area-inset-right)) max(.7rem, env(safe-area-inset-bottom)) max(.7rem, env(safe-area-inset-left));border-radius:1.35rem;gap:.65rem}.irregular-word-stage--focus:before{border-radius:1rem;inset:.55rem}.irregular-word-stage--focus .stage-meta{gap:.45rem}.irregular-word-stage--focus .lesson-pill{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.irregular-word-stage--focus .irregular-word-stage-actions{gap:.4rem}.irregular-word-stage--focus .lesson-pill,.irregular-word-stage--focus .progress-pill,.irregular-word-stage--focus .irregular-word-focus-toggle{padding:.48rem .65rem;font-size:.78rem}.irregular-word-stage--focus .mode-button{padding:.65rem .9rem}.irregular-word-stage--focus .irregular-word-reading-card{border-radius:1.4rem;gap:.55rem;padding:1rem}.irregular-word-stage--focus .irregular-word-reading-reward:not(.irregular-word-reading-reward--complete){gap:.55rem;padding-top:.5rem}.irregular-word-stage--focus .irregular-word-reading-reward:not(.irregular-word-reading-reward--complete) .irregular-word-reading-lantern{width:4.7rem;height:5.7rem}.irregular-word-stage--focus .irregular-word-reading-reward--complete .irregular-word-reading-lantern{width:5.25rem;height:6.35rem}.irregular-word-stage--focus .irregular-word-reading-word{font-size:clamp(4rem,19vw,6.5rem)}.irregular-word-stage--focus .irregular-word-reading-word--long{font-size:clamp(3rem,15vw,4.75rem)}.irregular-word-stage--focus .irregular-word-feedback{gap:.45rem;padding:0}.irregular-word-stage--focus .irregular-word-feedback p{font-size:.86rem}.irregular-word-stage--focus .irregular-word-feedback-actions{gap:.4rem}.irregular-word-stage--focus .irregular-word-feedback .action-button{min-width:0;padding:.55rem .8rem;font-size:.88rem}.irregular-word-stage--focus .irregular-word-complete{border-radius:1.4rem}.irregular-word-stage--focus .irregular-word-reward-scene--celebrating .irregular-word-reward-picture{aspect-ratio:3/2;height:auto}.irregular-word-stage--focus .irregular-word-reward-picture{border-radius:.9rem;height:clamp(4.25rem,9vh,5.5rem)}.irregular-word-stage--focus .irregular-word-reward-scene figcaption{font-size:.7rem}.irregular-word-stage--focus .irregular-word-complete-actions{grid-template-columns:1fr}.irregular-word-stage--focus .irregular-word-spelling{border-radius:1.25rem;gap:.5rem;padding:.75rem .5rem}.irregular-word-stage--focus .irregular-word-spelling-cue p{font-size:.82rem}.irregular-word-stage--focus .irregular-word-spelling-workbench,.irregular-word-stage--focus .irregular-word-alphabet-area{gap:.45rem;min-width:0}.irregular-word-stage--focus .story-alphabet-row{gap:.25rem}.irregular-word-stage--focus .irregular-word-spelling-status{min-height:1.15rem;font-size:.8rem}.irregular-word-stage--focus .story-spelling-slots{gap:.4rem}.irregular-word-stage--focus .story-spelling-slot{width:clamp(2.55rem,12vw,3.25rem);height:clamp(2.9rem,13vw,3.7rem);font-size:clamp(1.5rem,7vw,2rem)}.irregular-word-stage--focus .story-encoding-overlay-actions{gap:.4rem}.irregular-word-stage--focus .story-encoding-overlay-actions .action-button{min-width:0;padding:.6rem .75rem;font-size:.88rem}.irregular-word-stage--focus .irregular-word-spelling-input-tools{gap:.4rem;display:grid}.irregular-word-stage--focus .word-practice-grapheme-tray{flex-wrap:wrap;gap:.4rem;width:100%}.irregular-word-stage--focus .word-practice-grapheme-label{text-align:center;flex-basis:100%}.irregular-word-stage--focus .word-practice-grapheme-tile{min-width:2.75rem;min-height:2.75rem;padding-inline:.55rem;font-size:1.15rem}.word-quest-stage{gap:.4rem}.word-quest-trail{width:min(100%,24rem)}.word-quest-trail-stop>span{width:1.7rem;height:1.7rem}.word-quest-trail:before{top:.85rem}.word-quest-trail-stop small{font-size:.56rem}.word-quest-workspace{border-radius:1.2rem;gap:.45rem;padding:.6rem .5rem}.word-quest-workspace .irregular-word-reward-scene{width:min(100%,30rem)}.word-quest-workspace .irregular-word-reward-picture{height:clamp(3.8rem,8vh,4.8rem)}.word-quest-challenge{gap:.42rem}.word-quest-reading-word{font-size:clamp(3.8rem,20vw,6rem)}.word-quest-sound-word{font-size:clamp(3rem,15vw,4.5rem)}.word-quest-sentence{font-size:clamp(1.55rem,7.5vw,2.4rem)}.word-quest-choice-tile{min-width:4.5rem;min-height:2.75rem;padding:.35rem .75rem .5rem;font-size:1.3rem}.word-quest-spelling-challenge .story-spelling-slot{width:clamp(2.55rem,12vw,3.25rem);height:clamp(2.9rem,13vw,3.7rem)}.word-quest-spelling-tools{gap:.4rem}.word-quest-spelling-tools .action-button{min-width:0;padding:.55rem .7rem;font-size:.84rem}.word-quest-alphabet{gap:.35rem;padding:.35rem .25rem}.irregular-word-stage--focus .irregular-word-spelling-result-actions .action-button{padding-inline:.55rem;font-size:.82rem}}@media (width<=480px){.irregular-word-stage--focus .irregular-word-focus-lesson-concept{display:none}}@media (height<=600px) and (orientation:landscape){.app-shell--irregular-focus{padding:max(.45rem, env(safe-area-inset-top)) max(.6rem, env(safe-area-inset-right)) max(.45rem, env(safe-area-inset-bottom)) max(.6rem, env(safe-area-inset-left));gap:0}.irregular-word-stage--focus{border-radius:1.2rem;gap:.35rem;padding:.55rem}.irregular-word-stage--focus:before{border-radius:.9rem;inset:.4rem}.irregular-word-stage--focus .lesson-pill,.irregular-word-stage--focus .progress-pill,.irregular-word-stage--focus .irregular-word-focus-toggle{padding:.35rem .6rem;font-size:.76rem}.irregular-word-stage--focus .mode-button{padding:.4rem .75rem;font-size:.82rem}.irregular-word-stage--focus .irregular-word-spelling{gap:.35rem .75rem;width:100%;padding:.5rem}.irregular-word-stage--focus .irregular-word-reading-card{gap:.3rem}.irregular-word-stage--focus .word-practice-reading-support{min-height:2.2rem}.irregular-word-stage--focus .word-practice-reading-support .action-button{min-height:2.75rem;padding:.35rem .75rem;font-size:.78rem}.irregular-word-stage--focus .word-practice-sound-parts span{min-width:2rem;padding:.3rem .45rem;font-size:1rem}.irregular-word-stage--focus .irregular-word-reading-reward:not(.irregular-word-reading-reward--complete){gap:.45rem;padding-top:.25rem}.irregular-word-stage--focus .irregular-word-reading-reward:not(.irregular-word-reading-reward--complete) .irregular-word-reading-lantern{width:3.75rem;height:4.55rem}.irregular-word-stage--focus .irregular-word-reading-firefly-progress>span{display:none}.irregular-word-stage--focus .irregular-word-reading-reward--complete .irregular-word-reading-lantern{width:4.5rem;height:5.4rem}.irregular-word-stage--focus .irregular-word-reward-picture{border-radius:.75rem;height:3.5rem}.irregular-word-stage--focus .irregular-word-reward-scene:not(.irregular-word-reward-scene--celebrating) figcaption{display:none}.irregular-word-stage--focus .irregular-word-reward-scene--celebrating .irregular-word-reward-picture{aspect-ratio:3/2;height:auto}.irregular-word-stage--focus .irregular-word-feedback{gap:.25rem;width:100%;padding:.4rem}.irregular-word-stage--focus .irregular-word-feedback p{font-size:.76rem}.irregular-word-stage--focus .story-spelling-slot{border-bottom-width:.25rem;width:clamp(2.25rem,9vh,2.8rem);height:clamp(2.55rem,10vh,3.15rem);font-size:clamp(1.3rem,6vh,1.75rem)}.irregular-word-stage--focus .story-encoding-overlay-actions{gap:.35rem}.irregular-word-stage--focus .story-encoding-overlay-actions .action-button{min-width:0;padding:.4rem .65rem;font-size:.8rem}.irregular-word-stage--focus .story-alphabet-board{max-width:34rem}.irregular-word-stage--focus .story-alphabet-tile{min-width:clamp(2.65rem,10vh,3.15rem);min-height:clamp(2.65rem,10vh,3.15rem);font-size:clamp(1.55rem,6vh,1.9rem)}}@media (prefers-reduced-motion:reduce){.irregular-word-reward-cover{transition:none}.irregular-word-reward-sparkles span,.irregular-word-reward-scene--celebrating .irregular-word-reward-picture>img,.irregular-word-reading-lantern-firefly--newest,.irregular-word-reading-lantern--glowing .irregular-word-reading-lantern-glass,.irregular-word-reading-lantern-glass img{animation:none}.word-practice-grapheme-tile,.word-practice-reward-choice,.word-practice-reward-choice-check,.word-quest-trail-stop>span,.word-quest-choice-tile{transition:none}.word-quest-workspace--correct .word-quest-challenge,.word-quest-workspace--correct .irregular-word-reward-picture,.word-quest-workspace--try-again .word-quest-choice-tiles,.word-quest-workspace--try-again .story-spelling-slots,.word-quest-completed-answer,.irregular-word-spelling--graded .story-spelling-slot--correct,.irregular-word-spelling--graded .irregular-word-reward-picture{animation:none}}.sentence-spelling-setup{align-content:start}.sentence-spelling-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;display:flex}.sentence-spelling-header .review-undo-notice{flex:1}.sentence-spelling-header h2{margin:.2rem 0}.sentence-spelling-hear{justify-content:center;align-items:center;gap:.4rem;display:inline-flex}.sentence-spelling-hear svg{width:1.2rem;height:1.2rem}.sentence-spelling-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0;display:grid}.sentence-spelling-preview>div{text-align:center;gap:.4rem;display:grid}.sentence-spelling-mystery{color:#eec66b;background:linear-gradient(140deg,#143e42,#243250);border-radius:1rem;place-items:center;min-height:140px;font-size:3rem;display:grid}.sentence-spelling-round{background:var(--paper,#fffaf0);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:1.5rem;flex-direction:column;gap:.7rem;height:100%;min-height:0;padding:clamp(.65rem,2vw,1.4rem);display:flex;overflow:auto}.sentence-spelling-round button{min-height:44px}.sentence-spelling-sentence .story-encoding-panel{padding:.5rem}.sentence-spelling-sentence .story-hint{display:none}.sentence-spelling-sentence .story-encoding-sentences{font-family:var(--learner-font);font-size:clamp(1.25rem,2.6vw,2rem)}.sentence-spelling-context{grid-template-columns:minmax(0,1fr) clamp(80px,12vh,140px);align-items:center;gap:1rem;display:grid}.sentence-spelling-context .irregular-word-reward-picture{aspect-ratio:1;width:100%;height:auto}.sentence-spelling-context .irregular-word-reward-picture>img{filter:blur(9px);transform:scale(1.18)}.sentence-spelling-context .irregular-word-reward-scene figcaption{display:none}.sentence-spelling-workspace{flex:1;min-height:0;display:flex}.sentence-spelling-sentence .story-encoding-word{justify-content:center;align-items:center;gap:.25rem;min-height:44px;padding:.25rem .35rem;display:flex}.sentence-spelling-sentence .story-encoding-word-content{align-items:flex-end;height:32px;min-height:0}.sentence-spelling-sentence .story-completed-word{border-bottom-width:2px;min-height:0;padding:0;font-size:1.35rem;line-height:1.3}.sentence-spelling-sentence .story-encoding-word-audio{width:28px;height:28px}.sentence-spelling-sentence .story-word-slots--compact{gap:3px}.sentence-spelling-sentence .story-word-slots--compact .story-word-slot{width:16px;height:25px}.sentence-spelling-sentence .story-encoding-sentence{gap:.25rem}.sentence-spelling-build{grid-template-rows:auto auto minmax(192px,1fr) auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.6rem 1rem;width:100%;min-width:0;display:grid}.sentence-spelling-build>.eyebrow{grid-area:1/1;align-self:center}.sentence-spelling-build>.sentence-spelling-status{text-align:center;grid-area:1/2;align-self:center}.sentence-spelling-build>.sentence-spelling-slots{grid-area:2/1}.sentence-spelling-build>.sentence-spelling-actions{grid-area:2/2;align-items:center}.sentence-spelling-build>.story-alphabet-board{grid-area:3/1/auto/-1}.sentence-spelling-build>.word-practice-grapheme-tray{grid-area:4/1;margin:0}.sentence-spelling-build>.sentence-spelling-actions[aria-label]{grid-area:4/2;min-height:44px}.sentence-spelling-build .eyebrow{margin:0}.sentence-spelling-slots{flex-wrap:nowrap;gap:.35rem}.sentence-spelling-slots .story-spelling-slot{width:min(58px, calc((100% - (var(--sentence-letter-count) - 1) * .35rem) / var(--sentence-letter-count)));flex-shrink:0;min-width:0;height:clamp(44px,6vw,64px);padding:0;font-size:clamp(1.25rem,3vw,2.3rem)}.sentence-spelling-status{min-height:1.5rem;color:var(--muted-strong)}.sentence-spelling-actions{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.sentence-spelling-build .story-alphabet-board{grid-template-rows:repeat(4,minmax(44px,1fr));gap:clamp(.4rem,1.2vh,.9rem);width:100%;padding:.35rem .35rem .65rem}.sentence-spelling-build .story-alphabet-row{gap:clamp(.4rem,1.2vw,1rem);width:100%}.sentence-spelling-build .story-alphabet-row:last-child{width:calc(71.4286% - clamp(.4rem,1.2vw,1rem)/3.5)}.sentence-spelling-build .story-alphabet-tile{width:100%;min-width:0;height:100%;min-height:44px;padding:.1rem .25rem;font-size:clamp(2rem,4vw,3.5rem)}.sentence-spelling-payoff,.sentence-spelling-finished{align-content:start;justify-items:center;gap:.6rem;min-height:0;display:grid}.sentence-spelling-payoff h2,.sentence-spelling-finished h2{text-align:center;margin:.2rem 0;font-size:clamp(1.15rem,2vw,1.6rem)}.sentence-spelling-completed-text{font:1.8rem/1.5 var(--learner-font);text-align:center;margin:0}.sentence-spelling-payoff .word-quest-scratch-reward{width:min(100%,480px,58vh)}.sentence-spelling-payoff .word-quest-scratch-picture{aspect-ratio:1}.sentence-spelling-finished>img{border-radius:1rem;width:min(100%,400px,55vh)}@media (width<=600px){.sentence-spelling-round .sentence-spelling-header{grid-template-columns:minmax(0,1fr) auto auto auto;gap:.3rem;display:grid}.sentence-spelling-round .sentence-spelling-header .lesson-pill{grid-column:1;padding:.3rem .25rem;font-size:.75rem}.sentence-spelling-round .sentence-spelling-header .review-undo-notice{grid-column:2}.sentence-spelling-round .sentence-spelling-header .action-button{min-width:44px;padding:.2rem .5rem;font-size:.85rem}.sentence-spelling-round .sentence-spelling-header .sentence-spelling-hear{grid-column:3;width:44px;height:44px;padding:0}.sentence-spelling-round .sentence-spelling-header .sentence-spelling-hear span{display:none}.sentence-spelling-round .sentence-spelling-header>button:last-child{grid-column:4}.sentence-spelling-preview{gap:.5rem}.sentence-spelling-mystery{min-height:100px}.sentence-spelling-preview span:last-child{font-size:.8rem}.sentence-spelling-context{grid-template-columns:minmax(0,1fr) 72px;gap:.4rem}.sentence-spelling-build{grid-template-rows:auto auto auto auto minmax(192px,1fr) auto auto;grid-template-columns:minmax(0,1fr);gap:.4rem}.sentence-spelling-build>.eyebrow{grid-area:1/1}.sentence-spelling-build>.sentence-spelling-slots{grid-area:2/1}.sentence-spelling-build>.sentence-spelling-status{grid-area:3/1}.sentence-spelling-build>.sentence-spelling-actions{grid-area:4/1}.sentence-spelling-build>.story-alphabet-board{grid-area:5/1}.sentence-spelling-build>.word-practice-grapheme-tray{grid-area:6/1}.sentence-spelling-build>.sentence-spelling-actions[aria-label]{grid-area:7/1}.sentence-spelling-build .word-practice-grapheme-label{display:none}.sentence-spelling-status{min-height:3rem}.sentence-spelling-sentence .story-word-slots--compact .story-word-slot{width:12px;height:20px}.sentence-spelling-completed-text{font-size:1.5rem}}@media (height<=550px) and (orientation:landscape){.sentence-spelling-round{gap:.15rem;padding:.15rem .7rem}.sentence-spelling-header{flex-wrap:nowrap}.sentence-spelling-header .action-button{height:44px;padding:.2rem .7rem}.sentence-spelling-context{display:block}.sentence-spelling-context>.irregular-word-reward-scene{display:none}.sentence-spelling-sentence .story-encoding-panel{padding:0}.sentence-spelling-sentence .story-encoding-word{justify-content:center;align-items:center;gap:.2rem;display:flex}.sentence-spelling-sentence .story-word-slots--compact .story-word-slot{width:7px;height:16px}.sentence-spelling-sentence .story-encoding-word-content{height:24px}.sentence-spelling-sentence .story-encoding-punctuation{font-size:1.25rem}.sentence-spelling-sentence .story-encoding-word-audio{width:20px;height:20px}.sentence-spelling-build{grid-template-rows:auto 44px 88px 44px;grid-template-columns:1fr 1fr;align-content:start;gap:.2rem .6rem;display:grid}.sentence-spelling-build>.eyebrow{grid-area:1/1}.sentence-spelling-build>.sentence-spelling-status{grid-area:1/2;min-height:0;font-size:.8rem}.sentence-spelling-build>.sentence-spelling-slots{grid-area:2/1}.sentence-spelling-build>.sentence-spelling-actions{grid-area:2/2}.sentence-spelling-build>.sentence-spelling-actions[aria-label]{grid-row:4}.sentence-spelling-build>.story-alphabet-board{grid-area:3/1/auto/-1;grid-template-rows:repeat(2,44px);grid-template-columns:repeat(13,minmax(0,1fr));gap:0 .25rem;padding:0;display:grid}.sentence-spelling-build .story-alphabet-row{display:contents}.sentence-spelling-build .story-alphabet-row:last-child{width:auto}.sentence-spelling-build .story-alphabet-tile{height:44px;padding:0;font-size:1.5rem}.sentence-spelling-build>.word-practice-grapheme-tray{grid-area:4/1;margin:0}.sentence-spelling-build .word-practice-grapheme-label{display:none}.sentence-spelling-build .action-button{padding:.3rem .7rem}.sentence-spelling-payoff{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}.sentence-spelling-payoff .word-quest-scratch-reward{grid-area:1/2/4;width:min(100%,65vh)}}.irregular-word-setup-modes{grid-template-columns:repeat(4,minmax(0,1fr))}.sound-sprint-stage{gap:clamp(.55rem,1.4vh,.9rem)}.sound-sprint-card{width:min(100%,52rem);min-height:0;color:var(--ink);text-align:center;background:#ffffffb8;border:1px solid #382b6e14;border-radius:2rem;flex:1;place-content:center;justify-items:center;gap:clamp(.45rem,1.2vh,.8rem);padding:clamp(1rem,3vw,2rem);display:grid;box-shadow:inset 0 1px #ffffffd1}.sound-sprint-grapheme{color:#2f285f;max-width:100%;font-family:var(--reader-font-family);letter-spacing:.015em;overflow-wrap:anywhere;font-size:clamp(6rem,22vmin,13rem);font-weight:850;line-height:.9;animation:.22s ease-out irregular-word-change}.sound-sprint-anchor-cue{min-height:1.6rem;color:var(--muted-strong);font-family:var(--reader-font-family);place-items:center;font-size:clamp(1rem,2vw,1.25rem);display:grid}.sound-sprint-anchor-cue strong{color:var(--ink)}.sound-sprint-response{place-items:center;min-height:4.35rem;display:grid}.sound-sprint-response p{color:var(--muted-strong);margin:0;font-size:.9rem;font-weight:800}.sound-sprint-answer{border-block:1px solid #382b6e1f;justify-content:center;align-items:baseline;gap:.55rem;padding:.65rem 1rem;animation:.18s ease-out irregular-word-change;display:flex}.sound-sprint-answer span{color:var(--muted-strong);font-size:.86rem;font-weight:800}.sound-sprint-answer strong{font-family:var(--reader-font-family);font-size:clamp(1.4rem,3.4vw,2.05rem)}.sound-sprint-support-actions{flex-wrap:wrap;justify-content:center;gap:.55rem;display:flex}.sound-sprint-support-actions .action-button{justify-content:center;min-height:2.75rem}.sound-sprint-card .story-audio-error{text-align:center;max-width:32rem;margin:0;font-size:.82rem}.sound-sprint-card .irregular-word-reading-reward{padding-top:clamp(.45rem,1vh,.7rem)}.sound-sprint-fixed-deck-note{min-height:3rem;color:var(--muted-strong);text-align:center;margin:0;font-size:.82rem;font-weight:800}.sound-sprint-complete h2{font-size:clamp(2rem,5vw,3.25rem)}@media (width<=720px){.irregular-word-setup-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.irregular-word-setup-mode>span:last-child{display:none}.irregular-word-setup-mode{text-align:center;align-content:center;min-height:5.8rem;padding:.7rem .55rem}.irregular-word-setup-mode strong{font-size:clamp(.92rem,4vw,1.05rem);line-height:1.15}.sound-sprint-card{border-radius:1.4rem;gap:.4rem;padding:.75rem}.sound-sprint-grapheme{font-size:clamp(5.5rem,27vmin,9rem)}.sound-sprint-response{min-height:3.8rem}.sound-sprint-answer{flex-wrap:wrap;gap:.2rem .45rem;padding:.45rem .65rem}.sound-sprint-answer span:last-child{flex-basis:100%}.sound-sprint-card .irregular-word-reading-reward{gap:.75rem}.sound-sprint-card .irregular-word-reading-lantern{width:4.8rem;height:5.9rem}.sound-sprint-fixed-deck-note{min-height:2.5rem;padding-inline:.5rem;font-size:.75rem}}@media (height<=700px) and (orientation:landscape){.sound-sprint-card{grid-template-rows:auto auto auto auto;grid-template-columns:minmax(10rem,1fr) minmax(16rem,1.2fr);column-gap:1.25rem}.sound-sprint-card>.irregular-word-reading-prompt,.sound-sprint-card>.sound-sprint-grapheme,.sound-sprint-card>.sound-sprint-anchor-cue{grid-column:1}.sound-sprint-card>.sound-sprint-response,.sound-sprint-card>.sound-sprint-support-actions,.sound-sprint-card>.story-audio-error,.sound-sprint-card>.irregular-word-reading-reward{grid-column:2}.sound-sprint-card>.sound-sprint-response{grid-row:1}.sound-sprint-card>.sound-sprint-support-actions{grid-row:2}.sound-sprint-card>.irregular-word-reading-reward{grid-row:3/span 2}}@media (prefers-reduced-motion:reduce){.sound-sprint-grapheme,.sound-sprint-answer{animation:none}}.word-panel{flex:1;place-items:center;gap:1.35rem;min-height:0;display:grid}.word-panel--sentence{place-items:start;width:min(94%,62rem)}.word-surface{letter-spacing:.04em;text-align:center;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:.18em;max-width:min(88%,24ch);font-size:clamp(3rem,8vw,5.8rem);line-height:1.04;display:flex}.word-surface[data-mode=chunks]{gap:.32em}.word-surface[data-mode=whole]{letter-spacing:.02em}.word-unit{transition:color .18s,transform .18s,text-shadow .18s}.unit--past{color:var(--ink);text-shadow:0 8px 16px #193d3814}.unit--current{color:var(--ink);text-shadow:0 14px 24px #ff875c38;transform:translateY(-.02em)scale(1.03)}.unit--future,.unit--static{color:var(--muted)}.slider-stack{width:min(78%,34rem);min-width:min(78vw,18rem);padding-top:.5rem}.word-panel--sentence .hint-copy{text-align:left;width:min(100%,24rem)}.sentence-practice{width:100%;position:relative}.sentence-measurement{visibility:hidden;pointer-events:none;width:100%;position:absolute;inset:0 auto auto 0}.sentence-measurement,.sentence-layout{letter-spacing:.01em;text-align:left;font-size:clamp(4.2rem,8vw,6.2rem);line-height:1.04}.sentence-measure-space{white-space:pre}.sentence-layout{gap:1rem;width:100%;display:grid}.sentence-line-block{gap:.85rem;width:100%;display:grid;position:relative}.sentence-line-text{width:min(100%, var(--line-width,100%));box-sizing:content-box;padding-bottom:.5rem;position:relative}.sentence-word{white-space:nowrap;display:inline-block}.sentence-word--placed{position:absolute;top:0}.sentence-line-slider{z-index:1;height:5.75rem;min-height:2.75rem;width:min(100%, calc(var(--line-width,100%) + 5rem));touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;position:relative}.sentence-line-slider-track{width:min(100%, var(--line-width,100%));background:#ffffffdb;border-radius:999px;height:1.9rem;margin-top:.2rem;position:relative;overflow:hidden;box-shadow:inset 0 1px #fffc,0 10px 16px -6px #193d381a}.sentence-line-slider:before{content:"";top:calc(-.5 * var(--line-height,0px) - 1.35rem);position:absolute;bottom:0;left:-.75rem;right:0}.sentence-line-slider[data-start-guide=sweep] .sentence-line-slider-track:after{content:"";z-index:1;border-radius:inherit;background:linear-gradient(90deg, transparent 34%, color-mix(in srgb, var(--accent) 60%, transparent) 50%, transparent 66%);pointer-events:none;background-position:100% 0;background-size:300% 100%;animation:1.6s ease-in-out .5s 2 both sentence-rail-sweep;position:absolute;inset:0}.sentence-line-slider[data-start-guide] .sentence-line-puck{animation:1.1s ease-in-out 7s sentence-puck-nudge}.sentence-line-slider[data-dragging=true] .sentence-line-slider-track:after,.sentence-line-slider[data-dragging=true] .sentence-line-puck{animation:none}@keyframes sentence-rail-sweep{to{background-position:0 0}}@keyframes sentence-puck-nudge{0%,50%,to{translate:0}25%{translate:.75rem}75%{translate:.4rem}}@media (prefers-reduced-motion:reduce){.sentence-line-slider[data-start-guide] .sentence-line-slider-track:after,.sentence-line-slider[data-start-guide] .sentence-line-puck{animation:none}}.sentence-line-segment{--segment-fill-color:#193d3829;background:#193d3829;border:none;border-radius:999px;padding:0;position:absolute;inset-block:.24rem;overflow:hidden}.sentence-line-segment:before{content:"";width:clamp(0%, calc((((var(--visual-progress) * 100%) - var(--segment-start-percent)) / var(--segment-width-percent)) * 100%), 100%);border-radius:inherit;background:var(--segment-fill-color,var(--accent));transition:width .11s linear;position:absolute;inset:0}.sentence-line-segment--past{--segment-fill-color:var(--ink)}.sentence-line-segment--current{--segment-fill-color:var(--accent)}.sentence-line-segment--future{--segment-fill-color:#193d3829}.sentence-line-slider[data-dragging=true] .sentence-line-segment:before,.sentence-line-slider[data-dragging=true] .sentence-line-puck{transition:none}.sentence-line-puck{bottom:0}.sentence-line-puck svg{fill:none;stroke:#193d3880;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:auto;height:1.15rem}.sentence-line-advance{z-index:2;top:calc(var(--line-height,0px) + .55rem);left:min(calc(var(--line-width,100%) + .75rem), calc(100% - 3.2rem));background:var(--ink);color:#fff;border:none;border-radius:999px;width:2.85rem;height:2.85rem;font-size:1.8rem;line-height:1;position:absolute;box-shadow:0 14px 24px #193d382e}.hint-copy{text-align:center;max-width:26rem;color:var(--muted-strong);margin:0}.mode-switch,.nav-controls{flex-wrap:wrap;gap:.6rem;display:inline-flex}.mode-button{color:var(--ink);text-transform:capitalize;background:#ffffffb8;padding:.8rem 1.15rem;box-shadow:0 12px 24px #193d3814}.mode-button[aria-pressed=true]{background:var(--ink);color:#fff;box-shadow:0 18px 32px #193d382e}.nav-button{min-width:7.5rem;color:var(--ink);background:#ffffffb8;padding:.95rem 1.3rem;box-shadow:0 12px 24px #193d3814}.nav-button--primary{color:#fff;background:linear-gradient(#5340ff,#4330e5)}.action-button:disabled,.nav-button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none;transform:none}.editor-panel{display:block}.editor-card{flex-direction:column;gap:1rem;height:100%;padding:1.4rem;animation:.56s panel-rise;display:flex}.editor-copy p:last-child{margin:.45rem 0 0}.editor-copy code{color:var(--ink);background:#ffffffbf;border-radius:999px;margin-left:.2rem;padding:.15rem .45rem;display:inline-block}.editor-label{color:var(--ink);font-size:.95rem;font-weight:700}.lesson-summary{color:var(--muted-strong);background:#fff9;border-radius:1.1rem;gap:.35rem;padding:.85rem 1rem;display:grid}.lesson-summary p{margin:0}.lesson-summary p:first-child{color:var(--ink);font-weight:800}.editor-input{resize:vertical;width:100%;min-height:18rem;color:var(--ink);background:#ffffffb8;border:none;border-radius:1.5rem;padding:1rem 1.1rem;box-shadow:inset 0 1px #ffffffb3}.editor-actions{flex-wrap:wrap;gap:.7rem;display:flex}.action-button{color:var(--ink);background:#ffffffbd;padding:.9rem 1.2rem}.action-button--primary{color:#2f1843;background:linear-gradient(#ff9f74,#ff7f62)}.editor-status{color:var(--muted-strong);margin:0}.slider-shell{padding:0 0 3.9rem;position:relative}.slider-hitbox{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;padding-block:.35rem 3rem;position:relative}.slider-hitbox:active{cursor:grabbing}.slider-rail{background:#ffffffdb;border-radius:999px;justify-content:stretch;align-items:center;gap:.55rem;padding:.45rem;display:flex;box-shadow:inset 0 1px #fffc,0 10px 16px -6px #193d381a}.slider-segment{--segment-fill-color:var(--ink);background:#193d3829;border:none;border-radius:999px;flex:1 1 0;min-width:0;height:1.15rem;padding:0;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff8c}.slider-segment:before{content:"";width:clamp(0%, calc(( (var(--visual-progress) * var(--total-units)) - var(--segment-start) ) / var(--segment-units) * 100%), 100%);border-radius:inherit;background:var(--segment-fill-color);transition:width .11s linear,background-color .11s linear;position:absolute;inset:0}.slider-segment--past{--segment-fill-color:var(--ink)}.slider-segment--current{--segment-fill-color:var(--accent)}.slider-segment--future{--segment-fill-color:#193d3829}.slider-puck{will-change:left;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#fffffff2;border:3px solid #193d38d9;border-radius:1.35rem;justify-content:center;align-items:center;gap:.25rem;width:4.35rem;height:3.25rem;transition:left .11s linear;display:flex;position:absolute;bottom:0;transform:translate(-50%);box-shadow:0 12px 16px -9px #193d383d}.slider-hitbox[data-dragging=true] .slider-segment:before,.slider-hitbox[data-dragging=true] .slider-puck{transition:none}.slider-hitbox .slider-puck{bottom:-.65rem}.slider-puck:before{content:"";background:#fffffff2;border-top:3px solid #193d38d9;border-left:3px solid #193d38d9;border-radius:.12rem 0 0;width:.92rem;height:.92rem;position:absolute;top:-.42rem;left:1.45rem;transform:rotate(45deg)}.slider-puck span{background:#193d382e;border-radius:999px;width:.28rem;height:1rem}@media (width<=1080px){.layout{grid-template-columns:1fr}.editor-panel{display:none}.editor-panel.is-open{display:block}.practice-stage,.letter-lab-stage{min-height:72svh}.letter-lab-header,.letter-lab-grid{grid-template-columns:1fr}.letter-lab-header{flex-direction:column}.letter-lab-status{justify-items:start}.letter-lab-trace-shell{grid-template-columns:minmax(0,1fr)}.letter-sound-recorder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-builder-form{grid-template-columns:1fr}.story-builder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.story-builder-fields--primary{grid-column:auto;grid-template-columns:repeat(12,minmax(0,1fr))}.story-builder-fields--primary .story-field{grid-column:auto}.story-builder-fields--primary .story-field--reading-level{grid-column:span 4}.story-builder-fields--primary .story-field--story-idea{grid-column:span 8}.story-builder-fields--primary .story-field--character{grid-column:1/-1}.story-builder-fields--advanced{grid-template-columns:repeat(2,minmax(0,1fr))}.story-builder-actions{grid-template-columns:1fr;justify-items:stretch}.story-builder-action-group--generation{justify-content:flex-start}.story-builder-actions p[role=status]{grid-column:auto}.story-builder-actions p{text-align:left;order:0;max-width:none}.story-output-tools,.story-instruction-check{grid-template-columns:1fr}.story-output-tools .story-builder-action-group{justify-content:flex-start}.story-instruction-check dl{grid-template-columns:repeat(3,minmax(0,1fr))}.stage-meta,.stage-controls,.story-stage-meta,.story-controls,.story-library-header,.story-library-expanded-header{flex-direction:column;align-items:stretch}.story-stage-meta-actions,.mode-switch,.nav-controls,.story-controls{justify-content:center}.story-page{grid-template-columns:1fr}.story-stage--reader-focus .story-stage-meta{flex-direction:row;align-items:center}.story-stage--reader-focus .story-stage-meta-actions{justify-content:space-between;width:100%}.story-preview-mode-switch{width:100%}.story-preview-mode-switch .mode-button{flex:1}.story-stage--reader-focus .story-page{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}.story-library-actions{justify-content:flex-start;max-width:none}.story-library-toolbar{grid-template-columns:1fr}.story-library-toggle-control{justify-content:flex-start;width:100%}.slider-stack{width:min(88%,30rem)}}@media (width<=720px){:is(html:has(.story-encoding-overlay),body:has(.story-encoding-overlay)){overscroll-behavior:none;overflow:hidden}.story-skill-mode,.story-manual-skills-intro{flex-direction:column;align-items:stretch}.story-manual-skills-counts{text-align:left;grid-template-columns:repeat(2,auto);justify-content:start;gap:.75rem}.story-skill-row,.story-skill-tools{grid-template-columns:minmax(0,1fr)}.story-skill-row .skill-status-toggle,.parent-placement-review-list .skill-status-toggle{width:100%}.parent-placement-review-list>div,.parent-placement-review-list{grid-template-columns:minmax(0,1fr)}.parent-placement-actions{grid-template-columns:minmax(0,1fr);display:grid}.parent-placement-actions button,.story-placement-launch{width:100%}.app-shell{padding-block:max(.7rem, env(safe-area-inset-top)) max(.7rem, env(safe-area-inset-bottom));padding-inline:max(.75rem, env(safe-area-inset-left));gap:.75rem}.practice-stage:before,.editor-card:before,.letter-lab-stage:before,.story-stage:before{display:none}.topbar{grid-template-columns:minmax(7.5rem,.72fr) minmax(13rem,1.28fr);grid-template-areas:"brand lesson""modes modes";align-items:center;gap:.5rem;display:grid}.topbar>div:first-child{grid-area:brand;min-width:0}.topbar .eyebrow{display:none}.topbar h1{text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.08rem,5vw,1.35rem);line-height:1;overflow:hidden}.topbar-actions{display:contents}.lesson-loader{border-radius:.85rem;grid-area:lesson;grid-template-columns:auto minmax(2.5rem,.5fr);justify-content:stretch;gap:.25rem;width:100%;padding:.25rem;display:grid;box-shadow:0 8px 18px #193d3814}.lesson-loader label{align-self:center;padding-left:.35rem;font-size:.68rem}.lesson-loader input,.lesson-loader select{width:100%;padding:.58rem .25rem;font-size:.82rem}.app-mode-switch{grid-area:modes;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;width:100%;display:grid}.app-mode-switch .mode-button{white-space:normal;min-width:0;min-height:2.55rem;padding:.55rem .28rem;font-size:.72rem;line-height:1.05}.topbar-actions>.editor-toggle{grid-column:1/-1}.story-builder-fields,.story-builder-fields--advanced,.story-builder-fields--details,.story-builder-fields--primary,.story-builder-copy{grid-template-columns:1fr}.story-builder-lesson-note{width:100%;max-width:none}.story-builder-official-reader{grid-template-columns:1fr}.story-builder-official-reader .action-button{width:100%}.story-builder-fields--primary .story-field,.story-builder-fields--primary .story-lesson-scope-option{grid-column:1/-1}.story-builder-details>summary{min-height:3.25rem}.story-builder-details-panel,.story-builder-advanced-panel{padding-left:0}.story-creation-presets{grid-template-columns:1fr;padding-left:0}.story-creation-latency-note,.story-creation-custom-note{margin-left:0}.story-builder-step-heading p{max-width:32rem}.story-builder-actions{margin-inline:0}.story-output-tools,.story-output-tools .story-builder-action-group,.story-builder-action-group--generation{align-items:stretch}.story-builder-action-group--generation{grid-template-columns:minmax(0,auto) minmax(12rem,1fr);display:grid}.story-output-tools .action-button,.story-builder-action-group--generation .action-button{min-height:2.75rem}.story-instruction-check dl{grid-template-columns:1fr}.story-art-style-preview-button{opacity:1}.story-art-preview-panel{max-height:min(90svh,42rem)}.story-art-preview-panel img{max-height:65svh}.practice-stage,.letter-lab-stage,.story-stage{padding:1rem}.letter-lab-letter-tabs,.letter-lab-actions,.letter-lab-choice-row,.letter-conveyor-header,.letter-conveyor-controls,.letter-conveyor-targets{width:100%}.letter-lab-letter-tab,.letter-lab-actions .action-button,.letter-lab-choice,.letter-conveyor-controls .action-button,.letter-conveyor-target{flex:1}.letter-conveyor-speed{width:100%}.letter-conveyor-momentum{grid-template-columns:1fr}.letter-conveyor-momentum small{text-align:left}.letter-lab-choice{width:auto}.letter-sound-recorder-grid{grid-template-columns:1fr}.letter-sound-recorder-item{grid-template-columns:minmax(3rem,.6fr) minmax(4rem,.8fr) 1fr 1fr}.letter-conveyor-track{height:clamp(13rem,40svh,20rem)}.story-reading-pane,.story-image-pane,.story-library{border-radius:1.25rem}.story-builder-fields--primary{background:0 0;border:0;padding:0}.story-library{gap:.75rem;padding:.9rem}.story-library-header{gap:.65rem}.story-library-header>div:first-child>p:last-child{display:none}.story-library-header-actions{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;display:grid}.story-library-header-actions .action-button,.story-library-header-actions .mode-button{white-space:normal;min-width:0;min-height:2.75rem;padding:.52rem .45rem}.story-library-refresh-status{font-size:.76rem}.story-library-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.story-library-toolbar>label:nth-child(2){grid-area:1/1/auto/-1}.story-library-toolbar>label:nth-child(3),.story-library-toolbar>label:nth-child(4){grid-row:2}.story-library-toggle{grid-area:3/1/auto/-1}.story-library-toggle-control{width:100%;min-height:2.75rem;padding:.58rem .72rem}.story-library-toolbar input,.story-library-toolbar select{padding:.62rem .72rem}.story-library-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.story-library-cover-button{gap:.42rem;padding:.4rem}.story-library-cover-title{font-size:.86rem}.story-library-cover-line,.story-library-cover-copy .story-library-meta{font-size:.68rem}.story-library-cover-badges span{font-size:.58rem}.story-library-expanded-media{aspect-ratio:16/9}.story-reading-pane{padding:1rem}.story-stage--reader-focus .story-stage-meta,.story-stage--reader-focus .story-stage-meta-actions,.story-stage--reader-focus .story-controls{flex-direction:column;align-items:stretch}.story-preview-mode-switch .mode-button{min-width:0}.story-stage--reader-focus .story-page{grid-template-columns:1fr}.story-stage--reader-focus .story-image-pane{min-height:clamp(14rem,34svh,20rem)}.story-focus-card{flex-direction:column;align-items:flex-start}.story-image-pane{min-height:22rem}.story-encoding-overlay{z-index:1000;overscroll-behavior:none;width:100vw;height:100dvh;padding:0;position:fixed;inset:0}.story-encoding-overlay-card{overscroll-behavior:contain;width:100%;height:100%;max-height:none;padding:max(.85rem, env(safe-area-inset-top)) max(.85rem, env(safe-area-inset-right)) max(.85rem, env(safe-area-inset-bottom)) max(.85rem, env(safe-area-inset-left));box-shadow:none;border:0;border-radius:0;align-content:start;overflow:auto}.story-alphabet-board{padding:.75rem}.story-alphabet-row{gap:.5rem}.story-alphabet-tile{min-width:clamp(2.5rem,11vw,3.25rem);min-height:clamp(2.5rem,11vw,3.25rem);font-size:clamp(1.45rem,7vw,2rem)}.story-spelling-slot{width:clamp(2.8rem,13vw,3.4rem);height:clamp(3.2rem,14vw,3.8rem);font-size:clamp(1.6rem,9vw,2.2rem)}.word-surface{max-width:100%;font-size:clamp(2.4rem,11vw,4.1rem)}.slider-stack{width:min(100%,24rem)}.editor-input{min-height:14rem}}@media (width>=780px) and (width<=1080px){.story-library-header{flex-direction:row;align-items:flex-start}.story-library-toolbar{grid-template-columns:minmax(9rem,.7fr) minmax(15rem,1.4fr) minmax(8rem,.65fr) minmax(8rem,.65fr)}.story-library-toggle-control{width:auto}}@media (width>=721px) and (width<=1200px){.story-builder-actions .action-button{white-space:normal;min-width:0}.story-print-format{min-width:0}.story-stage--dense-page:not(.story-stage--reader-focus) .story-page{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:stretch}.story-stage--dense-page:not(.story-stage--reader-focus) .story-reading-pane{justify-content:flex-start;gap:.7rem;padding:1rem}.story-stage--dense-page:not(.story-stage--reader-focus) .story-reading-pane .sentence-measurement,.story-stage--dense-page:not(.story-stage--reader-focus) .story-reading-pane .sentence-layout{line-height:1.06}.story-stage--dense-page:not(.story-stage--reader-focus) .sentence-layout{gap:.35rem}.story-stage--dense-page:not(.story-stage--reader-focus) .sentence-line-block{gap:.15rem}.story-stage--dense-page:not(.story-stage--reader-focus) .sentence-line-text{padding-bottom:.15rem}.story-stage--dense-page:not(.story-stage--reader-focus) .sentence-line-slider{height:2.75rem}.story-stage--dense-page:not(.story-stage--reader-focus) .sentence-line-slider-track{height:1rem;margin-top:0}.story-stage--dense-page:not(.story-stage--reader-focus) .sentence-line-puck{border-width:2px;width:3.4rem;height:2.25rem;bottom:-.2rem}.story-stage--dense-page:not(.story-stage--reader-focus) .sentence-line-puck:before{border-top-width:2px;border-left-width:2px;width:.6rem;height:.6rem;top:-.3rem;left:1.16rem}.story-stage--dense-page:not(.story-stage--reader-focus) .sentence-line-advance{top:calc(var(--line-height,0px) + .2rem);width:2.4rem;height:2.4rem;font-size:1.45rem}.story-stage--dense-page:not(.story-stage--reader-focus) .story-image-pane{min-height:min(52vw,32rem)}.story-stage--reader-focus{gap:.75rem;padding:1rem}.story-stage--reader-focus:before{inset:.75rem}.story-stage--reader-focus .story-stage-meta-actions{grid-template-columns:minmax(16rem,1fr) auto auto;align-items:center;gap:.55rem;display:grid}.story-stage--reader-focus .story-preview-mode-switch{width:auto}.story-stage--reader-focus .story-preview-mode-switch .mode-button,.story-stage--reader-focus .progress-pill,.story-stage--reader-focus .story-stage-meta-actions>.action-button{min-width:0;padding:.65rem .8rem;font-size:.88rem}.story-stage--reader-focus .story-page{gap:.75rem}.story-stage--reader-focus .story-reading-pane{justify-content:flex-start;gap:.7rem;padding:.9rem;overflow:hidden}.story-stage--reader-focus .story-controls{flex-direction:row;align-items:center;gap:.65rem}.story-stage--reader-focus .story-status{text-align:center;flex:1}.story-stage--reader-focus .story-controls .nav-button{min-width:8rem;padding:.65rem .85rem}.story-stage--reader-focus.story-stage--dense-page .story-page{grid-template-columns:minmax(0,1.25fr) minmax(15rem,.75fr)}.story-stage--reader-focus.story-stage--dense-page .story-reading-pane .sentence-measurement,.story-stage--reader-focus.story-stage--dense-page .story-reading-pane .sentence-layout{line-height:1}.story-stage--reader-focus.story-stage--dense-page .sentence-layout{gap:.55rem}.story-stage--reader-focus.story-stage--dense-page .sentence-line-block{gap:.3rem}.story-stage--reader-focus.story-stage--dense-page .sentence-line-slider{height:3.25rem}.story-stage--reader-focus.story-stage--dense-page .sentence-line-slider-track{height:1.15rem;margin-top:0}.story-stage--reader-focus.story-stage--dense-page .sentence-line-puck{border-width:2px;width:3.4rem;height:2.25rem;bottom:-.25rem}.story-stage--reader-focus.story-stage--dense-page .sentence-line-puck:before{border-top-width:2px;border-left-width:2px;width:.6rem;height:.6rem;top:-.3rem;left:1.16rem}.story-stage--reader-focus.story-stage--dense-page .sentence-line-advance{top:calc(var(--line-height,0px) + .3rem);width:2.4rem;height:2.4rem;font-size:1.45rem}.story-stage--reader-focus.story-stage--dense-page .story-encoding-panel,.story-stage--reader-focus.story-stage--dense-page .story-encoding-sentences{gap:.75rem}.story-stage--reader-focus.story-stage--dense-page .story-encoding-sentence{gap:.55rem .45rem}.story-stage--reader-focus.story-stage--dense-page .story-encoding-word{gap:.3rem;min-height:4.4rem;padding-block:.15rem}.story-stage--reader-focus.story-stage--dense-page .story-encoding-word-audio{width:2.6rem;height:2.6rem}.story-stage--reader-focus.story-stage--dense-page .story-word-slots--compact .story-word-slot{width:clamp(1.3rem,2.5vw,1.7rem);height:clamp(1.75rem,3.4vw,2.25rem)}.story-alphabet-board,.story-stage--reader-focus .story-alphabet-board{gap:1rem;padding:.95rem 1rem 1.2rem}.story-alphabet-row,.story-stage--reader-focus .story-alphabet-row{gap:1rem}.story-alphabet-tile,.story-stage--reader-focus .story-alphabet-tile{min-width:clamp(3.75rem,7.8vw,4.35rem);min-height:clamp(3.75rem,7.8vw,4.35rem);font-size:clamp(2.05rem,4.5vw,2.55rem)}}@media (width>=721px) and (width<=1200px) and (orientation:portrait){.story-stage--reader-focus .story-stage-meta-actions{grid-template-columns:minmax(0,1fr) auto auto}.story-stage--reader-focus .story-page{grid-template-rows:max-content minmax(0,1fr);grid-template-columns:1fr}.story-stage--reader-focus.story-stage--dense-page .story-page{grid-template-rows:minmax(18rem,1.15fr) minmax(14rem,.85fr);grid-template-columns:1fr}.story-stage--reader-focus .story-image-pane{min-height:0}.story-stage--reader-focus.story-stage--dense-page .story-page:has(.sentence-practice[data-fit-level=tight]){grid-template-rows:minmax(22rem,1.35fr) minmax(10rem,.65fr)}}@media (width>=721px) and (width<=1200px){.story-stage--reader-focus.story-stage--dense-page .sentence-practice[data-fit-level=compact] .sentence-layout{gap:.35rem}.story-stage--reader-focus.story-stage--dense-page .sentence-practice[data-fit-level=tight] .sentence-layout{gap:.15rem}.story-stage--reader-focus.story-stage--dense-page .sentence-practice[data-fit-level=compact] .sentence-line-block{gap:.18rem}.story-stage--reader-focus.story-stage--dense-page .sentence-practice[data-fit-level=tight] .sentence-line-block{gap:.08rem}.story-stage--reader-focus.story-stage--dense-page .sentence-practice[data-fit-level=compact] .sentence-line-slider{height:3rem}.story-stage--reader-focus.story-stage--dense-page .sentence-practice[data-fit-level=tight] .sentence-line-slider{height:2.75rem}}@media (width>=900px) and (width<=1180px) and (orientation:landscape){.story-encoding-overlay-card{gap:.95rem}.story-alphabet-board,.story-stage--reader-focus .story-alphabet-board{gap:1.0625rem;padding:.75rem 1rem .8rem}.story-alphabet-row,.story-stage--reader-focus .story-alphabet-row{gap:1.0625rem}.story-alphabet-tile,.story-stage--reader-focus .story-alphabet-tile{min-width:clamp(4.6rem,7.8vw,5rem);min-height:clamp(4.6rem,7.8vw,5rem);font-size:clamp(2.35rem,4.4vw,2.8rem)}}@media (width>=900px){.story-library-browser{grid-template-columns:minmax(0,1fr) minmax(17.5rem,.36fr);align-items:start}.story-library-inspector{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:calc(100svh - 2rem);position:sticky;top:1rem;overflow:auto}.story-library-inspector .story-library-expanded{grid-template-columns:minmax(0,1fr);gap:.8rem;padding:.85rem}.story-library-inspector .story-library-expanded-media{aspect-ratio:16/7;max-height:8.75rem}.story-library-inspector .story-library-expanded-header{flex-direction:column;align-items:stretch}.story-library-inspector .story-library-synopsis{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.story-library-inspector .story-library-actions{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;max-width:none;display:grid}.story-library-inspector .story-library-actions .action-button{white-space:normal;min-width:0;padding:.7rem .75rem}.story-library-inspector .story-library-actions .action-button--primary{grid-column:1/-1}}@media (width>=900px) and (width<=1200px){.story-library-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=780px) and (width<=1000px){.story-library-toolbar{grid-template-columns:minmax(9rem,.7fr) minmax(15rem,1.4fr) minmax(8rem,.65fr) minmax(8rem,.65fr)}}@media (height<=500px) and (orientation:landscape){.app-shell--story-focus{min-height:0;padding:max(.5rem, env(safe-area-inset-top)) max(.75rem, env(safe-area-inset-right)) max(.5rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));gap:0}.story-stage--reader-focus{height:auto;min-height:0;max-height:calc(100svh - max(.5rem, env(safe-area-inset-top)) - max(.5rem, env(safe-area-inset-bottom)));border-radius:1.4rem;flex:auto;gap:.55rem;padding:.65rem}.story-stage--reader-focus:before{border-radius:1.05rem;inset:.5rem}.story-stage--reader-focus .story-stage-meta-actions{flex-flow:row;align-items:center;gap:.45rem;width:100%}.story-stage--reader-focus .story-preview-mode-switch{flex:17rem;width:auto;padding:.18rem}.story-stage--reader-focus .story-preview-mode-switch .mode-button{min-width:0;padding:.54rem .7rem;font-size:.86rem}.story-stage--reader-focus .progress-pill,.story-stage--reader-focus .story-stage-meta-actions>.action-button{flex:none;padding:.54rem .7rem;font-size:.84rem}.story-stage--reader-focus .story-page{grid-template-columns:minmax(0,1.45fr) minmax(12rem,.8fr);gap:.55rem}.story-stage--reader-focus .story-reading-pane,.story-stage--reader-focus .story-image-pane{border-radius:1rem}.story-stage--reader-focus .story-reading-pane{justify-content:flex-start;gap:.48rem;padding:.6rem .7rem;overflow:hidden}.story-stage--reader-focus .story-reading-pane .sentence-measurement,.story-stage--reader-focus .story-reading-pane .sentence-layout{line-height:1}.story-stage--reader-focus .sentence-layout{gap:.42rem}.story-stage--reader-focus .sentence-line-block{gap:.18rem}.story-stage--reader-focus .sentence-line-slider{height:2.75rem}.story-stage--reader-focus .sentence-line-slider-track{height:1rem;margin-top:0}.story-stage--reader-focus .sentence-line-puck{border-width:2px;border-radius:.9rem;gap:.18rem;width:3rem;height:2rem;bottom:-.35rem}.story-stage--reader-focus .sentence-line-puck:before{border-top-width:2px;border-left-width:2px;width:.55rem;height:.55rem;top:-.28rem;left:1rem}.story-stage--reader-focus .sentence-line-puck svg{height:.62rem}.story-stage--reader-focus .sentence-line-advance{top:calc(var(--line-height,0px) + .2rem);width:2.25rem;height:2.25rem;font-size:1.35rem}.story-stage--reader-focus .story-image-pane{min-height:0;padding:.45rem;container-type:size}.story-stage--reader-focus .story-image-pane .scratch-frame{place-self:center;width:min(100cqw,100cqh);height:min(100cqw,100cqh);min-height:0}.story-stage--reader-focus .story-image-actions{gap:.25rem;top:.45rem;right:.45rem}.story-stage--reader-focus .story-image-options-trigger{width:2rem;height:2rem}.story-stage--reader-focus .story-image-menu button{padding:.58rem .68rem;font-size:.82rem}.story-stage--reader-focus .scratch-message{gap:.1rem;padding:.45rem .55rem;font-size:.8rem;inset:auto .5rem .5rem}.story-stage--reader-focus .scratch-message small{font-size:.66rem}.story-stage--reader-focus .story-controls{flex-direction:row;align-items:center;gap:.5rem}.story-stage--reader-focus .story-controls .nav-button{min-width:5.8rem;padding:.55rem .7rem;font-size:.84rem}.story-stage--reader-focus .story-status{text-align:center;flex:1;font-size:.82rem}}@media (width<=720px) and (orientation:portrait){.app-shell--story-focus{min-height:0;padding:max(.5rem, env(safe-area-inset-top)) max(.75rem, env(safe-area-inset-right)) max(.5rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));gap:0}.story-stage--reader-focus .story-encoding-overlay-card{padding-inline:max(.7rem, env(safe-area-inset-left)) max(.7rem, env(safe-area-inset-right))}.story-alphabet-row,.story-stage--reader-focus .story-alphabet-row{grid-template-columns:repeat(7,2.75rem);justify-content:center;gap:.35rem;width:100%}.story-alphabet-row:last-child,.story-stage--reader-focus .story-alphabet-row:last-child{grid-template-columns:repeat(5,2.75rem)}.story-alphabet-board,.story-stage--reader-focus .story-alphabet-board,.irregular-word-stage--focus .story-alphabet-board{padding-inline:.25rem}.story-alphabet-tile,.story-stage--reader-focus .story-alphabet-tile{width:2.75rem;min-width:2.75rem;min-height:2.75rem}.story-stage--reader-focus{height:auto;min-height:0;max-height:calc(100svh - max(.5rem, env(safe-area-inset-top)) - max(.5rem, env(safe-area-inset-bottom)));border-radius:1.45rem;flex:auto;gap:.6rem;padding:.75rem}.story-stage--reader-focus:before{border-radius:1.1rem;inset:.55rem}.story-stage--reader-focus .story-stage-meta,.story-stage--reader-focus .story-stage-meta-actions{gap:.5rem}.story-stage--reader-focus .story-stage-meta-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.story-stage--reader-focus .story-preview-mode-switch{grid-column:1/-1;width:100%;padding:.18rem}.story-stage--reader-focus .story-preview-mode-switch .mode-button{min-width:0;padding:.62rem .7rem;font-size:.9rem}.story-stage--reader-focus .progress-pill,.story-stage--reader-focus .story-stage-meta-actions>.action-button{text-align:center;white-space:normal;justify-content:center;min-width:0;padding:.56rem .45rem;font-size:.78rem;line-height:1.15}.story-stage--reader-focus .story-page{flex:auto;grid-template-rows:max-content minmax(0,1fr);grid-template-columns:1fr;gap:.6rem;min-height:0}.story-stage--reader-focus.story-stage--dense-page .story-page{grid-template-rows:max-content minmax(0,1fr)}.story-stage--reader-focus .story-reading-pane,.story-stage--reader-focus .story-image-pane{border-radius:1rem}.story-stage--reader-focus .story-reading-pane{justify-content:flex-start;gap:.55rem;padding:.7rem;overflow:hidden}.story-stage--reader-focus .story-reading-pane .sentence-measurement,.story-stage--reader-focus .story-reading-pane .sentence-layout{line-height:1}.story-stage--reader-focus.story-stage--dense-page .sentence-layout{gap:.12rem}.story-stage--reader-focus.story-stage--dense-page .sentence-line-block{gap:.08rem}.story-stage--reader-focus.story-stage--dense-page .sentence-line-slider{height:2.75rem}.story-stage--reader-focus.story-stage--dense-page .sentence-line-slider-track{height:.95rem}.story-stage--reader-focus .sentence-layout{gap:.48rem}.story-stage--reader-focus .sentence-line-block{gap:.22rem}.story-stage--reader-focus .sentence-line-slider{height:3rem}.story-stage--reader-focus .sentence-line-slider-track{height:1.1rem;margin-top:0}.story-stage--reader-focus .sentence-line-puck{border-width:2px;border-radius:.95rem;gap:.18rem;width:3.25rem;height:2.2rem;bottom:-.32rem}.story-stage--reader-focus .sentence-line-puck:before{border-top-width:2px;border-left-width:2px;width:.58rem;height:.58rem;top:-.28rem;left:1.1rem}.story-stage--reader-focus .sentence-line-puck svg{height:.68rem}.story-stage--reader-focus .sentence-line-advance{top:calc(var(--line-height,0px) + .25rem);width:2.4rem;height:2.4rem;font-size:1.45rem}.story-stage--reader-focus .story-image-pane{aspect-ratio:auto;width:100%;min-height:0;padding:.55rem;container-type:size}.story-stage--reader-focus .story-image-pane .scratch-frame{place-self:center;width:min(100cqw,100cqh);height:min(100cqw,100cqh);min-height:0}.story-stage--reader-focus .story-image-actions{gap:.25rem;top:.5rem;right:.5rem}.story-stage--reader-focus .story-image-options-trigger{width:2.05rem;height:2.05rem}.story-stage--reader-focus .story-image-menu button{padding:.58rem .68rem;font-size:.82rem}.story-stage--reader-focus .scratch-message{padding:.55rem .65rem;font-size:.82rem;inset:auto .6rem .6rem}.story-stage--reader-focus .scratch-message small{font-size:.68rem}.story-stage--reader-focus .story-controls{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:.5rem;display:grid}.story-stage--reader-focus .story-status{text-align:center;order:-1;grid-column:1/-1;min-height:1lh;font-size:.82rem}.story-stage--reader-focus .story-controls .nav-button{min-width:0;padding:.65rem .7rem;font-size:.88rem}}@media (width<=360px) and (orientation:portrait){.story-stage--reader-focus .story-encoding-overlay-card{padding-inline:max(.5rem, env(safe-area-inset-left)) max(.5rem, env(safe-area-inset-right))}.story-alphabet-row,.story-stage--reader-focus .story-alphabet-row{grid-template-columns:repeat(7,2.5rem);gap:.2rem}.story-alphabet-row:last-child,.story-stage--reader-focus .story-alphabet-row:last-child{grid-template-columns:repeat(5,2.5rem)}.story-alphabet-tile,.story-stage--reader-focus .story-alphabet-tile{width:2.5rem;min-width:2.5rem;min-height:2.5rem}}@media (width<=480px){.story-builder-action-group--generation{grid-template-columns:1fr}.story-builder-action-group--generation .action-button--primary{grid-row:1}.story-builder-summary-meta{display:none}.story-builder-step-heading,.story-builder-step-summary{gap:.6rem}.topbar{grid-template-columns:minmax(7rem,1fr) auto;column-gap:.45rem}.topbar h1{text-overflow:clip;font-size:clamp(1rem,4.6vw,1.16rem);overflow:visible}.lesson-loader{grid-template-columns:auto 2.65rem;width:auto}.lesson-loader-label-full,.app-mode-switch{display:none}.lesson-loader-label-compact{display:inline}.lesson-loader label,.lesson-loader input,.lesson-loader select{min-height:2.75rem}.lesson-loader label{align-items:center;padding-left:.3rem;font-size:.64rem;display:flex}.app-mode-select{width:100%;min-height:2.75rem;color:var(--muted-strong);text-transform:uppercase;letter-spacing:.06em;background:#ffffffad;border-radius:.95rem;grid-area:modes;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;padding:.3rem .35rem .3rem .75rem;font-size:.72rem;font-weight:850;display:grid;box-shadow:0 8px 18px #193d3814}.app-mode-select select{width:100%;min-height:2.75rem;color:var(--ink);font:inherit;text-transform:capitalize;background:#ffffffeb;border:0;border-radius:.72rem;padding:.55rem 2rem .55rem .75rem;font-size:.82rem;font-weight:850}.story-workspace-tab,.story-builder-details>summary,.story-builder-advanced>summary,.story-art-style-picker>summary{min-height:2.75rem}}:root{--page-bg:#f8f6ef;--page-bg-deep:#f8f6ef;--ink:#193d38;--muted:#586b63;--muted-strong:#586b63;--accent:#216a57;--accent-soft:#e6eee4;--studio-paper:#f8f6ef;--studio-white:#fffefa;--studio-line:#d5ddd2;--studio-gold:#e4ba58;--ui-font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;background:var(--studio-paper)}html,body{background:var(--studio-paper)}body:before,body:after{display:none}.app-shell{gap:1rem;max-width:1440px;margin:auto}.topbar{border-bottom:1px solid var(--studio-line);align-items:center;padding:.5rem 1rem 1rem}.topbar h1{letter-spacing:-.045em;font-size:clamp(1.2rem,2vw,1.7rem)}.topbar>div>.eyebrow{display:none}.topbar-actions{gap:1rem}.lesson-loader{box-shadow:none;background:0 0;border-radius:0;padding:0}.lesson-loader label{font-size:.75rem;font-weight:600}.lesson-loader select{border:1px solid var(--studio-line);background:var(--studio-white);min-height:44px;box-shadow:none;border-radius:8px}.app-mode-switch{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.app-mode-switch .mode-button{box-shadow:none;background:0 0;border-bottom:3px solid #0000;border-radius:0;min-height:48px;padding:.8rem}.app-mode-switch .mode-button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--ink);background:0 0}.topbar .app-mode-switch .mode-button{border-top:0;border-left:0;border-right:0}.eyebrow{letter-spacing:.13em;font-size:.68rem;font-weight:700}.action-button,.nav-button,.editor-toggle,.mode-button{border:1px solid var(--studio-line);background:var(--studio-white);color:var(--ink);box-shadow:none;border-radius:9px;font-weight:600}.action-button--primary,.nav-button--primary,.mode-button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:none}.action-button--quiet{color:var(--ink);background:0 0;border-color:#0000}.action-button:hover,.mode-button:hover{transform:none}.action-button--primary:hover{background:var(--ink)}.action-button:focus-visible,.mode-button:focus-visible,.story-workspace-tab:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--studio-gold);outline-offset:3px}.progress-pill,.lesson-pill{color:var(--ink);box-shadow:none;background:0 0;font-size:.85rem}.story-workspace-nav{border:0;border-bottom:1px solid var(--studio-line);background:var(--studio-paper);border-radius:0;gap:1.5rem;padding:0;display:flex}.story-workspace-tab{min-height:48px;color:var(--muted-strong);border-bottom:2px solid #0000;border-radius:0;padding:.7rem .4rem}.story-workspace-tab small{display:none}.story-workspace-tab--active,.story-workspace-tab--active:hover{color:var(--ink);border-bottom-color:var(--accent);box-shadow:none;background:0 0}.story-workspace-tab:hover:not(:disabled){background:var(--accent-soft)}.story-workspace-tab-label{font-weight:650}:is(.story-stage,.letter-lab-stage,.practice-stage,.editor-card,.irregular-word-stage:not(:has(.irregular-word-complete))){background:var(--studio-paper);box-shadow:none;border-color:#0000;border-radius:0}.story-stage:before,.letter-lab-stage:before,.practice-stage:before,.editor-card:before{display:none}.irregular-word-stage:not(:has(.irregular-word-complete)):before{display:none}.story-generation-overlay{background:#f8f6efb8}.story-generation-card{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:12px;box-shadow:0 20px 60px #193d3820}.story-generation-status{color:var(--ink)}.story-generation-progress{background:var(--accent-soft)}.story-generation-progress span{background:var(--accent)}.studio-panel{border:1px solid var(--studio-line);background:var(--studio-paper);width:min(1060px,100vw - 48px);max-width:none;height:min(900px,100svh - 48px);max-height:none;color:var(--ink);overscroll-behavior:contain;border-radius:12px;padding:0}.studio-panel::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#193d3840}.studio-panel-header{z-index:4;background:var(--studio-paper);border-bottom:1px solid var(--studio-line);justify-content:space-between;align-items:center;gap:20px;padding:22px 30px;display:flex;position:sticky;top:0}.studio-panel-header h2{letter-spacing:-.04em;margin:0;font-size:1.7rem}.studio-panel-content{padding:24px 30px}.studio-disclosure-trigger{text-align:left;width:100%;min-height:52px;color:var(--ink);cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:15px;display:flex}.studio-disclosure-trigger span{color:var(--muted-strong);font-size:.8rem}.studio-disclosure-trigger span:last-child{font-size:1.2rem}.studio-panel .story-builder-advanced-panel{background:0 0;border:0;padding:0}.studio-panel .story-builder-fields--advanced{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.studio-panel .story-field span:not(:first-child){font-size:.8rem;font-weight:400}@media (width<=720px){.app-shell{padding-inline:max(12px, env(safe-area-inset-left))}.topbar{padding:0 0 10px}.topbar-actions{gap:.4rem}.app-mode-select{box-shadow:none;background:0 0;border:0;border-radius:0}.app-mode-select select{background:var(--studio-white);border-radius:8px}.story-workspace-nav{gap:1.4rem;position:static}.story-workspace-tab{flex:1}.studio-panel{border:0;border-radius:0;width:100%;height:100svh;margin:0}.studio-panel-header{padding:max(16px, env(safe-area-inset-top)) 20px 16px}.studio-panel-header h2{font-size:1.4rem}.studio-panel-content{padding:20px 20px max(28px, env(safe-area-inset-bottom))}.studio-panel .story-builder-fields--advanced{grid-template-columns:1fr;gap:18px}}@media (prefers-reduced-motion:reduce){.story-workspace-panel{animation:none}}body:has(.studio-panel[open]){overflow:hidden}.studio-panel-header-actions{align-items:center;gap:24px;display:flex}@media (width<=720px){.studio-panel-header:has(.story-manual-skills-counts){flex-wrap:wrap;gap:12px}.studio-panel-header:has(.story-manual-skills-counts) .studio-panel-header-actions{justify-content:space-between;width:100%}.studio-panel-header .story-manual-skills-counts{gap:12px;display:flex}}.story-builder-form{box-shadow:none;background:0 0;border:0;border-radius:0;padding:20px 28px;overflow:visible}.story-builder-form:before{display:none}.story-builder-heading>p:last-child{display:none}.story-builder-copy h2{letter-spacing:-.04em;font-size:clamp(1.8rem,3vw,2.35rem)}.story-builder-lesson-note{border-color:var(--accent);background:0 0;min-width:0;font-weight:500}.story-skill-mode{border-color:var(--studio-line);gap:12px;padding-block:0 18px}.story-skill-mode>div:first-child>span{font-size:.75rem;font-weight:400}.story-skill-mode-actions{background:0 0;gap:8px;padding:0}.story-skill-mode{flex-wrap:wrap}.story-skill-start-point-row{flex-basis:100%;justify-content:flex-end;min-width:0;display:flex}.story-skill-start-point{min-height:44px;color:var(--accent);cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:0;padding:0;font-size:.85rem;font-weight:700;text-decoration:underline}.story-skill-mode-actions button{border:1px solid var(--studio-line);background:var(--studio-white);color:var(--ink);min-height:48px;box-shadow:none;border-radius:8px;font-weight:600}.story-skill-mode-actions .story-skill-mode-button--active{background:var(--accent-soft);border-color:var(--accent);box-shadow:none}.story-builder-step{border-top-color:var(--studio-line);padding-block:16px}.story-builder-step--essentials>.story-builder-step-heading{display:none}.story-builder-fields--primary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.story-field--reading-level{grid-column:1/-1}.story-builder-fields--primary .story-field--story-idea,.story-builder-fields--primary .story-field--reading-level{grid-area:auto/1/auto/-1}.story-field>span,.story-field label{text-transform:none;letter-spacing:0;color:var(--ink);font-size:.9rem;font-weight:600}.story-field input,.story-field select,.story-field textarea{background:var(--studio-white);border:1px solid var(--studio-line);color:var(--ink);box-shadow:none;border-radius:8px;min-height:48px}.story-field .story-reading-level-guidance{color:var(--muted-strong);font-size:.75rem;font-weight:400}.story-builder-step-number{display:none}.story-builder-step-summary>span>span{font-size:.75rem;font-weight:400}.story-builder-details>summary,.story-builder-step--creation-mode>summary{min-height:48px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:20px;display:flex}.story-builder-step--creation-mode>summary>span{color:var(--muted-strong);font-size:.8rem}.story-builder-details,.story-builder-step--creation-mode,.studio-disclosure{padding-block:4px}.story-builder-details-panel{border-color:var(--studio-line);background:0 0}.story-creation-presets{margin-top:12px}.story-creation-preset{background:var(--studio-white);border:1px solid var(--studio-line);box-shadow:none;border-radius:8px}.story-creation-preset:has(input:checked){background:var(--accent-soft);border-color:var(--accent)}.story-builder-actions{border-color:var(--studio-line);padding-top:16px}.story-builder-actions .story-builder-action-copy>.eyebrow{display:none}.story-builder-actions .story-builder-generation-note{font-size:.8rem;font-weight:400}.story-builder-action-group--generation{flex-wrap:wrap;justify-content:flex-end;display:flex}.story-builder-action-group--generation>button{flex:0 auto}.story-builder-reset-note{color:var(--muted-strong);text-align:right;flex:1 0 100%;font-size:.8rem}.story-builder-official-reader{background:var(--accent-soft);border:0;border-radius:4px;flex-direction:column;align-items:stretch;gap:18px;padding:24px;display:flex}.story-builder-official-reader h3{letter-spacing:-.03em;font-size:1.3rem}.story-builder-official-reader p{font-size:.85rem}.story-builder-official-reader details{border-top:1px solid var(--studio-line);padding-top:10px}.story-builder-official-reader summary{cursor:pointer;min-height:44px}.story-builder-official-reader button{background:var(--studio-white);color:var(--ink);border-color:var(--studio-line)}@media (width>=1000px){.story-builder-form:has(>.story-builder-official-reader:not([hidden])){grid-template-columns:minmax(0,1fr) 280px;column-gap:48px}.story-builder-form>*{grid-column:1}.story-builder-form>.story-builder-copy,.story-builder-form>.story-template-notice{grid-column:1/-1}.story-builder-form>.story-builder-official-reader{grid-area:2/2/span 5;align-self:start}.story-builder-form:has(>.story-template-notice)>.story-builder-official-reader{grid-row:3/span 5}}.story-manual-skills{background:0 0;border:0;padding:0}.story-manual-skills-intro h3{letter-spacing:-.03em;font-size:1.5rem}.story-manual-skills-intro p{font-size:.9rem;font-weight:400}.story-manual-skills-counts{color:var(--ink);font-size:.85rem}.story-skill-tools input,.story-skill-tools select{background:var(--studio-white);border:1px solid var(--studio-line);min-height:48px;color:var(--ink);border-radius:8px}.story-skill-categories details{border:0;border-bottom:1px solid var(--studio-line);background:0 0;border-radius:0}.story-skill-row{border-color:var(--studio-line);padding:16px 8px}.story-skill-row-copy>span{font-weight:400}.story-skill-row-copy strong{color:var(--ink);font-size:1.05rem}.story-skill-selection-summary span{background:var(--accent-soft);color:var(--ink);border-color:var(--studio-line)}.story-placement-launch{background:var(--accent);color:#fff;border-color:var(--accent);border-radius:8px;min-height:48px}.story-read-handoff-status{font-size:.8rem;font-weight:400}.story-read-handoff-check,.story-read-handoff-tools{border-color:var(--studio-line)}.story-library{box-shadow:none;background:0 0;border:0;padding:24px}.story-library-header h2{letter-spacing:-.04em;font-size:2rem}.story-library-header>div>p:last-child{font-weight:400}.studio-library-tools{position:relative}.studio-library-tools summary{border:1px solid var(--studio-line);background:var(--studio-white);cursor:pointer;white-space:nowrap;border-radius:8px;min-height:48px;padding:12px 18px}.studio-library-tools[open] .story-library-header-actions{z-index:15;border:1px solid var(--studio-line);background:var(--studio-white);border-radius:8px;width:300px;margin-top:8px;padding:16px;position:absolute;right:0;box-shadow:0 12px 25px #193d3815}.story-library-toolbar input,.story-library-toolbar select{background:var(--studio-white);border:1px solid var(--studio-line);box-shadow:none;border-radius:8px}.story-library-toolbar select{appearance:none;background:var(--studio-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23193d38' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .85rem center / .75rem;padding-right:2.4rem}.story-library-cover{box-shadow:none;background:0 0;border:0}.story-library-cover-button{color:var(--ink);background:#fffefa;border:1px solid #193d381a;border-radius:1rem;grid-template-rows:auto auto 1fr;gap:.3rem;padding:.6rem .6rem .8rem;box-shadow:0 1px 2px #193d380f}.story-library-cover-button:hover{border-color:var(--accent);transform:none;box-shadow:0 1px 2px #193d380f}.story-library-cover-button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.story-library-cover--active .story-library-cover-button{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.story-library-cover-art{aspect-ratio:1;background:#ece8dc;border-radius:.6rem;margin-bottom:.2rem}.story-library-cover-copy{color:var(--ink);gap:.3rem;padding:0}.story-library-cover-title{color:var(--ink);font-size:1.02rem;font-weight:700;line-height:1.25}.story-library-cover-line,.story-library-cover-copy .story-library-meta{color:var(--muted-strong);font-size:.84rem;font-weight:500}.story-library-cover-badges{align-items:flex-start;min-height:0;padding:0}.story-library-inspector{border-left:1px solid var(--studio-line);padding-left:24px}.story-library-expanded{box-shadow:none;background:0 0;border:0}.story-generation-failure{background:var(--studio-white);border:1px solid var(--studio-line);box-shadow:none;border-left:3px solid #9c4c31;border-radius:4px;padding:28px}.story-generation-failure-actions button:first-child{background:var(--accent);border-color:var(--accent);color:#fff}@media (width<=999px){.story-builder-official-reader{order:10;margin-top:22px}}@media (width<=720px){.story-builder-form{padding:12px 6px}.story-builder-copy{padding-bottom:18px}.story-builder-lesson-note{padding:8px 12px}.story-builder-fields--primary{grid-template-columns:1fr 1fr;gap:12px}.story-builder-actions{gap:12px}.story-builder-action-group--generation{justify-content:stretch}.story-builder-action-group--generation>button{flex:1;min-height:48px}.story-library{padding:12px 4px}.story-library-header{align-items:flex-start}.story-library-header h2{font-size:1.65rem}.studio-library-tools summary{padding-inline:10px;font-size:.8rem}.story-library-inspector{border-left:0;border-top:1px solid var(--studio-line);padding:16px 0 0}.story-generation-failure{padding:18px}}.story-builder-copy{padding-bottom:12px}.story-skill-setup{padding-block:10px}.story-skill-mode{padding-bottom:4px}.story-builder-step--essentials{padding-block:12px}.story-builder-step--creation-mode>summary{padding-block:0}.story-builder-step-summary{min-height:44px}.story-builder-actions{background:0 0;border-radius:0;margin:0;padding:14px 0}.story-builder-actions .action-button--primary{box-shadow:none}.story-builder-actions .story-builder-action-copy{max-width:28rem}.story-builder-step-summary>span>span{font-weight:400}.parent-placement{background:0 0;border:0;padding:0}.placement-start-choices{gap:10px;display:grid}.placement-start-question{color:var(--ink);margin:0 0 2px;font-size:1.05rem;font-weight:800}.placement-start-choice{border:1px solid var(--studio-line);background:var(--studio-white);min-height:64px;color:var(--ink);cursor:pointer;font:inherit;text-align:left;border-radius:10px;gap:4px;padding:12px 16px;display:grid}.placement-start-choice:hover,.placement-start-choice:focus-visible{border-color:var(--accent)}.placement-start-choice strong{font-size:1rem}.placement-start-choice span{color:var(--muted-strong);font-size:.85rem}.placement-ladder-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.placement-ladder-step{color:var(--muted-strong);text-align:right;justify-items:end;margin:0;font-size:.8rem;display:grid}.placement-ladder-step .placement-more-words{font-size:.8rem}.placement-ladder-header select{border:1px solid var(--studio-line);background:var(--studio-white);min-width:0;max-width:calc(100% - 4.5rem);min-height:44px;color:var(--muted-strong);font:inherit;border-radius:8px;padding:6px 10px;font-size:.8rem}.placement-ladder-words{min-height:12rem;color:var(--ink);font-family:var(--reader-font-family);flex-direction:column;justify-content:center;align-items:center;gap:.15em;padding:.75rem 0;font-size:clamp(2.2rem,9vw,3.2rem);line-height:1.2;display:flex}.placement-ladder-footer{justify-items:center;gap:4px;display:grid}.placement-row-choices{gap:8px;width:100%;display:grid}.parent-placement .placement-practice-summary{color:var(--ink);margin:4px 0;font-weight:600}.placement-tested-details>:not(summary){margin:0}.placement-known-words{flex-wrap:wrap;gap:8px;display:flex}.placement-known-words button{border:1px solid var(--studio-line);background:var(--studio-white);min-width:64px;min-height:52px;color:var(--ink);cursor:pointer;font-family:var(--reader-font-family);border-radius:8px;padding:6px 14px;font-size:1.6rem}.placement-known-words button.placement-known-word--selected{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.parent-placement--review h5{color:var(--ink);margin:8px 0 0;font-size:.9rem}.parent-placement--review h6{color:var(--ink);margin:8px 0 0;font-size:.8rem}.placement-ready-count{color:var(--ink);margin:0;font-size:1rem}.placement-ready-count strong{font-size:1.35rem}.catalog-heart-words{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:8px;gap:10px;margin:0 0 16px;padding:14px;display:grid}.catalog-heart-words h3,.catalog-heart-words p{margin:0}.catalog-heart-words-receipt{align-items:center;gap:12px;min-height:44px;display:flex}.catalog-heart-words-link{width:fit-content;min-height:44px;color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:.85rem;font-weight:700;text-decoration:underline}.placement-more-words-heading{color:var(--ink);margin:12px 0 0;font-size:.95rem}.placement-more-words{width:fit-content;min-height:44px;color:var(--accent);cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:0;padding:0;font-size:.85rem;font-weight:700;text-decoration:underline}.placement-practice-offer p{margin:8px 0 0}.placement-row-note{color:var(--muted-strong);margin:0;font-size:.8rem}.placement-known-summary{color:var(--muted-strong);font-size:.82rem}.studio-retained-draft{border:1px solid var(--studio-line);background:var(--studio-paper);gap:8px;margin-block:20px;padding:16px;display:grid}.story-workspace-panel[hidden]{display:none}.story-builder-details>summary{min-height:48px;padding-block:4px}.story-builder-step--creation-mode{display:block}.story-builder-lesson-note{padding:8px 12px}.story-creation-presets{padding:0 0 12px}.story-library-toggle-control{background:var(--studio-white);border-color:var(--studio-line);border-radius:8px}.story-library-inspector .eyebrow{color:var(--muted-strong)}.story-field input:focus,.story-field select:focus,.story-field textarea:focus{outline:3px solid var(--studio-gold);outline-offset:2px;border-color:var(--accent);box-shadow:none}@media (width<=720px){.story-skill-mode{flex-wrap:nowrap}.story-skill-start-point-row{flex-basis:auto}}.story-builder-fields--primary .story-field--practice-goal,.story-idea-help{grid-column:1/-1}.story-idea-help,.story-field>small{color:var(--muted-strong);font-size:.8rem;font-weight:400;line-height:1.5}.story-idea-help{margin-top:-8px}.story-field--story-idea textarea{resize:vertical;min-height:96px}.story-builder-pictures{gap:12px;display:grid}.story-builder-pictures h3{margin:0;font-size:1rem}.story-builder-pictures .story-art-style-picker{margin:0}.story-builder-pictures .story-art-style-picker>summary{min-height:48px}.story-field--picture-workflow{grid-column:1/-1}.story-builder-picture-note{color:var(--muted-strong);margin:0;font-size:.85rem}.story-builder-legacy-settings{background:#f6f1e4;border-radius:.75rem;flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:1rem;padding:.75rem .9rem;display:flex}.story-builder-legacy-settings p{flex:18rem;margin:0;font-size:.88rem}.story-builder-legacy-settings .action-button{min-height:44px}.story-reading-setup{min-width:0}.story-reading-summary{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.story-reading-summary>div{gap:4px;min-width:0;display:grid}.story-reading-summary>div>span:last-child{color:var(--muted-strong);font-size:.85rem}.story-reading-summary button{flex-shrink:0;min-height:44px}.story-reading-setup-controls{margin-top:12px}.story-starting-point-card{background:var(--accent-soft);border:1px solid var(--studio-line);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:18px;display:flex}.story-starting-point-card p{color:var(--muted-strong);margin:6px 0 0;line-height:1.5}.story-starting-point-card button{flex-shrink:0;min-height:44px}.story-specialist-options{border-top:1px solid var(--studio-line);margin-top:24px;padding-top:12px}.story-specialist-options summary{cursor:pointer;align-content:center;min-height:44px;font-weight:600;display:list-item}.story-specialist-options>p{color:var(--muted-strong)}@media (width<=600px){.story-starting-point-card{flex-direction:column;align-items:stretch}.story-reading-summary{align-items:flex-start;gap:8px}}.story-builder-form .studio-disclosure-trigger>strong{white-space:nowrap;flex-shrink:0}.story-builder-fields--more{grid-template-columns:repeat(2,minmax(0,1fr))}.story-builder-fields--more .story-field{grid-column:auto}.story-builder-fields--more .story-field--wide{grid-column:1/-1}@media (width<=640px){.story-builder-fields--more{grid-template-columns:1fr}}.studio-round-layout{grid-template-columns:minmax(0,1fr) 320px;gap:40px;display:grid}.irregular-word-stage--setup{justify-content:flex-start;gap:26px;padding:24px}.irregular-word-setup-header h2{letter-spacing:-.04em;font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.15}.irregular-word-setup-header p:last-child{font-size:.95rem;font-weight:400}.studio-round-layout .irregular-word-setup-modes{flex-direction:column;gap:0;display:flex}.irregular-word-setup-mode{text-align:left;border:0;border-bottom:1px solid var(--studio-line);min-height:110px;box-shadow:none;color:var(--ink);background:0 0;border-radius:0;grid-template-columns:90px 1fr;align-content:center;gap:6px 20px;padding:20px 16px;display:grid}.irregular-word-setup-mode[aria-pressed=true]{background:var(--accent-soft);color:var(--ink);border-left:3px solid var(--accent);box-shadow:none}.irregular-word-setup-mode>.irregular-word-setup-mode-label{color:var(--accent);grid-area:1/1/span 2;align-self:center;font-size:.78rem;line-height:1.5}.irregular-word-setup-mode strong{letter-spacing:-.03em;font-size:1.25rem}.irregular-word-setup-mode>span:last-child{color:var(--muted-strong);font-size:.8rem;font-weight:400;display:block}.studio-round-settings{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:5px;flex-direction:column;align-self:start;gap:18px;padding:22px;display:flex}.studio-round-settings h3{letter-spacing:-.03em;margin:0;font-size:1.25rem}.studio-round-settings .word-practice-type-switch{background:0 0;border-radius:0;gap:6px;width:100%;padding:0;display:flex}.studio-round-settings .mode-button{flex:1;min-width:0;padding:10px 8px;font-size:.8rem}.studio-round-settings .mode-button[aria-pressed=true]{background:var(--accent-soft);color:var(--ink)}.studio-round-settings .irregular-word-setup-summary{border:0;justify-content:space-between;gap:14px;padding:0}.studio-round-settings .irregular-word-setup-summary span{gap:3px;display:grid}.studio-round-settings .irregular-word-setup-summary small{font-size:.75rem;font-weight:500}.studio-round-settings .irregular-word-setup-action{gap:8px;display:grid}.studio-round-settings .irregular-word-start-button{width:100%;min-width:0;min-height:48px}.studio-round-settings .irregular-word-setup-action p{font-size:.72rem;font-weight:400;line-height:1.45}.word-practice-adult-options{border-top:1px solid var(--studio-line);text-align:left;padding-top:8px}.word-practice-adult-options summary{align-items:center;min-height:44px;display:flex}.irregular-word-reading-card,.sound-sprint-card,.irregular-word-spelling,.word-quest-workspace{box-shadow:none;background:0 0;border-color:#0000;border-radius:0}.irregular-word-reading-word,.sound-sprint-grapheme{color:var(--ink)}.irregular-word-reading-prompt{letter-spacing:.14em;font-size:.75rem}.irregular-word-feedback{border-top:1px solid var(--studio-line);padding-top:12px}.irregular-word-feedback>p{font-size:.8rem;font-weight:400}.irregular-word-feedback-actions .action-button{min-width:130px;min-height:52px}.story-reading-pane,.story-image-pane{box-shadow:none;background:0 0;border-radius:5px}.story-stage--reader-focus .story-reading-pane,.story-stage--reader-focus .story-image-pane{box-shadow:none;background:0 0}.story-stage-meta .progress-pill{color:var(--ink);background:0 0}.story-stage .sentence-unit,.story-stage .sentence-word,.story-stage .story-reading-pane{color:var(--ink)}.story-encoding-overlay-card{background:var(--studio-paper);border-color:var(--studio-line);box-shadow:none;border-radius:8px}.story-stage--reader-focus .story-encoding-overlay-card{background:var(--studio-paper)}.story-alphabet-board,.story-stage--reader-focus .story-alphabet-board,.irregular-word-spelling .story-alphabet-board{box-shadow:none;background:0 0;border-radius:0;justify-items:center}.story-alphabet-row{justify-content:center;margin-inline:auto}.story-alphabet-tile,.story-stage--reader-focus .story-alphabet-tile{border:1px solid var(--studio-line);background:var(--studio-white);color:var(--ink);box-shadow:0 3px 0 var(--studio-line);border-radius:8px}.story-alphabet-tile--target,.story-stage--reader-focus .story-alphabet-tile--target{background:#f4e5b7;border-color:#b69236}.story-alphabet-tile--faded,.story-stage--reader-focus .story-alphabet-tile--faded{color:#65756c;background:#edf0e9}.story-spelling-slot{background:var(--accent-soft);border:0;border-bottom:3px solid var(--accent);box-shadow:none;color:var(--ink);border-radius:7px 7px 0 0}.story-spelling-slot--correct{background:#deedda;border-color:#357d46}.letter-lab-stage--home{gap:28px;min-height:0;padding:24px}.letter-lab-header h2{letter-spacing:-.04em;font-size:clamp(1.8rem,3vw,2.4rem)}.letter-lab-activity-choices{grid-template-columns:1fr;gap:0}.letter-lab-activity-choice{border:0;border-bottom:1px solid var(--studio-line);min-height:118px;color:var(--ink);box-shadow:none;background:0 0;border-radius:0;padding:22px 16px}.letter-lab-activity-choice:hover{background:var(--accent-soft);box-shadow:none;transform:none}.letter-lab-activity-choice--mission{background:0 0;grid-column:auto}.letter-lab-activity-choice strong{letter-spacing:-.03em;font-size:1.55rem}.letter-lab-activity-choice small,.letter-lab-activity-choice--mission small{color:var(--muted-strong);font-weight:400}.letter-lab-activity-number,.letter-lab-activity-choice--mission .letter-lab-activity-number{color:var(--accent);border:1px solid var(--studio-line);background:0 0;border-radius:8px}.letter-lab-adult-tools{border-color:var(--studio-line)}.letter-lab-focus,.letter-conveyor-focus{background:var(--studio-paper);box-shadow:none;border-color:#0000;border-radius:0}.letter-tracing-board-wrap .letter-lab-trace-board{background:var(--studio-white);border:1px solid var(--studio-line);box-shadow:none;border-radius:5px}.letter-tracing-cue{color:var(--muted-strong);background:0 0}.letter-tracing-case-tabs,.letter-lab-letter-tabs{background:0 0}.letter-tracing-case-tabs button,.letter-lab-letter-tab{background:var(--studio-white);color:var(--ink);border-color:var(--studio-line);box-shadow:none;border-radius:8px}.letter-tracing-case-tabs button[aria-pressed=true],.letter-lab-letter-tab[aria-pressed=true]{background:var(--accent-soft);color:var(--ink);border-color:var(--accent)}.motion-mission-focus{background:#173c37}.motion-mission-scene{box-shadow:none;background:#173c37;border-color:#ffffff25;border-radius:5px}.motion-mission-header-actions button,.motion-mission-secondary-action{color:#fff9e8;background:#ffffff0a;border:1px solid #ffffff30;border-radius:8px}.motion-mission-primary-action{color:#173c37;background:#f7d773;border-radius:8px}.motion-mission-case-tabs,.motion-mission-letter-tabs{background:0 0}.motion-mission-stars{opacity:.3}.motion-mission-phase-success{background:#173c37e8;border-radius:8px;width:auto;max-width:none;padding:10px 18px;font-size:.8rem;inset:auto 20px 16px;transform:none}.letter-conveyor-panel{background:var(--studio-paper);box-shadow:none;border:0;border-radius:0}.letter-conveyor-track{background:var(--studio-white);border:1px solid var(--studio-line);box-shadow:none;border-radius:5px}.letter-conveyor-lane{background:var(--accent-soft)}.letter-conveyor-token:not(.letter-conveyor-token--correct):not(.letter-conveyor-token--incorrect){background:var(--studio-white);color:var(--ink);border-color:var(--studio-line);box-shadow:0 3px 0 var(--studio-line);border-radius:12px}.letter-conveyor-target{background:var(--studio-white);color:var(--ink);border-color:var(--studio-line);border-radius:8px}.letter-conveyor-target[aria-pressed=true]{background:var(--accent-soft);color:var(--ink);border-color:var(--accent)}@media (width<=999px){.studio-round-layout{grid-template-columns:minmax(0,1fr) 280px;gap:24px}}@media (width<=720px){.irregular-word-stage--setup{gap:18px;padding:12px 4px}.irregular-word-setup-header{gap:12px}.irregular-word-setup-header h2{font-size:1.7rem}.irregular-word-setup-header p:last-child{font-size:.8rem}.studio-round-layout{grid-template-columns:1fr;gap:16px;width:100%}.irregular-word-setup-mode{text-align:left;grid-template-columns:70px 1fr;gap:3px 12px;min-height:72px;padding:12px 10px}.irregular-word-setup-mode strong{font-size:1rem}.irregular-word-setup-mode>.irregular-word-setup-mode-label{font-size:.65rem}.irregular-word-setup-mode>span:last-child{font-size:.7rem}.studio-round-settings{gap:10px;padding:14px}.studio-round-settings h3,.studio-round-settings .irregular-word-setup-action p{display:none}.studio-round-settings .irregular-word-setup-summary{font-size:.75rem}.studio-round-settings .irregular-word-setup-summary span{display:flex}.irregular-word-feedback-actions .action-button{min-width:110px;min-height:48px}.letter-lab-stage--home{gap:22px;padding:16px 4px}.letter-lab-activity-choice{min-height:100px;padding:18px 10px}.letter-lab-activity-choice strong{font-size:1.25rem}}.studio-round-settings .word-practice-reward-picker{grid-template-columns:1fr;gap:10px}.studio-round-settings .word-practice-reward-choices{gap:8px}.studio-round-settings .word-practice-reward-choice{box-shadow:none;border-width:2px;border-radius:7px}.studio-round-settings .word-practice-reward-picker-copy p{font-weight:400}.irregular-word-setup-mode[aria-pressed=true]>span:last-child{color:var(--muted-strong)}.irregular-word-setup-mode[aria-pressed=true]{border-bottom-color:var(--studio-line)}.word-quest-trail:before{background:var(--studio-line)}.word-quest-trail-stop>span{background:var(--studio-paper);border-color:var(--studio-line)}.word-quest-trail-stop--current>span{color:#fff;border-color:var(--accent);background:var(--accent);box-shadow:none;transform:none}.word-quest-trail-stop--complete>span{color:var(--ink);background:var(--accent-soft);border-color:var(--accent)}.word-quest-instruction{font-weight:500}.letter-conveyor-setup-grid fieldset{border:0;border-top:1px solid var(--studio-line);background:0 0;border-radius:0;padding:16px 0}.letter-conveyor-setup-grid .mode-switch{box-shadow:none;background:0 0;padding:0}.letter-conveyor-setup-grid label:not(.letter-conveyor-speed){min-height:44px}.letter-conveyor-summary{background:var(--accent-soft);border:0;border-radius:5px}@media (width<=720px){.irregular-word-stage--setup{gap:10px}.irregular-word-setup-header{gap:6px}.irregular-word-setup-header>.lesson-pill{margin:0;padding-block:0}.irregular-word-setup-mode{min-height:60px;padding-block:8px}.irregular-word-setup-mode>span:last-child{display:none}.irregular-word-setup-mode>.irregular-word-setup-mode-label{grid-row:1}.studio-round-layout{gap:10px}.studio-round-settings{gap:8px;padding:10px 14px}.studio-round-settings .word-practice-reward-picker{gap:6px}.word-practice-adult-options{padding-top:0}}.brand-logo{aspect-ratio:1842/364;width:17rem;max-width:100%;display:block}.brand-logo img{width:100%;height:100%;display:block}.brand-logo--stacked{aspect-ratio:2;mix-blend-mode:darken;width:18rem;margin:0 auto 1.5rem;overflow:hidden}.brand-logo--stacked img{object-fit:cover;filter:brightness(1.04);transform:scale(1.32)}.topbar>.app-brand{flex-shrink:0}.topbar .app-brand h1{margin:0;line-height:1}.adult-auth-panel{background:var(--studio-paper);border-color:var(--studio-line);box-shadow:0 1rem 3rem #193d3810}@media (width<=720px){.app-brand .brand-logo{width:13rem}}.story-reading-interaction{appearance:none;border:1px solid var(--studio-line);background:var(--studio-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%231a403b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .65rem center;min-width:0;max-width:100%;min-height:44px;color:var(--ink);font:600 .85rem var(--ui-font-family);border-radius:8px;padding:.5rem 1.8rem .5rem .55rem}.story-stage--reader-focus .story-stage-meta-actions:has(.story-reading-interaction){grid-template-columns:minmax(0,1fr) auto auto;display:grid}.story-stage--reader-focus .story-reading-interaction{justify-self:start}.story-word-reading{gap:.6rem;width:100%;min-width:0;display:grid}.story-tap-words{font-family:var(--reader-font-family);font-size:var(--story-reading-font-size);flex-wrap:wrap;align-items:baseline;gap:.1em .16em;line-height:1.15;display:flex}.story-tap-word{min-width:44px;max-width:100%;min-height:44px;color:var(--ink);font:inherit;letter-spacing:.01em;overflow-wrap:anywhere;box-shadow:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-bottom:4px solid #0000;border-radius:8px;padding:.08em .09em .25em}.story-tap-word:disabled{opacity:1;color:var(--muted-strong)}.story-tap-word[aria-pressed=true]{background:var(--accent-soft);border-bottom-color:var(--accent)}.story-tap-word:active:not(:disabled){background:var(--accent-soft);transform:translateY(1px)}.story-tap-word:focus-visible,.story-reading-interaction:focus-visible{outline:3px solid var(--studio-gold);outline-offset:2px}.story-sound-out-trigger{min-height:44px;font:600 .9rem var(--ui-font-family);align-self:center;padding:.6rem .75rem}.story-sound-out-dialog{box-sizing:border-box;border:1px solid var(--studio-line);background:var(--studio-paper);width:min(38rem,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--ink);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:16px;padding:1.25rem}.story-sound-out-dialog::backdrop{background:#14282473}.story-sound-out-header,.story-sound-out-actions{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.story-sound-out-header{margin-bottom:1.5rem}.story-sound-out-header h2{margin:0;font-size:1rem}.story-sound-out-actions{margin-top:1rem}.story-sound-out-dialog .action-button{min-height:44px}.story-sound-out-dialog :is(.sentence-measurement,.sentence-layout){font-size:min(3.5rem, calc(95vw / var(--sound-out-length)))}@media (width<=720px){.story-reading-interaction{font-size:.78rem}.story-stage--reader-focus .story-stage-meta-actions:has(.story-reading-interaction)>.action-button{min-width:60px}.story-sound-out-dialog{padding:.8rem}.story-sound-out-dialog .action-button{padding:.65rem .75rem;font-size:.85rem}}@media (height<=500px) and (orientation:landscape){.story-word-reading{gap:.3rem}.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction] .story-page{grid-template-columns:minmax(0,1fr) min(32%,100svh - 6rem)}.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction][data-picture-fit=compact] .story-page{grid-template-columns:minmax(0,1fr) 112px}.story-stage--dense-page .story-tap-word{padding-block:0 .12em}.story-stage--dense-page .story-tap-words{gap:0 .12em}}.story-stage{--story-reading-font-size:clamp(3rem, 5.9vw, 5.4rem)}.story-stage--dense-page{--story-reading-font-size:1.95rem}.story-stage--reader-focus.story-stage--dense-page{--story-reading-font-size:2.65rem}.story-controls--reading-help{gap:1rem}.story-reading-help{flex:1;justify-content:center;display:flex}.story-controls--reading-help .story-status{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.story-stage--reader-focus .story-controls--reading-help{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding-top:1.5rem;display:grid}.story-stage--reader-focus .story-controls--reading-help .nav-button{min-width:0}@media (width<=720px) and (orientation:portrait){.story-stage{--story-reading-font-size:clamp(2.5rem, 12.4vw, 3.35rem)}.story-stage--dense-page,.story-stage--reader-focus.story-stage--dense-page{--story-reading-font-size:1.8rem}.story-stage--reader-focus .story-controls--reading-help{gap:.5rem}.story-stage--reader-focus .story-controls--reading-help .nav-button-detail{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.story-stage--reader-focus .story-controls--reading-help :is(.nav-button,.story-sound-out-trigger){white-space:nowrap}.story-stage--reader-focus .story-controls--reading-help .story-reading-support .story-sound-out-trigger{padding:.65rem .7rem;font-size:.88rem}.story-stage--reader-focus .story-controls--reading-help .story-reading-support{align-items:stretch}.story-stage--reader-focus .story-controls--reading-help .story-reading-help .story-sound-out-trigger{width:100%}.story-stage--reader-focus[data-reading-interaction=slide][data-picture-fit=compact]{gap:.4rem;padding:.5rem .25rem;overflow:visible}.story-stage--reader-focus[data-reading-interaction=slide][data-picture-fit=compact] .story-reading-pane{padding:.25rem .25rem .5rem}.story-stage--reader-focus[data-reading-interaction=slide][data-picture-fit=compact] .story-reading-pane .sentence-line-text{padding-bottom:.08em}.story-stage--reader-focus[data-reading-interaction=slide][data-picture-fit=compact] .sentence-line-slider-track{margin-top:.25em}.story-stage--reader-focus[data-reading-interaction=slide][data-picture-fit=compact] .sentence-line-puck{width:44px}.story-stage--reader-focus[data-reading-interaction=slide][data-picture-fit=compact] .sentence-line-puck:before{left:calc(50% - .29rem)}}@media (height<=500px) and (orientation:landscape){.story-stage{--story-reading-font-size:2rem}.story-stage--dense-page,.story-stage--reader-focus.story-stage--dense-page{--story-reading-font-size:1.8rem}}@media (width>=721px) and (width<=1200px){.story-stage--dense-page:not(.story-stage--reader-focus){--story-reading-font-size:clamp(1.65rem, 2.7vw, 1.95rem)}}@media (height<=500px) and (orientation:landscape){.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction]{gap:0;padding:.25rem}.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction] .story-page{gap:.25rem}.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction] .story-reading-pane{padding:0 .25rem}.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction] .sentence-layout,.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction] .sentence-line-block{gap:0}.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction=slide] .sentence-line-slider-track{margin-top:8px}.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction] :is(.sentence-layout,.sentence-measurement){line-height:1}.story-stage--reader-focus[data-reading-interaction=slide] .story-reading-pane,.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction=slide] .story-reading-pane{padding-inline:1.25rem}.app-shell--story-focus:has(.story-stage--dense-page[data-reading-interaction]){padding-top:max(.25rem, env(safe-area-inset-top));padding-bottom:max(.25rem, env(safe-area-inset-bottom))}.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction]{max-height:calc(100svh - max(.25rem, env(safe-area-inset-top)) - max(.25rem, env(safe-area-inset-bottom)));padding-block:.0625rem}}.story-typography-probes{visibility:hidden;pointer-events:none;position:fixed;top:0;left:-20000px}.story-typography-probes>.story-stage{flex:none;min-height:0;animation:none}.story-stage[data-typography-ready=false]>.story-page{visibility:hidden}.story-stage--reader-focus[data-reading-interaction=slide] .story-reading-pane .sentence-line-text{padding-bottom:.36em}@media (height<=500px) and (orientation:landscape){.story-stage--reader-focus.story-stage--dense-page[data-reading-interaction=slide] .story-reading-pane .sentence-line-text{padding-bottom:0}}.story-sentence-practice-setting{min-height:44px;font:600 .85rem var(--ui-font-family);align-items:center;gap:.5rem;display:flex}.story-sentence-practice-setting input{width:20px;height:20px;accent-color:var(--accent)}.story-reading-support{flex-wrap:wrap;justify-content:center;align-items:center;gap:.35rem;display:flex}.story-reading-support .story-reading-help{flex:initial}[data-sentence-review=true] :is(.sentence-line-slider,.sentence-line-advance),.story-reading-support[data-sentence-review=true] .story-reading-help{visibility:hidden}[data-sentence-review=true] .word-unit{color:var(--ink);box-shadow:none;text-shadow:none;background:0 0}.story-word-reading[data-sentence-review=true] .story-tap-word{color:var(--ink);border-bottom-color:#0000}[data-sentence-highlight=true]{background:var(--accent-soft);border-radius:8px}.story-sentence-review-trigger{place-content:center;display:grid}.story-sentence-review-trigger>span{grid-area:1/1}@media (width<=720px){.story-reading-support{flex-direction:column}.story-reading-support .story-sound-out-trigger{padding:.45rem;font-size:.8rem}}.story-sentence-reading{width:100%;min-width:0}.story-tap-sentences{font-family:var(--reader-font-family);font-size:var(--story-reading-font-size);letter-spacing:.01em;line-height:1.5}.story-tap-sentence{color:var(--ink);-webkit-box-decoration-break:clone;box-decoration-break:clone;overflow-wrap:anywhere;touch-action:manipulation;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:.15em;padding:max(.12em,22px - .5em) .08em}.story-tap-sentence[aria-disabled=true]{cursor:default}.story-tap-sentence-text{z-index:1;position:relative}.story-tap-sentence[aria-pressed=true]{background:var(--accent-soft)}.story-tap-sentence:focus-visible{outline:3px solid var(--studio-gold);outline-offset:1px}.story-tap-sentence[data-short=true]{min-width:44px;min-height:44px;padding-block:0;display:inline-block}.story-workspace-nav{flex-wrap:wrap;gap:.6rem;padding:.5rem 0;display:flex}.story-workspace-nav .action-button{min-height:44px}.story-library-browser{grid-template-columns:minmax(0,1fr)!important}.story-continue{background:var(--surface,#f5f2e8);border-radius:1rem;align-items:center;gap:1.2rem;margin-bottom:1rem;padding:1rem;display:flex}.story-continue img{object-fit:cover;border-radius:.5rem;width:100px;height:120px}.story-continue h2{margin:0}.story-continue-cover,.story-continue-title{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.story-continue-cover{border-radius:.5rem;flex:none}.story-continue-title{min-height:44px}.story-continue-title:hover{text-decoration:underline}.story-continue-cover:focus-visible,.story-continue-title:focus-visible{outline:3px solid var(--studio-gold);outline-offset:3px}.story-reading-settings{gap:1rem;padding:1rem 0;display:grid}.story-reading-settings label{flex-wrap:wrap;align-items:center;gap:.7rem;display:flex}.story-reading-settings select{max-width:100%;min-height:44px}.story-reading-settings button{min-height:44px}.story-parent-review{background:#fffdf7;border-radius:1rem;padding:1rem}.story-parent-pages{margin:1.5rem 0 0;padding:0;list-style:none}.story-parent-review-page{border-top:1px solid #d8d4c7;padding:1.25rem 0}.story-parent-page-number{color:#4d5543;font-weight:700}.story-parent-page{grid-template-columns:1fr 1fr;align-items:center;gap:1rem;margin:1rem 0;display:grid}.story-parent-page p{font-size:1.6rem}.story-parent-page img{object-fit:contain;width:100%;max-height:50vh}.story-read-handoff-tools{margin-block:1rem}.story-read-handoff-tools summary{cursor:pointer;min-height:44px;padding:.6rem}@media (width<=600px){.story-parent-page{grid-template-columns:1fr}.story-continue img{width:72px;height:96px}.story-continue h2{font-size:1.2rem}}.story-builder-form [hidden]{display:none!important}.story-workspace-panel{animation:none}.story-stage--reader-focus .story-stage-meta-actions{flex-flow:row;justify-content:space-between;align-items:center;display:flex}.story-stage--reader-focus .story-stage-meta-actions>button{width:auto;min-height:44px}.story-library-gallery{grid-template-columns:repeat(auto-fill,minmax(10.5rem,1fr))}@media (width<=600px){.story-library-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}.story-library-cover-badges{flex-wrap:wrap}.story-workspace[hidden]{display:none}.story-guidance-actions{flex-wrap:wrap;gap:.6rem;margin-block:1.25rem 1rem;display:flex}.story-guidance-actions .action-button{min-height:44px}.story-read-handoff-tools>.story-read-handoff-tools{margin-top:.75rem}.story-workspace-nav .action-button[aria-current=page]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 -3px 0 var(--accent)}.story-workspace-back{margin-top:.75rem}.story-workspace-back .action-button{min-height:44px;padding-inline:.4rem;font-weight:650}.story-read-handoff-tools>summary,.story-read-handoff-check>summary,.story-library-details>summary{cursor:pointer;min-height:44px;color:var(--ink);align-items:center;gap:.6rem;font-weight:700;list-style:none;display:flex}.story-read-handoff-tools>summary::-webkit-details-marker{display:none}.story-read-handoff-check>summary::-webkit-details-marker{display:none}.story-library-details>summary::-webkit-details-marker{display:none}.story-read-handoff-tools>summary:before,.story-read-handoff-check>summary:before,.story-library-details>summary:before{content:"";border-bottom:2px solid;border-right:2px solid;flex:none;width:.45rem;height:.45rem;margin-inline:.15rem .1rem;transition:transform .12s;transform:rotate(-45deg)}.story-read-handoff-tools[open]>summary:before,.story-read-handoff-check[open]>summary:before,.story-library-details[open]>summary:before{transform:rotate(45deg)}@media (prefers-reduced-motion:reduce){.story-read-handoff-tools>summary:before,.story-read-handoff-check>summary:before,.story-library-details>summary:before{transition:none}}.story-read-handoff-options{gap:0;min-width:0;padding:0 .6rem .5rem 1.4rem;display:grid}.story-book-option-section{border-top:1px solid var(--studio-line);min-width:0;padding-block:1rem}.story-book-option-section:first-child{border-top:0;padding-top:.5rem}.story-book-option-section h3{color:var(--ink);margin:0 0 .35rem;font-size:1rem}.story-book-option-hint{max-width:65ch;color:var(--muted-strong);margin:.25rem 0 .75rem;font-size:.9rem;line-height:1.5}.story-book-option-footnote{margin:.65rem 0 0;font-size:.82rem}.story-book-option-section .action-button{min-height:44px}.story-book-option-section.story-read-handoff-tools{margin:0;padding-block:0 .75rem}.story-book-option-section>summary{padding-inline:0}.story-book-option-section .story-book-link{border-top:0;margin-block:.35rem 0}.story-book-option-section .story-book-link>summary{padding-left:0}.story-book-option-edition{border-top:1px dashed var(--studio-line);margin-top:.5rem;padding-top:.5rem}.story-read-handoff-options .story-library-actions{max-width:none}.story-read-handoff-options .story-library-expanded-body{gap:0}.story-read-handoff-options .story-library-details{padding-bottom:.75rem}.story-read-handoff-options .story-library-details>summary{padding-block:.6rem}.story-read-handoff-options :is(.story-read-handoff-check,.story-library-details)>summary{padding-inline:0}.story-read-handoff-options .story-library-details .action-button{min-height:44px}.story-read-handoff-options .story-library-danger-zone{border-top:0;padding-top:0}.story-read-handoff-options .story-library-chip-row{padding-block:.75rem}@media (width<=600px){.story-read-handoff-options{padding-left:.6rem}}.story-read-handoff-tool-row{flex-wrap:wrap;align-items:end;gap:.6rem;padding-bottom:.5rem;display:flex}.story-reading-settings-field{font-weight:650}.story-reading-settings select{appearance:none;border:1px solid var(--studio-line);background:var(--studio-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23193d38' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .85rem center / .75rem;min-height:44px;color:var(--ink);font:inherit;border-radius:9px;padding:0 2.4rem 0 .9rem;font-weight:600}.story-reading-settings-check{cursor:pointer;font-weight:600}.story-reading-settings-check input{width:1.35rem;height:1.35rem;accent-color:var(--accent);margin:0}.story-settings-dialog h2{letter-spacing:-.02em;margin:0 0 .25rem;font-size:1.5rem}.story-settings-dialog .story-settings-close{min-width:7rem;margin-left:auto;display:block}.story-library-expanded{box-shadow:none;background:0 0;border:0;padding:.25rem 0 0;animation:none}.story-library-expanded .story-library-actions{flex-wrap:wrap;justify-content:flex-start;gap:.6rem}.story-library-expanded .story-library-actions .action-button{min-height:44px}.story-library-details{border:0;border-top:1px solid var(--studio-line);background:0 0;border-radius:0;padding:0}.story-library-danger-zone{border-top:1px solid var(--studio-line);flex-wrap:wrap;gap:.6rem;padding-top:1rem;display:flex}.story-library-danger-zone .action-button{min-height:44px}.action-button--danger{background:var(--studio-white);color:#9a2f22;border-color:#e2c2b9}.action-button--danger:hover{background:#fbefeb;border-color:#9a2f22}.story-guidance-review{gap:.6rem;margin:0 0 1rem;display:grid}.story-guidance-review>div{grid-template-columns:minmax(7.5rem,auto) 1fr;gap:.2rem 1rem;display:grid}.story-guidance-review dt{color:var(--muted-strong);font-size:.85rem;font-weight:650}.story-guidance-review dd{color:var(--ink);margin:0;font-weight:600}.story-guidance-edit{flex-wrap:wrap;gap:.6rem;display:flex}.story-guidance-edit .action-button{min-height:44px}@media (width<=600px){.story-guidance-review>div{grid-template-columns:1fr}}.story-library-empty-state{border:1px dashed var(--studio-line);background:var(--studio-white);border-radius:12px;justify-items:start;gap:.5rem;margin:.5rem 0 1rem;padding:1.25rem 1.4rem;display:grid}.story-library-empty-state h3{color:var(--ink);margin:0;font-size:1.25rem}.story-library-empty-state p{color:var(--muted-strong);margin:0}.story-library-empty-state .action-button{min-height:44px;margin-top:.4rem}p.story-library-empty-state{color:var(--muted-strong);border-style:solid}.story-library-cover-badges span{background:var(--accent-soft);color:var(--accent);text-transform:none;padding:.1rem .5rem;font-size:.78rem;font-weight:700}.story-library-gallery{gap:1rem}@media (width<=600px){.story-library-gallery{gap:.75rem}}.studio-library-tools[open] .story-library-header-actions{width:min(300px,100vw - 2rem)}@media (width<=720px){.story-library-header{flex-direction:row;justify-content:space-between;align-items:center;gap:.75rem}.story-library-header .eyebrow,.story-library-header>div:first-child>p{display:none}.story-library-header h2{margin:0;font-size:1.5rem}.studio-library-tools summary{min-height:44px;padding:10px 14px}.studio-library-tools[open] .story-library-header-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.story-library-toolbar>label>span:first-child{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.story-library-toolbar{gap:.5rem}.story-library-toggle-control{width:auto;min-height:44px;box-shadow:none;background:0 0;border:0;padding:0}.story-continue{grid-template-columns:56px minmax(0,1fr);align-items:center;gap:.85rem;margin-bottom:.5rem;padding:.75rem;display:grid}.story-continue img{width:56px;height:72px}.story-continue>div{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.1rem .75rem;display:grid}.story-continue h2{overflow-wrap:anywhere;grid-column:1;font-size:1.05rem;line-height:1.2}.story-continue p{color:var(--muted-strong);grid-column:1;margin:0;font-size:.85rem}.story-continue .action-button{grid-area:1/2/span 2;min-height:44px;padding:.55rem .85rem;font-size:.92rem}}.story-stage--reader-focus .story-reading-pane{clip-path:inset(0 -100vmax);min-width:0;overflow:visible}.story-stage--reader-focus .story-controls .nav-button{min-height:44px}.story-book-groups{border-top:1px solid var(--studio-line);align-content:start;min-width:0;margin-top:.25rem;padding-top:1.5rem;display:grid}.story-book-groups>.story-read-handoff-tools{margin-block:0}.story-book-groups>.story-read-handoff-tools>summary{min-height:56px;padding-block:1rem}.story-book-groups>.story-read-handoff-tools:last-of-type{border-bottom:1px solid var(--studio-line)}.story-book-groups>.story-print-card{margin-bottom:1.5rem;padding:0}.story-book-groups>.story-book-group:first-child{border-top:0;margin-bottom:1.5rem}.story-book-option-section+.story-library-expanded .story-library-expanded-body>:first-child{border-top:1px solid var(--studio-line);padding-top:1rem}.story-page[data-picture-expanded=true]>.story-reading-pane{visibility:hidden}.story-picture-foldout{z-index:4;background:var(--studio-paper,#faf7ef);place-items:center;display:grid;position:absolute;inset:0}.story-picture-composition{box-sizing:border-box;background:var(--studio-white);border-radius:12px;grid-template-areas:"art""caption";gap:1rem;padding:clamp(.5rem,1.4vw,1rem);display:grid;box-shadow:0 2px 12px #1e423512}.story-picture-foldout-art{width:100%;min-width:0;min-height:0;color:var(--accent);cursor:zoom-out;background:0 0;border:0;grid-area:art;justify-self:center;place-items:center;margin:0;padding:0;display:grid;position:relative}.story-picture-foldout-art:disabled{opacity:1;cursor:default}.story-picture-foldout-art:focus-visible{outline:3px solid var(--studio-gold);outline-offset:3px}.story-picture-foldout-art img{object-fit:contain;border-radius:4px;width:100%;height:100%;min-height:0}.story-picture-foldout-caption{overflow-wrap:anywhere;grid-area:caption;min-width:0}.story-picture-foldout-caption p{color:var(--ink);margin:0;font-family:Andika Learner,sans-serif;font-size:clamp(1.25rem,2.8vw,2rem);line-height:1.4}.story-picture-foldout .story-picture-transition-sentence{z-index:1;min-height:0;box-shadow:none;pointer-events:none;visibility:visible;background:0 0;border:0;border-radius:0;margin:0;position:absolute}.story-picture-transition-sentence .sentence-line-slider,.story-picture-transition-sentence .sentence-line-advance,.story-picture-transition-sentence .story-encoding-word-audio,.story-picture-transition-sentence .story-encoding-panel>p{visibility:hidden}.story-picture-foldout .story-picture-transition-sentence[data-words=true]{clip-path:none;visibility:hidden;overflow:visible}.story-picture-travelling-word{transform-origin:0 0;visibility:visible;display:inline-block}.story-picture-travelling-word,.story-picture-travelling-word *{text-shadow:0 0 .04em var(--studio-paper,#faf7ef), 0 0 .08em var(--studio-paper,#faf7ef), 0 0 .16em var(--studio-paper,#faf7ef), 0 0 .3em var(--studio-paper,#faf7ef)}.story-picture-foldout[data-preparing=true]{opacity:0}.story-page:has(>.story-picture-foldout[data-preparing=true])>:is(.story-reading-pane,.story-image-pane){visibility:visible}.story-picture-foldout[data-direction=closing] .story-picture-transition-sentence .sentence-line-slider,.story-picture-foldout[data-direction=closing] .story-picture-transition-sentence .sentence-line-advance{visibility:visible}@media (height<=500px){.story-picture-composition{grid-template-areas:"caption art";align-items:center;gap:.75rem;padding:.5rem}.story-picture-foldout-caption p{font-size:1rem;line-height:1.3}}.story-page[data-explicit-picture=true]:is([data-picture-expanded=false],[data-measure-spread=true])>.story-picture-view,.story-page[data-explicit-picture=true]:is([data-picture-expanded=false],[data-measure-spread=true])>.story-picture-view>.story-picture-composition,.story-page[data-explicit-picture=true]:is([data-picture-expanded=false],[data-measure-spread=true])>.story-picture-view>.story-picture-composition>.story-picture-foldout-art{display:contents}.story-page[data-explicit-picture=true]:is([data-picture-expanded=false],[data-measure-spread=true]) .story-picture-foldout-caption{display:none}.story-page[data-explicit-picture=true][data-picture-expanded=true]:not([data-measure-spread=true]) .story-image-pane{visibility:visible;border:0;border-radius:4px;width:100%;height:100%;min-height:0;padding:0;container-type:normal}.story-page[data-explicit-picture=true][data-picture-expanded=true]:not([data-measure-spread=true]) .scratch-frame{border-radius:4px;width:100%;height:100%;min-height:0}.story-page[data-explicit-picture=true][data-picture-expanded=true] .story-image{width:100%;height:100%}.story-page[data-explicit-picture=true][data-picture-lock=compact] .story-image-pane{visibility:hidden}.story-page[data-explicit-picture=true] .story-picture-view .story-picture-transition-sentence{z-index:5}.story-picture-step{order:-1;grid-column:1/-1;justify-content:center;min-height:44px;display:flex}.story-picture-step>button{min-height:44px;padding:.45rem 1rem}.story-picture-step[data-on-cover=true]{visibility:hidden}.story-stage .scratch-message[data-action]{box-shadow:none;background:0 0;place-content:center;padding:0;inset:0}.scratch-show-picture{min-height:48px;padding:.55rem 1.25rem;font-size:1.05rem;font-weight:800;box-shadow:0 10px 24px #193d382e}.story-controls:has(>.story-picture-step)>.story-status{display:none}.story-stage--reader-focus .story-controls:has(>.story-picture-step){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}.story-stage--reader-focus .story-controls:has(>.story-picture-step):not(.story-controls--reading-help){grid-template-columns:repeat(2,minmax(0,1fr))}@media (height<=500px) and (orientation:landscape){.story-stage--reader-focus .story-controls:has(>.story-picture-step):not(.story-controls--reading-help){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.story-stage--reader-focus .story-controls--reading-help:has(>.story-picture-step){grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr)}.story-picture-step{order:0;grid-column:auto}.story-stage--reader-focus .story-controls:has(>.story-picture-step[data-on-cover=true]):not(.story-controls--reading-help){grid-template-columns:repeat(2,minmax(0,1fr))}.story-stage--reader-focus .story-controls--reading-help:has(>.story-picture-step[data-on-cover=true]){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.story-stage--reader-focus .story-picture-step[data-on-cover=true]{display:none}}@media (orientation:landscape) and (width>=900px) and (height>=501px){.story-stage--reader-focus{--reader-corner-height:2.75rem;--reader-corner-gap:.75rem}.story-stage--reader-focus .story-stage-meta{z-index:6;height:var(--reader-corner-height);margin-bottom:calc(-1 * (var(--reader-corner-height) + var(--reader-corner-gap)));pointer-events:none}.story-stage--reader-focus .story-stage-meta-actions{justify-content:flex-start;gap:.75rem;width:100%}.story-stage--reader-focus .story-stage-meta-actions>*{pointer-events:auto}.story-stage--reader-focus .story-encoding-overlay{z-index:7}.story-stage--reader-focus .story-stage-meta-actions>.progress-pill{margin-left:auto}.story-stage--reader-focus .story-page{padding-top:calc(var(--reader-corner-height) + var(--reader-corner-gap))}.story-stage--reader-focus .story-picture-foldout{padding-inline:12rem}.story-stage--reader-focus .story-picture-composition{gap:.75rem;padding:.75rem}.story-stage--reader-focus .story-controls:has(>.story-picture-step):not(.story-controls--reading-help){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.story-stage--reader-focus .story-controls--reading-help:has(>.story-picture-step){grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr)}.story-stage--reader-focus .story-picture-step{order:0;grid-column:auto}.story-stage--reader-focus .story-controls:has(>.story-picture-step[data-on-cover=true]):not(.story-controls--reading-help){grid-template-columns:repeat(2,minmax(0,1fr))}.story-stage--reader-focus .story-controls--reading-help:has(>.story-picture-step[data-on-cover=true]){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.story-stage--reader-focus .story-picture-step[data-on-cover=true]{display:none}}.story-completion-dialog{box-sizing:border-box;border:1px solid var(--studio-line);background:var(--studio-paper);width:min(36rem,100vw - 2rem);height:fit-content;max-height:calc(100dvh - 2rem);color:var(--ink);overscroll-behavior:contain;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:20px;margin:auto;padding:2rem;box-shadow:0 24px 80px #193d382b}.story-completion-dialog[open]{grid-auto-rows:max-content;align-content:start;gap:1.25rem;display:grid}.story-completion-dialog::backdrop{background:#193d3840}.story-completion-dialog :is(h2,p){margin:0}.story-completion-heading{text-align:center;justify-items:center;gap:1rem;min-width:0;display:grid}.story-completion-mark{border:1px solid var(--studio-gold);width:3.75rem;height:3.75rem;color:var(--ink);background:#e4ba5824;border-radius:50%;place-items:center;display:grid}.story-completion-mark svg{width:2rem;height:2rem}.story-completion-heading h2{min-width:0;font-weight:700}.story-completion-intro{font:500 1rem/1.4 var(--ui-font-family);color:var(--muted-strong);margin-bottom:.25rem;display:block}.story-completion-book-title{font:700 clamp(1.65rem, 3vw, 2.15rem)/1.25 var(--reader-font-family);overflow-wrap:anywhere;text-wrap:balance;display:block}.story-completion-prompt{color:var(--muted-strong);text-align:center;font-size:.95rem}.story-completion-dialog-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.story-completion-dialog-actions .nav-button{min-width:0;min-height:56px;font:600 1rem/1.35 var(--ui-font-family);text-align:left;justify-content:center;align-self:start;align-items:center;gap:.65rem;padding:.85rem 1rem;transition:background-color .12s,transform .12s;display:flex}.story-completion-dialog-actions svg{flex:0 0 1.4rem;width:1.4rem;height:1.4rem}.story-completion-dialog-actions .nav-button--primary{grid-column:1/-1;justify-content:flex-start;min-height:60px}.story-completion-next{margin-left:auto;font-size:1.4rem;font-weight:400}.story-completion-dialog-actions .nav-button--quiet{width:max-content;max-width:100%;min-height:44px;color:var(--muted-strong);white-space:nowrap;background:0 0;border-color:#0000;grid-column:1/-1;justify-self:center;margin-top:.25rem}.story-completion-dialog-actions .nav-button:hover{background:var(--accent-soft);transform:none}.story-completion-dialog-actions .nav-button--primary:hover{background:var(--ink)}.story-completion-dialog-actions .nav-button:active{transform:translateY(1px)}.story-completion-dialog-actions .nav-button:focus-visible{outline:3px solid var(--studio-gold);outline-offset:3px}@media (width<=500px){.story-completion-dialog{padding:1.5rem}.story-completion-heading{gap:.85rem}.story-completion-mark{width:3rem;height:3rem}.story-completion-mark svg{width:1.7rem;height:1.7rem}.story-completion-dialog-actions{grid-template-columns:minmax(0,1fr)}.story-completion-dialog-actions .nav-button:not(.nav-button--quiet){justify-content:flex-start}.story-completion-dialog-actions .nav-button{gap:.5rem;padding:.8rem .65rem;font-size:.95rem}}@media (height<=500px){.story-completion-dialog{padding:1.25rem}.story-completion-dialog[open]{gap:.75rem}.story-completion-heading{text-align:left;justify-content:center;align-items:center;gap:.85rem;display:flex}.story-completion-mark{flex:0 0 3rem;width:3rem;height:3rem}.story-completion-book-title{font-size:1.6rem}.story-completion-dialog-actions{gap:.5rem}.story-completion-dialog-actions .nav-button{min-height:44px;padding-block:.6rem}}@media (prefers-reduced-motion:reduce){.story-completion-dialog-actions .nav-button{transition:none}}.beta-card{--beta-ink:#4b3f8f;--beta-line:#b8afe0;--beta-wash:#f3f1fb;border:1px dashed var(--beta-line);background:var(--beta-wash);color:var(--muted-strong);font:400 .95rem/1.45 var(--ui-font-family);text-align:left;border-radius:12px;gap:.6rem;padding:.75rem .9rem;display:grid}.beta-card-heading{color:var(--beta-ink);align-items:center;gap:.55rem;margin:0;font-weight:600;display:flex}.beta-card-pill{background:var(--beta-ink);color:#fff;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;flex:none;padding:.1rem .5rem;font-size:.72rem;font-weight:700}.beta-card-title{min-width:0}.beta-card-body{gap:.6rem;display:grid}.beta-card-note{color:var(--beta-ink);margin:0;font-size:.85rem}details.beta-card{gap:0;padding:0}details.beta-card>summary{cursor:pointer;min-height:44px;padding:.45rem .9rem;list-style:none}details.beta-card>summary::-webkit-details-marker{display:none}details.beta-card>summary:focus-visible{outline:3px solid var(--studio-gold);outline-offset:2px;border-radius:11px}details.beta-card>.beta-card-body{padding:0 .9rem .8rem}.beta-card-chevron{border-bottom:2px solid;border-right:2px solid;width:.5rem;height:.5rem;margin-left:auto;transform:rotate(45deg)translate(-2px,-2px)}details.beta-card[open] .beta-card-chevron{transform:rotate(-135deg)translate(-2px,-2px)}.book-feedback{max-width:34rem;color:var(--muted-strong);font:400 .95rem/1.45 var(--ui-font-family);margin-top:1.25rem;display:grid}.book-feedback-question{color:var(--ink);margin:0;font-weight:600}.book-feedback-choices{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.5rem;display:grid}.book-feedback-choices .action-button{min-height:44px;padding-inline:.9rem}.book-feedback-choices .action-button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--ink)}.book-feedback-thanks,.book-feedback--sent{margin:0}.book-feedback-comment{gap:.5rem;display:grid}.book-feedback-comment label{color:var(--ink);gap:.35rem;font-weight:600;display:grid}.book-feedback-comment textarea{border:1px solid var(--studio-line);width:100%;min-height:4.5rem;font:400 1rem/1.4 var(--ui-font-family);resize:vertical;border-radius:10px;padding:.6rem .7rem}.book-feedback-comment .action-button{justify-self:start;min-height:44px}.story-completion-dialog .book-feedback{width:100%;margin:0 auto}.book-feedback textarea{-webkit-user-select:text;user-select:text}.story-print-dialog{border:1px solid var(--studio-line);background:var(--studio-paper);width:min(58rem,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--ink);overscroll-behavior:contain;border-radius:16px;padding:0;box-shadow:0 24px 80px #193d382b}.story-print-dialog::backdrop{background:#193d3860}.story-print-dialog[open]{grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}body:has(.story-print-dialog[open]){overflow:hidden}.story-print-dialog :is(h2,h3,p){margin:0}.story-print-heading{border-bottom:1px solid var(--studio-line);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.5rem 1.75rem;display:flex}.story-print-heading h2{font:700 1.9rem/1.2 var(--reader-font-family);margin:.3rem 0}.story-print-book-title{color:var(--muted-strong);overflow-wrap:anywhere;font-size:.95rem}.story-print-heading .action-button{flex-shrink:0;min-height:44px}.story-print-layout{overscroll-behavior:contain;grid-template:"choices preview""settings preview"1fr/minmax(0,1fr) minmax(0,1.15fr);min-height:0;display:grid;overflow-y:auto}.story-print-layout-choice{grid-area:choices;padding:1.5rem 1.75rem 0}.story-print-mobile-layout{display:none}.story-print-setup{grid-area:settings;align-content:start;gap:1.25rem;padding:1.5rem 1.75rem;display:grid}:is(.story-print-setup,.story-print-layout-choice) fieldset{border:0;min-width:0;margin:0;padding:0}:is(.story-print-setup,.story-print-layout-choice) legend{margin-bottom:.7rem;padding:0;font-size:.95rem;font-weight:700}.story-print-choice{border:1px solid var(--studio-line);cursor:pointer;background:#fff;border-radius:9px;align-items:flex-start;gap:.65rem;padding:.9rem;display:flex}.story-print-choice:has(input:checked){border-color:var(--accent);background:#e9eee6}.story-print-choice input{accent-color:var(--accent);flex-shrink:0;width:18px;height:18px;margin:.25rem 0 0}.story-print-choice>span{gap:.3rem;min-width:0;display:grid}.story-print-choice strong{font-size:.95rem}.story-print-choice small{color:var(--accent);font-size:.72rem;font-weight:700}.story-print-choice span span{color:var(--muted-strong);font-size:.86rem;line-height:1.5}.story-print-text-preference .story-print-choice+.story-print-choice{margin-top:.5rem}.story-print-cover-details{cursor:pointer;align-items:flex-start;gap:.65rem;min-height:44px;display:flex}.story-print-cover-details input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0;margin:.2rem 0 0}.story-print-cover-details>span{gap:.35rem;display:grid}.story-print-cover-details strong{font-size:.88rem;line-height:1.4}.story-print-cover-details span span{color:var(--muted-strong);font-size:.81rem;line-height:1.5}.story-print-other-layouts{margin-top:.4rem}.story-print-span-pictures{margin:.9rem 0 0 1rem}.story-print-other-layouts .story-print-choice{margin-top:.5rem}.story-print-dialog summary{cursor:pointer;min-height:44px;color:var(--muted-strong);align-content:center;font-size:.85rem}.story-print-dialog :is(button,summary,input,select):focus-visible{outline:3px solid var(--studio-gold);outline-offset:3px}.story-print-recipe h3{font-size:.95rem}.story-print-recipe dl{gap:.6rem;margin:.8rem 0;display:grid}.story-print-recipe dl>div{grid-template-columns:7.4rem minmax(0,1fr);gap:.5rem;font-size:.86rem;line-height:1.4;display:grid}.story-print-recipe dt{color:var(--muted-strong)}.story-print-recipe dd{margin:0;font-weight:600}.story-print-recipe p,.story-print-help p{color:var(--muted-strong);font-size:.81rem;line-height:1.5}.story-print-assembly{border-top:1px solid var(--studio-line);padding-top:1rem;font-size:.88rem;line-height:1.55}.story-print-help p+p{margin-top:.65rem}.story-print-preview{border-left:1px solid var(--studio-line);background:#e9ede6;grid-area:preview;min-width:0;padding:1.5rem 2rem}.story-print-preview-intro{grid-template-columns:5rem minmax(0,1fr);align-items:center;gap:1rem;margin-bottom:1.25rem;display:grid}.story-print-preview figure{min-width:0;margin:0}.story-print-preview figcaption{color:var(--muted-strong);margin-bottom:.45rem;font-size:.78rem;font-weight:600}.story-print-cover-preview figcaption{text-align:center;margin:.3rem 0 0;font-size:.7rem}.story-print-preview-intro h3{margin:.35rem 0 .45rem;font-size:1rem}.story-print-preview-intro p{color:var(--muted-strong);font-size:.8rem;line-height:1.5}.story-print-preview-page{background:#fff;width:100%;margin-inline:auto;position:relative;overflow:hidden;box-shadow:0 4px 15px #193d3818,0 0 0 1px #193d3812}.story-print-preview-page iframe{transform-origin:0 0;border:0;position:absolute;inset:0}.story-print-inside-preview{gap:1rem;display:grid}.story-print-paper-count{font-size:.78rem;font-weight:600;margin-top:.5rem!important}.story-print-back-preview{margin-top:1rem}.story-print-back-preview .story-print-preview-page{max-width:10rem}.story-print-preview-note{color:var(--muted-strong);text-align:center;font-size:.8rem;line-height:1.5;margin-top:.65rem!important}.story-print-actions{border-top:1px solid var(--studio-line);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.7rem;padding:1rem 1.75rem;display:flex}.story-print-actions p{min-width:9rem;color:var(--muted-strong);flex:1;font-size:.8rem;line-height:1.4}.story-print-actions .action-button{white-space:normal;min-height:44px}.story-print-instructions{flex-basis:100%;font-size:.85rem;line-height:1.45}.story-print-instructions strong{color:var(--ink)}.story-print-instructions p{margin-top:.3rem}.story-print-actions .story-print-status{color:var(--ink);flex-basis:100%;font-weight:600}.story-print-status:empty{display:none}@media (width<=650px){.story-print-dialog{border-radius:12px;width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}.story-print-heading{padding:1.1rem}.story-print-heading h2{font-size:1.55rem}.story-print-layout{grid-template:"choices""preview""settings"/minmax(0,1fr)}.story-print-layout-choice{padding:1.1rem}.story-print-desktop-layout{display:none}.story-print-mobile-layout{gap:.5rem;font-size:.95rem;font-weight:700;display:grid}.story-print-mobile-layout select{border:1px solid var(--studio-line);width:100%;min-height:44px;color:var(--ink);font:600 .9rem var(--ui-font-family);background:#fff;border-radius:8px;padding:.5rem}.story-print-setup{gap:1rem;padding:1.1rem}.story-print-preview{border-left:0;border-top:1px solid var(--studio-line);padding:1.25rem}.story-print-preview-intro{grid-template-columns:4rem minmax(0,1fr);gap:.75rem;margin-bottom:.75rem}.story-print-preview-intro :is(.eyebrow,h3){display:none}.story-print-actions{padding:1.1rem}.story-print-actions p{flex-basis:100%}.story-print-actions .action-button{flex:1;font-size:.83rem}}.story-print-card{padding-block:.75rem 1rem}.story-print-card__main{border:1px solid var(--studio-line);background:#fffdf8;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1.25rem;padding:1rem 1.15rem;display:grid}.story-print-card__copy{justify-items:start;gap:.1rem;min-width:0;display:grid}.story-print-card__copy h3{margin:0;font-size:1.08rem}.story-print-card__copy .story-book-option-hint{margin:.15rem 0 0}.story-print-card__action{white-space:nowrap;min-height:44px}.story-print-card__book{aspect-ratio:5.5/8.5;background:#fff;border-radius:2px 5px 5px 2px;flex:none;grid-template-rows:auto auto 1fr;justify-items:center;gap:.25rem;width:4.5rem;padding:.45rem .3rem .3rem;display:grid;position:relative;transform:rotate(-2deg);box-shadow:0 1px 2px #193d381f,0 6px 14px #193d3824}.story-print-card__book:before,.story-print-card__book:after{content:"";pointer-events:none;position:absolute}.story-print-card__book:before{z-index:-1;background:#f3f0e7;border-radius:2px 5px 5px 2px;inset:3px -4px -3px 4px;box-shadow:0 1px 2px #193d381a}.story-print-card__book:after{background:linear-gradient(90deg,#193d381c,#0000);border-radius:2px 0 0 2px;width:7px;inset:0 auto 0 0}.story-print-card__title{color:#1c3b34;max-width:100%;font:700 .56rem/1.1 var(--learner-font,"Andika Learner", sans-serif);text-align:center;text-wrap:balance;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.story-print-card__book img,.story-print-card__art-placeholder{aspect-ratio:1;object-fit:cover;background:var(--accent-soft);width:100%}.story-print-card__imprint{color:var(--accent);font:700 .3rem/1 var(--learner-font,"Andika Learner", sans-serif);letter-spacing:.14em;text-transform:uppercase;align-self:end}@media (prefers-reduced-motion:no-preference){.story-print-card__book{transition:transform .16s}.story-print-card__main:hover .story-print-card__book{transform:rotate(0)translateY(-1px)}}@media (width<=999px){.story-print-card__main{grid-template-columns:auto minmax(0,1fr);gap:.75rem 1rem;padding:1rem}.story-print-card__book{grid-row:1/span 2}.story-print-card__action{grid-column:2;justify-self:start}}.story-picture-manager{border:1px solid var(--studio-line);background:var(--studio-white);min-width:0;color:var(--ink);border-radius:12px;padding:1.5rem}.story-picture-manager :is(h2,h3,p){margin:0}.story-pictures-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.story-pictures-heading h2{font:700 1.65rem/1.3 var(--reader-font-family);overflow-wrap:anywhere;margin:.3rem 0 .6rem}.story-pictures-heading p:not(.eyebrow){color:var(--muted-strong);font-size:.9rem;line-height:1.5}.story-pictures-count{flex-shrink:0;padding-top:.35rem;font-weight:600}.story-picture-thumbnails{overscroll-behavior-x:contain;scrollbar-width:thin;gap:.6rem;width:100%;margin:1.25rem 0;padding:.25rem .2rem .7rem;display:flex;overflow-x:auto}.story-picture-thumbnail{border:1px solid var(--studio-line);background:var(--studio-white);color:var(--ink);font:inherit;text-align:left;cursor:pointer;border-radius:8px;flex:0 0 112px;align-content:start;gap:.3rem;padding:.45rem;display:grid}.story-picture-thumbnail[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.story-picture-thumbnail-art{background:var(--studio-paper);border-radius:4px;place-items:center;height:70px;display:grid;overflow:hidden}.story-picture-thumbnail img{object-fit:contain;width:100%;height:70px}.story-picture-thumbnail svg{width:2.3rem;height:2.3rem;color:var(--muted-strong)}.story-picture-thumbnail strong{font-size:.85rem}.story-picture-thumbnail-status{color:var(--muted-strong);font-size:.73rem;line-height:1.4}.story-picture-thumbnail-status[data-status=failed],.story-picture-status[data-status=failed]{color:#91432d}.story-pictures-feedback{border-left:3px solid var(--studio-gold);background:var(--studio-paper);overflow-wrap:anywhere;gap:.4rem;margin-bottom:1rem;padding:.8rem 1rem;font-size:.88rem;line-height:1.5;display:grid}.story-picture-editor{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:2rem;display:grid}.story-picture-selected{min-width:0;margin:0}.story-picture-selected-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.8rem;display:flex}.story-picture-manager h3{font-size:1rem;line-height:1.4}.story-picture-status{background:var(--accent-soft);color:var(--accent);border-radius:5px;padding:.25rem .6rem;font-size:.8rem;font-weight:600}.story-picture-status[data-status=placeholder],.story-picture-status[data-status=pending]{color:var(--muted-strong);background:var(--studio-paper)}.story-picture-status[data-status=failed]{background:#f7ede3}.story-picture-artwork{background:var(--studio-paper);border-radius:8px;place-items:center;height:clamp(220px,42vh,420px);display:grid;overflow:hidden}.story-picture-artwork img{object-fit:contain;width:100%;height:100%;max-height:clamp(220px,42vh,420px)}.story-picture-empty{text-align:center;align-content:center;justify-items:center;gap:1rem;max-width:22rem;padding:1.5rem;display:grid}.story-picture-empty svg{width:3rem;height:3rem;color:var(--muted-strong)}.story-picture-empty p{color:var(--muted-strong);font-size:.9rem;line-height:1.5}.story-picture-selected figcaption{font:700 clamp(1.1rem, 2vw, 1.45rem)/1.6 var(--reader-font-family);margin-top:1rem}.story-picture-change{gap:.65rem;min-width:0;display:grid}.story-picture-change>p{color:var(--muted-strong);font-size:.88rem;line-height:1.5}.story-picture-change label{margin-top:.5rem;font-size:.9rem;font-weight:650}.story-picture-change .story-picture-note-help{font-size:.81rem}.story-picture-change textarea{box-sizing:border-box;border:1px solid var(--studio-line);width:100%;min-height:110px;color:var(--ink);font:400 1rem/1.5 var(--ui-font-family);resize:vertical;-webkit-user-select:text;user-select:text;background:#fff;border-radius:8px;padding:.8rem}.story-picture-change .story-picture-note-count{justify-self:end;font-size:.75rem}.story-picture-manager .action-button{white-space:normal;min-height:44px}.story-picture-change .action-button{justify-self:start}.story-picture-manager .story-picture-action-note{color:var(--muted-strong);font-size:.8rem;line-height:1.5}.story-picture-complete{border-top:1px solid var(--studio-line);justify-content:space-between;align-items:center;gap:1.5rem;margin-top:1.5rem;padding-top:1.25rem;display:flex}.story-picture-complete p{color:var(--muted-strong);margin-top:.35rem;font-size:.88rem;line-height:1.5}.story-picture-complete .action-button{flex-shrink:0}.story-picture-new-look{border-top:1px solid var(--studio-line);margin-top:1.25rem}.story-picture-new-look summary{cursor:pointer;min-height:44px;padding-block:.75rem;font-size:.9rem;font-weight:600}.story-picture-new-look p{max-width:38rem;color:var(--muted-strong);margin:.25rem 0 .75rem;font-size:.88rem;line-height:1.5}.story-picture-manager .story-pictures-service-note{color:var(--muted-strong);margin-top:1.25rem;font-size:.8rem;line-height:1.5}.story-picture-manager :is(button,textarea,summary):focus-visible{outline:3px solid var(--studio-gold);outline-offset:3px}.story-picture-thumbnail:hover{border-color:var(--accent)}.story-picture-thumbnail:active{background:var(--accent-soft)}@media (width<=650px){.story-picture-manager{padding:1rem}.story-pictures-heading{flex-direction:column;gap:.4rem}.story-pictures-heading h2{font-size:1.4rem}.story-pictures-count{padding-top:0}.story-picture-editor{grid-template-columns:minmax(0,1fr);gap:1.4rem}.story-picture-artwork{height:260px}.story-picture-artwork img{max-height:260px}.story-picture-complete{flex-direction:column;align-items:flex-start;gap:.8rem}.story-picture-complete .action-button,.story-picture-change .action-button{width:100%}}.story-reading-settings{gap:.85rem;min-width:0}.story-settings-preview{background:var(--studio-white);border:1px solid var(--studio-line);border-radius:9px;min-width:0;padding:1rem}.story-settings-preview-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.3rem 1rem;margin-bottom:.65rem;display:flex}.story-settings-preview h3{color:var(--ink);margin:0;font-size:.95rem}.story-settings-preview-heading>span{color:var(--muted-strong);font-size:.75rem}.story-settings-preview>p{color:var(--muted-strong);margin:.65rem 0 0;font-size:.85rem;line-height:1.5}.story-settings-preview .story-settings-example-note{font-size:.75rem}.story-settings-sounds{font:700 2rem/1.5 var(--reader-font-family);align-items:baseline;padding-top:.7rem;display:flex}.story-settings-sounds>span{border-radius:4px;padding:0 .12rem}.story-settings-sounds>span[data-active=true]{background:var(--accent-soft);box-shadow:inset 0 -3px var(--accent)}.story-settings-sounds .story-settings-word-start{margin-left:.5rem}.story-settings-demo-rail{width:min(100%,15rem);min-height:44px;accent-color:var(--accent);touch-action:pan-y;margin:0;display:block}.story-settings-demo-taps{flex-wrap:wrap;gap:.35rem;margin-top:.7rem;display:flex}.story-settings-demo-taps button{min-height:44px;color:var(--ink);font:700 1.55rem/1.5 var(--reader-font-family);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;padding:.2rem .5rem}.story-settings-demo-taps button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.story-settings-preview .story-reading-settings-field{justify-content:space-between;gap:.5rem;font-size:.85rem}.story-settings-preview .story-settings-spelling-sentence{color:var(--ink);font:700 1.25rem/1.9 var(--reader-font-family);overflow-wrap:anywhere;margin-block:1rem .65rem}.story-settings-spelling-word[data-selected=true]{background:var(--accent-soft);box-shadow:inset 0 -2px var(--accent);border-radius:3px;padding:.1rem .12rem}.story-settings-sentence-practice p{color:var(--muted-strong);margin:.25rem 0 0;font-size:.8rem;line-height:1.5}.story-settings-sentence-practice label{min-height:44px}.story-settings-preview :is(button,input):focus-visible{outline:3px solid var(--studio-gold);outline-offset:3px}.story-settings-dialog[open]{flex-direction:column;gap:.5rem;max-height:88dvh;display:flex;overflow:hidden}.story-settings-dialog-content{overscroll-behavior:contain;min-height:0;overflow-y:auto}.story-settings-dialog>h2,.story-settings-dialog>.story-settings-close{flex:none}body:has(.story-settings-dialog[open]){overflow:hidden}@media (width<=600px){.story-reading-settings-field{justify-content:space-between}.story-settings-preview{padding:.8rem}}@media (width<=900px) and (height<=500px) and (orientation:landscape){:is(html:has(.story-encoding-overlay),body:has(.story-encoding-overlay)){overscroll-behavior:none;overflow:hidden}.story-stage--reader-focus .story-page:has(.story-encoding-panel){grid-template-columns:minmax(0,1fr) min(40%,100svh - 9rem)}.story-stage--reader-focus .story-reading-pane .story-encoding-panel,.story-stage--reader-focus .story-encoding-panel .story-encoding-sentences{gap:8px}.story-stage--reader-focus .story-encoding-panel .story-encoding-sentence{align-items:center;gap:6px 10px}.story-stage--reader-focus .story-encoding-panel .story-encoding-word{grid-auto-flow:column;align-items:center;gap:4px;min-width:44px;min-height:44px;padding:0 0 0 .5rem}.story-stage--reader-focus .story-encoding-panel .story-encoding-word-audio{width:44px;height:44px}.story-stage--reader-focus .story-encoding-panel .story-encoding-word--complete{min-width:0;padding-inline:.45rem}.story-stage--reader-focus .story-encoding-panel .story-encoding-word-content{min-height:0}.story-stage--reader-focus .story-encoding-panel .story-word-slots--compact{gap:4px}.story-stage--reader-focus .story-encoding-panel .story-word-slots--compact .story-word-slot{width:16px;height:28px}.story-stage--reader-focus .story-encoding-panel .story-encoding-readable-word,.story-stage--reader-focus .story-encoding-panel .story-completed-word,.story-stage--reader-focus .story-encoding-panel .story-encoding-punctuation{font-size:1.8rem}.story-stage--reader-focus .story-encoding-panel .story-audio-note{max-width:none;font-size:.85rem;line-height:1.35}.story-encoding-overlay,.story-stage--reader-focus .story-encoding-overlay{z-index:1000;touch-action:none;padding:0;position:fixed;inset:0}.story-encoding-overlay .story-encoding-overlay-card{width:100%;height:100dvh;max-height:none;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;border:0;border-radius:0;grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-columns:minmax(0,1fr) 380px;align-content:stretch;gap:8px 16px;overflow:hidden}.story-encoding-overlay .story-encoding-overlay-header{grid-column:1/-1;align-items:center}.story-encoding-overlay .story-encoding-overlay-copy{gap:0}.story-encoding-overlay .story-encoding-overlay-meta{grid-area:2/1;align-content:center;gap:8px;min-width:0}.story-encoding-overlay .story-spelling-slots{gap:4px}.story-encoding-overlay .story-spelling-slot{flex:0 0 44px;width:44px;height:48px;font-size:1.8rem}.story-encoding-overlay .story-spelling-status{text-align:center;min-height:44px}.story-encoding-overlay .story-encoding-overlay-actions{flex-wrap:nowrap;grid-area:3/1;gap:6px}.story-encoding-overlay .action-button,.story-encoding-overlay .story-encoding-overlay-actions .action-button{min-width:44px;min-height:44px;padding:8px;font-size:.9rem}.story-encoding-overlay .story-encoding-overlay-actions .action-button{flex:1}.story-encoding-overlay .story-alphabet-board{grid-area:2/2/5;align-self:center;gap:8px;padding:4px 4px 8px}.story-encoding-overlay .story-alphabet-row{grid-template-columns:repeat(7,48px);gap:6px}.story-encoding-overlay .story-alphabet-row:last-child{grid-template-columns:repeat(5,48px)}.story-encoding-overlay .story-alphabet-tile{width:48px;min-width:48px;height:48px;min-height:48px;font-size:1.8rem}.story-encoding-overlay .story-audio-note,.story-encoding-overlay .story-audio-error{grid-area:4/1;margin:0;font-size:.85rem;line-height:1.35}}@media (width<=720px) and (orientation:portrait){.story-stage--reader-focus .story-reading-pane:has(.story-encoding-panel){padding:8px}.story-stage--reader-focus .story-reading-pane .story-encoding-panel,.story-stage--reader-focus .story-encoding-panel .story-encoding-sentences{gap:8px}.story-stage--reader-focus .story-encoding-panel .story-encoding-sentence{align-items:center;gap:6px 10px}.story-stage--reader-focus .story-encoding-panel .story-encoding-word{grid-auto-flow:column;align-items:center;gap:4px;min-width:44px;min-height:44px;padding:0 0 0 .5rem}.story-stage--reader-focus .story-encoding-panel .story-encoding-word-audio{width:44px;height:44px}.story-stage--reader-focus .story-encoding-panel .story-encoding-word--complete{min-width:0;padding-inline:.45rem}.story-stage--reader-focus .story-encoding-panel .story-encoding-word-content{min-height:0}.story-stage--reader-focus .story-encoding-panel .story-word-slots--compact{gap:3px}.story-stage--reader-focus .story-encoding-panel .story-word-slots--compact .story-word-slot{width:16px;height:28px}.story-stage--reader-focus .story-encoding-panel .story-encoding-readable-word,.story-stage--reader-focus .story-encoding-panel .story-completed-word,.story-stage--reader-focus .story-encoding-panel .story-encoding-punctuation{font-size:1.8rem}}.story-library-backup{border-top:1px solid var(--studio-line);flex-basis:100%;grid-column:1/-1;min-width:0;margin-top:.5rem;padding-top:1rem}.story-library-backup h3{color:var(--ink);margin:0;font-size:1rem}.story-library-backup p,.story-book-link p{color:var(--muted-strong);overflow-wrap:anywhere;margin:.6rem 0;font-size:.85rem;line-height:1.5}.story-library-backup-actions{gap:.5rem;margin-block:.8rem;display:grid}.story-library-backup .action-button{white-space:normal;width:100%;min-height:44px}.story-library-backup .story-library-backup-help{font-size:.8rem}.story-library-backup .story-library-backup-feedback{color:var(--ink);border-left:3px solid var(--studio-gold);background:var(--studio-paper);padding:.6rem}.story-book-link .action-button{min-height:44px;margin-block:.25rem}.studio-library-tools[open] .story-library-header-actions{overscroll-behavior:contain;max-height:min(34rem,70dvh);overflow-y:auto}.story-interests{margin-top:1rem}.story-interests h3{margin:0 0 .4rem}.story-interests p{color:var(--studio-muted,#5a685e);line-height:1.5}.story-interest-choices{flex-wrap:wrap;gap:.5rem;display:flex}.story-interest-choices button{color:#294d3b;min-height:44px;font:inherit;background:#fffdf8;border:1px solid #b9c6ba;border-radius:999px;padding:.5rem .9rem}.story-interest-choices button[aria-pressed=true]{background:#e1eddd;border-color:#365e45;box-shadow:inset 0 0 0 1px #365e45}.story-interest-choices button:disabled{opacity:.55}.story-interest-choices button:active{transform:translateY(1px)}.story-interest-custom{align-items:end;gap:.6rem;margin-top:1rem;display:flex}.story-interest-custom .story-field{flex:1;min-width:0}.story-interest-custom .action-button{flex-shrink:0;min-height:44px}.story-interest-note,.story-interest-count{font-size:.85rem}@media (width<=480px){.story-interest-custom{flex-wrap:wrap}.story-interest-custom .story-field{flex-basis:100%}}.story-kind-choices{gap:1rem;margin-top:1rem;display:grid}.story-kind-fieldset{border:none;gap:.55rem;min-width:0;margin:0;padding:0;display:grid}.story-kind-fieldset>legend{margin-bottom:.45rem;padding:0;font-weight:700}.story-kind-fieldset>small,.story-kind-subtypes>small{color:var(--muted-strong);font-size:.82rem}.story-kind-options{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.5rem;display:grid}.story-kind-option{cursor:pointer;background:#fffc;border:1px solid #193d3824;border-radius:.85rem;align-items:center;gap:.7rem;min-height:44px;padding:.65rem .8rem;display:flex}.story-kind-option:has(input:checked){background:#f3f8f1;border-color:#365e45;box-shadow:0 0 0 3px #365e4529}.story-kind-option input{flex:none}.story-kind-option--auto{grid-column:1/-1}.story-kind-option>span{gap:.1rem;min-width:0;display:grid}.story-kind-option>span>span{color:var(--muted-strong);font-size:.8rem}.story-kind-subtypes{border-left:3px solid #cfdccc;grid-column:1/-1;gap:.5rem;margin-left:.9rem;padding:.4rem 0 .4rem .9rem;display:grid}@media (width>=641px){.story-kind-subtypes{order:1}}.story-kind-subtypes>p{margin:0;font-weight:600}.story-kind-subtypes>p>span{color:var(--muted-strong);font-size:.85rem;font-weight:400}@media (width<=480px){.story-kind-subtypes{margin-left:.3rem;padding-left:.7rem}}.art-style-picker{gap:.6rem;margin-top:.75rem;display:grid}.art-style-auto-options{border:none;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.5rem;margin:0;padding:0;display:grid}.art-style-auto-option{cursor:pointer;background:#fffc;border:1px solid #193d3824;border-radius:.85rem;align-items:center;gap:.75rem;min-height:44px;padding:.75rem .8rem;display:flex}.art-style-auto-option:has(input:checked){border-color:#5643adc7;box-shadow:0 0 0 3px #8069e02e}.art-style-auto-option input{flex:none}.art-style-auto-option>span{gap:.15rem;display:grid}.art-style-auto-option>span>span{color:var(--muted-strong);font-size:.82rem}.story-art-style-picker .art-style-mode>legend{color:var(--ink);text-transform:none;font-size:.95rem;font-weight:800}.story-art-style-picker .art-style-branch{border-left:3px solid #8069e04d;gap:.6rem;margin:.1rem 0 0 .9rem;padding:.2rem 0 .2rem .9rem;display:grid}.story-art-style-picker .art-style-branch>legend{float:left;width:100%;color:var(--muted-strong);text-transform:none;grid-column:1/-1;margin-bottom:.1rem;font-size:.85rem;font-weight:700}@media (width<=480px){.story-art-style-picker .art-style-branch{margin-left:.3rem;padding-left:.7rem}}.art-style-picker-note{max-width:60ch;color:var(--muted-strong);margin:0;font-size:.85rem}.story-art-style-picker .art-style-category>summary{min-height:44px}.story-art-style-picker .art-style-category>summary:after{content:"+";color:var(--muted-strong);margin-left:auto;font-size:1.1rem;line-height:1}.story-art-style-picker .art-style-category[open]>summary:after{content:"−"}.art-style-category-count{color:var(--muted-strong);font-size:.8rem;font-weight:600}.art-style-category[open]>.story-art-style-options{margin-top:.6rem}.art-style-picker .story-art-style-option label{grid-template-rows:auto 1fr}.art-style-picker .story-art-style-image-wrap{aspect-ratio:3/2}.art-style-picker .story-art-style-image-wrap img{aspect-ratio:3/2;object-fit:contain}.art-style-picker .story-art-preview-panel{overflow-y:auto}.art-style-picker .story-art-preview-panel img{max-height:55svh}.art-style-picker .story-art-preview-copy button{cursor:pointer;min-height:44px}.art-style-example{margin-top:.75rem}.story-art-style-picker .art-style-example>summary{background:0 0;border:none;padding:.7rem 0;display:list-item}.adult-help{max-width:44rem;color:var(--text-muted,#52645b);margin:1rem auto;padding:0 1rem;line-height:1.55}.adult-help summary{cursor:pointer;color:#193d38;align-items:center;min-height:44px;font-weight:600;display:flex}.adult-help p{margin:.65rem 0}.adult-help .action-button{min-height:44px}.family-diagnostic{border-top:1px solid var(--studio-line);margin-top:1rem;padding-top:.5rem}.family-diagnostic label{color:var(--ink);gap:.4rem;margin:.7rem 0;font-weight:600;display:grid}.family-diagnostic :is(select,textarea){border:1px solid var(--studio-line);background:var(--studio-white);width:100%;max-width:100%;min-height:44px;color:var(--ink);font:inherit;border-radius:.5rem;padding:.65rem;font-weight:400}.family-diagnostic textarea{resize:vertical;-webkit-user-select:text;user-select:text;font-size:.8rem;line-height:1.5}.family-diagnostic select{appearance:none;background:var(--studio-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23193d38' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .85rem center / .75rem;padding-right:2.4rem}.adult-help{border:1px solid var(--studio-line,#d7e0d7);background:var(--studio-white,#fffefa);text-align:left;border-radius:1rem;padding:0;overflow:hidden}.adult-help>summary{gap:.75rem;padding:.9rem 1.1rem;list-style:none}.adult-help>summary::-webkit-details-marker{display:none}.help-small-details>summary::-webkit-details-marker{display:none}.adult-help>summary:before{content:"?";background:#e7eee5;border-radius:50%;flex-shrink:0;place-items:center;width:1.7rem;height:1.7rem;font-size:.85rem;display:grid}.installation-help>summary:before{content:"+"}.adult-help>summary:after,.help-small-details>summary:after{content:"";border-bottom:2px solid;border-right:2px solid;flex-shrink:0;width:.45rem;height:.45rem;margin-left:auto;transform:rotate(45deg)}.adult-help[open]>summary:after,.help-small-details[open]>summary:after{transform:rotate(225deg)}.adult-help[open]>summary{border-bottom:1px solid var(--studio-line,#d7e0d7)}.adult-help-body{padding:.7rem 1.1rem 1rem}.adult-help .help-intro{color:#52645b;margin:.3rem 0 1rem;font-size:.95rem}.adult-help .help-caption{color:#52645b;margin:.35rem 0 .8rem;font-size:.8rem}.adult-help :is(button,summary,a):focus-visible{outline-offset:-3px;outline:3px solid #a17520}.help-text-button{color:#286d59;font:inherit;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;min-height:44px;padding:.5rem .6rem;font-size:.8rem;text-decoration:underline}.help-small-details{border-top:1px solid var(--studio-line,#d7e0d7);margin-top:.65rem}.help-small-details>summary{gap:.7rem;font-size:.85rem;list-style:none}.help-small-details :is(p,ul){font-size:.85rem}.help-small-details ul{padding-left:1.2rem}.help-small-details li+li{margin-top:.6rem}.help-topics{border-top:1px solid var(--studio-line,#d7e0d7)}.help-topic{border-bottom:1px solid var(--studio-line,#d7e0d7)}.help-topic-trigger{text-align:left;color:#193d38;width:100%;min-height:64px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.3rem;align-items:center;gap:.8rem;padding:.8rem 0;display:flex}.help-topic-trigger:hover{background:#f2f5ed}.help-topic-trigger strong{font-size:.9rem;font-weight:600}.help-topic-hint{color:#52645b;font-size:.75rem;font-weight:400;display:block}.help-topic-icon{background:#e7eee5;border-radius:.7rem;flex-shrink:0;place-items:center;width:2.4rem;height:2.4rem;display:grid}.help-topic-icon svg{width:1.25rem;height:1.25rem}.help-chevron{border-bottom:2px solid;border-right:2px solid;flex-shrink:0;width:.4rem;height:.4rem;margin:0 .3rem 0 auto;transform:rotate(45deg)}.help-topic-trigger[aria-expanded=true] .help-chevron{transform:rotate(225deg)}.help-topic-answer{padding:0 .4rem .8rem 3.2rem;font-size:.85rem}.help-topic-answer ol{margin:.3rem 0;padding-left:1.1rem}.help-topic-answer li+li{margin-top:.4rem}.family-diagnostic{border-top:0;margin-top:.5rem}.family-diagnostic>summary{gap:.5rem;font-size:.85rem}.family-diagnostic>summary:before{content:"↗"}.family-diagnostic p,.family-diagnostic label{font-size:.85rem}.install-platforms{background:#eeeae0;border-radius:.65rem;gap:.3rem;margin:.9rem 0;padding:.25rem;display:flex}.install-platforms button{color:#52645b;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.45rem;flex:1;padding:.4rem;font-size:.8rem}.install-platforms button[aria-pressed=true]{color:#193d38;background:#fffefa;font-weight:600;box-shadow:0 1px 4px #193d3815}.install-tour{grid-template-columns:1fr 1fr;align-items:center;gap:1.25rem;display:grid}.install-illustration{color:#193d38;background:#edf1e8;border-radius:.8rem;padding:1rem .5rem .6rem;overflow:hidden}.install-demo-phone{background:#fffefa;border:3px solid #52645b;border-radius:18px;width:180px;height:214px;margin:auto;font-size:10px;position:relative;overflow:hidden;box-shadow:0 4px 12px #193d3810}.install-demo-address{background:#e7eee5;justify-content:space-between;padding:8px 10px;font-weight:600;display:flex}.install-demo-book{justify-items:center;gap:4px;padding:19px 8px;display:grid}.install-demo-book img{border-radius:12px;width:78px}.install-demo-toolbar{background:#e7eee5;justify-content:space-around;align-items:center;width:100%;height:38px;font-size:23px;display:flex;position:absolute;bottom:0}.install-demo-target{color:#193d38;background:#e8bf5c;border-radius:5px;padding:2px 7px}.install-demo-target svg{width:21px;height:21px;display:block}.install-demo-sheet{background:#f8f6ee;border-radius:14px 14px 0 0;width:100%;padding:9px 8px 16px;position:absolute;bottom:0;box-shadow:0 -6px 20px #193d3810}.install-demo-handle{background:#b7c7ba;border-radius:4px;width:30px;height:3px;margin:0 auto 9px}.install-demo-sheet>span{text-align:center;margin-bottom:8px;font-weight:600;display:block}.install-demo-muted{color:#52645b;padding:9px}.install-demo-menu{align-items:center;gap:4px;padding:10px 5px;font-size:10px;font-weight:600;display:flex}.install-demo-confirm{justify-items:center;gap:7px;padding:5px 10px;display:grid}.install-demo-confirm img{border-radius:12px;width:62px}.install-demo-add{background:#e8bf5c;border-radius:6px;place-self:end;padding:3px 10px;font-weight:700}.install-demo-toggle{justify-content:space-between;align-items:center;gap:8px;width:100%;padding:6px 0;display:flex}.install-demo-toggle span{color:#fff;background:#286d59;border-radius:12px;padding:2px 9px}.help-eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#52645b;font-size:.65rem;font-weight:700}.install-step-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem;display:flex}.install-step-content h3{color:#193d38;margin:.6rem 0;font-size:1.15rem;line-height:1.25}.install-step-content p{min-height:4.5rem;font-size:.85rem}.install-step-picker{gap:.5rem;margin:.7rem 0;display:flex}.install-step-picker button{color:#193d38;width:44px;height:44px;font:inherit;cursor:pointer;background:#fffefa;border:1px solid #b7c7ba;border-radius:50%;font-size:.85rem}.install-step-picker button[aria-pressed=true]{color:#fff;background:#286d59;border-color:#286d59}.install-native-action{width:100%;margin:.5rem 0}.install-dismiss{margin:.65rem auto 0;display:block}.is-playing .install-demo-phone{animation:.5s ease-out install-stage-in}.is-playing .install-demo-target,.is-playing .install-demo-add{animation:1.3s ease-in-out 2 install-target-pulse}@keyframes install-stage-in{0%{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes install-target-pulse{50%{box-shadow:0 0 0 5px #e8bf5c55}}@media (width<=560px){.adult-help-body{padding:.65rem .9rem 1rem}.install-tour{grid-template-columns:1fr;gap:.6rem}.install-illustration{padding-top:.7rem}.install-demo-phone{height:180px}.install-demo-book{padding:9px}.install-demo-book img{width:66px}.install-step-content h3{margin:.25rem 0}.install-step-content p{min-height:0}.install-step-heading .help-text-button{padding-right:0}.help-topic-answer{padding-left:.3rem}}@media (prefers-reduced-motion:reduce){.install-illustration *{animation:none!important}}.app-help-footer{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));align-items:start;gap:.75rem;width:min(44rem,100% - 2rem);margin:1.75rem auto .9rem;display:grid}.app-help-footer>.adult-help{max-width:none;margin:0}:is(body:has(.story-builder-shell:not([data-view=library])) .app-help-footer>details.adult-help,body:has(.book-details:not([hidden] *)) .app-help-footer>details.adult-help,body:has(.catalog-review:not([hidden] *)) .app-help-footer>details.adult-help){display:none}:is(body:has(.story-builder-shell:not([data-view=library])) .app-help-footer,body:has(.book-details:not([hidden] *)) .app-help-footer,body:has(.catalog-review:not([hidden] *)) .app-help-footer){margin:0}.app-help-footer>.adult-help[open]{grid-column:1/-1}.tablet-nudge{border:1px solid var(--studio-line,#d7e0d7);background:var(--studio-white,#fffefa);width:min(100% - 2rem,44rem);color:var(--text-muted,#52645b);text-align:left;border-radius:1rem;gap:.5rem;margin:.75rem auto;padding:.9rem 1.1rem;line-height:1.5;display:grid}.tablet-nudge p{margin:0}.tablet-nudge strong{color:#193d38}.tablet-nudge-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.tablet-nudge .action-button{min-height:44px}.first-reading-setup .tablet-nudge{width:100%}.adult-help-dialog{box-sizing:border-box;border:1px solid var(--studio-line,#d7e0d7);background:var(--studio-white,#fffefa);width:min(44rem,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--ink);border-radius:1rem;padding:0}.adult-help-dialog[open]{flex-direction:column;display:flex;overflow:hidden}.adult-help-dialog::backdrop{background:#14282473}.adult-help-dialog-header{border-bottom:1px solid var(--studio-line,#d7e0d7);flex:none;justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem .75rem .6rem 1.1rem;display:flex}.adult-help-dialog-header h2{color:#193d38;margin:0;font-size:1.1rem}.adult-help-dialog-header .action-button{min-height:44px}.adult-help-dialog-content{overscroll-behavior:contain;min-height:0;padding:.2rem 1.1rem 1rem;overflow-y:auto}.adult-help-dialog .adult-help{background:0 0;border:0;border-radius:0;max-width:none;margin:0;overflow:visible}body:has(.adult-help-dialog[open]){overflow:hidden}@media (width<=560px){.adult-help-dialog{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}.adult-help-dialog-content{padding:.2rem .9rem 1rem}}.help-tour-again{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.show-me-around{background:0 0;border:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.show-me-around::backdrop{background:0 0}.show-me-around:focus{outline:none}.show-me-around-hole{pointer-events:none;border-radius:.9rem;outline:3px solid #fffefa;transition:top .2s,left .2s,width .2s,height .2s;position:fixed;box-shadow:0 0 0 200vmax #1428248c}.show-me-around-hole--dim{box-shadow:none;background:#1428248c;border-radius:0;outline:0;inset:0}.show-me-around-bubble{box-sizing:border-box;background:var(--studio-white,#fffefa);color:var(--muted,#586b63);text-align:left;border-radius:1rem;padding:1rem 1.1rem;line-height:1.45;position:fixed;box-shadow:0 10px 30px #00000040}.show-me-around-arrow{background:inherit;width:18px;height:18px;margin-left:-9px;position:absolute;transform:rotate(45deg)}.show-me-around-bubble--below .show-me-around-arrow{top:-9px}.show-me-around-bubble--above .show-me-around-arrow{bottom:-9px}.show-me-around-bubble--right .show-me-around-arrow,.show-me-around-bubble--left .show-me-around-arrow{margin:-9px 0 0}.show-me-around-bubble--right .show-me-around-arrow{left:-9px}.show-me-around-bubble--left .show-me-around-arrow{right:-9px}.show-me-around-step{color:var(--accent,#216a57);margin:0 0 .2rem;font-size:.82rem;font-weight:700}.show-me-around-bubble h2{color:var(--ink,#193d38);letter-spacing:0;margin:0 0 .35rem;font-size:1.1rem}.show-me-around-body p{margin:0 0 .5rem}.show-me-around-body strong{color:var(--ink,#193d38)}.show-me-around-note{background:var(--accent-soft,#e6eee4);color:var(--ink,#193d38);-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:.4rem;padding:.05rem .4rem;font-size:.92em;font-weight:600;display:inline}.show-me-around-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-top:.6rem;display:flex}.show-me-around-nav{gap:.5rem;margin-left:auto;display:flex}.show-me-around-actions .action-button{min-width:5.5rem;min-height:44px}.show-me-around-skip{min-height:44px;color:var(--accent,#216a57);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0 .2rem;font-weight:600;text-decoration:underline}.show-me-around-skip:focus-visible,.show-me-around-actions .action-button:focus-visible{outline:3px solid var(--accent,#216a57);outline-offset:2px}@media (height<=480px){.show-me-around-bubble{padding:.7rem .9rem;font-size:.9rem;line-height:1.35}.show-me-around-bubble h2{margin-bottom:.2rem;font-size:1rem}.show-me-around-body p{margin-bottom:.35rem}.show-me-around-actions{margin-top:.3rem}}@media (prefers-reduced-motion:reduce){.show-me-around-hole{transition:none}}.catalog-library{max-width:70rem;margin:0 auto 1.5rem;scroll-margin-top:1rem}.catalog-shelf{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;display:grid}.catalog-cover{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:#fffefa;border:1px solid #193d381a;border-radius:1rem;flex-direction:column;gap:.3rem;padding:.6rem .6rem .8rem;display:flex;position:relative;box-shadow:0 1px 2px #193d380f}.catalog-cover:hover:not(:disabled){border-color:var(--accent)}.catalog-cover:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.catalog-cover img{aspect-ratio:1;object-fit:cover;border-radius:.6rem;width:100%;height:auto;margin-bottom:.2rem}.catalog-cover strong{font-size:1.02rem;line-height:1.25}.catalog-cover span{color:var(--muted-strong);font-size:.84rem}.catalog-cover .catalog-fit-note{color:var(--ink)}.catalog-cover:disabled{opacity:.65;cursor:default}@media (width<=400px){.catalog-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}}.catalog-no-fit{border:2px solid var(--accent);background:#fffefa;border-radius:1rem;justify-items:start;gap:.6rem;margin-top:1rem;padding:1rem 1.1rem;display:grid}.catalog-no-fit h3,.catalog-no-fit p{margin:0}.catalog-no-fit .catalog-no-fit-note{color:var(--muted-strong);font-size:.9rem}.catalog-fit-section{margin-top:1.25rem}.catalog-fit-section h3{margin-bottom:.2rem}.catalog-fit-count{opacity:.7;font-size:.85rem;font-weight:600}.catalog-fit-note{font-weight:600}.catalog-jump{white-space:nowrap;align-items:center;gap:.6rem;margin:.25rem 0 .5rem;font-weight:700;display:flex}.catalog-jump select{width:100%;min-width:0;max-width:26rem;min-height:44px;color:var(--ink);font:inherit;background:#fffefa;border:1px solid #193d3833;border-radius:.6rem;flex:auto;padding:.45rem .7rem;font-weight:600}.catalog-current{color:var(--muted-strong);margin:0 0 .5rem}.catalog-current strong{color:var(--ink)}.catalog-link{min-height:44px;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 .4rem;font-weight:700;text-decoration:underline}.catalog-stages-browse>summary{cursor:pointer;list-style-position:inside}.catalog-stages-browse>summary .catalog-stages-heading{display:inline}.catalog-stages-browse{border-top:1px solid #193d3824;margin-top:2rem;padding-top:1rem}.catalog-stages-browse .catalog-stages-heading{border:0;margin:0;padding:0}.catalog-stages-browse[open]>summary{margin-bottom:.75rem}.catalog-stages-heading{border-top:1px solid #193d3824;margin:2rem 0 0;padding-top:1rem;font-size:1.2rem}.catalog-stage{margin-top:1.5rem;scroll-margin-top:1rem}.catalog-stage h3{align-items:center;gap:.5rem;margin:0 0 .15rem;display:flex}.catalog-stage-number{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:1.7rem;height:1.7rem;font-size:.85rem;display:inline-grid}.catalog-stage>p{color:var(--muted-strong);margin:0 0 .7rem}.catalog-cover{scroll-margin-top:1rem}.catalog-cover .catalog-cover-lesson{color:var(--accent);font-weight:700}.catalog-library>.action-button,.catalog-fit-section>.action-button{margin-top:1rem}.catalog-filters{gap:.55rem;margin:.5rem 0 .75rem;display:grid}.catalog-filters-row{align-items:center;gap:.5rem;display:flex}.catalog-filter-search{min-width:0;max-width:26rem;min-height:44px;color:var(--ink);font:inherit;background:#fffefa;border:1px solid #193d3833;border-radius:.6rem;flex:10rem;padding:.45rem .75rem}.catalog-filter-toggle{min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:#fffefa;border:1px solid #193d3838;border-radius:.6rem;align-items:center;gap:.45rem;padding:.4rem .95rem;font-weight:700;display:inline-flex}.catalog-filter-toggle[aria-expanded=true]{border-color:var(--accent)}.catalog-filter-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.catalog-filter-count{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:1.4rem;height:1.4rem;padding:0 .3rem;font-size:.8rem;display:inline-grid}.catalog-filter-active{flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.catalog-filter-chip--active{border-color:var(--accent);background:var(--accent-soft)}.catalog-filter-panel{background:#fffefa;border:1px solid #193d3824;border-radius:.8rem;gap:.6rem;max-width:34rem;padding:.75rem;display:grid}.catalog-filter-group{border:0;gap:0;min-width:0;margin:0;padding:0;display:grid}.catalog-filter-group legend,.catalog-filter-order>span{letter-spacing:.04em;text-transform:uppercase;color:var(--muted-strong);margin-bottom:.3rem;padding:0;font-size:.8rem;font-weight:700}.catalog-filter-hint{letter-spacing:0;text-transform:none;color:var(--muted-strong);font-size:.8rem;font-weight:600}.catalog-segmented{border:1px solid #193d3838;border-radius:.6rem;max-width:30rem;display:flex;overflow:hidden}.catalog-segment{flex:auto;display:grid;position:relative}.catalog-segment+.catalog-segment{border-left:1px solid #193d3838}.catalog-segment input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.catalog-segment span{white-space:nowrap;text-align:center;place-items:center;min-height:40px;padding:0 .45rem;font-size:.9rem;font-weight:600;display:grid}.catalog-segment input:checked+span{background:var(--accent);color:#fff}.catalog-segment input:focus-visible+span{outline:3px solid var(--accent);outline-offset:-3px}.catalog-filter-check{cursor:pointer;align-items:center;gap:.6rem;min-height:40px;display:flex}.catalog-filter-check input{width:22px;height:22px;accent-color:var(--accent);flex:none;margin:0}.catalog-filter-panel-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem .75rem;display:flex}.catalog-filter-order{align-items:center;gap:.6rem;font-weight:700;display:flex}.catalog-filter-order>span{margin-bottom:0}.catalog-filter-order select{min-height:44px;color:var(--ink);font:inherit;background:#fffefa;border:1px solid #193d3833;border-radius:.6rem;padding:.45rem .7rem;font-weight:600}.catalog-filter-chips{flex-wrap:wrap;gap:.4rem;display:flex}.catalog-filter-chip{min-height:40px;color:var(--ink);font:inherit;cursor:pointer;background:#fffefa;border:1px solid #193d3838;border-radius:999px;padding:.3rem .8rem;font-size:.9rem;font-weight:600}.catalog-filter-chip[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:#fff}.catalog-filter-chip:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.catalog-results-count{color:var(--muted-strong);flex-wrap:wrap;align-items:center;gap:.25rem;margin:0;font-weight:600;display:flex}.catalog-results>.catalog-fit-section:first-of-type{margin-top:.5rem}.catalog-cover .catalog-read-label{color:var(--accent);font-weight:700}.catalog-cover .catalog-read-label--started{color:var(--muted-strong);font-weight:600}.catalog-reader{z-index:30;padding:max(.5rem, env(safe-area-inset-top)) max(.5rem, env(safe-area-inset-right)) max(.5rem, env(safe-area-inset-bottom)) max(.5rem, env(safe-area-inset-left));background:#f8f6ef;grid-template-rows:minmax(0,1fr);display:grid;position:fixed;inset:0;overflow:hidden}.catalog-details-cover-full{opacity:0}.catalog-details-cover-full--loaded{opacity:1;transition:opacity .3s}.catalog-details-cover--loading:after{content:"";background:linear-gradient(100deg,#0000 30%,#fffefaa6 50%,#0000 70%);animation:1.4s ease-in-out .15s infinite catalog-cover-shimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes catalog-cover-shimmer{to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.catalog-details-cover--loading:after{opacity:.5;animation:none;transform:none}.catalog-details-cover-full--loaded{transition:none}}.book-details-summary .catalog-fit-note{color:var(--accent);margin:.4rem 0 0}.catalog-word-preview{border:2px solid var(--accent);background:#fffefa;border-radius:1rem;margin-top:.9rem;padding:.85rem 1rem}.catalog-word-preview h3{margin:0;font-size:1.05rem}.catalog-word-preview p{color:var(--muted-strong);margin:.2rem 0 0}.catalog-word-preview ul{flex-wrap:wrap;gap:.6rem;margin:.7rem 0 0;padding:0;list-style:none;display:flex}.catalog-word-card{background:#fff;border:1.5px solid #cdd8d2;border-radius:.8rem;flex-direction:column;min-width:7.5rem;display:flex;overflow:hidden}.catalog-word-card--known{border-color:var(--accent)}.catalog-word-preview-word{font-family:var(--learner-font);text-align:center;padding:.45rem 1rem .5rem;font-size:2rem;font-weight:700;line-height:1.2}.catalog-word-check{min-height:44px;color:var(--muted-strong);font:inherit;cursor:pointer;background:#f4f7f5;border:0;border-top:1.5px solid #cdd8d2;justify-content:center;align-items:center;gap:.45rem;margin:0;padding:.3rem .75rem;font-size:.92rem;font-weight:700;display:flex}.catalog-word-check:active{background:var(--accent-soft)}.catalog-word-check:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.catalog-word-check-box{border:2px solid var(--muted-strong);background:#fff;border-radius:.3rem;place-items:center;width:1.25rem;height:1.25rem;font-size:.85rem;line-height:1;display:grid}.catalog-word-check--done{border-top-color:var(--accent);background:var(--accent);color:#fff;cursor:default}.catalog-word-check--done .catalog-word-check-box{color:var(--accent);border-color:#fff}.catalog-word-preview .catalog-word-preview-hint{margin-top:.6rem;font-size:.9rem}.catalog-review{max-width:70rem;margin:0 auto 1.5rem;scroll-margin-top:1rem}.book-saved-mark.catalog-saved-mark--cover{position:absolute;top:1.1rem;right:1.1rem;box-shadow:0 1px 3px #00000040}.book-details{width:100%;max-width:70rem;margin:0 auto 1.5rem;scroll-margin-top:1rem}.book-back{min-height:44px;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.6rem;align-items:center;gap:.35rem;margin:0 0 .5rem -.4rem;padding:.4rem .6rem;font-weight:700;display:inline-flex}.book-back span{font-size:1.5rem;line-height:1}.book-back:hover{background:var(--accent-soft)}.book-back:disabled{opacity:.55;cursor:default}.book-details-hero{gap:1rem;display:grid}.book-details-cover{aspect-ratio:4/3;background:#ece8dc;border-radius:1rem;width:100%;max-height:38vh;position:relative;overflow:hidden}.book-details-cover img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.book-details-title{align-items:center;gap:.5rem;display:flex}.book-details-title h2{overflow-wrap:anywhere;margin:0;font-size:1.75rem;line-height:1.15}.book-details-meta{color:var(--muted-strong);margin:.3rem 0 0;font-weight:600}.book-details-chip{color:var(--muted-strong);background:#e6f0ec;border-radius:999px;margin:.55rem 0 0;padding:.15rem .6rem;font-size:.82rem;font-weight:700;display:inline-block}.book-details-teaser{margin:.45rem 0 0;font-size:1.05rem;line-height:1.45}.book-details-state{color:var(--accent);margin:0 0 .25rem;font-size:.85rem;font-weight:750}.book-details-state--attention{color:#8a4f22}.book-details-state--progress{color:#574a9a}.book-details-state-detail{color:var(--muted-strong);margin:.45rem 0 0;line-height:1.45}.book-details-actions{gap:.6rem;margin-top:1rem;display:grid}.book-details-actions .action-button{min-height:48px}.book-details-progress{color:var(--muted-strong);margin:.5rem 0 0;font-size:.92rem;font-weight:600}.book-details-history{color:var(--muted-strong);flex-wrap:wrap;align-items:center;gap:.1rem .4rem;margin:.5rem 0 0;font-weight:600;display:flex}.book-details-summary>.story-read-handoff-warning,.book-details-summary>.story-read-handoff-status,.book-details-summary>[role=alert]{margin:.65rem 0 0}.book-offline-status{color:var(--muted-strong);margin-top:.65rem;font-size:.9rem}.book-offline-status p{margin:0}.book-offline-status .book-offline-status-detail{margin-top:.2rem}.book-offline-status summary{cursor:pointer;padding-block:.6rem}.book-saved-mark{color:#216b59;background:#fffefa;border-radius:50%;flex:none;place-items:center;width:1.7rem;height:1.7rem;display:inline-grid}.book-saved-mark svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:1.2rem;height:1.2rem}.book-details-tools{margin-top:1.5rem}.book-details-tools>.story-book-groups>.story-print-card:last-child{margin-bottom:0}.book-details-tools>.story-book-groups>[role=status]{margin:.5rem 0 0}@media (width<=720px) and (height<=760px){.book-details-cover{max-height:28vh}}@media (width>=721px){.book-details-hero{grid-template-columns:minmax(0,22rem) minmax(0,1fr);align-items:center;gap:1.5rem}.book-details-cover{max-height:46vh}.book-details-actions{flex-wrap:wrap;display:flex}}.bookshelf-tabs:has(.book-details,.catalog-review)>.bookshelf-tab-list{display:none}.bookshelf-generation{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:12px;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:22px;margin:8px 24px 24px;padding:22px 24px;display:grid;box-shadow:0 4px 16px #193d3806}.bookshelf-generation-art{background:var(--accent);width:76px;height:92px;color:var(--studio-white);border-radius:3px 9px 9px 3px;place-items:center;display:grid;box-shadow:inset 5px 0 #193d3833,3px 4px #d5ddd2}.bookshelf-generation-art svg{width:60px;height:60px}.bookshelf-generation-art img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.bookshelf-generation-copy{min-width:0}.bookshelf-generation-copy h2{letter-spacing:-.025em;overflow-wrap:anywhere;margin:6px 0;font-size:clamp(1.15rem,2vw,1.45rem);line-height:1.25}.bookshelf-generation-copy>p{color:var(--muted-strong);margin:0;font-size:.88rem;line-height:1.5}.bookshelf-generation-copy .bookshelf-generation-label{color:var(--accent);align-items:center;gap:8px;font-size:.75rem;font-weight:650;display:flex}.bookshelf-generation-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:7px;height:7px}.bookshelf-generation:not([data-ready=true]) .bookshelf-generation-dot{animation:2.4s ease-in-out infinite bookshelf-working}.bookshelf-generation>button{white-space:nowrap;min-height:48px}.bookshelf-generation>button:focus-visible{outline:3px solid var(--studio-gold);outline-offset:3px}.bookshelf-generation[data-ready=true]{background:var(--accent-soft)}@keyframes bookshelf-working{50%{opacity:.35}}@media (width<=720px){.bookshelf-generation{grid-template-columns:60px minmax(0,1fr);gap:16px;margin:8px 0 20px;padding:18px}.bookshelf-generation-art{width:60px;height:76px}.bookshelf-generation-art svg{width:48px;height:48px}.bookshelf-generation>button{grid-column:1/-1;width:100%}}@media (prefers-reduced-motion:reduce){.bookshelf-generation:not([data-ready=true]) .bookshelf-generation-dot{animation:none}}.reading-settings{gap:10px;display:grid}.reading-settings:has(+.bookshelf-tabs){margin-bottom:18px}.reading-settings-summary{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.reading-settings-current{gap:4px;min-width:0;display:grid}.reading-settings-current>span{color:var(--muted-strong);font-size:.85rem}.reading-settings-summary>.action-button{flex-shrink:0;min-height:44px}.reading-settings-line{justify-content:space-between;align-items:center;gap:16px;min-width:0;display:flex}.reading-settings-line-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-weight:700;overflow:hidden}.reading-settings-link{min-height:44px;color:var(--ink);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;flex-shrink:0;padding:0;font-size:.92rem;font-weight:700;text-decoration:underline}.reading-settings-link:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:6px}.reading-settings--compact:has(+.bookshelf-tabs){margin-bottom:4px}.reading-settings-first-book{border:1px solid var(--studio-line);background:var(--accent-soft);border-radius:12px;padding:14px 16px}.reading-settings-first-book p{margin:0 0 10px;line-height:1.45}body:has(.catalog-heart-words:not([hidden] *)) .reading-settings-word-card{display:none}.reading-task{gap:12px;display:grid}.reading-task h3{margin:12px 0 0}.reading-task h3:first-child{margin-top:0}.reading-help{gap:10px;display:grid}.reading-help-actions{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.reading-adjust-choices{gap:10px;display:grid}.reading-adjust-path{border:1px solid var(--studio-line);background:var(--studio-white);min-height:64px;color:var(--ink);text-align:left;cursor:pointer;border-radius:12px;align-content:start;gap:4px;padding:14px 16px;display:grid}.reading-adjust-path span{color:var(--muted-strong);font-size:.9rem}.reading-adjust-path:hover,.reading-adjust-path:focus-visible{border-color:var(--ink)}.reading-adjust-back{min-height:44px;color:var(--ink);cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-weight:600}.reading-adjust-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.reading-adjust-actions--start{justify-content:flex-start}.reading-task-sticky-action{z-index:1;background:var(--studio-paper);padding-block:8px;position:sticky;bottom:0}.reading-adjust-actions button,.reading-settings-first-book button{min-height:44px}.reading-settings-first-book .reading-adjust-choices{flex-wrap:wrap;display:flex}.reading-adjust-check-groups{gap:16px;display:grid}.reading-adjust-checklist{border:0;gap:8px;margin:0;padding:0;display:grid}.reading-adjust-checklist legend{padding:0 0 8px;font-weight:600}.reading-adjust-checklist label{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:10px;align-items:center;gap:12px;min-height:44px;padding:8px 12px;display:flex}.reading-adjust-checklist input{flex-shrink:0;width:22px;height:22px}.reading-adjust-skills{gap:10px;margin:0;padding:0;list-style:none;display:grid}.reading-adjust-skill{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:12px;gap:10px;padding:14px 16px;display:grid}.reading-adjust-skill>span:first-child{gap:2px;display:grid}.reading-adjust-skill>span:first-child>span{color:var(--muted-strong);font-size:.9rem}.reading-adjust-skill-actions{flex-wrap:wrap;gap:8px;display:flex}.reading-adjust-skill-actions button{min-height:44px}.reading-check{gap:14px;display:grid}.reading-check-results{gap:10px;margin:0;padding:0;list-style:none;display:grid}.reading-check-results li{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.reading-check-results li>span{gap:2px;display:grid}.reading-check-results li>span>span{color:var(--muted-strong);font-size:.9rem}.story-school-ufli-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;display:flex}.story-school-ufli-actions button{min-height:44px}.reading-profile{gap:18px;max-width:820px;display:grid}.reading-profile:focus,.reading-profile h3:focus{outline:0}.reading-profile h3,.reading-profile h4{margin:0}.reading-profile p{color:var(--muted-strong);margin:0;line-height:1.5}.reading-profile-summary{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:12px;gap:10px;padding:16px;display:grid}.reading-profile-summary strong{color:var(--ink)}.reading-profile-issue{background:var(--accent-soft);border-radius:10px;padding:10px 14px;font-weight:600;color:var(--ink)!important}.reading-profile-saved{background:var(--accent-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:8px 8px 8px 14px;font-weight:600;display:flex;color:var(--ink)!important}.reading-profile-saved button{border:1px solid var(--ink);background:var(--studio-white);min-height:44px;color:var(--ink);cursor:pointer;border-radius:8px;padding:0 14px;font-weight:700}.reading-profile-update{gap:14px;display:grid}.reading-profile-next{gap:8px;display:grid}.reading-profile-search{max-width:420px}.reading-ladder-notice{background:var(--accent-soft);border-radius:10px;margin:0 0 14px;padding:10px 14px;font-weight:600;color:var(--ink)!important}.reading-profile-lesson{max-width:520px}.reading-profile-stages{border-top:1px solid var(--studio-line);gap:0;display:grid}.reading-profile-stage{border-bottom:1px solid var(--studio-line);display:grid}.reading-profile-stage-header{min-height:52px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:12px 4px;display:flex}.reading-profile-stage-header:after{content:"+";color:var(--muted-strong);margin-left:auto;font-weight:700}.reading-profile-stage-header[aria-expanded=true]:after{content:"−"}.reading-profile-stage-number{color:var(--muted-strong);letter-spacing:.04em;text-transform:uppercase;font-size:.8rem;font-weight:700}.reading-profile-stage-count{color:var(--muted-strong);font-variant-numeric:tabular-nums;font-size:.88rem}.reading-profile-unmarked{padding:0 4px 12px;font-size:.92rem}.reading-profile-skills{padding-bottom:12px;display:grid}.reading-profile-skill{border-top:1px solid var(--studio-line);grid-template-columns:minmax(0,1fr) 28rem;align-items:center;gap:12px;padding:10px 4px;display:grid}.reading-profile-skill-copy{gap:2px;min-width:0;display:grid}.reading-profile-skill-copy>span{color:var(--muted-strong);font-size:.85rem}.reading-profile-skill-actions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;display:flex}.reading-profile-check,.reading-profile-bulk{border:1px solid var(--studio-line);background:var(--studio-paper);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;border-radius:8px;padding:0 12px;font-weight:600}.reading-profile-bulk{justify-self:start;margin-top:10px}.reading-profile-lessons{gap:6px;margin:0 0 12px;padding:0 4px;list-style:none;display:grid}.reading-profile-lessons li{color:var(--muted-strong);gap:10px;display:flex}.reading-profile-lessons li span{min-width:2.6rem;color:var(--ink);font-variant-numeric:tabular-nums;font-weight:700}.reading-profile-more{gap:10px;display:grid}.why-these-words{margin-top:10px}.why-these-words summary{min-height:44px;color:var(--ink);cursor:pointer;align-items:center;font-weight:700;display:inline-flex}.why-these-words summary::-webkit-details-marker{display:none}.why-these-words summary:after{content:"+";color:var(--muted-strong);margin-left:10px}.why-these-words[open] summary:after{content:"−"}.why-these-words-body{gap:8px;max-width:60ch;padding:4px 0 8px;display:grid}.why-these-words-body p{color:var(--muted-strong);margin:0;line-height:1.5}.why-these-words-body strong{color:var(--ink)}.why-these-words-body button{justify-self:start;min-height:44px}@media (width<=600px){.reading-profile-skill{grid-template-columns:minmax(0,1fr)}.reading-profile-skill-actions{justify-content:flex-start}.reading-profile-skill-actions .skill-status-toggle,.reading-check-results .skill-status-toggle{flex:1;width:100%}.reading-settings-summary{flex-direction:column;align-items:stretch;gap:10px}.reading-check-results li{flex-direction:column;align-items:stretch}.story-school-ufli-actions{flex-direction:column}}.word-check-intro{gap:14px;display:grid}.word-check-intro h3,.word-check-intro p{margin:0}.word-check-key{gap:8px;margin:0;padding:0;list-style:none;display:grid}.word-check-key li{align-items:center;gap:10px;font-weight:600;display:flex}.word-check-privacy{color:var(--muted-strong);font-size:.9rem}.word-check-icon{stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;width:28px;height:28px}.word-check{width:100%;max-width:none;height:100svh;max-height:none;padding:max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));background:var(--studio-paper);color:var(--ink);border:0;margin:0}.word-check:focus{outline:0}.word-check[open]{grid-template-rows:auto minmax(0,1fr) auto;gap:12px;display:grid}.word-check-nav{justify-content:space-between;align-items:center;gap:12px;display:flex}.word-check-nav button{width:44px;height:44px;color:var(--muted-strong);cursor:pointer;touch-action:manipulation;background:0 0;border:0;flex:none;padding:0;font-size:1.25rem}.word-check-dots{flex:0 auto;gap:4px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.word-check-dots li{aspect-ratio:1;background:var(--studio-line);border-radius:50%;flex:0 auto;width:7px}.word-check-dots li.is-done{background:var(--muted-strong)}.word-check-word{font-family:var(--reader-font-family);font-size:min(7rem, 20vw, 32svh, calc(150vw / var(--word-length)));-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;place-self:center;margin:0;font-weight:700;line-height:1.2}.word-check-marks{grid-template-columns:repeat(2,minmax(0,1fr));justify-self:center;gap:12px;width:min(100%,420px);display:grid}.word-check .word-check-marks button{border:1px solid var(--studio-line);background:var(--studio-white);min-height:64px;color:var(--muted-strong);cursor:pointer;touch-action:manipulation;border-radius:12px;place-items:center;padding:0;display:grid}.word-check .word-check-marks button:active,.word-check .word-check-marks button[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:var(--studio-white)}.word-check-done{grid-row:2/-1;align-self:center;justify-items:center;gap:20px;display:grid}.word-check-done h3{margin:0;font-size:2rem}.story-reading-setup .reading-settings-first-book{margin-bottom:14px}.reading-profile-words{border:1px solid var(--studio-line);border-radius:12px;gap:8px;padding:14px 16px;display:grid}.reading-profile-words h3,.reading-profile-words p,.known-word-check h3,.known-word-check p{margin:0}.known-word-check{gap:14px;line-height:1.45;display:grid}.known-word-check-progress{color:var(--muted);font-size:.95rem}.known-word-check-word{color:var(--ink);overflow-wrap:anywhere;justify-self:center;padding:18px 0;font-family:Andika Learner,Andika,sans-serif;font-size:clamp(2.75rem,12vw,4.25rem);font-weight:700;line-height:1.1}.known-word-check-answers{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.known-word-check-answers button{min-height:52px;padding:0 6px}.known-word-check-note{color:var(--muted);font-size:.95rem}.reading-settings-fields{border:0;grid-template-columns:minmax(0,1fr);gap:18px;min-inline-size:0;margin:0;padding:0;display:grid}.reading-settings-fields:disabled{opacity:.72}.reading-settings-word-review{margin:1rem 0;padding:0;list-style:none}.reading-settings-word-review li{border-bottom:1px solid var(--border-color,#d8e1db);padding:.7rem 0}.reading-settings-word-review li>div{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem 1rem;display:grid}.reading-settings-word-review small{grid-column:1/-1}.reading-settings-word-review li>div>.skill-status-toggle{grid-area:1/2}.reading-settings-setup-choice{align-items:center;gap:.75rem;min-height:44px;display:flex}.reading-settings-sync{margin-block:.5rem 1rem}.reading-settings-migration{max-width:52rem;margin-inline:auto;padding:1rem}@media (width<=520px){.reading-settings-word-review li>div{grid-template-columns:minmax(0,1fr)}.reading-settings-word-review li>div>.skill-status-toggle{grid-area:auto;width:100%}}.skill-status-toggle{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));width:20rem;max-width:100%;display:grid;overflow:hidden}.skill-status-option{margin:0;display:flex;position:relative}.skill-status-option+.skill-status-option{border-left:1px solid var(--studio-line)}.skill-status-option input{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.skill-status-option>span{min-height:44px;color:var(--muted-strong);text-align:center;flex:1;justify-content:center;align-items:center;gap:.25rem;padding:.25rem .4rem;font-size:.86rem;font-weight:700;line-height:1.15;display:flex}.skill-status-tick{display:none}.skill-status-option input:checked+span{color:var(--ink)}.skill-status-option--none input:checked+span{background:#e7ebe9}.skill-status-option--target input:checked+span{color:#5b4310;background:#f6e3b8}.skill-status-option--mastered input:checked+span{background:var(--accent);color:#fff}.skill-status-option--mastered input:checked+span .skill-status-tick{display:inline}.skill-status-option input:focus-visible+span{outline:3px solid var(--accent);outline-offset:-3px}.skill-status-option input:active+span{filter:brightness(.95)}.app-update-notice{border:1px solid var(--studio-line);color:var(--ink);background:#fdf6e3;border-radius:10px;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:.5rem 0 1rem;padding:.75rem 1rem;display:flex}.reading-fit-shortcuts{color:var(--muted-strong);font:400 .95rem/1.45 var(--ui-font-family);flex-wrap:wrap;justify-content:center;align-items:center;column-gap:.25rem;display:flex}.reading-fit-shortcuts-label{text-align:center;flex-basis:100%;font-size:.85rem}.reading-fit-shortcut{min-height:44px;color:var(--accent);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:.4rem .45rem;font-weight:600;text-decoration:underline}.reading-fit-shortcut:focus-visible{outline:3px solid var(--studio-gold);outline-offset:2px;border-radius:8px}.first-reading-setup{box-sizing:border-box;background:var(--studio-white);border-radius:1.5rem;align-self:start;width:min(100%,48rem);margin:clamp(1rem,4vh,3rem) auto;padding:clamp(1.25rem,4vw,2.5rem);box-shadow:0 8px 32px #263b4212}body:has(.first-reading-setup) .app-help-footer{display:none}.first-reading-setup h2{margin:.4rem 0 1rem;font-size:clamp(1.7rem,4vw,2.3rem);line-height:1.2}.first-reading-setup h2:focus{outline:none}.first-reading-setup p{line-height:1.6}.first-reading-intro{font-size:1.1rem}.first-reading-choices{gap:1rem;margin:1.75rem 0;display:grid}.first-reading-choices .action-button{text-align:left;white-space:normal;gap:.5rem;padding:1.1rem 1.25rem;display:grid}.first-reading-choices strong{font-size:1.05rem}.first-reading-choices span{font-size:.95rem;font-weight:400;line-height:1.5}.first-reading-note{font-size:.9rem}.first-reading-lesson{gap:.6rem;margin:1.5rem 0;font-weight:600;display:grid}.first-reading-lesson select{width:100%;min-width:0;min-height:48px;font:inherit;padding:.65rem}.first-reading-actions{flex-wrap:wrap;gap:.75rem;display:flex}.first-reading-setup button{min-height:44px}@media (width<=540px){.first-reading-setup{border-radius:1rem;margin:.5rem auto}.first-reading-actions{flex-direction:column}}.first-reading-link{min-height:44px;color:var(--accent);cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.first-reading-sample-note{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:1rem;gap:.6rem;width:min(100% - 2rem,48rem);margin:1rem auto;padding:1rem 1.25rem;display:grid}.first-reading-sample-note p{margin:0;line-height:1.5}.first-reading-sample-note .action-button{justify-self:start}.first-reading-sample-note:focus{outline:none}.topbar:has(.topbar-account)>.app-brand{margin-right:auto}.topbar-account{flex:none;grid-area:account}.account-menu{align-items:center;gap:.6rem;display:flex;position:relative}.account-menu-status{white-space:nowrap;font-size:.85rem;font-weight:600}.account-menu-trigger{border:1px solid var(--studio-line);min-height:44px;color:var(--ink);background:var(--studio-white);font:inherit;cursor:pointer;border-radius:999px;padding:.45rem 1rem;font-weight:600}.account-menu-trigger[aria-expanded=true]{border-color:var(--ink)}.account-menu-panel{z-index:40;border:1px solid var(--studio-line);width:min(26rem,100vw - 1.5rem);max-height:calc(100svh - 6rem);color:var(--ink);background:var(--studio-white);text-align:left;border-radius:1.1rem;padding:1.1rem 1.2rem 1.2rem;font-size:.9rem;position:absolute;top:calc(100% + .5rem);right:0;overflow:auto;box-shadow:0 1rem 2.5rem #193d382e}.account-menu-panel h2,.account-menu-panel h3,.account-menu-panel p{margin:0 0 .75rem}.account-menu-header{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.account-menu-header h2{margin-bottom:.2rem;font-size:1.25rem}.account-menu-header p{overflow-wrap:anywhere}.account-menu-close,.hosted-billing-panel>.hosted-account-close{width:2.75rem;height:2.75rem;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;margin:-.55rem -.65rem 0 0;padding:0;font-size:1.6rem;line-height:1;display:grid}.account-menu-close:hover,.account-menu-close:focus-visible{background:#193d3814}.account-menu-actions{gap:.5rem;display:flex}.account-menu-actions .action-button{flex:1;min-height:44px}.account-menu-section{border-top:1px solid var(--studio-line);margin-top:1.1rem;padding-top:1.1rem}.account-menu-section hr{border:0;border-top:1px solid var(--studio-line);margin:1.1rem 0}.account-menu-section label{margin-bottom:.4rem;font-weight:700;display:block}.account-menu-section input{border:1px solid var(--studio-line);border-radius:.7rem;width:100%;min-height:2.8rem;margin-bottom:.7rem;padding:.6rem .75rem}.account-menu-section .action-button{width:100%}.account-menu-section .account-delete-button{color:#fff;background:#8b2d3b}.account-menu-section .account-delete-button:disabled{opacity:.45}.hosted-billing-panel{position:relative}.hosted-billing-panel>.hosted-account-close{margin:0;position:absolute;top:.5rem;right:.5rem}@media (width<=720px){.topbar:has(.topbar-account){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand account"}.topbar:has(.topbar-account):has(.topbar-actions){grid-template-areas:"brand account""lesson lesson""modes modes"}}.topbar .account-menu-panel .eyebrow{display:block}.brand-home{cursor:pointer;background:0 0;border:0;border-radius:.5rem;padding:0;display:block}.brand-home:focus-visible{outline:3px solid var(--studio-gold);outline-offset:4px}.story-home-button{align-items:center;gap:.4rem;display:inline-flex}.story-home-button svg{flex:none}.grown-ups-menu{margin-left:auto;position:relative}.grown-ups-menu-trigger{min-height:44px}.grown-ups-menu-trigger[aria-expanded=true]{border-color:var(--ink)}.grown-ups-menu-panel{z-index:40;border:1px solid var(--studio-line);width:min(22rem,100vw - 1.5rem);color:var(--ink);background:var(--studio-white);text-align:left;border-radius:1.1rem;gap:.25rem;padding:.5rem;display:grid;position:absolute;top:calc(100% + .5rem);right:0;box-shadow:0 1rem 2.5rem #193d382e}.grown-ups-menu-panel button{min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:.75rem;gap:.15rem;padding:.65rem .8rem;display:grid}.grown-ups-menu-panel button:hover,.grown-ups-menu-panel button:focus-visible{background:var(--accent-soft)}.grown-ups-menu-panel button span{color:var(--muted-strong);font-size:.85rem}.first-reading-leave{margin-top:1.25rem}@media (width<=600px){.story-workspace-nav{gap:.5rem}.story-workspace-nav .action-button{padding-inline:.7rem}}.topbar-account{align-items:center;gap:.6rem;display:flex;position:relative}.topbar-account .account-menu{position:static}.topbar-account .grown-ups-menu{margin-left:0}.story-workspace-library:focus{outline:none}.catalog-shelf-insert{grid-area:2/1/auto/-1;gap:.6rem;display:grid}.catalog-heart-words-receipt--empty{min-height:0;margin-top:-10px}.catalog-heart-words--line{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;margin:0;padding:.6rem .9rem;display:flex}.catalog-heart-words--line p{flex:14rem;min-width:0}.catalog-heart-words--line span{color:var(--muted-strong)}.catalog-shelf-insert .catalog-heart-words{margin:0}.story-make-own{border:1px solid var(--studio-line);background:var(--studio-white);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;padding:.6rem .9rem;display:flex}.story-make-own p{flex:14rem;min-width:0;margin:0}.story-make-own span{color:var(--muted-strong)}.story-make-own .action-button{min-height:44px}.reading-settings-sync:empty,.reading-settings:empty{display:none}@media (width<=720px){.topbar:has(.topbar-account--menu-only):has(.topbar-actions){grid-template-columns:minmax(7.5rem,.72fr) minmax(13rem,1.28fr);grid-template-areas:"brand lesson""modes account"}}
