:root {

  --green-primary: #1A7A4C;
  --green-dark:    #145E3A;
  --green-light:   #E8F5EF;
  --green-mid:     #2AA065;

  --ink:    #0F1C1A;
  --ink-2:  #2D3B38;
  --muted:  #8A9590;
  --border: #E4EAE8;
  --cream:  #FAFAF8;
  --white:  #FFFFFF;

  --glass-bg:   rgba(255,255,255,0.92);
  --glass-blur: blur(20px);

  --TYPE-house:      #1A7A4C;
  --TYPE-apartment:  #2E6E86;
  --TYPE-studio:     #C48A0A;
  --TYPE-commercial: #8F4023;
  --TYPE-land:       #6B4A36;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body, html {
  height: 100%; width: 100%;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  -webkit-font-smoothing: antialiased;
}



/* -- Map fills viewport -- */
#map {
  height: 100%; width: 100%;
  position: absolute; top: 0; left: 0; z-index: 0;
}
.gmnoprint, .gm-style-cc, .gm-bundled-control { display: none !important; }

/* ============================
   TOP BAR
============================ */
.topbar {
  position: absolute;
  top: var(--safe-area-top);
  left: 0; right: 0;
  z-index: 15;
  padding: 10px 16px 0;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }

/* Search icon (collapsed) */
.search-icon-btn {
  position: absolute;
  top: 10px; left: 16px;
  width: 46px; height: 46px;
  border-radius: 23px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  color: var(--green-primary);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateX(-10px) scale(0.9);
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(.22,1,.36,1), transform 220ms cubic-bezier(.22,1,.36,1);
  z-index: 16;
  cursor: pointer;
}
.search-icon-btn.visible {
  opacity: 1; transform: translateX(0) scale(1); pointer-events: auto;
}

/* Search bar (expanded) */
.search-container {
  position: absolute;
  top: 10px; left: 16px; right: 68px;
  height: 46px;
  z-index: 17;
  width: 46px;
  opacity: 0;
  filter: blur(8px);
  transform: translateX(-12px);
  transition:
    width 300ms cubic-bezier(.22,1,.36,1),
    opacity 250ms cubic-bezier(.22,1,.36,1),
    filter 280ms cubic-bezier(.22,1,.36,1),
    transform 280ms cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.search-container.open {
  width: calc(100% - 32px);
  opacity: 1; filter: blur(0); transform: translateX(0); pointer-events: auto;
}
.search-input-wrapper {
  height: 100%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 23px;
  display: flex; align-items: center;
  padding: 0 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  border: 1px solid rgba(255,255,255,0.5);
  overflow: hidden;
}
.search-input-wrapper input {
  flex: 1; min-width: 0;
  border: none; background: transparent;
  font-size: 15px; font-family: 'Inter', sans-serif;
  font-weight: 500;
  outline: none;
  color: var(--ink);
  caret-color: var(--green-primary);
}
.search-input-wrapper input::placeholder { color: var(--muted); font-weight: 400; }
.search-clear {
  display: none; background: none; border: none;
  color: var(--muted); font-size: 18px; padding: 0; cursor: pointer;
}
.search-container.open .search-clear { display: block; }

/* Filter button */
.filter-btn {
  position: absolute;
  top: 10px; right: 16px;
  width: 46px; height: 46px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 23px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  z-index: 18;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--ink-2);
  font-size: 19px;
  cursor: pointer;
  transition: opacity 220ms, transform 220ms;
}
.filter-btn.hidden { opacity: 0; transform: translateX(10px) scale(0.92); pointer-events: none; }
.filter-badge {
  position: absolute; top: -2px; right: -2px;
  width: 10px; height: 10px;
  background: var(--green-primary);
  border-radius: 50%; border: 2px solid white;
}

/* -- Offline banner -- */
.offline-banner {
  position: absolute;
  top: calc(var(--safe-area-top) + 66px);
  left: 50%; transform: translateX(-50%);
  background: rgba(232,163,61,0.95);
  backdrop-filter: blur(15px);
  color: #2b1d0e;
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 13px; font-weight: 600;
  z-index: 10; display: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  white-space: nowrap;
  pointer-events: none;
}

