body .app-bar {background:#0F4C8E!important;border-radius:0;left:0;right:0;top:0}
html body .app-bar::before {background:#0F4C8E!important;border-radius:0}
body .brand {color:white}
body #quickSearchDock {visibility:visible!important;pointer-events:auto!important;background:white!important;z-index:48}
body #searchInput {color:#172333!important}

html body :is(#stopPanel,#nearbyPanel,#vehiclePanel,#favoritePanel,#planningPanel,#exploreDock) * {white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;overflow-wrap:normal;word-break:normal}
html body #stopPanel.open {background:#fff;color:#172333}
html body #stopPanel.open::before {background:white!important}
#stopPanel.open>header {position:relative;align-items:center;padding:18px 16px;gap:10px}
#stopPanel.open>header::before {content:'🚏';background:#e7f2fc;display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:10px;font-size:23px}
#stopPanel.open .stopHeaderCopy>small {display:none}
html body #stopPanelTitle {font-size:20px;font-weight:700;line-height:1.25;color:#172333}
#stopPanelBody {min-width:0;overflow-x:hidden}
#stopPanelMeta {font-size:13px;color:#516273}
.wbFilters,.wbLegend {display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px 16px}
.wbFilters button,.wbLine {font-size:12px;font-weight:700;padding:5px 9px;border-radius:6px;line-height:1.25}
.wbFilters button {background:#eaf1f8;color:#173951;cursor:pointer}
.wbFilters button[aria-pressed=true] {outline:2px solid #0f4c8e;outline-offset:2px}
.wbNotice {margin:0 16px 8px;padding:11px 12px;border-radius:9px;background:#eaf4ff;color:#194b74;font-size:14px;line-height:1.45}
.wbNotice summary {cursor:pointer;font-weight:650}
.wbNotice p {margin:7px 0;white-space:pre-line!important}
.wbCounts,.wbLegend {font-size:12.5px;color:#516273}
.wbCounts {padding:10px 16px;border-bottom:1px solid #dce4ea}
.wbCounts i,.wbLegend span::before {content:'';display:inline-block;width:7px;height:7px;margin-right:6px;background:#187148;border-radius:50%}
.wbRow {display:grid;grid-template-columns:64px minmax(42px,max-content) minmax(0,1fr) 12px;align-items:start;gap:11px;padding:13px 16px;border-bottom:1px solid #e6ebef}
.wbLine {max-width:80px;text-align:center}
.wbTime {font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
.wbTime small,.wbDest small,.wbWarning {display:block;margin-top:3px;font-size:12px;line-height:1.4}
.wbRow.live .wbTime {color:#187148}.wbRow.late .wbTime {color:#b32830}.wbRow.early .wbTime {color:#6D28D9}
.wbDest strong {font-size:15px;font-weight:600}.wbDest small {color:#526372}
.wbRow.skipped {background:#FFF6E8;box-shadow:inset 4px 0 #e88b1b}.wbWarning {color:#8c4300}
.wbRow.cancelled {color:#667582;background:#f4f5f6}.wbRow.cancelled :is(.wbTime,.wbDest strong) {text-decoration:line-through}
button.wbRow {width:100%;text-align:left;font:inherit;color:inherit;background-color:white;border-radius:0;cursor:pointer}
button.wbRow:disabled {cursor:default}
.wbArrow {font-size:20px;color:#627a91;align-self:center}
@media (hover:hover){button.wbRow:enabled:hover {background-color:#edf4fa}button.wbRow.skipped:enabled:hover {background-color:#ffecd3}}
button.wbRow:focus-visible {outline:2px solid #0f4c8e;outline-offset:-3px}
.wbLegend span:nth-child(2)::before {background:#172333}.wbLegend span:nth-child(3)::before {background:#b32830}.wbLegend span:nth-child(4)::before {background:#6D28D9}
@media(min-width:761px){
 html body :is(#stopPanel,#vehiclePanel).open {position:fixed!important;left:0!important;right:auto!important;top:62px!important;bottom:0!important;width:min(440px,43vw)!important;max-height:none!important;height:auto!important;border-radius:0!important}
 body .app-bar {height:62px}
 body #ovTabs {margin-left:auto}
 html body #quickSearchDock {position:fixed;top:9px!important;left:clamp(154px,24vw,410px)!important;width:clamp(175px,25vw,420px)!important}
 body:has(:is(#stopPanel,#vehiclePanel).open) #map {left:min(440px,43vw)!important;width:auto!important;right:0}
}
@media(max-width:760px){
 html body :is(#stopPanel,#vehiclePanel).open {left:0!important;right:0!important;width:100%!important;bottom:var(--ov24-bottom,64px)!important;top:62px!important;height:auto!important;max-height:none!important;border-radius:0!important}
 html body #stopPanel .panel-body {display:block!important;max-height:none!important;flex:1;overflow-y:auto}
}

#stopPanel.open>header::before {content:"";background:#e7f2fc center/25px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c8e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='15' rx='3'/%3E%3Cpath d='M5 11h14M8 18v3m8-3v3M9 6h6M8 15h1m6 0h1'/%3E%3C/svg%3E")}
@media(min-width:761px){
 body #ovTabs {position:absolute!important;right:16px;left:auto!important;background:#f2f6fb;border-radius:12px}
 html body #quickSearchDock {left:clamp(145px,calc(50% - 190px),calc(100% - 820px))!important;width:clamp(175px,24vw,380px)!important}
}
@media(max-width:760px){
 html body #quickSearchDock:not(:focus-within):not(.search-active) {left:116px!important;right:10px!important;width:auto!important}
 html body #searchInput {font-size:13px}
}
html body .app-bar .brand {display:inline-flex;align-items:center;gap:6px;color:#fff}
html body .app-bar::before,html body:not(.theme-night) .app-bar::before {background:#0f4c8e!important}
html body #quickSearchDock {visibility:visible!important;pointer-events:auto!important;background:white!important}
html body .app-bar *,html body #quickSearchDock *,html body #stopFavoritesMenu * {white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;word-break:normal}
html body #brandModeCounts {display:flex!important;position:fixed;top:70px;right:12px;left:auto;gap:4px;padding:3px 5px;border-radius:9px;background:#fff;color:#172333;box-shadow:0 2px 8px #1232}
html body #brandModeCounts .brand-mode-stat:not(.visible-stat) {display:inline-flex!important;align-items:center;gap:3px;padding:3px 5px;color:#23405b}
html body #brandModeCounts .brand-mode-stat small {font-size:11px}
.wbCounts.stale {color:#687380}.wbCounts.stale i {background:#858b94}
html body #vehiclePanel.appJourney>header,html body #vehiclePanel.appJourney>#vehiclePanelBody,html body #vehiclePanel.appJourney>.sheet-handle {display:none!important}
html body #vehiclePanel.open {transform:none!important;min-width:0}
#websiteTrip {display:flex;flex-direction:column;flex:1;min-height:0;background:white;color:#192b3d}
#websiteTrip header {display:flex;align-items:center;gap:10px;padding:16px;border-bottom:1px solid #dae3ed}
#websiteTrip header>div {flex:1;min-width:0}
#websiteTrip strong {font-size:18px;line-height:1.25}
#websiteTrip small {display:block;color:#516273;font-size:12px;margin-top:4px}
#websiteTrip button,#websiteTripBack {padding:5px 9px;background:#eaf2fa;color:#144673;border-radius:7px}
#websiteTrip header button {font-size:19px}
.journeyStatus {margin:12px 16px;padding:10px 12px;background:#f0f5fa;border-radius:10px;font-size:14px}
.journeyStatus b {color:#187148}
#websiteTrip ol {flex:1;min-height:0;overflow:auto;margin:0;padding:0 16px;list-style:none}
#websiteTrip li {position:relative}
#websiteTrip button.journeyStop {width:100%;text-align:left;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;text-decoration:inherit;cursor:pointer;display:grid;grid-template-columns:70px 20px minmax(0,1fr) 12px;gap:9px;align-items:center;padding:9px 5px;position:relative;font-size:14px;min-height:40px}
#websiteTrip li::before {content:"";position:absolute;left:93px;pointer-events:none;top:0;bottom:0;width:2px;background:#adc3d7}
#websiteTrip li.next {background:#edf5fc;border-radius:7px}
#websiteTrip li.past,#websiteTrip li.past .journeyTime {color:#74818a}
#websiteTrip li.skipped {text-decoration:line-through;color:#7b8086}
.journeyPoint {display:grid;place-items:center;position:relative;justify-self:center;width:9px;height:9px;border:2px solid #718da6;border-radius:50%;background:#fff}
.journeyPoint.vehicle {width:20px;height:23px;color:#fff;background:#0f4c8e;border:0;border-radius:5px}
.journeyTime {font-variant-numeric:tabular-nums;font-weight:650}
.journeyTime.live {color:#187148}.journeyTime.early {color:#6d28d9}.journeyTime.late {color:#b32830}
.wheel {display:inline-block;width:17px;height:17px;color:#637384;vertical-align:-3px}
.journeyStatus .early {color:#6d28d9}.journeyStatus .late {color:#b32830}
#websiteTrip button.journeyStop:focus-visible {outline:2px solid #0f4c8e;outline-offset:-2px}
@media(hover:hover){#websiteTrip button.journeyStop:hover {background:#eaf2fa}}
#stopPanel #passageBoardBack {order:-1;color:#104c8e;background:#eaf2fa;border-radius:7px}

#websiteTrip footer {display:flex;flex-wrap:wrap;gap:8px;padding:9px 12px;border-top:1px solid #dce4ea}
@media(max-width:760px){
 html body:has(:is(#stopPanel,#vehiclePanel,#nearbyPanel,#favoritePanel,#planningPanel).open) #brandModeCounts {visibility:hidden}
 html body #vehiclePanel.open {top:62px!important;bottom:70px!important;height:auto!important;max-height:none!important}
 html body #brandModeCounts {top:60px!important;max-width:calc(100vw - 20px);flex-wrap:nowrap;overflow-x:auto}
 html body .app-bar .brand {font-size:15px}
}

html body #brandModeCounts,html body #ovspotBetaTestBanner,html body #ovspotBetaTestBanner * {white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important}

/* Website journey: one scroll area, fixed header and actions. */
#websiteTrip, #websiteTrip * {white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;overflow-wrap:anywhere}
#websiteTrip header {flex-shrink:0}
#websiteTrip header strong {font-size:21px}
#websiteTrip .journeyVia {font-size:14px;color:#344b60}
#websiteTrip .journeyStatus {flex-shrink:0}
#websiteTrip .journeyBody {flex:1;min-height:0;overflow:auto;padding:0 12px 12px}
#websiteTrip .journeyBody h3 {font-size:12px;letter-spacing:.04em;margin:10px 4px;color:#516273}
#websiteTrip ol {overflow:visible;padding:0;flex:none}
#websiteTrip li.next {border-left:3px solid #2877b9;background:#f2f7fb}
#websiteTrip li.next::before {left:90px}
#websiteTrip .journeyCountdown {display:block;font-size:19px;line-height:1.15}
#websiteTrip .journeyClock {display:block;font-size:12px;font-weight:500;margin-top:3px}
#websiteTrip .journeyExpand {display:block;width:100%;margin:8px 0;padding:10px}
#websiteTrip .journeyVehicle {border:1px solid #dce4ea;border-radius:9px;padding:8px 12px;margin:12px 0}
#websiteTrip .journeyVehicle h3 {font-size:15px;letter-spacing:normal;color:inherit;margin:0 0 8px}
#websiteTrip .journeyVehicle dl {margin:0;font-size:14px}
#websiteTrip .journeyVehicle dl>div {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 0}
#websiteTrip .journeyVehicle dd {margin:0;font-weight:600}
#websiteTrip .journeyVehicle .journeyAccessible {justify-content:flex-start;gap:6px;color:#516273}
#websiteTrip footer {flex-shrink:0}
#websiteTrip footer button {flex:1;min-width:60px;padding:8px 5px}
