/* The route map beside a price: a quiet map, a dot where the trip starts,
   a square where it lands, each with its name. Loaded on the client quote
   page, the panel and the demo. */
.route-map { position: relative; height: clamp(220px, 34vw, 340px); margin: 0 0 16px; border: 1px solid #DADDE2; border-radius: 12px; overflow: hidden; background: #ECEEF1; }
.route-map[hidden] { display: none; }
.route-map .maplibregl-ctrl-attrib { font-size: 10px; }
.route-map .pin { display: grid; justify-items: center; gap: 4px; pointer-events: none; }
.route-map .pin i { display: block; width: 14px; height: 14px; margin-bottom: -7px; background: #15181D; border: 3px solid #FFFFFF; box-shadow: 0 0 0 1px #15181D; }
.route-map .pin.start i { border-radius: 50%; }
.route-map .pin span { font: 500 12px "IBM Plex Sans", system-ui, sans-serif; background: #15181D; color: #FFFFFF; padding: 3px 8px; border-radius: 4px; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }

/* The landing page's dark map (17 Nov 2026): white marks on dark. */
.route-map.dark { background: #0B0F14; border-color: #232a34; }
.route-map.dark .pin span { background: #FFFFFF; color: #0B0F14; }
.route-map.dark .pin i { background: #FFFFFF; border-color: #0B0F14; box-shadow: 0 0 0 1px #FFFFFF; }
.route-map.dark .maplibregl-ctrl-attrib { background: rgba(11,15,20,.6); color: #9aa3ae; }
.route-map.dark .maplibregl-ctrl-attrib a { color: #c9d1db; }
