/* ==========================================================================
   Bilport Intake — design tokens
   ========================================================================== */
.bilport-intake-root {
  /* Scandinavian minimalism / premium automotive palette. Gold is an
     accent, not a base color — used for CTAs, focus, and small highlights
     only, never as a fill across large areas (~85% neutral / 10% charcoal
     / 5% gold by area, not by component count). */
  --bp-ink: #1D1D1B;
  --bp-paper: #F5F1E8;
  --bp-charcoal: #171717;
  --bp-signal: #C8A25A;
  --bp-signal-dark: #A88238;
  --bp-ignition: #A88238;
  --bp-mist: #E8E2D6;
  --bp-slate: #6B6660;
  --bp-white: #FFFFFF;
  --bp-danger: #B3261E;
  --bp-radius-lg: 18px;
  --bp-radius-md: 11px;
  --bp-radius-sm: 8px;
  --bp-shadow: 0 1px 2px rgba(29,29,27,0.04), 0 10px 26px rgba(29,29,27,0.06);

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--bp-ink);
  max-width: 920px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.45;
}

.bilport-intake-root.bp-wide { max-width: 1140px; }

.bilport-intake-root * { box-sizing: border-box; }

.bilport-intake-root h1,
.bilport-intake-root h2,
.bilport-intake-root h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
}

.bilport-intake-root .bp-mono { font-family: 'IBM Plex Mono', monospace; }
.bilport-intake-root button { font-family: inherit; cursor: pointer; }
.bilport-intake-root :focus-visible { outline: 2px solid var(--bp-signal); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .bilport-intake-root * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Shell + step rail
   Nav is pinned to the bottom of the card (position: sticky) so Back/Next
   sit in the same place on every step regardless of how much content a
   given step has above it — that consistency was missing before.
   ========================================================================== */
.bp-shell {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  background: var(--bp-white);
  border-radius: var(--bp-radius-lg);
  box-shadow: var(--bp-shadow);
  padding: 24px 28px;
}

@media (max-width: 720px) {
  .bp-shell {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: var(--bp-radius-md);
  }
  /* !important here (matching the sibling rules in this block): the base
     .bp-rail{display:flex} rule further down the file has equal
     specificity and a later source position, so without !important it
     would win the cascade on narrow viewports and show the desktop rail
     alongside the mobile progress bar — pre-existing bug, caught while
     verifying the mobile progress indicator against the design brief. */
  .bp-rail { display: none !important; }
  .bp-rail-mobile-wrap { display: block !important; }
  .bp-two-col { grid-template-columns: 1fr !important; }
}

.bp-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 2px;
}

.bp-rail-step { display: flex; flex-direction: column; align-items: center; text-align: center; }

.bp-rail-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
  background: var(--bp-mist);
  color: var(--bp-slate);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.bp-rail-label {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--bp-slate);
  margin-top: 5px;
  line-height: 1.2;
  max-width: 64px;
}

.bp-rail-step.is-active .bp-rail-dot { background: var(--bp-signal); color: var(--bp-white); }
.bp-rail-step.is-active .bp-rail-label { color: var(--bp-signal); }
.bp-rail-step.is-done .bp-rail-dot { background: var(--bp-ink); color: var(--bp-white); }
.bp-rail-step.is-done .bp-rail-label { color: var(--bp-ink); }

.bp-rail-line { width: 2px; flex: 1; min-height: 26px; background: var(--bp-mist); margin: 4px 0; }
.bp-rail-step.is-done + .bp-rail-line { background: var(--bp-ink); }

.bp-rail-mobile-wrap { display: none; margin-bottom: 16px; }
.bp-rail-mobile-meta { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--bp-slate); margin-bottom: 6px; }
.bp-rail-mobile-meta .bp-mono { color: var(--bp-signal-dark); }
.bp-rail-mobile { height: 4px; border-radius: 2px; background: var(--bp-mist); overflow: hidden; }
.bp-rail-mobile-fill { height: 100%; border-radius: 2px; background: var(--bp-signal); transition: width 0.3s ease; }

