/* Medium Term Stays - the ONE design system for every page (1 Nov 2026 redesign, Builder A; locked spec = research/DESIGN-SYSTEM.md sections 2-3).
   Cool white canvas, teal-black ink, ONE teal-blue brand colour (2 Nov: was emerald; the --green token names stay); two-tone display type; plain hairline section rules; glass ONLY on chrome (header when scrolled, search pill,
   map controls, compare tray); every motion lives inside prefers-reduced-motion: no-preference and works without scroll-driven / view-transition support.
   Component list for the other pages: research/SYSTEM-READY.txt. Legacy token names (--panel, --panel-2, --amber, --text, --muted, --mint...) stay as aliases so older markup still renders. */
@property --n { syntax: "<integer>"; initial-value: 0; inherits: false; }
/* round 9: metric-matched stand-ins (Arial resized to the web fonts' width and line box, measured in Chromium 6 Nov 2026) - text keeps its place when
   Inter / Plus Jakarta Sans arrive (display=swap), so the page does not shift as the fonts load */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 550; size-adjust: 106%; ascent-override: 91.5%; descent-override: 22.6%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 551 900; size-adjust: 101.5%; ascent-override: 95.6%; descent-override: 23.6%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 550; size-adjust: 104.7%; ascent-override: 99.3%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 551 900; size-adjust: 100.5%; ascent-override: 103.5%; descent-override: 21.9%; line-gap-override: 0%; }
