/* Native live speech pilot: sentence is the focal point, feedback stays below. */
.live-speech-card .live-speech-instruction{font-size:1rem;margin:0 0 1.25rem;color:var(--muted)}
.live-speech-sentence{font-size:clamp(1.8rem,5vw,2.8rem);font-weight:700;line-height:1.6;margin:0 0 1.25rem}
.live-speech-sentence span{border-radius:.3rem;box-decoration-break:clone;padding:.05em .12em;transition:background .15s}
.live-speech-sentence .heard{background:#d9f2e2;color:#155b35}
.live-speech-sentence .heard.provisional{background:#e3edf9;color:#214c7c}
.live-speech-card small{display:block;line-height:1.6;color:var(--muted);margin-top:.9rem}
.live-speech-options p{font-size:.9rem;line-height:1.6;margin:.6rem 0}
.live-speech-options button{margin:.5rem .5rem .5rem 0}
.live-speech-diagnostic{display:flex;flex-wrap:wrap;gap:.3rem 1rem;margin:1rem 0;font: .75rem/1.5 monospace;color:var(--muted);overflow-wrap:anywhere}
.live-speech-diagnostic [data-live-transcript]{flex-basis:100%}
.live-speech-card .live-speech-skip{font-size:.85rem;background:transparent;border:0;padding:.5rem 0;color:var(--muted);text-align:left;text-decoration:underline;text-underline-offset:.2rem}
.live-speech-card [hidden]{display:none!important}

.live-speech-card [data-live-speech="start"] svg{vertical-align:middle;margin-right:.25rem}
.live-speech-card .live-speech-sentence{font-size:clamp(1.8rem,5vw,2.8rem);margin:0 0 1.25rem}
/* Reserve the full action-row width beside desktop feedback. */
.journey-shell:has(.live-speech-card) .journey-bottom{grid-template-columns:minmax(0,360px) auto}
.journey-shell:has(.live-speech-card) .journey-primary{width:auto}
@media(max-width:900px){
  .journey-shell:has(.live-speech-card) .journey-bottom{grid-template-columns:minmax(0,680px)}
  .journey-shell:has(.live-speech-card) .journey-actions{width:100%}
}