/* ============================
   LOCATE ME BUTTON - FIXED on screen just above the bottom nav,
   exactly like the chat page's AI button.
============================ */
.locate-btn {
  position: fixed;
  /* Anchored to the MEASURED nav footprint (--nav-measured, kept current by
     app.js ResizeObserver) - same anti-drift anchor as the chat AI button. */
  bottom: calc(var(--nav-measured, var(--navbar-height)) + 14px);
  /* Stay aligned with the centred 430px app column on wide screens */
  right: max(14px, calc(50% - 215px + 14px));
  z-index: 12;
  display: flex; align-items: center; gap: 6px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 22px;
  padding: 9px 15px 9px 11px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  font-size: 13px; font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.locate-btn:active { transform: scale(0.96); }
.locate-btn i { font-size: 17px; color: var(--green-primary); }
.locate-btn.locating i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================
   PREVIEW FLOATING CARD - FIXED modal just above the bottom nav,
   centred within the app column - identical mechanics to the chat modal.
============================ */
.preview-sheet {
  position: fixed;
  /* Anchored to the MEASURED nav footprint - same anti-drift anchor as the
     chat modal. */
  bottom: calc(var(--nav-measured, var(--navbar-height)) + 12px);
  /* Centred within the centred 430px app column (left/right + max-width +
     margin:auto, like my-home's sheets and the chat modal) */
  left: 16px;
  right: 16px;
  max-width: 398px;
  margin: 0 auto;
  z-index: 20;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.20), 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;

  /* hidden state - small lift into view (same as the chat modal) */
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.28s cubic-bezier(.22,1,.36,1),
    transform 0.28s cubic-bezier(.22,1,.36,1),
    visibility 0s linear 0.28s;
}
.preview-sheet.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.28s cubic-bezier(.22,1,.36,1),
    transform 0.28s cubic-bezier(.22,1,.36,1);
}

/* Padded image that sits inside the card with its own border radius */
.preview-img-wrap {
  position: relative;
  padding: 10px 10px 0;
}
.preview-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #d0dbd8;
}
.preview-img-slot {
  position: absolute;
  top: 10px; left: 10px; right: 10px;
  height: 160px;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(45, 59, 56, 0.35);
  font-size: 36px;
  pointer-events: none;
}
.preview-img-wrap.no-image .preview-img-slot {
  display: flex;
}

