/* Dictating in the chats (web/dictate.js): the microphone, just left of Send. Red while it listens. */
.mc-compose.has-dictate textarea, .bot-compose.has-dictate textarea { padding-right: 80px; }
.dc-mic {
  position: absolute; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer;
}
.mc-compose .dc-mic { right: 40px; bottom: 6px; }
.bot-compose .dc-mic { right: 52px; bottom: 18px; }
.dc-mic svg { width: 19px; height: 19px; }
.dc-mic:hover:not(:disabled) { color: var(--fg); background: var(--surface-2); }
.dc-mic:disabled { opacity: .4; cursor: default; }
.dc-mic.is-on, .dc-mic.is-on:hover:not(:disabled) { background: var(--bad); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .dc-mic.is-on { animation: dc-listen 1.4s ease-out infinite; }
}
@keyframes dc-listen {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bad) 55%, transparent); }
  100% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--bad) 0%, transparent); }
}
