/* ============================================================
   State Page v2 — Airbnb-style split list + map
   ============================================================ */

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

:root {
  --sp2-font: var(--font-sans, 'Inter', system-ui, sans-serif);
  --sp2-bg: var(--background, #faf9f6);
  --sp2-surface: var(--card, #ffffff);
  --sp2-text: var(--foreground, #111111);
  --sp2-muted: var(--muted-foreground, #5f5f5f);
  --sp2-border: var(--border, #e8e6e1);
  --sp2-accent: var(--accent, #ff5a36);
  --sp2-ink: var(--button-primary, #111111);
  --sp2-header-h: 72px;
  --sp2-filters-h: 52px;
  --sp2-panel-w: min(52vw, 720px);
  --sp2-radius: 12px;
  --sp2-radius-lg: 16px;
  --sp2-panel-radius: 24px;
  --sp2-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 4px 16px rgb(0 0 0 / 0.06);
  --sp2-shelf-shadow: 0 -6px 24px rgb(0 0 0 / 0.08), 0 -1px 3px rgb(0 0 0 / 0.04);
}

html, body.sp2-body {
  height: 100%;
  font-family: var(--sp2-font);
  color: var(--sp2-text);
  background: var(--sp2-bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Header ─────────────────────────────────────────────── */

.sp2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--sp2-header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  background: var(--sp2-surface);
  border-bottom: 1px solid var(--sp2-border);
}

.sp2-header-start {
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 0;
}

.sp2-header-center {
  justify-self: center;
  width: min(520px, 100%);
  min-width: 0;
}

.sp2-header-end {
  justify-self: end;
  min-width: 0;
}

.sp2-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sp2-text);
  flex-shrink: 0;
}

.sp2-logo img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.sp2-logo-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.sp2-search-wrap {
  width: 100%;
  position: relative;
}

.sp2-search {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--sp2-surface);
  border: 1px solid var(--sp2-border);
  border-radius: 999px;
  box-shadow: var(--sp2-shadow);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.sp2-search:focus-within {
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08), 0 0 0 2px rgb(17 17 17 / 0.06);
}

.sp2-search-field {
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
}

.sp2-search-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sp2-text);
  line-height: 1.2;
}

.sp2-search-input {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  color: var(--sp2-text);
  padding: 2px 0 0;
  outline: none;
}

.sp2-search-input::placeholder { color: var(--sp2-muted); }

.sp2-search-field--location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp2-search-field--location .sp2-search-input {
  color: var(--sp2-muted);
  cursor: default;
}

.sp2-search-loc-body {
  flex: 1;
  min-width: 0;
}

.sp2-search-loc-icon {
  width: 16px;
  height: 16px;
  color: var(--sp2-muted);
  flex-shrink: 0;
  align-self: center;
}

.sp2-search-field--query {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp2-search-query-body {
  flex: 1;
  min-width: 0;
}

.sp2-search-query-icon {
  width: 16px;
  height: 16px;
  color: var(--sp2-muted);
  flex-shrink: 0;
  align-self: center;
}

.sp2-search-divider {
  width: 1px;
  height: 32px;
  background: var(--sp2-border);
  flex-shrink: 0;
}

.sp2-search-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 6px;
  border: none;
  border-radius: 50%;
  background: var(--sp2-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.sp2-search-btn:hover { background: #2a2a2a; }
.sp2-search-btn:active { transform: scale(0.96); }
.sp2-search-btn svg { width: 18px; height: 18px; }

.sp2-search-clear {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-right: 2px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--sp2-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sp2-search-clear:hover {
  background: var(--sp2-bg);
  color: var(--sp2-text);
}

.sp2-search-clear.hidden { display: none; }

.sp2-search-clear-fallback {
  font-size: 18px;
  line-height: 1;
}

.sp2-search-clear:has(svg) .sp2-search-clear-fallback {
  display: none;
}

.sp2-search-clear svg { width: 16px; height: 16px; }

.sp2-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--sp2-surface);
  border: 1px solid var(--sp2-border);
  border-radius: var(--sp2-radius-lg);
  box-shadow: var(--sp2-shadow);
  overflow: hidden;
  z-index: 400;
  display: none;
}

.sp2-suggestions.open { display: block; }

.sp2-suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  color: var(--sp2-text);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sp2-suggestion-item:hover,
.sp2-suggestion-item:focus-visible {
  background: var(--sp2-bg);
  outline: none;
}

.sp2-suggestion-icon {
  width: 14px;
  height: 14px;
  color: var(--sp2-muted);
  flex-shrink: 0;
}

.sp2-user-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sp2-accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15);
}

.sp2-header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sp2-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sp2-text);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.sp2-nav-link:hover { background: var(--sp2-bg); }

.sp2-nav-link--cta {
  background: var(--sp2-ink);
  color: #fff;
}

.sp2-nav-link--cta:hover {
  background: #2a2a2a;
}

/* ── Filter chips ───────────────────────────────────────── */

.sp2-filters {
  position: fixed;
  top: var(--sp2-header-h);
  left: 0;
  right: 0;
  z-index: 290;
  height: var(--sp2-filters-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  background: var(--sp2-surface);
  border-bottom: 1px solid var(--sp2-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.sp2-filters::-webkit-scrollbar { display: none; }

.sp2-chip {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--sp2-border);
  border-radius: 999px;
  background: var(--sp2-surface);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sp2-text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sp2-chip:hover { border-color: var(--sp2-text); }

.sp2-chip.active {
  background: var(--sp2-ink);
  border-color: var(--sp2-ink);
  color: #fff;
}

/* ── Layout ───────────────────────────────────────────────── */

.sp2-layout {
  display: flex;
  height: 100vh;
  padding-top: calc(var(--sp2-header-h) + var(--sp2-filters-h));
}

.sp2-panel {
  width: var(--sp2-panel-w);
  flex-shrink: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--sp2-border);
  background: var(--sp2-bg);
}

.sp2-panel-inner {
  padding: 24px 24px 48px;
  max-width: 720px;
}

.sp2-panel-handle {
  display: none;
}

.sp2-map-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
  background: #e8e6e1;
}

#sp2Map {
  width: 100%;
  height: 100%;
}

/* Mapbox — match find-advocates (avoid marker drift from extra transforms on root) */
.mapboxgl-canvas { outline: none; }
.mapboxgl-ctrl-logo { display: none !important; }
.mapboxgl-ctrl-attrib { font-size: 10px; }
.mapboxgl-marker {
  will-change: auto;
}

/* ── Results header ───────────────────────────────────────── */

.sp2-results-header {
  margin-bottom: 20px;
}

.sp2-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sp2-count {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--sp2-muted);
}

/* ── Advocate grid (Airbnb-style cards) ───────────────────── */

.sp2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
}