/* ==========================================================================
   Step content
   ========================================================================== */
.bp-step-title { font-size: 21px; font-weight: 650; margin-bottom: 3px; }
.bp-step-sub { color: var(--bp-slate); font-size: 13px; margin: 0 0 16px; }

.bp-step-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bp-signal);
  margin-bottom: 6px;
  display: block;
}

/* ==========================================================================
   Hero (Step 1 only — see renderHero() for why)
   ========================================================================== */
.bp-hero { text-align: center; margin-bottom: 22px; }
.bp-hero-title {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.15;
}
@media (max-width: 720px) { .bp-hero-title { font-size: 24px; } }
.bp-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.bp-hero-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bp-slate);
}
.bp-hero-benefits .bp-icon { color: var(--bp-signal-dark); flex-shrink: 0; }

/* Two-column layout used on steps with a natural primary/secondary split
   (vehicle lookup, condition+damage, contact+trust). Single column on
   tablet/mobile via the .bp-shell media query above. */
.bp-two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ==========================================================================
   Signature element: the registration plate input
   ========================================================================== */
.bp-plate-field {
  display: flex;
  align-items: stretch;
  border-radius: var(--bp-radius-sm);
  overflow: hidden;
  border: 2px solid var(--bp-ink);
  background: var(--bp-white);
  box-shadow: 0 3px 0 rgba(11,18,32,0.08);
  max-width: 320px;
  margin-bottom: 4px;
}

.bp-plate-band {
  background: var(--bp-signal);
  color: var(--bp-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  font-size: 9px;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
}

.bp-plate-band .bp-star { font-size: 8px; line-height: 1; margin-bottom: 1px; }

.bp-plate-input {
  border: none;
  background: transparent;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 12px;
  width: 100%;
  color: var(--bp-ink);
}

.bp-plate-input::placeholder { color: #C9C2B3; font-weight: 500; }
.bp-plate-hint { font-size: 11px; color: var(--bp-slate); margin: 0 0 14px; }

.bp-lookup-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Form controls
   ========================================================================== */
.bp-field { margin-bottom: 12px; }

.bp-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--bp-ink);
}

.bp-field input[type="text"],
.bp-field input[type="email"],
.bp-field input[type="tel"],
.bp-field input[type="number"],
.bp-field select,
.bp-field textarea {
  width: 100%;
  border: 1px solid var(--bp-mist);
  border-radius: var(--bp-radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--bp-ink);
  background: var(--bp-white);
  transition: border-color 0.15s;
}

.bp-field input:focus, .bp-field select:focus, .bp-field textarea:focus {
  border-color: var(--bp-signal);
  outline: none;
}

.bp-field .bp-error { color: var(--bp-danger); font-size: 11.5px; margin-top: 3px; }

.bp-field-control { position: relative; }

.bp-field-control .bp-field-check {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bp-signal-dark);
  display: flex;
  pointer-events: none;
}

