/* Booking-scoped audio call screen. Fills the page viewport on phone and desktop. */
.ls-call-launch {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  flex: 0 0 auto; min-width: 42px; height: 40px; padding: 0 10px;
  border: 1px solid #bbdfca; border-radius: 12px; background: #eaf8ef;
  color: #167343; font-size: 13px; font-weight: 800; cursor: pointer;
}
.ls-call-launch:hover, .ls-call-launch:focus-visible { background: #d8f4e4; outline-color: #15803d; }
.ls-voice-backdrop {
  position: fixed; inset: 0; z-index: 10000; color: #fff;
  background: radial-gradient(circle at 50% 36%, #1b654a 0%, #123d31 39%, #071c19 100%);
  overscroll-behavior: contain; font-family: Inter, system-ui, sans-serif;
}
.ls-voice-backdrop::before {
  content: ''; pointer-events: none; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(144, 238, 183, .12), transparent 48%);
}
.ls-voice-panel {
  position: relative; display: flex; flex-direction: column; width: 100%;
  height: 100vh; height: 100dvh; min-height: 430px;
}
.ls-voice-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: min(100%, 1060px); margin: 0 auto; padding: 24px max(22px, env(safe-area-inset-right));
}
.ls-voice-brand { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; }
.ls-voice-brand img { width: 34px; height: 34px; border-radius: 10px; }
.ls-voice-private {
  color: #bce5ce; font-size: 10px; font-weight: 800; letter-spacing: .13em;
  text-align: right;
}
.ls-voice-identity {
  display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 20px 20px 24px;
}
.ls-voice-portrait {
  display: grid; place-items: center; flex: 0 0 auto; overflow: hidden;
  width: clamp(128px, 22vh, 230px); height: clamp(128px, 22vh, 230px);
  margin: 0 auto 25px; border: 4px solid rgba(255, 255, 255, .5);
  border-radius: 50%; background: linear-gradient(145deg, #dff8e7, #86cfaa);
  color: #125439; box-shadow: 0 0 0 12px rgba(179, 247, 207, .07), 0 18px 52px rgba(0, 0, 0, .2);
}
.ls-voice-portrait img { width: 100%; height: 100%; object-fit: cover; }
.ls-voice-initials { font-size: clamp(45px, 9vh, 74px); font-weight: 800; letter-spacing: -.05em; }
.ls-voice-title { max-width: min(90vw, 650px); margin: 0; font-size: clamp(25px, 4vw, 38px); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.ls-voice-service { margin: 9px 0 0; color: #c5e7d5; font-size: 15px; }
.ls-voice-status { margin: 23px 0 0; color: #ecfff4; font-size: 17px; font-weight: 700; }
.ls-voice-status.ls-voice-error { color: #fecaca; }
.ls-voice-timer { min-height: 22px; margin: 5px 0 0; color: #c6ead4; font-variant-numeric: tabular-nums; font-size: 16px; }
.ls-voice-detail { margin: 8px 0 0; color: #b6d6c7; font-size: 12px; line-height: 1.5; }
.ls-voice-tray {
  width: min(calc(100% - 32px), 520px); flex: 0 0 auto; margin: 0 auto max(16px, env(safe-area-inset-bottom));
  padding: 22px 14px 18px; border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px; background: rgba(9, 29, 27, .88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}
.ls-voice-actions { display: flex; justify-content: space-evenly; align-items: flex-start; gap: 9px; }
.ls-voice-button {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-width: 74px; max-width: 120px; padding: 0; border: 0; background: transparent;
  color: #fff; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700;
}
.ls-voice-button svg {
  display: block; width: 64px; height: 64px; padding: 18px;
  border-radius: 50%; background: #24473e; transition: background-color .15s ease, transform .15s ease;
}
.ls-voice-button:hover svg { transform: translateY(-2px); }
.ls-voice-button:focus-visible { outline: 2px solid #86efac; outline-offset: 5px; border-radius: 12px; }
.ls-voice-button[aria-pressed="true"] svg { background: #fff; color: #0f5637; }
.ls-voice-end svg { background: #dc2846; }
.ls-voice-end:hover svg { background: #bd1937; }
.ls-voice-answer svg { background: #169d56; }
.ls-voice-answer:hover svg { background: #107f44; }
.ls-voice-feedback { min-height: 0; margin: 10px 0 0; color: #cde9d7; text-align: center; font-size: 12px; line-height: 1.4; }
.ls-voice-feedback:empty { display: none; }
.ls-alerts-link {
  display: block; margin: 10px auto 0; padding: 6px; border: 0; background: none;
  color: #b1ecc9; text-decoration: underline; text-underline-offset: 3px; font-size: 12px;
  font-weight: 700; cursor: pointer;
}
@media (max-width: 430px) {
  .ls-voice-top { padding: 18px 20px; }
  .ls-voice-private { font-size: 9px; }
  .ls-voice-portrait { margin-bottom: 18px; }
  .ls-voice-status { margin-top: 15px; }
  .ls-voice-tray { padding: 20px 9px 17px; }
  .ls-voice-button svg { width: 60px; height: 60px; padding: 17px; }
}
@media (max-height: 650px) {
  .ls-voice-top { padding-top: 12px; padding-bottom: 8px; }
  .ls-voice-portrait { width: 100px; height: 100px; margin-bottom: 12px; }
  .ls-voice-initials { font-size: 42px; }
  .ls-voice-status { margin-top: 8px; }
  .ls-voice-tray { padding-top: 12px; padding-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .ls-voice-button svg { transition: none; } }

/* Clear, equal-size booking communication actions. */
.ls-private-communication {
  margin-top: 10px; padding: 13px; border: 1px solid #bbf7d0;
  border-radius: 14px; background: #f0fdf4;
}
.ls-private-title {
  margin: 0 0 10px; color: #15803d; font-size: 11px;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.ls-private-actions { display: flex; gap: 9px; width: 100%; }
.ls-chat-compact, .ls-private-call, .ls-call-booking {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; border-radius: 11px; font-size: 13px;
  font-weight: 800; cursor: pointer; transition: background-color .16s ease, transform .16s ease;
}
.ls-private-actions .ls-chat-compact, .ls-private-actions .ls-private-call { flex: 1 1 0; min-width: 0; }
.ls-chat-compact { padding: 9px 12px; border: 1px solid #b8e7c9; background: white; color: #137a41; }
.ls-chat-compact:hover, .ls-chat-compact:focus-visible { background: #e6f8ed; }
.ls-private-call { padding: 9px 12px; border: 1px solid #15803d; background: #15803d; color: #fff; }
.ls-private-call:hover, .ls-private-call:focus-visible { background: #166534; }
.ls-call-booking { padding: 9px 16px; border: 1px solid #15803d; background: #ecfdf3; color: #166534; }
.ls-call-booking:hover, .ls-call-booking:focus-visible { background: #dcfce7; }
.ls-private-actions button:focus-visible, .ls-call-booking:focus-visible { outline: 2px solid #22c55e; outline-offset: 2px; }
.ls-alerts-link { display: inline-block; margin-top: 9px; padding: 3px 0; border: 0; background: none; color: #26714b; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; font-weight: 700; cursor: pointer; }
@media (max-width: 359px) { .ls-private-actions { gap: 6px; } .ls-chat-compact, .ls-private-call { padding: 8px; } }
@media (prefers-reduced-motion: reduce) { .ls-chat-compact, .ls-private-call, .ls-call-booking { transition: none; } }

/* Customer booking: equal communication actions, cancellation below. */
.ls-booking-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid #f1f5f9;
}
.ls-booking-communication {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%;
}
.ls-booking-communication > button { width: 100%; min-width: 0; min-height: 46px; white-space: nowrap; }
.ls-booking-communication .ls-call-booking { padding: 8px 10px; }
.ls-booking-cancel, .ls-booking-rebook { width: 100%; min-height: 45px; }
.ls-booking-cancel:focus-visible, .ls-booking-communication button:focus-visible {
  outline: 2px solid #16a34a; outline-offset: 2px;
}
@media (max-width: 350px) { .ls-booking-communication { gap: 7px; } .ls-booking-communication > button { padding-left: 5px; padding-right: 5px; font-size: 12px; } }
