.voice-agent-launcher {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.voice-agent-launcher--floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 17px;
  border-radius: 999px;
  color: #fff;
  background: #0a2a5e;
  box-shadow: 0 12px 28px rgba(10, 42, 94, 0.28);
  font-weight: 800;
}

.voice-agent-launcher--stack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  color: #fff;
  background: #0a2a5e;
  box-shadow: 0 10px 26px rgba(10, 42, 94, 0.3);
  font-weight: 800;
}

.voice-agent-launcher--mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 8px 4px;
  border-radius: 12px;
  color: #fff;
  background: #1455c0;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
}

.voice-agent-launcher__icon {
  font-size: 1.05rem;
  line-height: 1;
}

.voice-agent-consent[hidden],
.voice-agent-status[hidden] {
  display: none;
}

.voice-agent-consent {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: end center;
  padding: 18px 18px calc(96px + env(safe-area-inset-bottom));
  background: rgba(7, 29, 64, 0.48);
}

.voice-agent-consent__dialog {
  width: min(100%, 520px);
  max-height: min(80vh, 620px);
  overflow: auto;
  border: 1px solid #dbe4f2;
  border-radius: 20px;
  background: #fff;
  color: #16233b;
  box-shadow: 0 24px 70px rgba(7, 29, 64, 0.35);
  padding: 22px;
}

.voice-agent-consent__eyebrow {
  margin: 0 0 4px;
  color: #1455c0;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voice-agent-consent h2 {
  margin: 0 0 10px;
  color: #0a2a5e;
  font-size: 1.35rem;
  line-height: 1.25;
}

.voice-agent-consent p {
  margin: 0 0 12px;
  color: #4f6078;
  line-height: 1.55;
}

.voice-agent-consent__warning {
  border: 1px solid #efd78a;
  border-radius: 12px;
  background: #fff8df;
  padding: 12px;
  color: #5f4a0a !important;
  font-size: 0.9rem;
}

.voice-agent-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.voice-agent-consent__actions button,
.voice-agent-consent__actions a {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.voice-agent-consent__start {
  color: #fff;
  background: #0a2a5e;
}

.voice-agent-consent__whatsapp {
  color: #06371c;
  background: #25d366;
  text-decoration: none;
}

.voice-agent-consent__close {
  color: #0a2a5e;
  background: #eef3fb;
}

.voice-agent-status {
  position: fixed;
  right: 18px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 80;
  max-width: min(360px, calc(100vw - 36px));
  border: 1px solid #dbe4f2;
  border-radius: 12px;
  background: #fff;
  color: #16233b;
  box-shadow: 0 12px 32px rgba(10, 42, 94, 0.2);
  padding: 11px 14px;
  font-size: 0.9rem;
}

.voice-agent-status--error {
  border-color: #e0a5a5;
  color: #7b2020;
  background: #fff5f5;
}

body.voice-agent-dialog-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .voice-agent-consent {
    place-items: center;
    padding: 24px;
  }

  .voice-agent-status {
    bottom: 18px;
  }
}

@media (max-width: 767px) {
  .sticky-bar.voice-agent-has-launcher {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .voice-agent-launcher--floating {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-agent-launcher,
  .voice-agent-consent__dialog {
    scroll-behavior: auto;
    transition: none !important;
    animation: none !important;
  }
}

