/* Where to look, bedrooms range, and the map (static/areas.js). Sky-blue areas, ink price pins, no green. */
.pill .pin-i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; margin-left: -4px; }

/* Where menu */
.pop-where { min-width: min(340px, calc(100vw - 32px)); }
.where-list { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: 2px; }
.where-list li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.where-list .wl-none { color: var(--ink-3); font-size: var(--fs-sm); padding: 6px 0; }
.wl-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--k0, #3a86c8); background: color-mix(in oklab, var(--k0, #3a86c8) 18%, transparent); }
.wl-dot.drawn { border-radius: 3px; }
.wl-t { flex: 1; min-width: 0; display: grid; }
.wl-t b { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-t small { font-size: var(--fs-xs); color: var(--ink-3); }
.where-list .icon-btn { width: 32px; height: 32px; background: transparent; box-shadow: none; color: var(--ink-3); }
.where-list .icon-btn svg { width: 16px; height: 16px; }
.where-add { display: flex; gap: var(--s2); }
.where-add input { flex: 1; min-width: 0; height: 44px; border-radius: var(--r-sm); border: 0; box-shadow: inset 0 0 0 1.5px var(--line);
  background: var(--surface); color: var(--ink); padding: 0 var(--s3); font: inherit; font-size: var(--fs-sm); }
.where-add input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.where-err { color: var(--k1, #e2725b); font-size: var(--fs-xs); min-height: 0; margin: 6px 0 0; }
.where-err:empty { display: none; }
.where-draw { margin-top: var(--s3); width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.where-draw svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* bedrooms: at least / at most */
.beds-grid { display: grid; gap: 6px; }
.beds-grid .beds-l { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); margin-top: 4px; }
.beds-grid .choice button { min-width: 44px; padding: 0 var(--s3); }

/* list or map */
.results-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s3) var(--s5); }
.results-head .results-meta { flex: 1; min-width: 0; }
.results-head .relax { flex-basis: 100%; }
.view-seg { flex: none; }
body.map-on #results, body.map-on .more-wrap { display: none; }

.map-view { position: relative; height: calc(100vh - 230px); min-height: 420px; border-radius: 22px; overflow: hidden;
  background: var(--surface-2); box-shadow: 0 0 0 1px var(--line); }
.map-canvas { position: absolute; inset: 0; }
.map-bar { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 8px;
  max-width: calc(100% - 24px); padding: 6px 6px 6px 16px; border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 86%, transparent); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 12px 32px -14px rgba(17, 17, 16, .45), 0 0 0 1px var(--line); }
.map-bar .mb-t { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-bar .btn { height: 38px; padding: 0 16px; flex: none; }
.map-bar .btn:disabled { opacity: .4; cursor: default; }
.map-view.drawing { box-shadow: 0 0 0 2px var(--k0, #3a86c8); }

.map-pin { border: 0; cursor: pointer; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font: 700 12.5px/1 var(--font-ui); letter-spacing: .01em; white-space: nowrap; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .45);
  transition: transform .12s cubic-bezier(.2, .7, .2, 1); position: relative; }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 1px; z-index: -1; }
.map-pin:hover, .map-pin:focus-visible { transform: scale(1.08); z-index: 3; }
.map-pin:active { transform: scale(.96); }
.map-view.drawing .map-pin { pointer-events: none; opacity: .55; }

.maplibregl-popup-content { padding: 0; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); }
.maplibregl-popup-tip { border-top-color: var(--surface) !important; border-bottom-color: var(--surface) !important; }
.map-card { cursor: pointer; width: 260px; color: var(--ink); }
.map-card img { display: block; width: 100%; height: 140px; object-fit: cover; }
.map-card > div { display: grid; gap: 2px; padding: 10px 12px 12px; }
.map-card b { font: 600 17px/1.2 var(--font-display); }
.map-card b small { font: 500 12px var(--font-ui); color: var(--ink-3); }
.map-card span { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-card small { font-size: 12px; color: var(--ink-3); }

@media (max-width: 640px) {
  .map-view { height: calc(100vh - 260px); border-radius: 16px; }
  .map-bar { bottom: 12px; padding-left: 12px; }
  .map-bar .mb-t { font-size: 12.5px; white-space: normal; line-height: 1.2; }
}

/* "Searched for ..." when we fixed a typo */
.results-meta .fix-note { display: block; margin-top: 4px; font: 500 var(--fs-sm)/1.4 var(--font-ui); color: var(--ink-3); letter-spacing: 0; }
.results-meta .fix-note b { color: var(--ink); font-weight: 600; }
