/* Ayyanbhoomi — quiet-luxury interface system */
:root {
  --ab-forest-950: #082a20;
  --ab-forest-900: #0b3d2e;
  --ab-forest-800: #14523f;
  --ab-forest-100: #e5eee9;
  --ab-ivory: #f7f4ec;
  --ab-paper: #fffdf8;
  --ab-ink: #17251f;
  --ab-muted: #64736c;
  --ab-line: #d9e1dc;
  --ab-gold: #a9852d;
  --ab-rust: #9e5032;
  --ab-stone: #68746f;
  --ab-font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ab-text-xs: .6875rem;
  --ab-text-sm: .8125rem;
  --ab-text-base: .9375rem;
  --ab-text-lg: 1.125rem;
  --ab-text-xl: 1.375rem;
  --ab-radius-sm: 8px;
  --ab-radius-md: 12px;
  --ab-radius-lg: 18px;
  --ab-radius-pill: 999px;
  --ab-shadow-sm: 0 4px 14px rgba(8,42,32,.10);
  --ab-shadow-md: 0 14px 40px rgba(8,42,32,.16);
  --ab-motion-fast: 160ms;
  --ab-motion: 220ms;
  --ab-control: 44px;
  --ab-color-available: var(--ab-forest-900);
  --ab-color-filtered-out: var(--ab-stone);
  --ab-color-sold: var(--ab-rust);
  --ab-brand-primary: var(--ab-forest-900);
  --ab-brand-primary-hover: var(--ab-forest-800);
  --ab-brand-accent: var(--ab-gold);
  --ab-brand-gold: var(--ab-gold);
  --ab-glass-bg: rgba(255,253,248,.94);
  --ab-glass-border: rgba(255,255,255,.76);
  --ab-glass-shadow: var(--ab-shadow-md);
  --ab-glass-blur: blur(10px) saturate(110%);
}

