﻿/* SAAML Bolt â€” customer portal stylesheet */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bolt-bg: #f8f9fb;
  --bolt-surface: #ffffff;
  --bolt-surface-2: #f1f3f6;
  --bolt-surface-3: #e8ecf1;
  --bolt-border: rgba(15, 23, 42, 0.07);
  --bolt-border-strong: rgba(15, 23, 42, 0.12);
  --bolt-text: #0f1419;
  --bolt-muted: #5c6573;
  --bolt-faint: #8b95a5;
  --bolt-accent: #3d5afe;
  --bolt-accent-hover: #2f4be0;
  --bolt-accent-soft: rgba(61, 90, 254, 0.08);
  --bolt-accent-ring: rgba(61, 90, 254, 0.18);
  --bolt-primary: #111827;
  --bolt-primary-hover: #1f2937;
  --bolt-btn-primary-bg: #111827;
  --bolt-btn-primary-hover: #1f2937;
  --bolt-btn-primary-text: #ffffff;
  --bolt-success: #0d9f6e;
  --bolt-warning: #c27803;
  --bolt-danger: #dc2626;
  --bolt-header-h: 64px;
  --bolt-dock-mobile-h: 72px;
  --bolt-dock-float-gap: 0.5rem;
  --bolt-touch-min: 44px;
  --bolt-safe-top: env(safe-area-inset-top, 0px);
  --bolt-safe-bottom: env(safe-area-inset-bottom, 0px);
  --bolt-dock-clearance: calc(var(--bolt-dock-mobile-h) + var(--bolt-dock-float-gap) + var(--bolt-safe-bottom));
  --bolt-wizard-actions-h: 4.75rem;
  --bolt-radius-xs: 6px;
  --bolt-radius-sm: 8px;
  --bolt-radius-md: 10px;
  --bolt-radius-lg: 14px;
  --bolt-radius-xl: 18px;
  --bolt-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.03);
  --bolt-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --bolt-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --bolt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bolt-dur: 180ms;
  --bolt-glass: rgba(255, 255, 255, 0.82);
  --bolt-saaml-teal: #1b9f98;
  --bolt-brand: var(--bolt-saaml-teal);
  --bolt-saaml-teal-deep: #065652;
  --bolt-saaml-mint: #6bdcd2;
  --bolt-saaml-teal-soft: rgba(27, 159, 152, 0.12);
  --bolt-step-pending: color-mix(in srgb, var(--bolt-accent) 28%, transparent);
  --bolt-step-done: var(--bolt-accent);
  --bolt-step-done-soft: color-mix(in srgb, var(--bolt-accent) 14%, transparent);
  --bolt-step-done-label: var(--bolt-accent);
  --bolt-step-active: var(--bolt-accent);
  --bolt-step-active-label: var(--bolt-accent);
  --bolt-step-active-ring: rgba(27, 159, 152, 0.45);
  --bolt-step-active-glow: rgba(27, 159, 152, 0.2);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bolt-bg: #090b10;
  --bolt-surface: #11151c;
  --bolt-surface-2: #171c26;
  --bolt-surface-3: #1f2633;
  --bolt-border: rgba(255, 255, 255, 0.07);
  --bolt-border-strong: rgba(255, 255, 255, 0.12);
  --bolt-text: #eef2f7;
  --bolt-muted: #9aa3b2;
  --bolt-faint: #6b7585;
  --bolt-accent-soft: rgba(61, 90, 254, 0.14);
  --bolt-accent-ring: rgba(61, 90, 254, 0.28);
  --bolt-primary: #111827;
  --bolt-primary-hover: #1f2937;
  --bolt-btn-primary-bg: var(--bolt-saaml-teal);
  --bolt-btn-primary-hover: color-mix(in srgb, var(--bolt-saaml-teal) 82%, #fff);
  --bolt-btn-primary-text: #ffffff;
  --bolt-glass: rgba(9, 11, 16, 0.86);
  --bolt-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --bolt-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.25);
  --bolt-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --bolt-saaml-teal-soft: color-mix(in srgb, var(--bolt-saaml-teal) 22%, transparent);
  --bolt-step-pending: color-mix(in srgb, var(--bolt-saaml-teal) 35%, transparent);
  --bolt-step-done: var(--bolt-saaml-teal);
  --bolt-step-done-soft: color-mix(in srgb, var(--bolt-saaml-mint) 55%, transparent);
  --bolt-step-done-label: var(--bolt-saaml-mint);
  --bolt-step-active: #1c1917;
  --bolt-step-active-label: var(--bolt-saaml-mint);
  --bolt-step-active-ring: rgba(107, 220, 210, 0.48);
  --bolt-step-active-glow: rgba(27, 159, 152, 0.28);
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--bolt-text);
  background: var(--bolt-bg);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--bolt-accent); text-decoration: none; transition: color var(--bolt-dur) var(--bolt-ease); }
a:hover { color: var(--bolt-accent-hover); }

/* Interactive surfaces keep their own colors (not default link blue) */
a.bolt-btn,
a.bolt-dock-item,
a.bolt-order-card,
a.bolt-contact-tab,
a.bolt-google-btn,
a.bolt-lang-btn,
a.bolt-wallet-block-link {
  transition: background var(--bolt-dur) var(--bolt-ease), color var(--bolt-dur) var(--bolt-ease), border-color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease), transform var(--bolt-dur) var(--bolt-ease);
}

a.bolt-btn:hover,
a.bolt-btn:focus-visible {
  text-decoration: none;
}

/* â”€â”€ App shell â”€â”€ */
.bolt-app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.bolt-main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.bolt-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bolt-glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--bolt-border);
}

.bolt-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--bolt-header-h);
  padding: var(--bolt-safe-top) max(1rem, env(safe-area-inset-right, 0px)) 0 max(1rem, env(safe-area-inset-left, 0px));
}

.bolt-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: var(--bolt-touch-min);
  min-height: var(--bolt-touch-min);
  text-decoration: none;
  transition: opacity var(--bolt-dur) var(--bolt-ease), transform var(--bolt-dur) var(--bolt-ease);
}

.bolt-header-logo:hover { opacity: 0.9; }
.bolt-header-logo:active { transform: scale(0.97); }

.bolt-cobrand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  line-height: 0;
}

.bolt-cobrand-company,
.bolt-cobrand-saaml {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bolt-cobrand-company-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bolt-surface, #fff);
}

.bolt-cobrand-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bolt-fg, #0f172a);
  background: color-mix(in srgb, var(--bolt-accent, #2563eb) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--bolt-border, #e2e8f0) 80%, transparent);
}

.bolt-cobrand-divider {
  width: 1px;
  height: 1.5rem;
  background: var(--bolt-border, #e2e8f0);
  opacity: 0.9;
}

.bolt-cobrand--auth .bolt-cobrand-company-logo,
.bolt-cobrand--auth .bolt-cobrand-monogram {
  width: 44px;
  height: 44px;
}

.bolt-cobrand--auth .bolt-cobrand-divider {
  height: 1.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: path(rect(0 0 0 0));
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bolt-app-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0.25rem 0;
}

.bolt-app-brand-logo .saaml-logo-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bolt-app-brand-logo .saaml-logo-mark-menu {
  width: 56px;
  height: 40px;
  display: block;
}

.bolt-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline-start: auto;
  flex-shrink: 0;
  min-width: 0;
}

.bolt-header-tools,
.bolt-header-account {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.bolt-header-account {
  gap: 0.25rem;
  padding-inline-start: 0.375rem;
  border-inline-start: 1px solid var(--bolt-border);
}

.bolt-header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: var(--bolt-radius-md);
  background: transparent;
  color: var(--bolt-muted);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--bolt-dur) var(--bolt-ease), color var(--bolt-dur) var(--bolt-ease);
}

.bolt-header-icon:hover,
.bolt-header-icon[aria-expanded="true"] {
  background: var(--bolt-surface-2);
  color: var(--bolt-text);
}

.bolt-header-icon:focus-visible {
  outline: 2px solid var(--bolt-accent);
  outline-offset: 2px;
}

.bolt-header-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.bolt-lang-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bolt-lang-toggle {
  display: none;
}

.bolt-lang-toggle-badge {
  position: absolute;
  inset-inline-end: 5px;
  inset-block-end: 5px;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--bolt-saaml-teal);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
  letter-spacing: 0;
  pointer-events: none;
}

.bolt-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  height: 40px;
  padding: 0.1875rem;
  border-radius: 999px;
  border: 1px solid var(--bolt-border-strong);
  background: var(--bolt-surface-2);
  box-shadow: var(--bolt-shadow-xs);
  flex-shrink: 0;
}

a.bolt-lang-btn {
  color: var(--bolt-muted);
}

a.bolt-lang-btn:hover {
  color: var(--bolt-text);
  text-decoration: none;
}

.bolt-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  min-width: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bolt-muted);
  text-decoration: none;
  transition: background var(--bolt-dur) var(--bolt-ease), color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease);
  white-space: nowrap;
  cursor: pointer;
}

.bolt-lang-btn:hover {
  color: var(--bolt-text);
  background: rgba(255, 255, 255, 0.55);
}

.bolt-lang-btn.is-active {
  color: var(--bolt-text);
  background: var(--bolt-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  font-weight: 700;
  cursor: default;
  pointer-events: none;
}

.bolt-lang-btn:focus-visible {
  outline: 2px solid var(--bolt-accent);
  outline-offset: 2px;
}

.bolt-lang-short { display: none; }

.bolt-header-context {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 1rem 0.75rem;
  border-top: 1px solid var(--bolt-border);
  background: linear-gradient(180deg, var(--bolt-surface-2) 0%, transparent 100%);
}

.bolt-topbar-title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--bolt-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bolt-topbar-sub {
  font-size: 0.75rem;
  color: var(--bolt-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* â”€â”€ Workspace dock (header + mobile) â”€â”€ */
.bolt-dock {
  display: flex;
  align-items: stretch;
  text-decoration: none;
}

.bolt-dock--desktop {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 0.625rem;
  max-width: 560px;
  margin: 0 auto;
}

.bolt-dock-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  box-shadow: var(--bolt-shadow-xs);
  color: var(--bolt-muted);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--bolt-dur) var(--bolt-ease), color var(--bolt-dur) var(--bolt-ease), border-color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease), transform var(--bolt-dur) var(--bolt-ease);
  flex: 1;
  min-width: 0;
}

.bolt-dock-item:hover {
  color: var(--bolt-text);
  border-color: var(--bolt-border-strong);
  box-shadow: var(--bolt-shadow-sm);
  transform: translateY(-1px);
}

.bolt-dock-item:active {
  transform: translateY(0);
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-dock-item.is-active {
  color: var(--bolt-saaml-teal-deep);
  font-weight: 600;
  border-color: rgba(27, 159, 152, 0.45);
  box-shadow: 0 0 0 1px rgba(27, 159, 152, 0.12), var(--bolt-shadow-sm);
}

.bolt-dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bolt-dock-icon svg {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.bolt-dock-item.is-active .bolt-dock-icon svg {
  opacity: 1;
  color: var(--bolt-saaml-teal);
}

.bolt-dock-item.is-active .bolt-dock-label { color: var(--bolt-saaml-teal-deep); }
.bolt-dock-item.is-active .bolt-dock-hint { color: var(--bolt-saaml-teal); }

.bolt-dock-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.0625rem;
}

.bolt-dock-label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bolt-dock-hint {
  font-size: 0.6875rem;
  color: var(--bolt-faint);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.bolt-dock--mobile {
  position: fixed;
  bottom: calc(var(--bolt-dock-float-gap) + var(--bolt-safe-bottom));
  inset-inline: max(0.75rem, env(safe-area-inset-left, 0px)) max(0.75rem, env(safe-area-inset-right, 0px));
  z-index: 30;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  background: var(--bolt-glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-xl);
  box-shadow: var(--bolt-shadow-md);
  min-height: var(--bolt-dock-mobile-h);
}

.bolt-dock--mobile .bolt-dock-item {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  padding: 0.4375rem 0.25rem;
  text-align: center;
  min-height: var(--bolt-touch-min);
  border: none;
  box-shadow: none;
  background: transparent;
}

.bolt-dock--mobile .bolt-dock-item:hover {
  transform: none;
  background: var(--bolt-surface-2);
}

.bolt-dock--mobile .bolt-dock-item.is-active {
  background: var(--bolt-saaml-teal-soft);
  border: none;
  box-shadow: none;
  color: var(--bolt-saaml-teal-deep);
}

.bolt-dock--mobile .bolt-dock-icon svg {
  width: 22px;
  height: 22px;
}

.bolt-dock--mobile .bolt-dock-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="dark"] .bolt-dock-item {
  background: var(--bolt-surface);
}

[data-theme="dark"] .bolt-dock-item.is-active {
  border-color: rgba(107, 220, 210, 0.4);
  box-shadow: 0 0 0 1px rgba(27, 159, 152, 0.2), var(--bolt-shadow-sm);
}

[data-theme="dark"] .bolt-dock-item.is-active .bolt-dock-label,
[data-theme="dark"] .bolt-dock-item.is-active .bolt-dock-hint {
  color: var(--bolt-saaml-mint);
}

.bolt-topbar-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bolt-topbar-search-label,
.bolt-topbar-search-kbd {
  display: none;
}

@media (min-width: 768px) {
  .bolt-topbar-search {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    min-width: 12.5rem;
    max-width: 15rem;
    height: 40px;
    padding: 0 0.5rem 0 0.75rem;
    border: 1px solid var(--bolt-border-strong);
    border-radius: 999px;
    background: var(--bolt-surface);
    box-shadow: var(--bolt-shadow-xs);
    color: var(--bolt-faint);
    font-size: 0.8125rem;
    transition: border-color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease), background var(--bolt-dur) var(--bolt-ease), color var(--bolt-dur) var(--bolt-ease);
  }

  .bolt-topbar-search:hover {
    border-color: var(--bolt-border-strong);
    background: var(--bolt-surface);
    box-shadow: var(--bolt-shadow-sm);
    color: var(--bolt-muted);
  }

  .bolt-topbar-search:focus-visible {
    outline: 2px solid var(--bolt-accent-ring);
    outline-offset: 2px;
    border-color: rgba(61, 90, 254, 0.35);
  }

  .bolt-topbar-search-label {
    display: block;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bolt-faint);
    font-size: 0.8125rem;
    line-height: 1.2;
    text-align: start;
  }

  .bolt-topbar-search:hover .bolt-topbar-search-label {
    color: var(--bolt-muted);
  }

  .bolt-topbar-search-kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 1.75rem;
    height: 1.375rem;
    margin-inline-start: 0.125rem;
    padding: 0 0.35rem;
    border-radius: 6px;
    border: 1px solid var(--bolt-border);
    background: var(--bolt-surface-2);
    color: var(--bolt-faint);
    font-size: 0.625rem;
    font-family: inherit;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }

  .bolt-topbar-search svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--bolt-faint);
    opacity: 1;
  }

  .bolt-topbar-search:hover svg {
    color: var(--bolt-muted);
  }

  #bolt-theme-toggle {
    margin-inline-start: 0.125rem;
  }
}

.bolt-user-chip {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.625rem 0.25rem 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--bolt-text);
  max-width: 180px;
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--bolt-saaml-teal) 0%, var(--bolt-saaml-teal-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow:
    0 0 0 2px var(--bolt-surface),
    0 0 0 3px rgba(27, 159, 152, 0.22),
    0 2px 6px rgba(6, 86, 82, 0.18);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.bolt-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--bolt-text);
}

.bolt-content {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding:
    1.25rem
    max(1rem, env(safe-area-inset-right, 0px))
    calc(var(--bolt-dock-clearance) + 1.25rem)
    max(1rem, env(safe-area-inset-left, 0px));
}

/* â”€â”€ Page structure â”€â”€ */
.bolt-page-head { margin-bottom: 1.5rem; }

.bolt-page-head h1,
.bolt-booking .bolt-page-head h2 {
  margin: 0 0 0.375rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.bolt-page-head p {
  margin: 0;
  color: var(--bolt-muted);
  font-size: 0.875rem;
  max-width: 52ch;
}

.bolt-page-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.bolt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--bolt-faint);
  margin-bottom: 0.5rem;
}

.bolt-breadcrumb a { color: var(--bolt-faint); font-weight: 500; }
.bolt-breadcrumb a:hover { color: var(--bolt-accent); }
.bolt-breadcrumb-sep { opacity: 0.5; }

/* â”€â”€ Cards & surfaces â”€â”€ */
.bolt-card {
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  box-shadow: var(--bolt-shadow-xs);
  padding: 1.25rem;
  margin-bottom: 0.875rem;
}

.bolt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--bolt-border);
}

.bolt-card-header h2 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bolt-muted { color: var(--bolt-muted); }
.bolt-label { font-size: 0.75rem; font-weight: 500; color: var(--bolt-faint); }

.bolt-hero {
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.875rem;
}

.bolt-hero h1 { margin: 0 0 0.25rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }
.bolt-hero p { margin: 0; color: var(--bolt-muted); font-size: 0.875rem; }

/* â”€â”€ Buttons â”€â”€ */
.bolt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  min-height: 36px;
  border-radius: var(--bolt-radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
  transition: background var(--bolt-dur) var(--bolt-ease), color var(--bolt-dur) var(--bolt-ease), border-color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease), transform var(--bolt-dur) var(--bolt-ease);
}

.bolt-btn:active:not(:disabled) { transform: scale(0.98); }
.bolt-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.bolt-btn-primary {
  background: var(--bolt-btn-primary-bg);
  color: var(--bolt-btn-primary-text);
}

.bolt-btn-primary:hover:not(:disabled),
a.bolt-btn-primary:hover,
a.bolt-btn-primary:focus-visible {
  background: var(--bolt-btn-primary-hover);
  color: var(--bolt-btn-primary-text);
}

.bolt-wizard-card .bolt-btn-primary {
  background: var(--bolt-saaml-teal);
  color: #fff;
}

.bolt-wizard-card .bolt-btn-primary:hover:not(:disabled),
.bolt-wizard-card a.bolt-btn-primary:hover,
.bolt-wizard-card a.bolt-btn-primary:focus-visible {
  background: var(--bolt-saaml-teal-deep);
  color: #fff;
}

.bolt-btn-accent {
  background: var(--bolt-accent);
  color: #fff;
}

.bolt-btn-accent:hover:not(:disabled),
a.bolt-btn-accent:hover,
a.bolt-btn-accent:focus-visible {
  background: var(--bolt-accent-hover);
  color: #fff;
}

.bolt-btn-ghost {
  background: transparent;
  color: var(--bolt-text);
  border: 1px solid var(--bolt-border);
}

.bolt-btn-ghost:hover:not(:disabled),
a.bolt-btn-ghost:hover,
a.bolt-btn-ghost:focus-visible {
  background: var(--bolt-surface-2);
  border-color: var(--bolt-border-strong);
  color: var(--bolt-text);
}

.bolt-btn-sm { padding: 0.375rem 0.75rem; min-height: 32px; font-size: 0.75rem; }
.bolt-btn-block { width: 100%; }

.bolt-icon-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--bolt-radius-md);
}

/* â”€â”€ Forms â”€â”€ */
.bolt-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

/* Author display rules beat the UA [hidden] stylesheet — keep stages truly hidden. */
.bolt-form-group[hidden],
.bolt-choice-stage[hidden],
#bolt-boxes-legacy[hidden] {
  display: none !important;
}

.bolt-form-group + .bolt-form-group {
  margin-top: 0.25rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--bolt-border);
}

.bolt-na-details {
  margin-top: 0.875rem;
}

.bolt-na-details .bolt-field { margin-bottom: 0; }

.bolt-na-details .bolt-input[readonly] {
  background: var(--bolt-surface-2);
  color: var(--bolt-muted);
}

.bolt-form-group-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: var(--bolt-faint);
  text-align: start;
}

.bolt-form-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.bolt-form-grid .bolt-field {
  margin-bottom: 0;
}

.bolt-form-grid.bolt-form-grid--na-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bolt-form-grid.bolt-form-grid--na-details .bolt-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0;
  min-width: 0;
}

@media (max-width: 639px) {
  .bolt-form-grid.bolt-form-grid--na-details {
    grid-template-columns: 1fr;
  }

  .bolt-form-grid.bolt-form-grid--na-details .bolt-field {
    margin-bottom: 0.75rem;
  }

  .bolt-form-grid.bolt-form-grid--na-details .bolt-field:last-child {
    margin-bottom: 0;
  }
}

.bolt-field-label {
  display: flex;
  align-items: center;
  min-height: 1.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bolt-muted);
  letter-spacing: 0.01em;
}

.bolt-form-grid--3 .bolt-field {
  display: grid;
  grid-template-rows: 1.375rem 40px 1rem;
  gap: 0.375rem;
  align-content: start;
}

.bolt-form-grid--3 .bolt-field-label-row {
  width: 100%;
  justify-content: space-between;
  gap: 0.25rem;
}

.bolt-form-grid--3 .bolt-field-control {
  height: 40px;
  min-height: 40px;
  display: flex;
  align-items: stretch;
}

.bolt-form-grid--3 .bolt-field-control .bolt-input,
.bolt-form-grid--3 .bolt-field-control .bolt-phone-wrap {
  width: 100%;
  height: 100%;
}

.bolt-form-grid--3 .bolt-field-control .bolt-phone-wrap .bolt-input {
  min-height: 0;
}

.bolt-form-grid--3 .bolt-field-hint {
  margin: 0;
  min-height: 1rem;
  line-height: 1rem;
  font-size: 0.75rem;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bolt-form-grid--2 {
  grid-template-columns: 1fr;
}

.bolt-form-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 540px) {
  .bolt-form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bolt-form-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bolt-form-grid--3 .bolt-field-na { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .bolt-form-grid--3 {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1fr);
  }

  .bolt-form-grid--3 .bolt-field-na { grid-column: auto; }

  .bolt-form-grid--package {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.85fr) minmax(0, 1fr);
  }
}

@media (min-width: 540px) and (max-width: 767px) {
  .bolt-form-grid--package .bolt-field:nth-child(3) {
    grid-column: 1 / -1;
  }
}

.bolt-form-grid--package .bolt-field {
  grid-template-rows: 1.375rem 40px;
}

.bolt-form-grid--package .bolt-field-control .bolt-counter {
  width: 100%;
  height: 100%;
  min-width: 0;
}

.bolt-form-grid--package .bolt-field-control .bolt-counter button {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.bolt-form-grid--package .bolt-field-control .bolt-counter input {
  min-width: 0;
  padding-inline: 0.25rem;
}

.bolt-form-grid--package .bolt-field-control .bolt-select {
  width: 100%;
  height: 100%;
}

.bolt-form-grid--payment .bolt-field {
  display: grid;
  grid-template-rows: 1.375rem 40px;
  gap: 0.375rem;
  align-content: start;
}

.bolt-form-grid--payment .bolt-field-control .bolt-input,
.bolt-form-grid--payment .bolt-field-control .bolt-select {
  width: 100%;
  height: 100%;
}

.bolt-form-grid--payment .bolt-field--with-hint {
  grid-template-rows: 1.375rem 40px auto;
}

/* SA1587: card-only payment — one line in place of who pays, wallet and COD. */
.bolt-card-only-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--bolt-text, #111827);
  border: 1px solid var(--bolt-border, #e5e7eb);
  border-radius: var(--bolt-radius-md, 12px);
  background: color-mix(in srgb, var(--bolt-accent, #0d9488) 5%, var(--bolt-surface, #fff));
}

.bolt-card-only-note svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  color: var(--bolt-accent, #0d9488);
}

/* SA1622: card only, card not working here — a fee due now cannot be booked (no fallback). */
.bolt-card-only-note--blocked {
  border-color: color-mix(in srgb, var(--bolt-danger, #dc2626) 40%, transparent);
  background: color-mix(in srgb, var(--bolt-danger, #dc2626) 6%, var(--bolt-surface, #fff));
}

.bolt-card-only-note--blocked svg {
  color: var(--bolt-danger, #dc2626);
}

/* What a draft or "Ship again" carried that card only does not take over. */
.bolt-card-only-note--dropped {
  margin-top: 0.5rem;
  border-color: color-mix(in srgb, var(--bolt-warning, #d97706) 45%, transparent);
  background: color-mix(in srgb, var(--bolt-warning, #d97706) 8%, var(--bolt-surface, #fff));
}

.bolt-cod-breakdown {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bolt-border, #e5e7eb);
  border-radius: var(--bolt-radius-md, 12px);
  background: color-mix(in srgb, var(--bolt-accent, #0d9488) 5%, var(--bolt-surface, #fff));
}

.bolt-cod-breakdown-title {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--bolt-text, #111827);
}

.bolt-cod-breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--bolt-muted, #6b7280);
  line-height: 1.6;
}

.bolt-cod-breakdown-total {
  margin-top: 0.35rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--bolt-border, #e5e7eb);
  font-weight: 700;
  color: var(--bolt-text, #111827);
}

.bolt-form-group .bolt-field-full {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.bolt-form-group--flush {
  gap: 0;
}

.bolt-boxes-mode-toggle {
  margin-top: 0.75rem;
  align-self: flex-start;
}

.bolt-boxes-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bolt-boxes-panel-head {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (min-width: 720px) {
  .bolt-boxes-panel-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }
}

.bolt-boxes-panel-intro {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  min-width: 0;
}

.bolt-boxes-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: var(--bolt-radius-md);
  background: transparent;
  color: var(--bolt-saaml-teal-deep);
}

.bolt-boxes-panel-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.bolt-boxes-panel-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bolt-faint);
}

.bolt-boxes-panel-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--bolt-muted);
}

.bolt-boxes-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}

@media (min-width: 720px) {
  .bolt-boxes-panel-actions {
    width: auto;
    align-items: flex-end;
    flex-shrink: 0;
  }
}

.bolt-boxes-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 720px) {
  .bolt-boxes-stats {
    justify-content: flex-end;
    width: auto;
  }
}

.bolt-boxes-stat {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 5.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: transparent;
}

.bolt-boxes-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bolt-faint);
}

.bolt-boxes-stat-value {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bolt-text);
  line-height: 1.1;
}

.bolt-boxes-stat-value small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bolt-muted);
}

.bolt-add-box {
  width: 100%;
  color: var(--bolt-saaml-teal-deep);
  border-color: rgba(27, 159, 152, 0.28);
  background: transparent;
}

.bolt-add-box svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.bolt-add-box:hover:not(:disabled) {
  color: var(--bolt-saaml-teal-deep);
  border-color: var(--bolt-saaml-teal);
  background: var(--bolt-saaml-teal-soft);
}

.bolt-add-box:focus-visible {
  outline: none;
  border-color: var(--bolt-saaml-teal);
  box-shadow: 0 0 0 3px var(--bolt-saaml-teal-soft);
}

@media (min-width: 720px) {
  .bolt-add-box {
    width: auto;
    min-width: 9rem;
  }
}

.bolt-boxes-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.bolt-box-card {
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}

.bolt-box-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border-bottom: 1px solid var(--bolt-border);
}

.bolt-box-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: var(--bolt-radius-xs);
  background: transparent;
  color: var(--bolt-saaml-teal-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bolt-box-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border: none;
  border-radius: var(--bolt-radius-sm);
  background: transparent;
  color: var(--bolt-danger);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--bolt-dur) var(--bolt-ease);
}

.bolt-box-remove svg {
  width: 0.9375rem;
  height: 0.9375rem;
  flex-shrink: 0;
}

.bolt-box-remove span {
  display: none;
}

@media (min-width: 480px) {
  .bolt-box-remove span {
    display: inline;
  }
}

.bolt-box-remove:hover {
  background: rgba(220, 38, 38, 0.08);
}

.bolt-box-card-body {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bolt-box-card-body {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    align-items: end;
    gap: 0.75rem 1rem;
  }
}

.bolt-box-card .bolt-field {
  margin-bottom: 0;
}

.bolt-dim-group {
  display: flex;
  align-items: stretch;
  min-height: 40px;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: transparent;
  overflow: hidden;
  transition: border-color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease);
}

