/**
 * Benefit Path — Survey / Path funnel CSS
 * Loaded on public path pages only (not dashboard shell).
 * Generated by scripts/build-survey-css.ts — edit bp-system.css or re-run the script.
 */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */

:root {
  --c-primary: #5050ff;
  --c-primary-hover: #4338ca;
  --c-primary-light: #eef2ff;
  --primary-color: var(--c-primary);
  --c-primary-color: var(--primary-color);
  --c-accent: #06b6d4;
  --c-bg: #f9fafb;
  --c-surface: #fff;
  --c-border: #e5e7eb;
  --c-text: #111827;
  --c-text-muted: #6b7280;
  --c-text-light: #9ca3af;
  --c-success: #10b981;
  --c-warning: #f59e0b;
  --c-danger: #ef4444;
  --c-info: #3b82f6;

  --sidebar-w: 240px;
  --sidebar-collapsed-w: 56px;
  --sidebar-inset: .5rem;
  --sidebar-main-offset: calc(var(--sidebar-inset) + var(--sidebar-w) + var(--sidebar-inset));
  --sidebar-main-offset-collapsed: calc(var(--sidebar-inset) + var(--sidebar-collapsed-w) + var(--sidebar-inset));
  --topbar-h: 56px;
  --topbar-stack-offset: calc(var(--sidebar-inset) + var(--topbar-h) + var(--sidebar-inset));
  --sidebar-dur: 280ms;
  --bp-shell-bg: var(--c-surface);
  --bp-page-bg: var(--bp-card-section-bg);
  --selection-bg: color-mix(in srgb, var(--c-primary) 28%, #fff);
  --selection-text: var(--c-text);
  --scrollbar-size: 10px;
  --scrollbar-thumb: #4f46e5;
  --scrollbar-thumb-hover: color-mix(in srgb, var(--c-primary) 58%, #fff);
  --scrollbar-track: rgba(17, 24, 39, .06);

  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: 200ms;

  --bp-card-bg: var(--c-bg);
  --bp-card-border: var(--c-border);
  --bp-card-radius: var(--radius-lg);
  --bp-card-inset: .5rem;
  --bp-card-section-radius: calc(var(--bp-card-radius) - 4px);
  --bp-card-section-bg: color-mix(in srgb, var(--c-border) 40%, var(--c-bg));
  --bp-card-header-bg: var(--bp-card-section-bg);
  --bp-card-footer-bg: var(--bp-card-section-bg);
  --bp-card-stack-gap: 1.5rem;
  --bp-page-padding: 1.5rem;

  --btn-chrome-bg: var(--bp-card-section-bg);
  --btn-chrome-bg-hover: color-mix(in srgb, var(--c-border) 58%, var(--c-bg));
  --btn-surface-bg: var(--bp-card-bg);
  --btn-surface-bg-hover: color-mix(in srgb, var(--c-border) 24%, var(--bp-card-bg));

  --bp-field-border: var(--c-border);
  --bp-field-height: 2.375rem;
  --bp-field-padding-x: .75rem;
  --bp-field-select-padding-right: 2.35rem;
  --bp-field-font-size: .875rem;
  --bp-field-line-height: 1.25;
  --bp-shadow: 0 2px 3px -1px color-mix(in srgb, #111827 11%, transparent);
  --bp-shadow-hover: 0 3px 5px -1px color-mix(in srgb, #111827 15%, transparent);
  --bp-shadow-focus: 0 3px 7px -1px color-mix(in srgb, var(--c-primary-color, var(--c-primary)) 24%, transparent);

  /* Legacy aliases — prefer --bp-shadow */
  --bp-field-shadow: var(--bp-shadow);
  --bp-field-shadow-hover: var(--bp-shadow-hover);
  --bp-field-shadow-focus: var(--bp-shadow-focus);
  --bp-card-shadow: var(--bp-shadow);
  --bp-card-shadow-hover: var(--bp-shadow-hover);
  --bp-chrome-shadow: var(--bp-shadow);
  --bp-chrome-shadow-hover: var(--bp-shadow-hover);
  --bp-chrome-shadow-active: var(--bp-shadow-hover);
  --bp-pill-shadow: var(--bp-shadow);
  --bp-dropdown-shadow: var(--bp-shadow);
  --bp-btn-shadow-primary: var(--bp-shadow);
  --bp-btn-shadow-primary-hover: var(--bp-shadow-hover);
  --bp-shell-shadow: var(--bp-shadow);
  --bp-bar-shadow: var(--bp-shadow);
  --bp-bar-shadow-up: var(--bp-shadow);

  --bp-overlay-scrim: color-mix(in srgb, var(--c-surface) 68%, transparent);
  --bp-overlay-blur: blur(6px) saturate(1.05);

  --btn-font-size: .875rem;
  --btn-font-weight: 500;
  --btn-line-height: 1.25;
  --btn-padding-y: .5rem;
  --btn-padding-x: 1rem;
  --btn-min-height: 2.125rem;
  --btn-gap: .375rem;
  --btn-mini-font-size: .8125rem;
  --btn-mini-padding-y: .35rem;
  --btn-mini-padding-x: .75rem;
  --btn-mini-min-height: 1.75rem;
  --btn-sm-font-size: var(--btn-mini-font-size);
  --btn-sm-padding-y: var(--btn-mini-padding-y);
  --btn-sm-padding-x: var(--btn-mini-padding-x);
  --btn-sm-min-height: var(--btn-mini-min-height);

  --bp-icon-size-xs: 15px;
  --bp-icon-size-sm: 17px;
  --bp-icon-size-md: 20px;
  --bp-icon-size-lg: 24px;
  --bp-icon-size: var(--bp-icon-size-md);

  --cal-grid-line: color-mix(in srgb, var(--c-border) 48%, transparent);
  --cal-time-slot-h: 48px;
  --cal-time-gutter-w: 56px;
  --cal-resource-color: var(--cal-agent-color, var(--c-primary));

  --bp-chevron-down: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  --bp-checkbox-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1.2 5.2 4.4 8.4 10.8 1.6'/%3E%3C/svg%3E");
  --bp-checkbox-indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 2'%3E%3Crect fill='%23fff' width='10' height='2' rx='1'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
  --c-bg: #111827;
  --c-surface: #1f2937;
  --c-border: #374151;
  --c-text: #f3f4f6;
  --c-text-muted: #9ca3af;
  --c-text-light: #6b7280;
  --c-primary-light: color-mix(in srgb, var(--c-primary) 25%, #111827);
  --bp-card-bg: var(--c-surface);
  --bp-card-section-bg: color-mix(in srgb, var(--c-bg) 68%, var(--bp-card-bg));
  --btn-chrome-bg-hover: color-mix(in srgb, var(--c-bg) 42%, var(--bp-card-section-bg));
  --bp-shadow: 0 2px 3px -1px color-mix(in srgb, #000 34%, transparent);
  --bp-shadow-hover: 0 3px 5px -1px color-mix(in srgb, #000 42%, transparent);
  --bp-shadow-focus: 0 3px 7px -1px color-mix(in srgb, var(--c-primary-color, var(--c-primary)) 32%, transparent);
  --bp-overlay-scrim: color-mix(in srgb, #030712 58%, transparent);
  --scrollbar-thumb-hover: color-mix(in srgb, var(--c-primary) 72%, #1f2937);
  --selection-bg: color-mix(in srgb, var(--c-primary) 42%, #111827);
  --selection-text: #f9fafb;
  --scrollbar-track: hsla(0, 0%, 100%, .06);
  --bp-chevron-down: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  color-scheme: dark;
}

:root { --c-muted: var(--c-text-muted); }

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, sans-serif;
  color: var(--c-text);
  background: var(--bp-page-bg, var(--c-bg));
  line-height: 1.5;
  min-height: 100dvh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

::-moz-selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  border: 2px solid transparent;
  background-clip: content-box;
}

/* Button variants: secondary (default), primary, mini */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--btn-gap);
  padding: var(--btn-size-padding-y, var(--btn-padding-y)) var(--btn-size-padding-x, var(--btn-padding-x));
  min-height: var(--btn-size-min-height, var(--btn-min-height));
  font-size: var(--btn-size-font-size, var(--btn-font-size));
  font-weight: var(--btn-font-weight);
  line-height: var(--btn-line-height);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
  box-sizing: border-box;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn svg,
.btn .bp-icon,
.btn .icon {
  width: var(--bp-icon-size-md);
  height: var(--bp-icon-size-md);
  flex-shrink: 0;
}

/* Secondary — chrome chip (default for .btn and explicit .btn-secondary) */
.btn,
.btn-secondary {
  background: var(--btn-chrome-bg);
  color: var(--c-text);
  box-shadow: var(--bp-shadow);
}

.btn:hover:not(:disabled),
.btn-secondary:hover:not(:disabled) {
  background: var(--btn-chrome-bg-hover);
  box-shadow: var(--bp-shadow-hover);
}

.btn:focus-visible,
.btn-secondary:focus-visible {
  outline: none;
  box-shadow: var(--bp-shadow-focus);
}

/* On page background — card/input surface (toolbar chrome, back links, …) */
.btn-surface,
.page-content :is(
  .page-header,
  .contacts-page-header,
  .messages-page-header,
  .cp-page-header,
  .analytics-page-header,
  .contacts-page-toolbar,
  .messages-toolbar-actions,
  .analytics-page-toolbar
) :is(.btn, a.btn, .contacts-actions-btn):where(
  :not(.btn-primary):not(.btn-danger):not(.btn-warning):not(.btn-ghost):not(.btn-dashed)
) {
  background: var(--btn-surface-bg);
  box-shadow: var(--bp-shadow);
}

.btn-surface:hover:not(:disabled),
.page-content :is(
  .page-header,
  .contacts-page-header,
  .messages-page-header,
  .cp-page-header,
  .analytics-page-header,
  .contacts-page-toolbar,
  .messages-toolbar-actions,
  .analytics-page-toolbar
) :is(.btn, a.btn, .contacts-actions-btn):where(
  :not(.btn-primary):not(.btn-danger):not(.btn-warning):not(.btn-ghost):not(.btn-dashed)
):hover:not(:disabled) {
  background: var(--btn-surface-bg-hover);
  box-shadow: var(--bp-shadow-hover);
}

.btn-surface:focus-visible,
.page-content :is(
  .page-header,
  .contacts-page-header,
  .messages-page-header,
  .cp-page-header,
  .analytics-page-header,
  .contacts-page-toolbar,
  .messages-toolbar-actions,
  .analytics-page-toolbar
) :is(.btn, a.btn, .contacts-actions-btn):where(
  :not(.btn-primary):not(.btn-danger):not(.btn-warning):not(.btn-ghost):not(.btn-dashed)
):focus-visible {
  outline: none;
  box-shadow: var(--bp-shadow-focus);
}

/* Primary — filled brand CTA */
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--bp-shadow);
}

.btn-primary:hover:not(:disabled) {
  background: var(--c-primary-hover);
  box-shadow: var(--bp-shadow-hover);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--bp-shadow-focus);
}

/* Mini — compact toolbar / inline actions (.btn-sm is legacy alias) */
.btn-mini,
.btn-sm {
  --btn-size-padding-y: var(--btn-mini-padding-y);
  --btn-size-padding-x: var(--btn-mini-padding-x);
  --btn-size-font-size: var(--btn-mini-font-size);
  --btn-size-min-height: var(--btn-mini-min-height);
}

.btn-mini svg,
.btn-sm svg,
.btn-mini .bp-icon,
.btn-sm .bp-icon,
.btn-mini .icon,
.btn-sm .icon {
  width: var(--bp-icon-size-sm);
  height: var(--bp-icon-size-sm);
}

.form-label,
.form-question {
  gap: .35rem;
  color: var(--c-text)
}

.form-question {
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center
}

/* ── 9. Form fields ────────────────────────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  position: relative;
}

.form-label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-text);
}

.form-input,
.form-select,
.form-textarea {
  box-sizing: border-box;
  border: 1px solid var(--bp-field-border);
  border-radius: var(--radius);
  font-size: var(--bp-field-font-size);
  font-family: inherit;
  color: var(--c-text);
  background-color: var(--bp-card-bg);
  box-shadow: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.form-input,
.form-select,
select.form-select {
  height: var(--bp-field-height);
  min-height: var(--bp-field-height);
  padding: 0 var(--bp-field-padding-x);
  line-height: var(--bp-field-line-height);
}

.form-textarea {
  height: auto;
  min-height: 5.25rem;
  padding: .5rem .75rem;
  line-height: 1.5;
  resize: vertical;
}

.form-select,
select.form-select {
  appearance: none;
  padding-right: var(--bp-field-select-padding-right);
  cursor: pointer;
  background-image: var(--bp-chevron-down);
  background-repeat: no-repeat;
  background-position: right .65rem center;
  background-size: 1rem 1rem;
}

.form-input:hover:not(:disabled),
.form-select:hover:not(:disabled),
.form-textarea:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--c-primary) 32%, var(--bp-field-border));
  background-color: color-mix(in srgb, var(--bp-card-bg) 97%, var(--c-text) 3%);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-primary-color, var(--c-primary));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary-color, var(--c-primary)) 22%, transparent);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  cursor: not-allowed;
  opacity: .72;
  background-color: color-mix(in srgb, var(--bp-card-bg) 84%, var(--c-border));
}

.form-select:has(option[value=""]:checked) {
  color: var(--c-text-muted);
}

.form-select optgroup,
.form-select option {
  padding: .5rem .75rem;
  background-color: var(--bp-card-bg);
  color: var(--c-text);
}

select[multiple]:not(.website-url-full-select) {
  padding: .5rem .65rem;
  border: 1px solid var(--bp-field-border);
  border-radius: var(--radius);
  background-color: var(--bp-card-bg);
  color: var(--c-text);
  min-height: 6rem;
  box-shadow: none;
}

select[multiple]:not(.website-url-full-select):focus {
  outline: none;
  border-color: var(--c-primary-color, var(--c-primary));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary-color, var(--c-primary)) 22%, transparent);
}

.form-input.error,
.form-select.error {
  border-color: var(--c-danger);
  box-shadow: none;
}

.form-hint {
  font-size: .75rem;
  color: var(--c-text-muted);
}

.form-error {
  font-size: .75rem;
  color: var(--c-danger);
}

.form-checkbox,
input[type="checkbox"] {
  --checkbox-accent: var(--c-primary-color, var(--c-primary));
  --checkbox-size: 1.0625rem;
  appearance: none;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  min-width: var(--checkbox-size);
  min-height: var(--checkbox-size);
  margin: 0;
  cursor: pointer;
  border: 1.5px solid color-mix(in srgb, var(--checkbox-accent) 32%, var(--c-border));
  border-radius: 5px;
  background-color: var(--bp-card-bg);
  box-shadow: var(--bp-shadow);
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.form-checkbox:hover:not(:disabled):not(:focus-visible),
input[type="checkbox"]:hover:not(:disabled):not(:focus-visible) {
  box-shadow: var(--bp-shadow-hover);
}

.form-checkbox:checked,
input[type="checkbox"]:checked {
  background-color: var(--checkbox-accent);
  border-color: var(--checkbox-accent);
  background-image: var(--bp-checkbox-check);
  background-repeat: no-repeat;
  background-position: center;
  background-size: .7rem .7rem;
}

.form-checkbox:indeterminate,
input[type="checkbox"]:indeterminate {
  background-color: var(--checkbox-accent);
  border-color: var(--checkbox-accent);
  background-image: var(--bp-checkbox-indeterminate);
  background-repeat: no-repeat;
  background-position: center;
  background-size: .55rem auto;
}

.form-checkbox:focus-visible,
input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: var(--bp-shadow), 0 0 0 3px color-mix(in srgb, var(--checkbox-accent) 22%, transparent);
}

.modal-check-row {
  display: flex;
  align-items: center;
  gap: .6rem;

  color: var(--c-primary-color, var(--c-primary));
}

.form-select-wrap {
  position: relative;
  display: block;
  width: 100%;
}

/* Toolbar / header selects — never width:100% (collapses in flex rows) */
.form-select-wrap.form-select-wrap--toolbar,
.form-select-wrap.contacts-toolbar-control,
.form-select-wrap.bp-toolbar-control,
.bp-dtp-wrap.bp-dtp-wrap--toolbar,
.bp-dtp-wrap.contacts-toolbar-control {
  --bp-field-height: 2.3rem;
  --bp-field-font-size: .8rem;
  --bp-field-line-height: 1.25;
  display: inline-flex;
  width: auto;
  min-width: 10.5rem;
  max-width: 100%;
  flex: 0 0 auto;
}

.form-select-wrap.form-select-wrap--toolbar .form-select-trigger,
.form-select-wrap.contacts-toolbar-control .form-select-trigger,
.form-select-wrap.bp-toolbar-control .form-select-trigger,
.bp-dtp-wrap.bp-dtp-wrap--toolbar .bp-dtp-trigger,
.bp-dtp-wrap.contacts-toolbar-control .bp-dtp-trigger {
  height: var(--bp-field-height);
  min-height: var(--bp-field-height);
  font-size: var(--bp-field-font-size);
  line-height: var(--bp-field-line-height);
}

.form-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* Never clip the wrap — only the native <select> inside it */
.form-select-wrap.form-select-native {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: var(--bp-field-height);
  overflow: visible !important;
  clip: auto !important;
}

.form-select-trigger {
  display: flex;
  align-items: center;
  gap: .35rem;
  width: 100%;
  height: var(--bp-field-height);
  min-height: var(--bp-field-height);
  padding: 0 var(--bp-field-padding-x);
  border: 1px solid var(--bp-field-border);
  border-radius: var(--radius);
  font: 400 var(--bp-field-font-size)/var(--bp-field-line-height) inherit;
  color: var(--c-text);
  background-color: var(--bp-card-bg);
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.form-select-trigger.is-placeholder .form-select-trigger-label {
  color: var(--c-text-muted);
}

.form-select-trigger-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-select-trigger:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--c-primary) 32%, var(--bp-field-border));
  background-color: color-mix(in srgb, var(--bp-card-bg) 97%, var(--c-text) 3%);
}

.form-select-trigger:focus-visible,
.form-select-wrap.is-open .form-select-trigger,
.bp-dtp-wrap.is-open .bp-dtp-trigger {
  outline: none;
  border-color: var(--c-primary-color, var(--c-primary));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary-color, var(--c-primary)) 22%, transparent);
}

.form-select-wrap.is-open .form-select-trigger-caret {
  transform: rotate(180deg);
}

.form-select-menu {
  display: none;
  min-width: 100%;
  max-height: min(280px, 55vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.form-select-menu.form-select-menu--floating {
  position: fixed;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 400;
  min-width: 10.5rem;
  max-height: min(280px, calc(100vh - 16px));
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.form-select-group-label {
  padding: .35rem .55rem .15rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;

  box-shadow: var(--bp-shadow-hover);
}

.bp-caret,
.form-select-trigger-caret {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  pointer-events: none;
  background: var(--bp-chevron-down) center / contain no-repeat;
}

.bp-dropdown-trigger[aria-expanded="true"] .bp-caret,
.user-role-btn[aria-expanded="true"] .bp-caret,

.form-select-menu,
.bp-dtp-panel,
.topbar-bell-menu,
.topbar-user-menu,
.user-role-menu {
  --bp-menu-pad: .4rem;
  background: var(--bp-card-bg);
  border: 1px solid transparent;
  border-radius: var(--bp-card-radius);
  box-shadow: var(--bp-shadow);
  overflow: hidden;
  color: var(--c-text);
}
.form-select-menu,
.tag-input-dropdown,
.modal-combobox-results,
.cal-contact-results {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.form-select-menu.open,
.topbar-bell-menu:not([hidden]),
.topbar-user-menu:not([hidden]),
.user-role-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: var(--bp-menu-pad);
}
.form-select-option {
  display: block;
  width: 100%;
  padding: .5rem .7rem;
  border: none;
  border-radius: calc(var(--radius) + 2px);
  background: transparent;
  color: var(--c-text);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  box-sizing: border-box;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.form-select-option:hover {
  color: var(--c-primary-color, var(--c-primary));
  background: color-mix(in srgb, var(--c-primary-light) 72%, var(--bp-card-bg));
}

  gap: .75rem;
  margin: .25rem 0;
  color: var(--c-text-muted);
  font-size: .8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, var(--c-border) 88%, var(--c-text) 12%);
}

.auth-legal-consent {
  display: flex;

  will-change: transform;
}

@keyframes page-nav-loader-slide {
  0% { transform: translateX(-100%); }
  to { transform: translateX(350%); }
}

@media (prefers-reduced-motion: reduce) {
  .page-nav-loader,
  .page-nav-loader__fill {
    transition: none !important;
    animation: none !important;
  }

  .page-nav-loader__fill {
    width: 35%;
    transform: translateX(20%);
  }
}

/* ── 30. Empty / upgrade gate ────────────────────────────────────────────── */

.bp-empty-state,
.upgrade-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 2.5rem 1.5rem;
  color: var(--c-text-muted);
}

.bp-empty-state-title,
.upgrade-gate-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text);
}

