/* RU: В1 «Продиктовать»: кнопка микрофона рядом с полем; во время записи — красная с таймером. CSP: только классы, без style=.
   EN: V1 "Dictate": a microphone button next to the field; red with a timer while recording. CSP: classes only, no style=. */
.voice-btn, .sheet .sh-f .btn.voice-btn { flex: none; gap: 6px; min-width: var(--tap); }
.voice-btn .t { font-variant-numeric: tabular-nums; }
.voice-btn[data-state="idle"] .t { display: none; }
.voice-btn[data-state="rec"] { color: var(--bad); border-color: var(--bad); background: var(--bad-soft); width: auto; padding: 0 12px; }
.voice-btn[data-state="busy"] { width: auto; padding: 0 12px; }
textarea + .voice-btn { margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .voice-btn[data-state="rec"] .ic { animation: voice-pulse 1.2s ease-in-out infinite; }
}
@keyframes voice-pulse { 50% { opacity: .35; } }
.voice-btn[data-state="down"] { opacity: .5; }
/* RU: КГ0: в строке поля (picedit, правка) кнопка рядом с полем, а не под ним. EN: In a field row the button sits beside the field. */
.pe-say textarea + .voice-btn { margin-top: 0; align-self: flex-start; }