.bolt-dim-group:focus-within {
  border-color: var(--bolt-saaml-teal);
  box-shadow: 0 0 0 3px var(--bolt-saaml-teal-soft);
}

.bolt-dim-group:has(.bolt-input-invalid),
.bolt-dim-group.bolt-dim-invalid {
  border-color: #da1e28 !important;
  box-shadow: 0 0 0 3px rgba(218, 30, 40, 0.12) !important;
}

.bolt-dim-group:has(.bolt-input-invalid):focus-within,
.bolt-dim-group.bolt-dim-invalid:focus-within {
  border-color: #da1e28 !important;
  box-shadow: 0 0 0 3px rgba(218, 30, 40, 0.12) !important;
}

.bolt-dim-group .bolt-input {
  flex: 1 1 0;
  min-width: 0;
  height: 40px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  padding-inline: 0.25rem;
}

.bolt-dim-group .bolt-input:focus {
  box-shadow: none;
}

.bolt-dim-sep {
  display: inline-flex;
  align-items: center;
  color: var(--bolt-faint);
  font-size: 0.75rem;
  flex-shrink: 0;
  user-select: none;
}

.bolt-dim-unit {
  display: inline-flex;
  align-items: center;
  padding: 0 0.625rem;
  height: 40px;
  border-inline-start: 1px solid var(--bolt-border);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bolt-muted);
  flex-shrink: 0;
}

.bolt-box-card .bolt-field-control {
  height: 40px;
  min-height: 40px;
}

.bolt-box-card .bolt-input-suffix-wrap .bolt-input {
  height: 100%;
}

.bolt-boxes-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--bolt-muted);
}

.bolt-boxes-hint-icon {
  width: 0.9375rem;
  height: 0.9375rem;
  flex-shrink: 0;
  margin-top: 0.0625rem;
  color: var(--bolt-saaml-teal);
}

.bolt-required {
  color: #da1e28;
}

/* Auto-mark required controls with a red asterisk on the label */
.bolt-field:has(:is(input, select, textarea)[required]):not(:has(.bolt-required)) > .bolt-field-label::after,
.bolt-field:has(:is(input, select, textarea)[required]):not(:has(.bolt-required)) > span:first-child:not(.bolt-field-label)::after,
.bolt-field.bolt-field-row:has(input[required]) > span::after {
  content: '*';
  color: #da1e28;
  margin-inline-start: 0.2em;
  font-weight: 700;
}

/* â”€â”€ Box details: mobile-only compact layout (< 640px; tablet+ unchanged) â”€â”€ */
@media (max-width: 639px) {
  .bolt-step-panel[data-step="3"] .bolt-section-title {
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }

  .bolt-step-panel[data-step="3"] .bolt-form-group--flush {
    margin-top: 0;
  }

  .bolt-step-panel[data-step="3"] .bolt-form-group--flush + .bolt-form-group {
    margin-top: 0;
    padding-top: 0.875rem;
  }

  .bolt-boxes-panel {
    gap: 0.5rem;
  }

  .bolt-boxes-panel-head,
  .bolt-boxes-panel-actions {
    display: contents;
  }

  .bolt-boxes-panel-intro {
    order: 1;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.125rem;
  }

  .bolt-boxes-panel-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .bolt-boxes-panel-icon svg {
    width: 0.9375rem;
    height: 0.9375rem;
  }

  .bolt-boxes-panel-title {
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
  }

  .bolt-boxes-panel-sub {
    margin-top: 0.1rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .bolt-boxes-stats {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.375rem;
    width: 100%;
  }

  .bolt-boxes-stat {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem;
    min-width: 0;
    padding: 0.4375rem 0.5625rem;
  }

  .bolt-boxes-stat-label {
    font-size: 0.625rem;
    letter-spacing: 0.03em;
  }

  .bolt-boxes-stat-value {
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .bolt-boxes-stat-value small {
    font-size: 0.6875rem;
  }

  .bolt-boxes-list {
    order: 3;
    gap: 0.5rem;
  }

  .bolt-add-box {
    order: 4;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.4375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: var(--bolt-radius-sm);
  }

  .bolt-add-box svg {
    width: 0.8125rem;
    height: 0.8125rem;
  }

  .bolt-box-card {
    border-radius: var(--bolt-radius-sm);
  }

  .bolt-box-card-head {
    padding: 0.375rem 0.625rem;
    min-height: 2.125rem;
  }

  .bolt-box-badge {
    min-height: 1.25rem;
    padding: 0 0.375rem;
    font-size: 0.6875rem;
  }

  .bolt-box-remove {
    min-width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
    padding: 0;
    margin-inline-end: -0.25rem;
  }

  .bolt-box-remove svg {
    width: 1rem;
    height: 1rem;
  }

  .bolt-box-card-body {
    padding: 0.5rem 0.625rem 0.625rem;
    gap: 0.5rem;
  }

  .bolt-box-card .bolt-field-label {
    font-size: 0.6875rem;
    min-height: auto;
    margin-bottom: 0.25rem;
  }

  .bolt-dim-group {
    min-height: 2.75rem;
  }

  .bolt-dim-group .bolt-input {
    height: 2.75rem;
    font-size: 0.875rem;
    padding-inline: 0.125rem;
  }

  .bolt-dim-sep {
    font-size: 0.6875rem;
  }

  .bolt-dim-unit {
    height: 2.75rem;
    padding-inline: 0.4375rem;
    font-size: 0.6875rem;
  }

  .bolt-box-card .bolt-field-control {
    height: 2.75rem;
    min-height: 2.75rem;
  }

  .bolt-box-card .bolt-input-suffix-wrap .bolt-input {
    font-size: 0.875rem;
  }
}

.bolt-form-grid--package-meta .bolt-field {
  display: grid;
  grid-template-rows: 1.375rem 40px;
  gap: 0.375rem;
  align-content: start;
}

.bolt-input-suffix-wrap {
  position: relative;
  direction: ltr;
}

.bolt-input-suffix-wrap .bolt-input {
  width: 100%;
  height: 100%;
  padding-inline-end: 3rem;
}

.bolt-input-suffix {
  position: absolute;
  inset-inline-end: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bolt-muted);
  pointer-events: none;
}

.bolt-field-full { margin-bottom: 0; }

.bolt-autocomplete { position: relative; }

.bolt-autocomplete-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.25rem);
  inset-inline: 0;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  border: 1px solid var(--bolt-border-strong);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  box-shadow: var(--bolt-shadow-md);
  max-height: min(16rem, 42vh);
  overflow-y: auto;
}

.bolt-autocomplete-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: none;
  border-radius: var(--bolt-radius-sm);
  background: transparent;
  color: var(--bolt-text);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: background var(--bolt-dur) var(--bolt-ease);
}

.bolt-autocomplete-item:hover,
.bolt-autocomplete-item.is-active {
  background: var(--bolt-surface-2);
}

.bolt-autocomplete-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.bolt-autocomplete-item-sub {
  font-size: 0.75rem;
  color: var(--bolt-muted);
  line-height: 1.35;
}

.bolt-autocomplete-hint {
  padding: 0.5rem 0.625rem;
  font-size: 0.75rem;
  color: var(--bolt-muted);
  line-height: 1.4;
}

.bolt-field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 0.875rem; }

.bolt-field > span,
.bolt-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bolt-muted);
  letter-spacing: 0.01em;
  text-align: start;
}

.bolt-input, .bolt-select, .bolt-textarea {
  width: 100%;
  padding: 0.5625rem 0.75rem;
  min-height: 40px;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  font-size: 0.9375rem;
  font-family: inherit;
  background: var(--bolt-surface);
  color: var(--bolt-text);
  text-align: start;
  transition: border-color var(--bolt-dur), box-shadow var(--bolt-dur), background var(--bolt-dur);
}

.bolt-select {
  padding-inline-end: 2rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b95a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 1rem;
}

.bolt-select::-ms-expand {
  display: none;
}

[dir="rtl"] .bolt-select {
  background-position: left 0.65rem center;
}

.bolt-input::placeholder, .bolt-textarea::placeholder { color: var(--bolt-faint); }

.bolt-input:hover, .bolt-select:hover, .bolt-textarea:hover {
  border-color: var(--bolt-border-strong);
}

.bolt-input:focus, .bolt-select:focus, .bolt-textarea:focus {
  outline: none;
  border-color: var(--bolt-accent);
  box-shadow: 0 0 0 3px var(--bolt-accent-ring);
}

.bolt-textarea { min-height: 88px; resize: vertical; }
.bolt-textarea.bolt-textarea--short { min-height: 56px; }
.bolt-select:disabled { opacity: 0.55; background: var(--bolt-surface-2); }

/* Custom searchable select (city/district) â€” Bolt brand, no Select2 */
.bolt-combobox {
  position: relative;
  width: 100%;
}

.bolt-combobox-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bolt-combobox-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 0 0.75rem;
  padding-inline-end: 2rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  color: var(--bolt-text);
  font: inherit;
  font-size: 0.9375rem;
  text-align: start;
  cursor: pointer;
  outline: none;
  transition: border-color var(--bolt-dur), box-shadow var(--bolt-dur), background var(--bolt-dur);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b95a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 1rem;
}

[dir="rtl"] .bolt-combobox-trigger {
  background-position: left 0.65rem center;
}

.bolt-combobox-trigger.is-placeholder {
  color: var(--bolt-faint);
}

.bolt-combobox-trigger:hover:not(:disabled) {
  border-color: var(--bolt-border-strong);
}

.bolt-combobox.is-open .bolt-combobox-trigger,
.bolt-combobox-trigger:focus-visible {
  border-color: var(--bolt-brand);
  box-shadow: 0 0 0 3px var(--bolt-saaml-teal-soft);
}

.bolt-combobox.is-disabled .bolt-combobox-trigger,
.bolt-combobox-trigger:disabled {
  opacity: 0.55;
  background-color: var(--bolt-surface-2);
  cursor: not-allowed;
}

.bolt-combobox.is-locked .bolt-combobox-trigger {
  pointer-events: none;
  opacity: 1;
  background-color: var(--bolt-surface-2);
  color: var(--bolt-muted);
  cursor: not-allowed;
}

.bolt-combobox-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  inset-inline: 0;
  max-height: 280px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  box-shadow: var(--bolt-shadow-md);
  overflow: hidden;
}

.bolt-combobox-panel[hidden] {
  display: none !important;
}

.bolt-combobox-search {
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--bolt-border);
  background: var(--bolt-surface);
  color: var(--bolt-text);
  font: inherit;
  font-size: 0.9375rem;
  outline: none;
}

.bolt-combobox-search:focus {
  background: var(--bolt-surface-2);
}

.bolt-combobox-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  overflow-y: auto;
  max-height: 220px;
}

.bolt-combobox-option {
  padding: 0.55rem 0.75rem;
  font-size: 0.9375rem;
  color: var(--bolt-text);
  cursor: pointer;
}

.bolt-combobox-option:hover,
.bolt-combobox-option:focus-visible {
  background: var(--bolt-saaml-teal-soft);
  outline: none;
}

.bolt-combobox-option.is-selected {
  background: color-mix(in srgb, var(--bolt-saaml-teal) 18%, transparent);
  font-weight: 500;
}

.bolt-combobox-empty {
  padding: 0.75rem;
  color: var(--bolt-muted);
  font-size: 0.875rem;
}

[data-theme="dark"] .bolt-combobox-trigger {
  background-color: var(--bolt-surface-2);
}

[data-theme="dark"] .bolt-combobox.is-locked .bolt-combobox-trigger,
[data-theme="dark"] .bolt-combobox.is-disabled .bolt-combobox-trigger {
  background-color: var(--bolt-surface-3);
}

[data-theme="dark"] .bolt-combobox-panel {
  background: var(--bolt-surface-2);
  border-color: var(--bolt-border-strong);
}

[data-theme="dark"] .bolt-combobox-search {
  background: var(--bolt-surface-2);
  border-bottom-color: var(--bolt-border);
}

[data-theme="dark"] .bolt-combobox-search:focus {
  background: var(--bolt-surface-3);
}

.bolt-party-map {
  margin-top: 0.875rem;
}

.bolt-trip-preview {
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.bolt-trip-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.bolt-trip-preview-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bolt-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.bolt-trip-preview-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
  line-height: 1.4;
}

.bolt-trip-preview-meta {
  flex-shrink: 0;
  align-self: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bolt-brand);
  background: rgba(27, 159, 152, 0.1);
  border: 1px solid rgba(27, 159, 152, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
}

.bolt-trip-map-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.bolt-trip-map-frame {
  position: relative;
  border-radius: var(--bolt-radius-lg, 1rem);
  overflow: hidden;
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface-2);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.bolt-trip-map-canvas {
  width: 100%;
  height: 18rem;
  min-height: 18rem;
}

.bolt-trip-map-busy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(2px);
}

.bolt-trip-map-busy[hidden] {
  display: none !important;
}

.bolt-trip-map-empty {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--bolt-muted);
  background: var(--bolt-surface-2);
}

.bolt-trip-map-empty[hidden] {
  display: none !important;
}

.bolt-trip-map-frame.is-empty .bolt-trip-map-canvas {
  visibility: hidden;
}

.bolt-trip-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem 0.875rem;
}

.bolt-trip-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  min-width: 0;
  padding: 0.625rem 0.75rem;
  border-radius: var(--bolt-radius-md);
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface);
}

.bolt-trip-dot {
  width: 0.75rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  position: relative;
}

.bolt-trip-dot::after {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border-radius: 999px;
  background: #fff;
}

.bolt-trip-dot--pickup {
  background: var(--bolt-saaml-teal, #1b9f98);
}

.bolt-trip-dot--dropoff {
  background: #e11d48;
}

.bolt-trip-legend-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.bolt-trip-legend-k {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bolt-faint);
}

.bolt-trip-legend-v {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bolt-text);
  line-height: 1.35;
  word-break: break-word;
}

@media (min-width: 640px) {
  .bolt-trip-map-canvas {
    height: 22rem;
    min-height: 22rem;
  }

  .bolt-trip-preview {
    margin-bottom: 1.75rem;
    gap: 1rem;
  }
}

@media (max-width: 639px) {
  .bolt-trip-legend {
    grid-template-columns: 1fr;
  }

  .bolt-trip-preview-meta {
    width: 100%;
    text-align: center;
  }

  .bolt-trip-map-canvas {
    height: min(52vh, 22rem);
    min-height: 16rem;
  }
}

[data-theme="dark"] .bolt-trip-map-frame {
  box-shadow: none;
}

[data-theme="dark"] .bolt-trip-map-busy {
  background: rgba(9, 11, 16, 0.5);
}

