:root {
  --ink: #171717;
  --paper: #ffffff;
  --soft: #f7f7f7;
  --panel: #fbfbfb;
  --hover: #f3f3f3;
  --mid: #6f6f6f;
  --line: #e6e6e6;
  --line-strong: #d5d5d5;
  --success: #1f7a45;
  --shadow-subtle: 0 1px 2px rgb(0 0 0 / 4%), 0 6px 20px rgb(0 0 0 / 5%);
  --shadow-panel: 0 18px 55px rgb(0 0 0 / 12%);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

/* Explorer language refresh: discovery map and place field guide */
body[data-page="map"] .places-sidebar {
  background:
    linear-gradient(180deg, rgb(246 250 247 / 96%), rgb(255 255 255 / 98%) 34%),
    var(--paper);
}

body[data-page="map"] .map-mission {
  border-color: rgb(23 63 50 / 15%);
  background:
    radial-gradient(circle at 92% 8%, rgb(143 183 157 / 24%), transparent 34%),
    linear-gradient(145deg, #f6faf7, #e8f0ea);
  color: #173f32;
  box-shadow: 0 10px 28px rgb(23 63 50 / 8%);
}

body[data-page="map"] .map-mission .kicker,
body[data-page="map"] .sidebar-heading .kicker {
  color: #527364;
}

body[data-page="map"] .map-mission-steps i {
  background: #173f32;
}

body[data-page="map"] .map-toolbar {
  gap: 7px;
}

body[data-page="map"] .search-field,
body[data-page="map"] .location-button,
body[data-page="map"] .toolbar-filter-button {
  border-color: rgb(23 63 50 / 15%);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 8px 24px rgb(23 63 50 / 13%);
  backdrop-filter: blur(14px);
}

body[data-page="map"] .search-field {
  border-radius: 18px;
  overflow: visible;
}

body[data-page="map"] .search-field input {
  min-height: 50px;
  border-radius: 18px 0 0 18px;
  background: transparent;
  font-size: 0.86rem;
}

body[data-page="map"] .search-field > button[type="submit"] {
  min-width: 54px;
  background: #173f32;
  color: white;
}

body[data-page="map"] .search-suggestions {
  border-color: rgb(23 63 50 / 12%);
  padding: 7px;
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 16px 42px rgb(23 63 50 / 16%);
  backdrop-filter: blur(18px);
}

body[data-page="map"] .search-field .search-suggestion {
  min-height: 58px;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
}

body[data-page="map"] .search-field .search-suggestion + .search-suggestion {
  border-top: 1px solid rgb(23 63 50 / 8%);
}

body[data-page="map"] .search-field .search-suggestion:hover,
body[data-page="map"] .search-field .search-suggestion.is-active {
  background: #f2f6f3;
}

body[data-page="map"] .location-button,
body[data-page="map"] .toolbar-filter-button {
  min-height: 50px;
  border-radius: 16px;
}

body[data-page="map"] .place-list {
  display: grid;
  gap: 8px;
  border-top: 0;
  padding: 10px 12px 26px;
}

body[data-page="map"] .place-card {
  position: relative;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  min-height: 98px;
  padding: 12px;
  border: 1px solid rgb(23 63 50 / 11%);
  border-radius: 16px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 4px 16px rgb(23 63 50 / 5%);
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-page="map"] .place-card.has-media {
  grid-template-columns: 92px minmax(0, 1fr);
}

body[data-page="map"] .place-card > span:nth-child(2) {
  grid-column: 2;
  min-width: 0;
  align-self: center;
}

body[data-page="map"] .place-card .card-image-wrap {
  grid-column: 1;
  grid-row: 1;
  width: 92px;
  height: 74px;
  border-radius: 12px;
}

body[data-page="map"] .place-card .place-number {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 17px;
  width: 24px;
  height: 24px;
  border: 2px solid white;
  background: #173f32;
  font-size: 0.58rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 24%);
}

body[data-page="map"] .place-card h2 {
  color: #173f32;
  font-size: 0.98rem;
}

body[data-page="map"] .place-card p {
  font-size: 0.7rem;
  line-height: 1.38;
}

body[data-page="map"] .place-card:hover,
body[data-page="map"] .place-card:focus-visible,
body[data-page="map"] .place-card.is-selected {
  border-color: #173f32;
  background: #edf4ef;
  box-shadow: 0 10px 26px rgb(23 63 50 / 12%);
  transform: translateY(-2px);
}

body[data-page="map"] .place-card.is-selected {
  box-shadow: inset 3px 0 0 #173f32, 0 10px 26px rgb(23 63 50 / 12%);
}

body[data-page="map"] .marker-pin,
body[data-page="map"] .audit-cluster.is-curated {
  background: #173f32;
  color: white;
}

body[data-page="map"] .marker-place-label {
  border-color: rgb(23 63 50 / 14%);
  border-radius: 999px;
  color: #173f32;
  box-shadow: 0 5px 18px rgb(23 63 50 / 14%);
}

body[data-page="map"] .numbered-marker.is-selected .marker-pin {
  outline: 3px solid #9fc0aa;
  outline-offset: 3px;
}

body[data-page="map"] .numbered-marker.is-selection-pulsing .marker-pin {
  animation: selected-map-marker-pulse 900ms ease-out 1;
}

@keyframes selected-map-marker-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(116 166 132 / 58%), 0 5px 16px rgb(0 0 0 / 28%);
  }
  70% {
    box-shadow: 0 0 0 14px rgb(116 166 132 / 0%), 0 5px 16px rgb(0 0 0 / 28%);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(116 166 132 / 0%), 0 5px 16px rgb(0 0 0 / 28%);
  }
}

