/* The action area never belongs to the scrolling input area. Grouped steps fit
   ordinary phones; overflow remains available for enlarged text and zoom. */
:root{--app-height:100dvh}
/* The browser owns input panning in both booking forms. */
#main-card,#economy-card{top:0!important;height:calc(var(--app-height) - var(--journey-nav) - env(safe-area-inset-bottom))!important;bottom:auto!important}
#main-card .panel-left,#economy-card .panel-left{display:flex!important;flex-direction:column;padding:16px 18px 10px!important;overflow:hidden!important}
#airport-hero-map,#city-hero-map{flex-basis:18dvh!important;height:18dvh!important;min-height:84px!important;max-height:150px!important}
.journey-header{flex:none;margin-bottom:10px;gap:10px}
.journey-header h2{font-size:17px;letter-spacing:-.2px}
.journey-eyebrow{font-size:11px;margin-bottom:3px}
.journey-air-header{flex:none;margin-bottom:10px}
.journey-air-header .journey-header{margin-bottom:8px}
.journey-air-map-header{top:20px}
.flow-map-open{margin-left:auto;border:1px solid #dee1de;border-radius:12px;background:#fff;min-height:44px;padding:10px 12px;font-size:13px;color:#111;cursor:pointer}
.flow-map-close{display:none;position:absolute;z-index:8;top:18px;left:18px;right:18px;min-height:48px;border:1px solid #dde1de;border-radius:14px;background:#fff;color:#111;font-size:15px;font-weight:650;box-shadow:0 3px 20px #0002;cursor:pointer}
#main-card.flow-map-view #airport-hero-map,#economy-card.flow-map-view #city-hero-map{display:block!important;flex:1!important;height:100%!important;min-height:0!important;max-height:none!important}
#main-card.flow-map-view .panel-left,#economy-card.flow-map-view .panel-left,.flow-map-view .journey-air-map-header{display:none!important}
.flow-map-view .flow-map-close{display:block}
.flow-map-view .work-google-map{bottom:0!important;height:100%!important}
.flow-stage{flex:1;min-height:0;flex-direction:column;overflow:hidden}
#main-card .flow-stage.active,#eco-input-section.flow-stage,#work-city-confirm.flow-stage{display:flex!important}
#eco-input-section.flow-stage[style*="display: none"]{display:none!important}
.flow-heading{flex:none;display:flex;align-items:baseline;gap:12px;margin:4px 0 14px}
.flow-heading h3{font-size:23px;line-height:1.2;letter-spacing:-.6px;margin:0;flex:1;color:#111;font-weight:750;outline:none}
.flow-counter{font-size:12px;color:#667080;white-space:nowrap;font-variant-numeric:tabular-nums}
.flow-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding:10px;padding:2px 2px 6px}
.flow-shell{display:contents!important}
.flow-shell.flow-empty,.flow-unit.flow-hidden,.flow-stage [hidden]{display:none!important}
.flow-unit{min-width:0}
.flow-body .journey-options>summary{display:block;list-style:none;border:1px solid #dee1de;border-radius:12px;background:#f7f8f7;margin:8px 0!important;padding:14px!important;cursor:pointer}
.flow-body summary::after{content:' ›';float:right;font-size:18px}
.flow-body summary::-webkit-details-marker{display:none}
.flow-footer{flex:none;display:flex;align-items:center;gap:10px;background:#fff;padding-top:8px;border-top:1px solid #eef0ef;z-index:3}
#main-card .flow-footer .btn-3d,#economy-card .flow-footer .btn-3d{flex:1;width:auto;margin:0!important;min-height:50px!important;padding:12px!important}
.flow-previous{flex:none;border:1px solid #dde1de;border-radius:12px;background:#fff;color:#111;font-size:14px;min-width:76px;min-height:50px;padding:10px;cursor:pointer}
.flow-footer .flow-done{background:#fff!important;color:#111!important;border:1px solid #dde1de!important;font-size:14px!important}
.flow-error{flex:none;font-size:13px;line-height:1.4;color:#b42318;margin:6px 0}
.flow-option-menu{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.flow-link{border:1px solid #dee1de;background:#f7f8f7;color:#111;min-height:52px;border-radius:12px;padding:10px;font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer}
.flow-body .work-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.flow-body label:has(>input),.flow-body label:has(>select){display:block;font-size:14px;line-height:1.4;color:#48584b;font-weight:600;margin:0 0 14px!important}
.flow-body input:not([type=checkbox]):not([type=hidden]),.flow-body select{width:100%;min-height:50px;padding:12px;border:1px solid #dee1de;border-radius:12px;background:#f6f7f6;color:#111;font:inherit;font-size:16px;box-sizing:border-box}
.flow-body label input,.flow-body label select{margin-top:6px}
.flow-body .switch input{margin:0!important}
.flow-body .input-group>label{margin-bottom:5px!important}
.flow-body #work-add-city-stop{display:block;min-height:44px}
.flow-body #lbl-adr{gap:4px}
#main-card .flow-body #v-adr-pax{flex-basis:64px}
.flow-body #lbl-adr>div{margin-left:auto}
.flow-body #lbl-adr span{font-size:12px!important}
.flow-body .work-suggestions{max-height:none!important;box-shadow:none;margin-bottom:4px}
.flow-body .input-group:has(.work-suggestions:not([hidden])){display:flex;flex-direction:column;min-height:0;max-height:100%;margin-bottom:0!important}
.flow-body .input-group:has(.work-suggestions:not([hidden]))>.work-suggestions{min-height:0;flex:1;overflow:auto!important}
.flow-body .input-group:has(.work-suggestions:not([hidden]))>div.work-location-status{flex:none}
.flow-body .input-group:has(.work-suggestions:not([hidden]))>input,.flow-body .input-group:has(.work-suggestions:not([hidden]))>label,.flow-body .input-group:has(.work-suggestions:not([hidden]))>div:not(.work-suggestions){flex:none}
.flow-body .work-suggestions button[role=option]{min-height:52px;padding:10px 12px}
.flow-body .work-location-status{font-size:12px;line-height:1.35}
.flow-body #air-list,.flow-body #payment-list{max-height:calc(var(--app-height) - 320px);min-height:60px;overflow:auto}
.flow-body #air-list button{min-height:44px}
#work-transfer-price{flex:none;display:flex;align-items:center;gap:12px;padding:0 0 8px;margin:0 0 8px}
#work-transfer-price .work-price{font-size:24px;white-space:nowrap}
#work-transfer-price p{font-size:12px;line-height:1.4;margin:0}
.flow-typing #airport-hero-map,.flow-typing #city-hero-map,.flow-typing .journey-air-map-header{display:none!important}
.flow-typing #main-card .panel-left,.flow-typing #economy-card .panel-left{margin:0!important;border-radius:0}
/* Related transfer fields stay rendered when a native language picker briefly
   takes input focus. The scrolling body keeps the whole page reachable. */
.flow-keyboard #work-transfer-price{display:none}
.flow-keyboard #bottom-nav-wrapper{display:none!important}
.flow-keyboard #main-card,.flow-keyboard #economy-card{height:var(--app-height)!important}
.flow-keyboard .journey-air-header,.flow-keyboard #economy-card>.panel-left>.journey-header{display:none}
.flow-keyboard .flow-heading{margin:0 0 8px}
.flow-keyboard .flow-heading h3{font-size:18px}
.flow-keyboard #main-card .panel-left,.flow-keyboard #economy-card .panel-left{padding:10px 14px!important}
/* Review information can be long; its controls stay in a separate fixed area. */
#eco-tariff-section,#eco-review-section,#step-4{min-height:0;overflow-y:auto;overscroll-behavior:contain}
#step-4 .journey-actions{position:sticky;bottom:0;background:#fff;padding:8px 0;margin-top:0!important}
#step-4 .journey-actions .btn-3d{margin:0!important}
#work-city-order{position:sticky;bottom:0;background:#fff;padding-bottom:4px}
#work-city-order .btn-3d{margin-top:6px!important}
#eco-review-section:has(.flow-stage){display:flex!important;flex:1;overflow:hidden}
#eco-review-section[style*="display: none"]{display:none!important}
#work-city-order.flow-shell{position:static;padding:0}
.flow-review-row{margin:0 0 18px;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.flow-review-row dt,.flow-review-row>span{display:block;font-size:12px;color:#5f7463;margin:0 0 4px}
.flow-review-row dd{margin:0}.flow-review-row>strong{font-weight:600}
.flow-body .journey-review-total{margin:8px 0 22px;padding:12px 0;border-top:0}
.flow-body #c-verify{flex:none;width:20px;height:20px}
.flow-body label:has(#c-verify){display:flex!important;gap:10px;font-size:15px!important;line-height:1.5;padding:14px!important}
@media(max-height:700px){#main-card:not(.flow-map-view):has(.flow-stage.active) #airport-hero-map,#economy-card:not(.flow-map-view):has(#eco-input-section:not([style*="display: none"])) #city-hero-map{display:none!important}#main-card:not(.flow-map-view):has(.flow-stage.active) .panel-left,#economy-card:not(.flow-map-view):has(#eco-input-section:not([style*="display: none"])) .panel-left{margin:0!important;border-radius:0}.journey-air-map-header{display:none}}
@media(max-width:360px){.flow-heading h3{font-size:21px}.flow-footer{gap:6px}.flow-previous{min-width:64px}.flow-option-menu{gap:6px}}
@media(prefers-reduced-motion:no-preference){.flow-heading{animation:flow-appear .16s ease-out}@keyframes flow-appear{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}}

/* Geography remains a tap away while timing, extras and contact use the space. */
#main-card:not(.flow-map-view):has(:where(#step-time.active,#step-2.active,#step-3.active,#step-4.active,.flow-branch-open)) #airport-hero-map,#economy-card:not(.flow-map-view):has(.flow-branch-open) #city-hero-map{display:none!important}
#main-card:has(:where(#step-time.active,#step-2.active,#step-3.active,#step-4.active,.flow-branch-open)) .panel-left,#economy-card:has(.flow-branch-open) .panel-left{margin:0!important;border-radius:0}
#main-card:has(:where(#step-time.active,#step-2.active,#step-3.active,#step-4.active,.flow-branch-open)) .journey-air-map-header{display:none}
@media(max-height:700px){#main-card:not(.flow-map-view):has(.flow-stage.active) .panel-left,#economy-card:not(.flow-map-view):has(#eco-input-section:not([style*="display: none"])) .panel-left{padding-top:28px!important}}
.flow-keyboard .work-mode{display:none}
.flow-keyboard #airport-hero-map,.flow-keyboard #city-hero-map,.flow-keyboard .journey-air-map-header{display:none!important}
.flow-keyboard #main-card:not(.flow-map-view):has(.flow-stage.active) .panel-left,.flow-keyboard #economy-card:not(.flow-map-view):has(#eco-input-section) .panel-left{padding:10px 14px!important;margin:0!important;border-radius:0}

/* Airport forms use the available width for related fields. */
#main-card .flow-heading{margin-bottom:12px}
#main-card .flow-body .input-group{margin-bottom:10px!important}
#main-card .flow-body .elegant-container{gap:10px;margin-bottom:6px!important;align-items:start}
#main-card .flow-body .flow-counts{grid-template-columns:repeat(3,minmax(0,1fr))}
#main-card .flow-body .switch-box-3d{padding:10px 0!important;margin-bottom:8px!important}
#main-card .flow-body .input-group>label{font-size:13px!important}
#main-card .flow-body .input-field-3d{height:48px!important;min-height:48px;padding:10px 12px!important}
#main-card .flow-body #air-selector,#main-card .flow-body #payment-selector{min-height:48px;padding:12px}
#step-1 .flow-body{display:flex;flex-direction:column}
#step-1 .flow-body>.flow-unit,#step-1 #location-area>.flow-unit{flex-shrink:0}
#main-card .flow-body .flow-contact-fields:has(#b-anrede),#main-card .flow-body #pax-fields{grid-template-columns:minmax(90px,1fr) minmax(0,2fr)}
#main-card #pax-fields .input-group:has(#b-pax-tel){grid-column:1 / -1!important}
/* Each transfer keeps its own readable heading and responsive date/time grid. */
#main-card #step-time .flow-heading{display:none}
#main-card #step-time .flow-body{display:flex;flex-direction:column;gap:14px;padding:4px 2px 12px;scroll-padding:12px}
#main-card #step-time .transfer-time-card{flex:none;box-sizing:border-box;width:100%;min-width:0;padding:16px 14px;border:1px solid #d6dbd7;border-radius:16px;background:#f7f8f7;box-shadow:0 2px 8px #313c3306}
#main-card #step-time .transfer-time-inbound{border-color:#c2dece;background:#f3faf6}
#main-card #step-time .transfer-time-title{box-sizing:border-box;width:auto;max-width:100%;height:auto;min-height:0;margin:0 0 14px;padding:0 0 10px;border:0;border-bottom:1px solid #dfe2df;color:#3f4d41;font-size:15px;font-weight:750;line-height:1.5;letter-spacing:0;text-transform:none;white-space:normal;overflow:visible;overflow-wrap:anywhere}
#main-card #step-time .transfer-time-inbound .transfer-time-title{border-bottom-color:#d3e7db;color:#256345}
#main-card #step-time .transfer-time-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:0!important;align-items:stretch}
#main-card #step-time .transfer-time-grid .input-group{display:flex;flex-direction:column;min-width:0;margin:0!important}
#main-card #step-time .transfer-date{grid-column:1 / -1!important}
#main-card #step-time .input-group>label{flex:none;box-sizing:border-box;width:auto;max-width:100%;height:auto;min-height:1.5em;margin:0 0 7px;padding:0;color:#465649!important;font-size:13px!important;font-weight:600;line-height:1.5!important;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
#main-card #step-time .input-field-3d{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:50px!important;min-height:50px;margin-top:auto;padding:11px 12px!important;border-color:#dadeda!important;background:#fff!important;font-size:16px!important;line-height:1.4}
#main-card #step-time .input-field-3d[aria-invalid=true]{border-color:#b91c1c!important}
#main-card #step-time .input-field-3d:focus{outline:2px solid #b89609;outline-offset:2px}
@media(min-width:620px){#main-card #step-time .transfer-time-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#main-card #step-time .transfer-date{grid-column:auto!important}}
@media(max-width:359px){#main-card #step-time .transfer-time-grid{grid-template-columns:minmax(0,1fr)}#main-card #step-time .transfer-time-card{padding:14px 12px}}
#main-card #step-3 .flow-body label:has(#c-agb),#main-card #step-3 .flow-body label:has(#c-data){display:flex;font-size:13px!important;line-height:1.4!important;margin:0 0 6px!important;padding:4px 0}
#main-card #step-3 .flow-body .journey-options>summary{padding:12px!important;min-height:44px;margin:4px 0 10px!important}
#main-card .flow-review-row{margin-bottom:12px;font-size:14px;line-height:1.4}
#main-card .flow-review-row dt{margin:0 0 3px}
#main-card .flow-body .journey-review-total{margin:4px 0 10px;padding:8px 0}
#main-card .flow-body label:has(#c-verify){font-size:14px!important;padding:10px!important;line-height:1.4}
@media(min-width:520px){#main-card #kind-container,#main-card #sonder-container{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-height:820px){#main-card:not(.flow-map-view):has(#step-1.active) #airport-hero-map{display:none!important}#main-card:has(#step-1.active) .panel-left{margin:0!important;border-radius:0}#main-card:has(#step-1.active) .journey-air-map-header{display:none}}
/* While a list is open, give its options the form area without moving the action. */
#main-card .flow-body:has(#air-list[style*="display: block"]) .flow-unit:not(:has(#air-list)),#main-card .flow-body:has(#payment-list[style*="display: block"]) .flow-unit:not(:has(#payment-list)){display:none!important}
#main-card .flow-body #air-list,#main-card .flow-body #payment-list{max-height:calc(var(--app-height) - 380px)}
#main-card .flow-body:has(.work-suggestions:not([hidden])) .flow-unit:not(:has(.work-suggestions:not([hidden]))){display:none!important}
.flow-keyboard #main-card .flow-body .elegant-container{grid-template-columns:1fr!important}
/* One traveler screen; optional equipment is edited without navigating away. */
#main-card .flow-body .transfer-extras-card{display:flex;align-items:center;gap:10px;padding:12px!important;margin:10px 0!important;border:1px solid #dce0dc;border-radius:16px;background:#f7f8f7;box-shadow:none}
#main-card .flow-body .transfer-extras-card.has-extras{background:#edf8f1;border-color:#b4dcc4}
.transfer-extras-edit{display:flex;flex:1;align-items:center;gap:12px;min-width:0;min-height:58px;padding:0;border:0;background:none;color:#303b32;font:inherit;text-align:left;cursor:pointer}
.transfer-extras-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:#e8eae8;color:#48584b}
.transfer-extras-icon svg{width:25px;height:25px}
.has-extras .transfer-extras-icon{background:#d4eddf;color:#166534}
.transfer-extras-copy{display:grid;gap:5px;min-width:0}
.transfer-extras-copy strong{font-size:15px;line-height:1.3}
.transfer-extras-summary{font-size:12px;line-height:1.5;color:#546657;overflow-wrap:anywhere}
.transfer-extras-state{font-size:12px;font-weight:700;color:#627866}
.has-extras .transfer-extras-state{color:#166534}
#main-card .transfer-extras-card .switch{flex:none;height:44px;margin:0!important}
#main-card .transfer-extras-card .slider{top:8px;bottom:8px;background:#627866!important;box-shadow:none}
#main-card .transfer-extras-card input:checked+.slider{background:#15803d!important}
#main-card .transfer-extras-card input:focus-visible+.slider{outline:3px solid #48584b;outline-offset:3px}
.transfer-extras-dialog{box-sizing:border-box;width:calc(100% - 24px);max-width:500px;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #e1e5e2;border-radius:24px;background:#fff;color:#242c25;box-shadow:0 24px 80px #1d231e40;overflow:hidden}
.transfer-extras-dialog[open]{display:flex;flex-direction:column}
.transfer-extras-dialog::backdrop{background:#181e19aa;backdrop-filter:blur(3px)}
.transfer-extras-header{flex:none;display:flex;align-items:center;gap:14px;padding:20px 20px 10px;background:#f7f8f7}
.transfer-extras-header>div{flex:1;min-width:0}
.transfer-extras-header p{font-size:12px;line-height:1.4;margin:0 0 4px;color:#576a5a}
.transfer-extras-header h2{font-size:23px;line-height:1.25;margin:0;font-weight:750;letter-spacing:-.4px;overflow-wrap:anywhere}
.transfer-extras-close{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #dfe3e0;border-radius:50%;background:white;color:#3f4d41;font-size:28px;cursor:pointer}
#transfer-extras-hint{flex:none;margin:0;padding:0 20px 16px;background:#f7f8f7;font-size:13px;line-height:1.5;color:#576a5a}
.transfer-extras-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 20px}
.transfer-extra-counter{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #eef0ef;min-height:44px}
.transfer-extra-counter:last-child{border:0}
.transfer-extra-counter>span{font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.transfer-counter-controls{display:flex;align-items:center;gap:4px;flex:none}
.transfer-counter-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #dbdfdc;border-radius:12px;background:#f5f6f5;color:#3f4d41;font-size:24px;font-weight:600;cursor:pointer}
.transfer-counter-controls output{display:block;min-width:26px;text-align:center;font-size:17px;font-weight:750;font-variant-numeric:tabular-nums}
.transfer-extras-footer{flex:none;display:flex;gap:10px;padding:14px 20px max(16px,env(safe-area-inset-bottom));border-top:1px solid #e9ecea;background:#fff}
.transfer-extras-footer button{flex:1;min-height:48px;min-width:0;font-size:14px}
.transfer-extras-footer .primary{background:#333e35}
/* A high-contrast total remains visible through the contact and review pages. */
#main-card .transfer-price-card,#main-card #work-transfer-price{box-sizing:border-box;display:block;flex:none;margin:0 0 12px;padding:14px 16px;border:1px solid #3f4d41;border-radius:16px;background:#2b342d;color:#fff;box-shadow:0 3px 12px #2229231a}
.transfer-price-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:4px}
.transfer-price-label{font-size:13px;font-weight:650;color:#e7eae7}
.transfer-price-badge{padding:4px 8px;border-radius:8px;background:#e8c65a;color:#2e301b;font-size:11px;line-height:1.35;font-weight:750}
#main-card .transfer-price-card .work-price,#main-card #work-transfer-price .work-price{display:block;font-size:32px;font-weight:800;line-height:1.2;letter-spacing:-.8px;font-variant-numeric:tabular-nums;color:#fff;white-space:normal;overflow-wrap:anywhere}
#main-card .transfer-price-card p,#main-card #work-transfer-price p{margin:6px 0 0;font-size:12px;line-height:1.45;color:#e3e6e4}
#main-card #step-4 .transfer-price-card{position:sticky;top:0;z-index:2;margin-bottom:16px}
.flow-keyboard #main-card #work-transfer-price{display:none}
@media(max-width:360px){.transfer-extras-header{padding:16px 14px 10px}#transfer-extras-hint{padding-left:14px;padding-right:14px}.transfer-extras-options{padding:2px 14px}.transfer-extras-footer{padding-left:14px;padding-right:14px}.transfer-extras-icon{display:none}.transfer-extras-dialog{width:calc(100% - 16px)}.transfer-counter-controls{gap:0}}
.transfer-phone{display:grid;grid-template-columns:92px minmax(0,1fr);gap:6px}
#main-card .transfer-phone select{font-size:13px!important;padding:8px 4px!important}
#main-card .flow-contact-fields:has(#b-tel){grid-template-columns:1fr!important}
#main-card .flow-contact-fields:has(#b-tel) .input-group{margin-bottom:6px!important}
#main-card #step-3 .flow-body a{color:inherit;text-underline-offset:2px}
#main-card .flow-body #sonder-container{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:520px){#main-card .flow-contact-fields:has(#b-tel){grid-template-columns:1fr 1fr!important}#main-card .flow-body #sonder-container{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* City: a destination sheet, vehicle/payment choice, then one confirmation. */
#economy-card .flow-heading{display:none}
#economy-card .journey-header{margin-bottom:14px}
#economy-card .journey-header h2{font-size:23px;line-height:1.2}
#economy-card .flow-body>.input-group{margin-bottom:12px!important}
#economy-card .journey-header>div{flex:1;min-width:0}
#economy-card .journey-header h2{font-size:clamp(21px,5.7vw,26px);letter-spacing:-.7px}
#economy-card .journey-eyebrow{font-size:11px;font-weight:600;color:#697078}
#economy-card .journey-back{width:40px;height:40px;flex-basis:40px;border-radius:50%;background:#f3f4f5}
#economy-card .flow-map-open{flex:none;min-height:40px;border-radius:20px;padding:8px 13px;font-size:13px;font-weight:600}
/* One route card, in driving order. Its inputs never move on keyboard focus. */
#city-route-fields{padding:14px 12px 0;border:1px solid #e5e7e9;border-radius:18px;background:#f7f8f7;margin:0 0 12px;min-width:0}
#economy-card #city-route-fields .city-route-row{position:relative;display:block;padding-left:26px;margin:0 0 24px!important;min-width:0}
#economy-card #city-route-fields .city-route-destination{margin-bottom:8px!important}
#economy-card #city-route-fields .city-route-row>label{font-size:12px!important;line-height:16px;margin:0 0 6px!important;color:#525a63!important;font-weight:600}
#economy-card #city-route-fields .input-field-3d{height:48px!important;min-height:48px!important;padding:11px 12px!important;border:1px solid #e1e5e2!important;background:#fff!important;border-radius:10px!important;font-size:16px!important;font-weight:500!important;line-height:24px}
#economy-card #city-route-fields #v-eco-adr{padding-right:48px!important}
#economy-card #city-route-fields .input-field-3d::placeholder{color:#747b83;font-weight:400}
#economy-card #city-route-fields .input-field-3d:focus{outline:2px solid #1b1b1b;outline-offset:1px;border-color:transparent!important}
.city-route-marker{position:absolute;left:4px;top:42px;display:block;width:10px;height:10px;background:#141414;pointer-events:none}
.city-route-marker-origin{border-radius:50%;box-shadow:0 0 0 4px #e3e6e8}
.city-route-marker-destination{border-radius:2px}
.city-route-marker-stop{left:0;top:38px;width:18px;height:18px;background:#fff;border:1.5px solid #343a40;border-radius:50%;color:#343a40;text-align:center;font-size:10px;font-weight:700;line-height:15px}
.city-route-arrow{position:absolute;left:1px;top:-23px;color:#8b939b;width:16px;height:20px;pointer-events:none}
.city-route-arrow svg{display:block;width:16px;height:20px}
#work-city-stops:empty{display:none}
#economy-card #city-route-fields .city-stop-row>.input-field-3d{padding-right:46px!important}
.city-stop-remove{position:absolute;top:24px;right:3px;width:42px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:#626b73;padding:10px;border-radius:9px;cursor:pointer}
.city-stop-remove svg{width:18px;height:18px;pointer-events:none}
.city-stop-remove:hover{background:#eef0ef;color:#111}
#economy-card .flow-body #work-add-city-stop{display:flex;align-items:center;gap:9px;width:100%;min-height:48px;padding:10px 1px;margin:0;border:0;border-top:1px solid #e2e5e8;background:transparent;border-radius:0;font-family:inherit;font-size:13px;font-weight:600;line-height:1.35;color:#2e3930;text-align:left;cursor:pointer}
.city-stop-add-icon{display:grid;place-items:center;flex:none;width:20px;height:20px;border:1px solid #d4d9d5;border-radius:50%;font-size:17px;font-weight:400;background:#fff;line-height:1}
.city-stop-add-label{flex:1}
.city-stop-add>svg{width:18px;height:18px;flex:none;pointer-events:none}
#work-add-city-stop:hover .city-stop-add-label{text-decoration:underline;text-underline-offset:3px}
#economy-card #city-route-fields .work-suggestions{max-height:min(260px,40dvh)!important;overflow:auto!important;border:1px solid #e1e5e2;border-radius:10px;margin-top:7px;background:#fff}
#economy-card #city-route-fields .work-suggestions button[role=option]{min-height:52px;padding:10px 12px}
#economy-card .city-ride-options{display:flex;flex-wrap:wrap;gap:10px;align-items:start;margin:10px 0}
#economy-card .city-ride-options label{margin:0!important;display:flex;align-items:center;gap:8px;font-size:13px;min-width:0}
#economy-card .city-ride-options>label{flex:1;display:grid;gap:4px;padding:10px 12px;border:1px solid #e2e5e8;border-radius:12px;background:#fff}
#economy-card .city-ride-options select{width:100%;min-width:0;flex:1;min-height:32px;margin:0;padding:3px 0;border:0;border-radius:5px;background:#fff;font-size:15px;font-weight:600;color:#171a1d;cursor:pointer}
.city-option-heading{display:flex;align-items:center;gap:6px;color:#646d76;font-size:12px;line-height:18px;font-weight:500}
.city-option-heading svg{width:16px;height:16px;flex:none}
#economy-card .city-ride-options>label:focus-within{outline:2px solid #2e3930;outline-offset:1px}
#work-city-reservation{flex:0 0 100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
#work-city-reservation[hidden]{display:none!important}
#economy-card #work-city-reservation label{display:grid;gap:5px;align-items:start}
#economy-card #work-city-reservation input{min-width:0;width:100%;box-sizing:border-box;margin:0;padding:10px;min-height:44px;font-size:16px}
#economy-card .city-reservation-time{min-width:0;display:grid;gap:5px;align-content:start;font-size:13px;color:#48584b;font-weight:600}
#economy-card .city-time-fields{display:grid;grid-template-columns:minmax(0,1fr) 8px minmax(0,1fr);align-items:center;gap:3px}
#economy-card .city-time-fields label{position:relative;min-width:0}
#economy-card .city-time-fields input{text-align:center;padding:10px 3px;font-variant-numeric:tabular-nums}
.city-time-separator{text-align:center;font-size:20px;line-height:1}
.city-time-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#economy-card #work-city-reservation input:focus-visible{outline:2px solid #237748;outline-offset:2px}
#work-city-reservation-help{grid-column:1 / -1;margin:0;font-size:12px;line-height:1.4;color:#445447}
#eco-tariff-section{flex:1;display:flex!important;flex-direction:column;overflow:hidden!important}
#eco-tariff-section[style*="display: none"]{display:none!important}
#eco-tariff-section #eco-route-summary{flex:none;padding:4px 0 8px!important;margin-bottom:10px!important;font-size:12px!important}
#eco-tariff-section .journey-destination{font-size:14px!important;line-height:1.35}
#tariff-list-container{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
#tariff-list-container .eco-tariff-option{padding:13px 10px;gap:8px;margin-bottom:8px}
#tariff-list-container .eco-tariff-option[aria-pressed=true]{border:2px solid #111;padding:12px 9px;background:#f4f5f6}
#tariff-list-container .eco-tariff-name{font-size:17px!important}
#tariff-list-container .eco-tariff-desc{font-size:12px!important}
.city-choice-checkout{flex:none;padding-top:8px;background:#fff;border-top:1px solid #eaecea}
.city-payment-button{display:block;width:100%;min-height:46px;border:1px solid #e2e5e8;cursor:pointer;text-align:left;font-family:inherit;font-size:14px;line-height:1.3;font-weight:600;color:#111}
.city-choice-checkout .city-payment-button{margin:0}
.city-price-info,.city-payment-note{font-size:12px;line-height:1.4;color:#5b6470;margin:8px 0}
#economy-card #city-choice-next{margin:0;min-height:50px}
#work-city-confirm .journey-selected-fare{padding-bottom:10px;margin-bottom:10px;gap:4px}
#work-city-confirm .journey-selected-fare>strong{font-size:18px}
#work-city-confirm .journey-selected-fare .work-price{font-size:25px}
#work-city-confirm .journey-route{margin:0;gap:0}
#work-city-confirm .flow-review-row{margin-bottom:8px;font-size:14px;line-height:1.3}
#work-city-confirm .flow-review-row>span{margin-bottom:2px;font-size:11px}
#work-city-confirm .journey-payment{margin:6px 0;padding:12px}
#work-city-confirm .city-payment-note{margin:3px 0 6px}
#work-city-confirm .check-label{display:flex!important;gap:10px;font-size:13px!important;line-height:1.4!important;padding:8px 0!important;margin:0!important}
/* City route fields and the invoice switch stay in the same scrollable sheet
   while typing or showing suggestions; focus changes never hide its controls. */
@media(max-height:760px){#economy-card:not(.flow-map-view):has(#eco-review-section:not([style*="display: none"])) #city-hero-map{display:none!important}#economy-card:has(#eco-review-section:not([style*="display: none"])) .panel-left{margin:0!important;border-radius:0}}
@media(max-height:620px){#economy-card:not(.flow-map-view) #city-hero-map{display:none!important}#economy-card .panel-left{margin:0!important;border-radius:0}}

/* Compact invoice choice below both route fields, with a full-size tap target. */
.city-billing-question{box-sizing:border-box;width:fit-content;max-width:min(100%,340px);align-self:flex-start;margin:0 auto 8px 0;padding:2px 8px;border:1px solid #e0e5e3;border-radius:10px;background:#f7f9f8}
.city-billing-question:has(#city-billing-choice:checked){border-color:#b9ddc8;background:#f0faf4}
#economy-card .city-billing-toggle{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:44px;margin:0!important;color:#253c30;cursor:pointer;text-transform:none;letter-spacing:normal}
.city-billing-toggle-label{font-size:13px;font-weight:600;line-height:1.35}
.city-billing-switch{order:-1;position:relative;display:grid;justify-items:center;align-content:center;flex:none;width:44px;min-height:44px}
#economy-card #city-billing-choice{position:absolute;inset:0;width:44px!important;height:44px!important;margin:0;padding:0;opacity:0;z-index:1;cursor:pointer}
.city-billing-track{display:block;position:relative;width:32px;height:20px;border-radius:12px;background:#858f89;transition:background .15s}
.city-billing-track:after{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
#city-billing-choice:checked+.city-billing-track{background:#23834b}
#city-billing-choice:checked+.city-billing-track:after{transform:translateX(12px)}
#city-billing-choice:focus-visible+.city-billing-track{outline:2px solid #237748;outline-offset:3px}
#city-billing-choice:disabled+.city-billing-track{opacity:.45}
#city-billing-state{display:none}
#city-billing-choice:checked~#city-billing-state{color:#176b3a}
#city-billing-summary{font-size:12px;color:#526259;line-height:1.35;margin:0 4px 6px;overflow-wrap:anywhere}
/* Retain the accessible description; only exceptions need a second visible row. */
.city-billing-question[data-choice="other"]:has(#city-billing-choice:not(:disabled)) #city-billing-summary{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#city-billing-edit{font-size:13px;text-decoration:underline}
#economy-card .address-selection-status{font-size:13px;color:#445447;line-height:1.4;margin:7px 0}
#economy-card .work-suggestions button[role=option]>strong,#economy-card .work-suggestions button[role=option]>small{pointer-events:none}
#city-billing-summary:empty{display:none}
@media(max-height:820px){#economy-card:not(.flow-map-view):has(#eco-input-section:not([style*="display: none"])) #city-hero-map{display:none!important}#economy-card:has(#eco-input-section:not([style*="display: none"])) .panel-left{margin:0!important;border-radius:0;padding-top:28px!important}}
.wallet-help{font-size:13px;line-height:1.45;color:#5b6470;margin:8px 0 12px}
.city-wallet-options{display:grid;gap:8px;margin:14px 0}
.city-wallet-option{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px;border:1px solid #e0e3e0;border-radius:12px;background:#fff;color:#111;text-align:left;font:inherit;cursor:pointer}
.city-wallet-option>i{width:22px;text-align:center}
.city-wallet-option>span:not(.wallet-radio){flex:1;min-width:0}
.city-wallet-option strong{display:block;font-size:14px;line-height:1.3}
.city-wallet-option small{display:block;font-size:12px;line-height:1.35;color:#616b76;margin-top:3px}
.wallet-radio{width:18px;height:18px;border:1px solid #b4bac0;border-radius:50%;flex:none}
.city-wallet-option[aria-checked=true]{border:2px solid #111;padding:11px;background:#f6f7f6}
.city-wallet-option[aria-checked=true] .wallet-radio{background:#111;border:4px solid #fff;outline:1px solid #111}
#city-payment-dialog{max-height:calc(var(--app-height) - 32px);overflow:auto}
#city-payment-done{position:sticky;bottom:0;margin-top:12px;box-shadow:0 -8px 0 4px #fff}

.city-card-form label{display:block;margin:8px 0;font-size:13px}
.city-card-form label>div{min-height:46px;border:1px solid #e0e3e0;border-radius:10px;margin-top:4px}
.city-card-form iframe{min-height:44px;width:100%}
.city-card-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.city-card-form .check-label{display:flex;gap:8px;line-height:1.4;margin:12px 0}
.city-express-order{flex:1;min-width:0}
.city-express-order apple-pay-button{--apple-pay-button-width:100%;--apple-pay-button-height:50px;--apple-pay-button-border-radius:12px;width:100%;min-height:50px;display:block}
.city-express-order .gpay-card-info-container{min-height:50px}
#city-express-order~[hidden],#city-book-confirm[hidden]{display:none!important}

/* Balanced mobile route view with a compact, equal-width navigation. */
:root{--journey-nav:60px}
#main-bottom-nav{gap:4px;padding:4px 6px calc(4px + env(safe-area-inset-bottom))!important}
#main-bottom-nav .app-nav-item{font-size:10px!important;min-height:44px!important;gap:2px;padding:3px!important}
#main-bottom-nav .app-nav-item i{font-size:17px!important;width:32px;height:23px}
#main-card:not(.flow-map-view) #airport-hero-map,#economy-card:not(.flow-map-view) #city-hero-map{flex:0 0 clamp(180px,32dvh,340px)!important;height:clamp(180px,32dvh,340px)!important;min-height:180px!important;max-height:340px!important}
#economy-card:not(.flow-map-view):has(#eco-input-section:not([style*="display: none"])) #city-hero-map{display:block!important}
#main-card .panel-left,#economy-card .panel-left{padding:12px 14px 8px!important}
#economy-card:not(.flow-map-view):has(#eco-input-section:not([style*="display: none"])) .panel-left{margin:-10px 0 0!important;padding-top:12px!important;border-radius:20px 20px 0 0}
.journey-header{margin-bottom:8px;gap:8px}.journey-header h2{font-size:21px!important}.journey-eyebrow{font-size:10px}
#economy-card .flow-body .input-group{margin-bottom:8px!important}
#economy-card #city-route-fields{padding:10px 12px!important}
#economy-card #city-route-fields .input-field-3d{height:44px!important;min-height:44px!important;padding-top:8px!important;padding-bottom:8px!important;font-size:16px!important}
#economy-card .city-ride-options{gap:8px;margin:6px 0}
#economy-card .city-ride-options>label{padding:7px 10px}
#economy-card .work-message{font-size:12px;padding:8px 10px;margin-bottom:10px}
#airport-hero-map[data-route-status="ready"] .work-map-note:not(.work-map-error),#city-hero-map[data-route-status="ready"] .work-map-note:not(.work-map-error){display:block;top:10px;left:10px;right:auto;max-width:calc(100% - 70px);padding:7px 10px;font-size:12px;font-weight:650}
.flow-map-view .work-map-note{top:78px!important}
.flow-keyboard #economy-card:not(.flow-map-view) #city-hero-map{display:none!important}