.bolt-party-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.bolt-party-map-locate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--bolt-saaml-teal, #1b9f98);
  border-radius: 999px;
  background: #fff;
  color: var(--bolt-saaml-teal, #1b9f98);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.bolt-party-map-locate:hover:not(:disabled) {
  background: rgba(27, 159, 152, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.bolt-party-map-locate:active:not(:disabled) {
  transform: scale(0.98);
}

.bolt-party-map-locate:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.bolt-party-map-pick {
  position: absolute;
  z-index: 3;
  inset-inline-start: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.375rem;
  padding: 0.45rem 0.95rem;
  border: 1.5px solid var(--bolt-saaml-teal, #1b9f98);
  border-radius: 999px;
  background: #fff;
  color: var(--bolt-saaml-teal, #1b9f98);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bolt-party-map-pick:hover:not(:disabled) {
  background: rgba(27, 159, 152, 0.06);
  color: var(--bolt-saaml-teal, #1b9f98);
  border-color: var(--bolt-saaml-teal, #1b9f98);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.bolt-party-map-pick:active:not(:disabled) {
  transform: scale(0.98);
}

.bolt-party-map-pick:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.bolt-party-map-pick svg,
.bolt-party-map-locate svg {
  flex-shrink: 0;
}

.bolt-party-map-pick.is-active {
  background: var(--bolt-saaml-teal, #1b9f98);
  color: #fff;
  border-color: var(--bolt-saaml-teal, #1b9f98);
  box-shadow:
    0 0 0 3px var(--bolt-saaml-teal-soft, rgba(27, 159, 152, 0.28)),
    0 8px 20px rgba(15, 23, 42, 0.16);
}

/* Map-native fullscreen control (icon only, like Google Maps) */
.bolt-map-fs-btn {
  position: absolute;
  z-index: 4;
  top: 0.625rem;
  inset-inline-end: 0.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #fff;
  color: #5f6368;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.bolt-map-fs-btn:hover {
  background: #f8f9fa;
  color: #202124;
}

.bolt-map-fs-btn:active {
  background: #f1f3f4;
}

.bolt-map-fs-btn.is-active {
  background: #fff;
  color: #202124;
}

.bolt-map-fs-btn .bolt-map-fs-icon-exit[hidden],
.bolt-map-fs-btn .bolt-map-fs-icon-expand[hidden] {
  display: none !important;
}

.bolt-party-map.is-pick-mode .bolt-party-map-frame {
  border-color: var(--bolt-brand);
  box-shadow: 0 0 0 3px var(--bolt-saaml-teal-soft);
}

.bolt-party-map.is-pick-mode .bolt-party-map-canvas {
  cursor: crosshair;
}

.bolt-party-map-pick-banner {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  right: 0.75rem;
  top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--bolt-radius-md);
  background: rgba(15, 20, 25, 0.82);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  pointer-events: none;
}

[data-theme="dark"] .bolt-party-map-locate,
[data-theme="dark"] .bolt-party-map-pick {
  background: var(--bolt-surface, #11151c);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .bolt-party-map-locate:hover:not(:disabled),
[data-theme="dark"] .bolt-party-map-pick:hover:not(:disabled) {
  background: rgba(27, 159, 152, 0.14);
}

[data-theme="dark"] .bolt-map-fs-btn {
  background: #202124;
  color: #e8eaed;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .bolt-map-fs-btn:hover,
[data-theme="dark"] .bolt-map-fs-btn.is-active {
  background: #303134;
  color: #fff;
}

.bolt-party-map-pick-banner[hidden] {
  display: none !important;
}

.bolt-party-map-frame {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface-2);
}

.bolt-party-map-canvas {
  width: 100%;
  height: 16rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  touch-action: pan-x pan-y;
}

.bolt-party-map-canvas.is-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: var(--bolt-muted);
  font-size: 0.875rem;
  text-align: center;
}

.bolt-party-map-busy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bolt-surface) 55%, transparent);
  backdrop-filter: blur(1px);
  z-index: 2;
}

.bolt-party-map-busy[hidden] {
  display: none !important;
}

.bolt-party-map-spinner {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--bolt-saaml-teal, #1b9f98) 25%, transparent);
  border-top-color: var(--bolt-saaml-teal, #1b9f98);
  animation: bolt-party-map-spin 0.7s linear infinite;
}

@keyframes bolt-party-map-spin {
  to { transform: rotate(360deg); }
}

.bolt-party-map-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  transition: color 0.15s ease;
}

.bolt-party-map-confirm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: var(--bolt-radius-lg, 1rem);
  border: 1px solid rgba(27, 159, 152, 0.2);
  background: var(--bolt-surface, #fff);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.bolt-party-map-confirm[hidden] {
  display: none !important;
}

.bolt-party-map-confirm.is-partial {
  border-color: rgba(217, 119, 6, 0.28);
  background: rgba(255, 251, 235, 0.95);
}

.bolt-party-map-confirm-copy {
  min-width: 0;
  flex: 1 1 12rem;
}

.bolt-party-map-confirm-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bolt-party-map-confirm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(27, 159, 152, 0.12);
  color: var(--bolt-saaml-teal, #1b9f98);
}

.bolt-party-map-confirm.is-partial .bolt-party-map-confirm-icon {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
}

.bolt-party-map-confirm-k {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bolt-text);
  line-height: 1.3;
}

.bolt-party-map-confirm-addr {
  margin: 0.55rem 0 0;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface-2, #f8fafc);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--bolt-text);
  word-break: break-word;
}

.bolt-party-map-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.bolt-party-map-confirm-adjust,
.bolt-party-map-confirm-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.bolt-party-map-confirm-adjust {
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface, #fff);
  color: var(--bolt-text);
}

.bolt-party-map-confirm-adjust:hover {
  border-color: var(--bolt-border-strong, #cbd5e1);
  background: var(--bolt-surface-2);
}

.bolt-party-map-confirm-ok {
  border: 1px solid var(--bolt-saaml-teal, #1b9f98);
  background: var(--bolt-saaml-teal, #1b9f98);
  color: #fff;
}

.bolt-party-map-confirm-ok:hover {
  background: var(--bolt-btn-primary-hover, #22b8ae);
  border-color: var(--bolt-btn-primary-hover, #22b8ae);
}

.bolt-party-map-confirm-adjust:active,
.bolt-party-map-confirm-ok:active {
  transform: scale(0.98);
}

[data-theme="dark"] .bolt-party-map-confirm {
  background: var(--bolt-surface);
  border-color: rgba(27, 159, 152, 0.28);
  box-shadow: none;
}

[data-theme="dark"] .bolt-party-map-confirm.is-partial {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.32);
}

[data-theme="dark"] .bolt-party-map-confirm-addr {
  background: var(--bolt-surface-2);
}

[data-theme="dark"] .bolt-party-map-confirm-adjust {
  background: var(--bolt-surface);
}

.bolt-party-map-hint.is-loading {
  color: var(--bolt-saaml-teal, #1b9f98);
}

.bolt-party-map-hint.is-error {
  color: var(--bolt-danger, #da1e28);
}

.bolt-party-map-hint.is-success {
  color: var(--bolt-saaml-teal, #1b9f98);
}

.bolt-party-map.is-pin-locked .bolt-party-map-frame {
  box-shadow: inset 0 0 0 2px var(--bolt-saaml-teal-soft, rgba(27, 159, 152, 0.28));
}

.bolt-party-map.is-busy .bolt-party-map-locate,
.bolt-party-map.is-busy .bolt-party-map-pick {
  opacity: 0.7;
}

.bolt-party-map.is-confirming .bolt-party-map-pick {
  display: none !important;
}

.bolt-party-map.is-confirming .bolt-party-map-hint {
  display: none;
}

@media (max-width: 639px) {
  .bolt-party-map {
    margin-top: 0.75rem;
  }

  .bolt-party-map-toolbar {
    justify-content: stretch;
    margin-bottom: 0.625rem;
  }

  .bolt-party-map-locate {
    width: 100%;
    min-height: 2.625rem;
  }

  .bolt-party-map-frame {
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
  }

  .bolt-party-map-canvas {
    height: min(52vh, 22rem);
    min-height: 16.5rem;
  }

  /* Clear of Google logo / attribution strip */
  .bolt-party-map-pick {
    inset-inline-start: 0.625rem;
    bottom: 2.75rem;
    max-width: calc(100% - 4.25rem);
    min-height: 2.5rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
  }

  .bolt-map-fs-btn {
    top: 0.5rem;
    inset-inline-end: 0.5rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 2px;
  }

  .bolt-party-map-pick-banner {
    left: 0.5rem;
    right: 0.5rem;
    top: 0.5rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
    border-radius: 0.625rem;
  }

  .bolt-party-map.is-pick-mode .bolt-map-fs-btn {
    top: 3.15rem;
  }

  .bolt-party-map-confirm {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 0.75rem;
    padding: 1rem 1rem 1.05rem;
    border-radius: 1.125rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }

  .bolt-party-map-confirm-copy {
    flex: none;
  }

  .bolt-party-map-confirm-icon {
    width: 2rem;
    height: 2rem;
  }

  .bolt-party-map-confirm-k {
    font-size: 1rem;
  }

  .bolt-party-map-confirm-addr {
    margin-top: 0.65rem;
    padding: 0.75rem 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    border-radius: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .bolt-party-map-confirm-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .bolt-party-map-confirm-ok,
  .bolt-party-map-confirm-adjust {
    width: 100%;
    min-height: 3rem;
    padding: 0.65rem 1rem;
    font-size: 0.9375rem;
    border-radius: 0.875rem;
  }

  .bolt-party-map-confirm-adjust {
    background: transparent;
    border-color: transparent;
    color: var(--bolt-muted);
    min-height: 2.5rem;
    font-weight: 600;
  }

  .bolt-party-map-confirm-adjust:hover {
    background: var(--bolt-surface-2);
    border-color: transparent;
    color: var(--bolt-text);
  }

  .bolt-party-map-hint {
    margin-top: 0.625rem;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .bolt-party-map.is-map-fullscreen .bolt-party-map-pick {
    bottom: max(2.75rem, calc(var(--bolt-safe-bottom) + 1.5rem));
  }

  .bolt-trip-map-canvas {
    height: min(52vh, 22rem);
    min-height: 16rem;
  }
}

@media (min-width: 640px) {
  .bolt-party-map-canvas { height: 18rem; }

  .bolt-party-map-confirm-actions {
    flex-direction: row-reverse;
  }
}

/* Full-screen map shell (party + trip) */
html.bolt-map-fs-open,
body.bolt-map-fs-open {
  overflow: hidden;
}

.bolt-party-map.is-map-fullscreen,
.bolt-trip-map-shell.is-map-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 240;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding:
    max(0.75rem, var(--bolt-safe-top))
    max(0.75rem, env(safe-area-inset-right, 0px))
    max(0.75rem, var(--bolt-safe-bottom))
    max(0.75rem, env(safe-area-inset-left, 0px));
  background: var(--bolt-surface, #fff);
  box-shadow: none;
}

.bolt-party-map.is-map-fullscreen .bolt-party-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  flex-shrink: 0;
}

.bolt-party-map.is-map-fullscreen .bolt-party-map-frame,
.bolt-trip-map-shell.is-map-fullscreen .bolt-trip-map-frame {
  flex: 1 1 auto;
  min-height: 0;
  border-radius: var(--bolt-radius-lg, 1rem);
  position: relative;
}

.bolt-party-map.is-map-fullscreen .bolt-party-map-canvas,
.bolt-trip-map-shell.is-map-fullscreen .bolt-trip-map-canvas {
  height: 100% !important;
  min-height: 100% !important;
}

.bolt-party-map.is-map-fullscreen .bolt-party-map-confirm {
  flex-shrink: 0;
  margin-top: 0;
  max-height: min(38vh, 16rem);
  overflow: auto;
  padding: 0.75rem 0.875rem;
  gap: 0.625rem;
}

.bolt-party-map.is-map-fullscreen .bolt-party-map-confirm-addr {
  margin-top: 0.4rem;
  padding: 0.5rem 0.65rem;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bolt-party-map.is-map-fullscreen .bolt-party-map-confirm-actions {
  flex-direction: row;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem;
}

.bolt-party-map.is-map-fullscreen .bolt-party-map-confirm-ok,
.bolt-party-map.is-map-fullscreen .bolt-party-map-confirm-adjust {
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  border-radius: 999px;
}

.bolt-party-map.is-map-fullscreen .bolt-party-map-confirm-adjust {
  background: var(--bolt-surface, #fff);
  border: 1px solid var(--bolt-border);
  color: var(--bolt-text);
}

.bolt-party-map.is-map-fullscreen .bolt-party-map-hint {
  flex-shrink: 0;
  margin: 0;
}

.bolt-trip-map-shell.is-map-fullscreen .bolt-trip-legend {
  flex-shrink: 0;
}

[data-theme="dark"] .bolt-party-map-frame {
  border-color: var(--bolt-border-strong, var(--bolt-border));
  background: var(--bolt-surface-3);
}

[data-theme="dark"] .bolt-party-map-busy {
  background: rgba(9, 11, 16, 0.55);
}

[data-theme="dark"] .bolt-party-map.is-pin-locked .bolt-party-map-frame {
  box-shadow: inset 0 0 0 2px rgba(27, 159, 152, 0.35);
}

/* NA autofill lock: pointer-events/readonly so values still submit (unlike disabled) */
.bolt-input.is-locked,
.bolt-select.is-locked,
.bolt-textarea.is-locked {
  pointer-events: none !important;
  background: var(--bolt-surface-2) !important;
  color: var(--bolt-muted) !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

.bolt-phone-wrap {
  display: flex;
  align-items: stretch;
  direction: ltr;
}

.bolt-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  background: var(--bolt-surface-2);
  border: 1px solid var(--bolt-border);
  border-inline-end: none;
  border-start-start-radius: var(--bolt-radius-md);
  border-end-start-radius: var(--bolt-radius-md);
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--bolt-muted);
}

.bolt-phone-wrap .bolt-input {
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-start-end-radius: var(--bolt-radius-md);
  border-end-end-radius: var(--bolt-radius-md);
  flex: 1;
}

.bolt-error {
  color: var(--bolt-danger);
  font-size: 0.8125rem;
  min-height: 1.25rem;
  margin: 0.25rem 0 0.5rem;
  text-align: start;
}

.bolt-alert {
  padding: 0.75rem 0.875rem;
  border-radius: var(--bolt-radius-md);
  font-size: 0.8125rem;
  margin-bottom: 0.875rem;
  border: 1px solid transparent;
}

.bolt-alert-info {
  background: var(--bolt-accent-soft);
  color: var(--bolt-accent);
  border-color: var(--bolt-accent-ring);
}

/* â”€â”€ Wizard â”€â”€ */
.bolt-wizard-card { padding-bottom: 0; }

.bolt-stepper { margin-bottom: 1.25rem; }

.bolt-stepper-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.bolt-stepper-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  min-width: 0;
}

.bolt-stepper-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  inset-inline-start: calc(50% + 16px);
  width: calc(100% - 32px);
  height: 2px;
  background: var(--bolt-step-pending);
  border-radius: 1px;
  transition: background var(--bolt-dur) var(--bolt-ease);
}

.bolt-stepper-item.is-done:not(:last-child)::after {
  background: var(--bolt-step-done-soft);
}

.bolt-stepper-item.is-active:not(:last-child)::after {
  background: var(--bolt-step-pending);
}

.bolt-stepper-marker {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bolt-surface);
  color: var(--bolt-faint);
  border: 2px solid var(--bolt-step-pending);
  transition: background var(--bolt-dur), color var(--bolt-dur), border-color var(--bolt-dur), box-shadow var(--bolt-dur);
}

.bolt-stepper-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bolt-faint);
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color var(--bolt-dur);
}

.bolt-stepper-item.is-active .bolt-stepper-marker {
  background: var(--bolt-step-active);
  color: #fff;
  border-color: var(--bolt-step-active);
  box-shadow: 0 0 0 3px var(--bolt-step-active-glow), 0 0 0 5px var(--bolt-step-active-ring);
}

[data-theme="dark"] .bolt-stepper-item.is-active .bolt-stepper-marker {
  color: #fff;
}

.bolt-stepper-item.is-active .bolt-stepper-label {
  color: var(--bolt-step-active-label);
  font-weight: 600;
}

.bolt-stepper-item.is-done .bolt-stepper-marker {
  background: var(--bolt-step-done);
  color: #fff;
  border-color: var(--bolt-step-done);
  font-size: 0;
}

.bolt-stepper-item.is-done .bolt-stepper-marker::before {
  content: '\2713';
  font-size: 0.8125rem;
  line-height: 1;
  font-weight: 700;
}

.bolt-stepper-item.is-done .bolt-stepper-label {
  color: var(--bolt-step-done-label);
  font-weight: 600;
}

.bolt-wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.875rem 0 1.25rem;
  border-top: 1px solid var(--bolt-border);
}

.bolt-wizard-actions-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.625rem 0.875rem;
  margin-inline-start: auto;
}

.bolt-wizard-start-fresh {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0.15rem;
  margin: 0;
  color: var(--bolt-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
  align-self: flex-start;
}

.bolt-wizard-start-fresh:hover {
  color: var(--bolt-text);
}

.bolt-page-head-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.bolt-page-head-copy h1,
.bolt-booking .bolt-page-head-copy h2 {
  margin: 0 0 0.375rem;
}

.bolt-page-head-copy p {
  margin: 0;
}

.bolt-wizard-actions:has(#bolt-btn-back.bolt-hidden) {
  justify-content: flex-end;
}

.bolt-wizard-actions .bolt-btn {
  min-height: 40px;
  padding: 0.5rem 1.125rem;
  flex: 0 0 auto;
  min-width: 7.5rem;
}

.bolt-wizard-actions .bolt-btn-ghost {
  min-width: auto;
}

.bolt-modal--compact {
  max-width: 26rem;
}

.bolt-ship-auth-modal {
  padding-top: 1.75rem;
  text-align: center;
}

.bolt-ship-auth-modal .bolt-modal-title {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.bolt-ship-auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-saaml-teal-soft);
  border: 1px solid rgba(27, 159, 152, 0.18);
  color: var(--bolt-saaml-teal-deep);
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-ship-auth-sub {
  margin: 0 auto 1.25rem;
  max-width: 20rem;
  color: var(--bolt-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.bolt-ship-auth-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  padding: 0.75rem 1.125rem;
  min-width: 12.5rem;
  border-radius: var(--bolt-radius-md);
  border: 1px solid var(--bolt-border-strong);
  background: var(--bolt-surface-2);
  color: var(--bolt-text);
  font-size: 1.0625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.2;
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-ship-auth-phone[hidden] {
  display: none !important;
}

.bolt-ship-auth-actions {
  margin-top: 0;
}

.bolt-ship-auth-actions .bolt-auth-secondary {
  margin-top: 0.125rem;
}

.bolt-action-stack--row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: flex-end;
}

.bolt-action-stack--row .bolt-btn {
  min-width: 7rem;
}

.bolt-route-summary {
  margin-bottom: 1.125rem;
  padding: 0.75rem 1rem;
  background: var(--bolt-surface-2);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
}

.bolt-route-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0.75rem 1rem;
}

.bolt-route-end {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.bolt-route-end--to { text-align: end; align-items: flex-end; }

.bolt-route-k {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bolt-faint);
}

.bolt-route-city {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bolt-text);
  line-height: 1.25;
  word-break: break-word;
}

.bolt-route-district {
  font-size: 0.75rem;
  color: var(--bolt-muted);
  line-height: 1.3;
  word-break: break-word;
}

.bolt-route-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  align-self: center;
}

.bolt-route-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 999px;
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface);
  color: var(--bolt-brand);
}

.bolt-route-arrow svg { width: 0.875rem; height: 0.875rem; }

.bolt-route-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(27, 159, 152, 0.1);
  color: var(--bolt-brand);
  border: 1px solid rgba(27, 159, 152, 0.16);
  white-space: nowrap;
}

.bolt-route-badge.is-same {
  background: rgba(245, 158, 11, 0.1);
  color: var(--bolt-warning);
  border-color: rgba(245, 158, 11, 0.2);
}

.bolt-route-meta {
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--bolt-border);
  font-size: 0.8125rem;
  color: var(--bolt-muted);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 639px) {
  .bolt-route-summary {
    margin-bottom: 0.625rem;
    padding: 0.5rem 0.625rem;
    background: transparent;
    border-radius: var(--bolt-radius-sm);
  }

  .bolt-route-track {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    gap: 0.25rem 0.4375rem;
  }

  .bolt-route-end {
    gap: 0.1rem;
  }

  .bolt-route-end--to {
    text-align: end;
    align-items: flex-end;
  }

  .bolt-route-k {
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    line-height: 1.15;
  }

  .bolt-route-city {
    font-size: 0.8125rem;
    line-height: 1.2;
  }

  .bolt-route-district {
    font-size: 0.6875rem;
    line-height: 1.25;
  }

  .bolt-route-mid {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    align-self: center;
    padding-top: 0.625rem;
  }

  .bolt-route-arrow {
    width: 1.375rem;
    height: 1.375rem;
  }

  .bolt-route-arrow svg {
    width: 0.75rem;
    height: 0.75rem;
  }

  .bolt-route-badge {
    font-size: 0.5625rem;
    padding: 0.1rem 0.35rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
    max-width: 4.25rem;
    text-align: center;
    white-space: normal;
  }

  .bolt-route-meta {
    margin-top: 0.4375rem;
    padding-top: 0.4375rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

.bolt-step-error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.15);
  color: var(--bolt-danger);
  padding: 0.625rem 0.75rem;
  border-radius: var(--bolt-radius-md);
  font-size: 0.8125rem;
  margin-bottom: 0.875rem;
}

.bolt-step-panel { display: none; animation: boltFadeIn var(--bolt-dur) var(--bolt-ease); }
.bolt-step-panel.is-active { display: block; }

@keyframes boltFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.bolt-section-heading {
  margin: 1.25rem 0 0.625rem;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--bolt-text);
  letter-spacing: -0.01em;
}

.bolt-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 0;
}

.bolt-price-grid:has(> .bolt-price-card:only-child) {
  grid-template-columns: 1fr;
}

.bolt-price-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1.5px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: border-color var(--bolt-dur), background var(--bolt-dur), box-shadow var(--bolt-dur), transform var(--bolt-dur);
  position: relative;
  background: var(--bolt-surface);
}

.bolt-price-card:hover {
  border-color: var(--bolt-border-strong);
  box-shadow: var(--bolt-shadow-sm);
}

.bolt-price-card.is-selected {
  border-color: var(--bolt-accent);
  background: linear-gradient(145deg, var(--bolt-accent-soft) 0%, var(--bolt-surface) 72%);
  box-shadow: 0 0 0 1px var(--bolt-accent-ring), var(--bolt-shadow-sm);
}

.bolt-price-card[data-delivery="quick"].is-selected {
  border-color: #7c3aed;
  background: linear-gradient(145deg, rgba(109, 40, 217, 0.1) 0%, var(--bolt-surface) 72%);
  box-shadow: 0 0 0 1px rgba(109, 40, 217, 0.22), var(--bolt-shadow-sm);
}

.bolt-price-card input { position: absolute; opacity: 0; pointer-events: none; }

.bolt-price-card-radio {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  border: 1.5px solid var(--bolt-border-strong);
  border-radius: 999px;
  background: var(--bolt-surface);
  transition: border-color var(--bolt-dur), background var(--bolt-dur), box-shadow var(--bolt-dur);
}

.bolt-price-card.is-selected .bolt-price-card-radio {
  border-color: var(--bolt-accent);
  background: var(--bolt-accent);
  box-shadow: inset 0 0 0 2px var(--bolt-surface);
}

.bolt-price-card[data-delivery="quick"].is-selected .bolt-price-card-radio {
  border-color: #7c3aed;
  background: #7c3aed;
}

.bolt-price-card-body {
  flex: 1;
  min-width: 0;
}

.bolt-price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.bolt-price-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bolt-text);
  letter-spacing: -0.01em;
}

.bolt-price-card .bolt-price-tag {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--bolt-text);
}

.bolt-price-card .bolt-price-tag.is-included {
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--bolt-success);
}

.bolt-price-card[data-delivery="quick"] .bolt-price-tag.is-included {
  color: #7c3aed;
}

.bolt-price-tag-sub {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--bolt-muted);
}

.bolt-price-card .bolt-price-eta {
  font-size: 0.75rem;
  color: var(--bolt-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* A product on the contract that cannot be priced for this route. Shown rather
   than hidden, so the customer knows the option exists and why it is closed. */
.bolt-price-card.is-unavailable {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--bolt-surface);
}

.bolt-price-card.is-unavailable .bolt-price-card-radio {
  visibility: hidden;
}

.bolt-price-card .bolt-price-unavailable {
  font-size: 0.75rem;
  color: var(--bolt-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.bolt-price-summary {
  margin-top: 0.875rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface-2);
  overflow: hidden;
}

.bolt-price-summary-due {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: var(--bolt-surface);
  border-bottom: 1px solid var(--bolt-border);
}

.bolt-price-summary-due-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bolt-text);
}

.bolt-price-summary-due-amount {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--bolt-text);
}

.bolt-price-summary-due-amount.is-zero {
  color: var(--bolt-success);
}

.bolt-price-summary-body {
  padding: 0.75rem 1rem 0.875rem;
}

.bolt-price-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.bolt-price-summary-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bolt-muted);
}

.bolt-price-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bolt-price-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--bolt-text);
}

.bolt-price-summary-line span:last-child {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bolt-price-summary-line.is-muted span {
  color: var(--bolt-muted);
}

.bolt-price-summary-line.is-muted span:last-child {
  font-weight: 500;
}

.bolt-price-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--bolt-border);
  font-size: 0.8125rem;
  color: var(--bolt-text);
}

.bolt-price-summary-total strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.bolt-price-summary-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--bolt-muted);
  background: var(--bolt-surface);
  border-top: 1px solid var(--bolt-border);
}

.bolt-price-summary-note svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.05rem;
  color: var(--bolt-accent);
}

.bolt-price-badge {
  position: static;
  flex-shrink: 0;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.bolt-price-badge-normal {
  background: var(--bolt-accent-soft);
  color: var(--bolt-accent);
  border: 1px solid var(--bolt-accent-ring);
}

.bolt-price-badge-quick {
  background: rgba(109, 40, 217, 0.12);
  color: #7c3aed;
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.bolt-price-skeleton {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin: 0.5rem 0 1rem;
}

.bolt-price-skeleton:has(> .bolt-skeleton-card:only-child) {
  grid-template-columns: 1fr;
}

.bolt-skeleton-card {
  height: 80px;
  border-radius: var(--bolt-radius-md);
  border: 1px solid var(--bolt-border);
  background: linear-gradient(90deg, var(--bolt-surface-2) 25%, var(--bolt-surface) 50%, var(--bolt-surface-2) 75%);
  background-size: 200% 100%;
  animation: boltShimmer 1.4s infinite;
}

@keyframes boltShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* â”€â”€ Modals & toast â”€â”€ */
.bolt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
}

.bolt-modal-overlay.is-open { display: flex; }

.bolt-modal {
  background: var(--bolt-surface);
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--bolt-border);
  border-start-start-radius: var(--bolt-radius-xl);
  border-start-end-radius: var(--bolt-radius-xl);
  border-end-start-radius: 0;
  border-end-end-radius: 0;
  padding: 1.5rem;
  max-height: 92dvh;
  overflow-y: auto;
  box-shadow: var(--bolt-shadow-md);
  animation: boltSlideUp 0.22s var(--bolt-ease);
}

@keyframes boltSlideUp {
  from { transform: translateY(100%); opacity: 0.8; }
  to { transform: none; opacity: 1; }
}

@media (min-width: 540px) {
  .bolt-modal-overlay { align-items: center; padding: 1rem; }
  .bolt-modal { border-radius: var(--bolt-radius-xl); animation: boltFadeIn var(--bolt-dur) var(--bolt-ease); }
}

.bolt-modal-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 1rem; }

/* â”€â”€ Search palette â”€â”€ */
.bolt-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 1rem 1rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.bolt-search-overlay.is-open { display: flex; }
body.bolt-search-open { overflow: hidden; }

.bolt-search-panel {
  width: 100%;
  max-width: 560px;
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-xl);
  box-shadow: var(--bolt-shadow-md);
  overflow: hidden;
  animation: boltFadeIn var(--bolt-dur) var(--bolt-ease);
}

.bolt-search-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--bolt-border);
  margin: 0;
}

.bolt-search-field svg { flex-shrink: 0; color: var(--bolt-faint); }

.bolt-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--bolt-text);
  text-align: start;
  outline: none;
}

.bolt-search-input::placeholder { color: var(--bolt-faint); }
.bolt-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.bolt-search-kbd {
  font-size: 0.625rem;
  font-family: inherit;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface-2);
  color: var(--bolt-faint);
}

.bolt-search-body {
  max-height: min(50dvh, 360px);
  overflow-y: auto;
  padding: 0.5rem;
}

.bolt-search-hint,
.bolt-search-empty {
  margin: 0.75rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--bolt-faint);
}

.bolt-search-results {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bolt-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: var(--bolt-radius-md);
  background: transparent;
  text-align: start;
  cursor: pointer;
  transition: background var(--bolt-dur) var(--bolt-ease);
}

.bolt-search-result:hover,
.bolt-search-result.is-active {
  background: var(--bolt-surface-2);
}

.bolt-search-result-main {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.bolt-search-result-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bolt-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bolt-search-result-sub {
  font-size: 0.75rem;
  color: var(--bolt-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bolt-search-result-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.bolt-search-result-type {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bolt-faint);
}

.bolt-search-fallback {
  display: flex;
  align-items: center;
  width: calc(100% - 1rem);
  margin: 0 0.5rem 0.75rem;
  padding: 0.75rem;
  border: 1px dashed var(--bolt-border-strong);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface-2);
  color: var(--bolt-accent);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--bolt-dur), border-color var(--bolt-dur);
}

.bolt-search-fallback:hover {
  background: var(--bolt-accent-soft);
  border-color: var(--bolt-accent-ring);
}

/* â”€â”€ Auth â”€â”€ */
.bolt-auth-modal {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
}

.bolt-auth-close {
  position: absolute;
  top: 0.875rem;
  inset-inline-end: 0.875rem;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--bolt-radius-md);
  background: transparent;
  color: var(--bolt-faint);
  cursor: pointer;
  transition: background var(--bolt-dur), color var(--bolt-dur);
}

.bolt-auth-close:hover { background: var(--bolt-surface-2); color: var(--bolt-text); }
.bolt-auth-close:focus-visible {
  outline: 2px solid var(--bolt-accent-ring);
  outline-offset: 2px;
}

.bolt-auth-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
  padding-inline-end: 1.75rem;
}

.bolt-auth-brand-center {
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-inline-end: 0;
}

.bolt-auth-brand-center .bolt-auth-brand-copy { max-width: 18rem; }

.bolt-auth-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.bolt-auth-mark-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-saaml-teal-soft);
  border: 1px solid rgba(27, 159, 152, 0.18);
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-auth-brand-center .bolt-auth-mark-logo {
  width: 4rem;
  height: 4rem;
}

.bolt-auth-mark-logo .saaml-logo-brand { align-items: center; }

.bolt-auth-mark-badge {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bolt-saaml-teal-deep);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--bolt-surface);
  border: 1px solid rgba(27, 159, 152, 0.16);
}

.bolt-auth-brand-copy { min-width: 0; }

.bolt-auth-title {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bolt-text);
  line-height: 1.3;
}

.bolt-auth-subtitle {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
  line-height: 1.5;
}

.bolt-auth-lead {
  margin: 0 0 1rem;
  color: var(--bolt-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.bolt-auth-hint {
  margin: -0.25rem 0 1rem;
  color: var(--bolt-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.bolt-otp-field { margin-bottom: 0.75rem; }

.bolt-otp-digits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.625rem;
  direction: ltr;
}

.bolt-otp-digit {
  width: 100%;
  min-height: 3.25rem;
  padding: 0;
  border: 1px solid var(--bolt-border-strong);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  color: var(--bolt-text);
  font-size: 1.375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-align: center;
  line-height: 1;
  box-shadow: var(--bolt-shadow-xs);
  transition: border-color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease), background var(--bolt-dur) var(--bolt-ease);
  caret-color: var(--bolt-saaml-teal);
}

.bolt-otp-digit:hover {
  border-color: var(--bolt-border-strong);
  background: var(--bolt-surface-2);
}

.bolt-otp-digit:focus {
  outline: none;
  border-color: var(--bolt-saaml-teal);
  background: var(--bolt-surface);
  box-shadow: 0 0 0 3px var(--bolt-saaml-teal-soft);
}

.bolt-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 0.25rem;
}

.bolt-auth-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding-top: 0.125rem;
}

.bolt-auth-text-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.25rem 0.5rem;
  margin: 0;
  color: var(--bolt-text);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--bolt-radius-sm);
  transition: color var(--bolt-dur) var(--bolt-ease), opacity var(--bolt-dur) var(--bolt-ease);
}

