/* Local neural presentation: compact, scoped, no changes to microphone controls. */
.practice-neural-view { margin: 18px auto 0; width: min(100%, 600px); overflow: hidden; border-radius: 20px; background: var(--brand-ink); color: var(--brand-canvas); }
.practice-neural-view canvas { display: block; width: 100%; height: clamp(180px, 25vw, 270px); }
.practice-neural-view figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 8px 14px 12px; text-align: left; font-size: 12px; }
.practice-neural-view figcaption small { color: var(--brand-aqua); }
.practice-neural-view button, .live-brain .neural-feedback-pause { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--brand-aqua); border-radius: 12px; color: var(--brand-canvas); background: var(--brand-ink); font: inherit; font-size: 12px; cursor: pointer; }
.practice-neural-view button { margin-left: auto; }
.sentence-talk-shell .sentence-card > .practice-neural-view { order: 4; flex: 0 0 auto; }
.practice-neural-view button:focus-visible, .neural-feedback-pause:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: -4px; }
.live-brain .neural-feedback-pause { position: absolute; right: 8px; bottom: 8px; z-index: 1; }
/* Approved seated-stage framing: match the study's 1.35:1 viewport instead of
   squeezing the podium into the older, shallow close-up panel. Scoped to the
   stage renderer only; short screens scroll naturally to the existing actions. */
:is(.word-studio-shell,.sentence-talk-shell) .has-live-feedback .live-brain:has(canvas[data-neural-spotlight]),
.live-brain:has(canvas[data-neural-spotlight]),
.practice-neural-view:has(canvas[data-neural-spotlight]) {
  height:auto!important;min-height:0!important;aspect-ratio:1.35;position:relative;
}
:is(.live-brain,.practice-neural-view) canvas[data-neural-spotlight] {
  position:absolute;inset:0;width:100%;height:100%;min-height:0;
}
@media (max-width: 760px) {
  .practice-neural-view { margin-top: 12px; border-radius: 16px; }
  .practice-neural-view canvas { height: 190px; }
  .practice-neural-view figcaption { padding: 6px 10px 10px; font-size: 11px; }
  .practice-neural-view figcaption span { flex-basis: 100%; }
}
