@font-face{font-family:Lexend;src:url('../assets/lexend.woff2') format('woff2');font-weight:400 600;font-display:swap}
:root,[data-theme=light]{--bg:#F6F1E7;--text:#2E3A46;--text-muted:#5E6B77;--primary:#4F6F8C;--on-primary:#FFFFFF;--link:#3F5A73;--panel-left:#DCE6EE;--panel-right:#EFE3CF;--shape-blue:#4F6F8C;--shape-sand:#D2B279;--success:#7A9E7E;--drag-shadow:0 10px 24px rgba(46,58,70,.18)}
[data-theme=dim]{--bg:#1F2730;--text:#E8E4DA;--text-muted:#A9B2BA;--primary:#8FB0CC;--on-primary:#1F2730;--link:#8FB0CC;--panel-left:#2C3A47;--panel-right:#3D3528;--shape-blue:#5F829F;--shape-sand:#E3C894;--success:#8DB592}
:root{--font:Lexend,Verdana,Tahoma,'Trebuchet MS',sans-serif;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s6:24px;--s8:32px;--s12:48px;--s16:64px;--s24:96px;--s32:128px;--hair:color-mix(in srgb,var(--text) 20%,transparent)}
:root{--ink-on-shape:#2E3A46}
:root{
  --home-paper:#FBF7EF;
  --home-ink:#243F3B;
  --home-muted:#53635B;
  --home-surface:#FFFCF7;
  --home-blue-wash:#EEF0E6;
  --home-sand-wash:#F1E6D5;
  --home-line:#CCD1C3;
  --home-blue:#557A67;
  --home-sand:#C5A577;
  --home-dim-paper:#1F2E2B;
  --home-dim-ink:#F2EEE4;
  --home-dim-muted:#B8C5BA;
  --home-dim-surface:#293B35;
  --home-dim-blue-wash:#32483C;
  --home-dim-sand-wash:#453E30;
  --home-dim-line:#697A6B;
  --home-dim-blue:#A3BDA8;
  --home-dim-sand:#D8BF94;
}

:root{--home-accent:#96543D;--home-dim-accent:#D5A68A}

:root{--home-catalog-blue:#E8EEF0;--home-dim-catalog-blue:#2E4147}

/* The practice space shares the catalogue's painted, warm-paper world. */
html:has(.exercise-page){--bg:#FBF7EF;--text:#243F3B;--text-muted:#53635B;--primary:#436452;--on-primary:#FFFCF5;--link:#365B49;--panel-left:#E9EEE4;--panel-right:#F4E8D3;--shape-blue:#91B5C6;--shape-sand:#E4C88F;--success:#648B6B;--practice-surface:#FFFCF5;--practice-blue:#E5EEF0;--practice-edge:#75826F;--drag-shadow:0 12px 24px rgba(36,63,59,.16)}
html[data-theme=dim]:has(.exercise-page){--bg:#1F2E2B;--text:#F2EEE4;--text-muted:#B8C5BA;--primary:#B8CFB8;--on-primary:#1F2E2B;--link:#C8DBBC;--panel-left:#30463B;--panel-right:#443E30;--shape-blue:#9ABFCF;--shape-sand:#E4C88F;--success:#A2BFA0;--practice-surface:#293B35;--practice-blue:#2E4449;--practice-edge:#A8B8A9}

html:has(.exercise-page){--primary:#96543D;--on-primary:#FFFCF5}html[data-theme=dim]:has(.exercise-page){--primary:#D5A68A;--on-primary:#1F2E2B}
/* Essential marks keep their contrast on paper and on the painted wood. */
html:has(.exercise-page){--success:#3F6148;--object-edge:#4B624C;--blue-edge:#4F7282;--honey-edge:#876329;--ink-on-pebble:#092018;--hand-mini-left:#648B6B;--hand-mini-right:#A57C3A}
html[data-theme=dim]:has(.exercise-page){--success:#B8CFB8;--object-edge:#B8CFB8;--blue-edge:#91B5C6;--honey-edge:#D8BF94;--hand-mini-left:#9BB79F;--hand-mini-right:#D8BF94}
.pill-row{display:flex;flex-wrap:wrap;gap:16px}.pill{border:2px solid var(--text);background:transparent;color:var(--text);border-radius:999px;min-height:56px;padding:12px 24px;font-size:1rem;font-weight:600}.pill[aria-pressed=true],.pill.selected{background:var(--text);color:var(--bg)}
@media(min-width:768px){}
@media(max-width:1100px){}
@media(max-width:950px){}
@media(max-width:767px){}
@media(orientation:portrait){}
@media(prefers-reduced-motion:reduce){}
@media print{.site-header,.site-footer,.progress-actions,.settings-dialog{display:none!important}}
/* Dense learning controls retain full touch targets in a local scrolling region. */
@media(min-width:768px) and (max-width:899px){}
/* First visual review: preserve targets while removing empty vertical space. */
@media(max-width:950px){}
@media(max-width:767px){}
@media(min-width:900px) and (max-height:850px){}
/* Technical accessibility layer: bypass, focus visibility, reflow and gesture alternatives. */.settings-dialog :focus-visible{outline-offset:3px}
@media(max-width:600px){}
@media print{}

/* Keep the main action reachable while long boards remain freely scrollable. */
@media(max-width:767px){}
@media(min-width:768px){}
@media print{}

/* Short landscape keeps both full-size stones and rings above the action bar after scrolling. */
@media(orientation:landscape) and (max-height:500px) and (min-width:601px){}

/* Browser focus scrolling must reserve the space occupied by the fixed task actions. */

/* A keyboard-focusable whole board needs its full height, including its focus outline. */

/* Shared illustrated exercise shell; interaction geometry stays with each activity. */
@font-face{font-family:Newsreader;src:url(../assets/fonts/newsreader-latin.woff2) format('woff2');font-style:normal;font-weight:400 600;font-display:swap}
@media(max-width:950px){}
@media(max-width:600px){}
@media(orientation:landscape) and (max-height:500px){}

@media(orientation:landscape) and (max-height:500px) and (min-width:601px){}

/* A deliberate phone masthead keeps both navigation controls together. */
@media(max-width:600px){}
/* Short landscape shows the rule, source, both destinations and task actions together. */
@media(orientation:landscape) and (max-height:500px) and (min-width:601px){
}

/* Active practice: one open scene between a small toolbar and a single action row. */
@media(max-width:359px){}
@keyframes object-settle{}
@media(max-width:600px){}
@media(orientation:landscape) and (max-height:500px){}
@media(max-width:359px),(max-height:359px){}
@media(orientation:landscape) and (max-height:500px){}
@media(max-width:600px){}
@media(orientation:landscape) and (max-height:500px){}

/* Keep the working group human-sized on a wide open stage. */
@media(orientation:landscape) and (max-height:500px){
}

/* Keep instruction, source and two deep trays together in the center of the stage. */
@media(max-width:600px),(max-height:700px){}
@media(orientation:landscape) and (max-height:500px){}

/* A completed leaf belongs to the task that just finished, including before Next. */
@keyframes focus-wave{}
@keyframes focus-check-reveal{}
@keyframes focus-settle{}
@media(orientation:landscape) and (max-height:500px){}
@media(prefers-reduced-motion:reduce){}

/* Comfort settings: a compact sheet with one shared control per choice. */
.settings-dialog{--bg:var(--home-paper);--text:var(--home-ink);--text-muted:var(--home-muted);--primary:var(--home-accent);--on-primary:var(--home-paper);--settings-selected:var(--home-blue-wash);--settings-line:var(--home-line);background:var(--bg);color:var(--text);border:0;border-radius:16px;padding:0;width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:0 18px 56px color-mix(in srgb,var(--home-ink) 20%,transparent)}
html[data-theme=dim] .settings-dialog{--bg:var(--home-dim-paper);--text:var(--home-dim-ink);--text-muted:var(--home-dim-muted);--primary:var(--home-dim-accent);--on-primary:var(--home-dim-paper);--settings-selected:var(--home-dim-blue-wash);--settings-line:var(--home-dim-line)}
.settings-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.settings-dialog::backdrop{background:color-mix(in srgb,var(--home-ink) 18%,transparent)}
.settings-dialog .dialog-head{padding:24px 24px 12px}
.settings-dialog h2{font-size:1.75rem;line-height:1.25}
.settings-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 24px;scrollbar-color:var(--settings-line) var(--bg);scrollbar-width:thin}
.settings-dialog .setting{display:grid;grid-template-columns:minmax(0,1fr) 17rem;align-items:center;gap:16px;min-height:72px;padding:10px 0;border-bottom:1px solid var(--settings-line)}
.settings-dialog .setting:last-of-type{border-bottom:0}
.settings-dialog .setting strong{font-size:1rem;font-weight:500;line-height:1.4}
.settings-dialog .pill-row{display:grid;grid-template-columns:1fr 1fr;gap:0;min-width:0;padding:3px;border:1px solid var(--settings-line);border-radius:12px}
.settings-dialog .pill{display:flex;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:44px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:.9375rem;font-weight:500;line-height:1.4}
.settings-dialog .pill:hover{background:color-mix(in srgb,var(--settings-selected) 65%,var(--bg))}
.settings-dialog .pill[aria-pressed=true]{background:var(--settings-selected);color:var(--text)}
.settings-dialog .setting-check{width:16px;height:16px;flex:none;visibility:hidden}
.settings-dialog .pill[aria-pressed=true] .setting-check{visibility:visible}
.settings-dialog :focus-visible{outline:3px solid var(--text);outline-offset:2px;position:relative;z-index:1}
.settings-dialog .dialog-footer{display:flex;justify-content:flex-end;padding:16px 24px 24px;background:var(--bg)}
.settings-dialog .dialog-footer .btn{min-height:44px;padding:10px 24px}
@media(max-width:620px){.settings-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.settings-dialog .dialog-head{padding:20px 20px 12px}.settings-body{padding:0 20px}.settings-dialog .setting{grid-template-columns:minmax(0,1fr);gap:4px;padding:8px 0}.settings-dialog .pill{padding:8px 4px}.settings-dialog .dialog-footer{padding:12px 20px 20px}}

/* A shared working group for the six comparison and choice activities. */
@media(min-width:1400px){}
@media(max-height:850px){}
@media(max-width:600px){}
@media(orientation:landscape) and (max-height:500px){}

/* Short phones keep the full choice set above the action row. */
@media(orientation:portrait) and (max-width:600px) and (max-height:700px){
}

/* Look-Alikes keeps its instruction steady when the answer grid changes. */
@media(orientation:landscape) and (max-height:500px){}
@media(orientation:portrait) and (max-width:600px) and (max-height:700px){}

/* Number Line: the numbered stone points to one exact position on the axis. */

/* Exercise introductions share a quiet{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;min-height:80px;padding:8px 0}
@media(max-width:520px){}
@media(max-width:680px){}

/* Introductions center one complete, static working example before play. */
.level-choice .pill-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;align-items:stretch}
.exercise-page .level-choice .pill{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;min-width:0;min-height:44px;padding:10px 12px;border:1.5px solid var(--practice-edge);border-radius:12px;background:var(--practice-surface);color:var(--text);font-size:.9375rem;line-height:1.3;text-align:left}
.level-choice .pill span{font-size:.8125rem;font-weight:400;line-height:1.35}
@media(max-aspect-ratio:5/4){.level-choice .pill{text-align:left}}
@media(max-width:600px){.exercise-page .level-choice .pill{padding:8px 9px;font-size:.875rem}.level-choice .pill span{font-size:.8125rem}}
@media(max-width:600px) and (max-height:700px){}


/* A one-pixel natural edge follows the artwork alpha instead of boxing it in. */
/* Child controls are shared by exercise introductions, play, and completion only. */
/* Intro: large artwork beside the centred working column on wide screens. */
.exercise-page .child-ui.intro-shell .level-choice .pill{align-items:center;justify-content:center;gap:3px;padding:24px 6px 6px;min-height:116px;text-align:center}
@media(max-width:600px){
 .child-ui.intro-shell .level-choice .pill-row{gap:6px}
 .exercise-page .child-ui.intro-shell .level-choice .pill{padding:24px 3px 4px;min-height:104px;gap:1px}
}
@media(max-height:720px){
}
@media(max-width:600px) and (max-height:720px){
}
/* The wide introduction gives its text and choices the same weight as the artwork. */
@media(min-width:900px) and (orientation:landscape){
 .exercise-page .child-ui.intro-shell .level-choice .pill{min-height:136px;padding:28px 6px 6px;gap:2px}
}
.tutorial-overlay{position:fixed;inset:0;z-index:40;pointer-events:none;color:var(--text);overflow:visible}
.tutorial-overlay>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none}
.tutorial-overlay polyline{fill:none;stroke:currentColor;stroke-width:2;stroke-dasharray:5 7;stroke-linecap:round;opacity:.55}
.tutorial-hand{position:absolute;left:0;top:0;width:36px;height:36px;opacity:.72;will-change:transform}
.tutorial-hand>.ui-symbol{display:block;width:36px;height:36px;fill:none}
.tutorial-mark{position:absolute;left:30px;top:-20px;display:grid;place-items:center;min-width:32px;min-height:32px;background:var(--practice-surface);color:var(--text);border:1px solid var(--practice-edge);border-radius:8px;font:600 1.5rem/1 var(--font)}
.tutorial-static .tutorial-hand>.ui-symbol{visibility:hidden}
.tutorial-static polyline{stroke-dasharray:none;opacity:.75}
@media(max-width:600px){}
@media(max-width:380px){}
@media(orientation:landscape) and (max-height:500px){}

@media(min-width:601px) and (min-height:501px) and (max-height:720px){}

/* Keep instructions anchored and the working group centered below them. */
@media(min-width:601px) and (max-height:720px){}
@media(max-width:600px) and (max-height:720px){}

/* Answer feedback is contained by the selected object. */

/* A permanent top band keeps the selected mark clear of every tile's content. */
/* One selected-answer mark across the child games; completion keeps its own art. */



@media(min-width:601px) and (min-height:501px) and (max-height:720px){
}
/* Reading keeps its compact rows and reserves a permanent right-hand column. */
@media(max-width:600px){
}


@media(min-width:601px) and (min-height:501px) and (max-height:720px){
}
@media(max-width:600px){
}
@media(min-width:601px) and (min-height:501px) and (max-height:720px){
}
@media(max-width:600px) and (max-height:720px){
}

/* Letter Finder keeps whole words, with only an oversized word scrolling. */
@media(max-width:600px){
}
@media(max-width:600px) and (max-height:720px){
}

/* Both mirror halves use one SVG unit scale, independent of choice count. */
@media(max-width:600px){
}

/* Connect the Dots: a quiet reference card beside the working board. */

/* Each sequence card shows the same two pads used by the child's hands. */

/* Punctuation is chosen directly, without opening a native select menu. */
@media(max-width:600px){
}

/* Content audio is always explicit; the picture and sentence remain visible. */
@media(max-width:600px){
}
@font-face{font-family:Newsreader;src:url("../assets/fonts/newsreader-latin.woff2") format("woff2");font-weight:400 700;font-display:swap}
*{box-sizing:border-box}
html{background:var(--bg);color:var(--text);font-family:var(--font);scroll-behavior:auto}
body{margin:0}button,a{font:inherit;color:inherit}button{cursor:pointer}a{text-decoration:none}button:disabled{opacity:.42;cursor:default}
button:focus-visible,a:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid var(--blue-edge);outline-offset:4px}h1:focus{outline:none}
h1,h2,p{margin:0}h1,h2{font-family:Newsreader,Georgia,serif;font-weight:500;line-height:1.04;letter-spacing:-.032em}
#app{width:min(1120px,92%);margin:0 auto 60px}.mast,.topbar,.foot,.section-head,.collection-head,.tools,.done-actions{display:flex;align-items:center;justify-content:space-between}
.mast{height:82px;border-bottom:1px solid var(--home-line)}.portal-logo,.portal-logo img{display:block;width:174px;height:auto}.portal-logo img,.portal-logo,.hero-art{mix-blend-mode:multiply}
html[data-theme=dim] .hero-art,html[data-theme=dim] .portal-logo{mix-blend-mode:normal;border-radius:10px}html[data-theme=dim] .portal-logo{content:url("../assets/images/mind-fluent-logo-dim.webp")}html[data-theme=dim] a.portal-logo{content:normal}html[data-theme=dim] a.portal-logo img{content:url("../assets/images/mind-fluent-logo-dim.webp")}
.tool,.quiet,.step,.main-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:8px 18px;font:500 1rem var(--font);border:1px solid transparent;line-height:1.2}
.tool,.quiet{background:transparent;color:var(--text)}.tool{width:56px;padding:10px;border-radius:50%}.quiet{border-radius:8px}.main-btn,.settings-dialog .btn{border-radius:100px;background:var(--primary);color:var(--on-primary);font-weight:600}.main-btn{padding:10px 24px}.main-btn svg{width:24px}.ui-symbol{width:25px;height:25px;flex-shrink:0}.tool:hover,.quiet:hover,.step:hover{background:var(--panel-left)}
.hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:5%;padding:clamp(24px,4vw,60px) 4%;min-height:320px}
.hero h1{font-size:clamp(58px,6.8vw,95px);margin:13px 0 12px}.eyebrow{font-size:.77rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--text-muted)}.deck{font-size:clamp(16px,1.35vw,20px);line-height:1.5;max-width:37ch;margin-bottom:21px}
.hero-art{width:100%;height:clamp(195px,22vw,275px);object-fit:contain}
.section-head{border-top:1px solid var(--home-line);padding:26px 0 17px;gap:12px}.section-head h2{font-size:clamp(27px,3vw,39px)}.section-head>span,.family small{color:var(--text-muted);font-size:.87rem}
.families,.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.family,.tile{border:1px solid var(--home-line);border-radius:14px;background:var(--practice-surface);position:relative;display:grid;align-content:start;color:var(--text);min-width:0}.family:hover,.tile:hover{border-color:var(--object-edge);background:var(--panel-left)}
.family{padding:16px 18px 17px}.family .thumb{width:100%;height:75px;margin:2px 0 15px}.family strong,.tile span{font-size:1.04rem;line-height:1.3;font-weight:550}.family small{display:block;margin-top:3px}.family>.ui-symbol{position:absolute;bottom:15px;right:13px;width:15px}.family:nth-child(4n+2),.family:nth-child(4n+3){background:color-mix(in srgb,var(--panel-left) 40%,var(--practice-surface))}
.thumb{overflow:visible}.thumb path{fill:none;stroke-width:2.4;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.ink0{stroke:var(--success)}.ink1{stroke:var(--honey-edge);stroke-dasharray:3 4}
.collection-head{gap:20px;margin:36px 0}.collection h1,.done-page h1{font-size:clamp(43px,6vw,78px)}.collection-head p,.done-page p{line-height:1.5;color:var(--text-muted);margin-top:8px}.tile{padding:17px 19px;gap:12px}.tile .thumb{width:100%;height:90px}.tile i{position:absolute;top:6px;right:9px;color:var(--success)}.tile i svg{width:19px}
.in-play #app{width:min(1020px,94%);margin:0 auto}.player{min-height:390px;height:100dvh;display:grid;grid-template-rows:72px auto minmax(0,1fr) 80px}
.topbar,.foot{border-bottom:1px solid var(--home-line);gap:10px}.topbar{position:relative}.tools{gap:2px}.leaves{position:absolute;left:50%;transform:translateX(-50%);pointer-events:none}.progress-branch{width:clamp(65px,16vw,170px);height:34px;display:flex;align-items:center;justify-content:space-around;position:relative}.branch-stem{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--practice-edge);stroke-width:2}.branch-leaf{position:relative;width:16px;height:11px;border:1.5px solid var(--practice-edge);border-radius:80% 10% 80% 10%;background:var(--bg);transform:rotate(-25deg)}.branch-leaf.own,.branch-leaf.help,.branch-leaf.retry{background:var(--success)}.branch-leaf.current{border-width:2px}
.task-title{text-align:center;padding:clamp(10px,2.4vh,24px) 0 2px}.task-title h1{font:500 clamp(22px,3vw,35px)/1.2 var(--font);display:flex;align-items:center;justify-content:center;gap:12px;letter-spacing:-.025em}.task-title h1 svg{width:32px;height:32px}.task-title .eyebrow{margin-bottom:7px;letter-spacing:.065em;text-transform:none;font-size:.88rem}
.workspace{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:0;gap:10px}.drawing{position:relative;width:min(86%,720px);height:min(40vh,368px);isolation:isolate}.drawing>svg{width:100%;height:100%;overflow:visible}
.base,.fill,.ghost,.direction,.thread,.thread-under{fill:none;stroke-linecap:round;stroke-linejoin:round}.route0{stroke:var(--success)}.route1{stroke:var(--honey-edge)}.base{stroke-width:2.1;opacity:.81}.base.route1{stroke-dasharray:1.3 2.8}.fill{stroke-width:3.4}.ghost{stroke-width:1;opacity:.22}.ghost.done{opacity:.7}.finish{fill:var(--bg);stroke-width:1.4}.finish.reached{fill:var(--success)}.direction{stroke-width:1.6}
.stone,.thread-end{position:absolute;transform:translate(-50%,-50%);border:0;display:grid;place-items:center;touch-action:none;width:56px;height:56px;padding:13px;background:transparent url("../assets/images/practice-pebble.webp") center/contain no-repeat;color:var(--ink-on-pebble);border-radius:50%}.stone.at-end{z-index:-1;pointer-events:none}.step-controls{display:flex;gap:10px}.step{background:var(--practice-surface);border:1px solid var(--practice-edge);border-radius:32px;min-width:65px}.step[aria-disabled=true]{opacity:.5}.foot{border:0;border-top:1px solid var(--home-line);padding:8px 0}.foot #status{font-size:.86rem;text-align:center;color:var(--text-muted);max-width:42ch}
.thread,.thread-under{stroke-width:2;stroke:var(--text-muted)}.thread-under{stroke-width:6;stroke:var(--bg)}.thread.inspect{stroke:var(--honey-edge);stroke-width:4}.thread-start{fill:var(--success);stroke:var(--bg);stroke-width:2}.thread-end{border:1px solid var(--practice-edge);background:var(--practice-surface);color:var(--text)}.thread-end[aria-pressed=true]{border:3px solid var(--success);box-shadow:0 0 0 2px var(--bg)}.thread-end[aria-pressed=true]:after{content:"✓";position:absolute;right:-4px;bottom:-4px;color:var(--on-primary);background:var(--success);border-radius:50%;font-size:13px;width:18px;height:18px}
.breathing,.done-page{text-align:center}.breath-picture{width:min(58vw,350px);height:min(24vh,175px);display:grid;place-items:center;margin:auto}.breath-picture .thumb{width:68%;height:67%;transition:transform .23s}.breath-picture[data-phase="1"] .thumb{transform:scale(1.3)}.breath-cue{margin:10px 0 16px}.done-page{display:grid;justify-items:center;gap:16px;margin:clamp(30px,8vh,85px) auto}.done-mark{width:64px;height:64px;background:var(--panel-left);color:var(--success);border-radius:50%;display:grid;place-items:center}.done-mark svg{width:38px;height:38px}.done-actions{gap:12px}
html[data-size=large]{font-size:20px}html[data-spacing=wide]{letter-spacing:.04em;word-spacing:.06em}html[data-motion=none] *{transition:none!important}html[data-nowords=true] .words,html[data-nowords=true] .eyebrow,html[data-nowords=true] #status{display:none}
@media(max-width:850px){.families,.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){#app{width:91%}.mast{height:63px}.portal-logo,.portal-logo img{width:143px}.hero{padding:20px 0;gap:0;grid-template-columns:1.35fr .85fr;min-height:200px}.hero h1{font-size:48px}.hero-art{height:140px}.deck{font-size:14px}.hero .main-btn{padding:9px 13px;font-size:14px}.section-head{padding:19px 0 14px;align-items:baseline}.section-head>span{font-size:.73rem;text-align:right}.families,.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.family,.tile{padding:12px}.family .thumb,.tile .thumb{height:64px}.family strong,.tile span{font-size:.93rem}.family small{font-size:.77rem}.family>.ui-symbol{display:none}.collection-head{align-items:flex-start;flex-direction:column;margin:23px 0 18px;gap:14px}.player{grid-template-rows:64px auto minmax(0,1fr) 76px}.topbar .quiet .words{display:none}.leaves{left:45%}.drawing{width:87%;height:min(36vh,255px)}.stone{padding:14px}.thread-end{width:56px;height:56px}.step-controls .step{font-size:.86rem;padding:8px 12px}.foot .quiet,.foot .main-btn{padding:8px 12px}.foot #status{font-size:12px}.section-head h2{font-size:26px}.done-actions{flex-wrap:wrap;justify-content:center}}
@media(max-height:500px) and (orientation:landscape){.player{min-height:300px;grid-template-rows:56px auto minmax(0,1fr) 58px}.task-title{padding:3px}.task-title h1{font-size:19px}.task-title .eyebrow{margin:0}.workspace{flex-direction:row;gap:18px}.drawing{width:min(64%,570px);height:min(44vh,185px)}.step-controls{flex-direction:column;gap:2px}.breathing{display:flex;align-items:center;gap:14px}.breath-picture{width:170px}.step{min-height:49px}.foot .main-btn,.foot .quiet{min-height:48px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.practice-choices{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.practice-choices select{font:500 1rem var(--font);color:var(--text);background:var(--practice-surface);border:1px solid var(--practice-edge);border-radius:24px;padding:8px 10px;min-height:48px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.portrait-shape{width:min(86%,455px)}.task-title #speak{min-height:44px;width:44px;padding:5px}.task-title #speak svg{width:24px}.step:focus-visible,select:focus-visible{outline:3px solid var(--blue-edge);outline-offset:3px}
@media(max-width:600px){.hero{position:relative;grid-template-columns:1fr;padding:22px 0}.hero h1{font-size:clamp(39px,10.5vw,57px);margin:7px 0 11px}.hero .deck{width:65%;margin-bottom:13px;font-size:14px}.hero-art{position:absolute;width:32%;height:auto;max-height:138px;right:0;top:24px;pointer-events:none}.practice-choices{gap:7px}.practice-choices select,.practice-choices .main-btn{min-height:48px}.hero .main-btn{font-size:14px}}