.bolt-auth-text-btn:hover:not(:disabled) {
  color: var(--bolt-saaml-teal-deep);
}

.bolt-auth-text-btn:focus-visible {
  outline: 2px solid var(--bolt-accent-ring);
  outline-offset: 2px;
}

.bolt-auth-text-btn:disabled {
  color: var(--bolt-faint);
  cursor: default;
  opacity: 0.85;
}

.bolt-auth-text-btn--muted {
  color: var(--bolt-muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(92, 101, 115, 0.35);
}

.bolt-auth-text-btn--muted:hover:not(:disabled) {
  color: var(--bolt-text);
  text-decoration-color: rgba(15, 20, 25, 0.35);
}

.bolt-auth-foot {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--bolt-border);
  text-align: center;
  font-size: 0.75rem;
}

.bolt-auth-foot a { color: var(--bolt-faint); font-weight: 500; }
.bolt-auth-foot a:hover { color: var(--bolt-accent); }

.bolt-auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - var(--bolt-header-h) - 3rem);
  padding: 0.5rem 0 2rem;
}

.bolt-auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-xl);
  box-shadow: var(--bolt-shadow-sm);
  padding: 1.75rem 1.5rem;
}

.bolt-field-row { flex-direction: row; align-items: flex-start; gap: 0.5rem; }

.bolt-field-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--bolt-accent);
}

.bolt-tabs {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1.25rem;
  background: var(--bolt-surface-2);
  padding: 0.1875rem;
  border-radius: var(--bolt-radius-md);
  border: 1px solid var(--bolt-border);
}

.bolt-tab {
  flex: 1;
  padding: 0.4375rem;
  text-align: center;
  border-radius: var(--bolt-radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
  font-family: inherit;
  transition: background var(--bolt-dur), color var(--bolt-dur), box-shadow var(--bolt-dur);
}

.bolt-tab.is-active {
  background: var(--bolt-surface);
  color: var(--bolt-text);
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-toast {
  position: fixed;
  bottom: calc(var(--bolt-dock-mobile-h) + 1.75rem);
  inset-inline: 1rem;
  max-width: 400px;
  margin-inline: auto;
  background: var(--bolt-btn-primary-bg);
  color: var(--bolt-btn-primary-text);
  padding: 0.75rem 0.875rem;
  border-radius: var(--bolt-radius-md);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: var(--bolt-shadow-md);
  z-index: 28;
  font-size: 0.8125rem;
}

.bolt-toast.is-visible { display: flex; }

.bolt-waybill-box {
  background: var(--bolt-surface-2);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  padding: 1rem;
  text-align: center;
  margin: 1rem 0;
}

.bolt-waybill-code {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: ui-monospace, 'SF Mono', monospace;
  color: var(--bolt-text);
}

.bolt-waybill-inline {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* â”€â”€ Badges & data â”€â”€ */
.bolt-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1875rem 0.5rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.bolt-badge-warning { background: rgba(194, 120, 3, 0.1); color: var(--bolt-warning); border-color: rgba(194, 120, 3, 0.15); }
.bolt-badge-info { background: var(--bolt-accent-soft); color: var(--bolt-accent); border-color: var(--bolt-accent-ring); }
.bolt-badge-primary { background: var(--bolt-accent-soft); color: var(--bolt-accent); }
.bolt-badge-success { background: rgba(13, 159, 110, 0.1); color: var(--bolt-success); border-color: rgba(13, 159, 110, 0.15); }
.bolt-badge-danger { background: rgba(220, 38, 38, 0.08); color: var(--bolt-danger); border-color: rgba(220, 38, 38, 0.12); }
.bolt-badge-muted { background: var(--bolt-surface-2); color: var(--bolt-muted); border-color: var(--bolt-border); }
.bolt-badge-quick { background: rgba(109, 40, 217, 0.1); color: #6d28d9; }
.bolt-badge-normal { background: var(--bolt-accent-soft); color: var(--bolt-accent); }

.bolt-table-wrap { overflow-x: auto; margin: -0.25rem; padding: 0.25rem; }

.bolt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.bolt-table th, .bolt-table td {
  padding: 0.6875rem 0.75rem;
  text-align: start;
  border-bottom: 1px solid var(--bolt-border);
}

.bolt-table th {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bolt-faint);
  font-weight: 600;
  background: var(--bolt-surface-2);
}

.bolt-table th:first-child {
  border-start-start-radius: var(--bolt-radius-sm);
  border-end-start-radius: var(--bolt-radius-sm);
}
.bolt-table th:last-child {
  border-start-end-radius: var(--bolt-radius-sm);
  border-end-end-radius: var(--bolt-radius-sm);
}
.bolt-table tr:last-child td { border-bottom: none; }
.bolt-table tbody tr { transition: background var(--bolt-dur); }
.bolt-table tbody tr:hover td { background: var(--bolt-surface-2); }

.bolt-timeline { list-style: none; margin: 0; padding: 0; position: relative; }

.bolt-timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 9px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--bolt-border-strong);
}

.bolt-timeline li {
  position: relative;
  padding-inline-start: 1.75rem;
  padding-bottom: 0.875rem;
  font-size: 0.8125rem;
}

.bolt-timeline li:last-child { padding-bottom: 0; }

.bolt-timeline li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bolt-surface);
  border: 1.5px solid var(--bolt-border-strong);
}

.bolt-timeline li.is-done { color: var(--bolt-muted); }

.bolt-timeline li.is-done::before {
  border-color: var(--bolt-brand);
  background: var(--bolt-brand);
  opacity: 0.55;
}

.bolt-timeline li.is-current::before {
  border-color: var(--bolt-brand);
  background: var(--bolt-brand);
  box-shadow: 0 0 0 3px var(--bolt-saaml-teal-soft);
}

.bolt-timeline li.is-current { font-weight: 600; color: var(--bolt-text); }

.bolt-timeline--track {
  margin-top: 0.25rem;
  padding: 0.25rem 0 0.125rem;
}

.bolt-timeline--track li {
  padding-bottom: 1rem;
  font-size: 0.875rem;
}

.bolt-timeline--track li::before {
  width: 12px;
  height: 12px;
  inset-inline-start: 3px;
  top: 4px;
}

.bolt-timeline-label { line-height: 1.35; }
.bolt-timeline-time { font-size: 0.6875rem; color: var(--bolt-faint); margin-top: 0.125rem; }

.bolt-empty { text-align: center; padding: 2.5rem 1.25rem; }
.bolt-empty-compact { padding: 1.5rem 0.75rem; }

.bolt-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.875rem;
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface-2);
  border: 1px solid var(--bolt-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bolt-faint);
}

.bolt-empty-icon svg { width: 22px; height: 22px; }

.bolt-address-card {
  background: var(--bolt-surface-2);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  padding: 0.875rem 1rem;
  margin-bottom: 0.625rem;
}

.bolt-address-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--bolt-faint);
  font-weight: 600;
}

.bolt-order-cards { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 0.875rem; }

.bolt-order-card-wrap {
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  overflow: hidden;
  transition: border-color var(--bolt-dur), box-shadow var(--bolt-dur);
}

.bolt-order-card-wrap:hover {
  border-color: var(--bolt-border-strong);
  box-shadow: var(--bolt-shadow-sm);
}

.bolt-order-card {
  display: block;
  padding: 0.875rem 1rem;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.bolt-order-card:hover {
  color: inherit;
  border-color: transparent;
  box-shadow: none;
}

.bolt-order-card-cancel {
  display: flex;
  justify-content: flex-end;
  padding: 0 1rem 0.75rem;
  margin: 0;
}

.bolt-order-card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.625rem; }
.bolt-order-card-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; font-size: 0.8125rem; margin-bottom: 0.625rem; }
.bolt-order-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
.bolt-table-desktop { display: none; }

/* â”€â”€ Bolt lightweight datatable â”€â”€ */
.bolt-dt { padding: 0; overflow: hidden; }

.bolt-dt .bolt-dt-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--bolt-border);
  background: linear-gradient(180deg, var(--bolt-surface-2) 0%, var(--bolt-surface) 100%);
}

.bolt-dt-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.35rem 0.625rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  color: var(--bolt-faint);
}

.bolt-dt-search:focus-within {
  border-color: var(--bolt-saaml-teal);
  box-shadow: 0 0 0 3px var(--bolt-saaml-teal-soft);
}

.bolt-dt-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--bolt-text);
  text-align: start;
  outline: none;
}

.bolt-dt-search input::placeholder { color: var(--bolt-faint); }

.bolt-dt-size {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bolt-muted);
}

.bolt-dt-size .bolt-select {
  min-height: 34px;
  padding-block: 0.25rem;
  padding-inline-start: 0.5rem;
  padding-inline-end: 1.75rem;
  font-size: 0.8125rem;
  width: auto;
  min-width: 3.25rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-position: right 0.4rem center;
  background-size: 0.875rem;
}

[dir="rtl"] .bolt-dt-size .bolt-select {
  background-position: left 0.4rem center;
}

.bolt-dt-table th[data-sort] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.bolt-dt-table th[data-sort]::after {
  content: '\2198';
  display: inline-block;
  margin-inline-start: 0.35rem;
  font-size: 0.625rem;
  color: var(--bolt-faint);
  opacity: 0.5;
}

.bolt-dt-table th[data-sort].is-sorted::after {
  opacity: 1;
  color: var(--bolt-saaml-teal-deep);
}

.bolt-dt-table th[data-sort].is-sorted[data-sort-dir="asc"]::after { content: '\2191'; }
.bolt-dt-table th[data-sort].is-sorted[data-sort-dir="desc"]::after { content: '\2193'; }

.bolt-dt-actions-col { width: 1%; white-space: nowrap; text-align: end; }

.bolt-dt-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.bolt-pod-card {
  margin-top: 1rem;
  padding: 1rem 1.125rem;
  border-color: rgba(13, 159, 110, 0.22);
  background:
    radial-gradient(ellipse 100% 80% at 100% 0%, rgba(13, 159, 110, 0.08), transparent 55%),
    var(--bolt-surface);
}

.bolt-pod-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.bolt-pod-head-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(13, 159, 110, 0.12);
  color: var(--bolt-success);
  border: 1px solid rgba(13, 159, 110, 0.22);
}

.bolt-pod-head-icon svg { width: 1.2rem; height: 1.2rem; }

.bolt-pod-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bolt-text);
}

.bolt-pod-delivered-at {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
}

.bolt-pod-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}

.bolt-pod-photo {
  display: block;
  border-radius: var(--bolt-radius-md);
  overflow: hidden;
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface-2);
  aspect-ratio: 4 / 3;
}

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

.bolt-pod-empty {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
}

.bolt-pod-signature {
  margin-bottom: 0.875rem;
}

.bolt-pod-signature img {
  display: block;
  max-width: 200px;
  max-height: 80px;
  margin-top: 0.35rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-sm);
  background: var(--bolt-surface);
}

.bolt-pod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .bolt-pod-card { padding: 0.875rem; }
  .bolt-pod-actions .bolt-btn { width: 100%; justify-content: center; min-height: 44px; }
  .bolt-dt-actions { flex-direction: column; align-items: stretch; }
  .bolt-dt-actions .bolt-btn { width: 100%; justify-content: center; }
}

.bolt-dt-empty {
  text-align: center;
  padding: 2rem 1rem !important;
  color: var(--bolt-muted);
  font-size: 0.875rem;
}

.bolt-dt-table tr[data-bolt-dt-empty][hidden] {
  display: none;
}

.bolt-dt[data-wallet-filter-empty] tr[data-bolt-dt-empty] {
  display: none;
}

.bolt-dt-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--bolt-border);
  background: var(--bolt-surface);
}

.bolt-dt-info {
  font-size: 0.75rem;
  color: var(--bolt-faint);
}

.bolt-dt-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.bolt-dt-page-btn {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-sm);
  background: var(--bolt-surface);
  color: var(--bolt-text);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--bolt-dur), border-color var(--bolt-dur), color var(--bolt-dur);
}

.bolt-dt-page-btn:hover:not(:disabled) {
  background: var(--bolt-surface-2);
  border-color: var(--bolt-border-strong);
}

.bolt-dt-page-btn.is-active {
  background: var(--bolt-btn-primary-bg);
  border-color: var(--bolt-btn-primary-bg);
  color: var(--bolt-btn-primary-text);
}

.bolt-dt-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* â”€â”€ KPI cards â”€â”€ */
.bolt-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.bolt-kpi-card {
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  transition: border-color var(--bolt-dur);
}

.bolt-kpi-card:hover { border-color: var(--bolt-border-strong); }

.bolt-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bolt-kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--bolt-radius-sm);
  background: var(--bolt-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bolt-faint);
}

.bolt-kpi-icon svg { width: 14px; height: 14px; }

.bolt-kpi-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--bolt-faint);
  letter-spacing: 0.01em;
}

.bolt-kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--bolt-text);
}

.bolt-kpi-warning .bolt-kpi-icon { background: rgba(194, 120, 3, 0.1); color: var(--bolt-warning); }
.bolt-kpi-primary .bolt-kpi-icon { background: var(--bolt-accent-soft); color: var(--bolt-accent); }
.bolt-kpi-success .bolt-kpi-icon { background: rgba(13, 159, 110, 0.1); color: var(--bolt-success); }

.bolt-track-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bolt-track-page { width: 100%; }

.bolt-track-intro {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.125rem;
}

.bolt-track-intro-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-saaml-teal-soft);
  color: var(--bolt-brand);
  border: 1px solid rgba(27, 159, 152, 0.2);
}

.bolt-track-intro-icon svg { width: 1.35rem; height: 1.35rem; }

.bolt-track-intro-title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--bolt-text);
}

.bolt-track-intro-lead {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--bolt-muted);
}

.bolt-track-search-card { margin-bottom: 1rem; }

.bolt-track-search {
  display: flex;
  align-items: flex-end;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.bolt-track-search-field {
  flex: 1 1 200px;
  min-width: 0;
  margin-bottom: 0;
}

.bolt-track-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.bolt-track-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 44px;
  padding-inline: 1.125rem;
  flex-shrink: 0;
}

.bolt-track-search-btn svg { width: 1rem; height: 1rem; }

.bolt-track-search-hint {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--bolt-faint);
}

.bolt-track-live-card { overflow: hidden; padding: 0; }

.bolt-track-live-hero {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem 1rem;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, color-mix(in srgb, var(--bolt-accent) 14%, transparent), transparent 55%),
    linear-gradient(180deg, var(--bolt-surface) 0%, var(--bolt-surface-2) 100%);
  border-bottom: 1px solid var(--bolt-border);
}

.bolt-track-live-hero--success {
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(13, 159, 110, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bolt-surface) 0%, var(--bolt-surface-2) 100%);
}

.bolt-track-live-hero--danger {
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(220, 38, 38, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bolt-surface) 0%, var(--bolt-surface-2) 100%);
}

/* The product's scene where a generic icon was: the first thing the page
   says about a parcel is what kind of delivery it is. */
.bolt-track-live-scene {
  flex: 0 0 8rem; padding: 0.4rem 0.5rem;
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface); border: 1px solid var(--bolt-border);
  box-shadow: var(--bolt-shadow-xs); color: var(--bolt-accent);
}
.bolt-track-live-hero--success .bolt-track-live-scene { color: var(--bolt-success); }
.bolt-track-live-hero--danger .bolt-track-live-scene { color: var(--bolt-danger); }
.bolt-track-live-product { margin: 0 0 0.2rem; font-size: 0.8125rem; font-weight: 600; color: var(--bolt-muted); }

.bolt-track-live-copy { flex: 1; min-width: 0; }

.bolt-track-live-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.bolt-track-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bolt-brand);
  background: var(--bolt-saaml-teal-soft);
  border: 1px solid rgba(27, 159, 152, 0.22);
}

.bolt-track-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bolt-brand);
  animation: bolt-track-pulse 1.8s ease-in-out infinite;
}

@keyframes bolt-track-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .bolt-track-live-dot { animation: none; }
}

.bolt-track-live-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--bolt-text);
}

.bolt-track-live-msg {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--bolt-muted);
}

.bolt-track-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 1rem 1rem 0.25rem;
  position: relative;
}

.bolt-track-step {
  position: relative;
  text-align: center;
  min-width: 0;
}

.bolt-track-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1rem;
  inset-inline-start: calc(50% + 1rem);
  width: calc(100% + 0.25rem - 2rem);
  height: 2px;
  background: var(--bolt-border-strong);
  border-radius: 1px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.bolt-track-step.is-done:not(:last-child)::after {
  background: var(--bolt-brand);
}

.bolt-track-step-icon {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bolt-surface);
  border: 1.5px solid var(--bolt-border-strong);
  color: var(--bolt-faint);
}

.bolt-track-step-icon svg { width: 0.95rem; height: 0.95rem; }

.bolt-track-step-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--bolt-faint);
  padding-inline: 0.125rem;
}

.bolt-track-step.is-done .bolt-track-step-icon {
  background: var(--bolt-saaml-teal-soft);
  border-color: var(--bolt-brand);
  color: var(--bolt-brand);
}

.bolt-track-step.is-done .bolt-track-step-label { color: var(--bolt-muted); }

.bolt-track-step.is-active .bolt-track-step-icon {
  background: var(--bolt-brand);
  border-color: var(--bolt-brand);
  color: #fff;
  box-shadow: 0 0 0 3px var(--bolt-saaml-teal-soft);
}

.bolt-track-step.is-active .bolt-track-step-label { color: var(--bolt-text); }

.bolt-track-step.is-active.is-bad .bolt-track-step-icon {
  background: var(--bolt-danger);
  border-color: var(--bolt-danger);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.bolt-track-step.is-active.is-bad .bolt-track-step-label {
  color: var(--bolt-danger);
}

.bolt-track-progress {
  height: 4px;
  margin: 0.75rem 1.25rem 0;
  border-radius: 999px;
  background: var(--bolt-surface-3);
  overflow: hidden;
}

.bolt-track-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--bolt-brand);
  transition: width 0.45s var(--bolt-ease);
}

.bolt-track-progress-fill--success { background: var(--bolt-success); }
.bolt-track-progress-fill--danger { background: var(--bolt-danger); }

.bolt-track-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  padding: 1rem 1.25rem 0;
}

.bolt-track-fact {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  min-width: 0;
}

.bolt-track-fact:nth-child(3) { grid-column: 1 / -1; }

.bolt-track-fact-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bolt-radius-sm);
  background: var(--bolt-surface-2);
  color: var(--bolt-brand);
}

.bolt-track-fact-icon svg { width: 1rem; height: 1rem; }

.bolt-track-fact strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
}

.bolt-track-waybill-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 1.25rem 0;
  padding: 0.75rem 0.875rem;
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface-2);
  border: 1px dashed var(--bolt-border-strong);
}

.bolt-track-waybill-copy { min-width: 0; flex: 1; }

.bolt-track-waybill-copy .bolt-waybill-inline {
  font-size: 0.9375rem;
  font-weight: 600;
  word-break: break-all;
}

.bolt-track-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  color: var(--bolt-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--bolt-dur), border-color var(--bolt-dur), color var(--bolt-dur);
}

.bolt-track-copy-btn:hover {
  background: var(--bolt-surface-2);
  border-color: var(--bolt-border-strong);
  color: var(--bolt-text);
}

.bolt-track-copy-btn svg { width: 1rem; height: 1rem; }

.bolt-track-live-panel {
  display: flex;
  flex-direction: column;
}

.bolt-track-side {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bolt-track-journey {
  order: 2;
  padding: 1.125rem 1.25rem 1.25rem;
  margin-top: 1rem;
  border-top: 1px solid var(--bolt-border);
}

.bolt-track-journey-title {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bolt-text);
}

.bolt-track-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.875rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bolt-border);
}

.bolt-track-meta-item strong { font-weight: 600; font-size: 0.875rem; }

.bolt-track-not-found { margin-top: 0.25rem; }

.bolt-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.875rem;
  margin-top: 1rem;
}

.bolt-pagination { margin-top: 1rem; display: flex; justify-content: center; font-size: 0.8125rem; }
.bolt-pagination nav { display: flex; gap: 0.25rem; flex-wrap: wrap; justify-content: center; }

.bolt-pagination a, .bolt-pagination span {
  padding: 0.375rem 0.625rem;
  border-radius: var(--bolt-radius-sm);
  border: 1px solid var(--bolt-border);
  text-decoration: none;
  color: var(--bolt-text);
  font-size: 0.75rem;
  transition: background var(--bolt-dur), border-color var(--bolt-dur);
}

.bolt-pagination a:hover {
  background: var(--bolt-surface-2);
  color: var(--bolt-text);
}
.bolt-pagination span[aria-current="page"] {
  background: var(--bolt-btn-primary-bg);
  color: var(--bolt-btn-primary-text);
  border-color: var(--bolt-btn-primary-bg);
}

.bolt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
.bolt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

.bolt-counter { display: flex; align-items: center; gap: 0.375rem; }

.bolt-counter button {
  width: 36px;
  height: 36px;
  border-radius: var(--bolt-radius-md);
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface);
  font-size: 1.125rem;
  cursor: pointer;
  color: var(--bolt-muted);
  font-weight: 500;
  transition: background var(--bolt-dur), border-color var(--bolt-dur);
}

.bolt-counter button:hover { background: var(--bolt-surface-2); border-color: var(--bolt-border-strong); }
.bolt-counter input { text-align: center; flex: 1; }
.bolt-hidden { display: none !important; }

/* â”€â”€ Responsive shell â”€â”€ */
@media (min-width: 640px) {
  .bolt-kpi-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .bolt-dock--desktop { display: flex; }
  .bolt-dock--mobile { display: none; }
  .bolt-toast { bottom: 1rem; }
  .bolt-content {
    padding-bottom: 2rem;
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
  }
  .bolt-user-chip { display: flex; }
  .bolt-lang-switch--desktop { display: inline-flex; }
  .bolt-lang-toggle { display: none; }
}

