body { background: var(--paper); }

/* ---- Auth screens (split layout) ---- */
.auth-screen { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-brand-panel { background: var(--black); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-brand-panel::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(1,255,219,0.16), transparent 70%); top: -180px; right: -180px; }
.auth-brand-logo-link { display: inline-block; position: relative; z-index: 1; }
.auth-brand-logo { height: auto; width: 65px; aspect-ratio: 184 / 85; filter: brightness(0) invert(1); display: block; }
.auth-mobile-logo-link { display: inline-block; }
.auth-brand-quote { position: relative; z-index: 1; }
.auth-brand-quote h2 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.25; letter-spacing: -0.01em; max-width: 420px; }
.auth-brand-quote p { color: rgba(255,255,255,0.55); font-size: 13.5px; margin-top: 16px; }
.auth-brand-stats { display: flex; gap: 32px; position: relative; z-index: 1; }
.auth-brand-stats div { display: flex; flex-direction: column; }
.auth-brand-stats strong { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--mint); }
.auth-brand-stats span { font-size: 11.5px; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.auth-form-panel { display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-card { width: 100%; max-width: 400px; border: none; box-shadow: none; padding: 0; }
.auth-mobile-logo { display: none; height: 28px; width: auto; aspect-ratio: 184 / 85; margin-bottom: 28px; }
.auth-title { font-family: var(--font-display); font-weight: 500; font-size: 27px; margin-bottom: 6px; letter-spacing: -0.01em; }
.auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-switch { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--text-muted); }
.auth-switch a { color: var(--black); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-switch-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 13.5px; color: var(--text-muted); }
.auth-switch-row a { color: var(--black); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-switch-sep { color: var(--stone-300); }
.demo-hint { margin-top: 18px; padding: 12px 14px; background: var(--mint-tint); border-radius: var(--radius-sm); font-size: 12px; color: var(--mint-deep); font-weight: 600; }

.role-toggle { display: flex; gap: 8px; margin-bottom: 20px; background: var(--stone-100); padding: 4px; border-radius: var(--radius-sm); }
.role-toggle button { flex: 1; padding: 8px; border: none; background: transparent; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--text-muted); }
.role-toggle button.active { background: #fff; color: var(--black); box-shadow: var(--shadow-sm); }

/* ---- App shell ---- */
.app-shell { display: grid; grid-template-columns: 256px 1fr; min-height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 26px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sidebar-logo-img { height: 26px; width: auto; aspect-ratio: 184 / 85; padding: 0 10px 30px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.sidebar-nav a { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 12px; }
.sidebar-nav a:hover { background: var(--paper); color: var(--text); }
.sidebar-nav a.active { background: var(--black); color: #fff; }
.sidebar-nav a.active .icon { color: var(--mint); }
.nav-badge { margin-left: auto; background: var(--mint); color: var(--black); font-size: 11px; font-weight: 800; line-height: 1; padding: 3px 7px; border-radius: 999px; }
.sidebar-footer { border-top: 1px solid var(--border); padding-top: 14px; font-size: 13px; }

/* Mobile-only drawer controls (hamburger + backdrop) — hidden on desktop, see the ≤900px media query below for the sidebar's fixed/off-canvas behavior. */
.topbar-menu-btn { display: none; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; color: var(--text-muted); background: transparent; border: 1px solid var(--border); cursor: pointer; padding: 0; flex-shrink: 0; }
.topbar-menu-btn:hover { background: var(--paper); color: var(--text); }
.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(10,10,10,0.5); z-index: 105; }
.sidebar-backdrop.open { display: block; }
body.sidebar-open-lock { overflow: hidden; }

.content-col { display: flex; flex-direction: column; min-height: 100vh; }
.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 14px 44px; border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; z-index: 20; }
.topbar-bell { position: relative; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); background: transparent; border: 1px solid var(--border); cursor: pointer; padding: 0; }
.topbar-bell:hover { background: var(--paper); color: var(--text); }
.topbar-bell .nav-badge { position: absolute; top: -3px; right: -3px; margin-left: 0; }
.notif-dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--color-danger, #e5484d); border: 2px solid var(--surface); }
.topbar-user { position: relative; }
.topbar-user-btn { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--border); background: transparent; cursor: pointer; }
.topbar-user-btn:hover { background: var(--paper); }
.topbar-user-btn strong { font-size: 13.5px; font-weight: 700; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-user-btn .icon { color: var(--text-muted); }
.topbar-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); min-width: 190px; padding: 6px; z-index: 30; display: none; }
.topbar-dropdown.open { display: block; }
.topbar-dropdown a, .topbar-dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; color: var(--text); background: none; border: none; text-align: left; cursor: pointer; }
.topbar-dropdown a:hover, .topbar-dropdown button:hover { background: var(--paper); }
.topbar-dropdown-divider { height: 1px; background: var(--border); margin: 5px 2px; }
.avatar-img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { border-radius: 50%; background: var(--black); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.avatar-upload { position: relative; width: 96px; height: 96px; margin: 0 auto 20px; cursor: pointer; }
.avatar-upload .avatar-img, .avatar-upload .avatar-initials { width: 96px; height: 96px; font-size: 32px; }
.avatar-upload-overlay { position: absolute; inset: 0; border-radius: 50%; background: rgba(10,10,10,0.5); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.15s ease; font-size: 11px; font-weight: 700; text-align: center; }
.avatar-upload:hover .avatar-upload-overlay { opacity: 1; }

.profile-header-card { display: flex; align-items: center; gap: 24px; }
.avatar-upload-lg { width: 104px; height: 104px; margin: 0; flex-shrink: 0; }
.avatar-upload-lg .avatar-img, .avatar-upload-lg .avatar-initials { width: 104px; height: 104px; font-size: 36px; }
.profile-name { font-family: var(--font-display); font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 8px; }
@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .profile-header-card { flex-direction: column; text-align: center; }
}

