.map-filters {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
}
.map-filters > summary {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  margin: auto;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 2px 2px 0 #17201d44;
}
.map-filters summary::-webkit-details-marker { display: none; }
.map-filters[open] > summary,
.map-filters > summary:hover { background: #dbff68; color: var(--ink); }
.filter-indicator {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: #dbff68;
}
.map-filters[open] .filter-indicator { background: var(--ink); }
.map-filter-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: min(250px, calc(100vw - 32px));
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 2px 2px 0 #17201d44;
}
.map-filter-options label { display: block; margin-top: 10px; }
.map-filter-options label:first-child { margin-top: 0; }
.map-filter-options select { font-size: 16px; }
.map-filter-options button { margin-top: 6px; }
.map-message {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 7px 11px;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-size: 13px;
}
.map-app > #map .maplibregl-ctrl-top-right { top: 15px; }
.popup-profile { padding: 4px 12px 0 0; }
.popup-profile + .popup-profile { border-top: 1px solid var(--line); margin-top: 10px; }
.popup-profile h2 { font: bold 17px/1.25 Arial, sans-serif; margin: 5px 0; }
.popup-profile .card-location { margin: 0 0 4px; }
.popup-group-title { font-weight: bold; margin: 0 16px 4px 0; }

@font-face {
  font-family: "DM Sans";
  src: url("/vendor/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/vendor/fonts/source-serif-4.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
:root {
  --ui-font: "DM Sans", Arial, sans-serif;
  --display-font: "Source Serif 4", Georgia, serif;
}
body, button, input, select, textarea,
.maplibregl-map, .maplibregl-popup-content {
  font-family: var(--ui-font);
}
.header-note, .dialog-top .eyebrow { font-family: var(--ui-font); }
.document h1, .document h2, dialog h2, .popup-profile h2 {
  font-family: var(--display-font);
  font-weight: 600;
}
.brand span { font-weight: 700; letter-spacing: -.04em; }
.brand img { border-radius: 0; }
.menu-links .menu-welcome {
  width: 100%; padding: 12px; text-align: left; border: 0;
  background: transparent; color: inherit; font-size: 13px;
}
.menu-links .menu-welcome:hover { background: #dbff68; }
.welcome-dialog {
  box-sizing: border-box;
  width: min(530px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: clamp(20px, 5vw, 34px);
  color: #241f1b;
  background: #fcf7ef;
  border: 1px solid #392e25;
  border-radius: 18px;
}
.welcome-top { display: flex; justify-content: space-between; align-items: flex-start; }
.welcome-top .close { font-size: 27px; line-height: 1; }
.welcome-dialog h2 {
  margin: 14px 0 10px;
  font-size: clamp(33px, 7vw, 49px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.welcome-dialog p { margin: 0; font-size: 15px; line-height: 1.45; }
.welcome-steps { display: grid; gap: 11px; padding: 0; margin: 20px 0; list-style: none; }
.welcome-steps li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.4; }
.welcome-steps li > span { flex: 0 0 23px; font: 16px/1.2 "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.welcome-actions .button { padding: 10px 13px; }
