:root {
  --paper: #eef1ec;
  --paper-deep: #dfe5dc;
  --panel: #f8faf6;
  --panel-strong: #ffffff;
  --ink: #171c19;
  --ink-soft: #2f3732;
  --muted: #66706a;
  --muted-2: #8a948d;
  --line: #d3dbd2;
  --line-strong: #b9c4b8;
  --accent: #5f7568;
  --accent-dark: #2f4d40;
  --accent-soft: #dce7df;
  --green: #2f5d4d;
  --green-soft: #dce9e2;
  --burgundy: #70465a;
  --burgundy-soft: #eadce2;
  --charcoal: #202622;
  --danger: #9b3d31;
  --warning: #7a6540;
  --want: #3f5f78;
  --want-soft: #dce7ef;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-soft: 0 16px 40px rgba(23, 28, 25, 0.12);
  --shadow-panel: 0 24px 70px rgba(23, 28, 25, 0.2);
  --shadow-card: 0 10px 26px rgba(23, 28, 25, 0.08);
  --body-font: "Aptos", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
a:focus-visible,
.place-card:focus-visible {
  outline: 3px solid rgba(47, 77, 64, 0.32);
  outline-offset: 3px;
}

.app-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 0 0, rgba(47, 77, 64, 0.1), transparent 32rem),
    linear-gradient(135deg, var(--paper), #f6f8f3 52%, var(--paper-deep));
}

.sidebar {
  display: none;
}

.map-area {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.map-area::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(23, 28, 25, 0.08), transparent 26%, transparent 76%, rgba(23, 28, 25, 0.08)),
    radial-gradient(circle at 12% 8%, rgba(248, 250, 246, 0.36), transparent 23rem);
}

#map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #d9e0d6;
}

.leaflet-tile {
  filter: saturate(0.72) contrast(0.96) brightness(1.04);
}

.mobile-panel {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 10px);
  left: 10px;
  right: 10px;
  z-index: 5;
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(211, 219, 210, 0.92);
  border-radius: var(--radius-lg);
  background: rgba(248, 250, 246, 0.94);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(20px);
}

.mobile-brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.brand h1,
.mobile-brand h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 33px;
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
}

.mobile-brand h1 {
  font-size: 24px;
}

.mobile-brand p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-copy {
  margin: 14px 0 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #eef3ec);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(23, 28, 25, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.stats,
.mobile-stats {
  display: grid;
}

.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 24px 0;
}

.stats div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(211, 219, 210, 0.86);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 246, 0.72)),
    var(--panel);
  box-shadow: 0 8px 18px rgba(23, 28, 25, 0.05);
}

.stats strong {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 26px;
  font-weight: 650;
  line-height: 0.95;
}

.stats span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.mobile-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mobile-stats span {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(211, 219, 210, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  white-space: nowrap;
}

.mobile-stats strong {
  color: var(--ink);
  font-weight: 900;
}

.controls {
  padding-bottom: 2px;
}

.search-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-wrap {
  display: flex;
  align-items: center;
  min-height: 50px;
  gap: 11px;
  padding: 0 12px 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #f1f5ef);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 10px 22px rgba(23, 28, 25, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.search-wrap:focus-within {
  border-color: rgba(47, 77, 64, 0.72);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(47, 77, 64, 0.12), 0 12px 26px rgba(23, 28, 25, 0.08);
}

.search-icon {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.8;
}

.search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.search-wrap input::placeholder {
  color: #8a948d;
}

.search-wrap input[type="search"]::-webkit-search-cancel-button,
.search-wrap input[type="search"]::-webkit-search-decoration {
  appearance: none;
}

.clear-search {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: #e2e9df;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.clear-search:hover {
  background: var(--charcoal);
  color: var(--panel);
  transform: scale(1.04);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 13px 0 15px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 1px 4px;
  scrollbar-width: none;
}

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

.filter-group.mobile-filters {
  flex-wrap: nowrap;
  overflow-x: auto;
}

.filter-chip,
.action-button {
  min-height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(211, 219, 210, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 6px 16px rgba(23, 28, 25, 0.05);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.filter-chip {
  padding: 0 13px;
}

.action-button {
  width: 100%;
  padding: 0 12px;
  white-space: nowrap;
}

.filter-chip:hover,
.action-button:hover,
.icon-button:hover,
.map-link:hover {
  border-color: rgba(47, 77, 64, 0.58);
  box-shadow: 0 10px 22px rgba(23, 28, 25, 0.09);
  transform: translateY(-1px);
}

.filter-chip.is-active,
.action-button.is-active {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--panel);
  box-shadow: 0 12px 26px rgba(23, 28, 25, 0.18);
}

.filter-chip[data-filter-value="Been"].is-active {
  border-color: var(--green);
  background: var(--green);
}

.filter-chip[data-filter-value="Recommended"].is-active {
  border-color: var(--burgundy);
  background: var(--burgundy);
}

.filter-chip[data-filter-value="Want to go"].is-active,
.filter-chip[data-filter-value="Restaurant"].is-active,
.filter-chip[data-filter-value="Bar"].is-active,
.filter-chip[data-filter-value="Coffee"].is-active,
.filter-chip[data-filter-value="Activity"].is-active,
.filter-chip[data-filter-value="Date idea"].is-active {
  border-color: var(--accent-dark);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.list-panel {
  min-height: 0;
  margin-top: 18px;
}

.list-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.toggle-icon {
  position: relative;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  transition: transform 180ms ease, border-color 160ms ease, background 160ms ease;
}

.toggle-icon::before {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  transform: translateY(3px) rotate(45deg);
}

.list-panel.is-collapsed .toggle-icon {
  transform: rotate(180deg);
}

.place-list {
  display: grid;
  gap: 10px;
  max-height: min(44dvh, 520px);
  overflow-y: auto;
  padding: 4px 3px 16px 0;
  scrollbar-color: rgba(47, 77, 64, 0.38) transparent;
  scrollbar-width: thin;
}

.place-list::-webkit-scrollbar {
  width: 8px;
}

.place-list::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 99px;
  background: rgba(47, 77, 64, 0.34);
  background-clip: content-box;
}

.list-panel.is-collapsed .place-list {
  display: none;
}

.place-card {
  position: relative;
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(211, 219, 210, 0.88);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 246, 0.9)),
    var(--panel);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.place-card::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 3px;
  border-radius: 0 99px 99px 0;
  background: var(--accent);
  content: "";
  opacity: 0;
  transition: opacity 160ms ease;
}