/* Parent match promo (same pattern as find-advocates listing promo) */
.sp2-listing-promo {
  grid-column: 1 / -1;
  background: #111111;
  border-radius: var(--sp2-radius-lg);
  padding: 16px;
  cursor: default;
}

.sp2-listing-promo__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp2-listing-promo__lead {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sp2-listing-promo__avatars {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding-left: 0.25rem;
}

.sp2-listing-promo__avatar {
  width: 36px;
  height: 36px;
  margin-left: -0.5rem;
  border: 2px solid #111111;
  border-radius: 50%;
  object-fit: cover;
  background: #2a2a2a;
}

.sp2-listing-promo__avatar:first-child {
  margin-left: 0;
}

.sp2-listing-promo__text {
  min-width: 0;
}

.sp2-listing-promo__headline {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.sp2-listing-promo__sub {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgb(255 255 255 / 0.68);
}

.sp2-listing-promo__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0.6rem 1.15rem;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  background: var(--sp2-accent);
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.sp2-listing-promo__btn:hover {
  background: #e94e2e;
  color: #ffffff;
}

.sp2-listing-promo__btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.sp2-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline: none;
}

.sp2-card:hover .sp2-card-img img {
  transform: scale(1.03);
}

.sp2-card:focus-visible {
  outline: 2px solid var(--sp2-accent);
  outline-offset: 4px;
  border-radius: var(--sp2-radius);
}

.sp2-card-img {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: var(--sp2-radius-lg);
  overflow: hidden;
  background: var(--sp2-border);
}

.sp2-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sp2-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f1ec, #e8e6e1);
  font-size: 2rem;
  font-weight: 600;
  color: var(--sp2-muted);
}

