/* "Keep this stop": a quiet card in the stop sheet's flow, after the first arrival rows. Never floats over the map. */
.bus-sheet .bus-retention { position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin:6px 0; padding:8px 36px 8px 0; border:0; border-top:1px solid var(--nv-line); border-radius:0; background:none; font-size:.75rem; line-height:1.35; animation:bus-retention-in .25s ease-out; }
.bus-sheet .bus-retention strong { flex:1 1 auto; font-size:.8125rem; }
.bus-sheet .bus-retention p { flex:1 0 100%; margin:0; color:var(--nv-muted); font-size:.6875rem; }
.bus-retention-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:2px; }
.bus-sheet .bus-retention-actions button, .bus-sheet .bus-retention-actions a { position:relative; min-height:28px; display:inline-flex; align-items:center; justify-content:center; padding:0 10px; border:1px solid var(--nv-line); border-radius:var(--nv-r); background:#fff; color:var(--nv-ink); font:600 .75rem/1.2 var(--nv-font); text-decoration:none; }
.bus-sheet .bus-retention-actions button::after, .bus-sheet .bus-retention-actions a::after { content:""; position:absolute; inset:-8px -3px; }
.bus-sheet .bus-retention .bus-retention-close { position:absolute; top:0; bottom:0; right:-6px; width:44px; height:44px; min-height:44px; margin:auto 0; padding:0; border:0; background:none; color:var(--nv-muted); font-size:1.25rem; line-height:1; }
@keyframes bus-retention-in { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { .bus-sheet .bus-retention { animation:none; } }
