/* SAL Access: presentation only. */
.sal-answer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem}.sal-answer-row>.voice{margin:0;justify-content:flex-end}.sal-answer-row .voice-controls{flex-wrap:wrap}.sal-answer-row button[data-action=speak]{min-height:44px;max-width:13rem;white-space:normal}.sal-speaking{outline:2px solid #f0d08e!important}.sal-stop[hidden]{display:none!important}.sal-access-intro{margin:0 0 1rem;position:relative;z-index:1}.sal-entry-access{position:relative;z-index:3;max-width:1200px;margin:.75rem auto;padding:0 1rem;color:#ecf8f4}.sal-entry-access details{padding:.75rem 1rem;background:#12333f;border:1px solid #6d999e;border-radius:12px}.sal-entry-access summary{font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}.sal-entry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.sal-entry-grid label{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-size:1rem}.sal-entry-grid select{background:#102e3b;color:#fff;border:1px solid #9bbdbd;border-radius:8px;padding:.45rem;min-height:44px}.sal-entry-grid input{width:22px;height:22px;accent-color:#a4e4d5}.sal-entry-access :focus-visible{outline:3px solid #f1d395;outline-offset:3px}.sal-entry-access p{margin:.6rem 0;font-size:.9rem}.sal-entry-large .sal-entry-access,.sal-entry-large .xp-main{font-size:1.15em}.sal-entry-xl .sal-entry-access,.sal-entry-xl .xp-main{font-size:1.3em}.sal-entry-contrast .sal-entry-access details{background:#000;color:#fff;border-color:#fff}.sal-entry-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.sal-entry-focus .xp-hero:before,.sal-entry-focus .xp-course:before{opacity:.15!important}@media(max-width:640px){.sal-answer-row{grid-template-columns:minmax(0,1fr)}.sal-answer-row>.voice{justify-content:flex-start}.sal-answer-row button[data-action=speak]{max-width:100%}}@media print{.sal-entry-access,.sal-access-intro,.sal-answer-row>.voice,.sal-stop{display:none!important}.sal-answer-row{display:block}}
.voice button:disabled,[data-sva-speech]:disabled{opacity:.55;cursor:not-allowed}.sal-answer-row button[data-action=speak]{text-align:center}.sal-entry-access details[open] summary{margin-bottom:.65rem}
/* Keep reading accessible without stacking full-width labels below every answer. */
.sal-answer-row{grid-template-columns:minmax(0,1fr) auto!important;gap:.5rem!important;align-items:center!important}.sal-answer-row>.voice{display:flex;flex-direction:column;align-items:center;gap:.25rem;justify-content:center!important;min-width:44px}.sal-answer-row button[data-action=speak]{width:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;padding:.4rem!important;font-size:1rem!important;white-space:nowrap!important;overflow:hidden}.sal-answer-row button[data-action=speak] .subtle{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}.sal-answer-row button[data-action=speak].sal-speaking{font-size:0!important}.sal-answer-row button[data-action=speak].sal-speaking::after{content:'■';font-size:1rem;display:inline-block}.sal-answer-row .voice-controls:not([hidden]){display:flex;flex-direction:column;gap:.25rem}.sal-answer-row .voice-controls:not([hidden]) button{min-width:44px;min-height:44px}.sal-answer-row .voice-controls[hidden]{display:none!important}

/* ENG-15 (0.2.3-engine): ONE compact Play/Pause/Stop set (header .sal-transport), visible only when reading is activated. Per-section read chips are hidden until activation. No duplicate set in Supports. */
.sal-transport{display:inline-flex;gap:.25rem;align-items:center;flex-wrap:wrap}
.sal-transport button{min-height:44px;min-width:44px}
body:not(.sal-reading-on) .sal-transport .sal-t-aux{display:none!important}
body:not(.sal-reading-on) #app .voice{display:none!important}
.sal-core-supports{max-width:1200px;margin:.5rem auto;padding:.75rem 1rem;background:#12333f;border:1px solid #6d999e;border-radius:12px;color:#ecf8f4}
.sal-core-supports[hidden]{display:none!important}
.sal-core-supports .sal-entry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}
.sal-core-supports label{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-size:1rem}
.sal-core-supports select{background:#102e3b;color:#fff;border:1px solid #9bbdbd;border-radius:8px;padding:.45rem;min-height:44px}
.sal-core-supports input{width:22px;height:22px;accent-color:#a4e4d5}
/* ENG-17: visible keyboard focus; honour the OS reduced-motion preference. */
#app button:focus-visible,#app a:focus-visible,#app [tabindex]:focus-visible,.sal-transport button:focus-visible,#sal-supports-btn:focus-visible{outline:3px solid #f1d395;outline-offset:2px}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* N01 (0.2.6 Group B): reading-level PRESENTATION scaffolds over the same
   validated bank. Levels never change the bank text, the questions, or the
   grade. Supported chunks concepts sentence by sentence (.sal-chunk, emitted
   by conceptHTML()) and lists key terms (.sal-glossary/.sal-term-chip, emitted
   by glossaryStrip()); Advanced compacts the layout. Standard is the default
   and needs no overrides. Full leveled rewrites (three different texts) are
   content work, still pending — nothing here presents a level as a rewrite.
   Rules live here (not the 31 per-unit style.css copies) because this shared
   sheet is loaded by every lesson page. */
.sal-level-supported .learn-notes .card p,.sal-level-supported .card p{max-width:62ch}
.sal-level-supported .sal-chunk{margin:.45rem 0;padding-left:.7rem;border-left:3px solid #7fe2cf;line-height:1.7}
.sal-level-supported .sal-glossary{margin:.8rem 0;padding:.7rem 1rem;border:1px solid #6d999e;border-radius:12px;background:#12333f}
.sal-level-supported .sal-term-chip{display:inline-block;margin:.2rem .3rem .2rem 0;padding:.25rem .7rem;border:1px solid #367f80;border-radius:20px;background:#194c52;color:#c2f9e9;font-size:.85rem}
.sal-level-advanced .grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.5rem}
.sal-level-advanced .card{padding:.7rem 1rem}
.sal-level-advanced .card p{line-height:1.45;font-size:.95rem;margin:.4rem 0}
.sal-level-advanced .card h2{font-size:1.15rem;margin:.3rem 0}
.sal-level-advanced .sal-learn-title{font-size:1.5rem}

/* Founder refinements 2026-11-27 (branch visual/u04-u05-silver-demo).
   R1 — entry supports as ONE discreet gear, fixed top-right: the host no
   longer sits as a full-width block above the hero. Closed it is a 44 px
   gear; open it is a dropdown panel with the same controls (same ids). */
.sal-entry-access{position:fixed;top:70px;right:12px;z-index:60;max-width:none;margin:0;padding:0}
.sal-entry-access details{padding:0;background:transparent;border:0;border-radius:50%}
.sal-entry-access summary{width:44px;height:44px;min-height:44px;border-radius:50%;background:#12333f;border:1px solid #6d999e;display:flex;align-items:center;justify-content:center;font-size:1.25rem;margin:0}
.sal-entry-access summary .sal-gear-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.sal-entry-access details[open]{position:relative;background:#12333f;border:1px solid #6d999e;border-radius:12px;padding:.75rem 1rem;width:min(430px,calc(100vw - 24px));box-shadow:0 17px 35px #0009}
.sal-entry-access details[open] summary{width:auto;height:auto;min-height:44px;border:0;border-radius:0;background:transparent;display:flex;justify-content:flex-start;gap:.5rem;font-size:1rem}
.sal-entry-access details[open] summary .sal-gear-text{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
/* R2 — audio Off: NO reading transport and NO per-section speakers are
   shown anywhere. Audio is re-enabled from Settings (same panel). */
body.sal-audio-off .sal-transport{display:none!important}
body.sal-audio-off #app .voice{display:none!important}
/* R1 — the single consolidated Settings panel is grouped so its sections
   read at a glance: Language & reading / Display & motion / data & restart. */
.sal-core-supports .sal-settings-group{grid-column:1/-1;font-weight:800;margin:.5rem 0 0;color:#fff}

/* 0.2.7 (B3/B4/B5): paper version + answer key + print modes.
   #sal-paper (full lesson on paper) is print-only and never on screen.
   #sal-key (parent/teacher answer key) shows on screen only after the adult
   gate opens it, and prints alone. Normal printing hides both. */
#sal-paper{display:none}
#sal-key{display:none}
#sal-key:not(:empty){display:block;margin:1rem auto;max-width:60rem}
.sal-print-status:empty{display:none}
.sal-print-status{font-size:.85rem;color:#5b6b70;margin:.5rem 1rem}
.sal-paper-doc,.sal-key-doc{color:#111;line-height:1.5}
.sal-paper-doc h1,.sal-key-doc h1{font-size:1.5rem}
.sal-paper-doc h2,.sal-key-doc h2{font-size:1.2rem;margin-top:1.4rem}
.sal-paper-doc h3,.sal-key-doc h3{font-size:1.05rem;margin-top:1rem}
.sal-paper-kicker{font-weight:700;letter-spacing:.04em}
.sal-paper-opts{list-style:none;padding-left:0}
.sal-paper-opts li{margin:.45rem 0}
.sal-paper-box{font-size:1.15rem}
.sal-paper-item,.sal-key-item{break-inside:avoid}
.sal-paper-model svg{max-width:100%;height:auto}
@media print{
  #sal-paper,#sal-key{display:none!important}
  body.sal-print-paper #app,body.sal-print-paper header,body.sal-print-paper #sal-core-supports,body.sal-print-paper #sal-print-status,body.sal-print-paper #sal-key,body.sal-print-paper .sal-transport{display:none!important}
  body.sal-print-paper #sal-paper{display:block!important;color:#000}
  body.sal-print-key #app,body.sal-print-key header,body.sal-print-key #sal-core-supports,body.sal-print-key #sal-print-status,body.sal-print-key #sal-paper,body.sal-print-key .sal-transport{display:none!important}
  body.sal-print-key #sal-key{display:block!important;color:#000}
  .sal-paper-doc a,.sal-key-doc a{color:#000;text-decoration:none}
}

/* Small reading icons retain a keyboard-focusable 44px touch target. */
#app .voice button[data-action="speak"]{min-width:44px;min-height:44px;padding:.2rem;background:transparent;border-color:transparent}
#app .voice button[data-action="speak"]:focus-visible{outline:2px solid currentColor}
#app .voice-inline{float:left;clear:both;margin:0 .3rem .1rem 0}
#app .voice-inline + p,
#app .voice-inline + h2,
#app .voice-inline + h3,
#app .voice-inline + .callout,
#app .voice-inline + .feedback{display:flow-root;min-height:44px}
#app .voice-inline + * + *{clear:both}
body.sal-audio-off .sva-speakers,
body.sal-audio-off .sal-vocab-audio,
body.sal-audio-off [data-sva-speech]{display:none!important}
/* 0.2.12: settings panel overlap fix. A long "Reading level" option made the select wider than its grid column, so it covered the "Show enrichment" checkbox. Selects now stay inside their column, and checkbox labels keep the box beside the text. */
.sal-core-supports .sal-entry-grid>*{min-width:0}
.sal-core-supports select{max-width:100%;min-width:0;text-overflow:ellipsis}
@media(min-width:760px){.sal-core-supports label:has(#sal-x-level){grid-column:span 2}}
.sal-core-supports label:has(>input[type=checkbox]){flex-wrap:nowrap;align-items:flex-start}
.sal-core-supports label>input[type=checkbox]{flex:0 0 auto;margin-top:.1rem}
