/* Read-aloud coach (read-aloud.html). Shares the tokens in styles.css and the stage card in practice.css. */
.ra-stage { max-width: 760px; margin: 0 auto; }
.ra-h { font-size: clamp(1.3rem, 4vw, 1.7rem); color: var(--heading); margin: 0 0 .6em; }
.ra-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.ra-pick { width: 100%; display: grid; gap: 2px; text-align: left; min-height: 56px; padding: 12px 16px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--white); color: var(--heading); font: inherit; cursor: pointer; transition: border-color var(--dur-fast) var(--ease); }
.ra-pick:hover { border-color: var(--gold); }
.ra-pick:focus-visible, .ra-word:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ra-pick-t { font-weight: 700; font-size: 1.1rem; }
.ra-pick-m { font-size: .85rem; color: var(--ink-2); }
.ra-text { font-size: clamp(1.25rem, 4.6vw, 1.6rem); line-height: 2; margin: 0 0 12px; color: var(--ink); }
.ra-word { display: inline; font: inherit; line-height: inherit; color: inherit; background: none; border: 0; border-radius: 6px; padding: 2px 3px; margin: 0; cursor: pointer; transition: background var(--dur-fast) var(--ease); }
.ra-word:hover { background: var(--cream); }
.ra-word.is-read { background: var(--green-bg); color: var(--green); }
.ra-word.is-missed { background: var(--orange-bg); color: var(--orange-text); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; }
.ra-note { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 12px 16px; margin: 8px 0; color: var(--ink); }
.ra-note p { margin: 6px 0 12px; }
.ra-foot { margin-top: 14px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .ra-pick, .ra-word { transition: none; } }
@media print { .ra-stage { display: none; } }
