/* Exact UI repairs 23 Nov 2026: footer, train-replacement lines, cancellation. */
#vehiclePanel.ovCompact-popup{padding-bottom:0!important}
#vehiclePanel.ovCompact-popup #vehiclePanelBody{
 display:flex!important;flex-direction:column!important;padding-bottom:0!important
}
#vehiclePanel.ovCompact-popup #vehiclePanelBody>*{flex-shrink:0!important}
#vehiclePanel.ovCompact-popup #vehiclePanelBody>.vprActions{
 margin-top:auto!important;margin-bottom:0!important;bottom:0!important;
 padding-bottom:max(6px,env(safe-area-inset-bottom))!important
}
@media(max-width:760px){
 #vehiclePanel.ovCompact-popup.ov6-mobile{padding-bottom:0!important}
 #vehiclePanel.ovCompact-popup.ov6-mobile #vehiclePanelBody>.vprActions{
  margin-top:auto!important;margin-bottom:0!important;bottom:0!important;
  padding-bottom:max(6px,env(safe-area-inset-bottom))!important
 }
}
/* Replacement bus text uses 2 fully legible lines instead of a clipped 41px badge. */
#stopPanel .depRow.ovTrainReplacement{
 grid-template-columns:82px minmax(0,1fr) auto!important;column-gap:9px!important
}
#stopPanel .depRow.ovTrainReplacement .depCarrierLine.ovTrainReplacementBadge{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:2px!important;box-sizing:border-box!important;
 width:82px!important;min-height:42px!important;height:auto!important;
 padding:6px 4px!important;white-space:normal!important;overflow:visible!important;
 line-height:1.16!important;letter-spacing:0!important;font-size:11px!important
}
#stopPanel .depRow.ovTrainReplacement .ovTrainReplacementBadge>span{
 display:block!important;white-space:nowrap!important
}
#stopPanel .depRow.ovTrainReplacement .ovTrainReplacementBadge>span:last-child{
 font-size:10px!important;font-weight:700!important
}
/* Cancellation: visible even among many normal departures. */
#stopPanel .depRow.cancelled{
 background:rgba(196,35,35,.085)!important;
 box-shadow:inset 4px 0 #c22929!important;
}
#stopPanel .depRow.cancelled .depStatus.danger{
 display:inline-flex!important;align-items:center!important;
 color:#fff!important;background:#ae1c25!important;
 border:1px solid #93151c!important;border-radius:7px!important;
 padding:3px 7px!important;font-size:11px!important;font-weight:800!important;
 line-height:1.25!important;letter-spacing:.01em!important
}
#stopPanel .depRow.cancelled .depTimeMain{color:#a51d25!important;font-weight:800!important}
#stopPanel .depRow.cancelled .depMain>b del{color:var(--ink,#17212b)!important;text-decoration-thickness:1.5px!important}
body.theme-night #stopPanel .depRow.cancelled{
 background:rgba(235,67,67,.13)!important;box-shadow:inset 4px 0 #fb6868!important
}
body.theme-night #stopPanel .depRow.cancelled .depTimeMain{color:#ff8c92!important}
body.theme-night #stopPanel .depRow.cancelled .depStatus.danger{
 color:#fff!important;background:#aa2630!important;border-color:#ed7177!important
}
