.voice-launch {
  position: fixed; inset: auto 24px 24px auto; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px; border: 1px solid #426b58; border-radius: 999px;
  background: #173c30; color: #fff; box-shadow: 0 8px 32px #173c3033;
  font: 600 15px/1.3 Inter, system-ui, sans-serif; cursor: pointer;
}
.voice-launch:hover { background: #245642; }
.voice-launch:focus-visible, .voice-panel button:focus-visible { outline: 3px solid #77ab65; outline-offset: 4px; }
.voice-panel {
  position: fixed; inset: auto 24px 92px auto; z-index: 71;
  width: min(400px, calc(100vw - 32px)); max-height: calc(100dvh - 112px);
  overflow: auto; box-sizing: border-box; padding: 24px;
  background: #fffdf8; border: 1px solid #d8e0d6; border-radius: 24px;
  box-shadow: 0 18px 72px #173c3033; color: #20392e;
  font: 15px/1.5 Inter, system-ui, sans-serif;
}
.voice-panel[hidden], .voice-panel [hidden] { display: none !important; }
.voice-panel header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.voice-panel h2 { font: 600 25px/1.2 Georgia, serif; margin: 4px 0 0; }
.voice-eyebrow { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin: 0; color: #526958; }
.voice-dismiss { border: 0; background: transparent; font-size: 28px; width: 44px; height: 44px; cursor: pointer; color: inherit; }
.voice-stage { position: relative; height: 180px; display: grid; place-items: center; isolation: isolate; --voice-level: 0; }
.voice-halo {
  position: absolute; width: 240px; height: 180px;
  background: radial-gradient(ellipse, #78ac7566, transparent 68%); filter: blur(18px);
  opacity: calc(.35 + var(--voice-level) * .65);
  transform: scale(calc(1 + var(--voice-level) * .3));
}
.voice-orb { position: relative; display: grid; place-items: center; width: 128px; height: 128px; }
.voice-orb img { position: relative; z-index: 1; border-radius: 22px; }
.voice-mist {
  position: absolute; inset: -12px; border-radius: 45% 55% 60% 40%;
  background: conic-gradient(from 30deg, #bad59988, #64a77a88, #deedc977, #8fbd7c99, #bad59988);
  filter: blur(22px); opacity: calc(.3 + var(--voice-level) * .7);
  transform: scale(calc(.9 + var(--voice-level) * .4)); transition: transform 70ms linear;
}
.voice-panel[data-active="true"] .voice-halo { animation: voice-mist 9s ease-in-out infinite alternate; }
.voice-intro { text-align: center; font: 500 22px/1.3 Georgia, serif; margin: 0 0 12px; }
#voice-status { text-align: center; color: #526958; min-height: 45px; margin: 0 0 18px; }
#voice-status:empty { display: none; }
#voice-disclosure { font-size: 15px; border-top: 1px solid #d8e0d6; padding-top: 12px; }
#voice-disclosure p { margin: 0 0 10px; }
#voice-start span, #voice-start small { display: block; }
#voice-start small { margin-top: 5px; font-size: 12px; font-weight: 400; }
#voice-navigation-status:empty { display: none; }
.voice-actions { display: flex; gap: 10px; margin-top: 20px; }
.voice-actions button {
  flex: 1; border: 1px solid #173c30; border-radius: 12px; padding: 13px 10px;
  background: #173c30; color: white; font: 600 15px/1.3 Inter, system-ui, sans-serif; cursor: pointer;
}
.voice-actions button:disabled { opacity: .45; cursor: not-allowed; }
#voice-mute { background: transparent; color: #173c30; }
.voice-microphone { display: grid; justify-items: center; gap: 3px; color: #526958; margin: 6px 0 18px; }
.voice-bars { display: flex; align-items: center; gap: 4px; height: 30px; }
.voice-bars span { width: 4px; height: 3px; background: #6d9d72; border-radius: 4px; transition: height 70ms linear; }
.voice-microphone small { font-size: 15px; }
@keyframes voice-mist { to { rotate: 18deg; } }
@media (prefers-reduced-motion: reduce) {
  .voice-panel[data-active="true"] .voice-halo { animation: none; }
  .voice-mist, .voice-halo { transform: none; transition: none; }
  .voice-bars span { transition: none; }
}
@media (max-width: 520px) {
  .voice-launch { right: 16px; bottom: 16px; max-width: calc(100vw - 32px); padding: 14px 18px; }
  .voice-panel { right: 16px; bottom: 82px; max-height: calc(100dvh - 98px); padding: 20px; }
}
