.voice-agent.voice-live {
  width:min(380px,calc(100vw - 32px))!important;
  max-height:calc(100dvh - 200px)!important;
  display:flex;
  flex-direction:column;
  border:1px solid #dedee2;
  border-radius:18px;
  background:#fff;
  box-shadow:0 20px 64px #15151c26;
  color:#242429;
  font-size:14px;
  line-height:1.5;
  letter-spacing:0;
  overflow:hidden;
}
.voice-live *, .voice-live *::before, .voice-live *::after { box-sizing:border-box; letter-spacing:0; }
.voice-live button { font:inherit; cursor:pointer; }
.voice-live button:focus-visible { outline:3px solid #399d92; outline-offset:3px; }
.voice-live__header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:22px 22px 16px; flex-shrink:0; }
.voice-live__brand { font-size:10px; font-weight:700; color:#a76451; }
.voice-live__header h2 { font-size:17px; line-height:1.4; font-weight:600; margin:5px 0 0; }
.voice-live__close,.voice-live__mic { width:38px; height:38px; flex-shrink:0; display:grid; place-items:center; background:#f4f4f6; border:1px solid #e7e7ec; border-radius:50%; color:#5c5c64; }
.voice-live__close:hover,.voice-live__mic:hover { background:#eaeaec; }
.voice-live__stage { margin:0 22px; padding:20px 12px 18px; background:#f7f8f9; text-align:center; border-radius:8px; flex-shrink:0; }
.voice-live__badge { display:inline-flex; align-items:center; gap:6px; font-size:11px; color:#6a6a73; }
.voice-live__badge::before { content:''; width:5px; height:5px; background:#399d92; border-radius:50%; }
.voice-live__wave { display:flex; justify-content:center; align-items:center; gap:4px; height:90px; margin:8px 0; color:#b87965; }
.voice-live__wave i { display:block; width:4px; height:var(--height); background:currentColor; border-radius:3px; transform:scaleY(.3); transition:color .3s; }
.voice-live[data-state="listening"] .voice-live__wave { color:#399d92; }
.voice-live[data-state="speaking"] .voice-live__wave { color:#b87965; }
.voice-live[data-state="listening"] .voice-live__wave i,.voice-live[data-state="speaking"] .voice-live__wave i { animation:voice-wave .8s ease-in-out var(--delay) infinite alternate; }
.voice-live[data-state="connecting"] .voice-live__wave i { animation:voice-wave 1.4s ease-in-out var(--delay) infinite alternate; }
.voice-live__status { font-size:15px; font-weight:600; margin:0; overflow-wrap:anywhere; }
.voice-live__caption { font-size:12px; margin:5px 0 0; color:#787882; }
.voice-live__timer { font-variant-numeric:tabular-nums; display:block; font-size:11px; color:#8b8b95; margin-top:8px; }
.voice-live__messages { min-height:0; overflow-y:auto; max-height:180px; padding:8px 22px 0; overscroll-behavior:contain; }
.voice-live__messages p { margin:12px 0; font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.voice-live__messages p span { display:block; font-size:10px; font-weight:600; margin-bottom:3px; color:#a76451; }
.voice-live__messages .voice-live__user { color:#74747d; }
.voice-live__messages .voice-live__user span { color:#74747d; }
.voice-live__controls { display:flex; align-items:center; justify-content:center; gap:10px; padding:20px 22px 10px; flex-shrink:0; }
.voice-live__call { display:flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:12px 18px; width:100%; border:0; border-radius:8px; background:#252529; color:#fff; font-weight:600!important; font-size:13px!important; }
.voice-live__call:hover { background:#414147; }
.voice-live__call.is-active { background:#f9eeed; color:#a34f46; border:1px solid #edceca; }
.voice-live__call:disabled { cursor:wait; opacity:.65; }
.voice-live__mic[aria-pressed="true"] { background:#f9eeed; color:#a34f46; }
.voice-live__privacy { margin:0; padding:0 22px 16px; font-size:10px; text-align:center; color:#8b8b95; flex-shrink:0; }
.voice-live__privacy a { color:inherit; text-decoration:underline; }
.voice-live__booking { padding:12px 22px; min-height:0; max-height:260px; overflow-y:auto; font-size:12px; border-top:1px solid #ececef; margin-top:10px; }
.voice-live__booking h3 { font-size:14px; margin:0 0 8px; font-weight:600; }
.voice-live__booking p { margin:5px 0; overflow-wrap:anywhere; }
.voice-live__booking label { display:flex; align-items:flex-start; gap:8px; margin:12px 0; }
.voice-live__booking input { flex-shrink:0; margin-top:3px; accent-color:#399d92; }
.voice-live__booking button,.voice-live__booking a { display:block; width:100%; text-align:center; padding:10px; margin-top:7px; border:1px solid #dedee2; border-radius:6px; background:#fff; color:#242429; text-decoration:none; font:inherit; overflow-wrap:anywhere; }
.voice-live__booking button:hover,.voice-live__booking button.is-selected { border-color:#399d92; background:#edf7f5; }
.voice-live__booking button:disabled { opacity:.65; cursor:default; }
.voice-live.has-booking .voice-live__wave { height:32px; margin:4px 0; }
.voice-live.has-booking .voice-live__caption { display:none; }
.voice-live.has-booking .voice-live__messages { max-height:75px; }
.voice-live [hidden] { display:none!important; }
.voice-agent-toggle { display:inline-flex; align-items:center; gap:8px; background:#252529!important; font-weight:600!important; }
@keyframes voice-wave { from { transform:scaleY(.2); } to { transform:scaleY(calc(.45 + var(--level,.5) * .55)); } }
@media(max-width:560px) {
  .voice-agent.voice-live { max-height:calc(100dvh - 112px)!important; }
  .voice-live__header { padding:18px 18px 14px; }
  .voice-live__stage { margin:0 18px; }
  .voice-live__messages { max-height:160px; }
}
.voice-live__booking form { display:grid; gap:12px; }
.voice-live__booking form label { display:grid; gap:5px; font-size:13px; }
.voice-live__booking form input { box-sizing:border-box; width:100%; min-width:0; border:1px solid #d7d7df; border-radius:6px; padding:10px; font:inherit; color:#202027; background:#fff; }
@media(prefers-reduced-motion:reduce) { .voice-live__wave i { animation:none!important; transform:scaleY(.5)!important; } }
