/* GENERATED by scripts/build-addon-css.py from public/static/css/addons/*.css. Do not edit by hand. */
/* ===== add-on css: ham.css ===== */
/* Add-on styles: ham. Moved out of app.css unchanged (v1.25.0, plan step 6). Built into css/addons.css by scripts/build-addon-css.py. */
.repeater-pop .repeater-facts {
  list-style: none;
  margin: 8px 0 6px;
  padding: 0;
}
.repeater-pop .repeater-facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px solid #ece7dc;
  font-size: 13px;
}
.repeater-pop .repeater-facts li:last-child { border-bottom: 0; }
.repeater-pop .repeater-facts .k {
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.repeater-pop .repeater-facts .v { font-weight: 700; color: var(--navy); text-align: right; }
.repeater-pop .repeater-desc {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--navy);
}
.repeater-pop .repeater-approx,
.repeater-pop .repeater-attr {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}
.repeater-pop .repeater-attr a { color: var(--navy); font-weight: 600; }
.sap-popup.repeater-popup .maplibregl-popup-content { width: 280px; padding: 14px 14px 12px; }
@media (max-width: 760px) {
  .parcel-sheet .repeater-pop .repeater-facts { margin: 6px 0 4px; }
  .parcel-sheet .repeater-pop .repeater-facts li { font-size: 12px; padding: 2px 0; }
  .parcel-sheet .repeater-pop .repeater-desc { font-size: 11px; }
  .parcel-sheet:not(.expanded) .repeater-desc { display: none; }
  .parcel-sheet:not(.expanded) .repeater-attr { margin-top: 4px; }
}

/* Ham operators layer: privacy notice shown when zoomed in (Nov 27, 2026) */
.ham-approx-notice {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 12px;
  z-index: 3; max-width: min(84%, 420px);
  padding: 7px 12px; border-radius: 10px;
  background: rgba(16, 24, 32, 0.86); color: #fff;
  font: 500 12.5px/1.35 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-align: center; pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.ham-approx-notice[hidden] { display: none; }
/* Compact closable pill (Nov 28, 2026) */
.ham-approx-notice { display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 20px); padding: 2px 4px 2px 12px; border-radius: 999px; white-space: nowrap; pointer-events: auto; }
.ham-approx-notice[hidden] { display: none; }
.ham-approx-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #fff; font: 400 22px/1 Inter, system-ui, sans-serif; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.ham-approx-x:hover { background: rgba(255, 255, 255, 0.16); }
@media (max-width: 760px) { .ham-approx-notice { left: 10px; transform: none; } }
/* Collapsed sheet hides the kicker, so the sticky title must not be pushed down over the first fact row. */
@media (max-width: 760px) { .parcel-sheet:not(.expanded) .hamop-pop h1 { top: 20px; } }

