.fbo-map-toggle[aria-pressed=true]{border-color:var(--primary,#6555ff);box-shadow:inset 0 0 0 1px var(--primary,#6555ff)}
.fbo-map-status{padding:12px 18px;border-bottom:1px solid var(--line,#dfe5f1);font-size:12px;line-height:1.6;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.fbo-map-status>p,.fbo-map-status>details,.fbo-map-status>form{width:100%;margin:0}.fbo-map-status small{display:block;color:var(--muted);font-size:10px}.fbo-map-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:11px}.fbo-map-legend>span:before{content:'';display:inline-block;border-top:2px dashed currentColor;width:20px;margin-right:5px;vertical-align:middle}.fbo-map-legend .planned{color:#4c8bbb}.fbo-map-legend .transit{color:#8b68e5}.fbo-map-legend .acceptance{color:#289e82}
.fbo-map-line{fill:none;stroke:#8b68e5;stroke-width:2.3;stroke-dasharray:7 5;vector-effect:non-scaling-stroke;pointer-events:none;opacity:.9}.fbo-map-line.planned{stroke:#4c8bbb}.fbo-map-line.acceptance{stroke:#289e82}.fbo-map-end{fill:#8b68e5;stroke:var(--surface,#fff);stroke-width:1.3;vector-effect:non-scaling-stroke;pointer-events:none}.fbo-map-end.origin{fill:#4c8bbb}.fbo-map-truck{cursor:pointer;color:white;outline:none;pointer-events:bounding-box}.fbo-map-hit{fill:transparent}.fbo-map-truck-bg{fill:#7654ce;stroke:white;stroke-width:1.8}.fbo-map-truck.planned .fbo-map-truck-bg{fill:#417ca7}.fbo-map-truck.acceptance .fbo-map-truck-bg{fill:#21836c}.fbo-map-truck:focus .fbo-map-truck-bg,.fbo-map-truck:hover .fbo-map-truck-bg{stroke:#f3c759;stroke-width:3}
.fbo-map-tip{position:absolute;z-index:5;width:350px;max-width:calc(100% - 16px);max-height:min(440px,85%);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;background:var(--surface,#fff);color:var(--text,#202c43);border:1px solid var(--line,#dfe5f1);border-radius:12px;padding:14px;box-shadow:0 10px 35px #101a3840;font-size:12px;line-height:1.5}.fbo-map-tip[hidden]{display:none}.fbo-map-tip-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.fbo-map-tip-head strong{font-size:14px;overflow-wrap:anywhere}.fbo-map-tip-head button{border:0;background:transparent;color:inherit;font:inherit;font-size:24px;line-height:1;cursor:pointer;padding:0 5px}.fbo-map-tip small{display:block;color:var(--muted);font-size:10px;line-height:1.5}.fbo-map-tip-status{display:inline-block;margin-top:5px;padding:3px 7px;border-radius:5px;background:var(--canvas,#f3f5fa);font-size:11px}.fbo-map-itinerary{display:flex;gap:9px;align-items:center;margin:10px 0;overflow-wrap:anywhere}.fbo-map-itinerary>span{flex:1;min-width:0}.fbo-map-items{overflow:auto;margin-top:10px;max-height:210px}.fbo-map-items table{width:100%;border-collapse:collapse}.fbo-map-items th,.fbo-map-items td{font-size:12px;padding:7px 3px;border-bottom:1px solid var(--line,#dfe5f1);text-align:left}.fbo-map-items th:last-child,.fbo-map-items td:last-child{text-align:right;white-space:nowrap}.fbo-map-items td:first-child{overflow-wrap:anywhere}.fbo-map-error{color:var(--tc-text-d34452,#c14955)}.fbo-map-missing summary{cursor:pointer}.fbo-map-missing ul{padding-left:18px;max-height:230px;overflow:auto}.fbo-map-missing li{padding:6px 0;overflow-wrap:anywhere}.fbo-map-missing button{margin-left:8px}.fbo-map-point-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;padding:12px;border:1px solid var(--line,#dfe5f1);border-radius:9px;box-sizing:border-box}.fbo-map-point-form>strong,.fbo-map-point-form>small{width:100%}.fbo-map-point-form label{flex:1;min-width:100px}.fbo-map-point-form p{width:100%}.fbo-map-tip button:focus-visible,.fbo-map-status button:focus-visible{outline:2px solid var(--primary,#6555ff);outline-offset:2px}
@media(max-width:650px){.fbo-map-status{padding:12px}.fbo-map-tip{width:310px;font-size:11px}.fbo-map-tip-head strong{font-size:12px}.fbo-map-legend{gap:8px}.fbo-map-point-form{gap:8px}}
@media(prefers-reduced-motion:reduce){.fbo-map-truck,.fbo-map-line{transition:none}}

@media(max-width:650px){.fbo-map-tip{position:fixed;left:12px!important;right:12px;bottom:12px;top:auto!important;width:auto;max-width:none;max-height:60vh!important;z-index:25}.fbo-map-tip-head button{min-width:32px;min-height:32px}.fbo-map-edit-links{gap:6px}.fbo-map-edit-links button{font-size:11px}}