:root {
  color-scheme: light;
  /* canvas + surfaces */
  --bg: #F5F9FA; --surface: #FFFFFF; --mint: #E6F6F6; --mint-2: #E1EFF2; --aqua: #DCEBFA; --panel: #FFFFFF; --panel-2: #F0F6F8;
  /* ink: headings green-black, body, meta (AA on --bg and on white) */
  --ink: #0D2A33; --ink-2: #3A4F57; --ink-3: #52676F; --text: var(--ink-2); --muted: var(--ink-3);
  --line: #DFE8EB; --line-2: #C9D8DD;
  /* the ONE accent green: --green = action + selection + "Available" (white text passes AA); --accent = glowing dots + rings */
  --green: #0F766E; --green-hi: #115E59; --green-wash: #DDF3F1; --accent: #19C6B4; --accent-rgb: 25,198,180; --accent-soft: #D5F2EF;   /* 6 Nov lane A: --accent brighter aqua for dots / rings / hairlines / glows ONLY (never text); every glow = rgba(var(--accent-rgb), a) */
  --amber: #0F766E;                      /* legacy name: older markup used amber as its highlight; it now maps to the green */
  /* status: the only places amber / red appear */
  --ok: #14B8A6; --ok-ink: #115E59; --warn: #F59E0B; --warn-bg: #FFF4D6; --warn-ink: #6B4200;
  --red: #EF4444; --red-ink: #B42318; --red-bg: #FFF0EF;
  --dot-off: #D63A35; --dot-off-hi: var(--red-ink);   /* the map's Currently unavailable dots + their count bubbles - they STAY RED (Roy 2 Nov); 6 Nov lane A: a calmer red, white numerals 4.65:1 (was #EF4444, 3.76:1) */
  /* shape + depth: layered shadows tinted with the ink green, never pure black */
  --r: 16px; --r-card: 20px; --r-lg: 24px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(13,42,51,.06), 0 4px 14px rgba(13,42,51,.06);
  --shadow-md: 0 1px 2px rgba(13,42,51,.06), 0 10px 30px rgba(13,42,51,.08);
  --shadow-lg: 0 2px 6px rgba(13,42,51,.08), 0 24px 60px rgba(13,42,51,.16);
  /* gradients: the multi-stop mint / aqua wash lives in the HOME hero and the owners banner only */
  /* 6 Nov lane A: ONE bloom system, sized in % so 1920 / 2560 glow too: teal top-left, sky top-right, a soft aqua foot. --bloom = the page version (home), --hero = the same light on a panel */
  --bloom: radial-gradient(70% 60% at 14% 6%, #B9EBE6 0, rgba(185,235,230,.55) 34%, transparent 70%), radial-gradient(50% 55% at 88% 10%, #C4DEFB 0, rgba(196,222,251,.45) 38%, transparent 72%), radial-gradient(60% 40% at 50% 100%, #CBEFF3 0, transparent 70%);
  --hero: radial-gradient(70% 60% at 10% 0%, #C2EEE9 0, transparent 70%), radial-gradient(55% 70% at 96% 6%, #CCE2FB 0, transparent 70%), radial-gradient(45% 45% at 55% 100%, #D3F0F4 0, transparent 70%), var(--bg);
  --grad-hero: var(--hero);
  --grad-band: radial-gradient(70% 90% at 0% 0%, #C9EDEE 0, transparent 65%), radial-gradient(60% 80% at 100% 100%, #D2E4FA 0, transparent 65%), #E8F4F6;
  --grad-btn: linear-gradient(120deg, #0E8378 0%, #0C7AA6 55%, #0369A1 100%);   /* 6 Nov lane A: brighter teal -> blue; white text 4.61:1 at the weakest point of the blend (#0F8A80 was 4.23, so the first stop is #0E8378) */
  /* glass recipe (Liquid Glass, tasteful): translucent white + blur + rim light. Use as: background: var(--glass); backdrop-filter: var(--glass-blur); */
  --glass: rgba(255,255,255,.7); --glass-strong: rgba(255,255,255,.86); --glass-line: rgba(255,255,255,.72); --glass-text: rgba(255,255,255,.98); --glass-blur: blur(18px) saturate(170%);   /* --glass-text = glass that sits over page text (tray, phone bar) */
  /* type: ONE display family (variable) + the body face */
  --head: "Plus Jakarta Sans", "Jakarta Fallback", "Segoe UI", system-ui, sans-serif; --body: "Inter", "Inter Fallback", "Segoe UI", system-ui, sans-serif;
  --wrap: clamp(1280px, 84vw, 1880px); --gut: clamp(24px, 2.2vw, 56px); --ease: cubic-bezier(.2, .8, .2, 1);   /* fluid: 1280 up to 1440, then 84% of the screen (1730 at 2060, 1880 at 2560) */
}
@media (max-width: 640px) { :root { --gut: 16px; } }
@media (prefers-reduced-transparency: reduce) { :root { --glass: #fff; --glass-strong: #fff; --glass-text: #fff; --glass-blur: none; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--body); font-size: clamp(17px, 12px + .4vw, 22px); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--green); text-underline-offset: 3px; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }   /* --green on --bg is about 8:1 (WCAG 2.4.11 needs 3:1); --accent was 2.67:1 */
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0; color: var(--ink); text-wrap: balance; letter-spacing: -.025em; }
h1, .display { font-size: clamp(2.5rem, 1.1rem + 5.2vw, 5rem); line-height: 1.04; letter-spacing: -.035em; }
h2, .h2 { font-size: clamp(1.75rem, 1rem + 2.8vw, 3.25rem); line-height: 1.06; letter-spacing: -.032em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
@media (min-width: 1680px) { h1, .display { font-size: clamp(5rem, 4.2vw, 7.5rem); } h2, .h2 { font-size: clamp(3.25rem, 2.6vw, 4.5rem); } h3 { font-size: 1.4rem; } }   /* the type grows with the screen: 86px / 54px at 2060, 107px / 67px at 2560 */
/* the one serif: ONLY the green key word in a few statement headings (class sf); everything else stays Plus Jakarta Sans + Inter */
em.sf { font: inherit; font-style: normal; background: linear-gradient(100deg, #0D9488 5%, #0284C7 95%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }   /* the accent word: same font as the heading, emerald to sky-blue (Roy 2 Nov: the serif looked cheap) */
h1, h2, h3, h4, .faq summary, .steps b, .area .from, .cprice b, .tile-n, .hero-count b { word-spacing: .07em; }   /* the display face at tight tracking needs a touch more between words */
.two > span, .two-soft { color: var(--ink-3); }              /* two-tone statements: the strong part in ink, the rest in --ink-3, ONE key word in green */
h1 em, h2 em, h3 em, .two em, em.key { font-style: normal; color: var(--green); }
p { margin: 0; text-wrap: pretty; }
.prose p, .prose li { max-width: 66ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
@media (min-width: 1680px) { :root { --wrap: min(92vw, 2200px); } }   /* review 2 Nov: no big empty side bands at 2060 / 2560 (1895 / 2200); text blocks keep their own ch caps */
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 2000; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.num, .cprice, .count, .bands td { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- header: slim, transparent at the top, frosted glass + compact once the page scrolls ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1000; isolation: isolate; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246,250,251,.78); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-bottom: 1px solid rgba(13,42,51,.07); box-shadow: inset 0 -1px 0 rgba(255,255,255,.6); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-block: 8px; }
.brand { font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: -.025em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand i { width: 24px; height: 24px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #2DD4BF, var(--green)); display: inline-block; position: relative; flex: none; box-shadow: 0 3px 8px rgba(15,118,110,.35); }
.brand i::after { content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 16px; border-radius: var(--r-pill); transition: background .15s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--green-wash); }
.nav a.cta { background: var(--grad-btn); color: #fff; margin-left: 8px; padding-right: 8px; display: inline-flex; align-items: center; gap: 10px; }
.nav a.cta::after { content: "\2192"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--green); font-size: 15px; transition: transform .2s var(--ease); }
.nav a.cta { background-size: 160% 100%; background-position: 0 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 14px rgba(3,105,161,.22); transition: background-position .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.nav a.cta:hover, .nav a.cta[aria-current="page"] { background: var(--grad-btn); background-size: 160% 100%; background-position: 100% 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 4px rgba(var(--accent-rgb),.16), 0 10px 26px rgba(3,105,161,.34); }   /* 6 Nov lane A: hover KEEPS the gradient (it slides to the blue end + an aqua glow); was a flat dark #115E59 */
.nav a.cta:hover { transform: translateY(-1px); }
.nav a.cta:active { transform: translateY(1px); }
.nav a.cta:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes top-glass { from { opacity: 0; } to { opacity: 1; } }
    @keyframes top-compact { to { min-height: 60px; } }
    .top::before { opacity: 0; animation: top-glass linear both; animation-timeline: scroll(root); animation-range: 0 90px; }
    .top .wrap { animation: top-compact linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
  }
}

/* ---------- buttons (6 Nov lane A, ONE primary): every filled button = the teal-blue gradient pill + the round white arrow chip (Roy's refs); hover keeps the gradient
   (it slides to the blue end, lifts 1 px, glows aqua - never a flat fill), press sinks 1 px; secondary = the white outline pill; text link = arrow nudges 4px.
   REPLACES the flat-dark hover (#115E59) and the arrow-only-when-.btn-arrow rule (Show places / Compare / Enquire had no arrow). White text >= 4.61:1 on every stop. ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 10px 0 28px; border-radius: var(--r-pill); border: 0; background: var(--grad-btn); background-size: 160% 100%; background-position: 0 0; color: #fff; font: 600 17px var(--body); text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 18px rgba(3,105,161,.26); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-position .2s var(--ease), border-color .15s, color .15s; }
.btn:hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 4px rgba(var(--accent-rgb),.16), 0 12px 30px rgba(3,105,161,.36); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 3px 10px rgba(3,105,161,.3); }
.btn::after { content: "\2192"; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--green); font-size: 16px; font-weight: 700; transition: transform .2s var(--ease); }
.btn:hover::after { transform: translateX(3px); }
.btn.ghost, .btn.secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); box-shadow: none; padding: 0 24px; }
.btn.ghost::after, .btn.secondary::after, .btn.wa::after, .tray .btn::after { content: none; }   /* secondary buttons carry no chip; the tray's Compare stays compact so the glass bar fits a phone */
.btn.ghost:hover, .btn.secondary:hover { border-color: var(--green); background: var(--green-wash); box-shadow: none; }
.btn.ghost:active, .btn.secondary:active { box-shadow: none; }
.btn.sm { min-height: 44px; padding: 0 7px 0 20px; font-size: 16px; }
.btn.sm::after { width: 30px; height: 30px; font-size: 15px; }
.btn.ghost.sm, .btn.secondary.sm, .tray .btn { padding: 0 20px; }
.btn.back-btn { padding: 0 20px 0 14px; gap: 8px; }   /* Back (Roy 6 Nov) on the list + place pages: the white outline pill, its arrow sits snug to the word */
.lh-l .back-btn { margin-bottom: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn:disabled:hover { background-position: 0 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 18px rgba(3,105,161,.26); }
.btn-arrow { padding-right: 10px; }   /* kept: older markup still names it; the arrow now comes with every primary .btn */
a.more::after { content: "\2192"; font-weight: 700; transition: transform .2s var(--ease); }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after, .nav a.cta, .nav a.cta::after { transition: none; } .btn:hover, .btn:active, .nav a.cta:hover, .nav a.cta:active { transform: none; } .btn:hover::after, .nav a.cta:hover::after { transform: none; } }
a.more:hover::after { transform: translateX(4px); }
a.more { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 600; font-size: 17px; text-decoration: none; color: var(--green); }
a.more:hover { text-decoration: underline; }
.linkbtn { background: none; border: 0; color: var(--green); font: 600 17px var(--body); text-decoration: underline; cursor: pointer; padding: 0; min-height: 32px; }

/* ---------- form fields: 56px, 12px radius, green focus ring ---------- */
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: 500 17px var(--body); transition: box-shadow .15s; }   /* the edge colour switches at once (a red error edge must never fade in) */
.input:not(:focus):not([aria-invalid="true"]):hover, .field input:not(:focus):not([aria-invalid="true"]):hover, .field select:not(:focus):not([aria-invalid="true"]):hover, .field textarea:not(:focus):not([aria-invalid="true"]):hover { border-color: #9CCBD0; }   /* hover never hides a red (invalid) or focused edge */
/* 6 Nov lane A: ONE dropdown look everywhere a native select shows (the home search chevron); REPLACES the browser default arrow on get-listed / place */
.field select, .cmp-tools select { -webkit-appearance: none; appearance: none; padding-right: 44px; text-overflow: ellipsis; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230D2A33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; }
.field textarea { padding: 14px 16px; min-height: 120px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.28); }
::placeholder { color: var(--ink-3); opacity: 1; }

/* ---------- sections and rules ---------- */
.sec { padding-block: clamp(64px, 8vw, 128px); }
.sec .wrap { display: grid; gap: clamp(28px, 3vw, 44px); }
.sec.band, .sec.b-grad { background: var(--grad-band); }   /* full-width bands: the colour runs edge to edge, the content stays in the container */
.sec.b-white { background: #fff; }
.sec.b-mint { background: linear-gradient(180deg, #EEF6F8 0%, #E6F2F5 100%); }
.b-mint .faq details { border-color: rgba(13,42,51,.14); }
.b-mint .tile { background-color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; }
.sec-head > div { display: grid; gap: 12px; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sec .sub, .sub { color: var(--ink-2); max-width: 62ch; }
.loading { color: var(--ink-3); }
.rule { position: relative; }
/* 6 Nov lane A: the blue ref motif - the section hairline glows aqua from ONE dot where the content starts and fades into the plain line (REPLACES the plain 1px rule and the footer's plain border-top) */
.rule, .foot { --rule-x: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); }
.rule::before, .foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, var(--line) 0, var(--line) calc(var(--rule-x) - 80px), rgba(var(--accent-rgb),.75) var(--rule-x), var(--line) calc(var(--rule-x) + 420px), var(--line) 100%); }
.rule::after, .foot::after { content: ""; position: absolute; left: calc(var(--rule-x) - 3.5px); top: -3px; width: 7px; height: 7px; border-radius: 50%; pointer-events: none; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.18), 0 0 14px rgba(var(--accent-rgb),.8); }

/* ---------- chips / tabs (active = green fill) ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip, .tabs button, .map-tabs button, .tab { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 600 16px var(--body); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.chip:hover, .tabs button:hover, .map-tabs button:hover, .tab:hover { border-color: var(--green); background: var(--green-wash); }
.chip.on, .tab[aria-pressed="true"], .tabs button[aria-pressed="true"], .map-tabs button[aria-pressed="true"] { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 4px 14px rgba(3,105,161,.22); }   /* 6 Nov lane A: selected = the same gradient as the buttons (was flat teal: two accent systems on one screen) */
.glass { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-line); border-top-color: #fff; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(15,118,110,.06), 0 1px 0 rgba(15,118,110,.08), 0 24px 60px rgba(2,132,199,.14); border-radius: var(--r-lg); }   /* 6 Nov lane A: the glossy edge (white top rim, faint teal foot, sky-tinted long shadow) */

/* ---------- status badge: ONE per place - Available (green dot) / Pending (amber) / Currently unavailable (RED) ---------- */
.status { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 13px 0 11px; border-radius: var(--r-pill); background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.8); color: var(--ok-ink); font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: 0 1px 2px rgba(13,42,51,.08), 0 4px 12px rgba(13,42,51,.12); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.18); }
.status.s-pending { background: var(--warn-bg); color: var(--warn-ink); }
.status.s-pending i { background: var(--warn); box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.status.s-unavailable { background: var(--red-bg); color: var(--red-ink); box-shadow: 0 0 0 1px rgba(239,68,68,.4), 0 4px 12px rgba(13,42,51,.1); }
.status.s-unavailable i { background: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,.18); }

/* ---------- THE CARD (home, browse, place page "similar", Google pages): 4:3 photo, status top-left, heart top-right, price + suburb, type, facts, chips ---------- */
.cards { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(clamp(290px, 17vw, 380px), 1fr)); }   /* more columns on a wide screen, never wider cards */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--ink-2); }   /* final X: content-visibility moved to the browse grid (browse.css) so full-page shots have no holes */
.card-a { display: block; color: inherit; text-decoration: none; border-radius: var(--r-card); }
.card-a:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }
.card .ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--green-wash); box-shadow: 0 1px 2px rgba(13,42,51,.08); transition: box-shadow .2s; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card:has(.s-unavailable) .ph img { filter: saturate(.55); }
.card.hot .ph { box-shadow: 0 0 0 3px var(--green), 0 12px 30px rgba(13,42,51,.16); }
.card > .status { position: absolute; left: 12px; top: 12px; z-index: 2; pointer-events: none; }
.card .body { padding: 14px 4px 4px; display: grid; gap: 4px; }
.card .r1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 34px; }   /* 34px = the price's line box: a card with no price keeps its title on the same line as its neighbours' */
.card h3 { font-size: 19px; line-height: 1.3; min-width: 0; padding-top: 3px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }   /* 2 Nov: the title is the kind of place + its street ('Private room on Flinders Lane'), at most 2 lines; the price sits beside its first line */
.card .cprice { font-size: 17px; font-weight: 500; color: var(--ink-2); white-space: nowrap; flex: none; }
.card .cprice b { font-family: var(--head); font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.card .cprice.none { font-size: 15px; color: var(--ink-3); }
.card .r1:has(.cprice.none) { flex-wrap: wrap; row-gap: 2px; }
.card .body { container-type: inline-size; }
@container (max-width: 340px) { .card h3 { -webkit-line-clamp: 3; } }   /* final Z, 6 Nov (O3-3): a narrow card keeps its price beside the title and lets the title take a 3rd line, so the street is never cut off */
@container (max-width: 260px) { .card .r1 { flex-direction: column; gap: 2px; } }   /* round 4: on a narrow card the title gets the full width (2 lines) so the street that tells places apart shows; the price sits under it; final Z 6 Nov: 280 -> 260 px so the 269 px home carousel cards keep the price beside the title */
.card .where { color: var(--ink-2); font-size: 16px; }
.card .chips-row + .facts { margin-top: 2px; }
/* dot-separated inline lists (the facts, the trip + stay-total line): the dot belongs to the item AFTER it and is clipped off when that item starts a line, so a dot never dangles at a line end or leads a line */
.dl { overflow: hidden; }
.dl-in { display: flex; flex-wrap: wrap; row-gap: 2px; margin-left: -16px; }
.dl-in > span { position: relative; padding-left: 16px; }
.dl-in > span::before { content: "\00b7"; position: absolute; left: 6px; }
.card .facts { color: var(--ink-3); font-size: 16px; }
.card .facts span { white-space: nowrap; }
.more-row { display: grid; justify-items: center; gap: 10px; padding: 12px 0 4px; color: var(--ink-3); font-size: 16px; text-align: center; }   /* 'Showing 24 of 83 places' + 'Show 24 more' under a long list */
.chips-row { margin-top: 4px; font-size: 15px; line-height: 1.4; }                       /* the trip and the stay total: one quiet line of text, no pills */
.chips-row .dl-in { margin-left: 0; justify-content: space-between; gap: 2px 14px; }   /* the trip on the left, the stay total on the RIGHT of the same line when both fit, else the total drops under it (left); never a dot between them */
.chips-row .dl-in > span::before { content: none; }
.cchip { font-weight: 600; max-width: 100%; }
.cchip.trip { position: relative; padding-left: 12px; color: var(--green-hi); text-wrap: balance; }   /* the dot hangs in the left padding so a second line lines up under the text; balance keeps 'Hospital' from sitting alone on line 2 */
.cchip.trip i { position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px rgba(var(--accent-rgb),.25); }
.cchip.total { color: var(--ink); white-space: nowrap; padding-left: 0; }
.heart { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 1px 2px rgba(13,42,51,.1), 0 4px 12px rgba(13,42,51,.14); transition: transform .18s var(--ease), color .15s, background .15s; }
.heart:hover { background: #fff; color: var(--green); }
.heart[aria-pressed="true"] { color: var(--green); background: #fff; }
.heart[aria-pressed="true"] svg path { fill: currentColor; }
.heart.pulse { animation: heart-pop .34s var(--ease); }
@keyframes heart-pop { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .card .ph img { transition: transform .45s var(--ease); }
  .card-a:hover .ph img, .card.hot .ph img { transform: scale(1.04); }
}

/* ---------- shortlist tray (glass, bottom) + the compare view (shortlist.js) ---------- */
.tray { position: fixed; left: 50%; bottom: calc(var(--tray-bottom, 20px) + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 950; display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 24px); padding: 8px 8px 8px 12px; border-radius: var(--r-pill); background: var(--glass-text); }
.tray-thumbs { display: flex; }
.tray-thumb { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: var(--green-wash) center / cover no-repeat; margin-left: -10px; padding: 0; cursor: pointer; box-shadow: 0 2px 8px rgba(13,42,51,.2); }
.tray-thumb:first-child { margin-left: 0; }
.tray-thumb::after { content: "\00d7"; position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 14px/20px var(--body); text-align: center; }
.tray-text { font-weight: 600; color: var(--ink); font-size: 16px; line-height: 1.25; white-space: nowrap; }
.tray-text small { display: block; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.tray .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
.tray .linkbtn { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 0 6px; white-space: nowrap; min-height: 44px; }
dialog.compare { width: min(1120px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-lg); overflow: hidden; }
dialog.compare[open] { display: flex; flex-direction: column; }
dialog.compare::backdrop { background: rgba(13,42,51,.5); }
.cmp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 28px 16px; border-bottom: 1px solid var(--line); }
.cmp-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.cmp-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cmp-tools select { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: 500 16px var(--body); max-width: 300px; }
.cmp-x { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: 400 26px/1 var(--body); cursor: pointer; }
.cmp-x:hover { border-color: var(--green); background: var(--green-wash); }
.cmp-body { overflow: auto; padding: 0 28px 28px; }
.cmp-note { padding: 14px 0 0; color: var(--ink-3); font-size: 15px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: 640px; margin-top: 12px; font-size: 16px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 500; }
.cmp thead th { border-bottom: 0; padding-top: 0; }
.cmp tbody th { width: 150px; font-size: 14px; font-weight: 600; color: var(--ink-3); position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cmp .cph { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--green-wash); margin-bottom: 10px; }
.cmp .cph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp .cph .status { position: absolute; left: 8px; top: 8px; }
#cmpTitle:focus { outline: none; }
.cmp .rm { display: flex; width: fit-content; margin-top: 10px; min-height: 44px; padding: 0 16px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.cmp-act { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp .cname { font: 700 18px/1.2 var(--head); color: var(--ink); letter-spacing: -.02em; display: block; }
.cmp .cwhere { color: var(--ink-3); font-size: 15px; }
.cmp .big { font: 700 22px var(--head); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cmp .best { color: var(--green); }
@media (max-width: 640px) {
  dialog.compare { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 22px; }
  .cmp { display: block; min-width: 0; width: 100%; margin-top: 8px; }
  .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
  .cmp.n2 tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp thead td { display: none; }
  .cmp tbody tr { padding-block: 10px; border-bottom: 1px solid var(--line); }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { display: block; padding: 2px 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  .cmp thead th { padding-bottom: 6px; }
  .cmp tbody th { grid-column: 1 / -1; position: static; width: auto; background: none; padding-bottom: 4px; font-size: 14px; }
  .cmp-head { position: relative; padding-right: 66px; }
  .cmp-x { position: absolute; top: 12px; right: 12px; }
  .cmp-tools { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
  .cmp-tools select { max-width: none; width: 100%; padding: 0 8px; }
  .cmp .cph { aspect-ratio: auto; overflow: visible; background: none; }
  .cmp .cph img { aspect-ratio: 4 / 3; height: auto; border-radius: 14px; background: var(--green-wash); }
  .cmp .cph .status { position: static; margin-top: 8px; min-height: 0; padding: 0; background: none; border: 0; box-shadow: none; font-size: 14px; white-space: normal; overflow-wrap: normal; line-height: 1.2; align-items: flex-start; gap: 6px; }   /* in the narrow column the badge is plain text with its dot: 'Currently unavailable' wraps on its space */
  .cmp .cph .status i { flex: none; margin-top: 4px; }
  .cmp .cname { font-size: 17px; }
  .cmp .cwhere { font-size: 14px; line-height: 1.3; display: block; }
  .cmp .big { font-size: 19px; }
  .cmp .btn.sm { width: 100%; min-height: 44px; padding: 0 6px 0 12px; gap: 4px; font-size: 15px; justify-content: space-between; text-align: left; line-height: 1.15; }
  .cmp .btn-arrow::after { width: 28px; height: 28px; flex: none; }
}
@media (max-width: 720px) { .cmp-head { padding: 16px 16px 12px; } .cmp-body { padding: 0 16px 20px; } .cmp tbody th { width: 112px; } .tray { gap: 10px; padding-left: 8px; } .tray-text small { display: none; } }

/* ---------- the near picker (picker.js): a trigger + a panel with search, city tabs and groups (a bottom sheet on a phone) ---------- */
.pick { position: relative; min-width: 0; }
.pick-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.pick-btn b { flex: 1 1 auto; font: 600 17px var(--body); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; text-align: left; }
.pick-btn b.ph { color: var(--ink-3); font-weight: 500; }
.pick-panel { position: absolute; z-index: 1300; top: calc(100% + 10px); left: 0; width: min(420px, calc(100vw - 32px)); max-height: min(560px, 70vh); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink-2); font-size: 16px; }
.pick-top { padding: 14px 14px 10px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.pick-panel .pick-top input { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: 500 16px var(--body); cursor: text; letter-spacing: 0; text-transform: none; }
.pick-panel .pick-top input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.28); }
.pick-cities { display: flex; gap: 6px; }
.pick-cities button { flex: 1; min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 600 15px var(--body); cursor: pointer; padding: 0 8px; }
.pick-cities button[aria-pressed="true"] { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(3,105,161,.22); }
.pick-list { overflow: auto; padding: 6px 8px 10px; overscroll-behavior: contain; }
.pick-g { padding: 12px 10px 4px; font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.pick-o { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: 500 16px var(--body); text-align: left; cursor: pointer; }
.pick-o:hover, .pick-o:focus-visible { background: var(--green-wash); }
.pick-o:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.pick-o[aria-selected="true"] { background: var(--green-wash); font-weight: 700; }
.pick-o[aria-selected="true"]::after { content: "\2713"; color: var(--green); font-weight: 700; }
.pick-o small { color: var(--ink-3); font-size: 14px; }
.pick-empty { padding: 18px 12px; color: var(--ink-3); }
.pick-back { display: none; }
@media (max-width: 900px) {
  .pick-panel { position: fixed; z-index: 2100; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 82dvh; border-radius: 24px 24px 0 0; border-width: 1px 0 0; }
  .pick-back { position: fixed; inset: 0; z-index: 2090; background: rgba(13,42,51,.45); display: block; }
}

/* ---------- budget panel (browse page): bar chart of real prices, two handles, min + max boxes ---------- */
.budget { position: relative; display: grid; gap: 4px; }
.bpill { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; min-width: 150px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: 500 16px var(--body); cursor: pointer; white-space: nowrap; }
.bpill b { font-weight: 600; }
.bpill svg { width: 18px; height: 18px; flex: none; }
.bpill.on { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.bpanel { position: absolute; z-index: 1300; top: calc(100% + 10px); left: 0; width: min(420px, calc(100vw - 32px)); padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.bp-head { font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.bp-head span { font-weight: 400; color: var(--ink-3); font-size: 15px; }
.hist { display: flex; align-items: flex-end; gap: 2px; height: 64px; padding: 0 11px; }
.hist i { flex: 1; border-radius: 3px 3px 0 0; background: var(--mint-2); }
.hist i.in { background: var(--accent); }
.dual { position: relative; height: 28px; margin-top: -2px; }
.dual::before { content: ""; position: absolute; left: 11px; right: 11px; top: 12px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--mint-2) var(--lo), var(--green) var(--lo), var(--green) var(--hi), var(--mint-2) var(--hi)); }
.dual input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.dual input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 2px 8px rgba(13,42,51,.3); cursor: grab; }
.dual input::-moz-range-thumb { pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--green); cursor: grab; }
.dual input::-webkit-slider-runnable-track { background: none; }
.dual input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--green); outline-offset: 2px; box-shadow: 0 0 0 7px rgba(var(--accent-rgb),.25), 0 2px 8px rgba(13,42,51,.3); }
.mm { display: flex; align-items: flex-end; gap: 10px; margin-top: 14px; }
.mm label { flex: 1; display: grid; gap: 4px; font-size: 14px; color: var(--ink-3); }
.money { display: flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; }
.money i { font-style: normal; color: var(--ink-3); }
.money input { width: 100%; min-width: 0; border: 0; background: none; color: var(--ink); font: 600 17px var(--body); outline: none; }
.money:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.28); }
.mm .dash { padding-bottom: 12px; color: var(--ink-3); }
.bp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }

/* ---------- map: tiles stay in NORMAL colour (Roy: no grey / night filter on the map); the map is tied to the design by its frame, its pins, its popups and its glass controls; pins are price tags (green; red outline = unavailable; dark = selected), bubbles are counts; the controls on the map are glass ---------- */
.leaflet-container { font-family: var(--body); background: #F5F4F1; isolation: isolate; }   /* isolation keeps the map's own layers under the sticky header; background = the vector map's land colour, so loading never flashes blue-grey */
.maplibregl-map { overflow: hidden; position: relative; -webkit-tap-highlight-color: transparent; }   /* the two MapLibre rules the base map needs (common.js baseMap) - kept here so no extra stylesheet loads */
.maplibregl-canvas { position: absolute; left: 0; top: 0; }
.pin { background: var(--green); color: #fff; border: 2px solid #fff; border-radius: var(--r-pill); font: 700 15px var(--body); font-variant-numeric: tabular-nums; padding: 4px 12px; min-height: 34px; line-height: 1.2; align-items: center; white-space: nowrap; box-shadow: 0 1px 2px rgba(13,42,51,.2), 0 4px 14px rgba(13,42,51,.3); transform: translate(-50%, -50%); display: inline-flex; cursor: pointer; transition: background .12s, color .12s; }
.pin.s-unavailable { background: #fff; color: var(--red-ink); border-color: var(--red); }
.pin.dot { width: 11px; height: 11px; min-height: 0; padding: 0; border-radius: 50%; background: var(--dot-off); border: 1.5px solid #fff; box-shadow: 0 1px 2px rgba(13,42,51,.3); }   /* Currently unavailable: a quiet RED dot, no price (the popup has it); 6 Nov lane A: 11 px with a 1.5 px white ring (was 14 px, 2 px) */
.pin.dot.hot, .pin.dot:hover { background: var(--dot-off-hi); border-color: #fff; transform: translate(-50%, -50%) scale(1.25); }
@media (pointer: coarse) { .pin.dot::after { inset: calc(-1 * min(18px, var(--hit, 99px))); } }   /* a finger gets a 44 px target round the 11 px dot (the inset counts from inside the 1.5 px border: 8 + 2 x 18 = 44) */
.bubble.dotb { width: 22px; height: 22px; border: 2px solid #fff; background: var(--dot-off); color: #fff; font-size: 12px; box-shadow: 0 1px 2px rgba(13,42,51,.3); }   /* 6 Nov lane A: 22 px (was 24) */   /* a few Currently unavailable places in one spot */
.bubble.dotb:hover, .bubble.dotb.hot { background: var(--dot-off-hi); color: #fff; border-color: #fff; }
@media (pointer: coarse) { .bubble.dotb::after { inset: calc(-1 * min(13px, var(--hit, 99px))); } }   /* 18 + 2 x 13 = 44 */
.pop .pop-st { font-style: normal; font-weight: 700; font-size: 15px; color: var(--red-ink); }
.pin.s-pending { background: #fff; color: var(--warn-ink); border-color: var(--warn); }
.pin.hot, .pin:hover { background: var(--ink); color: #fff; border-color: #fff; }
.pin.here { background: var(--ink); color: #fff; border-color: #fff; font-size: 16px; padding: 6px 15px; }
.pin-wrap { background: none !important; border: 0 !important; }
.leaflet-marker-icon.leaflet-interactive.pin-wrap { pointer-events: none; }   /* beats Leaflet's .leaflet-marker-icon.leaflet-interactive { pointer-events: auto } (one class stronger) */
.pin-wrap .pin, .pin-wrap .bubble { pointer-events: auto; }   /* round 9: the wrapper's own box sits down-right of the tag it holds (the tag is shifted -50%), so only the tag itself takes clicks and taps */
.pin.dot.mini { width: 14px; height: 14px; min-height: 0; padding: 0; border-radius: 50%; font-size: 0; overflow: hidden; background: var(--green); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(13,42,51,.35); }   /* round 4: a place whose tag would overlap a better one shows as a small teal dot (its popup has the price); zoom in and it becomes a tag */
.pin.dot.mini.s-pending { background: var(--warn); }
.pin.dot.mini.hot, .pin.dot.mini:hover { background: var(--ink); transform: translate(-50%, -50%) scale(1.25); }
@media (pointer: coarse) { .pin, .bubble { position: relative; } .pin::after, .bubble::after { content: ""; position: absolute; inset: calc(-1 * min(7px, var(--hit, 99px))) calc(-1 * min(3px, var(--hit, 99px))); } }   /* --hit (common.js trimTaps) trims it beside a close neighbour; a finger gets a 44 px target round a 34 px tag (invisible; 30 inside the border + 2 x 7 = 44) */
.pin-wrap.gone { display: none !important; }     /* a tag that has been merged into a count bubble */
.bubble { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--green); border: 3px solid var(--green); font: 700 18px/1 var(--body); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(13,42,51,.2), 0 4px 14px rgba(13,42,51,.3); transform: translate(-50%, -50%); cursor: pointer; font-variant-numeric: tabular-nums; }
.bubble:hover, .bubble.hot { background: var(--green); color: #fff; border-color: #fff; }
.pin-wrap:focus-visible { outline: none; }
.pin-wrap:focus-visible .pin, .pin-wrap:focus-visible .bubble { outline: 3px solid var(--green); outline-offset: 3px; box-shadow: 0 0 0 7px rgba(255,255,255,.9), 0 4px 14px rgba(13,42,51,.3); }   /* the white halo keeps the ring readable on any map colour */
.leaflet-bar { border: 1px solid var(--glass-line) !important; border-radius: 14px; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-md) !important; overflow: hidden; }
.leaflet-bar a, .leaflet-bar a:hover, .leaflet-touch .leaflet-bar a, .leaflet-touch .leaflet-bar a:hover { width: 42px; height: 42px; line-height: 42px; color: var(--ink); font: 600 22px/42px var(--body); background: transparent; border-bottom-color: rgba(13,42,51,.1); }
@media (max-width: 900px) { .leaflet-bar a, .leaflet-bar a:hover, .leaflet-touch .leaflet-bar a, .leaflet-touch .leaflet-bar a:hover { width: 44px; height: 44px; line-height: 44px; font-size: 24px; } }
.leaflet-bar a:hover, .leaflet-touch .leaflet-bar a:hover { background: rgba(255,255,255,.7); }
.leaflet-control-attribution { background: rgba(255,255,255,.75) !important; font-size: 12px; }
.cpop .leaflet-popup-content { width: min(330px, calc(100vw - 70px)) !important; min-width: 0; }
.cluster-pop { display: grid; gap: 2px; min-width: 0; }
.cluster-pop h4 { margin: 0 0 6px; font: 700 19px var(--head); color: var(--ink); }
.cluster-pop a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 2px; padding: 9px 6px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); border-radius: 8px; }
.cluster-pop a:hover { background: var(--green-wash); }
.cluster-pop a b { grid-column: 1 / -1; font-size: 17px; line-height: 1.25; }
.cluster-pop a span { grid-column: 1; color: var(--ink-3); font-size: 16px; }
.cluster-pop a em { grid-column: 2; grid-row: 2; align-self: end; font-style: normal; font-weight: 700; color: var(--green); white-space: nowrap; }
.leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: var(--shadow-lg); }
.leaflet-container a.leaflet-popup-close-button { top: 8px; right: 8px; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--ink); font: 400 26px/34px var(--body); text-align: center; box-shadow: 0 1px 2px rgba(13,42,51,.2), 0 3px 10px rgba(13,42,51,.2); z-index: 3; }
.leaflet-container a.leaflet-popup-close-button:hover { background: #fff; color: var(--green); }
@media (max-width: 900px) { .leaflet-container a.leaflet-popup-close-button { width: 44px; height: 44px; font-size: 30px; line-height: 42px; } }
.leaflet-popup-content { margin: 10px; font-size: 17px; color: var(--ink); }
.pop { display: grid; gap: 6px; width: 220px; text-decoration: none; color: var(--ink); }
.leaflet-container a.pop, .leaflet-container .cluster-pop a { color: var(--ink); }   /* Leaflet's own blue link colour must never win in a popup */
.leaflet-container a.pop em, .leaflet-container .cluster-pop a em { color: var(--green); }
.pop img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.pop b { font-size: 18px; }
.pop span { color: var(--ink-3); font-size: 16px; }
.pop em { font-style: normal; font-weight: 700; color: var(--green); }
.map-hint { position: absolute; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(13,42,51,.45); color: #fff; font: 600 20px var(--body); pointer-events: none; text-align: center; padding: 20px; }   /* map zoom hint: shown for a moment when the wheel is used over a map inside a scrolling page */
.map-hint[hidden] { display: none; }
.map-note { background: rgba(255,255,255,.92); border: 1px solid var(--line); color: var(--ink-3); font-size: 14px; box-shadow: var(--shadow-sm); }

/* ---------- accordion (FAQ): hairline rows ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 56px 22px 4px; font: 600 19px/1.35 var(--head); letter-spacing: -.015em; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); font: 400 24px/1 var(--body); color: var(--green); transition: background .15s, transform .25s var(--ease); }
.faq summary:hover::after { background: var(--green-wash); }
.faq details[open] summary::after { content: "\2212"; background: var(--green); border-color: var(--green); color: #fff; }
.faq details p { padding: 0 56px 24px 4px; color: var(--ink-2); max-width: 70ch; }

/* ---------- footer: 3 short columns, legal line ---------- */
.foot { background: var(--bg); padding-block: 64px 36px; color: var(--ink-3); font-size: 16px; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px 40px; }
.foot-about { display: grid; gap: 14px; align-content: start; max-width: 36ch; }
.foot-about p { color: var(--ink-3); }
.foot nav { display: grid; gap: 2px; align-content: start; }
.foot nav h2 { font: 600 14px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.foot a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; font-size: 16px; }
.foot nav a:hover { color: var(--green); text-decoration: underline; }
.foot .brand { min-height: 0; font-size: 20px; }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 900px) { .foot a, .top .brand { min-height: 44px; } .foot .brand { min-height: 44px; } a.more { min-height: 44px; } .doc .card .mins summary { display: inline-flex; align-items: center; min-height: 44px; } .doc .card .mins summary::after { inset: 0 -10px; } .links li { padding-block: 4px; } .links li a { display: inline-flex; align-items: center; min-height: 44px; } }   /* phone hit targets: 44px (footer links were 36, the logo 29, 'See all' links 32, '+7 more hospitals' 24) */
@media (max-width: 720px) { body { font-size: 17px; } }
@media (max-width: 900px) { .top .wrap { flex-wrap: nowrap; min-height: 62px; padding-block: 6px; } }   /* one row: logo + Menu button (menu.css) */
@media (max-width: 420px) { .top .wrap { gap: 10px; } .brand { font-size: 18px; gap: 8px; } }
@media (max-width: 340px) { .brand { font-size: 16px; } .top .wrap { padding-inline: 14px; } }

.count { counter-reset: n var(--to); }
.count::after { content: counter(n); }
.count > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* the real number stays in the page for screen readers and for browsers that cannot count */
/* ---------- motion: each piece has a job and lives inside prefers-reduced-motion; no support = no animation, the page is the same ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
  ::view-transition-group(hero) { animation-duration: .45s; animation-timing-function: var(--ease); }
  @supports (animation-timeline: view()) {
    @keyframes rise { from { transform: translateY(28px); } to { transform: none; } }   /* movement only: no opacity, so text is never grey or half-faded at any scroll position */
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }   /* boxes and photos rise once; text is never held back */
  }
  @keyframes count { from { --n: 0; } to { --n: var(--to); } }
  .count { counter-reset: n var(--n); animation: count 1.2s var(--ease) both; }
}

/* ---------- the Google pages (p/*) and the legal pages, written by tools/build_pages.py + tools/build_legal.py ---------- */
.doc { padding-block: 24px 12px; min-width: 0; }
.doc > * { min-width: 0; }
.doc .crumbs { color: var(--ink-3); font-size: 16px; margin-bottom: 14px; }
.doc .crumbs a { color: var(--green); font-weight: 600; }
.doc .draft-flag { display: inline-block; background: var(--warn-bg); border: 1px solid var(--warn); border-radius: 12px; color: var(--warn-ink); font-weight: 600; padding: 8px 16px; margin: 0 0 16px; }
.doc-hero { background: var(--hero); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 52px); display: grid; gap: 16px; align-content: start; }
.doc-hero h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem); max-width: 24ch; }
.doc-hero .hero-sub { font-size: clamp(18px, .8vw + 12px, 21px); color: var(--ink-2); max-width: 64ch; }
.doc-hero .btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 0; }
.doc .fine { color: var(--ink-3); font-size: 15px; }
.note-deposit { margin: 18px 0 0; padding: 16px 20px; background: var(--mint); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; font-size: 17px; }   /* review O4: no 80ch cap - the box spans the column like the hero and the price table, so the edges line up on a wide screen (the line is short) */
.note-deposit b { color: var(--ink); }
.doc .block { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.doc .block h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
.doc .block > p { max-width: 70ch; color: var(--ink-2); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 70ch; }
.points li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-sm); }
.doc .contact { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }   /* the Google pages' 'Get listed' row (not the place page's contact box) */
.doc .contact span { color: var(--ink-3); }
.faq h3 { font-size: 21px; margin-top: 10px; }
.faq p { max-width: 70ch; color: var(--ink-2); }
.bands, .atable { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 6px 18px 12px; box-shadow: var(--shadow-sm); }
.bands table, .atable table { width: 100%; border-collapse: collapse; font-size: 17px; }
.bands th, .bands td, .atable th, .atable td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.bands tbody tr:last-child > *, .atable tbody tr:last-child > * { border-bottom: 0; }
.bands thead th, .atable thead th { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); vertical-align: bottom; }
.bands th small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.bands tbody th, .atable tbody th { font-weight: 700; color: var(--ink); }
.bands td { font-weight: 700; color: var(--green); white-space: nowrap; }
.bands .fine { margin-top: 10px; }
.doc .card .clink { display: block; color: inherit; text-decoration: none; }
.doc .card .body.more { padding-top: 0; }
.doc .card .mins { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.doc .card .mins details { display: inline; }
.doc .card .mins .nm { white-space: nowrap; }
.doc .card .mins summary { display: inline-block; position: relative; cursor: pointer; color: var(--green); font-weight: 600; }
.doc .card .mins summary::after { content: ""; position: absolute; inset: -12px -10px; }   /* the 44 px hit area, without a 44 px line */
.doc .card .ph-note { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 17px; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.links li { padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 19px; }
.links a { font-weight: 600; }
.links small { color: var(--ink-3); font-size: 16px; margin-left: 10px; }
.legal > * { max-width: 860px; }
.legal h2 { font-size: 27px; margin: 40px 0 12px; }
.legal ol { margin: 0; padding-left: 28px; display: grid; gap: 12px; }
.legal li { padding-left: 6px; color: var(--ink-2); }
.legal li::marker { color: var(--green); font-weight: 700; }
.plain { margin: 22px 0 0; padding: 16px 20px; background: var(--mint); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; }
.plain b { display: block; color: var(--ink); margin-bottom: 4px; }
.legal-links { margin-top: 36px; font-size: 17px; }
@media (max-width: 600px) {
  .bands { padding-inline: 14px; }
  .atable { padding-inline: 8px; }
  .atable table { font-size: 16px; }
  .atable th, .atable td { padding: 10px 4px; }
  .atable th:nth-child(3), .atable td:nth-child(3) { display: none; }
  /* the price table on a phone: one block per kind of place, the four totals in a 2 x 2 grid with their column name over each */
  .bands table, .bands tbody, .bands tr, .bands th, .bands td { display: block; }
  .bands thead { display: none; }
  .bands tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .bands tbody tr:last-child { border-bottom: 0; }
  .bands th, .bands td { padding: 0; border: 0; }
  .bands tbody th { grid-column: 1 / -1; }
  .bands td::before { content: attr(data-l); display: block; font-size: 14px; font-weight: 500; color: var(--ink-3); }
  .doc-hero { padding: 24px 20px; }
}
/* small text links and link-buttons: a 32 px hit area (they still look the same size) */
.doc .crumbs a, .legal-links a { display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 900px) { .doc .crumbs a, .legal-links a { min-height: 44px; } }

/* ---------- Builder H (1 Nov 2026): loading skeletons, image fade-in, card lift, header container, wide-screen scale ---------- */
/* loading: a shimmering card shape while the places stream in (same box as a real card, so nothing jumps) */
.card.sk { content-visibility: visible; pointer-events: none; }
.card.sk .ph, .sk-l { background: linear-gradient(100deg, var(--green-wash) 35%, #EEF8FA 50%, var(--green-wash) 65%) 0 0 / 300% 100%; }
.sk-l { display: block; height: 15px; border-radius: 8px; margin-top: 10px; }
.card.sk .body { padding-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
  .card.sk .ph, .sk-l { animation: shimmer 1.5s linear infinite; }
  /* a photo fades in when it has loaded (menu.js marks it .fx-wait until then): the box is already its final size, so there is no layout shift */
  .card .ph img, .a-shot img { transition: opacity .45s ease-out, transform .45s var(--ease); }
  .fx-wait { opacity: 0; }
  /* hover: the card lifts a little, its photo gains depth */
  @media (hover: hover) {
    .card { transition: translate .28s var(--ease); }   /* translate, not transform: a card that rises in on scroll keeps its animation transform */
    .card:hover { translate: 0 -5px; }
    .card:hover .ph { box-shadow: 0 2px 4px rgba(13,42,51,.08), 0 18px 36px rgba(13,42,51,.2); }
  }
}
.fx-wait { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fx-wait { opacity: 1; } }

/* the browse page is full width (list + map): its header uses the same side gutter so the logo lines up with the filter bar */
body.browse .top .wrap { max-width: none; }

/* wide screens (1680 up): text and components grow with the container so a big window never looks like a small page zoomed out */
@media (min-width: 1680px) {
  .nav a { font-size: 17px; padding: 11px 18px; } .brand { font-size: 22px; }
  .btn { min-height: 58px; font-size: 18px; padding: 0 32px; } .btn.sm { min-height: 48px; font-size: 17px; }
  .chip, .tabs button, .map-tabs button, .tab { min-height: 48px; font-size: 17px; padding: 0 22px; }
  .card h3 { font-size: 23px; } .card .cprice { font-size: 19px; } .card .cprice b { font-size: 24px; } .card .where, .card .facts { font-size: 18px; } .chips-row { font-size: 17px; }
  .faq summary { font-size: 22px; } .faq details p { font-size: 19px; }
  .sub, .sec .sub { max-width: 66ch; }
  .foot, .foot a, .foot-legal { font-size: 17px; }
}
@media (min-width: 2200px) { .sec { padding-block: 128px 144px; } }

/* get-listed.html (6 Nov lane A, O13): on a computer the left panel stays in view beside the long form, so it never ends 400 px above it (its other styles are in pages.css) */
@media (min-width: 1000px) { body.gl-page .gl-side { position: sticky; top: min(96px, calc(100vh - 940px)); } }   /* the panel is ~840-910 px tall: on a 900 px screen it sticks a little higher (under the glass header) so its last step never drops below the screen */

/* TEMPORARY back link to ngenvideos.com, added only by build_live.py --back-link (2 Nov 2026) */
.nav a.back-ngen { color: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--r-pill); margin-right: 6px; }
.nav a.back-ngen:hover { color: var(--ink); border-color: var(--green); }
/* final X (F4): the compare table's empty top-left cell is the label column's width (the fixed layout reads the first row), and the head is glass */
.cmp thead td { width: 150px; }
@media (max-width: 720px) { .cmp thead td { width: 112px; } }
.cmp-head { background: var(--glass-strong); border-top: 1px solid #fff; box-shadow: inset 0 1px 0 #fff; }
/* final X (F6): card hover = a clear lift + a gentle photo zoom (motion only when allowed) */
.card:hover .ph { box-shadow: 0 2px 6px rgba(13,42,51,.08), 0 18px 40px rgba(2,132,199,.18); }
@media (prefers-reduced-motion: no-preference) { .card .ph img { transition: opacity .45s ease-out, transform .5s var(--ease); } .card:hover .ph img { transform: scale(1.03); } }
