:root {
  --forest-950: #002b1b;
  --forest-900: #003923;
  --forest-850: #06472e;
  --forest-800: #0a5537;
  --forest-700: #16724a;
  --lime: #9ce43b;
  --lime-strong: #88d52d;
  --lime-soft: #eafbd6;
  --ink: #072f20;
  --text: #20362d;
  --muted: #64766e;
  --line: #d9e3db;
  --line-strong: #bdcfc1;
  --paper: #ffffff;
  --canvas: #f4f7f2;
  --warm: #faf8f0;
  --shadow-sm: 0 4px 16px rgba(4, 48, 31, .08);
  --shadow-md: 0 14px 36px rgba(3, 45, 29, .13);
  --shadow-lg: 0 24px 70px rgba(1, 37, 24, .24);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1540px;
  --theme-nature: #58a43d;
  --theme-trees: #8a6a37;
  --theme-circular: #668f46;
  --theme-energy: #dfa624;
  --theme-water: #3f8fc5;
  --theme-education: #8854ad;
  --theme-cities: #1d8c72;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-modal-open,
body.is-sheet-open { overflow: hidden; }

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #f2c94c;
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--forest-900);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-chrome-shell { display: contents; }

.site-container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-notice {
  min-height: 44px;
  color: rgba(255,255,255,.82);
  background: #002719;
  font-size: 12px;
}

.site-notice__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-notice p { margin: 0; }
.site-notice p span { color: var(--lime); margin-right: 8px; }
.site-notice a { min-height: 44px; display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.site-notice a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  color: #fff;
  background: rgba(0, 57, 35, .98);
  border-bottom: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 8px 25px rgba(0, 29, 18, .16);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(560px, 1fr) 46px auto;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}

.wordmark > span { font-size: 28px; font-weight: 840; letter-spacing: -.055em; }
.wordmark > span > span { color: #fff; }
.wordmark b { color: var(--lime); }
.wordmark small { margin-top: 5px; color: rgba(255,255,255,.64); font-size: 9px; letter-spacing: .025em; }

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 1.6vw, 30px);
  min-width: 0;
}

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.site-nav a:hover,
.site-nav a.is-current { color: var(--lime); }
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 9px;
  color: #fff;
  background: rgba(255,255,255,.06);
  font-size: 21px;
  cursor: pointer;
}
.mobile-menu-toggle svg { width: 21px; height: 21px; }

