.live-translate { color: var(--text, #0b0b0c); min-width: 0; }
.live-translate [hidden] { display: none !important; }
.live-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.live-toolbar > .btn { flex: 0 0 auto; width: auto; min-width: 96px; justify-content: center; }
.live-sound[aria-pressed='true'] { border-color: var(--accent, #006cff); }
.live-translate .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; line-height: 1.4; }
.live-translate button:disabled, .live-translate button[aria-disabled='true'] { opacity: .5; cursor: not-allowed; }
.live-translate button:focus-visible { outline: none; border-color: var(--accent, #006cff); box-shadow: 0 0 0 3px var(--accent-weak, rgba(0,108,255,.18)); }
.live-status { display: flex; align-items: center; gap: 8px; margin: 12px 0; color: var(--muted, #6e6e73); font-size: 13px; font-weight: 500; line-height: 1.5; }
.live-status::before { content: ''; display: block; flex: 0 0 8px; height: 8px; border-radius: 50%; background: currentColor; }
.live-translate[data-phase='listening'] .live-status::before { background: var(--accent, #006cff); box-shadow: 0 0 0 4px var(--accent-weak, rgba(0,108,255,.18)); }
.live-translate[data-phase='draining'] .live-status::before { background: var(--accent, #006cff); }
.live-error { color: var(--text-error, #dc2626); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; margin: 12px 0; padding: 12px 16px; border: 1px solid currentColor; border-radius: 12px; }
.live-transcript { max-height: 62vh; overflow: auto; overscroll-behavior: contain; }
.live-empty { display: grid; place-items: center; min-height: 180px; padding: 24px; margin: 0; border: 1px solid var(--border, #d2d2d7); border-radius: 12px; background: var(--input, #fff); text-align: center; color: var(--muted, #6e6e73); font-size: 14px; line-height: 1.5; }
.live-turn + .live-turn { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border, #d2d2d7); }
.live-turn-meta { margin-bottom: 8px; color: var(--muted, #6e6e73); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.live-turn-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.live-source, .live-target { min-width: 0; min-height: 180px; max-height: 320px; padding: 16px; border: 1px solid var(--border, #d2d2d7); border-radius: 12px; background: var(--input, #fff); overflow-y: auto; overscroll-behavior: contain; }
.live-turn h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.live-turn-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 1.65; }
.live-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
@media (max-width: 640px) {
  .live-toolbar > .btn { flex: 1 1 auto; min-width: 0; }
  .live-turn-columns { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .live-source, .live-target { min-height: 120px; max-height: 240px; }
  .live-actions .btn { flex: 1 1 auto; justify-content: center; }
  .live-translate .btn { padding-inline: 12px; }
  .live-transcript { max-height: 65vh; }
}
@media (forced-colors: active) {
  .live-translate button:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}
