/* Only the vehicle popup; existing map, stop board and native action handlers stay in place. */
#vehiclePanel.ovCompact-popup{--oc-ink:var(--ink,#102b40);--oc-muted:var(--muted,#597083);--oc-line:#e2e9ed;--oc-surface:var(--surface,#fff);--oc-blue:#0767d9;--oc-blue-soft:#eff6ff;--oc-green:#187b4c;border-radius:22px;z-index:26}
body.theme-night #vehiclePanel.ovCompact-popup{--oc-line:#334650;--oc-blue:#85b7ff;--oc-blue-soft:#1e344e;--oc-green:#79d6a3}
#vehiclePanel.ovCompact-popup #vehiclePanelBody{padding:12px 18px 0!important;color:var(--oc-ink);scrollbar-gutter:stable;overflow-anchor:none}
#vehiclePanel.ovCompact-popup>header .ovEntityLinkCopy{display:none!important}
#vehiclePanel.ovCompact-popup #vehiclePanelClose{right:12px!important;min-width:34px;min-height:34px;border-radius:10px}
#vehiclePanel.ovCompact-popup .vprHeader{grid-template-columns:54px minmax(0,1fr);column-gap:12px;row-gap:0;padding:8px 32px 20px 0!important;border:0!important;border-radius:0!important;background:transparent!important}
#vehiclePanel.ovCompact-popup .vprHeroBadge{min-width:54px!important;max-width:70px;height:54px!important;border-radius:14px!important;font-size:22px!important}
#vehiclePanel.ovCompact-popup .vprTopline h2{display:flex!important;flex-direction:column;gap:3px;font-size:17px!important;line-height:1.3!important;margin:0!important;overflow-wrap:anywhere}
#vehiclePanel.ovCompact-popup .ovCompactTitle{font-weight:750}
#vehiclePanel.ovCompact-popup .ovCompactDestination{font-size:13px;font-weight:400;color:var(--oc-muted)}
#vehiclePanel.ovCompact-popup .vprHeroStatus{gap:7px!important;flex-wrap:wrap;margin:6px 0 0!important}
#vehiclePanel.ovCompact-popup .vprQuality{min-height:18px!important;padding:2px 8px!important;font-size:11px!important}
#vehiclePanel.ovCompact-popup .vprQualityAge{font-size:11px!important}
#vehiclePanel.ovCompact-popup .vprDelay{font-size:11px!important;padding:2px 7px!important}
#vehiclePanel.ovCompact-popup .ux-vehicle-quality:not(.ux-warning),
#vehiclePanel.ovCompact-popup .vprSummary,
#vehiclePanel.ovCompact-popup .ov51StopRail,
#vehiclePanel.ovCompact-popup .vprCoachCount,
#vehiclePanel.ovCompact-popup .vprEtaIcon,
#vehiclePanel.ovCompact-popup .ux-eta-source,
#vehiclePanel.ovCompact-popup .vprTimelineStatus,
#vehiclePanel.ovCompact-popup .stop-chevron,
#vehiclePanel.ovCompact-popup #vpMore,
#vehiclePanel.ovCompact-popup #vpShare{display:none!important}
#vehiclePanel.ovCompact-popup .vprEta{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:4px 12px!important;padding:16px!important;margin:0 0 20px!important;border:0!important;border-radius:15px!important;background:var(--oc-blue-soft)!important;min-height:84px}
#vehiclePanel.ovCompact-popup .vprEta>div{grid-column:1!important;grid-row:1 / 3!important;min-width:0}
#vehiclePanel.ovCompact-popup .vprEta b{font-size:10px!important;text-transform:uppercase;letter-spacing:.7px;color:var(--oc-muted)!important}
#vehiclePanel.ovCompact-popup .vprEta small:not(.ux-eta-source){font-size:18px!important;line-height:1.25!important;font-weight:750;color:var(--oc-ink)!important;margin-top:5px!important;white-space:normal!important;overflow-wrap:anywhere}
#vehiclePanel.ovCompact-popup .vprEta time{grid-column:2!important;grid-row:1!important;align-self:end;font-size:26px!important;line-height:1.1!important;letter-spacing:-1px;color:var(--oc-blue)!important;white-space:nowrap}
#vehiclePanel.ovCompact-popup .vprEta em{grid-column:2!important;grid-row:2!important;align-self:start;font-size:12px!important;font-style:normal;color:var(--oc-blue)!important;text-align:right}
#vehiclePanel.ovCompact-popup .vprTimeline{margin:0!important;padding:0!important;border:0!important}
#vehiclePanel.ovCompact-popup .vprTimeline .timeline-head{margin:0 0 14px!important;gap:12px;min-height:30px}
#vehiclePanel.ovCompact-popup .vprTimeline h3{font-size:11px!important;letter-spacing:.7px;color:var(--oc-muted);font-weight:650}
#vehiclePanel.ovCompact-popup .ovCompactStops{font-family:inherit;font-size:12px;font-weight:650;line-height:1.3;background:transparent;border:0;color:#00877f;padding:8px 0;min-height:34px;cursor:pointer}
body.theme-night #vehiclePanel.ovCompact-popup .ovCompactStops{color:#54d5c9}
#vehiclePanel.ovCompact-popup .vprTimeline ol{padding:0!important;margin:0!important}
#vehiclePanel.ovCompact-popup .vprTimeline li,
#vehiclePanel.ovCompact-popup .vprTimeline li[data-stop-name]{grid-template-columns:42px 12px minmax(0,1fr);gap:12px;min-height:58px!important;padding:0 0 12px!important;margin:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;align-items:start}
#vehiclePanel.ovCompact-popup .vprTimeline li[hidden],#vehiclePanel.ovCompact-popup button[hidden]{display:none!important}
#vehiclePanel.ovCompact-popup .vprTimeline li>time{display:block!important;font-size:12px!important;line-height:1.4!important;padding-top:1px;white-space:normal;text-align:left}
#vehiclePanel.ovCompact-popup .vprTimeline li>time .vprStopTime{display:block!important}
#vehiclePanel.ovCompact-popup .vprTimeline li>div>b{font-size:13px!important;line-height:1.4!important;font-weight:600;overflow-wrap:anywhere}
#vehiclePanel.ovCompact-popup .vprTimeline .journey-sub{font-size:11px!important;line-height:1.4!important;color:var(--oc-muted);margin-top:4px}
#vehiclePanel.ovCompact-popup .vprTimeline li.current .journey-sub{color:var(--oc-green)}
#vehiclePanel.ovCompact-popup .vprTimeline li.next>div>b{color:var(--oc-blue)}
#vehiclePanel.ovCompact-popup .vprTimeline li.passed{opacity:.65!important}
#vehiclePanel.ovCompact-popup .timeline-dot{margin-top:4px!important}
#vehiclePanel.ovCompact-popup .vprTimeline li>time .vprDelaySuffix{display:block!important;font-size:10px!important;padding:0!important;margin:2px 0 0!important}
#vehiclePanel.ovCompact-popup .ovCompactInfo{border-top:1px solid var(--oc-line);margin:8px 0 0;padding:0}
#vehiclePanel.ovCompact-popup .ovCompactInfo>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;list-style:none;padding:13px 0;background:transparent;color:var(--oc-ink);font-size:12px;cursor:pointer}
#vehiclePanel.ovCompact-popup .ovCompactInfo>summary::-webkit-details-marker{display:none}
#vehiclePanel.ovCompact-popup .ovCompactInfoLabel{font-weight:650;white-space:nowrap}
#vehiclePanel.ovCompact-popup .ovCompactChevron{display:inline-block;margin-left:7px}
#vehiclePanel.ovCompact-popup .ovCompactInfo[open] .ovCompactChevron{transform:rotate(180deg)}
#vehiclePanel.ovCompact-popup .ovCompactMeta{font-size:11px;color:var(--oc-muted);text-align:right;overflow-wrap:anywhere}
#vehiclePanel.ovCompact-popup #vehiclePanelBody .vprTripMeta{display:block!important;position:static!important;padding:8px 0 14px!important;margin:0!important;border:0!important;color:var(--oc-muted)}
#vehiclePanel.ovCompact-popup .vprTripMeta>div,#vehiclePanel.ovCompact-popup .vprTripMeta>small{font-size:12px!important;line-height:1.7!important}
#vehiclePanel.ovCompact-popup .ovCompactComposition{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;padding:0 0 16px}
#vehiclePanel.ovCompact-popup .ovCompactComposition dt{font-size:11px;color:var(--oc-muted)}
#vehiclePanel.ovCompact-popup .ovCompactComposition dd{font-size:13px;font-weight:650;margin:3px 0 0;overflow-wrap:anywhere}
#vehiclePanel.ovCompact-popup .ovCompactComposition>small{grid-column:1/-1;color:var(--oc-muted)}
#vehiclePanel.ovCompact-popup .vprActions{position:sticky!important;bottom:0;z-index:8;display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important;gap:8px!important;margin:0 -1px!important;padding:12px 0!important;background:var(--oc-surface)!important;border-top:1px solid var(--oc-line);min-height:68px}
#vehiclePanel.ovCompact-popup .vprActions.noRoute{grid-template-columns:1fr!important}
#vehiclePanel.ovCompact-popup .vprActions>#vpRoute,
#vehiclePanel.ovCompact-popup .vprActions>.ov4Follow{min-width:0;min-height:44px!important;padding:9px 10px!important;border-radius:12px!important;font-size:13px!important;font-weight:650;gap:7px}
#vehiclePanel.ovCompact-popup .vprActions>#vpRoute{background:#00877f!important;color:#fff!important}
#vehiclePanel.ovCompact-popup .vprActions>.ov4Follow{background:var(--oc-surface);color:var(--oc-ink);border:1px solid var(--oc-line)}
#vehiclePanel.ovCompact-popup .vprActions>.ov4Follow[aria-pressed=true]{background:#e9f6ee;color:#187b4c;border-color:#99cfb1}
body.theme-night #vehiclePanel.ovCompact-popup .vprActions>.ov4Follow[aria-pressed=true]{background:#163c2d;color:#79d6a3}
@media(max-width:350px){#vehiclePanel.ovCompact-popup #vehiclePanelBody{padding:10px 14px 0!important}#vehiclePanel.ovCompact-popup .vprHeader{grid-template-columns:48px minmax(0,1fr);column-gap:9px}#vehiclePanel.ovCompact-popup .vprHeroBadge{min-width:48px!important;height:48px!important;font-size:19px!important}#vehiclePanel.ovCompact-popup .vprTopline h2{font-size:15px!important}#vehiclePanel.ovCompact-popup .vprEta{padding:13px!important;gap:4px 8px!important}#vehiclePanel.ovCompact-popup .vprEta small:not(.ux-eta-source){font-size:16px!important}#vehiclePanel.ovCompact-popup .vprEta time{font-size:24px!important}#vehiclePanel.ovCompact-popup .vprEta em{font-size:11px!important}#vehiclePanel.ovCompact-popup .ovCompactMeta{max-width:135px}#vehiclePanel.ovCompact-popup .vprActions>#vpRoute,#vehiclePanel.ovCompact-popup .vprActions>.ov4Follow{font-size:12px!important}}
@media(max-width:760px){body:has(#vehiclePanel.ovCompact-popup.open.expanded) #quickSearchDock{visibility:hidden;pointer-events:none}}