@media (max-width: 767px) {
  .bolt-lang-switch--desktop { display: none; }
  .bolt-lang-toggle { display: inline-flex; }

  .bolt-header-actions {
    gap: 0.375rem;
  }

  .bolt-header-tools {
    gap: 0;
  }

  .bolt-header-account {
    gap: 0.125rem;
    padding-inline-start: 0.25rem;
  }

  .bolt-header-icon,
  .bolt-topbar-search {
    width: var(--bolt-touch-min);
    height: var(--bolt-touch-min);
  }

  .bolt-header-row {
    gap: 0.5rem;
    min-height: calc(var(--bolt-header-h) + var(--bolt-safe-top));
  }

  .bolt-app-brand-logo .saaml-logo-mark-menu {
    width: 44px;
    height: 32px;
  }

  .bolt-btn:not(.bolt-btn-sm) {
    min-height: var(--bolt-touch-min);
  }

  .bolt-btn-sm {
    min-height: 40px;
    padding: 0.4375rem 0.875rem;
  }

  .bolt-page-head {
    margin-bottom: 1.125rem;
  }

  .bolt-page-head h1,
  .bolt-booking .bolt-page-head h2 {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .bolt-page-head p {
    font-size: 0.8125rem;
    max-width: none;
  }

  .bolt-page-head-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.875rem;
  }

  .bolt-page-head-row > .bolt-btn,
  .bolt-page-head-row > a.bolt-btn,
  .bolt-page-head-actions .bolt-btn,
  .bolt-page-head-actions a.bolt-btn {
    width: 100%;
    justify-content: center;
    min-height: var(--bolt-touch-min);
  }

  .bolt-landing-hero {
    margin-inline: -0.25rem;
    padding: 1.125rem;
    border-radius: var(--bolt-radius-lg);
  }

  .bolt-landing-title {
    font-size: clamp(1.5rem, 7vw, 1.85rem);
  }

  .bolt-landing-lead {
    font-size: 0.9375rem;
  }

  .bolt-contact-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .bolt-contact-tab {
    justify-content: center;
    text-align: center;
    min-height: var(--bolt-touch-min);
    display: inline-flex;
    align-items: center;
  }

  .bolt-contact-actions .bolt-btn {
    flex: 1 1 auto;
    min-height: var(--bolt-touch-min);
  }

  .bolt-profile-trigger-copy,
  .bolt-profile-trigger-chevron {
    display: none !important;
  }

  .bolt-page-head:has(+ .bolt-track-page) {
    display: none;
  }

  .bolt-profile-menu-item {
    min-height: var(--bolt-touch-min);
  }

  .bolt-guest-banner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.625rem 0.75rem;
  }

  .bolt-guest-banner-text {
    flex: 0 0 auto;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .bolt-guest-banner-actions {
    width: 100%;
    margin-inline-start: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.375rem;
  }

  .bolt-guest-banner-actions .bolt-btn {
    width: 100%;
    min-height: 2.5rem;
    font-size: 0.8125rem;
  }

  .bolt-grid-2,
  .bolt-grid-3 {
    grid-template-columns: 1fr;
  }

  .bolt-wallet-page-summary {
    gap: 0.625rem;
    margin-bottom: 0.75rem;
  }

  .bolt-wallet-page-card {
    padding: 0.75rem 0.875rem;
  }

  .bolt-wallet-page-card-value {
    font-size: 1.0625rem;
  }

  .bolt-wallet-page-card-label {
    font-size: 0.625rem;
    margin-bottom: 0.25rem;
  }

  .bolt-wallet-page-card-hint {
    font-size: 0.6875rem;
    margin-top: 0.25rem;
  }

  .bolt-wallet-filters {
    padding: 0.5rem 0.625rem;
    margin-bottom: 0.625rem;
  }

  .bolt-wallet-filters-grid {
    gap: 0.5rem;
  }

  .bolt-wallet-filters .bolt-field > span {
    font-size: 0.625rem;
    margin-bottom: 0.15rem;
  }

  .bolt-wallet-filters .bolt-select {
    min-height: 2.125rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8125rem;
  }

  .bolt-wallet-filters-grid > .bolt-btn,
  .bolt-wallet-filter-btn {
    min-height: 2.125rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .bolt-wallet-help {
    margin-bottom: 0.625rem;
    font-size: 0.75rem;
  }

  .bolt-wallet-tx-item {
    padding: 0.625rem 0.75rem;
    gap: 0.35rem 0.5rem;
  }

  .bolt-wallet-tx-title {
    font-size: 0.75rem;
  }

  .bolt-wallet-tx-amount {
    font-size: 0.8125rem;
  }

  .bolt-page-head-actions {
    width: 100%;
  }

  .bolt-page-head-actions .bolt-btn {
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
    min-height: var(--bolt-touch-min);
  }

  .bolt-search-overlay {
    padding: max(0.75rem, var(--bolt-safe-top)) max(0.75rem, env(safe-area-inset-right, 0px)) 1rem max(0.75rem, env(safe-area-inset-left, 0px));
    align-items: flex-start;
  }

  .bolt-search-panel {
    max-height: calc(100dvh - var(--bolt-header-h) - var(--bolt-dock-mobile-h) - 2rem);
    display: flex;
    flex-direction: column;
  }

  .bolt-search-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bolt-search-result {
    min-height: var(--bolt-touch-min);
  }

  .bolt-stepper-marker { width: 26px; height: 26px; font-size: 0.6875rem; }
  .bolt-stepper-item:not(:last-child)::after { top: 13px; }
  .bolt-stepper-label { font-size: 0.75rem; }

  .bolt-track-intro { gap: 0.75rem; }
  .bolt-track-intro-title { font-size: 1.2rem; }
  .bolt-track-search { flex-direction: column; align-items: stretch; }
  .bolt-track-search-field { flex: 0 0 auto; }
  .bolt-track-search-btn { width: 100%; }
  .bolt-track-live-hero {
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem;
  }

  .bolt-track-live-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .bolt-track-live-icon svg { width: 1.1rem; height: 1.1rem; }

  .bolt-track-live-top { margin-bottom: 0.2rem; }

  .bolt-track-live-pill {
    padding: 0.15rem 0.45rem;
    font-size: 0.5625rem;
  }

  .bolt-track-live-dot { width: 5px; height: 5px; }

  .bolt-track-live-title { font-size: 1.0625rem; }

  .bolt-track-live-msg {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.4;
  }
  .bolt-track-steps { padding-inline: 0.5rem; }
  .bolt-track-step-label { font-size: 0.58rem; }
  .bolt-track-progress { margin-inline: 1rem; }
  .bolt-track-facts { grid-template-columns: 1fr; padding-inline: 1rem; }
  .bolt-track-fact:nth-child(3) { grid-column: auto; }
  .bolt-track-waybill-strip { margin-inline: 1rem; flex-wrap: wrap; }
  .bolt-track-copy-btn { width: 100%; }
  .bolt-track-copy-label { display: inline; }
  .bolt-track-journey { padding-inline: 1rem; }
  .bolt-timeline--track li { font-size: 0.875rem; padding-bottom: 1rem; }
}

@media (min-width: 768px) {
  .bolt-track-intro { display: none; }

  .bolt-track-live-hero {
    align-items: center;
    padding: 1.25rem 1.5rem 1.125rem;
  }

  .bolt-track-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bolt-track-fact:nth-child(3) { grid-column: auto; }

  .bolt-track-live-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
    gap: 1.25rem;
    padding: 1.125rem 1.5rem 1.375rem;
    border-top: 1px solid var(--bolt-border);
    align-items: start;
  }

  .bolt-track-side {
    order: 2;
    gap: 0.75rem;
  }

  .bolt-track-live-panel .bolt-track-facts {
    padding: 0;
    grid-template-columns: 1fr;
  }

  .bolt-track-live-panel .bolt-track-fact:nth-child(3) { grid-column: auto; }

  .bolt-track-live-panel .bolt-track-waybill-strip {
    margin: 0;
  }

  .bolt-track-journey {
    order: 1;
    margin-top: 0;
    padding: 0;
    border-top: none;
  }
}

@media (min-width: 900px) {
  .bolt-content {
    padding: 1.75rem 2rem 2.5rem;
    max-width: 1080px;
  }

  .bolt-auth-page { min-height: calc(100dvh - var(--bolt-header-h) - 4rem); }
  .bolt-order-cards { display: none; }
  .bolt-table-desktop { display: block; }
}

@media (min-width: 768px) and (max-width: 899px) {
  .bolt-order-cards { display: flex; }
  .bolt-table-desktop { display: none; }
}

/* â”€â”€ National address helper â”€â”€ */
.bolt-field-label-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: nowrap;
}

.bolt-na-help {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.bolt-na-help-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-sm);
  background: var(--bolt-surface-2);
  color: var(--bolt-accent);
  cursor: pointer;
  transition: background var(--bolt-dur), border-color var(--bolt-dur), color var(--bolt-dur), box-shadow var(--bolt-dur);
}

.bolt-na-help-trigger:hover {
  background: var(--bolt-accent-soft);
  border-color: var(--bolt-accent-ring);
}

.bolt-na-help-trigger[aria-expanded="true"] {
  background: var(--bolt-accent-soft);
  border-color: var(--bolt-accent);
  box-shadow: 0 0 0 3px var(--bolt-accent-ring);
}

.bolt-na-help-popover {
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + 0.5rem);
  z-index: 50;
  width: min(300px, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface);
  box-shadow: var(--bolt-shadow-md);
  overflow: hidden;
  animation: boltFadeIn var(--bolt-dur) var(--bolt-ease);
}

.bolt-na-help-popover::before {
  content: '';
  position: absolute;
  top: -6px;
  inset-inline-start: 0.75rem;
  width: 12px;
  height: 12px;
  background: var(--bolt-surface);
  border-inline-start: 1px solid var(--bolt-border);
  border-top: 1px solid var(--bolt-border);
  transform: rotate(45deg);
}

.bolt-na-diagram {
  position: relative;
  padding: 1rem 1rem 0.75rem;
  background: linear-gradient(165deg, rgba(27, 159, 152, 0.1) 0%, var(--bolt-surface-2) 55%);
  border-bottom: 1px solid var(--bolt-border);
}

.bolt-na-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

.bolt-na-char {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 2rem;
  padding: 0 0.2rem;
  border-radius: var(--bolt-radius-xs);
  color: #fff;
}

.bolt-na-char--region { background: #e85d4c; }
.bolt-na-char--branch { background: #3d5afe; }
.bolt-na-char--division { background: #d946ef; }
.bolt-na-char--unique { background: #1b9f98; }

.bolt-na-digits {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  height: 2rem;
  margin-inline-start: 0.25rem;
  padding: 0 0.5rem;
  border-radius: var(--bolt-radius-xs);
  background: #7cb342;
  color: #fff;
}

.bolt-na-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
}

.bolt-na-legend li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--bolt-muted);
  letter-spacing: 0.02em;
}

.bolt-na-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bolt-na-dot--region { background: #e85d4c; }
.bolt-na-dot--branch { background: #3d5afe; }
.bolt-na-dot--division { background: #d946ef; }
.bolt-na-dot--unique { background: #1b9f98; }
.bolt-na-dot--building { background: #7cb342; }

.bolt-na-help-title {
  margin: 0;
  padding: 0.875rem 1rem 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bolt-na-help-text {
  margin: 0;
  padding: 0 1rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--bolt-muted);
}

.bolt-na-help-link {
  display: inline-block;
  margin: 0.625rem 1rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .bolt-na-help-popover {
    inset-inline-start: auto;
    inset-inline-end: 0;
  }

  .bolt-na-help-popover::before {
    inset-inline-start: auto;
    inset-inline-end: 0.75rem;
  }
}

/* â”€â”€ Utilities â”€â”€ */
.bolt-section-title { margin: 0 0 1.25rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; }
.bolt-optional { text-transform: none; font-weight: 400; }
.bolt-inline-row { display: flex; gap: 0.5rem; align-items: stretch; }

.bolt-flex-1 { flex: 1; }
.bolt-shrink-0 { flex-shrink: 0; align-self: stretch; }
.bolt-field-hint { font-size: 0.75rem; text-transform: none; text-align: start; }
.bolt-field-hint.is-error { color: #da1e28; }
.bolt-field-hint.is-success { color: var(--bolt-accent, #0f766e); }
.bolt-empty-title { margin: 0 0 0.35rem; font-weight: 600; }
.bolt-empty-desc { margin: 0 0 1rem; font-size: 0.875rem; }
.bolt-waybill-lg { font-size: 1.125rem; }
.bolt-address-detail { margin-top: 0.35rem; }
.bolt-address-card:last-child { margin-bottom: 0; }
.bolt-card-header--flush { margin-top: 1.25rem; margin-bottom: 0.75rem; padding-bottom: 0; border-bottom: none; }
.bolt-form-inline { margin: 0; }
.bolt-modal-centered { position: relative; text-align: center; }
.bolt-action-stack { display: flex; flex-direction: column; gap: 0.5rem; }

.bolt-share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.bolt-share-actions .bolt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.bolt-share-actions svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.bolt-share-whatsapp svg {
  color: #25d366;
}

.bolt-order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bolt-border);
}

.bolt-inline-form {
  display: contents;
  margin: 0;
}

.bolt-sla {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.25;
}

.bolt-sla-countdown {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--bolt-text);
}

.bolt-sla-countdown.is-ok { color: var(--bolt-success, #0d9f6e); }
.bolt-sla-countdown.is-warn { color: var(--bolt-warning, #d97706); }
.bolt-sla-countdown.is-danger,
.bolt-sla-countdown.is-breached { color: var(--bolt-danger, #dc2626); }

.bolt-sla-deadline {
  font-size: 0.75rem;
}

.bolt-guest-banner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.875rem;
  padding: 0.625rem 0.75rem;
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
}

.bolt-guest-banner-text {
  margin: 0;
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--bolt-muted);
}

.bolt-guest-banner-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.375rem;
  flex: 0 0 auto;
  margin-inline-start: auto;
}

.bolt-guest-banner-actions .bolt-btn {
  min-height: 34px;
  padding-inline: 0.75rem;
  font-size: 0.75rem;
}

.bolt-guest-banner .bolt-btn-primary {
  background: var(--bolt-saaml-teal);
  color: #fff;
}

.bolt-guest-banner .bolt-btn-primary:hover:not(:disabled) {
  background: var(--bolt-saaml-teal-deep);
  color: #fff;
}

.bolt-guest-banner .bolt-btn-ghost {
  background: var(--bolt-surface-2);
  border-color: var(--bolt-border-strong);
  color: var(--bolt-text);
  font-weight: 600;
}

.bolt-guest-banner .bolt-btn-ghost:hover:not(:disabled) {
  background: var(--bolt-surface-3);
  border-color: var(--bolt-border-strong);
  color: var(--bolt-text);
}

.bolt-track-side .bolt-share-actions {
  margin-top: 0.75rem;
}

.bolt-price-hint {
  margin-top: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: var(--bolt-surface-2);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  font-size: 0.875rem;
  text-align: center;
}

.bolt-price-hint-label {
  color: var(--bolt-muted);
  margin-inline-end: 0.375rem;
}

.bolt-rebook-banner {
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  background: color-mix(in srgb, var(--bolt-accent) 8%, var(--bolt-surface));
  border: 1px solid var(--bolt-accent-ring);
  border-radius: var(--bolt-radius-md);
}

.bolt-rebook-banner-text {
  margin: 0;
  font-size: 0.875rem;
}

.bolt-estimator {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bolt-border);
}

.bolt-estimator-title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.bolt-estimator-hint {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
}

.bolt-estimator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.bolt-estimator-btn {
  width: 100%;
}

.bolt-estimator-result {
  margin-top: 0.875rem;
  padding: 0.75rem;
  background: var(--bolt-surface-2);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bolt-estimator-result-line {
  margin: 0;
  font-size: 0.875rem;
}

.bolt-estimator-plan-note {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--bolt-muted);
}

@media (max-width: 640px) {
  .bolt-estimator-grid { grid-template-columns: 1fr; }
}
.bolt-mt-lg { margin-top: 1.25rem; }
.bolt-mt-sm { margin-top: 0.75rem; }
.bolt-m-0 { margin: 0; }

.bolt-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--bolt-success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.bolt-success-icon svg { width: 28px; height: 28px; }

.bolt-waybill-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

/* â”€â”€ Wallet dropdown â”€â”€ */
.bolt-wallet-wrap {
  position: relative;
}

.bolt-wallet-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.55rem 0.35rem 0.4rem;
  border: 1px solid var(--bolt-border);
  border-radius: 999px;
  background: var(--bolt-surface);
  color: var(--bolt-text);
  font: inherit;
  cursor: pointer;
  transition: border-color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease);
}

.bolt-wallet-trigger:hover,
.bolt-wallet-trigger[aria-expanded="true"] {
  border-color: var(--bolt-border-strong);
  box-shadow: var(--bolt-shadow-sm);
}

.bolt-wallet-trigger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bolt-saaml-teal-soft);
  color: var(--bolt-saaml-teal-deep);
}

.bolt-wallet-trigger-icon svg { width: 16px; height: 16px; }

.bolt-wallet-trigger-copy {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
}

.bolt-wallet-trigger-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bolt-faint);
}

.bolt-wallet-trigger-balance {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bolt-text);
  white-space: nowrap;
}

.bolt-wallet-trigger-chevron {
  color: var(--bolt-faint);
  transition: transform var(--bolt-dur) var(--bolt-ease);
  flex-shrink: 0;
}

.bolt-wallet-trigger[aria-expanded="true"] .bolt-wallet-trigger-chevron {
  transform: rotate(180deg);
}

.bolt-wallet-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  z-index: 120;
  width: min(340px, calc(100vw - 1.5rem));
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity var(--bolt-dur) var(--bolt-ease), transform var(--bolt-dur) var(--bolt-ease);
}

.bolt-wallet-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.bolt-wallet-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.625rem;
  border: 1px solid var(--bolt-border-strong);
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface);
  box-shadow: var(--bolt-shadow-md);
}

.bolt-wallet-panel-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: -0.125rem 0 0.125rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bolt-border);
}

.bolt-wallet-panel-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bolt-text);
}

.bolt-wallet-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-inline-start: auto;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  color: var(--bolt-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--bolt-dur) var(--bolt-ease), border-color var(--bolt-dur) var(--bolt-ease), color var(--bolt-dur) var(--bolt-ease);
}

.bolt-wallet-panel-close:hover {
  background: var(--bolt-surface-2);
  border-color: var(--bolt-border-strong);
  color: var(--bolt-text);
}

.bolt-wallet-overlay {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 0.75rem calc(var(--bolt-dock-mobile-h) + 0.75rem + env(safe-area-inset-bottom, 0));
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bolt-wallet-overlay.is-open { display: flex; }

.bolt-wallet-overlay[hidden] { display: none !important; }

body.bolt-wallet-open { overflow: hidden; }

.bolt-wallet-block {
  padding: 0.875rem;
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
}

.bolt-wallet-block--credit {
  border-color: rgba(27, 159, 152, 0.22);
}

.bolt-wallet-block--cod {
  border-color: rgba(27, 159, 152, 0.18);
}

.bolt-wallet-block-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.625rem;
  align-items: start;
}

.bolt-wallet-block-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--bolt-radius-sm);
  background: var(--bolt-surface-2);
  color: var(--bolt-saaml-teal-deep);
}

.bolt-wallet-block-icon svg { width: 18px; height: 18px; }

.bolt-wallet-block-icon--cod {
  background: var(--bolt-saaml-teal-soft);
  color: var(--bolt-saaml-teal-deep);
}

.bolt-wallet-block-meta { min-width: 0; }

.bolt-wallet-block-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bolt-text);
}

.bolt-wallet-block-hint {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  color: var(--bolt-muted);
  line-height: 1.35;
}

.bolt-wallet-block-amount {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bolt-text);
  white-space: nowrap;
}

.bolt-wallet-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.bolt-wallet-block-actions .bolt-btn { flex: 1 1 auto; justify-content: center; }

.bolt-wallet-block-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bolt-accent);
  text-decoration: none;
  transition: background var(--bolt-dur) var(--bolt-ease);
}

.bolt-wallet-block-link:hover {
  background: var(--bolt-accent-soft);
}

.bolt-wallet-receipts-link {
  margin-top: 0.5rem;
  padding: 0.35rem 0.5rem;
  border: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bolt-muted);
  opacity: 0.9;
}

.bolt-wallet-receipts-link:hover {
  background: transparent;
  color: var(--bolt-accent);
  opacity: 1;
}

.bolt-wallet-block--cod .bolt-wallet-receipts-link {
  color: var(--bolt-muted);
  border: none;
}

.bolt-wallet-block--cod .bolt-wallet-receipts-link:hover {
  background: transparent;
  color: var(--bolt-saaml-teal-deep);
}

.bolt-wallet-tx-title-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.bolt-wallet-tx-title-link:hover {
  color: var(--bolt-accent);
  text-decoration: underline;
}

.bolt-wallet-tx-receipt-link {
  display: inline-flex;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bolt-muted);
  text-decoration: none;
}

.bolt-wallet-tx-receipt-link:hover {
  color: var(--bolt-accent);
  text-decoration: underline;
}

.bolt-wallet-block--cod .bolt-wallet-block-link {
  color: var(--bolt-saaml-teal-deep);
  border-color: rgba(27, 159, 152, 0.22);
}

.bolt-wallet-block--cod .bolt-wallet-block-link:hover {
  background: var(--bolt-saaml-teal-soft);
  border-color: rgba(27, 159, 152, 0.32);
}

.bolt-wallet-filters {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
}

.bolt-wallet-filters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  align-items: end;
}

.bolt-wallet-filters .bolt-field {
  margin-bottom: 0;
  gap: 0.375rem;
}

.bolt-wallet-filter-action-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  visibility: hidden;
  user-select: none;
}

.bolt-wallet-filter-btn {
  width: 100%;
  min-height: 40px;
}

.bolt-wallet-filter-empty {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .bolt-wallet-filters-grid {
    grid-template-columns: minmax(10rem, 1fr) minmax(10rem, 1fr) auto auto;
    gap: 0.75rem;
  }
}

@media (max-width: 767px) {
  .bolt-wallet-filters-grid .bolt-wallet-filter-action:first-of-type {
    grid-column: 1;
  }

  .bolt-wallet-filters-grid .bolt-wallet-filter-action:last-of-type {
    grid-column: 2;
  }
}

.bolt-wallet-page-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.bolt-wallet-page-card {
  padding: 1rem 1.125rem;
  border-radius: var(--bolt-radius-lg);
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface);
}

.bolt-wallet-page-card--credit {
  border-color: rgba(27, 159, 152, 0.22);
}

.bolt-wallet-page-card--cod {
  border-color: rgba(27, 159, 152, 0.18);
}

.bolt-wallet-page-card--pending {
  border-color: rgba(194, 120, 3, 0.28);
}

.bolt-wallet-page-card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bolt-muted);
  margin-bottom: 0.35rem;
}

.bolt-wallet-page-card-value {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--bolt-text);
}

.bolt-wallet-tx-list {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 899px) {
  .bolt-wallet-tx-list {
    display: flex;
  }
}

.bolt-wallet-tx-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "type amount"
    "body body";
  gap: 0.35rem 0.75rem;
  align-items: center;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--bolt-dur) var(--bolt-ease), background var(--bolt-dur) var(--bolt-ease);
}

.bolt-wallet-tx-item:hover {
  border-color: var(--bolt-border-strong);
  background: var(--bolt-surface-2);
  color: inherit;
}

.bolt-wallet-tx-item:active {
  transform: scale(0.995);
}

.bolt-wallet-tx-leading {
  grid-area: type;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.bolt-wallet-tx-body {
  grid-area: body;
  min-width: 0;
}

.bolt-wallet-tx-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bolt-text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bolt-wallet-tx-meta {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  color: var(--bolt-faint);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bolt-wallet-tx-amount {
  grid-area: amount;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
  text-align: end;
}

.bolt-wallet-tx-amount.is-credit { color: var(--bolt-success); }
.bolt-wallet-tx-amount.is-debit { color: var(--bolt-text); }

.bolt-wallet-cod-status {
  font-size: 0.75rem;
  font-weight: 600;
}

.bolt-wallet-cod-status.is-collected { color: var(--bolt-success); }
.bolt-wallet-cod-status.is-pending { color: var(--bolt-warning); }

.bolt-page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.bolt-wallet-help {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
}

.bolt-wallet-help summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  color: var(--bolt-faint);
  font-weight: 500;
  list-style: none;
  user-select: none;
}

.bolt-wallet-help summary::-webkit-details-marker { display: none; }

.bolt-wallet-help summary::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--bolt-dur) var(--bolt-ease);
  margin-top: -0.1rem;
}

.bolt-wallet-help[open] summary::before { transform: rotate(45deg); }

.bolt-wallet-help summary:hover { color: var(--bolt-text); }

.bolt-wallet-help p {
  margin: 0.5rem 0 0;
  max-width: 52rem;
  line-height: 1.5;
}

.bolt-wallet-page-card-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--bolt-muted);
  line-height: 1.35;
}

.bolt-wallet-tx-type {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
}

.bolt-wallet-tx-type--shipping {
  background: var(--bolt-surface-2);
  color: var(--bolt-muted);
}

.bolt-wallet-tx-type--cod {
  background: var(--bolt-saaml-teal-soft);
  color: var(--bolt-saaml-teal-deep);
}

.bolt-wallet-tx-type--topup {
  background: rgba(61, 90, 254, 0.1);
  color: var(--bolt-accent);
}