.main-content { padding: 36px 44px; max-width: 1120px; }
.page-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; flex-wrap: wrap; gap: 12px; }
.page-title { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin: 0 0 5px; letter-spacing: -0.01em; }
.page-sub { color: var(--text-muted); font-size: 14.5px; margin: 0; }

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.stat-card { padding: 22px; }
.stat-card .stat-label { font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.stat-card .stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 500; }

.booking-list { display: flex; flex-direction: column; gap: 12px; }
.booking-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; gap: 16px; flex-wrap: wrap; transition: box-shadow 0.15s ease, border-color 0.15s ease; }
.booking-row.booking-row-clickable:hover { box-shadow: var(--shadow-md); border-color: var(--stone-300); }
.booking-row .br-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 260px; }
.booking-row .br-ref { font-weight: 700; font-size: 14.5px; }
.booking-row .br-meta, .booking-row .br-route { font-size: 13px; color: var(--text-muted); overflow-wrap: anywhere; }
.booking-row .br-date { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.booking-row .br-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; max-width: 100%; }
.booking-row .br-price { font-weight: 700; font-family: var(--font-display); font-size: 16px; white-space: nowrap; }
.booking-row.booking-row-awaiting { border-color: var(--mint-deep); background: var(--mint-tint); }
.br-bid-badge { display: inline-flex; align-items: center; gap: 5px; }

.empty-state { text-align: center; padding: 64px 20px; color: var(--text-muted); }
.empty-state .empty-icon { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--stone-300); }
.empty-state h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin-bottom: 6px; color: var(--text); }

.wizard-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.wizard-step { flex: 1; height: 5px; border-radius: 4px; background: var(--stone-200); }
.wizard-step.active, .wizard-step.done { background: var(--black); }
.wizard-step.done { background: var(--mint-deep); }

.move-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.move-type-option { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 18px; cursor: pointer; text-align: center; background: var(--surface); transition: all 0.15s ease; }
.move-type-option:hover { border-color: var(--stone-300); }
.move-type-option.selected { border-color: var(--black); background: var(--stone-100); }
.move-type-option .mt-name { font-weight: 700; font-size: 14px; }
.move-type-option .mt-price { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }

.extras-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.extra-option { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px; cursor: pointer; font-size: 14px; transition: all 0.15s ease; }
.extra-option:hover { border-color: var(--stone-300); }
.extra-option.selected { border-color: var(--black); background: var(--stone-100); }

.quote-summary { background: var(--black); color: #fff; border-radius: var(--radius-md); padding: 26px; margin: 20px 0; }
/* gap guarantees breathing room between the label and value even when the
   value is long enough to wrap (Route, Items) — without it, a wrapped value
   starts flush against the label with zero space, since space-between only
   pushes items apart when there's leftover width to distribute. */
.quote-summary .qs-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: rgba(255,255,255,0.72); gap: 16px; }
.quote-summary .qs-row > span:first-child { flex-shrink: 0; }
.quote-summary .qs-row > span:last-child { text-align: right; }
.quote-summary .qs-total { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.15); font-weight: 700; font-size: 20px; font-family: var(--font-display); color: var(--mint); }

.selection-summary { margin: 14px 0; border: 1.5px solid var(--stone-200); border-radius: var(--radius-md); padding: 4px 16px; }
.selection-summary summary { cursor: pointer; padding: 12px 0; font-weight: 700; font-size: 13.5px; color: var(--black); list-style: none; }
.selection-summary summary::-webkit-details-marker { display: none; }
.selection-summary summary::before { content: '▸'; display: inline-block; margin-right: 8px; color: var(--black); transition: transform 0.15s ease; }
.selection-summary[open] summary::before { transform: rotate(90deg); }
.selection-summary .quote-summary { margin: 0 0 16px; }

.budget-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.budget-card { border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 22px; cursor: pointer; transition: all 0.15s ease; }
.budget-card:hover { border-color: var(--stone-300); }
.budget-card.selected { border-color: var(--black); background: var(--stone-100); }
.budget-card h4 { margin: 0 0 6px; font-family: var(--font-sans); font-size: 15px; font-weight: 700; }

.offer-card { padding: 20px 22px; margin-bottom: 12px; transition: box-shadow 0.15s ease; }
.offer-card.is-best { border-color: var(--mint-deep); box-shadow: 0 0 0 1.5px var(--mint-deep); }
.offer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.offer-driver { font-weight: 700; font-size: 15px; }
.offer-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.offer-amount { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--black); }
.offer-actions { display: flex; gap: 8px; margin-top: 14px; }
.suitability-warning { display: flex; align-items: flex-start; gap: 8px; background: #FFF4E5; border: 1px solid #F0C36D; color: #7A5200; border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12.5px; margin-top: 12px; }
.suitability-warning .icon { flex-shrink: 0; color: #C9891A; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 26px; }

.inventory-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.inventory-chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; background: var(--surface); cursor: pointer; transition: all 0.15s ease; }
.inventory-chip:hover { border-color: var(--stone-300); background: var(--stone-100); }
.inventory-other-input { flex: 1 1 160px; min-width: 120px; }
.inventory-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.inventory-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 14px; }
.inventory-name { flex-shrink: 0; font-size: 13.5px; font-weight: 600; }
.inventory-detail { flex: 1; min-width: 70px; border: none; border-bottom: 1px dashed var(--stone-300, #ccc); font-size: 12.5px; color: var(--text-muted); padding: 2px 4px; outline: none; background: transparent; }
.inventory-detail:focus { border-bottom-color: var(--black); color: var(--text); }
.inventory-adddetail { flex: 1; min-width: 70px; text-align: left; background: none; border: none; color: var(--text-faint); font-size: 12px; text-decoration: underline; cursor: pointer; padding: 0; }
.inventory-adddetail:hover { color: var(--text); }

.movers-row { display: flex; gap: 8px; }
.mover-opt { flex: 1; border: 1.5px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 12px 0; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.15s ease; }
.mover-opt:hover { border-color: var(--stone-300); }
.mover-opt.selected { border-color: var(--black); background: var(--stone-100); }
.qty-stepper { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; }
.qty-stepper button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.inventory-remove { border: none; background: none; cursor: pointer; color: var(--text-muted); display: flex; }

.checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-muted); margin: 10px 0; cursor: pointer; }
.checkbox-row input { margin-top: 2px; }
.checkbox-row a { color: var(--black); font-weight: 700; text-decoration: underline; }
.floor-fields { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 16px; margin: 4px 0 8px 24px; padding: 12px 14px; background: var(--paper); border-radius: var(--radius-sm); }
.floor-fields .form-group { margin-bottom: 0; flex: 1 1 160px; min-width: 90px; }
.floor-fields .form-input { padding: 8px 10px; font-size: 13px; max-width: 140px; }
.elevator-note { flex: 1 1 100%; margin: 0; font-size: 11.5px; font-style: italic; color: var(--text-faint); }

