/* /atlas/shelters.css */
/* Shelter pages (/shelters/eu/*): shared base + finder panel. Split: shelters-map, -sections, -phone. Tokens only.
   Design: .agent/tmp/shelters-design/SPEC.md. One phone cutoff: 760px (DESIGN-GUIDELINE §6.3). */
.sh-page {
  --sh-shadow: color-mix(in srgb, var(--ink) 18%, transparent);
  --sh-shadow-soft: color-mix(in srgb, var(--ink) 12%, transparent);
  --sh-glass: color-mix(in srgb, var(--surface) 88%, transparent);
  --sh-tint: color-mix(in srgb, var(--accent-soft) 55%, transparent);
  font-family: var(--sans);
}
/* English chrome (bar, footer) on pages in shelter-only languages: a lang wrapper that adds no box. */
.sh-chrome {
  display: contents;
}
.sh-wrap {
  max-width: 85rem;
  margin: 0 auto;
  padding: calc(var(--nav-clear, 5.25rem) + 0.5rem) 2rem 0;
}
.sh-page :is(h1, h2, h3, h4) {
  font-family: var(--sans);
}
.sh-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 0;
}
.sh-stop {
  color: var(--accent-mark);
}
.sh-page h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.1;
  font-weight: 500;
  margin: 0 0 0.625rem;
}
.sh-crumbs {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.5rem 0 0.4rem;
}
.sh-crumbs a {
  color: inherit;
  text-decoration-color: var(--accent-mark);
  text-underline-offset: 3px;
}
.sh-lede p {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--blue-ink);
  max-width: 34rem;
  margin: 0.75rem 0 0;
}
.sh-page button {
  font: inherit;
  color: inherit;
}
.sh-page ul,
.sh-page ol {
  margin: 0;
}
.sh-page li {
  margin: 0;
}

