:root {
  color-scheme: light;
  --bg: #f6f1e8; --panel: #fbf8f1; --panel-2: #efe9de; --ink: #102f2d; --muted: #5f6b67; --line: #d7d2c7;
  --accent: #a64d30; --accent-strong: #a94b2c; --accent-ink: #fff; --pine: #173d3a; --bulk: #2b6c55; --private: #784a18; --shadow: 0 18px 45px rgb(31 42 37 / 8%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] { color-scheme: dark; --bg: #071923; --panel: #0c2330; --panel-2: #102e3c; --ink: #edf7f4; --muted: #a7bec1; --line: #294754; --accent: #77e4c0; --accent-strong: #9af5d7; --accent-ink: #07251f; --pine: #bde9dd; --bulk: #77e4c0; --private: #f0c66a; --shadow: 0 18px 50px rgb(0 0 0 / 24%); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); } a { color: inherit; } button, input, select { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; padding: .8rem 1rem; background: var(--accent); color: var(--accent-ink); font-weight: 800; } .skip-link:focus { top: 1rem; }
.site-header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(1rem, 4vw, 3rem); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); position: sticky; top: 0; z-index: 900; backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -.035em; } .brand-mark { display: none; } .alpha-chip { margin-left: .15rem; font-family: inherit; font-size: .68rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 1.2rem; } .source-link { color: var(--muted); font-size: .78rem; text-underline-offset: .22rem; } .theme-toggle { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: .75rem; cursor: pointer; } .theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
main, footer { width: min(1480px, 100%); margin: 0 auto; padding-inline: clamp(1rem, 3vw, 3rem); } main { padding-top: clamp(1.2rem, 3vw, 2.2rem); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .48fr); gap: 2.4rem; align-items: end; padding: .45rem 0 .8rem; } .eyebrow { margin: 0 0 .4rem; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; } h1 { max-width: 950px; margin: 0; font-size: clamp(2.7rem, 4.7vw, 4.8rem); line-height: .92; letter-spacing: -.07em; } .hero-copy { max-width: 430px; margin: 0; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.4; } .hero-note { margin: .4rem 0 .55rem; color: var(--muted); font-size: .78rem; } .hero-stat { margin: 0; color: var(--muted); font-size: .75rem; } .hero-stat strong { color: var(--ink); font-family: Georgia, serif; font-size: 1.35rem; }
.site-announcement { margin: 0 0 1rem; padding: 1rem 1.2rem; border: 1px solid var(--accent); background: var(--panel); overflow-wrap: anywhere; } .site-announcement p { margin: .4rem 0 0; white-space: pre-wrap; line-height: 1.5; } [data-site-name], .hero-copy { overflow-wrap: anywhere; }
.plain-warning { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: .85rem 1rem; border-left: 3px solid var(--accent); background: var(--panel-2); color: var(--ink); font-size: .8rem; } .plain-warning span { color: var(--muted); }
.controls { display: grid; grid-template-columns: 1.5fr repeat(2, minmax(170px, .8fr)) auto; gap: .55rem; margin-top: .85rem; padding: .55rem; border: 1px solid var(--line); background: var(--panel); } .controls label { display: grid; gap: .25rem; color: var(--muted); font-size: .66rem; font-weight: 750; } .controls input, .controls select { width: 100%; min-height: 42px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: .25rem; background: var(--bg); color: var(--ink); outline: none; } .controls input:focus, .controls select:focus, button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 48%, transparent); outline-offset: 2px; }
.location-button { align-self: end; min-height: 42px; padding: 0 .9rem; border: 0; border-radius: .25rem; background: var(--accent); color: var(--accent-ink); font-weight: 800; cursor: pointer; } .location-status { min-height: 0; margin: .2rem 0 0; color: var(--muted); font-size: .76rem; } .location-status:empty { display: none; }
.modality-row { display: flex; align-items: center; gap: .5rem; margin: .55rem 0 .65rem; } .modality-label { margin-right: .2rem; color: var(--muted); font-size: .7rem; } .modality-pill { padding: .45rem 1.3rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: .76rem; cursor: pointer; } .modality-pill.is-active { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); } .modality-pill:disabled { cursor: not-allowed; opacity: .8; } .modality-pill span { font-size: .68rem; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; padding: .1rem 0 .5rem; color: var(--muted); font-size: .74rem; } .legend span { display: inline-flex; align-items: center; gap: .42rem; } .dot { width: .65rem; height: .65rem; border-radius: 50%; } .dot-bulk { background: var(--bulk); } .dot-private { background: var(--private); }
.finder-layout { display: grid; grid-template-columns: 1fr; gap: 0; } .map-panel { position: relative; min-width: 0; border: 1px solid var(--line); background: var(--panel-2); } #map { height: clamp(420px, 31vw, 460px); min-height: 400px; background: #d9e5df; } :root[data-theme="dark"] .leaflet-tile-pane { filter: invert(100%) hue-rotate(180deg) brightness(.72) contrast(1) saturate(.65); } #map:focus-visible, #results:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.map-note, .map-status { position: absolute; z-index: 500; left: 1rem; margin: 0; padding: .55rem .75rem; background: rgb(12 35 48 / 88%); color: #e8f3f0; font-size: .68rem; line-height: 1.4; backdrop-filter: blur(8px); } .map-note { right: 1rem; bottom: 1rem; max-width: 520px; } .map-status { top: 1rem; max-width: 420px; } .map-status:empty { display: none; } .map-note a { color: #9af5d7; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .noscript-note { margin: 1rem 0; padding: .9rem 1rem; background: var(--panel-2); color: var(--ink); } .leaflet-container { font-family: inherit; } .leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--panel); color: var(--ink); } .leaflet-popup-content { margin: .9rem; line-height: 1.4; } .leaflet-popup-content p { margin: .35rem 0; color: var(--muted); } .leaflet-popup-content a { color: var(--accent); font-weight: 750; }
.results-panel { min-width: 0; margin-top: 1.25rem; } .results-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: .2rem 0 .85rem; border-bottom: 1px solid var(--line); } .results-heading h2 { margin: 0; font-size: 1.65rem; } .results-summary { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .75rem; } .result-count { color: var(--ink); font-family: Georgia, serif; font-size: 1.3rem; } .results-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; max-height: 450px; overflow-y: auto; padding: .9rem 0; align-content: start; }
.clinic-card { min-width: 0; padding: 1rem; border: 1px solid var(--line); background: var(--panel); } .clinic-card:hover { border-color: var(--accent); } .clinic-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.2; } .clinic-address { margin: .5rem 0; color: var(--muted); font-size: .78rem; line-height: 1.45; } .card-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin: .6rem 0; } .badge { display: inline-flex; padding: .25rem .45rem; border-radius: 999px; font-size: .66rem; font-weight: 800; } .badge-bulk { background: color-mix(in srgb, var(--bulk) 18%, transparent); color: var(--bulk); } .badge-private { background: color-mix(in srgb, var(--private) 18%, transparent); color: var(--private); } .billing-condition { margin: .45rem 0; color: var(--muted); font-size: .72rem; line-height: 1.45; } .distance { color: var(--accent); font-size: .72rem; font-weight: 800; } .card-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; } .card-actions a, .card-actions button { padding: .42rem .58rem; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: .69rem; font-weight: 750; text-decoration: none; cursor: pointer; } .card-actions a:hover, .card-actions button:hover { border-color: var(--accent); color: var(--accent); } .empty { grid-column: 1 / -1; padding: 2rem 1rem; color: var(--muted); text-align: center; }
.about-alpha { margin-top: 1.2rem; padding: 1.25rem 0; border-top: 1px solid var(--line); } .about-alpha h2 { margin: 0 0 1rem; font-size: 1.4rem; } .about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } .about-grid p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; } .about-grid strong { color: var(--ink); }
footer { padding-top: 1.4rem; padding-bottom: 3rem; color: var(--muted); font-size: .7rem; line-height: 1.5; } footer p { margin: .35rem 0; } footer a { color: var(--ink); }
@media (max-width: 900px) { .controls { grid-template-columns: repeat(2, 1fr); } .controls label:first-child { grid-column: 1 / -1; } .results-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .site-header { padding-inline: .85rem; } .header-actions { gap: .5rem; } .source-link { font-size: 0; } .source-link::after { content: "Source ↗"; font-size: .72rem; } .theme-toggle { padding-inline: .55rem; } main { padding-top: 1rem; } .hero { grid-template-columns: 1fr; gap: 1rem; padding-top: 1rem; } .hero-intro { max-width: 500px; } h1 { font-size: 3.45rem; } .controls { grid-template-columns: 1fr; } .controls label:first-child { grid-column: auto; } .location-button { width: 100%; } .modality-row { flex-wrap: wrap; } .modality-label { width: 100%; } .modality-pill { flex: 1; padding-inline: .7rem; } #map { height: 440px; min-height: 440px; } .map-note { left: .55rem; right: .55rem; bottom: .55rem; } .results-list { grid-template-columns: 1fr; max-height: 450px; } .about-grid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .brand { min-width: 0; font-size: 1.12rem; }
  .alpha-chip { display: none; }
  .header-actions { flex-shrink: 0; }
  .source-link, .theme-toggle { white-space: nowrap; }
  .theme-toggle { min-height: 40px; }
  .hero { padding-top: .25rem; gap: .75rem; }
  h1 { font-size: clamp(2.5rem, 11vw, 3rem); line-height: 1; }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls label:first-child, .location-button { grid-column: 1 / -1; }
  #map { height: 360px; min-height: 360px; }
}

#results, #map, #top { scroll-margin-top: 80px; }
.map-panel { isolation: isolate; }
.theme-toggle[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--panel-2); }