/* ---- Move type cards (move from a home / furniture store pickup) ----
   Always exactly 2 cards, so a fixed 2-column grid (not auto-fit/minmax)
   keeps them side by side at every width - auto-fit's 120px minimum used
   to collapse to a single stacked column under ~320px viewports, which is
   what made the cards look oversized and stacked on smaller phones. */
.movetype-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.movetype-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 18px 8px;
  background: var(--surface); color: var(--text-muted); font-size: 13px; font-weight: 600; text-align: center;
  cursor: pointer; transition: all 0.15s ease; min-width: 0;
}
.movetype-card:hover { border-color: var(--stone-300); }
.movetype-card.selected { border-color: var(--black); background: var(--stone-100); color: var(--text); }
.movetype-icon { display: flex; }

/* ---- Bedroom count (shown for "move from a home") ---- */
.bedroom-row { display: flex; gap: 8px; }
.bedroom-opt { flex: 1; border: 1.5px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 10px 0; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.15s ease; }
.bedroom-opt:hover { border-color: var(--stone-300); }
.bedroom-opt.selected { border-color: var(--black); background: var(--stone-100); }
.bedroom-opt:disabled { opacity: 0.35; cursor: default; }

/* ---- Promo code feedback ---- */
.promo-msg { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin: 8px 0 0; }
.promo-msg-ok { color: var(--mint-deep); }
.promo-msg-bad { color: var(--color-danger); }

.tracker { display: flex; flex-direction: column; gap: 0; margin: 24px 0; }
.tracker-item { display: flex; gap: 14px; padding-bottom: 26px; position: relative; }
.tracker-item:last-child { padding-bottom: 0; }
.tracker-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--stone-200); flex-shrink: 0; margin-top: 3px; z-index: 1; }
.tracker-item.done .tracker-dot { background: var(--mint-deep); }
.tracker-item.current .tracker-dot { background: var(--black); box-shadow: 0 0 0 4px var(--stone-100); }
.tracker-line { position: absolute; left: 6px; top: 16px; bottom: -8px; width: 2px; background: var(--stone-200); }
.tracker-item:last-child .tracker-line { display: none; }
.tracker-item.done .tracker-line { background: var(--mint-deep); }
.tracker-label { font-weight: 700; font-size: 14px; }
.tracker-time { font-size: 12px; color: var(--text-muted); }

.star-rating { display: flex; gap: 6px; }
.star-rating .star-btn { background: none; border: none; padding: 2px; cursor: pointer; color: var(--stone-200); transition: color 0.1s ease, transform 0.1s ease; }
.star-rating .star-btn:hover { transform: scale(1.12); }
.star-rating .star-btn.filled { color: var(--mint-deep); }
.star-rating .star-btn.filled svg { fill: currentColor; }
.star-rating .star-btn svg { pointer-events: none; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(10,10,10,0.55); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 20px; backdrop-filter: blur(2px); }
.modal-card { width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; border-radius: var(--radius-lg); }