.hamop-pop .hamop-other { margin: 10px 0 8px; }
.hamop-pop .hamop-other h2 { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hamop-pop .hamop-other .repeater-facts { margin: 0; }
.hamop-pop .hamop-other-none { margin: 0; font-size: 13px; color: var(--muted); }

/* B3_HAM_PILL: the ham privacy pill steps aside while a map popup is open (it covered the popup on desktop) */
#map:has(.maplibregl-popup) .ham-approx-notice { visibility: hidden; }

/* ===== add-on css: historic-events.css ===== */
/* Add-on styles: historic-events. Moved out of app.css unchanged (v1.25.0, plan step 6). Built into css/addons.css by scripts/build-addon-css.py. */
/* Historic events card (map popup / memory page). Distinct from gold landmark stars. */
.historic-event {
  margin: 10px 0 8px;
  padding: 10px 12px;
  background: #eef2f7;
  border: 1px solid #c5d0de;
  border-radius: 10px;
}
.historic-event.fun {
  background: #f8eee6;
  border-color: #e4c4ae;
}
.historic-event.solemn {
  background: #f2f1ef;
  border-color: #d0cdc7;
}
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1d3b66;
}
.historic-event.fun .event-badge { color: #8a3d16; }
.historic-event.solemn .event-badge { color: #5a5c5f; letter-spacing: .04em; }
.event-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  background: #1d3b66;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.historic-event.fun .event-badge::before {
  transform: none;
  border-radius: 2px;
  background: #c45c26;
}
.historic-event.solemn .event-badge::before {
  transform: none;
  width: 7px;
  height: 10px;
  border-radius: 1px;
  background: #6a6d70;
}
.historic-event h2 { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); margin: 4px 0 2px; }
.event-date { font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.event-note { font-size: 13px; line-height: 1.45; color: var(--navy); margin: 0 0 6px; }
.event-source { font-size: 12px; margin: 0; color: var(--muted); }
.event-source a { color: var(--navy); font-weight: 700; }
.event-privacy {
  font-size: 13px;
  line-height: 1.4;
  color: var(--navy);
  background: #f3f1ea;
  border: 1px solid #e2ddd0;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0 6px;
}
.sap-popup.event-popup .maplibregl-popup-content { width: 300px; padding: 14px 14px 12px; }
.event-pop .historic-event { margin: 0; }
@media (max-width: 760px) {
  .parcel-sheet .historic-event { margin: 8px 0; padding: 8px 10px; }
  .parcel-sheet .historic-event h2 { font-size: 15px; }
  .parcel-sheet .event-note { font-size: 12px; margin-bottom: 4px; }
  .parcel-sheet .event-date { font-size: 11px; margin-bottom: 4px; }
  .parcel-sheet .event-privacy { font-size: 12px; padding: 6px 8px; margin: 6px 0 4px; }
  .parcel-sheet:not(.expanded) .historic-event { margin: 6px 0 4px; padding: 5px 8px; }
  .parcel-sheet:not(.expanded) .event-source { display: none; }
}

/* ===== add-on css: places.css ===== */
/* Add-on styles: places. Moved out of app.css unchanged (v1.25.0, plan step 6). Built into css/addons.css by scripts/build-addon-css.py. */
/* Place-layer popups (fishing, dog parks, drive-ins & diners) — compact, mobile-first */
.place-pop h1 { font-size: 18px; line-height: 1.2; margin: 2px 0 4px; }
.place-pop .popup-kicker { letter-spacing: .04em; }
.place-pop .city { font-size: 13px; margin: 0 0 6px; }
.place-pop .place-detail {
  font-size: 13px;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--navy);
}
.place-pop .place-attr {
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
  margin: 0;
}
.place-pop .place-attr a { color: var(--navy); font-weight: 600; }
.place-pop .place-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 6px;
  font-size: 13px;
  font-weight: 700;
}
.place-pop .place-links a { color: var(--navy); text-decoration: none; }
.place-pop .place-links a:hover, .place-pop .place-links a:focus-visible { text-decoration: underline; }
.place-pop .place-note {
  margin: 2px 0 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  font-style: italic;
}
.sap-popup.place-popup .maplibregl-popup-content { width: 260px; padding: 12px 13px 11px; }
@media (max-width: 760px) {
  .parcel-sheet .place-pop h1 { font-size: 16px; }
  .parcel-sheet .place-pop .place-detail { font-size: 12px; margin-bottom: 6px; }
  .parcel-sheet:not(.expanded) .place-attr { margin-top: 2px; }
}