.place-card:hover,
.place-card:focus-visible,
.place-card.is-selected {
  border-color: rgba(47, 77, 64, 0.72);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 28, 25, 0.12);
  transform: translateY(-1px);
}

.place-card.is-selected::before {
  opacity: 1;
}

.place-card h3,
.drawer-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
  letter-spacing: 0;
}

.place-card h3 {
  padding-right: 10px;
}

.place-meta,
.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.place-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.meta-divider::before {
  content: "/";
  color: var(--line-strong);
}

.pill,
.flag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.pill {
  padding: 0 9px;
  background: #e4ebe2;
  color: var(--ink-soft);
}

.pill.status-been {
  background: var(--green-soft);
  color: var(--green);
}

.pill.status-want {
  background: var(--want-soft);
  color: var(--want);
}

.pill.status-recommended {
  background: var(--burgundy-soft);
  color: var(--burgundy);
}

.flag-pill {
  padding: 0 8px;
  border: 1px solid rgba(122, 101, 64, 0.24);
  background: rgba(240, 235, 224, 0.82);
  color: var(--warning);
}

.flag-pill.closed {
  border-color: rgba(155, 61, 49, 0.24);
  background: rgba(155, 61, 49, 0.08);
  color: var(--danger);
}

.card-notes {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border: 1px solid rgba(211, 219, 210, 0.8);
  border-radius: 999px;
  background: rgba(238, 241, 236, 0.76);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

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

.map-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(47, 77, 64, 0.46);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eef3ec);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.map-link.primary {
  min-height: 42px;
  padding: 0 16px;
  border-color: var(--accent-dark);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(47, 77, 64, 0.22);
}

.detail-drawer {
  position: absolute;
  right: 10px;
  bottom: calc(env(safe-area-inset-bottom) + 10px);
  left: 10px;
  z-index: 6;
  max-height: 52dvh;
  overflow: auto;
  padding: 11px 14px 15px;
  border: 1px solid rgba(211, 219, 210, 0.94);
  border-radius: 24px 24px 20px 20px;
  background: rgba(248, 250, 246, 0.96);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(22px);
  transform: translateY(calc(100% - 56px));
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.detail-drawer.is-open,
.detail-drawer.show-list {
  transform: translateY(0);
}

.drawer-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 99px;
  background: #c2cec0;
}

