/* New Launch Map: prominent MRT/LRT overlay (19 Nov 2026) */
.ew-mrt-leg-inline{margin-top:5px;padding-top:5px;border-top:1px solid #e2e8f0;width:100%}
.ew-mrt-leg-inline .ew-mrt-leg__t{font-weight:700;color:#0f172a;margin:0 0 3px;font-size:.7rem}
.ew-mrt-leg-inline .ew-mrt-leg__row{display:flex;flex-wrap:wrap;gap:2px 8px}
.ew-mrt-leg-inline span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:#334155}
.ew-mrt-leg-inline i{width:12px;height:3px;border-radius:2px;background:var(--c)}
@media (max-width:699px){
  .ew-mrt-leg-inline .ew-mrt-leg__t{font-size:.64rem}
}

/* Nearest MRT block in the full-details panel */
.ew-mrt-panel{margin:10px 0 12px;padding:10px 12px;border-radius:12px;background:#f0fdf4;border:1px solid #cdebdd}
.ew-mrt-panel__t{margin:0 0 4px;font:700 .8rem Inter,system-ui,sans-serif;color:#065f46}
.ew-mrt-panel ul{margin:0;padding:0;list-style:none}
.ew-mrt-panel li{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;padding:3px 0;font-size:.9rem;color:#0f172a}
.ew-mrt-panel .ew-mrt-dot{flex:none;width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--c, #009645);background:var(--c,#009645)}
.ew-mrt-panel .ew-mrt-name{font-weight:700}
.ew-mrt-panel .ew-mrt-codes{color:#64748b;font-size:.8rem}
.ew-mrt-panel .ew-mrt-walk{margin-left:auto;color:#334155;font-size:.85rem}
.ew-mrt-panel .fine{margin:6px 0 0;color:#64748b}

/* Station popup on the map */
.ew-mrt-pop{min-width:140px;max-width:220px;padding:2px 0}
.ew-mrt-pop__name{margin:0;font:700 .95rem/1.25 Inter,system-ui,sans-serif;color:#0f172a}
.ew-mrt-pop__lines{margin:4px 0 0;display:flex;flex-wrap:wrap;gap:4px}
.ew-mrt-chip{display:inline-flex;align-items:center;gap:4px;padding:1px 7px;border-radius:999px;font:700 .68rem Inter,system-ui,sans-serif;color:#fff;background:var(--c,#334155)}

/* Keep project photo markers and popups above the MRT legend */
.maplibregl-popup{z-index:6}
.pm{z-index:5}

/* Quick-card nearest MRT row: allow two stations without overflowing */
.maplibregl-popup .ic dl dt{color:#64748b}
.maplibregl-popup .ew-mrt-dd{display:block;line-height:1.35}
.maplibregl-popup .ew-mrt-dd b{font-weight:700}
