@font-face {
  font-family: Manrope;
  src: url("manrope.woff") format("woff");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("metrics.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: light;
  color: #21352d;
  background: #f8f8f3;
  font: 16px/1.5 Manrope, system-ui, sans-serif;
  --pine: #162d24;
  --moss: #2d5743;
  --lime: #d9e9a8;
  --ink: #21352d;
  --muted: #586960;
  --border: #dfe6dd;
  --paper: #fbfcf8;
  --curve: cubic-bezier(.22, 1, .36, 1);
  --floating: 0 8px 32px #162d2433, 0 0 1px #21352d4d;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
button, input, select { font: inherit; }
button { border: 0; cursor: pointer; color: inherit; }
button:disabled { color: #88968b; cursor: default; }
button:active:not(:disabled) { transform: translateY(1px); }
:focus-visible { outline: 3px solid #679956; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 5; background: var(--paper); padding: 8px 16px; color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.masthead {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 32px;
  background: var(--pine);
  color: #f7f7eb;
}
.identity, .location, .route { display: flex; align-items: center; gap: 12px; }
.identity { flex-shrink: 0; }
.identity-copy { display: grid; }
.brand { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.035em; }
.identity-description { color: #c2cfb8; font-size: 12px; line-height: 16px; white-space: nowrap; }
.emblem { width: 44px; height: 44px; stroke: var(--lime); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.location { border-left: 1px solid #f9faf233; padding-left: 32px; color: #dce4d7; font-size: 14px; white-space: nowrap; }
.location .icon { color: #c6d99d; }
.route {
  margin-left: auto;
  gap: 8px;
  padding: 8px 12px;
  min-height: 44px;
  background: var(--lime);
  color: var(--pine);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.route:hover { background: #e9f4c6; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.atlas { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 32px; }
.toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 24px 0 16px;
  gap: 16px;
}
h1 { font-size: 36px; line-height: 40px; font-weight: 650; letter-spacing: -.045em; }
.heading p { color: var(--muted); margin-top: 4px; font-size: 14px; line-height: 20px; }
.tools, .filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tools { align-items: center; gap: 12px; }
.filters button, .search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
}
.filters button { padding: 8px 12px; font-size: 14px; line-height: 20px; font-weight: 650; white-space: nowrap; }
.filters button:hover { background: #e9efdf; }
.filters button.active { color: #fff; background: var(--moss); border-color: var(--moss); }
.filters .icon { width: 16px; height: 16px; }
.lot-search { position: relative; }
.search-field { gap: 0; }
.search-field:focus-within { border-color: var(--moss); }
.search-field input { width: 11rem; min-width: 0; min-height: 42px; border: 0; background: transparent; color: var(--ink); padding: 8px 12px; }
.search-field input:focus-visible { outline-offset: -2px; }
.search-field button { display: grid; place-items: center; width: 44px; height: 42px; flex: none; border-radius: 6px; background: transparent; }
.search-field button:hover { background: #e9efdf; }
.search-results {
  position: absolute;
  z-index: 1;
  width: max(100%, 15rem);
  top: calc(100% + 4px);
  max-height: min(40dvh, 320px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--floating);
}
.search-results button { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; width: 100%; padding: 8px 12px; background: transparent; text-align: left; }
.search-results button:hover, .search-results button:focus-visible { background: #e9efdf; }
.search-results button:focus-visible { outline-offset: -3px; }
.search-results strong { font-size: 14px; }
.search-results span, .search-results p { font-size: 12px; color: var(--muted); }
.search-results p { padding: 12px; }

.map-area { position: relative; flex: 1; min-height: 0; isolation: isolate; border: 1px solid #d9e2d2; border-radius: 16px; background: #e6ecdf; }
#map { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #e6ecdf; touch-action: none; cursor: grab; }
#map:focus-visible { outline-offset: -3px; }
#map:active, #map.dragging { cursor: grabbing; }
#scene { position: absolute; left: 0; top: 0; transform-origin: 0 0; user-select: none; will-change: transform; }
#scene img, #overlay { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
#scene img { pointer-events: none; }
#map.dragging #overlay { pointer-events: none; }
#map-error { position: absolute; inset: 32px auto auto 24px; }
.plan-lot { cursor: pointer; outline: none; }
.plan-lot-shape { fill: #4267490b; stroke: #385440a1; stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.plan-lot[data-status="available"] .plan-lot-shape { fill: #83ac48a8; stroke: #4c6639; }
.plan-lot[data-status="reserved"] .plan-lot-shape { fill: #f0b96cbf; stroke: #866431; }
.plan-lot[data-status="sold"] .plan-lot-shape { fill: #7d8b83ab; stroke: #586658; }
.plan-lot.filtered { opacity: .23; pointer-events: none; }
.plan-lot.favorite .plan-lot-shape { stroke: #8b5021; stroke-width: 1.8; }
#map:not(.interacting) .plan-lot:hover .plan-lot-shape, .plan-lot:focus-visible .plan-lot-shape, .plan-lot.selected .plan-lot-shape {
  fill: #fbd788dc;
  stroke: #54441d;
  stroke-width: 1.8;
}
.plan-lot-label {
  font-size: var(--lot-size, 11px);
  font-family: Manrope, sans-serif;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  fill: #1b3424;
  stroke: #f5f6e6a8;
  stroke-width: .85px;
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
  dominant-baseline: middle;
  text-anchor: middle;
  pointer-events: none;
}
.plan-lot.filtered .plan-lot-label { visibility: hidden; }
.plan-house { pointer-events: none; }
.plan-house polygon, .plan-house polyline { stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.house-footprint { fill: #38544066; stroke: #f9f7e5; stroke-dasharray: 2 2; }
.house-wall { fill: #e1d2ad; stroke: #534b37; }
.house-roof { fill: #704c3b; stroke: #47352d; }
.house-roof-light { fill: #a66d4e; }
.plan-house polyline { fill: none; stroke: #f5d9ae; }
.river { display: none; pointer-events: none; }
#map[data-view="flat"] .river { display: block; fill: #317b79; }
.river-surface { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; contain: strict; will-change: transform; }
.legend {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: calc(100% - 88px);
  padding: 8px 12px;
  border: 1px solid #f8f8ef;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 3px 14px #21352d19;
  pointer-events: none;
}
.legend:empty { display: none; }
.legend-item { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; white-space: nowrap; }
.legend-item strong { font-family: "JetBrains Mono", monospace; font-size: 12px; line-height: 16px; }
.dot { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; }
.dot.available, .dot.free { background: #83ac48; }
.dot.reserved { background: #d59940; }
.dot.sold { background: #748276; }
.map-controls { position: absolute; right: 16px; bottom: 16px; display: grid; justify-items: end; gap: 8px; }
.map-views { display: flex; padding: 2px; border-radius: 8px; background: var(--paper); box-shadow: 0 3px 14px #21352d24; }
.map-controls .map-views button { width: auto; height: 40px; min-width: 48px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 750; color: var(--ink); }
.map-controls .map-views button[aria-pressed="true"] { background: var(--moss); color: #fff; }
.zoom-buttons, .zoom-reset { overflow: hidden; border-radius: 8px; box-shadow: 0 3px 14px #21352d24; }
.map-controls button, #close { display: grid; place-items: center; width: 44px; height: 44px; background: var(--paper); }
.map-controls button:hover, #close:hover { background: #e7eee2; }
.zoom-buttons button + button { border-top: 1px solid var(--border); }
.map-controls button:focus-visible { outline-offset: -3px; }
.north {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  padding: 4px;
  border: 1px solid #f8f8ef;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 3px 14px #21352d19;
  display: grid;
  justify-items: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  pointer-events: none;
}
.north svg { width: 24px; height: 26px; fill: var(--moss); stroke: var(--paper); stroke-width: 1; }
.orientation { position: absolute; bottom: 16px; left: 16px; }
.orientation summary {
  display: flex;
  cursor: pointer;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 3px 14px #21352d24;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}
.orientation summary::-webkit-details-marker { display: none; }
.orientation summary .icon { color: #95651f; }
.orientation-panel {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: min(17rem, 75vw);
  max-height: min(19rem, 43dvh);
  overflow: auto;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  box-shadow: var(--floating);
  font-size: 12px;
}
.orientation-panel > svg { width: 112px; margin: auto; }
.orientation-panel text { fill: var(--ink); font-size: 12px; font-weight: 700; }
.dial-ring, .dial-line { fill: none; stroke: #d4ded0; }
.dial-arrow { fill: var(--moss); }
.sun-path { fill: none; stroke: #b87826; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sun-dot { fill: #b87826; }
.map-footer { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0 max(8px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 12px; line-height: 20px; }
.map-footer a, .orientation-panel a { display: inline-flex; gap: 4px; align-items: center; color: var(--moss); font-weight: 700; text-underline-offset: 3px; }
.map-footer .icon, .orientation-panel a .icon { width: 14px; height: 14px; }
.mobile-hint { display: none; }

#tip {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--pine);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  box-shadow: var(--floating);
}

#tip strong, #tip span { display: block; }
#tip span { color: #dde9cf; font-weight: 500; }

#card {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  bottom: 24px;
  width: min(368px, calc(100% - 48px));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: var(--paper);
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: var(--floating);
  animation: reveal .25s var(--curve) both;
}
#content { padding: 24px; }
.handle { display: none; }
#close {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 50%;
  background: #eef2e9;
}
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); padding-right: 48px; }
#card h2, #request h2 { font-size: 30px; line-height: 36px; letter-spacing: -.025em; font-weight: 650; }
#card h2 { padding-right: 44px; margin: 4px 0 8px; }
#card h3 { font-size: 14px; line-height: 20px; font-weight: 700; }
#content > h3 { margin-top: 24px; }
#content > p, .lot-model p { font-size: 14px; line-height: 20px; color: var(--muted); }
.lot-status, .lot-tags span {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: #e8eee4;
  border-radius: 9999px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 650;
}
.lot-status.free { color: #254125; background: #dbeccf; }
.lot-status.reserved { color: #5e4019; background: #f6e6c8; }
.lot-status.sold { color: #673d38; background: #f1dbd6; }
.lot-unit-price { color: var(--muted); font-size: 14px; }
.lot-price { margin: 12px 0; color: var(--pine); font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.025em; }
.lot-metrics, .lot-walk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.lot-metrics > div, .lot-walk > div { display: grid; padding: 8px 12px; gap: 4px; background: #edf1e8; border-radius: 8px; }
.lot-metrics span, .lot-walk span { color: var(--muted); font-size: 12px; line-height: 16px; }
.lot-metrics strong, .lot-walk strong { font-size: 14px; }
.lot-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0; }
.house-preview { margin-top: 12px; }
.house-preview > button { width: 100%; }
.house-preview > button[aria-expanded="true"] { background: #d9e6d4; border-color: #7a9273; }
.lot-model { overflow: hidden; margin: 12px 0 0; padding: 12px; border-radius: 8px; background: #e5eddf; }
.lot-model p { margin-top: 8px; font-size: 12px; line-height: 16px; }
.lot-model svg { display: block; width: 100%; max-height: 148px; }
.lot-actions { display: grid; gap: 8px; margin-top: 16px; }
.primary, .secondary { padding: 8px 12px; min-height: 44px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.primary { color: #fff; background: var(--moss); }
.primary:hover { background: var(--pine); }
.secondary { background: #edf1e8; border: 1px solid var(--border); }
.secondary:hover { background: #e1eadd; }

#request {
  border: 1px solid #fff;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  padding: 24px;
  width: min(424px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  box-shadow: var(--floating);
}
#request::backdrop { background: #162d2480; }
.request-form { display: grid; gap: 12px; }
.request-form p { color: var(--muted); font-size: 14px; }
.request-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.request-form input, .request-form select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
}
.request-form .lot-actions { margin: 4px 0 0; }

@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }

@media (min-width: 651px) {
  .map-area:has(#card:not([hidden])) :is(.map-controls, .north) { right: min(408px, 50%); }
}
@media (max-width: 950px) {
  .toolbar { align-items: flex-start; }
  .location { padding-left: 16px; }
}
@media (max-width: 650px) {
  .masthead { gap: 8px; padding: 8px 12px; }
  .identity { gap: 8px; }
  .emblem { width: 36px; height: 36px; }
  .brand { font-size: 20px; line-height: 24px; }
  .location { display: none; }
  .route { font-size: 12px; line-height: 16px; gap: 4px; }
  .route .icon { width: 16px; height: 16px; }
  .atlas { padding: 0 8px; }
  .toolbar { padding: 12px 4px 8px; gap: 8px; }
  h1 { font-size: 24px; line-height: 32px; }
  .heading p { font-size: 12px; line-height: 16px; }
  .tools { width: 100%; gap: 8px; }
  .lot-search { flex: 1 1 128px; min-width: 0; }
  .search-field input { flex: 1 1 0; width: 0; padding-inline: 8px; }
  .search-field button { width: 36px; }
  .filters { gap: 4px; }
  .filters button { padding-inline: 8px; font-size: 12px; line-height: 16px; }
  .filters .icon { display: none; }
  .legend { top: 8px; left: 8px; gap: 4px 8px; max-width: calc(100% - 68px); padding: 8px; }
  .legend-item { gap: 4px; }
  .map-controls { right: 8px; bottom: 8px; }
  .north { right: 8px; top: 8px; }
  .orientation { bottom: 8px; left: 8px; }
  .orientation summary { font-size: 12px; line-height: 16px; }
  .map-area:has(#card:not([hidden])) :is(.map-controls, .orientation) { visibility: hidden; }
  .map-footer { padding-left: 4px; padding-right: 4px; gap: 4px; }
  .desktop-hint { display: none; }
  .mobile-hint { display: inline; }
  #card {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: min(58dvh, 78%);
    border-radius: 16px 16px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .handle { display: block; width: 40px; height: 4px; background: #b2beb0; border-radius: 9999px; margin: 8px auto 0; }
  #content { padding: 12px 16px 16px; }
  #card h2, #request h2 { font-size: 24px; line-height: 32px; }
}
@media (max-width: 355px) {
  .lot-search { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #card { animation: none; }
}

.masthead .phone { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: inherit; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 650; }
.masthead .phone:hover { text-decoration: underline; }
.masthead .phone .icon { display: none; }
.masthead .phone + .route { margin-left: 0; }
.legend { font-size: 12px; font-weight: 700; }
.price-key { position: absolute; top: 16px; left: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; max-width: calc(100% - 88px); padding: 4px 8px; border-radius: 4px; background: #f9fbf1ed; box-shadow: 0 3px 14px #21352d12; font-size: 12px; line-height: 16px; }
.price-key span { display: inline-flex; align-items: center; gap: 4px; }
.price-key a { color: var(--moss); font-weight: 700; text-underline-offset: 2px; }
.dot.mixed { border: 1px dashed #647f30; background: #d5e4ab; }
.plan-lot[data-status="mixed"] .plan-lot-shape { fill: #bfd1819e; stroke: #647f30; stroke-dasharray: 2 1; }
#map:not(.interacting) .plan-lot[data-status="mixed"]:hover .plan-lot-shape, .plan-lot[data-status="mixed"]:is(:focus-visible, .selected) .plan-lot-shape { fill: #fbd788dc; stroke: #54441d; stroke-width: 1.8; }
.map-scale { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); border: solid var(--moss); border-width: 0 1px 2px; background: #f9fbf1d1; text-align: center; font-size: 12px; line-height: 16px; pointer-events: none; }
.map-area:has(#card:not([hidden])) .map-scale { visibility: hidden; }
@media (max-width: 650px) {
  .masthead .phone { min-width: 44px; min-height: 44px; justify-content: center; }
  .masthead .phone .icon { display: block; }
  .masthead .phone span { display: none; }
  .price-key { top: 8px; left: 8px; max-width: calc(100% - 66px); gap: 4px 8px; }
  .map-scale { bottom: 16px; left: 62%; }
}

.plan-lot.label-collides .plan-lot-label { display: none; }
#map:not(.interacting) .plan-lot:hover:not(.filtered) .plan-lot-label,
.plan-lot:is(.selected, :focus-visible):not(.filtered) .plan-lot-label { display: block; visibility: visible; }
#map[data-view="oblique"] .plan-lot[data-status="unknown"]:not(.favorite, .selected, :focus-visible) .plan-lot-shape {
  fill: transparent;
  stroke: #364831a8;
  stroke-width: 1;
}
#map[data-view="oblique"].detail .plan-lot[data-status="unknown"]:not(.favorite, .selected, :focus-visible) .plan-lot-shape {
  stroke: #30462fc9;
  stroke-width: 1.25;
}
#map[data-view="oblique"] .plan-lot[data-status="available"]:not(.selected, :focus-visible) .plan-lot-shape { fill: #a8cb5488; }
#map[data-view="oblique"] .plan-lot[data-status="reserved"]:not(.selected, :focus-visible) .plan-lot-shape { fill: #edb66e86; }
#map[data-view="oblique"] .plan-lot[data-status="sold"]:not(.selected, :focus-visible) .plan-lot-shape { fill: #9aa49657; }
#map[data-view="oblique"] .plan-lot[data-status="mixed"]:not(.selected, :focus-visible) .plan-lot-shape { fill: #bfd18169; }
#map[data-view="oblique"]:not(.interacting) .plan-lot:hover .plan-lot-shape {
  fill: #fbd788dc;
  stroke: #54441d;
  stroke-width: 1.8;
}
.map-sources { display: flex; flex-wrap: wrap; justify-content: end; gap: 4px 12px; }
@media (max-width: 650px) {
  .map-footer:has(#osm-source:not([hidden])) { justify-content: end; }
  .map-footer:has(#osm-source:not([hidden])) .map-hint { display: none; }
  .map-area:has(#card:not([hidden])) :is(.legend, .price-key) { visibility: hidden; }
}

.route-short { display: none; }
@media (min-width: 651px) {
  #map[data-view="flat"] #scene img {
    mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 18px), transparent),
      linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    mask-composite: intersect;
  }
}
@media (max-width: 355px) {
  .masthead { gap: 4px; }
  .route-full { display: none; }
  .route-short { display: inline; }
  .masthead .phone { min-width: 36px; }
}

.source-short { display: none; }
@media (max-width: 650px) {
  .source-full { display: none; }
  .source-short { display: inline; }
  .map-area:has(.orientation[open]) .map-scale { visibility: hidden; }
}

.terrain-link { background: transparent; border: 0; padding: 0; color: var(--moss); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-weight: 700; }
.map-info { position: fixed; margin: auto; width: min(500px, calc(100vw - 24px)); max-height: 85dvh; padding: 24px; border: 0; border-radius: 15px; color: var(--ink); background: var(--paper); box-shadow: var(--floating); }
.map-info::backdrop { background: #10251ec2; }
.map-info h2 { padding-right: 32px; font-size: 24px; line-height: 1.25; }
.info-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; background: #e5eddf; border-radius: 50%; font-size: 24px; }
.map-info figure { margin: 16px 0; }
.map-info img { width: 100%; height: auto; border-radius: 6px; }
.map-info figcaption, .map-info details p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.map-info p, .map-info details { margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
.map-info summary { cursor: pointer; font-weight: 650; }
.map-info a { color: var(--moss); }

#parcel-layer { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
#overlay { overflow: visible; user-select: none; }
.map-info h3 { font-size: 16px; margin-top: 18px; }
.map-info h3 + p { margin-top: 3px; }
#show-gates { margin-top: 12px; padding: 8px 14px; border-radius: 8px; background: var(--pine); color: white; font-weight: 600; }
.gate-mark { pointer-events: none; }
.gate-mark circle { fill: #fff9e9; stroke: #385444; stroke-width: 1; }
.gate-mark path { fill: none; stroke: #385444; stroke-width: 1.45; stroke-linecap: round; }

.terrain-detail { position: absolute; inset: 0; pointer-events: none; }

.terrain-detail img { position: absolute; display: block; max-width: none; }

#empty-favorites { top: 58px; }
