/* Consistent breathing room and a quiet, illustrated storybook interface. */
:root{--space-1:8px;--space-2:16px;--space-3:24px;--space-4:32px;--space-5:48px;--panel-pad:clamp(22px,4vw,48px);--ink:#452453;--muted-ink:#765d7d;--gold:#e4bc79;--cream:#fff8e9;--radius:24px}
body{line-height:1.5}button,input,select,textarea{touch-action:manipulation}button,a,select,input{max-width:100%}button{min-height:48px}button:disabled{cursor:default}button[hidden],[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.storytext:focus-visible{outline:3px solid #dca741;outline-offset:4px}.ui-icon{display:inline-block;width:1.4em;height:1.4em;flex-shrink:0;vertical-align:middle;pointer-events:none}.back,.bigbutton,.continue,.top nav button{display:inline-flex;align-items:center;justify-content:center;gap:10px;line-height:1.3}.back,.bigbutton,.continue{padding:14px 22px;border-width:2px;border-radius:16px}.bigbutton,.continue{box-shadow:0 4px 0 #b38a9e}.shell{padding:clamp(16px,3vw,36px);padding-left:max(clamp(16px,3vw,36px),env(safe-area-inset-left));padding-right:max(clamp(16px,3vw,36px),env(safe-area-inset-right))}.frame{max-width:1280px}.top{gap:24px;margin:0 0 clamp(24px,3vw,40px);padding:0;flex-wrap:wrap}.wordmark{font-size:clamp(28px,3.5vw,44px);line-height:1.04;letter-spacing:-1px;text-shadow:0 3px 0 #5b2b70,0 5px 12px #1d082b;padding:6px 0}.top nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-left:auto}.top nav button{min-height:54px;padding:14px 19px;border-width:2px;border-radius:18px;box-shadow:0 4px 0 #b98b86;font-size:15px}.navicon{display:inline-flex;align-items:center;font-size:19px;margin:0}.navlabel{display:inline}.syncstatus{color:#d7c4df;min-height:32px;padding:14px 12px 0;font-size:12px;line-height:1.5}.admin,.home,.quizpaper,.celebration{padding:var(--panel-pad);border-width:3px;border-radius:28px}.admin{margin:0 auto 24px;max-width:1000px}.admin h1{font-size:clamp(29px,4vw,40px);line-height:1.18;margin:28px 0 20px}.admin h2{line-height:1.25;margin:32px 0 18px}.admin h3{line-height:1.35}.admin>h1:first-child{margin-top:0}.admin>p.note{margin:0 0 28px;max-width:70ch}.note{font-size:14px;line-height:1.7}.admin>.back+.back{margin-left:12px}.entry{padding:22px 0;gap:16px}.entry b{min-width:0;flex-basis:240px}.entry small{line-height:1.5}.backup{gap:16px;margin:28px 0}.stats{gap:16px;margin:28px 0 32px}.stats>div{padding:22px 16px;border-radius:18px}.stats span{font-size:13px}.setting{gap:18px;line-height:1.5}.setting select{min-height:48px;padding:12px 16px}.settingnote{padding:22px 24px;margin:28px 0}.settingnote p{margin:10px 0 16px}.settingnote .back{margin-top:8px}
/* Preserve the existing art, with separation between artwork, titles, and actions. */
.home{padding:clamp(22px,3.5vw,44px)}.welcome{gap:clamp(24px,4vw,56px);min-height:0;padding:4px 0 36px}.portrait{width:30%;height:clamp(210px,24vw,290px);border-width:4px}.hello{min-width:0;flex:1}.hello h1{font-size:clamp(32px,4.7vw,60px);line-height:1.1;margin:14px 0 18px}.hello p{font-size:clamp(17px,2vw,23px);line-height:1.5;margin:0}.tiny{font-size:11px;line-height:1.5;letter-spacing:1.6px}.tilegrid{gap:24px}.adventure{border-width:3px;border-radius:22px;box-shadow:0 5px 0 #a5749f,0 8px 18px #3b1b5044}.adventure img{height:clamp(145px,16vw,210px)}.adventure>span{font-size:clamp(18px,2vw,23px);line-height:1.3;padding:16px 12px 19px}.bottomline{gap:18px;margin-top:36px;justify-content:flex-start}.home-milestone{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:16px;padding:20px 24px;margin:0 0 36px;font-size:19px;border-width:2px;border-radius:20px;box-shadow:0 4px 0 #a77d9e}.home-milestone>.ui-icon{grid-row:1/3;font-size:26px}.home-milestone>strong{font:700 23px/1.3 Georgia,serif}.home-milestone>span{grid-column:2;font-size:14px;line-height:1.5;margin:6px 0 0}
/* Alphabet and milestone grids reserve room around focus rings and gold edges. */
.leveladventure{max-width:1080px}.levelwelcome{margin:28px 0 40px;min-height:250px;padding:clamp(26px,4vw,44px);gap:32px;border-width:3px;border-radius:24px;box-shadow:0 5px 0 #c7a1b1}.levelwelcometext{max-width:74%}.levelwelcome h1{margin:14px 0 18px;line-height:1.08}.levelwelcome p{line-height:1.5;margin:0 0 20px}.levelstars{display:inline-flex;gap:9px;align-items:center;font-size:13px;padding:9px 15px}.levelmedal{width:110px;height:124px;transform:none;box-shadow:0 4px 0 #b68c7c,0 8px 20px #2a133c44}.levelmedal span{font-size:12px;letter-spacing:.03em}.levelmedal strong{font-size:52px}.levelhint{margin:0 0 26px;font-size:16px}.leveltrail,.milestone-trail{grid-template-columns:repeat(7,minmax(0,1fr));gap:18px;padding:5px;margin:24px -5px 40px}.levelstep,.milestone-step{min-height:90px;gap:9px;padding:15px 8px;border-width:2px;border-radius:18px;box-shadow:0 4px 0 #c7abc8}.levelstep strong,.milestone-step strong{font-size:31px;line-height:1.1}.levelstep span,.milestone-step span{font-size:11px;line-height:1.3;min-height:15px;white-space:normal}.levelstep span .ui-icon{width:18px;height:18px}.levelstep.selectedlevel{box-shadow:0 4px 0 #73408c}.milestone-selected{outline-offset:4px}.milestone-step span .ui-icon{width:15px;height:15px;vertical-align:-2px}.milestone-section{margin:36px 0}.levelbook{border-width:3px;border-radius:24px;box-shadow:0 5px 0 #b68caf}.levelbookinfo{padding:32px;gap:16px}.levelbookart{min-height:260px}.levelbookinfo>strong{line-height:1.25}.levelbookinfo .bookeyebrow{letter-spacing:1.4px}.readbookcta{padding:13px 20px;font-size:18px;margin-top:4px}.levelparents{margin-top:32px}.levelparents summary{padding:16px 0}.bookgrid{gap:22px;margin:28px 0 36px}.bookcard{padding:26px 20px;gap:16px;min-height:180px;border-width:2px;border-radius:22px;box-shadow:0 4px 0 #ba96b7}.bookcard strong{font-size:19px;line-height:1.4}.bookcard small{font-size:13px;line-height:1.6}.bookemoji{display:grid;place-items:center;color:#9c6b39;min-height:40px;font-size:28px}.bookemoji>.ui-icon{width:38px;height:38px}.journeyhero{gap:24px;padding:28px;margin:32px 0 24px;border-radius:22px}.journeyhero strong{font-size:clamp(23px,3vw,30px);line-height:1.3}.journeyhero p{line-height:1.5;margin:9px 0}.journeyhero small{display:block;margin-top:6px}.journeystar{display:flex;align-items:center;font-size:40px}.journeystar>.ui-icon{width:60px;height:60px;color:#a47633}.journeyprogress{height:11px;margin-bottom:30px}.readiness{padding:26px 30px;font-size:18px;line-height:1.6;font-weight:800}.readiness>.ui-icon{width:22px;height:22px;vertical-align:-5px}.graduation{gap:26px;padding:30px;margin:30px 0 38px;border-width:2px;border-radius:24px;box-shadow:0 5px 0 #c29aa6}.graduation>.graduation-icon{display:flex;align-items:center;flex-shrink:0;color:#956a30;font-size:40px}.graduation-icon>.ui-icon{width:68px;height:68px}.graduation h2{font-size:clamp(27px,4vw,37px);margin:0 0 14px}.graduation p{line-height:1.6}.graduation p>.ui-icon{width:20px;height:20px;vertical-align:-4px}.celebration .graduation{gap:18px}.crown{color:#b78b41;display:grid;place-items:center;margin:4px 0 26px}.crown>.ui-icon{width:84px;height:84px}.celebration p{font-size:20px;line-height:1.6}.celebration h1{font-size:clamp(32px,4vw,46px);line-height:1.15;margin:0 0 20px}.resultactions{gap:20px;margin:32px 0 8px}
/* Reward illustrations and earned seals, with no platform emoji glyphs. */
.reward-heading{gap:28px;margin-bottom:28px;align-items:center}.reward-heading h2{font-size:clamp(28px,3.5vw,38px);line-height:1.22;margin:14px 0 18px}.reward-heading p{font-size:15px;line-height:1.65;margin:0}.reward-sticker-count{width:100px;height:122px;gap:5px;border-width:2px;border-radius:24px;box-shadow:0 4px 0 #c09e96;padding:12px}.reward-sticker-count>.ui-icon{width:28px;height:28px;color:#9d7438}.reward-sticker-count strong{font-size:27px;line-height:1.1}.reward-sticker-count span{font-size:11px;letter-spacing:.06em}.reward-prize{padding:28px;gap:30px;margin:30px 0 36px;border-width:2px;border-radius:24px;box-shadow:0 4px 0 #c7a1bd}.reward-prize h3{font-size:clamp(23px,3vw,31px);line-height:1.35;margin:14px 0 18px}.reward-prize p{font-size:15px;line-height:1.7}.reward-picture{flex-basis:190px;width:190px;height:190px;border-width:2px;border-radius:20px}.reward-picture img{padding:12px}.reward-picture>.reward-gift-icon{display:flex;align-items:center;justify-content:center;color:#b18a52}.reward-gift-icon>.ui-icon{width:64px;height:64px}.reward-picture-small{flex-basis:120px;width:120px;height:120px}.reward-picture-small .ui-icon{width:43px;height:43px}.reward-week{gap:14px;margin:34px 0;padding:5px}.reward-day{padding:17px 7px 13px;gap:10px;border-width:2px;border-radius:20px}.reward-day>span{font-size:14px}.reward-day time{font-size:11px}.reward-day>strong{font-size:12px;line-height:1.5}.reward-day>small{font-size:11px;line-height:1.4;min-height:18px}.reward-sticker{width:52px;height:58px;min-height:58px;display:grid;place-items:center;color:#cdb6d4}.reward-sticker>.ui-icon{width:38px;height:38px;stroke-width:1.5}.sticker-earned .reward-sticker{color:#956b2b}.sticker-earned .reward-sticker>.ui-icon{stroke-width:1.7}.reward-day.sticker-today{outline-width:2px;outline-offset:4px}.reward-day.sticker-earned{box-shadow:0 3px 0 #d9b87b}.reward-day>small.parent-sticker{font-size:10px;min-height:28px}.reward-today{padding:24px 28px;margin:32px 0;border-radius:20px}.reward-today>div:first-child{gap:14px;line-height:1.5}.reward-meter{height:11px;margin-top:20px}.reward-today p{margin:16px 0 0;line-height:1.6}.reward-empty{padding:34px 24px;margin:30px 0}.reward-empty-icon{color:#b18a52;display:grid;place-items:center;margin:8px auto 26px}.reward-empty-icon>.ui-icon{width:72px;height:72px}.reward-empty h2{font-size:30px;line-height:1.25;margin:0 0 20px}.reward-empty p{line-height:1.7}.reward-parent-section{padding-top:30px;margin-top:40px}.reward-parent-section h2{font-size:27px;margin:0 0 24px}.reward-parent-section label{gap:10px;margin:24px 0}.reward-parent-section input:not([type=file]),.reward-parent-section select{padding:15px 16px;border-radius:14px;min-height:52px}.reward-plan-form{gap:20px}.reward-tabs{gap:16px;margin:30px 0 36px}.reward-tabs button{min-height:54px;padding:16px 20px;border-width:2px;border-radius:16px;box-shadow:0 3px 0 #c09cbb}.reward-shelf{gap:22px}.reward-shelf article{padding:24px;gap:18px;border-radius:20px}.reward-shelf h3{line-height:1.5}.reward-shelf .back{min-height:48px;line-height:1.4}.reward-day-approvals{padding:26px 28px;margin:32px 0;border-radius:20px}.reward-day-approvals h3{font-size:25px;line-height:1.35;margin:0 0 16px}.day-approval-row{padding:19px 0;gap:18px}.parent-approval-hint{margin:28px 0;padding:24px;line-height:1.6}.parent-approval-hint p{margin:0 0 18px}.reward-history{margin:32px 0}.reward-history summary{padding:16px 0}.reward-upload{gap:14px!important;padding:22px}.reward-history p{margin:20px 0}.reward-manager .form-message{margin:24px 0;font-size:14px;line-height:1.65}
/* Parent sections and forms share the same rhythm. */
.master-global,.master-reader,.parent-section{padding:28px;border-width:2px;border-radius:20px}.master-global{margin:30px 0;gap:28px}.master-global h2{margin:0 0 12px}.master-global p{margin:0}.master-readers{gap:24px}.reader-summary{gap:22px;margin-bottom:24px}.reader-summary img{width:76px;height:86px}.reader-summary h2{margin:0 0 10px}.reader-summary p{margin:0;line-height:1.6}.master-reader .setting{gap:20px;margin:20px 0;line-height:1.5}.master .bigbutton{margin-top:20px}.loginform label{margin:22px 0}.loginform input{min-height:54px;padding:15px 18px}.signin.entry-screen{padding:clamp(26px,4vw,48px);margin:12px auto 28px}.entry-screen .loginform{margin-top:32px}.signin .back{margin:20px auto}.parent-return{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:0 0 30px}.parent-return select{min-height:48px;padding:12px 16px;border:2px solid #d4b9df;border-radius:14px;background:#fffaf0;color:#613d73}.voice-controls{display:grid;gap:18px;margin:28px 0;padding:26px;border:2px solid #ddcce4;border-radius:20px;background:#f6edf8}.voice-controls h2{margin:0!important}.voice-controls label{display:grid;gap:10px;font-weight:700;line-height:1.5}.voice-controls select{min-height:50px;max-width:100%;padding:12px;border:2px solid #cdb0d7;border-radius:12px;font-size:16px}.voice-controls input[type=range]{width:100%;min-height:44px;accent-color:#87529b}.voice-controls .note{margin:0}.voice-controls .back{justify-self:start}.voice-status{font-size:14px;line-height:1.6;margin:0}
/* The reader fits the visible viewport. Only long page text can scroll; controls stay in the dock. */
.reading-shell{height:100vh;height:100dvh;min-height:0;padding:16px max(16px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow:hidden}.reading-frame{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;max-width:1280px}.reading-frame>.top{margin:0;gap:16px;flex-wrap:nowrap}.reading-frame .wordmark{font-size:27px;line-height:1.03;padding:0}.reading-frame .top nav{gap:10px;flex-wrap:nowrap}.reading-frame .top nav button{min-height:45px;padding:10px 15px;font-size:13px;box-shadow:0 3px 0 #b98b86}.reading-frame>.reader{width:100%;max-width:1180px;min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;margin:0 auto}.booktop{margin:0;gap:16px;min-height:46px;font-size:14px}.booktop .back{min-height:44px;padding:10px 16px;font-size:14px}.bookcount{color:#efdfef;font-size:13px;line-height:1.4;white-space:nowrap}.storybook{min-height:0!important;height:100%;min-width:0;grid-template-columns:43% minmax(0,57%);grid-template-rows:minmax(0,1fr);border-width:6px;border-radius:23px;overflow:hidden}.storybook.text-only{grid-template-columns:minmax(0,1fr);max-width:100%}.storyillustration.page-scene{position:relative;min-height:0!important;height:100%;overflow:hidden}.storyillustration.page-scene .page-art{position:absolute;inset:0;width:100%;height:100%!important;min-height:0!important;max-height:100%;object-fit:cover}.storypaper,.storybook.text-only .storypaper{min-height:0!important;min-width:0;max-height:100%;padding:clamp(22px,3vw,42px);display:flex;flex-direction:column;justify-content:center;gap:16px;overflow:hidden}.storypaper .bookeyebrow{font-size:10px;line-height:1.4;letter-spacing:1.5px;flex-shrink:0}.storypaper h2{font-size:clamp(23px,2.5vw,34px);line-height:1.2;margin:0;flex-shrink:0;overflow-wrap:anywhere}.storypaper .storytext{min-height:0;min-width:0;max-height:100%;font-size:clamp(24px,2.5vw,34px);line-height:1.55;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#c5a0c9 transparent;overflow-wrap:break-word;margin:0;padding-right:5px;flex:0 1 auto}.reader[data-density=short] .storytext{font-size:clamp(29px,3vw,40px)}.reader[data-density=long] .storytext{font-size:clamp(22px,2vw,29px);line-height:1.55}.text-only .storytext{max-width:48ch}.reader-dock{position:relative;min-width:0;display:grid;gap:12px;padding:0 4px}.readingtimebar{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:10px;margin:0;max-width:none;color:#eadcec;min-height:34px;font-size:12px;line-height:1.4;font-weight:500}.readingtimebar .clock-icon{display:flex;align-items:center;color:#e8c688}.readingtimebar .clock-icon .ui-icon{width:17px;height:17px}.readingtimebar [data-clock-label]{padding:0;min-width:0;line-height:1.4}.readingtimebar .back{min-height:34px;padding:7px 10px;border-radius:12px;border-width:1px;font-size:12px;background:#fff3d8;white-space:nowrap}.readingtimebar .back .ui-icon{width:17px;height:17px}.pagecontrols{display:grid;grid-template-columns:minmax(100px,1fr) minmax(80px,1.3fr) minmax(100px,1fr);align-items:center;gap:16px;width:min(100%,640px);max-width:640px;margin:0 auto;padding:0}.pagecontrols button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:54px;padding:12px 18px;border-width:2px;border-radius:16px;font-size:18px;line-height:1.3;box-shadow:0 3px 0 #a97c91}.pagecontrols button .ui-icon{width:23px;height:23px}.pagecontrols button:disabled{opacity:.4;cursor:default}.page-location{display:grid;place-items:center;gap:9px;min-width:0;color:#f6e8f2;font-size:12px;line-height:1.3}.dots{display:flex;gap:7px;justify-content:center}.dots span{width:6px;height:6px}.dots span.active{transform:none;background:#f1d095}.reading-frame>.syncstatus{padding:0;min-height:16px;font-size:10px;line-height:1.5;color:#cfbcd8}.quiz{margin:0 auto 28px}.quizpaper{padding:clamp(24px,4vw,42px)}.quiztop{gap:18px;line-height:1.6;font-size:14px}.questionline{gap:20px;margin:28px 0}.questionline h1{font-size:clamp(26px,3.5vw,38px);line-height:1.3;margin:0;flex:1}.speaker{display:grid;place-items:center;min-width:56px;min-height:56px;width:56px;height:56px;border-width:2px;border-radius:17px;flex-shrink:0}.speaker .ui-icon{width:26px;height:26px}.answers{gap:18px}.answerline{gap:14px}.answer{min-height:64px;padding:20px 22px;border-width:2px;border-radius:17px;font-size:clamp(20px,2.5vw,26px);line-height:1.5;font-weight:700}.answerline .smallspeaker{flex-basis:56px;min-width:56px;min-height:64px;width:56px;height:auto}
@media(max-width:1000px){.top{gap:20px}.top nav button{padding:12px 15px}.navlabel{font-size:14px}.tilegrid{gap:20px}.leveltrail,.milestone-trail{gap:16px}.reward-week{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.reward-day{padding:20px 10px}.reward-prize{gap:24px}.reward-heading h2{font-size:32px}.reward-plan-form{grid-template-columns:1fr 1fr}.reward-plan-form label:first-child{grid-column:1/-1}}
@media(max-width:740px){.shell:not(.reading-shell){padding:20px max(16px,env(safe-area-inset-right)) 28px max(16px,env(safe-area-inset-left))}.top{align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.top nav{gap:10px;margin-left:0}.top nav button{width:48px;height:48px;min-height:48px;padding:10px;border-radius:15px}.navlabel{display:none}.navicon{font-size:20px}.wordmark{font-size:29px}.admin,.home{padding:24px;border-radius:24px}.admin h1{font-size:30px;margin:26px 0 20px}.welcome{gap:22px;padding-bottom:30px}.portrait{width:34%;height:210px}.hello h1{font-size:34px}.hello p{font-size:17px}.tilegrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.adventure img{height:150px}.adventure>span{font-size:19px;padding:15px 10px 18px}.bottomline{gap:16px;margin-top:30px}.bottomline .continue{flex:1 1 180px;min-height:54px}.levelwelcome{padding:28px 24px;min-height:235px;gap:20px;margin:28px 0 36px}.levelwelcometext{max-width:70%}.levelwelcome h1{font-size:38px}.levelwelcome p{font-size:17px}.levelmedal{width:92px;height:112px;border-width:3px}.levelmedal strong{font-size:47px}.leveltrail,.milestone-trail{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.levelstep,.milestone-step{min-height:86px;padding:14px 5px}.levelstep span,.milestone-step span{font-size:10px}.levelbookinfo{padding:26px;gap:16px}.levelbookinfo>strong{font-size:29px}.levelbookart{flex-basis:34%;min-height:240px}.levelbookinfo .bookeyebrow{font-size:10px}.bookgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.bookcard{padding:24px 18px}.journeyhero{padding:24px;gap:20px}.journeystar>.ui-icon{width:48px;height:48px}.graduation{padding:26px;gap:20px}.graduation-icon>.ui-icon{width:54px;height:54px}.graduation h2{font-size:30px}.reward-heading{gap:20px}.reward-heading h2{font-size:29px}.reward-prize{padding:24px;gap:24px}.reward-prize>.reward-picture{width:150px;height:150px;flex-basis:150px}.reward-prize h3{font-size:25px}.reward-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.master-global{display:block}.master-global .toggle{margin-top:22px}.master-global,.master-reader{padding:24px}.master-reader .setting{gap:16px}.master-reader select{width:auto;max-width:58%;min-width:0}.stats{gap:12px}.reading-shell{padding:10px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.reading-frame{grid-template-rows:minmax(0,1fr) auto;gap:8px}.reading-frame>.top{display:none}.reading-frame>.reader{gap:12px}.booktop{min-height:42px;gap:12px}.booktop .back{padding:9px 12px;min-height:42px;font-size:13px}.bookcount{font-size:12px}.storybook{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(72px,24%) minmax(0,1fr);border-width:4px;border-radius:21px}.storybook.text-only{grid-template-rows:minmax(0,1fr)}.storypaper,.storybook.text-only .storypaper{padding:20px 22px;gap:12px}.storypaper .bookeyebrow{font-size:9px;letter-spacing:1.3px}.storypaper h2{font-size:25px;line-height:1.22}.storypaper .storytext{font-size:25px;line-height:1.5;max-width:none}.reader[data-density=short] .storytext{font-size:32px;line-height:1.5}.reader[data-density=long] .storytext{font-size:23px;line-height:1.5}.readingtimebar{gap:8px;justify-content:center;min-height:33px}.readingtimebar .clock-icon{display:none}.readingtimebar .back{font-size:11px;padding:7px 8px;gap:6px;min-height:33px}.readingtimebar [data-clock-label]{font-size:11px}.pagecontrols{gap:16px;grid-template-columns:minmax(88px,1fr) minmax(75px,1fr) minmax(88px,1fr)}.pagecontrols button{min-height:52px;padding:12px 14px;font-size:17px;gap:7px}.page-location{font-size:11px;gap:8px}.dots{gap:5px}.dots span{width:5px;height:5px}.reader-dock{gap:10px;padding:0 2px}.reading-frame>.syncstatus{font-size:9px;min-height:14px}}
@media(max-width:480px){.top{display:grid;grid-template-columns:1fr;gap:18px;justify-items:start}.top nav{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.top nav button{width:100%;height:48px;min-height:48px}.wordmark{font-size:30px}.admin,.home{padding:22px 20px}.admin h1{font-size:29px}.tiny{font-size:10px;letter-spacing:1.2px}.welcome{align-items:center;gap:18px;padding-bottom:28px}.portrait{width:35%;height:170px;border-width:3px;border-radius:40% 40% 20px 20px}.hello h1{font-size:29px;line-height:1.14;margin:12px 0 14px}.hello p{font-size:15px;line-height:1.5}.tilegrid{gap:18px}.adventure img{height:125px}.adventure>span{font-size:17px;padding:14px 8px 17px}.home-milestone{padding:20px;gap:12px;margin-bottom:30px}.home-milestone>strong{font-size:21px}.home-milestone>span{font-size:13px;line-height:1.6}.bottomline .continue{flex-basis:100%;padding:16px}.levelwelcome{padding:26px 20px;min-height:230px;margin-bottom:34px;gap:16px}.levelwelcometext{max-width:68%}.levelwelcometext .tiny{font-size:10px}.levelwelcome h1{font-size:33px;margin:14px 0}.levelwelcome p{font-size:15px;margin-bottom:18px}.levelstars{font-size:11px;padding:8px 10px;gap:6px}.levelmedal{width:78px;height:96px;border-width:3px}.levelmedal strong{font-size:40px}.levelmedal span{font-size:10px}.leveltrail,.milestone-trail{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:5px;margin-top:24px;margin-bottom:34px}.levelstep,.milestone-step{min-height:85px;padding:14px 4px;gap:10px;border-radius:16px}.levelstep strong,.milestone-step strong{font-size:29px}.levelstep span,.milestone-step span{font-size:10px;line-height:1.3}.levelbook{flex-direction:column}.levelbookart{flex-basis:auto;width:100%;height:155px;min-height:155px}.levelbookinfo{padding:26px 24px;gap:16px}.levelbookinfo>strong{font-size:28px}.coverletter{width:43px;height:47px;font-size:26px;left:14px;bottom:14px}.bookgrid{grid-template-columns:minmax(0,1fr);gap:20px}.bookcard{min-height:170px;padding:25px 22px;gap:18px}.bookcard strong{font-size:20px}.journeyhero{padding:24px 20px;gap:18px;align-items:center}.journeyhero strong{font-size:23px}.journeystar>.ui-icon{width:42px;height:42px}.readiness{padding:24px;font-size:17px}.graduation{padding:26px 22px;flex-direction:column;align-items:flex-start;gap:18px}.graduation h2{font-size:29px}.graduation p{font-size:15px;line-height:1.7}.graduation-icon>.ui-icon{width:52px;height:52px}.reward-heading{align-items:flex-start;gap:18px}.reward-heading h2{font-size:28px;margin-bottom:16px}.reward-heading .bookeyebrow{font-size:10px;letter-spacing:1.2px}.reward-heading p{font-size:13px}.reward-sticker-count{width:76px;height:108px;flex-shrink:0;gap:6px;padding:12px 8px;border-radius:22px}.reward-sticker-count>.ui-icon{width:24px;height:24px}.reward-sticker-count strong{font-size:25px}.reward-prize{flex-direction:column;align-items:stretch;text-align:left;padding:24px;gap:24px}.reward-prize>.reward-picture{width:100%;height:190px;flex-basis:auto}.reward-prize h3{font-size:24px;margin:14px 0 18px}.reward-prize p{font-size:14px}.reward-week{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:5px;margin:32px 0}.reward-day{padding:18px 6px 14px;gap:10px}.reward-sticker{width:46px;height:50px;min-height:50px}.reward-sticker>.ui-icon{width:33px;height:33px}.reward-day>span{font-size:14px}.reward-day>strong{font-size:11px}.reward-today{padding:24px 20px}.reward-today>div:first-child{font-size:14px}.reward-shelf{grid-template-columns:minmax(0,1fr)}.reward-parent-section{padding-top:28px;margin-top:36px}.reward-plan-form{grid-template-columns:minmax(0,1fr);gap:18px}.reward-plan-form label,.reward-plan-form label:first-child{grid-column:1}.reward-tabs{gap:12px}.reward-tabs button{padding:14px 10px;min-height:52px}.reward-day-approvals{padding:24px 20px}.day-approval-row{gap:16px;padding:20px 0}.day-approval-row button{width:100%;font-size:13px}.stats{gap:10px}.stats>div{padding:20px 8px}.stats b{font-size:25px}.stats span{font-size:11px}.master-global,.master-reader,.voice-controls{padding:24px 20px}.master-reader .setting{flex-direction:column;align-items:flex-start;margin:24px 0}.master-reader select{width:100%;max-width:100%}.master-reader .setting:has(input[type=checkbox]){flex-direction:row;justify-content:space-between;align-items:center}.reader-summary{gap:18px;align-items:center}.reader-summary img{width:64px;height:78px}.reader-summary h2{font-size:25px}.signin.entry-screen{padding:28px 22px}.entry-logo img{max-height:210px}.loginform input{font-size:18px}.settingnote{padding:22px 20px}.backup{flex-direction:column;align-items:stretch}.entry button{min-height:46px}.parent-return{flex-direction:column;align-items:stretch}.quizpaper{padding:26px 20px}.questionline{gap:16px;margin:26px 0}.questionline h1{font-size:26px}.answer{font-size:21px;padding:18px 16px}.answerline{gap:12px}.answerline .smallspeaker{min-width:50px;width:50px;flex-basis:50px}.speaker{min-width:50px;width:50px;height:52px;min-height:52px}.speaker .ui-icon{width:24px;height:24px}.reading-frame>.reader{gap:10px}.booktop .back{font-size:12px;padding:9px 10px;gap:6px}.booktop .back>.ui-icon{width:17px;height:17px}.bookcount{font-size:11px}.storybook{border-radius:18px}.storypaper,.storybook.text-only .storypaper{padding:18px 20px;gap:12px}.storypaper h2{font-size:24px}.storypaper .storytext{font-size:24px}.reader[data-density=short] .storytext{font-size:31px}.reader[data-density=long] .storytext{font-size:22px}.readingtimebar{flex-wrap:wrap;justify-content:space-between;gap:6px}.readingtimebar [data-clock-label]{flex:1 1 165px;font-size:10px}.readingtimebar .back{font-size:10px;padding:6px 8px;min-height:30px}.readingtimebar .back .ui-icon{width:14px;height:14px}.readingtimebar #wake-reading:not([hidden]){flex-basis:100%;order:3}.pagecontrols{grid-template-columns:minmax(82px,1fr) minmax(70px,1fr) minmax(82px,1fr);gap:12px}.pagecontrols button{min-height:50px;padding:11px 12px;font-size:16px;gap:6px}.pagecontrols button>.ui-icon{width:20px;height:20px}.page-location{font-size:10px;gap:8px}.reader-dock{gap:10px}.reading-frame>.syncstatus{font-size:9px}}
@media(max-width:360px){.shell:not(.reading-shell){padding-inline:14px}.admin,.home{padding-inline:18px}.welcome{flex-direction:column;align-items:flex-start;gap:22px}.portrait{width:125px;height:150px}.hello h1{font-size:32px}.levelwelcome{padding-inline:18px}.levelmedal{width:64px;height:88px}.levelwelcome h1{font-size:29px}.leveltrail,.milestone-trail{gap:14px}.milestone-step span{font-size:9px}.reward-heading{flex-direction:column;gap:22px}.reward-sticker-count{flex-direction:row;align-items:center;justify-content:center;width:auto;height:auto;gap:12px;min-height:58px;padding:12px 18px;border-radius:18px}.reward-day>strong{font-size:10px}.reward-week{gap:15px}.reading-shell{padding-inline:10px}.storypaper,.storybook.text-only .storypaper{padding-inline:16px}.storypaper h2{font-size:22px}.reader[data-density=short] .storytext{font-size:29px}.pagecontrols{gap:9px;grid-template-columns:minmax(76px,1fr) minmax(66px,1fr) minmax(76px,1fr)}.pagecontrols button{font-size:15px;padding:10px}.readingtimebar [data-clock-label]{flex-basis:140px}}
@media(max-height:620px) and (min-width:741px){.reading-frame>.top{display:none}.reading-frame{grid-template-rows:minmax(0,1fr) auto}.storypaper,.storybook.text-only .storypaper{padding:20px 26px;gap:12px}.storypaper h2{font-size:25px}.storypaper .storytext{font-size:24px}.reader[data-density=short] .storytext{font-size:29px}.reader[data-density=long] .storytext{font-size:22px}}
@media(max-height:520px) and (orientation:landscape){.reading-shell{padding:8px max(14px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.reading-frame{grid-template-rows:minmax(0,1fr) auto;gap:4px}.reading-frame>.top{display:none}.reading-frame>.reader{gap:8px}.booktop{min-height:36px}.booktop .back{min-height:36px;padding:7px 12px}.storybook{grid-template-columns:34% minmax(0,66%);grid-template-rows:minmax(0,1fr);border-width:3px}.storybook.text-only{grid-template-columns:minmax(0,1fr)}.storypaper,.storybook.text-only .storypaper{padding:15px 22px;gap:9px}.storypaper .bookeyebrow{display:none}.storypaper h2{font-size:22px}.storypaper .storytext{font-size:22px;line-height:1.45}.reader[data-density=short] .storytext{font-size:27px}.reader[data-density=long] .storytext{font-size:21px}.reader-dock{display:grid;grid-template-columns:minmax(180px,1fr) minmax(290px,1.4fr);gap:20px;align-items:center}.readingtimebar{flex-wrap:wrap;justify-content:flex-start;font-size:10px;gap:7px}.readingtimebar [data-clock-label]{flex-basis:100%}.readingtimebar .back{min-height:29px}.pagecontrols{gap:12px}.pagecontrols button{min-height:44px;font-size:15px;padding:9px 12px}.page-location{font-size:10px}.reading-frame>.syncstatus{font-size:8px;min-height:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.adventure,.levelbook,.levelstep,.journeyprogress span{transition:none}}

.voice-actions{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}.voice-actions button{min-height:48px}

/* Each screen exposes its next action, with consistent high-resolution artwork. */
.adventure>span{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;padding:18px 20px}.adventure>span strong{font-size:inherit}.adventure>span small{font:600 12px/1.4 Arial,sans-serif;white-space:nowrap;background:#ecdafa;color:#59346f;padding:7px 10px;border-radius:10px}.adventure img{transition:transform .24s ease;object-position:center}.adventure:hover img{transform:scale(1.025)}
.next-story-strip{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0 36px;padding:24px 28px;border:2px solid #d8b4df;border-radius:20px;background:#f3e6f8}.next-story-strip>div{display:grid;gap:8px;min-width:0}.next-story-strip strong{font:700 24px/1.3 Georgia,serif;color:#452453}.next-story-strip>div>span:last-child{font-size:14px;color:#765d7d}.next-story-strip .bigbutton{flex-shrink:0;margin:0}.levelstep:disabled{opacity:.65;cursor:default}.levelstep:disabled span{color:#765d7d}.levelstep:disabled .ui-icon{width:15px;height:15px}
@media(max-width:740px){.levelwelcome{min-height:180px;margin:24px 0;padding:24px}.levelwelcome h1{font-size:34px}.next-story-strip{padding:22px;gap:20px;margin:24px 0 30px}.next-story-strip strong{font-size:22px}.adventure>span{flex-direction:column;align-items:flex-start;gap:10px;padding:16px}.adventure>span small{font-size:11px}.leveltrail{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){.next-story-strip{flex-direction:column;align-items:stretch}.next-story-strip .bigbutton{width:100%}.levelwelcome{min-height:165px}.levelwelcome h1{font-size:30px}.levelwelcome p{display:none}.levelmedal{width:72px;height:90px}.levelmedal strong{font-size:38px}.levelstep{min-height:80px}.levelstep span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.adventure img{transition:none}.adventure:hover img{transform:none}}

/* Compact level status and deliberate spacing between parent settings groups. */
.home-level{display:inline-flex;align-items:center;gap:8px;margin-top:24px;padding:10px 16px;border:1px solid #f2d89d;border-radius:12px;background:#fff3d8;color:#573369;font:600 16px/1.4 Arial,sans-serif}.home-level strong{font-size:18px}
.settings-intro{display:grid;gap:24px;margin:0 0 36px}.master .settings-intro h1,.master .settings-intro p{margin:0}.settings-intro .note{max-width:70ch;line-height:1.7}.settings-actions{display:flex;flex-wrap:wrap;gap:16px;padding-top:4px}.master .settings-actions .bigbutton{margin:0}.master .voice-controls{margin:0 0 36px;padding:30px;gap:24px}.master .voice-controls label{gap:14px}.voice-label-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.voice-label-row output{font-weight:500;color:#765d7d}.voice-actions{margin:0;gap:18px}.voice-status:empty{display:none}.voice-status:not(:empty){margin:0;line-height:1.6}
.master .parent-return{align-items:flex-end;gap:24px;margin:0 0 36px;padding:24px;border:2px solid #e3d1e7;border-radius:20px}.parent-return label{display:grid;gap:12px;flex:1}.parent-return label select{width:100%;margin:0}.master form+p.note{margin:28px 0}.master #refreshmaster{margin-top:4px}
@media(max-width:480px){.home-level{margin-top:18px;padding:9px 13px;font-size:14px}.home-level strong{font-size:16px}.settings-intro{gap:20px;margin-bottom:28px}.master .voice-controls{padding:22px;gap:22px;margin-bottom:28px}.settings-actions .bigbutton{width:100%}.master .parent-return{padding:22px;gap:20px;margin-bottom:28px}.voice-actions{gap:16px}.voice-actions button{flex:1;padding:13px 16px}.voice-label-row{gap:14px}}

/* Shared vertical rhythm: actions, help text and form groups never touch. */
.action-block{display:grid;justify-items:start;gap:24px;margin:32px 0 0}.action-block>button,.action-block>.note{margin:0!important}.action-block>.note{line-height:1.7;max-width:70ch}
:is(.admin,.quizpaper,.celebration)>:is(button,a)+:is(p,.note,.form-message){margin-top:24px}
:is(.admin,.quizpaper,.celebration)>:is(p,.note)+:is(button,a){margin-top:20px}
:is(.admin,.quizpaper,.celebration)>:is(button,a)+:is(section,form,details){margin-top:28px}
.form-message:empty{display:none}.form-message:not(:empty){margin:20px 0;line-height:1.6}.resultactions,.backup{row-gap:20px;column-gap:20px}.parent-approval-hint{display:grid;justify-items:start;gap:20px}.parent-approval-hint>p,.parent-approval-hint>button{margin:0}.reward-parent-section>h2{margin:0 0 24px}.reward-parent-section>form{margin-top:0}.day-approval-row{gap:20px;padding:18px 0}.reward-manager .reward-tabs{gap:16px;margin:28px 0}.admin>.settings-actions{margin-top:28px}.settings-actions>button{margin:0!important}
@media(max-width:480px){.action-block{gap:22px;margin-top:28px}.action-block>button{width:100%}.settings-actions{gap:18px}.settings-actions>button{flex:1 1 180px}.day-approval-row{gap:18px;padding:20px 0}}

@media(max-width:480px){.top nav:has(.return-child){display:flex;gap:12px;width:100%}.top nav .return-child{width:auto;flex:1;min-height:48px;height:auto;padding:12px 16px;gap:10px;font-size:14px}.top nav .return-child span{white-space:normal}}

.voice-controls{grid-template-columns:minmax(0,1fr)}.voice-controls>*{min-width:0}.voice-controls label,.voice-controls select{min-width:0;width:100%}.voice-controls input[type=range]{min-width:0;margin:0;max-width:100%}
@media(max-width:480px){.voice-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.voice-actions button{width:100%}}

/* One story or adventure card per row on phones. */
@media(max-width:640px){.tilegrid,.bookgrid{grid-template-columns:minmax(0,1fr);gap:22px}.adventure img{height:clamp(190px,55vw,280px)}.adventure>span{flex-direction:row;align-items:center;gap:16px;padding:18px 20px}.adventure>span small{font-size:12px}.bookcard{min-width:0;padding:24px}}
.guide-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0}.guide-filters label{display:grid;gap:10px;min-width:0;font-weight:700}.guide-filters select,.guide-filters input{min-width:0;width:100%;min-height:48px;padding:12px 14px;border:2px solid #d6bddf;border-radius:12px;font:inherit;background:#fff;color:#452453}.guide-search{grid-column:1/-1}.guide-actions{margin:0 0 24px!important}.guide-actions .bigbutton{margin:0}.story-guide #guide-count{margin:24px 0}.guide-story{margin:0 0 18px;border:2px solid #dfcce6;border-radius:16px;background:#fffdf7}.guide-story summary{padding:20px 22px;font-weight:700;line-height:1.6;cursor:pointer}.guide-content{padding:4px 24px 24px}.guide-content h3{margin:24px 0 16px}.guide-parts{list-style:none;padding:0;margin:0}.guide-parts>li{display:grid;grid-template-columns:55px minmax(0,1fr);gap:18px;padding:10px 0}.guide-parts span{font-size:12px;color:#765d7d}.guide-parts p,.guide-questions p{margin:0;line-height:1.7}.guide-questions{padding-left:24px}.guide-questions>li{margin:24px 0}.guide-options{margin:12px 0;padding-left:24px;line-height:1.7}.guide-options li{padding:4px}.guide-options .correct{background:#e8f3df;border-radius:8px}.guide-explanation,.guide-level-note{font-size:13px;line-height:1.7;color:#765d7d}.guide-explanation{margin-top:14px!important}.guide-focus{line-height:1.7}
@media(max-width:640px){.guide-filters{grid-template-columns:minmax(0,1fr);gap:20px}.guide-search{grid-column:auto}.guide-actions{display:grid;grid-template-columns:minmax(0,1fr)}.guide-actions button{width:100%}.guide-content{padding:0 18px 20px}.guide-story summary{padding:18px}.guide-parts>li{grid-template-columns:minmax(0,1fr);gap:4px}.guide-questions{padding-left:20px}}

.guide-reset{padding:22px;margin:28px 0;border:1px solid #dfcce6;border-radius:16px}.guide-reset h2{font-size:22px;margin:0 0 16px}.guide-content>button{margin-top:24px}

/* One parent area, with persistent task navigation. */
.parent-navigation{display:flex;gap:10px;flex-wrap:wrap;margin:0 auto 26px;max-width:1180px;padding:8px;background:#ffffff1c;border-radius:18px}.parent-navigation button{flex:1;min-width:120px;background:transparent;border:0;border-radius:12px;color:#fff6df;padding:15px 20px;font:inherit;font-weight:700;box-shadow:none}.parent-navigation button[aria-current]{background:#fff6df;color:#56356a}.parent-heading{display:grid;gap:18px;margin-bottom:34px}.parent-heading h1,.parent-heading p{margin:0}.parent-destinations{display:grid;gap:18px;margin-bottom:42px}.parent-destination{display:flex;align-items:center;gap:22px;text-align:left;padding:26px;border:1px solid #d8c2df;border-radius:18px;background:#fffaf0;color:#452453;box-shadow:none}.parent-destination>.ui-icon{width:30px;height:30px;flex-shrink:0}.parent-destination>span:nth-child(2){display:grid;gap:10px;flex:1}.parent-destination strong{font-size:23px}.parent-destination small{font-size:15px;line-height:1.6;color:#745d7c}.parent-destination>span:last-child{font-size:26px}.parent-reader-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.parent-family h2{margin:0 0 24px}.parent-reader{padding:24px;border:1px solid #dfcce6;border-radius:18px;min-width:0;background:#fffdf7}.parent-reader>img{width:82px;height:82px;object-fit:cover;border-radius:50%}.parent-reader h3{font-size:25px;margin:18px 0}.parent-reader p{line-height:1.7;margin:0 0 16px}.parent-reader-actions{display:grid;gap:18px;margin-top:24px}.parent-reader-actions button{width:100%;font-size:15px;line-height:1.6;padding:14px;white-space:normal;margin:0}.text-button{background:none;border:0;box-shadow:none;text-decoration:underline;color:#654275}.reward-current-quest{margin-top:30px;border:1px solid #ddc8e5;border-radius:18px;padding:24px}.reward-current-quest>summary{font-size:20px;font-weight:700;cursor:pointer}.reward-current-quest[open]>summary{margin-bottom:28px}.reward-tabs{position:relative;margin:26px 0 30px!important}.reward-parent-section{scroll-margin-top:24px}.reward-manager #reward-message:empty{display:none}.reward-manager #reward-message:not(:empty){padding:18px;background:#ecf3e5;border-radius:12px;margin:20px 0}.reward-plan-form{scroll-margin-top:24px}
@media(max-width:700px){.parent-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.parent-navigation button{min-width:0;padding:14px 10px;font-size:14px}.parent-reader-grid{grid-template-columns:minmax(0,1fr)}.parent-destination{padding:22px 18px;gap:16px}.parent-destination strong{font-size:21px}.parent-destination small{font-size:14px}.parent-dashboard,.reward-manager{padding:24px!important}}

/* Toddler / Pre-K coming-soon home. No reading practice exists for this level yet. */
.prek-games{max-width:720px}
.prek-games .parent-heading h1{line-height:1.2}
.prek-plan,.prek-now{margin-top:24px;padding:22px;border:1px solid #e3d2ea;border-radius:18px;background:#fffdf8}
.prek-plan h2,.prek-now h2{font:700 20px Georgia,serif;color:#4d305d;margin:0 0 16px}
.prek-plan article{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:1px solid #f0e7f4}
.prek-plan article:first-of-type{border-top:0;padding-top:0}
.prek-step{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f3e8f8;color:#7a4a95;font-weight:700;font-size:14px}
.prek-plan strong{display:block;font-size:15px;color:#523465;margin-bottom:4px}
.prek-plan p{margin:0;font-size:13px;line-height:1.7;color:#8a7394}
.prek-now p{margin:0 0 16px;font-size:14px;line-height:1.7;color:#8a7394}

/* Global signup throttles, beside the auto-approve toggle. */
.signup-limits{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-top:14px}
.signup-limits input{box-sizing:border-box;width:100%;height:44px;padding:8px 12px;border:1px solid #d7c1e0;border-radius:10px;background:#fff;font:16px/1.3 system-ui,sans-serif;color:#523465}
