@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
/* Public information pages and supporting homepage content. */
.information-content, .home-information, .home-faq { font-size: 1rem; line-height: 1.75; }
.information-content { max-width: 800px; margin: 0 auto; padding: 64px 0 80px; }
.information-content h1 { font-family: Manrope, sans-serif; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; letter-spacing: -.04em; margin: 16px 0 24px; }
.information-content h2, .home-information h2, .home-faq h2 { font-family: Manrope, sans-serif; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.3; letter-spacing: -.035em; }
.information-content section { margin-top: 36px; }
.information-content section h2 { font-size: 1.5rem; margin-bottom: 12px; }
.information-content h3, .planning-benefits h3 { font-size: 1.15rem; line-height: 1.4; }
.information-content p, .information-content li, .home-information p, .home-faq p { color: #465267; }
.information-content li + li { margin-top: 10px; }
.information-content ul { padding-left: 24px; }
.information-content .content-lead { font-size: 1.2rem; color: #26364e; }
.content-eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: #a53c05; }
.content-updated { font-size: .9rem; }
.information-content a, .home-information a, .home-faq a { color: #174d7e; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.content-language { display: flex; flex-wrap: wrap; gap: 20px; margin: 24px 0; }
.privacy-translation { border-top: 1px solid #d8dfe7; margin-top: 56px; padding-top: 40px; }
.information-skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: #fff; color: #101e3a; }
.information-skip:focus { top: 12px; }
.home-information { border-top: 1px solid #dfe4ea; padding: 56px 0; }
.home-information-intro { max-width: 850px; }
.home-information-intro h2 { margin: 14px 0 20px; }
.planning-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.planning-benefits article { background: #fff; border: 1px solid #dfe4ea; border-radius: 18px; padding: 24px; }
.planning-benefits h3 { margin: 0 0 12px; }
.planning-benefits p { margin: 0; }
.home-information .planning-caveat { margin-top: 28px; max-width: 950px; }
.home-faq { max-width: 1120px; margin: 0 auto; padding: 24px 0 72px; }
.home-faq h2 { margin: 12px 0 28px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.faq-column { display: grid; gap: 14px; min-width: 0; }
.home-faq .faq-card { border: 1px solid #dfe4ea; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 4px 20px #101e3a04; transition: border-color .35s, box-shadow .35s; }
.home-faq .faq-card:hover, .home-faq .faq-card:focus-within { border-color: #aebdce; }
.home-faq .faq-card.is-expanded { border-color: #efba9b; box-shadow: 0 8px 28px #101e3a08; }
.home-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.5; padding: 22px 24px; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary:focus-visible { outline: 3px solid #deb088; outline-offset: -5px; border-radius: 16px; }
.faq-toggle { flex: 0 0 28px; width: 28px; height: 28px; position: relative; border-radius: 50%; background: #f1f4f7; transition: background .4s; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; top: 13px; left: 8px; width: 12px; height: 2px; border-radius: 2px; background: #34465d; transition: transform .6s cubic-bezier(.22, 1, .36, 1), background .4s; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-card[open] .faq-toggle { background: #fff0e6; }
.faq-card[open] .faq-toggle::before, .faq-card[open] .faq-toggle::after { background: #b4480d; }
.faq-card[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-card:not(.is-expanded) summary[aria-expanded="false"] .faq-toggle { background: #f1f4f7; }
.faq-card:not(.is-expanded) summary[aria-expanded="false"] .faq-toggle::after { transform: rotate(90deg); }
.home-faq .faq-answer { padding: 0 24px 24px; }
.home-faq details p { margin: 0; }
.home-faq .faq-contact { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) {
  .home-faq .faq-card, .home-faq .faq-toggle, .home-faq .faq-toggle::before, .home-faq .faq-toggle::after { transition: none; }
}
.footer.site-footer { flex-wrap: wrap; gap: 24px; padding-block: 32px; font-size: .9rem; line-height: 1.6; }
.site-footer p { margin: 6px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.site-footer nav a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .site-operator { width: 100%; color: #465267; }
@media (max-width: 700px) {
  .information-content { padding-top: 40px; padding-bottom: 48px; }
  .information-page .nav nav { gap: 16px; }
  .planning-benefits { grid-template-columns: 1fr; gap: 16px; }
  .faq-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-faq summary { padding: 20px; gap: 16px; }
  .home-faq .faq-answer { padding: 0 20px 20px; }
  .home-information { padding: 40px 0; }
  .footer.site-footer { align-items: flex-start; text-align: left; }
}
/* Sun orange accents */
:root {
  --brand-navy: #101e3a;
  --battery-green: #4bd35e;
  --accent: #f25b0a;
  --accent-soft: #fff0e1;
}
:root{--ink:#101e3a;--muted:#7a7a7a;--forest:#101e3a;--green:#101e3a;--pale:#f2f2f2;--cream:#f8f8f8;--line:#e5e5e5;--white:#fff;--sun:#e8b46a;--shadow:0 28px 65px rgba(31,70,52,.065)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #deb088;outline-offset:3px}a{text-decoration:none;color:inherit}.hidden{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.page-shell{width:min(1390px,calc(100% - 64px));margin:auto}.nav{min-height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px}.brand-name,.footer-brand{font-family:Manrope,sans-serif;font-size:28px;letter-spacing:-1.6px;font-weight:800;color:#101e3a}.brand-name span{color:#101e3a}.nav nav{display:flex;align-items:center;gap:28px}.nav-link{font-size:13px;color:#757575;font-weight:700}.nav-link.active,.nav-link:hover{color:var(--forest)}.nav-divider{height:24px;width:1px;background:var(--line)}.stage-pill{font-size:11px;background:#f4eee9;color:#606060;border-radius:50px;padding:11px 15px;font-weight:700;white-space:nowrap}.stage-dot,.lightdot,.map-live-dot{display:inline-block;width:7px;height:7px;background:#101e3a;border-radius:50%;margin-right:6px}.intro{padding:66px 0 50px;text-align:center}.eyebrow,.label-caps{font-size:10px;letter-spacing:2px;font-weight:800;color:var(--brand-navy);margin:0}.eyebrow{display:flex;align-items:center;justify-content:center;gap:10px}.eyebrow-line{width:22px;height:1px;background:#101e3a}.intro h1,.how-heading h2,.showcase h2,.tracker-card h2{font-family:Manrope,sans-serif;font-size:clamp(45px,5.15vw,76px);line-height:1.13;letter-spacing:-3.9px;margin:20px 0 16px;font-weight:800}.intro h1 em,.how-heading h2 em,.showcase h2 em,.tracker-card h2 em{font-style:normal;color:var(--accent)}.intro>p{font-size:16px;color:var(--muted);margin:0}.intro-pills{display:flex;gap:9px;justify-content:center;margin-top:26px;flex-wrap:wrap}.intro-pills span{font-size:11px;color:#696969;background:#f4ede7;border:1px solid #f1e6dc;border-radius:999px;padding:8px 14px}.planner-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:stretch;gap:22px}.form-card{background:white;border:1px solid #ebebeb;border-radius:24px;box-shadow:var(--shadow);padding:35px 42px 28px}.section-header,.label-row,.results-heading,.results-actions,.row-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-header{margin-bottom:25px}.section-header h2,.results-heading h2{font-family:Manrope,sans-serif;font-size:29px;letter-spacing:-1.3px;margin:5px 0 0}.form-counter,.tiny-label{font-size:10px;letter-spacing:1px;font-weight:800;color:#979797;border:1px solid #eaeaea;border-radius:50px;padding:8px 10px}.field-group{border-top:1px solid #eeeeee;padding:18px 0}.field-group label,.field-group legend{display:block;font-weight:700;font-size:13px;color:#101e3a;margin-bottom:10px}.field-symbol{color:#101e3a;margin-right:7px;font-size:16px;font-weight:800;vertical-align:middle}.select-shell{display:flex;align-items:center;position:relative;border:1px solid #e3e3e3;border-radius:12px;background:#fbfbfb;overflow:hidden}.select-shell select{appearance:none;border:0;outline:0;background:transparent;color:#101e3a;width:100%;font-size:14px;font-weight:700;padding:15px 36px 15px 16px}.select-shell span{position:absolute;right:15px;font-size:20px;color:#898989;pointer-events:none}.field-tip{font-size:11px;color:#989898;margin:8px 0 0;line-height:1.5}.label-row label{margin:0}.small-toggle{display:flex!important;align-items:center;gap:7px;color:#606060!important;white-space:nowrap;font-size:12px!important;font-weight:600!important;margin:0!important}.small-toggle input,.switch-only input{position:absolute;opacity:0;width:1px;height:1px}.switch{width:36px;height:21px;display:inline-flex;align-items:center;background:#dcdcdc;border-radius:20px;padding:3px;transition:.2s}.switch:before{content:'';width:15px;height:15px;border-radius:100%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .2s}input:checked+.switch{background:#101e3a}input:checked+.switch:before{transform:translateX(15px)}.route-fields{display:flex;align-items:stretch;gap:15px;margin-top:13px}.route-spine{width:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:19px 0;gap:4px}.origin-dot{width:11px;height:11px;border:3px solid #101e3a;border-radius:50%}.route-line{width:1px;height:34px;background:repeating-linear-gradient(to bottom,#101e3a 0 3px,transparent 3px 6px)}.destination-dot{width:11px;height:11px;background:#101e3a;border-radius:50%}.route-inputs{flex:1;border-radius:12px;border:1px solid #e3e3e3;overflow:hidden;background:#fbfbfb}.route-inputs input{display:block;width:100%;border:0;background:transparent;min-height:47px;padding:12px 14px;font-size:14px;font-weight:700;color:#101e3a;outline:0}.route-inputs input::placeholder{color:#a9a9a9;font-weight:400}.soft-divider{height:1px;background:#eeeeee;margin:0 14px}.battery-inputs output{color:#101e3a;font-family:Manrope,sans-serif;font-size:22px;font-weight:800}.battery-inputs input[type=range],.battery-update input[type=range]{width:100%;accent-color:#101e3a}.range-ends{display:flex;justify-content:space-between;color:#a5a5a5;font-size:10px}.reserve-options,.route-modes{display:flex;gap:9px}.reserve-option{background:#fafafa;border:1px solid #e5e5e5;padding:13px 10px;border-radius:11px;color:#6c6c6c;font-weight:800}.route-modes{margin-top:8px}.mode-option{flex:1;border-radius:12px;border:1px solid #e5e5e5;background:#fafafa;padding:11px 5px;color:#6e6e6e;font-size:12px;font-weight:700}.mode-option.selected{background:#f8eee6;border-color:#d7b08d;color:#101e3a}.mode-icon{font-size:16px;margin-right:4px}.preference-row{border-top:1px solid #eeeeee;padding:15px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}.route-modes+.preference-row{margin-top:18px}.preference-row strong{display:block;font-size:12px;font-weight:700}.preference-row small{display:block;font-size:11px;color:#969696;margin-top:4px}.switch-only{cursor:pointer;display:flex!important;align-items:center;margin:0!important}.last-group{padding-bottom:0}.primary-btn,.secondary-btn,.outline-btn{border-radius:12px;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:800;transition:transform .15s,filter .15s}.primary-btn:hover,.secondary-btn:hover,.outline-btn:hover{transform:translateY(-1px)}.primary-btn{background:#101e3a;color:#fff;border:1px solid #101e3a;padding:17px 22px;font-size:14px;width:100%;margin-top:24px;justify-content:space-between}.primary-btn span:last-child{font-size:20px;font-weight:400}.secondary-btn{background:#f4e8dd;color:#101e3a;border:1px solid #e6d1bf;padding:12px 14px;font-size:12px;width:100%}.outline-btn{background:#fff;border:1px solid #e9ded4;color:#101e3a;padding:11px 14px;font-size:12px}.demo-note{font-size:10px;color:#9a9a9a;text-align:center;margin:14px 0 0;line-height:1.55}.showcase{min-height:100%;border-radius:24px;background:radial-gradient(circle at 50% 43%,#101e3a 0%,#101e3a 39%,#101e3a 80%);color:white;overflow:hidden;position:relative;isolation:isolate}.showcase:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 15% 15%,rgba(238,255,238,.11),transparent 30%),linear-gradient(160deg,transparent 65%,rgba(4,38,30,.25));pointer-events:none}.showcase-inner{height:100%;display:flex;flex-direction:column;padding:38px 42px 30px;position:relative}.showcase-overline{font-size:10px;color:#edd6c1;letter-spacing:1.6px;font-weight:800}.showcase h2{font-size:clamp(31px,3.5vw,48px);letter-spacing:-2.5px;line-height:1.18;margin:27px 0 10px}.showcase h2 em{color:#f3cdab}.vehicle-art{position:relative;display:grid;place-items:center;margin:auto -50px 0;min-height:260px}.vehicle-halo{position:absolute;width:380px;height:380px;border:1px solid #f5ceac25;border-radius:50%;box-shadow:0 0 0 50px #e8cdb512,0 0 0 100px #efceb109}.car-drawing{width:min(110%,600px);z-index:1;filter:drop-shadow(0 24px 20px #101e3a70)}.showcase-caption{display:flex;gap:14px;align-items:center;justify-content:center;margin-bottom:auto}.tiny-mark{width:35px;height:35px;border:1px solid #e0b6927e;display:grid;place-items:center;border-radius:50%;color:#efceb2}.showcase-caption strong,.showcase-caption small{display:block}.showcase-caption strong{font-size:15px}.showcase-caption small{font-size:11px;margin-top:5px;color:#e1c6ae}.showcase-bottom{border-top:1px solid #101e3a5c;margin-top:46px;padding-top:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.showcase-bottom>div{display:flex;flex-direction:column;gap:7px}.feature-glyph{font-size:25px;color:#eec19a}.showcase-bottom strong{font-size:12px}.showcase-bottom small{font-size:10px;color:#e4c9b2;line-height:1.4}.how-it-works{padding:110px 0 75px}.how-heading{text-align:center}.how-heading h2{font-size:clamp(35px,4vw,50px);letter-spacing:-2px;margin:18px 0 38px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.how-grid>div{border:1px solid #eee7e1;border-radius:17px;background:#fff;padding:29px 27px;box-shadow:0 9px 26px #101e3a06}.how-grid span{font-size:12px;color:var(--brand-navy);font-weight:800}.how-grid strong{display:block;margin-top:20px;font-family:Manrope,sans-serif;font-size:17px}.how-grid p{color:#7e7e7e;font-size:12px;line-height:1.7;margin:7px 0 0}.footer{border-top:1px solid var(--line);padding:28px 0 35px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#8b8b8b;font-size:12px}.footer-brand{font-size:20px}@keyframes spin{to{transform:rotate(360deg)}}.results-view{padding:55px 0 25px}.results-heading{margin-bottom:23px;align-items:flex-end}.results-heading .label-caps{margin-top:17px}.results-heading h2{font-size:32px;margin-top:8px}.results-heading .muted{margin-top:9px}.muted{color:var(--muted);font-size:13px}.text-link{background:none;border:0;padding:0;font-size:12px;font-weight:700;color:#101e3a}.results-actions{gap:10px}.staging-disclosure{background:#fff9e9;color:#101e3a;border:1px solid #f0e4bf;border-radius:12px;padding:13px 17px;margin-bottom:21px;display:flex;gap:12px;font-size:12px;line-height:1.5}.staging-disclosure strong{white-space:nowrap}.results-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:23px;align-items:start}.results-main,.results-map-panel{background:white;border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow)}.routes-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.routes-heading h3,.row-header h3,.later-title h3{margin:0;font:800 18px Manrope,sans-serif;letter-spacing:-.6px}.routes-heading>span,.row-header p,.later-title p{font-size:11px;color:#969696}.row-header p,.later-title p{margin:5px 0 0}.route-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:18px 0 20px}.journey-choice{text-align:left;display:flex;gap:11px;align-items:center;padding:14px;background:#fafafa;border:1px solid #e8e8e8;border-radius:13px;min-height:80px;color:var(--ink)}.journey-choice.selected{background:#f8efe7;border-color:#dfad81}.choice-icon,.round-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;background:#f3ece6;color:#101e3a;font-size:23px}.journey-choice.selected .choice-icon{background:var(--accent-soft)}.journey-choice strong,.journey-choice small{display:block}.journey-choice strong{font-size:13px}.journey-choice small{margin-top:4px;font-size:10px;color:#8f8f8f}.choice-check{display:none;margin-left:auto;color:#101e3a}.journey-choice.selected .choice-check{display:inline}.summary-strip{background:#f3f3f3;border:1px solid #f4e8de;border-radius:13px;padding:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:32px}.summary-strip>div{border-right:1px solid #ebe1d9}.summary-strip>div:last-child{border:0}.summary-strip small,.summary-strip strong{display:block}.summary-strip small{color:#8b8b8b;font-size:10px}.summary-strip strong{margin-top:8px;font-family:Manrope,sans-serif;font-size:21px}.summary-strip .pending-value{font-size:13px;color:#757575;margin-top:11px}.row-header{margin-bottom:13px}.row-header .tiny-label{font-size:9px}.accordion-card{border-radius:13px;border:1px solid var(--line);overflow:hidden}.accordion-trigger{width:100%;background:#fff;border:0;display:flex;gap:13px;align-items:center;text-align:left;padding:16px}.accordion-trigger>span:nth-child(2){flex:1}.accordion-trigger strong,.accordion-trigger small{display:block}.accordion-trigger strong{font-size:13px}.accordion-trigger small{color:#929292;font-size:11px;line-height:1.45;margin-top:4px}.chevron{font-size:20px;color:#8b8b8b;transition:transform .2s}.accordion-trigger[aria-expanded=true] .chevron{transform:rotate(180deg)}.accordion-body{padding:2px 18px 18px}.accordion-body>p{line-height:1.6}.backup-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.backup-grid div{padding:12px;background:#f6f6f6;border-radius:10px}.backup-grid strong,.backup-grid small{display:block}.backup-grid strong{font-size:11px}.backup-grid small{color:#8e8e8e;font-size:10px;margin-top:5px}.fine-print{font-size:10px;color:#9e9e9e;line-height:1.6;margin:10px 0 0}.foodie-header{margin-top:34px}.foodie-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.foodie-card{border:1px solid #ebebeb;border-radius:13px;overflow:hidden;min-width:0}.photo-block{height:100px;display:grid;place-items:center;position:relative}.photo-block span{font-size:40px;filter:drop-shadow(0 8px 5px #0002)}.photo-food-one{background:radial-gradient(circle at 70% 70%,#efd6a8,#dfb27b)}.photo-food-two{background:radial-gradient(circle at 65% 70%,#f2e5c9,#101e3a)}.photo-food-three{background:radial-gradient(circle at 65% 70%,#f6d2a2,#101e3a)}.foodie-card>div{padding:12px}.foodie-card strong,.foodie-card small{display:block}.foodie-card strong{font-size:12px}.foodie-card small{color:#9a9a9a;font-size:10px;margin-top:5px}.later-section{border-top:1px solid #ececec;margin-top:28px;padding-top:25px}.later-title{display:flex;gap:12px;align-items:center}.later-title>span{width:37px;height:37px;border-radius:12px;background:#f3ede7;display:grid;place-items:center;color:#101e3a;font-size:23px}.later-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.discovery-option{text-align:left;border-radius:13px;background:#fff;border:1px solid #e4e4e4;overflow:hidden;padding:0 0 14px;display:flex;flex-direction:column;align-items:stretch}.discovery-option.selected{border-color:#101e3a;box-shadow:0 0 0 2px #f3e1d1 inset}.discovery-graphic{display:grid;place-items:center;height:100px;font-size:54px;color:#fff;text-shadow:0 5px 14px #0002}.attraction{background:linear-gradient(135deg,#cdb096,#101e3a)}.overnight{background:linear-gradient(135deg,#d3ae8e,#547692)}.discovery-option strong{font-size:13px;margin:12px 14px 0}.discovery-option small{font-size:10px;color:#959595;margin:5px 14px 0;line-height:1.4}.add-state{font-size:11px;color:#101e3a;font-weight:700;margin:12px 14px 0}.later-section>.secondary-btn{margin-top:15px}.results-map-panel{padding:19px;position:sticky;top:22px}.map-topline{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:2px 3px 15px}.map-topline span{font-weight:800;font-size:12px}.map-topline small{font-size:10px;color:#969696}.abstract-map{height:385px;overflow:hidden;position:relative;background:#f2ebe5;border-radius:14px}.abstract-map svg{width:100%;height:100%;display:block}.map-label{position:absolute;background:white;border-radius:8px;padding:9px 12px;color:#101e3a;box-shadow:0 4px 20px #0001;font-weight:800;font-size:12px}.start-label{left:8%;bottom:13%}.end-label{right:7%;top:8%}.map-watermark{position:absolute;bottom:8px;right:8px;background:#fff9;border-radius:9px;padding:8px;color:#616161;font-size:9px;text-align:right;line-height:1.5}.selected-route-info{padding:22px 8px 6px}.selected-route-info span{color:#858585;font-size:11px}.selected-route-info strong{display:block;margin-top:5px;font-size:17px;font-family:Manrope,sans-serif}.selected-route-info p{font-size:12px;color:#909090;line-height:1.5}.results-map-panel .primary-btn{margin-top:11px}.plain-action{background:transparent;border:0;width:100%;padding:14px;color:#101e3a;font-size:12px;font-weight:800}.tracker-view{padding:60px 0 25px}.tracker-wrapper{max-width:680px;margin:auto}.tracker-card{border:1px solid var(--line);background:#fff;border-radius:25px;padding:36px;margin-top:21px;box-shadow:var(--shadow)}.tracker-badge{display:inline-block;margin-top:19px;background:#f8efe7;border-radius:30px;padding:8px 13px;font-size:11px;color:#101e3a;font-weight:800}.tracker-card h2{font-size:38px;letter-spacing:-2px;margin:16px 0 12px}.tracker-card>p:not(.label-caps){color:#8b8b8b;font-size:13px;line-height:1.8}.step-block{display:flex;align-items:center;gap:14px;border-bottom:1px solid #ededed;padding:17px 0}.step-block.current{color:#101e3a}.step-marker{width:33px;height:33px;background:#f0f0f0;border-radius:50%;display:grid;place-items:center;font-weight:800}.step-block strong,.step-block span{display:block}.step-block strong{font-size:13px}.step-block span{color:#9c9c9c;font-size:11px;margin-top:5px}.battery-update{background:#f5f5f5;border-radius:14px;padding:19px;margin:15px 0}.battery-update label{font-size:12px;font-weight:800}.battery-update>div{display:flex;gap:16px;align-items:center;margin:15px 0}.battery-update input{flex:1}.battery-update output{font-family:Manrope,sans-serif;font-size:21px;font-weight:800;color:#101e3a}.tracker-warning{margin-top:20px;padding:15px;background:#fff8e7;color:#101e3a;border-radius:10px;font-size:11px;line-height:1.6}.toast{position:fixed;z-index:10;right:24px;bottom:24px;background:#101e3a;color:white;border-radius:13px;padding:14px 20px;box-shadow:0 12px 45px #101e3a50;font-size:13px;font-weight:700;max-width:min(460px,calc(100vw - 40px));opacity:0;transform:translateY(20px);pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1040px){.page-shell{width:min(100% - 36px,920px)}.planner-grid{grid-template-columns:1fr}.showcase{min-height:560px}.showcase h2{font-size:40px}.showcase-inner{padding:35px}.vehicle-art{margin-top:0;min-height:250px}.results-grid{grid-template-columns:1fr}.results-map-panel{position:static;order:-1}.abstract-map{height:315px}.results-map-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.map-topline,.abstract-map{grid-column:1/-1}.showcase-bottom{margin-top:20px}.results-map-panel .primary-btn{margin:0}.selected-route-info{padding:16px 8px}.plain-action{align-self:center}}
@media(max-width:640px){.page-shell{width:calc(100% - 26px)}.nav{min-height:74px}.brand-name{font-size:24px}.nav nav{gap:9px}.nav-link,.nav-divider{display:none}.stage-pill{font-size:9px;padding:8px 9px}.intro{padding:42px 0 33px}.intro h1{font-size:43px;letter-spacing:-2.3px;margin:16px 0}.intro>p{font-size:13px;line-height:1.7;max-width:300px;margin:auto}.eyebrow{font-size:8px;letter-spacing:1.1px}.intro-pills span{font-size:9px;padding:7px 9px}.form-card{padding:24px 20px}.section-header h2{font-size:24px}.form-counter{font-size:8px}.field-group{padding:15px 0}.showcase{min-height:470px}.showcase-inner{padding:26px}.showcase h2{font-size:34px}.showcase-overline{font-size:9px}.vehicle-art{min-height:180px}.vehicle-halo{width:270px;height:270px}.showcase-bottom{gap:9px;padding-top:15px}.showcase-bottom strong{font-size:10px}.showcase-bottom small{font-size:9px}.how-it-works{padding:75px 0 50px}.how-grid{grid-template-columns:1fr;gap:10px}.how-grid>div{padding:22px}.how-grid strong{margin-top:10px}.how-heading h2{font-size:36px}.footer{flex-wrap:wrap;justify-content:center;text-align:center;font-size:10px}.results-view{padding:34px 0 15px}.results-heading{display:block}.results-heading h2{font-size:28px}.results-actions{margin-top:18px}.results-main,.results-map-panel{padding:18px}.results-map-panel{display:block}.abstract-map{height:240px}.route-choice-grid{gap:8px}.journey-choice{padding:11px;gap:8px;min-height:76px}.choice-icon{width:34px;height:34px;flex-basis:34px;font-size:19px}.journey-choice strong{font-size:11px}.journey-choice small{font-size:9px}.summary-strip{padding:12px}.summary-strip strong{font-size:17px}.summary-strip .pending-value{font-size:11px}.foodie-cards{overflow-x:auto;display:flex;scroll-snap-type:x mandatory}.foodie-card{flex:0 0 160px;scroll-snap-align:start}.later-grid{gap:8px}.discovery-graphic{height:90px}.discovery-option strong{font-size:12px}.routes-heading h3,.row-header h3,.later-title h3{font-size:16px}.row-header .tiny-label{display:none}.staging-disclosure{display:block}.staging-disclosure strong{display:block;margin-bottom:3px}.tracker-card{padding:25px 20px}.tracker-card h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Planner and route preview */
:root {
  --ink: #1d1d1f;
  --muted: #616166;
  --cream: #f5f5f7;
  --line: #dedee3;
  --forest: #101e3a;
  --shadow: 0 16px 48px rgb(29 29 31 / 5%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav { min-height: 68px; }
.stage-pill { background: #eaeaec; border-color: transparent; color: #4d4d53; }
.loader-drive {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 124px;
  aspect-ratio: 2.7 / 1;
  margin: 0 auto 28px;
  border-radius: 18px;
  background: linear-gradient(#dcecee, #fcf0dd);
}
.loader-sun {
  position: absolute;
  top: 13%;
  left: 13%;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe1a7;
}
.loader-hills {
  position: absolute;
  inset-inline: 0;
  background-repeat: repeat-x;
  background-size: var(--tile) 100%;
  animation: loader-scroll var(--duration) linear infinite;
}
.loader-hills-far {
  --tile: 300px;
  --duration: 15s;
  bottom: 19%;
  height: 61%;
  background-image: radial-gradient(ellipse 65% 100% at 50% 100%, #a8c4be 99%, transparent 100%);
}
.loader-hills-near {
  --tile: 224px;
  --duration: 8s;
  bottom: 15%;
  height: 40%;
  background-image: radial-gradient(ellipse 70% 100% at 50% 100%, #779d89 99%, transparent 100%);
}
.loader-trees {
  position: absolute;
  bottom: 20%;
  left: 0;
  display: flex;
  width: 200%;
  height: 34%;
  animation: loader-trees-scroll 6s linear infinite;
}
.loader-trees > span {
  width: 50%;
  flex: none;
  background: #4b7765;
  clip-path: polygon(0 89%, 6% 89%, 6% 77%, 2% 77%, 7% 36%, 12% 77%, 8% 77%, 8% 89%,
    20% 89%, 20% 61%, 15% 61%, 21% 8%, 27% 61%, 22% 61%, 22% 89%, 42% 89%, 42% 76%,
    39% 76%, 43% 49%, 47% 76%, 44% 76%, 44% 89%, 66% 89%, 66% 68%, 61% 68%,
    67% 19%, 73% 68%, 68% 68%, 68% 89%, 85% 89%, 85% 78%, 81% 78%, 86% 39%,
    91% 78%, 87% 78%, 87% 89%, 100% 89%, 100% 100%, 0 100%);
}
.loader-road {
  position: absolute;
  inset: 79% 0 0;
  border-top: 3px solid #cdd5c4;
  background: #394859;
}
.loader-road::after {
  --tile: 40px;
  content: "";
  position: absolute;
  inset: 54% 0 auto;
  height: 2px;
  background: repeating-linear-gradient(90deg, #fff2d6 0 17px, transparent 17px var(--tile));
  background-size: var(--tile) 100%;
  opacity: .75;
  animation: loader-scroll .55s linear infinite;
}
.loader-car {
  position: absolute;
  bottom: 12%;
  left: 50%;
  width: min(57%, 245px);
  aspect-ratio: 2.65;
  transform: translateX(-50%);
  filter: drop-shadow(0 5px 4px rgb(16 30 58 / 24%));
  animation: loader-car-drive 3.4s ease-in-out infinite;
}
.loader-car-body {
  position: absolute;
  inset: 0 0 13%;
  background: linear-gradient(#ffb56f, #f4803d 60%, #d85525);
  clip-path: polygon(1% 58%, 4% 43%, 12% 34%, 23% 11%, 30% 5%, 55% 5%,
    63% 11%, 77% 36%, 89% 43%, 96% 53%, 99% 66%, 99% 86%, 96% 95%,
    7% 95%, 2% 88%, 0 76%);
}
.loader-car-body::before {
  content: "";
  position: absolute;
  inset: 11% 25% 56% 15%;
  background: linear-gradient(104deg, #c8e1e2 0 39%, #233c52 40% 44%, #a4c9d3 45%);
  clip-path: polygon(0 92%, 17% 18%, 26% 0, 66% 0, 78% 17%, 100% 100%);
}
.loader-car-body::after {
  content: "";
  position: absolute;
  inset: 51% 2% 39%;
  border-radius: 8px;
  background: linear-gradient(90deg, #983132 0 7%, transparent 7% 87%, #fff4d4 87%);
}
.loader-car-wheel {
  position: absolute;
  bottom: 0;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(#152137 0deg 25deg, #24334a 25deg 30deg);
  box-shadow: 0 0 0 2px #2d3a4b;
  animation: loader-wheel-roll .55s linear infinite;
}
.loader-car-wheel-rear { left: 12%; }
.loader-car-wheel-front { right: 12%; }
.loader-car-wheel::before {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid #a7bfca;
  border-radius: 50%;
  background: radial-gradient(circle, #eaf2f4 0 19%, transparent 21%),
    repeating-conic-gradient(#eaf2f4 0deg 14deg, #476078 14deg 72deg);
}
.loader-battery {
  position: absolute;
  top: 13%;
  right: 8%;
  width: 45px;
  height: 22px;
  padding: 3px;
  border: 2px solid var(--brand-navy);
  border-radius: 5px;
  background: #f9fffc;
}
.loader-battery::after {
  content: "";
  position: absolute;
  top: 5px;
  right: -6px;
  width: 4px;
  height: 8px;
  border-radius: 0 2px 2px 0;
  background: var(--brand-navy);
}
.loader-battery > span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--battery-green) 0 19%, transparent 19% 25%);
  clip-path: inset(0 25% 0 0);
  animation: loader-battery-charge 2.8s steps(4, end) infinite;
}
@keyframes loader-scroll { to { background-position-x: calc(-1 * var(--tile)); } }
@keyframes loader-trees-scroll { to { transform: translateX(-50%); } }
@keyframes loader-car-drive { 50% { transform: translate(-45%, -1px); } }
@keyframes loader-wheel-roll { to { transform: rotate(1turn); } }
@keyframes loader-battery-charge {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.intro { padding: 68px 0 34px; }

.intro h1 {
  font-family: inherit;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.055em;
  margin: 0 0 12px;
}

.intro > p { font-size: 17px; }

.route-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.route-location {
  position: relative;
  display: block;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 12px 16px;
}

.route-location:focus-within { border-color: var(--forest); }
.route-location > label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 650; }
.place-options {
  position: absolute;
  z-index: 4;
  inset: 100% 0 auto;
  max-height: 230px;
  overflow: auto;
  margin: 3px 0 0;
  padding: 4px;
  list-style: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.place-options li { padding: 10px 8px; border-radius: 8px; font-size: 13px; cursor: pointer; overflow-wrap: anywhere; }
.place-options li:hover, .place-options li[aria-selected="true"] { background: #e1eaf4; color: var(--brand-navy); }
.demo-note a { text-decoration: underline; }
.location-dot { width: 8px; height: 8px; border: 2px solid var(--forest); border-radius: 50%; }
.location-dot.destination { background: var(--forest); }

.route-location input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  min-height: 32px;
  padding: 4px 0 0;
}

.route-arrow { text-align: center; color: var(--muted); }


.results-main, .results-map-panel { min-width: 0; }
.abstract-map { height: auto; aspect-ratio: 550 / 410; }
.start-label { left: 7%; bottom: 14%; }
.end-label { right: 8%; top: 8%; }

@media (max-width: 640px) {
  .intro { padding: 40px 0 24px; }
  .intro > p { font-size: 15px; }
  .route-pair { gap: 5px; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); }
  .route-location { padding: 9px 8px; border-radius: 12px; }
  .route-location input { font-size: 13px; }
  #calculateBtn { width: 100%; }
  .map-label { padding: 5px 8px; font-size: 11px; }
}


/* Vehicle dashboard */
:root {
  --cream: #e7e7e7;
  --ink: #191919;
  --muted: #525252;
  --line: #d4d4d4;
  --forest: #242424;
  --shadow: none;
}

.nav { min-height: 62px; }
.brand-name, .footer-brand { color: var(--brand-navy); }
.brand-name span, .footer-brand span { color: var(--accent); }
.nav-link.active { color: var(--ink); }
.nav-link.nav-change-ev { display: inline-block; white-space: nowrap; }
.stage-dot { background: var(--battery-green); }

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  max-width: 1200px;
  margin: auto;
  padding: clamp(14px, 3vh, 36px) 0 14px;
}

.vehicle-heading { margin-bottom: clamp(24px, 4vw, 60px); }
.vehicle-heading p { margin: 0 0 4px; color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.vehicle-heading h1 { margin: 0; font-size: clamp(52px, 7vw, 108px); font-weight: 500; letter-spacing: -.08em; line-height: .98; }
.vehicle-heading > span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); }
.vehicle-range { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.vehicle-display img { display: block; width: 100%; height: auto; }
.vehicle-display img[hidden], .vehicle-range[hidden] { display: none; }
.vehicle-pending .vehicle-heading, .vehicle-pending #vehicleImage { visibility: hidden; }

#journeyForm {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.planner-heading { margin: 0 0 3px; font-size: 24px; letter-spacing: -.035em; font-weight: 550; }

.charge-control, .route-pair {
  background: #ededed;
  border-radius: 16px;
}

.charge-control { padding: 14px 16px; }
.route-pair { padding: 8px; gap: 4px; }
.route-location { background: transparent; padding-inline: 8px; }
.route-location input { font-size: 14px; font-weight: 550; }

.charge-label { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.charge-icon { display: grid; place-items: center; width: 27px; height: 27px; background: #f5f5f5; border-radius: 8px; }
.charge-icon svg { width: 17px; height: 17px; }
.charge-reading {
  display: grid;
  grid-template-columns: minmax(76px, 1fr) minmax(0, 232px) minmax(76px, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.charge-reading .battery-meter { grid-column: 2; }
#startSocOut { font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
#chargeHint { grid-column: 2; text-align: center; }
.battery-meter {
  position: relative;
  width: min(100%, 232px);
  padding-right: 7px;
  border-radius: 5px;
}
.battery-meter:focus-within { outline: 2px solid var(--ink); outline-offset: 4px; }

.battery-bars { position: relative; display: flex; gap: 3px; }

.battery-bars::after {
  position: absolute;
  top: 25%;
  left: calc(100% + 2px);
  width: 5px;
  height: 50%;
  border-radius: 0 3px 3px 0;
  background: #d6d6d6;
  content: "";
}

.battery-bars span {
  position: relative;
  display: block;
  flex: 1;
  height: 64px;
  overflow: hidden;
  border-radius: 4px;
  background: #d6d6d6;
}

.battery-bars span::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  background: var(--battery-green);
  content: "";
  transition: width .25s ease-out;
}

#startSoc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.arrival-control { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.arrival-control p { margin: 0 0 8px; font-size: 13px; font-weight: 500; }

.reserve-option {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding-inline: 4px;
}

.reserve-battery { width: 13px; height: 23px; flex: 0 0 auto; }
.reserve-battery rect:last-child { fill: var(--battery-green); }


.charge-reading small { color: var(--muted); font-size: 11px; }

.style-control p { margin: 4px 0 7px; font-size: 13px; font-weight: 500; }
.style-control .route-modes { gap: 8px; margin: 0; }

.style-control .mode-option {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-height: 68px;
  background: #ededed;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--ink);
  font-weight: 550;
}

.mode-caption { display: block; font-size: 10px; font-weight: 400; }
.mode-option svg, .choice-icon svg, .preview-label svg { width: 22px; height: 22px; }

#calculateBtn {
  justify-content: space-between;
  margin: 0;
  padding: 11px 16px;
  min-height: 49px;
  background: #f5f5f5;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 600;
}

.preview-label { display: flex; align-items: center; gap: 9px; }


.staging-disclosure { background: #f1f1f1; border-color: #d4d4d4; color: #494949; }
.abstract-map { background: #e5e5e5; }
.map-label { color: var(--ink); }
.map-watermark { color: var(--muted); }
.journey-choice { background: #ededed; border: 0; }
.journey-choice.selected { background: #4e4e4e; color: #fff; }
.journey-choice.selected small, .journey-choice.selected .choice-check { color: #fff; }
.journey-choice.selected .choice-icon { background: #606060; color: #fff; }
.choice-icon { background: #e7e7e7; color: #292929; }
.results-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.results-map-panel .primary-btn { background: #4e4e4e; border-color: #4e4e4e; }
.results-map-panel, .results-main { background: #ededed; border: 0; }

@media (max-width: 1040px) {
  .results-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .dashboard { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 560px; }
  .vehicle-heading { margin: 0 0 14px 8px; }
  .vehicle-heading > span { margin-top: 7px; font-size: 13px; }
  .vehicle-display img { width: min(100%, 440px); margin-inline: auto; }
}

@media (max-width: 420px) {
  .route-pair { gap: 4px; }
  .route-location { padding-inline: 7px; }
  .route-location input { font-size: 12px; }
}
/* Planner action row */
body:has(#planner:not(.hidden)) {
  background: radial-gradient(ellipse at 65% 12%, #f4f5f7, #e7e7e7 66%);
}

.vehicle-select {
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
}
.vehicle-select button { min-height: 44px; }

.planner-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 23%, 280px);
  align-items: stretch;
  gap: 8px 14px;
}

.planner-actions .demo-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.planner-actions #calculateBtn {
  width: 100%;
  min-height: 58px;
  background: var(--brand-navy);
  color: #fff;
  font-size: 16px;
}

#calculateBtn .preview-arrows {
  display: block;
  flex: 0 0 auto;
  color: var(--battery-green);
}

.preview-arrows path { animation: route-chevron-sweep 2.2s ease-out infinite; }
.preview-arrows path:nth-child(2) { animation-delay: .22s; }
.preview-arrows path:nth-child(3) { animation-delay: .44s; }

@keyframes route-chevron-sweep {
  0%, 65%, 100% { transform: translateX(0); }
  28% { transform: translateX(3px); filter: drop-shadow(0 0 3px var(--battery-green)); }
}

.trip-preferences {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.trip-filter-title { display: none; }

.preference-tile {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  min-height: 83px;
  padding: 6px 2px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 14px;
  background: #EDEDED;
  box-shadow: 0 3px 10px rgb(16 30 58 / 5%);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.preference-tile input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}

.preference-tile:has(input:focus-visible) { outline: 2px solid var(--brand-navy); outline-offset: 2px; }
.preference-tile svg { width: 27px; height: 27px; }
.preference-name { font-size: 13px; font-weight: 550; text-align: center; line-height: 1.15; }

.preference-status {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #777c84;
  pointer-events: none;
}

.preference-status::before {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.reserve-option.selected,
.style-control .mode-option.selected,
.preference-tile:has(input:checked) {
  background: #e1eaf4;
  border-color: #c2d2e3;
  color: var(--ink);
}

.preference-tile input:checked ~ .preference-status {
  color: var(--battery-green);
}

.preference-tile input:checked ~ .preference-status::before { background: currentColor; }

.preference-tile input:checked ~ .preference-status::after {
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  animation: preference-ping 1.7s ease-out infinite;
}

@keyframes preference-ping {
  from { transform: scale(1); opacity: .85; }
  65%, 100% { transform: scale(3); opacity: 0; }
}

@media (max-width: 760px) {
  .nav { min-height: 52px; }
  .dashboard { gap: 8px; padding-top: 10px; }
  .vehicle-display {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
  }
  .vehicle-heading { margin: 0; }
  .vehicle-heading p { font-size: 10px; }
  .vehicle-heading h1 { font-size: clamp(34px, 9vw, 52px); }
  .vehicle-heading > span { font-size: 10px; }
  .vehicle-range { margin-top: 4px; font-size: 10px; }
  .vehicle-select { grid-column: 1 / -1; margin-top: 3px; }
  #journeyForm { gap: 7px; }
  .planner-heading { font-size: 20px; margin: 0; }
  .charge-control { padding: 8px 12px; }
  .charge-reading { gap: 4px; margin-top: 5px; }
  .battery-bars span { height: 50px; }
  .arrival-control { margin-top: 7px; padding-top: 7px; }
  .arrival-control p { margin-bottom: 5px; }
  .reserve-option { padding-block: 9px; min-height: 38px; }
  .route-pair { padding: 3px 5px; }
  .style-control p { margin: 0 0 4px; }
  .style-control .mode-option { min-height: 49px; gap: 2px; padding-block: 4px; }
  .mode-option svg { width: 19px; height: 19px; }
  .preference-tile svg { width: 22px; height: 22px; }
  .preference-name { font-size: 11px; }
  .preference-status { top: 4px; right: 4px; }
  .preference-tile { min-height: 63px; gap: 3px; }
  .planner-actions { grid-template-columns: minmax(0, 1fr); }
  .trip-filter-title {
    display: block;
    grid-column: 1 / -1;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
  }
  .planner-actions .demo-note { text-align: center; }
  .planner-actions #calculateBtn { min-height: 48px; padding-block: 7px; }
}

/* Results summary and destination charger panel */
.result-summary, .charging-plan, .result-extras {
  padding: clamp(16px, 3vw, 28px);
  margin-bottom: 18px;
  border-radius: 20px;
  background: #f2f2f2;
}

.result-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result-section-heading h3 { margin: 0; font-size: 19px; }
.sample-badge { border-radius: 99px; padding: 5px 9px; background: #e1eaf4; color: var(--brand-navy); font-size: 11px; font-weight: 700; white-space: nowrap; }

.trip-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.destination-stations li {
  min-width: 0;
  padding: 13px;
  border-radius: 12px;
  background: #fff;
}

.journey-brief { max-width: 78ch; margin: 10px 0 0; color: var(--ink); font-size: 15px; line-height: 1.6; }
.trip-stats > div { min-width: 0; }
.trip-stats dt { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.trip-stats dt svg { width: 21px; height: 21px; flex: 0 0 21px; color: var(--brand-navy); }
.trip-stats dd { margin: 6px 0 0; font-size: clamp(16px, 1.7vw, 23px); font-weight: 650; }
.trip-stats dd small, .destination-stations li > span:not(.stop-amenities) { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.sample-note { margin: 10px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.destination-chargers-btn, .maps-stops-link {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid #c2d2e3;
  border-radius: 12px;
  background: #e1eaf4;
  color: var(--brand-navy);
  text-align: left;
}

.maps-stops-link { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }

.destination-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100%);
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 24px;
  overflow-y: auto;
  border: 0;
  background: #f2f2f2;
  color: var(--ink);
  box-shadow: -15px 0 50px #0002;
}

.destination-drawer[open] { animation: destination-drawer-in .25s ease-out both; }
.destination-drawer::backdrop { background: #101e3a60; }
@keyframes destination-drawer-in { from { transform: translateX(100%); } }
.destination-drawer h3 { margin-bottom: 0; font-size: 24px; }
.drawer-close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font-size: 24px; }
.vehicle-drawer { padding: clamp(18px, 5vw, 28px); }
.vehicle-drawer [hidden] { display: none; }
.vehicle-drawer h2 { margin: 0; font-size: 24px; }
.vehicle-current {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #cad8ea;
  border-radius: 16px;
  background: #e8eef6;
  color: var(--brand-navy);
}
.vehicle-current p, .vehicle-current small { margin: 0; color: var(--muted); font-size: 12px; }
.vehicle-current strong { display: block; margin: 4px 0; line-height: 1.3; }
.vehicle-current img { display: block; width: clamp(80px, 25vw, 118px); height: auto; }
.vehicle-drawer label, .vehicle-drawer legend { display: block; margin-bottom: 9px; padding: 0; font-size: 13px; font-weight: 700; }
.vehicle-search input, .vehicle-drawer select {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.vehicle-drawer fieldset { min-width: 0; margin: 20px 0 0; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--line); }
.vehicle-picker-options { display: flex; flex-wrap: wrap; gap: 8px; }
.vehicle-picker-options button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.vehicle-picker-options button[aria-pressed="true"] { border-color: var(--brand-navy); background: #dfe7f2; }
.vehicle-model-options { display: grid; }
.vehicle-model-options button { text-align: left; }
.vehicle-picker-options .vehicle-swatch { display: grid; width: 44px; padding: 0; place-items: center; }
.vehicle-swatch span { width: 25px; height: 25px; border: 1px solid #101e3a50; border-radius: 50%; background: var(--swatch); }
.vehicle-drawer img.vehicle-paint-preview { width: 100%; height: auto; margin: 16px 0 8px; }
.vehicle-paint-caption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0; font-size: 13px; }
.vehicle-drawer .muted { margin: 9px 0 0; }
.vehicle-paint-caption .muted { margin: 0; }
.vehicle-step:not([hidden]) { animation: vehicle-step-in .22s ease-out both; }
@keyframes vehicle-step-in { from { opacity: 0; transform: translateY(7px); } }
.destination-stations { display: grid; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.destination-stations a { display: inline-block; margin-top: 6px; font-size: 12px; text-decoration: underline; }
.alternatives-button { min-height: 40px; padding: 8px 12px; font-size: 12px; font-weight: 700; }
.alternative-charging-choices { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.alternative-charging-choices:not(:has(button:not([hidden]))) { display: none; }
.alternative-charging-choices .charging-option-number {
  width: 44px;
  min-height: 44px;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}
.alternative-charging-choices [aria-pressed="true"] { background: var(--brand-navy); color: #fff; }
#otherChargingStopsBtn[aria-disabled="true"] { cursor: progress; opacity: .65; }
.alternatives-button[data-checking]::after,
.charging-check-spinner {
  content: "";
  flex: none;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.charging-check-spinner {
  display: inline-block;
  margin-inline-start: .65em;
  vertical-align: -.15em;
}
.charging-plan-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-inline-start: auto;
}
.charging-plan-actions:not(:has(button:not([hidden]))) { display: none; }
#splitChargingBtn[aria-pressed="true"] { background: var(--brand-navy); color: #fff; }
#splitChargingBtn[aria-pressed="true"]::before {
  content: "";
  order: 1;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--battery-green);
}
.charging-plan > .result-section-heading:has(.alternatives-button:not([hidden])) { flex-wrap: wrap; }

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
  gap: 22px;
  align-items: start;
}
.charging-plan h3, .result-extras h3 { margin: 0 0 14px; font-size: 19px; }
.charging-plan > .result-section-heading { margin-bottom: 14px; }
.charging-plan > .result-section-heading h3 { margin: 0; }
.journey-timeline { --marker-center: 11px; margin: 0; padding: 0 0 0 20px; list-style: none; }
.journey-timeline > li { position: relative; padding: 0 0 16px 17px; }
.journey-timeline > li::before,
.journey-timeline > li:not(.timeline-end)::after {
  position: absolute;
  top: var(--marker-center);
  left: 1px;
  content: "";
}
.journey-timeline > li::before {
  z-index: 1;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--brand-navy);
  border-radius: 50%;
  background: #f2f2f2;
}
.journey-timeline > li:not(.timeline-end)::after {
  bottom: calc(-1 * var(--marker-center));
  width: 2px;
  transform: translateX(-50%);
  background: #c4cfdb;
}
.journey-timeline > .timeline-charge::before { background: var(--battery-green); }
.journey-timeline > .timeline-end { padding-bottom: 0; }
.journey-timeline small, .stop-title strong { display: block; }
.journey-timeline small { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.stop-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.stop-power { padding: 4px 8px; border-radius: 8px; background: #e1eaf4; color: var(--brand-navy); font-size: 12px; }
.connector-symbols { position: absolute; }
.connector-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-right: .25em;
  vertical-align: -.27em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stop-context { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.backup-stops { margin: 12px 0; }
.backup-stop { font-size: 13px; }
.backup-stop small { margin: 3px 0 0; }

.results-styles .route-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 9px 0 14px; }
.results-styles .journey-choice { min-width: 0; min-height: 62px; gap: 6px; padding: 8px; }
.results-styles .journey-choice.selected { background: #e1eaf4; color: var(--brand-navy); }
.results-styles .journey-choice.selected small, .results-styles .journey-choice.selected .choice-check { color: var(--brand-navy); }
.results-styles .choice-icon, .results-styles .journey-choice.selected .choice-icon { width: 27px; height: 27px; flex-basis: 27px; background: transparent; color: currentColor; }
.results-styles .choice-icon svg { width: 20px; height: 20px; }
.results-styles .journey-choice small { color: var(--muted); }

.results-map-panel.result-map { position: static; display: block; padding: 12px; }
.result-map .map-topline { margin: 0 0 8px; }
.result-map .map-label { padding: 4px 7px; font-size: 10px; }
.road-map-label { paint-order: stroke; stroke: white; stroke-width: 3px; }
.road-map-credit, .road-map-tile-status {
  position: absolute;
  bottom: 0;
  padding: 2px 5px;
  background: #fffe;
  color: #243044;
  font-size: 10px;
}
.road-map-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 6px;
}
.road-map-open span {
  padding: 3px 6px;
  border-radius: 4px;
  background: #fff;
  color: var(--brand-navy);
  font-size: 11px;
  font-weight: 700;
}
.road-map-open:focus-visible { outline-offset: -3px; }
.road-map-credit { right: 0; z-index: 2; }
.road-map-tile-status { left: 0; }

@media (min-width: 861px) {
  .road-results .journey-sidebar {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
  }
  .road-results .result-map {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  .road-results .result-map .abstract-map {
    flex: 1;
    min-height: 235px;
    aspect-ratio: auto;
  }
  .road-results .result-map svg {
    position: absolute;
    inset: 0;
  }
}

.trip-ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trip-idea { width: 100%; padding: 0; overflow: hidden; border: 1px solid #ddd; border-radius: 13px; background: #fff; color: var(--ink); }
.trip-idea img { display: block; width: 100%; height: clamp(145px, 16vw, 205px); object-fit: cover; }
.trip-idea-copy { display: grid; gap: 5px; padding: 12px; text-align: left; }
.trip-idea .trip-idea-copy > * { margin: 0; }
.trip-idea .trip-idea-copy small, .idea-detail, .trip-idea-copy p { font-size: 12px; color: var(--muted); }
.trip-idea.discovery-option.selected { border-color: #819bb8; box-shadow: inset 0 0 0 1px #819bb8; }
.result-extras .secondary-btn { margin-top: 12px; width: fit-content; }
.result-extras .sample-note a { text-decoration: underline; }

@media (max-width: 860px) {
  .trip-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
  .journey-layout .charging-plan { margin-bottom: 0; }
  .journey-sidebar { order: -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .journey-sidebar .result-map { order: 0; }
}
@media (min-width: 581px) and (max-width: 860px) {
  .journey-sidebar .results-styles {
    display: grid;
    grid-template-rows: auto 1fr;
  }
  .journey-sidebar .route-choice-grid {
    grid-auto-rows: 1fr;
    margin-bottom: 0;
  }
}
@media (max-width: 580px) {
  .trip-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-actions > * { flex: 1 0 100%; }
  .journey-sidebar { grid-template-columns: minmax(0, 1fr); }
  .result-map .abstract-map { max-width: 300px; margin-inline: auto; }
}

.main-stop, .backup-stop {
  padding: 12px;
  border: 1px solid #d2dbe4;
  border-radius: 12px;
  background: #fff;
}
.main-stop { background: #e1eaf4; }
.optional-stop-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.optional-stop-card > p { flex-basis: 100%; margin: 0; }
.optional-stop-card button[aria-disabled="true"] { cursor: progress; opacity: .65; }
.stop-facts, .stop-amenities { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.main-stop .stop-power { background: #fff; }
.charge-target { padding: 4px 8px; border-radius: 8px; background: #d6f1db; color: #174621; font-size: 13px; }
.stop-operator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.stop-operator img { display: block; width: 76px; height: 40px; object-fit: contain; }
.operator-jom img { width: 68px; height: 68px; }

.charger-food { margin-top: 12px; padding-top: 10px; border-top: 1px solid #c2d2e3; }
.charger-food h4 { margin: 0 0 8px; font-size: 15px; }

.stop-amenity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 7px;
  background: #f3f4f5;
  color: var(--brand-navy);
  font-size: 12px;
}
.stop-amenity svg { width: 18px; height: 18px; }
.backup-stops h4 { margin: 0; font-size: 14px; }
.backup-grid-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.backup-grid-cards .backup-stop { padding: 10px; }
.later-charger-card {
  display: block;
  width: 100%;
  min-height: 44px;
  color: inherit;
  text-align: start;
  cursor: pointer;
}
.later-charger-card[aria-pressed="true"] {
  border-color: #819bb8;
  background: #e1eaf4;
  box-shadow: inset 0 0 0 1px #819bb8;
}
.later-charger-card:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 2px;
}
.later-charger-card[aria-busy="true"] { cursor: progress; }
.later-backup-directions { display: inline-block; margin-top: 6px; font-size: 13px; }
.journey-confirmation {
  width: min(420px, calc(100% - 32px));
  padding: 20px;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  background: #f2f2f2;
}
.journey-confirmation::backdrop { background: #101e3a60; }
.journey-confirmation h3 { font-size: 21px; }
.journey-confirmation-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.journey-confirmation-actions button {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 600;
}

@media (max-width: 520px) {
  .backup-grid-cards { grid-template-columns: minmax(0, 1fr); }
}

.main-stop, .backup-stop { position: relative; }
.main-stop { background: #fff; }
.main-stop:has(.stop-select:checked), .backup-stop:has(.stop-select:checked) {
  border-color: #819bb8;
  background: #e1eaf4;
  box-shadow: inset 0 0 0 1px #819bb8;
}

body:not(.road-results) [data-road-only],
.road-results [data-demo-only],
.road-results [hidden] {
  display: none !important;
}

.chargesini-mark { font-size: 12px; font-weight: 700; }
.main-stop:has(.stop-select:focus-visible), .backup-stop:has(.stop-select:focus-visible) {
  outline: 2px solid var(--brand-navy);
  outline-offset: 2px;
}
.stop-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 860px) {
  .trip-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .trip-ideas { grid-template-columns: minmax(0, 1fr); }
}

.result-extras .result-section-heading h3 { margin: 0; }
.suggestion-origin { margin: 6px 0 12px; color: var(--muted); font-size: 13px; }
.extra-ideas-title { margin: 16px 0 8px; font-size: 15px; }
.trip-idea .idea-detail { color: var(--brand-navy); font-weight: 650; }

.idea-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 12px 12px;
}
.idea-actions button {
  flex: 1 0 auto;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid #c2d2e3;
  border-radius: 8px;
  background: #e1eaf4;
  color: var(--brand-navy);
  font-size: 13px;
  font-weight: 650;
}
.idea-actions button[data-idea-action="recalculate"],
#newJourneyDialog button[value="confirm"] {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}
#newJourneyDialog p { line-height: 1.5; }
#newJourneyDialog button[value="cancel"] { background: #e1eaf4; color: var(--brand-navy); }

/* The selected car stays in focus while the current screen dims behind it. */
body.journey-loading { overflow: hidden; }
.loading-view {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 32px 20px;
  color: #fff;
  background: rgba(8, 17, 33, .8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.loading-view:focus { outline: none; }
.loading-content { width: min(560px, 100%); text-align: center; }
.loading-drive {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 2.6;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.loading-drive::before {
  content: '';
  position: absolute;
  inset: 16% 6% 0;
  background: radial-gradient(ellipse, #c5d8ed24, transparent 68%);
  z-index: -1;
}
#loadingVehicle {
  display: block;
  width: 92%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 10px #0006);
}
.loading-wind { position: absolute; inset: 0; z-index: -1; }
.loading-wind span {
  position: absolute;
  left: 0;
  top: 20%;
  width: 23%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #e1edffad, transparent);
  opacity: 0;
  animation: loading-wind-flow 1.6s linear infinite;
}
.loading-wind span:nth-child(2) { top: 34%; width: 14%; animation-delay: -.7s; }
.loading-wind span:nth-child(3) { top: 48%; width: 30%; animation-delay: -1.2s; }
.loading-wind span:nth-child(4) { top: 62%; width: 18%; animation-delay: -.3s; }
.loading-wind span:nth-child(5) { top: 76%; width: 26%; animation-delay: -.95s; }
.loading-wind span:nth-child(6) { top: 86%; width: 12%; animation-delay: -1.45s; }
.loading-view[data-facing="left"] .loading-wind { transform: scaleX(-1); }
.loading-vehicle-caption { margin: 8px 0 24px; color: #d3dfef; font-size: 11px; line-height: 1.6; }
.loading-spinner {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  filter: drop-shadow(0 -4px 9px #ba42ff99) drop-shadow(0 4px 9px #00e1ff99);
  animation: loading-spinner-turn 1.7s linear infinite;
}
.loading-spinner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(#ba42ff 35%, #00e1ff);
  -webkit-mask-image: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask-image: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}
@keyframes loading-spinner-turn { to { transform: rotate(360deg); } }
.loading-content h2 { margin: 0 0 22px; font: 800 clamp(23px, 5vw, 30px)/1.25 Manrope, sans-serif; letter-spacing: -1px; }
.journey-search-stats { margin: 0 0 1rem; font-size: .75rem; line-height: 1.6; overflow-wrap: anywhere; }
.journey-search-stats p { margin: 0 0 .5rem; }
.journey-search-stats summary { cursor: pointer; }
#journeySearchDetails { margin-top: .5rem; white-space: pre-line; }
#loadingHeadline { display: inline-block; }
.animated-dots { display: inline-block; min-width: 18px; }
.animated-dots > span:nth-child(2) { animation: loading-second-dot 1.5s step-end infinite; }
.animated-dots > span:nth-child(3) { animation: loading-third-dot 1.5s step-end infinite; }
@keyframes loading-second-dot {
  0% { opacity: 0; }
  33.333%, 100% { opacity: 1; }
}
@keyframes loading-third-dot {
  0% { opacity: 0; }
  66.667%, 100% { opacity: 1; }
}
.loading-content .progress-track { width: min(240px, 75%); height: 3px; margin: 0 auto 20px; border-radius: 8px; overflow: hidden; background: #ffffff26; }
.loading-content .progress-fill { height: 100%; width: 5%; background: linear-gradient(90deg, #ba42ff 35%, #00e1ff); border-radius: inherit; transition: width .4s ease; }
.loading-content .progress-message { min-height: 24px; color: #fff; font-size: 13px; line-height: 1.7; font-weight: 600; }
.loading-content .loading-caveat { margin: 10px 0 0; color: #c4d0e2; font-size: 11px; line-height: 1.7; }
@keyframes loading-wind-flow {
  0% { left: 100%; transform: translateX(0); opacity: 0; }
  15%, 75% { opacity: .8; }
  100% { left: 0; transform: translateX(-100%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .animated-dots > span { animation: none; opacity: 1; }
  .loading-spinner { animation: none; }
  .loading-wind span { animation: none; opacity: .35; }
  .loading-wind span:nth-child(even) { left: 70%; }
  .loading-content .progress-fill { transition: none; }
}

/* Planner clarity and compact results vehicle context. */
.vehicle-heading .ride-eyebrow, .ride-eyebrow {
  display: block;
  margin: 0 0 8px;
  color: #58677d;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.result-ride {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 380px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.result-ride img { width: 120px; height: 64px; object-fit: contain; flex: 0 0 120px; }
.result-ride > div { min-width: 0; }
.result-ride .ride-eyebrow { margin-bottom: 5px; }
.result-ride strong { display: block; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.result-ride small { display: block; margin-top: 3px; color: #58677d; font-size: 11px; }
.result-ride [hidden] { display: none; }
.route-pair { background: transparent; padding: 0; gap: 8px; }
.route-location {
  min-width: 0;
  padding: 10px 48px 8px 12px;
  border: 1px solid #cbd3de;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.route-location:focus-within { border-color: #486b96; box-shadow: 0 0 0 2px #486b9624; }
.route-location > label { color: #58677d; font-size: 11px; }
.route-location input { padding: 4px 0 0 16px; font-size: 14px; font-weight: 600; text-overflow: ellipsis; }
/* The containing field supplies the visible focus ring for its input. */
.route-location input:focus-visible { outline: none; }
.route-location input::placeholder { color: #7b8797; font-weight: 400; }
.clear-location {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #58677d;
  font-size: 23px;
  line-height: 1;
}
.clear-location:hover { background: #f1f4f8; color: #101e3a; }
.clear-location:focus-visible { outline: 2px solid #486b96; outline-offset: -4px; }
.route-location:has(input:placeholder-shown) .clear-location { display: none; }
.mode-option:disabled, .journey-choice:disabled {
  opacity: 1;
  color: #89919b;
  background: #e8eaed;
  border-color: #dfe2e7;
  box-shadow: none;
  cursor: not-allowed;
}
.journey-choice:disabled .choice-icon { background: transparent; color: #89919b; }
.mode-option:disabled .mode-caption, .journey-choice:disabled small { color: #737d8b; font-size: 10px; }
.journey-choice:disabled .choice-check { display: none; }
@media (max-width: 1040px) {
  .results-heading { flex-wrap: wrap; }
  .result-ride { flex-basis: 360px; }
}
@media (max-width: 760px) {
  .vehicle-heading .ride-eyebrow { font-size: 10px; margin-bottom: 5px; }

}
@media (max-width: 640px) {
  .result-ride {
    margin-top: 16px;
    width: 100%;
    max-width: 400px;
  }
  .result-ride img { width: 100px; flex-basis: 100px; height: 54px; }
}
@media (max-width: 480px) {
  .route-pair { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .route-arrow { display: none; }
  .route-location { padding: 8px 48px 8px 12px; }
  .route-location input { font-size: 14px; }
  .clear-location { width: 40px; height: 44px; }
}

/* Icon-only car selector with an accessible, unframed hit area. */
.change-ev-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #58677d;
}
.change-ev-btn svg { width: 26px; height: 26px; }
.change-ev-btn:hover { color: #101e3a; }
.change-ev-btn:focus-visible { outline: 2px solid #486b96; outline-offset: 2px; }

/* A single planner panel gives battery, route and style one visual structure. */
#journeyForm {
  gap: 16px;
  padding: 22px;
  border: 1px solid #ffffffd9;
  border-radius: 22px;
  background: #f9fafb;
  box-shadow: 0 16px 44px #101e3a1a, inset 0 1px 0 #ffffffeb;
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  #journeyForm {
    background: linear-gradient(145deg, #ffffff66, #ffffff33);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
  }
}
#journeyForm .planner-heading { margin: 0; font-size: 23px; font-weight: 650; }
#journeyForm .charge-control { padding: 0; border-radius: 0; background: transparent; }
#journeyForm .charge-label { justify-content: flex-start; font-weight: 600; }
#journeyForm .charge-icon { background: #f1f4f8; }
#journeyForm .arrival-control { border-color: #e8ecf1; margin-top: 12px; padding-top: 12px; }
#journeyForm .arrival-control p { font-size: 12px; font-weight: 600; color: #58677d; }
.planner-route-section, #journeyForm .style-control {
  min-width: 0;
  border-top: 1px solid #e8ecf1;
  padding-top: 16px;
}
.planner-section-label, #journeyForm .style-control > p {
  margin: 0 0 10px;
  color: #101e3a;
  font-size: 13px;
  font-weight: 650;
}
#journeyForm .route-pair { padding: 0; background: transparent; gap: 8px; }
#journeyForm .route-location { background: #f6f8fa; border-color: #dce2e9; }
#journeyForm .route-location:focus-within { background: #fff; border-color: #486b96; }
#journeyForm .reserve-option, #journeyForm .style-control .mode-option {
  border: 1px solid #dce2e9;
  border-radius: 12px;
  background: #f6f8fa;
}
#journeyForm .reserve-option.selected, #journeyForm .style-control .mode-option.selected {
  border-color: #b9cee7;
  background: #e1eaf4;
  color: #101e3a;
}
#journeyForm .style-control .mode-option:disabled {
  border-color: #e8ecf1;
  background: #f2f4f6;
  color: #89919b;
}
@media (max-width: 760px) {
  #journeyForm { gap: 12px; padding: 16px; border-radius: 18px; }
  #journeyForm .planner-heading { font-size: 20px; }
  .planner-route-section, #journeyForm .style-control { padding-top: 12px; }
  .planner-section-label, #journeyForm .style-control > p { margin-bottom: 8px; }
  #journeyForm .arrival-control { margin-top: 9px; padding-top: 9px; }
}

/* Full-width scenery belongs to the home hero, below the header only. */
#planner { position: relative; isolation: isolate; padding-bottom: 12px; }
.hero-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: #e9eef0;
  pointer-events: none;
}
.hero-background-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-background-slide.is-active { opacity: 1; }
.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f5f7f9e8 0%, #f5f7f9b8 40%, #f5f7f940 65%, #f5f7f940 100%),
    linear-gradient(0deg, #f5f7f98c, transparent 35%);
}
#planner .preference-tile:not(:has(input:checked)) { background: #f6f8faf2; border-color: #dce2e9; }
.hero-motion-toggle {
  display: block;
  min-height: 32px;
  margin: 0 0 0 auto;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: #ffffffbf;
  color: #42536a;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-motion-toggle[hidden] { display: none; }
.hero-motion-toggle:hover { color: #101e3a; background: #fff; }
@media (max-width: 760px) {
  .hero-background::after { background: linear-gradient(180deg, #f5f7f9d9 0%, #f5f7f9bf 28%, #f5f7f959 65%, #f5f7f980 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-background-slide { transition: none; }
}


/* Fit the car selection into the viewport; retain scrolling only for overflow. */
.vehicle-drawer {
  width: min(480px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  padding: 18px 20px max(16px, env(safe-area-inset-bottom));
  overflow: hidden;
}
.vehicle-drawer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
}
.vehicle-drawer h2 { font-size: 22px; }
/* Focus outlines extend 6px beyond controls; keep them inside the scroll area. */
.vehicle-drawer-body { min-height: 0; overflow-y: auto; padding: 8px; scroll-padding-block: 10px; }
.vehicle-drawer .vehicle-current { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; }
.vehicle-drawer .vehicle-current strong { font-size: 14px; }
.vehicle-drawer .vehicle-current img { width: 96px; }
.vehicle-drawer label, .vehicle-drawer legend { margin-bottom: 5px; font-size: 12px; }
.vehicle-drawer .vehicle-search { margin-bottom: 12px; }
.vehicle-drawer .vehicle-search input, .vehicle-drawer select {
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}
.vehicle-fields { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 12px 10px; }
.vehicle-drawer .vehicle-fields fieldset { margin: 0; padding: 0; border: 0; }
#vehicleSearchStep, #vehicleYearStep, #vehicleColorStep { grid-column: 1 / -1; }
.vehicle-drawer .vehicle-picker-options { gap: 6px; }
.vehicle-drawer img.vehicle-paint-preview {
  width: 100%;
  height: clamp(90px, 17dvh, 155px);
  margin: 8px 0 4px;
  object-fit: contain;
}
.vehicle-drawer .vehicle-paint-caption { font-size: 12px; gap: 3px 8px; }
.vehicle-drawer #applyVehicle { width: 100%; min-height: 48px; margin: 0; flex-shrink: 0; }
@media (max-height: 740px) {
  .vehicle-drawer { padding-top: 12px; }
  .vehicle-drawer[open] { gap: 8px; }
  .vehicle-drawer .vehicle-current { margin-bottom: 8px; padding-block: 8px; }
  .vehicle-drawer .vehicle-current img { width: 80px; }
  .vehicle-drawer .vehicle-search { margin-bottom: 8px; }
  .vehicle-fields { gap: 8px; }
  .vehicle-drawer img.vehicle-paint-preview { height: 90px; margin-top: 4px; }
}

/* Charging power and arrival battery are distinct information badges. */
.charging-power, [data-charge-arrival], .charge-arrival {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  vertical-align: middle;
}
.charging-power {
  margin-block: 2px;
  background: #fff0b3;
  border-color: #e8c959;
  color: #684700;
}
[data-charge-arrival], .main-stop [data-charge-arrival], .stop-facts .charge-arrival {
  background: #d4e5ff;
  border-color: #aac9f1;
  color: #163c72;
}
.backup-stop [data-charge-arrival] { margin-block: 3px; }

.timeline-end .arrival-chargers-btn {
  display: inline-flex;
  justify-content: flex-start;
  max-width: 100%;
  min-height: 36px;
  margin-top: 9px;
  padding: 7px 10px;
  gap: 8px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.arrival-chargers-btn > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.arrival-chargers-btn > span:last-child { flex-shrink: 0; }