.bp-field.is-valid input { border-color: #D9C28A; padding-right: 34px; }
.bp-field.is-invalid input { border-color: var(--bp-danger); }

.bp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 420px) {
  .bp-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Vehicle result card (after lookup)
   ========================================================================== */
.bp-vehicle-card {
  border: 1px solid var(--bp-mist);
  border-radius: var(--bp-radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-vehicle-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bp-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bp-slate);
}

.bp-vehicle-card-icon.is-success { background: #F1E6CC; color: var(--bp-signal-dark); }

.bp-icon { display: inline-flex; vertical-align: middle; }

.bp-vehicle-card-title { font-weight: 600; font-size: 14px; }
.bp-vehicle-card-sub { font-size: 12px; color: var(--bp-slate); }
.bp-vehicle-card-specs { font-size: 11.5px; color: var(--bp-signal-dark); font-family: 'IBM Plex Mono', monospace; margin-top: 3px; }

.bp-skeleton {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--bp-mist) 25%, #F0F2F6 37%, var(--bp-mist) 63%);
  background-size: 400% 100%;
  animation: bp-shimmer 1.4s ease infinite;
}

@keyframes bp-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Preview panel on the right column of Step 1 — keeps the lookup result
   anchored instead of pushing the form fields down. */
.bp-preview-panel {
  background: var(--bp-paper);
  border-radius: var(--bp-radius-md);
  padding: 16px;
  position: sticky;
  top: 0;
}

.bp-preview-panel-title { font-size: 12px; font-weight: 700; color: var(--bp-slate); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.bp-preview-empty { font-size: 12.5px; color: var(--bp-slate); }

/* ==========================================================================
   Condition cards
   ========================================================================== */
.bp-card-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
/* 3-4 option groups (drivable, fuel, contact method) read better as an
   even row that wraps, rather than forcing an awkward leftover single
   card on its own line in a strict 2-column grid. */
.bp-card-group.is-multi { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }

.bp-card-option {
  border: 1.5px solid var(--bp-mist);
  border-radius: var(--bp-radius-sm);
  padding: 10px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  background: var(--bp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.15s, background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.bp-card-option:hover { border-color: #C9C2B3; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(29,29,27,0.06); }

.bp-card-option.is-selected {
  border-color: var(--bp-signal);
  background: #F6EFDD;
  color: var(--bp-signal-dark);
  font-weight: 600;
}

.bp-card-option .bp-icon { color: var(--bp-signal); }

/* ==========================================================================
   Damage map — multi-view (Front / Rear / Left / Right / Roof)
   Each view shows only the panels actually visible from that angle, with
   a shared selection state so a part stays marked when switching views.
   ========================================================================== */
.bp-damage-wrap {
  background: var(--bp-paper);
  border-radius: var(--bp-radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

.bp-damage-tabs {
  display: flex;
  gap: 4px;
  background: var(--bp-white);
  border-radius: var(--bp-radius-sm);
  padding: 3px;
  margin-bottom: 12px;
}

.bp-damage-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 7px 4px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  color: var(--bp-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.15s, color 0.15s;
}

.bp-damage-tab-count {
  font-size: 9.5px;
  font-weight: 700;
  background: var(--bp-ignition);
  color: var(--bp-white);
  border-radius: 999px;
  min-width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.bp-damage-tab.is-active .bp-damage-tab-count { background: var(--bp-white); color: var(--bp-ignition); }

.bp-damage-tab.is-active { background: var(--bp-signal); color: var(--bp-white); }

@media (max-width: 380px) {
  .bp-damage-tab { font-size: 10.5px; padding: 7px 2px; }
}

.bp-damage-svg-wrap {
  background: var(--bp-white);
  border-radius: var(--bp-radius-sm);
  padding: 10px;
}

.bp-damage-svg { width: 100%; height: auto; display: block; }

.bp-damage-svg .bp-part {
  fill: #DCD5C7;
  stroke: var(--bp-white);
  stroke-width: 1.5;
  cursor: pointer;
  transition: fill 0.15s;
}

.bp-damage-svg .bp-part:hover { fill: #C9BFA9; }
.bp-damage-svg .bp-part.is-selected { fill: var(--bp-ignition); }

.bp-damage-svg .bp-outline {
  fill: none;
  stroke: var(--bp-mist);
  stroke-width: 1.5;
  pointer-events: none;
}

.bp-damage-legend {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--bp-slate);
}

.bp-damage-legend span { display: flex; align-items: center; gap: 5px; }
.bp-damage-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

.bp-damage-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }

.bp-damage-tag {
  background: var(--bp-white);
  border: 1px solid var(--bp-mist);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bp-damage-tag button { border: none; background: none; color: var(--bp-slate); font-size: 12px; line-height: 1; padding: 0; }

/* ==========================================================================
   Photo uploader — compact dropzone, no oversized empty box
   ========================================================================== */
.bp-dropzone {
  border: 1.5px dashed var(--bp-mist);
  border-radius: var(--bp-radius-md);
  padding: 12px 14px;
  background: var(--bp-paper);
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bp-dropzone.is-dragover { border-color: var(--bp-signal); background: #EEF1FF; }

.bp-dropzone-text { display: flex; align-items: center; gap: 10px; }
.bp-dropzone-icon { font-size: 18px; }
.bp-dropzone-title { font-weight: 600; font-size: 13px; }
.bp-dropzone-sub { font-size: 11.5px; color: var(--bp-slate); }

.bp-dropzone-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.bp-btn-outline {
  border: 1.5px solid var(--bp-ink);
  background: var(--bp-white);
  color: var(--bp-ink);
  border-radius: var(--bp-radius-sm);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.1s, box-shadow 0.15s;
}

.bp-btn-outline:hover { box-shadow: 0 3px 10px rgba(11,18,32,0.1); transform: translateY(-1px); }
.bp-btn-outline:active { transform: translateY(0); }

.bp-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.bp-drag-hint { font-size: 11px; color: var(--bp-slate); margin-top: 8px; }

.bp-photo-tile {
  position: relative;
  border-radius: var(--bp-radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bp-mist);
  cursor: grab;
  transition: transform 0.12s, box-shadow 0.12s;
}

.bp-photo-tile:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(11,18,32,0.12); }

.bp-photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bp-photo-tile .bp-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(11,18,32,0.7);
  color: var(--bp-white);
  border: none;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-photo-tile .bp-photo-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--bp-ignition); transition: width 0.2s; }
.bp-photo-tile.is-dragging { opacity: 0.4; }

/* ==========================================================================
   Buttons + nav — consistent sizing across primary/secondary/outline,
   nav pinned to a consistent position via sticky positioning.
   ========================================================================== */
.bp-nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--bp-mist);
  position: sticky;
  bottom: 0;
  background: var(--bp-white);
}

.bp-btn-primary,
.bp-btn-secondary {
  border-radius: var(--bp-radius-sm);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.bp-btn-primary {
  background: var(--bp-signal);
  color: var(--bp-white);
  border: none;
  flex: 1;
  transition: background 0.15s, transform 0.1s;
}

.bp-btn-primary:hover { background: var(--bp-signal-dark); }
.bp-btn-primary:active { transform: scale(0.99); }
.bp-btn-primary:disabled { background: var(--bp-mist); color: var(--bp-slate); cursor: not-allowed; }

.bp-btn-secondary { background: var(--bp-white); color: var(--bp-ink); border: 1.5px solid var(--bp-mist); transition: border-color 0.15s, transform 0.1s; }
.bp-btn-secondary:hover { border-color: var(--bp-ink); transform: translateY(-1px); }
.bp-btn-secondary:active { transform: translateY(0); }

/* ==========================================================================
   Trust badge
   ========================================================================== */
.bp-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F6EFDD;
  border-radius: var(--bp-radius-sm);
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bp-ignition);
  margin-bottom: 12px;
}

.bp-privacy-row input[type="checkbox"] {
  accent-color: var(--bp-signal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.bp-review-box {
  background: var(--bp-paper);
  border-radius: var(--bp-radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.bp-review-box-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bp-slate);
  margin-bottom: 8px;
}

.bp-review-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
}

.bp-review-row dt { color: var(--bp-slate); }
.bp-review-row dd { margin: 0; font-weight: 600; }

/* ==========================================================================
   Step 4 — price (compact single column, two fields don't need a split)
   ========================================================================== */
.bp-estimate-note {
  background: var(--bp-paper);
  border-radius: var(--bp-radius-sm);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--bp-slate);
  margin-top: 4px;
}

/* ==========================================================================
   Post-submission success page
   A distinct, wider composition (see .bp-wide on the root) rather than
   another step inside the form card — multiple compact cards on the warm
   canvas instead of one tall card with generous internal whitespace.
   ========================================================================== */
.bp-success-page { display: flex; flex-direction: column; gap: 14px; }

.bp-success-header { text-align: center; padding: 6px 0 2px; }

.bp-success-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bp-charcoal);
  color: var(--bp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 0 0 3px #F1E6CC;
}

.bp-success-header h2 { font-size: 22px; }
.bp-success-header .bp-step-sub { margin: 4px 0 0; font-size: 13.5px; }

.bp-ref-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--bp-paper);
  color: var(--bp-ink);
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 8px;
}

.bp-card {
  background: var(--bp-white);
  border-radius: var(--bp-radius-lg);
  box-shadow: var(--bp-shadow);
  padding: 16px 20px;
}

.bp-card-heading { font-size: 13px; font-weight: 700; margin-bottom: 4px; }

/* Timeline: compact rows, thin divider instead of tall gaps, short
   connector segments that sit within the icon column only. */
.bp-tl-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--bp-mist);
}