/* Finder */
/* Map first (landing v4: the band under the hero), list beside it. */
.sh-finder {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(22.5rem, 1fr);
  gap: 2.5rem;
  margin-top: 2.75rem;
  align-items: start;
  scroll-margin-top: calc(var(--nav-clear, 5.25rem) + 0.5rem);
}
.sh-panel {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
}
.sh-search {
  display: flex;
  gap: 0.5rem;
}
.sh-search label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: 3rem;
  padding: 0 1rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--rule);
  min-width: 0;
}
.sh-search label svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--accent-mark);
}
.sh-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.sh-search input:focus {
  outline: none;
}
.sh-search label:focus-within {
  border-color: var(--blue-ink);
  box-shadow: 0 0 0 1px var(--blue-ink);
}
.sh-page .sh-near {
  height: 3rem;
  padding: 0 1.125rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--blue-ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sh-near svg {
  width: 1rem;
  height: 1rem;
}
.sh-page .sh-why {
  margin: -0.25rem 0.25rem 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}
.sh-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.sh-cities button {
  min-height: 2.25rem;
  padding: 0 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  background: var(--surface);
  font-size: 0.9rem;
  cursor: pointer;
}
.sh-cities button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.sh-status {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}
.sh-status button {
  flex: none;
  border: 0;
  background: none;
  padding: 0.5rem 0;
  text-decoration: underline;
  text-decoration-color: var(--accent-mark);
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 0.9rem;
}
.sh-results {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  max-height: 38.75rem;
  overflow: auto;
  scrollbar-width: thin;
}
.sh-page .sh-results > li {
  font-size: 1rem;
  line-height: 1.45;
}
.sh-strow {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.75rem 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
}
.sh-strow:hover {
  background: linear-gradient(90deg, transparent, var(--sh-tint));
}
.sh-strow span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sh-card {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.25rem 0.875rem;
  padding: 1rem 0.25rem 1rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.sh-card:hover,
.sh-card.on {
  background: linear-gradient(90deg, transparent, var(--sh-tint));
}
.sh-card.on {
  box-shadow: inset 3px 0 0 var(--accent-mark);
}
.sh-km {
  grid-row: span 4;
  font-size: 1.375rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 0.2rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.sh-km small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 0.2rem;
}
.sh-card > :not(.sh-km) {
  grid-column: 2;
}
.sh-page .sh-card h3,
.sh-cc h3,
.sh-pop h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.sh-addr {
  font-size: 0.9rem;
  color: var(--muted);
}
.sh-checked {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  line-height: 1.4;
  font-size: 0.85rem;
  color: var(--blue-ink);
}
.sh-checked svg,
.sh-why2 svg {
  margin-top: 0.15em;
  width: 0.95rem;
  height: 0.95rem;
  color: var(--ok);
  flex: none;
}
.sh-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.sh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0 0.875rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.sh-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}
.sh-btn.sh-go {
  border-color: var(--blue-ink);
}
:is(.sh-card.on, .sh-pop, .sh-cc.on, .sh-profile) .sh-btn.sh-go {
  background: var(--accent);
  border-color: var(--accent-mark);
  color: var(--accent-ink);
}
.sh-btn:hover {
  border-color: var(--blue-ink);
}
.sh-empty {
  padding: 1rem 0;
  color: var(--muted);
}

/* /atlas/shelters-map.css */
/* Shelter finder map: dot map, Google layer, our pins, rings, popover, consent pill. After shelters.css. */
/* Map */
.sh-map {
  position: sticky;
  top: calc(var(--nav-clear, 5.25rem) + 0.25rem);
  height: calc(100vh - var(--nav-clear, 5.25rem) - 1.5rem);
  min-height: 35rem;
  max-height: 51rem;
  border-radius: 22px;
  overflow: hidden;
  background: var(--map-sea);
  border: 1px solid var(--rule);
  transition: background var(--t-slow) var(--ease);
}
.sh-map.zoomed {
  background: var(--map-land);
}
.sh-map > svg,
.sh-gmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sh-gmap[hidden] {
  display: none;
}
.sh-map.google > #sh-svg {
  visibility: hidden;
}
#sh-land {
  fill: var(--map-land);
  transition: opacity var(--t-slow) var(--ease);
}
.sh-map.zoomed #sh-land {
  opacity: 0;
}
#sh-dots {
  fill: var(--blue-ink);
  fill-opacity: 0.8;
  stroke: var(--surface);
  stroke-width: 0.6;
}
.sh-ov {
  pointer-events: none;
  overflow: visible;
}
.sh-ov circle {
  fill: none;
  stroke: var(--blue);
  stroke-opacity: 0.35;
  stroke-dasharray: 3 4;
}
.sh-ov circle.c {
  fill: var(--blue);
  stroke: none;
}
.sh-ov text {
  fill: var(--muted);
  font: 500 11px var(--sans);
}
.sh-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sh-pin {
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -30px 0 0 -15px;
  border: 0;
  padding: 0;
  background: none;
  pointer-events: auto;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease);
  transform-origin: 50% 100%;
}
.sh-pin svg {
  display: block;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 3px var(--sh-shadow));
}
.sh-pin path {
  fill: var(--blue);
}
.sh-pin .paw {
  fill: var(--surface);
}
.sh-pin:hover,
.sh-pin.on {
  transform: scale(1.22);
  z-index: 2;
}
.sh-pin.on path {
  fill: var(--accent-mark);
}
.sh-plabel {
  display: none;
  position: absolute;
  left: 27px;
  top: 2px;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  background: var(--sh-glass);
  border: 1px solid var(--rule);
  padding: 2px 8px;
  border-radius: 8px;
  color: var(--ink);
  pointer-events: none;
}
.sh-pin:is(:hover, :focus-visible) .sh-plabel {
  display: block;
}
.sh-mapnote {
  position: absolute;
  left: 0.875rem;
  bottom: 0.75rem;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
  background: var(--sh-glass);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-pill);
  pointer-events: none;
}
.sh-map.google .sh-mapnote {
  bottom: 1.75rem;
}
.sh-legend {
  position: absolute;
  left: 0.875rem;
  top: 0.875rem;
  font-size: 0.85rem;
  color: var(--blue-ink);
  background: var(--sh-glass);
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sh-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.sh-consent {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
/* Zoomed to a city: the button moves to the top so the pins stay visible. */
.sh-map.zoomed .sh-consent {
  top: 0.875rem;
  transform: translateX(-50%);
}
.sh-consent[hidden] {
  display: none;
}
.sh-consent span {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
  background: var(--sh-glass);
  padding: 0.25rem 0.6rem;
  border-radius: 10px;
}
.sh-page .sh-show {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 22px var(--sh-shadow);
  cursor: pointer;
}
.sh-page .sh-show:hover {
  background: var(--blue-ink);
}
.sh-show svg {
  width: 1rem;
  height: 1rem;
}
.sh-map.google .sh-consent {
  display: none;
}
.sh-pop {
  position: absolute;
  z-index: 5;
  width: 18.75rem;
  padding: 1rem 1rem 0.875rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: 0 18px 40px var(--sh-shadow);
  transform: translate(-50%, calc(-100% - 40px));
}
.sh-pop h3 {
  margin-right: 1.9rem;
}
.sh-page .sh-pop p {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}
.sh-page .sh-pop .sh-x {
  position: absolute;
  right: 0.375rem;
  top: 0.375rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
}
.sh-full-open,
.sh-fullbar,
.sh-carousel,
.sh-fab {
  display: none;
}

/* Google map: clusters (count circles) and lone shelters (small paw pins), under the result pins. */
.sh-clusters {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sh-page .sh-cluster {
  position: absolute;
  width: var(--s, 36px);
  height: var(--s, 36px);
  margin: calc(var(--s, 36px) / -2) 0 0 calc(var(--s, 36px) / -2);
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--blue-ink);
  color: var(--surface);
  font: 600 0.85rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--surface) 85%, transparent),
    0 4px 12px var(--sh-shadow);
  pointer-events: auto;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease);
}
.sh-page .sh-cluster:hover {
  transform: scale(1.08);
}
.sh-pin-sm {
  width: 24px;
  height: 24px;
  margin: -24px 0 0 -12px;
}
.sh-pin-sm svg {
  width: 24px;
  height: 24px;
}
.sh-pin-sm .sh-plabel {
  left: 22px;
  top: 0;
}
/* Shelters outside the current list sit a step back from the list's pins. */
.sh-pin-sm:not(:hover, :focus-visible) svg {
  opacity: 0.8;
}
/* Hub overview: the other country's dots fade, so the map reads as the selected country (finder.js data-scope). */
.sh-map[data-scope="0"] #sh-dots circle:not([data-c="0"]),
.sh-map[data-scope="1"] #sh-dots circle:not([data-c="1"]) {
  fill-opacity: 0.18;
}

