.health-town{--health-ink:var(--ink,#253e43);color:var(--health-ink);max-width:1200px;margin:auto}.health-town *{box-sizing:border-box}.health-heading{padding:1.4rem;background:var(--surface,#fff);border-radius:24px;margin-bottom:1rem}.health-heading h1{font-size:clamp(2rem,5vw,3.2rem);margin:.3rem 0;color:var(--primary,#28685a)}.health-town button,.health-town select{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.health-town button:focus-visible,.health-town select:focus-visible,.health-town summary:focus-visible{outline:3px solid var(--primary,#28685a);outline-offset:3px}.health-town [hidden]{display:none!important}.health-es{display:block;font-size:.93em;margin-top:.25rem;color:var(--muted,#4d6065)}.health-map{background:var(--surface,#fff);border-radius:24px;padding:1rem;margin-bottom:1.2rem}.health-town summary{cursor:pointer;font-weight:750;min-height:44px;padding:.5rem}.health-map svg{display:block;max-height:240px;width:100%;margin:.5rem auto}.health-map nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}.health-map button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:.3rem}.health-map button>span:first-child{font-size:1.6rem}.health-map small{font-size:.83rem}.health-map [data-station-score]{font-weight:700}.health-practice{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,1.5fr);gap:1rem;align-items:start}.health-reference{position:sticky;top:1rem;min-width:0;background:var(--surface,#fff);border-radius:22px;padding:1rem}.health-scene{position:relative;border-radius:18px;overflow:hidden}.health-scene svg{display:block;width:100%}.health-scene-icon{position:absolute;left:35%;top:27%;font-size:clamp(2rem,5vw,4rem);filter:drop-shadow(0 3px 0 white)}.health-practice .exercise{min-width:0;padding:clamp(1rem,3vw,1.5rem);background:var(--surface,#fff);border-radius:22px}.health-practice h2{font-size:1.35rem;line-height:1.45;margin:.75rem 0}.health-practice .exercise-markers{display:flex;gap:.4rem;flex-wrap:wrap}.health-practice [aria-current=step]{box-shadow:inset 0 0 0 3px var(--primary,#28685a)}.health-choices{border:0;padding:0;display:grid;gap:.6rem;min-width:0}.health-choices legend{padding-bottom:.5rem;font-weight:650}.health-choices label{display:flex;align-items:center;gap:.6rem;padding:.85rem;border:2px solid var(--border,#d6e1df);border-radius:14px;cursor:pointer;min-height:52px}.health-choices label:has(input:checked){border-color:var(--primary,#28685a);background:var(--background,#f3f8f4)}.health-choices input{flex:0 0 auto;width:20px;height:20px;accent-color:var(--primary,#28685a)}.health-actions,.health-pieces,.health-audio-buttons{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.health-pieces button,.health-classify-row [data-piece]{touch-action:none;user-select:none}.health-tray{min-height:90px;padding:.75rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;border:2px dashed var(--primary,#28685a);border-radius:16px;background:var(--background,#f3f8f4)}.health-classify{display:grid;gap:.75rem}.health-group{padding:.8rem;border:2px dashed var(--border,#bdcfcb);border-radius:16px;min-height:70px}.health-group span{display:block}.health-classify-row{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;align-items:center}.health-classify-row label,.health-classify-row select{min-width:0;width:100%}.health-classify-row select{border-radius:10px;padding:.5rem;background:var(--surface,#fff);color:inherit;border:1px solid var(--border,#bdcfcb)}.health-feedback{min-height:2rem;line-height:1.6;padding:.5rem 0;font-weight:650}.health-search{display:grid;grid-template-columns:repeat(var(--search-size),minmax(0,1fr));gap:2px;max-width:500px;touch-action:none;user-select:none;-webkit-user-select:none;overflow:hidden}.health-town .health-letter{min-width:0;min-height:36px;aspect-ratio:1;padding:0;border:1px solid var(--border,#bfd0c8);border-radius:5px;background:var(--surface,#fff);color:inherit;font-size:clamp(.8rem,2vw,1.1rem);font-weight:800;touch-action:none}.health-letter.selecting{outline:2px solid #a56a1c;outline-offset:-3px;background:#ffe1a0!important;color:#362510!important}.health-town .health-letter.found{background:#cee9d2;color:#143c28;border:2px solid #3c7850}.health-search-words{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;padding-left:1.2rem}.health-search-words .found{text-decoration:line-through;font-weight:750}.health-vocabulary{margin:1.3rem 0;padding:1rem;background:var(--surface,#fff);border-radius:22px}.health-word-bank{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.health-word-bank article{border:1px solid var(--border,#d3e1dc);border-radius:18px;padding:1rem;min-width:0}.health-word-bank h3{margin:.4rem 0}.health-word-icon{font-size:2.5rem}.health-word-bank p{line-height:1.5}.health-word-bank strong{white-space:normal}.health-town .sources{margin-top:1rem}.health-town .drop-hover{outline:3px solid var(--primary,#28685a);background:#e4f1d7}.health-town .drop-ready{border-style:solid}
@media(min-width:760px) and (max-width:1100px){.health-practice{grid-template-columns:minmax(210px,.65fr) minmax(0,1.4fr)}.health-map nav{grid-template-columns:repeat(4,minmax(0,1fr))}.health-word-bank{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:759px){.health-map nav{grid-template-columns:repeat(2,minmax(0,1fr))}.health-practice{display:block}.health-reference{top:0;z-index:3;padding:.4rem .75rem;margin-bottom:.7rem;box-shadow:0 3px 8px #173b3510}.health-reference .health-scene{display:none}.health-reference details:not([open]){max-height:54px}.health-reference details[open]{max-height:38vh;overflow:auto}.health-word-bank{grid-template-columns:1fr}.health-town .health-letter{min-height:32px}.health-heading{padding:1rem}.health-classify-row{grid-template-columns:1fr}.health-map svg{max-height:170px}.health-practice h2{font-size:1.2rem}}
@media(prefers-reduced-motion:reduce){.health-town *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.health-search-scroll{max-width:100%;overflow:auto;padding:5px;overscroll-behavior:contain;border-radius:12px;border:1px solid var(--line,#d3e1dc)}.health-search{width:max(100%,calc(var(--search-size) * 46px));min-width:calc(var(--search-size) * 46px);max-width:none}.health-town .health-letter{min-width:44px;min-height:44px;aspect-ratio:1}.health-choices label{display:grid;grid-template-columns:24px 1fr;align-items:start}.health-choices label input{grid-row:1 / span 2;margin-top:3px}.health-choices label .health-es{grid-column:2}.health-scene-caption{font-size:.88rem;line-height:1.4}.health-reference svg{max-height:260px}.health-summary{padding:1rem;border:2px solid var(--line,#d3e1dc);border-radius:16px;margin-top:1rem}.health-summary ul{padding-left:1.3rem}@media(max-width:759px){.health-reference .health-scene{display:block;max-height:86px;float:left;width:115px;margin-right:.7rem}.health-reference svg{height:86px;width:115px}.health-reference .health-scene-caption{font-size:.76rem;max-height:50px;overflow:auto;margin:.3rem 0}.health-reference{display:flow-root}.health-reference details{clear:both}.health-reference details[open]{max-height:30vh}}@media(prefers-reduced-motion:no-preference){.health-town .celebration{position:fixed;inset:20% 1rem auto;z-index:30;text-align:center;padding:1rem;background:#fff8dc;border-radius:20px;box-shadow:0 8px 40px #244b3430}}
.health-classify-row:has(.health-inline-audio){grid-template-columns:minmax(0,1fr) auto}.health-inline-audio{display:flex;gap:.3rem}.health-inline-audio button{min-width:44px}.health-classify-row:has(.health-inline-audio)>label{grid-column:1 / -1}
/* Match the portal palette and keep reference and controls compact. */
.health-town{--primary:var(--green);--border:var(--line);--background:color-mix(in srgb,var(--green) 5%,var(--surface))}
.health-search{width:max-content;min-width:0;grid-template-columns:repeat(var(--search-size),44px);gap:2px}
.health-town .health-letter{width:44px;height:44px;font-size:1rem}
.health-classify{grid-template-columns:repeat(2,minmax(0,1fr))}
.health-classify-row{grid-column:1/-1}
.health-group{min-width:0;min-height:54px;padding:.6rem;font-size:.9rem}
.health-group strong .health-es{font-weight:500}
.health-classify-row [data-piece]{width:100%}
.health-town .sources a{overflow-wrap:anywhere}
@media(max-width:759px){
 .health-reference{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:.4rem;max-height:45vh;overflow:auto}
 .health-reference .health-scene{float:none;width:96px;height:76px;max-height:76px;margin:0}
 .health-reference .health-scene svg{width:96px;height:76px}
 .health-reference .health-scene-caption{display:none}
 .health-reference details{clear:none;min-width:0}
 .health-reference details:not([open]){max-height:none}
 .health-reference details[open]{grid-column:1/-1;max-height:28vh}
 .health-reference summary{font-size:.9rem;padding:.3rem;line-height:1.35}
 .health-classify{grid-template-columns:minmax(0,1fr)}
}
/* A whole paragraph in each language; found words retain their own palette. */
.health-bilingual-block{margin:.65rem 0}
.health-bilingual-block>p{margin:.3rem 0;line-height:1.5}
.health-bilingual-block>.health-es{padding-left:.75rem;border-left:2px solid var(--line);margin-top:.6rem}
.health-search-words li{padding:.35rem .6rem;border-radius:10px;list-style:none;border:1px solid var(--word-ink);color:var(--word-ink);background:var(--word-bg)}
.health-colour-key{display:inline-block;width:.75rem;height:.75rem;border-radius:50%;background:var(--word-ink);margin-right:.4rem}
.health-town .health-letter.found{background:var(--word-bg);color:var(--word-ink);border:2px solid var(--word-ink)}
.health-search-words .found:after{content:' ✓';font-weight:800}
.health-search-words .found{text-decoration:none}
.health-heading .session-note{margin-top:.5rem}