/* Close button - top-right of the whole card, styled like the save heart */
.preview-close-btn {
  position: absolute;
  top: 16px; right: 20px;
  z-index: 3;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1.5px solid var(--border);
  color: var(--ink-2, #2D3B38);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, background 0.15s ease;
}
.preview-close-btn:active {
  transform: scale(0.92);
  background: var(--green-light, #E8F5EF);
}

/* Info area */
.preview-card-body {
  padding: 12px 14px 10px;
  position: relative;
}

/* Zone preview card - centred "VETTED ZONE" label at top
   (applied via .zone-mode modifier on the card body) */
.preview-card-body.zone-mode .preview-type-label {
  text-align: center;
  font-size: 12px;
  margin: 2px 0 12px;
}

/* "Available property types" heading above the word pips */
.preview-zone-types-heading {
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

/* Zone types as a text line (words with icons) */
.preview-zone-types-text {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  align-items: center;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  margin: 0 0 10px;
}
.zone-type-word {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
}
.zone-type-word i { font-size: 12px; color: var(--green-primary); }

/* "Price range" heading above the zone price */
.preview-price-label {
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

/* Type label above title */
.preview-type-label {
  font-size: 11px; font-weight: 700;
  color: var(--green-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 3px;
}
.preview-card-title {
  font-size: 15px; font-weight: 800; color: var(--ink);
  line-height: 1.25; margin-bottom: 2px;
  padding-right: 34px; /* clear save btn */
}
.preview-card-location {
  font-size: 12px; color: var(--muted); font-weight: 500;
  display: flex; align-items: center; gap: 3px;
  margin-bottom: 8px;
}
.preview-card-location i { font-size: 12px; color: var(--green-mid); }
.preview-card-description {
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  line-height: 1.4;
  display: flex; align-items: flex-start; gap: 5px;
  margin-bottom: 8px;
}
.preview-card-description i { font-size: 13px; color: var(--muted); margin-top: 1px; }
.preview-card-price {
  font-size: 17px; font-weight: 800; color: var(--green-primary);
  margin-bottom: 8px;
}
.preview-card-price span {
  font-size: 12px; font-weight: 500; color: var(--muted);
}
.preview-card-specs {
  display: flex; gap: 12px; align-items: center;
  padding-bottom: 2px;
}
.preview-spec {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--muted); font-weight: 500;
}
.preview-spec i { font-size: 13px; color: var(--green-mid); }

/* Save heart - absolute top-right of body */
.preview-save-btn {
  position: absolute; top: 12px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.preview-save-btn.saved { color: #E05252; background: #FFF0F0; border-color: #F5C6C6; }

/* Compact action buttons */
.preview-actions {
  display: flex; gap: 7px;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--border);
}
.preview-action-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px 4px;
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.preview-action-btn:active { opacity: 0.82; }
.preview-action-btn i { font-size: 13px; }
.pab-call     { background: var(--green-primary); color: white; }
.pab-whatsapp { background: #25D366; color: white; }
.pab-visit    { background: var(--cream); color: var(--ink-2); border: 1.5px solid var(--border); }

/* ============================
   FILTER BOTTOM SHEET
============================ */
.filter-sheet {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  padding: 0 0 calc(20px + var(--safe-area-bottom));
  z-index: 40;
  transform: translateY(100%);
  /* visibility gating: a merely translated-off-screen sheet still paints
     its upward shadow over the bottom nav and can phantom-capture taps -
     fully hide it while closed (delay keeps the slide-down animation). */
  visibility: hidden;
  transition:
    transform 0.32s cubic-bezier(.32,0,.67,0),
    visibility 0s linear 0.32s;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.18);
  max-height: 78vh; overflow-y: auto;
}
.filter-sheet.show {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.32s cubic-bezier(.22,1,.36,1);
}

.filter-sheet-inner { padding: 0 20px; }
.filter-handle { width: 36px; height: 4px; background: var(--border); border-radius: 2px; margin: 14px auto 18px; }

.filter-section-title { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.filter-sheet h4 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.filter-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.filter-sheet-header h4 { margin-bottom: 0; }
.reset-link {
  background: none; border: none; padding: 0;
  color: var(--green-primary); font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer;
}

/* Chip selectors */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }.chip {
  padding: 7px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--cream); color: var(--ink-2);
  cursor: pointer; transition: all 0.15s ease;
  user-select: none;
}
.chip.active { background: var(--green-primary); color: white; border-color: var(--green-primary); }

/* Per-type count badge (only shown when a location filter is set) */
.chip .chip-count {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 10px;
  background: rgba(0,0,0,0.08);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}
.chip.active .chip-count { background: rgba(255,255,255,0.25); color: #fff; }
/* Zero matches for this type within the scoped location */
.chip.dim { opacity: 0.45; pointer-events: none; }

/* Price inputs */
.price-inputs { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; }
.price-input-wrap { flex: 1; position: relative; }
.price-input-wrap input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-size: 14px; font-family: 'Inter', sans-serif; font-weight: 500;
  color: var(--ink);
  outline: none;
}
.price-input-wrap input:focus { border-color: var(--green-primary); }
.price-sep { color: var(--muted); font-weight: 600; }

.apply-btn {
  width: 100%; padding: 15px;
  background: var(--green-primary); color: white;
  border: none; border-radius: 16px;
  font-size: 15px; font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.15s;
}
.apply-btn:active { opacity: 0.88; }

.cancel-btn {
  width: 100%; padding: 15px;
  background: #fff; color: var(--green-primary);
  border: 1.5px solid var(--green-primary); border-radius: 16px;
  font-size: 15px; font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 10px;
  transition: opacity 0.15s;
}
.cancel-btn:active { opacity: 0.88; }

/* Dim backdrop */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.35);
  z-index: 35; display: none;
}
.sheet-backdrop.show { display: block; }

/* ============================
   SIGN-IN PROMPT
============================ */
.signin-prompt {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  padding: 28px 24px calc(28px + var(--safe-area-bottom));
  z-index: 50; text-align: center;
  transform: translateY(100%);
  /* visibility gating - see .filter-sheet note above. */
  visibility: hidden;
  transition:
    transform 0.32s cubic-bezier(.22,1,.36,1),
    visibility 0s linear 0.32s;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}
.signin-prompt.show {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.32s cubic-bezier(.22,1,.36,1);
}
.signin-icon { font-size: 36px; color: var(--green-primary); margin-bottom: 12px; }
.signin-prompt h5 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.signin-prompt p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.signin-primary-btn {
  width: 100%; padding: 15px;
  background: var(--green-primary); color: white;
  border: none; border-radius: 16px;
  font-size: 15px; font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer; margin-bottom: 10px;
}
.signin-btn-row { display: flex; gap: 10px; margin-bottom: 10px; }
.signin-btn-row .signin-primary-btn { margin-bottom: 0; flex: 1; width: auto; }
.signin-outline-btn {
  flex: 1; padding: 15px;
  background: #fff; color: var(--green-primary);
  border: 1.5px solid var(--green-primary); border-radius: 16px;
  font-size: 15px; font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}
.signin-cancel-btn {
  background: none; border: none;
  font-size: 14px; color: var(--muted); font-weight: 500;
  cursor: pointer; font-family: 'Inter', sans-serif;
  padding: 8px;
}

/* ============================
   BOTTOM NAV
============================ */

/* -- Location filter (search + suggestions) -- */
.location-filter { position: relative; margin-bottom: 20px; }
#locationFilterInput {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; border: 1.5px solid #E4EAE8;
  border-radius: 14px; font-family: inherit; font-size: 15px;
  background: #F7FAF8; color: #0F1C1A; outline: none;
  transition: border-color .15s ease, background .15s ease;
}
#locationFilterInput:focus { border-color: #1D9E6F; background: #FFFFFF; }
.location-suggestions {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  background: #FFFFFF; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15,28,26,.18);
  overflow: hidden; max-height: 240px; overflow-y: auto;
  display: none; z-index: 30;
}
.location-suggestions.show { display: block; }
.loc-sug-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  width: 100%; padding: 12px 14px; border: none; background: none;
  font-family: inherit; font-size: 14.5px; color: #0F1C1A;
  cursor: pointer; text-align: left;
}
.loc-sug-item i { color: #1D9E6F; margin-right: 6px; }
.loc-sug-item:hover, .loc-sug-item:active { background: #EAF6F0; }
.loc-sug-count { font-size: 12px; color: #8A94A6; flex-shrink: 0; }
.loc-sug-empty { padding: 12px 14px; font-size: 13.5px; color: #8A94A6; }

/* -- Search bar suggestions dropdown -- */
#searchContainer { overflow: visible; }
.search-suggestions {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: none; z-index: 40;
}
.search-suggestions.show { display: block; }
.loc-sug-header {
  padding: 10px 14px 4px; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: #8A94A6;
}

/* ============================
   MARKET TOGGLE + PICKER MODAL
   A round button on the RIGHT edge, vertically centred between the
   filter button (top) and "Locate me" (bottom). Icon-only.
============================ */
.market-btn {
  position: fixed;
  bottom: calc(var(--nav-measured, var(--navbar-height)) + 104px);
  /* Same right-edge alignment as the locate button (centred column aware) */
  right: max(14px, calc(50% - 215px + 14px));
  z-index: 12;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  color: var(--ink-2);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.market-btn:active { transform: scale(0.94); }
.market-btn i { font-size: 19px; color: var(--green-primary); }
.market-btn[data-market="vetted"] { border-color: var(--green-primary); }
.market-btn[data-market="vetted"] i { color: var(--green-primary); }

/* Attention pulse - subtle expanding ring to draw the eye without noise */
.market-btn.pulse::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green-primary, #1A7A4C);
  opacity: 0;
  animation: marketPulse 1.6s ease-out infinite;
}
@keyframes marketPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.market-modal { display: none; position: fixed; inset: 0; z-index: 100; }
.market-modal.show { display: flex; align-items: center; justify-content: center; }
.market-modal-backdrop {
  position: absolute; inset: 0; background: rgba(15,20,25,0.5);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.market-modal-card {
  position: relative; z-index: 1;
  width: calc(100% - 40px); max-width: 380px;
  background: var(--white); border-radius: 20px; padding: 22px 18px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}
.market-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border: none; background: var(--cream);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--muted); cursor: pointer; font-size: 15px;
}
.market-modal-card h4 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--ink); }
.market-modal-sub { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.market-option {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  border: 1.5px solid var(--border); border-radius: 16px;
  background: var(--white); padding: 14px; margin-bottom: 10px;
  font-family: inherit; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.market-option:last-child { margin-bottom: 0; }
.market-option.active { border-color: var(--green-primary); background: var(--green-light); }
.market-option-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light); color: var(--green-primary); font-size: 19px; flex-shrink: 0;
}
.market-option[data-market="vetted"] .market-option-icon { background: var(--green-light); color: var(--green-primary); }
.market-option-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.market-option-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.market-option-sub { font-size: 12.5px; color: var(--muted); }
.market-option-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 13px; flex-shrink: 0;
}
.market-option.active .market-option-check { background: var(--green-primary); border-color: var(--green-primary); }

/* Zone "View properties" button in the preview card */
.zone-view-btn {
  width: 100%; margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green-primary); color: var(--white);
  border: none; border-radius: var(--radius-md);
  padding: 12px; font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.zone-view-btn:active { opacity: 0.9; transform: scale(0.99); }