* { scrollbar-width: thin; scrollbar-color: #aebdb5 transparent; }
body { color: var(--ab-ink); font-family: var(--ab-font-sans); }
button, input, select, textarea { font: inherit; }
button { min-height: var(--ab-control); }
:focus-visible { outline: 3px solid rgba(169,133,45,.55); outline-offset: 2px; }
.skip-link { position: fixed; z-index: 2000; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; background: white; color: var(--ab-forest-900); font-weight: 800; }
.skip-link:focus { transform: none; }

/* Header */
.app-header {
  position: fixed;
  top: 14px;
  left: 16px;
  right: 16px;
  height: 58px;
  z-index: var(--ab-z-controls);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 15px;
  background: rgba(247,244,236,.91);
  backdrop-filter: blur(8px) saturate(108%);
  box-shadow: 0 6px 24px rgba(8,42,32,.11);
  pointer-events: none;
}
.header-brand-avatar, .header-left, .header-actions, .site-menu { pointer-events: auto; }
.app-header::before,.app-header::after,.map-header::before,.map-header::after { pointer-events:none; }
.header-brand-avatar {
  width: 46px;
  height: 46px;
  padding: 7px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: var(--ab-forest-900);
  box-shadow: none;
  cursor: pointer;
  transition: background var(--ab-motion-fast), transform var(--ab-motion-fast);
}
.header-brand-avatar:hover { background: var(--ab-forest-800); transform: translateY(-1px); }
.header-brand-avatar img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.header-center-pill {
  position: static;
  min-width: 0;
  height: auto;
  padding: 0;
  display: grid;
  gap: 0;
  justify-items: start;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.brand-name { color: var(--ab-ink); font-size: 18px; line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.brand-slogan { color: var(--ab-muted); font-size: 8px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; }
.btn-header-cta {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--ab-forest-900);
  color: white;
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  transition: background var(--ab-motion-fast), transform var(--ab-motion-fast);
}
.btn-header-cta:hover { background: var(--ab-forest-800); transform: translateY(-1px); }
.site-menu { position: absolute; top: 52px; left: 6px; width: 252px; padding: 7px; display: grid; gap: 2px; border: 1px solid var(--ab-line); border-radius: 12px; background: var(--ab-paper); box-shadow: var(--ab-shadow-md); }
.site-menu[hidden] { display: none; }
.site-menu a { padding: 11px 12px; border-radius: 7px; color: var(--ab-ink); font-size: 12px; font-weight: 700; text-decoration: none; }
.site-menu a:hover { background: var(--ab-forest-100); }

/* Opening experience */
.hero-overlay { padding: 22px; background: linear-gradient(100deg, rgba(8,42,32,.9), rgba(8,42,32,.62)), image-set(url('../assets/hero-bg.avif') type('image/avif'), url('../assets/hero-bg.webp') type('image/webp')) center/cover no-repeat; backdrop-filter: blur(4px); }
.hero-card { max-width: 610px; padding: clamp(30px,5vw,48px); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(8,42,32,.74); box-shadow: 0 24px 64px rgba(4,22,16,.26); color: white; }
.hero-logo-wrapper { max-width: 280px; margin-bottom: 20px; }
.hero-eyebrow { margin: 0 0 10px; color: #d6bd76; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-headline { margin: 0; color: white; font-size: clamp(2rem,5vw,3.6rem); line-height: 1.02; letter-spacing: -.045em; }
.hero-description { max-width: 520px; margin: 18px auto 24px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.7; }
.btn-hero-primary { width: auto; min-height: 46px; padding: 0 20px; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; background: var(--ab-paper); color: var(--ab-forest-900); box-shadow: none; font-size: 12px; letter-spacing: 0; }
.btn-hero-primary:hover { background: white; transform: translateY(-1px); box-shadow: none; }

/* Map chrome */
.map-legend, .map-mode-control, .map-filter-control { position: fixed; bottom: 16px; z-index: var(--ab-z-controls); border: 1px solid rgba(255,255,255,.78); background: rgba(255,253,248,.92); backdrop-filter: blur(8px); box-shadow: var(--ab-shadow-sm); }
.map-legend { left: 16px; display: flex; gap: 2px; padding: 4px; border-radius: 11px; }
.legend-option { min-height: 32px; padding: 0 7px; display: inline-flex; align-items: center; gap: 5px; border-radius: 7px; color: #40534a; font-size: 10px; font-weight: 700; cursor: pointer; transition: background var(--ab-motion-fast); }
.legend-option:hover { background: rgba(11,61,46,.06); }
.legend-option input { width: 13px; height: 13px; accent-color: var(--ab-forest-900); }
.legend-option strong { min-width: 18px; color: var(--ab-forest-900); font-size: 10px; font-variant-numeric: tabular-nums; }
.legend-swatch { width: 7px !important; height: 7px !important; margin: 0 !important; border-radius: 50%; }
.legend-swatch.available { background: var(--ab-forest-900); }
.legend-swatch.filtered { background: var(--ab-stone); }
.legend-swatch.sold { background: var(--ab-rust); }
.map-mode-control { left: 50%; transform: translateX(-50%); padding: 4px; border-radius: var(--ab-radius-pill); }
.display-switcher { min-height: 34px; padding: 2px; display: flex; background: #e8ede9; border: 0; border-radius: var(--ab-radius-pill); }
.switcher-option { min-width: 58px; min-height: 30px; padding: 3px 10px; border-radius: var(--ab-radius-pill); color: #52625b; font-size: 10px; font-weight: 800; transition: background var(--ab-motion-fast), color var(--ab-motion-fast); }
.switcher-option.active { background: var(--ab-forest-900); color: white; box-shadow: 0 2px 6px rgba(8,42,32,.18); }
.map-filter-control { right: 16px; padding: 4px; border-radius: 11px; }
.map-filter-control .btn-dock-filter { position: relative; inset: auto; transform: none; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 8px; background: var(--ab-forest-900); color: white; box-shadow: none; transition: background var(--ab-motion-fast); }
.map-filter-control .btn-dock-filter:hover { background: var(--ab-forest-800); transform: none; }
.filter-badge { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid white; border-radius: 10px; background: var(--ab-gold); color: white; font-size: 9px; font-weight: 900; }
.filter-badge[data-empty="true"] { display: none; }
.leaflet-control-zoom { margin-top: 88px !important; margin-right: 16px !important; border-radius: 9px !important; box-shadow: var(--ab-shadow-sm) !important; }
.leaflet-control-attribution { margin-right: 74px !important; }

/* Markers */
.ab-marker-pill { min-height: 29px; gap: 5px; padding: 4px 10px 4px 5px; border: 1px solid rgba(255,255,255,.65); box-shadow: 0 4px 12px rgba(8,42,32,.22); font-size: 10px; letter-spacing: 0; }
.ab-marker-icon { width: 20px; min-width: 20px; height: 20px; padding: 0; font-size: 9px; text-transform: lowercase; }
.ab-marker-val { font-variant-numeric: tabular-nums; }
.ab-marker { appearance:none; padding:0; border:0; background:transparent; font:inherit; }
.ab-marker:focus-visible .ab-marker-pill { outline:3px solid #fff; box-shadow:0 0 0 5px var(--ab-gold),0 7px 18px rgba(8,42,32,.28); }
.ab-marker-selected .ab-marker-pill { box-shadow: 0 0 0 2px #d4b45c, 0 7px 18px rgba(8,42,32,.28); }

/* Drawer and forms */
.glass-panel { background: rgba(255,253,248,.98); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--ab-shadow-md); backdrop-filter: blur(8px); }
.filter-drawer { top: 86px; right: 16px; bottom: 16px; width: 400px; border-radius: 16px; transform: translateX(430px); }
.drawer-header { padding: 18px 20px; }
.drawer-title { color: var(--ab-forest-900); font-size: 17px; letter-spacing: -.02em; }
.drawer-body { padding: 18px 20px; gap: 19px; }
.drawer-footer { padding: 14px 20px; gap: 10px; }
.btn-close-panel { width: 38px; height: 38px; min-height: 38px; background: #efeee8; color: #65736c; font-size: 14px; }
.form-group { gap: 7px; }
.form-label { color: #314a3f; font-size: 11px; }
.form-control { min-height: 42px; padding: 9px 11px; border: 1px solid #cbd7d1; border-radius: 9px; background: white; color: var(--ab-ink); font-size: 12px; }
.form-control:hover { border-color: #94a99f; }
.form-control:focus { border-color: var(--ab-gold); box-shadow: 0 0 0 3px rgba(169,133,45,.13); }
.range-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.range-input-grid label { display: grid; gap: 5px; color: var(--ab-muted); font-size: 10px; font-weight: 700; }
.price-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.price-preset { min-height: 40px; padding: 7px 11px; border: 1px solid #cbd7d1; border-radius: 7px; background: var(--ab-paper); color: #40534a; font-size: 9px; font-weight: 800; cursor: pointer; }
.price-preset:hover { border-color: var(--ab-forest-900); }
.price-preset.active { border-color: var(--ab-forest-900); background: var(--ab-forest-100); color: var(--ab-forest-900); }
input[type="range"] { height: 5px; background: #dfe7e2; }
input[type="range"]::-webkit-slider-thumb { width: 18px; height: 18px; background: var(--ab-gold); box-shadow: 0 2px 5px rgba(8,42,32,.2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; background: var(--ab-gold); }
.slider-val-badge { color: var(--ab-gold); font-size: 10px; }
.filter-more { border-top: 1px solid var(--ab-line); padding-top: 12px; }
.filter-more summary { cursor: pointer; color: var(--ab-forest-900); font-size: 11px; font-weight: 800; }
.filter-more[open] { display: grid; gap: 16px; }
.chip-label { min-height: 34px; padding: 5px 10px; border-color: #cbd7d1; border-radius: 8px; font-size: 10px; }
.chip-item input:checked + .chip-label { background: var(--ab-forest-900); border-color: var(--ab-forest-900); }
.btn-reset-filters, .btn-apply-filters { min-height: 42px; border-radius: 9px; font-size: 11px; box-shadow: none; }
.btn-apply-filters { background: var(--ab-forest-900); }
.btn-apply-filters:hover { background: var(--ab-forest-800); }
.btn-reset-filters { border-color: #b8c8c0; }

/* Details and modal surfaces */
.details-panel { top: 86px; left: 16px; bottom: 16px; width: min(410px, calc(100vw - 32px)); border-radius: 16px; }
.panel-header, .panel-footer { padding: 17px 20px; }
.panel-body { padding: 18px 20px; gap: 18px; }
.financial-summary-grid { gap: 9px; padding: 13px; border-radius: 11px; }
.btn-enquire-full { min-height: 44px; padding: 10px; border-radius: 9px; background: var(--ab-forest-900); box-shadow: none; }
.modal-scrim { z-index:1400; background: rgba(8,30,23,.5); backdrop-filter: blur(5px); }
.modal-card { border-radius: 16px; box-shadow: 0 24px 60px rgba(8,30,23,.24); }
.modal-header { padding: 17px 20px; }
.modal-body { padding: 20px; }
.map-empty-state { position: fixed; z-index: var(--ab-z-controls); left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(340px,calc(100vw - 32px)); padding: 20px; display: grid; gap: 7px; text-align: center; border: 1px solid white; border-radius: 13px; background: var(--ab-paper); box-shadow: var(--ab-shadow-md); }
.map-empty-state[hidden] { display: none; }
.map-empty-state span { color: var(--ab-muted); font-size: 12px; }
.map-empty-state button { margin-top: 5px; border-radius: 8px; background: var(--ab-forest-900); color: white; font-weight: 800; }

/* Tablet */
@media (max-width: 1023px) {
  .app-header { left: 12px; right: 12px; }
  .filter-drawer { right: 12px; width: 380px; }
  .details-panel { left: 12px; width: 380px; }
  .map-legend { left: 12px; }
  .map-filter-control { right: 12px; }
}

/* Mobile */
@media (max-width: 767px) {
  .app-header { top: 8px; left: 8px; right: 8px; height: 52px; grid-template-columns: 40px minmax(0,1fr) 40px; gap: 8px; padding: 5px; border-radius: 12px; }
  .header-brand-avatar { width: 40px; height: 40px; padding: 6px; border-radius: 8px; }
  .brand-name { font-size: 14px; }
  .brand-slogan { font-size: 6px; letter-spacing: .08em; }
  .btn-header-cta { width: 40px; min-height: 40px; padding: 0; justify-content: center; border-radius: 8px; }
  .btn-header-cta span { display: none; }
  .site-menu { top: 46px; left: 0; width: min(252px, calc(100vw - 16px)); }
  .leaflet-control-zoom { margin-top: 72px !important; margin-right: 8px !important; }
  .leaflet-control-attribution { margin-right: 64px !important; max-width: calc(100vw - 70px); font-size: 8px !important; }
  .map-legend { top: 68px; bottom: auto; left: 8px; right: 60px; padding: 3px; overflow-x: auto; scrollbar-width: none; }
  .legend-option { flex: 0 0 auto; min-height: 29px; padding: 0 5px; font-size: 9px; }
  .legend-option input { width: 12px; height: 12px; }
  .legend-option strong { min-width: 15px; font-size: 9px; }
  .map-mode-control { left: 8px; bottom: max(8px,env(safe-area-inset-bottom)); transform: none; }
  .map-filter-control { right: 8px; bottom: max(8px,env(safe-area-inset-bottom)); }
  .filter-drawer, .details-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100vw; border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); }
  .filter-drawer { height: min(84dvh,720px); }
  .details-panel { height: min(82dvh,700px); }
  .filter-drawer.drawer-active, .details-panel.panel-active { transform: translateY(0); }
  .drawer-header, .panel-header { padding: 15px 17px; }
  .drawer-body, .panel-body { padding: 16px 17px; }
  .drawer-footer, .panel-footer { padding: 12px 17px; }
  .modal-scrim { padding: max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom)); align-items: flex-end; }
  .modal-card { max-height: calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom))); border-radius: 15px 15px 8px 8px; }
  .modal-body { padding: 17px; }
  .ab-marker-pill { transform: scale(.94); transform-origin: bottom center; }
  .hero-overlay { padding: 12px; }
  .hero-card { padding: 28px 20px; border-radius: 15px; }
  .hero-logo-wrapper { max-width: 220px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .map-legend { left: 10px; padding: 2px; }
  .legend-option { padding: 0 4px; font-size: 8px; }
  .legend-option strong { min-width: 15px; font-size: 8px; }
}

@media (max-width: 390px) {
  .map-legend { right: 8px; }
  .legend-option span:not(.legend-swatch) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .range-input-grid { grid-template-columns: 1fr; }
  .financial-summary-grid { grid-template-columns: 1fr 1fr; }
}

/* v13 — full-width trust bar and accessible dual-range refinement */
.app-header {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 76px;
  padding: 0 28px;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid rgba(11,61,46,.13);
  border-radius: 0;
  background: linear-gradient(90deg,rgba(247,245,238,.96),rgba(247,245,238,.88));
  box-shadow: 0 5px 18px rgba(8,42,32,.09);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}
.brand-lockup { gap: 10px; }
.header-brand-avatar {
  width: 44px;
  height: 44px;
  padding: 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}
.brand-lockup-copy,
.header-center-pill {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-name { color: var(--ab-forest-900); font-size: 22px; line-height: 1; }
.brand-slogan { margin-top: 5px; color: #617169; font-size: 8px; line-height: 1; letter-spacing: .16em; }
.btn-header-cta {
  min-height: 48px;
  padding: 0 22px;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: linear-gradient(180deg,#149a95 0%,#087a78 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(8,92,87,.2), inset 0 1px 0 rgba(255,255,255,.24);
  font-size: 13px;
  font-weight: 700;
}
.btn-header-cta svg { width: 22px; height: 22px; padding: 4px; border: 1.5px solid currentColor; border-radius: 50%; }
.btn-header-cta:hover { background: linear-gradient(180deg,#118e89 0%,#076d6b 100%); color: #fff; transform: translateY(-1px); }
.site-menu { top: 62px; left: 28px; }
.map-mode-control { top: 92px; }
.leaflet-control-zoom { margin-top: 92px !important; }
.filter-drawer { top: 92px; right: 18px; bottom: 16px; width: 400px; transform: translateX(435px); }
.details-panel { top: 92px; }
.dual-range { height: 36px; }
.dual-range-track { top: 16px; }

@media (max-width: 1023px) {
  .app-header { height: 70px; padding: 0 18px; }
  .brand-name { font-size: 19px; }
  .filter-drawer { top: 84px; width: 390px; }
  .details-panel { top: 84px; }
  .map-mode-control { top: 84px; }
  .leaflet-control-zoom { margin-top: 84px !important; }
}

@media (max-width: 767px) {
  .app-header { top: 0; right: 0; left: 0; height: 64px; padding: 0 10px; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .brand-lockup { gap: 6px; }
  .header-brand-avatar { width: 38px; height: 38px; padding: 6px; }
  .brand-lockup-copy { display: grid; }
  .brand-name { max-width: none; font-size: 16px; }
  .brand-slogan { display: none; }
  .btn-header-cta { width: auto; min-height: 42px; padding: 0 12px; gap: 7px; background: linear-gradient(180deg,#149a95 0%,#087a78 100%); color: #fff; font-size: 10px; }
  .btn-header-cta svg { width: 19px; height: 19px; padding: 3px; }
  .map-legend { top: 74px; }
  .leaflet-control-zoom { margin-top: 74px !important; }
  .filter-drawer,
  .details-panel { top: auto; right: 0; bottom: 0; left: 0; width: 100vw; }
}

@media (max-width: 390px) {
  .app-header { padding: 0 8px; }
  .brand-name { font-size: 15px; }
  .btn-header-cta { padding: 0 9px; font-size: 9.5px; }
}

/* v14 — reference-led full header and genuine dual ranges */
.app-header {
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 76px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid rgba(11,61,46,.10);
  border-radius: 0;
  background: linear-gradient(270deg,rgba(247,245,238,.90) 0%,rgba(247,245,238,.72) 52%,rgba(215,231,210,.58) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.65) inset,0 8px 28px rgba(22,37,31,.08);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.header-brand-avatar {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 5px;
  flex: 0 0 auto;
  border: 1px solid rgba(11,61,46,.12);
  border-radius: 10px;
  background: rgba(247,245,238,.72);
  box-shadow: 0 1px 0 rgba(255,255,255,.72) inset;
}
.header-brand-avatar img { filter: none; }
.brand-lockup-copy {
  min-height: auto;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
  align-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-name { color: var(--ab-forest-900); font-size: 22px; font-weight: 700; line-height: 1.05; letter-spacing: -.8px; white-space: nowrap; }
.brand-slogan { margin: 0; color: rgba(22,37,31,.72); font-size: 9px; font-weight: 600; line-height: 1.2; letter-spacing: 1.5px; white-space: nowrap; }
.header-actions { justify-self: end; }
.btn-header-cta {
  min-height: 48px;
  padding: 0 20px;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: linear-gradient(180deg,#149a95 0%,#087a78 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset,0 6px 16px rgba(8,74,70,.22);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.btn-header-cta svg { width: 22px; height: 22px; padding: 4px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; }
.btn-header-cta:hover { background: linear-gradient(180deg,#17a7a1 0%,#087a78 100%); color: #fff; transform: translateY(-1px); }
.btn-header-cta:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset,0 3px 9px rgba(8,74,70,.2); }
.btn-header-cta:focus-visible { outline: 3px solid rgba(201,162,39,.7); outline-offset: 3px; }
.btn-header-cta:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.site-menu { top: 68px; left: 28px; }
.map-mode-control { top: 92px; right: 18px; bottom: auto; left: auto; transform: none; }
.leaflet-control-zoom { margin-top: 148px !important; }
.filter-drawer { top: 92px; right: 18px; bottom: 16px; width: 400px; transform: translateX(430px); }
.details-panel { top: 92px; }

.dual-range { position: relative; height: 30px; margin: 0 1px; }
.dual-range-track { position: absolute; top: 13px; left: 9px; right: 9px; height: 4px; border-radius: 999px; background: #dfe7e2; overflow: hidden; }
.dual-range-fill { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--ab-gold); }
.dual-range-input {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 9px;
  width: calc(100% - 18px);
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  pointer-events: none;
}
.dual-range-input::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.dual-range-input::-moz-range-track { height: 4px; background: transparent; }
.dual-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border: 2px solid var(--ab-paper);
  border-radius: 50%;
  background: var(--ab-gold);
  box-shadow: 0 2px 6px rgba(22,37,31,.22);
  cursor: grab;
  pointer-events: auto;
}
.dual-range-input::-moz-range-thumb { width: 20px; height: 20px; border: 2px solid var(--ab-paper); border-radius: 50%; background: var(--ab-gold); box-shadow: 0 2px 6px rgba(22,37,31,.22); cursor: grab; pointer-events: auto; }
.dual-range-input:active::-webkit-slider-thumb { cursor: grabbing; }
.dual-range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(201,162,39,.25),0 2px 6px rgba(22,37,31,.22); }
.dual-range-input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(201,162,39,.25),0 2px 6px rgba(22,37,31,.22); }
.slider-group { gap: 7px; padding-bottom: 2px; }
.slider-val-badge { max-width: 62%; text-align: right; color: #8c6d1f; font-size: 10px; line-height: 1.3; }
.range-input-grid { margin-top: -2px; }
.drawer-body { gap: 16px; }
.legend-option { min-height: 44px; padding: 0 9px; font-size: 10px; }
.legend-option input { width: 16px; height: 16px; }
.legend-option strong { font-size: 10px; }
.ab-marker-pill { min-height: 29px; padding: 4px 9px; font-size: 10.5px; box-shadow: 0 2px 7px rgba(8,42,32,.18); }

@media (max-width: 1023px) {
  .app-header { height: 70px; padding: 0 18px; gap: 16px; }
  .brand-name { font-size: 19px; }
  .brand-slogan { font-size: 8px; }
  .btn-header-cta { min-height: 46px; padding: 0 17px; }
  .site-menu { top: 64px; left: 18px; }
  .map-mode-control { top: 84px; right: 12px; }
  .leaflet-control-zoom { margin-top: 140px !important; }
  .filter-drawer { top: 84px; right: 12px; bottom: 12px; width: 390px; }
  .details-panel { top: 84px; }
}

@media (max-width: 767px) {
  .app-header { top: 0; left: 0; right: 0; width: 100vw; height: 64px; padding: 0 10px; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .brand-lockup { gap: 7px; }
  .header-brand-avatar { width: 38px; height: 38px; min-height: 38px; padding: 4px; border-radius: 8px; }
  .brand-lockup-copy { display: grid; }
  .brand-name { max-width: 118px; overflow: hidden; text-overflow: ellipsis; font-size: 16px; }
  .brand-slogan { display: none; }
  .btn-header-cta { width: auto; min-height: 42px; padding: 0 12px; gap: 7px; font-size: 10px; white-space: nowrap; }
  .btn-header-cta span { display: inline; }
  .btn-header-cta svg { width: 19px; height: 19px; }
  .site-menu { top: 58px; left: 10px; }
  .map-legend { top: 74px; left: 8px; right: 54px; max-width: none; }
  .leaflet-control-zoom { margin-top: 122px !important; }
  .map-mode-control { top: auto; right: auto; bottom: max(8px,env(safe-area-inset-bottom)); left: 8px; }
  .filter-drawer,.details-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100vw; }
  .filter-drawer { height: min(84dvh,720px); }
  .legend-option { min-height: 40px; padding: 0 5px; font-size: 9px; }
  .legend-option input { width: 15px; height: 15px; }
}

@media (max-width: 430px) {
  .brand-name { max-width: 105px; font-size: 15px; }
  .btn-header-cta { padding: 0 10px; font-size: 9.5px; }
  .legend-option:nth-of-type(2) span:not(.legend-swatch) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Brand lockup variants */
.app-header { grid-template-columns: 1fr auto; }
.brand-lockup { pointer-events: auto; display: inline-flex; align-items: center; justify-self: start; min-width: 0; }
.brand-lockup-copy { min-height: 44px; margin-left: -8px; padding: 6px 14px 6px 18px; display: grid; align-content: center; border: 1px solid rgba(255,255,255,.74); border-left: 0; border-radius: 0 9px 9px 0; background: rgba(247,245,238,.96); box-shadow: 5px 4px 14px rgba(8,42,32,.08); }
.brand-name { font-weight: 700; letter-spacing: -.8px; line-height: 1.05; }
.brand-slogan { font-weight: 600; letter-spacing: 1.5px; line-height: 1.3; }
.brand-lockup-compact .brand-slogan, .brand-lockup-symbol .brand-lockup-copy { display: none; }
.map-mode-control { top: 74px; right: 18px; bottom: auto; left: auto; transform: none; }
.leaflet-control-zoom { margin-top: 126px !important; }
.filter-select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filter-select-grid label { display: grid; gap: 5px; color: var(--ab-muted); font-size: 10px; font-weight: 700; }
.filter-status-row { min-height: 42px; display: flex; align-items: center; gap: 9px; color: var(--ab-ink); font-size: 11px; font-weight: 700; }
.filter-status-row input { width: 18px; height: 18px; accent-color: var(--ab-forest-900); }
.filter-feedback { grid-column: 1 / -1; min-height: 14px; color: #9e5032; font-size: 10px; font-weight: 700; }
.drawer-footer { display: grid; grid-template-columns: auto 1fr; }
.drawer-footer .btn-apply-filters { min-width: 140px; }
.consent-row { margin: 0 0 16px; display: flex; align-items: flex-start; gap: 9px; color: var(--ab-muted); font-size: 11px; line-height: 1.5; }
.consent-row input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--ab-forest-900); }

@media (max-width: 767px) {
  .brand-lockup-copy { min-height: 40px; padding: 5px 9px 5px 14px; }
  .brand-slogan { letter-spacing: 1px; }
  .map-mode-control { top: auto; right: auto; bottom: max(8px,env(safe-area-inset-bottom)); left: 8px; }
  .filter-select-grid { grid-template-columns: 1fr; }
  .price-preset { min-height: 44px; }
}

@media (max-width: 360px) {
  .brand-lockup .brand-lockup-copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@supports not (backdrop-filter: blur(1px)) {
  .app-header, .map-legend, .map-mode-control, .map-filter-control, .glass-panel { background: var(--ab-paper); }
}

/* v12 — restrained map-first composition */
.app-header {
  right: 18px;
  left: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.header-brand-avatar {
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 8px;
  box-shadow: var(--ab-shadow-sm);
}
.header-center-pill {
  justify-self: start;
  min-height: 44px;
  margin-left: -8px;
  padding: 6px 14px 6px 18px;
  border: 1px solid rgba(255,255,255,.74);
  border-left: 0;
  border-radius: 0 9px 9px 0;
  background: rgba(247,245,238,.95);
  box-shadow: 5px 4px 14px rgba(8,42,32,.08);
}
.brand-name { font-size: 15px; }
.brand-slogan { margin-top: 2px; font-size: 6.5px; letter-spacing: .11em; }
.btn-header-cta {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(11,61,46,.2);
  border-radius: 8px;
  background: rgba(247,245,238,.96);
  color: var(--ab-forest-900);
  box-shadow: var(--ab-shadow-sm);
  font-size: 11px;
}
.btn-header-cta:hover { background: white; color: var(--ab-forest-800); }
.site-menu { top: 50px; left: 0; }

.hero-overlay {
  justify-content: flex-start;
  padding: clamp(24px,5vw,72px);
  background: linear-gradient(90deg, rgba(5,34,25,.9) 0%, rgba(5,34,25,.62) 46%, rgba(5,34,25,.18) 100%), image-set(url('../assets/hero-bg.avif') type('image/avif'), url('../assets/hero-bg.webp') type('image/webp')) center/cover no-repeat;
  backdrop-filter: none;
}
.hero-card {
  width: min(500px,100%);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-logo-wrapper { max-width: 252px; margin: 0 0 34px; padding: 8px 12px; border-radius: 6px; background: rgba(247,245,238,.96); }
.hero-eyebrow { margin-bottom: 14px; color: #d7bc70; font-size: 10px; }
.hero-headline { max-width: 470px; font-size: clamp(2.5rem,4.5vw,4.25rem); line-height: 1.01; }
.hero-description { max-width: 470px; margin: 22px 0 28px; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.65; }
.btn-hero-primary { min-height: 48px; padding: 0 22px; border-radius: 7px; }

.leaflet-control-zoom { margin-top: 66px !important; }
.leaflet-control-attribution { margin-right: 72px !important; background: rgba(247,245,238,.82) !important; color: #596860 !important; }
.map-legend { gap: 0; padding: 3px; border-radius: 8px; }
.legend-option { min-height: 30px; padding: 0 6px; border-radius: 5px; font-size: 9px; }
.legend-option strong { font-size: 9px; }
.map-mode-control { padding: 3px; border-radius: 8px; }
.display-switcher, .switcher-option { border-radius: 5px; }
.switcher-option { min-width: 52px; }
.map-filter-control { padding: 3px; border-radius: 8px; }
.map-filter-control .btn-dock-filter { width: 42px; height: 42px; min-height: 42px; border-radius: 6px; }

.ab-marker-pill {
  min-height: 26px;
  padding: 3px 8px;
  border-color: rgba(255,255,255,.78);
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(8,42,32,.2);
  font-size: 9px;
}
.ab-marker-icon:empty { display: none; }
.ab-marker-icon:not(:empty) { width: auto; min-width: 0; height: auto; background: transparent; color: currentColor; font-size: 8px; }
.ab-marker-pointer { border-width: 5px 4px 0 !important; }
.ab-marker-dot { width: 4px; height: 4px; }

.filter-drawer { top: 74px; right: 18px; bottom: 16px; width: 350px; border-radius: 12px; transform: translateX(385px); }
.drawer-header { padding: 15px 17px; }
.drawer-body { padding: 15px 17px; gap: 15px; }
.drawer-footer { padding: 12px 17px; }
.details-panel { top: 74px; left: 18px; bottom: 16px; width: 380px; border-radius: 12px; }
.panel-header, .panel-footer { padding: 15px 17px; }
.panel-body { padding: 15px 17px; gap: 15px; }
.summary-value { font-size: 14px; }

@media (max-width: 767px) {
  .app-header { top: 8px; left: 8px; right: 8px; grid-template-columns: 40px minmax(0,1fr) 40px; }
  .header-brand-avatar { width: 40px; height: 40px; padding: 8px; }
  .header-center-pill { min-height: 40px; margin-left: -8px; padding: 5px 9px 5px 14px; }
  .brand-name { font-size: 13px; }
  .btn-header-cta { width: 40px; min-height: 40px; padding: 0; background: var(--ab-paper); }
  .leaflet-control-zoom { margin-top: 64px !important; margin-right: 8px !important; }
  .map-legend { top: 58px; right: auto; max-width: calc(100vw - 68px); }
  .filter-drawer, .details-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100vw; border-radius: 12px 12px 0 0; transform: translateY(100%); }
  .filter-drawer.drawer-active, .details-panel.panel-active { transform: translateY(0); }
  .hero-overlay { align-items: flex-end; padding: 28px 22px 54px; background: linear-gradient(0deg, rgba(5,34,25,.94) 0%, rgba(5,34,25,.6) 58%, rgba(5,34,25,.18) 100%), image-set(url('../assets/hero-bg.avif') type('image/avif'), url('../assets/hero-bg.webp') type('image/webp')) center/cover no-repeat; }
  .hero-logo-wrapper { max-width: 220px; margin-bottom: 26px; }
  .hero-headline { font-size: clamp(2.25rem,12vw,3.2rem); }
  .hero-description { margin: 17px 0 22px; font-size: 13px; line-height: 1.55; }
}

@media (max-width: 390px) {
  .legend-option { padding: 0 4px; }
  .legend-option span:not(.legend-swatch) { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .legend-option:nth-of-type(2) span:not(.legend-swatch) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* v14 — final cascade: full-width trust bar */
.app-header { top:0; right:0; left:0; width:100%; height:76px; padding:0 28px; grid-template-columns:minmax(0,1fr) auto; gap:24px; border:0; border-bottom:1px solid rgba(11,61,46,.13); border-radius:0; background:linear-gradient(90deg,rgba(247,245,238,.96),rgba(247,245,238,.88)); box-shadow:0 5px 18px rgba(8,42,32,.09); backdrop-filter:blur(18px) saturate(115%); -webkit-backdrop-filter:blur(18px) saturate(115%); }
.brand-lockup { gap:10px; }
.header-brand-avatar { width:44px; height:44px; padding:7px; border:0; border-radius:8px; background:transparent; box-shadow:none; }
.brand-lockup-copy,.header-center-pill { min-height:0; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.brand-name { color:var(--ab-forest-900); font-size:22px; line-height:1; }
.brand-slogan { margin-top:5px; color:#617169; font-size:8px; line-height:1; letter-spacing:.16em; }
.btn-header-cta { min-height:48px; padding:0 22px; gap:11px; border:1px solid rgba(255,255,255,.7); border-radius:999px; background:linear-gradient(180deg,#149a95 0%,#087a78 100%); color:#fff; box-shadow:0 4px 12px rgba(8,92,87,.2),inset 0 1px 0 rgba(255,255,255,.24); font-size:13px; font-weight:700; }
.btn-header-cta svg { width:22px; height:22px; padding:4px; border:1.5px solid currentColor; border-radius:50%; }
.btn-header-cta:hover { background:linear-gradient(180deg,#118e89 0%,#076d6b 100%); color:#fff; transform:translateY(-1px); }
.site-menu { top:62px; left:28px; }
.map-mode-control { top:92px; }
.leaflet-control-zoom { margin-top:92px !important; }
.filter-drawer { top:92px; right:18px; bottom:16px; width:400px; transform:translateX(435px); }
.details-panel { top:92px; }
.dual-range { height:36px; }
.dual-range-track { top:16px; }
@media (max-width:1023px) {
  .app-header { height:70px; padding:0 18px; }
  .brand-name { font-size:19px; }
  .filter-drawer { top:84px; width:390px; }
  .details-panel,.map-mode-control { top:84px; }
  .leaflet-control-zoom { margin-top:84px !important; }
}
@media (max-width:767px) {
  .app-header { top:0; right:0; left:0; height:64px; padding:0 10px; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
  .brand-lockup { gap:6px; }
  .header-brand-avatar { width:38px; height:38px; padding:6px; }
  .brand-lockup-copy { display:grid; }
  .brand-name { max-width:none; font-size:16px; }
  .brand-slogan { display:none; }
  .btn-header-cta { width:auto; min-height:42px; padding:0 12px; gap:7px; background:linear-gradient(180deg,#149a95 0%,#087a78 100%); color:#fff; font-size:10px; }
  .btn-header-cta svg { width:19px; height:19px; padding:3px; }
  .map-legend { top:74px; }
  .map-mode-control { top:74px; right:auto; bottom:auto; left:8px; }
  .map-legend { right:auto; left:130px; max-width:calc(100vw - 188px); }
  .leaflet-control-zoom { margin-top:74px !important; }
  .filter-drawer,.details-panel { top:auto; right:0; bottom:0; left:0; width:100vw; }
}

/* v15 — approved marker geometry, previews, and primary header actions */
:root {
  --color-primary:#0b3d2e;
  --marker-scale:1.4;
  --marker-bubble-width:106.4px; /* 76px × 1.4 */
  --marker-bubble-height:36.4px; /* 26px × 1.4 */
  --marker-pointer-half-width:5px; /* 4px × 1.25 */
  --marker-pointer-height:6.25px; /* 5px × 1.25 */
  --marker-anchor-size:4.8px; /* 4px × 1.2 */
  --marker-number-size:14px;
  --marker-unit-size:9.8px; /* exactly 70% of numeric size */
  --marker-area-measured-content:62.725px; /* rendered Manrope: 9999 + NBSP + acres */
  --marker-area-safe-width:106.4px;
}

.header-action-primary,
.btn-header-cta.header-action-primary,
.menu-trigger.header-action-primary {
  color:#f7f5ee;
  background:linear-gradient(180deg,#11533f 0%,#0b3d2e 100%);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 5px 14px rgba(11,61,46,.18);
}
.header-action-primary:hover,
.btn-header-cta.header-action-primary:hover,
.menu-trigger.header-action-primary:hover { color:#fff; background:linear-gradient(180deg,#176149 0%,#0d4635 100%); }
.header-action-primary:active { transform:translateY(1px); box-shadow:inset 0 1px 3px rgba(0,0,0,.18),0 2px 7px rgba(11,61,46,.16); }
.header-action-primary:focus-visible { outline:3px solid #c9a227; outline-offset:3px; }
.header-action-primary:disabled { opacity:.48; cursor:not-allowed; transform:none; }

.ab-div-icon { overflow:visible !important; }
.ab-marker {
  width:108px;
  height:53px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  transform:none !important;
  transform-origin:50% 100%;
}
.ab-marker-pill {
  box-sizing:border-box;
  width:var(--marker-bubble-width);
  min-width:var(--marker-bubble-width);
  max-width:var(--marker-bubble-width);
  height:var(--marker-bubble-height);
  min-height:var(--marker-bubble-height);
  padding:5.6px 8.4px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8.4px;
  white-space:nowrap;
  overflow:hidden;
  transition:box-shadow .18s ease,filter .18s ease;
}
.marker-price,.marker-area { width:100%; display:flex; align-items:baseline; justify-content:center; gap:3px; white-space:nowrap; }
.marker-price { align-items:center; }
.marker-area { display:inline-flex; align-items:baseline; justify-content:center; gap:0; white-space:nowrap; }
.marker-area__number { font-family:"Manrope",sans-serif; font-size:var(--marker-number-size); font-weight:700; line-height:1; font-variant-numeric:tabular-nums; }
.marker-area__space { white-space:pre; font-size:var(--marker-unit-size); }
.marker-area__unit { font-family:"Manrope",sans-serif; font-size:calc(var(--marker-number-size) * .70); font-weight:600; line-height:1; }
.marker-currency {
  width:20px;
  height:20px;
  display:inline-grid;
  place-items:center;
  flex:0 0 20px;
  align-self:center;
  color:#0b3d2e;
  background:#e8ece9;
  border:1px solid rgba(11,61,46,.12);
  border-radius:50%;
  font-size:11px;
  font-weight:800;
  line-height:1;
}
.marker-number { font-size:var(--marker-number-size); font-weight:700; line-height:1; letter-spacing:-.01em; font-variant-numeric:tabular-nums; }
.marker-unit { margin-left:1px; font-size:var(--marker-unit-size); font-weight:650; line-height:1; letter-spacing:0; }
.ab-marker-pointer {
  width:0 !important;
  height:0 !important;
  margin-top:-1px;
  border-right:var(--marker-pointer-half-width) solid transparent !important;
  border-left:var(--marker-pointer-half-width) solid transparent !important;
  border-bottom:0 !important;
}
.ab-marker-available .ab-marker-pointer { border-top:var(--marker-pointer-height) solid var(--ab-color-available) !important; }
.ab-marker-filtered-out .ab-marker-pointer { border-top:var(--marker-pointer-height) solid var(--ab-color-filtered-out) !important; }
.ab-marker-sold .ab-marker-pointer { border-top:var(--marker-pointer-height) solid var(--ab-color-sold) !important; }
.ab-marker-dot {
  width:var(--marker-anchor-size);
  height:var(--marker-anchor-size);
  flex:0 0 var(--marker-anchor-size);
  margin-top:-.25px;
  box-shadow:0 2px 5px rgba(11,61,46,.24),0 0 0 1px rgba(255,255,255,.65);
}
.ab-marker:hover,.ab-marker:focus-visible { transform:scale(1.04) !important; filter:brightness(1.06); }
.ab-marker-selected { transform:scale(1.08) !important; }
.ab-marker-selected .ab-marker-pill { box-shadow:0 0 0 2px #c9a227,0 7px 18px rgba(8,42,32,.28); }

.ab-preview-popup { margin-bottom:4px; }
.ab-preview-popup .leaflet-popup-content-wrapper {
  border:1px solid rgba(11,61,46,.16);
  border-radius:11px;
  background:rgba(247,245,238,.97);
  box-shadow:0 12px 30px rgba(11,61,46,.18);
  backdrop-filter:blur(12px);
}
.ab-preview-popup .leaflet-popup-content { width:auto !important; margin:0; }
.ab-preview-popup .leaflet-popup-tip { background:#f7f5ee; box-shadow:2px 2px 5px rgba(11,61,46,.1); }
.ab-preview-popup .leaflet-popup-close-button { width:36px !important; height:36px !important; display:grid; place-items:center; color:#365449 !important; font-size:21px !important; }
.marker-preview-card { width:266px; padding:13px; color:#16251f; }
.marker-preview-card h3 { max-width:220px; margin:0 0 3px; color:#0b3d2e; font-size:14px; line-height:1.3; }
.preview-village { margin:0 0 11px; color:#617169; font-size:10px; }
.preview-facts { margin:0 0 11px; display:grid; grid-template-columns:1fr 1fr; gap:9px 12px; }
.preview-facts div { min-width:0; }
.preview-facts dt { margin:0 0 2px; color:#6b7973; font-size:8px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.preview-facts dd { margin:0; color:#16251f; font-size:11px; font-weight:750; font-variant-numeric:tabular-nums; }
.preview-details-button { width:100%; min-height:44px; border:1px solid #0b3d2e; border-radius:7px; background:#0b3d2e; color:#f7f5ee; font-size:11px; font-weight:750; }
.preview-details-button:hover { background:#11533f; }
.preview-details-button:focus-visible { outline:3px solid #c9a227; outline-offset:2px; }

.price-per-cent-filter { margin-top:14px; }
.filter-feedback { color:#0b3d2e; font-size:11px; line-height:1.35; }
.drawer-footer .btn-reset-filters,.drawer-footer .btn-apply-filters { min-height:44px; }

@media (max-width:767px) {
  .btn-header-cta.header-action-primary,.menu-trigger.header-action-primary { background:linear-gradient(180deg,#11533f 0%,#0b3d2e 100%); color:#f7f5ee; }
  .marker-preview-card { width:250px; }
}
@media (max-width:390px) {
  .app-header { padding:0 8px; }
  .brand-name { font-size:15px; }
  .btn-header-cta { padding:0 9px; font-size:9.5px; }
  .map-legend { left:124px; max-width:calc(100vw - 180px); }
}

/* v15 — unified glass header, navigation tray, and map-control footer */
:root { --header-height:82px; --footer-height:58px; --glass-blur:19px; --glass-saturation:118%; }
.app-header.map-header { position:fixed; inset:0 0 auto; width:100%; height:var(--header-height); min-height:var(--header-height); padding:0; z-index:var(--ab-z-chrome); background:linear-gradient(270deg,rgba(247,245,238,.84) 0%,rgba(242,242,231,.72) 48%,rgba(207,226,188,.60) 100%); backdrop-filter:blur(var(--glass-blur)) saturate(var(--glass-saturation)); -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(var(--glass-saturation)); border:0; border-bottom:1px solid rgba(11,61,46,.10); box-shadow:inset 0 1px 0 rgba(255,255,255,.70),0 8px 28px rgba(22,37,31,.09); }
.map-header__inner { width:100%; min-height:var(--header-height); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; padding:0 24px; }
.header-left { justify-self:start; }
.header-centre { justify-self:center; text-align:center; }
.header-right { justify-self:end; display:flex; align-items:center; gap:12px; }
.header-brand-avatar { display:grid; place-items:center; width:48px; height:48px; padding:8px; border-radius:10px; }
.header-brand-avatar img { width:100%; height:100%; display:block; }
.brand-lockup.header-centre { display:grid; gap:7px; color:inherit; text-decoration:none; }
.brand-lockup.header-centre .brand-name { max-width:none; color:#0b3d2e; font:700 28px/1 Manrope,system-ui,sans-serif; letter-spacing:-.8px; }
.brand-lockup.header-centre .brand-slogan { display:block; margin:0; color:#40554c; font:600 10px/1.2 Manrope,system-ui,sans-serif; letter-spacing:1.5px; }
.btn-header-cta { min-height:46px; padding:0 18px; color:#0b3d2e; background:linear-gradient(180deg,rgba(255,255,255,.66),rgba(247,245,238,.44)); border:1px solid rgba(11,61,46,.25); box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 4px 12px rgba(22,37,31,.08); font-weight:600; }
.btn-header-cta:hover { color:#0b3d2e; background:rgba(255,255,255,.76); transform:none; }
.btn-header-cta:focus-visible,.menu-trigger:focus-visible,.navigation-tray a:focus-visible,.service-areas-trigger:focus-visible { outline:3px solid #c9a227; outline-offset:2px; }
.menu-trigger { min-width:46px; min-height:46px; display:grid; place-items:center; color:#0b3d2e; background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(247,245,238,.42)); border:1px solid rgba(11,61,46,.22); border-radius:13px; box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 12px rgba(22,37,31,.08); }
.menu-trigger .menu-icon-close { display:none; }
.menu-trigger[aria-expanded="true"] .menu-icon-open { display:none; }
.menu-trigger[aria-expanded="true"] .menu-icon-close { display:block; }
.navigation-backdrop { position:fixed; inset:var(--header-height) 0 calc(var(--footer-height) + 4px); z-index:var(--ab-z-panel-backdrop); background:rgba(22,37,31,.14); backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px); }
.navigation-backdrop[hidden],.navigation-tray[hidden] { display:none; }
.site-menu.navigation-tray { position:fixed; top:var(--header-height); right:auto; bottom:calc(var(--footer-height) + 4px); left:0; width:min(360px,92vw); padding:0; display:flex; flex-direction:column; gap:0; overflow-y:auto; z-index:var(--ab-z-navigation); border:0; border-right:1px solid rgba(11,61,46,.12); border-radius:0; background:linear-gradient(180deg,rgba(247,245,238,.94),rgba(235,240,225,.87)); backdrop-filter:blur(22px) saturate(118%); -webkit-backdrop-filter:blur(22px) saturate(118%); box-shadow:16px 0 40px rgba(22,37,31,.13); transform:translateX(-100%); transition:transform .22s ease; }
.site-menu.navigation-tray.is-open { transform:translateX(0); }
.navigation-tray__header { min-height:64px; padding:0 20px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(11,61,46,.11); color:#0b3d2e; font-size:18px; font-weight:800; }
.navigation-tray__header button { width:44px; height:44px; border:0; border-radius:50%; background:transparent; color:#40554c; font-size:18px; }
.navigation-primary { padding:10px 18px; display:grid; }
.site-menu.navigation-tray a,.service-areas-trigger { width:100%; min-height:48px; padding:0 10px; display:flex; align-items:center; border:0; border-radius:0; background:transparent; color:#16251f; font-size:13px; font-weight:700; text-align:left; text-decoration:none; }
.site-menu.navigation-tray a:hover,.service-areas-trigger:hover { background:rgba(207,226,188,.35); }
.site-menu.navigation-tray a[aria-current="page"] { color:#0b3d2e; box-shadow:inset 3px 0 0 #c9a227; background:rgba(255,255,255,.32); }
.service-areas-trigger { justify-content:space-between; }
.service-areas-trigger[aria-expanded="true"] svg { transform:rotate(180deg); }
.service-areas-list { padding:0 0 4px 16px; border-left:1px solid rgba(11,61,46,.14); }
.service-areas-list[hidden] { display:none; }
.service-areas-list a { min-height:44px !important; color:#40554c !important; font-size:12px !important; font-weight:600 !important; }
.navigation-secondary { margin-top:auto; padding:16px 18px; border-top:1px solid rgba(11,61,46,.11); }
.navigation-secondary a { min-height:40px !important; color:#53635c !important; font-size:11px !important; }
.navigation-open { overflow:hidden; }
.map-footer { position:fixed; inset:auto 0 0; width:100%; min-height:var(--footer-height); z-index:var(--ab-z-chrome); background:linear-gradient(90deg,rgba(247,245,238,.82),rgba(238,241,227,.70) 50%,rgba(211,227,195,.58)); backdrop-filter:blur(var(--glass-blur)) saturate(var(--glass-saturation)); -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(var(--glass-saturation)); border-top:1px solid rgba(11,61,46,.10); box-shadow:inset 0 1px 0 rgba(255,255,255,.68),0 -8px 24px rgba(22,37,31,.08); }
.map-footer__inner { min-height:var(--footer-height); display:flex; align-items:center; justify-content:space-between; gap:20px; padding:6px 18px; }
.map-footer .map-legend,.map-footer .map-mode-control,.map-footer .map-filter-control { position:static; inset:auto; transform:none; border:0; border-radius:0; background:transparent; box-shadow:none; backdrop-filter:none; }
.map-footer .map-legend { display:flex; gap:2px; padding:0; overflow:visible; }
.map-footer .legend-option { min-height:44px; padding:0 9px; }
.map-footer-controls { display:flex; align-items:center; gap:10px; }
.map-footer .map-mode-control { padding:0; }
.map-footer .display-switcher { min-height:44px; border:1px solid rgba(11,61,46,.18); background:rgba(255,255,255,.38); }
.map-footer .switcher-option { min-height:42px; min-width:62px; }
.map-footer .map-filter-control { padding:0; }
.map-footer .map-filter-control .btn-dock-filter { width:auto; min-width:104px; height:44px; padding:0 14px; display:flex; gap:8px; border:1px solid rgba(11,61,46,.22); border-radius:10px; background:rgba(255,255,255,.44); color:#0b3d2e; }
.filter-button-label { display:inline; font-size:12px; font-weight:800; }
.map-footer .filter-badge { position:static; order:3; }
.leaflet-control-attribution { margin:0 12px calc(var(--footer-height) + 4px) 0 !important; padding:2px 5px !important; background:rgba(247,245,238,.86) !important; }
.leaflet-control-zoom { margin-top:calc(var(--header-height) + 12px) !important; }
.filter-drawer,.details-panel { top:calc(var(--header-height) + 14px); bottom:calc(var(--footer-height) + 14px); }

@media (max-width:1023px) {
  :root { --header-height:72px; }
  .map-header__inner { padding:0 16px; gap:12px; }
  .header-brand-avatar { width:42px; height:42px; padding:7px; }
  .brand-lockup.header-centre .brand-name { font-size:23px; }
  .brand-lockup.header-centre .brand-slogan { font-size:8px; }
  .btn-header-cta { min-height:44px; padding:0 14px; font-size:11px; }
}
@media (max-width:767px) {
  :root { --header-height:64px; --footer-height:78px; }
  .map-header__inner { padding:0 8px; gap:6px; grid-template-columns:1fr auto 1fr; }
  .header-brand-avatar { width:40px; height:40px; padding:7px; }
  .brand-lockup.header-centre { gap:0; }
  .brand-lockup.header-centre .brand-name { font-size:17px; }
  .brand-lockup.header-centre .brand-slogan { display:none; }
  .header-right { gap:6px; }
  .btn-header-cta { width:44px; min-width:44px; min-height:44px; padding:0; }
  .btn-header-cta span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .btn-header-cta svg { width:22px; height:22px; padding:4px; }
  .menu-trigger { min-width:44px; min-height:44px; border-radius:11px; }
  .site-menu.navigation-tray { width:min(360px,100vw); }
  .map-footer__inner { min-height:var(--footer-height); padding:4px 8px; gap:4px; align-items:stretch; }
  .map-footer .map-legend { flex:1 1 auto; min-width:0; align-items:center; }
  .map-footer .legend-option { min-width:0; min-height:44px; padding:0 4px; font-size:9px; }
  .map-footer .legend-option strong { font-size:9px; }
  .map-footer-controls { flex:0 0 auto; gap:4px; }
  .map-footer .switcher-option { min-width:44px; padding:0 7px; font-size:10px; }
  .map-footer .map-filter-control .btn-dock-filter { min-width:44px; width:44px; padding:0; justify-content:center; }
  .filter-button-label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .filter-drawer,.details-panel { top:auto; bottom:var(--footer-height); max-height:calc(100dvh - var(--header-height) - var(--footer-height)); }
  .leaflet-control-attribution { margin-right:4px !important; font-size:8px !important; }
  .hero-overlay { padding-bottom:calc(var(--footer-height) + 24px); }
}
@media (max-width:430px) {
  .map-footer__inner { display:grid; grid-template-columns:1fr auto; }
  .map-footer .legend-option span:not(.legend-swatch) { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .map-footer .legend-option { min-width:42px; justify-content:center; }
}
@media (max-width:340px) {
  .brand-lockup.header-centre .brand-name { font-size:15px; }
  .map-footer .legend-option { min-width:38px; padding:0 2px; }
}
.success-dialog { width:min(410px,calc(100vw - 32px)); padding:30px; display:grid; justify-items:center; gap:14px; text-align:center; }
.success-dialog__icon { display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:rgba(11,61,46,.1); color:#0b3d2e; font-size:24px; font-weight:800; }
.success-dialog .modal-title { outline:none; }
.success-dialog p { margin:0; color:#40554c; line-height:1.55; }
.success-dialog__reference { padding:9px 13px; border:1px solid rgba(11,61,46,.16); border-radius:8px; background:rgba(247,245,238,.72); color:#0b3d2e !important; font-weight:700; }
.success-dialog .btn-enquire-full { width:100%; min-height:44px; margin-top:4px; }
.btn-property-page { min-height:44px; display:flex; align-items:center; justify-content:center; padding:0 16px; border:1px solid rgba(11,61,46,.24); border-radius:10px; color:#0b3d2e; background:#fffdf8; font-weight:750; text-decoration:none; }
.navigation-backdrop[hidden],.site-menu.navigation-tray[hidden],.service-areas-list[hidden] { display:none !important; }
.leaflet-bottom.leaflet-right { bottom:calc(var(--footer-height) + 3px); }
.leaflet-control-attribution { margin:0 8px 0 0 !important; }
.ab-marker-pill { transform:none; }

/* Unified dual-thumb ranges: only the authored rail and selection are visible. */
.dual-range { --range-start:0%; --range-end:100%; position:relative; touch-action:none; }
.dual-range-track { height:5px; background:#dfe6e1; overflow:visible; }
.dual-range-fill { left:var(--range-start) !important; width:calc(var(--range-end) - var(--range-start)) !important; background:#b38a23; }
.dual-range-input { background:transparent !important; appearance:none; -webkit-appearance:none; touch-action:none; }
.dual-range-input::-webkit-slider-runnable-track { height:5px; background:transparent !important; border:0; box-shadow:none; }
.dual-range-input::-moz-range-track { height:5px; background:transparent !important; border:0; box-shadow:none; }
.dual-range-input::-moz-range-progress { background:transparent !important; }
.dual-range-input::-webkit-slider-thumb { width:20px; height:20px; margin-top:-7.5px; background:#b38a23; border:2px solid #f7f5ee; }
.dual-range-input::-moz-range-thumb { width:20px; height:20px; background:#b38a23; border:2px solid #f7f5ee; }
.reference-feedback { display:grid; gap:8px; }
.reference-feedback p { margin:0; }
.btn-copy-reference,.btn-system-retry { min-height:40px; padding:8px 14px; border:1px solid currentColor; border-radius:8px; background:transparent; color:inherit; font:inherit; font-weight:700; cursor:pointer; }
.map-loading-indicator { width:24px; height:24px; border:2px solid rgba(11,61,46,.18); border-top-color:#0b3d2e; border-radius:50%; animation:ab-loading-spin .8s linear infinite; }
@keyframes ab-loading-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .map-loading-indicator { animation:none; border-top-color:#c9a227; } }
.ab-preview-popup .leaflet-popup-tip-container { display:none; }
.ab-preview-popup .leaflet-popup-content-wrapper { position:relative; }
.ab-preview-popup .leaflet-popup-content-wrapper::after { content:""; position:absolute; width:14px; height:14px; background:var(--ab-paper); transform:rotate(45deg); }
.ab-preview-popup[data-placement="above"] .leaflet-popup-content-wrapper::after { left:calc(var(--preview-arrow-offset) - 7px); bottom:-7px; border-right:1px solid rgba(11,61,46,.14); border-bottom:1px solid rgba(11,61,46,.14); }
.ab-preview-popup[data-placement="below"] .leaflet-popup-content-wrapper::after { left:calc(var(--preview-arrow-offset) - 7px); top:-7px; border-left:1px solid rgba(11,61,46,.14); border-top:1px solid rgba(11,61,46,.14); }
.ab-preview-popup[data-placement="right"] .leaflet-popup-content-wrapper::after { top:calc(var(--preview-arrow-offset) - 7px); left:-7px; border-left:1px solid rgba(11,61,46,.14); border-bottom:1px solid rgba(11,61,46,.14); }
.ab-preview-popup[data-placement="left"] .leaflet-popup-content-wrapper::after { top:calc(var(--preview-arrow-offset) - 7px); right:-7px; border-right:1px solid rgba(11,61,46,.14); border-top:1px solid rgba(11,61,46,.14); }

/* Approved header order: Menu | centred symbol and wordmark | List Your Property. */
.header-inner { width:100vw; max-width:none; box-sizing:border-box; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; }
.header-left { justify-self:start; }
.header-brand { justify-self:center; }
.header-right { justify-self:end; }
.brand-lockup.header-centre.header-brand { display:inline-flex; align-items:center; gap:10px; text-align:left; white-space:nowrap; }
.header-brand__logo { width:38px; height:38px; flex:0 0 38px; object-fit:contain; }
.header-brand__text { display:grid; align-content:center; gap:4px; }
.brand-lockup.header-centre .header-brand__name { color:#0b3d2e; font:700 28px/1 Manrope,system-ui,sans-serif; letter-spacing:-.8px; }
.brand-lockup.header-centre .header-brand__slogan { display:block; margin:0; color:#40554c; font:600 9px/1.2 Manrope,system-ui,sans-serif; letter-spacing:1.5px; }
.btn-header-cta.header-action-primary { min-height:46px; padding:0 17px; background:linear-gradient(180deg,#11533f 0%,#0b3d2e 100%); color:#f7f5ee; border-color:rgba(255,255,255,.55); }
.btn-header-cta.header-action-primary:hover { background:#0b3d2e; color:#fff; }
@media (max-width:900px) {
  .header-brand__logo { width:32px; height:32px; flex-basis:32px; }
  .brand-lockup.header-centre .header-brand__name { font-size:21px; }
  .brand-lockup.header-centre .header-brand__slogan { font-size:7px; letter-spacing:1.1px; }
  .btn-header-cta.header-action-primary { min-height:44px; padding:0 12px; font-size:10px; }
}
@media (max-width:600px) {
  .header-inner { padding-inline:8px; gap:5px; }
  .brand-lockup.header-centre.header-brand { gap:5px; }
  .header-brand__logo { width:26px; height:26px; flex-basis:26px; }
  .brand-lockup.header-centre .header-brand__name { font-size:16px; }
  .brand-lockup.header-centre .header-brand__slogan { display:none; }
  .btn-header-cta.header-action-primary { width:44px; min-width:44px; padding:0; }
  .btn-header-cta.header-action-primary span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
}
@media (max-width:340px) {
  .brand-lockup.header-centre .header-brand__name { font-size:14px; }
  .header-brand__logo { width:22px; height:22px; flex-basis:22px; }
}
