#bpc-chatbot-root,
.bpc-embedded-root {
  --bpc-primary: #2aa8dc;
  --bpc-accent: #8dd7d2;
  --bpc-header-start: #10254d;
  --bpc-header-end: #17325d;
  --bpc-surface: #ffffff;
  --bpc-text: #10243d;
  --bpc-bot: #eef0f4;
  --bpc-user: #2aa8dc;
  --bpc-teaser-bg: #f7f8fb;
  --bpc-teaser-text: #1e293b;
  --bpc-teaser-action: #0f5fd7;
  --bpc-teaser-close-bg: #0f3d67;
  --bpc-teaser-close-color: #ff9f1a;
  --bpc-window-border: #dce5f1;
  --bpc-input-bg: #ffffff;
  --bpc-input-text: #0f172a;
  --bpc-bot-text: #273549;
  --bpc-user-text: #0f3d67;
  --bpc-choice-solid-text: #ffffff;
  --bpc-teaser-font-size: 18px;
  --bpc-message-font-size: 15px;
  --bpc-radius: 28px;
  --bpc-muted: #7b8798;
  --bpc-app-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#bpc-chatbot-root.bpc-chatbot-root { position: fixed; z-index: 999999; }
.bpc-pos-bottom-right { right: 24px; bottom: 24px; }
.bpc-pos-bottom-left { left: 24px; bottom: 24px; }
#bpc-chatbot-root[data-shadow="none"] .bpc-window { box-shadow: none; }
#bpc-chatbot-root[data-shadow="soft"] .bpc-window,
.bpc-embedded-root[data-shadow="soft"] .bpc-window { box-shadow: 0 24px 60px rgba(16,36,61,.18); }
#bpc-chatbot-root[data-shadow="strong"] .bpc-window,
.bpc-embedded-root[data-shadow="strong"] .bpc-window { box-shadow: 0 32px 84px rgba(16,36,61,.24); }

#bpc-chatbot-root, #bpc-chatbot-root *,
.bpc-embedded-root, .bpc-embedded-root * {
  box-sizing: border-box;
}

.bpc-chat-trigger,
.bpc-open-chat-trigger,
.bpc-toggle-chat-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--bpc-primary) 72%, #0f172a 28%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bpc-primary) 92%, #ffffff 8%) 0%, var(--bpc-primary) 100%);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--bpc-primary) 20%, transparent);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.bpc-chat-trigger:hover,
.bpc-chat-trigger:focus-visible,
.bpc-open-chat-trigger:hover,
.bpc-open-chat-trigger:focus-visible,
.bpc-toggle-chat-trigger:hover,
.bpc-toggle-chat-trigger:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--bpc-primary) 24%, transparent);
  filter: brightness(1.02);
}

.bpc-chat-trigger:focus-visible,
.bpc-open-chat-trigger:focus-visible,
.bpc-toggle-chat-trigger:focus-visible {
  outline: 3px solid rgba(42,168,220,.28);
  outline-offset: 2px;
}

.bpc-chat-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  min-width: 1.1em;
  line-height: 1;
  font-size: 1.05em;
}

.bpc-chat-trigger__label {
  display: inline-block;
}

.bpc-chat-trigger.is-full-width {
  display: flex;
  width: 100%;
}

.bpc-chat-trigger--sm {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
}

.bpc-chat-trigger--md {
  min-height: 46px;
  padding: 12px 20px;
  font-size: 15px;
}

.bpc-chat-trigger--lg {
  min-height: 54px;
  padding: 14px 24px;
  font-size: 16px;
}

