*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#030a13;color:#fff;font-family:Arial,Helvetica,sans-serif}.nav{height:78px;background:#040b13;display:flex;align-items:center;padding:7px 3%;gap:25px;border-bottom:1px solid #20314a;position:sticky;top:0;z-index:20}.brand{width:175px;height:64px;display:block;overflow:hidden}.brand img{width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.18)}nav{display:flex;gap:22px;flex:1;justify-content:center}nav a,.phone{color:#fff;text-decoration:none;font-size:13px}.phone{color:#ff7900;font-weight:900;white-space:nowrap}.hero{position:relative;min-height:760px;padding:55px 4%;overflow:hidden}.hero-bg{position:absolute;inset:0;background-image:url('assets/mei_car.jpeg');background-size:cover;background-position:center 48%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#030a13f5 0%,#030a13c9 42%,#030a1330 100%)}.hero-content{position:relative;max-width:1240px;margin:auto}.coverage{display:inline-block;background:#0759d8;padding:9px 17px;font-weight:900;font-style:italic}.hero h1{font-size:70px;line-height:.93;margin:20px 0 8px;font-weight:900}.hero h1 span,.heading span,h2 span{color:#ff7900}.tagline{font-size:20px;font-weight:900}.trust{display:flex;gap:38px;margin:20px 0}.trust div{display:flex;gap:9px;align-items:center}.trust b{font-size:28px}.booking{background:#fff;color:#111;border-radius:17px;padding:21px;box-shadow:0 20px 55px #0009;margin-top:25px}.booking-top{display:flex;justify-content:space-between;align-items:center}.booking-top h2{margin:0}.tabs button{padding:11px 18px;border:1px solid #d9dfe7;background:#f1f3f6;font-weight:800}.tabs .active{background:#ff7900;color:#fff}.inputs{display:grid;grid-template-columns:1fr 1fr 180px;gap:12px;margin-top:17px}.field label{display:block;font-size:12px;font-weight:900;margin-bottom:6px}.field input{width:100%;padding:14px;border:1px solid #ccd4df;border-radius:9px}.get-fare,.book-btn{border:0;border-radius:9px;background:#ff7900;color:#fff;font-weight:900;cursor:pointer}.get-fare{font-size:16px}.summary{display:grid;grid-template-columns:1fr 1fr 2.3fr 1fr;gap:12px;margin-top:13px}.summary>div{background:#f0f3f7;border-radius:9px;padding:13px}.summary small,.summary em{display:block;color:#647080;font-style:normal}.summary strong{display:block;font-size:23px}.payment label{display:inline-block;font-size:12px;margin:9px 10px 0 0}.status{font-size:12px;color:#66717f}.success{display:none;background:#eaf8ed;color:#17391d;padding:10px;border-radius:8px}.section{max-width:1250px;margin:auto;padding:62px 24px}.heading{text-align:center}.heading h2{font-size:35px;margin:0}.heading p{color:#b7c2cf}.service-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin-top:28px}.service-grid article{background:#081321;border:1px solid #2a415e;border-radius:13px;overflow:hidden;text-align:center;padding-bottom:17px}.upload-card{height:155px;display:block;position:relative;background:#111f2e;cursor:pointer;border-bottom:1px solid #29415d}.upload-card input,.fleet-grid input,.vehicle-img input,.fleet-logo input{display:none}.upload-card img{width:100%;height:100%;object-fit:cover;opacity:1}.upload-card span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#b7c1cd;font-weight:800}.service-grid h3{font-size:13px;margin:13px 7px 6px}.service-grid p{font-size:12px;color:#aeb9c7;margin:0 10px}.fleet{padding:25px 3%;background:#07111e;border-top:1px solid #263c58;border-bottom:1px solid #263c58;display:flex;gap:20px;align-items:center}.fleet-logo{width:24%;height:230px}.fleet-logo label{display:block;position:relative;width:100%;height:100%;overflow:hidden;border-radius:13px;background:#07111e;cursor:pointer}.fleet-logo img{width:100%;height:100%;object-fit:cover;transform:scale(1.35)}.fleet-logo span{position:absolute;bottom:8px;left:8px;right:8px;background:#0759d8;padding:7px;border-radius:4px;text-align:center;font-size:11px;font-weight:900}.fleet-content{flex:1;text-align:center}.fleet-content h2{font-size:38px;font-style:italic;margin:0}.fleet-content p{color:#c2ccd7}.fleet-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.fleet-grid label{height:155px;display:block;position:relative;overflow:hidden;border:1px solid #2a4564;border-radius:10px;cursor:pointer}.fleet-grid img{width:100%;height:100%;object-fit:cover}.fleet-grid b{position:absolute;bottom:7px;left:7px;right:7px;background:#0759d8;padding:6px;font-size:10px}.fleet-grid span{position:absolute;top:6px;right:6px;background:#ff7900;padding:4px 6px;border-radius:4px;font-size:8px;font-weight:900}.vehicle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.vehicle-grid article{background:#081321;border:1px solid #29415e;border-radius:14px;overflow:hidden}.vehicle-img{height:235px;display:block;position:relative;overflow:hidden;cursor:pointer}.vehicle-img img{width:100%;height:100%;object-fit:cover}.vehicle-img span{position:absolute;bottom:9px;left:9px;background:#0759d8;padding:7px 10px;border-radius:4px;font-size:10px;font-weight:900}.vehicle-grid article>div{padding:16px}.vehicle-grid h3{color:#ff7900;margin:0 0 7px}.vehicle-grid p{color:#c4ccd6;line-height:1.5;margin:0}.vehicle-grid strong{color:#ff7900}.benefits{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #20344d;border-bottom:1px solid #20344d;padding:24px 4%;gap:12px;text-align:center}.benefits div{font-size:25px}.benefits b{display:block;font-size:11px;color:#fff;margin-top:5px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{background:#081321;border:1px solid #29415e;border-radius:14px;padding:25px}.panel h2{margin-top:0}.panel p,.panel li{color:#c3ccd6;line-height:1.7}.panel h3{color:#ff7900}.fare-row{display:flex;justify-content:space-between;padding:17px 0;border-bottom:1px solid #273b52}.fare-row strong{color:#ff7900;font-size:21px}.cta{background:#07111e;border-top:1px solid #293e58;padding:28px 5%;display:flex;justify-content:space-between;align-items:center}.cta small,.cta strong{display:block}.cta strong{color:#ff7900;font-size:32px}.cta a{background:#ff7900;color:#fff;text-decoration:none;padding:15px 24px;border-radius:8px;font-weight:900}footer{padding:28px 4%;display:flex;align-items:center;gap:30px;flex-wrap:wrap;color:#a7b2c0;border-top:1px solid #1d2d42}footer img{width:140px;height:60px;object-fit:cover;transform:scale(1.2);transform-origin:left center}@media(max-width:900px){nav{display:none}.hero h1{font-size:48px}.inputs,.summary,.two-col{grid-template-columns:1fr}.service-grid{grid-template-columns:repeat(2,1fr)}.vehicle-grid{grid-template-columns:1fr}.benefits{grid-template-columns:repeat(2,1fr)}.fleet{flex-direction:column}.fleet-logo{width:100%;height:150px}.fleet-grid{grid-template-columns:repeat(2,1fr)}.phone{font-size:11px}.booking-top{display:block}.tabs{margin-top:10px}}
/* Final logo/fleet correction */
.brand img{object-fit:contain!important;object-position:center!important;transform:none!important}
.fleet-logo label{background:#030a13!important}
.fleet-logo img{object-fit:contain!important;object-position:center!important;transform:none!important;padding:12px}
footer img{object-fit:contain!important;transform:none!important}
.fleet-grid label{background:#091522}
.fleet-grid img{object-fit:cover!important;object-position:center!important}
.vehicle-img img{object-fit:cover!important;object-position:center!important}


/* Services image polish */
.upload-card{height:190px}.service-grid article{transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.service-grid article:hover{transform:translateY(-4px);border-color:#ff7900;box-shadow:0 14px 35px rgba(0,0,0,.28)}.upload-card img{transition:transform .3s ease}.service-grid article:hover .upload-card img{transform:scale(1.04)}.service-grid h3{margin-top:15px;letter-spacing:.03em}.service-grid p{line-height:1.5}



/* Remove embedded service-title strip from images */
.upload-card{height:190px;overflow:hidden}.upload-card img{height:125%;object-fit:cover;object-position:center top}


/* Tighter service image crop */
.upload-card img{height:100%;transform:scale(1.18);transform-origin:center top}.service-grid article:hover .upload-card img{transform:scale(1.22);}


/* Hide text printed at bottom of service images */
.upload-card{height:190px;overflow:hidden}.upload-card img{height:140%;width:100%;object-fit:cover;object-position:center top;transform:none!important}.service-grid article:hover .upload-card img{transform:scale(1.03)!important}


@media (max-width:600px){body{overflow-x:hidden}.nav{height:68px;padding:6px 14px;gap:10px}.brand{width:135px;height:52px}.phone{margin-left:auto;font-size:10px}.hero{min-height:auto;padding:35px 14px 45px}.hero h1{font-size:42px;line-height:.95;margin:16px 0 8px}.tagline{font-size:16px;line-height:1.4}.booking{padding:15px;margin-top:20px;border-radius:13px}.booking-top h2{font-size:19px}.inputs{grid-template-columns:1fr!important;gap:12px}.field input{min-height:48px;font-size:16px}.get-fare{width:100%;min-height:48px}.summary{grid-template-columns:1fr!important;gap:8px}.book-btn{width:100%;min-height:54px}.section{padding:45px 14px}.heading h2{font-size:28px}.service-grid{grid-template-columns:1fr!important;gap:16px}.upload-card{height:210px}.vehicle-grid{grid-template-columns:1fr!important}.benefits{grid-template-columns:1fr 1fr;padding:20px 14px}.fleet{padding:20px 14px}.fleet-logo{height:150px}.fleet-grid{grid-template-columns:1fr 1fr}.two-col{grid-template-columns:1fr!important}.panel{padding:18px}.cta{padding:24px 16px;display:block;text-align:center}.cta a{display:block;margin-top:16px}footer{padding:24px 16px}}

/* Customer app home */
body{background:#080d14}
.hero{min-height:100svh;height:100svh;padding:0;isolation:isolate;overflow:hidden;background:#101820}
.hero-bg{inset:-8%;background-color:#16212a;background-image:linear-gradient(26deg,transparent 46%,rgba(103,125,132,.17) 46.3%,rgba(103,125,132,.17) 47.4%,transparent 47.7%),linear-gradient(112deg,transparent 28%,rgba(103,125,132,.14) 28.3%,rgba(103,125,132,.14) 29.3%,transparent 29.6%),linear-gradient(160deg,transparent 67%,rgba(103,125,132,.15) 67.3%,rgba(103,125,132,.15) 68.3%,transparent 68.6%),repeating-linear-gradient(0deg,transparent 0 105px,rgba(125,147,151,.11) 106px 108px,transparent 109px 180px),repeating-linear-gradient(90deg,transparent 0 125px,rgba(125,147,151,.1) 126px 128px,transparent 129px 205px),radial-gradient(ellipse at 72% 27%,#344148,#202c32 55%,#172127 100%);background-size:auto;background-position:center}
.hero-shade{background:linear-gradient(180deg,rgba(7,13,19,.48),transparent 38%,rgba(7,13,19,.12) 58%,rgba(6,10,15,.48))}
.hero-content{height:100%;max-width:none;margin:0;position:relative}
.app-topbar{position:absolute;z-index:3;top:max(16px,env(safe-area-inset-top));left:20px;right:20px;display:flex;align-items:center;justify-content:space-between}
.app-brand{width:104px;height:48px;border-radius:14px;background:#101820d9;display:grid;place-items:center;overflow:hidden;padding:5px}
.app-brand img{max-height:100%;max-width:100%;object-fit:contain}
.app-account{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:white;text-decoration:none;font-size:20px;background:#101820df;border:1px solid #ffffff25;box-shadow:0 4px 16px #0005}
.app-shortcuts{position:absolute;z-index:3;top:82px;left:12px;right:12px;display:flex;justify-content:center;gap:clamp(7px,3vw,26px)}
.app-shortcuts a{min-width:65px;color:#fff;text-align:center;text-decoration:none;font-size:11px;font-weight:700;text-shadow:0 1px 5px #000;display:flex;align-items:center;flex-direction:column;gap:6px}
.shortcut-icon{width:45px;height:45px;border-radius:16px;background:#111a22df;border:1px solid #ffffff2b;display:grid;place-items:center;font-size:20px;box-shadow:0 5px 18px #0005;backdrop-filter:blur(12px)}
.map-label{position:absolute;color:#d4dadd;opacity:.64;font-size:10px;letter-spacing:.16em;font-weight:700;text-shadow:0 2px 4px #000}.map-label-one{top:37%;left:19%}.map-label-two{top:28%;right:17%}.map-label-three{top:47%;right:12%}
.map-pin{position:absolute;top:42%;left:50%;width:27px;height:27px;transform:translate(-50%,-50%);border:7px solid #fff;border-radius:50%;background:#3688ff;box-shadow:0 0 0 10px #3688ff35,0 6px 20px #0008}
.map-pin span{position:absolute;inset:-14px;border:1px solid #64a4ff80;border-radius:50%;animation:pin-pulse 2.3s ease-out infinite}
@keyframes pin-pulse{0%{transform:scale(.65);opacity:.8}100%{transform:scale(1.55);opacity:0}}
.map-location{position:absolute;top:calc(42% + 33px);left:50%;transform:translateX(-50%);background:#111a22db;border:1px solid #ffffff20;border-radius:20px;padding:8px 12px;display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#f3f5f6;backdrop-filter:blur(10px)}
.location-dot{width:7px;height:7px;background:#57d996;border-radius:50%}
.bottom-sheet{position:absolute;z-index:4;left:0;right:0;bottom:0;border-radius:25px 25px 0 0;background:#111820;color:#fff;padding:11px 20px max(18px,env(safe-area-inset-bottom));box-shadow:0 -10px 35px #0005;border-top:1px solid #ffffff15}
.sheet-handle{display:block;border:0;width:38px;height:5px;border-radius:9px;background:#65717b;margin:0 auto 17px}
.bottom-sheet h1{font-size:23px;line-height:1.2;margin:0;font-weight:750;letter-spacing:-.03em}
.sheet-subtitle{font-size:12px;color:#a4afb8;margin:6px 0 15px}
.ride-options{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.ride-option{min-height:88px;border:1px solid #303b46;background:#1a232c;color:#fff;border-radius:15px;padding:13px 12px;display:flex;align-items:center;text-align:left;gap:10px;cursor:pointer}
.ride-option:active,.ride-option:hover{border-color:#ff8b32;background:#202a34}
.option-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#27333e;font-size:22px}
.ride-option strong,.ride-option small{display:block}.ride-option strong{font-size:14px}.ride-option small{margin-top:4px;font-size:10px;color:#aeb8c0}.ride-option>b{margin-left:auto;color:#9ba6ae;font-size:24px;font-weight:400}
.promo-row{margin-top:12px;width:100%;border:0;border-top:1px solid #2b343d;background:none;color:#e2e7eb;padding:14px 2px 5px;display:flex;align-items:center;gap:10px;text-align:left;font-size:12px;cursor:pointer}.promo-row b{margin-left:auto;color:#9ca8b1;font-size:19px}.promo-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#252f39;color:#ffbd73}
.support-link{display:none}
.booking{display:none;margin:0;border-radius:0;padding:24px max(18px,calc((100% - 900px)/2));box-shadow:none}
.booking.booking-open{display:block}
.hero:has(.booking-open){height:auto;min-height:100svh;overflow:visible;padding-bottom:0}
.hero:has(.booking-open) .hero-content{height:100svh;min-height:760px}
.hero:has(.booking-open) .bottom-sheet{bottom:auto;top:60%;}
.hero:has(.booking-open) .map-pin,.hero:has(.booking-open) .map-location{display:none}
.status{color:#586573}.section.services{scroll-margin-top:20px}
@media(max-width:600px){.app-topbar{left:16px;right:16px}.app-shortcuts{top:76px;gap:6px}.shortcut-icon{width:42px;height:42px;border-radius:15px}.app-shortcuts a{min-width:62px;font-size:10px}.bottom-sheet{padding-left:17px;padding-right:17px}.bottom-sheet h1{font-size:21px}.ride-option{min-height:82px;padding:10px 8px;gap:8px}.option-icon{width:36px;height:36px}.hero:has(.booking-open) .bottom-sheet{top:58%}.booking.booking-open{padding:20px 14px}}

/* Map, route search, ride choices, and saved ride history */
.hero-bg{z-index:0}.home-map{position:absolute;inset:0;z-index:1;background:#1c292e}.hero-shade{z-index:2;pointer-events:none}.hero-content{z-index:3}.home-map .leaflet-control-attribution{font-size:9px;opacity:1;background:rgba(255,255,255,.88)!important;color:#263238!important}.home-map .leaflet-control-attribution a{color:#0759a5!important}
.map-locate{position:absolute;z-index:3;right:20px;bottom:clamp(365px,43vh,480px);width:44px;height:44px;border:1px solid #ffffff35;border-radius:14px;background:#111a22ed;color:white;font-size:23px;box-shadow:0 5px 18px #0006;cursor:pointer}
.map-location{z-index:2}
.bottom-sheet.route-mode{padding-bottom:max(14px,env(safe-area-inset-bottom));max-height:80svh;overflow:auto}
.bottom-sheet.route-mode .ride-options{display:none}.trip-search{display:grid;gap:10px;margin-top:13px}.trip-field{position:relative;display:block;border:1px solid #35424d;border-radius:12px;background:#19232c;padding:7px 44px 6px 12px}.trip-field>span{display:block;font-size:10px;color:#a5b0b9;margin-bottom:2px}.trip-field input{width:100%;border:0;background:transparent;color:#fff;outline:none;font:inherit;font-size:14px;min-height:28px}.trip-field input::placeholder{color:#75828d}.trip-field button{position:absolute;right:7px;top:50%;transform:translateY(-35%);width:32px;height:32px;border:0;border-radius:9px;background:#28343e;color:#fff;font-size:19px}.trip-timing{display:grid;grid-template-columns:1fr 1fr;gap:8px}.timing-choice{min-height:37px;border:1px solid #35424d;border-radius:10px;background:#19232c;color:#b7c0c7;font-size:12px}.timing-choice.active{background:#263a4b;border-color:#75a9dc;color:#fff}.schedule-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.schedule-fields input{width:100%;padding:10px;border:1px solid #35424d;border-radius:9px;background:#19232c;color:#fff}.find-rides{min-height:46px;border:0;border-radius:12px;background:#ff7900;color:#fff;font-weight:800;font-size:14px}.location-disclosure,.trip-message{font-size:10px;color:#99a5ae;margin:0}.trip-message:not(:empty){font-size:12px;color:#ffd398}
.ride-quotes{margin-top:14px}.quote-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.quote-heading strong,.quote-heading small{display:block}.quote-heading strong{font-size:14px}.quote-heading small{font-size:10px;color:#aab4bc;margin-top:3px}.quote-heading button{border:0;background:none;color:#ffad6a;font-size:11px}.quote-cards{display:grid;gap:8px}.quote-card{display:flex;align-items:center;gap:10px;width:100%;padding:11px;border:1px solid #35414b;border-radius:12px;background:#19232c;color:white;text-align:left}.quote-card.selected,.quote-card:hover{border-color:#ff9a4d;background:#212d37}.quote-card .vehicle-symbol{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#293642;font-size:20px}.quote-info{flex:1}.quote-info strong,.quote-info small{display:block}.quote-info strong{font-size:13px}.quote-info small{font-size:10px;color:#aab4bc;margin-top:3px}.quote-price{font-size:15px;font-weight:800;white-space:nowrap}.quote-price small{display:block;font-size:9px;color:#aab4bc;font-weight:400;text-align:right}
.promo-row,.support-link{position:relative}.bottom-sheet.route-mode .promo-row{margin-top:9px;padding-top:10px}.ride-history{scroll-margin-top:24px}.history-list{max-width:850px;margin:20px auto;display:grid;gap:10px}.history-card{display:grid;grid-template-columns:1fr auto;gap:7px 18px;padding:16px;border:1px solid #2a4054;border-radius:12px;background:#0a1521}.history-card strong{font-size:14px}.history-card small,.history-card span{color:#aab7c4;font-size:12px}.history-card .history-fare{grid-column:2;grid-row:1/3;align-self:center;color:#ff9a4d;font-size:16px;font-weight:800}.history-clear{display:block;margin:12px auto;border:0;background:none;color:#aab7c4;text-decoration:underline}
.booking.booking-open{display:block}.hero:has(.booking-open) .bottom-sheet{display:none}.booking .field[data-vehicle-field]{display:none}
@media(max-width:600px){.map-locate{right:16px;bottom:320px}.bottom-sheet.route-mode{max-height:82svh}.quote-card{padding:9px}.history-card{padding:13px}}
[hidden]{display:none!important}.map-locate{bottom:clamp(310px,52vh,610px)}@media(max-width:600px){.map-locate{bottom:clamp(300px,52vh,510px)}}
.hero:has(#homeMap) .hero-shade{background:transparent}
.promo-entry{padding:10px;margin:0 0 10px;border:1px solid #394650;border-radius:11px;background:#19232c}.promo-entry>div{display:flex;gap:7px}.promo-entry input{flex:1;min-width:0;padding:10px;border:1px solid #3c4852;border-radius:8px;background:#111820;color:white}.promo-entry button{padding:0 13px;border:0;border-radius:8px;background:#ff7900;color:white;font-weight:700}.promo-entry small{display:block;margin-top:7px;color:#bbc5cc;font-size:10px}
.account-dialog{width:min(420px,calc(100vw - 28px));border:1px solid #384651;border-radius:22px;background:#111820;color:#fff;padding:27px;box-shadow:0 20px 80px #000a}.account-dialog::backdrop{background:#05090dbb;backdrop-filter:blur(5px)}.account-dialog h2{margin:7px 0;font-size:23px}.account-dialog>p{color:#aab5bd;font-size:13px;line-height:1.5}.account-mark{font-weight:900;color:#ff9a4d;font-size:11px;letter-spacing:.14em}.account-dialog label{display:block;margin:14px 0;font-size:12px;color:#c2cbd2}.account-dialog label input{display:block;width:100%;margin-top:6px;box-sizing:border-box;padding:12px;border:1px solid #394650;border-radius:9px;background:#19232c;color:#fff;font:inherit;font-size:14px}.dialog-close{position:absolute;right:15px;top:12px}.dialog-close button{border:0;background:none;color:#dce2e7;font-size:26px}.account-primary{width:100%;min-height:46px;border:0;border-radius:10px;background:#ff7900;color:#fff;font-weight:800}.account-message{min-height:17px;font-size:12px!important;color:#ffd398!important}.account-message:empty{display:none}

/* MEI Velocity ride app: clean, map-first booking inspired by familiar ride apps. */
:root{--mei-green:#ff7900;--mei-green-dark:#d96100;--mei-ink:#202521;--mei-muted:#68716a;--mei-line:#e3e8e2;--mei-surface:#f6f8f5}
.hero:has(#homeMap){background:#e9eee8;color:var(--mei-ink)}
.hero:has(#homeMap) .hero-bg{background:#eef1eb;background-image:linear-gradient(90deg,transparent 49.7%,rgba(129,146,128,.16) 49.9%,rgba(129,146,128,.16) 50.2%,transparent 50.4%),linear-gradient(0deg,transparent 49.7%,rgba(129,146,128,.16) 49.9%,rgba(129,146,128,.16) 50.2%,transparent 50.4%)}
.hero:has(#homeMap) .hero-shade{background:transparent}
.app-brand{background:#fff;border:1px solid rgba(30,40,28,.08);box-shadow:0 4px 18px rgba(22,32,20,.1)}
.app-account{color:var(--mei-ink);background:#fff;border:1px solid var(--mei-line);box-shadow:0 4px 18px rgba(22,32,20,.1)}
.app-shortcuts{gap:clamp(6px,2vw,18px)}
.app-shortcuts a{color:#30372f;text-shadow:none;font-size:10px;font-weight:700}
.shortcut-icon{color:var(--mei-ink);background:#fff;border:1px solid rgba(30,40,28,.08);box-shadow:0 4px 16px rgba(22,32,20,.1);backdrop-filter:blur(8px)}
.map-label{color:#4f5b4d;text-shadow:0 1px 2px rgba(255,255,255,.85);opacity:.75}
.map-location{background:#fff;color:#273027;border:1px solid var(--mei-line);box-shadow:0 4px 14px rgba(22,32,20,.12);backdrop-filter:none}
.location-dot{background:var(--mei-green-dark);box-shadow:0 0 0 4px rgba(179,215,53,.2)}
.map-locate{color:#283128;background:#fff;border-color:var(--mei-line);box-shadow:0 4px 16px rgba(22,32,20,.15)}
.bottom-sheet.route-mode{left:0;right:0;bottom:0;max-height:min(74svh,650px);padding:12px max(18px,calc((100% - 620px)/2)) max(18px,env(safe-area-inset-bottom));overflow:auto;background:#fff;color:var(--mei-ink);border:1px solid rgba(31,45,28,.08);border-bottom:0;border-radius:24px 24px 0 0;box-shadow:0 -8px 32px rgba(35,48,30,.16)}
.bottom-sheet.route-mode .sheet-handle{width:42px;height:5px;margin-bottom:15px;background:#d3d9d1}
.bottom-sheet.route-mode h1{font-size:23px;letter-spacing:-.035em;color:#202521}
.bottom-sheet.route-mode .sheet-subtitle{margin:5px 0 14px;color:var(--mei-muted);font-size:12px}
.bottom-sheet.route-mode .trip-search{margin-top:0;gap:9px}
.trip-field{min-height:62px;padding:9px 52px 8px 42px;border:1px solid var(--mei-line);border-radius:12px;background:var(--mei-surface)}
.trip-field::before{position:absolute;left:15px;top:22px;width:12px;height:12px;border:3px solid var(--mei-green-dark);border-radius:50%;content:""}
.destination-field::before{border-radius:3px;background:var(--mei-green-dark);width:11px;height:11px}
.trip-field>span{font-size:10px;color:var(--mei-muted);margin-bottom:2px}
.trip-field input{min-height:25px;color:#202521;font-size:14px}
.trip-field input::placeholder{color:#858d84}
.trip-field button{right:10px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;background:#fff0e4;color:#b94f00;font-size:19px}
.trip-timing{gap:0;padding:3px;border-radius:11px;background:#f0f3ed}
.timing-choice{min-height:39px;border:0;border-radius:9px;background:transparent;color:#596157;font-size:12px;font-weight:700}
.timing-choice.active{background:#fff;border:1px solid #e3e8df;color:#263024;box-shadow:0 1px 4px rgba(24,40,20,.08)}
.schedule-fields input{border:1px solid var(--mei-line);border-radius:10px;background:#fff;color:#202521;color-scheme:light}
.find-rides{min-height:49px;border-radius:12px;background:var(--mei-green);color:#202719;font-weight:800;font-size:14px;box-shadow:0 3px 8px rgba(125,158,25,.15)}
.find-rides:hover{background:#e96f00}
.location-disclosure,.trip-message{color:#697269}
.trip-message:not(:empty){color:#b94f00}
.bottom-sheet.route-mode .promo-row{margin-top:7px;padding:11px 2px 3px;border-top:1px solid #edf0eb;color:#41483f;font-size:12px}
.bottom-sheet.route-mode .promo-icon{background:#fff0e4;color:#c65a00}
.bottom-sheet.route-mode .promo-row b{color:#7c857a}
.promo-entry{background:#f6f8f5;border-color:var(--mei-line)}
.promo-entry input{background:#fff;border-color:var(--mei-line);color:#202521}
.promo-entry button,.account-primary{background:var(--mei-green);color:#202719}
.ride-quotes{color:var(--mei-ink)}
.quote-heading small,.quote-info small{color:#788176}
.quote-heading button{color:var(--mei-green-dark)}
.quote-card{border-color:var(--mei-line);background:#fff;color:var(--mei-ink)}
.quote-card.selected,.quote-card:hover{border-color:var(--mei-green-dark);background:#f7faef}
.quote-card .vehicle-symbol{background:#eef2e8}
.quote-price small{color:#788176}
.account-dialog{color:var(--mei-ink);background:#fff;border-color:var(--mei-line)}
.account-dialog>p,.account-dialog label{color:#697269}
.account-dialog label input{background:#f7f9f6;border-color:var(--mei-line);color:var(--mei-ink)}
.account-message{color:#b94f00!important}
@media(max-width:600px){.app-topbar{left:15px;right:15px}.app-shortcuts{top:74px;left:10px;right:10px}.shortcut-icon{width:40px;height:40px;border-radius:14px}.app-shortcuts a{min-width:60px;font-size:9px}.bottom-sheet.route-mode{max-height:min(72svh,640px);padding-left:16px;padding-right:16px}.bottom-sheet.route-mode h1{font-size:21px}.trip-field{min-height:58px}.map-locate{right:15px}}
.booking.booking-open .ride-tracker{color:#263024;background:#f6f8f5;border-color:#e3e8e2;box-shadow:none}
.booking.booking-open .ride-tracker-head small,.booking.booking-open .driver-card small,.booking.booking-open .ride-tracker-updated{color:#6d776a}
.booking.booking-open .ride-step span{border-color:#aab4a5}
.booking.booking-open .ride-step.active span{background:#ff7900;border-color:#e66d00;color:#202719}
.booking.booking-open .ride-line{background:#d7ded2}
.booking.booking-open .driver-card{background:#fff2e8}
.customer-driver-map{margin-top:14px;padding:10px;border:1px solid #e3e8e2;border-radius:12px;background:#fff}
.customer-driver-map #driverMap{height:210px;border-radius:9px;overflow:hidden}
.customer-driver-map p{margin:8px 2px 0;color:#68716a;font-size:12px}
.ride-tracker-actions{display:flex;gap:8px;margin-top:12px}
.ride-tracker-actions button{min-height:42px;padding:10px 14px;border:1px solid #d8dfd3;border-radius:10px;background:#fff;color:#333c30;font-weight:700}
.ride-tracker-actions #bookAnotherRideButton{border-color:var(--mei-green);background:var(--mei-green);color:#202719}
.ride-tracker-actions button:disabled{opacity:.55}
.ride-tracker-actions #cancelRideButton{border-color:#ead1ce;color:#a33a32}
.booking.booking-open .payment label:has(input:disabled){opacity:.55}
.saved-locations{display:flex;align-items:center;gap:7px;overflow:auto;padding-top:8px}.saved-locations:empty{display:none}.saved-locations>small{flex:none;color:#727b71;font-size:10px}.saved-locations>button{flex:none;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px 10px;border:1px solid #e1e7dc;border-radius:18px;background:#f7f9f5;color:#394235;font-size:10px}.offer-field{grid-column:1/-1}.offer-field>label,.offer-field>small{display:block}.offer-field>small{color:#899187;font-size:11px;margin-top:5px}.offer-field input{width:100%;box-sizing:border-box}.notification-pref{display:flex!important;align-items:center;gap:8px}.notification-pref input{width:auto!important;margin:0!important}
.ride-rating{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:12px 0;padding:12px;border:1px solid #dfe5d9;border-radius:11px;background:#f8faf6}.ride-rating label{font-size:12px;font-weight:700}.ride-rating select{padding:9px;border:1px solid #d8dfd3;border-radius:8px;background:#fff;color:#283128}.ride-rating button{padding:9px 12px;border:0;border-radius:8px;background:var(--mei-green);color:#202719;font-weight:800}.ride-rating small{flex-basis:100%;color:#68716a;font-size:11px}

/* Clear the booking screen of map controls that otherwise overlap its header on mobile. */
.hero:has(.booking.booking-open){height:auto;min-height:100svh;overflow:visible;padding:0;background:#f5f7f3;color:var(--mei-ink)}
.hero:has(.booking.booking-open) .hero-content{height:auto;min-height:0;margin:0 auto;padding:16px 0 28px}
.hero:has(.booking.booking-open) .hero-bg,
.hero:has(.booking.booking-open) .home-map,
.hero:has(.booking.booking-open) .hero-shade,
.hero:has(.booking.booking-open) .app-topbar,
.hero:has(.booking.booking-open) .app-shortcuts,
.hero:has(.booking.booking-open) .map-label,
.hero:has(.booking.booking-open) .map-locate,
.hero:has(.booking.booking-open) .map-location{display:none!important}
.hero:has(.booking.booking-open) .booking.booking-open{display:block;width:min(100%,900px);margin:0 auto;padding:18px clamp(14px,4vw,28px) 28px;border:0;border-radius:0;background:#f5f7f3;color:var(--mei-ink);box-shadow:none}
.booking.booking-open .booking-top{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.booking.booking-open .booking-top h2{font-size:22px;line-height:1.25}
.booking.booking-open .tabs{display:flex;gap:6px;flex-wrap:wrap}
.booking.booking-open .tabs button{border-radius:8px}
.booking.booking-open .inputs{grid-template-columns:1fr;gap:12px;margin-top:12px}
.booking.booking-open .field input,.booking.booking-open .summary select{min-height:48px;font-size:16px}
.booking.booking-open .summary{grid-template-columns:1fr;gap:9px}
.booking.booking-open .offer-field input{min-height:48px}
.booking.booking-open #status{font-size:14px;line-height:1.45}
@media(min-width:760px){.hero:has(.booking.booking-open) .booking.booking-open .inputs{grid-template-columns:1fr 1fr}.booking.booking-open .summary{grid-template-columns:1fr 1fr 2.3fr}}
#notificationPreference[hidden]{display:none!important}

/* Dedicated ride review and driver tracking views. */
html[data-workflow="confirm"] #home,html[data-workflow="confirm"] .section,html[data-workflow="confirm"] .benefits,html[data-workflow="confirm"] .cta,html[data-workflow="confirm"] footer,html[data-workflow="confirm"] #accountDialog,html[data-workflow="ride"] #home,html[data-workflow="ride"] .section,html[data-workflow="ride"] .benefits,html[data-workflow="ride"] .cta,html[data-workflow="ride"] footer,html[data-workflow="ride"] #accountDialog{display:none!important}
html[data-workflow="confirm"] body{background:#f5f7f3;color:#202521}html[data-workflow="ride"] body{background:#f3f6f0;color:#202521}
#confirmPage[hidden],#ridePage[hidden]{display:none!important}#confirmPage:not([hidden]){display:block}.workflow-header{height:62px;display:flex;align-items:center;gap:14px;padding:8px max(16px,calc((100% - 680px)/2));background:#fff;border-bottom:1px solid #e3e8e0}.back-link{color:#202521;text-decoration:none;font-weight:700}.workflow-logo{width:88px;height:42px;object-fit:contain;margin-left:auto}.workflow-content{width:min(100% - 28px,600px);margin:24px auto 48px}.workflow-content h1{font-size:26px;line-height:1.2;margin:0 0 5px}.workflow-lead{margin:0 0 18px;color:#6d766b}.workflow-card{padding:17px;margin:13px 0;background:#fff;border:1px solid #e3e8e0;border-radius:16px;box-shadow:0 5px 18px #2433220a}.route-row{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:center;padding:10px 0}.route-row+.route-row{border-top:1px solid #eef0ed}.route-dot{width:13px;height:13px;border:3px solid #ff7900;border-radius:50%;justify-self:center}.route-dot.dest{border:0;border-radius:4px;background:#ff7900}.route-row small,.driver-detail small{display:block;color:#6d766b;font-size:11px}.route-row strong{display:block;font-size:14px;font-weight:600}.ride-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.ride-meta span{padding:7px 10px;border-radius:18px;background:#fff3ea;font-size:12px;font-weight:700}.price-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.price-row strong{font-size:24px}.workflow-content label{display:block;margin-top:12px;font-size:12px;font-weight:700}.price-input{width:100%;min-height:50px;margin-top:7px;padding:12px;border:1px solid #d6ded1;border-radius:10px;background:#fff;font:inherit;font-size:18px}.flow-help{margin:7px 0 0;color:#6d766b;font-size:12px}.promo-badge{padding:6px 9px;border-radius:12px;background:#fff2e8;color:#a84a00;font-size:11px;font-weight:700}.flow-payment{padding:12px;border:1px solid #e3e8e0;border-radius:10px;background:#fafbf9}.flow-account{display:flex;align-items:center;gap:10px}.flow-account strong{font-size:13px}.flow-account button{margin-left:auto;border:0;background:transparent;text-decoration:underline;color:#58644d}.flow-button{width:100%;min-height:50px;border:0;border-radius:12px;background:#ff7900;color:#202719;font:inherit;font-weight:800;cursor:pointer}.flow-button:disabled{opacity:.6}.flow-message{min-height:20px;color:#64704d;font-size:13px}.workflow-dialog{width:min(420px,calc(100vw - 26px));border:1px solid #e3e8e0;border-radius:20px;padding:24px;background:#fff;color:#202521;box-shadow:0 20px 80px #0005}.workflow-dialog::backdrop{background:#18201899;backdrop-filter:blur(3px)}.workflow-dialog h2{margin:0;font-size:21px}.workflow-dialog p{color:#6d766b;font-size:13px}.workflow-dialog label{display:block;margin:12px 0;font-size:12px;font-weight:700}.workflow-dialog input{display:block;width:100%;min-height:44px;margin-top:5px;padding:10px;border:1px solid #e3e8e0;border-radius:9px;font:inherit}.workflow-dialog .flow-button{margin-top:7px}.dialog-close{position:absolute;right:14px;top:8px;border:0;background:none;font-size:25px;color:#6a7466}.workflow-dialog [hidden]{display:none!important}
#ridePage:not([hidden]){display:block;min-height:100svh}.tracking-map{position:relative;height:54svh;min-height:310px;background:#dce5d6}.tracking-map #rideMap{width:100%;height:100%}.map-status-pill{position:absolute;z-index:500;top:14px;left:50%;transform:translateX(-50%);max-width:calc(100% - 26px);padding:9px 14px;border-radius:22px;background:#fff;box-shadow:0 5px 20px #18241826;font-size:12px;font-weight:800;white-space:nowrap}.tracking-sheet{position:relative;width:min(100%,700px);margin:-25px auto 0;padding:22px 17px max(25px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -7px 25px #14201412}.tracking-sheet h1{margin:0 0 4px;font-size:23px}.tracking-subtitle{margin:0;color:#6d766b;font-size:13px}.tracking-progress{display:flex;gap:6px;margin:17px 0}.tracking-progress span{height:5px;flex:1;border-radius:5px;background:#e6eae2}.tracking-progress span.active{background:#ff7900}.driver-panel{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:11px;padding:13px;border:1px solid #e3e8e0;border-radius:14px;background:#fafbf9}.driver-panel[hidden],#ratingArea[hidden]{display:none!important}.driver-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#fff0e4;font-size:23px}.driver-detail strong{display:block;font-size:15px}.plate-chip{padding:6px 9px;border:1px solid #dfe3db;border-radius:7px;background:white;font-weight:800;font-size:12px}.tracking-route{display:grid;gap:9px;margin:14px 0;padding:13px;border-radius:13px;background:#f5f7f3}.tracking-route>div{display:grid;grid-template-columns:14px 1fr;gap:9px;align-items:center;font-size:12px}.tracking-route small{display:block;color:#6d766b}.tracking-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tracking-actions .flow-button{background:#edf1e9;color:#30382d}.tracking-actions a{display:grid;place-items:center;min-height:48px;border-radius:11px;background:#edf1e9;color:#202521;font-weight:800;text-decoration:none}.rating-area{margin:12px 0;padding:13px;border-radius:13px;background:#f5f7f3}.rating-area select{min-height:42px;padding:8px;border:1px solid #e3e8e0;border-radius:8px;background:#fff}.rating-area button{min-height:42px;margin-left:7px;padding:0 12px;border:0;border-radius:9px;background:#ff7900;font-weight:800}.leaflet-control-attribution{font-size:9px!important}.driver-marker{display:grid;place-items:center;width:38px;height:38px;border:3px solid #fff;border-radius:50%;background:#ff7900;box-shadow:0 3px 13px #0005;font-size:20px}.tracking-home{display:inline-block;padding:10px 13px;border-radius:20px;background:#fff;color:#202521;text-decoration:none;font-size:13px;font-weight:700}
@media(min-width:760px){html[data-workflow="ride"] body{height:100svh;overflow:hidden}#ridePage:not([hidden]){display:grid;grid-template-columns:minmax(0,1.4fr) minmax(390px,.9fr);height:100svh}.tracking-map{height:100svh;min-height:100svh}.tracking-sheet{align-self:center;width:min(100% - 36px,600px);margin:20px auto;border-radius:22px;padding:26px}.tracking-header{position:absolute;z-index:600;top:12px;left:14px}.workflow-content{margin-top:34px}.workflow-card{padding:20px}}

html[data-workflow="confirm"] #confirmPage[hidden]{display:block!important}


html[data-workflow="confirm"] #ridePage{display:none!important}
.workflow-content>.lead{margin:0 0 18px;color:#6d766b;font-size:14px;line-height:1.45}
.workflow-content .help{margin:7px 0 0;color:#6d766b;font-size:12px;line-height:1.4}
.route-dot.destination{border:0;border-radius:4px;background:#ff7900}
.payment-option{display:flex;align-items:center;gap:9px;margin:10px 0 0;padding:11px 12px;border:1px solid #e3e8e0;border-radius:10px;background:#fafbf9;font-size:14px}
.account-chip{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #e3e8e0;border-radius:13px;background:#fff}
.account-chip>strong{flex:1;font-size:13px}
.account-chip>button{padding:8px 12px;border:0;border-radius:9px;background:#fff0e4;color:#7a3900;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.workflow-content>.primary-button,.workflow-dialog>.primary-button{width:100%;min-height:50px;margin-top:13px;padding:12px 16px;border:0;border-radius:12px;background:#ff7900;color:#202719;font:inherit;font-weight:800;cursor:pointer}
.workflow-content>.primary-button:disabled,.workflow-dialog>.primary-button:disabled{opacity:.6}
.workflow-dialog form+.primary-button{margin-top:12px}
.tracking-actions>.secondary-button{min-height:48px;border:0;border-radius:11px;background:#fff0e3;color:#883e00;font:inherit;font-weight:800;cursor:pointer}
.tracking-actions a[hidden]{display:none!important}
.driver-message-notice{margin:10px 0;padding:11px 13px;border:1px solid #ffd0aa;border-radius:10px;background:#fff4ea;color:#7a3900;font-size:13px;overflow-wrap:anywhere}.driver-message-notice[hidden]{display:none!important}
.ride-chat{margin:14px 0;padding:14px;border:1px solid #e3e8e0;border-radius:14px;background:#fff}.ride-chat[hidden]{display:none!important}.ride-chat h2{margin:0 0 10px;font-size:17px}.chat-messages{display:flex;flex-direction:column;gap:8px;max-height:260px;min-height:56px;overflow:auto;padding:4px 2px}.chat-message{max-width:88%;padding:9px 11px;border-radius:12px;background:#f1f3ee;overflow-wrap:anywhere;font-size:13px}.chat-message.mine{align-self:flex-end;background:#ffe7d2}.chat-message small{display:block;margin-bottom:3px;color:#697164;font-size:10px}.chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}.chat-form input{min-width:0;min-height:44px;padding:9px 11px;border:1px solid #dce2d7;border-radius:9px;font:inherit}.chat-form button{min-height:44px;padding:0 16px;border:0;border-radius:9px;background:#ff7900;font:inherit;font-weight:800;cursor:pointer}

/* Responsive layout safeguards for small phones, tablets, desktops, and short screens. */
html{min-width:320px;overflow-x:clip;scroll-padding-top:16px}
body{min-width:320px;overflow-x:clip}
img,svg,video,canvas{max-width:100%}
button,input,select,textarea{max-width:100%;font:inherit}
button,a,select{touch-action:manipulation}
:focus-visible{outline:3px solid #ff7900;outline-offset:3px}

.app-topbar{left:clamp(12px,3vw,28px);right:clamp(12px,3vw,28px)}
.app-shortcuts{left:clamp(8px,2vw,20px);right:clamp(8px,2vw,20px);gap:clamp(4px,1.8vw,18px)}
.app-shortcuts a{min-width:0;flex:0 1 76px}
.bottom-sheet.route-mode{width:100%;max-height:min(76dvh,700px);overflow-x:hidden;overscroll-behavior:contain}
.trip-search,.ride-quotes,.quote-cards,.quote-card,.workflow-content,.workflow-card,.tracking-sheet{min-width:0}
.trip-field input,.route-row strong,.driver-detail strong,.account-chip strong,.workflow-dialog label{min-width:0;overflow-wrap:anywhere}
.quote-card{min-width:0}
.quote-info{min-width:0;overflow-wrap:anywhere}
.quote-price{flex:none}
.workflow-dialog[open]{max-height:min(90dvh,760px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.workflow-dialog input{font-size:16px}
.tracking-sheet{overflow-wrap:anywhere}

@media (max-width: 380px){
  .app-brand{width:88px;height:42px}
  .app-account{width:42px;height:42px}
  .app-shortcuts{top:68px;gap:2px}
  .app-shortcuts a{flex-basis:64px;font-size:9px}
  .shortcut-icon{width:38px;height:38px;border-radius:13px;font-size:18px}
  .bottom-sheet.route-mode{padding-left:12px;padding-right:12px;border-radius:19px 19px 0 0}
  .bottom-sheet.route-mode h1{font-size:20px}
  .trip-field{padding-left:38px;padding-right:44px}
  .trip-field::before{left:12px}
  .quote-card{gap:7px;padding:8px}
  .quote-card .vehicle-symbol{width:34px;height:34px;flex:none}
  .quote-info strong{font-size:12px}
  .quote-price{font-size:13px}
  .tracking-actions{grid-template-columns:1fr}
  .account-chip{flex-wrap:wrap}
  .account-chip>strong{flex:1 1 65%}
  .workflow-card{padding:14px}
  .workflow-dialog{padding:20px 17px}
}

@media (min-width: 601px) and (max-width: 1023px){
  .bottom-sheet.route-mode{max-height:min(72dvh,720px);padding-left:clamp(22px,6vw,64px);padding-right:clamp(22px,6vw,64px)}
  .trip-field{min-height:60px}
  .quote-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quote-card{align-items:flex-start}
  .workflow-content{width:min(calc(100% - 40px),680px)}
  .tracking-sheet{width:min(calc(100% - 32px),680px)}
  .section{padding-left:clamp(20px,4vw,42px);padding-right:clamp(20px,4vw,42px)}
}

@media (min-width: 1024px){
  .bottom-sheet.route-mode{max-height:min(78dvh,760px)}
  .workflow-content{width:min(calc(100% - 48px),680px)}
  .workflow-content h1{font-size:clamp(26px,2.5vw,34px)}
  .tracking-sheet{width:min(calc(100% - 48px),680px)}
  .tracking-sheet h1{font-size:clamp(23px,2vw,30px)}
}

@media (max-height: 620px) and (orientation: landscape){
  .hero:not(:has(.booking.booking-open)){height:100dvh;min-height:100dvh}
  .app-shortcuts{top:66px}
  .app-shortcuts a{flex-direction:row;justify-content:center;gap:5px}
  .shortcut-icon{width:34px;height:34px;border-radius:11px;font-size:16px}
  .bottom-sheet.route-mode{max-height:56dvh;padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom));border-radius:17px 17px 0 0}
  .bottom-sheet.route-mode .sheet-handle{margin-bottom:7px}
  .bottom-sheet.route-mode h1{font-size:19px}
  .bottom-sheet.route-mode .sheet-subtitle{margin:3px 0 8px}
  .bottom-sheet.route-mode .trip-search{gap:6px}
  .trip-field{min-height:50px;padding-top:5px;padding-bottom:4px}
  .trip-field::before{top:18px}
  .map-locate{bottom:calc(56dvh + 12px);width:40px;height:40px}
  .tracking-map{min-height:260px}
}

@media (min-width: 760px) and (max-height: 720px){
  html[data-workflow="ride"] body{height:auto;min-height:100svh;overflow:auto}
  #ridePage:not([hidden]){height:auto;min-height:100svh;overflow:visible}
  .tracking-map{height:100svh;min-height:420px;position:sticky;top:0}
  .tracking-sheet{align-self:start;margin:24px auto;max-height:none;overflow:visible}
}

@supports (height: 100dvh){
  .hero{min-height:100dvh;height:100dvh}
  .hero:has(.booking.booking-open){height:auto;min-height:100dvh}
  .bottom-sheet.route-mode{max-height:min(76dvh,700px)}
  .tracking-map{height:54dvh}
  @media (min-width: 760px){
    #ridePage:not([hidden]){height:100dvh}
    .tracking-map{height:100dvh}
  }
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
}


/* ==========================================================================
   MEI VELOCITY — LANDING PAGE VISUAL REFRESH
   Visual/CSS-only change. Existing HTML IDs, JavaScript functions,
   API calls, booking logic, maps, scheduling and authentication are untouched.
   ========================================================================== */

/* Keep the existing variable names so no selectors need to be rewritten,
   but make the customer landing experience use the MEI orange brand. */
.hero:has(#homeMap){
  --mei-green:#ff7900;
  --mei-green-dark:#d96100;
  --mei-ink:#171b18;
  --mei-muted:#6d746e;
  --mei-line:#e4e7e2;
  --mei-surface:#f7f8f6;
  --mei-orange-soft:#fff0e4;
  --mei-orange-soft-strong:#ffe2ca;
  background:#edf0eb;
  color:var(--mei-ink);
}

.hero:has(#homeMap) .location-dot{
  background:var(--mei-green);
  box-shadow:0 0 0 4px rgba(255,121,0,.16);
}

.hero:has(#homeMap) .trip-field::before{
  border-color:var(--mei-green);
}

.hero:has(#homeMap) .destination-field::before{
  background:var(--mei-green);
}

.hero:has(#homeMap) .trip-field button{
  background:var(--mei-orange-soft);
  color:#b94f00;
}

.hero:has(#homeMap) .find-rides{
  background:var(--mei-green);
  color:#fff;
  box-shadow:0 8px 20px rgba(255,121,0,.20);
}

.hero:has(#homeMap) .find-rides:hover{
  background:#e96f00;
}

.hero:has(#homeMap) .find-rides::after{
  content:"→";
  margin-left:10px;
  font-size:18px;
}

.hero:has(#homeMap) .trip-message:not(:empty),
.hero:has(#homeMap) .quote-heading button{
  color:#bb5200;
}

.hero:has(#homeMap) .bottom-sheet.route-mode .promo-icon{
  background:var(--mei-orange-soft);
  color:#d96100;
}

.hero:has(#homeMap) .promo-entry button{
  background:var(--mei-green);
  color:#fff;
}

.hero:has(#homeMap) .quote-card.selected,
.hero:has(#homeMap) .quote-card:hover{
  border-color:var(--mei-green);
  background:#fff8f2;
}

.hero:has(#homeMap) .saved-locations>button:hover{
  border-color:#ffc28f;
  background:#fff7f0;
}

.hero:has(#homeMap) :focus-visible{
  outline-color:#ff7900;
}

/* Desktop layout: full map with a floating booking card. */
@media (min-width:901px){

  .hero:has(#homeMap){
    height:100vh;
    min-height:760px;
    padding:0;
    overflow:hidden;
  }

  .hero:has(#homeMap) .hero-content{
    height:100%;
    width:100%;
    max-width:none;
    margin:0;
  }

  /* Leave the first 72px for the white navigation bar. */
  .hero:has(#homeMap) .home-map,
  .hero:has(#homeMap) .hero-bg{
    top:72px;
  }

  /* Full-width white navigation bar. */
  .hero:has(#homeMap) .app-topbar{
    position:absolute;
    z-index:1000;
    top:0;
    left:0;
    right:0;
    height:72px;
    padding:9px 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:rgba(255,255,255,.97);
    border-bottom:1px solid #e7e9e5;
    box-shadow:0 2px 12px rgba(19,27,20,.06);
    backdrop-filter:blur(12px);
  }

  .hero:has(#homeMap) .app-brand{
    width:auto;
    height:52px;
    padding:0;
    display:flex;
    align-items:center;
    gap:14px;
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    text-decoration:none;
  }

  .hero:has(#homeMap) .app-brand img{
    width:106px;
    height:48px;
    max-width:none;
    max-height:none;
    object-fit:contain;
    border-radius:9px;
  }

  .hero:has(#homeMap) .app-brand::after{
    content:"MEI VELOCITY";
    color:#181c19;
    font-size:19px;
    font-weight:800;
    letter-spacing:.01em;
    white-space:nowrap;
  }

  .hero:has(#homeMap) .app-account{
    width:46px;
    height:46px;
    margin-left:auto;
    color:#1b201c;
    background:#fff;
    border:1px solid #dde2dc;
    box-shadow:0 3px 12px rgba(20,28,20,.08);
  }

  /* Existing shortcuts remain the same links/actions — only their position changes. */
  .hero:has(#homeMap) .app-shortcuts{
    position:absolute;
    z-index:1001;
    top:7px;
    left:50%;
    right:auto;
    width:auto;
    height:58px;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:clamp(22px,3.2vw,48px);
  }

  .hero:has(#homeMap) .app-shortcuts a{
    flex:none;
    min-width:68px;
    color:#4e554f;
    text-shadow:none;
    font-size:10px;
    font-weight:600;
    gap:3px;
  }

  .hero:has(#homeMap) .shortcut-icon{
    width:31px;
    height:31px;
    border:0;
    border-radius:50%;
    color:#161b17;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
    font-size:17px;
  }

  /* The map is the visual hero. Leaflet functionality is unchanged. */
  .hero:has(#homeMap) .home-map{
    inset:72px 0 0 0;
    background:#e6ebe4;
  }

  .hero:has(#homeMap) .hero-bg{
    inset:72px 0 0 0;
  }

  .hero:has(#homeMap) .map-label{
    display:none;
  }

  .hero:has(#homeMap) .map-locate{
    top:96px;
    right:24px;
    bottom:auto;
    width:48px;
    height:48px;
    border-radius:50%;
    color:#202621;
    background:#fff;
    border:1px solid #e0e4df;
    box-shadow:0 5px 18px rgba(23,32,24,.15);
  }

  .hero:has(#homeMap) .map-location{
    top:auto;
    left:auto;
    right:24px;
    bottom:24px;
    transform:none;
    padding:9px 13px;
    color:#343b35;
    background:rgba(255,255,255,.95);
    border:1px solid #e0e4df;
    box-shadow:0 5px 18px rgba(23,32,24,.12);
  }

  /* Floating white booking card. */
  .hero:has(#homeMap) .bottom-sheet.route-mode{
    position:absolute;
    z-index:900;
    top:116px;
    left:24px;
    right:auto;
    bottom:auto;
    width:min(500px,calc(100vw - 48px));
    max-height:calc(100vh - 140px);
    padding:15px 28px 24px;
    overflow:auto;
    overscroll-behavior:contain;
    border:1px solid rgba(29,39,30,.08);
    border-radius:28px;
    background:rgba(255,255,255,.98);
    color:var(--mei-ink);
    box-shadow:0 20px 55px rgba(28,38,29,.16);
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode::-webkit-scrollbar{
    width:6px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode::-webkit-scrollbar-thumb{
    border-radius:10px;
    background:#d8ddd6;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .sheet-handle{
    width:110px;
    height:5px;
    margin:0 auto 23px;
    border-radius:10px;
    background:#d9ddd8;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode h1{
    margin:0;
    color:#181c19;
    font-size:34px;
    line-height:1.08;
    letter-spacing:-.045em;
    font-weight:800;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .sheet-subtitle{
    margin:7px 0 22px;
    color:#767d76;
    font-size:15px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .trip-search{
    gap:12px;
  }

  /* Pickup / destination fields styled as one visual route. */
  .hero:has(#homeMap) .trip-field{
    min-height:76px;
    padding:12px 54px 10px 52px;
    border:1px solid #e1e5df;
    border-radius:16px;
    background:#f8faf7;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  }

  .hero:has(#homeMap) .trip-field::before{
    left:18px;
    top:28px;
    width:16px;
    height:16px;
    border-width:4px;
  }

  .hero:has(#homeMap) .pickup-field::after{
    content:"";
    position:absolute;
    left:27px;
    top:49px;
    height:47px;
    border-left:2px dotted #aeb6ad;
    pointer-events:none;
  }

  .hero:has(#homeMap) .destination-field::before{
    width:16px;
    height:16px;
    border:0;
    border-radius:4px;
  }

  .hero:has(#homeMap) .trip-field>span{
    margin-bottom:4px;
    color:#737a73;
    font-size:12px;
  }

  .hero:has(#homeMap) .trip-field input{
    min-height:30px;
    color:#252a26;
    font-size:16px;
  }

  .hero:has(#homeMap) .trip-field input::placeholder{
    color:#8c938c;
  }

  .hero:has(#homeMap) .trip-field button{
    right:13px;
    width:40px;
    height:40px;
    font-size:21px;
  }

  /* Ride now / Schedule segmented control. */
  .hero:has(#homeMap) .trip-timing{
    min-height:56px;
    padding:4px;
    border-radius:14px;
    background:#f1f3f0;
  }

  .hero:has(#homeMap) .timing-choice{
    min-height:48px;
    border-radius:11px;
    color:#343a35;
    font-size:14px;
    font-weight:750;
  }

  .hero:has(#homeMap) .timing-choice.active{
    color:#fff;
    background:#191d1a;
    border-color:#191d1a;
    box-shadow:0 3px 10px rgba(16,22,17,.14);
  }

  .hero:has(#homeMap) .schedule-fields{
    gap:10px;
  }

  .hero:has(#homeMap) .schedule-fields input{
    min-height:54px;
    padding:0 14px;
    border-radius:13px;
    font-size:15px;
  }

  .hero:has(#homeMap) .find-rides{
    min-height:60px;
    border-radius:14px;
    font-size:16px;
    letter-spacing:.01em;
  }

  .hero:has(#homeMap) .location-disclosure{
    margin-top:-2px;
    color:#858c85;
    font-size:9px;
    line-height:1.35;
  }

  .hero:has(#homeMap) .trip-message:not(:empty){
    padding:8px 10px;
    border-radius:9px;
    background:#fff5ec;
    font-size:11px;
  }

  .hero:has(#homeMap) .saved-locations{
    padding-top:11px;
  }

  .hero:has(#homeMap) .saved-locations>button{
    border-color:#e4e7e2;
    background:#f8faf7;
    color:#454c46;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .promo-row{
    min-height:52px;
    margin-top:12px;
    padding:12px 5px 5px;
    color:#3d443e;
    font-size:13px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .promo-icon{
    width:34px;
    height:34px;
    border-radius:11px;
  }

  .hero:has(#homeMap) .quote-card{
    padding:13px;
    border-radius:14px;
  }

  .hero:has(#homeMap) .quote-card .vehicle-symbol{
    background:#fff1e6;
  }

  /* Do not allow the old expanded booking block to overlap this desktop home state. */
  .hero:has(#homeMap):not(:has(.booking.booking-open)) .booking{
    display:none;
  }
}

/* Tablet: keep the existing bottom-sheet workflow, but use the orange brand. */
@media (min-width:601px) and (max-width:900px){
  .hero:has(#homeMap) .bottom-sheet.route-mode{
    background:#fff;
  }

  .hero:has(#homeMap) .timing-choice.active{
    background:#1d211e;
    border-color:#1d211e;
    color:#fff;
  }
}

/* Mobile remains the same functional bottom-sheet experience, only themed orange. */
@media (max-width:600px){
  .hero:has(#homeMap) .timing-choice.active{
    background:#1d211e;
    border-color:#1d211e;
    color:#fff;
  }

  .hero:has(#homeMap) .find-rides{
    color:#fff;
  }

  .hero:has(#homeMap) .trip-field button{
    background:var(--mei-orange-soft);
    color:#b94f00;
  }
}


/* ==========================================================================
   MEI VELOCITY — LANDING PAGE REFINEMENT 2
   CSS-only: smaller desktop booking card + profile/person account icon.
   No HTML IDs, JavaScript, API calls, map logic, booking logic or auth changed.
   ========================================================================== */

/* Proper profile/person symbol while preserving the existing account button. */
.app-account{
  font-size:0;
}
.app-account::before{
  content:"";
  display:block;
  width:22px;
  height:22px;
  background:currentColor;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-5 0-9 2.5-9 5.5V22h18v-2.5C21 16.5 17 14 12 14Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:contain;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-5 0-9 2.5-9 5.5V22h18v-2.5C21 16.5 17 14 12 14Z'/%3E%3C/svg%3E");
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:contain;
}

/* Make the desktop booking panel more compact without changing its fields/actions. */
@media (min-width:901px){
  .hero:has(#homeMap) .bottom-sheet.route-mode{
    top:122px;
    left:24px;
    width:min(430px,calc(100vw - 48px));
    max-height:calc(100vh - 150px);
    padding:13px 23px 20px;
    border-radius:24px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .sheet-handle{
    width:92px;
    margin-bottom:17px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode h1{
    font-size:29px;
    line-height:1.08;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .sheet-subtitle{
    margin:6px 0 17px;
    font-size:13px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .trip-search{
    gap:10px;
  }

  .hero:has(#homeMap) .trip-field{
    min-height:66px;
    padding:9px 49px 8px 48px;
    border-radius:14px;
  }

  .hero:has(#homeMap) .trip-field::before{
    left:17px;
    top:24px;
    width:14px;
    height:14px;
  }

  .hero:has(#homeMap) .pickup-field::after{
    left:24px;
    top:43px;
    height:42px;
  }

  .hero:has(#homeMap) .destination-field::before{
    width:14px;
    height:14px;
  }

  .hero:has(#homeMap) .trip-field>span{
    font-size:11px;
  }

  .hero:has(#homeMap) .trip-field input{
    min-height:27px;
    font-size:15px;
  }

  .hero:has(#homeMap) .trip-field button{
    right:11px;
    width:36px;
    height:36px;
    font-size:19px;
  }

  .hero:has(#homeMap) .trip-timing{
    min-height:50px;
  }

  .hero:has(#homeMap) .timing-choice{
    min-height:42px;
    font-size:13px;
  }

  .hero:has(#homeMap) .schedule-fields input{
    min-height:48px;
    font-size:14px;
  }

  .hero:has(#homeMap) .find-rides{
    min-height:54px;
    font-size:15px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .promo-row{
    min-height:47px;
    margin-top:9px;
    font-size:12px;
  }
}


/* ==========================================================================
   MEI VELOCITY — HEADER / BRAND REFINEMENT 3
   CSS-only. No HTML, JavaScript, booking, map, account or API logic changed.
   ========================================================================== */

@media (min-width:901px){

  /* Slightly more polished top navigation bar. */
  .hero:has(#homeMap) .app-topbar{
    height:82px;
    padding:10px 34px 10px 40px;
    background:rgba(255,255,255,.985);
    border-bottom:1px solid #eceeea;
    box-shadow:0 3px 18px rgba(24,31,25,.07);
  }

  .hero:has(#homeMap) .home-map,
  .hero:has(#homeMap) .hero-bg{
    top:82px;
  }

  .hero:has(#homeMap) .home-map{
    inset:82px 0 0 0;
  }

  .hero:has(#homeMap) .hero-bg{
    inset:82px 0 0 0;
  }

  /* Brand lock-up: existing logo image + VELOCITY + tagline.
     This does not replace the asset or change the HTML. */
  .hero:has(#homeMap) .app-brand{
    position:relative;
    width:365px;
    height:62px;
    padding:0 0 0 0;
    display:flex;
    align-items:center;
    overflow:visible;
  }

  .hero:has(#homeMap) .app-brand img{
    width:116px;
    height:58px;
    object-fit:contain;
    object-position:center;
    border-radius:0;
  }

  .hero:has(#homeMap) .app-brand::after{
    content:"VELOCITY";
    position:absolute;
    left:116px;
    top:9px;
    color:#ff7900;
    font-size:27px;
    line-height:1;
    font-weight:900;
    font-style:italic;
    letter-spacing:-.02em;
    white-space:nowrap;
  }

  .hero:has(#homeMap) .app-brand::before{
    content:"DRIVEN BY VALUES.\A DELIVERED WITH PRIDE.";
    position:absolute;
    left:120px;
    top:37px;
    color:#252a26;
    font-size:8px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.22em;
    white-space:pre;
  }

  /* Center shortcuts remain the same existing links/actions. */
  .hero:has(#homeMap) .app-shortcuts{
    top:9px;
    height:64px;
    gap:clamp(34px,4vw,72px);
  }

  .hero:has(#homeMap) .app-shortcuts a{
    position:relative;
    min-width:76px;
    color:#252a26;
    font-size:11px;
    font-weight:700;
    transition:color .18s ease,transform .18s ease;
  }

  .hero:has(#homeMap) .app-shortcuts a:hover{
    color:#ff7900;
    transform:translateY(-1px);
  }

  .hero:has(#homeMap) .shortcut-icon{
    width:34px;
    height:31px;
    color:#141815;
    font-size:19px;
    transition:color .18s ease;
  }

  .hero:has(#homeMap) .app-shortcuts a:hover .shortcut-icon{
    color:#ff7900;
  }

  /* Thin divider before the account area, matching the reference header. */
  .hero:has(#homeMap) .app-account{
    position:relative;
    width:48px;
    height:48px;
    margin-right:5px;
    overflow:visible;
    border:0;
    background:transparent;
    box-shadow:none;
    color:#171b18;
  }

  .hero:has(#homeMap) .app-account::after{
    content:"";
    position:absolute;
    top:3px;
    right:3px;
    width:10px;
    height:10px;
    border:2px solid #fff;
    border-radius:50%;
    background:#ff7900;
    box-shadow:0 1px 3px rgba(0,0,0,.12);
  }

  .hero:has(#homeMap) .app-topbar::before{
    content:"";
    position:absolute;
    right:98px;
    top:20px;
    width:1px;
    height:42px;
    background:#e1e4df;
  }

  /* Booking card moves down with the slightly taller header. */
  .hero:has(#homeMap) .bottom-sheet.route-mode{
    top:128px;
  }

  .hero:has(#homeMap) .map-locate{
    top:105px;
  }
}

/* Tablet/mobile: keep the compact existing logo treatment so the header
   does not become overcrowded on narrow screens. */
@media (max-width:900px){
  .hero:has(#homeMap) .app-brand::before{
    content:none;
  }

  .hero:has(#homeMap) .app-brand::after{
    content:none;
  }

  .hero:has(#homeMap) .app-account{
    position:relative;
    overflow:visible;
  }

  .hero:has(#homeMap) .app-account::after{
    content:"";
    position:absolute;
    top:1px;
    right:1px;
    width:9px;
    height:9px;
    border:2px solid #fff;
    border-radius:50%;
    background:#ff7900;
  }
}


/* ==========================================================================
   MEI VELOCITY — HEADER MATCH REFINEMENT 4
   CSS-only visual correction to more closely match the approved mockup.
   HTML structure, IDs, JavaScript, booking flow, maps, APIs and auth untouched.
   ========================================================================== */

@media (min-width:901px){

  /* HEADER PROPORTIONS */
  .hero:has(#homeMap) .app-topbar{
    height:94px;
    padding:11px 42px 11px 52px;
  }

  .hero:has(#homeMap) .home-map,
  .hero:has(#homeMap) .hero-bg{
    top:94px;
  }

  .hero:has(#homeMap) .home-map{
    inset:94px 0 0 0;
  }

  .hero:has(#homeMap) .hero-bg{
    inset:94px 0 0 0;
  }

  /* -----------------------------------------------------------------------
     BRAND LOCK-UP
     Crop the old square asset so the header reads visually as:
     [mei mark] VELOCITY
                tagline
     ----------------------------------------------------------------------- */
  .hero:has(#homeMap) .app-brand{
    width:390px;
    height:70px;
    display:block;
    position:relative;
    overflow:visible;
    padding:0;
  }

  .hero:has(#homeMap) .app-brand img{
    position:absolute;
    left:0;
    top:8px;
    width:105px;
    height:43px;
    max-width:none;
    max-height:none;
    object-fit:cover;
    object-position:center 5%;
    border-radius:0;
    clip-path:inset(0 0 17% 0);
    transform:scale(1.06);
    transform-origin:left top;
  }

  .hero:has(#homeMap) .app-brand::after{
    content:"VELOCITY";
    position:absolute;
    left:110px;
    top:13px;
    color:#ff7900;
    font-size:27px;
    line-height:1;
    font-weight:900;
    font-style:italic;
    letter-spacing:-.025em;
    white-space:nowrap;
  }

  .hero:has(#homeMap) .app-brand::before{
    content:"DRIVEN BY VALUES.\A DELIVERED WITH PRIDE.";
    position:absolute;
    left:112px;
    top:42px;
    color:#171b18;
    font-size:7.4px;
    line-height:1.28;
    font-weight:900;
    letter-spacing:.22em;
    white-space:pre;
  }

  /* -----------------------------------------------------------------------
     CENTER NAVIGATION
     Existing links and data-action attributes stay exactly the same.
     Only the icon artwork is replaced visually with CSS masks.
     ----------------------------------------------------------------------- */
  .hero:has(#homeMap) .app-shortcuts{
    top:9px;
    height:76px;
    gap:clamp(40px,4.8vw,82px);
  }

  .hero:has(#homeMap) .app-shortcuts a{
    min-width:78px;
    gap:5px;
    color:#202521;
    font-size:11px;
    font-weight:700;
  }

  .hero:has(#homeMap) .shortcut-icon{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    color:#111;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    font-size:0;
  }

  .hero:has(#homeMap) .shortcut-icon::before{
    content:"";
    display:block;
    width:25px;
    height:25px;
    background:currentColor;
    -webkit-mask-repeat:no-repeat;
    -webkit-mask-position:center;
    -webkit-mask-size:contain;
    mask-repeat:no-repeat;
    mask-position:center;
    mask-size:contain;
  }

  /* Schedule — clock */
  .hero:has(#homeMap) [data-action="schedule"] .shortcut-icon::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10.011 10.011 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8 8.009 8.009 0 0 1-8 8Zm1-9V6h-2v7h6v-2Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10.011 10.011 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8 8.009 8.009 0 0 1-8 8Zm1-9V6h-2v7h6v-2Z'/%3E%3C/svg%3E");
  }

  /* Deliveries — cube / package */
  .hero:has(#homeMap) [data-action="deliveries"] .shortcut-icon::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 1 9 5v12l-9 5-9-5V6Zm0 2.3L6.1 6.6 12 9.9l5.9-3.3ZM5 8.3v8.5l6 3.3v-8.5Zm8 11.8 6-3.3V8.3l-6 3.3Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 1 9 5v12l-9 5-9-5V6Zm0 2.3L6.1 6.6 12 9.9l5.9-3.3ZM5 8.3v8.5l6 3.3v-8.5Zm8 11.8 6-3.3V8.3l-6 3.3Z'/%3E%3C/svg%3E");
  }

  /* Shop — bag */
  .hero:has(#homeMap) [data-action="shop"] .shortcut-icon::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7V6a5 5 0 0 1 10 0v1h3l1 15H3L4 7Zm2 0h6V6a3 3 0 0 0-6 0Zm-3.1 2-.73 11h13.66L18.1 9H17v2h-2V9H9v2H7V9Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7V6a5 5 0 0 1 10 0v1h3l1 15H3L4 7Zm2 0h6V6a3 3 0 0 0-6 0Zm-3.1 2-.73 11h13.66L18.1 9H17v2h-2V9H9v2H7V9Z'/%3E%3C/svg%3E");
  }

  /* Pros — simple asterisk/star */
  .hero:has(#homeMap) [data-action="pros"] .shortcut-icon::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 2h2v7.17l5.07-5.07 1.42 1.42L14.42 10.6H22v2h-7.58l5.07 5.07-1.42 1.42L13 14.02V22h-2v-7.98l-5.07 5.07-1.42-1.42 5.07-5.07H2v-2h7.58L4.51 5.52 5.93 4.1 11 9.17Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 2h2v7.17l5.07-5.07 1.42 1.42L14.42 10.6H22v2h-7.58l5.07 5.07-1.42 1.42L13 14.02V22h-2v-7.98l-5.07 5.07-1.42-1.42 5.07-5.07H2v-2h7.58L4.51 5.52 5.93 4.1 11 9.17Z'/%3E%3C/svg%3E");
  }

  .hero:has(#homeMap) .app-shortcuts a:hover{
    color:#ff7900;
  }

  /* -----------------------------------------------------------------------
     ACCOUNT ICON
     Keep the exact same #accountButton click functionality.
     ----------------------------------------------------------------------- */
  .hero:has(#homeMap) .app-account{
    width:52px;
    height:52px;
    margin-right:4px;
    display:grid;
    place-items:center;
    border:0;
    background:transparent;
    color:#101411;
  }

  .hero:has(#homeMap) .app-account::before{
    width:38px;
    height:38px;
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 3a21 21 0 1 0 21 21A21.024 21.024 0 0 0 24 3Zm0 3a18 18 0 1 1-18 18A18.02 18.02 0 0 1 24 6Zm0 5a7 7 0 1 0 7 7 7.008 7.008 0 0 0-7-7Zm0 3a4 4 0 1 1-4 4 4 4 0 0 1 4-4Zm0 13c-6.45 0-12 3.36-12 8.3V37h3v-1.7c0-2.82 3.95-5.3 9-5.3s9 2.48 9 5.3V37h3v-1.7C36 30.36 30.45 27 24 27Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 3a21 21 0 1 0 21 21A21.024 21.024 0 0 0 24 3Zm0 3a18 18 0 1 1-18 18A18.02 18.02 0 0 1 24 6Zm0 5a7 7 0 1 0 7 7 7.008 7.008 0 0 0-7-7Zm0 3a4 4 0 1 1-4 4 4 4 0 0 1 4-4Zm0 13c-6.45 0-12 3.36-12 8.3V37h3v-1.7c0-2.82 3.95-5.3 9-5.3s9 2.48 9 5.3V37h3v-1.7C36 30.36 30.45 27 24 27Z'/%3E%3C/svg%3E");
  }

  .hero:has(#homeMap) .app-account::after{
    top:5px;
    right:3px;
    width:11px;
    height:11px;
    border:3px solid #fff;
    background:#ff7900;
  }

  .hero:has(#homeMap) .app-topbar::before{
    right:110px;
    top:23px;
    height:47px;
  }

  /* -----------------------------------------------------------------------
     BOOKING CARD PROPORTION
     Still compact, but closer to the approved design rather than undersized.
     ----------------------------------------------------------------------- */
  .hero:has(#homeMap) .bottom-sheet.route-mode{
    top:148px;
    left:42px;
    width:min(465px,calc(100vw - 84px));
    max-height:calc(100vh - 180px);
    padding:14px 26px 22px;
    border-radius:25px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode h1{
    font-size:30px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .sheet-subtitle{
    font-size:13.5px;
  }

  .hero:has(#homeMap) .map-locate{
    top:119px;
    right:28px;
  }
}

/* Keep current compact mobile/tablet behavior. */
@media (max-width:900px){
  .hero:has(#homeMap) .shortcut-icon{
    font-size:0;
  }

  .hero:has(#homeMap) .shortcut-icon::before{
    content:"";
    display:block;
    width:20px;
    height:20px;
    background:currentColor;
  }
}


/* ==========================================================================
   MEI VELOCITY — REAL HAMBURGER / MORE LINKS
   HTML + CSS navigation only. No JavaScript or booking-system behavior changed.
   ========================================================================== */

.app-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
}

.app-menu{
  position:relative;
  flex:none;
}

.app-menu>summary{
  list-style:none;
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:5px;
  cursor:pointer;
  background:transparent;
  color:#151915;
  -webkit-tap-highlight-color:transparent;
}

.app-menu>summary::-webkit-details-marker{
  display:none;
}

.app-menu>summary span{
  display:block;
  width:24px;
  height:2.5px;
  border-radius:4px;
  background:currentColor;
  transition:transform .18s ease,opacity .18s ease;
}

.app-menu[open]>summary span:nth-child(1){
  transform:translateY(7.5px) rotate(45deg);
}

.app-menu[open]>summary span:nth-child(2){
  opacity:0;
}

.app-menu[open]>summary span:nth-child(3){
  transform:translateY(-7.5px) rotate(-45deg);
}

.app-menu-panel{
  position:absolute;
  top:58px;
  right:0;
  z-index:1500;
  width:220px;
  padding:8px;
  display:grid!important;
  gap:3px!important;
  flex:none!important;
  justify-content:stretch!important;
  border:1px solid #e5e8e3;
  border-radius:16px;
  background:#fff;
  box-shadow:0 16px 45px rgba(20,28,21,.16);
}

.app-menu-panel a{
  display:flex;
  align-items:center;
  min-height:43px;
  padding:9px 12px;
  border-radius:10px;
  color:#202521!important;
  text-decoration:none;
  font-size:13px!important;
  font-weight:700!important;
  text-shadow:none!important;
  white-space:nowrap;
}

.app-menu-panel a:hover,
.app-menu-panel a:focus-visible{
  color:#d96100!important;
  background:#fff1e6;
}

@media (min-width:901px){
  .hero:has(#homeMap) .app-topbar{
    justify-content:flex-start;
  }

  .hero:has(#homeMap) .app-actions{
    position:relative;
    margin-left:auto;
    padding-left:22px;
    gap:6px;
  }

  /* Divider now belongs immediately before the account/menu controls. */
  .hero:has(#homeMap) .app-topbar::before{
    right:134px;
    top:23px;
    height:47px;
  }

  .hero:has(#homeMap) .app-menu>summary{
    width:50px;
    height:50px;
  }

  .hero:has(#homeMap) .app-menu>summary span{
    width:26px;
    height:2.5px;
  }

  .hero:has(#homeMap) .app-menu-panel{
    top:58px;
    right:-4px;
  }
}

@media (max-width:900px){
  .app-actions{
    gap:2px;
  }

  .app-menu>summary{
    width:42px;
    height:42px;
  }

  .app-menu>summary span{
    width:22px;
  }

  .app-menu-panel{
    top:49px;
    right:0;
    width:min(220px,calc(100vw - 28px));
  }
}


/* ==========================================================================
   MEI VELOCITY — INFORMATION PAGES
   Shared visual layer for Services, Vehicles, Fares, About and Contact.
   ========================================================================== */

.info-page{
  min-height:100vh;
  background:#f6f7f4;
  color:#171b18;
  font-family:Arial,Helvetica,sans-serif;
}

.info-header{
  position:sticky;
  top:0;
  z-index:100;
  min-height:82px;
  display:flex;
  align-items:center;
  gap:28px;
  padding:10px clamp(18px,4vw,52px);
  background:rgba(255,255,255,.98);
  border-bottom:1px solid #e6e9e4;
  box-shadow:0 2px 14px rgba(20,28,21,.06);
}

.info-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#171b18;
  text-decoration:none;
  min-width:245px;
}

.info-brand img{
  width:92px;
  height:54px;
  object-fit:contain;
}

.info-brand-text{
  display:grid;
  line-height:1;
}

.info-brand-text strong{
  color:#ff7900;
  font-size:24px;
  font-weight:900;
  font-style:italic;
}

.info-brand-text small{
  margin-top:5px;
  color:#202521;
  font-size:7px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.16em;
}

.info-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(14px,2.4vw,34px);
  flex:1;
}

.info-nav a{
  color:#353b36;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}

.info-nav a:hover,
.info-nav a[aria-current="page"]{
  color:#ff7900;
}

.book-link{
  flex:none;
  padding:12px 17px;
  border-radius:10px;
  background:#ff7900;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}

.info-shell{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto;
  padding:52px 0 64px;
}

.info-hero{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
  gap:28px;
  align-items:stretch;
  margin-bottom:34px;
}

.info-hero-copy,
.info-hero-visual{
  min-height:290px;
  border-radius:26px;
  overflow:hidden;
}

.info-hero-copy{
  padding:42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#0b1118;
  color:#fff;
}

.info-kicker{
  margin:0 0 9px;
  color:#ff7900;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.info-hero h1{
  margin:0;
  max-width:720px;
  font-size:clamp(36px,5vw,62px);
  line-height:.98;
  letter-spacing:-.045em;
}

.info-hero p{
  max-width:680px;
  margin:16px 0 0;
  color:#c8d0d7;
  font-size:16px;
  line-height:1.65;
}

.info-hero-visual{
  position:relative;
  background:#dfe5dc;
}

.info-hero-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.page-section{
  margin-top:28px;
}

.page-section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  margin-bottom:18px;
}

.page-section-head h2{
  margin:0;
  font-size:30px;
  letter-spacing:-.025em;
}

.page-section-head p{
  margin:0;
  max-width:520px;
  color:#6b736c;
  line-height:1.55;
}

.info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.info-card{
  overflow:hidden;
  border:1px solid #e0e5de;
  border-radius:20px;
  background:#fff;
  box-shadow:0 6px 20px rgba(27,35,28,.05);
}

.info-card img{
  width:100%;
  height:190px;
  object-fit:cover;
}

.info-card-body{
  padding:20px;
}

.info-card h3{
  margin:0 0 7px;
  font-size:18px;
}

.info-card p{
  margin:0;
  color:#68716a;
  line-height:1.55;
}

.info-card .card-link{
  display:inline-flex;
  margin-top:15px;
  color:#df6800;
  font-weight:800;
  text-decoration:none;
}

.vehicle-page-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.vehicle-page-card{
  padding:16px;
  border:1px solid #dfe4dd;
  border-radius:20px;
  background:#fff;
}

.vehicle-page-card img{
  width:100%;
  height:210px;
  border-radius:14px;
  object-fit:cover;
  background:#eef1ec;
}

.vehicle-page-card h2{
  margin:16px 0 7px;
  font-size:20px;
}

.vehicle-page-card p{
  margin:0;
  color:#697169;
  line-height:1.55;
}

.vehicle-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:14px;
}

.vehicle-meta span{
  padding:7px 9px;
  border-radius:20px;
  background:#f1f3ef;
  color:#4e564f;
  font-size:11px;
  font-weight:700;
}

.fare-layout,
.about-layout,
.contact-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.page-panel{
  padding:28px;
  border:1px solid #dfe4dd;
  border-radius:22px;
  background:#fff;
}

.page-panel h2{
  margin:0 0 18px;
  font-size:27px;
}

.page-panel p,
.page-panel li{
  color:#667067;
  line-height:1.65;
}

.price-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid #e7eae5;
}

.price-line:last-of-type{
  border-bottom:0;
}

.price-line strong:last-child{
  color:#ff7900;
  font-size:25px;
}

.area-list,
.value-list,
.contact-list{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.area-list li,
.value-list li,
.contact-list li{
  padding:12px 14px;
  border-radius:12px;
  background:#f6f8f4;
}

.about-value{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:start;
}

.about-value-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff0e4;
  color:#df6800;
  font-weight:900;
}

.contact-call{
  display:block;
  margin-top:18px;
  padding:15px 18px;
  border-radius:12px;
  background:#ff7900;
  color:#fff;
  text-decoration:none;
  text-align:center;
  font-weight:900;
}

.contact-secondary{
  display:block;
  margin-top:10px;
  padding:14px 18px;
  border:1px solid #dce2da;
  border-radius:12px;
  background:#fff;
  color:#263027;
  text-decoration:none;
  text-align:center;
  font-weight:800;
}

.info-footer{
  padding:24px 18px 34px;
  color:#737b73;
  text-align:center;
  font-size:12px;
}

@media(max-width:850px){
  .info-header{
    flex-wrap:wrap;
    gap:10px;
  }

  .info-brand{
    min-width:0;
    flex:1;
  }

  .info-brand-text small{
    display:none;
  }

  .info-nav{
    order:3;
    width:100%;
    justify-content:flex-start;
    overflow:auto;
    padding:3px 0 7px;
  }

  .info-nav a{
    flex:none;
  }

  .info-hero,
  .fare-layout,
  .about-layout,
  .contact-layout{
    grid-template-columns:1fr;
  }

  .info-hero-copy{
    min-height:250px;
    padding:30px;
  }

  .info-hero-visual{
    min-height:240px;
  }

  .info-grid,
  .vehicle-page-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:560px){
  .info-header{
    padding:9px 14px;
  }

  .info-brand img{
    width:70px;
    height:44px;
  }

  .info-brand-text strong{
    font-size:19px;
  }

  .book-link{
    padding:10px 12px;
    font-size:12px;
  }

  .info-shell{
    width:min(100% - 24px,1180px);
    padding-top:28px;
  }

  .info-hero-copy{
    min-height:220px;
    padding:24px;
  }

  .info-grid,
  .vehicle-page-grid{
    grid-template-columns:1fr;
  }

  .page-panel{
    padding:21px;
  }
}

/* === MEI ORANGE AUTH + WORKFLOW REFRESH 2026-10-03 === */
:root{
  --mei-green:#ff7900;
  --mei-green-dark:#d96100;
  --mei-orange:#ff7900;
  --mei-orange-dark:#d96100;
  --mei-orange-soft:#fff0e4;
  --mei-orange-soft-2:#fff7f1;
}

/* Remove the remaining legacy green appearance from customer-facing workflow UI. */
:focus-visible{outline-color:var(--mei-orange)!important}
.workflow-content>.primary-button,
.workflow-dialog>.primary-button,
.flow-button,
.rating-area button,
.ride-rating button,
.chat-form button,
.ride-tracker-actions #bookAnotherRideButton{
  background:var(--mei-orange)!important;
  border-color:var(--mei-orange)!important;
  color:#fff!important;
}
.workflow-content>.primary-button:hover,
.workflow-dialog>.primary-button:hover,
.flow-button:hover,
.rating-area button:hover,
.chat-form button:hover{
  background:var(--mei-orange-dark)!important;
}
.route-dot{border-color:var(--mei-orange)!important}
.route-dot.destination,.route-dot.dest{background:var(--mei-orange)!important;border-color:var(--mei-orange)!important}
.tracking-progress span.active{background:var(--mei-orange)!important}
.driver-marker{background:var(--mei-orange)!important}
.driver-avatar{background:var(--mei-orange-soft)!important}
.account-chip>button{background:var(--mei-orange-soft)!important;color:#9a4300!important}
.promo-badge{background:var(--mei-orange-soft)!important;color:#a84a00!important}
.ride-meta span{background:#fff4eb!important}
.driver-message-notice{border-color:#ffd0aa!important;background:#fff4ea!important;color:#7a3900!important}
.chat-message.mine{background:#ffe7d2!important}
.booking.booking-open .ride-step.active span{background:var(--mei-orange)!important;border-color:#e66d00!important;color:#fff!important}

/* Account / sign-in modal */
.auth-dialog{
  width:min(455px,calc(100vw - 28px));
  max-height:min(92dvh,820px);
  overflow:auto;
  border:1px solid #e7e8e6!important;
  border-radius:22px!important;
  background:#fff!important;
  color:#171b18!important;
  padding:26px 27px 24px!important;
  box-shadow:0 24px 90px rgba(0,0,0,.32)!important;
}
.auth-dialog::backdrop{background:rgba(8,12,10,.66)!important;backdrop-filter:blur(5px)}
.auth-dialog .dialog-close{z-index:4;right:15px;top:10px}
.auth-dialog .dialog-close button,.auth-dialog button.dialog-close{color:#3e4640!important}
.auth-brand{display:flex;justify-content:center;margin:0 auto 16px}
.auth-brand img{width:132px;height:62px;object-fit:contain;border-radius:10px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 0 20px;padding:3px;border:1px solid #e2e5e1;border-radius:10px;background:#f4f5f4}
.auth-tabs button{min-height:40px;border:0;border-radius:8px;background:transparent;color:#56605a;font-weight:800;cursor:pointer}
.auth-tabs button.active{background:var(--mei-orange);color:#fff;box-shadow:0 2px 8px rgba(255,121,0,.22)}
.auth-panel[hidden],.account-profile[hidden]{display:none!important}
.auth-panel h2,.account-profile h2{margin:0 0 5px!important;text-align:center;font-size:23px!important;color:#171b18!important}
.auth-panel>p,.account-profile>p{margin:0 0 18px!important;text-align:center;color:#737b75!important;font-size:13px!important;line-height:1.45!important}
.auth-panel label{display:block;margin:12px 0!important;color:#3f4742!important;font-size:12px!important;font-weight:700}
.auth-panel label>input,.password-field input{
  width:100%;min-height:48px;margin-top:6px;padding:11px 13px;border:1px solid #dfe3df!important;border-radius:9px!important;background:#fafbfa!important;color:#1d221f!important;font-size:15px!important;outline:none
}
.auth-panel input:focus,.password-field:focus-within{border-color:#ff9a4d!important;box-shadow:0 0 0 3px rgba(255,121,0,.10)}
.password-field{position:relative;display:block;margin-top:6px}
.password-field input{margin-top:0!important;padding-right:48px!important}
.password-field>button{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;background:transparent;color:#657069;cursor:pointer;font-size:16px}
.account-primary,.auth-dialog .primary-button{width:100%;min-height:48px;margin-top:9px;border:0;border-radius:9px;background:var(--mei-orange)!important;color:#fff!important;font-weight:900;cursor:pointer}
.account-primary:hover,.auth-dialog .primary-button:hover{background:var(--mei-orange-dark)!important}
.auth-secondary{width:100%;min-height:44px;border:1px solid var(--mei-orange);border-radius:9px;background:#fff;color:#c05200;font-weight:800;cursor:pointer}
.auth-text-button{display:block;margin:2px 0 7px auto;border:0;background:transparent;color:#c05200;font-size:12px;font-weight:800;text-decoration:underline;cursor:pointer}
.auth-centered{margin:13px auto 0}
.auth-divider{display:flex;align-items:center;gap:10px;margin:14px 0;color:#8a918c;font-size:12px}
.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:#e0e4e0}
.auth-phone-icon{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 15px;border-radius:17px;background:var(--mei-orange);color:#fff;font-size:20px;font-weight:900;letter-spacing:2px;box-shadow:0 8px 22px rgba(255,121,0,.22)}
.account-message{min-height:18px;margin:12px 0 0!important;text-align:center;color:#b94f00!important;font-size:12px!important;line-height:1.4}
.account-profile{text-align:center}
.profile-avatar{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:var(--mei-orange-soft);font-size:28px}
.account-profile .notification-pref{margin:18px 0!important;padding:12px;border-radius:10px;background:#fff5ec;color:#3d433f!important;text-align:left}
.account-signout{width:100%;min-height:45px;border:1px solid #e2e5e1;border-radius:9px;background:#f7f8f7;color:#333b35;font-weight:800;cursor:pointer}

/* Confirm/request ride page orange theme */
html[data-workflow="confirm"] body,html[data-workflow="ride"] body{background:#f7f7f6;color:#1e2320}
.workflow-header{border-bottom-color:#ebecea}
.workflow-card{border-color:#e5e7e4;box-shadow:0 7px 22px rgba(26,31,27,.05)}
.workflow-card:has(.price-row){border-top:3px solid var(--mei-orange)}
.price-input:focus{border-color:var(--mei-orange);box-shadow:0 0 0 3px rgba(255,121,0,.10);outline:none}
.account-chip{border-color:#f0dfd0;background:#fffaf6}
.tracking-progress span{background:#eceeeb}
.tracking-route,.rating-area{background:#faf8f6}
.tracking-actions a{background:#fff0e4;color:#9b4300}
.tracking-actions a:hover{background:#ffe3cc}
.map-status-pill{border:1px solid #ffe0c7}

/* Keep main landing/button accents orange even when older rules appear earlier in the file. */
.find-rides,.promo-entry button,.account-primary,.timing-choice.active + .timing-choice.active{accent-color:var(--mei-orange)}
.hero:has(#homeMap) .find-rides{background:var(--mei-orange)!important;color:#fff!important}
.hero:has(#homeMap) .trip-field::before{border-color:var(--mei-orange)!important}
.hero:has(#homeMap) .destination-field::before{background:var(--mei-orange)!important}

@media(max-width:520px){
  .auth-dialog{padding:22px 17px 20px!important;border-radius:18px!important}
  .auth-brand img{width:116px;height:54px}
  .auth-panel h2{font-size:21px!important}
}
/* Allow the password-recovery account modal to open above the ride-confirmation workflow. */
html[data-workflow="confirm"] #accountDialog[open]{display:block!important}


/* ==========================================================================
   MEI VELOCITY — CUSTOMER PHONE-FIRST UI
   Primary target: portrait phones and tablets.
   CSS-only: existing IDs, JavaScript, maps, booking flow, auth and API logic
   remain unchanged.
   ========================================================================== */

@media (max-width: 700px){

  html,
  body{
    width:100%;
    min-width:320px;
    max-width:100%;
    overflow-x:hidden;
    background:#f3f5f2;
  }

  body{
    overscroll-behavior-y:none;
  }

  /* -------------------------------------------------------
     HOME: FULL-SCREEN MAP + BOTTOM BOOKING SHEET
  ------------------------------------------------------- */

  .hero:has(#homeMap){
    position:relative;
    width:100%;
    height:100dvh;
    min-height:100dvh;
    padding:0;
    overflow:hidden;
    background:#e9ede7;
  }

  .hero:has(#homeMap) .hero-content{
    width:100%;
    height:100%;
    max-width:none;
    margin:0;
  }

  .hero:has(#homeMap) .home-map,
  .hero:has(#homeMap) .hero-bg{
    position:absolute;
    inset:0;
  }

  .hero:has(#homeMap) .home-map{
    z-index:1;
  }

  .hero:has(#homeMap) .hero-shade{
    display:none;
  }

  /* -------------------------------------------------------
     MOBILE APP HEADER
  ------------------------------------------------------- */

  .hero:has(#homeMap) .app-topbar{
    position:absolute;
    z-index:1000;
    top:max(10px,env(safe-area-inset-top));
    left:10px;
    right:10px;

    min-height:54px;
    padding:7px 8px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    border:1px solid rgba(255,255,255,.72);
    border-radius:17px;

    background:rgba(255,255,255,.94);
    box-shadow:0 7px 24px rgba(20,27,21,.13);
    backdrop-filter:blur(14px);
  }

  .hero:has(#homeMap) .app-brand{
    width:98px;
    height:40px;
    padding:0;
    border:0;
    border-radius:11px;
    background:transparent;
    box-shadow:none;
  }

  .hero:has(#homeMap) .app-brand img{
    width:100%;
    height:100%;
    object-fit:contain;
  }

  .hero:has(#homeMap) .app-actions{
    display:flex;
    align-items:center;
    gap:2px;
  }

  .hero:has(#homeMap) .app-account,
  .hero:has(#homeMap) .app-menu>summary{
    width:40px;
    height:40px;
    border-radius:12px;
    background:#f7f8f6;
    color:#171c18;
    border:0;
    box-shadow:none;
  }

  .hero:has(#homeMap) .app-account::before{
    width:23px;
    height:23px;
  }

  .hero:has(#homeMap) .app-account::after{
    width:7px;
    height:7px;
    top:3px;
    right:3px;
    border-width:2px;
  }

  .hero:has(#homeMap) .app-menu>summary span{
    width:19px;
    height:2px;
  }

  .hero:has(#homeMap) .app-menu-panel{
    top:47px;
    right:0;
    width:min(215px,calc(100vw - 24px));
    border-radius:15px;
  }

  /* -------------------------------------------------------
     HOME SHORTCUTS: ICON-FIRST, MINIMAL WORDS
  ------------------------------------------------------- */

  .hero:has(#homeMap) .app-shortcuts{
    position:absolute;
    z-index:900;
    top:calc(max(10px,env(safe-area-inset-top)) + 66px);
    left:10px;
    right:10px;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px;
  }

  .hero:has(#homeMap) .app-shortcuts a{
    min-width:0;
    padding:0;
    gap:3px;
    color:#29302b;
    text-shadow:none;
    font-size:8px;
    font-weight:800;
  }

  .hero:has(#homeMap) .shortcut-icon{
    width:39px;
    height:39px;
    border:1px solid rgba(25,35,26,.07);
    border-radius:13px;
    background:rgba(255,255,255,.94);
    color:#171c18;
    box-shadow:0 5px 16px rgba(20,28,21,.10);
  }

  .hero:has(#homeMap) .shortcut-icon::before{
    width:19px;
    height:19px;
  }

  /* Remove decorative place-name labels on phones */
  .hero:has(#homeMap) .map-label{
    display:none !important;
  }

  .hero:has(#homeMap) .map-location{
    top:auto;
    left:12px;
    right:auto;
    bottom:calc(min(56dvh,580px) + 16px);
    transform:none;

    max-width:58vw;
    padding:7px 10px;

    overflow:hidden;
    text-overflow:ellipsis;

    border-radius:14px;
    font-size:10px;
  }

  .hero:has(#homeMap) .map-location span:last-child{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .hero:has(#homeMap) .map-locate{
    top:auto;
    right:13px;
    bottom:calc(min(56dvh,580px) + 14px);

    width:43px;
    height:43px;

    border-radius:14px;
    font-size:20px;
  }

  /* -------------------------------------------------------
     PHONE BOOKING SHEET
  ------------------------------------------------------- */

  .hero:has(#homeMap) .bottom-sheet.route-mode{
    position:absolute;
    z-index:950;

    left:0;
    right:0;
    bottom:0;

    width:100%;
    max-height:min(56dvh,580px);

    padding:
      8px
      14px
      max(14px,env(safe-area-inset-bottom));

    overflow-x:hidden;
    overflow-y:auto;

    border:0;
    border-radius:24px 24px 0 0;

    background:#fff;
    color:#1d221e;

    box-shadow:0 -10px 34px rgba(24,31,25,.14);
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .sheet-handle{
    width:44px;
    height:5px;
    margin:0 auto 10px;
    background:#d3d8d2;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode h1{
    margin:0;
    font-size:21px;
    line-height:1.15;
    letter-spacing:-.035em;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .sheet-subtitle{
    margin:4px 0 10px;
    font-size:11px;
  }

  .hero:has(#homeMap) .trip-search{
    gap:7px;
    margin-top:0;
  }

  .hero:has(#homeMap) .trip-field{
    min-height:53px;
    padding:7px 43px 6px 39px;
    border-radius:13px;
    background:#f6f7f5;
  }

  .hero:has(#homeMap) .trip-field::before{
    left:13px;
    top:19px;
    width:11px;
    height:11px;
    border-width:3px;
  }

  .hero:has(#homeMap) .destination-field::before{
    width:11px;
    height:11px;
  }

  .hero:has(#homeMap) .trip-field>span{
    margin-bottom:0;
    font-size:9px;
  }

  .hero:has(#homeMap) .trip-field input{
    min-height:26px;
    font-size:16px;
  }

  .hero:has(#homeMap) .trip-field button{
    right:7px;
    width:32px;
    height:32px;
    font-size:17px;
  }

  .hero:has(#homeMap) .trip-timing{
    min-height:39px;
    padding:3px;
    border-radius:11px;
  }

  .hero:has(#homeMap) .timing-choice{
    min-height:35px;
    border-radius:9px;
    font-size:11px;
  }

  .hero:has(#homeMap) .schedule-fields{
    gap:6px;
  }

  .hero:has(#homeMap) .schedule-fields input{
    min-height:43px;
    padding:8px;
    font-size:13px;
  }

  .hero:has(#homeMap) .find-rides{
    min-height:46px;
    border-radius:13px;
    font-size:14px;
  }

  /* Keep legal/location text available but visually quiet */
  .hero:has(#homeMap) .location-disclosure{
    margin:0;
    font-size:8px;
    line-height:1.25;
    opacity:.72;
  }

  .hero:has(#homeMap) .trip-message:not(:empty){
    padding:6px 8px;
    border-radius:9px;
    font-size:10px;
  }

  .hero:has(#homeMap) .saved-locations{
    padding-top:5px;
  }

  .hero:has(#homeMap) .saved-locations>button{
    max-width:140px;
    padding:6px 9px;
    font-size:9px;
  }

  /* Hide secondary promo/support clutter on the main phone booking screen */
  .hero:has(#homeMap) .bottom-sheet.route-mode > .promo-row,
  .hero:has(#homeMap) .bottom-sheet.route-mode > .support-link{
    display:none !important;
  }

  /* -------------------------------------------------------
     RIDE OPTIONS
  ------------------------------------------------------- */

  .hero:has(#homeMap) .ride-quotes{
    margin-top:8px;
  }

  .hero:has(#homeMap) .quote-heading{
    margin-bottom:7px;
  }

  .hero:has(#homeMap) .quote-heading strong{
    font-size:13px;
  }

  .hero:has(#homeMap) .quote-heading small,
  .hero:has(#homeMap) .quote-heading button{
    font-size:9px;
  }

  .hero:has(#homeMap) .quote-cards{
    gap:6px;
  }

  .hero:has(#homeMap) .quote-card{
    min-height:55px;
    padding:8px 9px;
    gap:8px;
    border-radius:12px;
  }

  .hero:has(#homeMap) .quote-card .vehicle-symbol{
    width:36px;
    height:36px;
    border-radius:11px;
    font-size:18px;
  }

  .hero:has(#homeMap) .quote-info strong{
    font-size:12px;
  }

  .hero:has(#homeMap) .quote-info small{
    font-size:9px;
  }

  .hero:has(#homeMap) .quote-price{
    font-size:14px;
  }

  /* -------------------------------------------------------
     OLD EXPANDED BOOKING BLOCK
     Still functional if JS opens it, but phone-optimized.
  ------------------------------------------------------- */

  .hero:has(.booking.booking-open){
    min-height:100dvh;
    height:auto;
    overflow:visible;
  }

  .hero:has(.booking.booking-open) .hero-content{
    min-height:0;
    height:auto;
  }

  .hero:has(.booking.booking-open) .booking.booking-open{
    width:100%;
    min-height:100dvh;
    margin:0;
    padding:
      max(18px,env(safe-area-inset-top))
      14px
      max(24px,env(safe-area-inset-bottom));

    border-radius:0;
    background:#f5f7f3;
  }

  .booking.booking-open .booking-top{
    display:grid;
    gap:10px;
  }

  .booking.booking-open .booking-top h2{
    font-size:20px;
  }

  .booking.booking-open .tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:5px;
    margin:0;
  }

  .booking.booking-open .tabs button{
    min-height:42px;
    padding:8px;
    border-radius:10px;
    font-size:11px;
  }

  .booking.booking-open .inputs,
  .booking.booking-open .summary{
    grid-template-columns:1fr !important;
    gap:8px;
  }

  .booking.booking-open .field input,
  .booking.booking-open .field select,
  .booking.booking-open .summary select{
    width:100%;
    min-height:47px;
    font-size:16px;
  }

  .booking.booking-open .get-fare,
  .booking.booking-open .book-btn{
    width:100%;
    min-height:49px;
  }

  .booking.booking-open .summary>div{
    padding:11px;
  }

  /* -------------------------------------------------------
     ACCOUNT / AUTH AS PHONE BOTTOM SHEET
  ------------------------------------------------------- */

  .auth-dialog,
  .workflow-dialog{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    top:auto;

    width:100% !important;
    max-width:none !important;
    max-height:88dvh !important;

    margin:0 !important;
    padding:
      19px
      16px
      max(20px,env(safe-area-inset-bottom)) !important;

    border:0 !important;
    border-radius:24px 24px 0 0 !important;

    overflow-y:auto;
  }

  .auth-brand{
    margin-bottom:10px;
  }

  .auth-brand img{
    width:100px;
    height:46px;
  }

  .auth-tabs{
    margin-bottom:14px;
  }

  .auth-tabs button{
    min-height:38px;
    font-size:12px;
  }

  .auth-panel h2,
  .account-profile h2{
    font-size:20px !important;
  }

  .auth-panel>p,
  .account-profile>p{
    margin-bottom:13px !important;
    font-size:11px !important;
  }

  .auth-panel label{
    margin:9px 0 !important;
  }

  .auth-panel label>input,
  .password-field input{
    min-height:46px;
    font-size:16px !important;
  }

  .account-primary,
  .auth-secondary,
  .auth-dialog .primary-button{
    min-height:46px;
  }

  /* -------------------------------------------------------
     CONFIRM RIDE PAGE — ONE-HAND PHONE FLOW
  ------------------------------------------------------- */

  html[data-workflow="confirm"] body{
    background:#f4f5f3;
  }

  #confirmPage:not([hidden]){
    min-height:100dvh;
  }

  .workflow-header{
    position:sticky;
    top:0;
    z-index:50;

    height:56px;
    padding:
      max(7px,env(safe-area-inset-top))
      13px
      7px;

    background:rgba(255,255,255,.96);
  }

  .workflow-header .back-link{
    font-size:0;
  }

  .workflow-header .back-link::before{
    content:"←";
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border-radius:50%;
    background:#f2f4f1;
    font-size:20px;
  }

  .workflow-logo{
    width:75px;
    height:36px;
  }

  .workflow-content{
    width:100%;
    margin:0;
    padding:
      17px
      13px
      max(26px,env(safe-area-inset-bottom));
  }

  .workflow-content h1{
    font-size:23px;
  }

  .workflow-content>.lead{
    margin-bottom:12px;
    font-size:12px;
  }

  .workflow-card{
    margin:9px 0;
    padding:13px;
    border-radius:15px;
    box-shadow:none;
  }

  .route-row{
    padding:8px 0;
  }

  .route-row strong{
    font-size:13px;
  }

  .ride-meta{
    gap:5px;
    margin-top:8px;
  }

  .ride-meta span{
    padding:5px 8px;
    font-size:10px;
  }

  .price-row strong{
    font-size:21px;
  }

  .price-input{
    min-height:48px;
    font-size:17px;
  }

  .account-chip{
    padding:11px;
  }

  .account-chip>strong{
    font-size:11px;
  }

  .workflow-content>.primary-button{
    min-height:52px;
    border-radius:14px;
    font-size:14px;
  }

  /* -------------------------------------------------------
     LIVE RIDE TRACKING — MAP FIRST
  ------------------------------------------------------- */

  html[data-workflow="ride"] body{
    background:#eef1ec;
  }

  #ridePage:not([hidden]){
    display:block;
    width:100%;
    min-height:100dvh;
  }

  .tracking-header{
    position:absolute;
    z-index:700;
    top:max(10px,env(safe-area-inset-top));
    left:10px;
  }

  .tracking-home{
    width:42px;
    height:42px;
    padding:0;
    display:grid;
    place-items:center;

    border-radius:50%;
    font-size:0;

    box-shadow:0 5px 18px rgba(20,28,21,.15);
  }

  .tracking-home::before{
    content:"←";
    font-size:20px;
  }

  .tracking-map{
    height:58dvh;
    min-height:330px;
  }

  .map-status-pill{
    top:max(12px,env(safe-area-inset-top));
    max-width:64vw;

    overflow:hidden;
    text-overflow:ellipsis;

    padding:8px 11px;
    font-size:10px;
  }

  .tracking-sheet{
    width:100%;
    margin:-22px 0 0;
    padding:
      16px
      14px
      max(22px,env(safe-area-inset-bottom));

    border-radius:23px 23px 0 0;
  }

  .tracking-sheet h1{
    font-size:20px;
  }

  .tracking-subtitle{
    font-size:11px;
  }

  .tracking-progress{
    gap:4px;
    margin:12px 0;
  }

  .tracking-progress span{
    height:5px;
  }

  .driver-panel{
    grid-template-columns:43px 1fr auto;
    gap:9px;
    padding:10px;
    border-radius:13px;
  }

  .driver-avatar{
    width:42px;
    height:42px;
    font-size:20px;
  }

  .driver-detail small{
    font-size:9px;
  }

  .driver-detail strong{
    font-size:13px;
  }

  .plate-chip{
    padding:5px 7px;
    font-size:10px;
  }

  .tracking-route{
    gap:7px;
    margin:10px 0;
    padding:10px;
    border-radius:12px;
  }

  .tracking-route>div{
    font-size:11px;
  }

  .tracking-actions{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
  }

  .tracking-actions>*{
    min-height:44px !important;
    padding:6px !important;
    font-size:10px !important;
    text-align:center;
  }

  .driver-message-notice{
    margin:8px 0;
    padding:9px 10px;
    font-size:10px;
  }

  .ride-chat{
    margin:9px 0;
    padding:10px;
  }

  .ride-chat h2{
    font-size:15px;
  }

  .chat-messages{
    max-height:160px;
  }

  .chat-form{
    grid-template-columns:minmax(0,1fr) 46px;
    gap:6px;
  }

  .chat-form input{
    min-height:43px;
    font-size:16px;
  }

  .chat-form button{
    width:46px;
    min-width:46px;
    min-height:43px;
    padding:0;
    font-size:0;
  }

  .chat-form button::before{
    content:"➤";
    font-size:17px;
  }
}


/* Very small portrait phones */
@media (max-width: 380px){

  .hero:has(#homeMap) .app-brand{
    width:88px;
  }

  .hero:has(#homeMap) .app-shortcuts{
    gap:3px;
  }

  .hero:has(#homeMap) .shortcut-icon{
    width:36px;
    height:36px;
  }

  .hero:has(#homeMap) .app-shortcuts a{
    font-size:7px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode{
    max-height:58dvh;
    padding-left:11px;
    padding-right:11px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode h1{
    font-size:19px;
  }

  .tracking-map{
    height:55dvh;
  }

  .tracking-actions{
    grid-template-columns:1fr 1fr;
  }
}


/* Tablets: preserve the phone-first visual language without stretching it */
@media (min-width:701px) and (max-width:1024px){

  .hero:has(#homeMap) .app-topbar{
    top:max(16px,env(safe-area-inset-top));
    left:18px;
    right:18px;
  }

  .hero:has(#homeMap) .app-shortcuts{
    top:86px;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode{
    left:50%;
    right:auto;
    bottom:18px;

    width:min(620px,calc(100% - 36px));
    max-height:68dvh;

    transform:translateX(-50%);

    border:1px solid #e6e9e4;
    border-radius:25px;
  }

  .hero:has(#homeMap) .map-location{
    bottom:28px;
  }

  .hero:has(#homeMap) .map-locate{
    bottom:28px;
  }

  .workflow-content{
    width:min(calc(100% - 40px),680px);
  }

  .tracking-map{
    height:58dvh;
  }

  .tracking-sheet{
    width:min(calc(100% - 36px),700px);
    margin:-24px auto 0;
  }
}


/* ==========================================================================
   MOBILE HEADER FIX — DESKTOP-STYLE BAR, NO MAP OVERLAP
   Keeps the existing HTML and JavaScript intact.
   ========================================================================== */

@media (max-width:700px){

  /* Reserve real page space for the mobile header instead of floating it
     on top of the map. */
  .hero:has(#homeMap){
    padding-top:126px !important;
    background:#fff;
  }

  .hero:has(#homeMap) .hero-content{
    height:calc(100dvh - 126px) !important;
  }

  /* Full-width white header like desktop */
  .hero:has(#homeMap) .app-topbar{
    position:absolute !important;
    z-index:1200 !important;

    top:0 !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
    height:68px !important;
    min-height:68px !important;

    margin:0 !important;
    padding:
      max(8px,env(safe-area-inset-top))
      14px
      8px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    border:0 !important;
    border-bottom:1px solid #e7e9e5 !important;
    border-radius:0 !important;

    background:#fff !important;

    box-shadow:
      0 2px 10px
      rgba(20,28,21,.06) !important;

    backdrop-filter:none !important;
  }

  .hero:has(#homeMap) .app-brand{
    width:108px !important;
    height:48px !important;

    display:flex !important;
    align-items:center !important;

    padding:0 !important;

    border:0 !important;
    border-radius:0 !important;

    background:transparent !important;
    box-shadow:none !important;
  }

  .hero:has(#homeMap) .app-brand img{
    width:108px !important;
    height:48px !important;

    object-fit:contain !important;
    object-position:left center !important;
  }

  .hero:has(#homeMap) .app-actions{
    display:flex !important;
    align-items:center !important;
    gap:3px !important;
  }

  .hero:has(#homeMap) .app-account,
  .hero:has(#homeMap) .app-menu>summary{
    width:42px !important;
    height:42px !important;

    border:0 !important;
    border-radius:50% !important;

    background:transparent !important;
    box-shadow:none !important;

    color:#171b18 !important;
  }

  /* Put the same four shortcut actions in a dedicated white nav strip.
     They are no longer floating over the map. */
  .hero:has(#homeMap) .app-shortcuts{
    position:absolute !important;
    z-index:1100 !important;

    top:68px !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
    height:58px !important;

    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    align-items:center !important;

    gap:0 !important;
    padding:4px 8px 6px !important;

    background:#fff !important;
    border-bottom:1px solid #e7e9e5 !important;

    box-shadow:
      0 2px 8px
      rgba(20,28,21,.04) !important;
  }

  .hero:has(#homeMap) .app-shortcuts a{
    min-width:0 !important;
    height:48px !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;

    gap:2px !important;

    color:#252a26 !important;
    text-shadow:none !important;

    font-size:8px !important;
    font-weight:700 !important;
  }

  .hero:has(#homeMap) .shortcut-icon{
    width:25px !important;
    height:25px !important;

    display:grid !important;
    place-items:center !important;

    border:0 !important;
    border-radius:0 !important;

    background:transparent !important;
    box-shadow:none !important;

    color:#171b18 !important;
  }

  .hero:has(#homeMap) .shortcut-icon::before{
    width:18px !important;
    height:18px !important;
  }

  /* The actual map starts below the two-row header. */
  .hero:has(#homeMap) .home-map,
  .hero:has(#homeMap) .hero-bg{
    top:126px !important;
    bottom:0 !important;
  }

  /* Keep menu anchored to the top bar */
  .hero:has(#homeMap) .app-menu-panel{
    top:49px !important;
    right:0 !important;
  }

  /* Map controls now sit inside the map, below the header. */
  .hero:has(#homeMap) .map-locate{
    right:13px !important;
    top:142px !important;
    bottom:auto !important;
  }

  .hero:has(#homeMap) .map-location{
    top:142px !important;
    left:13px !important;
    right:auto !important;
    bottom:auto !important;

    max-width:calc(100vw - 76px) !important;
  }

  /* Booking sheet stays attached to the bottom of the phone screen */
  .hero:has(#homeMap) .bottom-sheet.route-mode{
    bottom:0 !important;
  }
}


/* Narrow phones: keep the same structure, only reduce branding slightly. */
@media (max-width:380px){

  .hero:has(#homeMap){
    padding-top:120px !important;
  }

  .hero:has(#homeMap) .hero-content{
    height:calc(100dvh - 120px) !important;
  }

  .hero:has(#homeMap) .app-topbar{
    height:64px !important;
    min-height:64px !important;
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .hero:has(#homeMap) .app-brand{
    width:92px !important;
    height:44px !important;
  }

  .hero:has(#homeMap) .app-brand img{
    width:92px !important;
    height:44px !important;
  }

  .hero:has(#homeMap) .app-account,
  .hero:has(#homeMap) .app-menu>summary{
    width:38px !important;
    height:38px !important;
  }

  .hero:has(#homeMap) .app-shortcuts{
    top:64px !important;
    height:56px !important;
  }

  .hero:has(#homeMap) .home-map,
  .hero:has(#homeMap) .hero-bg{
    top:120px !important;
  }

  .hero:has(#homeMap) .map-locate,
  .hero:has(#homeMap) .map-location{
    top:136px !important;
  }
}


/* ==========================================================================
   MEI VELOCITY CUSTOMER — APPROVED PHONE DESIGN
   Visual-only layer. No backend, API, booking, auth, location, map or
   ride-tracking JavaScript is changed.
   ========================================================================== */

@media (max-width:700px){

  :root{
    --mobile-header-h:76px;
    --mobile-tabs-h:72px;
    --mobile-top-total:148px;
    --mei-orange:#ff7900;
    --mei-orange-dark:#e76800;
    --mei-ink:#141814;
    --mei-soft:#f4f5f3;
    --mei-border:#e5e7e4;
  }

  html,
  body{
    width:100%;
    min-width:320px;
    max-width:100%;
    margin:0;
    overflow-x:hidden;
    background:#fff;
  }

  /* ========== APP FRAME ========== */

  .hero:has(#homeMap){
    position:relative;
    width:100%;
    height:100dvh !important;
    min-height:100dvh !important;
    padding:0 !important;
    overflow:hidden !important;
    background:#eef1ec;
  }

  .hero:has(#homeMap) .hero-content{
    position:relative;
    width:100%;
    height:100% !important;
    min-height:0 !important;
    max-width:none;
    margin:0;
  }

  /* ========== DESKTOP-LIKE WHITE TOP BAR ========== */

  .hero:has(#homeMap) .app-topbar{
    position:absolute !important;
    z-index:1600 !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
    height:var(--mobile-header-h) !important;
    min-height:var(--mobile-header-h) !important;

    margin:0 !important;
    padding:
      max(10px,env(safe-area-inset-top))
      16px
      9px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    border:0 !important;
    border-bottom:1px solid #eceeeb !important;
    border-radius:0 !important;

    background:rgba(255,255,255,.985) !important;
    box-shadow:0 2px 10px rgba(21,28,22,.055) !important;
    backdrop-filter:blur(14px);
  }

  /* Replace the old image visually with the clean M + MEI VELOCITY lock-up.
     The original image remains in the HTML, so no asset dependency is removed. */
  .hero:has(#homeMap) .app-brand{
    position:relative !important;
    width:190px !important;
    height:48px !important;
    min-width:0 !important;

    display:flex !important;
    align-items:center !important;

    padding:0 !important;

    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;

    overflow:visible !important;
    text-decoration:none !important;
  }

  .hero:has(#homeMap) .app-brand img{
    position:absolute;
    width:1px !important;
    height:1px !important;
    opacity:0 !important;
    pointer-events:none;
  }

  .hero:has(#homeMap) .app-brand::before{
    content:"M";
    position:static !important;

    width:44px;
    height:44px;

    display:grid;
    place-items:center;

    margin-right:10px;

    color:var(--mei-orange);
    background:transparent;

    font-size:35px;
    line-height:1;
    font-weight:1000;
    font-style:normal;
    letter-spacing:-6px;
    white-space:normal;
  }

  .hero:has(#homeMap) .app-brand::after{
    content:"MEI VELOCITY";
    position:static !important;

    color:#161a17;

    font-size:17px;
    line-height:1;
    font-weight:900;
    font-style:normal;
    letter-spacing:.02em;
    white-space:nowrap;
  }

  .hero:has(#homeMap) .app-actions{
    display:flex !important;
    align-items:center !important;
    gap:4px !important;
    margin-left:auto !important;
  }

  .hero:has(#homeMap) .app-account,
  .hero:has(#homeMap) .app-menu>summary{
    width:43px !important;
    height:43px !important;

    display:grid !important;
    place-items:center !important;

    border:0 !important;
    border-radius:50% !important;

    background:#f4f5f3 !important;
    color:#121613 !important;
    box-shadow:none !important;
  }

  .hero:has(#homeMap) .app-account::before{
    width:24px !important;
    height:24px !important;
  }

  .hero:has(#homeMap) .app-account::after{
    top:2px !important;
    right:2px !important;
    width:8px !important;
    height:8px !important;
    border:2px solid #fff !important;
    background:var(--mei-orange) !important;
  }

  .hero:has(#homeMap) .app-menu>summary{
    border-radius:12px !important;
    background:#fff !important;
  }

  .hero:has(#homeMap) .app-menu>summary span{
    width:22px !important;
    height:2.4px !important;
    background:#121613 !important;
  }

  .hero:has(#homeMap) .app-menu-panel{
    top:50px !important;
    right:0 !important;
    width:min(220px,calc(100vw - 24px)) !important;
    border-radius:16px !important;
  }

  /* ========== FIVE-TAB SERVICE BAR ========== */

  .hero:has(#homeMap) .app-shortcuts{
    position:absolute !important;
    z-index:1500 !important;

    top:var(--mobile-header-h) !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
    height:var(--mobile-tabs-h) !important;

    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    align-items:stretch !important;

    gap:0 !important;
    padding:4px 6px 0 !important;

    background:#fff !important;
    border-bottom:1px solid #e9ebe8 !important;
    box-shadow:0 2px 8px rgba(22,29,23,.045) !important;
  }

  .hero:has(#homeMap) .app-shortcuts a{
    position:relative;

    min-width:0 !important;
    height:67px !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;

    gap:4px !important;

    padding:3px 1px 7px !important;

    color:#151915 !important;
    text-shadow:none !important;
    text-decoration:none !important;

    font-size:9px !important;
    font-weight:650 !important;
  }

  .hero:has(#homeMap) .app-shortcuts a.shortcut-active{
    color:var(--mei-orange) !important;
    font-weight:850 !important;
  }

  .hero:has(#homeMap) .app-shortcuts a.shortcut-active::after{
    content:"";
    position:absolute;
    left:17%;
    right:17%;
    bottom:0;

    height:4px;
    border-radius:5px 5px 0 0;

    background:var(--mei-orange);
  }

  .hero:has(#homeMap) .shortcut-icon{
    width:38px !important;
    height:34px !important;

    display:grid !important;
    place-items:center !important;

    border:0 !important;
    border-radius:10px !important;

    background:#f6f7f5 !important;
    color:#111 !important;

    box-shadow:none !important;

    font-size:0 !important;
  }

  .hero:has(#homeMap) .shortcut-active .shortcut-icon{
    color:var(--mei-orange) !important;
    background:#fff4eb !important;
  }

  .hero:has(#homeMap) .shortcut-icon::before{
    content:"";
    display:block;
    width:22px !important;
    height:22px !important;

    background:currentColor;

    -webkit-mask-repeat:no-repeat;
    -webkit-mask-position:center;
    -webkit-mask-size:contain;

    mask-repeat:no-repeat;
    mask-position:center;
    mask-size:contain;
  }

  /* Ride — car */
  .hero:has(#homeMap) [data-action="ride"] .shortcut-icon::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.4 5h13.2l2.1 6H22v8h-2v2h-3v-2H7v2H4v-2H2v-8h1.3ZM7 7l-1.4 4h12.8L17 7Zm-1 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm12 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.4 5h13.2l2.1 6H22v8h-2v2h-3v-2H7v2H4v-2H2v-8h1.3ZM7 7l-1.4 4h12.8L17 7Zm-1 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm12 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
  }

  /* Schedule — calendar/clock */
  .hero:has(#homeMap) [data-action="schedule"] .shortcut-icon::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3v18H4V4h3Zm11 8H6v10h12Zm-6 1a4 4 0 1 1-4 4 4 4 0 0 1 4-4Zm1 2h-2v3h3v-2h-1Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3v18H4V4h3Zm11 8H6v10h12Zm-6 1a4 4 0 1 1-4 4 4 4 0 0 1 4-4Zm1 2h-2v3h3v-2h-1Z'/%3E%3C/svg%3E");
  }

  /* Deliveries — package */
  .hero:has(#homeMap) [data-action="deliveries"] .shortcut-icon::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 9 5v10l-9 5-9-5V7Zm0 2.3L6.4 7.4 12 10.5l5.6-3.1ZM5 9v6.8l6 3.3v-6.8Zm8 10.1 6-3.3V9l-6 3.3Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 9 5v10l-9 5-9-5V7Zm0 2.3L6.4 7.4 12 10.5l5.6-3.1ZM5 9v6.8l6 3.3v-6.8Zm8 10.1 6-3.3V9l-6 3.3Z'/%3E%3C/svg%3E");
  }

  /* Shop — cart */
  .hero:has(#homeMap) [data-action="shop"] .shortcut-icon::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 3h3l2.3 11.5A2 2 0 0 0 9.3 16H18a2 2 0 0 0 1.9-1.4L22 7H7l-.4-2H2Zm8 15a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 3h3l2.3 11.5A2 2 0 0 0 9.3 16H18a2 2 0 0 0 1.9-1.4L22 7H7l-.4-2H2Zm8 15a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
  }

  /* Corporate — briefcase */
  .hero:has(#homeMap) [data-action="pros"] .shortcut-icon::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6a2 2 0 0 1 2 2v2h4v14H3V7h4V5a2 2 0 0 1 2-2Zm0 4h6V5H9Zm-4 6v6h14v-6h-5v2h-4v-2Zm14-4H5v2h5v-1h4v1h5Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6a2 2 0 0 1 2 2v2h4v14H3V7h4V5a2 2 0 0 1 2-2Zm0 4h6V5H9Zm-4 6v6h14v-6h-5v2h-4v-2Zm14-4H5v2h5v-1h4v1h5Z'/%3E%3C/svg%3E");
  }

  /* ========== MAP ========== */

  .hero:has(#homeMap) .home-map,
  .hero:has(#homeMap) .hero-bg{
    position:absolute !important;
    top:var(--mobile-top-total) !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
  }

  .hero:has(#homeMap) .home-map{
    z-index:1;
    background:#e8ede6;
  }

  .hero:has(#homeMap) .hero-bg,
  .hero:has(#homeMap) .hero-shade,
  .hero:has(#homeMap) .map-label{
    display:none !important;
  }

  /* Only keep one real working location control. */
  .hero:has(#homeMap) .map-locate{
    position:absolute !important;
    z-index:800 !important;

    top:calc(var(--mobile-top-total) + 20px) !important;
    right:14px !important;
    bottom:auto !important;

    width:48px !important;
    height:48px !important;

    border:1px solid #e7e9e5 !important;
    border-radius:50% !important;

    background:#fff !important;
    color:#161a17 !important;

    box-shadow:0 7px 20px rgba(19,27,20,.15) !important;

    font-size:23px !important;
  }

  .hero:has(#homeMap) .map-location{
    position:absolute !important;
    z-index:800 !important;

    top:auto !important;
    left:14px !important;
    right:auto !important;

    /* Sit above the bottom sheet. */
    bottom:min(54dvh,560px) !important;

    max-width:62vw !important;
    padding:8px 11px !important;

    transform:none !important;

    overflow:hidden;

    border:1px solid #e7e9e5 !important;
    border-radius:18px !important;

    background:#fff !important;
    color:#303632 !important;

    box-shadow:0 5px 18px rgba(21,29,22,.13) !important;

    font-size:10px !important;
  }

  .hero:has(#homeMap) .map-location span:last-child{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  /* ========== BOTTOM SHEET ========== */

  .hero:has(#homeMap) .bottom-sheet.route-mode{
    position:absolute !important;
    z-index:1000 !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    width:100% !important;
    max-height:min(54dvh,560px) !important;

    padding:
      8px
      14px
      max(13px,env(safe-area-inset-bottom)) !important;

    overflow-x:hidden !important;
    overflow-y:auto !important;

    border:0 !important;
    border-radius:25px 25px 0 0 !important;

    background:#fff !important;
    color:var(--mei-ink) !important;

    box-shadow:0 -8px 28px rgba(22,30,23,.13) !important;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode .sheet-handle{
    width:48px !important;
    height:5px !important;
    margin:0 auto 10px !important;

    border:0 !important;
    border-radius:8px !important;

    background:#b6bbb7 !important;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode h1{
    margin:0 0 10px !important;

    color:#111511 !important;

    font-size:25px !important;
    line-height:1.08 !important;
    font-weight:900 !important;
    letter-spacing:-.045em !important;
  }

  /* The approved design is intentionally cleaner: subtitle stays in DOM
     for semantics but is not visually repeated. */
  .hero:has(#homeMap) .bottom-sheet.route-mode .sheet-subtitle{
    display:none !important;
  }

  .hero:has(#homeMap) .trip-search{
    display:grid !important;
    gap:7px !important;
    margin:0 !important;
  }

  .hero:has(#homeMap) .trip-field{
    min-height:58px !important;
    padding:8px 43px 7px 43px !important;

    border:1px solid #e2e5e1 !important;
    border-radius:15px !important;

    background:#f8f9f7 !important;
  }

  .hero:has(#homeMap) .trip-field::before{
    left:14px !important;
    top:21px !important;

    width:13px !important;
    height:13px !important;

    border:3px solid var(--mei-orange) !important;
  }

  .hero:has(#homeMap) .destination-field::before{
    width:13px !important;
    height:13px !important;

    border:0 !important;
    border-radius:3px !important;

    background:var(--mei-orange) !important;
  }

  .hero:has(#homeMap) .trip-field>span{
    margin:0 0 1px !important;

    color:#727973 !important;

    font-size:9px !important;
  }

  .hero:has(#homeMap) .trip-field input{
    width:100% !important;
    min-height:28px !important;

    color:#222722 !important;

    font-size:16px !important;
    line-height:1.2 !important;
  }

  .hero:has(#homeMap) .trip-field input::placeholder{
    color:#8d938f !important;
  }

  .hero:has(#homeMap) .trip-field button{
    right:7px !important;
    top:50% !important;

    width:34px !important;
    height:34px !important;

    transform:translateY(-50%) !important;

    border:0 !important;
    border-radius:50% !important;

    background:#fff0e4 !important;
    color:#d85f00 !important;

    font-size:18px !important;
  }

  /* Ride now / Schedule */
  .hero:has(#homeMap) .trip-timing{
    min-height:46px !important;

    display:grid !important;
    grid-template-columns:1fr 1fr !important;

    gap:5px !important;
    padding:3px !important;

    border-radius:13px !important;

    background:#f1f3f0 !important;
  }

  .hero:has(#homeMap) .timing-choice{
    min-height:40px !important;

    border:0 !important;
    border-radius:11px !important;

    background:transparent !important;
    color:#505750 !important;

    font-size:11px !important;
    font-weight:800 !important;
  }

  .hero:has(#homeMap) .timing-choice.active{
    color:#fff !important;
    background:#171c18 !important;
    box-shadow:none !important;
  }

  .hero:has(#homeMap) .timing-choice[data-when="now"]::before{
    content:"🚕";
    margin-right:6px;
  }

  .hero:has(#homeMap) .timing-choice[data-when="later"]::before{
    content:"▣";
    margin-right:6px;
  }

  .hero:has(#homeMap) .schedule-fields{
    gap:6px !important;
  }

  .hero:has(#homeMap) .schedule-fields input{
    min-height:43px !important;
    padding:8px 10px !important;

    border:1px solid #e2e5e1 !important;
    border-radius:11px !important;

    background:#fff !important;
    color:#222722 !important;

    font-size:13px !important;
  }

  .hero:has(#homeMap) .find-rides{
    min-height:51px !important;

    border:0 !important;
    border-radius:14px !important;

    background:var(--mei-orange) !important;
    color:#fff !important;

    box-shadow:0 7px 18px rgba(255,121,0,.20) !important;

    font-size:15px !important;
    font-weight:900 !important;
  }

  .hero:has(#homeMap) .find-rides::after{
    content:"→" !important;
    margin-left:10px !important;
    font-size:19px !important;
  }

  /* Less instructional copy on the main phone screen. */
  .hero:has(#homeMap) .location-disclosure{
    display:none !important;
  }

  .hero:has(#homeMap) .trip-message{
    margin:0 !important;
    min-height:0 !important;

    color:#b65000 !important;

    font-size:9px !important;
    line-height:1.3 !important;
  }

  .hero:has(#homeMap) .trip-message:empty{
    display:none !important;
  }

  .hero:has(#homeMap) .saved-locations{
    min-height:33px !important;

    display:flex !important;
    align-items:center !important;

    gap:6px !important;
    padding:2px 0 0 !important;

    overflow-x:auto !important;
    scrollbar-width:none;
  }

  .hero:has(#homeMap) .saved-locations::-webkit-scrollbar{
    display:none;
  }

  .hero:has(#homeMap) .saved-locations>small{
    flex:none !important;

    color:#727873 !important;

    font-size:9px !important;
  }

  .hero:has(#homeMap) .saved-locations>small::before{
    content:"◷ ";
  }

  .hero:has(#homeMap) .saved-locations>button{
    flex:none !important;
    max-width:145px !important;

    padding:7px 10px !important;

    border:1px solid #e5e7e4 !important;
    border-radius:18px !important;

    background:#f6f7f5 !important;
    color:#3d433e !important;

    font-size:9px !important;
  }

  /* Secondary marketing rows are intentionally hidden on the phone booking
     screen; their pages/links still exist in the menu and tabs. */
  .hero:has(#homeMap) .bottom-sheet.route-mode > .promo-row,
  .hero:has(#homeMap) .bottom-sheet.route-mode > .support-link{
    display:none !important;
  }

  /* ========== VEHICLE CHOICES ========== */

  .hero:has(#homeMap) .ride-quotes{
    margin-top:6px !important;
  }

  .hero:has(#homeMap) .quote-heading{
    margin-bottom:6px !important;
  }

  .hero:has(#homeMap) .quote-heading strong{
    font-size:13px !important;
  }

  .hero:has(#homeMap) .quote-heading small,
  .hero:has(#homeMap) .quote-heading button{
    font-size:9px !important;
  }

  .hero:has(#homeMap) .quote-cards{
    gap:6px !important;
  }

  .hero:has(#homeMap) .quote-card{
    min-height:56px !important;

    gap:8px !important;
    padding:8px 9px !important;

    border:1px solid #e2e5e1 !important;
    border-radius:13px !important;

    background:#fff !important;
  }

  .hero:has(#homeMap) .quote-card.selected{
    border-color:var(--mei-orange) !important;
    background:#fff8f2 !important;
  }

  .hero:has(#homeMap) .quote-card .vehicle-symbol{
    width:37px !important;
    height:37px !important;

    border-radius:11px !important;

    background:#fff0e4 !important;

    font-size:19px !important;
  }

  .hero:has(#homeMap) .quote-info strong{
    font-size:12px !important;
  }

  .hero:has(#homeMap) .quote-info small{
    font-size:9px !important;
  }

  .hero:has(#homeMap) .quote-price{
    font-size:14px !important;
  }

  /* ========== ACCOUNT DIALOG ========== */

  .auth-dialog,
  .workflow-dialog{
    position:fixed !important;

    top:auto !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    width:100% !important;
    max-width:none !important;
    max-height:88dvh !important;

    margin:0 !important;

    padding:
      18px
      16px
      max(20px,env(safe-area-inset-bottom)) !important;

    border:0 !important;
    border-radius:24px 24px 0 0 !important;

    overflow-y:auto !important;

    background:#fff !important;
  }

  /* ========== CONFIRM PAGE ========== */

  html[data-workflow="confirm"] body{
    background:#f5f6f4 !important;
  }

  .workflow-header{
    position:sticky !important;
    z-index:100 !important;
    top:0 !important;

    height:58px !important;

    padding:
      max(8px,env(safe-area-inset-top))
      13px
      7px !important;

    background:#fff !important;
    border-bottom:1px solid #e8eae7 !important;
  }

  .workflow-header .back-link{
    font-size:0 !important;
  }

  .workflow-header .back-link::before{
    content:"←";

    width:38px;
    height:38px;

    display:grid;
    place-items:center;

    border-radius:50%;

    background:#f2f4f1;

    font-size:20px;
  }

  .workflow-logo{
    width:78px !important;
    height:37px !important;
  }

  .workflow-content{
    width:100% !important;

    margin:0 !important;
    padding:
      17px
      13px
      max(26px,env(safe-area-inset-bottom)) !important;
  }

  .workflow-content h1{
    font-size:23px !important;
  }

  .workflow-content>.lead{
    margin-bottom:12px !important;
    font-size:12px !important;
  }

  .workflow-card{
    margin:9px 0 !important;
    padding:13px !important;

    border-radius:15px !important;
    box-shadow:none !important;
  }

  .workflow-content>.primary-button{
    min-height:52px !important;

    border-radius:14px !important;

    background:var(--mei-orange) !important;
    color:#fff !important;

    font-size:14px !important;
  }

  /* ========== LIVE RIDE SCREEN ========== */

  html[data-workflow="ride"] body{
    background:#eef1ec !important;
  }

  #ridePage:not([hidden]){
    display:block !important;
    width:100% !important;
    min-height:100dvh !important;
  }

  .tracking-header{
    position:absolute !important;
    z-index:700 !important;

    top:max(10px,env(safe-area-inset-top)) !important;
    left:10px !important;
  }

  .tracking-home{
    width:42px !important;
    height:42px !important;

    padding:0 !important;

    display:grid !important;
    place-items:center !important;

    border-radius:50% !important;

    font-size:0 !important;

    box-shadow:0 5px 18px rgba(20,28,21,.15) !important;
  }

  .tracking-home::before{
    content:"←";
    font-size:20px;
  }

  .tracking-map{
    height:58dvh !important;
    min-height:330px !important;
  }

  .map-status-pill{
    top:max(12px,env(safe-area-inset-top)) !important;

    max-width:64vw !important;

    overflow:hidden !important;
    text-overflow:ellipsis !important;

    padding:8px 11px !important;

    font-size:10px !important;
  }

  .tracking-sheet{
    width:100% !important;

    margin:-22px 0 0 !important;

    padding:
      16px
      14px
      max(22px,env(safe-area-inset-bottom)) !important;

    border-radius:23px 23px 0 0 !important;
  }

  .tracking-sheet h1{
    font-size:20px !important;
  }

  .tracking-subtitle{
    font-size:11px !important;
  }

  .tracking-progress{
    gap:4px !important;
    margin:12px 0 !important;
  }

  .driver-panel{
    grid-template-columns:43px minmax(0,1fr) auto !important;

    gap:9px !important;
    padding:10px !important;

    border-radius:13px !important;
  }

  .driver-avatar{
    width:42px !important;
    height:42px !important;

    font-size:20px !important;
  }

  .driver-detail small{
    font-size:9px !important;
  }

  .driver-detail strong{
    font-size:13px !important;
  }

  .plate-chip{
    padding:5px 7px !important;
    font-size:10px !important;
  }

  .tracking-route{
    gap:7px !important;

    margin:10px 0 !important;
    padding:10px !important;

    border-radius:12px !important;
  }

  .tracking-actions{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:7px !important;
  }

  .tracking-actions>*{
    min-height:44px !important;
    padding:6px !important;

    font-size:10px !important;
    text-align:center !important;
  }

  .chat-form{
    grid-template-columns:minmax(0,1fr) 46px !important;
    gap:6px !important;
  }

  .chat-form input{
    min-height:43px !important;
    font-size:16px !important;
  }

  .chat-form button{
    width:46px !important;
    min-width:46px !important;
    min-height:43px !important;

    padding:0 !important;

    font-size:0 !important;
  }

  .chat-form button::before{
    content:"➤";
    font-size:17px;
  }
}


/* Very small phones */
@media (max-width:380px){

  .hero:has(#homeMap){
    --mobile-header-h:70px;
    --mobile-tabs-h:66px;
    --mobile-top-total:136px;
  }

  .hero:has(#homeMap) .app-topbar{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .hero:has(#homeMap) .app-brand{
    width:160px !important;
  }

  .hero:has(#homeMap) .app-brand::before{
    width:38px !important;
    height:38px !important;

    margin-right:7px !important;

    font-size:31px !important;
  }

  .hero:has(#homeMap) .app-brand::after{
    font-size:14px !important;
  }

  .hero:has(#homeMap) .app-account,
  .hero:has(#homeMap) .app-menu>summary{
    width:38px !important;
    height:38px !important;
  }

  .hero:has(#homeMap) .app-shortcuts a{
    height:61px !important;
    font-size:8px !important;
  }

  .hero:has(#homeMap) .shortcut-icon{
    width:33px !important;
    height:31px !important;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode{
    max-height:min(57dvh,575px) !important;

    padding-left:11px !important;
    padding-right:11px !important;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode h1{
    font-size:22px !important;
  }

  .hero:has(#homeMap) .map-location{
    bottom:min(57dvh,575px) !important;
  }

  .tracking-actions{
    grid-template-columns:1fr 1fr !important;
  }
}


/* Tablet portrait: keep the same approved mobile visual language. */
@media (min-width:701px) and (max-width:1024px){

  .hero:has(#homeMap) .app-topbar{
    height:82px !important;
    padding-left:24px !important;
    padding-right:24px !important;
  }

  .hero:has(#homeMap) .app-brand{
    width:225px !important;
  }

  .hero:has(#homeMap) .app-brand::before{
    width:50px !important;
    height:50px !important;

    font-size:40px !important;
  }

  .hero:has(#homeMap) .app-brand::after{
    font-size:20px !important;
  }

  .hero:has(#homeMap) .app-shortcuts{
    top:82px !important;
    height:78px !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .hero:has(#homeMap) .app-shortcuts a{
    height:73px !important;
    font-size:10px !important;
  }

  .hero:has(#homeMap) .home-map,
  .hero:has(#homeMap) .hero-bg{
    top:160px !important;
  }

  .hero:has(#homeMap) .map-locate{
    top:180px !important;
  }

  .hero:has(#homeMap) .bottom-sheet.route-mode{
    left:50% !important;
    right:auto !important;
    bottom:18px !important;

    width:min(620px,calc(100% - 36px)) !important;
    max-height:66dvh !important;

    transform:translateX(-50%) !important;

    border:1px solid #e5e7e4 !important;
    border-radius:26px !important;
  }

  .hero:has(#homeMap) .map-location{
    bottom:28px !important;
  }

  .workflow-content{
    width:min(calc(100% - 40px),680px) !important;
  }

  .tracking-sheet{
    width:min(calc(100% - 36px),700px) !important;
    margin:-24px auto 0 !important;
  }
}


/* ==========================================================================
   MEI VELOCITY — COMPACT MOBILE INFORMATION / SERVICES PAGES
   Applies only to .info-page pages such as Deliveries, Shop and Corporate.
   Visual-only: no JavaScript, API, booking, authentication or backend changes.
   ========================================================================== */

@media (max-width:700px){

  /* Whole page */
  .info-page{
    min-height:100dvh;
    background:#f6f7f5;
  }

  /* -------------------------------------------------------
     COMPACT HEADER
  ------------------------------------------------------- */

  .info-header{
    position:sticky;
    top:0;
    z-index:1000;

    min-height:58px;
    padding:
      max(7px,env(safe-area-inset-top))
      11px
      7px;

    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:7px;

    background:rgba(255,255,255,.98);
    border-bottom:1px solid #e8eae7;
    box-shadow:0 2px 9px rgba(20,28,21,.05);
  }

  .info-brand{
    min-width:0;
    gap:7px;
  }

  .info-brand img{
    width:58px;
    height:38px;
  }

  .info-brand-text strong{
    font-size:16px;
    line-height:1;
  }

  .info-brand-text small{
    display:none;
  }

  .book-link{
    padding:8px 10px;
    border-radius:9px;
    font-size:10px;
    white-space:nowrap;
  }

  /* Navigation becomes one small swipeable row instead of large tabs. */
  .info-nav{
    grid-column:1 / -1;
    order:3;

    width:100%;
    min-height:34px;

    display:flex;
    align-items:center;
    justify-content:flex-start;

    gap:5px;
    padding:2px 0 0;

    overflow-x:auto;
    overflow-y:hidden;

    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  .info-nav::-webkit-scrollbar{
    display:none;
  }

  .info-nav a{
    flex:none;

    min-height:30px;
    padding:7px 9px;

    display:flex;
    align-items:center;

    border:1px solid #e5e8e3;
    border-radius:999px;

    background:#fff;
    color:#4d554e;

    font-size:9px;
    line-height:1;
    font-weight:750;

    white-space:nowrap;
  }

  .info-nav a[aria-current="page"]{
    border-color:#ffd0aa;
    background:#fff1e6;
    color:#c45300;
  }

  /* -------------------------------------------------------
     REDUCE EMPTY PAGE SPACE
  ------------------------------------------------------- */

  .info-shell{
    width:calc(100% - 20px);
    margin:0 auto;
    padding:14px 0 25px;
  }

  /* Compact hero: no huge full-screen block */
  .info-hero{
    grid-template-columns:1fr;
    gap:8px;
    margin-bottom:13px;
  }

  .info-hero-copy,
  .info-hero-visual{
    min-height:0;
    border-radius:16px;
  }

  .info-hero-copy{
    padding:18px 16px;
  }

  .info-kicker{
    margin-bottom:5px;
    font-size:9px;
    letter-spacing:.11em;
  }

  .info-hero h1{
    font-size:27px;
    line-height:1.02;
    letter-spacing:-.035em;
  }

  .info-hero p{
    margin-top:8px;
    font-size:12px;
    line-height:1.45;
  }

  /* Keep a visual if present, but make it short rather than a huge card. */
  .info-hero-visual{
    height:125px;
    min-height:125px;
  }

  .info-hero-visual img{
    height:125px;
  }

  /* -------------------------------------------------------
     COMPACT CONTENT SECTIONS
  ------------------------------------------------------- */

  .page-section{
    margin-top:13px;
  }

  .page-section-head{
    display:block;
    margin-bottom:9px;
  }

  .page-section-head h2{
    font-size:19px;
    line-height:1.1;
  }

  .page-section-head p{
    margin-top:5px;
    font-size:11px;
    line-height:1.4;
  }

  /* Service cards are horizontal on phones:
     small image/icon left + information right. */
  .info-grid,
  .vehicle-page-grid{
    grid-template-columns:1fr;
    gap:8px;
  }

  .info-card{
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    align-items:stretch;

    min-height:92px;

    border-radius:14px;
    box-shadow:none;
  }

  .info-card img{
    width:92px;
    height:100%;
    min-height:92px;

    object-fit:cover;
  }

  .info-card-body{
    min-width:0;
    padding:11px 12px;
  }

  .info-card h3{
    margin:0 0 4px;
    font-size:14px;
  }

  .info-card p{
    display:-webkit-box;
    margin:0;

    overflow:hidden;

    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;

    font-size:10px;
    line-height:1.4;
  }

  .info-card .card-link{
    margin-top:6px;
    font-size:10px;
  }

  /* -------------------------------------------------------
     PANELS / DETAILS
  ------------------------------------------------------- */

  .fare-layout,
  .about-layout,
  .contact-layout{
    grid-template-columns:1fr;
    gap:9px;
  }

  .page-panel{
    padding:14px;
    border-radius:15px;
  }

  .page-panel h2{
    margin-bottom:10px;
    font-size:19px;
  }

  .page-panel p,
  .page-panel li{
    font-size:11px;
    line-height:1.45;
  }

  .area-list,
  .value-list,
  .contact-list{
    gap:6px;
  }

  .area-list li,
  .value-list li,
  .contact-list li{
    padding:9px 10px;
    border-radius:10px;
  }

  .price-line{
    gap:8px;
    padding:11px 0;
    font-size:11px;
  }

  .price-line strong:last-child{
    font-size:18px;
  }

  .about-value{
    grid-template-columns:34px 1fr;
    gap:8px;
  }

  .about-value-icon{
    width:34px;
    height:34px;
  }

  .contact-call,
  .contact-secondary{
    margin-top:8px;
    padding:11px 13px;
    border-radius:10px;
    font-size:11px;
  }

  /* -------------------------------------------------------
     TARGET THE THREE SHORT SERVICE SECTIONS
  ------------------------------------------------------- */

  #package-delivery,
  #shopping-errands,
  #corporate-private{
    scroll-margin-top:105px;
  }

  #package-delivery.page-section,
  #shopping-errands.page-section,
  #corporate-private.page-section{
    margin-top:10px;
  }

  /* Footer is small; no long empty ending. */
  .info-footer{
    padding:13px 12px 18px;
    font-size:9px;
  }
}


/* Small phones */
@media (max-width:380px){

  .info-header{
    padding-left:9px;
    padding-right:9px;
  }

  .info-brand img{
    width:52px;
  }

  .info-brand-text strong{
    font-size:14px;
  }

  .info-nav a{
    padding:6px 8px;
    font-size:8px;
  }

  .info-shell{
    width:calc(100% - 16px);
  }

  .info-hero h1{
    font-size:24px;
  }

  .info-hero-visual,
  .info-hero-visual img{
    height:105px;
    min-height:105px;
  }

  .info-card{
    grid-template-columns:78px minmax(0,1fr);
  }

  .info-card img{
    width:78px;
    min-height:88px;
  }
}


/* Tablet: still compact, but allow two-column cards */
@media (min-width:701px) and (max-width:1024px){

  .info-header{
    min-height:68px;
    padding:9px 18px;
  }

  .info-brand{
    min-width:190px;
  }

  .info-brand img{
    width:72px;
    height:46px;
  }

  .info-brand-text strong{
    font-size:19px;
  }

  .info-nav{
    gap:10px;
    overflow-x:auto;
  }

  .info-nav a{
    flex:none;
    font-size:11px;
  }

  .info-shell{
    width:min(calc(100% - 28px),920px);
    padding:22px 0 35px;
  }

  .info-hero{
    grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);
    gap:12px;
    margin-bottom:18px;
  }

  .info-hero-copy,
  .info-hero-visual{
    min-height:190px;
  }

  .info-hero-copy{
    padding:24px;
  }

  .info-hero h1{
    font-size:36px;
  }

  .info-hero-visual img{
    height:100%;
  }

  .info-grid,
  .vehicle-page-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .info-card{
    border-radius:16px;
  }

  .info-card img{
    height:125px;
  }

  .info-card-body{
    padding:13px;
  }
}


/* ==========================================================================
   MOBILE LOGO UNIFICATION
   Use the same clean MEI VELOCITY mobile brand treatment from the main
   customer page on Services / Deliveries / Shop / Corporate / other info pages.
   CSS-only: no JavaScript or backend changes.
   ========================================================================== */

@media (max-width:700px){

  .info-header .info-brand{
    position:relative;
    width:188px;
    min-width:0;
    height:44px;

    display:flex;
    align-items:center;
    gap:0;

    padding:0;
    overflow:visible;

    color:#171b18;
    text-decoration:none;
  }

  /* Keep the existing logo asset in the HTML but visually replace it
     with the same compact M + MEI VELOCITY lock-up as the customer home. */
  .info-header .info-brand img{
    position:absolute;
    width:1px !important;
    height:1px !important;
    opacity:0;
    pointer-events:none;
  }

  .info-header .info-brand::before{
    content:"M";

    width:42px;
    height:42px;

    display:grid;
    place-items:center;

    margin-right:9px;

    color:#ff7900;

    font-size:34px;
    line-height:1;
    font-weight:1000;
    letter-spacing:-6px;
  }

  .info-header .info-brand::after{
    content:"MEI VELOCITY";

    color:#161a17;

    font-size:16px;
    line-height:1;
    font-weight:900;
    letter-spacing:.02em;
    white-space:nowrap;
  }

  /* Hide the older separate info-brand text so the phone header
     does not show the brand twice. */
  .info-header .info-brand-text{
    display:none !important;
  }
}


@media (max-width:380px){

  .info-header .info-brand{
    width:160px;
  }

  .info-header .info-brand::before{
    width:37px;
    height:37px;

    margin-right:7px;

    font-size:30px;
  }

  .info-header .info-brand::after{
    font-size:14px;
  }
}


/* ==========================================================================
   MEI VELOCITY — MOBILE MAP + REVIEW SHEET
   On phones, the existing customer map remains visible and the confirmation
   information becomes the next bottom-sheet state.
   Frontend-only: no API, authentication, booking or backend logic changed.
   ========================================================================== */

@media (max-width:700px){

  /* -------------------------------------------------------
     KEEP THE EXISTING HOME MAP / HEADER VISIBLE ON CONFIRM
  ------------------------------------------------------- */

  html[data-workflow="confirm"] body{
    width:100%;
    height:100dvh;
    min-height:100dvh;

    overflow:hidden;

    background:#eef1ec !important;
  }

  html[data-workflow="confirm"] #home{
    position:fixed !important;
    inset:0 !important;
    z-index:1 !important;

    display:block !important;

    width:100% !important;
    height:100dvh !important;
    min-height:100dvh !important;

    padding:0 !important;

    overflow:hidden !important;

    background:#eef1ec !important;
  }

  html[data-workflow="confirm"] #home .hero-content{
    display:block !important;

    width:100% !important;
    height:100% !important;
    min-height:100% !important;
  }

  /* Hide only the first booking sheet. The same map stays behind the
     new Review sheet. */
  html[data-workflow="confirm"] #homeSheet,
  html[data-workflow="confirm"] #book,
  html[data-workflow="confirm"] #home .map-location,
  html[data-workflow="confirm"] #home .map-locate{
    display:none !important;
  }

  html[data-workflow="confirm"] #home .home-map{
    display:block !important;
  }

  /* Keep unrelated website sections out of the phone workflow. */
  html[data-workflow="confirm"] .section,
  html[data-workflow="confirm"] .benefits,
  html[data-workflow="confirm"] .cta,
  html[data-workflow="confirm"] footer{
    display:none !important;
  }

  /* -------------------------------------------------------
     REVIEW BOTTOM SHEET
  ------------------------------------------------------- */

  html[data-workflow="confirm"] #confirmPage:not([hidden]){
    position:fixed !important;
    z-index:1300 !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    top:auto !important;

    display:block !important;

    width:100% !important;
    max-height:min(58dvh,585px) !important;

    margin:0 !important;
    padding:0 !important;

    overflow-x:hidden !important;
    overflow-y:auto !important;

    border-radius:25px 25px 0 0 !important;

    background:#fff !important;

    box-shadow:
      0 -10px 32px
      rgba(20,28,21,.16) !important;

    overscroll-behavior:contain;
  }

  html[data-workflow="confirm"] #confirmPage::before{
    content:"";

    position:sticky;
    z-index:3;
    top:0;

    display:block;

    width:48px;
    height:5px;

    margin:8px auto 1px;

    border-radius:10px;

    background:#b9beb9;
  }

  /* Small back arrow, no second logo/header. */
  html[data-workflow="confirm"] #confirmPage .workflow-header{
    position:static !important;

    width:100% !important;
    height:32px !important;

    display:flex !important;
    align-items:center !important;

    padding:0 13px !important;

    border:0 !important;
    background:#fff !important;
  }

  html[data-workflow="confirm"] #confirmPage .workflow-logo{
    display:none !important;
  }

  html[data-workflow="confirm"] #confirmPage .back-link{
    width:30px;
    height:30px;

    padding:0 !important;

    display:grid !important;
    place-items:center !important;

    border-radius:50%;

    background:#f2f4f1;

    color:#252a26;

    font-size:0 !important;
    text-decoration:none;
  }

  html[data-workflow="confirm"] #confirmPage .back-link::before{
    content:"←";
    font-size:17px;
  }

  html[data-workflow="confirm"] #confirmPage .workflow-content{
    width:100% !important;

    margin:0 !important;

    padding:
      1px
      13px
      max(14px,env(safe-area-inset-bottom)) !important;
  }

  html[data-workflow="confirm"] #confirmPage .workflow-content h1{
    margin:0 0 9px !important;

    color:#111511 !important;

    font-size:22px !important;
    line-height:1.08 !important;
    font-weight:900 !important;
    letter-spacing:-.035em !important;
  }

  /* Remove explanatory copy — the layout itself explains the task. */
  html[data-workflow="confirm"] #confirmPage .workflow-content>.lead,
  html[data-workflow="confirm"] #confirmPage .workflow-card .help{
    display:none !important;
  }

  /* -------------------------------------------------------
     ROUTE CARD
  ------------------------------------------------------- */

  html[data-workflow="confirm"] #confirmPage .workflow-card{
    margin:7px 0 !important;
    padding:11px 12px !important;

    border:1px solid #e5e8e3 !important;
    border-radius:15px !important;

    background:#fff !important;

    box-shadow:none !important;
  }

  html[data-workflow="confirm"] #confirmPage .route-row{
    grid-template-columns:20px minmax(0,1fr) !important;

    gap:8px !important;

    padding:6px 0 !important;
  }

  html[data-workflow="confirm"] #confirmPage .route-row + .route-row{
    border-top:1px solid #eef0ed !important;
  }

  html[data-workflow="confirm"] #confirmPage .route-dot{
    width:11px !important;
    height:11px !important;

    border-width:3px !important;
  }

  html[data-workflow="confirm"] #confirmPage .route-row small{
    margin-bottom:1px;

    font-size:9px !important;
  }

  html[data-workflow="confirm"] #confirmPage .route-row strong{
    max-width:100%;

    overflow:hidden;
    text-overflow:ellipsis;

    font-size:12px !important;
    line-height:1.28 !important;
  }

  html[data-workflow="confirm"] #confirmPage .ride-meta{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;

    gap:5px !important;

    margin-top:7px !important;
  }

  html[data-workflow="confirm"] #confirmPage .ride-meta span{
    min-width:0 !important;

    padding:7px 6px !important;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    border-radius:10px !important;

    background:#f5f6f4 !important;
    color:#343a35 !important;

    text-align:center;

    font-size:9px !important;
    font-weight:800 !important;
  }

  html[data-workflow="confirm"] #confirmVehicle::before{
    content:"🚗 ";
  }

  html[data-workflow="confirm"] #confirmDistance::before{
    content:"↔ ";
  }

  html[data-workflow="confirm"] #confirmSchedule::before{
    content:"◷ ";
  }

  /* -------------------------------------------------------
     FARE — ONE SMALL CARD
  ------------------------------------------------------- */

  html[data-workflow="confirm"] #confirmPage .workflow-card:has(#confirmFare){
    position:relative;

    padding:10px 12px !important;

    border-top:3px solid #ff7900 !important;
  }

  html[data-workflow="confirm"] #confirmPage .workflow-card:has(#confirmFare) .price-row{
    display:none !important;
  }

  html[data-workflow="confirm"] #confirmPage label[for="confirmFare"]{
    display:block !important;

    margin:0 0 4px !important;

    color:#68706a !important;

    font-size:0 !important;
  }

  html[data-workflow="confirm"] #confirmPage label[for="confirmFare"]::before{
    content:"Fare";

    font-size:10px;
    font-weight:800;
  }

  html[data-workflow="confirm"] #confirmFare{
    width:100% !important;
    min-height:43px !important;

    margin:0 !important;
    padding:6px 9px !important;

    border:0 !important;
    border-radius:10px !important;

    background:#f7f8f6 !important;
    color:#151915 !important;

    box-shadow:none !important;

    font-size:22px !important;
    line-height:1 !important;
    font-weight:900 !important;
  }

  html[data-workflow="confirm"] #confirmPromo:not([hidden]){
    display:inline-flex !important;

    margin-top:5px;

    padding:4px 7px !important;

    border-radius:8px !important;

    font-size:8px !important;
  }

  /* -------------------------------------------------------
     PAYMENT — ONE LINE
  ------------------------------------------------------- */

  html[data-workflow="confirm"] #confirmPage .workflow-card:has(.payment-option){
    display:flex !important;
    align-items:center !important;

    min-height:53px;

    gap:9px !important;

    padding:8px 11px !important;
  }

  html[data-workflow="confirm"] #confirmPage .workflow-card:has(.payment-option)>strong{
    font-size:0 !important;
  }

  html[data-workflow="confirm"] #confirmPage .workflow-card:has(.payment-option)>strong::before{
    content:"Payment";

    color:#697069;

    font-size:9px;
    font-weight:800;
  }

  html[data-workflow="confirm"] #confirmPage .payment-option{
    flex:1;

    min-width:0;

    margin:0 !important;
    padding:8px 10px !important;

    border:0 !important;
    border-radius:10px !important;

    background:#f7f8f6 !important;

    font-size:11px !important;
    font-weight:800 !important;
  }

  html[data-workflow="confirm"] #confirmPage .payment-option span:first-child{
    font-size:16px;
  }

  /* -------------------------------------------------------
     ACCOUNT
  ------------------------------------------------------- */

  html[data-workflow="confirm"] #confirmPage .account-chip{
    min-height:47px !important;

    gap:8px !important;

    padding:8px 10px !important;

    border-color:#f3dfcf !important;
    border-radius:13px !important;

    background:#fff9f4 !important;
  }

  html[data-workflow="confirm"] #confirmPage .account-chip>span{
    flex:none;

    font-size:16px;
  }

  html[data-workflow="confirm"] #confirmPage .account-chip>strong{
    min-width:0;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    font-size:9px !important;
    font-weight:750 !important;
  }

  html[data-workflow="confirm"] #confirmPage .account-chip>button{
    flex:none;

    padding:7px 9px !important;

    border-radius:9px !important;

    font-size:9px !important;
    font-weight:850 !important;
  }

  /* -------------------------------------------------------
     REQUEST BUTTON
  ------------------------------------------------------- */

  html[data-workflow="confirm"] #confirmRequest{
    position:sticky;
    z-index:4;
    bottom:max(4px,env(safe-area-inset-bottom));

    width:100% !important;
    min-height:49px !important;

    margin:9px 0 0 !important;

    border:0 !important;
    border-radius:14px !important;

    background:#ff7900 !important;
    color:#fff !important;

    box-shadow:
      0 7px 18px
      rgba(255,121,0,.20);

    font-size:14px !important;
    font-weight:900 !important;
  }

  html[data-workflow="confirm"] #confirmRequest::after{
    content:" →";
  }

  html[data-workflow="confirm"] #confirmMessage{
    min-height:0 !important;

    margin:5px 0 0 !important;

    font-size:9px !important;
    line-height:1.3 !important;
  }

  html[data-workflow="confirm"] #confirmMessage:empty{
    display:none !important;
  }

  /* Confirm auth stays above the review sheet. */
  html[data-workflow="confirm"] #confirmAccountDialog[open]{
    z-index:5000 !important;
  }
}


/* Narrow phones */
@media (max-width:380px){

  html[data-workflow="confirm"] #confirmPage:not([hidden]){
    max-height:min(61dvh,590px) !important;
  }

  html[data-workflow="confirm"] #confirmPage .workflow-content h1{
    font-size:20px !important;
  }

  html[data-workflow="confirm"] #confirmPage .workflow-card{
    margin:6px 0 !important;
    padding:9px 10px !important;
  }

  html[data-workflow="confirm"] #confirmPage .route-row strong{
    font-size:11px !important;
  }

  html[data-workflow="confirm"] #confirmFare{
    font-size:20px !important;
  }

  html[data-workflow="confirm"] #confirmRequest{
    min-height:46px !important;
  }
}