/* /atlas/shelters-sections.css */
/* Shelter pages below the finder: checked-shelter profiles, state lists, article, credit, hub search. Landing layout:
   shelters-landing.css. After shelters-map.css. */
.sh-page .sh-sub p,
.sh-page p.sh-sub {
  font-size: 1.03rem;
  line-height: 1.55;
  color: var(--blue-ink);
  max-width: 44rem;
  margin: 0 0 0.5rem;
}
.sh-profiles {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.sh-page .sh-city-intro p {
  font-size: 1.03rem;
  color: var(--blue-ink);
  margin: 0;
}
.sh-page .sh-profile h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.sh-page .sh-profile .sh-addr {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}
.sh-page .sh-why2 {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--blue-ink);
  margin: 0.75rem 0 1rem;
  max-width: 36rem;
}
.sh-facts {
  list-style: none;
  padding: 0.875rem 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.5rem;
}
.sh-page .sh-facts li {
  font-size: 0.97rem;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.sh-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-mark);
}
.sh-page .sh-src {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 1rem 0 0;
}
.sh-others h4 {
  margin: 0 0 0.625rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.sh-others ul {
  list-style: none;
  padding: 0;
}
.sh-page .sh-others li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  line-height: 1.4;
}
.sh-others small {
  color: var(--muted);
  white-space: nowrap;
}
.sh-note p {
  color: var(--muted);
}
.sh-states {
  columns: 2;
  column-gap: 2.5rem;
  margin-top: 0.75rem;
}
.sh-st {
  break-inside: avoid;
  border-top: 1px solid var(--rule);
}
.sh-st summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  min-height: 2.75rem;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}
.sh-st summary::-webkit-details-marker {
  display: none;
}
.sh-st summary span {
  color: var(--muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.sh-st ul {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}
.sh-page .sh-st li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
.sh-st li a {
  color: inherit;
  text-decoration-color: var(--accent-mark);
  text-underline-offset: 3px;
}
.sh-st li small {
  color: var(--muted);
  white-space: nowrap;
}
.sh-article {
  max-width: 44rem;
  margin-top: 5rem;
}
.sh-article section + section {
  margin-top: 3rem;
}
.sh-article h3 {
  margin: 1.75rem 0 0.5rem;
}
.sh-article ul,
.sh-article ol {
  padding-left: 1.2rem;
}
.sh-article li + li {
  margin-top: 0.4rem;
}
.sh-article a {
  color: var(--blue-ink);
  text-decoration-color: var(--accent-mark);
  text-underline-offset: 3px;
}
.sh-faq details {
  border-top: 1px solid var(--rule);
}
.sh-faq details:last-child {
  border-bottom: 1px solid var(--rule);
}
.sh-faq summary {
  min-height: 2.75rem;
  padding: 0.75rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
}
.sh-page .sh-credit {
  margin: 4.5rem 0 3.75rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52rem;
}
.sh-credit a {
  color: inherit;
  text-decoration-color: var(--accent-mark);
  text-underline-offset: 3px;
}

/* Hub */
.sh-countries {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.sh-countries li {
  border-bottom: 1px solid var(--rule);
}
.sh-countries a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.125rem 1rem;
  padding: 1.125rem 0.25rem;
  color: inherit;
  text-decoration: none;
}
.sh-countries a:hover {
  background: linear-gradient(90deg, transparent, var(--sh-tint));
}
.sh-countries strong {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.sh-n {
  grid-row: span 2;
  align-self: center;
  font-size: 1.875rem;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.sh-n small {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: 0.25rem;
}
.sh-countries span {
  font-size: 0.95rem;
  color: var(--muted);
}
.sh-page .sh-next p {
  margin: 1.125rem 0 0;
  font-size: 0.97rem;
  color: var(--muted);
}

/* /atlas/shelters-landing.css */
/* Shelter landing pages (spec v4 + v4.1, .agent/tmp/shelters-design/SPEC.md): hero, bands, steps, city tiles
   and the profile card. Tokens only. Part 2: shelters-landing-more.css; tablet and phone: shelters-landing-phone.css. */
.sh-page {
  --lp-gut: max(2rem, calc((100% - 81rem) / 2));
  --lp-shade: color-mix(in srgb, var(--ink) 85%, transparent);
  --lp-glass: color-mix(in srgb, var(--ink) 40%, transparent);
  --lp-edge: color-mix(in srgb, var(--surface) 30%, transparent);
}
.lp-hero + .sh-wrap {
  padding-top: 0;
}
.lp-wrap {
  max-width: 85rem;
  margin: 0 auto;
  padding: 0 2rem;
}
.sh-page .lp-h {
  font-size: clamp(1.875rem, 3.6vw, 2.875rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0;
}
.sh-page .lp-lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--blue-ink);
  max-width: 38rem;
  margin: 0.875rem 0 0;
}
.lp-band,
.lp-split {
  margin-top: 7.5rem;
}

/* Hero */
.lp-hero {
  position: relative;
  min-height: clamp(460px, 60vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-clear, 5.25rem) + 1rem) var(--lp-gut) 2.5rem;
  color: var(--surface);
  background: var(--ink);
}
.lp-photo {
  display: contents;
}
.lp-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--lp-shade) 0%,
      color-mix(in srgb, var(--ink) 55%, transparent) 38%,
      transparent 66%
    ),
    linear-gradient(0deg, color-mix(in srgb, var(--ink) 70%, transparent), transparent 40%);
}
.lp-title,
.lp-body {
  position: relative;
  z-index: 1;
}
.lp-hero .sh-crumbs {
  color: var(--surface);
  opacity: 0.88;
  margin: 0 0 0.75rem;
}
.lp-hero .sh-crumbs a {
  text-decoration-color: var(--accent);
}
.sh-page .lp-hero h1 {
  font-size: clamp(3rem, 5.8vw, 5.375rem);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--surface);
}
.lp-hero .sh-stop {
  color: var(--accent);
}
.sh-page .lp-lede {
  font-size: 1.1875rem;
  line-height: 1.5;
  max-width: 40rem;
  margin: 0.75rem 0 1.25rem;
  color: color-mix(in srgb, var(--surface) 92%, transparent);
}
.sh-page .lp-find {
  max-width: 38.75rem;
  gap: 0.625rem;
  padding: 0.625rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 15%, transparent);
  border: 1px solid var(--lp-edge);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.lp-find label {
  height: 3.25rem;
  border: 0;
  color: var(--muted);
}
.sh-page .lp-find .sh-near {
  height: 3.25rem;
  padding: 0 1.375rem;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.sh-page .lp-find .sh-near:hover {
  background: var(--accent-hover);
}
.sh-page .lp-hero .sh-why {
  margin: 0.5rem 0 0;
  color: color-mix(in srgb, var(--surface) 88%, transparent);
}
.lp-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  font-size: 0.9rem;
}
.lp-quick > span {
  opacity: 0.85;
  margin-right: 0.25rem;
}
.sh-page .lp-quick :is(button, a) {
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--lp-edge);
  background: var(--lp-glass);
  color: var(--surface);
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}
.sh-page .lp-quick button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.sh-page .lp-stats {
  position: absolute;
  z-index: 1;
  right: var(--lp-gut);
  bottom: 2.5rem;
  display: flex;
  gap: 0.625rem;
  list-style: none;
  padding: 0;
}
.sh-page .lp-stats li {
  min-width: 7.5rem;
  padding: 0.875rem 1.125rem;
  border-radius: 18px;
  background: var(--lp-glass);
  border: 1px solid var(--lp-edge);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.lp-stats b {
  display: block;
  font-size: 2.125rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.lp-stats small {
  font-size: 0.85rem;
  opacity: 0.88;
}
@media (min-width: 761px) {
  .lp-quick [data-city]:nth-of-type(n + 7) {
    display: none;
  }
}
@media (min-width: 761px) and (max-width: 1239px) {
  .sh-page .lp-stats {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 1.25rem 0 0;
  }
}

/* Finder band */
.sh-finder .sh-head .lp-lead {
  margin-bottom: 0.5rem;
}

/* Steps */
.sh-page .lp-steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.125rem;
}
.sh-page .lp-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lp-steps figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper-2);
}
.lp-steps img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-steps .lp-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.375rem;
  background: linear-gradient(160deg, var(--accent), var(--accent-soft));
  color: var(--accent-ink);
}
.lp-tile strong {
  font-size: clamp(1.625rem, 2.3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  hyphens: auto;
}
.lp-tile em {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 0.375rem;
}
.lp-n {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 4px 12px var(--sh-shadow-soft);
}
.sh-page .lp-steps h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}
.sh-page .lp-steps p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--blue-ink);
}