.drawer-content {
  display: grid;
  gap: 12px;
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drawer-title-block {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.drawer-notes {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.52;
}

.drawer-address {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.empty-state {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.empty-state-card {
  display: grid;
  gap: 8px;
  padding: 24px 18px;
  border: 1px dashed rgba(47, 77, 64, 0.36);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
}

.empty-state-card strong {
  color: var(--ink);
  font-size: 16px;
}

.empty-state-card span {
  color: var(--muted);
  font-size: 13px;
}

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

.leaflet-control-attribution {
  border-radius: 999px 0 0 0;
  background: rgba(248, 250, 246, 0.84);
  color: var(--muted);
  font-size: 10px;
}

.leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(211, 219, 210, 0.94) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-soft) !important;
}

.leaflet-control-zoom a {
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  background: rgba(248, 250, 246, 0.94) !important;
  color: var(--ink) !important;
  line-height: 38px !important;
}

.leaflet-popup-content-wrapper {
  overflow: hidden;
  border: 1px solid rgba(211, 219, 210, 0.92);
  border-radius: 18px;
  background: var(--panel-strong);
  color: var(--ink);
  box-shadow: var(--shadow-panel);
}

.leaflet-popup-tip {
  background: var(--panel-strong);
}

.leaflet-popup-content {
  width: 240px;
  margin: 0;
}

.popup-card {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.popup-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.popup-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
}

.popup-card .map-link {
  min-height: 32px;
  font-size: 12px;
}

.custom-marker {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 50% 50% 50% 8px;
  box-shadow: 0 9px 22px rgba(23, 28, 25, 0.34);
  color: #ffffff;
  transform: rotate(-45deg);
  transition: box-shadow 160ms ease, filter 160ms ease, transform 160ms ease;
}

.custom-marker::after {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  content: "";
}

.custom-marker .marker-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  transform: rotate(45deg);
}

.marker-been {
  background: linear-gradient(135deg, #244a3f, var(--green));
}

.marker-want {
  background: linear-gradient(135deg, #2f485e, var(--want-soft));
}

.marker-recommended {
  background: linear-gradient(135deg, #54243a, var(--burgundy));
}

.marker-other {
  background: linear-gradient(135deg, var(--charcoal), #4b514a);
}

.custom-marker.is-selected {
  box-shadow: 0 0 0 6px rgba(47, 77, 64, 0.2), 0 16px 34px rgba(23, 28, 25, 0.38);
  filter: saturate(1.1);
  transform: rotate(-45deg) scale(1.18);
}

.missing-coordinates {
  border-color: var(--danger);
}

@media (min-width: 860px) {
  .app-shell {
    grid-template-columns: minmax(400px, 440px) minmax(0, 1fr);
  }

  .sidebar {
    z-index: 8;
    display: flex;
    height: 100dvh;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 30px 24px 20px;
    border-right: 1px solid var(--line);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 241, 236, 0.98)),
      var(--paper);
    box-shadow: 14px 0 44px rgba(23, 28, 25, 0.11);
  }

  .mobile-panel {
    display: none;
  }

  .sidebar .filter-chip {
    padding: 0 10px;
    font-size: 12px;
  }

  .map-area {
    height: 100dvh;
  }

  .list-panel {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
  }

  .place-list {
    min-height: 0;
    max-height: none;
    flex: 1;
  }

  .detail-drawer {
    right: 24px;
    bottom: 24px;
    left: auto;
    width: min(390px, calc(100% - 48px));
    max-height: calc(100dvh - 48px);
    border-radius: var(--radius-lg);
    transform: translateY(0);
  }

  .drawer-handle {
    display: none;
  }
}

@media (max-width: 430px) {
  .mobile-panel {
    left: 8px;
    right: 8px;
    gap: 9px;
    padding: 12px;
    border-radius: 20px;
  }

  .see-all-button {
  border: 1px solid var(--line, rgba(0, 0, 0, 0.12));
  border-radius: 999px;
  background: var(--panel, #fffaf1);
  color: var(--ink, #201f1b);
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.see-all-button:hover,
.see-all-button:focus-visible {
  border-color: var(--accent, #b88a3d);
  outline: none;
}

.see-all-button[aria-expanded="true"] {
  background: var(--ink, #201f1b);
  color: var(--panel, #fffaf1);
}

  .mobile-brand h1 {
    font-size: 22px;
  }

  .mobile-brand p:not(.eyebrow) {
    display: none;
  }

  .mobile-stats span {
    padding: 6px;
    font-size: 10px;
  }

  .search-wrap {
    min-height: 46px;
  }

  .filter-chip {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }

  .detail-drawer {
    right: 8px;
    left: 8px;
    max-height: 54dvh;
  }
}

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

@media (max-width: 859px) {
  .leaflet-popup {
    display: none !important;
  }
}

.mobile-quick-actions {
  margin-top: 0.75rem;
}

.mobile-quick-actions .action-button {
  width: 100%;
}

@media (max-width: 859px) {
  .mobile-quick-actions {
    display: block;
    margin: 0.35rem 0 0;
    padding: 0;
    width: 100%;
  }

  .mobile-quick-actions .action-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.65rem 1rem;
  }
}

@media (max-width: 859px) {
  .mobile-random-chip {
    border-color: var(--accent, #b88a3d);
    font-weight: 800;
  }
}