.bpc-chat-trigger--outline {
  background: #ffffff;
  color: var(--bpc-primary);
  border-color: color-mix(in srgb, var(--bpc-primary) 28%, #cbd5e1 72%);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.bpc-chat-trigger--soft {
  background: color-mix(in srgb, var(--bpc-primary) 12%, #ffffff 88%);
  color: color-mix(in srgb, var(--bpc-primary) 80%, #0f172a 20%);
  border-color: color-mix(in srgb, var(--bpc-primary) 18%, #dbeafe 82%);
  box-shadow: none;
}

.bpc-chat-trigger--ghost,
.bpc-chat-trigger--link,
.bpc-chat-trigger--button.bpc-chat-trigger--link,
.bpc-chat-trigger--link.bpc-chat-trigger--link {
  padding-left: 0;
  padding-right: 0;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bpc-primary);
  box-shadow: none;
}

.bpc-chat-trigger--ghost:hover,
.bpc-chat-trigger--ghost:focus-visible,
.bpc-chat-trigger--link:hover,
.bpc-chat-trigger--link:focus-visible,
.bpc-open-chat-trigger--link:hover,
.bpc-open-chat-trigger--link:focus-visible {
  box-shadow: none;
}

.bpc-chat-trigger--ghost {
  padding: 10px 0;
}

.bpc-chat-trigger--toggle .bpc-chat-trigger__icon {
  font-size: 1em;
}

.bpc-teaser {
  position: absolute;
  right: 0;
  bottom: 96px;
  width: 360px;
  max-width: calc(100vw - 32px);
}
.bpc-pos-bottom-left .bpc-teaser { left: 0; right: auto; }
.bpc-teaser-card {
  position: relative;
  background: var(--bpc-teaser-bg);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 28px;
  padding: 20px 20px 16px;
  padding-right: 20px;
  box-shadow: 0 20px 46px rgba(16,36,61,.12);
}
.bpc-teaser-card:after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -14px;
  width: 24px;
  height: 24px;
  background: var(--bpc-teaser-bg);
  border-right: 1px solid rgba(15, 23, 42, .06);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  transform: rotate(45deg);
}
.bpc-teaser-copy {
  font-size: var(--bpc-teaser-font-size);
  line-height: 1.22;
  font-weight: 800;
  color: var(--bpc-teaser-text);
  letter-spacing: -.025em;
  padding-right: 4px;
  text-wrap: balance;
}
.bpc-teaser-actions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 95, 215, .18);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bpc-teaser-link {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 95, 215, .25);
  background: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--bpc-teaser-action);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.bpc-teaser-link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,95,215,.12); }
.bpc-teaser-link.is-primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--bpc-primary) 92%, #ffffff 8%) 0%, var(--bpc-primary) 100%);
  color: var(--bpc-choice-solid-text);
  border-color: color-mix(in srgb, var(--bpc-primary) 72%, #0f172a 28%);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--bpc-primary) 22%, transparent);
}
.bpc-teaser-close {
  position: absolute;
  top: -14px;
  right: -10px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: var(--bpc-teaser-close-bg);
  color: var(--bpc-teaser-close-color);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(15,61,103,.18);
}

.bpc-teaser-close:hover, .bpc-teaser-close:focus-visible { transform: translateY(-1px); filter: brightness(1.02); }
.bpc-teaser-link:focus-visible, .bpc-header-icon:focus-visible, .bpc-launcher:focus-visible, .bpc-send:focus-visible { outline: 3px solid rgba(42,168,220,.28); outline-offset: 2px; }
#bpc-chatbot-root .bpc-choice,
#bpc-chatbot-root .bpc-send,
#bpc-chatbot-root .bpc-tool,
.bpc-embedded-root .bpc-choice,
.bpc-embedded-root .bpc-send,
.bpc-embedded-root .bpc-tool {
  font: inherit;
}
#bpc-chatbot-root button.bpc-choice,
#bpc-chatbot-root button.bpc-send,
#bpc-chatbot-root button.bpc-tool,
.bpc-embedded-root button.bpc-choice,
.bpc-embedded-root button.bpc-send,
.bpc-embedded-root button.bpc-tool {
  appearance: none !important;
  -webkit-appearance: none !important;
  font-family: inherit !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

.bpc-launcher {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: visible;
  padding: 0;
}
.bpc-launcher-icon {
  width: 28px;
  height: 20px;
  border-radius: 6px;
  background: #1b4a72;
  position: relative;
  display: inline-block;
}
.bpc-launcher-icon:after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #1b4a72;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.bpc-launcher-image { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; object-position: center 22%; }
.bpc-launcher-glyph, .bpc-launcher-emoji { font-size: 34px; line-height: 1; }
.bpc-badge {
  position: absolute;
  right: -4px;
  top: -6px;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ef234d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid #fff;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 8px 16px rgba(239,35,77,.24);
}
#bpc-chatbot-root.bpc-is-open .bpc-launcher {
  opacity: 0;
  pointer-events: none;
  transform: scale(.92);
}