.bp-empty-state-body,
.upgrade-gate-body {
  margin: 0;
  max-width: 28rem;
  line-height: 1.6;
}

/* ── 31. Utilities ─────────────────────────────────────────────────────── */


/* ── Survey funnel + booking embed ── */

.survey-page {
  background: var(--c-bg)
}

.survey-main,
.survey-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center
}

.survey-main {
  width: 100%
}

.survey-header {
  padding: 1.5rem 1rem 1.1rem;
  text-align: center
}

.survey-header-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  gap: .85rem
}

.survey-header-logo {
  display: block;
  margin: 0
}

.survey-header-call-wrap {
  display: flex;
  justify-content: center
}

.survey-header h1 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin-bottom: .55rem
}

.survey-header .text-muted {
  font-size: .98rem
}

.survey-card {
  width: 100%;
  max-width: 600px;
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--bp-shadow);
  overflow: hidden
}

.medicare-disclaimer {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1rem 1.75rem;
  color: var(--c-text-muted);
  font-size: .74rem;
  line-height: 1.4;
  text-align: center;
  display: block
}

.medicare-disclaimer p {
  margin: 0 0 .9rem
}

.medicare-disclaimer p:last-child {
  margin-bottom: 0
}

.agent-page-shell--disclaimer-inline .survey-main {
  min-height: auto
}