.pending-quote-banner { background: var(--mint-tint); border: 1.5px solid var(--mint-deep); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.pending-quote-banner .icon { color: var(--mint-deep); }
.pending-quote-banner strong { display: block; font-size: 14px; }
.pending-quote-banner span { font-size: 13px; color: var(--mint-deep); }

@media (max-width: 900px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-brand-panel { display: none; }
  .auth-mobile-logo { display: block; }
  .app-shell { grid-template-columns: 1fr; }
  /* Sidebar becomes an off-canvas drawer (slides in from the left over a
     backdrop) instead of a labelless horizontally-scrolling icon row — the
     nav keeps its normal column layout with full icon+label rows, same as
     desktop, since the drawer has the full width to itself. */
  .sidebar {
    position: fixed; top: 0; left: 0; height: 100vh; width: 280px; max-width: 82vw;
    transform: translateX(-100%); transition: transform 0.25s ease; z-index: 110;
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .sidebar.open { transform: translateX(0); }
  .topbar { padding: 12px 18px; }
  .topbar-menu-btn { display: flex; margin-right: auto; }
  .topbar-user-btn strong { display: none; }
  /* Same reasoning as the landing container gutter: on a 375px phone the
     old 18px page padding plus the card's own 24px left ~291px of usable
     width for the booking wizard. Tightening both gives it ~325px. */
  .main-content { padding: 18px 12px; }
  .card { padding: 16px 14px; }
  /* Stat cards stay in a 3-up row instead of stacking to 1 column — three
     tall, heavily-padded boxes each holding "label + number" wasted a full
     screen of vertical space for almost no content when stacked. */
  .stat-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
  .stat-card { padding: 12px 10px; }
  .stat-card .stat-label { font-size: 10.5px; margin-bottom: 4px; }
  .stat-card .stat-value { font-size: 20px; }
  .move-type-grid, .extras-grid, .budget-options { grid-template-columns: 1fr; }
  /* Two-column detail pages (booking detail, support, etc.) — forced side-
     by-side columns squeezed both down to under 200px each on a phone,
     which is what made these pages look broken/cramped on mobile. */
  .detail-grid { grid-template-columns: 1fr; }
  .floor-fields { margin-left: 8px; }
}

/* ---- Wizard price step — mirrors the landing instant-quote reveal ---- */
.qw-price-card { background: var(--black); color: #fff; border-radius: var(--radius-md); padding: 24px 26px 18px; margin: 16px 0; }
.qw-price-reveal { text-align: center; padding: 4px 0; }
.qw-price-label { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.qw-price-amount { font-family: var(--font-display); font-size: 40px; font-weight: 500; color: var(--mint); margin: 8px 0 4px; letter-spacing: -0.02em; }
.qw-price-range { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.qw-map-link { display: flex; align-items: center; justify-content: center; gap: 5px; text-align: center; color: var(--mint); font-size: 11.5px; font-weight: 600; text-decoration: none; margin-top: 6px; }
.qw-map-link:hover { text-decoration: underline; }
.qw-map-link .icon { width: 12px; height: 12px; flex-shrink: 0; }
.qw-breakdown { margin-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.qw-breakdown-row { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.7); gap: 12px; }
.qw-detailed-breakdown-toggle > summary { text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; }
.qw-detailed-breakdown { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; }
.qw-detailed-breakdown .selection-summary { margin: 0; }
.qw-detailed-title { font-size: 12px; font-weight: 700; color: var(--stone-500, #78716C); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 2px; }
.qw-detail-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.qw-detail-row { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--stone-100, #F5F5F4); font-size: 13px; }
.qw-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.qw-detail-label { font-size: 10.5px; font-weight: 700; color: var(--stone-500, #78716C); text-transform: uppercase; letter-spacing: 0.05em; }
.qw-detail-value { color: var(--black); line-height: 1.5; word-break: break-word; }
.qw-detail-photo-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.qw-detail-photo-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--stone-200); }