/* Boat launch ratings (1–4 stars: Bad, Mediocre, Good, Great) */
.sap-popup.place-popup.launch-popup .maplibregl-popup-content,
.sap-popup.place-popup.park-popup .maplibregl-popup-content { width: 320px; max-width: calc(100vw - 24px); }
.launch-card { margin-top: 8px; }
.launch-rate { margin: 0; padding: 0; }
.launch-rate-title { font-size: 13px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.launch-stars { display: flex; gap: 2px; justify-content: space-between; margin: 0; }
.launch-star {
  flex: 1 1 0;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 4px 0 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #c5c9d1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  -webkit-tap-highlight-color: transparent;
}
.launch-star:hover, .launch-star:focus-visible { background: rgba(15, 35, 64, 0.06); outline: none; }
.launch-star:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy); }
.launch-star.is-on { color: #c9a227; }
.launch-star-icon { width: 28px; height: 28px; display: block; pointer-events: none; }
.launch-star-word {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  line-height: 1.2;
  min-height: 1.2em;
  margin-top: 2px;
  pointer-events: none;
}
.launch-grades { display: flex; gap: 6px; justify-content: space-between; margin: 0; }
.launch-grade {
  flex: 1 1 0;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 6px 4px;
  border: 1px solid var(--line, #d5d8df);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
}
.launch-grade:hover, .launch-grade:focus-visible { background: rgba(15, 35, 64, 0.06); outline: none; }
.launch-grade:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy); }
.launch-grade.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.launch-rate-summary { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--navy); }
.launch-rate-mode { margin: 2px 0 0; font-size: 11px; font-weight: 500; color: var(--muted); }
.launch-rate-err { margin: 6px 0 0; font-size: 12px; color: #a32020; background: #fdecea; border-radius: 6px; padding: 6px 8px; }
.launch-photos { margin-top: 10px; }
.launch-photos .btn-spot-photo { width: 100%; margin-top: 8px; }
.launch-ts-host { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 760px) {
  .parcel-sheet:not(.expanded) .place-pop .place-detail,
  .parcel-sheet:not(.expanded) .place-pop .place-attr { display: none; }
  .parcel-sheet .launch-star { min-width: 48px; min-height: 48px; }
  .parcel-sheet .launch-grade { min-width: 48px; min-height: 48px; font-size: 12px; }
  .parcel-sheet .launch-star-icon { width: 30px; height: 30px; }
  .parcel-sheet .launch-photos .btn-spot-photo { height: 40px; font-size: 14px; border-radius: 10px; }
}

/* ===== add-on css: ads.css ===== */
/* Add-on styles: ads. Moved out of app.css unchanged (v1.25.0, plan step 6). Built into css/addons.css by scripts/build-addon-css.py. */
/* Rate lender ad + stacked sponsor slots (IL / FL). Fit a 390px phone. */
.ad-stack { display: grid; gap: 10px; margin: 20px 0 4px; }
.ad-stack > .ad-slot { margin: 0; }
.ad-slot.ad-lender {
  display: block;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(15, 35, 64, 0.12);
  background: var(--paper, #fff);
  overflow: hidden;
  border-radius: 12px;
}
.ad-slot.ad-lender .lender-ad,
.sheet-sponsor-lender .lender-ad {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px 16px 12px;
}
.ad-slot.ad-lender:hover { border-color: rgba(15, 35, 64, 0.28); }
.lender-ad-logo {
  height: 44px;
  width: auto;
  max-width: min(180px, 100%);
  display: block;
  margin: 8px 0 10px;
  object-fit: contain;
  object-position: left center;
  align-self: flex-start;
  flex: 0 0 auto;
}
.lender-ad-headline {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy, #0f2340);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.25;
}
.lender-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  min-height: 44px;
  max-height: 48px;
  padding: 0 18px;
  margin: 0 0 12px;
  line-height: 1;
  pointer-events: none;
}
.lender-ad-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  font-size: 10px;
  color: var(--muted, #6b6358);
  line-height: 1.35;
}
.lender-nmls { font-weight: 700; color: var(--navy, #0f2340); }
.panel.ad-lender, .panel.sheet-sponsor-lender { padding: 14px 16px; }
.panel.ad-lender .lender-ad, .panel.sheet-sponsor-lender .lender-ad { padding: 0; }
@media (min-width: 640px) {
  .lender-ad-logo { margin: 4px 0; height: 52px; width: auto; object-fit: contain; object-position: left center; align-self: flex-start; flex: 0 0 auto; }
}
@media (max-width: 760px) {
  .ad-slot.ad-lender .lender-ad { padding: 12px 12px 10px; }
  .lender-ad-headline { font-size: 16px; }
  .lender-ad-logo { height: 40px; width: auto; margin: 6px 0 8px; object-fit: contain; object-position: left center; align-self: flex-start; flex: 0 0 auto; }
  .ad-stack { gap: 8px; margin: 16px 0 4px; }
}

/* REMAX Future logo: keep natural 2:1 ratio. Map pages do not load town.css,
   so this base rule must live here too. Never let the width=192 attribute
   pair with a CSS-only height (that stretched the mark to 192×32). */
.house-ad-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 8px 0 10px;
  object-fit: contain;
  object-position: left center;
  align-self: flex-start;
  flex: 0 0 auto;
}
@media (min-width: 640px) {
  .house-ad-logo { margin: 4px 0; height: 52px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; align-self: flex-start; flex: 0 0 auto; }
}
/* Compact map sheet / town-card sponsors (390px). Not .ad-slot (towns_checks). */
.sheet-sponsor-stack { display: grid; gap: 8px; margin: 12px 0 4px; }
.sheet-sponsor {
  display: block;
  border: 1px solid rgba(15, 35, 64, 0.12);
  background: var(--paper, #fff);
  border-radius: 12px;
  overflow: hidden;
}
.sheet-sponsor-lender.is-compact .lender-ad,
.sheet-sponsor-house.is-compact .house-ad {
  padding: 10px 12px 8px;
}
.sheet-sponsor-lender.is-compact .lender-ad-headline,
.sheet-sponsor-house.is-compact .house-ad-headline { font-size: 15px; margin-bottom: 8px; }
.sheet-sponsor-lender.is-compact .lender-ad-logo { height: 32px; width: auto; max-width: min(180px, 100%); margin: 4px 0 6px; object-fit: contain; object-position: left center; align-self: flex-start; flex: 0 0 auto; }
.sheet-sponsor-house.is-compact .house-ad-logo { height: 32px; width: auto; max-width: 100%; margin: 4px 0 6px; object-fit: contain; object-position: left center; align-self: flex-start; flex: 0 0 auto; }
.sheet-sponsor-lender.is-compact .lender-ad-cta,
.sheet-sponsor-house.is-compact .house-ad-cta {
  height: 40px; min-height: 40px; margin-bottom: 8px;
}
.sheet-sponsor-lender.is-compact .lender-ad-legal,
.sheet-sponsor-house.is-compact .house-ad-legal { font-size: 9px; gap: 4px 10px; }
.sheet-sponsor-lender.is-compact .eho-mark .eho-logo,
.sheet-sponsor-house.is-compact .eho-mark .eho-logo { height: 24px; min-height: 24px; }
.sheet-sponsor-lender.is-compact .eho-mark .eho-label { font-size: 10px; }

/* Two equal compact cards in one row when house + lender are both present.
   Solo ads stay full width. Must fit 375 / 390 and desktop without overflow.
   Keep the official REMAX Future and Rate logos at their natural ratios. */
.ad-stack-row,
.sheet-sponsor-stack.is-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}
.ad-stack-row > *,
.sheet-sponsor-stack.is-row > * { min-width: 0; }
.ad-stack-row .ad-slot,
.sheet-sponsor-stack.is-row .sheet-sponsor {
  overflow: hidden;
}
.ad-stack-row .house-ad,
.ad-stack-row .lender-ad,
.sheet-sponsor-stack.is-row .house-ad,
.sheet-sponsor-stack.is-row .lender-ad {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
  padding: 8px;
}
.ad-stack-row .house-ad-top { display: block; margin: 0; }
.ad-stack-row .house-ad-body,
.ad-stack-row .house-ad-co,
.ad-stack-row .house-ad-indie {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ad-stack-row .ad-kicker,
.sheet-sponsor-stack.is-row .ad-kicker { font-size: 9px; letter-spacing: 0.08em; }
.ad-stack-row .house-ad-logo,
.ad-stack-row .lender-ad-logo,
.sheet-sponsor-stack.is-row .house-ad-logo,
.sheet-sponsor-stack.is-row .lender-ad-logo {
  height: 36px;
  width: auto;
  max-width: 100%;
  margin: 4px 0 6px;
  object-fit: contain;
  object-position: left center;
  align-self: flex-start;
  flex: 0 0 auto;
}
.ad-stack-row .house-ad-headline,
.ad-stack-row .lender-ad-headline,
.sheet-sponsor-stack.is-row .house-ad-headline,
.sheet-sponsor-stack.is-row .lender-ad-headline {
  font-size: 13px;
  line-height: 1.25;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ad-stack-row .house-ad-cta,
.ad-stack-row .lender-ad-cta,
.sheet-sponsor-stack.is-row .house-ad-cta,
.sheet-sponsor-stack.is-row .lender-ad-cta {
  width: 100%;
  min-height: 40px;
  height: auto;
  max-height: none;
  padding: 6px 8px;
  margin: auto 0 8px;
  font-size: 12px;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
}
.ad-stack-row .house-ad-legal,
.ad-stack-row .lender-ad-legal,
.sheet-sponsor-stack.is-row .house-ad-legal,
.sheet-sponsor-stack.is-row .lender-ad-legal {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 9px;
  margin-top: auto;
}
.ad-stack-row .eho-mark,
.sheet-sponsor-stack.is-row .eho-mark { gap: 5px; align-items: flex-start; }
.ad-stack-row .eho-mark .eho-logo,
.sheet-sponsor-stack.is-row .eho-mark .eho-logo {
  height: 24px;
  min-height: 24px;
  width: auto;
  flex: 0 0 auto;
}
.ad-stack-row .eho-mark .eho-label,
.ad-stack-row .lender-nmls,
.sheet-sponsor-stack.is-row .eho-mark .eho-label,
.sheet-sponsor-stack.is-row .lender-nmls {
  font-size: 9px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ad-stack-row .house-ad-more {
  margin: 6px 0 0;
  padding: 0;
  font-size: 10px;
  text-align: center;
}
@media (min-width: 761px) {
  .ad-stack-row .house-ad-logo,
  .ad-stack-row .lender-ad-logo,
  .sheet-sponsor-stack.is-row .house-ad-logo,
  .sheet-sponsor-stack.is-row .lender-ad-logo {
    height: 44px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }
  body.map-page .town-card:not([hidden]):has(.sheet-sponsor-stack.is-row) {
    width: min(440px, calc(100% - 36px));
  }
  .sap-popup .maplibregl-popup-content:has(.sheet-sponsor-stack.is-row) {
    width: 380px;
    max-width: calc(100vw - 24px);
  }
}

/* ===== add-on css: share-beacon.css ===== */
/* Add-on styles: share-beacon. Moved out of app.css unchanged (v1.25.0, plan step 6). Built into css/addons.css by scripts/build-addon-css.py. */
/* Share beacon: first visit only, left-aligned above the bottom action bar. */
.share-beacon[hidden] { display: none !important; }
.share-beacon {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(240px, 100%);
  min-height: 44px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(15, 35, 64, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.97);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(15, 35, 64, 0.16);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.share-beacon:hover, .share-beacon:focus-visible { background: #fff; }
.share-beacon-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e3262f;
  color: #fff;
}
.share-beacon-text { display: flex; flex-direction: column; line-height: 1.15; }
.share-beacon-l1 { font-size: 14px; font-weight: 800; }
.share-beacon-l2 { font-size: 13px; font-weight: 600; }
.share-beacon.is-pulsing { animation: sap-share-beacon-pulse 1.8s ease-out 0.6s 3; }
@keyframes sap-share-beacon-pulse {
  0% { box-shadow: 0 6px 16px rgba(15, 35, 64, 0.16), 0 0 0 0 rgba(227, 38, 47, 0.45); }
  70% { box-shadow: 0 6px 16px rgba(15, 35, 64, 0.16), 0 0 0 12px rgba(227, 38, 47, 0); }
  100% { box-shadow: 0 6px 16px rgba(15, 35, 64, 0.16), 0 0 0 0 rgba(227, 38, 47, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .share-beacon.is-pulsing { animation: none; }
}
body.sheet-open .share-beacon, body.town-card-open .share-beacon { display: none; }

/* ===== add-on css: flood.css ===== */
/* Add-on styles: flood. Moved out of app.css unchanged (v1.25.0, plan step 6). Built into css/addons.css by scripts/build-addon-css.py. */
/* ---- Flood zones filter (FEMA NFHL), staged Nov 27, 2026 ---- */
.flood-set .flood-filter-hint { margin: 2px 0 0 20px; font-size: 12px; line-height: 1.3; color: var(--muted); }
.flood-card {
  position: absolute; left: 10px; top: 64px; z-index: 4; width: min(290px, calc(100% - 78px));
  padding: 9px 11px 10px; border-radius: 12px; background: rgba(255, 253, 248, 0.97); color: var(--navy);
  box-shadow: 0 6px 18px rgba(15, 35, 64, 0.25); border: 1px solid rgba(15, 35, 64, 0.1);
  font: 500 12.5px/1.35 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.flood-card[hidden] { display: none; }
@media (min-width: 761px) { .flood-card { left: 18px; width: 300px; } }
.flood-card.flood-card-min { width: auto; padding: 0; background: transparent; border: 0; box-shadow: none; }
.flood-pill { border: 1px solid rgba(15,35,64,.15); background: #1d6fd8; color: #fff; font: 800 13px/1 Inter, system-ui, sans-serif; border-radius: 999px; padding: 9px 14px; min-height: 36px; box-shadow: 0 4px 12px rgba(15,35,64,.3); cursor: pointer; }
.flood-head { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.flood-head strong { flex: 1; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
.flood-x { width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; border-radius: 8px; cursor: pointer; }
.flood-x:hover { background: var(--soft); color: var(--navy); }
.flood-legend { list-style: none; margin: 0 0 6px; padding: 0; }
.flood-legend li { display: flex; align-items: center; gap: 8px; margin: 3px 0; font-weight: 700; font-size: 13px; }
.flood-sw { flex: 0 0 auto; width: 22px; height: 14px; border-radius: 4px; border: 1px solid rgba(15, 35, 64, 0.35); }
.flood-tip { margin: 0 0 6px; font-size: 12.5px; color: var(--muted); }
.flood-zoomin { color: var(--navy); font-weight: 700; font-size: 13px; }
.flood-src { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); font-size: 10.5px; line-height: 1.35; color: var(--muted); font-weight: 500; }
.flood-src a { color: var(--navy); text-decoration: underline; }
.flood-ans { position: relative; margin: 6px 0 2px; padding: 8px 9px; border-radius: 9px; background: #f3f1ea; border-left: 5px solid #9aa3ad; }
.flood-ans-high { border-left-color: #1d6fd8; background: #e8f0fc; }
.flood-ans-moderate { border-left-color: #f5a623; background: #fdf3e0; }
.flood-ans-top { font-size: 13.5px; font-weight: 800; }
.flood-ans-zone { margin-right: 2px; }
.flood-ans-plain { margin-top: 3px; font-size: 12.5px; line-height: 1.4; }
.flood-clear { display: inline-block; margin-top: 4px; border: 0; background: none; font: 700 11px Inter, system-ui, sans-serif; color: var(--muted); cursor: pointer; text-decoration: underline; padding: 0; }
.flood-loading { color: var(--muted); }
.flood-tap-dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid #101820; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.5); pointer-events: none; }
body.photo-drop-active .flood-card { display: none !important; }

/* ===== add-on css: filters-hint.css ===== */
/* Add-on styles: filters-hint. Moved out of app.css unchanged (v1.25.0, plan step 6). Built into css/addons.css by scripts/build-addon-css.py. */
/* sap-filters-hint:start */
/* First-visit welcome card (filters-hint.js). Stays until tapped; tapping the map closes it. */
.sap-filters-hint { position: fixed; inset: 0; z-index: 18; pointer-events: none; }
.sap-filters-hint[hidden] { display: none !important; }
.sap-welcome-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(21rem, calc(100vw - 32px)); box-sizing: border-box;
  padding: 18px 18px 12px; pointer-events: auto;
  background: rgba(255, 253, 248, 0.96); color: #0f2340;
  border: 1px solid rgba(15, 35, 64, 0.16); border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 35, 64, 0.22);
  font-family: Inter, Helvetica, Arial, sans-serif; text-align: center;
}
.sap-welcome-close {
  position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: #0f2340; font-size: 24px; line-height: 1; cursor: pointer;
}
.sap-welcome-close:hover, .sap-welcome-close:focus-visible { background: rgba(15, 35, 64, 0.08); }
.sap-welcome-title { margin: 4px 26px 4px; font-weight: 800; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; }
.sap-welcome-sub { margin: 0 0 14px; font-size: 1rem; color: rgba(15, 35, 64, 0.78); }
.sap-welcome-actions { display: flex; gap: 8px; }
.sap-welcome-btn {
  flex: 1 1 0; min-height: 44px; padding: 10px 10px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid #0f2340; background: #fff; color: #0f2340; font: inherit; font-weight: 700; font-size: 0.98rem;
}
.sap-welcome-btn-primary { background: var(--red, #e3242b); border-color: var(--red, #e3242b); color: #fff; }
.sap-welcome-try-label { margin: 14px 0 6px; font-size: 0.85rem; color: rgba(15, 35, 64, 0.7); }
.sap-welcome-try { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sap-welcome-chip {
  min-height: 34px; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid #c9d3e2; background: #fff; color: #0f2340; font: inherit; font-size: 0.9rem; font-weight: 600;
}
.sap-welcome-chip:hover, .sap-welcome-btn:hover { border-color: #0f2340; }
.sap-welcome-more {
  display: inline-block; margin: 10px 0 0; padding: 8px 6px; border: 0; background: transparent; cursor: pointer;
  color: #0f2340; font: inherit; font-size: 0.88rem; text-decoration: underline; text-underline-offset: 2px;
}
@media (max-width: 360px) { .sap-welcome-title { font-size: 1.15rem; } .sap-welcome-btn { font-size: 0.9rem; } }
/* sap-filters-hint:end */

/* ===== add-on css: snap-invite.css ===== */
/* Add-on styles: snap-invite. Moved out of app.css unchanged (v1.25.0, plan step 6). Built into css/addons.css by scripts/build-addon-css.py. */
/* SNAP_INVITE: shareable /snap photo prompt. Sits in the map, above the footer and action bar. */
.snap-card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 86px;
  z-index: 24;
  max-width: 420px;
  margin: 0 auto;
  background: var(--paper, #fff);
  color: var(--ink, #122033);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 35, 64, 0.22);
  padding: 14px 14px 12px;
  box-sizing: border-box;
  max-height: min(62vh, 460px);
  overflow: auto;
}
.snap-card h2 {
  font-size: 17px;
  line-height: 1.3;
  margin: 0 28px 8px 0;
  font-weight: 650;
}
.snap-card p { margin: 0 0 10px; font-size: 14px; line-height: 1.4; color: var(--muted, #445062); }
.snap-card .snap-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted, #445062);
}
.snap-card .snap-actions { display: flex; flex-direction: column; gap: 8px; }
.snap-card .btn { width: 100%; }
.snap-notify {
  margin: 0 0 12px;
  padding: 10px 10px 8px;
  border: 1px solid rgba(15, 35, 64, 0.12);
  border-radius: 10px;
  background: #f7f4ee;
}
.snap-notify .snap-notify-msg { font-size: 14px; margin: 0 0 8px; color: var(--ink, #122033); }
.snap-notify label { display: block; font-size: 13px; margin: 0 0 8px; }
.snap-notify input[type="email"],
.snap-notify input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  margin-top: 3px;
  padding: 8px 10px;
  border: 1px solid #c9c2b6;
  border-radius: 8px;
  font-size: 16px;
}
.snap-notify .snap-notify-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.snap-notify .snap-notify-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.35; }
.snap-notify .snap-notify-consent input { margin-top: 2px; }
.snap-notify .snap-notify-err { color: #8a1f1f; font-size: 13px; margin: 0 0 8px; }
.snap-notify .snap-notify-actions { margin-top: 8px; }
body.snap-card-open #intro { visibility: hidden; pointer-events: none; }
@media (min-width: 760px) {
  .snap-card { left: 24px; right: auto; width: 400px; bottom: 28px; }
}

/* SNAP_INVITE: hide the floating Add a photo button while the invite card is open
   so it does not peek out from behind the card. */
body.snap-card-open .add-photo-fab { display: none; }

/* ===== add-on css: item-share.css ===== */
/* Add-on styles: item-share. Moved out of app.css unchanged (v1.25.0, plan step 6). Built into css/addons.css by scripts/build-addon-css.py. */
/* Share on photo, home-pin, and place popups. Compact so a 390px sheet does not overflow. */
.sap-item-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 14px;
  margin: 8px 0 0;
  border: 1px solid rgba(15, 35, 64, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--navy, #0f2340);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.pop-actions .sap-item-share,
.place-pop .sap-item-share,
.hamop-pop .sap-item-share,
.repeater-pop .sap-item-share,
.event-pop .sap-item-share,
.rch-pop .sap-item-share,
.mkt-pop .sap-item-share,
.parcel-sheet .sap-item-share {
  width: 100%;
  margin-top: 0;
}
.sap-item-share:hover, .sap-item-share:focus-visible { background: var(--soft, #f3f0ea); }
.sap-lb-caption .sap-item-share {
  margin: 8px 0 0;
  min-height: 40px;
  width: auto;
  padding: 0 16px;
}