.agent-page-main {
  padding: 0 1rem 3rem;
  width: 100%;
  max-width: 920px
}

.agent-page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: .55rem 0;
  background: var(--bp-card-bg, var(--c-surface));
  border-bottom: 1px solid var(--c-border)
}

.agent-page-header-inner {
  width: 100%;
  max-width: 860px;
  display: flex;
  justify-content: center;
  align-items: center
}

.agent-page-logo {
  height: 48px;
  max-width: min(360px, 80vw);
  object-fit: contain;
  display: block
}

.agent-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
  max-width: 860px;
  margin-top: 1rem
}

.agent-page-card,
.agent-message-card {
  margin: 0
}

.agent-message-card {
  width: 100%;
  align-self: start
}

.agent-page-main-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0
}

.agent-hero-row {
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap
}

.agent-identity-wrap {
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap
}

.agent-photo {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--c-border);
  flex-shrink: 0
}

.agent-page-title {
  margin: 0 0 .35rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text)
}

.agent-page-subtitle {
  margin: 0
}

.agent-primary-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: .25rem
}

.agent-primary-cta {
  font-weight: 700;
  padding: .75rem 1.5rem;
  font-size: 1rem
}

.agent-section-label {
  margin: 0 0 .35rem;
  font-weight: 600;
  color: var(--c-text)
}