.bolt-wallet-topup-status {
  display: inline-flex;
  align-items: center;
  margin-top: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bolt-wallet-topup-status--paid {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.bolt-wallet-topup-status--pending {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.bolt-wallet-topup-status--failed {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.bolt-wallet-tx-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.bolt-wallet-tx-note.is-collected { color: var(--bolt-success); }
.bolt-wallet-tx-note.is-pending { color: var(--bolt-warning); }

.bolt-wallet-cod-date {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--bolt-faint);
}

@media (min-width: 640px) {
  .bolt-wallet-trigger-copy { display: flex; }
}

@media (max-width: 767px) {
  .bolt-wallet-panel-head { display: flex; }

  .bolt-wallet-overlay .bolt-wallet-panel {
    position: relative;
    top: auto;
    inset-inline: auto;
    width: 100%;
    max-width: 480px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }

  .bolt-wallet-overlay.is-open .bolt-wallet-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .bolt-wallet-panel-inner {
    padding: 0.75rem;
    border-radius: var(--bolt-radius-xl);
    box-shadow: var(--bolt-shadow-md);
  }

  .bolt-wallet-block-actions {
    flex-direction: column;
  }

  .bolt-wallet-block-actions .bolt-btn {
    width: 100%;
    min-height: 44px;
  }

  .bolt-wallet-block-link {
    min-height: 44px;
  }
}

/* â”€â”€ Dark mode component fixes â”€â”€ */
[data-theme="dark"] .bolt-btn-ghost:hover,
[data-theme="dark"] a.bolt-btn-ghost:hover,
[data-theme="dark"] a.bolt-btn-ghost:focus-visible {
  background: var(--bolt-surface-3);
  color: var(--bolt-text);
}

[data-theme="dark"] .bolt-btn-ghost,
[data-theme="dark"] a.bolt-btn-ghost {
  background: transparent;
  color: var(--bolt-text);
}

[data-theme="dark"] .bolt-lang-switch {
  background: var(--bolt-surface-2);
  border-color: var(--bolt-border-strong);
  box-shadow: none;
}

[data-theme="dark"] .bolt-lang-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .bolt-lang-btn.is-active {
  background: var(--bolt-surface-3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .bolt-topbar-search,
[data-theme="dark"] .bolt-wallet-trigger,
[data-theme="dark"] .bolt-header-icon,
[data-theme="dark"] .bolt-dock-item,
[data-theme="dark"] .bolt-counter button {
  background: transparent;
}

[data-theme="dark"] .bolt-topbar-search:hover,
[data-theme="dark"] .bolt-wallet-trigger:hover,
[data-theme="dark"] .bolt-wallet-trigger[aria-expanded="true"],
[data-theme="dark"] .bolt-header-icon:hover,
[data-theme="dark"] .bolt-dock-item:hover {
  background: var(--bolt-surface-3);
}

@media (min-width: 768px) {
  [data-theme="dark"] .bolt-topbar-search {
    background: var(--bolt-surface-2);
    border-color: var(--bolt-border-strong);
    box-shadow: none;
  }

  [data-theme="dark"] .bolt-topbar-search:hover {
    background: var(--bolt-surface-3);
    border-color: var(--bolt-border-strong);
  }

  [data-theme="dark"] .bolt-topbar-search-kbd {
    background: var(--bolt-surface-3);
    border-color: var(--bolt-border-strong);
    box-shadow: none;
    color: var(--bolt-muted);
  }
}

[data-theme="dark"] .bolt-modal-overlay,
[data-theme="dark"] .bolt-search-overlay {
  background: rgba(0, 0, 0, 0.62);
}

[data-theme="dark"] .bolt-toast .bolt-btn-primary {
  background: var(--bolt-surface);
  color: var(--bolt-text);
  border: 1px solid var(--bolt-border);
}

[data-theme="dark"] .bolt-input,
[data-theme="dark"] .bolt-select,
[data-theme="dark"] .bolt-textarea {
  background: var(--bolt-surface-2);
  color: var(--bolt-text);
}

[data-theme="dark"] .bolt-input[readonly],
[data-theme="dark"] .bolt-na-details .bolt-input[readonly],
[data-theme="dark"] .bolt-input.is-locked,
[data-theme="dark"] .bolt-select.is-locked,
[data-theme="dark"] .bolt-textarea.is-locked {
  background: var(--bolt-surface-3) !important;
  color: var(--bolt-muted);
}

[data-theme="dark"] .bolt-tab.is-active {
  background: var(--bolt-surface-3);
}

[data-theme="dark"] .bolt-dt-search,
[data-theme="dark"] .bolt-dt-page-btn {
  background: var(--bolt-surface-2);
}

[data-theme="dark"] .bolt-wallet-panel-inner,
[data-theme="dark"] .bolt-wallet-block,
[data-theme="dark"] .bolt-wallet-page-card {
  background: var(--bolt-surface);
}

[data-theme="dark"] .bolt-auth-mark-logo {
  background: var(--bolt-saaml-teal-soft);
  border-color: rgba(27, 159, 152, 0.28);
}

[data-theme="dark"] .bolt-cobrand-monogram {
  color: var(--bolt-fg, #f8fafc);
  background: color-mix(in srgb, var(--bolt-accent, #60a5fa) 18%, transparent);
  border-color: color-mix(in srgb, var(--bolt-border, #334155) 80%, transparent);
}

[data-theme="dark"] .bolt-cobrand-divider {
  background: var(--bolt-border, #334155);
}

[data-theme="dark"] .bolt-cobrand-company-logo {
  background: color-mix(in srgb, var(--bolt-surface, #0f172a) 90%, #fff);
}

[data-theme="dark"] .bolt-auth-mark-badge {
  color: var(--bolt-saaml-mint);
  background: var(--bolt-surface-2);
}

[data-theme="dark"] .bolt-user-avatar {
  box-shadow:
    0 0 0 2px var(--bolt-surface),
    0 0 0 3px rgba(27, 159, 152, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

/* â”€â”€ Landing home â”€â”€ */

.bolt-btn-lg {
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
}

.bolt-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: calc(var(--bolt-radius-xl) + 4px);
  border: 1px solid var(--bolt-border);
  background:
    radial-gradient(ellipse 90% 70% at 100% -10%, var(--bolt-saaml-teal-soft), transparent 58%),
    radial-gradient(ellipse 50% 40% at 0% 100%, color-mix(in srgb, var(--bolt-saaml-teal) 8%, transparent), transparent 50%),
    linear-gradient(155deg, var(--bolt-surface) 0%, var(--bolt-surface-2) 100%);
  box-shadow: var(--bolt-shadow-sm);
  overflow: hidden;
  position: relative;
}

.bolt-landing-hero-copy {
  position: relative;
  z-index: 1;
}

.bolt-landing-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bolt-accent);
}

.bolt-landing-title {
  margin: 0 0 0.875rem;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--bolt-text);
}

.bolt-landing-lead {
  margin: 0 0 1.25rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--bolt-muted);
}

.bolt-landing-welcome,
.bolt-landing-guest {
  margin: 0 0 1.375rem;
  font-size: 0.875rem;
  color: var(--bolt-muted);
}

.bolt-landing-welcome {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--bolt-border);
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-landing-welcome-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--bolt-success);
  box-shadow: 0 0 0 3px rgba(13, 159, 110, 0.16);
  flex-shrink: 0;
}

.bolt-landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.bolt-landing-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: 1.375rem 1.375rem 1.5rem;
  border-radius: var(--bolt-radius-xl);
  border: 1px solid var(--bolt-border-strong);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--bolt-shadow-md);
}

.bolt-landing-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bolt-landing-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-saaml-teal-soft);
  color: var(--bolt-saaml-teal-deep);
  border: 1px solid rgba(27, 159, 152, 0.16);
}

.bolt-landing-panel-title {
  margin: 0 0 0.2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bolt-text);
}

.bolt-landing-panel-sub {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--bolt-muted);
}

.bolt-landing-track-row {
  display: flex;
  gap: 0.5rem;
}

.bolt-landing-track-row .bolt-input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
}

.bolt-landing-track-row .bolt-btn {
  min-height: 44px;
  padding-inline: 1.125rem;
}

.bolt-landing-section-head {
  margin-bottom: 1.5rem;
}

.bolt-landing-section-head--center {
  text-align: center;
  margin-inline: auto;
  max-width: 36rem;
}

.bolt-landing-section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bolt-saaml-teal-deep);
}

.bolt-landing-section-lead {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--bolt-muted);
}

.bolt-landing-section-head--center .bolt-landing-section-lead {
  margin-inline: auto;
}

.bolt-landing-section-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bolt-text);
}

.bolt-landing-features {
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.bolt-landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.bolt-landing-feature {
  padding: 1.25rem 1.125rem;
  border-radius: var(--bolt-radius-lg);
  border: 1px solid transparent;
  background: var(--bolt-surface);
  box-shadow: inset 0 0 0 1px var(--bolt-border);
  transition: box-shadow var(--bolt-dur) var(--bolt-ease), transform var(--bolt-dur) var(--bolt-ease);
}

.bolt-landing-feature:hover {
  border-color: color-mix(in srgb, var(--bolt-saaml-teal) 25%, transparent);
  box-shadow: var(--bolt-shadow-sm);
}

.bolt-landing-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  margin-bottom: 0.875rem;
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-saaml-teal-soft);
  color: var(--bolt-saaml-teal-deep);
  border: 1px solid rgba(27, 159, 152, 0.14);
}

.bolt-landing-feature-icon svg { width: 1.125rem; height: 1.125rem; }

.bolt-landing-feature h3 {
  margin: 0 0 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bolt-text);
}

.bolt-landing-feature p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--bolt-muted);
}

.bolt-landing-steps {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: calc(var(--bolt-radius-xl) + 2px);
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface);
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-landing-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.bolt-landing-step-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.bolt-landing-step-art { display: block; width: 100%; max-width: 11rem; color: var(--bolt-accent); }
.bolt-step-art { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }

.bolt-landing-step-list h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bolt-text);
}

.bolt-landing-step-list p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--bolt-muted);
}

.bolt-landing-bottom-cta {
  text-align: center;
  padding-top: 0.25rem;
}

@media (max-width: 960px) {
  .bolt-landing-hero { grid-template-columns: 1fr; }
  .bolt-landing-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bolt-landing-step-list { grid-template-columns: 1fr; gap: 1.125rem; }
}

@media (max-width: 560px) {
  .bolt-landing-hero { padding: 1.25rem; }
  .bolt-landing-track-row { flex-direction: column; }
  .bolt-landing-track-row .bolt-btn {
    width: 100%;
    min-height: var(--bolt-touch-min);
  }
  .bolt-landing-feature-grid { grid-template-columns: 1fr; }
  .bolt-landing-cta .bolt-btn { width: 100%; }
  .bolt-landing-steps { padding: 1.25rem; }
}

[data-theme="dark"] .bolt-landing-hero-panel {
  background: rgba(17, 21, 28, 0.88);
}

[data-theme="dark"] .bolt-landing-welcome {
  background: rgba(17, 21, 28, 0.7);
}

[data-theme="dark"] .bolt-landing-hero {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--bolt-saaml-teal-soft), transparent 55%),
    linear-gradient(145deg, var(--bolt-surface) 0%, var(--bolt-surface-2) 100%);
}

[data-theme="dark"] .bolt-landing-eyebrow,
[data-theme="dark"] .bolt-landing-section-eyebrow {
  color: var(--bolt-saaml-mint);
}

[data-theme="dark"] .bolt-landing-panel-icon,
[data-theme="dark"] .bolt-landing-feature-icon {
  color: var(--bolt-saaml-mint);
}

/* â”€â”€ Site footer â”€â”€ */
.bolt-footer {
  margin-top: auto;
  border-top: 1px solid var(--bolt-border);
  background: transparent;
}

.bolt-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.125rem 1.25rem calc(1.125rem + env(safe-area-inset-bottom, 0px));
}

.bolt-footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--bolt-faint);
  letter-spacing: 0.01em;
}

.bolt-footer-address {
  margin: 0;
  font-size: 0.75rem;
  color: var(--bolt-muted);
  letter-spacing: 0.01em;
}

.bolt-footer-powered {
  margin: 0;
  font-size: 0.75rem;
  color: var(--bolt-faint);
  letter-spacing: 0.01em;
}

/* SA865: the privacy policy link. */
.bolt-footer-links {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.bolt-footer-links a {
  display: inline-block;
  padding: 0.75rem 0;
  color: var(--bolt-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bolt-footer-powered-brand {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--bolt-saaml-teal-deep);
}

@media (max-width: 560px) {
  .bolt-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-block: 1rem;
  }
}

[data-theme="dark"] .bolt-footer {
  border-top-color: var(--bolt-border);
}

[data-theme="dark"] .bolt-footer-powered-brand {
  color: var(--bolt-saaml-mint);
}

/* â”€â”€ RTL (Arabic) â”€â”€ */
[dir="rtl"] body {
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.bolt-input[dir="rtl"],
.bolt-textarea[dir="rtl"],
.bolt-select[dir="rtl"] {
  direction: rtl;
  text-align: right;
  unicode-bidi: embed;
}

.bolt-input[dir="rtl"]::placeholder,
.bolt-textarea[dir="rtl"]::placeholder {
  text-align: right;
}

.bolt-select[dir="rtl"] {
  text-align-last: right;
}

html[dir="rtl"] .bolt-input:not([dir="ltr"]),
html[dir="rtl"] .bolt-select:not([dir="ltr"]),
html[dir="rtl"] .bolt-textarea:not([dir="ltr"]) {
  direction: rtl;
  text-align: right;
  unicode-bidi: embed;
}

html[dir="rtl"] .bolt-input:not([dir="ltr"])::placeholder,
html[dir="rtl"] .bolt-textarea:not([dir="ltr"])::placeholder {
  text-align: right;
}

html[dir="rtl"] .bolt-select:not([dir="ltr"]) {
  text-align-last: right;
}

html[dir="rtl"] .bolt-select:not([dir="ltr"]) option {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .bolt-input[dir="ltr"],
html[dir="rtl"] .bolt-input[type="email"],
html[dir="rtl"] .bolt-input[type="password"],
html[dir="rtl"] .bolt-input[type="number"],
html[dir="rtl"] .bolt-input[type="tel"],
html[dir="rtl"] .bolt-input[inputmode="numeric"],
html[dir="rtl"] .bolt-input[inputmode="decimal"],
html[dir="rtl"] .bolt-input[inputmode="tel"] {
  direction: ltr;
  text-align: left;
  unicode-bidi: embed;
}

html[dir="rtl"] .bolt-input[dir="ltr"]::placeholder,
html[dir="rtl"] .bolt-input[type="number"]::placeholder {
  text-align: left;
}

[dir="rtl"] .bolt-field-hint,
[dir="rtl"] .bolt-autocomplete-hint,
[dir="rtl"] .bolt-step-error {
  text-align: start;
}

[dir="rtl"] .bolt-form-group-label {
  letter-spacing: 0;
}

[dir="rtl"] .bolt-modal-title,
[dir="rtl"] .bolt-topbar-title,
[dir="rtl"] .bolt-page-head h1,
[dir="rtl"] .bolt-booking .bolt-page-head h2,
[dir="rtl"] .bolt-route-k,
[dir="rtl"] .bolt-table th,
[dir="rtl"] .bolt-route-badge,
[dir="rtl"] .bolt-dock-label {
  letter-spacing: 0;
}

[dir="rtl"] .bolt-route-track {
  direction: rtl;
}

[dir="rtl"] .bolt-route-arrow svg {
  transform: scaleX(-1);
}

[dir="rtl"] .bolt-wizard-actions .bolt-btn {
  direction: rtl;
}

[dir="rtl"] .bolt-field-row input[type="checkbox"] {
  margin-top: 0.2rem;
}

[dir="rtl"] .bolt-icon-chevron-end {
  transform: scaleX(-1);
}

.bolt-contact-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bolt-contact-tab {
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bolt-text-muted);
  background: var(--bolt-surface-2);
  border: 1px solid var(--bolt-border);
  text-decoration: none;
}

a.bolt-contact-tab:hover,
a.bolt-contact-tab:focus-visible {
  color: var(--bolt-text);
  text-decoration: none;
}

.bolt-contact-tab.is-active,
a.bolt-contact-tab.is-active:hover,
a.bolt-contact-tab.is-active:focus-visible {
  color: var(--bolt-primary);
  border-color: color-mix(in srgb, var(--bolt-primary) 35%, var(--bolt-border));
  background: color-mix(in srgb, var(--bolt-primary) 8%, var(--bolt-surface));
}

.bolt-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.bolt-contact-card {
  padding: 1rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface);
}

.bolt-contact-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bolt-contact-name {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.bolt-contact-sub {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bolt-text-muted);
}

.bolt-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bolt-contact-incomplete {
  align-self: center;
  font-size: 0.8125rem;
  color: var(--bolt-text-muted);
}

.bolt-flash {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--bolt-radius-md);
  font-size: 0.875rem;
}

.bolt-flash-success {
  color: var(--bolt-success-text, #166534);
  background: color-mix(in srgb, #22c55e 12%, var(--bolt-surface));
  border: 1px solid color-mix(in srgb, #22c55e 25%, var(--bolt-border));
}

.bolt-empty-state {
  padding: 2rem 1rem;
  text-align: center;
  border: 1px dashed var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
}

.bolt-empty-state p {
  margin: 0 0 1rem;
  color: var(--bolt-text-muted);
}

.bolt-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.375rem 0 1rem;
  color: var(--bolt-faint);
  font-size: 0.75rem;
  font-weight: 500;
}

.bolt-auth-divider::before,
.bolt-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bolt-border);
}

.bolt-link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--bolt-primary, #0d6efd);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.bolt-link-btn:hover {
  opacity: 0.85;
}

.bolt-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  min-height: 40px;
  padding: 0.625rem 1rem;
  border-radius: var(--bolt-radius-md);
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  transition: background var(--bolt-dur) var(--bolt-ease), border-color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease), transform var(--bolt-dur) var(--bolt-ease);
}

.bolt-google-btn:hover {
  background: #f8f9fa;
  border-color: #c6c9cc;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.14);
}

.bolt-google-btn:active {
  transform: scale(0.99);
  box-shadow: 0 1px 1px rgba(60, 64, 67, 0.1);
}

.bolt-google-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bolt-google-btn-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.bolt-google-btn-label {
  letter-spacing: -0.01em;
}

[data-theme="dark"] .bolt-google-btn {
  background: #fff;
  color: #3c4043;
  border-color: #dadce0;
}

[data-theme="dark"] .bolt-google-btn:hover {
  background: #f1f3f4;
}

.bolt-btn-danger {
  color: #b91c1c;
}

a.bolt-btn-danger:hover,
a.bolt-btn-danger:focus-visible,
.bolt-btn-danger:hover {
  color: #991b1b;
}

.bolt-profile-wrap {
  position: relative;
}

.bolt-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(220px, 32vw);
  padding: 0.3rem 0.55rem 0.3rem 0.35rem;
  border: 1px solid var(--bolt-border);
  border-radius: 999px;
  background: var(--bolt-surface);
  color: var(--bolt-text);
  font: inherit;
  cursor: pointer;
  transition: border-color var(--bolt-dur) var(--bolt-ease), box-shadow var(--bolt-dur) var(--bolt-ease);
}

.bolt-profile-trigger:hover,
.bolt-profile-trigger[aria-expanded="true"] {
  border-color: var(--bolt-border-strong);
  box-shadow: var(--bolt-shadow-sm);
}

.bolt-profile-avatar,
.bolt-profile-menu-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bolt-saaml-teal-soft);
  color: var(--bolt-saaml-teal-deep);
  font-size: 0.6875rem;
  font-weight: 700;
}

.bolt-profile-trigger-copy {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
  text-align: start;
}

.bolt-profile-trigger-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bolt-text);
}

.bolt-profile-trigger-email {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.6875rem;
  color: var(--bolt-faint);
}

.bolt-profile-trigger-chevron {
  display: none;
  color: var(--bolt-faint);
  flex-shrink: 0;
  transition: transform var(--bolt-dur) var(--bolt-ease);
}

.bolt-profile-trigger[aria-expanded="true"] .bolt-profile-trigger-chevron {
  transform: rotate(180deg);
}

.bolt-profile-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  inset-inline-start: auto;
  z-index: 125;
  width: min(260px, calc(100vw - 1.5rem));
  padding: 0.5rem;
  border: 1px solid var(--bolt-border-strong);
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface);
  box-shadow: var(--bolt-shadow-md);
}

@media (max-width: 767px) {
  .bolt-profile-wrap {
    position: relative;
    z-index: 36;
  }

  .bolt-profile-menu {
    top: calc(100% + 0.375rem);
    inset-inline-end: 0;
    inset-inline-start: auto;
    width: min(280px, calc(100vw - max(1rem, env(safe-area-inset-left, 0px)) - max(1rem, env(safe-area-inset-right, 0px))));
    max-width: calc(100vw - max(1rem, env(safe-area-inset-left, 0px)) - max(1rem, env(safe-area-inset-right, 0px)));
  }

  .bolt-header-account {
    gap: 0.375rem;
    padding-inline-start: 0.5rem;
    margin-inline-start: 0.125rem;
  }

  .bolt-wallet-trigger,
  .bolt-profile-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: none;
    padding: 0;
    gap: 0;
    border: 1px solid var(--bolt-border);
    border-radius: 50%;
    background: var(--bolt-surface);
    box-shadow: none;
    flex-shrink: 0;
  }

  .bolt-wallet-trigger:hover,
  .bolt-wallet-trigger[aria-expanded="true"],
  .bolt-profile-trigger:hover,
  .bolt-profile-trigger[aria-expanded="true"] {
    border-color: var(--bolt-border-strong);
    background: var(--bolt-surface-2);
    box-shadow: var(--bolt-shadow-xs);
  }

  .bolt-wallet-trigger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--bolt-muted);
  }

  .bolt-wallet-trigger-icon svg {
    width: 18px;
    height: 18px;
  }

  .bolt-wallet-trigger-copy,
  .bolt-wallet-trigger-chevron {
    display: none !important;
  }

  .bolt-profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: linear-gradient(160deg, var(--bolt-saaml-teal) 0%, var(--bolt-saaml-teal-deep) 100%);
    color: #fff;
  }

  .bolt-profile-trigger {
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
  }

  .bolt-profile-trigger:hover,
  .bolt-profile-trigger[aria-expanded="true"] {
    background: transparent;
    box-shadow: 0 0 0 2px var(--bolt-surface), 0 0 0 3px var(--bolt-saaml-teal-soft);
  }
}

.bolt-profile-menu-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem 0.75rem;
  border-bottom: 1px solid var(--bolt-border);
  margin-bottom: 0.375rem;
}

.bolt-profile-menu-meta { min-width: 0; }

.bolt-profile-menu-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bolt-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bolt-profile-menu-email {
  display: block;
  font-size: 0.75rem;
  color: var(--bolt-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bolt-profile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.bolt-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: none;
  border-radius: var(--bolt-radius-md);
  background: transparent;
  color: var(--bolt-text);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--bolt-dur) var(--bolt-ease), color var(--bolt-dur) var(--bolt-ease);
}

.bolt-profile-menu-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--bolt-muted);
}

.bolt-profile-menu-item:hover,
.bolt-profile-menu-item:focus-visible {
  background: var(--bolt-surface-2);
  color: var(--bolt-text);
}

.bolt-profile-menu-item--danger { color: #b91c1c; }
.bolt-profile-menu-item--danger svg { color: #b91c1c; }

.bolt-profile-menu-logout {
  margin-top: 0.375rem;
  padding-top: 0.375rem;
  border-top: 1px solid var(--bolt-border);
}

.bolt-profile-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40rem;
}

.bolt-profile-identity {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 1.25rem;
  max-width: 40rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface);
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-profile-identity-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--bolt-saaml-teal-soft);
  border: 1px solid rgba(27, 159, 152, 0.18);
  color: var(--bolt-saaml-teal-deep);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bolt-profile-identity-copy {
  min-width: 0;
}

.bolt-profile-identity-name {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bolt-text);
  line-height: 1.3;
}

.bolt-profile-identity-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.bolt-profile-identity-phone {
  font-size: 0.8125rem;
  color: var(--bolt-muted);
  font-variant-numeric: tabular-nums;
}

.bolt-profile-identity-phone--empty {
  color: var(--bolt-faint);
}

.bolt-profile-verified {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(13, 159, 110, 0.1);
  border: 1px solid rgba(13, 159, 110, 0.18);
  color: #0a7a55;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bolt-profile-verified--inline {
  margin-top: 0.375rem;
}

.bolt-profile-card {
  padding: 1.25rem 1.375rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface);
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-profile-card-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bolt-text);
  letter-spacing: -0.02em;
}

.bolt-profile-card-lead {
  margin: 0 0 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--bolt-muted);
}

.bolt-profile-card-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.bolt-profile-card-head-row .bolt-profile-card-title {
  margin-bottom: 0.25rem;
}

.bolt-profile-card-head-row .bolt-profile-card-lead {
  margin: 0;
}

.bolt-profile-method {
  margin-bottom: 1.125rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--bolt-border);
}

.bolt-profile-method-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.bolt-profile-method-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface-2);
}

.bolt-profile-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: var(--bolt-radius-sm);
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
}

.bolt-profile-method-icon--phone {
  color: var(--bolt-saaml-teal-deep);
}

.bolt-profile-method-copy {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
  flex: 1 1 10rem;
}

.bolt-profile-method-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bolt-text);
}

.bolt-profile-method-meta {
  font-size: 0.8125rem;
  color: var(--bolt-muted);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.bolt-profile-method-hint {
  margin: 0.75rem 0 0;
}

.bolt-profile-link-google {
  margin-top: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bolt-profile-link-google .bolt-profile-method-hint {
  margin: 0;
}

.bolt-profile-link-google .bolt-google-btn {
  max-width: 20rem;
}

/* Every card outside the form takes the form's 40rem column and 1rem gap. The
   delete card had neither, so it ran the full width of the page and sat flush
   against the card above it. */
.bolt-profile-signin,
.bolt-profile-prefs,
.bolt-profile-delete {
  margin-top: 1rem;
  max-width: 40rem;
}

.bolt-profile-pref-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
}

.bolt-profile-pref-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.bolt-lang-switch--profile {
  display: inline-flex;
}

.bolt-profile-phone-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.bolt-profile-phone-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bolt-text);
}

.bolt-profile-phone-value {
  margin: 0;
  padding: 0.625rem 0.75rem;
  min-width: 12rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface-2);
  color: var(--bolt-text);
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.bolt-profile-phone-panel {
  margin-top: 1.125rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--bolt-border);
}

.bolt-profile-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}

.bolt-profile-save-hint {
  font-size: 0.75rem;
  color: var(--bolt-muted);
}

