.spoken-page{max-width:1200px;margin:auto;padding:24px;color:#23324b}.spoken-page header{padding:30px 0}.spoken-page h1{font-size:clamp(1.8rem,4vw,2.8rem)}.eyebrow{color:#6552bd;font-weight:700;font-size:.8rem;letter-spacing:.12em}.bands,.spoken-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:18px 0}.bands button{padding:14px 22px;border:1px solid #d8d3ed;border-radius:14px;background:white;color:#433370;cursor:pointer}.bands button[aria-pressed=true]{background:#5742a5;color:white}.spoken-layout{display:grid;grid-template-columns:280px 1fr;gap:24px}.spoken-layout nav,.lesson-panel{background:white;border:1px solid #e2dff0;border-radius:20px;padding:24px}.spoken-layout ol{padding-left:22px}.spoken-layout li{margin:12px 0}.spoken-layout li button{border:0;background:transparent;color:#475569;text-align:left;cursor:pointer;font:inherit;padding:7px}.spoken-layout li button[aria-current=true]{color:#5742a5;font-weight:bold;text-decoration:underline}.scene{background:linear-gradient(#e4e5ff,#fff1dc);border-radius:18px;padding:22px;text-align:center;margin-top:22px;overflow:hidden}.scene-label{font-size:.65rem;letter-spacing:.14em}.actors{display:flex;justify-content:space-evenly;margin:24px 0}.actor{transition:transform .3s;opacity:.65}.actor .face{font-size:66px;background:#fff8;border-radius:50%;padding:12px}.actor strong{display:block}.actor.speaking{opacity:1;animation:talk .6s infinite alternate}.scene #caption{min-height:4em;font-size:1.15rem;background:#ffffffe0;border-radius:12px;padding:14px}.tip{background:#f1edff;border-left:4px solid #8c72d3;padding:14px;margin:20px 0}.spoken-page textarea{display:block;width:100%;box-sizing:border-box;margin:10px 0;border:1px solid #b6bfd1;border-radius:12px;padding:14px;font:inherit}.spoken-note{font-size:.85rem;color:#64748b;margin-top:24px}.result{padding:18px;border-radius:12px;background:#fff0e7}.result.correct{background:#e4f6ec}.spoken-page button:focus-visible{outline:3px solid #a377ef;outline-offset:3px}@keyframes talk{to{transform:translateY(-7px) rotate(2deg)}}@media(max-width:760px){.spoken-layout{grid-template-columns:1fr}.spoken-page{padding:16px}.spoken-layout nav{max-height:280px;overflow:auto}}@media(prefers-reduced-motion:reduce){.actor.speaking{animation:none}.actor{transition:none}}
/* Global button styles set display explicitly, so preserve semantic hidden states. */
.spoken-page [hidden]{display:none!important}

/* Group long practice paths into accessible, expandable sections. */
#lessons{list-style:none;padding:0;max-height:70vh;overflow:auto;scrollbar-gutter:stable}
#lessons>li{margin:8px 0;border-bottom:1px solid #eeeaf6;padding-bottom:8px}
#lessons summary{cursor:pointer;font-weight:600;color:#433370;padding:10px 2px;overflow-wrap:anywhere}
#lessons ol{padding-left:20px}#lessons ol li{margin:5px 0}
#lessons button{width:100%;overflow-wrap:anywhere;font-size:.9rem;line-height:1.5}
.source-note,.path-note{font-size:.82rem;color:#64748b;line-height:1.5}
.spoken-layout>*{min-width:0}
@media(max-width:760px){#lessons{max-height:none}.spoken-layout nav{max-height:360px}}

.spoken-actions select{display:block;max-width:100%;padding:9px;border:1px solid #b6bfd1;border-radius:8px;background:#fff;color:#23324b;font:inherit}.spoken-actions label{max-width:100%}
