/* Shared journey-first surfaces. Existing actions stay in their original sections. */
.rev-home-start,.rev-service-overview{margin:14px 0 10px;padding:20px;border-radius:18px;background:#eaf3ff;color:#102b52}
.rev-home-start h1,.rev-service-overview h1{margin:0 0 12px;font-size:19px;font-weight:800}
.rev-search-link{display:flex;align-items:center;justify-content:space-between;background:#fff;color:#667b95;text-decoration:none;border-radius:13px;padding:13px 15px;font-size:13px;box-shadow:0 4px 16px #1c5da112}
.rev-search-link span{font-size:24px;color:#1557b4;line-height:1}
.rev-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 20px}
.rev-quick-actions a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:84px;padding:8px;border:1px solid #e2eaf5;border-radius:16px;background:#fff;color:#17325a;text-decoration:none;text-align:center;font-size:12px;font-weight:700}
.rev-quick-actions a b{font-size:24px;line-height:1}
.rev-quick-actions a.rev-quick-primary{background:#0866f5;color:white;border-color:#0866f5}
.rev-service-overview{background:#0965ee;color:#fff;padding:22px}
.rev-service-overview h1{color:#fff}.rev-service-overview p{margin:0 0 18px;font-size:13px;color:#fff;opacity:.9}.rev-service-overview a{display:inline-block;background:#fff;color:#0754d0;border-radius:12px;padding:10px 18px;font-weight:800;text-decoration:none}
.rev-service-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 22px}.rev-service-shortcuts a{min-height:82px;padding:16px;background:#fff;border:1px solid #e3ebf5;border-radius:16px;color:#17325a;text-decoration:none}.rev-service-shortcuts b,.rev-service-shortcuts small{display:block}.rev-service-shortcuts small{margin-top:6px;color:#6d7e91}
@media(max-width:340px){.rev-quick-actions a{font-size:10px}.rev-home-start,.rev-service-overview{padding:16px}}

/* Put the journey entry ahead of the legacy energy card in the existing flex shell. */
body:has(#hybHomeCard) .rev-home-start{order:-9}
body:has(#hybHomeCard) .rev-quick-actions{order:-8}
html[data-rev-app="1"] body .rev-service-overview h1,html[data-rev-app="1"] body .rev-service-overview p{color:#fff!important}
/* The shared navigation must not cover the controls of an open service sheet. */
body:has(.sheet.show) #rev-app-bottom-nav{display:none!important}
/* Shared page-specific structure, while existing controls and handlers stay intact. */
.rev-trip-planner{padding:20px!important;background:#fff!important;border:1px solid #dce7f5!important;border-radius:20px!important;box-shadow:0 8px 24px #17345a0a!important}
.rev-planner-kicker{font-size:12px;color:#647b97;margin-bottom:5px}
html[data-rev-app="1"] body .rev-trip-planner label{display:block;color:#334b6b!important;font-size:12px;font-weight:700;margin:10px 0 5px}
.rev-trip-planner #planGo{width:100%;min-height:50px;background:#0866f5!important;color:white!important;border-radius:13px!important}
.rev-energy-intro,.rev-experiences-intro{border:1px solid #dce9fa!important;border-radius:18px!important;padding:20px!important;background:#edf5ff!important;color:#17345a!important}
.rev-energy-intro strong,.rev-experiences-intro h1{font-size:18px;color:#17345a!important}
.rev-energy-intro p,.rev-experiences-intro p{color:#526982!important;line-height:1.8}
.rev-profile-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rev-profile-back{margin-inline-start:auto;color:#0866f5;text-decoration:none;font-size:12px;font-weight:700}
/* Five profile sections must fit inside a narrow mobile viewport. */
html[data-rev-app="1"] body:has(.rev-profile-header) .dp-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;box-sizing:border-box;gap:3px;padding:5px}
html[data-rev-app="1"] body:has(.rev-profile-header) .dp-tabs button{min-width:0;padding:8px 2px;font-size:11px;flex-direction:column;gap:4px;background:transparent!important;color:#526982!important;box-shadow:none!important}
html[data-rev-app="1"] body:has(.rev-profile-header) .dp-tabs button[aria-selected="true"]{background:#0866f5!important;color:#fff!important}

html[data-rev-app="1"] body #hybHomeCard .hyb-energy span{color:#365a88}
.rev-profile-header .head-title{font-size:18px;margin:0;flex:1;text-align:center}
.rev-profile-header .logo{font-weight:900;font-size:22px;background:none;box-shadow:none;color:#0866f5}
.rev-profile-header .rev-profile-back{margin:0;min-width:44px;padding:10px 0}
.rev-account-summary{display:flex;align-items:center;gap:14px;padding-bottom:12px}
.rev-account-summary h2{margin:0 0 4px;font-size:20px}.rev-account-summary p{margin:0}.rev-account-summary .user-avatar{flex:none;width:64px;height:64px;font-size:24px}
.rev-account-card .status{margin:5px 0 12px}.rev-account-settings{border-top:1px solid #e3ebf5;padding:12px 0 0;margin-top:10px}
.rev-account-settings summary,.rev-port-settings summary{cursor:pointer;font-weight:700;color:#21529a;min-height:36px;line-height:1.8}
.rev-account-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:10px}.rev-account-actions label{cursor:pointer}
.rev-energy-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.rev-energy-workspace .card{margin:0;min-width:0}.rev-energy-workspace{margin-bottom:14px}
.rev-port-settings{border:1px solid #e1eaf6;border-radius:14px;padding:12px;margin:12px 0}
@media(max-width:650px){.rev-energy-workspace{grid-template-columns:minmax(0,1fr)}.rev-account-card{padding:16px!important}}

/* Approved design 1. Final presentation layer; no API, station or trip state. */
@font-face{font-family:REVDesignOne;src:url('./fonts/rev-ui.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--rev-one-blue:#0866ff;--rev-one-ink:#12233e;--rev-one-muted:#738196;--rev-one-line:#e7ecf3;--rev-one-soft:#f6f8fc}
html[data-rev-app="1"] body,html[data-rev-app="1"] body :is(button,input,select,textarea){font-family:REVDesignOne,Tahoma,sans-serif!important}
html[data-rev-app="1"] body{color:var(--rev-one-ink)!important}
html[data-rev-app="1"] body #rev-app-bottom-nav{box-shadow:0 -4px 20px #203a6010;border-color:var(--rev-one-line);padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom))}
html[data-rev-app="1"] body #rev-app-bottom-nav a{min-height:48px;color:#7a8595!important;border-radius:12px}
html[data-rev-app="1"] body #rev-app-bottom-nav a[aria-current=page]{background:#f0f6ff!important;color:var(--rev-one-blue)!important}
html[data-rev-app="1"] body #rev-app-bottom-nav a svg{width:23px;height:23px}
/* Both station discovery and navigation use the same real map. */
html[data-rev-app="1"] body:has(#map){padding:0!important}
html[data-rev-app="1"] body:has(#map) main{margin:0!important;width:100%!important;max-width:none!important;padding:0!important}
html[data-rev-app="1"] body #map{position:fixed!important;inset:0 0 calc(59px + env(safe-area-inset-bottom))!important;width:100%!important;height:auto!important;border:0!important;border-radius:0!important}
html[data-rev-app="1"] body.rev-navigating #map{bottom:0!important}
html[data-rev-app="1"] body #mapSearchBar{top:calc(14px + env(safe-area-inset-top))!important;left:12px!important;right:12px!important;width:auto!important;max-width:none!important;gap:8px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;flex-wrap:wrap!important}
html[data-rev-app="1"] body #mapSearchBar .map-search-form{flex:1 1 230px!important;min-width:0!important;min-height:49px!important;border:1px solid #e7ecf3!important;border-radius:17px!important;padding:2px 5px!important;box-shadow:0 5px 20px #17355018!important}
html[data-rev-app="1"] body #placeSearch{min-width:0!important;font-size:13px!important}
html[data-rev-app="1"] body #mapSearchBar button{height:44px!important;min-height:44px!important;min-width:44px!important;border-radius:14px!important;box-shadow:none!important}
html[data-rev-app="1"] body #mapSearchBar :is(#historyToggle,#locate,#routeToggle){border:1px solid #e0e8f2!important;box-shadow:0 4px 14px #17355012!important}
html[data-rev-app="1"] body #routeToggle{background:var(--rev-one-blue)!important;color:#fff!important}
html[data-rev-app="1"] body #mapSearchBar .search-go{border:0!important;background:white!important;color:#233854!important}
html[data-rev-app="1"] body #routePanel{left:12px!important;right:12px!important;top:auto!important;bottom:calc(72px + env(safe-area-inset-bottom))!important;width:auto!important;max-height:calc(100dvh - 170px)!important;overflow:auto!important;border-radius:24px!important;padding:18px!important}
html[data-rev-app="1"] body #routePanel .route-head{font-size:16px;padding-bottom:12px}
html[data-rev-app="1"] body #routePanel .route-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
html[data-rev-app="1"] body #routePanel .route-tools button{min-height:44px!important;border-color:#e1e9f4!important;color:#174b99!important;border-radius:12px!important;font-size:12px}
html[data-rev-app="1"] body #routePanel .route-submit{min-height:48px!important;background:var(--rev-one-blue)!important;border-radius:13px!important}
html[data-rev-app="1"] body #details-panel:not([hidden]){position:fixed!important;inset:auto 10px calc(70px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:500px!important;margin:auto!important;max-height:65dvh!important;border:1px solid #e7ecf3!important;border-radius:25px!important;padding:13px 16px 16px!important;box-shadow:0 -6px 30px #1735501c!important}
html[data-rev-app="1"] body #details-panel.rev-details-expanded{max-height:80dvh!important}
html[data-rev-app="1"] body #details-drag-handle{min-height:22px!important}
html[data-rev-app="1"] body #details-panel .detail-name{font-size:18px!important;color:#133666!important}
html[data-rev-app="1"] body .detail-actions{display:flex;flex-wrap:wrap;gap:8px}
html[data-rev-app="1"] body .detail-actions :is(button,a){min-height:44px;border-radius:12px!important;display:inline-flex;align-items:center;justify-content:center}
/* Direction and charging information remain bound to their original controls. */
html[data-rev-app="1"] body.rev-reference.rev-navigating #navBanner{inset:calc(12px + env(safe-area-inset-top)) 12px auto!important;background:#063d62!important;border:0!important;border-radius:21px!important;padding:14px 16px!important;box-shadow:0 5px 22px #0b35532b!important}
html[data-rev-app="1"] body.rev-reference .rev-reference-guidance{grid-template-columns:48px minmax(0,1fr) 44px;min-height:58px;gap:10px}
html[data-rev-app="1"] body.rev-reference #navDist{font-size:25px!important}
html[data-rev-app="1"] body.rev-reference #navInstr{font-size:15px!important;font-weight:700!important}
html[data-rev-app="1"] body.rev-reference .rev-reference-brand{font-size:19px!important;min-height:44px!important;padding:0!important;letter-spacing:-1px;border:0!important}
html[data-rev-app="1"] body.rev-reference #revEnergyLine{margin-top:8px!important;padding:7px 8px!important;border-radius:10px!important;font-size:11px!important;background:#ffffff12!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #revNavigationDock{padding:10px 12px calc(12px + env(safe-area-inset-bottom))!important;gap:8px!important;border-radius:26px 26px 0 0!important;box-shadow:0 -7px 30px #15365b1c!important;max-height:48dvh;overflow:auto}
html[data-rev-app="1"] body.rev-reference .rev-reference-route-tabs{order:4;gap:6px}
html[data-rev-app="1"] body.rev-reference .rev-reference-route-tabs>button{min-height:38px;padding:5px;font-size:11px!important;border-radius:10px;background:#f4f7fb!important;box-shadow:none!important}
html[data-rev-app="1"] body.rev-reference .rev-reference-route-tabs>button.is-active{background:#e9f2ff!important;color:#075bd8!important;border-color:#cce0ff}
html[data-rev-app="1"] body.rev-reference .rev-reference-route-tabs svg{width:17px;height:17px}
html[data-rev-app="1"] body.rev-reference #navDash{order:-1;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;border:0!important;box-shadow:none!important;background:#fff!important;border-radius:0!important;padding:0!important;margin:0!important}
html[data-rev-app="1"] body.rev-reference #navDash #revApprovedOpen{min-height:44px!important;border-radius:12px!important;background:#f4f8fe!important;color:#2156a1!important;font-size:12px!important;margin:0 0 7px!important}
html[data-rev-app="1"] body.rev-reference #revJourneyStrip{border:0!important;background:#eaf4ff!important;border-radius:18px!important;padding:12px!important;margin:0!important;box-shadow:none!important}
html[data-rev-app="1"] body.rev-reference .rev-journey-heading{font-size:12px;color:#075cdd}
html[data-rev-app="1"] body.rev-reference #revJourneyStops{gap:8px!important}
html[data-rev-app="1"] body.rev-reference #revJourneyStops button{border:1px solid #d7e7fd!important;border-radius:13px!important;background:#fff!important;min-height:62px!important;box-shadow:none!important}
html[data-rev-app="1"] body.rev-reference .rev-reference-energy-settings{border-radius:12px!important;background:#f2f7ff!important;color:#1c58a9!important;font-size:11px!important;min-height:44px!important}
@media(min-width:700px){html[data-rev-app="1"] body #routePanel{left:auto!important;right:20px!important;width:390px!important}html[data-rev-app="1"] body.rev-reference.rev-navigating #navBanner{left:auto!important;right:20px!important;width:400px!important}html[data-rev-app="1"] body.rev-reference.rev-navigating #revNavigationDock{left:20px!important;right:auto!important;width:420px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
/* Home: destination first, compact quick actions, then real existing content. */
html[data-rev-app="1"] body:has(.rev-home-layout) .app-header .top{position:relative;min-height:66px;padding:10px 0!important;justify-content:space-between}
html[data-rev-app="1"] body:has(.rev-home-layout) .app-header .greet{flex:1}
html[data-rev-app="1"] body .rev-home-identity{position:absolute;left:50%;top:13px;transform:translateX(-50%);text-align:center;pointer-events:none}
html[data-rev-app="1"] body .rev-home-wordmark{display:block;font:900 29px/1.2 Arial,sans-serif;letter-spacing:-1.4px;color:#0866ff}
html[data-rev-app="1"] body .rev-home-greeting{display:block;font-size:9px!important;font-weight:500!important;color:#7b8798!important;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-rev-app="1"] body:has(.rev-home-layout) .app-header .avatar{width:35px;height:35px;border-radius:50%;background:#f0f5fc!important;color:#285481!important;box-shadow:none!important}
html[data-rev-app="1"] body .rev-home-layout{display:flex!important;flex-direction:column;gap:0!important;max-width:600px;margin:auto!important;padding:0 16px 24px!important;box-sizing:border-box;width:100%!important}
html[data-rev-app="1"] body .rev-home-start{order:-10!important;text-align:center;margin:8px 0 0;padding:18px 12px 12px;background:linear-gradient(160deg,#e6f2ff,#d7e9ff);border-radius:20px!important}
html[data-rev-app="1"] body .rev-home-start h1{font-size:20px!important;margin:0 0 14px;color:#12233e!important}
html[data-rev-app="1"] body .rev-search-link{min-height:47px;box-sizing:border-box;text-align:right;border:1px solid #f6f9ff;border-radius:14px;font-size:12px;padding:10px 13px;color:#7b8797!important;box-shadow:0 3px 8px #4f79af0b}
html[data-rev-app="1"] body .rev-quick-actions{order:-9!important;gap:9px;margin:11px 0 16px!important}
html[data-rev-app="1"] body .rev-quick-actions a{min-height:83px!important;font-size:11px!important;gap:8px;border-color:#e7ecf3;border-radius:17px;background:#fff;box-shadow:0 4px 12px #1b416908}
html[data-rev-app="1"] body .rev-quick-actions a.rev-quick-primary{background:#0866ff!important;color:#fff!important;border-color:#0866ff;box-shadow:0 5px 14px #0866ff20}
.rev-quick-actions svg,.rev-suggestion-art svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[data-rev-app="1"] body .rev-today{order:-7;margin:20px 0 12px}
html[data-rev-app="1"] body .rev-today h2{font-size:16px!important;margin:0 0 12px!important}
.rev-suggestion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rev-suggestion-grid a{min-width:0;text-align:center;text-decoration:none;color:#21324e;font-size:11px;line-height:1.9}
.rev-suggestion-grid b,.rev-suggestion-grid small{display:block;white-space:normal}.rev-suggestion-grid small{font-size:10px;color:#8591a1}
.rev-suggestion-art{display:grid;place-items:center;width:100%;height:83px;border-radius:16px;margin-bottom:8px;overflow:hidden;position:relative;background:#edf4fb;color:#0866ff}
.rev-suggestion-art:before,.rev-suggestion-art:after{content:'';position:absolute;width:130%;height:15px;transform:rotate(-35deg);background:#fff9;border:1px solid #dbe6f0}
.rev-suggestion-art:after{transform:rotate(30deg);height:9px}
.rev-suggestion-art svg{position:relative;z-index:1;width:30px;height:30px;background:white;box-shadow:0 4px 10px #294d7714;padding:10px;border-radius:16px;box-sizing:content-box}
.rev-art-group{background:#eff1fb;color:#6578a3}.rev-art-energy{background:#e5f2f4;color:#26768b}
html[data-rev-app="1"] body #hybHomeCard{order:-8!important;border-radius:17px!important;background:#f6f8fc!important;border:1px solid #edf0f5!important;box-shadow:none!important;margin:0!important;padding:12px 14px!important}
html[data-rev-app="1"] body #hybHomeCard .hyb-energy{padding-bottom:9px!important;gap:8px}
html[data-rev-app="1"] body #hybHomeCard .hyb-energy b{font-size:12px!important}html[data-rev-app="1"] body #hybHomeCard .hyb-energy span{font-size:10px!important}
html[data-rev-app="1"] body #hybHomeCard .hyb-ring{width:39px;height:39px}html[data-rev-app="1"] body #hybHomeCard .hyb-ring i{width:31px;height:31px;font-size:10px}
html[data-rev-app="1"] body #hybHomeCard .hyb-trip{margin-top:8px}html[data-rev-app="1"] body #hybHomeCard .hyb-trip b{font-size:13px}
html[data-rev-app="1"] body #hybHomeCard .hyb-go{width:auto!important;min-height:38px;padding:7px 14px;margin-top:10px;background:#e7effc!important;color:#0759d5!important;box-shadow:none!important;font-size:12px!important;border-radius:10px!important}
html[data-rev-app="1"] body .rev-home-layout>.hero-card{order:0;margin-top:16px!important;border-radius:18px!important;padding:16px!important;background:#f6f8fc!important;box-shadow:none!important;border:1px solid #e7ecf3!important}
html[data-rev-app="1"] body .rev-home-layout>.hero-card :is(h1,.eyebrow){color:#18345c!important}
html[data-rev-app="1"] body .rev-home-layout>.section{margin-top:18px}
/* Trip planner: one task at a time; advanced controls retain their original IDs. */
html[data-rev-app="1"] body:has(#revDesignOnePlanner) .app-header .top{min-height:62px;padding:10px 0!important}
html[data-rev-app="1"] body:has(#revDesignOnePlanner) .app-header .greet{width:100%;position:relative;justify-content:center}
html[data-rev-app="1"] body:has(#revDesignOnePlanner) .app-header .avatar{position:absolute;left:0;width:34px;height:34px;box-shadow:none!important;background:#f1f6fc!important;color:#2b527c!important}
html[data-rev-app="1"] body:has(#revDesignOnePlanner) .app-header .hello{font-size:17px!important}
html[data-rev-app="1"] body:has(#revDesignOnePlanner) .app-header .sub{font-size:10px!important;color:#8691a1!important}
html[data-rev-app="1"] body:has(#revDesignOnePlanner) main.wrap{max-width:600px;width:100%!important;margin:0 auto!important;padding:0 16px 24px!important;box-sizing:border-box}
html[data-rev-app="1"] body:has(#revDesignOnePlanner) .rev-tabs{background:#f5f7fa;border:1px solid #edf0f5;border-radius:13px;padding:4px;margin:12px 0 0;gap:4px}
html[data-rev-app="1"] body:has(#revDesignOnePlanner) .rev-tab{min-height:42px;border-radius:10px;box-shadow:none!important;color:#65728a;font-size:13px!important}
html[data-rev-app="1"] body:has(#revDesignOnePlanner) .rev-tab.active{background:#0866ff!important;color:#fff!important}
html[data-rev-app="1"] body #revDesignOnePlanner{margin-top:13px!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;background:#fff!important}
html[data-rev-app="1"] body #revDesignOnePlanner:before,html[data-rev-app="1"] body #revDesignOnePlanner:after{display:none!important}
html[data-rev-app="1"] body #revDesignOnePlanner .rev-planner-kicker{font-size:11px!important;color:#8a94a5!important;margin-bottom:4px}
html[data-rev-app="1"] body #revDesignOnePlanner #planTitle{font-size:17px!important;margin:0 0 13px!important}
html[data-rev-app="1"] body #revDesignOnePlanner>.field{border:1px solid #e6ebf3;border-radius:15px;padding:9px 13px!important;margin:0 0 9px!important;background:#fff!important}
html[data-rev-app="1"] body #revDesignOnePlanner>.field label{font-size:11px!important;color:#8791a0!important;margin:0!important}
html[data-rev-app="1"] body #revDesignOnePlanner>.field input{border:0!important;box-shadow:none!important;background:#fff!important;min-height:33px!important;padding:3px 0!important;border-radius:0!important;font-size:14px!important}
html[data-rev-app="1"] body #revDesignOnePlanner>.field button{background:transparent!important;border:0!important;padding:4px 0!important;font-size:10px!important;min-height:30px!important;color:#2265bd!important}
html[data-rev-app="1"] body #revDesignOnePlanner .trip-date-grid{grid-template-columns:1.25fr 1fr;gap:8px;background:transparent!important;border:0!important;padding:0!important;margin:10px 0 18px!important}
html[data-rev-app="1"] body #revDesignOnePlanner .trip-date-grid>div{padding:9px 10px;border:1px solid #e7ecf3;border-radius:13px}
html[data-rev-app="1"] body #revDesignOnePlanner .trip-date-grid label{font-size:10px!important;color:#8691a1!important;margin:0 0 3px!important}
html[data-rev-app="1"] body #revDesignOnePlanner .trip-date-grid input{padding:0!important;border:0!important;border-radius:0!important;min-height:30px!important;font-size:11px!important;background:white!important}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-settings{gap:9px;margin:0 0 16px!important;position:relative;z-index:1}
html[data-rev-app="1"] body .rev-vehicle-title{font-size:15px;margin:0 0 1px!important}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-settings>.field{background:#f7f9fc;border:1px solid #e7edf4;border-radius:14px;padding:10px}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-settings label{color:#66778d!important;font-size:10px!important;margin:0 0 5px!important}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-settings select{font-size:12px!important;min-height:42px!important;background:#fff!important}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-slider{gap:7px;min-height:35px}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-slider label{flex-basis:110px!important;margin:0!important}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-slider input{accent-color:#0866ff!important;min-width:0;box-shadow:none!important;flex:1}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-slider output{flex-basis:34px;color:#1b5eb6!important;font-size:11px}
html[data-rev-app="1"] body .rev-trip-advanced{border:1px solid #e7ecf3;border-radius:13px;background:#fff}
html[data-rev-app="1"] body .rev-trip-advanced summary{font-size:12px;color:#245b9f;min-height:44px;padding:11px 12px;cursor:pointer;box-sizing:border-box}
html[data-rev-app="1"] body .rev-trip-advanced-body{padding:4px 12px 12px;display:grid;gap:10px}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-grid3{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-grid3 input{min-height:40px;font-size:12px;padding:6px}
html[data-rev-app="1"] body #revDesignOnePlanner .evp-labels{font-size:10px;color:#8a97a6;margin:0}
html[data-rev-app="1"] body #revDesignOnePlanner #planGo{min-height:50px!important;border-radius:14px!important;background:#0866ff!important;box-shadow:0 4px 12px #0866ff1c!important;font-size:13px!important}
/* Services: existing rescue flow is the primary action, no duplicate form. */
html[data-rev-app="1"] body:has(.rev-services-layout) .app-header .top{min-height:62px;padding:10px 0!important}
html[data-rev-app="1"] body:has(.rev-services-layout) .app-header .greet{width:100%;position:relative;justify-content:center}
html[data-rev-app="1"] body:has(.rev-services-layout) .app-header .avatar{position:absolute;left:0;width:34px;height:34px;box-shadow:none!important;background:#f1f6fc!important;color:#2b527c!important}
html[data-rev-app="1"] body:has(.rev-services-layout) .app-header .hello{font-size:18px!important}html[data-rev-app="1"] body:has(.rev-services-layout) .app-header .sub{font-size:12px!important;color:#526784!important;line-height:1.55}
html[data-rev-app="1"] body .rev-services-layout{max-width:600px!important;width:100%!important;margin:0 auto!important;padding:0 16px 24px!important;box-sizing:border-box}
html[data-rev-app="1"] body .rev-service-overview{display:flex;align-items:center;justify-content:space-between;gap:9px;background:#0866ff!important;border:0!important;border-radius:20px!important;padding:21px 17px!important;box-shadow:0 5px 16px #0866ff21!important;margin:12px 0!important}
html[data-rev-app="1"] body .rev-service-overview h1{font-size:17px!important;color:#fff!important;margin:0 0 6px!important;line-height:1.9}
html[data-rev-app="1"] body .rev-service-overview p{font-size:10px!important;color:#fff!important;opacity:.9;margin:0 0 13px!important}
html[data-rev-app="1"] body .rev-rescue-start{background:#fff!important;color:#0757d5!important;min-height:42px!important;padding:8px 14px;border:0!important;border-radius:11px!important;font-size:12px!important;font-weight:800;cursor:pointer;box-shadow:none!important}
.rev-rescue-art{width:85px;height:65px;flex:none;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html[data-rev-app="1"] body .rev-service-shortcuts{gap:10px;margin:0 0 11px!important}
html[data-rev-app="1"] body .rev-service-shortcuts a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:14px 8px!important;min-height:112px;box-sizing:border-box;border:1px solid #e7ecf3;border-radius:16px!important;background:#fff;box-shadow:0 3px 12px #1c416508}
.rev-service-shortcuts svg{width:26px;height:26px;fill:none;stroke:#193956;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:3px}
html[data-rev-app="1"] body .rev-service-shortcuts b{font-size:13px!important}html[data-rev-app="1"] body .rev-service-shortcuts small{font-size:12px;color:#536680;margin:0;line-height:1.45}
.rev-tow-driver-link{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:0 12px;border:1px solid #e7ecf3;border-radius:12px;text-decoration:none;color:#4d6582;font-size:11px}
html[data-rev-app="1"] body .rev-services-layout .emergency{padding:16px!important;border-radius:17px!important;background:#f4f8ff!important;border:1px solid #dce9fd!important;box-shadow:none!important;color:#214572!important}
html[data-rev-app="1"] body .rev-services-layout .emergency h2{font-size:16px;color:#214572!important}
html[data-rev-app="1"] body .rev-services-layout .emergency p{font-size:12px;color:#5a708b!important;line-height:1.9}
html[data-rev-app="1"] body .rev-services-layout #towCta{background:#0866ff!important;color:#fff!important;border-radius:12px!important;min-height:46px!important;box-shadow:none!important}
html[data-rev-app="1"] body .rev-services-layout .note{border-radius:14px;font-size:11px;line-height:1.9}
html[data-rev-app="1"] body .rev-services-layout .section-head h2{font-size:15px!important}
/* Station connector cards show only the connector types returned by REV. */
html[data-rev-app="1"] body #details-content .rev-port-icons{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(78px,1fr))!important;gap:8px!important;padding:10px 0!important;margin:0!important}
html[data-rev-app="1"] body #details-content .rev-port-item{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:7px!important;min-height:75px!important;border:1px solid #e5ecf6!important;background:#f7faff!important;border-radius:14px!important;color:#193756!important;font-size:12px!important;box-sizing:border-box}
html[data-rev-app="1"] body #details-content .rev-port-item svg{width:27px!important;height:27px!important}
html[data-rev-app="1"] body #details-content .detail-route-button{flex:1 1 45%;background:#0866ff!important;color:#fff!important;border:0!important;min-height:46px!important;font-weight:800!important}
html[data-rev-app="1"] body #details-content .detail-report-button{border-color:#dce6f4!important;color:#576a85!important;background:#fff!important}
html[data-rev-app="1"] body #details-content .detail-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0 10px;border-bottom:1px solid #edf1f6}
html[data-rev-app="1"] body #details-content .detail-tab{min-height:44px!important;border-radius:11px 11px 0 0!important;background:#f6f8fc!important;color:#5a6f8a!important;border:0!important;font-size:12px}
html[data-rev-app="1"] body #details-content .detail-tab[aria-selected=true]{background:#ecf4ff!important;color:#075fdf!important;border-bottom:2px solid #0866ff!important}
html[data-rev-app="1"] body #details-content .detail-meta{font-size:11px!important;line-height:1.9!important;color:#718197!important}
html[data-rev-app="1"] body #details-content .rating-summary{padding:12px;background:#f8faff;border:1px solid #edf2f8;border-radius:14px;margin:8px 0}
html[data-rev-app="1"] body #details-content .rating-score{font-size:24px!important;color:#183a66!important}
html[data-rev-app="1"] body #details-content .detail-type{font-size:10px!important;border-radius:8px!important;padding:4px 8px!important;background:#edf5ff!important;color:#2762ac!important}
/* Clear the legacy bottom anchor so the discovery search cannot stretch vertically. */
html[data-rev-app="1"] body #mapSearchBar{bottom:auto!important;height:auto!important;min-height:0!important;align-items:center!important}
html[data-rev-app="1"] body #revRightButtons{top:calc(79px + env(safe-area-inset-top))!important;right:12px!important;gap:8px!important}
html[data-rev-app="1"] body #revRightButtons button{width:44px!important;height:44px!important;min-height:44px!important;border-radius:14px!important;background:#fff!important;color:#1e5489!important;box-shadow:0 4px 14px #1735501a!important;border:1px solid #e7edf4!important}
html[data-rev-app="1"] body #revRightButtons #routeToggle{background:#0866ff!important;color:white!important}
html[data-rev-app="1"] body #routeSettingsToggle{top:calc(185px + env(safe-area-inset-top))!important;right:12px!important;width:44px!important;height:44px!important;background:#fff!important;color:#245b96!important;border:1px solid #e7edf4!important;border-radius:14px!important;box-shadow:0 4px 14px #1735501a!important}
html[data-rev-app="1"] body #revWeather{top:calc(80px + env(safe-area-inset-top))!important;left:12px!important;border-radius:15px!important;background:#fff!important;border:1px solid #e7edf4!important;box-shadow:0 4px 14px #17355012!important}
html[data-rev-app="1"] body.rev-navigating #rev-app-bottom-nav{display:grid!important}
html[data-rev-app="1"] body.rev-navigating #map{bottom:calc(59px + env(safe-area-inset-bottom))!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #revNavigationDock{bottom:calc(59px + env(safe-area-inset-bottom))!important}
html[data-rev-app="1"] body:not(.rev-navigating) #searchHistoryPanel{top:calc(76px + env(safe-area-inset-top))!important;bottom:auto!important;left:12px!important;right:12px!important;max-height:45dvh!important;overflow:auto!important;border-radius:16px!important;background:white!important}
html[data-rev-app="1"] body #details-content [data-station-reviews]{flex:1 1 40%;min-height:46px!important;background:#f2f7ff!important;color:#1e5aa9!important;border:1px solid #dbe8fb!important;border-radius:12px!important;font-size:12px!important}
/* The legacy engine places the instruction in navDist and the distance in navInstr. */
html[data-rev-app="1"] body.rev-reference #navInstr{order:-1;font-size:25px!important;line-height:1.25!important;display:block!important;white-space:nowrap!important}
html[data-rev-app="1"] body.rev-reference #navDist{font-size:15px!important;line-height:1.7!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #navDash :is(div,span,strong,b,small){color:#193756!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #navDash #revDashTab{display:block!important;background:transparent!important;border:0!important;color:#9baabd!important;box-shadow:none!important;width:44px!important;min-height:18px!important;height:18px!important;padding:0!important;margin:0 auto 4px!important;font-size:13px!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #navDash .nav-stat b{font-size:18px!important;color:#16437d!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #navDash .nav-stat span{font-size:10px!important;color:#7d8ba0!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #navDash .nav-dash-endrow{margin-top:5px!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #navEndBtn{min-height:36px!important;background:#fff4f3!important;color:#a43a3a!important;box-shadow:none!important;border:1px solid #f7dedb!important;border-radius:10px!important;font-size:11px!important}
html[data-rev-app="1"] body.rev-reference #navDash .rev-navigation-environment{order:5;border-top:1px solid #edf1f5;margin-top:6px}
html[data-rev-app="1"] body.rev-reference #navDash .rev-navigation-environment summary{color:#617b9e!important;cursor:pointer;font-size:11px;min-height:30px;line-height:30px}
html[data-rev-app="1"] body.rev-reference #navDash #navEnv{color:#617b9e!important;font-size:10px!important;line-height:1.8!important;padding:4px 0!important}
html[data-rev-app="1"] body.rev-reference #revJourneyStrip .rev-empty{font-size:10px!important;line-height:1.8!important;white-space:normal!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating .leaflet-tile-pane{filter:none!important}
html[data-rev-app="1"] body.rev-reference .rev-reference-route-tabs>button{color:#4d6688!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #revEnergyLaunch{top:calc(var(--rev-reference-header-bottom,150px) + 12px)!important;bottom:auto!important;right:12px!important}
html[data-rev-app="1"] body.rev-reference.rev-navigating #revEnergyLaunch>button:first-child{background:#fff!important;color:#0866ff!important;border:1px solid #dce8f8!important;border-radius:13px!important;box-shadow:0 4px 12px #17355018!important}
html[data-rev-app="1"] body #revDesignOnePlanner>.field:has(button){position:relative}
html[data-rev-app="1"] body #revDesignOnePlanner>.field:has(button) button{position:absolute;left:9px;top:15px;width:44px;min-height:44px!important;padding:0!important;font-size:0!important}
html[data-rev-app="1"] body #revDesignOnePlanner>.field:has(button) button:after{content:'⌖';font-size:23px;line-height:44px;color:#0866ff}
html[data-rev-app="1"] body #revDesignOnePlanner>.field:has(button) input{padding-left:50px!important}


/* Services hub — one purposeful action at a time, while existing workflows stay mounted. */
html[data-rev-app="1"] body .rev-services-layout.rev-services-ready .rev-service-panel[hidden]{display:none!important}
html[data-rev-app="1"] body .rev-services-layout .rev-service-shortcuts a.is-active{border-color:#0866ff!important;background:#f0f6ff!important;box-shadow:0 0 0 2px #0866ff15!important}
html[data-rev-app="1"] body .rev-services-layout .rev-service-shortcuts a:focus-visible{outline:3px solid #0866ff!important;outline-offset:2px}
html[data-rev-app="1"] body .rev-services-layout .rev-services-prompt{padding:12px 14px;margin:2px 0 10px;border-radius:12px;background:#f5f8fe;color:#526784;font-size:13px;line-height:1.8;text-align:center}
html[data-rev-app="1"] body .rev-services-layout .rev-services-prompt[hidden]{display:none!important}
html[data-rev-app="1"] body .rev-services-layout .rev-service-panel:not([hidden]){position:relative;margin:12px 0 16px;padding:52px 12px 14px;border:1px solid #e3ebf7;background:#fff;border-radius:17px;scroll-margin-top:78px}
html[data-rev-app="1"] body .rev-services-layout .rev-service-panel-close{position:absolute;top:10px;left:12px;min-height:44px;padding:8px 14px;border:1px solid #dce7f7;background:#f0f6ff;color:#1b5cb8;border-radius:11px;font:700 13px REVDesignOne,Tahoma,sans-serif;cursor:pointer}
html[data-rev-app="1"] body .rev-services-layout.rev-services-ready #tow .emergency{display:none!important}
html[data-rev-app="1"] body .rev-services-layout .rev-service-panel .section{max-width:100%;min-width:0}
html[data-rev-app="1"] body .rev-services-layout .rev-service-shortcuts small,
html[data-rev-app="1"] body .rev-services-layout .rev-service-overview p,
html[data-rev-app="1"] body .rev-services-layout .rev-tow-driver-link,
html[data-rev-app="1"] body .rev-services-layout .note{font-size:12px!important;line-height:1.7}
html[data-rev-app="1"] body .rev-services-layout .rev-service-shortcuts a{min-height:106px}
html[data-rev-app="1"] body .rev-services-layout .rev-service-overview .rev-rescue-start{min-height:44px!important}
html[data-rev-app="1"] body .rev-services-layout .rev-service-panel :is(button,a):focus-visible{outline:3px solid #0866ff;outline-offset:2px}
/* Legibility: metadata is secondary, not microscopic. */
html[data-rev-app="1"] body .rev-home-greeting,
html[data-rev-app="1"] body .rev-suggestion-grid small,
html[data-rev-app="1"] body #revDesignOnePlanner .trip-date-grid label,
html[data-rev-app="1"] body #revDesignOnePlanner .evp-settings label,
html[data-rev-app="1"] body #revDesignOnePlanner .evp-labels,
html[data-rev-app="1"] body.rev-reference #navDash .nav-stat span,
html[data-rev-app="1"] body.rev-reference #navDash #navEnv{font-size:12px!important}
html[data-rev-app="1"] body #revDesignOnePlanner .trip-date-grid input{font-size:13px!important;min-height:36px!important}
html[data-rev-app="1"] body #revDesignOnePlanner .rev-trip-advanced summary{min-height:44px!important}
html[data-rev-app="1"] body .rev-service-shortcuts a{touch-action:manipulation}

html[data-rev-app="1"] body .rev-service-draft-note{padding:10px 12px;border:1px solid #e1e8f1;border-radius:11px;background:#f6f8fc;color:#3e536f!important;font-size:13px!important;line-height:1.8;margin:10px 0 16px}


/* One clear ticket entry, secondary provider navigation. */
html[data-rev-app="1"] body .rev-support-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:66px;margin:8px 0;padding:13px 16px;border:1px solid #d7e7ff;border-radius:15px;background:#f0f6ff;color:#1455ad;text-decoration:none}
html[data-rev-app="1"] body .rev-support-entry b{display:block;font-size:14px}
html[data-rev-app="1"] body .rev-support-entry small{display:block;font-size:12px;color:#547496}
html[data-rev-app="1"] body .rev-support-entry:focus-visible{outline:3px solid #0866ff;outline-offset:2px}
html[data-rev-app="1"] body .rev-services-layout .rev-tow-driver-link{margin-top:7px}
