/* The voice in the chat: the microphone, the live bar, consent, the booking card (Plugix look).
   The AI callback (Task 5) adds its own rules below. */
.ai-composer .mic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #F1F1F1; color: #1A1A1A; cursor: pointer; }
.ai-composer .mic svg { width: 20px; height: 20px; }
.ai-composer .mic.is-on { background: #14703A; color: #fff; }
.ai-composer .mic[aria-disabled="true"] { opacity: .45; }
.vo-bar { --lvl: 0; display: flex; align-items: center; gap: 10px; margin: 0 14px 8px; padding: 8px 10px 8px 12px; border-radius: 18px; background: #F4F8F8; color: #1A1A1A; font: 600 13.5px/1.2 'Manrope', sans-serif; }
.vo-bar[hidden] { display: none; }
.vo-orb { flex: none; width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(from 0deg, #50BEB4, #91DBD1, #fff, #319385, #50BEB4); transform: scale(calc(1 + var(--lvl) * .45)); box-shadow: 0 0 0 calc(var(--lvl) * 10px) rgba(80, 190, 180, .25); transition: transform .08s linear, box-shadow .08s linear; }
.vo-t { flex: 1; min-width: 0; }
.vo-time { color: #46595C; font-family: 'JetBrains Mono', monospace; }
.vo-mute, .vo-end { height: 32px; padding: 0 12px; border: 0; border-radius: 999px; font: 700 12.5px/1 'Manrope', sans-serif; cursor: pointer; }
.vo-mute { background: #fff; box-shadow: inset 0 0 0 1px #E6E6E6; }
.vo-mute[aria-pressed="true"] { background: #FFF6E5; color: #7A4A00; }
.vo-end { background: #B42318; color: #fff; }
.vo-consent { padding: 14px; border: 1px solid #E6E6E6; border-radius: 18px; background: #fff; }
.vo-consent p { margin: 0 0 10px; font-size: 14.5px; }
.vo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.vo-row .c-btn { margin: 0; }
.vo-link { padding: 0; border: 0; background: none; color: #46595C; font: 700 13px/1 'Manrope', sans-serif; text-decoration: underline; cursor: pointer; }
.vo-done { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #E5F3E9; color: #14703A; }
.vo-done svg { flex: none; width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: #fff; }
.vo-done b, .vo-done span { display: block; }
.vo-done span { color: #1A1A1A; font-size: 14px; }
@media (max-width: 640px) { .vo-bar { flex-wrap: wrap; } }
html.still .vo-orb { transform: none; box-shadow: none; transition: none; }
/* The AI callback: the form, the countdown, the incoming call */
.cb .sheet-in { gap: 14px; }
.cb-when { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; border: 0; font-weight: 600; }
.cb-when legend { margin-bottom: 6px; padding: 0; font-size: 13px; font-weight: 700; }
.cb-when label { display: flex; align-items: center; gap: 6px; }
.cb-count { margin: 0; font: 400 22px/1.3 var(--f-display); }
.cb-sim, .call-sim { margin: 0; font-size: 12.5px; color: var(--ink-3); }
html.call-open body { overflow: hidden; }
.call { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 18px; padding: max(28px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom)); background: radial-gradient(120% 70% at 50% 0%, #12343A, #061416 70%); color: #E8F3F2; font-family: 'Manrope', system-ui, sans-serif; animation: call-in .35s cubic-bezier(.2, .7, .2, 1); }
.call.is-out { opacity: 0; transition: opacity .3s; }
@keyframes call-in { from { opacity: 0; transform: translateY(20px); } }
.call-top { display: grid; justify-items: center; gap: 8px; text-align: center; }
.call-orb { width: 96px; height: 96px; animation: orb 6s linear infinite, ring-pulse 1.3s ease-out infinite; }
.call.is-talking .call-orb { width: 48px; height: 48px; animation: orb 6s linear infinite; }
.call.is-talking .call-who { margin: 0; font-size: 18px; } /* talking: the room goes to the captions and the booking */
@keyframes ring-pulse { from { box-shadow: 0 0 0 0 rgba(80, 190, 180, .55); } to { box-shadow: 0 0 0 28px rgba(80, 190, 180, 0); } }
.call-who { margin: 8px 0 0; font: 400 24px/1.2 var(--f-display); }
.call-state, .call-time { margin: 0; color: #9FB8B6; }
.call-time { font-family: 'JetBrains Mono', monospace; }
.call-body { width: min(560px, 100%); justify-self: center; display: grid; align-content: start; gap: 14px; overflow-y: auto; }
.call-mic { margin: 0; color: #C9DBD9; font-size: 15px; line-height: 1.45; text-align: center; }
.call-caption { display: grid; gap: 8px; }
.call-caption p { margin: 0; font-size: 17px; line-height: 1.45; }
.call-caption b { color: #91DBD1; }
.call-caption .cap-patient b { color: #E8F3F2; }
.call-options { display: flex; flex-wrap: wrap; gap: 8px; }
.call-options .muted { flex-basis: 100%; margin: 0; color: #9FB8B6; }
.call-opt { padding: 12px 16px; border: 1px solid rgba(232, 243, 242, .25); border-radius: 999px; background: rgba(232, 243, 242, .06); color: #E8F3F2; font: 700 15px/1.2 'Manrope', sans-serif; cursor: pointer; }
.call-opt:hover { border-color: #50BEB4; }
.call-widget .bk { color: #1A1A1A; }
.call-actions { display: flex; justify-content: center; gap: 48px; }
.call-btn { width: 76px; height: 76px; border: 0; border-radius: 50%; color: #fff; font: 700 12px/1.2 'Manrope', sans-serif; cursor: pointer; }
.call-accept { background: #1E7F45; }
.call-decline { background: #C4320A; }
.call-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.call-sim { text-align: center; color: #9FB8B6; }
html.still .call, html.still .call-orb { animation: none; }
