#route-guidance { position:absolute; inset:0; pointer-events:none; z-index:700; overflow:hidden; }
#route-guidance[hidden],#route-guidance [hidden] { display:none; }
.route-reach { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.route-reach path { fill:#ffd16604; stroke:#ffd16644; stroke-width:1; stroke-dasharray:3 7; }
.route-head-halo { position:absolute; left:0; top:0; width:0; height:0; }
.route-head-halo::before,.route-head-halo i { content:''; position:absolute; left:-17px; top:-17px; width:34px; height:34px; border:1px solid #ffd1668c; border-radius:50%; box-sizing:border-box; }
.route-head-halo i { animation:route-tip-breathe 1.8s ease-out infinite; }
#route-guidance[data-started="false"] .route-head-halo::before { border-color:#ffd16645; width:44px; height:44px; left:-22px; top:-22px; }
#route-guidance[data-tracing="true"] .route-head-halo::before { border-style:dashed; border-width:2px; animation:route-tip-turn 8s linear infinite; }
.endpoint-cue { position:absolute; left:0; top:0; width:32px; height:32px; padding:0; border-radius:50%; border:1px solid currentColor; background:#17182bef; color:#bbef6d; font:600 14px var(--pf-font); pointer-events:auto; cursor:pointer; }
.endpoint-cue.end { color:#fc66d9; }
.endpoint-cue::after { content:''; position:absolute; left:50%; top:50%; width:7px; height:7px; border-right:2px solid currentColor; border-top:2px solid currentColor; transform:translate(-50%,-50%) rotate(var(--direction)) translateX(23px) rotate(45deg); }
@keyframes route-tip-breathe { 0%{transform:scale(.8);opacity:.65} 100%{transform:scale(1.45);opacity:0} }
@keyframes route-tip-turn { to{transform:rotate(360deg)} }
@media(prefers-reduced-motion:reduce) { .route-head-halo i,#route-guidance[data-tracing="true"] .route-head-halo::before { animation:none; } }
/* Small directional notches distinguish endpoints without covering S/E. */
#marker-container .start-marker::after,#marker-container .end-marker::after { content:''; display:block; position:absolute; left:50%; top:-10px; width:5px; height:5px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateX(-50%) rotate(45deg); opacity:.85; }
