#b2bee-voice-assistant,
#b2bee-voice-assistant * { box-sizing: border-box; }
#b2bee-voice-assistant [hidden],
#b2bee-voice-assistant[hidden] { display: none !important; }
#b2bee-voice-assistant {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(4px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #171717;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
}
#b2bee-voice-assistant button { font: inherit; cursor: pointer; }
#b2bee-voice-assistant button:disabled { cursor: wait; opacity: .6; }
#b2bee-voice-assistant button:focus-visible,
#b2bee-voice-assistant a:focus-visible {
  outline: 2px solid #c38b12;
  outline-offset: 3px;
}
#b2bee-voice-assistant svg { display: block; flex-shrink: 0; }
.b2bee-voice-launcher { position: relative; }
#b2bee-voice-assistant .b2bee-voice-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: #171717;
  box-shadow: 0 3px 16px rgb(0 0 0 / 18%);
}
#b2bee-voice-assistant .b2bee-voice-orb {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  overflow: hidden;
  border-radius: 50%;
  background: conic-gradient(from 35deg, #ffdc7e, #fff3cd, #2d271c, #e7b740, #fff0bf, #4e3c1c, #ffdc7e);
  box-shadow: inset 0 0 7px rgb(0 0 0 / 30%);
}
#b2bee-voice-assistant .b2bee-voice-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 22%, rgb(255 255 255 / 70%), transparent 45%, rgb(0 0 0 / 25%));
}
#b2bee-voice-assistant .b2bee-voice-control {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffd364;
  color: #171717;
  transition: background .2s, box-shadow .2s;
}
#b2bee-voice-assistant .b2bee-voice-call:hover { background: #ffe08b; }
#b2bee-voice-assistant .b2bee-voice-mute { background: #363636; color: #fffdf8; }
#b2bee-voice-assistant .b2bee-voice-mute[aria-pressed="true"] { background: #fffdf8; color: #171717; }
#b2bee-voice-assistant[data-state="connected"] .b2bee-voice-call,
#b2bee-voice-assistant[data-state="connecting"] .b2bee-voice-call,
#b2bee-voice-assistant[data-state="ending"] .b2bee-voice-call { background: #d8493a; color: #fff; }
#b2bee-voice-assistant[data-state="idle"] .b2bee-voice-phone {
  animation: b2bee-phone-ring 5s ease-in-out infinite;
  transform-origin: 50% 50%;
}
#b2bee-voice-assistant[data-speaking="true"] .b2bee-voice-orb {
  animation: b2bee-speaking 1.2s ease-in-out infinite;
}
@keyframes b2bee-phone-ring {
  0%, 14%, 100% { transform: rotate(0); }
  2%, 6%, 10% { transform: rotate(-14deg); }
  4%, 8%, 12% { transform: rotate(14deg); }
}
@keyframes b2bee-speaking {
  0%,100% { box-shadow: 0 0 0 0 rgb(255 211 100 / 15%); }
  50% { box-shadow: 0 0 0 5px rgb(255 211 100 / 25%); }
}
#b2bee-voice-caption {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  max-width: calc(100vw - 40px);
  margin: 0;
  padding: 0;
  border: 1px solid #dedbd5;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 3px 18px rgb(0 0 0 / 10%);
  text-align: left;
}
#b2bee-voice-caption::after {
  content: '';
  position: absolute;
  right: -6px;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-top: 1px solid #dedbd5;
  border-right: 1px solid #dedbd5;
  background: #fffdf8;
  transform: rotate(45deg);
  pointer-events: none;
}
#b2bee-voice-caption .b2bee-voice-caption__start {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 34px 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
}
#b2bee-voice-caption .b2bee-voice-caption__start:hover { background: #f7f2e8; }
#b2bee-voice-caption span { display: block; }
#b2bee-voice-caption .b2bee-voice-caption__eyebrow { color: #606060; font-size: 12px; }
#b2bee-voice-caption .b2bee-voice-caption__title { margin-top: 2px; font-size: 13px; font-weight: 700; }
#b2bee-voice-caption .b2bee-voice-caption__link {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#b2bee-voice-caption .b2bee-voice-caption__dismiss {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #606060;
}
#b2bee-voice-caption .b2bee-voice-caption__dismiss:hover { background: #eeebe5; }
#b2bee-voice-brand {
  display: block;
  padding: 0 5px;
  border-radius: 4px;
  background: rgb(255 253 248 / 95%);
  color: #353535;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  text-decoration: none;
}
#b2bee-voice-brand:hover { text-decoration: underline; }
#b2bee-voice-assistant .b2bee-voice-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: 350px;
  max-width: calc(100vw - 40px);
  padding: 16px;
  border: 1px solid #dedbd5;
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 6px 28px rgb(0 0 0 / 14%);
}
#b2bee-voice-assistant .b2bee-voice-panel h2 { margin: 0 0 8px; font-size: 16px; line-height: 1.3; }
#b2bee-voice-assistant .b2bee-voice-panel p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: #484848; }
#b2bee-voice-assistant .b2bee-voice-panel a { color: #171717; text-decoration: underline; }
#b2bee-voice-assistant .b2bee-voice-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
#b2bee-voice-assistant .b2bee-voice-dialog-actions button {
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #d0ccc4;
  border-radius: 8px;
  background: transparent;
  color: #171717;
}
#b2bee-voice-assistant #b2bee-voice-confirm { border-color: #ffd364; background: #ffd364; font-weight: 700; }
#b2bee-voice-assistant #b2bee-voice-status { width: 260px; font-size: 13px; }
@media (max-width: 639px) {
  #b2bee-voice-caption {
    right: 0;
    top: auto;
    bottom: calc(100% + 10px);
    transform: none;
    width: 224px;
  }
  #b2bee-voice-caption::after {
    top: auto;
    right: 49px;
    bottom: -6px;
    border-top: 0;
    border-bottom: 1px solid #dedbd5;
  }
}
@media (prefers-reduced-motion: reduce) {
  #b2bee-voice-assistant .b2bee-voice-phone,
  #b2bee-voice-assistant .b2bee-voice-orb { animation: none !important; }
}
@media print { #b2bee-voice-assistant { display: none !important; } }
