.geo-map-panel{--gm-bg:rgba(10,14,22,.97);--gm-text:#edf2fa;--gm-muted:#9aaabe;--gm-line:rgba(166,194,227,.18);position:fixed;z-index:35;top:78px;bottom:94px;right:2.5%;width:56%;padding:24px;box-sizing:border-box;display:flex;flex-direction:column;gap:16px;border:1px solid var(--gm-line);border-radius:22px;background:var(--gm-bg);color:var(--gm-text);box-shadow:0 24px 90px #0004;overflow:auto;animation:geo-in .35s ease}
.geo-map-panel[hidden],.geo-mobile-tabs[hidden]{display:none}
html[data-theme=light] .geo-map-panel{--gm-bg:rgba(248,251,255,.98);--gm-text:#183047;--gm-muted:#5b6e83;--gm-line:rgba(40,67,95,.18)}
.geo-open [data-card="geography:map"]{left:2.5%!important;right:auto!important;width:36%!important;max-width:none!important}
.geo-map-panel header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.geo-eyebrow{font-size:10px;letter-spacing:.22em;color:#ed315c}
.geo-map-panel h2{font-size:clamp(20px,2vw,28px);line-height:1.2;margin:7px 0 0}
.geo-map-panel button{font:inherit;color:inherit;cursor:pointer}
.geo-close{width:34px;height:34px;border:1px solid var(--gm-line);background:transparent;border-radius:50%;font-size:23px!important;flex-shrink:0}
.geo-route-filters{display:flex;flex-wrap:wrap;gap:6px}
.geo-route-filters button,.geo-stops button,.geo-map-tools button{padding:8px 12px;border:1px solid var(--gm-line);background:transparent;border-radius:20px;font-size:12px;line-height:1.3}
.geo-map-panel button.selected{border-color:#ed315c;background:rgba(237,49,92,.1);color:var(--gm-text)}
.geo-canvas{position:relative;min-height:200px;flex:1 0 260px;background:radial-gradient(ellipse at 55% 45%,rgba(64,107,159,.14),transparent 80%);border:1px solid var(--gm-line);border-radius:15px;overflow:hidden}
.geo-canvas svg{width:100%;height:100%;position:absolute;inset:0;touch-action:none;cursor:grab}
.geo-canvas svg:active{cursor:grabbing}.geo-canvas image{opacity:.3;filter:invert(1)}
html[data-theme=light] .geo-canvas image{filter:none;opacity:.18}
.geo-grid{color:#8daecc;opacity:.15;pointer-events:none}
.geo-route-line{fill:none;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.geo-route-glow{fill:none;stroke-width:5;opacity:.12}
.geo-route-hit{fill:none;stroke:transparent;stroke-width:7;cursor:pointer}
.geo-routes g{transition:opacity .2s}.geo-routes .muted{opacity:.15}
.geo-point{cursor:pointer}.geo-point-hit{fill:transparent}.geo-point-dot{fill:#f0f5fc;stroke:#ed315c;stroke-width:.8}
.geo-point text{fill:var(--gm-text);font:5px Arial,sans-serif;paint-order:stroke;stroke:var(--gm-bg);stroke-width:2;stroke-linejoin:round;pointer-events:none}
.geo-point.selected .geo-point-dot{fill:#ed315c;stroke:#fff;stroke-width:1.3;r:3}
.geo-point.muted{opacity:.35}.geo-point:focus{outline:none}.geo-point:focus .geo-point-dot{stroke:#fff;stroke-width:1.6}
.geo-zoom{position:absolute;right:10px;bottom:10px;display:flex;gap:5px}
.geo-zoom button{width:36px;height:36px;background:var(--gm-bg);border:1px solid var(--gm-line);border-radius:9px;font-size:21px}
.geo-map-tools{display:flex;gap:8px;align-items:center;justify-content:space-between;color:var(--gm-muted);font-size:11px}
.geo-map-tools button{flex-shrink:0;color:var(--gm-text)}
.geo-route-detail strong{font-size:14px;font-weight:500;line-height:1.4;display:block;margin-bottom:10px}
.geo-stops{display:flex;flex-wrap:wrap;gap:5px}.geo-stops button{font-size:12px;padding:6px 10px}
.geo-map-note{font-size:11px;line-height:1.5;color:var(--gm-muted);margin:0}
.geo-credit{font-size:9px;color:var(--gm-muted);opacity:.7}
.geo-mobile-tabs{display:none}
.geo-map-panel button:focus-visible,.geo-canvas svg:focus-visible{outline:2px solid #ed315c;outline-offset:3px}
@keyframes geo-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:900px){
 .geo-mobile-tabs:not([hidden]){display:flex;position:fixed;top:64px;left:5%;right:5%;z-index:42;gap:6px}
 .geo-mobile-tabs button{flex:1;padding:9px;border:1px solid #ed315c55;border-radius:20px;background:#111721;color:#edf2fa;font:14px Arial;cursor:pointer}
 html[data-theme=light] .geo-mobile-tabs button{background:#f7fafc;color:#183047}
 .geo-mobile-tabs button[aria-pressed=true]{background:#ed315c;color:#fff}
 .geo-map-panel{top:111px;left:5%;right:5%;width:90%;bottom:95px;padding:18px;gap:12px;border-radius:18px}
 .geo-open [data-card="geography:map"]{left:5%!important;top:111px!important;width:90%!important;max-height:calc(100dvh - 210px)!important}
 .geo-open[data-geo-tab=map] [data-card="geography:map"]{visibility:hidden;pointer-events:none}
 .geo-open[data-geo-tab=about] .geo-map-panel{display:none}
 .geo-canvas{flex-basis:220px;min-height:180px}.geo-map-panel h2{font-size:22px}
 .geo-map-tools span{max-width:190px}.geo-route-filters button{font-size:11px;padding:7px 9px}
}
@media(max-width:900px) and (orientation:portrait){
 .geo-map-panel{bottom:245px;min-height:240px}
 .geo-open [data-card="geography:map"]{max-height:calc(100dvh - 360px)!important}
 .geo-canvas{flex:0 0 200px;min-height:200px}
}
@media(prefers-reduced-motion:reduce){.geo-map-panel{animation:none}}