@media (max-width: 767px) {
  .bolt-profile-form-actions .bolt-btn {
    flex: 1 1 100%;
    min-height: var(--bolt-touch-min);
  }

  .bolt-profile-card {
    padding: 1rem;
  }

  .bolt-profile-phone-row {
    flex-direction: column;
  }

  .bolt-profile-phone-value {
    min-width: 0;
    width: 100%;
  }

  .bolt-order-card {
    padding: 0.875rem 1rem;
    min-height: var(--bolt-touch-min);
  }

  .bolt-order-card-body {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .bolt-kpi-value {
    font-size: 1.35rem;
  }

  .bolt-wizard-actions {
    position: fixed;
    inset-inline: max(0.75rem, env(safe-area-inset-left, 0px)) max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: calc(var(--bolt-dock-clearance) + 0.5rem);
    z-index: 35;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: auto;
    margin: 0;
    padding: 0.5rem;
    border: 1px solid var(--bolt-border);
    border-radius: var(--bolt-radius-xl);
    background: var(--bolt-glass);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: var(--bolt-shadow-md);
  }

  .bolt-content:has(.bolt-wizard-actions) {
    padding-bottom: calc(var(--bolt-dock-clearance) + var(--bolt-wizard-actions-h) + 1.25rem);
  }

  .bolt-wizard-actions-end {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-width: 0;
    margin-inline-start: auto;
  }

  .bolt-wizard-actions:has(#bolt-btn-back.bolt-hidden) {
    justify-content: flex-end;
  }

  .bolt-wizard-actions:has(#bolt-btn-back.bolt-hidden) .bolt-wizard-actions-end {
    width: auto;
    margin-inline-start: 0;
  }

  .bolt-wizard-actions .bolt-btn {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    min-height: var(--bolt-touch-min);
    padding-inline: 1rem;
    font-size: 0.8125rem;
  }

  .bolt-wizard-actions .bolt-btn-ghost {
    flex: 0 0 auto;
    padding-inline: 0.875rem;
  }

  .bolt-wizard-actions .bolt-btn-primary {
    flex: 0 0 auto;
    min-width: 7.5rem;
  }

  .bolt-page-head-row {
    align-items: flex-start;
  }

  .bolt-wizard-start-fresh {
    margin-top: 0.2rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 380px) {
  .bolt-header-signin {
    padding-inline: 0.625rem;
    font-size: 0.6875rem;
  }

  .bolt-header-icon,
  .bolt-topbar-search {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .bolt-wallet-trigger,
  .bolt-profile-trigger {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .bolt-dock--mobile .bolt-dock-label {
    font-size: 0.625rem;
  }
}

/* Touch friendly interactions */
.bolt-btn,
.bolt-dock-item,
.bolt-contact-tab,
.bolt-tab,
.bolt-lang-btn,
.bolt-header-icon,
.bolt-topbar-search,
.bolt-profile-trigger,
.bolt-wallet-trigger,
.bolt-search-result,
.bolt-order-card,
.bolt-counter button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

[data-theme="dark"] .bolt-dock--mobile {
  background: var(--bolt-glass);
  border-color: var(--bolt-border-strong);
}

[data-theme="dark"] .bolt-dock--mobile .bolt-dock-item {
  background: transparent;
}

[data-theme="dark"] .bolt-dock--mobile .bolt-dock-item:hover {
  background: var(--bolt-surface-3);
}

[data-theme="dark"] .bolt-dock--mobile .bolt-dock-item.is-active {
  background: var(--bolt-saaml-teal-soft);
}

@media (max-width: 767px) {
  [data-theme="dark"] .bolt-wallet-trigger {
    background: var(--bolt-surface-2);
    border-color: var(--bolt-border-strong);
  }

  [data-theme="dark"] .bolt-wallet-trigger:hover,
  [data-theme="dark"] .bolt-wallet-trigger[aria-expanded="true"] {
    background: var(--bolt-surface-3);
  }

  [data-theme="dark"] .bolt-wallet-trigger-icon {
    color: var(--bolt-text);
  }

  [data-theme="dark"] .bolt-profile-trigger:hover,
  [data-theme="dark"] .bolt-profile-trigger[aria-expanded="true"] {
    box-shadow: 0 0 0 2px var(--bolt-surface), 0 0 0 3px rgba(27, 159, 152, 0.35);
  }
}

.bolt-flash-error {
  color: #991b1b;
  background: color-mix(in srgb, #ef4444 10%, var(--bolt-surface));
  border: 1px solid color-mix(in srgb, #ef4444 25%, var(--bolt-border));
}

.bolt-flash-list {
  margin: 0;
  padding-inline-start: 1.125rem;
}

.bolt-topup-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bolt-topup-modal.bolt-hidden {
  display: none;
}

.bolt-topup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.bolt-topup-modal-card {
  position: relative;
  width: min(100%, 24rem);
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.bolt-topup-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bolt-topup-modal-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.bolt-topup-form .bolt-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.bolt-topup-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0 0 0.75rem;
  word-break: break-word;
}

.bolt-topup-presets-wrap {
  margin-bottom: 0.75rem;
}

.bolt-topup-presets-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
  margin-bottom: 0.4rem;
}

.bolt-topup-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bolt-topup-preset {
  flex: 1 1 calc(33.333% - 0.5rem);
  min-width: 4.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--bolt-border);
  border-radius: 0.65rem;
  background: var(--bolt-surface-2, var(--bolt-surface));
  color: var(--bolt-text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.bolt-topup-preset:hover {
  border-color: var(--bolt-primary);
}

.bolt-topup-preset.is-active {
  border-color: var(--bolt-primary);
  background: color-mix(in srgb, var(--bolt-primary) 12%, transparent);
  color: var(--bolt-primary);
}

.bolt-topup-limits {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
}

.bolt-topup-summary {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--bolt-border);
  border-radius: 0.75rem;
  background: var(--bolt-surface-2, rgba(148, 163, 184, 0.08));
}

.bolt-topup-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--bolt-muted);
}

.bolt-topup-summary-row span:last-child {
  color: var(--bolt-text);
  font-weight: 600;
}

.bolt-topup-summary-row--total span:last-child {
  color: var(--bolt-primary);
}

.bolt-topup-redirect {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
}

.bolt-topup-redirect.bolt-hidden {
  display: none;
}

.bolt-topup-redirect-card {
  width: min(100%, 22rem);
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.bolt-topup-redirect-card h3 {
  margin: 0.75rem 0 0.35rem;
  font-size: 1rem;
}

.bolt-topup-redirect-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--bolt-muted);
}

.bolt-topup-redirect-spinner {
  width: 2rem;
  height: 2rem;
  margin: 0 auto;
  border: 3px solid color-mix(in srgb, var(--bolt-primary) 20%, transparent);
  border-top-color: var(--bolt-primary);
  border-radius: 50%;
  animation: bolt-topup-spin 0.8s linear infinite;
}

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

/* â”€â”€ Top-up return confirmation â”€â”€ */
.bolt-topup-return {
  display: flex;
  justify-content: center;
  padding: 1.25rem 0 2.5rem;
}

.bolt-topup-return-card {
  width: min(100%, 28rem);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--bolt-radius-lg);
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface);
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.bolt-topup-return-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--bolt-muted);
}

.bolt-topup-return-icon svg {
  width: 1.625rem;
  height: 1.625rem;
}

.bolt-topup-return-card[data-status="paid"] .bolt-topup-return-icon {
  background: var(--bolt-success);
}

.bolt-topup-return-card[data-status="pending"] .bolt-topup-return-icon {
  background: rgba(194, 120, 3, 0.12);
  color: var(--bolt-warning);
}

.bolt-topup-return-card[data-status="failed"] .bolt-topup-return-icon {
  background: var(--bolt-danger);
}

.bolt-topup-return-card[data-status="unknown"] .bolt-topup-return-icon {
  background: var(--bolt-surface-2);
  color: var(--bolt-muted);
  border: 1px solid var(--bolt-border);
}

.bolt-topup-return-spinner {
  width: 1.375rem;
  height: 1.375rem;
  border: 2.5px solid rgba(194, 120, 3, 0.25);
  border-top-color: var(--bolt-warning);
  border-radius: 50%;
  animation: bolt-topup-spin 0.8s linear infinite;
}

.bolt-topup-return-card .bolt-wallet-topup-status {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.bolt-topup-return-title {
  margin: 0 0 0.375rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bolt-text);
}

.bolt-topup-return-message {
  margin: 0 auto;
  max-width: 22rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--bolt-muted);
}

.bolt-topup-return-details {
  display: grid;
  gap: 0.625rem;
  margin: 1.25rem 0 0;
  padding: 0.875rem 1rem;
  border-radius: var(--bolt-radius-md);
  border: 1px solid var(--bolt-border);
  background: var(--bolt-surface-2);
  text-align: start;
}

.bolt-topup-return-detail {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.bolt-topup-return-detail dt {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
}

.bolt-topup-return-detail dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bolt-text);
}

.bolt-topup-return-amount {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--bolt-success) !important;
}

.bolt-topup-return-card[data-status="failed"] .bolt-topup-return-amount {
  color: var(--bolt-text) !important;
}

.bolt-topup-return-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.bolt-topup-return-actions .bolt-btn {
  min-width: 8.5rem;
}

@media (max-width: 640px) {
  .bolt-topup-return {
    padding: 0.5rem 0 1.5rem;
  }

  .bolt-topup-return-card {
    padding: 1.375rem 1rem 1.125rem;
  }

  .bolt-topup-return-actions {
    flex-direction: column;
  }

  .bolt-topup-return-actions .bolt-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .bolt-profile-trigger-copy,
  .bolt-profile-trigger-chevron {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* White-label unavailable / not-found */
.bolt-unavailable-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(27, 159, 152, 0.12), transparent 60%),
    var(--bolt-bg, #f8f9fb);
  color: var(--bolt-text, #0f1419);
  font-family: Inter, "IBM Plex Sans Arabic", system-ui, sans-serif;
}
.bolt-unavailable {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.bolt-unavailable-card {
  width: 100%;
  max-width: 440px;
  background: var(--bolt-surface, #fff);
  border: 1px solid var(--bolt-border, rgba(15, 23, 42, 0.07));
  border-radius: var(--bolt-radius-xl, 18px);
  box-shadow: var(--bolt-shadow-md, 0 8px 24px rgba(15, 23, 42, 0.06));
  padding: 2rem 1.75rem;
  text-align: center;
}
.bolt-unavailable-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.bolt-unavailable-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bolt-saaml-teal, #1b9f98);
}
.bolt-unavailable-title {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bolt-text, #0f1419);
}
.bolt-unavailable-body {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--bolt-muted, #5c6573);
}
.bolt-unavailable-company {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--bolt-faint, #8b95a5);
}
.bolt-unavailable-company code {
  font-size: 0.8125rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: var(--bolt-surface-2, #f1f3f6);
}
.bolt-unavailable-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.bolt-unavailable-actions .bolt-btn {
  min-height: 44px;
  padding: 0.65rem 1.25rem;
}

/* —— Receipt document + compact list —— */
.bolt-receipt-list {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 899px) {
  .bolt-receipt-list {
    display: flex;
  }
}

.bolt-receipt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "id amount"
    "meta meta"
    "status status";
  gap: 0.2rem 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-surface);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--bolt-shadow-xs);
}

.bolt-receipt-row:hover {
  border-color: var(--bolt-border-strong);
  background: var(--bolt-surface-2);
}

.bolt-receipt-row-main {
  grid-area: id;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bolt-receipt-row-id {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bolt-text);
  text-decoration: none;
}

a.bolt-receipt-row-id:hover {
  color: var(--bolt-saaml-teal);
}

.bolt-receipt-row-meta {
  font-size: 0.8125rem;
  color: var(--bolt-muted);
}

.bolt-receipt-row .bolt-badge {
  grid-area: status;
  justify-self: start;
  margin-top: 0.25rem;
}

.bolt-receipt-row-amount {
  grid-area: amount;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bolt-receipt-row-amount.is-credit {
  color: var(--bolt-success);
}

.bolt-receipt-table .bolt-receipt-row-amount {
  font-weight: 600;
}

.bolt-receipt {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  background: var(--bolt-surface);
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-lg);
  box-shadow: var(--bolt-shadow-md);
  overflow: hidden;
}

.bolt-receipt-pay-form {
  display: contents;
}

.bolt-receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--bolt-border);
  background:
    linear-gradient(180deg, var(--bolt-saaml-teal-soft), transparent 70%),
    var(--bolt-surface);
}

.bolt-receipt-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bolt-saaml-teal);
}

.bolt-receipt-id {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.bolt-receipt-hero {
  padding: 1.15rem 1.5rem 0;
}

.bolt-receipt-hero-value {
  margin-top: 0.2rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.bolt-receipt-hero.is-included .bolt-receipt-hero-value {
  font-size: 1.25rem;
  letter-spacing: 0;
  color: var(--bolt-saaml-teal-deep);
}

.bolt-receipt-hero.is-zero .bolt-receipt-hero-value {
  font-size: 1.25rem;
  letter-spacing: 0;
  color: var(--bolt-muted);
}

.bolt-receipt-hero.is-due .bolt-receipt-hero-value {
  color: var(--bolt-warning);
}

.bolt-receipt-callout {
  margin: 0.75rem 1.5rem 0;
  padding: 0.75rem 0.875rem;
  border-radius: var(--bolt-radius-md);
  background: var(--bolt-accent-soft);
  color: var(--bolt-text);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.bolt-receipt-shipments {
  border-top: 1px solid var(--bolt-border);
}

.bolt-receipt-shipments h3 {
  margin: 0;
  padding: 1rem 1.5rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bolt-muted);
}

.bolt-receipt-waybill-link {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bolt-receipt-waybill-link:hover {
  text-decoration: underline;
}

.bolt-receipt-row-amount.is-included {
  font-weight: 600;
  color: var(--bolt-saaml-teal-deep);
  white-space: normal;
  text-align: end;
}

.bolt-receipt-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.bolt-receipt-party {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.bolt-receipt-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 0;
  padding: 0 1.5rem 1.25rem;
}

.bolt-receipt-meta dt {
  margin: 0 0 0.15rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bolt-faint);
}

.bolt-receipt-meta dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.bolt-receipt-items {
  width: 100%;
  border-collapse: collapse;
}

.bolt-receipt-items th,
.bolt-receipt-items td {
  padding: 0.75rem 1.5rem;
  text-align: start;
  border-top: 1px solid var(--bolt-border);
}

.bolt-receipt-items th {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bolt-faint);
  background: var(--bolt-surface-2);
}

.bolt-receipt-items td:last-child,
.bolt-receipt-items th:last-child {
  text-align: end;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bolt-receipt-items tfoot th,
.bolt-receipt-items tfoot td {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bolt-text);
  background: var(--bolt-surface);
  border-top: 2px solid var(--bolt-border-strong);
}

.bolt-receipt-foot {
  padding: 1.15rem 1.5rem 1.35rem;
  border-top: 1px dashed var(--bolt-border-strong);
}

.bolt-receipt-foot p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bolt-muted);
}

