@font-face{font-family:REVReference;src:url('./fonts/rev-ui.woff2') format('woff2');font-weight:100 900;font-display:swap}
body.rev-reference{font-family:REVReference,Tahoma,sans-serif!important;--rev-reference-dock-height:220px;--rev-reference-header-bottom:150px}
.rev-reference button,.rev-reference strong,.rev-reference small,.rev-reference .nav-stat{font-family:REVReference,Tahoma,sans-serif!important}
body.rev-reference.rev-navigating #navBanner{display:block!important;position:fixed!important;inset:calc(9px + env(safe-area-inset-top)) 9px auto!important;width:auto!important;max-width:none!important;min-height:0!important;max-height:none!important;padding:14px!important;border:1px solid #4b96ff!important;border-radius:23px!important;background:linear-gradient(115deg,#0759ed,#0877ff)!important;box-shadow:0 8px 23px #0866ff24!important;overflow:hidden!important;z-index:3000!important;color:#fff!important}
.rev-reference-guidance{display:grid;grid-template-columns:55px minmax(0,1fr) 72px;direction:ltr;gap:10px;align-items:center;min-height:60px}
body.rev-reference #navBanner .nav-maneuver-icon{display:grid!important;place-items:center!important;width:52px!important;height:60px!important;flex-basis:auto!important;border:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;color:white!important}
body.rev-reference #navBanner .nav-maneuver-icon svg{width:50px!important;height:50px!important;stroke-width:2.8!important}
.rev-reference .nav-maneuver-text{direction:rtl;text-align:right;min-width:0;display:flex!important;flex-direction:column!important;gap:3px!important}
body.rev-reference #navDist{font:900 clamp(25px,7.1vw,32px)/1.1 REVReference,sans-serif!important;color:white!important}
body.rev-reference #navInstr{font:800 clamp(14px,4.1vw,18px)/1.5 REVReference,sans-serif!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;color:white!important}
.rev-reference-brand{display:block;border:0!important;border-left:1px solid #ffffff38!important;border-radius:0!important;background:none!important;color:#fff!important;font:900 italic 30px/1 Arial,sans-serif!important;letter-spacing:-2px;text-align:center;min-height:45px;padding:3px 0 3px 8px!important;cursor:pointer}
body.rev-reference #revEnergyLine{display:grid!important;grid-template-columns:1.12fr 1fr;align-items:center;gap:8px;padding:9px 10px!important;margin-top:11px!important;border:1px solid #ffffff13!important;border-radius:13px!important;background:#ffffff15!important;color:white!important;min-height:36px!important;white-space:normal!important;text-align:right!important;overflow:hidden;font:700 12px/1.5 REVReference,sans-serif!important}
.rev-ref-energy-next,.rev-ref-energy-arrival{display:flex;align-items:center;gap:7px;min-width:0}.rev-ref-energy-arrival{border-right:1px solid #ffffff38;padding-right:9px}.rev-ref-energy-next span,.rev-ref-energy-arrival span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rev-reference #revEnergyLine svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}.rev-reference #revEnergyLine .rev-ref-energy-next>svg{fill:white;stroke:none}.rev-reference #revEnergyLine[data-kind=bad]{background:#fff1ec!important;color:#9b2919!important}
#revNavigationDock{display:none}body.rev-reference.rev-navigating #revNavigationDock{display:flex;flex-direction:column;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:3000;padding:12px 12px calc(12px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:rgba(255,255,255,.97);box-shadow:0 -8px 30px #14395915;backdrop-filter:blur(14px);direction:rtl;box-sizing:border-box}
.rev-reference-route-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;direction:ltr}.rev-reference-route-tabs>button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:45px;padding:8px 5px;border:1px solid transparent;border-radius:15px;background:linear-gradient(135deg,#f7f9fc,#eff3f8);color:#4a5a74;font-weight:800;font-size:14px;cursor:pointer;box-shadow:none;direction:rtl}.rev-reference-route-tabs>button.is-active{color:#fff;background:linear-gradient(135deg,#0877ff,#0658ed);border-color:#4595ff;box-shadow:0 4px 10px #0866ff23}.rev-reference-route-tabs svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.rev-reference-route-tabs>button:first-child svg{fill:currentColor;stroke:none}
body.rev-reference.rev-navigating #revNavigationDock #revJourneyStrip{position:relative!important;inset:auto!important;display:block!important;width:auto!important;max-width:none!important;min-height:0!important;max-height:none!important;padding:10px 11px!important;margin:0!important;border:1px solid #f0f4f9!important;border-radius:17px!important;box-shadow:none!important;background:linear-gradient(125deg,#fff,#f8fbff)!important;z-index:auto!important;font-family:REVReference,sans-serif!important}
.rev-reference .rev-journey-heading{font-size:13px!important;font-weight:900!important;line-height:1.4;margin-bottom:10px!important;align-items:center;direction:ltr}.rev-reference .rev-journey-heading>strong{color:#14243d!important;direction:rtl}.rev-reference-details{border:0;background:none;padding:0;color:#0866ff;font-weight:800;font-size:11px;direction:rtl;cursor:pointer}.rev-reference-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rev-reference .rev-journey-stops{direction:ltr!important;position:relative;display:flex!important;align-items:stretch;gap:14px!important;padding:0!important;overflow-x:auto;scrollbar-width:none}
.rev-reference .rev-journey-stops.has-track:before{content:'';position:absolute;top:19px;left:28px;right:28px;height:2px;background:linear-gradient(to right,#0866ff 0 48%,#b8c8df 48% 100%);z-index:0}.rev-reference .rev-journey-stops.has-track:after{content:'';position:absolute;left:calc(50% - 12px);top:11px;width:24px;height:16px;background:#0866ff;clip-path:polygon(15% 45%,25% 12%,75% 12%,87% 45%,100% 55%,100% 90%,0 90%,0 55%);box-shadow:0 0 0 6px white;z-index:1;pointer-events:none}
body.rev-reference #revJourneyStops>button{position:relative;z-index:2;display:flex;align-items:flex-start;gap:8px;flex:1 0 calc(50% - 7px);max-width:none;min-width:0;min-height:48px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#10233f!important;text-align:right;direction:ltr;font:800 13px/1.5 REVReference,sans-serif!important;box-shadow:none!important}
.rev-reference-stop-number{display:grid;place-items:center;width:35px;height:35px;flex:none;border:2px solid #fff;border-radius:50%;background:#0872ff;color:white;box-shadow:0 0 0 1px #89bcff;font:800 15px/1 REVReference,sans-serif}.rev-reference-stop-copy{min-width:0;flex:1;direction:rtl;background:#fbfdff}.rev-reference-stop-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:1px;font-weight:900}.rev-reference-stop-name:after{content:'ϟ';color:#0866ff;margin-inline-start:4px;font-size:17px}.rev-reference #revJourneyStops small{display:block;font:600 9px/1.7 REVReference,sans-serif!important;color:#6b7890!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rev-reference #revJourneyStops>button[data-unavailable] .rev-reference-stop-number{background:#c24736}.rev-reference #revJourneyStops>button[data-passed] .rev-reference-stop-number{background:#6a97cf}
body.rev-reference.rev-navigating #revNavigationDock #navDash{position:static!important;display:block!important;inset:auto!important;max-height:none!important;min-height:0!important;width:auto!important;max-width:none!important;border:1px solid #f0f4f9!important;border-radius:16px!important;padding:8px!important;margin:0!important;background:#fff!important;box-shadow:none!important;transform:none!important;overflow:visible!important;z-index:auto!important}
body.rev-reference #navDash .rev-nav-destination-row{display:none!important}.rev-reference #navDash .nav-dash-row{display:flex!important;align-items:center!important;gap:7px!important;direction:ltr!important}.rev-reference #navDash .nav-dash-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex:1!important;gap:5px!important;min-width:0!important}.rev-reference #navDash .nav-stat{display:grid!important;grid-template-columns:19px minmax(0,1fr)!important;grid-template-rows:25px 16px!important;align-items:center!important;gap:0 4px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;direction:ltr!important;text-align:center!important}
.rev-reference #navDash .nav-stat>b{font:900 clamp(13px,4vw,18px)/1.2 REVReference,sans-serif!important;white-space:nowrap!important;color:#172b47!important}.rev-reference #navDash .nav-stat>span:not(.rev-reference-metric-icon){font:500 8px/1.4 REVReference,sans-serif!important;color:#8b97a8!important;grid-column:1/-1!important;direction:rtl!important}.rev-reference-metric-icon{width:19px!important;height:23px!important;grid-row:1!important;color:#172b47!important}.rev-reference-metric-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rev-reference-energy-settings{display:flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:39px;max-width:99px;padding:6px 7px;border:1px solid #dce5f1;border-radius:12px;background:#fff;color:#576b86;font:700 10px/1.4 REVReference,sans-serif;direction:rtl;cursor:pointer}.rev-reference-energy-settings svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;flex:none}
body.rev-reference.rev-navigating #revCockpitTools{top:auto!important;bottom:calc(var(--rev-reference-dock-height) + 16px)!important;right:12px!important}body.rev-reference #revCockpitTools>button:last-child{display:none!important}body.rev-reference #revCockpitTools>button:first-child{border-radius:50%!important;width:46px!important;height:46px!important}
body.rev-reference.rev-navigating #revToolsSheet,body.rev-reference.rev-navigating #revPinSheet,body.rev-reference.rev-navigating #rev-live-energy-advice,body.rev-reference.rev-navigating #routePanel,body.rev-reference.rev-navigating #routeSettingsPanel,body.rev-reference.rev-navigating #tripLivePanel,body.rev-reference.rev-navigating #groupTripPanel,body.rev-reference.rev-navigating #revMusicPanel{bottom:calc(var(--rev-reference-dock-height) + 12px)!important;max-height:calc(100dvh - var(--rev-reference-dock-height) - var(--rev-reference-header-bottom) - 24px)!important;font-family:REVReference,sans-serif!important}
body.rev-reference.rev-navigating #revEnergySheet{top:calc(var(--rev-reference-header-bottom) + 8px)!important;bottom:calc(var(--rev-reference-dock-height) + 8px)!important}
.rev-reference #revToolsSheet .nav-dash-btns{display:flex!important;grid-column:1/-1;gap:8px}.rev-reference #revToolsSheet .nav-dash-btns>button{flex:1;min-height:44px;border:1px solid #e0e8f4;border-radius:12px;background:#f5f9ff;color:#164e9e}
body.rev-reference #previewBadge{top:calc(var(--rev-reference-header-bottom) + 9px)!important;font:500 9px REVReference,sans-serif!important;opacity:.8}
@media(max-height:700px){body.rev-reference.rev-navigating #navBanner{padding:11px!important}.rev-reference-guidance{min-height:48px;grid-template-columns:46px minmax(0,1fr) 64px;gap:8px}body.rev-reference #navBanner .nav-maneuver-icon{width:45px!important;height:50px!important}body.rev-reference #navDist{font-size:27px!important}body.rev-reference #navInstr{font-size:14px!important}.rev-reference-brand{font-size:28px!important}body.rev-reference #revEnergyLine{margin-top:8px!important;padding:7px 8px!important;font-size:11px!important;min-height:31px!important}body.rev-reference.rev-navigating #revNavigationDock{gap:8px;padding:10px}.rev-reference-route-tabs>button{min-height:40px;font-size:12px}.rev-reference .rev-journey-heading{margin-bottom:8px!important}.rev-reference #revJourneyStops>button{min-height:43px!important}}
@media(min-width:700px){body.rev-reference.rev-navigating #navBanner{left:auto!important;right:16px!important;width:min(470px,calc(50vw - 24px))!important}body.rev-reference.rev-navigating #revNavigationDock{left:16px;right:auto;width:min(490px,calc(50vw - 24px));bottom:16px;border-radius:25px;padding:12px}body.rev-reference.rev-navigating #revEnergySheet{left:16px!important;right:auto!important;top:16px!important;width:min(470px,calc(50vw - 24px))!important}.rev-reference #navDash .nav-stat>b{font-size:17px!important}}
@media(max-height:500px) and (max-width:699px){body.rev-reference.rev-navigating #navBanner{left:8px!important;right:auto!important;width:calc(50vw - 16px)!important}.rev-reference-guidance{grid-template-columns:38px minmax(0,1fr) 48px;gap:4px}.rev-reference-brand{font-size:23px!important}body.rev-reference #navDist{font-size:22px!important}body.rev-reference #navInstr{font-size:11px!important}body.rev-reference #revEnergyLine{grid-template-columns:1fr;font-size:10px!important}.rev-ref-energy-arrival{display:none}body.rev-reference.rev-navigating #revNavigationDock{left:auto;right:8px;bottom:8px;width:calc(50vw - 16px);border-radius:20px}.rev-reference-route-tabs>button{font-size:10px;gap:3px}.rev-reference-route-tabs svg{width:17px}.rev-reference-energy-settings span{display:none}.rev-reference .nav-stat>b{font-size:12px!important}}
.rev-reference .rev-reference-brand{font-family:Arial,sans-serif!important}.rev-reference #revPinSheet,.rev-reference #revPinSheet *,.rev-reference #revToolsSheet *,.rev-reference #rev-live-energy-advice *{font-family:REVReference,Tahoma,sans-serif!important}
body.rev-reference #navArrow{width:58px!important;height:68px!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;filter:drop-shadow(0 4px 5px #0866ff55)}body.rev-reference #navArrow svg{width:58px!important;height:68px!important}