.sp2-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.95);
  font-size: 0.6875rem;
  font-weight: 600;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
  pointer-events: none;
}

.sp2-card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.92);
  color: var(--sp2-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  opacity: 1;
  visibility: visible;
}

.sp2-card-fav:hover { transform: scale(1.08); background: #fff; }

.sp2-card-fav[aria-pressed="true"] .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  color: var(--sp2-accent);
}

.sp2-card-fav .material-symbols-outlined { font-size: 18px; }

.sp2-card-body {
  padding: 10px 2px 0;
}

.sp2-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sp2-card-name {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp2-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8125rem;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
}

.sp2-card-rating .material-symbols-outlined {
  font-size: 12px;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.sp2-card-reviews {
  font-weight: 400;
  color: var(--sp2-muted);
}

.sp2-card-meta {
  margin-top: 2px;
  font-size: 0.8125rem;
  color: var(--sp2-muted);
  line-height: 1.4;
}

.sp2-card-meta-sep {
  color: var(--sp2-muted);
}

.sp2-card-price-row {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.sp2-card-rate {
  font-size: 0.9375rem;
  font-weight: 600;
}

.sp2-card-rate-label {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--sp2-muted);
}

.sp2-card-free {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.6875rem;
  font-weight: 600;
}

.sp2-card.active {
  outline: 2px solid var(--sp2-ink);
  outline-offset: 2px;
  border-radius: var(--sp2-radius-lg);
}

/* ── Skeleton ─────────────────────────────────────────────── */

.sp2-skeleton {
  aspect-ratio: 1 / 1.2;
  border-radius: var(--sp2-radius-lg);
  background: linear-gradient(90deg, #f0eeea 25%, #faf9f6 50%, #f0eeea 75%);
  background-size: 200% 100%;
  animation: sp2-shimmer 1.4s infinite;
}

@keyframes sp2-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Load more ────────────────────────────────────────────── */

.sp2-load-more {
  display: block;
  width: 100%;
  margin: 32px 0 48px;
  padding: 14px 24px;
  border: 1px solid var(--sp2-text);
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sp2-text);
  cursor: pointer;
  transition: background 0.15s ease;
}

.sp2-load-more:hover { background: var(--sp2-surface); }
.sp2-load-more.hidden { display: none; }

/* ── Content sections (scroll below advocates) ────────────── */

.sp2-content {
  padding: 36px 0;
  border-top: 1px solid var(--sp2-border);
}

.sp2-content:first-of-type {
  border-top: none;
}

.sp2-content-label {
  margin-bottom: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #ff5a36);
}

.sp2-content h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--sp2-text);
  margin-bottom: 14px;
}

.sp2-content-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sp2-text);
  margin-bottom: 12px;
}

.sp2-content p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--sp2-muted);
  margin-bottom: 12px;
}

.sp2-content p:last-child { margin-bottom: 0; }

.sp2-list {
  margin: 16px 0 0;
  padding-left: 1.25rem;
  color: var(--sp2-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.sp2-list li {
  margin-bottom: 8px;
}

.sp2-list li:last-child { margin-bottom: 0; }

.sp2-list--links {
  list-style: none;
  padding-left: 0;
}

.sp2-list--links a {
  color: var(--sp2-text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sp2-list--links a:hover { color: var(--sp2-accent); }

.sp2-faq {
  border-bottom: 1px solid var(--sp2-border);
  padding: 16px 0;
}

.sp2-faq:last-child {
  border-bottom: none;
}

.sp2-faq summary {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sp2-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sp2-faq summary::-webkit-details-marker { display: none; }

.sp2-faq summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--sp2-muted);
}

.sp2-faq[open] summary::after { content: '−'; }

.sp2-faq p {
  margin-top: 10px;
  padding-right: 24px;
}

.sp2-cities {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sp2-border);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--sp2-muted);
}

.sp2-cities-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp2-text);
}

.sp2-cities span:not(.sp2-cities-label) { white-space: nowrap; }

/* ── Footer ───────────────────────────────────────────────── */