body[data-page="map"].is-map-ready .map-toolbar {
  animation: explorer-ui-arrive 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="map"].is-map-ready .places-sidebar {
  animation: explorer-panel-arrive 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.detail-body.has-place-explorer {
  background:
    radial-gradient(circle at 88% 18%, rgb(159 192 170 / 18%), transparent 26rem),
    linear-gradient(180deg, #f6faf7 0, #fff 34rem);
}

.detail-body.has-place-explorer .detail-shell {
  animation: place-story-arrive 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.detail-body.has-place-explorer .place-hero {
  border: 0;
  border-bottom: 1px solid rgb(23 63 50 / 13%);
  border-radius: 0;
  padding: clamp(16px, 3vw, 30px) 0 clamp(28px, 4vw, 42px);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.detail-body.has-place-explorer .place-hero h1,
.detail-body.has-place-explorer .place-explorer-heading h2 {
  color: #173f32;
}

.detail-body.has-place-explorer .kicker {
  color: #527364;
}

.detail-body.has-place-explorer .place-explorer {
  border-color: rgb(23 63 50 / 18%);
  background:
    radial-gradient(circle at 94% 5%, rgb(159 192 170 / 20%), transparent 24rem),
    linear-gradient(145deg, #f8fbf9, #edf4ef);
  box-shadow: 0 18px 46px rgb(23 63 50 / 10%);
}

.detail-body.has-place-explorer .place-explorer-heading {
  align-items: center;
}

.detail-body.has-place-explorer .site-map-heading-actions .launch-place-explorer {
  border-color: #173f32;
  background: #173f32;
  color: white;
  box-shadow: 0 5px 16px rgb(23 63 50 / 18%);
}

.detail-body.has-place-explorer .launch-place-explorer[hidden] {
  display: none;
}

.detail-body.has-place-explorer .feature-filters button.is-active {
  border-color: #173f32;
  background: #173f32;
}

.detail-body.has-place-explorer .place-explorer-layout {
  border-color: rgb(23 63 50 / 16%);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgb(23 63 50 / 9%);
}

.detail-body.has-place-explorer .internal-map-controls {
  border-color: rgb(23 63 50 / 16%);
  border-radius: 14px;
  color: #173f32;
  box-shadow: 0 7px 22px rgb(23 63 50 / 13%);
}

.detail-body.has-place-explorer .internal-feature-marker {
  background: #173f32;
  color: white;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease;
}

.detail-body.has-place-explorer .internal-feature-marker small {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  max-width: 154px;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgb(255 255 255 / 96%);
  color: #173f32;
  box-shadow: 0 5px 16px rgb(23 63 50 / 15%);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  text-overflow: ellipsis;
  transform: translateX(-50%) translateY(-3px);
  transition: opacity 150ms ease, transform 180ms ease;
  white-space: nowrap;
  pointer-events: none;
}

.detail-body.has-place-explorer .internal-feature-marker.is-selected {
  outline-color: #9fc0aa;
  box-shadow: 0 6px 20px rgb(23 63 50 / 30%);
}

.detail-body.has-place-explorer .internal-feature-marker.is-selected small {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.detail-body.has-place-explorer .feature-browser {
  border-left-color: rgb(23 63 50 / 13%);
  background: #f8fbf9;
}

.detail-body.has-place-explorer .feature-card {
  border-color: rgb(23 63 50 / 11%);
  background: rgb(255 255 255 / 94%);
}

.detail-body.has-place-explorer .feature-card.is-selected {
  background: #e8f0ea;
  box-shadow: inset 3px 0 0 #173f32, 0 8px 22px rgb(23 63 50 / 10%);
}

.detail-body.has-place-explorer .feature-card-media {
  border-radius: 14px;
}

@keyframes explorer-ui-arrive {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes explorer-panel-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes place-story-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 860px) {
  body[data-page="map"] .place-list {
    padding: 10px 10px calc(26px + env(safe-area-inset-bottom));
  }

  body[data-page="map"] .place-card,
  body[data-page="map"] .place-card.has-media {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 88px;
    padding: 10px;
  }

  body[data-page="map"] .place-card .card-image-wrap {
    width: 78px;
    height: 66px;
  }

  body[data-page="map"] .place-card .place-number {
    top: 14px;
    left: 14px;
  }

  .detail-body.has-place-explorer .place-hero {
    padding: 8px 0 28px;
  }

  .detail-body.has-place-explorer .site-map-heading-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .detail-body.has-place-explorer .site-map-heading-actions > span {
    grid-column: 1 / -1;
  }

  .detail-body.has-place-explorer .launch-place-explorer,
  .detail-body.has-place-explorer #expand-site-map-button {
    min-height: 40px;
    text-align: center;
  }

  .detail-body.has-place-explorer .feature-card.is-selected {
    box-shadow: inset 0 0 0 2px #173f32, 0 8px 22px rgb(23 63 50 / 11%);
  }
}

@media (max-width: 900px) and (max-height: 600px) {
  body.has-map-explorer .map-page {
    height: calc(100dvh - 62px - env(safe-area-inset-bottom));
    min-height: 0;
  }

  body.has-map-explorer .map-explorer-panel {
    max-height: calc(100dvh - 82px - env(safe-area-inset-bottom));
  }
}

@media (max-width: 860px) {
  body[data-page="map"] .sheet-handle {
    gap: 12px;
  }

  body[data-page="map"] .sheet-handle-copy {
    flex: 1;
  }

  body[data-page="map"] .sheet-handle-action {
    display: inline-flex;
    min-width: 76px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(23 63 50 / 18%);
    border-radius: 999px;
    background: #edf4ef;
    color: #173f32;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 540px) {
  .detail-body.has-place-explorer .place-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="map"].is-map-ready .map-toolbar,
  body[data-page="map"].is-map-ready .places-sidebar,
  .detail-body.has-place-explorer .detail-shell {
    animation: none;
  }
}

/* Private moderation */
.review-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    #f7f7f4;
  background-size: 100% 34px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 16px clamp(20px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.review-private-label {
  color: var(--mid);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(50px, 8vw, 92px) 0 100px;
}

.review-intro {
  max-width: 670px;
  margin-bottom: 48px;
}

.review-intro h1 {
  margin: 8px 0 12px;
  font: 700 clamp(2.8rem, 8vw, 5.6rem) / 0.95 "Space Grotesk", sans-serif;
  letter-spacing: -0.06em;
}

.review-intro > p:last-child {
  color: var(--mid);
  font-size: 1.05rem;
}

.review-access,
.review-item {
  border: 1px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
}

.review-access {
  padding: clamp(22px, 5vw, 38px);
}

.review-access > label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.review-access-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.review-access-row input {
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

.review-account-connect {
  width: 100%;
  margin-top: 12px;
}

.review-demo-label {
  display: inline-flex;
  margin-left: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 6px;
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.review-toolbar,
.review-item-heading,
.review-evidence,
.review-decisions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-toolbar {
  margin-bottom: 22px;
}

.review-toolbar h2 {
  margin: 4px 0 0;
  font: 700 clamp(1.8rem, 5vw, 2.7rem) / 1 "Space Grotesk", sans-serif;
  letter-spacing: -0.045em;
}

.review-list {
  display: grid;
  gap: 26px;
}

.review-tabs {
  display: flex;
  gap: 6px;
  margin: -6px 0 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  overflow-x: auto;
}

.review-tabs button {
  flex: 1;
  min-width: 104px;
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--mid);
  font-weight: 700;
}

.review-tabs button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.review-item {
  padding: clamp(20px, 5vw, 34px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.review-item.is-reviewed {
  opacity: 0.45;
  transform: translateY(4px);
}

.review-place {
  margin: 0 0 4px;
  font: 700 1.2rem / 1.1 "Space Grotesk", sans-serif;
}

.review-meta,
.review-evidence {
  color: var(--mid);
  font-size: 0.8rem;
}

.review-place-link,
.review-source {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review-source.is-missing {
  color: var(--mid);
  text-decoration: none;
}

.review-item blockquote {
  margin: 26px 0;
  padding: 0;
  border: 0;
  font: 600 clamp(1.3rem, 4vw, 2rem) / 1.22 "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
}

.review-question {
  margin: 24px 0 -14px;
  color: var(--mid);
  font-size: 0.82rem;
  font-weight: 700;
}

.review-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.review-media-item {
  display: grid;
  gap: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
}

.review-media-item img {
  width: 100%;
  height: 180px;
  border-radius: 9px;
  object-fit: cover;
}

.review-media-item span {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: capitalize;
}

.review-media-item small {
  color: var(--mid);
  font-size: 0.64rem;
}

.review-ai {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  margin: -4px 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  font-size: 0.78rem;
}

.review-ai span,
.review-ai strong {
  font-weight: 700;
  text-transform: capitalize;
}

.review-ai p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--mid);
}

.review-evidence {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.review-stars {
  color: var(--ink);
  letter-spacing: 0.08em;
}

.review-note {
  display: grid;
  gap: 8px;
  margin: 22px 0 12px;
  color: var(--mid);
  font-size: 0.75rem;
  font-weight: 700;
}

.review-note textarea {
  min-height: 74px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

.review-decisions {
  justify-content: flex-end;
  margin-top: 12px;
}

.outline-button.is-danger {
  color: var(--ink);
  background: transparent;
}

.review-empty {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--mid);
  text-align: center;
  background: var(--paper);
}

@media (max-width: 620px) {
  .review-header {
    min-height: 70px;
  }

  .review-shell {
    width: min(100% - 24px, 920px);
    padding-top: 38px;
  }

  .review-intro {
    margin-bottom: 30px;
  }

  .review-access-row {
    grid-template-columns: 1fr;
  }

  .review-item-heading {
    align-items: flex-start;
  }

  .review-place-link {
    white-space: nowrap;
  }

  .review-decisions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.media-test-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgb(0 0 0 / 5%), transparent 30%),
    linear-gradient(145deg, #f2f2f0, #ffffff 60%);
}

.media-test-shell {
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
  padding: 32px 0 64px;
}

.media-test-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}

.media-test-heading h1 {
  margin: 5px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.media-test-heading p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--mid);
  line-height: 1.55;
}

.media-test-viewer {
  width: 100%;
  height: min(68vh, 680px);
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 26px;
  background: #d7d7d4;
  box-shadow: 0 24px 70px rgb(0 0 0 / 15%);
}

.media-test-details {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgb(255 255 255 / 86%);
}

.media-test-details div {
  display: grid;
  gap: 4px;
}

.media-test-details span {
  color: var(--mid);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-test-details strong {
  font-size: 0.78rem;
}

.media-test-details p {
  margin: 0;
  color: var(--mid);
  font-size: 0.72rem;
  line-height: 1.55;
}

@media (max-width: 680px) {
  .media-test-shell {
    width: min(100% - 20px, 1080px);
    padding-top: 20px;
  }

  .media-test-heading,
  .media-test-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .media-test-heading .brand {
    width: fit-content;
  }

  .media-test-viewer {
    height: 66dvh;
    min-height: 420px;
    border-radius: 20px;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

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

.site-header {
  position: relative;
  z-index: 1200;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  border-bottom: 1px solid rgb(0 0 0 / 7%);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(1.2) blur(18px);
}

.site-header p {
  margin: 0;
  color: var(--mid);
  font-size: 0.88rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-lockup > p {
  border-left: 1px solid var(--line);
  padding-left: 18px;
  color: var(--mid);
  font-size: 0.75rem;
  font-weight: 500;
}

.header-community-note {
  font-weight: 600;
}

.mobile-brand-path {
  display: none;
}

.site-menu-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.site-menu-button:hover,
.site-menu-button[aria-expanded="true"] {
  border-color: var(--line);
  background: var(--soft);
}

.site-menu-button svg,
.drawer-account-mark svg,
.drawer-link-icon svg,
.drawer-chevron svg,
.row-chevron svg,
.icon-button svg,
.mobile-command-bar svg,
.mobile-action-sheet svg,
.ask-panel svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-drawer-scrim {
  position: fixed;
  z-index: 1890;
  inset: 0;
  background: rgb(0 0 0 / 28%);
  backdrop-filter: blur(1px);
}

.site-drawer-scrim[hidden] {
  display: none;
}

.site-drawer {
  position: fixed;
  z-index: 1900;
  top: 0;
  right: 0;
  display: flex;
  width: min(400px, calc(100vw - 12px));
  height: 100dvh;
  flex-direction: column;
  padding: 20px 18px calc(22px + env(safe-area-inset-bottom));
  border-left: 1px solid rgb(0 0 0 / 8%);
  background: var(--paper);
  color: var(--ink);
  box-shadow: -12px 0 45px rgb(0 0 0 / 12%);
  transform: translateX(0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.site-drawer[aria-hidden="true"] {
  pointer-events: none;
  transform: translateX(105%);
}

.has-open-drawer {
  overflow: hidden;
}

.site-drawer-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 20px;
}

.site-drawer-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.site-drawer-heading button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
}

.site-drawer-heading button:hover {
  border-color: var(--line);
  background: var(--soft);
  color: var(--ink);
}

.drawer-account {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin: 4px 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease;
}

.drawer-account:hover {
  border-color: var(--line-strong);
  background: var(--paper);
}

.drawer-account-mark {
  position: relative;
  overflow: hidden;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
}

.drawer-account-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-account-mark.has-photo {
  background: var(--line);
}

.drawer-account-mark.has-photo svg {
  display: none;
}

.drawer-account span strong,
.drawer-account span small {
  display: block;
}

.drawer-account span small {
  margin-top: 3px;
  color: var(--mid);
  font-size: 0.65rem;
  font-weight: 500;
}

.drawer-links {
  display: grid;
  gap: 3px;
}

.drawer-links a,
.drawer-links button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 20px;
  width: 100%;
  align-items: center;
  border: 0;
  border-radius: 12px;
  padding: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 550;
  gap: 11px;
  text-align: left;
  text-decoration: none;
  transition: background 140ms ease;
}

.drawer-links a:hover,
.drawer-links button:hover {
  background: var(--soft);
}

.drawer-link-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.drawer-link-icon svg {
  width: 18px;
  height: 18px;
}

.drawer-chevron,
.row-chevron {
  display: grid;
  place-items: center;
  color: #a3a3a3;
}

.drawer-chevron svg,
.row-chevron svg {
  width: 16px;
  height: 16px;
}

.drawer-community {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 20px 8px 0;
  border-top: 1px solid var(--line);
}

.drawer-community .kicker {
  margin-bottom: 1px;
}

.drawer-community a,
.drawer-community button {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
}

.drawer-community a:hover,
.drawer-community button:hover {
  color: var(--ink);
}

.drawer-note {
  margin: auto 0 0;
  padding-top: 30px;
  color: #8a8a8a;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
}

.mobile-bottom-nav {
  display: none;
}

.mobile-command-bar,
.mobile-action-sheet,
.mobile-action-scrim {
  display: none;
}

.mobile-search-heading,
.mobile-search-scrim {
  display: none;
}

.radius-dialog {
  width: min(520px, calc(100% - 28px));
  border-radius: 24px;
}

.map-note-dialog,
.map-info-dialog {
  width: min(560px, calc(100% - 28px));
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-panel);
}

.map-note-form,
.map-info-inner {
  padding: 28px;
}

.map-note-form {
  display: grid;
  gap: 17px;
}

.map-note-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
}

.map-note-form select,
.map-note-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 13px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
}

.map-note-form textarea {
  min-height: 112px;
  resize: vertical;
}

.map-note-coordinates,
.map-note-privacy,
.map-info-source {
  margin: 0;
  color: var(--mid);
  font-size: 0.68rem;
  line-height: 1.5;
}

.map-note-coordinates {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  background: #e8f0ea;
  color: #173f32;
  font-weight: 700;
}

.map-note-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.map-note-submit .form-status {
  margin: 0;
}

.map-info-summary {
  display: grid;
  gap: 4px;
  margin: 20px 0 14px;
  border-radius: 17px;
  padding: 16px;
  background: #e8f0ea;
  color: #173f32;
}

.map-info-summary strong {
  font: 600 1.2rem / 1.15 var(--font-display);
}

.map-info-summary span {
  font-size: 0.68rem;
}

.map-info-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.map-info-stats div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px;
}

.map-info-stats dt {
  color: var(--mid);
  font-size: 0.58rem;
}

.map-info-stats dd {
  overflow: hidden;
  margin: 5px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-info-legend {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.map-info-legend p {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
}

.map-info-legend p > span,
.map-info-legend strong,
.map-info-legend small {
  display: block;
}

.map-info-legend strong {
  font-size: 0.72rem;
}

.map-info-legend small {
  margin-top: 2px;
  color: var(--mid);
  font-size: 0.61rem;
}

.map-note-legend-pin {
  display: grid;
  width: 25px;
  height: 29px;
  place-items: center;
  border-radius: 13px 13px 13px 4px;
  background: #173f32;
  color: white;
  font-style: normal;
  font-weight: 800;
  transform: rotate(-4deg);
}

.radius-dialog-form {
  padding: 28px;
}

.radius-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0;
}

.radius-options label {
  cursor: pointer;
}

.radius-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radius-options span {
  display: grid;
  min-height: 68px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--mid);
  text-align: center;
  font-size: 0.68rem;
}

.radius-options strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.radius-options input:checked + span {
  border-color: var(--ink);
  background: var(--soft);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.nav-dialog {
  width: min(520px, calc(100% - 28px));
  border-radius: 24px;
}

.nav-dialog,
.radius-dialog {
  border: 1px solid rgb(0 0 0 / 8%);
  background: var(--paper);
  box-shadow: var(--shadow-panel);
}

.nav-dialog-inner {
  padding: 28px;
}

.saved-place-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.saved-places-intro {
  margin: 10px 0 0;
  color: var(--mid);
  font-size: 0.82rem;
  line-height: 1.5;
}

.saved-list-actions {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}

.saved-list-actions button {
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.saved-list-actions button[hidden] {
  display: none;
}

.saved-list-actions + .form-status {
  min-height: 18px;
  margin: 8px 2px 0;
}

.saved-place-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  background: var(--paper);
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease;
}

.saved-place-row:hover {
  border-color: var(--line-strong);
  background: var(--soft);
}

.saved-place-row strong,
.saved-place-row small {
  display: block;
}

.saved-place-row small {
  margin-top: 3px;
  color: var(--mid);
  font-size: 0.68rem;
}

.nav-empty {
  border: 1px dashed var(--line);
  border-radius: 15px;
  padding: 28px 20px;
  color: var(--mid);
  text-align: center;
}

.nav-empty p {
  margin: 7px 0 0;
  font-size: 0.76rem;
}

.account-provider-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.account-value-grid {
  display: grid;
  gap: 9px;
  margin: 18px 0 4px;
}

.account-value-grid > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 12px;
  background: var(--soft);
}

.account-value-grid svg {
  width: 20px;
  height: 20px;
  justify-self: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.account-value-grid span,
.account-value-grid small {
  display: block;
}

.account-value-grid strong {
  font-size: 0.75rem;
}

.account-value-grid small {
  margin-top: 2px;
  color: var(--mid);
  font-size: 0.65rem;
  line-height: 1.35;
}

.account-provider-list[hidden],
.account-divider[hidden] {
  display: none;
}

.account-provider-button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 13px;
  padding: 13px 18px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.account-provider-button:disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: var(--soft);
  color: #999;
  opacity: 1;
}

.account-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--mid);
  font-size: 0.68rem;
}

.account-divider::before,
.account-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.account-email-form {
  display: grid;
  gap: 12px;
}

.account-email-form label {
  display: grid;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
}

.account-email-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
  background: var(--soft);
  outline: none;
}

.account-email-form input:focus {
  border-color: var(--line-strong);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgb(0 0 0 / 5%);
}

.account-password-login {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.account-password-login summary {
  cursor: pointer;
  color: var(--mid);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.account-password-login[open] summary {
  margin-bottom: 14px;
}

.account-role {
  color: var(--ink) !important;
  font-size: 0.64rem;
  font-weight: 700;
}

.account-privacy {
  margin: 18px 0 0;
  color: var(--mid);
  font-size: 0.66rem;
  line-height: 1.45;
  text-align: center;
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 22px 0;
}

.account-avatar-picker {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  cursor: pointer;
}

.account-avatar-picker > span,
.account-avatar-picker > img {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
}

.account-avatar-picker > span[hidden],
.account-avatar-picker > img[hidden] {
  display: none;
}

.account-avatar-picker > span {
  background: var(--ink);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
}

.account-avatar-picker > img {
  object-fit: cover;
  background: var(--line);
}

.account-avatar-picker > i {
  position: absolute;
  right: -3px;
  bottom: -2px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}

.account-avatar-picker > i svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.account-avatar-picker:focus-within {
  outline: 3px solid color-mix(in srgb, var(--ink) 18%, transparent);
  outline-offset: 3px;
}

.account-profile strong,
.account-profile small {
  display: block;
}

.account-profile small {
  margin-top: 3px;
  color: var(--mid);
}

.account-profile .account-avatar-hint {
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 650;
}

.account-avatar-privacy {
  margin: 12px 0 18px;
  color: var(--mid);
  font-size: 0.64rem;
  line-height: 1.5;
}

.account-benefits {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.account-benefits > div {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  padding: 11px 12px;
  background: var(--soft);
  font-size: 0.75rem;
  font-weight: 600;
}

.account-benefits svg {
  width: 17px;
  height: 17px;
  color: var(--success);
  stroke-width: 2.2;
}

.header-actions,
.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.state-label {
  color: var(--mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.park-directory-link {
  padding: 8px 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.park-directory-link:hover,
.park-directory-link:focus-visible {
  color: var(--ink);
}

.text-button {
  padding: 8px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand img {
  width: 32px;
  height: 32px;
}

.ask-auditmap {
  position: fixed;
  z-index: 1400;
  right: 22px;
  bottom: 22px;
}

.ask-backdrop {
  display: none;
}

.ask-launcher {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px 7px 7px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
}

.ask-launcher[hidden] {
  display: none;
}

.ask-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.76rem;
}

.ask-panel {
  z-index: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(390px, calc(100vw - 28px));
  height: min(570px, calc(100dvh - 32px));
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  border: 1px solid rgb(0 0 0 / 9%);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.ask-panel[hidden] {
  display: none;
}

.ask-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.ask-heading .kicker {
  margin: 0 0 5px;
}

.ask-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.ask-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
}

.ask-close:hover {
  border-color: var(--line);
  background: var(--soft);
  color: var(--ink);
}

.ask-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 18px;
}

.ask-message {
  max-width: 88%;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.8rem;
  line-height: 1.55;
}

.ask-message p {
  margin: 0;
}

.ask-message.is-assistant {
  align-self: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
}

.ask-starters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px 24px;
  scrollbar-width: thin;
}

.ask-starters[hidden] {
  display: none;
}

.ask-starters button {
  flex: 0 0 auto;
  max-width: 220px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: left;
}

.ask-message.is-visitor {
  align-self: flex-end;
  background: #ececec;
  color: var(--ink);
}

.ask-links {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.ask-links a {
  border-top: 1px solid var(--line);
  padding-top: 7px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.ask-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  margin: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px;
  background: var(--soft);
}

.ask-form textarea {
  min-width: 0;
  min-height: 36px;
  max-height: 132px;
  border: 0;
  padding: 7px 9px;
  background: transparent;
  outline: none;
  font: inherit;
  line-height: 1.45;
  resize: none;
}

.ask-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-size: 1.1rem;
}

.ask-form button svg {
  width: 21px;
  height: 21px;
}

.ask-form button:disabled {
  opacity: 0.55;
}

.ask-note {
  margin: 0;
  padding: 10px 18px 14px;
  color: var(--mid);
  font-size: 0.62rem;
  line-height: 1.4;
  text-align: center;
}

@keyframes mobile-card-next {
  from {
    opacity: 0.55;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes mobile-card-previous {
  from {
    opacity: 0.55;
    transform: translateX(-34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.map-start-overlay {
  position: fixed;
  z-index: 1870;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(245 245 243 / 72%);
  backdrop-filter: blur(12px) saturate(0.75);
}

.map-start-overlay[hidden] {
  display: none;
}

body.has-map-start {
  overflow: hidden;
}

body.has-map-start .ask-auditmap {
  visibility: hidden;
  pointer-events: none;
}

.map-start-card {
  width: min(470px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgb(0 0 0 / 9%);
  border-radius: 28px;
  padding: 30px;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 28px 80px rgb(0 0 0 / 18%);
}

.map-start-intro {
  text-align: center;
}

.map-start-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 17px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--soft);
}

.map-start-mark svg,
.map-start-action-icon svg,
.map-start-chevron,
.map-start-search button svg,
.map-start-suggestion-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.map-start-mark svg {
  width: 25px;
  height: 25px;
}

.map-start-intro .kicker {
  margin-bottom: 8px;
  font-size: 0.63rem;
}

.map-start-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 2.65rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.map-start-intro > p:last-child {
  max-width: 360px;
  margin: 13px auto 0;
  color: var(--mid);
  font-size: 0.82rem;
  line-height: 1.5;
}

.map-start-nearby {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  width: 100%;
  min-height: 68px;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  border: 1px solid var(--ink);
  border-radius: 17px;
  padding: 10px 14px 10px 10px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-subtle);
}

.map-start-nearby:disabled {
  cursor: wait;
  opacity: 0.7;
}

.map-start-action-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: rgb(255 255 255 / 13%);
}

.map-start-action-icon svg {
  width: 23px;
  height: 23px;
}

.map-start-nearby strong,
.map-start-nearby small {
  display: block;
}

.map-start-nearby strong {
  font-size: 0.84rem;
}

.map-start-nearby small {
  margin-top: 3px;
  color: rgb(255 255 255 / 66%);
  font-size: 0.66rem;
}

.map-start-chevron {
  width: 19px;
  height: 19px;
}

.map-start-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--mid);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.map-start-divider::before,
.map-start-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.map-start-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: var(--paper);
}

.map-start-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 8px 0 46px;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
}

.map-start-search input::placeholder {
  color: #818181;
}

.map-start-search button {
  display: grid;
  width: 46px;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
}

.map-start-search button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.map-start-search button svg {
  width: 20px;
  height: 20px;
}

.map-start-suggestions {
  display: grid;
  gap: 2px;
  margin-top: 9px;
}

.map-start-suggestions:empty {
  display: none;
}

.map-start-suggestions > button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  width: 100%;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 11px;
  padding: 7px 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.map-start-suggestions > button:hover,
.map-start-suggestions > button:focus-visible {
  background: var(--soft);
}

.map-start-suggestion-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.map-start-suggestion-icon svg {
  width: 18px;
  height: 18px;
}

.map-start-suggestions strong,
.map-start-suggestions small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-start-suggestions strong {
  font-size: 0.74rem;
}

.map-start-suggestions small {
  margin-top: 2px;
  color: var(--mid);
  font-size: 0.61rem;
}

.map-start-status {
  min-height: 17px;
  margin: 8px 3px 0;
  color: var(--mid);
  font-size: 0.66rem;
  line-height: 1.35;
}

.map-start-browse {
  display: block;
  margin: 6px auto 0;
  border: 0;
  padding: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #bdbdbd;
  text-underline-offset: 4px;
}

.map-start-privacy {
  margin: 2px 0 0;
  color: #8b8b8b;
  font-size: 0.58rem;
  line-height: 1.35;
  text-align: center;
}

.map-page {
  position: relative;
  display: grid;
  grid-template-columns: 410px minmax(0, 1fr);
  height: calc(100vh - 72px);
}

.places-sidebar {
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.sheet-handle {
  display: none;
}

.sheet-header,
.sheet-map-return {
  display: none;
}

.mobile-place-preview[hidden] {
  display: none;
}

.sidebar-heading {
  padding: 32px 28px 12px;
}

.map-mission {
  margin: 22px 18px 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(145deg, #fbfbfb, #f4f4f4);
  color: var(--ink);
}

.map-mission .kicker {
  margin-bottom: 6px;
  color: var(--mid);
  font-size: 0.59rem;
}

.map-mission h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.map-mission > p:not(.kicker) {
  margin: 10px 0 16px;
  color: var(--mid);
  font-size: 0.72rem;
  line-height: 1.5;
}

.map-mission-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-mission-steps li {
  min-width: 0;
}

.map-mission-steps i {
  display: grid;
  width: 20px;
  height: 20px;
  margin-bottom: 7px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
}

.map-mission-steps strong,
.map-mission-steps small {
  display: block;
}

.map-mission-steps strong {
  font-size: 0.66rem;
  line-height: 1.2;
}

.map-mission-steps small {
  margin-top: 3px;
  color: var(--mid);
  font-size: 0.55rem;
  line-height: 1.3;
}

.kicker {
  margin: 0 0 8px;
  color: var(--mid);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.sidebar-heading h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.sidebar-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.sidebar-heading > div > p:last-child {
  margin: 8px 0 0;
  color: var(--mid);
  line-height: 1.55;
}

.map-toolbar {
  position: absolute;
  z-index: 850;
  top: 16px;
  left: 430px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(570px, calc(100% - 460px));
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease;
}

@media (min-width: 861px) {
  body.has-map-place-popup .map-toolbar,
  body.has-map-explorer .map-toolbar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
  }

  body.has-map-place-popup .map-toolbar *,
  body.has-map-explorer .map-toolbar * {
    pointer-events: none !important;
  }
}

.search-field {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  flex: 1;
  min-width: 0;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-subtle);
  pointer-events: auto;
}

.search-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
  transform: translateY(-50%);
}

.search-icon::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.search-icon::after {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 7px;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-field input {
  width: 100%;
  border: 0;
  border-radius: 14px 0 0 14px;
  padding: 13px 14px 13px 44px;
  background: var(--paper);
  outline: none;
}

.search-field > button[type="submit"] {
  border: 0;
  padding: 0 18px;
  border-radius: 0 13px 13px 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.search-field > button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.55;
}

.search-field > button[type="submit"] svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.search-field input:focus {
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.search-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  overflow-y: auto;
  max-height: min(420px, calc(100dvh - 150px));
  border: 1px solid rgb(0 0 0 / 9%);
  border-radius: 16px;
  padding: 6px;
  background: var(--paper);
  box-shadow: var(--shadow-panel);
}

.search-suggestions[hidden] {
  display: none;
}

.search-field .search-suggestion {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-height: 54px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.search-field .search-suggestion:hover,
.search-field .search-suggestion.is-active {
  background: var(--soft);
}

.suggestion-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.72rem;
}

.suggestion-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.suggestion-icon.is-city {
  background: #e9f0eb;
  color: #173f32;
}

.search-suggestion > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.search-suggestion strong,
.search-suggestion small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion strong {
  font-size: 0.8rem;
}

.search-suggestion small {
  color: var(--mid);
  font-size: 0.68rem;
  font-weight: 500;
}

.location-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px 0;
}

.location-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  border: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-subtle);
  text-decoration: none;
  pointer-events: auto;
}

.location-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.location-target {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--paper);
  background: var(--ink);
}

.location-button.is-active .location-target {
  background: var(--paper);
}

.toolbar-filter-button,
.card-filter-button {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
}

.toolbar-filter-button {
  box-shadow: var(--shadow-subtle);
}

.card-filter-button {
  margin-top: 2px;
}

.toolbar-filter-button.is-active,
.card-filter-button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.filter-icon {
  position: relative;
  width: 19px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) 0 2px / 19px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 7px / 19px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 12px / 19px 1.5px no-repeat;
}

.filter-icon::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 6px 2.75px, currentColor 0 2px, transparent 2.5px),
    radial-gradient(circle at 13px 7.75px, currentColor 0 2px, transparent 2.5px),
    radial-gradient(circle at 8px 12.75px, currentColor 0 2px, transparent 2.5px);
  content: "";
}

.filter-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 999px;
  padding: 0 4px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.6rem;
  font-weight: 700;
}

.filter-count[hidden] {
  display: none;
}

.location-status {
  position: absolute;
  top: 52px;
  left: 0;
  padding: 6px 9px;
  background: var(--paper);
  color: var(--mid);
  font-size: 0.7rem;
  line-height: 1.3;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 28px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  background: var(--paper);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  scroll-snap-align: start;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: #769b84;
  background: #edf4ef;
  color: #173f32;
}

.filter-button[data-visit-filter].is-active::before {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: #173f32;
  color: white;
  content: "✓";
  font-size: 0.58rem;
  line-height: 1;
}

.more-filter-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.more-filter-button b {
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #173f32;
  color: white;
  font-size: 0.58rem;
  font-weight: 800;
}

.more-filter-button.is-active b {
  background: #173f32;
  color: white;
}

