.composer-voice {
  width: 34px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 999px;
  background: transparent; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; transition: width 180ms cubic-bezier(.22, 1, .36, 1), border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 100ms ease;
}
.composer-voice__icon { width: 18px; height: 18px; flex: 0 0 auto; }
.composer-voice-meter { display: none; height: 18px; align-items: center; gap: 2.5px; color: oklch(0.57 0.014 248); }
.composer-voice-meter i { width: 2.5px; height: 13px; flex: 0 0 auto; border-radius: 999px; background: currentColor; opacity: .68; transform-origin: center; animation: voice-meter 820ms cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.composer-voice-meter .voice-meter-dot { width: 3px; height: 3px; margin-right: 1px; opacity: .34; animation: voice-dot 1.1s ease-in-out infinite alternate; }
.composer-voice-meter i:nth-child(2) { height: 11px; opacity: .55; animation-delay: -620ms; }
.composer-voice-meter i:nth-child(3) { height: 17px; opacity: .76; animation-delay: -360ms; }
.composer-voice-meter i:nth-child(4) { height: 14px; opacity: .64; animation-delay: -740ms; }
.composer-voice-meter i:nth-child(5) { height: 18px; opacity: .82; animation-delay: -180ms; }
.composer-voice-meter i:nth-child(6) { height: 12px; opacity: .58; animation-delay: -500ms; }
.composer-voice-stop { display: none; width: 10px; height: 10px; border-radius: 3px; background: oklch(0.23 0.01 250); }
.composer-voice.is-listening { width: 92px; padding-inline: 11px; justify-content: space-between; border-color: oklch(0.89 0.006 245); background: var(--surface-raised); color: var(--text-muted); box-shadow: 0 1px 2px oklch(0.22 0.014 250 / .035); }
.composer-voice.is-listening .composer-voice__icon { display: none; }
.composer-voice.is-listening .composer-voice-meter { display: inline-flex; }
.composer-voice.is-listening .composer-voice-stop { display: block; }
@media (hover: hover) and (pointer: fine) {
  .composer-voice:hover { background: var(--surface-strong); color: var(--text-strong); }
  .composer-voice.is-listening:hover { border-color: oklch(0.85 0.008 245); background: var(--surface-raised); color: var(--text-strong); }
}
.composer-voice:active { transform: scale(.95); }
@keyframes voice-meter { from { transform: scaleY(.48); } to { transform: scaleY(1); } }
@keyframes voice-dot { from { opacity: .2; transform: scale(.82); } to { opacity: .48; transform: scale(1); } }
.composer-toolbar .composer-voice { margin-left: auto; margin-right: 0; }
.composer-voice:disabled { opacity: .45; cursor: not-allowed; }
.composer-voice:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .composer-voice { transition: none; } .composer-voice-meter i { animation: none; } }
.voice-note:empty { display: none; }
.answer-dock, .message-composer { position: relative; }
.voice-note.voice-note--bubble { position: fixed; z-index: 50; max-width: min(320px, calc(100vw - 48px)); margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--text-strong, #20252b); color: var(--surface, #fff); box-shadow: 0 4px 18px #0002; font-size: 12px; line-height: 1.5; pointer-events: none; }