@media (max-width: 639px) {
  .bolt-receipt-parties,
  .bolt-receipt-meta {
    grid-template-columns: 1fr;
  }

  .bolt-receipt-id {
    font-size: 1.4rem;
  }

  .bolt-receipt-head,
  .bolt-receipt-hero,
  .bolt-receipt-parties,
  .bolt-receipt-meta {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .bolt-receipt-callout {
    margin-left: 1.1rem;
    margin-right: 1.1rem;
  }

  .bolt-receipt-shipments h3 {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .bolt-receipt-items th,
  .bolt-receipt-items td {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

@media print {
  .bolt-header,
  .bolt-dock,
  .bolt-receipt-chrome,
  .bolt-flash,
  .bolt-receipt-callout,
  footer {
    display: none !important;
  }

  .bolt-app,
  .bolt-main-wrap,
  .bolt-content {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    box-shadow: none !important;
  }

  .bolt-receipt {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Bolt package type + temperature choice cards */
.bolt-package-flow { margin-bottom: 1.25rem; }
.bolt-choice-stage { margin-bottom: 1.25rem; }
.bolt-choice-sub { margin: 0.15rem 0 0.85rem; font-size: 0.9rem; }
.bolt-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.bolt-choice-grid--temp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bolt-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: start;
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1.5px solid var(--bolt-border, #e5e7eb);
  background: var(--bolt-surface, #fff);
  color: inherit;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
/* The saved-addresses strip on the pickup and delivery steps (SA865). */
.bolt-saved-strip { margin: 0 0 1.25rem; }
.bolt-saved-strip-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 0.5rem; }
.bolt-saved-card { gap: 0.15rem; padding: 0.75rem 0.85rem; }
.bolt-saved-card-name { font-size: 0.9375rem; font-weight: 700; color: var(--bolt-text); }
.bolt-saved-card-name::before { content: '📍 '; font-size: 0.8em; }
.bolt-saved-card-place { font-size: 0.8125rem; color: var(--bolt-text); }
.bolt-saved-card-line { font-size: 0.75rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.02em; color: var(--bolt-muted); }

.bolt-choice-card:hover {
  border-color: var(--bolt-accent, #0d9488);
}
.bolt-choice-card.is-selected {
  border-color: var(--bolt-accent, #0d9488);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bolt-accent, #0d9488) 22%, transparent);
  /* Tint the CARD's own surface, never a hardcoded #fff: on a dark portal that
     literal turned the selected card near-white while its text stayed light,
     making the chosen option the only unreadable one in the row. */
  background: color-mix(in srgb, var(--bolt-accent, #0d9488) 6%, var(--bolt-surface, #fff));
}
/* 6% of accent disappears against a dark surface, so lift the tint enough that
   the selected card still reads as selected without the border alone. */
[data-theme="dark"] .bolt-choice-card.is-selected {
  background: color-mix(in srgb, var(--bolt-accent, #0d9488) 18%, var(--bolt-surface, #11151c));
}
.bolt-choice-card-title {
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.25;
}
.bolt-choice-card-hint {
  font-size: 0.82rem;
  opacity: 0.72;
  line-height: 1.35;
}
.bolt-dims-grid { margin-top: 0.75rem; }
.bolt-totals-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.bolt-totals-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: var(--bolt-muted, #6b7280);
  line-height: 1.35;
}
.bolt-qty-stepper {
  display: flex;
  align-items: stretch;
  height: 40px;
  border: 1px solid var(--bolt-border, #e5e7eb);
  border-radius: var(--bolt-radius-md, 10px);
  overflow: hidden;
  background: var(--bolt-surface, #fff);
}
.bolt-qty-stepper .bolt-input {
  border: 0;
  border-radius: 0;
  height: 100%;
  min-width: 0;
  flex: 1;
  text-align: center;
  padding-inline: 0.2rem;
  box-shadow: none;
}
.bolt-qty-stepper .bolt-input:focus {
  outline: none;
  box-shadow: none;
}
.bolt-qty-btn {
  width: 2.5rem;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--bolt-text, #111827);
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}
.bolt-qty-btn:hover {
  background: color-mix(in srgb, var(--bolt-accent, #0d9488) 8%, transparent);
}
.bolt-qty-btn:focus-visible {
  outline: none;
  background: color-mix(in srgb, var(--bolt-accent, #0d9488) 14%, transparent);
}
@media (max-width: 720px) {
  .bolt-choice-grid,
  .bolt-choice-grid--temp {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Bolt assistant — the conversation that comes before the form.

   It reads as a chat, so it is a centred column with a conversation surface that
   has height of its own, not a full-width band across the page. While it is
   leading, the wizard below is hidden: offering a form and a chat for the same
   job at the same time asks the customer to choose twice.

   Built on the tokens above, so it inherits a tenant's accent instead of adding a
   second palette. Motion sits behind prefers-reduced-motion throughout.
   ───────────────────────────────────────────────────────────────────────────── */

/* The wizard steps back while the assistant is leading. The whole CARD, not the
   form: the stepper and the Continue bar live outside <form>, so hiding the form
   alone left the furniture behind with nothing between it.

   Applied by script, and the rule only fires on the class's presence, so a page
   whose JS never runs shows the wizard exactly as it always did. */
body.bolt-ai-leading .bolt-booking { display: none; }

/* The booking section: the form, its head, its banners. Spaced like the other
   sections of the page it now shares. */
.bolt-booking { margin-bottom: clamp(2rem, 5vw, 3rem); }

.bolt-ai {
  --ai-face: color-mix(in srgb, var(--bolt-accent) 7%, var(--bolt-surface));
  position: relative;
  width: 100%;
  max-width: 40rem;          /* a conversation column, not the page width */
  margin: 0 auto 1.75rem;
  border: 1px solid var(--bolt-border);
  border-radius: var(--bolt-radius-xl);
  background: var(--bolt-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -18px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

/* ── Header: the one piece of illustration, so the panel has a face ───────── */
.bolt-ai-head {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.375rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--bolt-border);
  background:
    radial-gradient(120% 160% at 0% 0%, color-mix(in srgb, var(--bolt-accent) 18%, transparent) 0%, transparent 62%),
    var(--ai-face);
  overflow: hidden;
}

/* The route drawing. Sized to the header, masked away behind the copy so the
   title never sits on a line, and it is the accent colour by inheritance. */
.bolt-ai-scene {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  color: var(--bolt-accent);
  /* Opaque only in the trailing fifth, where nothing is written; the copy and
     the avatar sit on a faded-out drawing, never on a line. */
  mask-image: linear-gradient(to left, #000 0%, #000 18%, transparent 42%);
}
[dir="rtl"] .bolt-ai-scene { transform: scaleX(-1); }
/* On a phone the copy spans the whole header, so the drawing has nowhere to be. */
@media (max-width: 640px) { .bolt-ai-scene { display: none; } }

/* A parcel travelling the arc — the one moving thing on the screen, and only
   while the assistant is still waiting to be told what to do. */
.bolt-ai-scene-dot { offset-path: path('M28 44C86 12 150 10 196 26s74 22 96 18'); offset-distance: 0%; opacity: 0; }
.bolt-ai[data-state="intro"] .bolt-ai-scene-dot { animation: bolt-ai-travel 5.5s ease-in-out infinite; }
@keyframes bolt-ai-travel {
  0%   { offset-distance: 0%;   opacity: 0; }
  12%  { opacity: .85; }
  88%  { opacity: .85; }
  100% { offset-distance: 100%; opacity: 0; }
}

.bolt-ai-avatar {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; background: var(--bolt-accent); color: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bolt-accent) 14%, transparent);
}
.bolt-ai-avatar svg { width: 1.2rem; height: 1.2rem; }

.bolt-ai-head-copy { position: relative; z-index: 1; min-width: 0; flex: 1 1 auto; }
.bolt-ai-title { margin: 0; font-size: 0.9375rem; font-weight: 700; color: var(--bolt-text); line-height: 1.3; }
.bolt-ai-sub { margin: 0.125rem 0 0; font-size: 0.8125rem; color: var(--bolt-muted); }

.bolt-ai-restart {
  position: relative; z-index: 1; flex: 0 0 auto;
  border: 0; background: none; padding: 0.3rem 0.5rem; cursor: pointer;
  font-size: 0.8125rem; font-weight: 600; color: var(--bolt-accent);
  border-radius: var(--bolt-radius-xs);
}
.bolt-ai-restart:hover { background: color-mix(in srgb, var(--bolt-accent) 10%, transparent); }

/* ── The conversation surface ─────────────────────────────────────────────── */
.bolt-ai-log {
  display: flex; flex-direction: column; gap: 0.5rem;
  min-height: 9rem; max-height: 20rem; overflow-y: auto;
  padding: 1.125rem 1.25rem;
  background:
    linear-gradient(var(--bolt-surface) 30%, transparent),
    linear-gradient(transparent, var(--bolt-surface) 70%) 0 100%,
    var(--bolt-surface);
  background-repeat: no-repeat; background-size: 100% 24px; background-attachment: local, local, scroll;
}
.bolt-ai-row { display: flex; }
.bolt-ai-row--me { justify-content: flex-end; }
.bolt-ai-row--bot { justify-content: flex-start; }

.bolt-ai-bubble {
  max-width: 82%; margin: 0; padding: 0.625rem 0.875rem;
  font-size: 0.9375rem; line-height: 1.5; white-space: pre-line;
  border-radius: 1.125rem;
  animation: bolt-ai-in 170ms cubic-bezier(.2,.8,.2,1);
}
.bolt-ai-bubble--bot {
  background: var(--bolt-surface-2); color: var(--bolt-text);
  border-start-start-radius: 0.3rem;
}
.bolt-ai-bubble--me {
  background: var(--bolt-accent); color: #fff;
  border-end-end-radius: 0.3rem;
}
@keyframes bolt-ai-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }

.bolt-ai-typing { display: inline-flex; gap: 0.25rem; align-items: center; padding-block: 0.8rem; }
.bolt-ai-typing span { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--bolt-faint); animation: bolt-ai-dot 1.2s infinite ease-in-out; }
.bolt-ai-typing span:nth-child(2) { animation-delay: .15s; }
.bolt-ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bolt-ai-dot { 0%,60%,100% { opacity:.3; transform:none; } 30% { opacity:1; transform: translateY(-3px); } }

/* ── Choices inside the conversation ─────────────────────────────────────── */
.bolt-ai-choices { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.25rem 0 0.25rem 0.25rem; }
.bolt-ai-choice {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
  min-height: var(--bolt-touch-min); padding: 0.55rem 0.9rem;
  border: 1px solid var(--bolt-border-strong); border-radius: 999px;
  background: var(--bolt-surface); color: var(--bolt-text);
  font-size: 0.875rem; font-weight: 600; text-align: start; cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.bolt-ai-choice small { font-size: 0.75rem; font-weight: 500; color: var(--bolt-muted); }
.bolt-ai-choice:hover:not(:disabled) { border-color: var(--bolt-accent); background: color-mix(in srgb, var(--bolt-accent) 7%, var(--bolt-surface)); transform: translateY(-1px); }
.bolt-ai-choice:focus-visible { outline: 2px solid var(--bolt-accent); outline-offset: 2px; }
.bolt-ai-choice:disabled { cursor: default; opacity: 0.55; }
.bolt-ai-choice--ghost { border-style: dashed; color: var(--bolt-muted); }
.bolt-ai-choices.is-answered .bolt-ai-choice { opacity: 0.45; }

/* ── One inline field under a question ────────────────────────────────────── */
.bolt-ai-inline { display: flex; gap: 0.5rem; align-items: center; padding: 0.25rem 0 0.25rem 0.25rem; max-width: 24rem; }
/* "Pick on the map" in the chat: a sheet over the page, a map with a fixed centre pin. */
.bolt-ai-map { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 20, 25, 0.55); padding: 0; }
.bolt-ai-map-sheet { width: min(100%, 40rem); background: var(--bolt-surface); border-radius: var(--bolt-radius-xl) var(--bolt-radius-xl) 0 0; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); box-shadow: var(--bolt-shadow-md); }
.bolt-ai-map-title { margin: 0 0 0.75rem; font-size: 1rem; font-weight: 700; color: var(--bolt-text); }
.bolt-ai-map-frame { position: relative; }
.bolt-ai-map-canvas { height: min(60vh, 26rem); border-radius: var(--bolt-radius-lg); background: var(--bolt-bg); }
.bolt-ai-map-pin { position: absolute; left: 50%; top: 50%; width: 1.5rem; height: 1.5rem; margin: -1.5rem 0 0 -0.75rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--bolt-accent); box-shadow: 0 2px 6px rgba(0,0,0,0.3); pointer-events: none; }
.bolt-ai-map-pin::after { content: ''; position: absolute; left: 0.45rem; top: 0.45rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #fff; }
.bolt-ai-map-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
@media (min-width: 641px) { .bolt-ai-map { align-items: center; padding: 1rem; } .bolt-ai-map-sheet { border-radius: var(--bolt-radius-xl); } }

/* The address box in the chat: the suggestions list hangs under it, as on the form. */
.bolt-ai-address { position: relative; flex: 1 1 auto; min-width: 0; }
.bolt-ai-address .bolt-ai-inline-input { width: 100%; }
.bolt-ai-inline-input {
  flex: 1 1 auto; min-width: 0; min-height: var(--bolt-touch-min); padding: 0.55rem 0.875rem;
  border: 1px solid var(--bolt-border-strong); border-radius: 999px;
  background: var(--bolt-surface); color: var(--bolt-text); font: inherit; font-size: 0.9375rem;
}
.bolt-ai-inline-input:focus { outline: none; border-color: var(--bolt-accent); box-shadow: 0 0 0 3px var(--bolt-accent-ring); }
.bolt-ai-inline-input.is-invalid { border-color: var(--bolt-danger); }
.bolt-ai-inline-input:disabled { opacity: 0.55; }
.bolt-ai-inline-send {
  flex: 0 0 auto; min-height: var(--bolt-touch-min); padding: 0 1rem; border: 0; border-radius: 999px;
  background: var(--bolt-accent); color: #fff; font-size: 0.875rem; font-weight: 600; cursor: pointer;
}
.bolt-ai-inline-send:disabled { opacity: 0.5; cursor: default; }
.bolt-ai-inline.is-answered { opacity: 0.6; }

/* ── Composer ─────────────────────────────────────────────────────────────── */
/* Centred, not flex-end: the box is a fixed two rows (it does not grow as the
   customer types), so bottom-aligned buttons sat below its middle. */
.bolt-ai-composer {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--bolt-border);
}
.bolt-ai-input {
  flex: 1 1 auto; resize: none; padding: 0.625rem 0.875rem;
  border: 1px solid var(--bolt-border-strong); border-radius: 1.125rem;
  background: var(--bolt-surface); color: var(--bolt-text);
  font: inherit; font-size: 0.9375rem; line-height: 1.5;
}
.bolt-ai-input:focus { outline: none; border-color: var(--bolt-accent); box-shadow: 0 0 0 3px var(--bolt-accent-ring); }

.bolt-ai-send {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: var(--bolt-touch-min); height: var(--bolt-touch-min);
  border: 0; border-radius: 50%; background: var(--bolt-accent); color: #fff; cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.bolt-ai-send svg { width: 1.05rem; height: 1.05rem; }
.bolt-ai-send:hover:not(:disabled) { background: var(--bolt-accent-hover); transform: scale(1.05); }
.bolt-ai-send:disabled { opacity: .5; cursor: default; }

/* ── Ready to book ────────────────────────────────────────────────────────── */
.bolt-ai-review {
  max-width: 92%; padding: 1rem;
  border: 1px solid var(--bolt-accent-ring); border-radius: var(--bolt-radius-lg); border-start-start-radius: 0.3rem;
  background: color-mix(in srgb, var(--bolt-accent) 6%, var(--bolt-surface));
  animation: bolt-ai-in 220ms cubic-bezier(.2,.8,.2,1);
}
.bolt-ai-review-title { margin: 0 0 0.75rem; font-size: 0.875rem; font-weight: 700; color: var(--bolt-text); }
.bolt-ai-facts { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 0.875rem; margin: 0 0 0.875rem; font-size: 0.875rem; }
.bolt-ai-facts dt { color: var(--bolt-muted); }
.bolt-ai-facts dd { margin: 0; font-weight: 600; color: var(--bolt-text); }
.bolt-ai-review-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bolt-ai-book, .bolt-ai-redo {
  min-height: var(--bolt-touch-min); padding: 0.5rem 1rem;
  border-radius: var(--bolt-radius-md); font-size: 0.875rem; font-weight: 600; cursor: pointer;
}
.bolt-ai-book { flex: 1 1 12rem; border: 0; background: var(--bolt-btn-primary-bg); color: var(--bolt-btn-primary-text); }
.bolt-ai-book:hover:not(:disabled) { background: var(--bolt-btn-primary-hover); }
.bolt-ai-book:disabled, .bolt-ai-redo:disabled { opacity: 0.55; cursor: default; }
.bolt-ai-redo { border: 1px solid var(--bolt-border-strong); background: var(--bolt-surface); color: var(--bolt-text); }
.bolt-ai-redo:hover:not(:disabled) { border-color: var(--bolt-accent); }

/* ── Advanced booking: the form, behind one quiet link ────────────────────── */
.bolt-ai-advanced {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 0.875rem 1.25rem; border-top: 1px solid var(--bolt-border);
  color: var(--bolt-muted); text-decoration: none; font-size: 0.8125rem;
}
.bolt-ai-advanced:hover { background: var(--bolt-surface-2); }
.bolt-ai-advanced-title { font-weight: 700; color: var(--bolt-text); }
.bolt-ai-advanced-title::after { content: ' ›'; }
.bolt-ai[data-state="advanced"] .bolt-ai-composer,
.bolt-ai[data-state="advanced"] .bolt-ai-advanced,
.bolt-ai[data-state="advanced"] .bolt-ai-inline-acts:not(.is-answered),
.bolt-ai[data-state="advanced"] .bolt-ai-inline:not(.is-answered) { display: none; }
.bolt-ai[data-state="advanced"] .bolt-ai-log { max-height: 16rem; }
/* the inline field's ways out (skip, the customer's position, the map) sit on
   their own row beneath it: beside the box they squeezed it to 30 px and the
   suggestions under a 0 px wrapper (review on #1925) */
.bolt-ai-inline-acts { padding-top: 0; max-width: 24rem; }
.bolt-ai-inline-acts .bolt-ai-choice--ghost { border-radius: 999px; padding: 0.45rem 0.8rem; font-size: 0.8125rem; }

.bolt-ai-error { margin: 0 1.25rem 1.25rem; font-size: 0.8125rem; color: var(--bolt-danger); }

@media (prefers-reduced-motion: reduce) {
  .bolt-ai-bubble, .bolt-ai-typing span, .bolt-ai-choice, .bolt-ai-review,
  .bolt-ai-send, .bolt-ai-scene-dot {
    animation: none !important; transition: none !important;
  }
}

/* In the hero the assistant is one column of a two-column band, so it fills the
   space it is given rather than centring itself inside it. The log grows with
   the booking and scrolls past a screen's worth, so the copy beside it never
   reflows. */
.bolt-landing-hero--assistant .bolt-ai { max-width: none; margin: 0; }
.bolt-landing-hero--assistant .bolt-ai-log { min-height: 12rem; max-height: min(64vh, 36rem); }

/* ─────────────────────────────────────────────────────────────────────────────
   Home — hero symmetry, the tenant's colour, and the services section.
   ───────────────────────────────────────────────────────────────────────────── */

/* This is a white-label portal: the hero wash is the TENANT's accent, not the
   platform's teal. Same composition as before, different colour source. */
.bolt-landing-hero {
  background:
    radial-gradient(ellipse 90% 70% at 100% -10%, color-mix(in srgb, var(--bolt-accent) 14%, transparent), transparent 58%),
    radial-gradient(ellipse 50% 40% at 0% 100%, color-mix(in srgb, var(--bolt-accent) 8%, transparent), transparent 50%),
    linear-gradient(155deg, var(--bolt-surface) 0%, var(--bolt-surface-2) 100%);
}

/* With the assistant in the second column the two sides top-align and the panel
   gets a fixed share, so a growing conversation never reflows the copy. */
.bolt-landing-hero--assistant {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 30rem);
  align-items: start;
}
.bolt-landing-hero--assistant .bolt-landing-cta { margin-top: 1rem; }

/* ── Scenes: one drawn picture per product, wherever a product appears ───── */
.bolt-product-art { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; color: var(--bolt-accent); }

/* Service chips in the conversation are small cards: the scene, the name, one
   line on what it is for, the ETA. A grid, so two services and five both sit
   evenly; the tracking chip takes a row of its own underneath. */
.bolt-ai-choices--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 0.6rem; }
.bolt-ai-choice--service { flex-direction: column; align-items: stretch; gap: 0.15rem; min-width: 0; padding: 0.7rem 0.8rem 0.85rem; border-radius: var(--bolt-radius-lg); }
.bolt-ai-choice--service .bolt-product-art { margin-bottom: 0.35rem; }
.bolt-ai-choice-sub { display: block; font-size: 0.8125rem; font-weight: 500; line-height: 1.35; color: var(--bolt-text); }
.bolt-ai-choice--track { grid-column: 1 / -1; justify-self: start; flex-direction: row; align-items: center; gap: 0.5rem; }
/* A saved address: the name, where it is, then the code or the street in small. */
.bolt-ai-choice--party { text-align: start; }
.bolt-ai-choice--party strong::before { content: '📍 '; font-size: 0.8em; }
.bolt-ai-choice--party small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.02em; color: var(--bolt-muted); }
.bolt-ai-choice--track small { font-weight: 500; }

/* The wizard's service cards carry the same scene, so the two surfaces agree. */
.bolt-service-card .bolt-product-art { max-width: 13rem; margin-bottom: 0.3rem; }

@media (max-width: 960px) {
  .bolt-landing-hero--assistant { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
}

/* ── Status card inside the conversation ──────────────────────────────────── */
.bolt-ai-status {
  max-width: 92%; padding: 0.875rem 1rem;
  border-radius: 1.125rem; border-start-start-radius: 0.3rem;
  background: var(--bolt-surface); box-shadow: inset 0 0 0 1px var(--bolt-border);
  animation: bolt-ai-in 200ms cubic-bezier(.2,.8,.2,1);
}
.bolt-ai-status-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.35rem; }
.bolt-ai-status-waybill { font-family: ui-monospace, 'SF Mono', monospace; font-size: 0.8125rem; color: var(--bolt-muted); letter-spacing: 0.02em; }
.bolt-ai-status-live {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.6875rem; font-weight: 700;
  background: color-mix(in srgb, var(--bolt-success) 14%, transparent); color: var(--bolt-success);
}
.bolt-ai-status-live-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: currentColor; animation: bolt-ai-dot 1.2s infinite ease-in-out; }
.bolt-ai-status-title { margin: 0; font-size: 1rem; font-weight: 700; color: var(--bolt-text); }
.bolt-ai-status-msg { margin: 0.2rem 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--bolt-muted); }

/* The four steps as a strip: a line behind, dots on it, the reached ones filled. */
.bolt-ai-status-strip {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem; margin: 0.875rem 0 0.5rem; padding: 0; list-style: none;
}
.bolt-ai-status-strip::before {
  content: ''; position: absolute; top: 0.45rem; inset-inline: 12.5%; height: 2px;
  background: var(--bolt-border-strong);
}
.bolt-ai-status-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; }
.bolt-ai-status-dot {
  width: 0.95rem; height: 0.95rem; border-radius: 50%;
  background: var(--bolt-surface); box-shadow: inset 0 0 0 2px var(--bolt-border-strong);
}
.bolt-ai-status-step.is-done .bolt-ai-status-dot,
.bolt-ai-status-step.is-current .bolt-ai-status-dot { background: var(--bolt-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bolt-accent) 18%, transparent); }
.bolt-ai-status-step.is-current .bolt-ai-status-dot { transform: scale(1.15); }
.bolt-ai-status-step-label { font-size: 0.6875rem; font-weight: 600; color: var(--bolt-faint); line-height: 1.2; }
.bolt-ai-status-step.is-done .bolt-ai-status-step-label,
.bolt-ai-status-step.is-current .bolt-ai-status-step-label { color: var(--bolt-text); }

/* Outcome tones: the last dot and the pill follow the shipment, not the brand. */
.bolt-ai-status--danger .bolt-ai-status-step.is-current .bolt-ai-status-dot { background: var(--bolt-danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bolt-danger) 18%, transparent); }
.bolt-ai-status--success .bolt-ai-status-step.is-current .bolt-ai-status-dot { background: var(--bolt-success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bolt-success) 18%, transparent); }

.bolt-ai-status-meta { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--bolt-muted); }
.bolt-ai-status-link {
  display: inline-block; margin-top: 0.75rem;
  font-size: 0.875rem; font-weight: 600; color: var(--bolt-accent); text-decoration: none;
}
.bolt-ai-status-link:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .bolt-ai-status, .bolt-ai-status-live-dot { animation: none !important; }
}

/* ═════════════════════════════════════════════════════════════════════════════
   The customer's shipments, drawn: one card wherever a shipment appears.
   ═════════════════════════════════════════════════════════════════════════════ */
.bolt-shipment-card {
  display: flex; gap: 0.75rem; align-items: stretch;
  padding: 0.625rem 0.75rem; border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface); box-shadow: inset 0 0 0 1px var(--bolt-border);
  color: inherit; text-decoration: none;
  transition: box-shadow var(--bolt-dur) var(--bolt-ease), transform var(--bolt-dur) var(--bolt-ease);
}
.bolt-shipment-card:hover {
  transform: translateY(-1px); color: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bolt-accent) 45%, var(--bolt-border)), var(--bolt-shadow-sm);
}
.bolt-shipment-card:focus-visible { outline: 2px solid var(--bolt-accent); outline-offset: 2px; }
.bolt-shipment-card-scene {
  flex: 0 0 5.5rem; display: flex; align-items: center; padding: 0.25rem 0.35rem;
  border-radius: var(--bolt-radius-md);
  background: color-mix(in srgb, var(--bolt-accent) 6%, var(--bolt-surface-2)); color: var(--bolt-accent);
}
.bolt-shipment-card--success .bolt-shipment-card-scene { color: var(--bolt-success); }
.bolt-shipment-card--danger .bolt-shipment-card-scene { color: var(--bolt-danger); }
.bolt-shipment-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.8125rem; }
.bolt-shipment-card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.bolt-shipment-card-product { font-weight: 700; color: var(--bolt-text); }
.bolt-shipment-card-who { font-weight: 600; color: var(--bolt-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bolt-shipment-card-where { color: var(--bolt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bolt-shipment-card-foot { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.15rem; font-size: 0.75rem; color: var(--bolt-muted); }

/* Home: the last few, under the copy, beside the conversation. */
.bolt-landing-recent { margin-top: 1.5rem; max-width: 30rem; }
.bolt-landing-recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.6rem; }
.bolt-landing-recent-title { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bolt-muted); }
.bolt-landing-recent-all { font-size: 0.8125rem; font-weight: 600; color: var(--bolt-accent); text-decoration: none; }
.bolt-landing-recent-all:hover { text-decoration: underline; }
.bolt-landing-recent-list { display: flex; flex-direction: column; gap: 0.5rem; }

/* Orders: the product is the service, drawn small in the table. */
.bolt-order-product { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; white-space: nowrap; }
.bolt-order-product-scene { display: inline-block; width: 3.25rem; color: var(--bolt-accent); }
.bolt-order-product-scene .bolt-product-art { aspect-ratio: 2 / 1; }
.bolt-empty-scene { width: 11rem; margin: 0 auto 0.75rem; color: var(--bolt-accent); }

/* Order detail: the scene beside the waybill. */
.bolt-order-hero { display: flex; align-items: center; gap: 0.875rem; min-width: 0; }
.bolt-order-hero-scene {
  flex: 0 0 6.5rem; padding: 0.3rem 0.4rem; border-radius: var(--bolt-radius-md);
  background: color-mix(in srgb, var(--bolt-accent) 6%, var(--bolt-surface-2)); color: var(--bolt-accent);
}

/* Tracking: your own shipments to pick from, before typing anything. */
.bolt-track-recent { margin: 0 0 1rem; }
.bolt-track-recent-title { margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bolt-muted); }
.bolt-track-recent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.5rem; }
.bolt-track-recent-item {
  display: flex; align-items: center; gap: 0.6rem; min-height: var(--bolt-touch-min);
  padding: 0.45rem 0.7rem; border-radius: var(--bolt-radius-lg);
  background: var(--bolt-surface); box-shadow: inset 0 0 0 1px var(--bolt-border);
  color: inherit; text-decoration: none; transition: box-shadow var(--bolt-dur) var(--bolt-ease);
}
.bolt-track-recent-item:hover { color: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bolt-accent) 45%, var(--bolt-border)); }
.bolt-track-recent-scene { flex: 0 0 3.5rem; color: var(--bolt-accent); }
.bolt-track-recent-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.8125rem; }
.bolt-track-recent-who { color: var(--bolt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* The assistant: "Start over" must read over the route drawing; the first
   question is never clipped; two service cards per row on a phone. */
.bolt-ai-restart {
  background: color-mix(in srgb, var(--bolt-surface) 85%, transparent);
  border: 1px solid var(--bolt-border); border-radius: 999px; padding: 0.3rem 0.7rem;
}
.bolt-ai[data-state="intro"] .bolt-ai-log { max-height: none; }
@media (max-width: 600px) {
  .bolt-ai-choices--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .bolt-ai-choice--service { padding: 0.55rem 0.6rem 0.7rem; }
  .bolt-track-live-scene { flex-basis: 6rem; }
}

/* Under the facts, when the last step is a payment: what the wallet covers and what is paid now. */
.bolt-ai-review-note { margin: -0.35rem 0 0.75rem; font-size: 0.8125rem; line-height: 1.45; color: var(--bolt-muted); }

/* ── One look for the conversation and the form ─────────────────────────── */
.bolt-booking .bolt-wizard-card { border-radius: var(--bolt-radius-lg); box-shadow: inset 0 0 0 1px var(--bolt-border); }
.bolt-booking .bolt-page-head-copy p { color: var(--bolt-muted); }
/* two fields asked together, one send */
.bolt-ai-inline--pair { max-width: 30rem; }
.bolt-ai-inline--pair .bolt-ai-inline-input { flex: 1 1 8rem; }
/* the small "change" beside a fact that took a default */
.bolt-ai-edit { margin-inline-start: 0.35rem; border: 0; background: none; padding: 0; font: inherit; font-size: 0.75rem; font-weight: 600; color: var(--bolt-accent); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.bolt-ai-edit:disabled { opacity: 0.45; cursor: default; text-decoration: none; }
/* the tracking card in the first question sits with the services */
.bolt-ai-choice--track { grid-column: auto; justify-self: stretch; flex-direction: column; align-items: stretch; }

/* ── The first question fits the screen ───────────────────────────────────
   On a laptop the panel is never taller than the viewport: the header,
   composer and "Advanced booking" stay put and the conversation scrolls
   between them. The service cards are small and sit three to a row, so the
   opening question (two services, tracking, the box) is all in view. */
@media (min-width: 961px) {
  .bolt-landing-hero--assistant .bolt-ai { display: flex; flex-direction: column; max-height: calc(100vh - 9rem); }
  .bolt-landing-hero--assistant .bolt-ai-log { flex: 1 1 auto; min-height: 10rem; max-height: none; overflow-y: auto; }
  .bolt-landing-hero--assistant .bolt-ai-head,
  .bolt-landing-hero--assistant .bolt-ai-composer,
  .bolt-landing-hero--assistant .bolt-ai-advanced,
  .bolt-landing-hero--assistant .bolt-ai-mic-note,
  .bolt-landing-hero--assistant .bolt-ai-error { flex: 0 0 auto; }
}
.bolt-ai-choices--cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.25rem), 1fr)); gap: 0.5rem; }
.bolt-ai-choice--service { gap: 0.1rem; padding: 0.5rem 0.6rem 0.6rem; }
.bolt-ai-choice--service strong { font-size: 0.8125rem; line-height: 1.25; }
.bolt-ai-choice--service .bolt-product-art { aspect-ratio: 5 / 2; margin-bottom: 0.2rem; }
.bolt-ai-choice--service .bolt-ai-choice-sub { font-size: 0.75rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bolt-ai-choice--service small { font-size: 0.75rem; line-height: 1.3; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bolt-ai-head { padding: 1rem 1.25rem 0.9rem; }
.bolt-ai-advanced { padding: 0.7rem 1.25rem; }

/* ── The address step: the fields on one side, the map beside them ────────── */
@media (min-width: 961px) {
  .bolt-form-group--address { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.375rem 1.25rem; align-items: start; }
  .bolt-form-group--address > .bolt-form-group-label { grid-column: 1 / -1; }
  .bolt-form-group--address > .bolt-address-fields { grid-column: 1; display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
  .bolt-form-group--address > .bolt-party-map { grid-column: 2; grid-row: 2; margin-top: 0; min-width: 0; }
  .bolt-form-group--address .bolt-party-map-canvas { height: 20rem; }
}

/* ── Booked: one card, the confirmation first ────────────────────────────── */
.bolt-ai-status--booked { border-color: color-mix(in srgb, var(--bolt-success) 35%, var(--bolt-border)); }
.bolt-ai-booked-head { display: flex; align-items: center; gap: 0.6rem; margin: -0.1rem 0 0.7rem; }
.bolt-ai-booked-tick {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--bolt-success); color: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bolt-success) 16%, transparent);
}
.bolt-ai-booked-tick svg { width: 1.05rem; height: 1.05rem; }
.bolt-ai-booked-words { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.bolt-ai-booked-title { font-size: 1rem; font-weight: 700; color: var(--bolt-text); }
.bolt-ai-booked-line { font-size: 0.8125rem; color: var(--bolt-muted); }
.bolt-ai-copy {
  margin-inline-start: auto; border: 1px solid var(--bolt-border-strong); background: var(--bolt-surface);
  border-radius: 999px; padding: 0.2rem 0.6rem; font-size: 0.75rem; font-weight: 600; color: var(--bolt-text); cursor: pointer;
}
.bolt-ai-copy:hover { border-color: var(--bolt-accent); }
.bolt-ai-booked-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.bolt-ai-booked-actions .bolt-ai-booked-track { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
/* After booking, the log gets the room: nothing left to type, no form to open. */
.bolt-ai[data-state="done"] .bolt-ai-advanced { display: none; }
/* The route drawing's pin sits where "Start over" appears; step it aside. */
.bolt-ai-head:has(.bolt-ai-restart:not(.bolt-hidden)) .bolt-ai-scene-pin { opacity: 0; }

/* ── Voice: the mic beside Send ───────────────────────────────────────────── */
.bolt-ai-mic {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--bolt-border-strong); background: var(--bolt-surface); color: var(--bolt-text);
  cursor: pointer; transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.bolt-ai-mic svg { width: 1.15rem; height: 1.15rem; }
.bolt-ai-mic:hover { border-color: var(--bolt-accent); color: var(--bolt-accent); }
.bolt-ai-mic:focus-visible { outline: 2px solid var(--bolt-accent); outline-offset: 2px; }
.bolt-ai-mic.is-listening {
  border-color: var(--bolt-danger); background: color-mix(in srgb, var(--bolt-danger) 10%, var(--bolt-surface)); color: var(--bolt-danger);
  animation: bolt-ai-mic-pulse 1.2s ease-in-out infinite;
}
@keyframes bolt-ai-mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bolt-danger) 35%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--bolt-danger) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .bolt-ai-mic.is-listening { animation: none; } }
/* Same 1.25rem inset as the composer, the error line and "Advanced booking";
   with no side margin it ran into the card's edge and the divider below.
   Small print, but it stays: it is the PDPL notice that the voice leaves the
   browser (review on #1597), so it must still be legible, not hidden. While it
   shows, the composer gives up most of its bottom padding so the note reads as
   a caption under the box rather than a separate paragraph. */
.bolt-ai-mic-note { margin: 0 1.25rem 0.875rem; font-size: 0.75rem; line-height: 1.4; color: var(--bolt-muted); }
.bolt-ai-composer:has(+ .bolt-ai-mic-note:not(.bolt-hidden)) { padding-bottom: 0.5rem; }

/* SA865: the 3PL's privacy policy (bolt/privacy). Long text, so a reading
   width and room between sections. */
.bolt-legal {
  max-width: 46rem;
  line-height: 1.7;
}

.bolt-legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.bolt-legal ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
}

.bolt-legal li { margin-bottom: 0.35rem; }

.bolt-legal p { margin: 0 0 1rem; }

.bolt-legal .bolt-table-wrap { margin-bottom: 1rem; }

.bolt-legal-updated {
  font-size: 0.875rem;
  color: var(--bolt-muted);
}