.agent-about-section,
.agent-contact-list,
.agent-licensed-states {
  display: flex;
  flex-direction: column;
  gap: .35rem
}

.agent-contact-list {
  margin-top: .15rem;
  padding-top: .35rem;
  border-top: 1px solid color-mix(in srgb, var(--c-border) 70%, transparent)
}

.agent-intro {
  margin: 0;
  line-height: 1.55;
  color: var(--c-text)
}

.agent-contact-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .2rem 0
}

.agent-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--c-primary);
  color: #fff;
  flex-shrink: 0
}

.agent-contact-value {
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none
}

.agent-contact-value:hover {
  color: var(--c-primary)
}

.agent-licensed-states {
  margin-top: .25rem
}

.agent-licensed-states-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem
}

.agent-message-intro {
  margin: 0 0 .75rem
}

.agent-message-consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 0
}

.agent-message-consent .form-checkbox {
  margin-top: .18rem;
  flex-shrink: 0
}

.agent-message-consent .text-sm {
  line-height: 1.45
}

.agent-message-status {
  margin: 0;
  min-height: 1.2rem
}

.agent-message-card .card-header {
  font-weight: 700
}

.survey-step-progress {
  height: 8px;
  background: var(--c-border);
  border-radius: 999px;
  margin: 0 0 1.4rem;
  overflow: hidden
}

.survey-progress-text {
  font-size: .9rem;
  color: var(--c-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center
}

.survey-progress-bar {
  height: 100%;
  background: var(--c-primary);
  transition: width .4s var(--ease)
}

.survey-step {
  padding: 2rem 2rem 1.65rem;
  display: none
}

.survey-step.active {
  display: block;
  animation: survey-step-in .3s ease;
  min-height: 25rem
}

@keyframes survey-step-in {
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.survey-step-supertitle {
  color: var(--primary-color, var(--c-primary));
  margin-bottom: .25rem
}

.survey-step-supertitle,
.survey-step-title {
  font-size: 30px;
  font-weight: 600;
  text-align: center
}

.survey-step-title {
  margin-bottom: 1rem
}

.survey-step-subtitle {
  margin: .55rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--c-muted);
  text-align: center
}

.survey-step-image {
  display: flex;
  justify-content: center;
  margin: 0 0 1.25rem
}

.survey-step-image img {
  max-width: 50%;
  max-height: 320px;
  border-radius: .5rem;
  object-fit: contain
}

.survey-page-blocks {
  --survey-block-gap: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--survey-block-gap);
  width: 100%;
  align-items: center
}

.survey-page-block {
  width: 100%;
  margin: 0;
  text-align: center
}

.survey-page-block--custom_code,
.survey-page-block--input {
  text-align: left
}

.survey-page-block--progress {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  align-items: stretch
}