/* City tiles (tabs) and the profile card */
.lp-cities {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.875rem;
}
.sh-page .lp-cities button {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--surface);
  text-align: left;
  background: var(--ink);
}
.lp-cities img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.lp-cities button:hover img {
  transform: scale(1.04);
}
.lp-cities button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--lp-shade), color-mix(in srgb, var(--ink) 20%, transparent) 55%, transparent);
}
.lp-cities span {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 0.875rem;
}
.lp-cities b {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.lp-cities small {
  display: block;
  font-size: 0.85rem;
  line-height: 1.35;
  opacity: 0.9;
}
.lp-cities button[aria-selected="true"] {
  outline: 3px solid var(--accent-mark);
  outline-offset: 3px;
}
.lp-profile {
  margin-top: 1.375rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 1.875rem 2.125rem;
  border-radius: 24px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--surface) 75%, transparent), color-mix(in srgb, var(--surface) 45%, transparent));
  border: 1px solid var(--rule);
  box-shadow: 0 10px 30px var(--sh-shadow-soft);
}
.lp-profile[hidden] {
  display: none;
}
.lp-profile:not(:has(.sh-others)) {
  grid-template-columns: minmax(0, 1fr);
}
.sh-page .lp-profile h3 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.sh-page .lp-why {
  margin: 0.625rem 0 0;
  font-size: 1.09rem;
  line-height: 1.5;
  color: var(--blue-ink);
  max-width: 36rem;
}
.sh-page .lp-ok {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0.875rem 0 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-rim);
}
.lp-ok svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}
.lp-profile .sh-city-intro {
  font-size: 0.95rem;
}

