.speech-status{display:flex;align-items:center;gap:.6rem;min-width:0;font-size:.85rem;color:var(--muted,#77758b);overflow-wrap:anywhere}
.speech-status[hidden]{display:none}
.speech-status[data-state="recording"]::before{content:"";width:.55rem;height:.55rem;flex-shrink:0;border-radius:50%;background:#cf5674;box-shadow:0 0 0 .2rem #cf567425;animation:speech-pulse 1.8s ease-in-out infinite}
.speech-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;min-width:0}
.speech-actions button{min-height:2.6rem;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.speech-audio{display:block;width:100%;min-width:0;max-width:100%;margin-block:.5rem}
.speech-transcript{margin-block:.75rem;padding:.75rem 1rem;border:1px solid var(--border,#77758b40);border-radius:.8rem;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.speech-transcript summary{cursor:pointer;white-space:normal;font-weight:600}
.speech-transcript small{display:block;color:var(--muted,#77758b);font-size:.75rem;margin-block:.4rem}
.speech-meter{height:.28rem;width:6rem;max-width:100%;overflow:hidden;border-radius:1rem;background:#77758b25}
.speech-meter progress{display:block;width:100%;height:100%;accent-color:var(--accent,#6963d6)}
@keyframes speech-pulse{50%{box-shadow:0 0 0 .35rem #cf567410}}
@media(prefers-reduced-motion:reduce){.speech-status[data-state="recording"]::before{animation:none}}
@media(max-width:430px){.speech-actions{gap:.4rem}.speech-actions button{flex:1 1 auto}.speech-transcript{padding:.7rem}.speech-audio{max-width:100%}}