.bpc-window {
  position: absolute;
  right: 0;
  bottom: 92px;
  width: 392px;
  max-width: calc(100vw - 28px);
  height: min(740px, calc(var(--bpc-app-height, 100vh) - 110px));
  background: var(--bpc-surface);
  border: 1px solid var(--bpc-window-border);
  border-radius: calc(var(--bpc-radius) + 2px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bpc-pos-bottom-left .bpc-window { left: 0; right: auto; }
.bpc-window.is-hidden { display: none; }
.bpc-window.is-embedded { position: relative; right: auto; bottom: auto; width: 100%; max-width: 100%; height: 760px; }

.bpc-header {
  padding: 16px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--bpc-header-start) 0%, var(--bpc-header-end) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bpc-header-left, .bpc-header-right { display: flex; align-items: center; gap: 12px; }
.bpc-head-avatar, .bpc-avatar {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
}
.bpc-head-avatar img, .bpc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bpc-avatar-image { width: 100%; height: 100%; object-fit: cover; }
.bpc-avatar-letter { font-size: 13px; font-weight: 700; color: #17325d; }
.bpc-brand-name { font-size: 16px; font-weight: 800; }
.bpc-brand-sub { font-size: 12px; color: rgba(255,255,255,.72); }
.bpc-header-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bpc-header-icon.is-minimize { font-size: 20px; padding-bottom: 7px; }
.bpc-header-icon.is-close { font-size: 24px; }

.bpc-messages {
  flex: 1;
  overflow: auto;
  padding: 18px 16px 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.bpc-row { display: flex; gap: 10px; margin-bottom: 16px; align-items: flex-end; }
.bpc-row.user { justify-content: flex-end; }
.bpc-stack { max-width: 77%; }
.bpc-bubble {
  border-radius: 18px 18px 18px 8px;
  padding: 14px 16px;
  font-size: var(--bpc-message-font-size);
  line-height: 1.48;
  font-weight: 600;
  color: var(--bpc-bot-text);
  background: var(--bpc-bot);
  border: 1px solid rgba(15,23,42,.05);
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset;
}
.bpc-row.user .bpc-bubble {
  background: var(--bpc-user);
  color: var(--bpc-user-text);
  border: 0;
  border-radius: 18px 18px 8px 18px;
  font-weight: 700;
}
.bpc-row.user .bpc-stack { max-width: 70%; }
.bpc-row.user .bpc-avatar { display: none; }
.bpc-row.agent .bpc-bubble { background: #eff6ff; color: #1e3a8a; }
.bpc-typing { display:flex; gap:6px; align-items:center; padding: 4px 12px 14px 46px; }
.bpc-typing span { width: 8px; height: 8px; background: #c7cfda; border-radius: 50%; animation: bpc-blink 1.2s infinite; }
.bpc-typing span:nth-child(2){animation-delay:.15s}.bpc-typing span:nth-child(3){animation-delay:.3s}
@keyframes bpc-blink { 0%,80%,100%{opacity:.35;transform:translateY(0)} 40%{opacity:1;transform:translateY(-2px)} }

.bpc-prompt-shell {
  padding: 14px 16px 10px;
  border-top: 1px solid #e6eaf0;
  background: #fff;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.bpc-prompt-body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.bpc-prompt-body.is-busy {
  opacity: .72;
  pointer-events: none;
}
.bpc-prompt-body.is-busy .bpc-send {
  cursor: wait;
}
.bpc-prompt-error { min-height: 18px; color: #dc2626; font-size: 12px; margin-bottom: 4px; }
.bpc-choice-grid { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; width: 100%; max-width: 100%; min-width: 0; }
.bpc-choice {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 !important;
  min-height: 34px;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(15,95,215,.22);
  background: #fff;
  color: var(--bpc-primary);
  font-size: 12px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  box-shadow: none !important;
  cursor: pointer;
  flex: 0 1 auto !important;
}
.bpc-choice.is-solid { background: var(--bpc-primary); color: var(--bpc-choice-solid-text); border-color: transparent; }
.bpc-choice--option { max-width: min(100%, 168px); }
.bpc-choice--action { min-width: 112px; }
.bpc-choice--submit { min-width: 104px; }
#bpc-chatbot-root .bpc-choice-grid,
.bpc-embedded-root .bpc-choice-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px !important;
  justify-content: start;
}
#bpc-chatbot-root button.bpc-choice,
.bpc-embedded-root button.bpc-choice {
  min-height: 34px !important;
  padding: 7px 10px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  line-height: 1.22 !important;
  font-weight: 500 !important;
  width: auto !important;
  max-width: 168px !important;
}
#bpc-chatbot-root button.bpc-choice.bpc-choice--option,
.bpc-embedded-root button.bpc-choice.bpc-choice--option {
  width: auto !important;
  min-width: 0 !important;
  max-width: 168px !important;
}
#bpc-chatbot-root button.bpc-choice.bpc-choice--action,
#bpc-chatbot-root button.bpc-choice.bpc-choice--submit,
.bpc-embedded-root button.bpc-choice.bpc-choice--action,
.bpc-embedded-root button.bpc-choice.bpc-choice--submit {
  max-width: none !important;
}
.bpc-composer { display: flex; gap: 10px; align-items: center; width: 100%; max-width: 100%; min-width: 0; }
.bpc-input {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--bpc-window-border);
  background: var(--bpc-input-bg);
  padding: 0 16px;
  font-size: 16px;
  color: var(--bpc-input-text);
  outline: none;
  touch-action: manipulation;
}
.bpc-input::placeholder { color: #94a3b8; }
.bpc-input:focus { border-color: var(--bpc-primary); box-shadow: 0 0 0 3px rgba(42,168,220,.12); }
.bpc-send {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(180deg, var(--bpc-accent) 0%, var(--bpc-primary) 100%);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.bpc-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.bpc-tool {
  border: 0;
  background: transparent;
  color: var(--bpc-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}
.bpc-powered, .bpc-privacy {
  font-size: 11px;
  color: #96a0ae;
}
.bpc-privacy { padding: 0 16px 14px; }
.bpc-privacy a { color: var(--bpc-primary); text-decoration: none; }
.bpc-complete-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }

@media (max-width: 640px) {
  .bpc-pos-bottom-right, .bpc-pos-bottom-left { right: 12px; left: auto; bottom: 12px; }
  .bpc-teaser { width: min(360px, calc(100vw - 20px)); bottom: 88px; }
  .bpc-teaser-card { padding: 20px 18px 14px; border-radius: 22px; }
  .bpc-teaser-copy { font-size: 18px; }
  .bpc-teaser-actions { gap: 8px; }
  .bpc-teaser-link { flex: 1 1 calc(50% - 4px); font-size: 15px; padding: 10px 14px; }
  .bpc-teaser-close { width: 36px; height: 36px; font-size: 22px; top: -10px; right: -6px; }

  .bpc-teaser-close:hover, .bpc-teaser-close:focus-visible { transform: translateY(-1px); filter: brightness(1.02); }
  .bpc-teaser-link:focus-visible, .bpc-header-icon:focus-visible, .bpc-launcher:focus-visible, .bpc-send:focus-visible { outline: 3px solid rgba(42,168,220,.28); outline-offset: 2px; }
#bpc-chatbot-root .bpc-choice,
#bpc-chatbot-root .bpc-send,
#bpc-chatbot-root .bpc-tool,
.bpc-embedded-root .bpc-choice,
.bpc-embedded-root .bpc-send,
.bpc-embedded-root .bpc-tool {
  font: inherit;
}
#bpc-chatbot-root button.bpc-choice,
#bpc-chatbot-root button.bpc-send,
#bpc-chatbot-root button.bpc-tool,
.bpc-embedded-root button.bpc-choice,
.bpc-embedded-root button.bpc-send,
.bpc-embedded-root button.bpc-tool {
  appearance: none !important;
  -webkit-appearance: none !important;
  font-family: inherit !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

  .bpc-choice { min-height: 34px; padding: 7px 10px; font-size: 12px; }
  .bpc-choice--option { max-width: 100%; }
  .bpc-choice--action, .bpc-choice--submit { min-width: 0; }
  .bpc-launcher { width: 66px; height: 66px; }
  .bpc-launcher-image { width: 100%; height: 100%; object-position: center 22%; }
  .bpc-window {
    right: -12px;
    bottom: -12px;
    width: 100vw;
    max-width: 100vw;
    height: var(--bpc-app-height, 100dvh);
    max-height: var(--bpc-app-height, 100dvh);
    border-radius: 0;
  }
  .bpc-window.is-embedded { height: 86vh; border-radius: 20px; }
  .bpc-header { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .bpc-prompt-shell { padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)); }
  .bpc-choice-grid { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bpc-choice { min-height: 32px; padding: 6px 8px; font-size: 11px; border-radius: 10px; }
  .bpc-choice--option { max-width: none; width: 100% !important; }
  .bpc-choice--action { min-width: 0; }
}

@supports (height: 100dvh) {
  .bpc-window { height: min(740px, calc(100dvh - 110px)); }
  @media (max-width: 640px) {
    .bpc-window { height: 100dvh; max-height: 100dvh; }
  }
}

/* ─── Progress bar (Phase 4) ─── */
.bpc-progress-wrap {
  height: 3px;
  background: rgba(15, 23, 42, .06);
  overflow: hidden;
}
.bpc-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--bpc-primary), var(--bpc-accent));
  transition: width .4s ease;
  border-radius: 0 2px 2px 0;
}

/* ─── Offline state (Phase 3) ─── */
.bpc-launcher[style*="opacity: 0.5"] {
  cursor: pointer;
  animation: bpc-pulse 2s ease-in-out infinite;
}
@keyframes bpc-pulse {
  0%, 100% { opacity: .5; }
  50% { opacity: .7; }
}

/* ─── Skip link for embedded mode (Phase 2 A11y) ─── */
.bpc-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  padding: 8px 14px;
  background: var(--bpc-primary);
  color: #fff;
  border-radius: 0 0 8px 0;
  font-size: 13px;
  font-weight: 600;
}
.bpc-skip-link:focus {
  left: 0;
}

/* ─── High contrast focus ring (Phase 2 A11y) ─── */
.bpc-choice:focus-visible,
.bpc-input:focus-visible {
  outline: 3px solid rgba(42, 168, 220, .35);
  outline-offset: 2px;
}

/* ─── Enhancement #8: Social proof bubble ─── */
.bpc-social-proof {
  background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%) !important;
  color: #854d0e !important;
  border: 1px solid rgba(202, 138, 4, .2) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 10px 14px !important;
}
.bpc-proof-icon { font-size: 14px; margin-right: 4px; }

/* ─── Enhancement #9: Calculated result display ─── */
.bpc-calculated {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  border: 1px solid rgba(16, 185, 129, .2) !important;
}
.bpc-calc-result {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 185, 129, .2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.bpc-calc-label { font-size: 12px; color: #065f46; font-weight: 600; }
.bpc-calc-value { font-size: 22px; font-weight: 800; color: #047857; }

/* ─── Enhancement #2: Calendar booking embed ─── */
.bpc-booking-bubble { padding-bottom: 6px !important; }
.bpc-booking-frame { margin-top: 8px; }
.bpc-booking-iframe { transition: opacity .3s; }

/* ─── Enhancement #14: OTP input ─── */
.bpc-otp-wrap { display: grid; gap: 8px; }
.bpc-otp-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; }
.bpc-resend { margin-top: 4px; font-size: 12px !important; color: var(--bpc-muted) !important; }

/* ─── Enhancement #13: File upload ─── */
.bpc-file-wrap { display: grid; gap: 10px; }
.bpc-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 2px dashed var(--bpc-window-border);
  background: var(--bpc-input-bg);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--bpc-primary);
  transition: border-color .15s;
}
.bpc-file-label:hover { border-color: var(--bpc-primary); }
.bpc-file-icon { font-size: 18px; }
.bpc-file-name { font-size: 12px; color: var(--bpc-muted); }

/* ─── Enhancement #17: Full-page / landing page mode ─── */
.bpc-window.is-fullpage {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: 0;
  z-index: 999999;
}
.bpc-window.is-fullpage .bpc-messages { max-width: 640px; margin: 0 auto; }
.bpc-window.is-fullpage .bpc-prompt-shell { max-width: 640px; margin: 0 auto; }

/* ─── Enhancement #1: Exit-intent teaser animation ─── */
@keyframes bpc-slide-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.bpc-teaser[style*="display: block"] .bpc-teaser-card { animation: bpc-slide-in .35s ease-out; }
