:root{--warm-white:#faf8f2;--white:#fff;--charcoal:#29312f;--mulberry:#684f66;--sage:#81907d;--soft-oat:#eee8dc;--secondary-ink:#5e6662;--hairline:#d9d5cb;--hairline-strong:#bbb7ae;--soft-mulberry:#f0e9ef;--soft-sage:#e7ebe5;--ember:#a34f43;--font-heading:Georgia,Cambria,serif;--font-body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-learner:"Comic Sans MS","Comic Sans","Chalkboard SE","Arial Rounded MT Bold",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--warm-white);color:var(--charcoal);font:16px/1.6 var(--font-body)}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--mulberry);outline-offset:4px}button{min-height:48px;padding:10px 18px;border:1px solid var(--hairline-strong);background:var(--white);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:10px;line-height:1.3}button:hover:not(:disabled){background:var(--soft-oat)}button.primary{background:var(--charcoal);color:var(--white);border-color:var(--charcoal)}button.primary:hover:not(:disabled){background:#3f4844}button.listen{color:var(--mulberry);border-color:var(--hairline);background:var(--soft-mulberry)}button.text{border-color:transparent;background:transparent}button.danger{color:var(--ember)}button .icon{width:23px;height:23px;flex-shrink:0}a{color:var(--mulberry)}h1,h2,h3,p{margin-top:0}h1{font-size:2.5rem;line-height:1.2;margin-bottom:16px;font-weight:400}h2{font-size:1.6rem;line-height:1.3;font-weight:400}h3{font-size:1.15rem}.muted{color:var(--secondary-ink)}.small{font-size:.875rem}.eyebrow{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:650;color:var(--secondary-ink)}.badge{display:inline-block;border:1px solid var(--hairline);border-radius:5px;padding:3px 8px;font-size:.8rem;background:var(--white);line-height:1.5}.badge.sage{background:var(--soft-sage)}.badge.mulberry{background:var(--soft-mulberry)}.row{display:flex;align-items:center;gap:14px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:12px}.brand{display:flex;align-items:center;gap:10px;letter-spacing:-.025em;font-weight:550;font-size:1rem}.brand img{width:36px;height:40px}.brand em{font-style:normal;font-weight:400;color:var(--secondary-ink)}.icon{width:24px;height:24px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.skip{position:fixed;left:16px;top:-70px;padding:8px;background:white;z-index:10}.skip:focus{top:10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.learner{--book-green:#365843;--book-ink:#28382d;font-family:var(--font-learner);min-height:100dvh;padding:20px;background:#dce6d5;color:var(--book-ink);display:flex;justify-content:center;align-items:stretch}
.book-pages{width:min(1080px,100%);min-height:calc(100dvh - 40px);background:#fffdf6;border:1px solid #b8c2ab;border-left:18px solid var(--book-green);border-radius:10px 18px 18px 10px;box-shadow:4px 5px 0 #bdcbb5;display:flex;flex-direction:column}
.learner header{min-height:92px;padding:18px 30px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.learner main{width:100%;flex:1;padding:18px 38px 30px;display:flex;flex-direction:column;justify-content:center;outline:none}
.learner button,.learner-modal .picture-button{font-family:var(--font-learner);min-height:64px;border-radius:16px}
.learner .picture-button,.learner-modal .picture-button{width:72px;height:72px;min-width:72px;padding:16px;border:2px solid #a7b29c;color:var(--book-green,#365843);background:#fff}
.learner .picture-button .icon,.learner-modal .picture-button .icon{width:34px;height:34px;stroke-width:1.8}
.learner .picture-button.primary,.learner-modal .picture-button.primary{color:white;background:#365843;border-color:#365843}
.learner .picture-button.listen,.learner-modal .picture-button.listen{background:#f1f5eb;color:#365843;border-color:#9bab8d}
.learner .picture-button:hover:not(:disabled),.learner-modal .picture-button:hover:not(:disabled){background:#e7eddf;color:#28382d}
.learner .adult-entry{width:52px;height:52px;min-width:52px;min-height:52px;padding:12px;background:transparent;border-color:transparent;color:#6c7567}
.learner .adult-entry .icon{width:25px;height:25px}
.learner button:focus-visible,.learner summary:focus-visible,.learner-modal button:focus-visible,.learner-modal summary:focus-visible{outline:4px solid #3f6853;outline-offset:5px}
.picture-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:auto 0;padding:30px 0 76px}
.picture-option{display:flex;flex-direction:column;align-items:center;gap:22px;min-width:0}
.learner .art-button{width:100%;padding:12px;border:2px solid #a7b29c;background:white;border-radius:20px;aspect-ratio:1;display:flex;align-items:center;justify-content:center}
.art-button img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.learner .art-button:hover:not(:disabled){background:#f1f5eb;border-color:#365843}
.lesson-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;min-height:72px}
.page-dots{display:flex;gap:10px;padding:12px;flex-wrap:wrap}
.page-dots span{width:11px;height:11px;border-radius:50%;background:#d5dccf;border:1px solid #87947e}
.page-dots .current{background:#365843;border-color:#365843}
.task{min-height:340px;background:white;border:0;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;gap:28px;text-align:center}
.big-word{font-size:clamp(5rem,11vw,7rem);line-height:1.4;letter-spacing:.04em;color:#26382e;overflow-wrap:anywhere}
.task-actions{display:flex;justify-content:center;align-items:center;gap:24px;flex-wrap:wrap}
.learner .sound-task{min-height:280px;padding:20px;gap:20px}
.learner .adult-controls,.learner-modal .adult-controls{font-family:var(--font-body);margin:16px 0 0;padding:0;border:0;align-self:flex-end;width:100%}
.adult-controls summary{list-style:none;cursor:pointer;display:flex;justify-content:center;align-items:center;width:52px;min-height:52px;margin-left:auto;color:#6c7567;padding:12px 8px}
.adult-controls summary::-webkit-details-marker{display:none}
.adult-controls summary .icon{width:25px;height:25px}
.adult-controls[open] summary{border-bottom:1px solid var(--hairline)}
.adult-notes{padding:18px 8px 8px;border-bottom:1px solid var(--hairline)}
.adult-notes h2{font:600 1rem var(--font-body);margin-bottom:14px}
.learner .adult-controls button{font:14px var(--font-body);min-height:48px;border-radius:8px;padding:12px 16px}
.adult-controls .row{flex-wrap:wrap;margin-bottom:12px}
.sound-observation .adult-notes{border-top:1px solid var(--hairline)}
.quiet-note{font:14px/1.6 var(--font-body);color:var(--secondary-ink);margin:14px 0}
.reward-art{width:280px;height:250px;object-fit:contain;background:white}
.finished-mark .icon{width:110px;height:110px;color:#365843;stroke-width:1.4}
.learner .small-art{width:144px;height:144px;padding:8px}
.section-art{width:104px;height:104px;object-fit:contain}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:20px 0}
.learner .creature{aspect-ratio:1;min-height:0;padding:14px;border:2px solid #a7b29c;border-radius:18px;background:white}
.creature img{width:100%;height:100%;max-height:210px;object-fit:contain;pointer-events:none}
.creature-detail{align-items:center;text-align:center;padding:10px 0 28px}
.empty-book{flex:1;display:flex;align-items:center;justify-content:center;min-height:320px}
.learner .empty-book .art-button{width:220px;height:220px}
.story-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:24px 0}
.story-sentence{font-size:clamp(1.8rem,4.5vw,3rem);line-height:1.8;max-width:100%;word-break:normal}
.supported-name{border-bottom:2px dotted #684f66;cursor:pointer;padding:0!important;background:transparent!important;border-radius:0!important;border-top:0;border-left:0;border-right:0;min-height:48px!important;font-size:inherit!important;display:inline!important;color:inherit}
.story-nav{display:flex;justify-content:space-between;gap:16px;margin-top:24px}
.learner .picture-choice{width:172px;height:160px;padding:28px;border:2px solid #a7b29c;background:white}
.picture-choice .icon{width:90px;height:90px;stroke-width:1.5}
.picture-choice[aria-pressed="true"]{border:4px solid #365843;background:#e7eddf}
.picture-answers{justify-content:center;gap:38px}
.meaning-support{padding:16px;background:#f2f5ed;border-radius:12px;width:100%;display:flex;align-items:center;justify-content:center;gap:32px}
.meaning-support img{width:100px;height:90px;object-fit:contain}
.meaning-support .icon{width:76px;height:76px}
.support-picture{display:flex;align-items:center;justify-content:center;padding:24px}
.support-picture>.icon{width:110px;height:110px;stroke-width:1.3;color:#365843}
.learner-modal{background:#fffdf6;border:2px solid #a7b29c;border-radius:20px;--book-green:#365843}
@media(max-width:850px){.learner{padding:16px}.book-pages{min-height:calc(100dvh - 32px);border-left-width:14px}.learner main{padding:18px 26px 24px}.learner header{padding:18px 26px}.picture-menu{gap:20px;padding-bottom:90px}.learner .art-button{padding:6px}.collection-grid,.story-shelf{gap:16px}.task{padding:24px 16px;min-height:350px}}
@media(max-width:540px){.learner{padding:8px}.book-pages{min-height:calc(100dvh - 16px);border-left-width:8px}.learner main{padding:12px 16px 20px}.learner header{min-height:78px;padding:12px 16px}.learner .picture-button{width:62px;height:62px;min-width:62px;min-height:62px;padding:14px}.picture-menu{grid-template-columns:1fr;gap:18px;padding:14px 0;max-width:320px;width:100%;align-self:center}.picture-option{flex-direction:row;gap:18px}.learner .picture-option .art-button{width:160px;height:150px;aspect-ratio:auto;flex:1}.collection-grid,.story-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.task{min-height:300px;padding:22px 14px}.task-actions{gap:20px}.reward-art{width:230px;height:210px}.learner .picture-choice{width:120px;height:130px;padding:16px}.picture-answers{gap:18px}.story-sentence{font-size:1.8rem}}
.adult-shell{display:grid;grid-template-columns:224px 1fr;min-height:100dvh}.sidebar{background:var(--charcoal);color:white;padding:28px 18px;display:flex;flex-direction:column;gap:28px;position:sticky;top:0;height:100dvh}.sidebar .brand{font-size:.91rem}.sidebar .brand img{filter:none;width:33px}.sidebar .brand em{color:#d9dedb}.sidebar .audience{font-size:12px;margin:5px 0 0 43px;color:#c5ccc8}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{border:0;justify-content:flex-start;border-radius:6px;background:transparent;color:#dce1de;min-height:46px;padding:12px;font-size:14px;position:relative}.sidebar nav button:hover{background:#3c4540}.sidebar nav button.active{background:#ffffff0c;color:white}.sidebar nav button.active:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:2px;background:var(--mulberry)}.sidebar .sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff22;padding-top:22px}.sidebar-bottom p{font-size:12px;color:#c5ccc8}.sidebar-bottom button{background:transparent;color:white;border-color:#ffffff44;width:100%;font-size:14px}.workspace-bar{height:72px;padding:16px 36px;border-bottom:1px solid var(--hairline);background:var(--white);display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}.workspace-bar button{min-height:40px;font-size:14px;padding:8px 14px}.workspace main{max-width:1100px;margin:0 auto;padding:40px 48px}.workspace h1,.workspace h2{font-family:var(--font-heading)}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:32px}.page-heading p{color:var(--secondary-ink);max-width:62ch;margin-bottom:0}.section{padding:28px 0;border-top:1px solid var(--hairline)}.section h2{margin-bottom:12px}.section>p{color:var(--secondary-ink);max-width:70ch}.info-row{padding:18px 0;border-bottom:1px solid var(--hairline);display:flex;gap:20px;align-items:center;justify-content:space-between}.info-row p{margin-bottom:0}.info-row h3{margin-bottom:4px;font-weight:550}.callout{padding:16px 20px;background:var(--soft-oat);border-left:3px solid var(--hairline-strong);font-size:14px;margin:20px 0;border-radius:0 6px 6px 0}.callout.positive{background:var(--soft-sage);border-left-color:var(--sage)}.callout.attention{border-left-color:var(--ember)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.field label{font-size:14px;font-weight:550}.field input,.field select,.field textarea{min-height:48px;border:1px solid var(--hairline-strong);background:var(--white);border-radius:6px;padding:10px 12px;width:100%}.field textarea{min-height:110px;resize:vertical}.checkbox{display:flex;gap:12px;align-items:center;min-height:48px;font-size:14px;cursor:pointer}.checkbox input{accent-color:var(--charcoal);width:20px;height:20px;flex-shrink:0}.sound-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:10px;margin:22px 0}.sound-toggle{position:relative;min-height:60px;display:flex;align-items:center;justify-content:center;border:1px solid var(--hairline-strong);background:var(--white);border-radius:8px;cursor:pointer;font:1.5rem var(--font-learner);gap:8px}.sound-toggle input{width:18px;height:18px;accent-color:var(--mulberry)}.sound-toggle:has(input:checked){background:var(--soft-mulberry);border-color:var(--mulberry)}.sound-toggle:focus-within{outline:3px solid var(--mulberry);outline-offset:3px}.word-list{border-top:1px solid var(--hairline)}.word-row{padding:14px 0;border-bottom:1px solid var(--hairline);display:grid;grid-template-columns:1fr 1.1fr 1fr auto;gap:14px;align-items:center;font-size:14px}.word-row strong{font:1.4rem var(--font-learner)}.word-row .badge{font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:14px 12px;border-bottom:1px solid var(--hairline);vertical-align:top}th{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--secondary-ink);font-weight:550}td:first-child,th:first-child{padding-left:0}.stats{display:flex;gap:0;margin:28px 0;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline)}.stat{flex:1;padding:20px 22px;border-right:1px solid var(--hairline)}.stat:first-child{padding-left:0}.stat:last-child{border-right:0}.stat strong{font:2rem var(--font-heading);display:block}.stat span{font-size:13px;color:var(--secondary-ink)}.sentence-preview{font:1.5rem/1.8 var(--font-learner);padding:18px 0}.sentence-preview p{margin-bottom:6px}.required-sounds{letter-spacing:.12em}.inline-audio{width:100%;height:42px;max-width:440px;margin:12px 0}.tabs-inline{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.tabs-inline button{font-size:14px;min-height:44px}.tabs-inline button.active{background:var(--soft-mulberry);border-color:var(--mulberry)}details{margin:12px 0}details summary{cursor:pointer;padding:10px 0;color:var(--secondary-ink);font-size:14px}.review-checks{padding:16px 0}dialog{border:1px solid var(--hairline);border-radius:12px;padding:30px;background:var(--warm-white);max-width:min(600px,94vw);width:560px;color:var(--charcoal);max-height:90dvh;overflow:auto}dialog::backdrop{background:#29312f55}dialog h2{font-family:var(--font-heading);font-size:1.8rem}dialog .close-row{display:flex;justify-content:flex-end;margin-bottom:10px}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:20;max-width:min(600px,90vw);background:var(--charcoal);color:white;border-radius:8px;padding:14px 22px;font-size:14px;box-shadow:0 4px 20px #29312f22}#notice:empty{display:none}.storage-error{padding:12px 24px;background:var(--soft-oat);border-bottom:1px solid var(--hairline);color:var(--ember);font:14px var(--font-body)}.empty{padding:30px 0;color:var(--secondary-ink)}.empty .icon{width:38px;height:38px;margin-bottom:16px}.print-only{display:none}
@media(min-width:1400px){.workspace main{padding-top:54px}}@media(max-width:1024px){.workspace main{padding:32px}.sound-grid{grid-template-columns:repeat(7,1fr)}.adult-shell{grid-template-columns:210px 1fr}.workspace-bar{padding:14px 26px}.page-heading{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.word-row{grid-template-columns:1fr 1fr auto}.word-row .review-meta{display:none}}@media(max-width:760px){.adult-shell{display:block}.sidebar{height:auto;position:relative;padding:16px 20px;gap:12px}.sidebar nav{flex-direction:row;overflow:auto;padding-bottom:4px;gap:4px}.sidebar nav button{white-space:nowrap;min-height:48px;padding:10px;font-size:13px}.sidebar nav .icon{width:18px;height:18px}.sidebar .sidebar-bottom{display:none}.workspace-bar{height:auto;min-height:62px;padding:12px 20px}.workspace main{padding:28px 20px}.workspace h1{font-size:2rem}.sound-grid{grid-template-columns:repeat(5,1fr);gap:8px}.info-row{flex-wrap:wrap}.stats{flex-wrap:wrap}.stat{flex:1 1 50%;border-bottom:1px solid var(--hairline);padding:18px}.stat:first-child{padding-left:18px}.word-row{grid-template-columns:1fr 1fr auto;gap:10px}.word-row .badge{display:none}.page-heading{margin-bottom:24px}.workspace-bar .muted{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.workspace-bar,button,dialog,#notice,.learner header,.learner footer{display:none!important}.adult-shell{display:block}.workspace main{padding:0}.print-only{display:block}}
.download-link{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:12px 20px;background:var(--charcoal);color:white;text-decoration:none;border-radius:8px;margin:12px 0}.download-link:hover{background:#3f4844}.sidebar .brand span{max-width:145px}
#notice.learner-notice{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;box-shadow:none}
.more-tools{margin:14px 0 0;border-top:1px solid #ffffff22;padding-top:8px}
.more-tools summary{color:#c5ccc8;min-height:46px;padding:12px;font-size:13px}
.more-tools>div{display:flex;flex-direction:column;gap:4px}
.daily-reward{display:flex;align-items:flex-start;gap:10px;color:var(--secondary-ink);margin:0 0 24px}
.daily-reward .icon{width:19px;height:19px;flex-shrink:0;margin-top:2px;color:var(--sage)}
.daily-section{padding:24px 0}.daily-section h2,.known-sounds h2{margin:0;font-size:1.4rem}
.daily-section .sound-grid{margin:18px 0}.daily-section .row>p{margin-bottom:0}
.word-search{max-width:300px;margin:20px 0 12px}.word-search label{font-size:13px}
.selected-words{margin:0 0 16px}.selected-words strong{font-weight:550}
.daily-word-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:8px;margin-bottom:18px}
.word-toggle{min-height:54px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--hairline-strong);border-radius:6px;background:var(--white);cursor:pointer}
.word-toggle input{width:18px;height:18px;flex-shrink:0;accent-color:var(--mulberry)}
.word-toggle span{font:1.3rem var(--font-learner)}
.word-toggle:has(input:checked){background:var(--soft-mulberry);border-color:var(--mulberry)}
.word-toggle:focus-within{outline:3px solid var(--mulberry);outline-offset:3px}
.more-words summary{min-height:48px;padding:12px 0}.more-words .daily-word-grid{margin-top:10px}
@media(max-width:760px){.sidebar nav{flex-wrap:wrap;overflow:visible}.sidebar nav>button{flex:1;padding:10px 7px}.sidebar nav>button .icon{display:none}.more-tools{width:100%;margin-top:4px;padding-top:0}.more-tools summary{min-height:40px;padding:10px 7px}.more-tools>div{flex-direction:row;flex-wrap:wrap}.more-tools>div button{flex:1 1 45%;font-size:13px}.daily-section .sound-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.daily-word-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr))}.workspace-bar>span{max-width:65%}.workspace-bar .cloud-status{display:block;font-size:12px}}