.survey-page-blocks :is(.survey-step-supertitle, .survey-step-title, .survey-step-subtitle, .survey-step-image, .survey-step-progress, .survey-progress-text, .survey-step-information, .survey-step-disclaimers, .survey-custom-code-block, .form-group, .survey-field-disclaimer, .survey-page-badge, .survey-page-bullets, .survey-styled-text, .survey-page-stats, .survey-page-body, .survey-page-heading, .survey-page-subheading, .survey-page-disclaimer, .survey-page-image, .survey-page-cta, .survey-page-phone, .survey-page-booking, .survey-google-review-btn) {
  margin-top: 0;
  margin-bottom: 0
}


.survey-page-heading {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin: 0;
  line-height: 1.2
}

.survey-page-subheading {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--c-muted);
  margin: 0
}

.survey-styled-text {
  max-width: 100%;
  box-sizing: border-box
}

.survey-page-block--styled_text {
  text-align: inherit
}

.survey-page-block--styled_text .survey-page-bullets.survey-styled-text,
.survey-page-block--styled_text .survey-styled-text[style*="text-align: left"] {
  margin-left: auto;
  margin-right: auto
}

.survey-page-body {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0
}

.survey-page-disclaimer {
  margin: 0 auto;
  font-size: .75rem;
  color: var(--c-muted, #6b7280);
  line-height: 1.5;
  max-width: 480px
}

.survey-page-image {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius, .75rem);
  display: block;
  object-fit: cover;
  cursor: pointer
}

.survey-page-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-flex;
  flex-direction: column;
  gap: .5rem
}

.survey-page-bullets-item {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  font-size: 1rem;
  line-height: 1.45
}

.survey-page-bullets-icon {
  color: var(--c-primary);
  font-weight: 700;
  flex-shrink: 0
}

.survey-page-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: .85rem 1rem;
  background: var(--c-surface, #f9fafb);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--radius, .75rem)
}

.survey-page-stats-item {
  text-align: center;
  min-width: 60px
}

.survey-page-stats-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-primary)
}

.survey-page-stats-label {
  font-size: .78rem;
  color: var(--c-muted, #6b7280);
  margin-top: .1rem
}

.survey-page-cta {
  font-size: 1.05rem;
  padding: .75rem 2.5rem;
  display: inline-block
}

.survey-page-block--phone,
.survey-page-phone {
  display: flex;
  flex-direction: column;
  align-items: center
}

.survey-page-phone,
.survey-page-phone-label {
  width: 100%;
  text-align: center
}

.survey-page-phone-label {
  margin: 0 0 .75rem;
  font-size: .95rem;
  color: var(--c-muted, #6b7280)
}

.survey-page-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto
}

.survey-page-booking-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 .3rem
}

.survey-page-booking-sub {
  font-size: .9rem;
  color: var(--c-muted, #6b7280);
  margin: 0 0 1rem
}

.survey-page-booking-widget {
  --bw-scale: 1.125;
  width: 100%;
  max-width: calc(30rem * var(--bw-scale));
  margin: 0 auto;
  box-sizing: border-box
}

.survey-page-voice-ai {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  padding: .85rem 1rem;
  text-align: left;
  background: color-mix(in srgb, var(--c-primary) 8%, var(--c-surface));
  border: 1px solid color-mix(in srgb, var(--c-primary) 22%, var(--c-border));
  border-radius: var(--radius, .75rem);
  box-sizing: border-box
}

.survey-page-voice-ai-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-primary) 14%, var(--c-surface))
}

.survey-page-voice-ai-text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--c-text, #111827)
}

.survey-page-blocks .survey-field-disclaimer,
.survey-page-blocks .survey-step-information .survey-field-information {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto
}

.survey-custom-code-block {
  margin: 0;
  width: 100%;
  text-align: initial
}

.survey-loading-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem;
  margin: 0 auto;
  max-width: 24rem;
}

.spinner,
.bp-spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid color-mix(in srgb, var(--c-primary) 20%, transparent);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: bp-spin .7s linear infinite;
}

@keyframes bp-spin {
  to { transform: rotate(360deg); }
}

.survey-loading-step .spinner {
  width: 2.75rem;
  height: 2.75rem;
  border-width: 3px
}

.survey-loading-message {
  font-size: 1rem;
  color: var(--c-text-muted);
  text-align: center;
  margin: 0
}

.survey-incoming-call-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .28s ease;
  touch-action: none
}

.survey-incoming-call-overlay.is-visible {
  opacity: 1
}

.survey-incoming-call-dialog {
  position: relative;
  width: min(100%, 26rem);
  padding: .35rem 1.25rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
  border-radius: 1.25rem 1.25rem 0 0;
  background: var(--c-surface, #fff);
  color: var(--c-text, #111827);
  box-shadow: none;
  text-align: center;
  transform: translateY(100%);
  transition: transform .34s cubic-bezier(.32, .72, 0, 1);
  touch-action: none;
  cursor: grab
}

.survey-incoming-call-overlay.is-visible .survey-incoming-call-dialog {
  transform: translateY(0)
}

.survey-incoming-call-dialog.is-dragging {
  transition: none;
  cursor: grabbing
}

.survey-incoming-call-dialog.is-dismissing {
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.4, 0, 1, 1)
}

.survey-incoming-call-grab {
  width: 2.75rem;
  height: .28rem;
  margin: .55rem auto .65rem;
  border-radius: 999px;
  background: var(--c-border, #d1d5db)
}

.survey-incoming-call-close {
  position: absolute;
  top: .45rem;
  right: .55rem;
  border: none;
  background: transparent;
  color: var(--c-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: .15rem .35rem
}

.survey-incoming-call-close:hover {
  color: var(--c-text)
}

.survey-incoming-call-kicker {
  margin: 0 0 .85rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-muted)
}

.survey-phone-mock {
  display: flex;
  justify-content: center;
  margin: 0 0 1rem
}

.survey-phone-mock-bezel {
  width: 10.25rem;
  padding: .45rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, #1f2937, #0f172a);
  box-shadow: none
}

.survey-phone-mock-screen {
  border-radius: 1.45rem;
  overflow: hidden;
  background: linear-gradient(180deg, #111827, #1e3a5f 55%, #0f172a);
  color: #f9fafb;
  width: 100%;
  aspect-ratio: 9/19;
  min-height: 19.5rem;
  display: flex;
  flex-direction: column
}

.survey-phone-mock-status {
  padding: .45rem .75rem .25rem;
  font-size: .65rem;
  opacity: .85;
  text-align: left
}

.survey-phone-mock-incoming {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .5rem .75rem .25rem;
  gap: .35rem
}

.survey-phone-mock-label {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75
}

.survey-phone-mock-number {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  text-align: center;
  max-width: 10rem;
  word-break: break-word
}

.survey-phone-mock-caller {
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  max-width: 9.5rem;
  word-break: break-word;
  opacity: .78
}

.survey-phone-mock-actions {
  display: flex;
  justify-content: center;
  padding: .65rem 0 .85rem
}

.survey-phone-mock-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, .25);
  border: 2px solid #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .45);
  animation: survey-phone-pulse 1.6s ease-out infinite
}

.survey-phone-mock-pulse-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  pointer-events: none
}