/* /atlas/shelters-landing-more.css */
/* Shelter landing pages, part 2: photo splits, costs, FAQ, state columns, hub map card and country tiles. After
   shelters-landing.css. */
/* Photo splits */
.lp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.lp-split.rev .lp-ph {
  order: 2;
}
.lp-ph {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--paper-2);
}
.lp-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sh-page .lp-tx p {
  font-size: 1.09rem;
  line-height: 1.6;
  color: var(--blue-ink);
  margin: 1rem 0 0;
}
.lp-big {
  margin-top: 1.625rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
}
.lp-big b {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-text);
}
.lp-big span {
  font-size: 0.97rem;
  color: var(--blue-ink);
  max-width: 20rem;
}
.sh-page .lp-checks {
  list-style: none;
  margin: 1.375rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.sh-page .lp-checks li {
  display: flex;
  gap: 0.75rem;
  font-size: 1.03rem;
  line-height: 1.5;
  color: var(--blue-ink);
}
.lp-checks svg {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  color: var(--accent-mark);
}
.lp-ghost,
.lp-go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  margin-top: 1.375rem;
  padding: 0 1.125rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.lp-ghost {
  border: 1px solid var(--rule);
  background: var(--surface);
}
.lp-ghost:hover {
  border-color: var(--blue-ink);
}
.lp-go {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.lp-go:hover {
  background: var(--accent-hover);
}
.lp-go svg {
  width: 1rem;
  height: 1rem;
}

/* Costs */
.sh-page .lp-costs {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.sh-page .lp-costs li {
  padding: 1.625rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
}
.sh-page .lp-costs li.hl {
  background: linear-gradient(160deg, var(--accent), var(--accent-soft));
  border-color: transparent;
}
.lp-costs b {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  overflow-wrap: break-word;
}
.lp-costs span {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--blue-ink);
}
.sh-page .lp-chips {
  list-style: none;
  margin: 1.125rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sh-page .lp-chips li {
  padding: 0.4rem 0.875rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-rim);
}

/* FAQ, state lists, article */
.lp-faq {
  margin-top: 1.875rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
  align-items: start;
}
.lp-faq details {
  border-top: 1px solid var(--rule);
}
.lp-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 1.125rem 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.lp-faq summary::-webkit-details-marker {
  display: none;
}
.lp-faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent-mark);
  font-size: 1.375rem;
  line-height: 1;
}
.lp-faq details[open] summary::after {
  content: "\2212";
}
.sh-page .lp-faq p {
  margin: 0 0 1.125rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--blue-ink);
}
.lp-faq a {
  color: inherit;
  text-decoration-color: var(--accent-mark);
  text-underline-offset: 3px;
}
.lp-band .sh-states {
  columns: 3;
  margin-top: 1.625rem;
}
.sh-article {
  margin-top: 7.5rem;
}
.sh-page .sh-credit.lp-wrap {
  max-width: none;
  margin: 0;
  padding: 1.625rem max(var(--lp-gut), calc(100% - 52rem - var(--lp-gut))) 3.75rem var(--lp-gut);
  border-top: 0;
}