.clear-filter-chip {
  flex: 0 0 auto;
  border: 0;
  padding: 7px 4px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clear-filter-chip[hidden] {
  display: none;
}

.results-count {
  margin: 4px 28px 12px;
  color: var(--mid);
  font-size: 0.78rem;
}

.place-list {
  border-top: 1px solid var(--line);
}

.search-empty {
  margin: 20px 28px;
}

.search-empty strong,
.search-empty span {
  display: block;
}

.search-empty strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.search-empty span {
  margin-top: 7px;
  color: var(--mid);
  font-size: 0.78rem;
  line-height: 1.45;
}

.place-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  width: 100%;
  padding: 20px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.place-card .place-number,
.place-card h2 {
  transform-origin: left center;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.place-card.has-media {
  grid-template-columns: 38px minmax(0, 1fr) 76px;
}

.place-card:hover,
.place-card:focus-visible,
.place-card.is-selected {
  background: var(--soft);
  outline: none;
}

.place-card.is-selected {
  box-shadow: inset 3px 0 0 var(--ink);
}

.place-card:hover .place-number,
.place-card:focus-visible .place-number,
.place-card.is-peer-hover .place-number,
.place-card.is-selected .place-number {
  transform: translateY(-2px) scale(1.1);
}

.place-card:hover h2,
.place-card:focus-visible h2,
.place-card.is-peer-hover h2,
.place-card.is-selected h2 {
  transform: translateX(3px);
}

.card-image-wrap {
  position: relative;
  width: 76px;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--soft);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.missing-photo-state,
.missing-photo-card {
  color: var(--ink);
}

.missing-photo-icon {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.missing-photo-spark {
  stroke-width: 2;
}

.missing-photo-card {
  display: grid;
  place-content: center;
  place-items: center;
  border: 1px dashed rgb(0 0 0 / 28%);
  background:
    linear-gradient(135deg, transparent 46%, rgb(0 0 0 / 4%) 46% 54%, transparent 54%),
    var(--soft);
}

.missing-photo-card .missing-photo-icon {
  width: 30px;
  height: 30px;
}

.missing-photo-card small {
  margin-top: 2px;
  font-size: 0.58rem;
  font-weight: 750;
}

.place-number,
.marker-pin {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
}

.place-number {
  width: 32px;
  height: 32px;
}

.place-number-standalone {
  position: static;
  border: 0;
}

.place-card h2 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.place-card p {
  margin: 0;
  color: var(--mid);
  font-size: 0.84rem;
  line-height: 1.45;
}

.place-card .distance-label {
  margin-top: 5px;
  color: var(--ink);
  font-weight: 700;
}

.area-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 15px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.area-card:hover,
.area-card:focus-visible {
  background: var(--soft);
  outline: none;
}

.area-card h2 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}

.area-card p {
  margin: 0;
  color: var(--mid);
  font-size: 0.7rem;
}

.area-progress {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.area-progress.has-records {
  background: var(--ink);
}

.area-card-detail {
  color: var(--mid);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.map-wrap {
  position: relative;
  min-width: 0;
}

.map-canvas {
  width: 100%;
  height: 100%;
  background: #ededeb;
}

.map-canvas.is-pinning-note,
.map-canvas.is-pinning-note .leaflet-grab {
  cursor: crosshair;
}

.map-gesture-hint {
  display: none;
}

.map-gesture-hint[hidden] {
  display: none;
}

.map-guide-status {
  position: absolute;
  z-index: 730;
  top: 74px;
  left: 50%;
  display: grid;
  width: min(620px, calc(100% - 36px));
  min-height: 76px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgb(23 63 50 / 16%);
  border-radius: 17px;
  padding: 10px 11px;
  background: rgb(255 255 255 / 94%);
  color: #173f32;
  box-shadow: 0 10px 28px rgb(0 0 0 / 14%);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.map-guide-status[hidden] {
  display: none;
}

.map-guide-copy,
.map-guide-copy small,
.map-guide-copy strong,
.map-guide-copy em {
  display: block;
  min-width: 0;
}

.map-guide-copy small {
  margin-bottom: 3px;
  color: #5b776d;
  font-size: 0.55rem;
  font-weight: 750;
  text-transform: uppercase;
}

.map-guide-copy strong {
  overflow: hidden;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-guide-copy em {
  margin-top: 3px;
  color: #315d46;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.map-guide-compass {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #b9cfc0;
  border-radius: 50%;
  background: #e8f0ea;
}

.map-guide-compass svg {
  width: 25px;
  height: 25px;
  fill: #173f32;
  transform: rotate(var(--guide-bearing, 0deg));
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.map-guide-progress {
  display: block;
  width: 100%;
  height: 3px;
  overflow: hidden;
  margin-top: 7px;
  border-radius: 999px;
  background: #d8e4dc;
}

.map-guide-progress b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #173f32;
  transition: width 300ms ease;
}

.map-guide-mode {
  display: block;
  margin-top: 5px;
  color: #6c8179;
  font-size: 0.52rem;
  font-weight: 650;
  line-height: 1.2;
}

.map-guide-actions {
  display: flex;
  gap: 5px;
}

.map-guide-status button {
  flex: none;
  border: 1px solid #b9cfc0;
  border-radius: 10px;
  padding: 8px 10px;
  background: #e8f0ea;
  color: #173f32;
  cursor: pointer;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
}

.map-guide-status button.is-active {
  border-color: #173f32;
  background: #173f32;
  color: white;
}

.map-guide-status.has-arrived {
  border-color: #77a289;
  background: rgb(232 240 234 / 97%);
}

.map-guide-status.has-arrived .map-guide-compass {
  background: #173f32;
}

.map-guide-status.has-arrived .map-guide-compass svg {
  fill: white;
}

.map-explorer-panel {
  position: absolute;
  z-index: 735;
  bottom: 18px;
  left: 50%;
  width: min(780px, calc(100% - 36px));
  border: 1px solid rgb(23 63 50 / 18%);
  border-radius: 20px;
  padding: 13px;
  background: rgb(255 255 255 / 96%);
  color: #173f32;
  box-shadow: 0 16px 44px rgb(0 0 0 / 18%);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.map-explorer-panel[hidden] {
  display: none;
}

.map-explorer-heading,
.map-explorer-heading-actions,
.map-explorer-selection,
.map-explorer-selection-actions {
  display: flex;
  align-items: center;
}

.map-explorer-heading {
  justify-content: space-between;
  gap: 14px;
}

.map-explorer-heading > span:first-child,
.map-explorer-selection-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.map-explorer-heading small,
.map-explorer-selection-copy small {
  color: #5b776d;
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-explorer-heading strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-explorer-heading-actions,
.map-explorer-selection-actions {
  flex: none;
  gap: 6px;
}

.map-explorer-heading-actions a,
.map-explorer-heading-actions button,
.map-explorer-selection-actions a,
.map-explorer-selection-actions button {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid #b9cfc0;
  border-radius: 10px;
  padding: 7px 10px;
  background: #e8f0ea;
  color: #173f32;
  cursor: pointer;
  font: 800 0.6rem/1.1 var(--font-body);
  text-decoration: none;
}

.map-explorer-heading-actions button {
  background: white;
}

.map-explorer-summary {
  margin: 7px 0 9px;
  color: #5b776d;
  font-size: 0.61rem;
  font-weight: 650;
}

.map-explorer-arrival {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 9px;
  border: 1px solid #c9dcd0;
  border-radius: 13px;
  padding: 9px 10px;
  background: #f2f7f3;
}

.map-explorer-arrival[hidden] {
  display: none;
}

.map-explorer-arrival > span:first-child {
  min-width: 0;
}

.map-explorer-arrival strong,
.map-explorer-arrival small {
  display: block;
}

.map-explorer-arrival strong {
  font-size: 0.67rem;
}

.map-explorer-arrival small {
  margin-top: 2px;
  color: #5b776d;
  font-size: 0.54rem;
  font-weight: 650;
}

.map-explorer-arrival-actions {
  display: flex;
  flex: none;
  gap: 6px;
}

.map-explorer-arrival a,
.map-explorer-arrival button {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid #aec8b7;
  border-radius: 10px;
  padding: 7px 10px;
  background: white;
  color: #173f32;
  cursor: pointer;
  font: 800 0.57rem/1.1 var(--font-body);
  text-align: center;
  text-decoration: none;
}

.map-explorer-arrival a:first-of-type,
.map-explorer-arrival button.is-primary {
  border-color: #173f32;
  background: #173f32;
  color: white;
}

.map-explorer-arrival.is-nearby {
  border-color: #b8dbc5;
  background: #edf8f0;
}

.map-explorer-destinations {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 1px 1px 6px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.map-explorer-destinations::-webkit-scrollbar {
  display: none;
}

.map-explorer-destination,
.map-explorer-location {
  display: flex;
  min-width: 176px;
  min-height: 54px;
  align-items: center;
  gap: 9px;
  border: 1px solid #d6e2da;
  border-radius: 13px;
  padding: 8px 10px;
  background: #f7faf8;
  color: #173f32;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
}

.map-explorer-destination {
  min-width: 250px;
}

.map-explorer-thumbnail {
  position: relative;
  display: grid;
  width: 76px;
  height: 58px;
  flex: none;
  overflow: hidden;
  place-items: center;
  border-radius: 9px;
  background: #dfe9e2;
  color: #315d46;
}

.map-explorer-thumbnail img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.map-explorer-thumbnail > b {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: #173f32;
  color: white;
  font-size: 0.5rem;
  font-weight: 850;
  box-shadow: 0 2px 7px rgb(0 0 0 / 22%);
}

.map-explorer-thumbnail svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
}

.map-explorer-destination-copy,
.map-explorer-location {
  min-width: 0;
}

.map-explorer-destination strong,
.map-explorer-destination small,
.map-explorer-location strong,
.map-explorer-location small {
  display: block;
}

.map-explorer-destination strong,
.map-explorer-location strong {
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-explorer-destination small,
.map-explorer-location small {
  margin-top: 3px;
  color: #61776e;
  font-size: 0.53rem;
  font-weight: 650;
}

.map-explorer-destination.is-selected {
  border-color: #173f32;
  background: #e8f0ea;
}

.map-explorer-selection {
  justify-content: flex-end;
  margin-top: 5px;
  border-top: 1px solid #dce6df;
  padding-top: 10px;
}

.map-explorer-selection-actions {
  width: 100%;
}

.map-explorer-selection-actions a,
.map-explorer-selection-actions button {
  flex: 1;
}

.map-explorer-selection-actions .is-primary {
  border-color: #173f32;
  background: #173f32;
  color: white;
}

.map-explorer-marker-wrap {
  border: 0;
  background: transparent;
  overflow: visible;
}

.map-explorer-marker {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  background: #173f32;
  color: white;
  box-shadow: 0 4px 14px rgb(0 0 0 / 24%);
}

.map-explorer-marker-wrap.is-entering .map-explorer-marker {
  animation: explorer-marker-enter 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--explorer-index, 0) * 28ms);
}

@keyframes explorer-marker-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.72);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.map-explorer-marker b {
  font-size: 0.7rem;
}

.map-explorer-marker small {
  position: absolute;
  top: 42px;
  left: 50%;
  max-width: 130px;
  overflow: hidden;
  border: 1px solid rgb(23 63 50 / 14%);
  border-radius: 7px;
  padding: 3px 5px;
  background: rgb(255 255 255 / 94%);
  color: #173f32;
  font-size: 0.5rem;
  font-weight: 750;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  white-space: nowrap;
  display: none;
}

.map-explorer-marker-wrap.has-label:not(.is-selected) .map-explorer-marker > small {
  display: block;
}

.map-explorer-marker-wrap.is-selected .map-explorer-marker {
  outline: 3px solid #9fc0aa;
  outline-offset: 3px;
  transform: scale(1.12);
}

.map-explorer-marker-popover {
  position: absolute;
  top: -164px;
  left: 50%;
  display: flex;
  width: 196px;
  height: 148px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  overflow: visible;
  color: #173f32;
  text-align: center;
  transform: translateX(-50%) scale(0.9);
  transform-origin: center bottom;
}

.map-explorer-marker-popover > strong {
  display: block;
  max-width: 190px;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgb(255 255 255 / 97%);
  color: #173f32;
  box-shadow: 0 4px 14px rgb(0 0 0 / 18%);
  font-size: 0.64rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-explorer-marker-photo {
  position: relative;
  display: block;
  width: 176px;
  height: 110px;
  overflow: hidden;
  border: 3px solid white;
  border-radius: 13px;
  background: #dfe9e2;
  box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
  line-height: 0;
}

.map-explorer-marker-photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.map-explorer-marker-popover-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: #dfe9e2;
}

.map-explorer-marker-popover-fallback svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
}


body.has-map-explorer .map-legend,
body.has-map-explorer .search-area-button {
  display: none;
}

.map-note {
  position: absolute;
  z-index: 500;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 4px 18px rgb(0 0 0 / 10%);
  color: var(--mid);
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.search-area-button {
  position: absolute;
  z-index: 700;
  top: 74px;
  left: 50%;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 6px 20px rgb(0 0 0 / 16%);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transform: translateX(-50%);
}

.search-area-button[hidden] {
  display: none;
}

.numbered-marker {
  border: 0;
  background: transparent;
}

.marker-shell {
  display: flex;
  align-items: center;
  width: max-content;
  transform-origin: left center;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.marker-place-label {
  overflow: hidden;
  max-width: 170px;
  margin-left: 6px;
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 8px;
  padding: 6px 9px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 2px 10px rgb(0 0 0 / 14%);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-overflow: ellipsis;
  transform: translateX(-5px) scale(0.96);
  transform-origin: left center;
  transition:
    opacity 130ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.numbered-marker.has-place-label .marker-place-label,
.numbered-marker.is-peer-hover .marker-place-label,
.numbered-marker.is-selected .marker-place-label {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.numbered-marker.is-peer-hover .marker-shell,
.numbered-marker.is-selected .marker-shell {
  transform: translateY(-3px) scale(1.04);
}

.marker-pin {
  width: 34px;
  height: 34px;
  border: 2px solid var(--paper);
  box-shadow: 0 1px 7px rgb(0 0 0 / 30%);
  transition:
    box-shadow 160ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.marker-pin.is-seed {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.numbered-marker.is-peer-hover .marker-pin,
.numbered-marker.is-selected .marker-pin {
  box-shadow: 0 5px 16px rgb(0 0 0 / 28%);
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .place-card .place-number,
  .place-card h2,
  .marker-shell,
  .marker-pin,
  .marker-place-label {
    transition: none;
  }

  body[data-page="map"] .numbered-marker.is-selection-pulsing .marker-pin {
    animation: none;
  }

  .map-explorer-marker-wrap.is-entering .map-explorer-marker {
    animation: none;
  }
}

.user-location-marker-wrap {
  position: relative;
  border: 0;
  background: transparent;
}

.map-pinned-note-wrap {
  border: 0;
  background: transparent;
}

.map-guide-destination-wrap {
  border: 0;
  background: transparent;
  overflow: visible;
}

.map-guide-beacon {
  position: relative;
  display: block;
  width: 184px;
  height: 86px;
}

.map-guide-beacon > i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 62px;
  height: 62px;
  border: 2px solid #315d46;
  border-radius: 50%;
  background: rgb(232 240 234 / 42%);
  animation: destination-beacon 2s ease-out infinite;
  transform: translateX(-50%);
}

.map-guide-destination {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  overflow: hidden;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  background: #173f32;
  color: white;
  box-shadow: 0 4px 16px rgb(0 0 0 / 28%);
  transform: translateX(-50%);
}

.map-guide-destination.has-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.map-guide-destination svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.map-guide-beacon small {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  border: 2px solid white;
  border-radius: 999px;
  max-width: 180px;
  overflow: hidden;
  padding: 3px 8px;
  background: #173f32;
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.1;
  transform: translateX(-50%);
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes destination-beacon {
  0% {
    opacity: 0.8;
    transform: translateX(-50%) scale(0.55);
  }

  80%,
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-guide-beacon > i {
    animation: none;
    opacity: 0.55;
  }
}

.map-pinned-note {
  display: grid;
  width: 34px;
  height: 38px;
  place-items: center;
  border: 2px solid white;
  border-radius: 16px 16px 16px 5px;
  background: #173f32;
  color: white;
  box-shadow: 0 4px 12px rgb(0 0 0 / 28%);
  transform: rotate(-5deg);
}

.map-pinned-note svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: rotate(5deg);
}

.map-pinned-note-wrap.is-draft .map-pinned-note {
  background: white;
  color: #173f32;
  animation: map-note-drop 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.map-note-popup {
  display: grid;
  gap: 5px;
  min-width: 190px;
}

.map-note-popup p,
.map-note-popup strong,
.map-note-popup small {
  display: block;
  margin: 0;
}

.map-note-popup p {
  color: #315d46;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: capitalize;
}

.map-note-popup strong {
  font-size: 0.76rem;
  line-height: 1.35;
}

.map-note-popup small {
  color: var(--mid);
  font-size: 0.58rem;
}

.map-note-popup button {
  justify-self: start;
  margin-top: 4px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #315d46;
  cursor: pointer;
  font: inherit;
  font-size: 0.58rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes map-note-drop {
  from { opacity: 0; transform: translateY(-18px) rotate(-5deg) scale(0.8); }
  to { opacity: 1; transform: translateY(0) rotate(-5deg) scale(1); }
}

.user-location-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: var(--location-size, 40px);
  height: var(--location-size, 40px);
  overflow: visible;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: width 160ms ease, height 160ms ease;
}

.user-location-pulse {
  position: absolute;
  width: calc(var(--location-size, 40px) * 0.94);
  height: calc(var(--location-size, 40px) * 0.94);
  border: 3px solid #0a84ff;
  border-radius: 50%;
  background: rgb(10 132 255 / 20%);
  box-shadow: 0 0 0 5px rgb(10 132 255 / 10%);
  animation: location-pulse 1.9s ease-out infinite;
}

.user-location-dot {
  position: relative;
  z-index: 1;
  display: grid;
  width: max(28px, calc(var(--location-size, 40px) * 0.68));
  height: max(28px, calc(var(--location-size, 40px) * 0.68));
  place-items: center;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: #0a84ff;
  box-shadow: 0 0 0 4px rgb(10 132 255 / 32%), 0 3px 12px rgb(0 0 0 / 32%);
  color: white;
  font-size: max(0.68rem, calc(var(--location-size, 40px) * 0.24));
  font-weight: 850;
  transition: width 180ms ease, height 180ms ease, box-shadow 180ms ease;
}

.user-location-heading {
  position: absolute;
  z-index: 2;
  inset: -7px;
  border: 3px solid transparent;
  border-top-color: #8ed8ff;
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(var(--location-bearing, 0deg));
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.user-location-avatar {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: #0a84ff;
}

.user-location-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-location-dot.has-avatar .user-location-avatar {
  background: white;
}

.user-location-marker-wrap.is-guiding .user-location-dot {
  width: calc(var(--location-size, 40px) * 0.78);
  height: calc(var(--location-size, 40px) * 0.78);
  border-width: 3px;
  box-shadow: 0 0 0 5px rgb(10 132 255 / 36%), 0 5px 16px rgb(0 0 0 / 34%);
}

.user-location-label {
  position: absolute;
  z-index: 2;
  top: calc(100% - 3px);
  left: 50%;
  border: 2px solid white;
  border-radius: 999px;
  padding: 2px 6px;
  background: #086fd3;
  color: white;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
  transform: translateX(-50%);
  white-space: nowrap;
}

@media (max-width: 860px) {
  body.has-map-explorer .places-sidebar,
  body.has-map-explorer .map-toolbar,
  body.has-map-explorer .map-legend {
    display: none;
  }

  body.has-map-explorer .map-guide-status {
    top: 14px;
  }

  body.has-map-explorer .map-note {
    top: 12px;
  }

  .map-explorer-panel {
    bottom: 10px;
    width: calc(100% - 20px);
    max-height: min(46dvh, 390px);
    overflow-y: auto;
    border-radius: 18px;
    padding: 12px;
  }

  .map-explorer-heading strong {
    font-size: 0.94rem;
  }

  .map-explorer-heading-actions a,
  .map-explorer-heading-actions button {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.55rem;
  }

  .map-explorer-summary {
    margin: 6px 0 8px;
  }

  .map-explorer-arrival {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
    padding: 9px;
  }

  .map-explorer-arrival-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-explorer-arrival a,
  .map-explorer-arrival button {
    min-height: 36px;
  }

  .map-explorer-destination {
    min-width: min(82vw, 300px);
  }

  .map-explorer-marker-wrap.has-label:not(.is-selected) .map-explorer-marker > small {
    display: none;
  }

  .map-explorer-location {
    min-width: min(72vw, 235px);
  }

  .map-explorer-selection {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .map-explorer-selection-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-explorer-selection-actions a,
  .map-explorer-selection-actions button {
    min-height: 38px;
  }

  .map-gesture-hint {
    position: absolute;
    z-index: 720;
    bottom: 218px;
    left: 50%;
    display: block;
    border: 1px solid rgb(23 63 50 / 15%);
    border-radius: 999px;
    padding: 7px 10px;
    background: rgb(255 255 255 / 92%);
    color: #173f32;
    font-size: 0.6rem;
    font-weight: 750;
    box-shadow: 0 6px 20px rgb(0 0 0 / 10%);
    backdrop-filter: blur(12px);
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
  }

  .map-guide-status {
    top: 158px;
    width: calc(100% - 24px);
    min-height: 108px;
    grid-template-columns: 48px minmax(0, 1fr) 62px;
    align-items: start;
    gap: 10px;
    padding: 10px;
  }

  .map-guide-compass {
    width: 48px;
    height: 48px;
  }

  .map-guide-compass svg {
    width: 29px;
    height: 29px;
  }

  .map-guide-copy small {
    font-size: 0.58rem;
  }

  .map-guide-copy strong {
    font-size: 0.9rem;
  }

  .map-guide-copy em {
    font-size: 0.7rem;
    line-height: 1.28;
  }

  .map-guide-mode {
    font-size: 0.59rem;
    line-height: 1.3;
  }

  .map-guide-actions {
    grid-column: 3;
    grid-row: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
  }

  .map-guide-status button {
    min-width: 62px;
    min-height: 34px;
    padding: 6px;
    font-size: 0.63rem;
  }
}

@keyframes location-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.55);
  }

  78%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .user-location-pulse {
    animation: none;
    opacity: 0.35;
  }
}

.audit-cluster-wrap,
.region-gateway-wrap {
  border: 0;
  background: transparent;
}

.audit-cluster {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-content: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 14px rgb(0 0 0 / 22%);
  text-align: center;
}

.audit-cluster strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
}

.audit-cluster.is-curated {
  background: var(--ink);
  color: var(--paper);
}

.audit-cluster.is-mixed {
  box-shadow:
    inset 0 -5px 0 var(--ink),
    0 3px 14px rgb(0 0 0 / 22%);
}

.region-gateway {
  position: relative;
  display: grid;
  width: 116px;
  min-height: 48px;
  align-content: center;
  padding: 7px 8px 7px 42px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 3px 12px rgb(0 0 0 / 16%);
  line-height: 1.05;
}

.region-gateway::before {
  position: absolute;
  top: 9px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--ink);
  content: "";
}

.region-gateway.has-records::before {
  background: var(--ink);
  box-shadow: none;
}

.region-gateway strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-gateway small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--mid);
  font-size: 0.55rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-legend {
  position: absolute;
  z-index: 500;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 94%);
  color: var(--mid);
  font-size: 0.65rem;
  font-weight: 600;
}

.map-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.legend-dot.is-curated {
  background: var(--ink);
}

.legend-cluster {
  display: grid;
  width: 27px;
  height: 27px;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-style: normal;
  line-height: 0.75;
  text-align: center;
}

.contribution-disclosure {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.contribution-disclosure > summary {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px 28px 20px 0;
  cursor: pointer;
  list-style: none;
}

.contribution-disclosure > summary::-webkit-details-marker {
  display: none;
}

.contribution-disclosure > summary::after {
  position: absolute;
  top: 23px;
  right: 2px;
  content: "+";
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.contribution-disclosure[open] > summary::after {
  content: "−";
}

.contribution-disclosure > summary span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contribution-disclosure > summary small {
  color: var(--mid);
  font-size: 0.76rem;
  line-height: 1.4;
}

.contribution-disclosure .contribute-card {
  margin-top: 0;
}

.leaflet-container {
  font-family: var(--font-body);
}

.leaflet-tile-pane {
  filter: grayscale(1);
}

.leaflet-control-zoom a,
.leaflet-control-attribution {
  color: var(--ink) !important;
}

.place-map-popup .leaflet-popup-content-wrapper {
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgb(0 0 0 / 18%);
}

.place-map-popup .leaflet-popup-content {
  width: auto !important;
  margin: 0;
}

.place-map-popup .leaflet-popup-tip {
  border: 0;
  background: var(--paper);
  box-shadow: 4px 4px 12px rgb(0 0 0 / 10%);
}

.map-preview {
  display: block;
  width: 348px;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}

.leaflet-container a.map-preview-main,
.leaflet-container a.map-preview-main:hover,
.leaflet-container a.map-preview-main:focus-visible {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.map-preview-main.has-image,
.map-preview-main.has-photo-prompt {
  display: flex;
  flex-direction: column;
}

.map-preview img {
  display: block;
  order: -1;
  width: 100%;
  height: 138px;
  object-fit: cover;
}

.map-preview.has-explorer img {
  height: 104px;
}

.missing-photo-popup {
  display: flex;
  order: -1;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  padding: 14px;
  background:
    radial-gradient(circle at 78% 18%, rgb(0 0 0 / 6%) 0 2px, transparent 3px),
    var(--soft);
  text-align: center;
}

.missing-photo-popup .missing-photo-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}

.missing-photo-popup strong {
  font-family: var(--font-display);
  font-size: 0.72rem;
  line-height: 1.05;
}

.missing-photo-popup small {
  max-width: 210px;
  margin-top: 5px;
  color: var(--mid);
  font-size: 0.58rem;
  line-height: 1.25;
}

.map-preview-copy {
  padding: 16px 18px 15px;
}

.map-preview.has-explorer .map-preview-copy {
  padding: 13px 16px 10px;
}

.map-preview.has-explorer .map-preview-hours {
  margin-top: 8px;
  padding: 7px 0 0;
  border-bottom: 0;
}

.map-preview.has-explorer .map-preview-hours-line,
.map-preview.has-explorer .map-preview-description {
  display: none;
}

.map-preview.has-explorer .map-preview-link {
  margin-top: 7px;
  padding-top: 7px;
}

.map-preview-type {
  overflow: hidden;
  margin: 0 0 5px;
  color: var(--mid);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-preview h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.map-preview-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0 10px;
  font-size: 0.68rem;
  font-weight: 650;
}

.map-preview-rating span:last-child {
  color: var(--mid);
}

.map-preview-hours {
  margin-top: 11px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-preview-status,
.map-preview-hours-line {
  display: flex;
  min-width: 0;
  align-items: baseline;
  margin: 0;
}

.map-preview-status {
  gap: 6px;
  font-size: 0.69rem;
}

.map-preview-status > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  align-self: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.map-preview-status.is-open > span {
  background: var(--ink);
}

.map-preview-status.is-schedule > span {
  border-color: var(--mid);
}

.map-preview-status strong {
  font-weight: 750;
}

.map-preview-status small {
  overflow: hidden;
  color: var(--mid);
  font-size: 0.65rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-preview-hours-line {
  gap: 8px;
  margin-top: 6px;
  font-size: 0.65rem;
  line-height: 1.35;
}

.map-preview-hours-line strong {
  flex: 0 0 auto;
  color: var(--mid);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.map-preview-hours-line span {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 600;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.map-preview-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: #353535;
  font-size: 0.7rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.map-preview-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
}

.map-preview-link::after {
  content: "→";
  font-size: 0.86rem;
}

.map-preview-explorer {
  display: flex;
  width: calc(100% - 28px);
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 14px 14px;
  border: 1px solid rgb(23 63 50 / 22%);
  border-radius: 14px;
  padding: 9px 12px;
  background: linear-gradient(120deg, #eaf3ed, #f7faf8);
  color: #173f32;
  text-align: left;
  cursor: pointer;
}

.map-preview-explorer span {
  display: grid;
  gap: 2px;
}

.map-preview-explorer strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.map-preview-explorer small {
  color: #527364;
  font-size: 0.6rem;
  font-weight: 700;
}

.map-preview-explorer b {
  flex: 0 0 auto;
  font-size: 0.68rem;
}

/* Place detail */
.detail-body {
  min-height: 100vh;
}

.detail-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 90px;
}

.place-gallery {
  position: relative;
  margin: 0 0 34px;
}

.place-gallery[hidden] {
  display: none;
}

.gallery-frame {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  touch-action: pan-y;
}

.gallery-frame.is-swiping {
  cursor: grabbing;
}

.place-gallery.is-missing-photo .gallery-frame {
  display: grid;
  min-height: clamp(300px, 48vw, 520px);
  place-items: center;
  background:
    radial-gradient(circle at 18% 22%, rgb(0 0 0 / 5%) 0 1px, transparent 1.5px),
    linear-gradient(145deg, var(--paper), var(--soft));
  background-size: 18px 18px, auto;
}

.missing-photo-detail {
  display: grid;
  width: min(440px, calc(100% - 44px));
  place-items: center;
  gap: 8px;
  border: 1px dashed rgb(18 18 18 / 32%);
  border-radius: 24px;
  padding: clamp(28px, 6vw, 52px);
  background: rgb(255 255 255 / 88%);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 16px 44px rgb(0 0 0 / 7%);
}

.missing-photo-detail .missing-photo-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 5px;
}

.missing-photo-detail strong {
  font: 700 clamp(1.4rem, 4vw, 2rem) / 1 var(--font-display);
  letter-spacing: -0.035em;
}

.missing-photo-detail span {
  max-width: 310px;
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.45;
}

.missing-photo-detail small {
  margin-top: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.missing-photo-detail:hover,
.missing-photo-detail:focus-visible {
  border-color: var(--ink);
  outline: none;
  box-shadow: 0 18px 48px rgb(0 0 0 / 11%);
}

.place-gallery img {
  display: block;
  width: 100%;
  height: clamp(300px, 48vw, 570px);
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity;
}

.place-gallery img[hidden] {
  display: none;
}

.gallery-photo-cta {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgb(255 255 255 / 90%);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 750;
  box-shadow: 0 5px 18px rgb(0 0 0 / 12%);
  backdrop-filter: blur(12px);
}

.gallery-photo-cta .missing-photo-icon {
  width: 19px;
  height: 19px;
}

.gallery-photo-cta:hover,
.gallery-photo-cta:focus-visible {
  outline: none;
  background: var(--paper);
  box-shadow: 0 7px 22px rgb(0 0 0 / 18%);
}

.gallery-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  background: rgb(255 255 255 / 92%);
  color: var(--mid);
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
}

.gallery-credit a {
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}

.gallery-credit a:hover,
.gallery-credit a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gallery-360-launch {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: 42px auto;
  column-gap: 10px;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 16px;
  padding: 8px 13px 8px 8px;
  background: rgb(20 20 20 / 82%);
  color: var(--paper);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 30px rgb(0 0 0 / 22%);
  backdrop-filter: blur(16px);
}

.gallery-360-launch[hidden] {
  display: none;
}

.gallery-360-launch > span {
  grid-row: 1 / 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.gallery-360-launch strong {
  align-self: end;
  font-size: 0.76rem;
}

.gallery-360-launch small {
  align-self: start;
  color: rgb(255 255 255 / 66%);
  font-size: 0.58rem;
}

.place-360-dialog {
  width: min(1000px, calc(100vw - 24px));
  max-height: 94dvh;
  margin: auto;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 26px;
  padding: 0;
  background: #111;
  color: var(--paper);
  box-shadow: 0 30px 100px rgb(0 0 0 / 42%);
}

.place-360-dialog::backdrop {
  background: rgb(245 245 245 / 52%);
  backdrop-filter: blur(8px) saturate(0.7);
}

.place-360-shell {
  padding: 18px;
}

.place-360-heading,
.place-360-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.place-360-heading {
  padding: 4px 2px 16px;
}

.place-360-heading h2,
.place-360-heading p {
  margin: 0;
}

.place-360-heading h2 {
  margin: 3px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2rem);
  letter-spacing: -0.05em;
}

.place-360-heading #place-360-context {
  color: rgb(255 255 255 / 58%);
  font-size: 0.68rem;
}

.place-360-heading .icon-button {
  flex: 0 0 auto;
  border-color: rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 10%);
  color: var(--paper);
}

.place-360-demo-note {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 12px;
  padding: 9px 12px;
  background: #f0f0ed;
  color: #202020;
  font-size: 0.65rem;
}

.place-360-demo-note[hidden] {
  display: none;
}

.place-360-demo-note strong {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 7px;
  background: #202020;
  color: #fff;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.place-360-stage {
  height: min(68dvh, 680px);
  min-height: 440px;
  overflow: hidden;
  border-radius: 18px;
  background: #282828;
}

.place-360-footer {
  min-height: 42px;
  padding: 11px 2px 0;
}

.place-360-footer a,
.place-360-picker button {
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: rgb(255 255 255 / 72%);
  font-size: 0.62rem;
  text-decoration: none;
}

.place-360-picker {
  display: flex;
  gap: 6px;
}

.place-360-picker button {
  cursor: pointer;
}

.place-360-picker button.is-active {
  background: var(--paper);
  color: var(--ink);
}

.place-360-error {
  display: grid;
  height: 100%;
  place-items: center;
  margin: 0;
  color: rgb(255 255 255 / 65%);
}

@media (max-width: 620px) {
  .gallery-360-launch {
    bottom: 10px;
    left: 10px;
  }

  .place-360-dialog {
    width: 100%;
    max-width: none;
    max-height: 96dvh;
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .place-360-shell {
    padding: 14px 10px calc(12px + env(safe-area-inset-bottom));
  }

  .place-360-demo-note {
    align-items: flex-start;
  }

  .place-360-stage {
    height: 68dvh;
    min-height: 420px;
    border-radius: 16px;
  }

  .place-360-footer {
    align-items: flex-start;
  }
}

.gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-arrow-left {
  left: 14px;
}

.gallery-arrow-right {
  right: 14px;
}

.gallery-arrow[hidden] {
  display: none;
}

.gallery-dots {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  left: 50%;
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 12px;
  margin: 0;
  border-radius: 999px;
  padding: 6px 8px;
  background: rgb(0 0 0 / 28%);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.gallery-dots:empty {
  display: none;
}

.gallery-dots.is-counter {
  min-width: 54px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease;
}

.gallery-dots button.is-active {
  width: 20px;
  border-radius: 999px;
  background: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-dots button {
    transition: none;
  }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--mid);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
}

.place-hero {
  display: block;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.place-hero h1 {
  max-width: none;
  margin: 6px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.place-official-name {
  margin: -5px 0 11px;
  color: var(--mid);
  font-size: 0.84rem;
  line-height: 1.4;
}

.place-essentials {
  display: grid;
  justify-items: start;
  gap: 7px;
  margin: 7px 0 10px;
  color: var(--mid);
  font-size: 0.78rem;
}

.place-address-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.place-address-line:hover,
.place-address-line:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.place-address-line svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.6;
}

.place-hours-details {
  position: relative;
  margin-left: 0;
}

.place-hours-details summary {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

.place-hours-details summary::-webkit-details-marker {
  display: none;
}

#place-hours-status {
  color: var(--ink);
  font-weight: 750;
}

.hours-carrot {
  color: var(--ink);
  transition: transform 160ms ease;
}

.place-hours-details[open] .hours-carrot {
  transform: rotate(180deg);
}

.place-hours-expanded {
  position: absolute;
  z-index: 8;
  top: calc(100% + 9px);
  left: 0;
  display: grid;
  min-width: min(330px, calc(100vw - 40px));
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 34px rgb(0 0 0 / 12%);
}

.place-hours-expanded span {
  color: var(--mid);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.place-hours-expanded strong {
  font-size: 0.82rem;
  line-height: 1.4;
}

.place-hours-expanded small {
  color: var(--mid);
  font-size: 0.68rem;
  line-height: 1.35;
}

.place-summary {
  max-width: 650px;
  margin: 6px 0 14px;
  color: #333;
  font-size: 1rem;
  line-height: 1.55;
}

.synopsis-label {
  margin: 20px 0 0;
  color: var(--mid);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.place-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 24px;
  font-size: 0.82rem;
}

.rating-score {
  font-weight: 700;
}

.star-rating {
  position: relative;
  display: inline-block;
  color: #c8c8c8;
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.star-rating-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: var(--ink);
  white-space: nowrap;
}

.place-rating a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.rating-note,
.rating-empty {
  color: var(--mid);
}

.place-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.place-actions button,
.place-actions a {
  display: inline-flex;
  min-width: 104px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.place-actions button:hover,
.place-actions button:focus-visible,
.place-actions a:hover,
.place-actions a:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.place-actions button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.place-actions .is-explorer-action {
  border-color: #173f32;
  background: #173f32;
  color: white;
}

.place-actions .is-explorer-action:hover,
.place-actions .is-explorer-action:focus-visible {
  border-color: #315d46;
  background: #315d46;
}

.place-action-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.place-actions button.is-active .favorite-action-icon {
  fill: currentColor;
}

.place-actions [hidden] {
  display: none;
}

.place-action-status {
  min-height: 16px;
  margin: 6px 0 0;
  color: var(--mid);
  font-size: 0.68rem;
}

.place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.meta-row {
  display: inline-flex;
  gap: 6px;
  padding: 0;
  border: 0;
  font-size: 0.7rem;
}

.meta-row span {
  color: var(--mid);
}

.meta-row strong {
  font-weight: 600;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 52px;
  padding-top: 42px;
}

.detail-grid > * {
  min-width: 0;
}

.funding-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(145deg, #fbfbfb, #f3f3f3);
  color: var(--ink);
}

.funding-card h2 {
  margin: 5px 0 9px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.15rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.funding-mission {
  margin: 0 0 22px;
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.55;
}

.funding-progress-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
}

.funding-progress-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.035em;
}

.funding-progress-copy span {
  color: var(--mid);
  text-align: right;
}

.funding-progress {
  height: 9px;
  margin: 8px 0 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #dedede;
}

.funding-community-line {
  margin: 0 0 18px;
  color: var(--mid);
  font-size: 0.68rem;
  font-weight: 600;
}

.funding-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  transition: width 600ms ease;
}

.funding-next-work {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgb(255 255 255 / 72%);
}

.funding-next-work span {
  display: block;
  margin-bottom: 5px;
  color: var(--mid);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funding-next-work strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.15;
}

.funding-next-work p {
  margin: 7px 0 0;
  color: var(--mid);
  font-size: 0.78rem;
  line-height: 1.5;
}

.funding-button {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 13px;
  padding: 13px 18px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
}

.funding-quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 14px;
}

.funding-quick-amounts button {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 10px 4px;
  background: rgb(255 255 255 / 74%);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
}

.funding-quick-amounts button:hover,
.funding-quick-amounts button:focus-visible,
.funding-quick-amounts button.is-recommended {
  border-color: var(--ink);
  background: var(--paper);
  outline: none;
}

.funding-quick-amounts button span {
  position: absolute;
  top: -8px;
  left: 50%;
  border-radius: 999px;
  padding: 2px 5px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.47rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.funding-path {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.funding-path li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  min-height: 45px;
  color: #8a8a8a;
}

.funding-path li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 9px;
  width: 1px;
  background: var(--line-strong);
}

.funding-path i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.62rem;
  font-style: normal;
}

.funding-path .is-complete,
.funding-path .is-active {
  color: var(--ink);
}

.funding-path .is-complete i {
  border-color: var(--success);
  background: var(--success);
  color: white;
}

.funding-path .is-active i {
  border: 5px solid var(--ink);
}

.funding-path span,
.funding-path strong,
.funding-path small {
  display: block;
}

.funding-path strong {
  overflow: hidden;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funding-path small {
  margin-top: 2px;
  font-size: 0.6rem;
}

.funding-update {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.funding-update span {
  color: var(--mid);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funding-update p {
  margin: 5px 0 0;
  color: var(--mid);
  font-size: 0.7rem;
  line-height: 1.4;
}

.funding-button:hover,
.funding-button:focus-visible {
  background: #2b2b2b;
  outline: 3px solid rgb(0 0 0 / 10%);
  outline-offset: 2px;
}

.funding-disclosure,
.funding-dialog-disclosure {
  margin: 12px 2px 0;
  color: var(--mid);
  font-size: 0.64rem;
  line-height: 1.45;
}

.funding-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 6px 0 18px;
  padding: 0;
  border: 0;
}

.funding-amounts legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  font-weight: 700;
}

.funding-amounts label {
  cursor: pointer;
}

.funding-amounts input {
  position: absolute;
  opacity: 0;
}

.funding-amounts span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 8px;
  text-align: center;
  font-weight: 700;
}

.funding-amounts input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.funding-cadence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.funding-cadence legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-size: 0.74rem;
  font-weight: 700;
}

.funding-cadence label {
  cursor: pointer;
}

.funding-cadence input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.funding-cadence span {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 0.72rem;
  font-weight: 700;
}

.funding-cadence input:checked + span {
  border-color: var(--ink);
  background: #ececea;
  color: var(--ink);
}

.funding-dialog .funding-cadence input {
  width: 1px;
  min-width: 1px;
  max-width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
}

.funding-custom-amount span {
  display: flex;
  align-items: center;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding-left: 12px;
}

.funding-custom-amount b {
  color: var(--mid);
}

.funding-custom-amount input {
  width: 100%;
  border: 0 !important;
}

.section-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.community-section + .community-section {
  margin-top: 54px;
}

.section-heading-row .section-title {
  margin-bottom: 0;
}

.status-pill {
  padding: 5px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brief-copy {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.65;
  letter-spacing: 0;
}

.recovery-notice {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid #d7d2c7;
  border-radius: 14px;
  background: #f7f5ef;
  color: #2d2b27;
  font-size: 0.88rem;
  line-height: 1.45;
}

.recovery-notice strong {
  font-size: 0.94rem;
}

.recovery-notice a {
  color: inherit;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.brief-meta {
  align-items: center;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--mid);
  font-size: 0.75rem;
}

.verified-record-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.verified-record-meta[hidden] {
  display: none;
}

.brief-disclosure {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--mid);
  font-size: 0.76rem;
  line-height: 1.5;
}

.brief-disclosure a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.fact {
  min-height: 0;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.fact-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fact-heading h3 {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.fact-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.fact-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.fact ul {
  display: grid;
  gap: 7px;
  margin: 11px 0 0 36px;
  padding: 0;
  list-style: none;
}

.fact li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.fact-check {
  color: #2f7a49;
  font-weight: 850;
}

.fact.needs-check .fact-check {
  color: var(--mid);
}

.fact-source {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 12px 0 0 36px;
  color: var(--mid);
  font-size: 0.68rem;
}

.fact-source[hidden] {
  display: none;
}

.fact-source a {
  color: var(--ink);
}

.fact-community {
  position: relative;
  display: none;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0 36px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.fact-community:empty {
  display: none;
}

.verified-information-section.is-contributing .fact-community {
  display: flex;
}

.fact-community::before {
  flex: 1 1 auto;
  color: var(--mid);
  content: "Share what you know";
  font-size: 0.66rem;
  font-weight: 700;
}

.fact-community .verification-row {
  display: flex;
  min-height: 0;
  flex: 0 0 auto;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.fact-community .verification-icon,
.fact-community .verification-copy {
  display: none;
}

.fact-community .verification-actions button {
  width: 30px;
  height: 30px;
  font-size: 0.72rem;
}

.fact-community .verification-note {
  align-self: center;
}

.fact-community .verification-note-toggle {
  white-space: nowrap;
}

.fact-community .verification-note-editor {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  right: 0;
  width: min(320px, calc(100vw - 64px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(0 0 0 / 12%);
}

@media (max-width: 760px) {
  .verified-heading-actions {
    position: static;
    justify-content: flex-end;
    width: 100%;
    margin-top: 12px;
  }

  .fact-community {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .fact-community::before {
    flex-basis: 100%;
  }
}

.verified-information-section {
  position: relative;
}

.verified-heading-actions {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verified-source-toggle,
.verified-help-toggle {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
}

.verified-help-toggle[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.section-intro {
  max-width: 640px;
  margin: -10px 0 18px;
  color: var(--mid);
  font-size: 0.82rem;
  line-height: 1.45;
}

.nearby-discovery {
  min-width: 0;
}

.nearby-discovery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.nearby-discovery-heading > div {
  min-width: 0;
}

.nearby-discovery-heading .section-title {
  margin-bottom: 12px;
}

.nearby-discovery-heading .section-intro {
  margin: 0;
}

.nearby-map-link {
  flex: none;
  padding-bottom: 2px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.nearby-map-link span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 180ms ease;
}

.nearby-map-link:hover span,
.nearby-map-link:focus-visible span {
  transform: translateX(3px);
}

.nearby-discovery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0 12px;
}

.nearby-mode-switch,
.nearby-scroll-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nearby-mode-switch {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}

.nearby-mode-switch button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 750;
}

.nearby-mode-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}

.nearby-mode-switch button:disabled {
  cursor: default;
  opacity: 0.36;
}

.nearby-scroll-actions button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
}

.nearby-scroll-actions button:disabled {
  cursor: default;
  opacity: 0.28;
}

.nearby-place-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.nearby-place-track::-webkit-scrollbar {
  display: none;
}

.nearby-place-track:focus-visible {
  border-radius: 16px;
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.nearby-place-card {
  flex: 0 0 min(78vw, 278px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  scroll-snap-align: start;
}

.nearby-place-media {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 20% 15%, rgb(255 255 255 / 72%), transparent 38%),
    linear-gradient(145deg, #ededeb, #d7d7d3);
  color: var(--ink);
  text-decoration: none;
}

.nearby-place-media > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgb(20 20 20 / 18%);
  border-radius: 14px;
  background: rgb(255 255 255 / 72%);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.nearby-place-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nearby-place-media.is-missing::after {
  content: "Public place";
  font-size: 0.66rem;
  font-weight: 750;
}

.nearby-place-card:hover .nearby-place-media img,
.nearby-place-card:focus-within .nearby-place-media img {
  transform: scale(1.025);
}

.nearby-place-card-body {
  padding: 14px 15px 16px;
}

.nearby-place-type {
  margin: 0 0 6px;
  color: var(--mid);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nearby-place-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.nearby-place-card h3 a {
  color: inherit;
  text-decoration: none;
}

.nearby-place-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.nearby-place-card {
  position: relative;
}

.nearby-place-media,
.nearby-place-reason {
  position: relative;
  z-index: 1;
}

.nearby-place-location {
  margin: 8px 0 0;
  color: var(--mid);
  font-size: 0.68rem;
  line-height: 1.35;
}

.nearby-place-reason {
  display: flex;
  align-items: start;
  gap: 7px;
  margin: 12px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.67rem;
  line-height: 1.35;
}

.nearby-place-reason span {
  flex: none;
  border-radius: 999px;
  padding: 2px 6px;
  background: var(--soft);
  color: var(--mid);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nearby-discovery-note {
  margin: 4px 2px 0;
  color: var(--mid);
  font-size: 0.61rem;
  line-height: 1.4;
}

.verification-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.verification-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.verification-row:last-child {
  border-bottom: 0;
}

.verification-row.is-answered {
  background: var(--soft);
}

.verification-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.verification-row.is-answered .verification-icon {
  background: var(--paper);
}

.verification-copy {
  min-width: 0;
}

.verification-field,
.discussion-type {
  color: var(--mid);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.verification-row h3 {
  margin: 3px 0 4px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.verification-row p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--mid);
  font-size: 0.72rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.verification-actions {
  display: flex;
  gap: 6px;
}

.verification-actions button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

.verification-actions button:hover,
.verification-actions button:focus-visible,
.verification-actions button.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

.verification-key {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin: 10px 2px 0;
  color: var(--mid);
  font-size: 0.64rem;
}

.verification-key span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.verification-key i {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
}

.verification-note {
  grid-column: 2 / -1;
  min-width: 0;
}

.verification-note-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 3px 0;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
}

.verification-note-toggle:hover {
  color: var(--ink);
}

.verification-note-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.verification-note-preview {
  margin-top: 5px !important;
  color: var(--ink) !important;
  font-size: 0.72rem !important;
  font-style: italic;
  -webkit-line-clamp: unset !important;
}

.verification-note-editor {
  margin-top: 8px;
}

.verification-note-editor[hidden] {
  display: none;
}

.verification-note-editor textarea {
  display: block;
  width: 100%;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
  line-height: 1.4;
  resize: vertical;
}

.verification-note-editor > div {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}

.verification-note-editor button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
}

.verification-note-editor button:first-child {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.helpful-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.helpful-button:hover {
  border-color: var(--ink);
}

.empty-state {
  padding: 32px;
  border: 1px dashed var(--line);
  color: var(--mid);
  text-align: center;
}

.discussion-invite {
  margin-bottom: 20px;
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: 16px;
}

.discussion-invite > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.discussion-invite-icon {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.2rem;
}

.discussion-invite strong,
.discussion-invite > div:first-child span:last-child {
  display: block;
}

.discussion-invite strong {
  font-size: 0.86rem;
}

.discussion-invite > div:first-child span:last-child {
  margin-top: 3px;
  color: var(--mid);
  font-size: 0.72rem;
  line-height: 1.35;
}

.discussion-starters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  padding-left: 48px;
}

.discussion-starters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.discussion-starters button:hover,
.discussion-starters button:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.comment-list {
  display: grid;
  gap: 0;
}

.knowledge-list {
  border-top: 1px solid var(--ink);
}

.knowledge-item {
  border-bottom: 1px solid var(--line);
}

.knowledge-item summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

.knowledge-item summary::-webkit-details-marker {
  display: none;
}

.knowledge-item[open] summary span:last-child {
  transform: rotate(45deg);
}

.knowledge-item > p {
  max-width: 68ch;
  margin: 0 0 12px;
  line-height: 1.55;
}

.knowledge-meta,
.knowledge-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-bottom: 14px;
  color: var(--mid);
  font-size: 0.66rem;
  font-weight: 700;
}

.knowledge-sources a {
  color: var(--ink);
}

.knowledge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.knowledge-actions button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 700;
}

.knowledge-actions button:hover,
.knowledge-actions button:focus-visible,
.knowledge-actions button.is-active {
  border-color: var(--ink);
  color: var(--ink);
}

.knowledge-thread {
  margin: -2px 0 16px;
  border-top: 1px solid var(--line);
}

.knowledge-thread > summary {
  display: flex;
  justify-content: space-between;
  padding: 11px 0 5px;
  color: var(--mid);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 750;
  list-style: none;
}

.knowledge-thread > summary::-webkit-details-marker {
  display: none;
}

.knowledge-thread > summary span:last-child {
  display: grid;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.knowledge-thread-list {
  display: grid;
  gap: 0;
  padding-top: 5px;
}

.knowledge-thread-list article {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.knowledge-thread-list article > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.knowledge-thread-list article strong {
  font-size: 0.72rem;
}

.knowledge-thread-list article div span {
  color: var(--mid);
  font-size: 0.6rem;
  font-weight: 700;
}

.knowledge-thread-list article p,
.knowledge-thread-empty {
  margin: 5px 0 0;
  color: var(--mid);
  font-size: 0.72rem;
  line-height: 1.45;
}

.knowledge-thread-add {
  justify-self: start;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 700;
}

.knowledge-thread-add:hover,
.knowledge-thread-add:focus-visible {
  border-color: var(--ink);
}

.place-live {
  margin: 18px 0 26px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.place-live-heading,
.place-event-heading,
.place-weather-now,
.place-weather-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.place-live-heading h2 {
  margin: 3px 0 0;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
}

.place-live-heading > span {
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.place-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  margin-top: 18px;
}

.place-weather-card {
  padding: 17px;
  border-radius: 18px;
  background: #f4f4f1;
}

.place-weather-now {
  justify-content: flex-start;
}

.place-weather-now img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.place-weather-now div,
.place-event-card span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.place-weather-now strong {
  font-size: 1.55rem;
  line-height: 1;
}

.place-weather-now span,
.place-weather-meta,
.place-event-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.place-weather-advisory {
  margin: 15px 0;
  line-height: 1.45;
}

.place-weather-advisory.is-alert {
  padding-left: 12px;
  border-left: 3px solid #111;
  font-weight: 700;
}

.place-weather-meta {
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.place-weather-meta a,
.place-event-heading a {
  color: inherit;
  font-weight: 700;
}

.place-event-list {
  min-width: 0;
}

.place-event-heading {
  margin-bottom: 9px;
}

.place-event-track {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 1px 1px 6px;
  scrollbar-width: none;
  scroll-padding-inline: 1px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.place-event-track::-webkit-scrollbar {
  display: none;
}

.place-event-card {
  display: block;
  flex: 0 0 min(78%, 265px);
  min-width: 0;
  min-height: 124px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
}

.place-event-card.is-featured {
  border-color: #111;
  box-shadow: 0 5px 16px rgb(0 0 0 / 8%);
}

.place-event-card span {
  height: 100%;
  align-content: start;
  gap: 5px;
}

.place-event-card b {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.place-event-card strong,
.place-event-card small,
.place-event-card em {
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-event-card strong {
  display: -webkit-box;
  font-size: 0.94rem;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.place-event-card small {
  display: -webkit-box;
  color: var(--mid);
  font-size: 0.68rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.place-event-card em {
  margin-top: auto;
  color: var(--mid);
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.gallery-photo-map {
  position: absolute;
  right: 16px;
  bottom: 58px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  color: #111;
  box-shadow: 0 4px 14px rgb(0 0 0 / 14%);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.gallery-photo-map[hidden] {
  display: none;
}

.gallery-photo-map svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

@media (max-width: 760px) {
  .place-live-grid {
    grid-template-columns: 1fr;
  }

  .place-live-heading {
    align-items: flex-start;
  }

  .place-live-heading > span {
    padding-top: 3px;
  }

  .gallery-photo-map {
    right: 12px;
    bottom: 52px;
  }
}

.place-explorer {
  margin: 34px 0 8px;
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
}

.place-explorer[hidden] {
  display: none;
}

.place-explorer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.place-explorer-heading h2 {
  margin: 5px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.05em;
}

.place-explorer-heading p:last-child {
  margin: 0;
  color: var(--mid);
}

.site-map-heading-actions {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.site-map-heading-actions > span {
  color: var(--mid);
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-map-heading-actions button,
.site-map-heading-actions a {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.site-map-heading-actions button:hover,
.site-map-heading-actions button:focus-visible,
.site-map-heading-actions a:hover,
.site-map-heading-actions a:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.feature-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 0 -2px 14px;
  padding: 2px;
  scrollbar-width: none;
}

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

.feature-filters button {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
}

.feature-filters button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.place-explorer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  height: 360px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.internal-map {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 360px;
  min-height: 0;
  overflow: hidden;
  background: var(--soft);
  touch-action: pan-y;
}

.internal-map-tiles,
.internal-map-markers {
  position: absolute;
  inset: 0;
}

.internal-map-tiles {
  overflow: hidden;
  background: #e8e8e5;
}

.internal-map-tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
}

.internal-map-markers {
  z-index: 1;
  pointer-events: none;
}

.internal-user-location {
  --location-size: 38px;
  position: absolute;
  z-index: 4;
  width: var(--location-size);
  height: var(--location-size);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.internal-user-location[hidden] {
  display: none;
}

.internal-map-compass {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgb(255 255 255 / 88%);
  font-size: 0.62rem;
  font-weight: 700;
  pointer-events: none;
}

.internal-map-compass::before {
  position: absolute;
  top: -6px;
  border-right: 4px solid transparent;
  border-bottom: 7px solid var(--ink);
  border-left: 4px solid transparent;
  content: "";
}

.internal-map-label {
  position: absolute;
  right: 14px;
  bottom: 26px;
  padding: 5px 7px;
  border-radius: 5px;
  background: rgb(255 255 255 / 88%);
  color: var(--mid);
  font-size: 0.58rem;
  font-weight: 700;
}

.internal-map-attribution {
  position: absolute;
  z-index: 3;
  right: 6px;
  bottom: 4px;
  padding: 2px 4px;
  background: rgb(255 255 255 / 82%);
  color: #555;
  font-size: 0.52rem;
  line-height: 1;
}

.internal-map-attribution a {
  color: inherit;
}

.internal-map-controls {
  position: absolute;
  z-index: 7;
  top: 14px;
  left: 14px;
  display: flex;
  overflow: hidden;
  border: 1px solid rgb(20 20 20 / 18%);
  border-radius: 11px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 4px 16px rgb(0 0 0 / 10%);
  backdrop-filter: blur(12px);
}

.internal-map-controls button {
  min-width: 34px;
  height: 34px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 750;
}

.internal-map-controls button:first-child,
.internal-map-controls button:nth-child(2) {
  padding: 0;
  font-size: 1rem;
}

.internal-map-controls button:last-child {
  border-right: 0;
}

.internal-map-controls button:hover,
.internal-map-controls button:focus-visible {
  background: var(--soft);
  outline: none;
}

.internal-feature-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
  font-size: 0.7rem;
  font-weight: 700;
  pointer-events: auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.internal-crumb-marker,
.internal-crumb-draft {
  position: absolute;
  z-index: 5;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50% 50% 50% 8px;
  background: #393939;
  color: var(--paper);
  box-shadow: 0 2px 10px rgb(0 0 0 / 28%);
  font-size: 0.66rem;
  font-weight: 800;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -78%) rotate(-45deg);
}

.internal-crumb-marker span,
.internal-crumb-draft span {
  transform: rotate(45deg);
}

.internal-crumb-marker.has-360 {
  width: 46px;
  height: 36px;
  border-radius: 12px 12px 12px 4px;
  background: #1d1d1f;
  transform: translate(-50%, -80%) rotate(-4deg);
}

.internal-crumb-marker.has-360 span {
  transform: none;
  font-size: 0.62rem;
  letter-spacing: -0.02em;
}

.internal-crumb-marker.has-360::after {
  position: absolute;
  right: 6px;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  background: inherit;
  content: "";
  transform: rotate(45deg);
}

.internal-crumb-marker.is-demo {
  width: 58px;
}

.internal-crumb-marker.is-demo small {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  border-radius: 999px;
  padding: 2px 5px;
  background: rgb(255 255 255 / 94%);
  color: var(--ink);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.internal-crumb-marker[hidden],
.internal-crumb-draft[hidden],
.internal-photo-location[hidden] {
  display: none;
}

.internal-crumb-draft {
  z-index: 8;
  background: var(--paper);
  color: var(--ink);
  outline: 2px solid var(--ink);
}

.internal-crumb-draft span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.internal-photo-location {
  position: absolute;
  z-index: 9;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50% 50% 50% 8px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 3px 12px rgb(0 0 0 / 30%);
  pointer-events: none;
  transform: translate(-50%, -78%) rotate(-45deg);
}

.internal-photo-location svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: rotate(45deg);
}

.internal-map.is-dropping-crumb {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  cursor: crosshair;
}

.crumb-layer-toggle::before {
  content: "•";
  margin-right: 5px;
}

.view-360-layer-toggle::before {
  content: "◉";
  margin-right: 5px;
  font-size: 0.58rem;
}

body.has-site-map-open {
  overflow: hidden;
}

.place-explorer.is-map-expanded {
  position: fixed;
  z-index: 240;
  inset: 0;
  display: flex;
  height: 100dvh;
  margin: 0;
  padding: 22px;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--paper);
}

.place-explorer.is-map-expanded .place-explorer-heading {
  flex: none;
  margin-bottom: 12px;
}

.place-explorer.is-map-expanded .place-explorer-heading > div:first-child p:last-child {
  display: none;
}

.place-explorer.is-map-expanded .feature-filters {
  flex: none;
}

.place-explorer.is-map-expanded .place-explorer-layout {
  height: auto;
  flex: 1;
}

.place-explorer.is-map-expanded .internal-map,
.place-explorer.is-map-expanded .feature-browser {
  height: 100%;
}

.place-explorer.has-only-360 .place-explorer-layout {
  grid-template-columns: 1fr;
}

.place-explorer.has-only-360 .feature-browser {
  display: none;
}

.internal-feature-marker[hidden] {
  display: none;
}

.internal-feature-marker.is-selected {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1.22);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.feature-browser {
  display: flex;
  min-height: 0;
  height: 360px;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.feature-browser-count {
  margin: 0;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--mid);
  font-size: 0.66rem;
  font-weight: 700;
}

.feature-list {
  overflow-y: auto;
}

.feature-index-links {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fff;
}

.feature-index-links > span {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}

.feature-index-links a {
  color: var(--mid);
  font-size: 0.74rem;
  text-underline-offset: 3px;
}

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 15px;
  min-height: 138px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: box-shadow 70ms ease-out, border-color 70ms ease-out;
}

.feature-card.is-selected {
  background: #fff;
  box-shadow: inset 2px 0 0 var(--ink), 0 2px 9px rgb(0 0 0 / 6%);
}

.feature-card-media {
  position: relative;
  display: grid;
  width: 118px;
  height: 118px;
  overflow: hidden;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: #eeeeeb;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}

.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-photo-prompt {
  display: grid !important;
  gap: 4px;
  padding: 12px;
  place-items: center;
  color: var(--mid) !important;
  font-size: 0.58rem !important;
  font-weight: 700;
  line-height: 1.1 !important;
  text-align: center;
}

.feature-photo-prompt b {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.feature-card-number {
  position: absolute;
  top: 6px;
  left: 6px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.64rem;
  font-weight: 700;
  box-shadow: 0 1px 5px rgb(0 0 0 / 22%);
}

.feature-card-kind {
  position: absolute;
  right: 7px;
  bottom: 7px;
  max-width: calc(100% - 14px);
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 90%);
  color: var(--ink);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.feature-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 7px 0 3px;
}

.feature-card p,
.feature-card h3,
.feature-card-body > span {
  margin: 0;
}

.feature-card h3 {
  margin-top: 0;
  padding-right: 2px;
  font-size: 1.02rem;
  line-height: 1.15;
}

.feature-card h3 a {
  color: inherit;
  text-decoration: none;
}

.feature-card-body > span {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--mid);
  font-size: 0.7rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feature-card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
}

.feature-card-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-card-guide {
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}

.feature-card-guide span {
  display: inline-block;
  transition: transform 160ms ease;
}

.feature-card-guide:hover span {
  transform: translateX(3px);
}

.feature-photo-credit,
.feature-information-source {
  display: inline-block;
  margin-top: 0;
  color: var(--mid);
  font-size: 0.54rem;
  line-height: 1.25;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.feature-information-source {
  margin-right: 8px;
  font-weight: 700;
}

.feature-card-navigate {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  transform: translateY(3px);
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color 70ms ease-out, background 70ms ease-out;
}

.feature-card-navigate svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.feature-card-navigate:focus-visible {
  border-color: var(--ink);
  background: var(--soft);
}

.feature-card-navigate:focus:not(:focus-visible) {
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
  outline: none;
}

.feature-card-navigate:active {
  border-color: var(--ink);
  background: var(--soft);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card-navigate:hover {
    border-color: var(--ink);
    background: var(--soft);
  }
}

@media (max-width: 760px) {
  .nearby-discovery-heading {
    display: block;
  }

  .nearby-map-link {
    display: inline-block;
    margin-top: 12px;
  }

  .nearby-discovery-toolbar {
    margin-top: 16px;
  }

  .nearby-place-track {
    width: calc(100vw - 34px);
    margin-right: calc(50% - 50vw + 17px);
  }

  .nearby-place-card {
    flex-basis: min(78vw, 300px);
  }

  .place-explorer {
    margin-inline: -1px;
    padding: 18px 0 0;
    overflow: hidden;
    border-radius: 20px;
  }

  .place-explorer-heading,
  .feature-filters {
    margin-right: 16px;
    margin-left: 16px;
  }

  .place-explorer-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .place-explorer-heading > div:first-child {
    width: 100%;
    min-width: 0;
  }

  .site-map-heading-actions {
    width: 100%;
    justify-content: space-between;
  }

  .site-map-heading-actions a {
    display: none;
  }

  .site-map-heading-actions > span {
    white-space: normal;
  }

  .place-explorer-layout {
    display: block;
    height: auto;
    min-height: 0;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .internal-map {
    height: 260px;
    min-height: 260px;
  }

  .place-explorer.is-map-expanded {
    padding: max(16px, env(safe-area-inset-top)) 0 env(safe-area-inset-bottom);
  }

  .place-explorer.is-map-expanded .place-explorer-heading,
  .place-explorer.is-map-expanded .feature-filters {
    margin-right: 16px;
    margin-left: 16px;
  }

  .place-explorer.is-map-expanded .place-explorer-heading {
    display: block;
  }

  .place-explorer.is-map-expanded .place-explorer-heading h2 {
    font-size: 1.3rem;
  }

  .place-explorer.is-map-expanded .place-explorer-layout {
    min-height: 0;
    border-bottom: 0;
  }

  .place-explorer.is-map-expanded .internal-map {
    height: 100%;
    min-height: 0;
  }

  .place-explorer.is-map-expanded .feature-browser {
    display: none;
  }

  .internal-map-controls {
    top: 12px;
    left: 12px;
  }

  .feature-browser {
    height: auto;
    border: 0;
  }

  .feature-browser-count {
    display: none;
  }

  .feature-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .feature-list::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex: 0 0 min(78vw, 300px);
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 320px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 6%);
    overflow: hidden;
    scroll-snap-align: center;
  }

  .feature-card-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 0;
  }

  .feature-card-body {
    min-height: 142px;
    padding: 16px;
  }

  .feature-card h3 {
    padding-right: 28px;
    font-size: 1.1rem;
  }

  .feature-card-body > span {
    font-size: 0.74rem;
  }

  .feature-card.is-selected {
    border-color: rgb(0 0 0 / 42%);
    background: #fff;
    box-shadow: 0 5px 14px rgb(0 0 0 / 10%), inset 0 0 0 1px rgb(0 0 0 / 24%);
  }
}

/* Sub-location detail */
.feature-detail-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 110px;
}

.feature-parent-link {
  display: inline-flex;
  margin-bottom: 28px;
}

.feature-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.feature-detail-media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(135deg, transparent 48%, rgb(0 0 0 / 4%) 49%, rgb(0 0 0 / 4%) 51%, transparent 52%),
    var(--soft);
}

.feature-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-detail-photo-credit {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgb(12 18 28 / 78%);
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.2;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.feature-detail-media-placeholder {
  width: min(390px, calc(100% - 36px));
  padding: clamp(24px, 5vw, 42px);
}

.feature-detail-intro h1 {
  max-width: 760px;
  margin: 8px 0 16px;
  font: 700 clamp(2.5rem, 6vw, 5.2rem) / 0.94 var(--font-display);
  letter-spacing: -0.065em;
}

.feature-detail-summary {
  max-width: 680px;
  margin: 0;
  color: var(--mid);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.feature-detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.feature-detail-actions a,
.feature-detail-actions button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: 700 0.75rem var(--font-body);
  text-decoration: none;
}

.feature-detail-actions a {
  background: var(--ink);
  color: var(--paper);
}

.feature-detail-actions svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.feature-detail-context {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(34px, 7vw, 86px);
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.feature-detail-context h2,
.feature-discussion h2 {
  margin: 7px 0 12px;
  font: 700 clamp(1.8rem, 4vw, 2.7rem) / 1 var(--font-display);
  letter-spacing: -0.045em;
}

.feature-detail-context > div > p:last-child,
.feature-discussion-heading > div > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--mid);
  line-height: 1.6;
}

.feature-detail-context dl {
  margin: 0;
}

.feature-detail-context dl > div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.feature-detail-context dt {
  color: var(--mid);
}

.feature-detail-context dd {
  margin: 0;
  font-weight: 700;
}

.feature-detail-context a {
  color: inherit;
}

.feature-guidance {
  margin-top: 14px !important;
}

.feature-question-section {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
}

.feature-question-section h2 {
  margin: 7px 0 12px;
  font: 700 clamp(1.7rem, 4vw, 2.5rem) / 1 var(--font-display);
  letter-spacing: -0.045em;
}

.feature-question-section > div > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--mid);
  line-height: 1.6;
}

.feature-question-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.feature-question-pill {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.feature-question-pill:hover,
.feature-question-pill:focus-visible {
  border-color: var(--ink);
}

.feature-discussion {
  padding-top: 58px;
}

.feature-discussion-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.feature-discussion-heading > span {
  flex: none;
  color: var(--mid);
  font-size: 0.75rem;
  font-weight: 700;
}

.feature-contribution-form {
  display: grid;
  gap: 12px;
  margin: 30px 0 38px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--ink);
  border-radius: 20px;
}

.feature-form-row {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 10px;
}

.feature-contribution-form input,
.feature-contribution-form select,
.feature-contribution-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.feature-contribution-form textarea {
  min-height: 108px;
  resize: vertical;
}

.feature-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feature-form-actions label {
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feature-form-actions input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.feature-form-actions button {
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-weight: 700;
}

#feature-form-status {
  min-height: 1em;
  margin: 0;
  color: var(--mid);
  font-size: 0.72rem;
}

.feature-comment {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-comment > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.feature-comment span {
  color: var(--mid);
  font-size: 0.7rem;
}

.feature-comment p {
  max-width: 760px;
  margin: 10px 0 0;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .feature-detail-shell {
    width: min(100% - 28px, 620px);
    padding-top: 26px;
  }

  .feature-parent-link {
    margin-bottom: 18px;
  }

  .feature-detail-hero,
  .feature-detail-context {
    grid-template-columns: 1fr;
  }

  .feature-detail-hero {
    gap: 25px;
    padding-bottom: 38px;
  }

  .feature-detail-media {
    margin-inline: -14px;
    border-radius: 0;
  }

  .feature-detail-intro h1 {
    font-size: clamp(2.6rem, 13vw, 4.3rem);
  }

  .feature-detail-context {
    gap: 28px;
    padding: 40px 0;
  }

  .feature-discussion {
    padding-top: 42px;
  }

  .feature-discussion-heading {
    align-items: start;
  }

  .feature-form-row {
    grid-template-columns: 1fr;
  }
}

.comment {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.comment:last-child {
  border-bottom: 1px solid var(--line);
}

.comment strong {
  font-size: 0.86rem;
}

.review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.review-heading > div {
  display: grid;
  gap: 4px;
}

.comment-profile-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.contributor-level {
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 7px;
  color: var(--mid);
  font-size: 0.56rem;
  font-weight: 750;
}

.helpful-button {
  margin-top: 14px;
}

.review-rating {
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.context-label {
  color: var(--mid);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.comment p {
  margin: 0;
  line-height: 1.6;
}

.comment.is-reply {
  margin-left: 42px;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.comment.is-ai-reply {
  border-left-color: var(--ink);
  background: linear-gradient(90deg, var(--soft), transparent 72%);
}

.ai-author-mark {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}

.ai-answer-state {
  color: var(--mid);
  font-size: 0.64rem;
  font-weight: 700;
}

.ai-reply-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.ai-reply-sources a {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 700;
  text-decoration: none;
}

.ai-reply-sources a:hover {
  border-color: var(--ink);
}

.crumb-media-strip {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-top: 14px;
  padding-bottom: 4px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.crumb-community-image,
.crumb-360-view {
  position: relative;
  flex: 0 0 min(78vw, 310px);
  height: 210px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.crumb-community-image.is-panorama {
  flex-basis: min(88vw, 420px);
}

.crumb-community-image img,
.crumb-360-view > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crumb-community-image.is-panorama img {
  object-fit: contain;
}

.crumb-community-image span,
.crumb-360-view button {
  position: absolute;
  right: 9px;
  bottom: 9px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgb(20 20 20 / 78%);
  color: var(--paper);
  font-size: 0.62rem;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.crumb-360-view button {
  cursor: pointer;
}

.crumb-360-view > span {
  position: absolute;
  top: 9px;
  left: 9px;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgb(20 20 20 / 72%);
  color: var(--paper);
  font-size: 0.58rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.crumb-community-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.crumb-community-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--soft);
  color: var(--mid);
  font-size: 0.58rem;
  font-weight: 700;
}

.crumb-community-meta svg {
  width: 13px;
  height: 13px;
}

.community-profile-level {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 16px;
  background: var(--soft);
}

.community-profile-level > span {
  overflow: hidden;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
}

.community-profile-level > span.has-photo {
  background: var(--line);
}

.community-profile-level > span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-profile-level div {
  display: grid;
  gap: 3px;
}

.community-profile-level small {
  color: var(--mid);
  font-size: 0.66rem;
}

.community-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.community-impact-grid div {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
}

.community-impact-grid strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.community-impact-grid span,
.community-badge-list span {
  color: var(--mid);
  font-size: 0.62rem;
  text-transform: capitalize;
}

.community-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.community-badge-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--ink);
  font-weight: 700;
}

.comment-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.comment-actions .helpful-button {
  margin-top: 0;
}

.reply-button {
  border: 0;
  padding: 7px 5px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.report-button {
  border: 0;
  padding: 7px 5px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.report-button:hover {
  color: var(--ink);
}

.reply-button:hover {
  color: var(--ink);
}

.reply-composer {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--soft);
}

.reply-composer[hidden] {
  display: none;
}

.reply-composer input,
.reply-composer textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.45;
}

.reply-composer input {
  margin-bottom: 8px;
}

.reply-composer textarea {
  min-height: 86px;
  resize: vertical;
}

.reply-composer > div {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.reply-composer button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.reply-composer button:first-child {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.contribute-card {
  border: 1px solid var(--ink);
  padding: 28px;
}

.contact-card {
  margin-bottom: 20px;
  padding: 24px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.contact-card h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.contact-link {
  display: block;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-card > p:last-child,
.contact-card > p:nth-last-child(2) {
  margin: 14px 0 0;
  color: var(--mid);
  font-size: 0.8rem;
  line-height: 1.5;
}

.record-actions {
  margin-top: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.steward-card {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--ink);
}

.steward-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.steward-card > p:not(.kicker) {
  margin: 10px 0 18px;
  color: var(--mid);
  font-size: 0.82rem;
  line-height: 1.55;
}

.record-actions h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.record-actions p {
  margin: 8px 0 18px;
  color: var(--mid);
  font-size: 0.84rem;
  line-height: 1.5;
}

.outline-button,
.plain-button {
  width: 100%;
  padding: 11px 14px;
  cursor: pointer;
  font-weight: 700;
}

.outline-button {
  border: 1px solid var(--ink);
  background: var(--paper);
}

.plain-button {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--mid);
}

.source-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.source-disclosure {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.source-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

.source-disclosure summary::-webkit-details-marker {
  display: none;
}

.source-disclosure summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.3rem;
}

.source-disclosure[open] summary::after {
  content: "−";
}

.source-disclosure summary .source-count {
  margin-left: auto;
}

.source-disclosure > p {
  margin: -6px 0 0;
  color: var(--mid);
  font-size: 0.76rem;
}

.source-disclosure .source-list {
  margin-top: 16px;
}

.optional-label {
  color: var(--mid);
  font-size: 0.68rem;
  font-weight: 500;
}

.source-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.source-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.88rem;
}

.source-item span,
.source-count {
  color: var(--mid);
  font-size: 0.74rem;
}

.source-item a {
  align-self: center;
  font-size: 0.78rem;
}

.site-dialog {
  width: min(620px, calc(100% - 28px));
  max-width: calc(100vw - 16px);
  max-height: calc(var(--auditmap-visual-viewport-height, 100dvh) - 16px);
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 0;
  border: 1px solid rgb(0 0 0 / 9%);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-panel);
}

html.has-open-site-dialog,
body.has-open-site-dialog {
  overflow: hidden;
  overscroll-behavior: none;
}

body.has-open-site-dialog {
  touch-action: none;
}

.funding-dialog {
  width: min(600px, calc(100vw - 16px));
  max-height: calc(var(--auditmap-visual-viewport-height, 100dvh) - 16px);
  overflow: hidden;
  border-radius: clamp(18px, 5vw, 24px);
}

.funding-dialog .dialog-form {
  width: 100%;
  min-width: 0;
  max-height: calc(var(--auditmap-visual-viewport-height, 100dvh) - 18px);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(7px, 1.35dvh, 14px);
  overflow: hidden;
  padding: clamp(14px, 2.6dvh, 24px);
}

.funding-dialog .dialog-heading,
.funding-dialog .dialog-heading > div,
.funding-dialog fieldset,
.funding-dialog label,
.funding-dialog input,
.funding-dialog textarea {
  min-width: 0;
  max-width: 100%;
}

.funding-dialog [hidden] {
  display: none !important;
}

.funding-dialog .dialog-heading {
  gap: 10px;
}

.funding-dialog .dialog-heading h2 {
  overflow-wrap: anywhere;
  font-size: clamp(1.16rem, 4.8vw, 1.65rem);
  line-height: 1.04;
}

.funding-dialog .dialog-copy {
  font-size: clamp(0.68rem, 2.4vw, 0.78rem);
  line-height: 1.35;
}

.funding-dialog .funding-amounts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.funding-dialog .funding-amounts legend {
  margin-bottom: 2px;
  font-size: 0.74rem;
}

.funding-dialog .funding-amounts span {
  min-height: 42px;
  padding: 10px 3px;
  font-size: 0.78rem;
}

.funding-dialog .funding-amounts input {
  width: 1px;
  min-width: 1px;
  max-width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
}

.funding-dialog .dialog-form label {
  gap: 4px;
  font-size: 0.72rem;
}

.funding-dialog .dialog-form input,
.funding-dialog .dialog-form textarea {
  min-height: 42px;
  padding: 9px 10px;
  background: var(--paper);
  font-size: 16px;
}

.funding-dialog .dialog-form textarea {
  height: clamp(48px, 8dvh, 72px);
  min-height: 48px;
  max-height: 72px;
  resize: none;
}

.funding-dialog .submit-button {
  min-height: 44px;
  padding: 10px 16px;
}

.funding-dialog .form-status:empty {
  display: none;
}

.funding-dialog-disclosure {
  margin: 0 2px;
  font-size: 0.58rem;
  line-height: 1.25;
}

@media (min-width: 560px) and (min-height: 620px) {
  .funding-dialog .dialog-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .funding-dialog .dialog-heading,
  .funding-dialog .dialog-copy,
  .funding-dialog .funding-cadence,
  .funding-dialog .funding-amounts,
  .funding-dialog .funding-custom-amount,
  .funding-dialog .submit-button,
  .funding-dialog .form-status,
  .funding-dialog-disclosure {
    grid-column: 1 / -1;
  }
}

@media (max-height: 700px) {
  .funding-dialog .dialog-form {
    gap: 6px;
    padding: 12px;
  }

  .funding-dialog .dialog-copy {
    font-size: 0.64rem;
  }

  .funding-dialog .dialog-form textarea {
    height: 48px;
  }
}

@media (max-height: 540px) {
  .funding-dialog .dialog-copy,
  .funding-dialog .funding-note {
    display: none;
  }

  .funding-dialog .dialog-heading h2 {
    font-size: 1.02rem;
  }

  .funding-dialog .funding-cadence span,
  .funding-dialog .funding-amounts span {
    min-height: 34px;
    padding-block: 7px;
  }

  .funding-dialog .dialog-form input {
    min-height: 38px;
  }

  .funding-dialog .submit-button {
    min-height: 40px;
  }
}

@media (max-height: 460px) {
  .funding-dialog:has(input:focus, textarea:focus) .dialog-heading > div,
  .funding-dialog:has(input:focus, textarea:focus) .dialog-copy,
  .funding-dialog:has(input:focus, textarea:focus) .funding-dialog-disclosure {
    display: none;
  }

  .funding-dialog:has(input:focus, textarea:focus) .dialog-heading {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
  }

  .funding-dialog:has(input:focus, textarea:focus) .dialog-form {
    padding-right: 54px;
  }
}

.filter-dialog {
  width: min(680px, calc(100% - 40px));
  max-height: min(84dvh, 760px);
  border-radius: 24px;
}

.filter-dialog-form {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(84dvh, 760px);
  overflow: hidden;
  padding: 0;
}

.filter-dialog-form .dialog-heading {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding: 26px 28px 22px;
}

.filter-dialog-form .dialog-heading h2 {
  max-width: 460px;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.filter-dialog-intro {
  max-width: 480px;
  margin: 7px 0 0;
  color: var(--mid);
  font-size: 0.76rem;
  line-height: 1.45;
}

.filter-dialog-body {
  display: grid;
  gap: 28px;
  overflow-y: auto;
  padding: 24px 28px 28px;
  overscroll-behavior: contain;
}

.filter-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.filter-fieldset legend {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.filter-fieldset > p {
  margin: 0 0 12px;
  color: var(--mid);
  font-size: 0.68rem;
  line-height: 1.4;
}

.filter-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.rating-filter-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.filter-option {
  position: relative;
  cursor: pointer;
}

.filter-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-option > span {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.filter-option > span::after {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #aeb7b1;
  border-radius: 50%;
  color: white;
  content: "✓";
  font-size: 0.65rem;
  opacity: 0.7;
}

.filter-option-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.filter-option-copy strong,
.filter-option-copy small {
  display: block;
}

.filter-option-copy strong {
  color: inherit;
  font-size: 0.76rem;
  line-height: 1.15;
}

.filter-option-copy small {
  color: var(--mid);
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.25;
}

.filter-option input:checked + span {
  border-color: #769b84;
  background: #edf4ef;
  color: #173f32;
  box-shadow: inset 3px 0 0 #173f32;
}

.filter-option input:checked + span::after {
  border-color: #173f32;
  background: #173f32;
  opacity: 1;
}

.filter-option input:checked + span .filter-option-copy small {
  color: #527364;
}

.filter-option input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.filter-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 16px 28px 18px;
  background: rgb(255 255 255 / 98%);
}

.filter-clear-button {
  border: 0;
  color: var(--mid);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.filter-result-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.filter-result-action > span {
  color: var(--mid);
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
}

.filter-result-action .submit-button {
  min-width: 170px;
}

.filter-dialog-note {
  margin: -8px 0 0;
  border-radius: 12px;
  padding: 11px 13px;
  background: #f5f7f5;
  color: var(--mid);
  font-size: 0.66rem;
  line-height: 1.45;
}

.site-dialog::backdrop {
  background: rgb(0 0 0 / 28%);
  backdrop-filter: blur(1px);
}

.dialog-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dialog-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.dialog-copy {
  margin: 0;
  color: var(--mid);
  line-height: 1.5;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0;
  background: var(--soft);
  color: var(--mid);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.icon-button:hover {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dialog-form label {
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
}

.dialog-form input,
.dialog-form select,
.dialog-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 11px;
}

.dialog-form textarea {
  min-height: 110px;
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.contribute-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.contribute-card > p {
  margin: 10px 0 24px;
  color: var(--mid);
  line-height: 1.5;
}

.contribution-form {
  display: grid;
  gap: 16px;
}

.contribution-form label {
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
}

.contribution-form input,
.contribution-form select,
.contribution-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px;
  background: var(--paper);
  outline: none;
}

.contribution-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contribution-form input:focus,
.contribution-form select:focus,
.contribution-form textarea:focus {
  border-color: var(--ink);
}

.crumb-invitation {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: linear-gradient(145deg, #fff, #f5f5f5);
  box-shadow: var(--shadow-subtle);
}

.directions-return-prompt {
  position: fixed;
  z-index: 1200;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  width: min(620px, calc(100vw - 36px));
  padding: 14px 14px 14px 18px;
  border: 1px solid #d8d8d4;
  border-radius: 18px;
  background: rgba(255, 255, 253, 0.98);
  box-shadow: 0 14px 38px rgba(25, 25, 20, 0.16);
  animation: directions-return-enter 160ms ease-out both;
}

.directions-return-prompt div {
  display: grid;
  gap: 2px;
}

.directions-return-prompt strong {
  font-size: 0.88rem;
}

.directions-return-prompt span {
  color: var(--mid);
  font-size: 0.76rem;
  line-height: 1.35;
}

.directions-return-prompt > button {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.directions-return-prompt .directions-return-dismiss {
  display: grid;
  place-items: center;
  width: 42px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.directions-return-dismiss svg {
  width: 18px;
  height: 18px;
}

@keyframes directions-return-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.crumb-invitation-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.6rem;
}

.crumb-invitation h2,
.crumb-invitation p {
  margin: 0;
}

.crumb-invitation h2 {
  margin: 3px 0 5px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}

.crumb-invitation p:last-child {
  color: var(--mid);
  font-size: 0.76rem;
  line-height: 1.45;
}

.crumb-dialog {
  --community-forest: #173f32;
  --community-sage: #e5eee8;
  width: min(720px, calc(100vw - 24px));
  max-height: min(92dvh, 900px);
  overflow: hidden;
  overscroll-behavior-x: none;
  margin: auto;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 26px;
  padding: 0;
  background: var(--paper);
  box-shadow: var(--shadow-panel);
}

.crumb-dialog::backdrop {
  background: rgb(245 245 245 / 52%);
  backdrop-filter: blur(6px) saturate(0.8);
}

.crumb-sheet {
  width: 100%;
  max-width: 100%;
  max-height: min(92dvh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-x: none;
  padding: 24px;
}

.crumb-sheet-heading {
  position: sticky;
  z-index: 4;
  top: -24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: -24px -24px 8px;
  border-bottom: 1px solid var(--line);
  padding: 22px 24px 18px;
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(18px);
}

.crumb-sheet-heading h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  letter-spacing: -0.045em;
}

.crumb-sheet-heading p:last-child {
  max-width: 520px;
  margin: 7px 0 0;
  color: var(--mid);
  font-size: 0.7rem;
  line-height: 1.45;
}

.crumb-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.crumb-step-number {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 800;
}

.crumb-step h3 {
  margin: 4px 0 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.025em;
}

.crumb-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.crumb-type-grid button {
  display: grid;
  gap: 3px;
  min-height: 66px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: #f4f7f4;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.crumb-type-grid button.is-active {
  border-color: var(--community-forest);
  background: var(--community-forest);
  color: var(--paper);
}

.crumb-type-grid strong {
  font-size: 0.75rem;
}

.crumb-type-grid small {
  color: inherit;
  font-size: 0.61rem;
  opacity: 0.7;
}

.crumb-share-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 12px;
}

.crumb-share-options[hidden] {
  display: none;
}

.crumb-share-options > span {
  margin-right: 2px;
  color: var(--mid);
  font-size: 0.62rem;
  font-weight: 700;
}

.crumb-share-options button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--paper);
  color: var(--mid);
  cursor: pointer;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
}

.crumb-share-options button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.crumb-target-options {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 3px;
  scrollbar-width: none;
  touch-action: pan-x;
}

.crumb-target-options button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 750;
}

.crumb-target-options button.is-active {
  border-color: var(--community-forest);
  background: var(--community-forest);
  color: var(--paper);
}

.crumb-target-options button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

#crumb-feature {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  background: var(--soft);
}

.crumb-location-status {
  margin: 9px 0 0;
  color: var(--mid);
  font-size: 0.66rem;
  line-height: 1.4;
}

.crumb-compose,
.crumb-compose label {
  display: grid;
  gap: 7px;
}

.crumb-compose {
  gap: 13px;
}

.crumb-compose > h3 {
  margin-bottom: 1px;
}

.crumb-compose label {
  color: var(--mid);
  font-size: 0.68rem;
  font-weight: 700;
}

.crumb-compose textarea,
.crumb-compose input[type="date"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
}

.crumb-compose textarea {
  min-height: 112px;
  line-height: 1.5;
  resize: vertical;
}

.crumb-media-kind,
.crumb-verification-kind {
  display: flex;
  gap: 16px;
  border-radius: 13px;
  padding: 11px 13px;
  background: var(--soft);
}

.crumb-media-kind[hidden],
.crumb-verification-kind[hidden],
.crumb-topic-picker[hidden],
.crumb-media-picker[hidden] {
  display: none;
}

.crumb-topic-picker select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
}

.crumb-media-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.crumb-media-picker > span {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.crumb-media-picker svg {
  width: 18px;
  height: 18px;
}

.crumb-media-picker small {
  font-size: 0.61rem;
  font-weight: 500;
  text-align: center;
}

.crumb-media-preview {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.crumb-media-preview figure {
  flex: 0 0 150px;
  margin: 0;
}

.crumb-media-preview img {
  width: 150px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
}

.crumb-media-preview figcaption {
  overflow: hidden;
  margin-top: 5px;
  color: var(--mid);
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crumb-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  margin: 18px 0;
  color: var(--mid);
  font-size: 0.68rem;
  line-height: 1.45;
}

.crumb-submit-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.crumb-submit-row .form-status {
  flex: 1;
}

.account-impact {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.account-impact[hidden] {
  display: none;
}

.account-impact-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.account-impact-heading h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.account-impact-heading > span {
  color: var(--mid);
  font-size: 0.7rem;
  font-weight: 700;
}

#account-nickname-form {
  display: flex;
  align-items: end;
  gap: 8px;
}

#account-nickname-form label {
  display: grid;
  flex: 1;
  gap: 6px;
  color: var(--mid);
  font-size: 0.68rem;
  font-weight: 700;
}

#account-nickname-form input,
#account-nickname-form button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 12px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
}

.account-admin-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 13px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.account-admin-link[hidden],
.account-recent-crumbs[hidden] {
  display: none;
}

.account-admin-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.account-recent-crumbs {
  display: grid;
  gap: 9px;
}

.account-recent-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.account-recent-heading p {
  margin: 0;
}

.account-recent-heading span,
.account-crumb-card span {
  color: var(--mid);
  font-size: 0.62rem;
}

.account-crumb-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft);
}

.account-crumb-card > div:last-child {
  display: grid;
  gap: 4px;
  padding: 10px 10px 10px 0;
}

.account-crumb-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.account-crumb-media {
  position: relative;
  height: 72px;
  background: #e8e8e8;
}

.account-crumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-crumb-media span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  border-radius: 999px;
  padding: 3px 6px;
  background: rgb(0 0 0 / 76%);
  color: white;
  font-size: 0.58rem;
  font-weight: 800;
}

#account-nickname-form button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 620px) {
  .crumb-invitation {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .crumb-invitation-mark {
    width: 38px;
    height: 38px;
  }

  .crumb-invitation .submit-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .crumb-dialog {
    width: 100dvw;
    max-width: 100dvw;
    max-height: 94dvh;
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .crumb-sheet {
    width: 100dvw;
    max-width: 100dvw;
    max-height: 94dvh;
    padding: 20px 16px calc(26px + env(safe-area-inset-bottom));
  }

  .crumb-sheet-heading {
    top: -20px;
    margin: -20px -16px 6px;
    padding: 20px 16px 16px;
  }

  .crumb-type-grid {
    grid-template-columns: 1fr;
  }

  .crumb-submit-row {
    position: sticky;
    bottom: calc(-26px - env(safe-area-inset-bottom));
    margin: 0 -16px calc(-26px - env(safe-area-inset-bottom));
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(18px);
  }
}

.file-input {
  padding: 10px !important;
  font-size: 0.78rem;
}

.submit-button {
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 13px;
  padding: 13px 18px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-weight: 700;
}

.submit-button:hover {
  background: #2b2b2b;
  color: var(--paper);
}

.form-note,
.form-status {
  margin: 0 !important;
  font-size: 0.76rem;
}

.form-status {
  color: var(--ink) !important;
  font-weight: 600;
}

.not-found {
  padding: 15vh 20px;
  text-align: center;
}

.not-found h1 {
  font-family: var(--font-display);
}

@media (max-width: 860px) {
  .site-header {
    height: 62px;
    padding: 0 18px;
  }

  .site-menu-button {
    width: 40px;
    height: 40px;
  }

  .ask-auditmap {
    z-index: 1850;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
  }

  .ask-launcher {
    display: none !important;
  }

  .ask-panel {
    position: fixed;
    inset: auto 8px calc(8px + env(safe-area-inset-bottom));
    width: auto;
    height: min(78dvh, 680px);
    border-radius: 24px;
  }

  .has-open-ask {
    overflow: hidden;
  }

  .mobile-bottom-nav {
    display: none;
  }

  .mobile-command-surface {
    position: fixed;
    z-index: 1750;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
    display: grid;
    gap: 8px;
    max-width: 680px;
    margin: 0 auto;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-command-bar {
    display: grid;
    min-height: 60px;
    grid-template-columns: 44px minmax(0, 1fr) 42px;
    align-items: end;
    gap: 4px;
    border: 1px solid rgb(0 0 0 / 9%);
    border-radius: 20px;
    padding: 7px;
    background: rgb(248 248 248 / 96%);
    box-shadow: var(--shadow-subtle);
    backdrop-filter: saturate(1.15) blur(20px);
    transition: border-radius 180ms ease, box-shadow 180ms ease;
  }

  .mobile-command-bar textarea {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    max-height: 132px;
    border: 0;
    padding: 11px 10px 9px;
    background: transparent;
    color: var(--ink);
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 450;
    line-height: 1.45;
    resize: none;
  }

  .mobile-command-bar textarea::placeholder {
    color: #8d8d8d;
    opacity: 1;
  }

  .mobile-command-bar textarea:disabled {
    cursor: wait;
  }

  .mobile-command-plus,
  .mobile-command-send {
    display: grid;
    place-items: center;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
  }

  .mobile-command-plus {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: var(--ink);
    transition: background 150ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-command-plus:hover,
  .mobile-command-plus[aria-expanded="true"] {
    background: var(--hover);
  }

  .mobile-command-plus[aria-expanded="true"] {
    transform: rotate(45deg);
  }

  .mobile-command-send {
    width: 40px;
    height: 40px;
    border: 0;
    background: var(--ink);
    color: var(--paper);
    transition: background 150ms ease, transform 150ms ease;
  }

  .mobile-command-send:not(:disabled):active {
    transform: scale(0.94);
  }

  .mobile-command-send:disabled {
    background: #dedede;
    color: #999;
    cursor: default;
  }

  .mobile-command-plus svg,
  .mobile-command-send svg {
    width: 22px;
    height: 22px;
  }

  .mobile-ask-scrim {
    position: fixed;
    z-index: 1730;
    inset: 0;
    display: block;
    background: rgb(245 245 245 / 36%);
    backdrop-filter: blur(4px) saturate(0.8);
  }

  .mobile-ask-scrim[hidden] {
    display: none;
  }

  body.has-active-mobile-ask {
    overflow: hidden;
  }

  .mobile-ask-suggestions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }

  .mobile-ask-suggestions::-webkit-scrollbar {
    display: none;
  }

  .mobile-ask-suggestions[hidden] {
    display: none;
  }

  .mobile-ask-suggestions button {
    flex: 0 0 min(76vw, 290px);
    min-height: 52px;
    scroll-snap-align: start;
    border: 1px solid rgb(0 0 0 / 9%);
    border-radius: 16px;
    padding: 10px 13px;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 4px 16px rgb(0 0 0 / 8%);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.35;
    text-align: left;
  }

  .has-active-mobile-ask .mobile-command-bar {
    border-radius: 22px;
    background: var(--paper);
    box-shadow: var(--shadow-panel);
  }

  .has-open-ask .mobile-command-surface {
    pointer-events: none;
    opacity: 0;
    transform: translateY(16px);
  }

  .ask-backdrop {
    position: fixed;
    z-index: 0;
    inset: 0;
    display: block;
    background: rgb(245 245 245 / 42%);
    backdrop-filter: blur(5px) saturate(0.78);
  }

  .ask-backdrop[hidden] {
    display: none;
  }

  .mobile-action-scrim {
    position: fixed;
    z-index: 1740;
    inset: 0;
    display: block;
    background: rgb(0 0 0 / 18%);
    backdrop-filter: blur(1px);
  }

  .mobile-action-scrim[hidden] {
    display: none;
  }

  body.has-open-mobile-actions {
    overflow: hidden;
  }

  .mobile-action-sheet {
    position: fixed;
    z-index: 1760;
    right: 8px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    left: 8px;
    display: block;
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid rgb(0 0 0 / 9%);
    border-radius: 24px;
    padding: 18px;
    background: var(--paper);
    box-shadow: var(--shadow-panel);
    opacity: 1;
    transform: translateY(0) scale(1);
    transform-origin: bottom center;
    transition: opacity 160ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-action-sheet[aria-hidden="true"] {
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  .mobile-action-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 2px 16px;
  }

  .mobile-action-heading .kicker {
    margin-bottom: 4px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .mobile-action-heading h2 {
    margin: 0;
    font: 600 1.25rem / 1.15 var(--font-display);
    letter-spacing: -0.035em;
  }

  .mobile-action-context {
    margin: -5px 2px 14px;
    border-radius: 10px;
    padding: 9px 11px;
    background: #e8f0ea;
    color: #315d46;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .mobile-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-action-tile {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 78px;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 11px;
    background: var(--panel);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    text-align: left;
    text-decoration: none;
    transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
  }

  .mobile-action-tile:hover {
    border-color: var(--line-strong);
    background: var(--paper);
  }

  .mobile-action-tile:active {
    transform: scale(0.98);
  }

  .mobile-action-tile.is-primary {
    border-color: #173f32;
    background: #173f32;
    color: white;
  }

  .mobile-action-tile.is-primary:hover {
    background: #214f3f;
  }

  .mobile-action-tile.is-primary small {
    color: rgb(255 255 255 / 72%);
  }

  .mobile-action-tile.is-primary .mobile-action-icon {
    border-color: rgb(255 255 255 / 18%);
    background: rgb(255 255 255 / 10%);
  }

  .mobile-action-icon {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
  }

  .mobile-action-icon svg {
    width: 21px;
    height: 21px;
  }

  .mobile-action-tile > span:last-child,
  .mobile-action-tile strong,
  .mobile-action-tile small {
    display: block;
    min-width: 0;
  }

  .mobile-action-tile strong {
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.15;
  }

  .mobile-action-tile small {
    margin-top: 4px;
    color: var(--mid);
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .mobile-action-tile.is-active .mobile-action-icon {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
  }

  .mobile-action-tile .filter-count {
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid var(--paper);
    background: var(--ink);
    color: var(--paper);
    font-size: 0.58rem;
    font-style: normal;
  }

  .mobile-action-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .mobile-action-footer button {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: var(--soft);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 600;
  }

  .mobile-action-footer svg {
    width: 18px;
    height: 18px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-lockup > p {
    max-width: 116px;
    padding-left: 10px;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .park-directory-link {
    display: none;
  }

  .map-mission {
    display: none;
  }

  .header-community-note {
    display: none;
  }

  .mobile-brand-path {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
    color: var(--mid);
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.025em;
  }

  .mobile-brand-path i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b5b5b5;
  }

  .mobile-brand-path strong {
    color: var(--ink);
  }

  body[data-page="map"] .mobile-brand-path {
    display: none;
  }

  .map-start-overlay {
    place-items: end center;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    background: rgb(244 244 242 / 64%);
    backdrop-filter: blur(10px) saturate(0.7);
  }

  .map-start-card {
    width: 100%;
    max-height: calc(100dvh - 20px - env(safe-area-inset-bottom));
    border-radius: 25px;
    padding: 25px 20px 18px;
    box-shadow: 0 20px 70px rgb(0 0 0 / 20%);
  }

  .map-start-intro h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .map-start-intro > p:last-child {
    max-width: 320px;
    font-size: 0.77rem;
  }

  .map-start-mark {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }

  .map-start-nearby {
    margin-top: 21px;
  }

  .map-start-suggestions {
    gap: 0;
  }

  .map-start-suggestions > button {
    min-height: 47px;
  }

  .map-page {
    position: relative;
    display: block;
    height: calc(100dvh - 144px - env(safe-area-inset-bottom));
    min-height: 560px;
    overflow: hidden;
  }

  .map-toolbar {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    gap: 6px;
  }

  .mobile-search-heading {
    display: none;
  }

  .mobile-search-scrim {
    position: fixed;
    z-index: 1810;
    inset: 0;
    display: block;
    background: rgb(0 0 0 / 28%);
    backdrop-filter: blur(2px);
  }

  .mobile-search-scrim[hidden] {
    display: none;
  }

  body.has-mobile-search {
    overflow: hidden;
  }

  body.has-mobile-search .map-toolbar {
    position: fixed;
    z-index: 1820;
    top: 72px;
    right: 14px;
    left: 14px;
    display: grid;
    width: auto;
    gap: 14px;
    border: 1px solid rgb(0 0 0 / 8%);
    border-radius: 24px;
    padding: 20px;
    background: var(--paper);
    box-shadow: var(--shadow-panel);
    pointer-events: auto;
  }

  body.has-mobile-search .mobile-search-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-search-heading .kicker {
    margin-bottom: 4px;
  }

  .mobile-search-heading strong {
    display: block;
    max-width: 260px;
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.2;
  }

  .mobile-search-heading button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 0;
    background: var(--soft);
    cursor: pointer;
  }

  .mobile-search-heading button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  body.has-mobile-search .map-toolbar > .location-button,
  body.has-mobile-search .map-toolbar > .toolbar-filter-button,
  body.has-mobile-search .map-toolbar > .location-status {
    display: none;
  }

  body.has-mobile-search .search-suggestions {
    position: static;
    grid-column: 1 / -1;
    max-height: min(50dvh, 430px);
    margin-top: 8px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 8px 0 0;
    box-shadow: none;
  }

  .radius-dialog {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
  }

  .map-note-dialog,
  .map-info-dialog {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
  }

  .map-note-form,
  .map-info-inner {
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  }

  .radius-dialog-form {
    padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
  }

  .search-field {
    min-height: 48px;
    border-radius: 12px;
  }

  .search-field input {
    min-width: 0;
    padding-right: 4px;
  }

  .search-field > button[type="submit"] {
    padding: 0 16px;
    border-radius: 0 11px 11px 0;
  }

  .search-field .search-suggestion {
    border-radius: 8px;
    padding: 8px 10px;
  }

  .search-suggestions {
    right: 0;
    left: 0;
    max-height: min(360px, calc(100dvh - 155px));
  }

  .location-button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 12px;
  }

  .toolbar-filter-button {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .location-button #location-button-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .location-status {
    top: 55px;
  }

  .map-wrap {
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .leaflet-control-zoom {
    display: none;
  }

  .places-sidebar {
    --map-deck-forest: #173f32;
    --map-deck-sage: #e6efe9;
    position: absolute;
    z-index: 800;
    inset: auto 10px 0;
    height: min(78%, 680px);
    max-height: none;
    overflow-y: auto;
    border: 1px solid rgb(0 0 0 / 9%);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 36px rgb(0 0 0 / 10%);
    transform: translateY(calc(100% - 205px));
    transition: transform 240ms ease;
    overscroll-behavior: contain;
  }

  .places-sidebar.is-expanded {
    transform: translateY(0);
  }

  .places-sidebar.has-place-preview {
    height: min(32dvh, 285px);
    min-height: 275px;
    overflow: hidden;
    transform: translateY(0);
  }

  .places-sidebar.has-place-preview.has-explorer-preview {
    height: min(38dvh, 335px);
    min-height: 325px;
  }

  .places-sidebar.has-place-preview.is-opening-place {
    transform: translateY(0);
  }

  .places-sidebar.has-place-preview .sidebar-heading,
  .places-sidebar.has-place-preview .map-mission,
  .places-sidebar.has-place-preview .filter-row,
  .places-sidebar.has-place-preview .results-count,
  .places-sidebar.has-place-preview .place-list {
    display: none;
  }

  .sheet-header {
    position: sticky;
    z-index: 8;
    top: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 58px;
    border-radius: 22px 22px 0 0;
    background: var(--paper);
  }

  .sheet-handle {
    position: relative;
    z-index: 1;
    top: auto;
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    width: auto;
    height: 58px;
    border: 0;
    border-radius: 22px 22px 0 0;
    padding: 15px 18px 8px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    touch-action: none;
  }

  .places-sidebar.is-expanded .sheet-handle-action,
  .places-sidebar.has-place-preview .sheet-handle-action {
    visibility: hidden;
  }

  .places-sidebar.is-expanded .sheet-map-return,
  .places-sidebar.has-place-preview .sheet-map-return {
    position: relative;
    z-index: 7;
    top: auto;
    right: auto;
    display: inline-flex;
    flex: none;
    min-width: 76px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    margin: 3px 12px 0 0;
    border: 1px solid rgb(23 63 50 / 20%);
    border-radius: 999px;
    background: #edf4ef;
    color: #173f32;
    box-shadow: 0 4px 14px rgb(23 63 50 / 12%);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 850;
    cursor: pointer;
  }

  .sheet-grabber {
    position: absolute;
    z-index: 10;
    top: 8px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #c7c7c7;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .sheet-handle-copy {
    display: grid;
    min-width: 0;
    gap: 1px;
  }

  .sheet-handle-copy strong,
  .sheet-handle-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sheet-handle-copy strong {
    color: var(--ink);
    font-size: 0.72rem;
  }

  .sheet-handle-copy small {
    color: var(--mid);
    font-size: 0.58rem;
  }

  .mobile-place-preview {
    position: relative;
    height: calc(100% - 58px);
    max-height: none;
    min-height: 0;
    overflow: hidden;
    padding: 0 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper);
    touch-action: none;
  }

  .mobile-preview-main {
    display: grid;
    grid-template-columns: minmax(118px, 42%) minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    min-height: 164px;
    border: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .mobile-preview-main.has-image {
    display: grid;
  }

  .mobile-preview-image {
    display: block;
    width: 100%;
    height: 164px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--soft);
  }

  .mobile-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .missing-photo-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgb(0 0 0 / 24%);
    background:
      radial-gradient(circle at 18% 24%, rgb(0 0 0 / 5%) 0 3px, transparent 4px),
      radial-gradient(circle at 82% 68%, rgb(0 0 0 / 5%) 0 2px, transparent 3px),
      var(--soft);
    text-align: center;
  }

  .missing-photo-mobile .missing-photo-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
  }

  .missing-photo-mobile strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: -0.035em;
  }

  .missing-photo-mobile small {
    width: min(260px, 78%);
    margin-top: 7px;
    color: var(--mid);
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .mobile-preview-copy {
    display: flex;
    min-width: 0;
    justify-content: center;
    flex-direction: column;
    padding: 4px 2px 2px 0;
  }

  .mobile-preview-type {
    margin-bottom: 6px;
    color: var(--mid);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .mobile-preview-copy > strong {
    font-family: var(--font-display);
    font-size: clamp(1.18rem, 5vw, 1.45rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  .mobile-preview-fact {
    display: grid;
    gap: 2px;
    margin-top: 10px;
    color: var(--mid);
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .mobile-preview-fact small {
    color: #527364;
    font-size: 0.53rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-preview-fact b {
    color: #173f32;
  }

  .mobile-preview-explorer {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 8px;
    border: 1px solid rgb(23 63 50 / 22%);
    border-radius: 15px;
    padding: 8px 13px;
    background: linear-gradient(120deg, #eaf3ed, #f7faf8);
    color: #173f32;
    text-align: left;
    cursor: pointer;
  }

  .mobile-preview-explorer span {
    display: grid;
    gap: 2px;
  }

  .mobile-preview-explorer strong {
    font-family: var(--font-display);
    font-size: 0.88rem;
    letter-spacing: -0.02em;
  }

  .mobile-preview-explorer small {
    color: #527364;
    font-size: 0.62rem;
    font-weight: 700;
  }

  .mobile-preview-explorer b {
    flex: 0 0 auto;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
  }

  .mobile-preview-swipe-cue {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 7px;
    border-top: 1px solid rgb(23 63 50 / 13%);
    color: #527364;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .mobile-preview-swipe-cue b {
    color: #173f32;
    font-size: 1rem;
  }

  .mobile-preview-rating {
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 700;
  }

  .mobile-preview-details {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 7px;
    color: var(--mid);
    font-size: 0.7rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mobile-preview-hint {
    margin-top: 11px;
    padding-top: 9px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 700;
  }

  .mobile-preview-position {
    margin-top: 7px;
    color: var(--mid);
    font-size: 0.64rem;
    font-weight: 600;
  }

  .mobile-preview-close {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 28px;
    width: 34px;
    height: 34px;
    border: 1px solid rgb(0 0 0 / 12%);
    border-radius: 50%;
    background: rgb(255 255 255 / 92%);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.35rem;
    box-shadow: 0 3px 12px rgb(0 0 0 / 12%);
  }

  .mobile-preview-community {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    border: 1px solid #d7e4db;
    border-radius: 15px;
    padding: 10px 12px;
    background: linear-gradient(145deg, #f6faf7, var(--map-deck-sage));
    color: var(--map-deck-forest);
    text-decoration: none;
  }

  .mobile-preview-community > span:first-child {
    display: grid;
    gap: 2px;
  }

  .mobile-preview-community small {
    color: #557064;
    font-size: 0.54rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-preview-community strong {
    font-size: 0.67rem;
    line-height: 1.3;
  }

  .mobile-preview-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 9px;
  }

  .mobile-preview-actions a,
  .mobile-preview-actions button {
    display: grid;
    min-width: 0;
    min-height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 7px 5px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    font: 700 0.61rem/1.2 var(--font-body);
    text-align: center;
    text-decoration: none;
  }

  .mobile-preview-actions .is-primary {
    border-color: var(--map-deck-forest);
    background: var(--map-deck-forest);
    color: white;
  }

  .mobile-preview-actions button[aria-pressed="true"] {
    border-color: #b9cfc0;
    background: var(--map-deck-sage);
    color: var(--map-deck-forest);
  }

  .mobile-preview-actions button.is-guiding {
    border-color: var(--map-deck-forest);
    background: var(--map-deck-sage);
    color: var(--map-deck-forest);
  }

  .mobile-preview-guide-status {
    margin: 7px 2px 0;
    border-radius: 9px;
    padding: 7px 9px;
    background: var(--map-deck-sage);
    color: var(--map-deck-forest);
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .mobile-preview-guide-status[hidden] {
    display: none;
  }

  .mobile-preview-main.is-swipe-next {
    animation: mobile-card-next 240ms ease both;
  }

  .mobile-preview-main.is-swipe-previous {
    animation: mobile-card-previous 240ms ease both;
  }

  .sidebar-heading,
  .place-card,
  .area-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .filter-row {
    padding-left: 20px;
    padding-right: 20px;
  }

  .filter-dialog {
    width: 100%;
    max-width: none;
    max-height: min(88dvh, var(--auditmap-visual-viewport-height, 88dvh));
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
  }

  .filter-dialog-form {
    max-height: min(88dvh, var(--auditmap-visual-viewport-height, 88dvh));
  }

  .filter-dialog-form .dialog-heading {
    padding: 22px 20px 18px;
  }

  .filter-dialog-intro {
    padding-right: 24px;
  }

  .filter-dialog-body {
    gap: 24px;
    padding: 20px;
  }

  .filter-option-grid,
  .type-filter-option-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter-option > span {
    min-height: 58px;
  }

  .filter-dialog-actions {
    padding: 13px 20px calc(14px + env(safe-area-inset-bottom));
  }

  .filter-dialog-actions .filter-clear-button {
    width: auto;
    flex: 0 0 auto;
  }

  .filter-result-action {
    flex: 1;
    min-width: 0;
  }

  .filter-result-action > span {
    display: none;
  }

  .filter-result-action .submit-button {
    width: 100%;
    min-width: 0;
    white-space: nowrap;
  }

  .results-count {
    margin-left: 20px;
  }

  .map-note {
    top: 72px;
    right: 10px;
    bottom: auto;
    left: auto;
    max-width: min(54vw, 210px);
    padding: 7px 10px;
    font-size: 0.62rem;
    line-height: 1.25;
    text-align: right;
  }

  .map-legend {
    right: 10px;
    bottom: 215px;
    max-width: 158px;
    flex-wrap: wrap;
    gap: 7px 10px;
    padding: 7px 8px;
  }

  .search-area-button {
    top: 72px;
  }

  .place-hero,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .detail-body,
  .search-hub {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .place-gallery {
    width: 100vw;
    margin-bottom: 28px;
    margin-left: calc(50% - 50vw);
  }

  .place-gallery .gallery-arrow {
    display: none;
  }

  .place-gallery img {
    height: clamp(290px, 66vw, 470px);
  }

  .place-gallery.is-missing-photo .gallery-frame {
    min-height: 0;
    height: clamp(290px, 66vw, 470px);
  }

  .place-gallery.is-missing-photo .missing-photo-detail {
    width: min(390px, calc(100% - 32px));
    padding: 24px 22px;
  }

  .place-gallery .gallery-credit {
    top: 10px;
    right: 10px;
    bottom: auto;
  }

  .place-meta {
    align-self: auto;
  }

}

@media (max-width: 540px) {
  .ask-auditmap {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
  }

  .ask-launcher {
    min-height: 44px;
    padding-right: 14px;
  }

  .ask-mark {
    width: 30px;
    height: 30px;
  }

  .ask-panel {
    position: fixed;
    inset: auto 8px calc(8px + env(safe-area-inset-bottom));
    width: auto;
    height: min(72dvh, 620px);
    height: min(78dvh, 680px);
    border-radius: 24px;
  }

  .ask-heading {
    padding: 18px;
  }

  .site-header > p {
    display: none;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .brand-lockup > p {
    max-width: 96px;
    font-size: 0.56rem;
  }

  .header-actions {
    gap: 8px;
  }

  .text-button {
    font-size: 0.78rem;
  }

  .map-page {
    min-height: 520px;
  }

  .detail-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 26px;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .section-title {
    margin-top: 0;
    font-size: 1.45rem;
    line-height: 1.12;
    overflow-wrap: normal;
  }

  .section-heading-row .source-count {
    display: block;
    margin-top: 8px;
    padding: 0;
  }

  .section-heading-row + .section-intro {
    margin: 12px 0 22px;
  }

  .community-section > .kicker,
  .section-heading-row .kicker {
    margin-bottom: 9px;
  }

  .back-link {
    margin-bottom: 24px;
  }

  .place-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .place-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    margin-top: 16px;
  }

  .place-actions button,
  .place-actions a {
    min-width: 0;
    min-height: 46px;
    gap: 6px;
    padding: 8px 7px;
    font-size: 0.7rem;
  }

  .place-card {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .place-card.has-media {
    grid-template-columns: 38px minmax(0, 1fr) 66px;
  }

  .card-image-wrap {
    width: 66px;
  }

  .fact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .fact:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .verification-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 17px 16px;
  }

  .verification-icon {
    width: 34px;
    height: 34px;
  }

  .verification-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 9px;
    margin-top: 3px;
    padding-left: 46px;
  }

  .verification-note {
    grid-column: 1 / -1;
    padding-left: 46px;
  }

  .verification-actions button {
    width: 40px;
    height: 40px;
  }

  .verification-key {
    justify-content: flex-start;
    gap: 10px;
    padding-left: 2px;
  }

  .verification-row h3 {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .verification-row p {
    display: block;
    overflow: visible;
    font-size: 0.75rem;
    line-height: 1.45;
    -webkit-line-clamp: unset;
  }

  .discussion-invite {
    padding: 15px;
  }

  .comment.is-reply {
    margin-left: 18px;
    padding-left: 13px;
  }

  .discussion-starters {
    display: grid;
    grid-template-columns: 1fr;
    padding-left: 48px;
  }

  .discussion-starters button {
    min-height: 38px;
    border-radius: 10px;
    text-align: left;
  }

  .full-field {
    grid-column: auto;
  }
}

.search-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.search-park-submap {
  margin-top: 24px;
}

.search-breadcrumbs {
  display: flex;
  max-width: 100%;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 20px;
  color: var(--mid);
  font-size: 0.92rem;
  scrollbar-width: none;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.search-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.search-breadcrumbs > * {
  flex: 0 0 auto;
}

.search-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.search-breadcrumbs span[aria-hidden="true"] {
  color: #a3a3a3;
}

.search-hero,
.search-section,
.search-sidebar-card {
  border: 1px solid rgba(12, 18, 28, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96));
  box-shadow: 0 20px 60px rgba(10, 18, 34, 0.08);
}

.search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding: 28px;
  border-radius: 28px;
}

.search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 14px;
}

.search-actions button,
.search-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(12, 18, 28, 0.12);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
}

.search-summary {
  font-size: 1.03rem;
  line-height: 1.65;
  color: #404040;
}

.search-meta-grid {
  display: grid;
  gap: 12px;
}

.search-meta-grid div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.search-meta-grid span,
.search-section-header span,
.search-answer-meta,
.search-knowledge-meta,
.search-community-item span,
.search-park-card span,
.search-source-card span,
.search-empty-copy,
.search-related-copy {
  color: var(--mid);
}

.search-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.9fr);
  gap: 24px;
  margin-top: 24px;
}

.search-main-column,
.search-sidebar-column {
  display: grid;
  gap: 24px;
}

.search-section,
.search-sidebar-card {
  border-radius: 24px;
  padding: 24px;
}

.search-section-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.search-section-header h2,
.search-sidebar-card h2,
.search-sidebar-card h3,
.search-answer-card h3,
.search-feature-card h3,
.search-park-card h3,
.search-source-card strong,
.search-knowledge-item h3 {
  margin: 0;
}

.search-answer-grid,
.search-feature-grid,
.search-park-grid,
.search-source-grid {
  display: grid;
  gap: 16px;
}

.search-answer-grid,
.search-park-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.search-answer-card,
.search-feature-card,
.search-park-card,
.search-source-card,
.search-knowledge-item,
.search-community-item {
  border-radius: 18px;
  border: 1px solid rgba(12, 18, 28, 0.08);
  background: rgba(255, 255, 255, 0.88);
  padding: 18px;
}

.search-answer-card p,
.search-feature-card p,
.search-knowledge-item p,
.search-community-item p,
.search-park-card p,
.search-source-card p,
.search-sidebar-card p {
  margin-bottom: 0;
}

.search-feature-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border-radius: 12px;
  object-fit: cover;
}

.search-feature-card .search-feature-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(12, 18, 28, 0.08);
  color: var(--mid);
  font-size: 0.88rem;
  line-height: 1.5;
}

.search-feature-card .search-feature-detail strong {
  color: var(--ink);
}

.search-photo-credit {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
}

.search-answer-meta,
.search-knowledge-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 0.86rem;
}

.search-section-list {
  display: grid;
  gap: 14px;
}

.search-park-card a,
.search-source-card a,
.search-knowledge-item a,
.search-sidebar-card a {
  color: var(--ink);
}

.search-verification-link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.search-hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  margin-top: 18px;
}

.search-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.search-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--mid);
  font-size: 0.87rem;
}

.search-intent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-intent-list a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .search-shell {
    padding: 24px 16px 56px;
  }

  .search-hero,
  .search-content-grid {
    grid-template-columns: 1fr;
  }

}

/* Compact, human-first place activity */
.knowledge-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.knowledge-source-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--paper);
  color: var(--mid);
  cursor: pointer;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 700;
}

.knowledge-source-toggle:hover,
.knowledge-source-toggle:focus-visible,
.knowledge-source-toggle[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--ink);
  outline: none;
}

.knowledge-section:not(.show-knowledge-sources) .knowledge-sources {
  display: none;
}

.community-crumb-cta:empty {
  display: none;
}

#discussion .crumb-invitation {
  --community-forest: #173f32;
  --community-moss: #315d46;
  --community-sage: #e5eee8;
  --community-mist: #f3f7f3;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 20px 0 16px;
  border: 1px solid #d8e4dc;
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(circle at 96% 0%, rgb(255 255 255 / 90%) 0 13%, transparent 34%),
    linear-gradient(145deg, #f7faf7, var(--community-sage));
  box-shadow: 0 14px 38px rgb(23 63 50 / 9%);
}

#discussion .crumb-invitation-mark {
  width: 48px;
  height: 48px;
  background: var(--community-forest);
  color: white;
}

#discussion .crumb-invitation-mark::before {
  content: "+";
  color: white;
  font: 400 1.55rem/1 var(--font-body);
}

#discussion .crumb-invitation-mark svg {
  width: 20px;
  height: 20px;
}

#discussion .crumb-invitation-copy h2 {
  font-size: 1.16rem;
}

.crumb-quick-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.crumb-quick-actions button {
  display: grid;
  gap: 3px;
  min-height: 68px;
  align-content: center;
  border: 1px solid rgb(23 63 50 / 14%);
  border-radius: 16px;
  padding: 11px 13px;
  background: rgb(255 255 255 / 78%);
  color: var(--community-forest);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.crumb-quick-actions button:hover,
.crumb-quick-actions button:focus-visible {
  border-color: var(--community-moss);
  background: white;
  box-shadow: 0 8px 20px rgb(23 63 50 / 8%);
  outline: none;
  transform: translateY(-1px);
}

.crumb-quick-actions strong {
  font-size: 0.72rem;
}

.crumb-quick-actions span {
  color: var(--mid);
  font-size: 0.61rem;
  line-height: 1.3;
}

.community-feed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.community-feed > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.community-feed > summary::-webkit-details-marker,
.comment-thread > summary::-webkit-details-marker {
  display: none;
}

.community-feed > summary > span:first-child {
  display: grid;
  gap: 2px;
}

.community-feed > summary strong {
  font-size: 0.82rem;
}

.community-feed > summary small {
  color: var(--mid);
  font-size: 0.66rem;
}

.community-feed-count {
  flex: none;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--soft);
  color: var(--mid);
  font-size: 0.62rem;
  font-weight: 700;
}

.community-feed:not([open]) .community-feed-count::after {
  content: " +";
}

.community-feed > .comment-list {
  border-top: 1px solid var(--line);
}

.community-feed-toolbar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #fafbf9;
  scrollbar-width: none;
}

.community-feed-toolbar button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 10px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font: inherit;
  font-size: 0.63rem;
  font-weight: 700;
}

.community-feed-toolbar button:hover,
.community-feed-toolbar button:focus-visible,
.community-feed-toolbar button.is-active {
  border-color: #cadaCF;
  background: #e8f0ea;
  color: #173f32;
  outline: none;
}

.community-feed-toolbar button span {
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  font-size: 0.54rem;
}

.comment-thread[hidden] {
  display: none;
}

.comment-thread {
  border-bottom: 1px solid var(--line);
}

.comment-thread:last-child {
  border-bottom: 0;
}

.comment-thread > summary {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 7px 10px;
  padding: 13px 15px;
  cursor: pointer;
  list-style: none;
}

.comment-thread > summary:hover,
.comment-thread > summary:focus-visible,
.comment-thread[open] > summary {
  background: #f7f7f6;
  outline: none;
}

.comment-avatar {
  display: grid;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 50%;
  background: #e7e7e4;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 800;
}

.comment-avatar.is-auditmap {
  background: #173f32;
  color: var(--paper);
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-identity,
.comment-author-line,
.comment-identity-meta {
  min-width: 0;
}

.comment-identity {
  display: grid;
  gap: 4px;
}

.comment-author-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.comment-author-line strong {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-author-line .review-rating {
  font-size: 0.62rem;
}

.comment-identity-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: var(--mid);
  font-size: 0.56rem;
  white-space: nowrap;
}

.comment-identity-meta .discussion-type {
  font-size: 0.54rem;
}

.comment-identity-meta .contributor-level,
.contributor-badge {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 6px;
  color: var(--mid);
  font-size: 0.52rem;
  font-weight: 750;
  text-transform: capitalize;
}

.comment-preview {
  grid-column: 2 / 3;
  overflow: hidden;
  color: var(--mid);
  font-size: 0.7rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-thread-hint {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--mid);
  font-size: 0.58rem;
  font-weight: 700;
  white-space: nowrap;
}

.comment-thread[open] .comment-thread-hint {
  font-size: 0;
}

.comment-thread[open] .comment-thread-hint::after {
  content: "Close";
  font-size: 0.58rem;
}

.comment-thread[open] .comment-preview {
  display: none;
}

.contribution-disclosure[hidden] {
  display: none;
}

.comment-thread-body {
  padding: 0 15px 15px 61px;
  background: #f7f7f6;
}

.comment-full-text {
  margin: 0;
  color: var(--ink);
  font-size: 0.79rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.comment-replies {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.comment-replies > p {
  margin: 12px 0 0;
  color: var(--mid);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

.comment-reply-identity {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  margin-bottom: 7px;
}

.comment-reply-identity .comment-avatar {
  width: 32px;
  height: 32px;
}

.comment.is-reply {
  margin: 0;
  padding: 13px 0 3px 14px;
  border-top: 0;
  border-left: 2px solid var(--line);
}

.comment.is-ai-reply {
  background: transparent;
}

.contact-card {
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: #f8f8f7;
}

.contact-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.contact-card-heading h2 {
  margin: 4px 0 0;
  font-size: 1.15rem;
}

.contact-card-heading .contact-link {
  flex: none;
  font-size: 0.68rem;
}

.contact-card-details {
  margin-top: 13px;
  color: var(--mid);
  font-size: 0.72rem;
}

.contact-card-details p {
  margin: 4px 0;
}

.contact-source-disclosure {
  margin-top: 15px;
  border-top-color: var(--line);
  border-bottom: 0;
}

.contact-source-disclosure summary {
  padding: 14px 0 5px;
  font-family: var(--font-body);
  font-size: 0.76rem;
}

.contact-source-disclosure > p {
  margin-top: 7px;
}

.contact-source-disclosure .source-list {
  margin-top: 10px;
}

.contact-source-disclosure .source-item {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  padding: 11px 0;
}

.contact-source-disclosure .source-item a {
  justify-self: start;
}

.place-live-grid {
  grid-template-columns: 1fr;
}

.place-weather-details {
  position: relative;
  max-width: 100%;
}

.place-weather-details summary {
  position: relative;
  z-index: 10;
  display: inline-flex;
  max-width: min(100%, 520px);
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

.place-weather-details summary::-webkit-details-marker {
  display: none;
}

.place-weather-details summary strong,
.place-weather-label {
  color: var(--ink);
  font-weight: 750;
}

.weather-condition-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.place-weather-details summary > span:not(.place-weather-label):not(.hours-carrot) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.place-weather-details[open] .hours-carrot {
  transform: rotate(180deg);
}

.place-weather-expanded {
  position: absolute;
  z-index: 9;
  top: calc(100% + 9px);
  left: 0;
  width: min(680px, calc(100vw - 40px));
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 48px rgb(0 0 0 / 14%);
}

.place-weather-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.place-weather-advisory {
  margin: 0;
  color: var(--mid);
  font-size: 0.7rem;
  line-height: 1.4;
}

.place-weather-advisory.is-alert {
  padding-left: 10px;
  border-left: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
}

.place-weather-intro > span {
  flex: 0 0 auto;
  color: var(--mid);
  font-size: 0.62rem;
  font-weight: 700;
}

.weather-forecast-track {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 1px 1px 8px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.weather-forecast-track::-webkit-scrollbar {
  display: none;
}

.weather-day-panel {
  flex: 0 0 min(88%, 300px);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px 10px;
  scroll-snap-align: start;
}

.weather-day-panel header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.weather-day-panel header strong {
  font-size: 0.72rem;
}

.weather-day-condition {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.weather-day-condition .weather-condition-icon {
  width: 15px;
  height: 15px;
}

.weather-day-condition > span {
  overflow: hidden;
  color: var(--mid);
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-temperature-graph {
  display: block;
  width: 100%;
  height: 62px;
  overflow: visible;
}

.weather-temperature-graph line {
  stroke: #d1d1ce;
  stroke-width: 1;
}

.weather-temperature-graph polyline {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.weather-temperature-graph circle {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.weather-temperature-graph text {
  fill: var(--mid);
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 700;
  text-anchor: middle;
}

.weather-hour-labels {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  margin-top: -8px;
  color: var(--mid);
  font-size: 0.5rem;
}

.weather-day-summary {
  display: flex;
  gap: 10px;
  margin-top: 7px;
  color: var(--mid);
  font-size: 0.56rem;
  font-weight: 700;
}

.place-weather-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgb(0 0 0 / 8%);
  color: var(--mid);
  font-size: 0.58rem;
}

.place-weather-meta a {
  color: inherit;
  font-weight: 700;
}

@media (max-width: 620px) {
  .knowledge-heading-actions {
    align-self: flex-start;
  }

  #discussion .crumb-invitation {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 16px;
  }

  #discussion .crumb-invitation-mark {
    width: 42px;
    height: 42px;
  }

  #discussion .crumb-quick-actions {
    grid-column: 1 / -1;
  }

  .crumb-quick-actions {
    grid-template-columns: 1fr;
  }

  .community-feed > summary small {
    display: none;
  }

  .comment-thread > summary {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }

  .comment-avatar {
    width: 34px;
    height: 34px;
  }

  .comment-thread-hint {
    display: none;
  }

  .comment-preview {
    grid-column: 2;
  }

  .comment-thread-body {
    padding: 0 12px 14px 56px;
  }

  .comment-identity-meta .contributor-badge,
  .comment-identity-meta > span:not(.discussion-type):not(.contributor-level),
  .comment-identity-meta time {
    display: none;
  }

  .contact-card-heading {
    display: grid;
  }

  .contact-card-heading .contact-link {
    justify-self: start;
  }

  .place-weather-expanded {
    width: calc(100vw - 40px);
    padding: 13px;
  }

  .place-weather-intro {
    display: grid;
    gap: 6px;
  }

  .weather-day-panel {
    flex-basis: 88%;
  }

  .place-weather-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Prevent iPhone Safari from zooming the page when a text field receives focus. */
@media (max-width: 860px) {
  .directions-return-prompt {
    right: 12px;
    bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
    grid-template-columns: minmax(0, 1fr) 42px;
    width: calc(100vw - 24px);
    padding: 14px;
  }

  .directions-return-prompt > button[data-return-contribute] {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .directions-return-prompt .directions-return-dismiss {
    grid-column: 2;
    grid-row: 1;
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select {
    font-size: 16px !important;
  }
}