@keyframes survey-phone-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .45)
  }

  70% {
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0)
  }

  to {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0)
  }
}

.survey-incoming-call-body {
  margin: 0 0 1rem;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--c-text-muted)
}

.survey-incoming-call-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 14rem;
  padding: .7rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none
}

@media (max-width:768px) {
  .agent-page-grid {
    grid-template-columns: 1fr
  }

  .survey-header-cta-row {
    width: 100%;
    gap: .45rem;
    justify-content: space-between
  }

  .survey-header-call-wrap,
  .survey-header-cta-row .survey-header-logo {
    width: 48%
  }

  .survey-header-cta-row .survey-header-logo {
    height: auto !important;
    max-height: 40px;
    max-width: 100% !important;
    object-fit: contain
  }

  .survey-header-call-wrap .btn-call-agent {
    width: 100%;
    padding: .55rem .5rem;
    min-height: 40px;
    font-size: .92rem;
    gap: .12rem
  }

  .survey-header-call-wrap .btn-call-agent-title {
    font-size: .82rem
  }

  .survey-header-call-wrap .btn-call-agent-phone {
    font-size: .74rem
  }

  .agent-page-card>.card-body {
    align-items: center
  }

  .agent-page-card .agent-hero-row {
    justify-content: center !important;
    text-align: center
  }

  .agent-page-card .agent-identity-wrap {
    justify-content: center;
    text-align: center
  }

  .agent-page-card .agent-identity-copy,
  .agent-page-card .agent-intro {
    text-align: center
  }

  .agent-page-card .agent-photo {
    width: 102px !important;
    height: 102px !important
  }

  .agent-page-card .agent-primary-cta {
    align-self: center
  }

  .agent-page-card .agent-contact-card {
    width: 100%
  }

  .agent-page-card .agent-contact-list {
    text-align: left
  }

  .agent-page-card .agent-licensed-states {
    align-items: center;
    text-align: center
  }

  .agent-page-card .agent-licensed-states-list {
    justify-content: center
  }

  .agent-page-main {
    padding-left: 0;
    padding-right: 0
  }

  .agent-page-header {
    padding-left: 1rem;
    padding-right: 1rem
  }
}

.survey-step .form-group {
  gap: .6rem;
  margin-bottom: .25rem;
  text-align: center
}

.survey-step {
  font-size: 1.08rem;
  font-weight: 400;
  text-align: center
}

.survey-step .survey-field-optional {
  margin: -.2rem 0 .4rem;
  font-size: .8rem;
  color: var(--c-muted);
  text-align: center
}

.survey-step .survey-field-subtext {
  margin: -.05rem 0 .2rem;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--c-muted);
  text-align: center
}

.survey-field-disclaimer {
  padding: .75rem .9rem;
  border: 1px solid color-mix(in srgb, var(--c-border) 88%, #fff);
  border-radius: calc(var(--radius) + 2px);
  background: color-mix(in srgb, var(--c-bg) 92%, #9ca3af 8%);
  color: var(--c-text-muted);
  font-size: .82rem;
  line-height: 1.5
}

.survey-field-disclaimer,
.survey-step .survey-field-information {
  margin: .5rem auto 0;
  max-width: 520px;
  text-align: left;
  box-shadow: var(--bp-shadow)
}

.survey-step .survey-field-information {
  padding: .9rem 1rem;
  border: 1px solid color-mix(in srgb, #06b6d4 55%, #fff);
  border-radius: calc(var(--radius) + 2px);
  background: color-mix(in srgb, #06b6d4 8%, #fff);
  color: color-mix(in srgb, #0891b2 95%, #fff);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: .5rem
}

.survey-info-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: #06b6d4;
  margin-top: .05rem
}

.survey-google-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #4285f4;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: var(--shadow);
  margin: .5rem auto 0
}

.survey-google-review-btn:hover {
  background: #3367d6;
  box-shadow: var(--bp-shadow);
  color: #fff
}

.survey-google-icon {
  flex-shrink: 0
}

.survey-step-disclaimers {
  margin-top: 1rem
}

.survey-nav+.survey-step-disclaimers,
.survey-step .survey-step-disclaimers:last-child {
  margin-top: 1.25rem
}

.survey-step .survey-address-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem
}

.survey-step .survey-places-host,
.survey-step .survey-places-host gmp-place-autocomplete {
  width: 100%
}

.survey-places-fallback {
  position: fixed;
  inset: auto auto auto auto;
  border: 1px solid var(--c-border, #d1d5db);
  border-radius: var(--radius);
  background: var(--c-surface, #fff);
  box-shadow: none;
  max-height: 220px;
  overflow: auto;
  display: none;
  z-index: 1500
}

.survey-places-option {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--c-border, #d1d5db);
  background: transparent;
  text-align: left;
  color: var(--c-text, #0f172a);
  padding: .62rem .72rem;
  cursor: pointer
}

.survey-places-option:first-child {
  border-top: 0
}

.survey-places-option:hover {
  background: var(--c-bg, #f8fafc)
}

.survey-step input[data-places-hidden="1"] {
  display: none
}

.survey-step .form-input,
.survey-step .form-select,
.survey-step .form-textarea {
  min-height: 50px;
  font-size: 1.02rem;
  text-align: left
}

.survey-step .form-textarea {
  min-height: 118px
}

.survey-choice-list {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.survey-choice-list-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem
}

.survey-choice-list-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem
}

.survey-choice-list-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem
}

@media (max-width:640px) {
  .survey-choice-list-2 {
    grid-template-columns: repeat(2, 1fr)
  }

  .survey-choice-list-3 {
    grid-template-columns: repeat(3, 1fr)
  }

  .survey-choice-list-4 {
    grid-template-columns: repeat(2, 1fr)
  }
}

.survey-choice {
  display: block
}

.survey-choice-input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.survey-choice-btn {
  display: block;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-primary);
  color: var(--c-bg);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease)
}

.survey-choice-btn:hover {
  background: var(--c-primary-hover)
}

.survey-other-wrap {
  margin-top: .5rem;
  grid-column: 1/-1
}

.survey-other-input {
  width: 100%;
  padding: .55rem .75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--dur) var(--ease)
}

.survey-other-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px var(--c-primary-light, rgba(79, 70, 229, .15))
}

