/* Map-led Miloroute: familiar navigation patterns, original identity. */
:root{--paper:#f7f7f3;--surface:#fff;--ink:#213a32;--muted:#64746c;--green:#25644c;--green-soft:#edf4eb;--line:#e4e9e1;--shadow:0 8px 30px #233c2920;font-size:14px;line-height:1.5}
html,body{height:100%;overflow:hidden}body{background:#dfe8d9}button,input,select{font-size:14px}.icon{width:20px;height:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-header{height:68px;width:100%;max-width:none;padding:0 24px;background:#fffffff7;position:relative;z-index:20;box-shadow:0 1px 8px #2b492812;gap:18px;border:0}.wordmark{font-size:25px;letter-spacing:-1px}.app-tagline{font-size:12px;color:var(--muted);margin-right:auto}.header-actions{gap:8px}.language-button{border-radius:50%;min-width:44px}.round-button{width:44px;height:44px;min-height:44px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--green);padding:0;flex-shrink:0}.round-button:hover{background:var(--green-soft)}.round-button:active{transform:scale(.94)}.notification-toggle{position:relative}.notification-toggle>span:last-child:not([data-icon]){position:absolute;right:0;top:-2px;min-width:17px;height:17px;padding:0 3px;background:#bc704d;color:white;border-radius:10px;font-size:10px;line-height:17px}.workspace{display:block;position:relative;height:calc(100dvh - var(--app-header-height,68px));width:100%;max-width:none;margin:0;padding:0;overflow:hidden}.map-stage{position:absolute;inset:0;overflow:hidden}.map-stage #road-map{margin:0;border:0;border-radius:0;height:100%;width:100%;isolation:isolate}.route-map__viewport{height:100%!important}.route-map__tiles{filter:saturate(.7) brightness(1.04)}.route-map__route.route-map__route--selected{stroke:var(--green);stroke-width:7;opacity:1;filter:drop-shadow(0 1px 1px #fff)}.route-map__route{stroke:#9eb1a2;stroke-width:5;opacity:.8}.route-map__controls{right:22px;top:auto;bottom:98px;gap:8px}.route-map__controls button{border-radius:50%;width:46px;height:46px;background:#fff;box-shadow:var(--shadow)}.route-map__status{left:auto;right:24px;top:19px;font-size:11px;padding:7px 12px;box-shadow:0 2px 9px #253d2810;max-width:260px}.route-map__coordinates{position:absolute;left:430px;bottom:8px;max-width:calc(100% - 840px);font-size:10px;background:#ffffffda;border-radius:8px;pointer-events:none;display:none}.route-map__attribution{position:absolute;right:12px;bottom:7px;background:#ffffffdc;border-radius:5px;padding:2px 7px;font-size:9px;max-width:calc(100% - 430px)}.route-map__attribution>span:last-child{display:none}.map-category-bar{position:absolute;top:18px;left:426px;display:flex;gap:8px;z-index:4;max-width:calc(100% - 450px);overflow:auto;scrollbar-width:none}.map-category-bar button{display:flex;align-items:center;gap:7px;min-height:42px;padding:9px 16px;background:#fff;border:1px solid #e4e9df;border-radius:24px;font-size:12px;font-weight:650;box-shadow:0 3px 12px #263e2417;white-space:nowrap}.map-category-bar button:hover,.map-category-bar button[aria-pressed=true]{background:var(--green);color:white}.map-category-bar .icon{width:17px;height:17px}.map-locate{position:absolute;right:23px;bottom:263px;box-shadow:var(--shadow);width:46px;height:46px}.map-locate.is-locating .icon{animation:locating 1s ease-in-out infinite}.map-milo{position:absolute;left:430px;bottom:56px;background:#fffffff5;display:flex;align-items:center;gap:7px;border-radius:18px;padding:7px 16px 7px 5px;box-shadow:var(--shadow);pointer-events:none}.map-milo img{object-fit:contain;width:52px;height:52px}.map-milo strong{font-size:12px;display:block}.map-milo span{font-size:10px;color:var(--muted);display:block}.journey-sidebar{position:absolute;top:18px;bottom:86px;left:18px;width:380px;overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:12px;z-index:6;padding:0 4px 10px 0;overscroll-behavior:contain}.journey-panel{position:static;padding:18px;background:#fffffff9;border:1px solid #e4e9df;box-shadow:var(--shadow);border-radius:22px;flex-shrink:0}.panel-heading{gap:10px;margin-bottom:13px}.panel-heading h1{font-size:20px;letter-spacing:-.6px;font-weight:750}.panel-heading>.round-button{width:34px;height:34px;min-height:34px;border:0;color:var(--muted)}.address-line{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:13px;background:#f9faf6;padding:4px 7px;margin:7px 0}.address-line:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #25644c0c}.address-line input{border:0;background:transparent;padding:8px 2px;min-height:41px;font-size:14px;min-width:0;flex:1;outline:none}.address-line input:focus-visible{outline:none}.address-dot{width:9px;height:9px;border:2px solid var(--green);border-radius:50%;flex-shrink:0;margin:0 3px}.address-dot.destination{background:#c37955;border-color:#c37955;border-radius:3px}.lookup-button{width:33px;height:38px;min-width:33px;min-height:38px;background:none;border:0;flex-shrink:0;border-radius:9px}.lookup-button:hover{background:#eaf0e5}.lookup-button .icon{width:18px;height:18px}.point-confirmed{font-size:10px;margin:0 0 5px;gap:5px}.point-confirmed .icon{width:12px;height:12px}.pin-actions{gap:6px;margin:9px 0}.chip{display:inline-flex;align-items:center;gap:5px;background:#eff3e9;padding:6px 10px;border-radius:20px;min-height:34px;font-size:11px;color:var(--green)}.chip[aria-pressed=true]{background:var(--green);color:white}.chip .icon{width:14px;height:14px}.trip-preferences{font-size:12px;margin-top:10px}.trip-preferences>summary{display:flex;align-items:center;gap:7px;cursor:pointer;min-height:38px;list-style:none}.trip-preferences>summary::-webkit-details-marker{display:none}.trip-preferences>summary>.icon{width:16px;height:16px}.trip-preferences>summary>.icon:last-child{width:13px;margin-left:auto;transition:transform .2s}.trip-preferences[open]>summary>.icon:last-child{transform:rotate(180deg)}.trip-preferences>summary{display:block;padding:2px 0 9px}.preferences-heading{display:flex;align-items:center;gap:7px;min-height:44px;width:100%;font-size:12px}.preferences-heading>[data-icon]{display:flex;flex-shrink:0}.preferences-heading .icon{width:16px;height:16px}.preferences-heading>[data-icon]:last-child{margin-left:auto}.preferences-heading>[data-icon]:last-child .icon{width:13px;transition:transform .2s}.trip-preferences[open] .preferences-heading>[data-icon]:last-child .icon{transform:rotate(180deg)}#preferences-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin:0;color:var(--green);font-size:12px;line-height:1.35}html[data-large-text=true] #preferences-summary{grid-template-columns:minmax(0,1fr)}.preference-fact{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 9px;border-radius:10px;background:var(--green-soft);overflow-wrap:anywhere}.preference-fact[data-preference-fact=party]{grid-column:1/-1}.preference-fact>.icon{width:16px;height:16px;flex-shrink:0}.preference-fact>span{min-width:0}.preference-fact small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.trip-preferences>summary:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:10px}@media(prefers-reduced-motion:reduce){.preferences-heading>[data-icon]:last-child .icon{transition:none}}.preference-body{padding:0 1px 10px}.preference-body .field-grid{margin-top:13px}.preference-body .field-grid label{font-size:12px}.preference-body input,.preference-body select{font-size:14px}.preference-body .preferences-details{font-size:12px}.planning-modes{margin-top:13px;margin-bottom:0}.plan-submit{margin-top:9px;justify-content:center;gap:9px;border-radius:14px;min-height:47px;font-size:14px}.plan-submit>.icon:last-child{margin-left:auto;width:18px}.plan-submit>#submit-label{flex:1;text-align:left}.plan-submit:disabled>.icon:first-child{animation:locating 1s infinite}.source-details{font-size:10px;color:var(--muted);margin:11px 0 0}.source-details>summary{display:flex;gap:5px;align-items:center;cursor:pointer;list-style:none;min-height:30px}.source-details>summary .icon{width:13px;height:13px}.source-details>summary:after{content:'⌄';margin-left:auto}.source-details p{font-size:11px;line-height:1.6;margin:5px 0}.source-details[open]{background:#f3f5ef;padding:9px;border-radius:9px}.location-source{margin-top:3px}.source-details.location-source>summary{min-height:44px;font-size:11px}.journey-content{background:#fffffff9;border:1px solid #e4e9df;border-radius:22px;box-shadow:var(--shadow);padding:14px 16px 18px;min-width:0;flex-shrink:0}.journey-content:has(#road-options:empty):has(#planner-view:not([hidden])){padding-bottom:13px}.sheet-handle{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:13px;font-weight:700;min-height:36px;gap:8px;padding:0 0 8px}.sheet-handle>.icon{width:16px;height:16px}.handle-line{display:none}.sheet-collapsed .app-view{display:none}.sheet-collapsed .sheet-handle>.icon{transform:rotate(180deg)}.results-header{margin:2px 0 10px;gap:6px;align-items:center}.results-header .eyebrow{display:none}.results-header h2{font-size:17px;letter-spacing:-.4px;margin:3px 0}.results-header .muted{font-size:11px}.results-header .secondary-button{padding:6px 9px;min-height:36px;font-size:10px;gap:4px;white-space:nowrap;margin:0}.results-header .secondary-button .icon{width:14px;height:14px}.road-options{display:grid;grid-template-columns:1fr;gap:8px}.road-option{border-radius:14px;position:relative}.road-option button{display:grid;grid-template-columns:1fr auto;padding:13px 14px;gap:4px 7px}.road-option strong{font-family:inherit;font-weight:750;font-size:23px;grid-column:2;grid-row:1/3;letter-spacing:-.8px}.road-option-name{font-size:11px;gap:5px}.road-option-name .icon{width:15px;height:15px}.road-option button>span:not(.road-option-name){font-size:11px;grid-column:1}.road-option small{font-size:9px;margin:1px 0;grid-column:1}.road-unknown{font-size:9px;padding:6px 14px;background:#fafaf4}.trip-summary{margin:12px 0;padding:11px;gap:7px;border-radius:14px}.trip-summary strong{font-size:12px}.trip-summary p{font-size:11px}.route-facts{grid-template-columns:1fr 1fr;gap:10px;padding:6px 0}.route-facts strong{font-size:13px}.route-facts>div{font-size:10px}.route-source{font-size:9px;margin-top:10px}.field-note{font-size:11px}.route-disclosure{font-size:11px;margin:5px 0}.contact-options{grid-template-columns:1fr;gap:10px}.contact-card{padding:13px;border-radius:16px}.contact-card h4{font-size:15px;letter-spacing:-.2px}.property-photo{aspect-ratio:1.85;border-radius:11px;margin-bottom:10px}.property-photo figcaption{font-size:8px;padding:4px 8px}.property-photo .photo-fallback,.property-photo.no-photo{font-size:11px}.place-town{font-size:11px;margin:3px 0 8px}.place-tags span{font-size:10px}.contact-actions{gap:7px;flex-wrap:wrap}.contact-actions .primary-button,.contact-actions .secondary-button{min-height:42px;padding:9px 12px;font-size:11px}.place-detail{font-size:11px;margin-top:10px;color:var(--muted)}.place-detail summary{cursor:pointer}.place-detail .contact-info{font-size:11px;margin:7px 0}.section-heading{gap:8px;margin:15px 0 10px}.section-heading .eyebrow{display:none}.section-heading h3{font-size:17px}.small-tag{font-size:9px;padding:4px 6px}.section-block{margin-top:18px}.section-description{font-size:11px;line-height:1.6;margin:0 0 10px}.brand-chip span{font-size:10px}.provider-brands{margin:8px 0;gap:5px}.service-card{padding:14px;border-radius:16px}.service-top h3{font-size:14px}.service-top{gap:5px;flex-wrap:wrap;margin-bottom:8px}.service-columns{grid-template-columns:1fr;gap:8px}.service-columns h4{font-size:10px}.service-columns p{font-size:11px}.service-note{font-size:11px;margin-top:8px}.inline-notice{font-size:11px;padding:10px;border-radius:11px;margin:9px 0}.charging-section{margin:0 0 13px;padding:13px;border-radius:16px}.charging-controls{flex-wrap:wrap;margin:10px 0}.charging-controls select{font-size:12px;max-width:100%;flex:1;min-width:120px}.charging-controls button{font-size:11px;padding:8px 10px}.charging-grid{grid-template-columns:1fr}.charging-card p{font-size:11px}.charging-card h4{font-size:14px;display:flex;gap:5px}.fuel-row{padding:12px;align-items:start}.fuel-price{font-size:22px}.fuel-row p{font-size:11px}.saved-card{display:block;padding:13px;border-radius:15px}.saved-card h3{font-size:15px}.saved-actions{margin-top:9px}.saved-card p{font-size:11px}.bottom-nav{position:absolute;left:18px;bottom:15px;width:380px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:4px;z-index:10}.bottom-nav .nav-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:51px;border:0;border-radius:15px;padding:5px;font-size:10px;color:var(--muted)}.bottom-nav .nav-button.active{background:var(--green-soft);color:var(--green);font-weight:700}.bottom-nav .nav-button .icon{width:21px;height:21px}.bottom-nav .nav-button:hover{background:#f5f7f0}.feedback{font-size:12px;border-radius:12px;padding:10px;margin:0 0 10px}.notifications-panel{position:fixed;top:77px;right:18px;width:350px;max-width:calc(100% - 28px);max-height:calc(100dvh - 90px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--shadow);z-index:40}.notifications-panel h2{font-size:18px}.notification-settings{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.notification-card{border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.notification-card strong{display:block;font-size:13px}.notification-card p{font-size:12px;margin-top:3px;color:var(--muted)}.notification-card.unread strong:before{content:'';display:inline-block;width:6px;height:6px;background:#c37854;border-radius:50%;margin-right:6px}.notification-card small{color:var(--muted);font-size:10px}.toast{bottom:23px;left:calc(50% + 190px);border-radius:18px;max-width:min(420px,calc(100% - 40px));font-size:12px;padding:8px 16px;box-shadow:var(--shadow)}.toast img{width:38px;height:38px}dialog{border-radius:24px;padding:25px;max-width:400px}.dialog-actions{margin-top:18px}.search-scene{width:100px;height:100px;margin-bottom:14px}.search-scene img{width:96px;height:96px}dialog h2{font-family:inherit;font-size:21px;font-weight:750;line-height:1.25;letter-spacing:-.6px;margin:12px 0}.search-progress{margin:16px 0 5px}.navigation-provider{display:flex;align-items:center;gap:12px;min-height:60px;padding:12px;border:1px solid var(--line);border-radius:14px;text-decoration:none;margin:9px 0}.navigation-provider .icon{width:23px;height:23px}.navigation-provider strong{font-size:14px}.navigation-provider small{font-size:11px;display:block;color:var(--muted)}.navigation-button-row{display:flex;gap:7px;margin:10px 0}.navigation-button-row>.primary-button{flex:1;font-size:12px}.navigation-button-row>.round-button{border-radius:13px}.view-empty{padding:16px;font-size:12px;border-radius:13px}.view-empty img{width:50px;height:50px;object-fit:contain}.location-matches{font-size:12px;max-height:250px;overflow:auto;padding:6px;margin:6px 0;border-radius:13px}.location-match span{font-size:12px}.location-match small{font-size:10px}.location-match{min-height:48px;padding:9px 4px}.map-stage .route-map__crosshair{background:var(--green);box-shadow:0 3px 15px #1c3b282b;border-width:3px;width:38px;height:38px;line-height:31px}.route-map__gps{fill:#4297d7;stroke:white;stroke-width:3}.route-map__accuracy{fill:#4297d727;stroke:#4297d75a;stroke-width:1}.route-map__pin{fill:var(--green);stroke-width:3.5}.route-map__pin-label{font-size:12px}.trip-preview-details{font-size:11px}.trip-preview-details>summary{cursor:pointer;margin-top:10px}.known-value{color:var(--green)}
@keyframes locating{50%{opacity:.4;transform:scale(.88)}}
@media(max-width:1050px){.journey-sidebar,.bottom-nav{width:350px}.map-category-bar{left:385px;max-width:calc(100% - 409px)}.route-map__attribution{max-width:calc(100% - 385px)}.map-milo{left:385px}.route-map__status{top:76px}.toast{left:calc(50% + 175px)}}
@media(max-width:800px){.site-header{height:58px;padding:0 15px;flex-wrap:nowrap;align-content:normal;gap:9px}.wordmark{font-size:23px}.wordmark img{width:28px;height:28px}.app-tagline{display:none}.header-actions{margin-left:auto;gap:3px}.round-button{width:40px;height:40px;min-height:40px}.header-actions .round-button{border:0}.language-button{min-width:38px;padding:6px}.workspace{height:calc(100dvh - var(--app-header-height,58px))}.journey-sidebar{display:contents}.journey-panel{position:absolute;z-index:8;top:12px;left:12px;right:12px;width:auto;padding:12px 14px;border-radius:20px;max-height:48%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.journey-panel form{display:block}.panel-heading{margin-bottom:5px}.panel-heading h1{font-size:17px}.panel-heading>.round-button{width:28px;height:28px;min-height:28px}.address-line{margin:5px 0;padding:2px 6px;gap:4px}.address-line input{font-size:16px;min-height:38px}.point-confirmed{display:none!important}.lookup-button{width:32px;height:36px;min-width:32px;min-height:36px}.pin-actions{margin:7px 0 4px;display:flex;gap:6px}.chip{min-height:29px;padding:5px 10px;font-size:10px}.trip-preferences{margin-top:2px}.trip-preferences>summary{min-height:31px;font-size:11px}.trip-preferences .icon{width:14px}.plan-submit{min-height:44px;margin-top:4px;font-size:13px;border-radius:12px;padding:8px 13px}.journey-panel:has(#trip-preferences[open]){max-height:calc(100% - 85px)}.map-category-bar{top:auto;bottom:calc(37vh + 84px);left:12px;right:12px;max-width:none;gap:6px}.map-category-bar button{font-size:11px;min-height:36px;padding:7px 13px}.map-category-bar .icon{width:16px;height:16px}.journey-content{position:absolute;z-index:7;left:0;right:0;bottom:calc(var(--app-nav-height,calc(65px + env(safe-area-inset-bottom))));border-radius:24px 24px 0 0;padding:9px 16px 16px;max-height:37%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;transition:max-height .25s ease;box-shadow:0 -4px 24px #24442714;border-bottom:0}.sheet-handle{position:sticky;top:-9px;background:#fff;z-index:2;min-height:38px;padding:14px 0 5px}.handle-line{display:block;position:absolute;width:35px;height:4px;border-radius:5px;background:#cbd3c5;top:2px;left:calc(50% - 17px)}.sheet-handle>.icon{width:14px}.sheet-collapsed{max-height:55px;padding-bottom:7px}.bottom-nav{bottom:0;left:0;width:100%;height:auto;min-height:calc(65px + env(safe-area-inset-bottom));border-radius:0;border:0;border-top:1px solid var(--line);padding:4px 14px calc(4px + env(safe-area-inset-bottom));grid-template-columns:repeat(3,1fr);order:initial}.bottom-nav .nav-button{min-height:51px;font-size:10px}.bottom-nav .nav-button .icon{width:22px;height:22px}.map-milo{display:none}.map-locate{right:15px;bottom:calc(37vh + 132px);width:44px;height:44px}.route-map__controls{right:15px;bottom:calc(37vh + 186px);gap:5px}.route-map__controls button{width:44px;height:44px;min-width:44px;min-height:44px;font-size:22px}.route-map__controls [data-map=out]{display:none}.route-map__status{top:auto;bottom:calc(37vh + 133px);left:12px;right:auto;max-width:calc(100% - 80px);font-size:10px;padding:5px 9px}.route-map__attribution{right:3px;bottom:calc(37vh + 78px);max-width:calc(100% - 24px);font-size:8px;padding:1px 5px}.results-header h2{font-size:17px}.road-option button{padding:11px 12px}.road-option strong{font-size:22px}.road-option small{font-size:10px}.road-unknown{font-size:10px;padding:5px 12px}.contact-options{grid-template-columns:1fr}.source-details p{font-size:11px}.toast{left:50%;bottom:calc(75px + env(safe-area-inset-bottom));max-width:calc(100% - 30px);font-size:12px}.notifications-panel{top:67px;right:10px;width:355px;padding:15px}.main-nav{width:100%;gap:0}.navigation-button-row .primary-button{min-height:43px}.search-scene{width:94px;height:94px}.search-scene img{width:90px;height:90px}dialog{padding:23px}dialog h2{font-size:20px}.preference-body input,.preference-body select{font-size:16px}body[data-view=breaks] .journey-panel,body[data-view=saved] .journey-panel{display:none}body[data-view=breaks] .journey-content,body[data-view=saved] .journey-content{max-height:64%}body[data-view=breaks] .map-category-bar,body[data-view=saved] .map-category-bar{top:14px;bottom:auto}body[data-view=breaks] .route-map__controls,body[data-view=saved] .route-map__controls{bottom:calc(64vh + 90px)}body[data-view=breaks] .map-locate,body[data-view=saved] .map-locate{top:62px;bottom:auto}body[data-view=breaks] .route-map__status,body[data-view=saved] .route-map__status{display:none}body[data-view=breaks] .route-map__attribution,body[data-view=saved] .route-map__attribution{bottom:calc(64vh + 69px)}body[data-picking=true] .journey-content{max-height:55px}body[data-picking=true] .journey-content .app-view{display:none}body[data-picking=true] .map-category-bar{display:none}body[data-picking=true] .route-map__attribution{bottom:125px}body[data-picking=true] .route-map__status{bottom:140px}body[data-picking=true] .map-locate,body[data-picking=true] .route-map__controls{display:none}}
@media(max-width:360px){.journey-panel{top:8px;left:8px;right:8px;padding:10px 12px}.panel-heading h1{font-size:16px}.wordmark{font-size:21px}.site-header{padding:0 10px}.header-actions{gap:0}.map-category-bar button{padding:7px 10px}.map-category-bar{gap:5px}.chip{font-size:9px}.trip-preferences>summary{font-size:10px}#preferences-summary{font-size:12px}.road-option strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable overlays and accessible mobile source disclosure. */
.journey-panel,.journey-content{background:#fff}.notification-item{display:flex;gap:9px;border-bottom:1px solid var(--line);padding:11px 0;font-size:12px}.notification-item p{font-size:11px;color:var(--muted);margin-top:3px}.notification-item small{font-size:9px;color:var(--muted)}.notification-item .icon{width:18px;height:18px;color:var(--green)}.notification-settings .secondary-button{font-size:11px}.navigation-leg{margin:15px 0}.navigation-leg p{font-size:11px;color:var(--muted)}.navigation-button-row .secondary-button{font-size:12px;flex:1}.map-locate[aria-busy=true] .icon{animation:locating 1s ease-in-out infinite}
@media(max-width:800px){.location-source{display:block;margin:0}.location-source>summary{min-height:44px;font-size:11px}.journey-panel{max-height:52%;}.map-category-bar{max-width:calc(100% - 24px)}.notification-settings .secondary-button{min-height:44px}.navigation-provider{min-height:65px}}

/* Touch targets and the initial map-first phone state. */
@media(max-width:800px){.lookup-button{width:44px;height:44px;min-width:44px;min-height:44px}.chip{min-height:44px;padding:8px 12px}.trip-preferences>summary{min-height:44px}.panel-heading>.round-button{width:44px;height:44px;min-height:44px}.contact-actions .primary-button,.contact-actions .secondary-button{min-height:44px}body:has(#trip-sheet.sheet-collapsed) .map-category-bar{top:auto;bottom:133px}body:has(#trip-sheet.sheet-collapsed) .map-locate{bottom:189px}body:has(#trip-sheet.sheet-collapsed) .route-map__controls{bottom:245px}body:has(#trip-sheet.sheet-collapsed) .route-map__attribution{bottom:122px}body:has(#trip-sheet.sheet-collapsed) .route-map__status{bottom:175px;top:auto}body[data-route-ready=true][data-view=planner] .journey-panel .panel-heading{display:none}body[data-route-ready=true][data-view=planner] .journey-panel:has(input:focus) .trip-preferences{display:block}body:has(#trip-sheet.sheet-collapsed) .map-milo{display:flex;left:16px;bottom:228px;padding:5px 12px 5px 4px;border-radius:15px}body:has(#trip-sheet.sheet-collapsed) .map-milo img{width:45px;height:45px}body:has(#trip-sheet.sheet-collapsed) .map-milo strong{font-size:11px}body:has(#trip-sheet.sheet-collapsed) .map-milo span{font-size:9px}}

@media(max-width:800px){body[data-route-ready=true][data-view=planner]:has(#trip-sheet:not(.sheet-collapsed)) .map-category-bar{display:none}.plan-options{grid-template-columns:1fr}}
/* Comparison cards use the same compact vertical rhythm as provider routes. */
.plan-options{grid-template-columns:1fr}.select-plan{display:grid;grid-template-columns:1fr auto;min-height:105px;padding:16px;gap:4px 8px}.plan-name{margin:0;font-size:13px;max-width:none;padding-right:45px}.plan-price{grid-column:2;grid-row:1/3;font-family:inherit;font-size:25px;font-weight:750;align-self:center}.price-note{margin:4px 0;font-size:10px}.plan-stats{grid-column:1/-1;font-size:10px;margin-top:6px}.plan-card .pick-label{top:0;right:12px;font-size:8px;border-radius:0 0 5px 5px}.cost-grid{grid-template-columns:1fr 1fr}.day-top{flex-wrap:wrap;gap:3px}.plan-footer{font-size:10px}.day-card{grid-template-columns:30px minmax(0,1fr);gap:9px}.day-number{width:30px;height:30px;font-size:18px;line-height:30px}

@media(max-width:800px){body[data-route-ready=true][data-view=planner]:has(#trip-sheet:not(.sheet-collapsed)) .route-map__attribution{bottom:auto;top:calc(var(--map-search-bottom,250px) - 2px);left:12px;right:65px;text-align:right;max-width:none;background:#fffffff2;font-size:8px;white-space:nowrap}}

/* Keep 196px between the measured search-panel clearance and results.
   Tall screens keep the existing 37% sheet; its contents scroll independently. */
@media(max-width:800px){
 body[data-route-ready=true][data-view=planner]:not([data-picking=true]):has(#trip-preferences:not([open])) #trip-sheet:not(.sheet-collapsed){
  max-height:max(55px,min(37%,calc(100dvh - var(--app-header-height,58px) - var(--map-search-bottom,253px) - 196px - var(--app-nav-height,calc(65px + env(safe-area-inset-bottom))))));
 }
 /* Zoom, Fit and sibling Locate inherit measured map clearance through the workspace. */
 body[data-route-ready=true][data-view=planner]:not([data-picking=true]):has(#trip-preferences:not([open])):has(#trip-sheet:not(.sheet-collapsed)) .route-map__controls{
  top:calc(var(--map-search-bottom,253px) + 70px);bottom:auto;
 }
 body[data-route-ready=true][data-view=planner]:not([data-picking=true]):has(#trip-preferences:not([open])):has(#trip-sheet:not(.sheet-collapsed)) .map-locate{
  top:calc(var(--map-search-bottom,253px) + 26px);bottom:auto;
 }
}

/* Navigation belongs to the chosen map app; replay is a secondary planning aid. */
.navigation-provider.navigation-recommended{background:var(--green);color:#fff;border-color:var(--green)}.navigation-recommended small{color:#ffffffc9}.navigation-organic{display:flex;justify-content:center;width:100%;margin-top:8px;min-height:44px}.navigation-organic .icon:last-child{width:15px;height:15px}.navigation-preview{border-top:1px solid var(--line);margin-top:12px;padding-top:8px}.navigation-preview>summary{min-height:44px;display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer;color:var(--muted)}.navigation-preview>summary::before{content:'＋';font-size:17px}.navigation-preview[open]>summary::before{content:'−'}.navigation-preview .drive-launch{margin-bottom:0}.organic-note{font-size:11px;line-height:1.6}.navigation-leg .navigation-button-row>a{min-height:44px}.navigation-leg p{overflow-wrap:anywhere}

.discovery-show{min-height:44px;margin:8px 6px 0 0;gap:6px}.fuel-row:focus-within,.charging-card:focus-within{outline:2px solid var(--green);outline-offset:3px}.fuel-row h4:focus,.charging-card h4:focus{outline:none}

/* Compact landscape keeps the selected place and map actions in view. */
@media(min-width:600px) and (max-width:800px) and (max-height:420px){
 body:has(#trip-sheet.sheet-collapsed) .map-milo{display:none}
 body[data-view=planner]:has(#trip-sheet:not(.sheet-collapsed)) :is(.route-map__controls,.map-locate){display:none}
 body[data-view=planner]:not([data-picking=true]):has(#trip-sheet:not(.sheet-collapsed)) .journey-panel,
 body[data-view=planner][data-picking=true] .journey-panel{left:12px;right:calc(50% + 6px);top:14px;max-height:calc(100% - 93px - env(safe-area-inset-bottom));border-radius:16px}
 body[data-view=planner]:not([data-picking=true]):has(#trip-sheet:not(.sheet-collapsed)) #trip-sheet:not(.sheet-collapsed){left:calc(50% + 6px);right:12px;top:14px;bottom:calc(79px + env(safe-area-inset-bottom));max-height:none!important;border-radius:16px;transition:none}
 body[data-route-ready=true][data-view=planner]:not([data-picking=true]):has(#trip-sheet.sheet-collapsed) .journey-panel{display:none}
 body:has(#trip-sheet.sheet-collapsed) .map-category-bar{top:14px;bottom:auto;left:12px;right:auto;gap:6px;max-width:calc(100% - 182px)}
 body:has(#trip-sheet.sheet-collapsed) .map-category-bar button{width:44px;height:44px;min-height:44px;padding:0;justify-content:center;flex-shrink:0}
 body:has(#trip-sheet.sheet-collapsed) .map-category-bar [data-i18n]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 body:has(#trip-sheet.sheet-collapsed) .route-map__controls{top:14px;bottom:auto;right:12px;flex-direction:row;gap:6px}
 body:has(#trip-sheet.sheet-collapsed) .route-map__controls [data-map=out]{display:grid}
 body:has(#trip-sheet.sheet-collapsed) .map-locate{top:70px;bottom:auto;right:12px;width:44px;height:44px}
}

.pin-actions .chip{min-width:44px;min-height:44px}

/* Short portrait uses the same explicit editing/map switch as compact landscape. */
@media(max-width:599px) and (max-height:700px){
 .sheet-handle{min-height:44px}
 body[data-route-ready=true][data-view=planner]:not([data-picking=true]) #trip-sheet:not(.sheet-collapsed){max-height:max(55px,min(72dvh,calc(100% - var(--map-search-bottom,253px) - 12px - var(--app-nav-height,calc(65px + env(safe-area-inset-bottom))))))!important}
 body[data-route-ready=true][data-view=planner]:has(#trip-sheet:not(.sheet-collapsed)) :is(.route-map__controls,.map-locate){display:none}
 body[data-route-ready=true][data-view=planner]:not([data-picking=true]):has(#trip-sheet.sheet-collapsed) :is(.journey-panel,.map-milo){display:none}
 body[data-route-ready=true][data-view=planner]:not([data-picking=true]):has(#trip-sheet.sheet-collapsed) .route-map__controls{top:14px;bottom:auto}
 body[data-route-ready=true][data-view=planner]:not([data-picking=true]):has(#trip-sheet.sheet-collapsed) .map-locate{top:116px;bottom:auto}
}

.header-actions .round-button{min-width:44px;min-height:44px}

/* Waiting updates never cover an open trip or force it to reload. */
.app-update-ready{position:absolute;top:100%;left:0;width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--green-soft);color:var(--green);font-size:12px;font-weight:700;z-index:20}.app-update-ready .icon{width:18px;height:18px}.app-update-ready:hover{background:#e1ebdb}body[data-app-update=ready] .site-header{margin-bottom:44px}body[data-app-update=ready] .workspace{height:calc(100dvh - var(--app-header-height,68px) - 44px)}
@media(max-width:800px){body[data-app-update=ready] .workspace{height:calc(100dvh - var(--app-header-height,58px) - 44px)}}

/* Touch devices keep readable field text when rotation crosses the desktop breakpoint. */
@media(pointer:coarse){.address-line input,.preference-body input,.preference-body select{font-size:16px}.address-line input{min-height:44px}.lookup-button{width:44px;height:44px;min-width:44px;min-height:44px}}

/* Leave room for Safari toolbar and keyboard when a touch phone rotates. */
@media(pointer:coarse) and (min-width:801px) and (max-height:430px){.journey-sidebar{top:4px}}

@media(pointer:coarse) and (min-width:801px) and (max-height:430px){
 body:has(.journey-sidebar input:is([type=search],[type=text],[type=number]):focus) .site-header{display:none}
 body:has(.journey-sidebar input:is([type=search],[type=text],[type=number]):focus) .workspace{height:100dvh}
 body:has(.journey-sidebar input:is([type=search],[type=text],[type=number]):focus) .bottom-nav{display:none}
 body:has(.journey-sidebar input:is([type=search],[type=text],[type=number]):focus) .journey-sidebar{bottom:4px}
}
.location-match .location-match-name{display:block;font-size:14px;font-weight:600;line-height:1.4}
.location-match small.location-match-context{font-size:12px;line-height:1.4;margin-top:3px}
.location-match-source{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 4px;font-size:10px;color:var(--muted);overflow-wrap:anywhere;text-decoration:none}
.location-match-source span{flex:1;min-width:0}
.location-match-source .icon{width:14px;height:14px}
.location-match-source:focus-visible{outline:2px solid var(--green);outline-offset:-2px;border-radius:6px}
.point-confirmed:has(.location-history-cue){display:flex!important;align-items:center;justify-content:space-between;gap:6px;margin:0 0 4px;min-height:44px;color:var(--muted)}
.location-history-cue{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.location-history-cue>.icon{width:16px;height:16px;flex:none;color:var(--amber,#956019)}
.location-history-correct{display:flex;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;flex:none;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--green);font-size:12px}
.location-history-correct>.icon{width:16px;height:16px}
.location-history-correct:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.location-history-measure{white-space:nowrap}

/* Native text grows action labels, while the decorative brand retains its logo
   proportions. Natural shell heights are measured by the existing map observer. */
.site-header{height:auto;min-height:68px}
.wordmark{-webkit-text-size-adjust:100%;text-size-adjust:100%;min-height:44px;flex-shrink:0}
.language-button{min-width:44px;flex-shrink:0}
.bottom-nav .nav-button{min-width:0;white-space:normal;overflow-wrap:anywhere}
@media(max-width:800px){
 .site-header{min-height:58px;flex-wrap:wrap;padding-top:5px;padding-bottom:5px}
 .header-actions{flex-shrink:0;max-width:100%;flex-wrap:wrap}
 .language-button{height:auto}
 .bottom-nav{height:auto}
 #trip-sheet{scroll-padding-top:calc(var(--app-sheet-handle-height,44px) + 10px)}
 body[data-route-ready=true][data-view=planner]:has(#trip-sheet:not(.sheet-collapsed)) .route-map__attribution{white-space:normal;overflow-wrap:anywhere}
}

/* At large text, one scroll surface gives every label and action room to grow.
   The familiar overlay layout remains at ordinary sizes. The map stays a real
   map at the top; no input, preferences, or navigation action is hidden. */
@media(max-width:800px){
 html[data-large-text=true] .workspace{overflow-y:auto;scroll-padding-top:12px;scroll-padding-bottom:calc(var(--app-nav-height,65px) + 12px)}
 html[data-large-text=true] .map-stage{position:relative;inset:auto;height:var(--large-map-height,300px);overflow:hidden}
 html[data-large-text=true] .journey-sidebar{display:flex;position:static;inset:auto;width:auto;margin:12px;overflow:visible;padding:0 0 calc(var(--app-nav-height,65px) + 12px);gap:12px}
 html[data-large-text=true] #workspace .journey-panel{position:relative;inset:auto;width:auto;max-height:none!important;overflow:visible;flex-shrink:0}
 html[data-large-text=true] #workspace #trip-sheet{position:relative;inset:auto;max-height:none!important;overflow:visible;border-radius:20px;transition:none;flex-shrink:0}
 html[data-large-text=true] #workspace #sheet-toggle{position:relative;top:0;min-height:44px;overflow-wrap:anywhere}
 html[data-large-text=true] .bottom-nav{position:fixed;bottom:0;left:0;width:100%}
 html[data-large-text=true] body[data-planning-mode][data-view] #workspace .map-stage :is(.route-map__controls,.map-locate){top:14px;bottom:auto;right:12px}
 html[data-large-text=true] body[data-planning-mode][data-view] #workspace .map-stage .map-locate{top:126px}
 html[data-large-text=true] body[data-planning-mode][data-view] #workspace .map-stage .route-map__status{top:14px;bottom:auto;left:12px;right:65px;max-width:none}
 html[data-large-text=true] body[data-planning-mode][data-view] #workspace .map-stage .route-map__attribution{top:auto;bottom:8px;left:12px;right:65px;max-width:none;white-space:normal;overflow-wrap:anywhere}
 html[data-large-text=true] body[data-planning-mode][data-view] #workspace .map-stage .map-category-bar{top:auto;bottom:calc(var(--map-attribution-height,44px) + 16px);left:12px;right:65px;max-width:none}
 html[data-large-text=true] .map-milo{display:none!important}
 html[data-large-text=true] .pin-actions{flex-wrap:wrap}
 html[data-large-text=true] .trip-preferences>summary{flex-wrap:wrap}
 html[data-large-text=true] .results-header{flex-wrap:wrap}
 html[data-large-text=true] .results-header .secondary-button{white-space:normal;min-height:44px}
 html[data-large-text=true] .notifications-panel{top:calc(var(--app-header-height,58px) + 8px);max-height:calc(100dvh - var(--app-header-height,58px) - 20px)}
}
@media(pointer:coarse) and (max-width:800px) and (max-height:430px){
 html[data-large-text=true] body:has(.journey-panel input:is([type=search],[type=text],[type=number]):focus) :is(.site-header,.bottom-nav){display:none}
 html[data-large-text=true] body:has(.journey-panel input:is([type=search],[type=text],[type=number]):focus) .workspace{height:100dvh}
}

@media(max-width:800px){.toast{bottom:calc(var(--app-nav-height,65px) + 10px)}}

/* An off-screen offset must grow with the skip link itself. */
.skip-link:not(:focus){top:0;transform:translateY(-100%)}

@media(max-width:800px){
 html[data-large-text=true] .wordmark{font-size:0;gap:0;width:44px;justify-content:center}
 html[data-large-text=true] .bottom-nav .nav-button{line-height:1.2}
 html[data-large-text=true] .round-button>[data-icon]{display:grid;place-items:center;line-height:0}
 html[data-large-text=true] .route-map__controls button{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 html[data-large-text=true] .route-map__viewport{touch-action:pan-y}
}

/* A scalable unread count sits beside its icon rather than covering it. */
@media(max-width:800px){
 html[data-large-text=true] .header-actions .notification-toggle{display:flex;align-items:center;justify-content:center;gap:4px;width:auto;height:auto;min-width:44px;min-height:44px;padding:4px}
 html[data-large-text=true] .notification-toggle>span:last-child:not([data-icon]){position:static;flex-shrink:0;height:auto;min-height:17px;line-height:1.5}
}

/* Persistence feedback belongs inside the modal top layer, above its blurred backdrop. */
#save-status{display:flex;align-items:flex-start;gap:8px;margin-top:12px;font-size:.875rem;line-height:1.5;color:var(--ink)}
#save-status [data-icon]{flex:0 0 18px}#save-status .icon{width:18px;height:18px;color:var(--orange)}#save-status [data-i18n]{min-width:0}

/* Captured road credits stay separate from the base-map credit and clear of phone overlays. */
[data-map-route-credit]:not([hidden]){display:block}
@media(max-width:800px){
 body[data-route-ready=true][data-view=planner]:not([data-driving=true]):has(#trip-sheet.sheet-collapsed) .route-map__attribution,
 body[data-route-ready=true][data-view=planner]:not([data-driving=true]):has(#trip-sheet:not(.sheet-collapsed)) .route-map__attribution{top:calc(var(--map-search-bottom,253px) + 4px);bottom:auto;left:12px;right:70px;max-width:none;font-size:10px;white-space:normal;overflow-wrap:anywhere}
 body[data-driving=true][data-view=planner] .map-stage #road-map.route-map .route-map__attribution{top:var(--map-driving-credit-top,210px);bottom:auto;left:12px;right:70px;max-width:none;font-size:10px;white-space:normal;overflow-wrap:anywhere}
}