.bp-tl-row:last-child { border-bottom: none; }

.bp-tl-icon-col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }

.bp-tl-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bp-paper);
  color: var(--bp-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bp-tl-icon.is-done { background: var(--bp-charcoal); color: var(--bp-white); }
.bp-tl-icon.is-next { background: #F1E6CC; color: var(--bp-signal-dark); }

.bp-tl-connector { width: 2px; height: 10px; background: var(--bp-mist); margin-top: 2px; }

.bp-tl-body { flex: 1; min-width: 0; }
.bp-tl-title { font-weight: 600; font-size: 13.5px; }
.bp-tl-sub { font-size: 12px; color: var(--bp-slate); margin-top: 1px; }

.bp-tl-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bp-paper);
  color: var(--bp-slate);
  white-space: nowrap;
  flex-shrink: 0;
}

.bp-tl-row:first-child .bp-tl-badge { background: #F1E6CC; color: var(--bp-signal-dark); }

/* "What happens next" — horizontal on desktop, wraps on mobile */
.bp-whatsnext-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .bp-whatsnext-grid { grid-template-columns: repeat(2, 1fr); }
}

.bp-whatsnext-item { text-align: center; }

.bp-whatsnext-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bp-paper);
  color: var(--bp-signal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.bp-whatsnext-title { font-size: 12.5px; font-weight: 600; }
.bp-whatsnext-sub { font-size: 11.5px; color: var(--bp-slate); margin-top: 2px; }

/* Charcoal closing band — questions + trust strip, the ~10% dark anchor */
.bp-dark-band {
  background: var(--bp-charcoal);
  color: var(--bp-white);
  border-radius: var(--bp-radius-lg);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.bp-dark-band-title { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.bp-dark-band-sub { font-size: 12px; color: #B7AFA0; }

.bp-contact-row { display: flex; gap: 22px; flex-wrap: wrap; }
.bp-contact-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.bp-contact-item .bp-icon { color: var(--bp-signal); flex-shrink: 0; }
.bp-contact-item-text { line-height: 1.3; }
.bp-contact-item-sub { color: #B7AFA0; font-size: 11px; }

.bp-trust-strip {
  display: flex;
  gap: 20px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.bp-trust-strip-item { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #D8D2C4; }
.bp-trust-strip-item .bp-icon { color: var(--bp-signal); }

.bp-pending-note { font-size: 12px; color: var(--bp-slate); text-align: center; margin-top: 2px; }

/* ==========================================================================
   Misc states
   ========================================================================== */
.bp-banner-error {
  background: #FBEEEC;
  border: 1px solid #E8C8C0;
  color: var(--bp-danger);
  border-radius: var(--bp-radius-sm);
  padding: 10px 12px;
  font-size: 12.5px;
  margin-bottom: 14px;
}

.bp-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--bp-white);
  border-radius: 50%;
  display: inline-block;
  animation: bp-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 7px;
}

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