/* Rarely · Farm to Table — palette & type taken from rarely.co (rarely-brand.css) */
:root {
  --fathom-dark: #063233;
  --fathom: #4F747C;
  --fathom-light: #6D929A;
  --fathom-lighter: #81A6AE;
  --galleon-dark: #A87A2F;
  --galleon: #BC8E43;
  --galleon-light: #DAAC61;
  --iron: #57534E;
  --ink: #202020;
  --parchment: #FFFBF0;
  --parchment-used: #F7EFD9;
  --parchment-old: #E1DDD3;
  --parchment-old-light: #F5F1E7;
  --parchment-old-lighter: #FFFCF7;
  --line: #ECE5D2;
  --white: #FFFFFF;

  --font-display: "Crimson Pro", Georgia, serif;
  --font-body-serif: "Source Serif 4", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading-condensed: "Sofia Sans Condensed", "Arial Narrow", sans-serif;

  --panel-w: 400px;
  --head-h: 76px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(37, 33, 28, .06), 0 8px 24px rgba(37, 33, 28, .08);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font-body);
  color: var(--iron);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button, input, select { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Masthead ─────────────────────────────────────────── */
.masthead {
  height: var(--head-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 28px;
  background: var(--parchment);
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 1000;
}
.brand { display: flex; align-items: center; padding-right: 20px; border-right: 1px solid var(--line); height: 40px; }
.brand img { height: 32px; width: auto; display: block; }
.masthead__title { display: flex; flex-direction: column; justify-content: center; }
.eyebrow, .label, .stat dt, .results__count, .detail__kicker, .legend, .chips button, .seg button {
  font-family: var(--font-heading-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow { margin: 0; font-size: 12px; font-weight: 600; color: var(--galleon); }
h1 {
  margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 30px; line-height: 1; color: var(--fathom-dark); letter-spacing: -.01em;
}
h1 .amp { color: var(--galleon); font-weight: 400; }
.stats { margin: 0 0 0 auto; display: flex; gap: 28px; }
.stat { display: flex; flex-direction: column; align-items: flex-end; }
.stat dt { font-size: 11px; font-weight: 600; color: var(--fathom-light); }
.stat dd { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--fathom-dark); font-variant-numeric: lining-nums tabular-nums; }
.stat--farm dt::before, .stat--market dt::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.stat--farm dt::before { background: var(--fathom); }
.stat--market dt::before { background: var(--galleon); }

/* about */
.about-btn { margin-left: 4px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; border: 1px solid var(--galleon-light); background: none; color: var(--fathom-dark); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.about-btn:hover { background: var(--galleon); border-color: var(--galleon); color: var(--white); }
.about-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.about-btn svg .fill { fill: currentColor; stroke: none; }
.about { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; margin: auto; padding: 34px 34px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--parchment); color: var(--iron); box-shadow: 0 24px 60px rgba(6,50,51,.28); }
.about[open] { animation: aboutin .24s ease-out; }
@keyframes aboutin { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.about::backdrop { background: rgba(6,50,51,.42); backdrop-filter: blur(2px); }
.about__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; color: var(--fathom-light); }
.about__close:hover { background: var(--parchment-used); color: var(--fathom-dark); }
.about__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.about h2 { margin: 6px 0 12px; font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--fathom-dark); }
.about__lede { margin: 0 0 18px; font-family: var(--font-body-serif); font-size: 16px; line-height: 1.6; }
.about__lede strong { color: var(--fathom-dark); font-weight: 600; font-variant-numeric: lining-nums; }
.about__how { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.about__how li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; padding: 11px 16px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.about__how li + li { border-top: 1px solid var(--parchment-old-light); }
.about__how .dot { margin: 6px 0 0 4px; }
.about__how svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--fathom); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about__how b { font-weight: 600; color: var(--fathom-dark); }
.about__note { margin: 0 0 20px; font-family: var(--font-body-serif); font-style: italic; font-size: 14px; color: #8A8178; }
.about :focus-visible { outline: 2px solid var(--galleon-light); outline-offset: 2px; }
.about__go { height: 44px; padding: 0 22px; font-size: 15px; }

/* ── Layout ───────────────────────────────────────────── */
.layout { display: flex; height: calc(100% - var(--head-h)); }
.panel {
  width: var(--panel-w); flex: 0 0 var(--panel-w);
  display: flex; flex-direction: column;
  background: var(--parchment-old-lighter);
  border-right: 1px solid var(--line);
  position: relative; z-index: 900; min-height: 0;
}
.panel__grip { display: none; }
.panel__controls { padding: 20px 22px 16px; display: grid; gap: 14px; border-bottom: 1px solid var(--line); background: var(--parchment); }
.mapwrap { position: relative; flex: 1; min-width: 0; }
#map { position: absolute; inset: 0; background: #F4EDDC; }

/* search */
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--fathom-light); stroke-width: 1.8; stroke-linecap: round; }
.search input {
  width: 100%; height: 46px; padding: 0 14px 0 42px;
  border: 1px solid var(--parchment-old); border-radius: 999px;
  background: var(--white); font-family: var(--font-body-serif); font-size: 16px; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: #9A8D81; font-style: italic; }
.search input:focus { border-color: var(--galleon-light); box-shadow: 0 0 0 4px rgba(218, 172, 97, .18); }

/* segmented */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; background: var(--parchment-old-light); border: 1px solid var(--line); border-radius: 999px; }
.seg button { height: 34px; border: 0; background: none; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--iron); display: flex; align-items: center; justify-content: center; gap: 7px; transition: background .2s, color .2s, box-shadow .2s; }
.seg button.is-on { background: var(--white); color: var(--fathom-dark); box-shadow: 0 1px 3px rgba(37,33,28,.12); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot--farm { background: var(--fathom); }
.dot--market { background: var(--galleon); }

.row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--iron); border-bottom: 1.6px solid var(--iron); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { width: 100%; height: 40px; appearance: none; -webkit-appearance: none; padding: 0 34px 0 14px; border: 1px solid var(--parchment-old); border-radius: 8px; background: var(--white); cursor: pointer; font-size: 14px; }
.btn { height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--galleon); background: var(--galleon); color: var(--white); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { background: var(--galleon-dark); border-color: var(--galleon-dark); }
.btn--ghost { background: none; color: var(--iron); border-color: var(--galleon-light); }
.btn--ghost:hover { background: var(--galleon); border-color: var(--galleon); color: var(--white); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.btn svg .fill { fill: currentColor; stroke: none; }
.btn.is-busy { opacity: .7; pointer-events: none; }

.days { display: grid; gap: 8px; transition: opacity .2s; }
.days.is-off { opacity: .45; }
.label { margin: 0; font-size: 12px; font-weight: 600; color: var(--fathom); }
.hint { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 400; color: #9A8D81; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { height: 30px; min-width: 42px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--parchment-old); background: var(--white); cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--iron); transition: all .15s; }
.chips button:hover { border-color: var(--galleon-light); }
.chips button.is-on { background: var(--fathom-dark); border-color: var(--fathom-dark); color: var(--parchment); }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; }
.toggle__track { width: 34px; height: 20px; border-radius: 999px; background: var(--parchment-old); position: relative; transition: background .2s; flex: none; }
.toggle__thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.toggle input:checked + .toggle__track { background: var(--fathom); }
.toggle input:checked + .toggle__track .toggle__thumb { transform: translateX(14px); }
.toggle input:focus-visible + .toggle__track { outline: 2px solid var(--galleon-light); outline-offset: 2px; }

/* results */
.results { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.results__head { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 22px 8px; }
.results__count { margin: 0; font-size: 12px; font-weight: 600; color: var(--fathom); }
.link { border: 0; background: none; padding: 0; color: var(--galleon-dark); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--galleon-light); }
.list { list-style: none; margin: 0; padding: 0 12px 18px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: var(--parchment-old) transparent; }
.item { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 10px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.item + .item { border-top: 1px solid var(--parchment-old-light); }
.item:hover, .item:focus-visible { background: var(--parchment-used); outline: none; }
.item__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.item__icon svg { width: 18px; height: 18px; }
.item--farm .item__icon { background: rgba(79,116,124,.12); color: var(--fathom); }
.item--market .item__icon { background: rgba(188,142,67,.14); color: var(--galleon-dark); }
.item__name { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 1.15; color: var(--fathom-dark); font-weight: 500; }
.item__meta { margin: 2px 0 0; font-size: 12.5px; color: #8A8178; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 270px; }
.item__dist { font-family: var(--font-heading-condensed); font-size: 12px; color: var(--fathom-light); letter-spacing: .04em; white-space: nowrap; }
.more { text-align: center; padding: 16px 12px 4px; font-family: var(--font-body-serif); font-style: italic; font-size: 14px; color: #9A8D81; }
.empty { text-align: center; padding: 40px 24px; }
.empty h3 { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--fathom-dark); font-size: 22px; margin: 0 0 6px; }
.empty p { margin: 0; font-family: var(--font-body-serif); font-size: 14px; }

/* detail */
.detail { position: absolute; inset: 0; background: var(--parchment-old-lighter); overflow-y: auto; z-index: 5; animation: slidein .22s ease-out; }
@keyframes slidein { from { transform: translateX(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.detail__top { padding: 18px 24px 22px; background: var(--parchment); border-bottom: 1px solid var(--line); }
.detail__back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0; cursor: pointer; font-size: 13px; color: var(--galleon-dark); }
.detail__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.detail__kicker { margin: 14px 0 6px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; }
.detail--farm .detail__kicker { background: rgba(79,116,124,.12); color: var(--fathom-dark); }
.detail--market .detail__kicker { background: rgba(188,142,67,.16); color: var(--galleon-dark); }
.detail h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.08; color: var(--fathom-dark); }
.detail__place { margin: 8px 0 0; font-family: var(--font-body-serif); font-style: italic; font-size: 16px; }
.detail__body { padding: 20px 24px 32px; display: grid; gap: 18px; }
.detail__lede { margin: 0; font-family: var(--font-body-serif); font-size: 16px; line-height: 1.6; color: var(--iron); }
.facts { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.fact { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 16px; }
.fact + .fact { border-top: 1px solid var(--parchment-old-light); }
.fact dt { font-family: var(--font-heading-condensed); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; font-weight: 600; color: var(--fathom-light); padding-top: 2px; }
.fact dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); word-break: break-word; }
.fact dd a { color: var(--fathom-dark); text-decoration: underline; text-decoration-color: var(--galleon-light); text-underline-offset: 3px; }
.fact dd a:hover { color: var(--galleon-dark); }
.when { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.when div { background: var(--fathom-dark); color: var(--parchment); border-radius: var(--radius); padding: 14px 16px; }
.when div:last-child { background: var(--parchment-used); color: var(--fathom-dark); }
.when p { margin: 0; }
.when .k { font-family: var(--font-heading-condensed); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 600; opacity: .75; margin-bottom: 4px; }
.when .v { font-family: var(--font-display); font-size: 18px; line-height: 1.25; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.badge--open { background: #E4EEE6; color: #2F5D3A; }
.badge--closed { background: var(--parchment-old-light); color: #8A8178; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions .btn { height: 42px; text-decoration: none; }
.note { margin: 0; font-size: 12.5px; color: #9A8D81; font-family: var(--font-body-serif); font-style: italic; }

/* ── Map chrome ───────────────────────────────────────── */
.raster-basemap .leaflet-tile-pane { filter: sepia(.28) saturate(.85) hue-rotate(-6deg) brightness(1.02) contrast(.97); }
.leaflet-container { font-family: var(--font-body); }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow) !important; border-radius: 10px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 38px !important; height: 38px !important; line-height: 36px !important; color: var(--fathom-dark) !important; background: var(--parchment) !important; border-color: var(--line) !important; font-family: var(--font-display); font-size: 22px !important; }
.leaflet-control-zoom a:hover { background: var(--parchment-used) !important; }
.leaflet-control-attribution { background: rgba(255,251,240,.8) !important; color: #8A8178; font-size: 10.5px; }
.leaflet-control-attribution a { color: var(--fathom); }

.legend { position: absolute; left: 16px; bottom: 16px; z-index: 500; display: flex; gap: 16px; padding: 9px 14px; background: rgba(255,251,240,.94); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); font-size: 11.5px; font-weight: 600; color: var(--iron); backdrop-filter: blur(6px); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }

/* pins */
.pin { width: 30px; height: 38px; position: relative; filter: drop-shadow(0 2px 2px rgba(6,50,51,.28)); transition: transform .15s; transform-origin: 50% 100%; }
.pin svg { width: 100%; height: 100%; display: block; }
.leaflet-marker-icon:hover .pin { transform: scale(1.12); }
.pin.is-active { transform: scale(1.4); filter: drop-shadow(0 4px 6px rgba(6,50,51,.4)); }
.pin.is-active::before { content: ""; position: absolute; left: 50%; bottom: -5px; width: 22px; height: 8px; margin-left: -11px; border-radius: 50%; border: 2px solid var(--galleon); animation: halo 1.6s ease-out infinite; }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.you { width: 18px; height: 18px; border-radius: 50%; background: #2E7DDB; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(46,125,219,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,125,219,.45); } 70% { box-shadow: 0 0 0 16px rgba(46,125,219,0); } 100% { box-shadow: 0 0 0 0 rgba(46,125,219,0); } }

/* clusters: ring shows farm/market ratio */
.cl { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(6,50,51,.25); transition: transform .15s; }
.cl:hover { transform: scale(1.06); }
.cl__in { width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; background: var(--parchment); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--fathom-dark); line-height: 1; }
.marker-cluster { background: none !important; }

/* popups */
.leaflet-popup-content-wrapper { background: var(--parchment); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.leaflet-popup-tip { background: var(--parchment); }
.leaflet-popup-content { margin: 14px 18px 14px 16px; }
.pop__k { font-family: var(--font-heading-condensed); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; }
.pop__k.farm { color: var(--fathom); }
.pop__k.market { color: var(--galleon-dark); }
.pop__n { font-family: var(--font-display); font-size: 20px; line-height: 1.15; color: var(--fathom-dark); margin: 2px 0 2px; }
.pop__m { font-size: 12.5px; color: #8A8178; margin: 0; }
.pop__w { font-size: 13px; color: var(--ink); margin: 6px 0 0; }
.leaflet-container a.leaflet-popup-close-button { color: var(--fathom-light); }

/* loading / toast */
.loading { position: absolute; inset: 0; z-index: 800; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(255,251,240,.86); transition: opacity .35s; font-family: var(--font-body-serif); font-style: italic; color: var(--fathom); }
.loading.is-done { opacity: 0; pointer-events: none; }
.loading p { margin: 0; }
.loading__mark { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--parchment-old); border-top-color: var(--galleon); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 900; background: var(--fathom-dark); color: var(--parchment); padding: 10px 18px; border-radius: 999px; font-size: 13.5px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ── Tablet / mobile ──────────────────────────────────── */
@media (max-width: 1100px) {
  .stats { gap: 18px; }
  .stat dd { font-size: 24px; }
  :root { --panel-w: 360px; }
}
@media (max-width: 760px) {
  :root { --head-h: 64px; }
  .masthead { padding: 0 14px; gap: 12px; }
  .brand { padding-right: 12px; height: 32px; }
  .brand img { height: 24px; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: 23px; }
  .stats { gap: 12px; }
  .stat dt { font-size: 9.5px; letter-spacing: .06em; }
  .stat dd { font-size: 19px; }
  .stat--states { display: none; }
  h1 { white-space: nowrap; }
  .about-btn { width: 32px; height: 32px; padding: 0; justify-content: center; margin-left: 0; flex: none; }
  .about-btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .about-btn svg { width: 19px; height: 19px; }
  .about { padding: 28px 20px 22px; }
  .about h2 { font-size: 25px; padding-right: 24px; }
  .about__go { width: 100%; justify-content: center; }

  .layout { display: block; position: relative; }
  .mapwrap { position: absolute; inset: 0; }
  .legend { display: none; }
  .panel {
    position: absolute; left: 0; right: 0; bottom: 0; width: auto;
    height: 46%; border-right: 0; border-top: 1px solid var(--line);
    border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(37,33,28,.16);
    transition: height .28s cubic-bezier(.2,.8,.2,1); overflow: hidden;
  }
  .panel.is-collapsed { height: 232px; }
  .panel.is-collapsed .days { display: none; }
  .panel.is-expanded { height: calc(100% - 24px); }
  .panel.is-detail { height: 64%; }
  .panel__grip { display: block; position: absolute; top: 0; left: 0; right: 0; height: 22px; border: 0; background: none; cursor: grab; z-index: 6; }
  .panel__grip span { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--parchment-old); margin: 8px auto 0; }
  .panel__controls { padding: 22px 14px 12px; gap: 10px; border-radius: 18px 18px 0 0; }
  .search input { height: 42px; font-size: 16px; }
  .seg button { height: 30px; font-size: 12px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .results__head { padding: 10px 16px 6px; }
  .list { padding: 0 6px 24px; }
  .item__meta { max-width: 60vw; }
  .detail h2 { font-size: 27px; }
  .detail__top { padding: 16px 18px 18px; }
  .detail__body { padding: 16px 18px 28px; }
  .leaflet-control-zoom { display: none; }
  .toast { top: 10px; }
}
.leaflet-tooltip.tip { background: var(--fathom-dark); color: var(--parchment); border: 0; border-radius: 8px; padding: 5px 10px; font-family: var(--font-display); font-size: 15px; box-shadow: var(--shadow); }
.leaflet-tooltip.tip::before { border-top-color: var(--fathom-dark); }
@media (hover: none) { .leaflet-tooltip.tip { display: none; } }