.survey-page-block--other-continue {
  margin-top: .75rem
}

.survey-star-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  margin-top: .35rem
}

.survey-star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: .2rem
}

.survey-star-input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.survey-star-label {
  cursor: pointer;
  font-size: clamp(2.1rem, 5vw, 2.8rem);
  line-height: 1;
  color: color-mix(in srgb, var(--c-text-muted) 45%, var(--c-border));
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), text-shadow var(--dur) var(--ease);
  user-select: none
}

.survey-star-label:hover,
.survey-star-label:hover~.survey-star-label {
  color: #f5b301;
  transform: translateY(-1px)
}

.survey-star-input:checked~.survey-star-label {
  color: #f5b301;
  text-shadow: 0 6px 16px color-mix(in srgb, #f5b301 28%, transparent)
}

.survey-star-rating:focus-within .survey-star-label {
  color: color-mix(in srgb, #f5b301 78%, var(--c-text-muted))
}

.survey-star-hint {
  text-align: center
}

.survey-prescription-list {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.survey-prescription-entries {
  display: flex;
  flex-direction: column;
  gap: .8rem
}

.survey-prescription-entry {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: .9rem;
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.survey-prescription-entry-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .75rem
}

.survey-prescription-field {
  position: relative
}

.survey-prescription-remove {
  align-self: flex-end
}

.survey-prescription-empty {
  margin: 0
}

.survey-prescription-add {
  align-self: flex-start
}

.survey-prescription-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  box-shadow: var(--bp-shadow);
  max-height: 220px;
  overflow-y: auto;
  z-index: 20
}

.survey-prescription-option {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--c-border);
  background: transparent;
  text-align: left;
  color: var(--c-text);
  padding: .58rem .7rem;
  cursor: pointer
}

.survey-prescription-option:first-child {
  border-top: 0
}

.survey-prescription-option:hover {
  background: var(--c-bg)
}

.survey-prescription-error {
  padding: .58rem .7rem;
  font-size: .86rem;
  line-height: 1.35;
  color: var(--c-danger);
  border-left: 2px solid var(--c-danger);
  background: color-mix(in srgb, var(--c-danger) 6%, var(--c-surface))
}

.survey-nav {
  display: flex;
  justify-content: flex-end;
  padding: 1.2rem 2rem 1.5rem
}

.survey-nav #survey-next {
  width: 100%;
  min-height: 54px;
  font-size: 1.08rem;
  font-weight: 700
}

#booking-widget,
[data-booking-widget] {
  --bw-scale: 1.125;
  --shadow-md: none;
  width: 100%;
  max-width: calc(30rem * var(--bw-scale));
  margin-inline: auto;
  box-sizing: border-box
}

