



.maplibregl-popup-content { padding: 12px 14px; border-radius: var(--fa-r-lg); box-shadow: var(--fa-shadow-lg);
  font-family: var(--fa-body); background: var(--fa-surface); color: var(--fa-text); max-width: 300px;
  border: 1px solid var(--fa-line); overflow: hidden; }

.maplibregl-popup-content .pop-img { display: block; width: calc(100% + 28px); margin: -12px -14px 10px;
  height: 150px; object-fit: cover; background: var(--fa-line-2);
  border-radius: var(--fa-r-lg) var(--fa-r-lg) 0 0; }
.maplibregl-popup-content strong { font-family: var(--fa-body); font-weight: 600; font-size: 21px;
  display: block; padding-right: 14px; }
.maplibregl-popup-content .kind { color: var(--fa-mut); font-family: var(--fa-body); font-weight: 600; font-size: 12.5px; margin-top: 2px; }
.maplibregl-popup-content .desc { font-size: 16px; color: var(--fa-text); line-height: 1.45; margin-top: 6px; }


.maplibregl-popup-content .pop-eyebrow { display: flex; align-items: center; gap: 7px; font-family: var(--fa-body);
  font-weight: 600; font-size: 11px; color: var(--fa-mut); margin-bottom: 5px; }
.maplibregl-popup-content .pop-eyebrow .pe-sw { flex: none; width: 10px; height: 10px; border-radius: 2px; }
.maplibregl-popup-content .pop-badge { margin-top: 6px; }
.maplibregl-popup-content .pop-facts { margin-top: 10px; font-size: 16px; }
.maplibregl-popup-content .pop-facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0;
  border-top: 1px solid var(--fa-line-2); }
.maplibregl-popup-content .pop-facts .pf-k { flex: none; font-family: var(--fa-body); font-weight: 600; font-size: 12px; color: var(--fa-mut); }
.maplibregl-popup-content .pop-facts .pf-v { text-align: right; color: var(--fa-text); }




.maplibregl-popup-content .pop-amen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.maplibregl-popup-content .pop-amen span { font-size: 12.5px; line-height: 1; padding: 5px 8px; border-radius: 999px;
                      border: 1px solid color-mix(in srgb, #15803d 35%, var(--fa-line));
                      background: color-mix(in srgb, #15803d 10%, var(--fa-surface)); color: var(--fa-text); }
.maplibregl-popup-content .pop-amen span.no { border-color: var(--fa-line); background: transparent;
                      color: var(--fa-mut); text-decoration: line-through; }
.maplibregl-popup-content .pop-actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--fa-line-2); }
.maplibregl-popup-content .pop-btn { display: inline-block; border: none; background: var(--fa-accent); color: #fff;
  padding: 8px 14px; cursor: pointer; text-decoration: none; border-radius: var(--fa-r-md);
  font-family: var(--fa-body); font-weight: 600; font-size: 12px; }
.maplibregl-popup-content .pop-btn:hover { background: var(--fa-accent-strong); }
.maplibregl-popup-content .pop-link { background: none; border: none; color: var(--fa-accent); cursor: pointer; padding: 0;
  font-family: var(--fa-body); font-weight: 600; font-size: 12px; }
.maplibregl-popup-content .pop-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--fa-line-2);
  font-family: var(--fa-body); font-weight: 600; font-size: 11px; color: var(--fa-faint); }
.maplibregl-popup-content .facts { font-size: 13px; color: var(--fa-text); line-height: 1.5; margin-top: 8px; }
.maplibregl-popup-content .facts div { display: flex; gap: 7px; padding: 1px 0; }
.maplibregl-popup-content .facts .ic { flex: none; width: 16px; text-align: center; opacity: 0.85; }
.maplibregl-popup-content .facts a, .maplibregl-popup-content details.alltags > summary { color: var(--fa-accent); }
.maplibregl-popup-content .facts a { word-break: break-all; }
.maplibregl-popup-content .addr { font-size: 13px; color: var(--fa-mut); margin-top: 6px; line-height: 1.4; }
.maplibregl-popup-content details.alltags { margin-top: 9px; }
.maplibregl-popup-content details.alltags > summary { cursor: pointer; font-family: var(--fa-body); font-weight: 600; font-size: 11.5px; list-style: none; user-select: none; }
.maplibregl-popup-content details.alltags > summary::-webkit-details-marker { display: none; }
.maplibregl-popup-content details.alltags > summary::before { content: '▸ '; }
.maplibregl-popup-content details.alltags[open] > summary::before { content: '▾ '; }
.maplibregl-popup-content table.tags { border-collapse: collapse; margin-top: 6px; max-height: 200px;
  display: block; overflow-y: auto; font-size: 12.5px; }
.maplibregl-popup-content table.tags td { border-top: 1px solid var(--fa-line-2); padding: 3px 8px 3px 0; vertical-align: top; }
.maplibregl-popup-content table.tags td:first-child { color: var(--fa-faint); white-space: nowrap; }
.maplibregl-popup-tip { border-top-color: var(--fa-surface) !important; border-bottom-color: var(--fa-surface) !important; }
.maplibregl-popup-close-button { color: var(--fa-faint); font-size: 18px; }

.hint-popup { pointer-events: none; }
.hint-popup .maplibregl-popup-content { padding: 4px 9px; font-family: var(--fa-body); font-weight: 600; font-size: 12px; box-shadow: var(--fa-shadow-md); }
.hint-popup .maplibregl-popup-tip { display: none; }