/* Hub: country tiles */
.sh-page .lp-lands {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}
.lp-lands a {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  color: var(--surface);
  text-decoration: none;
  background: var(--ink);
}
.lp-lands img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.lp-lands a:hover img {
  transform: scale(1.03);
}
.lp-lands a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--lp-shade), transparent 60%);
}
.lp-lands span {
  position: absolute;
  z-index: 1;
  left: 1.375rem;
  right: 1.375rem;
  bottom: 1.25rem;
}
.lp-lands b {
  display: block;
  font-size: 2.125rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.lp-lands small {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Closing band (ShelterCta, .shelter-band) on Austria and the hub: small dogs and a person in the centre of the photo, so a
   stronger left scrim on desktop and the text on paper under the photo on phones (v4.2). */
.sh-page .lp-close.strong .shelter-band::after {
  background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 90%, transparent), transparent 70%);
}
/* State rows: the count beside the open/close mark that reading.css adds to every summary. */
.lp-band .sh-st summary span {
  margin: 0 0.75rem 0 auto;
}

/* Hub: the title alone on the photo; lede, search, country chips and stats on paper under it (owner,
   2026-11-17). Each chip switches the finder's map (data-scope); its arrow opens the country page. */
/* Hub header: BreedHero (the house header, reading.css .bh-*); the paper band follows it directly. */
.bh + .sh-wrap {
  padding-top: 0;
}
.lp-hubtop {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: end;
}
.sh-page .lp-hubtop .lp-lead {
  margin: 0 0 0.875rem;
}
.sh-page .lp-hubtop .lp-find {
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: 0 8px 24px var(--sh-shadow-soft);
  padding: 0.375rem;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.sh-page .lp-hubtop .lp-find label {
  height: 3rem;
  border: 0;
}
.sh-page .lp-hubtop .lp-find .sh-near {
  height: 3rem;
}
.lp-scopes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.lp-scopes > span:first-child {
  margin-right: 0.25rem;
}
.lp-scope {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
}
.lp-scope:has([aria-pressed="true"]) {
  background: var(--accent-soft);
  border-color: var(--accent-rim);
  color: var(--accent-text);
}
.sh-page .lp-scope button {
  min-height: 2.5rem;
  padding: 0 0.375rem 0 1rem;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}
.lp-scope a {
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  min-height: 2.5rem;
  padding-right: 0.5rem;
  color: var(--accent-text);
  text-decoration: none;
}
.lp-scope a:hover {
  color: var(--ink);
}
.lp-hubstats {
  display: flex;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sh-page .lp-hubstats li {
  min-width: 7rem;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink);
}
.lp-hubstats b {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.lp-hubstats small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.25;
  color: var(--muted);
}
@media (min-width: 761px) and (max-width: 1100px) {
  .lp-hubtop {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* tokens.css spaces reading-page list items (li + li); card rows and grids line up instead. */
.sh-page :is(.lp-hubstats, .lp-costs, .lp-steps, .lp-lands, .lp-chips, .lp-checks, .lp-stats) > li + li {
  margin-top: 0;
}

/* /atlas/shelters-landing-phone.css */
/* Shelter landing pages: tablet swipe rows and the phone layout (one cutoff: 760px). After shelters-landing-more.css,
   before shelters-phone.css. */
/* Tablet: steps and city tiles become swipe rows before they get too narrow */
@media (max-width: 1100px) {
  .sh-page .lp-swipe {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--lp-pad, 2rem);
    margin-left: calc(-1 * var(--lp-pad, 2rem));
    margin-right: calc(-1 * var(--lp-pad, 2rem));
    padding: 0.25rem var(--lp-pad, 2rem) 0.5rem;
    gap: 0.75rem;
    scrollbar-width: none;
  }
  .lp-swipe::-webkit-scrollbar {
    display: none;
  }
  .lp-swipe > * {
    flex: 0 0 34%;
    scroll-snap-align: start;
  }
  .lp-cities > * {
    flex-basis: 24%;
  }
  .sh-page .lp-costs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Phone (one cutoff: 760px) */
@media (max-width: 760px) {
  .sh-page {
    --lp-pad: 1rem;
  }
  .lp-band,
  .lp-split {
    margin-top: 5rem;
  }
  .sh-page .lp-lead {
    font-size: 1rem;
    margin-top: 0.625rem;
  }
  .lp-wrap {
    padding: 0 1rem;
  }
  .lp-hero {
    min-height: 0;
    display: block;
    padding: 0;
    color: var(--ink);
    background: none;
  }
  .lp-photo {
    display: block;
    position: relative;
    height: 31svh;
    min-height: 230px;
    max-height: 300px;
    overflow: hidden;
    background: var(--ink);
  }
  .lp-scrim {
    background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 78%, transparent), transparent 62%);
  }
  .lp-title {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.875rem;
    color: var(--surface);
  }
  .lp-hero .sh-crumbs {
    margin-bottom: 0.375rem;
    font-size: 0.8rem;
  }
  .sh-page .lp-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 2.75rem);
    line-height: 1.02;
  }
  .lp-body {
    padding: 0.875rem 1rem 0;
  }
  .sh-page .lp-lede {
    color: var(--blue-ink);
    font-size: 1rem;
    margin: 0 0 0.875rem;
  }
  .sh-page .lp-find {
    background: var(--surface);
    border-color: var(--rule);
    padding: 0.375rem;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .lp-find label {
    height: 3rem;
    padding: 0 0.625rem;
  }
  .sh-page .lp-find .sh-near {
    height: 3rem;
    width: 3rem;
    padding: 0;
  }
  .sh-page .lp-hero .sh-why {
    color: var(--muted);
  }
  .lp-hero .lp-quick {
    margin-top: 0.75rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0 1rem;
  }
  .lp-quick > span {
    flex: none;
  }
  .sh-page .lp-quick :is(button, a) {
    flex: none;
    min-height: 2.5rem;
    color: var(--ink);
    background: var(--surface);
    border-color: var(--rule);
  }
  .sh-page .lp-stats {
    display: none;
  }
  .sh-finder {
    margin-top: 1.625rem;
  }
  .sh-page .lp-steps,
  .lp-cities {
    margin-top: 1.75rem;
  }
  .lp-swipe > * {
    flex-basis: 74%;
  }
  .lp-cities > * {
    flex-basis: 42%;
  }
  .lp-cities b {
    font-size: 1.25rem;
  }
  .lp-cities span {
    left: 0.75rem;
    right: 0.75rem;
  }
  .lp-profile {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.375rem;
  }
  .sh-page .lp-profile h3 {
    font-size: 1.5rem;
  }
  .lp-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .lp-split.rev .lp-ph {
    order: 0;
  }
  .lp-big b {
    font-size: 2.75rem;
  }
  .lp-faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-faq details:last-child {
    border-bottom: 1px solid var(--rule);
  }
  .lp-band .sh-states {
    columns: 1;
  }
  .sh-page .lp-lands {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-lands b {
    font-size: 1.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-cities img,
  .lp-lands img {
    transition: none;
  }
}
@media (max-width: 760px) {
  .sh-page .lp-close.strong .shelter-band {
    height: auto;
    color: var(--ink);
  }
  .sh-page .lp-close.strong .shelter-band img {
    position: relative;
    height: 300px;
  }
  .sh-page .lp-close.strong .shelter-band::after {
    inset: 0 0 auto;
    height: 300px;
    background: none;
  }
  .sh-page .lp-close.strong .shelter-band .in {
    position: static;
    padding: 1.5rem 0 0;
  }
  .sh-page .lp-close.strong .shelter-band h2 {
    color: var(--ink);
  }
  .sh-page .lp-close.strong .shelter-band h2 i {
    color: var(--accent-mark);
  }
  .sh-page .lp-close.strong .shelter-band p {
    color: var(--blue-ink);
  }
}
@media (max-width: 760px) {
  .lp-hubtop {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 0.875rem;
  }
  .lp-hubstats li {
    flex: 1;
    min-width: 0;
  }
  .sh-page .lp-hubstats li {
    min-width: 0;
    padding: 0.625rem 0.75rem;
  }
  .lp-hubstats b {
    font-size: 1.625rem;
  }
  .lp-scopes > span:first-child {
    flex-basis: 100%;
  }
  .lp-hubtop .lp-find input {
    font-size: 0.95rem;
  }
}

/* /atlas/shelters-phone.css */
/* Shelter pages: phone (760px) and tablet layouts, full-screen map, card row, reduced motion. Load last. */
/* Phone */
@media (max-width: 760px) {
  .sh-wrap {
    padding: calc(var(--nav-clear, 3.25rem) + 0.5rem) 1rem 0;
  }
  .sh-page h1 {
    font-size: 2.25rem;
  }
  .sh-lede p {
    font-size: 1rem;
    margin-top: 0.5rem;
  }
  .sh-finder {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .sh-panel {
    display: contents;
  }
  .sh-head {
    order: 0;
  }
  .sh-page .sh-near {
    width: 3rem;
    padding: 0;
    justify-content: center;
  }
  .sh-near span {
    display: none;
  }
  .sh-cities {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -1rem;
    padding: 0 1rem;
  }
  .sh-cities::-webkit-scrollbar {
    display: none;
  }
  .sh-cities button {
    flex: none;
    min-height: 2.5rem;
    padding: 0 0.95rem;
  }
  .sh-finder .sh-map {
    order: 4;
    position: relative;
    top: 0;
    height: 46vh;
    min-height: 18.75rem;
    max-height: 26.875rem;
    border-radius: 18px;
  }
  .sh-status {
    order: 5;
  }
  .sh-results {
    order: 6;
    max-height: none;
    overflow: visible;
  }
  .sh-full-open {
    display: flex;
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 4;
    height: 2.75rem;
    padding: 0 0.875rem;
    align-items: center;
    gap: 0.45rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--rule);
    background: var(--surface);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px var(--sh-shadow-soft);
    cursor: pointer;
  }
  .sh-full-open svg {
    width: 1rem;
    height: 1rem;
  }
  .sh-map:not(.full) .sh-mapnote {
    right: 8.5rem;
    font-size: 0.7rem;
    border-radius: 10px;
  }
  .sh-map:not(.full) .sh-consent span {
    font-size: 0.7rem;
  }
  .sh-clusters .sh-pin-sm {
    width: 36px;
    height: 36px;
    margin: -30px 0 0 -18px;
  }
  .sh-clusters .sh-pin-sm svg {
    margin: 0 auto;
  }
  .sh-pin {
    width: 44px;
    height: 44px;
    margin: -30px 0 0 -22px;
  }
  .sh-pin svg {
    margin: 0 auto;
  }
  .sh-card {
    padding: 1rem 0;
  }
  .sh-acts .sh-btn {
    min-height: 2.75rem;
  }
  .sh-acts .sh-go {
    flex: 1;
    justify-content: center;
  }
  .sh-acts .sh-btn:not(.sh-go) {
    width: 2.75rem;
    padding: 0;
    justify-content: center;
  }
  .sh-acts .sh-btn:not(.sh-go) .sh-t {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .sh-acts .sh-btn svg {
    width: 1.05rem;
    height: 1.05rem;
  }
  .sh-fab {
    display: flex;
    position: fixed;
    left: 50%;
    bottom: calc(1.125rem + env(safe-area-inset-bottom));
    z-index: 60;
    transform: translateX(-50%);
    height: 3rem;
    padding: 0 1.25rem;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--r-pill);
    border: 0;
    background: var(--ink);
    color: var(--paper);
    font: 500 1rem var(--sans);
    box-shadow: 0 10px 24px var(--sh-shadow);
    cursor: pointer;
  }
  .sh-fab[hidden] {
    display: none;
  }
  .sh-fab svg {
    width: 1.05rem;
    height: 1.05rem;
  }
  .sh-map.full {
    position: fixed;
    inset: 0;
    z-index: 90;
    height: 100dvh;
    max-height: none;
    min-height: 0;
    border-radius: 0;
    border: 0;
  }
  .sh-map.full :is(.sh-legend, .sh-full-open, .sh-consent) {
    display: none;
  }
  .sh-map.full .sh-fullbar {
    display: flex;
    position: absolute;
    z-index: 6;
    top: calc(0.625rem + env(safe-area-inset-top));
    left: 0.75rem;
    right: 0.75rem;
    align-items: center;
    gap: 0.625rem;
  }
  .sh-fullbar button {
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--rule);
    background: var(--surface);
    font-size: 1.375rem;
    line-height: 1;
    box-shadow: 0 4px 12px var(--sh-shadow-soft);
    cursor: pointer;
  }
  .sh-fullbar span {
    flex: 1;
    min-width: 0;
    height: 2.75rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--rule);
    font-size: 0.9375rem;
    font-weight: 500;
    box-shadow: 0 4px 12px var(--sh-shadow-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sh-map.full .sh-mapnote {
    left: 0.75rem;
    right: 0.75rem;
    bottom: auto;
    top: calc(4.125rem + env(safe-area-inset-top));
    text-align: center;
    font-size: 0.7rem;
  }
  .sh-map.full .sh-carousel {
    display: flex;
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    bottom: calc(0.875rem + env(safe-area-inset-bottom));
    gap: 0.625rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 7%;
    scrollbar-width: none;
  }
  .sh-carousel::-webkit-scrollbar {
    display: none;
  }
  .sh-cc {
    flex: 0 0 86%;
    scroll-snap-align: center;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 0.875rem 1rem 1rem;
    box-shadow: 0 10px 26px var(--sh-shadow);
  }
  .sh-cc.on {
    border-color: var(--accent-mark);
    box-shadow:
      0 10px 26px var(--sh-shadow),
      inset 0 3px 0 var(--accent-mark);
  }
  .sh-cck {
    font-size: 0.8rem;
    color: var(--muted);
  }
  .sh-cc .sh-addr {
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sh-pop {
    position: fixed;
    inset: auto 0 0 0;
    width: auto;
    transform: none;
    border-radius: 22px 22px 0 0;
    padding: 1.375rem 1.25rem calc(1.125rem + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px var(--sh-shadow);
  }
  .sh-page .sh-profile h3 {
    font-size: 1.5rem;
  }
  .sh-states {
    columns: 1;
  }
  .sh-article {
    margin-top: 3.5rem;
  }
  .sh-st li {
    flex-direction: column;
    gap: 0.1rem;
  }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .sh-finder {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 22rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sh-page * {
    transition: none !important;
  }
}
