/* Marcadores gestionados separados de los waypoints GPX legacy. */
.route-managed-poi-marker{background:#275f58!important;border-color:#fff!important;color:#fff!important;box-shadow:0 2px 8px #142a2780}
.route-managed-poi-toggle{display:inline-flex;align-items:center;gap:.35rem;justify-content:center;margin:6px 8px 5px 0;padding:7px 12px;border:1px solid #275f58;background:#fff;color:#204a42;border-radius:999px;cursor:pointer;font:600 12px system-ui,sans-serif}
.route-managed-poi-toggle.is-active{background:#275f58;color:#fff}
.route-managed-poi-toggle:focus-visible{outline:3px solid #bc7b2d;outline-offset:2px}
.lb-profile-poi circle{fill:#275f58;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.lb-profile-poi text{fill:#fff;font:700 9px system-ui,sans-serif;pointer-events:none}
.lb-profile-poi-legend{display:flex;flex-wrap:wrap;gap:7px 13px;padding:10px 4px 2px;font:12px system-ui,sans-serif}
.lb-profile-poi-legend span{display:inline-flex;gap:5px;align-items:center;color:#263e32}
.lb-profile-poi-legend b{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 3px;border-radius:50%;background:#275f58;color:#fff;font-size:11px}
@media(max-width:640px){.lb-profile-poi-legend{font-size:11px}.route-managed-poi-toggle{font-size:11px}}

/* Descripción larga: desplazar SOLO la tarjeta; el mapa sigue fijo. */
.leaflet-popup-content .route-poi-popup{max-height:min(62vh,490px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:7px;min-width:0}
.route-poi-popup .route-poi-photo{display:block;width:100%;max-width:100%;max-height:205px;object-fit:contain;background:#edf0eb;margin:0 0 10px;border-radius:9px}
.route-poi-popup>strong{display:block;margin:5px 0 8px;line-height:1.25}
.route-poi-popup>p{white-space:normal;overflow-wrap:anywhere;line-height:1.55;margin:8px 0}
@media(max-height:620px){.leaflet-popup-content .route-poi-popup{max-height:48vh}.route-poi-popup .route-poi-photo{max-height:145px}}
@media(max-width:560px){.leaflet-popup-content .route-poi-popup{max-height:56vh}.route-poi-popup .route-poi-photo{max-height:165px}}
.route-poi-report-btn{margin-top:10px;padding:6px 10px;border:1px solid #4d7556;border-radius:6px;background:#fff;color:#285332;cursor:pointer}