.sp2-footer {
  padding: 32px 0 16px;
  border-top: 1px solid var(--sp2-border);
  font-size: 0.8125rem;
  color: var(--sp2-muted);
}

.sp2-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.sp2-footer a {
  color: var(--sp2-muted);
  text-decoration: none;
}

.sp2-footer a:hover { color: var(--sp2-text); text-decoration: underline; }

/* ── Map controls & markers ───────────────────────────────── */

.sp2-map-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 10;
}

.sp2-map-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: var(--sp2-surface);
  box-shadow: var(--sp2-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sp2-map-btn:hover { background: var(--sp2-bg); }
.sp2-map-btn svg { width: 18px; height: 18px; }

.sp2-marker {
  cursor: pointer;
  /* Do not transform the Mapbox marker root — it uses transform for positioning */
}

.sp2-marker-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sp2-surface);
  border: 1px solid var(--sp2-border);
  box-shadow: var(--sp2-shadow);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.sp2-marker.active .sp2-marker-pill,
.sp2-marker:hover .sp2-marker-pill {
  background: var(--sp2-ink);
  color: #fff;
  border-color: var(--sp2-ink);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.18);
}

.sp2-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--sp2-muted);
}

.sp2-empty p { font-size: 0.9375rem; margin-bottom: 12px; }

.sp2-empty a {
  color: var(--sp2-text);
  font-weight: 600;
}

/* ── Mobile ───────────────────────────────────────────────── */

@media (max-width: 960px) {
  :root {
    --sp2-panel-w: 100%;
    --sp2-panel-peek: 160px;
    --sp2-panel-top-gap: 48px;
    --sp2-ease: cubic-bezier(0.4, 0, 0.2, 1);
  }

  html, body.sp2-body {
    overflow: hidden;
    height: 100%;
  }

  .sp2-header {
    display: flex;
    gap: 12px;
  }

  .sp2-header-end {
    display: none;
  }

  .sp2-header-center {
    flex: 1;
    width: auto;
  }

  /* Fixed viewport: map fills area, panel shelves over it */
  .sp2-layout {
    position: fixed;
    top: calc(var(--sp2-header-h) + var(--sp2-filters-h));
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding-top: 0;
    min-height: 0;
    height: auto;
  }

  .sp2-map-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: 0;
  }

  #sp2Map {
    width: 100%;
    height: 100%;
  }

  .sp2-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--sp2-surface);
    border-radius: var(--sp2-panel-radius) var(--sp2-panel-radius) 0 0;
    box-shadow: var(--sp2-shelf-shadow);
    overflow: hidden;
    border-right: none;
    transition: transform 0.35s var(--sp2-ease);
    will-change: transform;
  }

  .sp2-panel:not([data-snap]),
  .sp2-panel[data-snap="peek"] {
    transform: translateY(calc(100% - var(--sp2-panel-peek)));
  }

  .sp2-panel[data-snap="1"] { transform: translateY(72%); }
  .sp2-panel[data-snap="2"] { transform: translateY(62%); }
  .sp2-panel[data-snap="3"] { transform: translateY(50%); }
  .sp2-panel[data-snap="4"] { transform: translateY(38%); }
  .sp2-panel[data-snap="5"] { transform: translateY(24%); }
  .sp2-panel[data-snap="max"] {
    transform: translateY(var(--sp2-panel-top-gap));
  }

  .sp2-panel-handle {
    display: flex;
    padding: 10px 0 4px;
    justify-content: center;
    cursor: grab;
    flex-shrink: 0;
    touch-action: none;
  }

  .sp2-panel-handle:active {
    cursor: grabbing;
  }

  .sp2-handle-bar {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: var(--sp2-muted);
    opacity: 0.45;
  }

  .sp2-panel-inner {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-top: 0;
    background: var(--sp2-surface);
  }

  .sp2-logo-text { display: none; }

  .sp2-search-field--location { display: none; }
  .sp2-search-divider { display: none; }

  .sp2-search-input {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .sp2-grid {
    gap: 16px 12px;
  }

  .sp2-header { padding: 0 16px; }
  .sp2-filters { padding: 0 16px; }
  .sp2-panel-inner { padding: 20px 16px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp2-card-img img,
  .sp2-skeleton { animation: none; transition: none; }
}