.bw-header {
  display: flex;
  gap: .5em;
  padding: .75em 1em;
  border-bottom: 1px solid var(--c-border, #e5e7eb);
  font-weight: 600;
  font-size: .92em
}

.bw-header,
.bw-step {
  align-items: center;
  justify-content: center
}

.bw-step {
  display: inline-flex;
  width: 2em;
  height: 2em;
  border-radius: 999px;
  font-size: .75em;
  font-weight: 700;
  background: var(--c-border, #e5e7eb);
  color: var(--c-text-muted, #6b7280);
  transition: background .2s, color .2s
}

.bw-step.active {
  background: var(--c-primary, #5050ff);
  color: #fff
}

.bw-step.done {
  background: var(--c-success, #10b981);
  color: #fff
}

.bw-step-line {
  width: 1.75em;
  height: .125em;
  background: var(--c-border, #e5e7eb);
  border-radius: 1px;
  transition: background .2s
}

.bw-step-line.done {
  background: var(--c-success, #10b981)
}

.bw-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75em 1em .25em
}

.bw-month-label {
  font-weight: 600;
  font-size: .95em
}

.bw-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  border: none;
  border-radius: var(--radius, 8px);
  background: transparent;
  cursor: pointer;
  color: var(--c-text, #111827);
  transition: background .15s
}

.bw-nav-btn:hover {
  background: var(--c-primary-light, #eef2ff)
}

.bw-nav-btn:disabled {
  opacity: .3;
  cursor: not-allowed
}

.bw-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .125em;
  padding: .25em .75em .75em
}

.bw-cal-dow {
  text-align: center;
  font-size: .7em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-text-muted, #6b7280);
  padding: .35em 0
}

.bw-cal-day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: calc(2.25rem * var(--bw-scale, 1));
  aspect-ratio: 1;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 50%;
  font-size: .84em;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--c-text, #111827);
  transition: background .15s, color .15s, box-shadow .15s, filter .15s
}

.bw-cal-day:hover:not(:disabled):not(.bw-cal-day--empty):not(.bw-cal-day--available) {
  background: var(--c-primary-light, #eef2ff)
}

.bw-cal-day--available {
  background: var(--c-primary, #5050ff);
  color: #fff !important;
  font-weight: 600
}

.bw-cal-day--available:hover:not(:disabled) {
  filter: brightness(1.08)
}

.bw-cal-day--today:not(.bw-cal-day--available) {
  font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--c-primary, #5050ff)
}

.bw-cal-day--today.bw-cal-day--available:not(.bw-cal-day--selected) {
  box-shadow: 0 0 0 2px var(--c-surface, #fff), 0 0 0 3px var(--c-primary, #5050ff)
}

.bw-cal-day--selected {
  background: var(--c-primary, #5050ff) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--c-surface, #fff), 0 0 0 4px color-mix(in srgb, var(--c-primary, #5050ff) 75%, #000)
}

.bw-cal-day--empty {
  visibility: hidden
}

.bw-cal-day--empty,
.bw-cal-day:disabled {
  pointer-events: none
}

.bw-cal-day--past,
.bw-cal-day--unavailable {
  color: var(--c-text-light, #9ca3af);
  cursor: not-allowed;
  opacity: .45
}

.bw-cal-day--unavailable {
  text-decoration: line-through
}

.bw-panel {
  padding: .75em 1em 1em
}

.bw-panel-title {
  font-weight: 600;
  font-size: .88em;
  margin: 0 0 .25em
}

.bw-timezone-hint {
  margin: 0 0 .65em;
  font-size: .75em;
  line-height: 1.35;
  color: var(--c-text-muted, #6b7280)
}

.bw-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4em
}

.bw-slot {
  padding: .45em .25em;
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--radius, 8px);
  background: var(--c-surface, #fff);
  font-size: .82em;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  color: var(--c-text, #111827);
  font-family: inherit
}

.bw-slot:hover {
  border-color: var(--c-primary, #5050ff);
  background: var(--c-primary-light, #eef2ff)
}

.bw-slot--selected {
  background: var(--c-primary, #5050ff) !important;
  border-color: var(--c-primary, #5050ff) !important;
  color: #fff !important;
  font-weight: 600
}

.bw-loading,
.bw-no-slots {
  text-align: center;
  color: var(--c-text-muted, #6b7280);
  font-size: .88em;
  padding: 1.5em 0
}

.bw-form {
  display: flex;
  flex-direction: column;
  gap: .65em;
  padding: .75em 1em 1em
}

.bw-form label {
  font-size: .82em;
  font-weight: 600;
  margin-bottom: .15em;
  display: block;
  color: var(--c-text, #111827)
}

.bw-form input:not([type=checkbox]),
.bw-form textarea {
  width: 100%;
  padding: .55em .7em;
  border: 1px solid var(--bp-field-border, var(--c-border, #e5e7eb));
  border-radius: var(--radius, 8px);
  font-size: .88em;
  font-family: inherit;
  color: var(--c-text, #111827);
  background: var(--c-surface, #fff);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  box-shadow: none;
  box-sizing: border-box
}

.bw-form input:not([type=checkbox]):focus,
.bw-form textarea:focus {
  outline: none;
  border-color: var(--c-primary, #5050ff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary, #5050ff) 18%, transparent)
}

.bw-form select {
  width: 100%;
  padding: .55em 2.25rem .55em .65em;
  border: 1px solid var(--bp-field-border, var(--c-border, #d1d5db));
  border-radius: .45em;
  font-size: .9em;
  background-color: var(--c-surface, #fff);
  color: var(--c-text, #111827);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  accent-color: var(--c-primary, #5050ff);
  box-shadow: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .6rem center;
  background-size: 1rem 1rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease
}

.bw-form select:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--c-primary, #5050ff) 35%, var(--bp-field-border, #d1d5db));
  background-color: color-mix(in srgb, var(--c-surface, #fff) 97%, var(--c-text, #111827) 3%)
}

.bw-form select:focus {
  outline: none;
  border-color: var(--c-primary, #5050ff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary, #5050ff) 18%, transparent)
}

.bw-meet-opt {
  display: flex;
  align-items: flex-start;
  gap: .45em;
  font-size: .84em;
  font-weight: 500;
  color: var(--c-text, #111827);
  margin: .15em 0 .35em;
  cursor: pointer
}

.bw-meet-opt input {
  margin-top: .15em;
  flex-shrink: 0
}

.bw-form textarea {
  resize: vertical;
  min-height: 3.75em
}

.bw-form label.bw-consent {
  display: flex;
  align-items: flex-start;
  gap: .65em;
  margin: 0;
  cursor: pointer;
  font-weight: 400
}

.bw-consent-checkbox,
.bw-form input[type=checkbox] {
  --checkbox-accent: var(--c-primary, #5050ff);
  --checkbox-size: 1.0625rem;
  appearance: none;
  -webkit-appearance: none;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  min-width: var(--checkbox-size);
  min-height: var(--checkbox-size);
  margin: .18em 0 0;
  flex: 0 0 auto;
  cursor: pointer;
  border: 1.5px solid color-mix(in srgb, var(--checkbox-accent) 32%, var(--c-border, #e5e7eb));
  border-radius: 5px;
  background-color: var(--c-surface, #fff);
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: .7rem .7rem;
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  transition: border-color .15s ease, background-color .15s ease, background-image .15s ease, box-shadow .15s ease, transform .12s ease
}

.bw-consent-checkbox:checked,
.bw-form input[type=checkbox]:checked {
  background-color: var(--checkbox-accent);
  border-color: var(--checkbox-accent);
  background-image: var(--bp-checkbox-check)
}

.bw-consent-checkbox:indeterminate,
.bw-form input[type=checkbox]:indeterminate {
  background-color: var(--checkbox-accent);
  border-color: var(--checkbox-accent);
  background-image: var(--bp-checkbox-indeterminate);
  background-repeat: no-repeat;
  background-position: center;
  background-size: .55rem auto
}

.bw-consent-checkbox:focus-visible,
.bw-form input[type=checkbox]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--checkbox-accent) 22%, transparent)
}

.bw-consent-checkbox:hover:not(:disabled),
.bw-form input[type=checkbox]:hover:not(:disabled) {
  border-color: var(--checkbox-accent)
}

.bw-consent-text {
  text-align: left;
  font-weight: 400
}

.bw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: .6em 1.2em;
  border: none;
  border-radius: var(--radius, 8px);
  font-size: .88em;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, opacity .15s
}

.bw-btn:disabled {
  opacity: .55;
  cursor: not-allowed
}

.bw-btn-primary {
  background: var(--c-primary, #5050ff);
  color: #fff
}

.bw-btn-primary:hover:not(:disabled) {
  background: var(--c-primary-hover, #4338ca)
}

.bw-btn-ghost {
  background: transparent;
  color: var(--c-text-muted, #6b7280);
  padding: .4em .8em;
  font-size: .82em
}

.bw-btn-ghost:hover:not(:disabled) {
  background: var(--c-primary-light, #eef2ff);
  color: var(--c-text, #111827)
}

.bw-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5em 1em .75em
}

.bw-confirm {
  text-align: center;
  padding: 2em 1em
}

.bw-confirm-icon {
  width: 3.25em;
  height: 3.25em;
  margin: 0 auto .75em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-success, #10b981) 14%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-success, #10b981)
}

.bw-confirm h3 {
  margin: 0 0 .35em;
  font-size: 1.1em
}

.bw-confirm p {
  margin: 0;
  font-size: .88em;
  color: var(--c-text-muted, #6b7280)
}

.bw-cal-links {
  display: flex;
  gap: .5em;
  justify-content: center;
  margin: 1em 0 0
}

.bw-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .45em .85em;
  font-size: .82em;
  font-weight: 500;
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--radius, 8px);
  background: var(--c-surface, #fff);
  color: var(--c-text, #111827);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, background .15s
}

.bw-btn-outline:hover {
  border-color: var(--c-primary, #5050ff);
  background: var(--c-primary-light, #eef2ff)
}

.bw-summary {
  margin: .75em 0 0;
  padding: .65em;
  border-radius: var(--radius, 8px);
  background: var(--c-bg, #f9fafb);
  font-size: .84em;
  text-align: left
}

.bw-summary-row {
  display: flex;
  justify-content: space-between;
  padding: .18em 0
}

.bw-summary-label {
  color: var(--c-text-muted, #6b7280)
}

.bw-summary-value {
  font-weight: 600
}

.bw-error {
  color: var(--c-danger, #ef4444);
  font-size: .82em;
  padding: .25em 1em;
  text-align: center
}

@media (max-width:400px) {
  .bw-slots {
    grid-template-columns: repeat(2, 1fr)