.header-search {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.header-search:hover { background: rgba(255,255,255,.1); }
.header-search svg { width: 21px; height: 21px; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { width: 19px; height: 19px; }
.button--lime { color: #07341f; background: linear-gradient(135deg, #a9ea48, var(--lime-strong)); box-shadow: 0 7px 18px rgba(116, 184, 39, .24); }
.button--lime:hover { background: #b4ef5e; box-shadow: 0 9px 24px rgba(116, 184, 39, .31); }
.button--outline { color: var(--forest-900); border-color: var(--forest-800); background: rgba(255,255,255,.7); }
.button--outline:hover { background: #fff; }

.atlas-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(250,252,247,.98) 0%, rgba(250,252,247,.9) 55%, rgba(250,252,247,.76) 100%),
    url("../images/atlas-terrain.webp") center 42% / cover;
  border-bottom: 1px solid var(--line);
}

.atlas-hero::before,
.atlas-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(58, 111, 67, .07);
  border-radius: 47% 53% 44% 56%;
  pointer-events: none;
}

.atlas-hero::before { width: 520px; height: 220px; top: -85px; right: 19%; transform: rotate(8deg); }
.atlas-hero::after { width: 390px; height: 170px; bottom: -104px; left: 36%; transform: rotate(-11deg); }

.atlas-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, .9fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding-block: 36px 34px;
}

.atlas-hero__inner:not(.has-hero-sponsor) { grid-template-columns: 1fr; }
.atlas-hero__inner:not(.has-hero-sponsor) .atlas-hero__copy { max-width: 980px; }
.atlas-hero__partner { min-width: 0; }
.atlas-hero__partner[hidden] { display: none; }

.eyebrow {
  margin: 0 0 9px;
  color: #3b7c2e;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.atlas-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 3.25vw, 56px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.atlas-hero__copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 17px 0 0;
  color: #3f554b;
  font-size: clamp(16px, 1.15vw, 19px);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }

.atlas-stats {
  width: min(100%, 720px);
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px;
  border: 1px solid rgba(43, 86, 57, .12);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.atlas-stats div {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.atlas-stats div:last-child { border-right: 0; }
.atlas-stats dt { order: 2; margin-top: 4px; color: var(--muted); font-size: 11.5px; font-weight: 400; line-height: 1.15; }
.atlas-stats dd { order: 1; margin: 0; color: var(--forest-900); font-size: 27px; font-weight: 850; line-height: 1; letter-spacing: -.04em; }

.atlas-section { padding-block: 28px 36px; }

.atlas-commandbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 6px 10px 6px 18px;
  color: #fff;
  background: linear-gradient(120deg, var(--forest-950), var(--forest-800));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px 15px 0 0;
  box-shadow: var(--shadow-md);
}

.atlas-commandbar__identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.atlas-commandbar__identity > div { display: flex; flex-direction: column; min-width: 0; }
.atlas-commandbar__identity small { color: var(--lime); font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.atlas-commandbar__identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(156,228,59,.14); }

.view-switch {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
}

.view-switch button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  color: rgba(255,255,255,.78);
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

.view-switch button.is-active { color: #fff; background: rgba(255,255,255,.15); }
.view-switch svg { width: 17px; height: 17px; }

.atlas-commandbar__actions { display: flex; justify-content: flex-end; gap: 8px; }
.atlas-commandbar__actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}
.atlas-commandbar__actions svg { width: 17px; height: 17px; flex: 0 0 auto; }
.atlas-commandbar__actions button:last-child { color: var(--forest-950); border-color: var(--lime); background: var(--lime); }
.atlas-commandbar__actions button:hover { background: rgba(255,255,255,.12); }
.atlas-commandbar__actions button:last-child:hover { background: #b0ed56; }

.atlas-layout {
  height: clamp(680px, calc(100dvh - 108px), 820px);
  min-height: 680px;
  display: grid;
  grid-template-columns: 340px minmax(420px, 1fr) 400px;
  border: 1px solid #b6cbbd;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.results-panel,
.detail-panel { min-width: 0; background: #fff; }

.results-panel {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-strong);
  overflow: hidden;
}

.filter-form { padding: 14px 15px 10px; border-bottom: 1px solid var(--line); }
.search-field { position: relative; display: flex; align-items: center; }
.search-field > svg { position: absolute; left: 13px; width: 20px; height: 20px; color: var(--ink); pointer-events: none; }
.search-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 42px;
  color: var(--text);
  border: 1px solid #b8c9bd;
  border-radius: 9px;
  background: #fbfdfb;
}
.search-field input:focus { border-color: var(--forest-700); background: #fff; }
.search-field button {
  position: absolute;
  right: 4px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.filter-heading { display: flex; align-items: center; justify-content: space-between; margin: 14px 1px 8px; }
.filter-heading strong { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .045em; }
.filter-heading button { min-height: 44px; padding: 0; border: 0; color: var(--muted); background: none; font-size: 12px; text-decoration: underline; cursor: pointer; }

.filter-group { margin: 0 0 12px; padding: 0; border: 0; }
.filter-group legend,
.verification-filter legend { margin-bottom: 7px; color: #43584e; font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-row button {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #d0dbd3;
  border-radius: 7px;
  color: #465a50;
  background: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.pill-row button:hover { border-color: #82a98e; background: #f4faf5; }
.pill-row button.is-active { color: #fff; border-color: var(--forest-800); background: var(--forest-800); }

.advanced-filters { margin-top: 3px; border-top: 1px solid var(--line); }
.advanced-filters summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--forest-800);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.advanced-filters summary::-webkit-details-marker { display: none; }
.advanced-filters summary::after { content: "+"; font-size: 19px; font-weight: 400; }
.advanced-filters[open] summary::after { content: "−"; }
.advanced-filters summary span:not(:empty) { margin-left: auto; margin-right: 10px; min-width: 19px; padding: 1px 5px; border-radius: 99px; color: var(--forest-950); background: var(--lime); text-align: center; }
.advanced-filters__body { padding: 3px 0 10px; }
.advanced-filters__body > label { display: block; margin-bottom: 6px; color: #43584e; font-size: 12px; font-weight: 750; }
.advanced-filters select {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #cbd8ce;
  border-radius: 8px;
  color: var(--text);
  background: #fff;
}
.verification-filter { margin: 12px 0 0; padding: 0; border: 0; }
.verification-filter label { min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; }
.verification-filter input { width: 18px; height: 18px; accent-color: var(--forest-700); }

.filter-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.filter-summary > span { white-space: nowrap; color: var(--ink); font-size: 13px; }
.filter-summary small { max-width: 185px; color: var(--muted); font-size: 12px; line-height: 1.35; text-align: right; }

.result-list {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 11px;
  overflow-y: auto;
  scrollbar-color: #b6c9bb transparent;
  scrollbar-width: thin;
}

.result-card {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #d6e1d9;
  border-radius: 10px;
  color: var(--text);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.result-card:hover { border-color: #86b38f; box-shadow: 0 7px 20px rgba(18,79,49,.09); transform: translateY(-1px); }
.result-card.is-selected { border-color: var(--lime-strong); box-shadow: 0 0 0 2px rgba(156,228,59,.35); background: #fbfff6; }
.result-card__theme {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--record-color, var(--theme-nature));
  font-weight: 850;
}
.result-card__theme svg { width: 21px; height: 21px; }
.result-card__body { min-width: 0; }
.result-card__type { display: block; color: #435c51; font-size: 12px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.result-card strong { display: block; margin-top: 2px; color: var(--ink); font-size: 14px; line-height: 1.25; }
.result-card__location { min-width: 0; display: flex; align-items: center; gap: 5px; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.result-card__location svg { width: 13px; height: 13px; flex: 0 0 auto; }
.verification-badge {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border: 1px solid #b8d0b6;
  border-radius: 7px;
  color: #35722d;
  background: #f7fcf3;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.verification-badge[data-level="partner"] { color: #4f684b; border-color: #cad6c8; background: #f7f9f6; }
.verification-badge[data-level="review"] { color: #8a5a14; border-color: #ead0a8; background: #fff8eb; }
.results-foot { padding: 9px 13px; color: var(--muted); border-top: 1px solid var(--line); background: #f7faf7; font-size: 12px; }

.empty-results { padding: 34px 18px; text-align: center; }
.empty-results span { width: 50px; height: 50px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; color: var(--forest-800); background: var(--lime-soft); font-size: 24px; }
.empty-results span svg { width: 22px; height: 22px; }
.empty-results h3 { margin: 0; color: var(--ink); font-size: 17px; }
.empty-results p { margin: 7px 0 17px; color: var(--muted); font-size: 12px; }
.empty-results button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 8px; color: #fff; background: var(--forest-800); font-weight: 750; cursor: pointer; }

.map-panel { min-width: 0; display: flex; flex-direction: column; background: #e7eee6; overflow: hidden; }
.map-toolbar {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 5px 12px;
  border-bottom: 1px solid #bfd0c1;
  background: rgba(255,255,255,.86);
}
.map-toolbar p { margin: 0; color: #52675d; font-size: 12px; }
.map-toolbar p strong { color: var(--ink); }
.map-toolbar > div { display: flex; gap: 5px; }
.map-toolbar button,
.map-zoom button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #c6d4c9;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}
.map-toolbar button { border-radius: 7px; }
.map-toolbar button svg { width: 18px; height: 18px; }
.map-toolbar button:hover,
.map-zoom button:hover { background: var(--lime-soft); }
.map-toolbar .map-provider-status {
  width: auto;
  min-width: 132px;
  grid-auto-flow: column;
  grid-template-columns: auto 1fr;
  gap: 8px;
  justify-content: start;
  padding: 0 12px;
  color: var(--forest-800);
  font-size: 12px;
  font-weight: 800;
}
.map-provider-status__dot {
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #5f7569;
  box-shadow: 0 0 0 1px rgba(0,57,35,.28);
}
.map-provider-status[data-state="loading"] .map-provider-status__dot { background: #d69222; animation: provider-pulse 1s ease-in-out infinite; }
.map-provider-status[data-state="google"] .map-provider-status__dot { background: #1a73e8; }
.map-provider-status[data-state="error"] .map-provider-status__dot { background: #bc3b32; }
@keyframes provider-pulse { 50% { opacity: .35; transform: scale(.8); } }

.map-stage { position: relative; min-height: 0; flex: 1; overflow: hidden; isolation: isolate; }
.google-map { position: absolute; z-index: 3; inset: 0; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.map-stage.is-google .google-map { opacity: 1; pointer-events: auto; }
.map-stage.is-google .map-canvas { visibility: hidden; }
.google-marker {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--marker-color, var(--theme-nature));
  box-shadow: 0 4px 14px rgba(0,38,23,.3);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}
.google-marker.is-cluster { width: 48px; height: 48px; color: var(--forest-950); background: var(--lime); }
.google-marker.is-selected { box-shadow: 0 0 0 6px rgba(156,228,59,.38), 0 5px 15px rgba(0,38,23,.35); }
.google-marker.is-approximate::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 2px dashed rgba(0,57,35,.5);
  border-radius: 50%;
  pointer-events: none;
}
.map-canvas { position: absolute; inset: 0; transform-origin: center; transition: transform .25s ease; }
.map-canvas[data-zoom="1.18"] { transform: scale(1.18); }
.map-canvas[data-zoom="1.35"] { transform: scale(1.35); }
.map-terrain { position: absolute; inset: 0; background: linear-gradient(rgba(238,245,234,.74), rgba(231,241,229,.68)), url("../images/atlas-terrain.webp") center / cover; filter: saturate(.72) contrast(.86); }
.map-terrain::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, transparent 0 28%, rgba(236,245,237,.45) 78%); }
.croatia-shape {
  position: absolute;
  z-index: 1;
  width: min(82%, 760px);
  height: 78%;
  top: 9%;
  left: 50%;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 11px 12px rgba(6, 57, 35, .18));
  opacity: .87;
}
.map-city-labels span { position: absolute; z-index: 2; left: var(--x); top: var(--y); color: rgba(5,50,31,.72); font-size: 12px; font-weight: 750; text-shadow: 0 1px 3px #fff, 0 0 7px #fff; pointer-events: none; }
.map-city-labels .city-rijeka { --x: 31%; --y: 28%; }
.map-city-labels .city-zagreb { --x: 47%; --y: 23%; }
.map-city-labels .city-osijek { --x: 74%; --y: 31%; }
.map-city-labels .city-split { --x: 43%; --y: 68%; }
.map-city-labels .city-sibenik { --x: 57%; --y: 56%; }
.map-city-labels .city-dubrovnik { --x: 68%; --y: 80%; }
.map-markers { position: absolute; z-index: 4; inset: 0; }
.map-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 14%;
  background: var(--marker-color, var(--theme-nature));
  box-shadow: 0 5px 13px rgba(5, 45, 29, .3);
  font-size: 13px;
  font-weight: 850;
  transform: translate(-50%, -90%) rotate(-45deg);
  cursor: pointer;
}
.map-marker > span { transform: rotate(45deg); }
.map-marker:hover,
.map-marker.is-selected { z-index: 5; box-shadow: 0 0 0 5px rgba(156,228,59,.36), 0 7px 17px rgba(5,45,29,.32); }
.map-marker.is-cluster { width: 48px; height: 48px; color: var(--forest-950); border-color: #efffdd; background: var(--lime); }
.map-marker.is-approximate::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 2px dashed rgba(0,57,35,.48);
  border-radius: 50%;
  pointer-events: none;
}

.map-stage.is-google .map-legend,
.map-stage.is-google .map-zoom { top: 14px; bottom: auto; }

.map-legend {
  position: absolute;
  z-index: 8;
  left: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(25,73,48,.16);
  border-radius: 9px;
  background: rgba(255,255,255,.89);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  font-size: 12px;
}
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--theme-nature); }
[data-theme="trees"] { background-color: var(--theme-trees) !important; }
[data-theme="circular"] { background-color: var(--theme-circular) !important; }
[data-theme="energy"] { background-color: var(--theme-energy) !important; }
[data-theme="water"] { background-color: var(--theme-water) !important; }
[data-theme="education"] { background-color: var(--theme-education) !important; }
[data-theme="cities"] { background-color: var(--theme-cities) !important; }
.map-zoom { position: absolute; z-index: 8; right: 14px; bottom: 14px; display: flex; flex-direction: column; border-radius: 9px; box-shadow: var(--shadow-sm); overflow: hidden; }
.map-zoom button { border-radius: 0; font-size: 22px; }
.map-zoom button + button { border-top: 0; }

.map-intro {
  position: absolute;
  z-index: 9;
  top: 16px;
  left: 16px;
  width: min(390px, calc(100% - 32px));
  padding: 22px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 15px;
  background: rgba(0, 57, 35, .9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(13px);
}
.map-intro[hidden] { display: none; }
.map-intro > button:first-child { position: absolute; top: 7px; right: 7px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: transparent; font-size: 24px; cursor: pointer; }
.map-intro .eyebrow { color: var(--lime); }
.map-intro h2 { max-width: 330px; margin: 0; font-size: 24px; line-height: 1.12; letter-spacing: -.025em; }
.map-intro > p:not(.eyebrow) { margin: 11px 0 16px; color: rgba(255,255,255,.78); font-size: 13px; }
.text-link { min-height: 44px; padding: 0; color: var(--forest-800); border: 0; background: none; font-weight: 800; cursor: pointer; }
.map-intro .text-link { color: var(--lime); }

.detail-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-strong);
  overflow: hidden;
}
.detail-empty-layout { min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 20px; overflow-y: auto; }
.detail-empty { max-width: 310px; margin: 0 auto; padding: 28px 14px 22px; text-align: center; }
.detail-empty__icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; color: var(--forest-700); background: var(--lime-soft); font-size: 28px; }
.detail-empty__icon svg { width: 28px; height: 28px; }
.detail-empty h2 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.18; letter-spacing: -.025em; }
.detail-empty > p:last-child { color: var(--muted); font-size: 13px; }

.detail-record { min-height: 0; height: 100%; display: flex; flex-direction: column; }
.detail-hero {
  position: relative;
  min-height: 205px;
  padding: 24px 24px 20px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(0,48,29,.95), rgba(7,85,52,.87)),
    url("../images/atlas-terrain.webp") center / cover;
  overflow: hidden;
}
.detail-hero::after { content: ""; position: absolute; width: 190px; height: 190px; right: -68px; bottom: -70px; border: 30px solid rgba(156,228,59,.12); border-radius: 50%; }
.detail-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: #fff; background: rgba(0,31,19,.22); font-size: 23px; cursor: pointer; }
.detail-type { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 23px; color: var(--lime); font-size: 12px; font-weight: 850; letter-spacing: .075em; text-transform: uppercase; }
.detail-hero h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(24px, 2vw, 31px); line-height: 1.08; letter-spacing: -.035em; }
.detail-location { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; margin: 12px 0 0; color: rgba(255,255,255,.8); font-size: 12px; }
.detail-location svg { width: 14px; height: 14px; flex: 0 0 auto; }
.detail-scroll { min-height: 0; flex: 1; padding: 19px 22px 24px; overflow-y: auto; }
.detail-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; }
.status-badge { min-height: 29px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 99px; color: var(--forest-800); background: var(--lime-soft); font-size: 12px; font-weight: 800; }
.detail-topline > small { color: var(--muted); font-size: 12px; }
.detail-summary { margin: 18px 0 8px; color: var(--ink); font-size: 15px; font-weight: 720; line-height: 1.4; }
.detail-description { margin: 0; color: #52665c; font-size: 14px; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 18px 0; }
.detail-facts div { padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #f9fbf8; }
.detail-facts dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.detail-facts dd { margin: 4px 0 0; color: var(--ink); font-size: 13px; font-weight: 750; }
.detail-section { padding: 15px 0; border-top: 1px solid var(--line); }
.detail-section h3 { margin: 0 0 10px; color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.metric-grid, .detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.metric-grid span, .detail-tags span { padding: 6px 9px; border-radius: 7px; color: var(--forest-800); background: #edf6e9; font-size: 12px; font-weight: 700; }
.detail-source { display: flex; gap: 10px; padding: 12px; border: 1px solid #cbdacb; border-radius: 10px; background: #f8fbf7; }
.detail-source > span { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--forest-700); }
.detail-source small, .detail-source strong { display: block; }
.detail-source small { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.detail-source strong { margin-top: 3px; color: var(--ink); font-size: 13px; }
.detail-primary-link { min-height: 46px; display: flex; align-items: center; justify-content: center; margin-top: 12px; border-radius: 8px; color: #fff; background: var(--forest-800); font-size: 12px; font-weight: 800; text-decoration: none; }
.detail-primary-link:hover { background: var(--forest-700); }

.detail-sponsor {
  position: relative;
  margin-top: 18px;
  padding: 15px 15px 14px 18px;
  border: 1px solid #cbdacb;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbf7, #f1f8eb);
  box-shadow: 0 8px 22px rgba(0,57,35,.06);
  overflow: hidden;
}
.detail-sponsor::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--lime-strong); }
.detail-sponsor--compact { width: 100%; max-width: 350px; margin: 0 auto; }
.detail-sponsor--hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(22px, 2.2vw, 31px);
  border-color: rgba(43, 86, 57, .16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 12%, rgba(156,228,59,.2), transparent 32%),
    rgba(255,255,255,.94);
  box-shadow: var(--shadow-md);
}
.detail-sponsor--hero::before { width: 5px; }
.detail-sponsor--hero .detail-sponsor__label { margin-bottom: 14px; }
.detail-sponsor--hero .detail-sponsor__brand { align-items: center; gap: 16px; }
.detail-sponsor--hero .detail-sponsor__mark { width: 54px; height: 54px; border-radius: 15px; }
.detail-sponsor--hero .detail-sponsor__mark svg { width: 28px; height: 28px; }
.detail-sponsor--hero .detail-sponsor__logo { max-width: 180px; max-height: 58px; }
.detail-sponsor--hero .detail-sponsor__copy strong { font-size: clamp(18px, 1.45vw, 22px); }
.detail-sponsor--hero .detail-sponsor__copy p { max-width: 520px; margin-top: 7px; font-size: 14px; }
.detail-sponsor--hero .detail-sponsor__link { margin-top: 12px; font-size: 13px; }
.detail-sponsor--hero .detail-sponsor__disclosure { margin-top: 11px; padding-top: 11px; font-size: 11px; }
.detail-sponsor__label { margin: 0 0 10px; color: var(--forest-700); font-size: 10px; font-weight: 850; letter-spacing: .085em; text-transform: uppercase; }
.detail-sponsor__brand { display: flex; align-items: flex-start; gap: 12px; }
.detail-sponsor__logo { width: auto; max-width: 136px; height: auto; max-height: 44px; flex: 0 0 auto; object-fit: contain; object-position: left center; }
.detail-sponsor__mark { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: var(--forest-800); background: var(--lime-soft); }
.detail-sponsor__mark svg { width: 21px; height: 21px; }
.detail-sponsor__copy { min-width: 0; }
.detail-sponsor__copy strong { display: block; color: var(--ink); font-size: 14px; font-weight: 820; line-height: 1.25; }
.detail-sponsor__copy p { margin: 5px 0 0; color: #53675d; font-size: 12.5px; line-height: 1.45; }
.detail-sponsor__link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 8px; color: var(--forest-800); font-size: 12px; font-weight: 820; text-decoration: none; }
.detail-sponsor__link:hover { color: var(--forest-600); text-decoration: underline; text-underline-offset: 3px; }
.detail-sponsor__disclosure { display: block; margin-top: 8px; padding-top: 9px; color: #697b72; border-top: 1px solid rgba(0,57,35,.1); font-size: 10.5px; line-height: 1.42; }

.atlas-layout.is-list-view { grid-template-columns: 360px minmax(0, 1fr) 400px; }
.atlas-layout.is-list-view .map-panel { background: #f7faf6; }
.map-panel.show-cards > .map-toolbar,
.map-panel.show-cards > .map-stage { display: none; }
.cards-view { min-height: 0; height: 100%; padding: 19px; overflow-y: auto; }
.cards-view__heading { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.cards-view__heading h2 { margin: 0; color: var(--ink); font-size: 20px; }
.cards-view__heading small { color: var(--muted); }
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.record-tile { min-height: 180px; display: flex; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
.record-tile:hover, .record-tile.is-selected { border-color: var(--lime-strong); box-shadow: 0 0 0 2px rgba(156,228,59,.25), var(--shadow-sm); }
.record-tile__top { display: flex; justify-content: space-between; gap: 9px; }
.record-tile__type { color: var(--forest-700); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.record-tile h3 { margin: 14px 0 8px; color: var(--ink); font-size: 17px; line-height: 1.2; }
.record-tile p { margin: 0 0 15px; color: var(--muted); font-size: 14px; }
.record-tile footer { margin-top: auto; display: flex; justify-content: space-between; color: #53695f; font-size: 12px; }
.record-tile footer span { display: inline-flex; align-items: center; gap: 5px; }
.record-tile footer svg { width: 13px; height: 13px; flex: 0 0 auto; }

.mobile-atlas-bar { display: none; }

.support-section { padding-block: 18px 48px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(25px, 2vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.call-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.call-card {
  --call-accent: #3b7c2e;
  --call-soft: #eef8e6;
  position: relative;
  min-width: 0;
  min-height: 318px;
  display: flex;
  flex-direction: column;
  padding: 19px;
  overflow: hidden;
  border: 1px solid rgba(43,86,57,.14);
  border-top: 3px solid var(--call-accent);
  border-radius: 15px;
  background: linear-gradient(180deg, var(--call-soft) 0, #fff 54px, #fff 100%);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.call-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--call-accent) 35%, white); box-shadow: var(--shadow-md); }
.call-card[data-theme="nature"] { --call-accent: #58a43d; --call-soft: #eef8e7; }
.call-card[data-theme="trees"] { --call-accent: #8a6a37; --call-soft: #f7f1e7; }
.call-card[data-theme="circular"] { --call-accent: #668f46; --call-soft: #f0f5e9; }
.call-card[data-theme="energy"] { --call-accent: #d99b16; --call-soft: #fff6dc; }
.call-card[data-theme="water"] { --call-accent: #3f8fc5; --call-soft: #eaf5fb; }
.call-card[data-theme="education"] { --call-accent: #8854ad; --call-soft: #f5edf9; }
.call-card[data-theme="cities"] { --call-accent: #1d8c72; --call-soft: #e9f7f3; }
.call-card__category {
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--call-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.call-card__category svg { width: 18px; height: 18px; }
.call-card__institution {
  min-height: 34px;
  margin: 8px 0 0;
  color: #4d6258;
  font-size: 10.5px;
  font-weight: 820;
  line-height: 1.32;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.call-card__deadline-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.call-card__urgency,
.call-card__date { min-height: 27px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 99px; font-size: 10.5px; font-weight: 850; }
.call-card__urgency { color: #6a4505; background: #ffedbd; }
.call-card__date { color: var(--call-accent); background: var(--call-soft); border: 1px solid color-mix(in srgb, var(--call-accent) 20%, white); }
.call-card__deadline-note {
  min-height: 30px;
  margin: 7px 0 0;
  color: #7a5b21;
  font-size: 10.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.call-card h3 { margin: 14px 0 8px; color: var(--ink); font-size: 18px; line-height: 1.2; letter-spacing: -.015em; }
.call-card__summary { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.48; }
.call-card__facts { display: grid; gap: 5px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(43,86,57,.1); }
.call-card__facts span { min-width: 0; display: flex; align-items: center; gap: 6px; color: #64776e; font-size: 10.5px; line-height: 1.3; }
.call-card__facts svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--call-accent); }
.call-card button.call-card__cta { min-height: 44px; align-self: flex-start; margin-top: auto; padding: 8px 0 0; border: 0; color: var(--forest-700); background: none; font-size: 13px; font-weight: 850; cursor: pointer; }
.call-card button.call-card__cta:hover { color: var(--call-accent); }

.methodology { padding-block: 46px; color: #fff; background: linear-gradient(125deg, var(--forest-950), #07583a); }
.section-heading--light h2 { color: #fff; }
.section-heading--light .eyebrow { color: var(--lime); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.13); overflow: hidden; }
.method-grid article { min-height: 170px; padding: 23px; background: rgba(0,44,27,.65); }
.method-grid article > span { color: var(--lime); font-size: 12px; font-weight: 850; }
.method-grid h3 { margin: 17px 0 7px; font-size: 17px; }
.method-grid p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }
.source-note { display: flex; gap: 10px; margin: 17px 0 0; padding: 14px 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.06); font-size: 12px; }
.source-note strong { color: #fff; }

.site-footer { color: rgba(255,255,255,.68); background: #002b1b; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1fr; gap: 55px; padding-block: 42px; }
.site-footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.wordmark--footer > span { font-size: 30px; }
.site-footer p { max-width: 330px; margin: 14px 0 0; font-size: 12px; }
.site-footer strong { margin-bottom: 13px; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a:not(.wordmark) { min-height: 44px; display: inline-flex; align-items: center; color: rgba(255,255,255,.7); font-size: 12px; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-status { justify-content: center; padding: 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.045); }
.footer-status span { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 750; }
.footer-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(156,228,59,.12); }
.footer-status small { margin-top: 8px; font-size: 12px; }
.site-footer__bottom { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

.sheet-backdrop { display: none; }
.modal-backdrop {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,25,15,.72);
  backdrop-filter: blur(7px);
}
.modal-backdrop[hidden] { display: none; }
.submit-modal {
  position: relative;
  width: min(860px, 100%);
  max-height: min(880px, calc(100dvh - 40px));
  padding: 30px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.modal-close { position: absolute; top: 13px; right: 13px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--ink); background: #eef4ee; font-size: 25px; cursor: pointer; }
.submit-modal__header { padding-right: 45px; }
.submit-modal__header h2 { margin: 0; color: var(--ink); font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.submit-modal__header > p:last-child { margin: 11px 0 22px; color: var(--muted); }
.submit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.submit-grid label { display: flex; flex-direction: column; gap: 5px; }
.submit-grid label.wide { grid-column: 1 / -1; }
.submit-grid label > span { color: #334b40; font-size: 12px; font-weight: 800; }
.submit-grid input,
.submit-grid select,
.submit-grid textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c7d5ca;
  border-radius: 8px;
  color: var(--text);
  background: #fbfdfb;
}
.submit-grid textarea { resize: vertical; }
.submit-grid :invalid:not(:placeholder-shown) { border-color: #bf5c56; }
.consent { min-height: 48px; display: flex; align-items: flex-start; gap: 10px; margin-top: 15px; padding: 11px; border-radius: 8px; background: #f1f6ef; font-size: 13px; cursor: pointer; }
.consent a { color: var(--forest-700); font-weight: 800; }
.consent input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--forest-700); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 24px; margin-top: 7px; color: #a63f37; font-size: 12px; font-weight: 650; }
.form-status.is-success { margin-top: 14px; padding: 15px; border-radius: 9px; color: var(--forest-800); background: var(--lime-soft); }
.submit-modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 5px; padding-top: 17px; border-top: 1px solid var(--line); }
.submit-modal__footer p { margin: 0; color: var(--muted); font-size: 13px; }

.toast {
  position: fixed;
  z-index: 600;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  max-width: min(520px, calc(100% - 32px));
  padding: 13px 18px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 10px;
  background: var(--forest-900);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  transform: translateX(-50%);
}
.toast[hidden] { display: none; }

/* Readability and touch-target baseline for the public Atlas. */
.view-switch button,
.atlas-commandbar__actions button,
.pill-row button,
.advanced-filters summary,
.filter-heading button,
.search-field button,
.map-toolbar button,
.map-zoom button,
.call-card button,
.text-link { min-width: 44px; min-height: 44px; }
.filter-group legend,
.verification-filter legend,
.advanced-filters__body > label,
.verification-filter label,
.filter-heading button,
.filter-summary small,
.results-foot,
.result-card__type,
.result-card__location,
.verification-badge,
.map-toolbar p,
.map-legend,
.detail-type,
.detail-location,
.detail-topline > small,
.detail-facts dt,
.detail-section h3,
.metric-grid span,
.detail-tags span,
.detail-source small,
.detail-source strong,
.record-tile__type,
.record-tile footer,
.site-footer p,
.site-footer a:not(.wordmark),
.footer-status small,
.submit-grid label > span,
.submit-modal__footer p { font-size: 12px; }
.map-city-labels span,
.status-badge,
.site-footer__bottom,
.mobile-atlas-bar button { font-size: 12px; }
.map-intro > button:first-child,
.empty-results button { min-width: 44px; min-height: 44px; }
.pill-row button,
.advanced-filters summary,
.advanced-filters select,
.filter-summary > span { font-size: 13px; }
.result-card strong { font-size: 14px; }
.map-intro > p:not(.eyebrow),
.detail-description,
.record-tile p,
.method-grid p { font-size: 14px; }
.detail-summary { font-size: 16px; }
.detail-facts dd,
.detail-primary-link,
.call-card button,
.consent,
.form-status { font-size: 13px; }
.call-card h3 { font-size: 18px; }
.verification-filter label { min-height: 44px; }

@media (max-width: 1320px) {
  .site-header__inner { grid-template-columns: auto 1fr 44px auto; gap: 16px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 12px; }
  .atlas-layout { grid-template-columns: 315px minmax(390px, 1fr) 360px; }
  .atlas-layout.is-list-view { grid-template-columns: 330px minmax(0, 1fr) 360px; }
  .detail-hero { padding-inline: 20px; }
  .detail-scroll { padding-inline: 18px; }
}

@media (max-width: 1080px) {
  .site-nav a:nth-last-child(-n+2) { display: none; }
  .atlas-hero__inner { grid-template-columns: 1fr 480px; gap: 35px; }
  .atlas-layout,
  .atlas-layout.is-list-view { grid-template-columns: 310px minmax(0, 1fr); }
  .detail-panel {
    position: fixed;
    z-index: 210;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(680px, 100%);
    height: min(78dvh, 760px);
    margin: auto;
    border: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 60px rgba(0,35,21,.29);
    transform: translateY(105%);
    transition: transform .25s ease;
  }
  .detail-panel.is-open { transform: translateY(0); }
  .detail-panel::before { content: ""; width: 48px; height: 4px; flex: 0 0 auto; align-self: center; margin: 8px 0 0; border-radius: 99px; background: #c7d1ca; }
  .sheet-backdrop { position: fixed; z-index: 200; inset: 0; display: block; background: rgba(0,25,15,.52); }
  .sheet-backdrop[hidden] { display: none; }
  .detail-hero { min-height: 180px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .call-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .atlas-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .atlas-hero__partner { width: 100%; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 68px; }
  .site-notice { display: none; }
  .site-container { width: min(calc(100% - 24px), var(--container)); }
  .site-header__inner { position: relative; min-height: 64px; grid-template-columns: 1fr 44px 44px auto; gap: 8px; }
  .wordmark > span { font-size: 25px; }
  .wordmark small { display: none; }
  .mobile-menu-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - 72px);
    padding: 9px;
    overflow-y: auto;
    flex-direction: column;
    gap: 2px;
    border: 1px solid rgba(255,255,255,.16);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: rgba(0,57,35,.99);
    box-shadow: var(--shadow-lg);
  }
  .site-header.is-menu-open .site-nav { display: flex; }
  .site-nav a,
  .site-nav a:nth-last-child(-n+2) { min-height: 48px; display: flex; padding: 0 13px; border-radius: 8px; font-size: 14px; }
  .site-nav a::after { right: 13px; bottom: 4px; left: 13px; }
  .header-join { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .atlas-hero__inner { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .atlas-hero h1 { font-size: clamp(34px, 9vw, 49px); }
  .atlas-stats { width: 100%; padding: 6px 4px; }
  .atlas-stats div { min-height: 52px; padding: 5px; }
  .atlas-stats dt { font-size: 11px; }
  .atlas-stats dd { font-size: 25px; }
  .detail-sponsor--hero { padding: 20px; }
  .atlas-section { width: 100%; padding-top: 16px; }
  .atlas-commandbar { border-radius: 0; grid-template-columns: auto 1fr; padding-inline: 12px; }
  .atlas-commandbar__identity { display: none; }
  .view-switch { justify-self: start; }
  .atlas-commandbar__actions button:first-child { display: none; }
  .atlas-commandbar__actions { justify-self: end; }
  .atlas-commandbar__actions button { padding-inline: 12px; }
  .atlas-commandbar__actions button span:last-child { display: none; }
  .atlas-layout,
  .atlas-layout.is-list-view { height: min(74dvh, 720px); min-height: 600px; grid-template-columns: 1fr; border-right: 0; border-left: 0; border-radius: 0; }
  .results-panel { display: none; border-right: 0; }
  .map-panel { display: flex; }
  .atlas-layout.mobile-results .results-panel { display: flex; }
  .atlas-layout.mobile-results .map-panel { display: none; }
  .atlas-layout.is-list-view .results-panel { display: none; }
  .atlas-layout.is-list-view .map-panel { display: flex; }
  .atlas-layout.is-list-view.mobile-results .results-panel { display: flex; }
  .atlas-layout.is-list-view.mobile-results .map-panel { display: none; }
  .map-stage { min-height: 605px; }
  .cards-grid { grid-template-columns: 1fr; }
  .mobile-atlas-bar {
    position: sticky;
    z-index: 60;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: min(calc(100% - 24px), 620px);
    min-height: 54px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 5px;
    margin: -72px auto 18px;
    padding: 6px 7px 6px 13px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 13px;
    background: rgba(0,57,35,.94);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
  }
  .mobile-atlas-bar strong { font-size: 12px; }
  .mobile-atlas-bar button { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; color: #fff; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 750; }
  .mobile-atlas-bar button svg { width: 16px; height: 16px; flex: 0 0 auto; }
  .map-intro { top: 11px; left: 11px; }
  .map-legend { bottom: 74px; }
  .map-zoom { bottom: 74px; }
  .support-section { padding-top: 42px; }
  .section-heading { align-items: flex-start; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
  .footer-status { display: none !important; }
}

@media (max-width: 700px) {
  .call-grid { grid-template-columns: 1fr; }
}

@media (max-width: 570px) {
  .site-container { width: min(calc(100% - 20px), var(--container)); }
  .header-search { display: none; }
  .site-header__inner { grid-template-columns: 1fr 44px auto; }
  .atlas-hero__copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { padding-inline: 12px; font-size: 12px; }
  .atlas-stats { grid-template-columns: 1fr 1fr; }
  .atlas-stats div:nth-child(2) { border-right: 0; }
  .atlas-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .atlas-commandbar { grid-template-columns: 1fr auto; }
  .view-switch { width: 100%; }
  .view-switch button { flex: 1; padding-inline: 10px; }
  .map-toolbar .map-count-secondary { display: none; }
  .map-toolbar .map-provider-status { min-width: 92px; max-width: 100px; padding-inline: 9px; }
  .map-provider-status #mapProviderLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .map-stage { min-height: 570px; }
  .map-intro { padding: 18px; }
  .map-intro h2 { font-size: 21px; }
  .map-city-labels { display: none; }
  .map-legend { grid-template-columns: 1fr; max-height: 117px; overflow: hidden; }
  .detail-empty-layout { justify-content: flex-start; padding: 16px; }
  .detail-sponsor { padding-right: 13px; }
  .detail-panel { height: min(84dvh, 760px); }
  .detail-hero { min-height: 190px; padding: 22px 18px 17px; }
  .detail-scroll { padding-inline: 15px; }
  .call-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; gap: 10px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 135px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 12px; }
  .modal-backdrop { align-items: end; padding: 0; }
  .submit-modal { max-height: 94dvh; padding: 24px 17px max(20px, env(safe-area-inset-bottom)); border-radius: 21px 21px 0 0; }
  .submit-grid { grid-template-columns: 1fr; }
  .submit-grid label.wide { grid-column: auto; }
  .submit-modal__footer { align-items: stretch; flex-direction: column; }
  .submit-modal__footer .button { width: 100%; }
}

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

@media (forced-colors: active) {
  .map-terrain { display: none; }
  .map-marker, .live-dot, .footer-status i { forced-color-adjust: none; }
}
