/* ARIA voice strip: lives inside the chat frame, between the conversation and the composer. */
#ais-native-voice {
  --voice-ink: #f9f5ed; --voice-soft: #c4bdb0; --voice-stroke: #514b40; --voice-gold: #e4cda7;
  box-sizing: border-box; margin: 0; padding: 10px 14px 12px;
  border-top: 1px solid rgba(185,168,138,.18);
  background: linear-gradient(180deg, #1a1916, #131311);
  color: var(--voice-ink); font: 13px/1.45 Hanken, system-ui, sans-serif; color-scheme: dark;
  outline: none;
}
#ais-native-voice[hidden], #ais-native-voice [hidden] { display: none !important; }
#ais-native-voice button {
  min-height: 40px; padding: 6px 14px; border: 1px solid var(--voice-stroke); border-radius: 20px;
  color: var(--voice-ink); background: transparent; cursor: pointer; font: inherit; font-weight: 600;
}
#ais-native-voice button:focus-visible, .ais-native-entry:focus-visible { outline: 3px solid #f4dba9; outline-offset: 2px; }
#ais-native-voice button:disabled { opacity: .62; cursor: wait; }
#ais-native-voice .voice-row { display: flex; align-items: center; gap: 10px; }
#ais-native-voice .voice-orb {
  flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fef1cf 1%, #e1c190 35%, #836c4f 75%);
  opacity: .55;
}
#ais-native-voice[data-live=true] .voice-orb { opacity: 1; animation: ais-voice-breathe 1.6s ease-in-out infinite alternate; }
@keyframes ais-voice-breathe { from { box-shadow: 0 0 0 0 #d9c39955; } to { box-shadow: 0 0 0 7px #d9c39900, 0 0 16px #d9c39966; } }
@media (prefers-reduced-motion: reduce) { #ais-native-voice[data-live=true] .voice-orb { animation: none; box-shadow: 0 0 0 3px #d9c39944; } }
#ais-native-voice .voice-status { flex: 1; min-width: 0; margin: 0; min-height: 1.45em; color: var(--voice-ink); font-weight: 600; }
#ais-native-voice .voice-close { flex: 0 0 auto; width: 40px; padding: 0; font-size: 20px; line-height: 1; border-radius: 10px; }
#ais-native-voice .voice-intro { margin: 6px 0 0; color: var(--voice-soft); font-size: 12px; }
#ais-native-voice [data-challenge]:not(:empty) { margin-top: 8px; }
#ais-native-voice .voice-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
#ais-native-voice .voice-actions:not(:has(button:not([hidden]))) { display: none; }
#ais-native-voice .voice-primary { background: var(--voice-gold); color: #191711; border-color: var(--voice-gold); }
#ais-native-voice .voice-end { border-color: #946f63; color: #ffdacf; }
#ais-native-voice [data-mute][aria-pressed=true] { background: #2a2620; border-color: var(--voice-gold); }

/* Microphone control in a chat composer or page section. */
.ais-native-entry {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box;
  min-height: 44px; padding: 8px 15px; border: 1px solid #635b4e; border-radius: 24px;
  color: #f9f5ed; background: transparent; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
}
.ais-native-entry.ais-mic { width: 46px; height: 46px; min-height: 46px; flex-shrink: 0; padding: 0; border-radius: 50%; color: inherit; }
.ais-native-entry.ais-mic svg { width: 18px; height: 18px; }
.ais-native-entry.ais-mic[aria-pressed=true] { background: #e4cda7; border-color: #e4cda7; color: #191711; animation: ais-voice-breathe 1.6s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .ais-native-entry.ais-mic[aria-pressed=true] { animation: none; } }
.ais-voice-tag { display: block; margin-bottom: 3px; font: 600 9px/1.2 Martian, monospace; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
