:root{
  --ink:#101828;
  --muted:#667085;
  --line:#e4e7ec;
  --soft:#f8fafc;
  --blue:#2563eb;
  --blue-soft:#eff6ff;
  --danger:#b42318;
  --success:#067647;
  --shadow:0 18px 50px rgba(15,23,42,.16);
  --panel-shadow:0 24px 70px rgba(15,23,42,.22);
  --radius:28px;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body.book-now-public{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#dce7ef;overflow:hidden}
button,input,textarea,select{font:inherit}
button{touch-action:manipulation}
#map{position:fixed;inset:0;z-index:0;background:linear-gradient(135deg,#dce7ef,#eef3f7)}
.brand-chip{position:fixed;z-index:15;top:22px;left:22px;display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.95);backdrop-filter:blur(16px);padding:10px 14px;border-radius:999px;box-shadow:0 8px 24px rgba(15,23,42,.12);font-weight:800;font-size:15px}
.brand-mark{width:30px;height:30px;border-radius:50%;background:#0f172a;color:white;display:grid;place-items:center;font-size:14px}
.map-warning{position:fixed;z-index:30;left:50%;transform:translateX(-50%);top:18px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;padding:10px 14px;border-radius:14px;font-weight:700;box-shadow:var(--shadow);max-width:min(680px,92vw)}

/* Route panel */
.floating-card{position:fixed;z-index:12;background:rgba(255,255,255,.97);backdrop-filter:blur(18px);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.82);transition:opacity .2s,transform .2s}
.route-card{top:84px;left:24px;width:min(470px,calc(100vw - 48px));border-radius:var(--radius);padding:24px}
.route-card.is-flow-mode{opacity:0;pointer-events:none;transform:translateY(-12px)}
.route-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.eyebrow{font-size:12px;line-height:1.2;letter-spacing:.12em;font-weight:900;color:#667085;margin-bottom:6px}
.route-card h1,.flow-head h2,.vehicle-sheet h2{margin:0;letter-spacing:-.035em;font-weight:850}
.route-card h1{font-size:31px;line-height:1.08}
.round-icon-btn,.back-btn{border:0;background:#f2f4f7;color:#344054;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:27px;line-height:1;cursor:pointer;flex:0 0 auto}
.ride-tabs{display:flex;gap:8px;overflow:auto;padding:16px 0 2px;scrollbar-width:none}.ride-tabs::-webkit-scrollbar{display:none}
.ride-tab{border:1px solid var(--line);background:white;border-radius:999px;padding:10px 15px;min-height:44px;font-weight:800;color:#475467;white-space:nowrap}
.ride-tab.active{background:#111827;color:white;border-color:#111827}
.route-field{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;align-items:center;gap:10px;min-height:72px;border:1.5px solid #d0d5dd;border-radius:20px;background:white;margin-top:12px;padding:9px 10px;transition:border-color .16s,box-shadow .16s}
.route-field:focus-within{border-color:#84adff;box-shadow:0 0 0 4px rgba(37,99,235,.12)}
.route-field-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:900;background:var(--blue-soft);color:var(--blue)}
.route-field.destination .route-field-icon{background:#111827;color:#fff}.route-field.stop .route-field-icon{background:#f2f4f7;color:#475467;font-size:16px}
.route-field-main{min-width:0}.route-field-label{display:block;color:#667085;font-size:13px;font-weight:800;margin-bottom:1px}.route-field-address{font-size:18px;line-height:1.25;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.route-field-change{width:42px;height:42px;border:0;background:transparent;color:#667085;font-size:26px;border-radius:50%;cursor:pointer}.route-field-change:hover{background:#f2f4f7}
.route-autocomplete-wrap{grid-column:2/4;min-width:0}
gmp-place-autocomplete{width:100%;min-height:48px;display:block;border:0!important;background:transparent!important;--gmpx-color-surface:#fff;--gmpx-font-family:Inter,system-ui,sans-serif;--gmpx-font-size-base:18px}
.google-disabled{border:0;width:100%;min-height:46px;font-size:18px;background:#fff;color:#667085}
.add-stop-btn{width:100%;min-height:56px;border:0;background:var(--blue-soft);color:#175cd3;border-radius:18px;margin-top:12px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:850;font-size:17px;cursor:pointer}.add-stop-btn:hover{background:#dbeafe}.add-stop-btn:disabled{opacity:.45;cursor:not-allowed}
.add-stop-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#2563eb;color:white;font-size:22px;line-height:1}
.route-feedback{margin-top:12px;padding:12px 14px;border-radius:16px;font-size:15px;font-weight:750;background:#f8fafc;color:#475467}.route-feedback.loading{background:#eff6ff;color:#1d4ed8}.route-feedback.error{background:#fef3f2;color:#b42318}.route-feedback.success{background:#ecfdf3;color:#067647}

/* A single visual bottom panel is reused for vehicle and every next step */
.bottom-panel{position:fixed;z-index:20;left:calc(50% + 180px);bottom:24px;transform:translateX(-50%);width:min(900px,calc(100vw - 540px));background:rgba(255,255,255,.985);backdrop-filter:blur(20px);border-radius:30px;box-shadow:var(--panel-shadow);border:1px solid rgba(255,255,255,.88);transition:opacity .2s,transform .24s;overflow:hidden}
.bottom-panel.is-hidden{opacity:0;pointer-events:none;transform:translate(-50%,26px)}
.sheet-handle{width:54px;height:5px;border-radius:999px;background:#d0d5dd;margin:12px auto 10px}
.vehicle-sheet{max-height:52vh;padding:0 20px 18px;overflow:auto}
.vehicle-sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.vehicle-sheet h2{font-size:28px;line-height:1.1}.vehicle-sheet p,.flow-head p{margin:4px 0 0;color:var(--muted);font-size:15px}
.route-summary-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:13px;font-weight:850;margin-bottom:7px}
.vehicle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.vehicle-card{position:relative;border:1.5px solid #e4e7ec;border-radius:20px;background:#fff;padding:13px;cursor:pointer;min-height:172px;transition:transform .15s,border-color .15s,box-shadow .15s;text-align:left}.vehicle-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(15,23,42,.09)}.vehicle-card.selected{border-color:#1570ef;box-shadow:0 0 0 3px rgba(21,112,239,.12)}
.vehicle-check{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;display:none;place-items:center;background:#1570ef;color:#fff;font-weight:900}.vehicle-card.selected .vehicle-check{display:grid}
.vehicle-image-wrap{height:72px;display:flex;align-items:center;justify-content:center;margin-bottom:4px}.vehicle-photo{max-width:100%;width:145px;height:72px;object-fit:contain}.vehicle-placeholder{width:130px;height:60px;border-radius:18px;background:linear-gradient(135deg,#e4e7ec,#f8fafc);position:relative}.vehicle-placeholder:after{content:'VIP';position:absolute;inset:0;display:grid;place-items:center;font-weight:900;color:#98a2b3}
.vehicle-name{font-weight:900;font-size:18px;line-height:1.15}.vehicle-capacity{color:#667085;font-size:13px;line-height:1.35;margin-top:5px}.vehicle-price{font-size:23px;font-weight:900;letter-spacing:-.03em;margin-top:8px}.vehicle-price small{display:block;color:#667085;font-weight:650;font-size:12px;letter-spacing:0}.vehicle-error{font-size:13px;color:#b42318;margin-top:6px}.vehicle-loading,.vehicle-empty{grid-column:1/-1;padding:22px;border-radius:18px;background:#f8fafc;color:#475467;font-weight:700;text-align:center}
.primary-action{width:100%;min-height:58px;border:0;border-radius:19px;background:#101828;color:#fff;font-size:18px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;padding:14px 18px}.primary-action:hover{background:#1d2939}.primary-action:disabled{background:#98a2b3;cursor:not-allowed}.vehicle-sheet>.primary-action{margin-top:13px}

/* Booking steps inside the same bottom panel */
.flow-sheet{height:min(64vh,650px);display:flex;flex-direction:column;background:#fff}
.flow-head{display:flex;align-items:center;gap:13px;padding:2px 20px 12px;border-bottom:1px solid #eaecf0;background:#fff}.flow-head-copy{min-width:0}.flow-head h2{font-size:25px}.flow-head p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-flow-head .back-btn{width:44px;height:44px;font-size:22px}
.journey-steps{display:flex;gap:7px;overflow-x:auto;padding:10px 18px 11px;border-bottom:1px solid #eaecf0;background:#fff;scrollbar-width:none;scroll-snap-type:x proximity}.journey-steps::-webkit-scrollbar{display:none}.journey-step{flex:0 0 auto;min-height:39px;border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:6px 11px 6px 7px;color:#475467;font-size:13px;font-weight:850;display:flex;align-items:center;gap:6px;cursor:pointer;scroll-snap-align:center}.journey-step span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#f2f4f7;color:#667085;font-size:12px}.journey-step.active{background:#101828;color:#fff;border-color:#101828}.journey-step.active span{background:#fff;color:#101828}.journey-step.done{border-color:#b2ddff;color:#175cd3}.journey-step.done span{background:#1570ef;color:#fff}
.flow-body{padding:16px 20px 98px;overflow:auto;overscroll-behavior:contain;background:#f8fafc;flex:1;scroll-behavior:smooth}.journey-panel{max-width:760px;margin:0 auto}.details-card,.ride-actions-card{background:#fff;border:1px solid #eaecf0;border-radius:20px;padding:18px;margin-bottom:12px}.focused-card{box-shadow:0 5px 18px rgba(15,23,42,.04)}.details-card h3{font-size:18px;font-weight:900;margin:0 0 13px}.supporting-copy{color:#667085;margin:-6px 0 13px;font-size:14px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-block{display:block;margin-bottom:11px}.field-block:last-child{margin-bottom:0}.field-block>span{display:block;font-size:14px;font-weight:800;color:#475467;margin:0 0 6px}.large-control{width:100%;min-height:55px;border:1.5px solid #d0d5dd;border-radius:15px;padding:12px 14px;background:#fff;color:#101828;font-size:17px;outline:0}.large-control:focus{border-color:#84adff;box-shadow:0 0 0 4px rgba(37,99,235,.12)}textarea.large-control{resize:vertical}
.counter-list{display:grid;gap:0}.counter-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #eaecf0}.counter-row:first-child{padding-top:0}.counter-row:last-child{border-bottom:0;padding-bottom:0}.large-counter-row{min-height:88px}.counter-row strong{display:block;font-size:17px}.counter-row small{display:block;color:#667085;font-size:13px;margin-top:2px}.stepper{display:grid;grid-template-columns:46px 44px 46px;align-items:center;gap:3px;flex:0 0 auto}.stepper button{width:46px;height:46px;border-radius:50%;border:1px solid #d0d5dd;background:#fff;color:#101828;font-size:26px;line-height:1;cursor:pointer}.stepper output{text-align:center;font-weight:900;font-size:18px}.friendly-warning,.friendly-error{padding:12px 14px;border-radius:15px;margin-top:12px;font-weight:750}.friendly-warning{background:#fffaeb;color:#93370d}.friendly-error{background:#fef3f2;color:#b42318}.empty-step-message{padding:18px;border-radius:16px;background:#f8fafc;color:#475467;font-weight:750;text-align:center}
.optional-details summary{cursor:pointer;font-weight:900;font-size:16px;display:flex;align-items:center;justify-content:space-between;list-style:none}.optional-details summary::-webkit-details-marker{display:none}.optional-details summary span{font-size:13px;color:#667085;font-weight:700}.optional-fields,.policy-text{margin-top:16px}.policy-text{font-size:15px;color:#475467;line-height:1.55}
.ride-actions-card{display:grid;grid-template-columns:1fr 1fr;gap:9px}.secondary-action{min-height:52px;border:1.5px solid #d0d5dd;background:#fff;border-radius:16px;color:#344054;font-weight:850;font-size:15px;padding:10px 12px;cursor:pointer}.secondary-action:hover{background:#f9fafb}.compact-actions{padding:12px}
.sticky-flow-action{position:absolute;left:0;right:0;bottom:0;padding:13px 20px 17px;background:linear-gradient(to top,#fff 82%,rgba(255,255,255,0));pointer-events:none}.sticky-flow-action .primary-action{pointer-events:auto;box-shadow:0 12px 24px rgba(16,24,40,.18)}
.tip-options,.payment-options{display:grid;gap:9px}.tip-options{grid-template-columns:repeat(4,1fr)}.choice-btn,.payment-choice-card{border:1.5px solid #d0d5dd;background:#fff;border-radius:16px;min-height:50px;font-weight:850;color:#344054;cursor:pointer}.choice-btn.selected,.payment-choice-card.selected{border-color:#1570ef;background:#eff6ff;color:#175cd3}.custom-tip-wrap{margin-top:10px}.payment-choice-card{display:flex;align-items:center;justify-content:space-between;text-align:left;padding:13px 15px}.payment-choice-card strong{display:block;font-size:16px}.payment-choice-card small{display:block;color:#667085;font-weight:600;margin-top:2px}.payment-choice-card .radio-dot{width:22px;height:22px;border-radius:50%;border:2px solid #98a2b3;position:relative;flex:0 0 auto}.payment-choice-card.selected .radio-dot{border-color:#1570ef}.payment-choice-card.selected .radio-dot:after{content:'';position:absolute;inset:4px;border-radius:50%;background:#1570ef}
#card-container{min-height:90px;border:1px solid #e4e7ec;border-radius:16px;padding:12px;background:#fff}.secure-note{font-size:13px;color:#667085;margin-top:8px}.booking-summary{border-radius:20px;background:#101828;color:#fff;padding:18px;margin-bottom:14px}.summary-title{font-size:17px;font-weight:900;margin-bottom:10px}.summary-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:8px 0;font-size:15px}.summary-row span:first-child{color:#d0d5dd}.summary-total{font-size:20px;font-weight:900;border-top:1px solid rgba(255,255,255,.18);padding-top:12px;margin-top:12px}.summary-total span:first-child{color:#fff}
.success-modal-content{border:0;border-radius:28px;box-shadow:var(--shadow)}.success-modal-content .modal-body{padding:34px}.success-icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#067647;color:#fff;font-size:31px;font-weight:900}.success-modal-content h2{font-size:24px;font-weight:900;margin:18px 0 5px}.success-modal-content p{color:#667085}.success-code{font-size:29px;font-weight:950;letter-spacing:-.03em}.success-total{color:#475467;margin-top:8px}.gm-style .gm-style-iw-c{border-radius:16px}

@media(max-width:900px){
  body.book-now-public{overflow:hidden}.brand-chip{top:12px;left:14px;padding:8px 11px;font-size:14px}.brand-mark{width:27px;height:27px}
  .route-card{top:62px;left:12px;width:calc(100vw - 24px);padding:17px;border-radius:24px;max-height:45vh;overflow:auto}.route-card h1{font-size:27px}
  .route-field{min-height:66px;border-radius:18px;grid-template-columns:44px minmax(0,1fr) 40px;padding:7px 8px}.route-field-icon{width:40px;height:40px}.route-field-address{font-size:16.5px}.route-autocomplete-wrap{grid-column:2/4}gmp-place-autocomplete{--gmpx-font-size-base:16px;min-height:44px}.add-stop-btn{min-height:52px}
  .bottom-panel{left:0;bottom:0;transform:none;width:100vw;border-radius:28px 28px 0 0}.bottom-panel.is-hidden{transform:translateY(35px)}
  .vehicle-sheet{max-height:50vh;padding:0 14px max(15px,env(safe-area-inset-bottom))}.vehicle-sheet h2{font-size:24px}.vehicle-sheet p{font-size:14px}.route-summary-chip{font-size:13px;padding:7px 10px}
  .vehicle-grid{display:flex;overflow-x:auto;gap:10px;margin:12px -2px 0;padding:2px 2px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}.vehicle-grid::-webkit-scrollbar{display:none}.vehicle-card{flex:0 0 min(78vw,290px);scroll-snap-align:start;min-height:164px}.vehicle-image-wrap{height:66px}.vehicle-photo{height:66px}.vehicle-name{font-size:18px}.vehicle-price{font-size:22px}.vehicle-sheet>.primary-action{min-height:57px;margin-top:9px}
  .flow-sheet{height:min(66vh,650px);max-height:calc(100dvh - 100px)}.sheet-handle{margin-top:10px}.flow-head{padding:1px 14px 10px}.flow-head h2{font-size:23px}.flow-head p{font-size:13px}.journey-steps{padding:9px 12px 10px}.journey-step{font-size:12.5px;padding-right:10px}.flow-body{padding:14px 13px 96px}.details-card,.ride-actions-card{border-radius:18px;padding:15px}.sticky-flow-action{padding:12px 13px max(15px,env(safe-area-inset-bottom))}.ride-actions-card{grid-template-columns:1fr}.tip-options{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
  .two-col{grid-template-columns:1fr}.route-card{max-height:43vh}.route-card h1{font-size:25px}.eyebrow{font-size:11px}.flow-head p{display:none}.details-card h3{font-size:17px}.stepper{grid-template-columns:44px 40px 44px}.stepper button{width:44px;height:44px}.vehicle-card{flex-basis:84vw}.brand-chip span:last-child{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journey-step span{width:24px;height:24px}.flow-sheet{height:min(64vh,620px)}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}


/* v1.2.1 — desktop right dock + map diagnostics */
.map-status{position:fixed;z-index:40;top:22px;left:50%;transform:translateX(-50%);max-width:min(680px,calc(100vw - 40px));padding:11px 15px;border-radius:14px;background:rgba(255,255,255,.97);color:#344054;font-size:14px;font-weight:800;box-shadow:0 10px 30px rgba(15,23,42,.16);border:1px solid #e4e7ec}
.map-status.error{background:#fef3f2;color:#b42318;border-color:#fecdca}.map-status.success{background:#ecfdf3;color:#067647;border-color:#abefc6}
@media(min-width:901px){
  .brand-chip{left:22px;right:auto}
  .route-card{top:10vh;left:auto;right:26px;width:460px;height:80vh;max-height:80vh;overflow:auto;padding:22px}
  .route-card.is-flow-mode{opacity:0;pointer-events:none;transform:translateX(16px)}
  .bottom-panel{top:10vh;right:26px;left:auto;bottom:auto;transform:none;width:460px;height:80vh;max-height:80vh;border-radius:28px}
  .bottom-panel.is-hidden{opacity:0;pointer-events:none;transform:translateX(18px)}
  .vehicle-sheet{max-height:80vh;height:80vh;padding:0 18px 18px;overflow:auto;display:flex;flex-direction:column}
  .vehicle-sheet-head{flex:0 0 auto}
  .vehicle-grid{grid-template-columns:1fr;overflow:auto;padding-right:2px;align-content:start;flex:1}
  .vehicle-card{min-height:132px;display:grid;grid-template-columns:132px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:12px;align-items:center}
  .vehicle-image-wrap{grid-row:1/4;height:92px;margin:0}.vehicle-photo{height:88px;width:130px}.vehicle-placeholder{width:120px;height:68px}
  .vehicle-name{font-size:18px}.vehicle-capacity{font-size:13px}.vehicle-price{font-size:22px;margin-top:2px}
  .vehicle-sheet>.primary-action{flex:0 0 auto;margin-top:12px}
  .flow-sheet{height:80vh;max-height:80vh}
  .flow-body{padding-bottom:96px}
}

/* v1.2.2 — map visibility, desktop dock from 768px, single active panel */
html,body{width:100%;height:100%;min-height:100%;}
#map{
  position:fixed!important;
  top:0!important;right:0!important;bottom:0!important;left:0!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-height:100vh!important;
  z-index:1!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:hidden;
}
#map>.gm-style{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;}
.brand-chip{z-index:16}
.floating-card{z-index:22}
.bottom-panel{z-index:24}
.map-status,.map-warning{z-index:60}
.mini-back-action{border:0;background:transparent;color:#175cd3;font-size:14px;font-weight:850;padding:2px 0 8px;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.mini-back-action:hover{text-decoration:underline}
body.vehicle-mode #route-card{opacity:0;pointer-events:none;transform:translateX(16px)}

/* At laptop/tablet widths like 804px, use the desktop/right-panel experience. */
@media (min-width:768px){
  .brand-chip{top:22px;left:22px}
  .route-card{
    top:10vh!important;right:24px!important;left:auto!important;
    width:min(440px,42vw)!important;height:80vh!important;max-height:80vh!important;
    padding:22px!important;border-radius:28px!important;overflow:auto!important;
  }
  .bottom-panel{
    top:10vh!important;right:24px!important;left:auto!important;bottom:auto!important;
    transform:none!important;width:min(440px,42vw)!important;height:80vh!important;max-height:80vh!important;
    border-radius:28px!important;
  }
  .bottom-panel.is-hidden{opacity:0!important;pointer-events:none!important;transform:translateX(18px)!important}
  .vehicle-sheet{height:80vh!important;max-height:80vh!important;padding:0 18px 18px!important;display:flex!important;flex-direction:column!important;overflow:auto!important}
  .vehicle-grid{display:grid!important;grid-template-columns:1fr!important;overflow:auto!important;align-content:start!important;flex:1!important;gap:10px!important}
  .vehicle-card{min-height:126px!important;display:grid!important;grid-template-columns:124px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;column-gap:12px!important;align-items:center!important;flex:none!important}
  .vehicle-image-wrap{grid-row:1/4!important;height:88px!important;margin:0!important}.vehicle-photo{height:84px!important;width:122px!important}
  .flow-sheet{height:80vh!important;max-height:80vh!important}
}

/* Only true phone widths use the bottom sheet. */
@media (max-width:767px){
  .route-card{top:62px;left:12px;right:auto;width:calc(100vw - 24px);max-height:43vh;height:auto;padding:17px}
  .bottom-panel{left:0;right:auto;top:auto;bottom:0;transform:none;width:100vw;height:auto;max-height:58vh;border-radius:28px 28px 0 0}
  .vehicle-sheet{height:auto;max-height:58vh}
  body.vehicle-mode #route-card{opacity:0;pointer-events:none;transform:translateY(-12px)}
}

/* v1.3.0 — senior-friendly compact vehicle list + simpler checkout */
.vehicle-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:9px!important;
  overflow:auto!important;
  padding:2px!important;
  margin-top:12px!important;
  scroll-snap-type:none!important;
}
.vehicle-card{
  width:100%!important;
  min-height:96px!important;
  display:grid!important;
  grid-template-columns:104px minmax(0,1fr) auto!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px 13px!important;
  border-radius:18px!important;
  flex:none!important;
  text-align:left!important;
  scroll-snap-align:none!important;
}
.vehicle-card:hover{transform:none!important}
.vehicle-image-wrap{grid-column:1!important;grid-row:1!important;width:104px!important;height:72px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.vehicle-photo{width:100px!important;height:68px!important;object-fit:contain!important}
.vehicle-placeholder{width:94px!important;height:58px!important}
.vehicle-info{grid-column:2!important;grid-row:1!important;min-width:0!important;padding-right:4px!important}
.vehicle-name{font-size:18px!important;font-weight:900!important;line-height:1.15!important;margin:0 0 7px!important;color:#101828!important}
.vehicle-capacity{font-size:14px!important;line-height:1.25!important;color:#667085!important;font-weight:700!important}
.vehicle-price{grid-column:3!important;grid-row:1!important;align-self:center!important;text-align:right!important;font-size:21px!important;font-weight:950!important;color:#101828!important;white-space:nowrap!important;margin:0!important;padding-right:2px!important}
.vehicle-price small{display:block!important;font-size:11px!important;font-weight:750!important;color:#667085!important;margin-bottom:2px!important}
.vehicle-price em{display:block!important;font-size:10px!important;font-style:normal!important;color:#667085!important;font-weight:700!important;margin-top:2px!important}
.vehicle-check{top:8px!important;right:8px!important;width:27px!important;height:27px!important;font-size:15px!important}
.vehicle-card.selected{background:#f5f9ff!important}
.vehicle-sheet>.primary-action{min-height:58px!important;font-size:18px!important}

.senior-card .supporting-copy{font-size:15px;line-height:1.45;margin-bottom:15px}
.field-block>span small{font-size:12px;font-weight:700;color:#98a2b3}
.simple-optional{border-top:1px solid #eaecf0;margin-top:4px;padding-top:10px}
.simple-optional summary{cursor:pointer;list-style:none;font-weight:850;color:#344054;display:flex;align-items:center;justify-content:space-between;min-height:42px}
.simple-optional summary::-webkit-details-marker{display:none}.simple-optional summary span{font-size:12px;color:#667085;font-weight:700}
.compact-payment-card{padding:15px!important;margin-bottom:10px!important}.compact-payment-card h3{margin-bottom:0!important}
.compact-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.compact-section-title h3{font-size:17px!important;margin:0!important}.compact-section-title span{font-size:12px;color:#667085;font-weight:750}
.compact-summary{padding:15px!important;margin-bottom:10px!important}.compact-summary .summary-title{font-size:18px;margin-bottom:8px}.compact-summary .summary-row{margin:6px 0;font-size:14px}.compact-summary .summary-total{font-size:19px;padding-top:9px;margin-top:9px}.due-now-row{font-weight:850}
.policy-compact{padding:12px 15px!important}.policy-compact summary{min-height:38px}
.payment-options{gap:7px!important}.payment-choice-card{min-height:58px!important;padding:10px 13px!important}.payment-choice-card strong{font-size:15px!important}.payment-choice-card small{font-size:12px!important}
.tip-options{gap:7px!important}.choice-btn{min-height:46px!important;font-size:14px!important}
.journey-step{padding:5px 9px 5px 6px!important;font-size:12px!important;gap:5px!important}.journey-step span{width:24px!important;height:24px!important;font-size:11px!important}

@media(max-width:767px){
  .vehicle-sheet{max-height:62vh!important}
  .vehicle-grid{overflow-y:auto!important;overflow-x:hidden!important;margin:10px 0 0!important;padding:1px!important}
  .vehicle-card{min-height:90px!important;grid-template-columns:88px minmax(0,1fr) auto!important;gap:9px!important;padding:9px 10px!important}
  .vehicle-image-wrap{width:88px!important;height:64px!important}.vehicle-photo{width:86px!important;height:62px!important}
  .vehicle-name{font-size:16px!important;margin-bottom:5px!important}.vehicle-capacity{font-size:12.5px!important}.vehicle-price{font-size:18px!important}.vehicle-price small{font-size:10px!important}.vehicle-price em{font-size:9px!important}
  .vehicle-check{width:24px!important;height:24px!important;top:6px!important;right:6px!important}
  .journey-steps{gap:5px!important;padding:8px 10px 9px!important}.journey-step{font-size:11.5px!important;padding-right:8px!important}
  .flow-body{padding-top:12px!important}
}

@media(max-width:420px){
  .vehicle-card{grid-template-columns:78px minmax(0,1fr) auto!important}.vehicle-image-wrap{width:78px!important}.vehicle-photo{width:76px!important}
  .vehicle-price{font-size:17px!important}.vehicle-capacity{font-size:12px!important}
}
.compact-tip-details{padding:12px 15px!important}.compact-tip-details summary{min-height:38px}.tip-inner{padding-top:2px}

/* v1.4.0 — resilient ride flow + senior-friendly ride decision */
.flow-sheet{isolation:isolate}
.flow-head,.journey-steps,.flow-body,.sticky-flow-action{position:relative}
.flow-head{z-index:4}.journey-steps{z-index:4}.flow-body{z-index:2}.sticky-flow-action{z-index:6}
.flow-sheet button,.vehicle-sheet button,.route-card button{pointer-events:auto!important;touch-action:manipulation;-webkit-tap-highlight-color:rgba(37,99,235,.12)}
.journey-step,.secondary-action,.primary-action,.stepper button,.back-btn{position:relative;z-index:1}
.journey-step:focus-visible,.secondary-action:focus-visible,.primary-action:focus-visible,.stepper button:focus-visible,.vehicle-card:focus-visible{outline:3px solid rgba(37,99,235,.35);outline-offset:2px}

.ride-decision-card{border:1.5px solid #dbeafe;background:#f8fbff;padding:16px 17px 15px!important}
.ride-decision-copy h3{margin:0 0 5px!important;font-size:18px!important}
.ride-decision-copy p{margin:0 0 13px;color:#667085;font-size:14px;line-height:1.45}
.ride-decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.ride-action-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:54px;background:#fff;border-color:#b2ccff;color:#1849a9}
.ride-action-button:hover{background:#eff6ff;border-color:#84adff}
.ride-count-note{margin-top:10px;text-align:center;color:#667085;font-size:13px;font-weight:750;min-height:19px}
.booking-level-step{border-color:#d6bbfb}.booking-level-step span{background:#f4ebff;color:#6941c6}
.booking-level-step.active{background:#101828;border-color:#101828;color:#fff}.booking-level-step.active span{background:#fff;color:#101828}
.booking-level-step.done{border-color:#b2ddff;color:#175cd3}.booking-level-step.done span{background:#1570ef;color:#fff}

/* Keep the sticky action clear of content and make it an obvious single next action. */
.sticky-flow-action{pointer-events:none!important}
.sticky-flow-action .primary-action{pointer-events:auto!important;min-height:60px}

@media(max-width:767px){
  .ride-decision-actions{grid-template-columns:1fr}
  .ride-action-button{min-height:56px;font-size:15px}
  .ride-decision-card{padding:14px!important}
  .journey-steps{padding-bottom:10px!important}
}

/* v1.4.1 - deterministic vehicle CTA visibility */
#vehicle-continue.d-none{display:none!important}

/* v1.4.2 — deterministic hit areas and no transparent click layers */
.bottom-panel.is-hidden{
  visibility:hidden!important;
  pointer-events:none!important;
}
.bottom-panel:not(.is-hidden){
  visibility:visible!important;
  pointer-events:auto!important;
}
.route-card.is-flow-mode,
body.vehicle-mode #route-card{
  visibility:hidden!important;
  pointer-events:none!important;
}
.route-card:not(.is-flow-mode){visibility:visible}

/* The action footer is now a real flex row, not a transparent absolute overlay. */
.flow-sheet{display:flex!important;flex-direction:column!important}
.flow-body{
  flex:1 1 auto!important;
  min-height:0!important;
  padding-bottom:16px!important;
  position:relative!important;
  z-index:2!important;
}
.sticky-flow-action{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  flex:0 0 auto!important;
  padding:12px 20px 17px!important;
  background:#fff!important;
  border-top:1px solid #eaecf0!important;
  pointer-events:auto!important;
  z-index:8!important;
}
.sticky-flow-action .primary-action{
  pointer-events:auto!important;
  position:relative!important;
  z-index:2!important;
}

/* Progress chips communicate position only; users advance with one clear CTA. */
.journey-step{
  cursor:default!important;
  user-select:none!important;
  pointer-events:none!important;
}

/* Every real action owns its full visible rectangle. */
[data-book-action],
.vehicle-card,
.route-field-change,
.add-stop-btn,
.ride-tab{
  pointer-events:auto!important;
  position:relative;
}
[data-book-action]::before,
.vehicle-card::before,
.route-field-change::before,
.add-stop-btn::before,
.ride-tab::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
}

#ride-action-feedback{margin-top:10px!important}

@media(max-width:767px){
  .flow-body{padding-bottom:12px!important}
  .sticky-flow-action{padding:11px 13px max(14px,env(safe-area-inset-bottom))!important}
}
#success-invoice{display:block;text-align:center;text-decoration:none;line-height:30px}

/* V1.7.1 · Manual quote vehicles */
.vehicle-price.quote-request-price strong{display:block;font-size:1rem;line-height:1.15;color:#0f172a}
.vehicle-price.quote-request-price em{display:block;max-width:150px;white-space:normal}
.quote-request-checkout{display:flex;gap:14px;align-items:flex-start;padding:4px 0}
.quote-request-checkout h3{margin:0 0 5px;font-size:1rem}
.quote-request-checkout p{margin:0;color:#64748b;line-height:1.45}
.quote-request-icon{width:38px;height:38px;min-width:38px;border-radius:999px;display:grid;place-items:center;background:#ecfdf3;color:#067647;font-weight:900;font-size:1.15rem}
.quote-pending-note{margin-top:14px;padding:14px 15px;border-radius:14px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;line-height:1.4}

/* v1.8.0 — persistent ride navigator, 80% viewport workspace, calmer senior UX */
.ride-manager{
  flex:0 0 auto;
  background:#f8fafc;
  border:1px solid #e4e7ec;
  border-radius:18px;
  padding:8px;
  margin:0 0 14px;
}
.ride-manager-in-panel{margin:0 14px 8px}
.ride-manager-tabs{
  display:flex;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
  padding:0 0 7px;
}
.ride-manager-tabs::-webkit-scrollbar{display:none}
.ride-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:78px;
  min-height:38px;
  padding:7px 11px;
  border-radius:12px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#475467;
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
  cursor:pointer;
}
.ride-tab b{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#dcfae6;color:#067647;font-size:10px}
.ride-tab.active{background:#101828;color:#fff;border-color:#101828;box-shadow:0 4px 12px rgba(16,24,40,.15)}
.ride-tab.active b{background:#fff;color:#101828}
.ride-manager-tools{display:grid;grid-template-columns:auto 1fr auto;gap:6px}
.ride-manager-btn{
  min-height:37px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054;
  border-radius:11px;
  padding:7px 10px;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}
.ride-manager-btn:hover{background:#f2f4f7}
.ride-add-btn{background:#eff6ff;border-color:#b2ccff;color:#175cd3}
.ride-copy-btn{overflow:hidden;text-overflow:ellipsis}
.ride-delete-btn{color:#b42318;background:#fff}
.ride-manager-btn:disabled,.ride-manager-btn.is-disabled{opacity:.42;cursor:not-allowed}
.compact-ride-decision{padding:13px 15px!important}
.compact-ride-decision .ride-decision-copy p{margin-bottom:9px}
.single-return-action{grid-template-columns:1fr!important}

/* All three public workspaces keep the same calm 80% viewport footprint. */
.route-card,.bottom-panel{
  height:80dvh!important;
  max-height:80dvh!important;
  overflow:hidden!important;
}
.route-card{
  display:flex!important;
  flex-direction:column!important;
}
.route-card-top{flex:0 0 auto}
#route-fields{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  scrollbar-width:none;
  padding-right:1px;
}
#route-fields::-webkit-scrollbar{display:none}
.route-card .add-stop-btn,.route-card .route-feedback{flex:0 0 auto}
.vehicle-sheet{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.vehicle-sheet-head{flex:0 0 auto}
.vehicle-grid{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  scrollbar-width:none!important;
}
.vehicle-grid::-webkit-scrollbar{display:none!important}
.flow-sheet{display:flex!important;flex-direction:column!important;overflow:hidden!important}
.flow-head,.journey-steps,.sticky-flow-action{flex:0 0 auto!important}
.flow-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  scrollbar-width:none!important;
  overscroll-behavior:contain;
  padding-bottom:12px!important;
}
.flow-body::-webkit-scrollbar{display:none}
.journey-panel{min-height:100%}

@media(min-width:768px){
  .route-card,.bottom-panel{top:10dvh!important;height:80dvh!important;max-height:80dvh!important}
  .route-card{right:24px!important;left:auto!important;width:min(460px,43vw)!important;padding:16px!important}
  .bottom-panel{right:24px!important;left:auto!important;bottom:auto!important;width:min(460px,43vw)!important;border-radius:28px!important}
  .vehicle-sheet{padding:0 14px 14px!important}
  .flow-head{padding-top:2px!important}
  .flow-body{padding:10px 14px 10px!important}
  .details-card{padding:14px!important;margin-bottom:9px!important}
  .large-control{min-height:50px!important}
  .counter-row{min-height:58px!important}
}

@media(max-width:767px){
  .brand-chip{top:10px!important;left:10px!important;padding:7px 10px!important}
  .brand-mark{width:26px!important;height:26px!important}
  .route-card,.bottom-panel{
    top:10dvh!important;
    left:8px!important;
    right:auto!important;
    bottom:auto!important;
    width:calc(100vw - 16px)!important;
    height:80dvh!important;
    max-height:80dvh!important;
    transform:none!important;
    border-radius:24px!important;
  }
  .route-card{padding:13px!important}
  .route-card h1{font-size:24px!important}
  .route-field{min-height:62px!important;margin-top:8px!important;border-radius:16px!important;padding:6px 8px!important}
  .route-field-icon{width:38px!important;height:38px!important}
  .route-field-address{font-size:15px!important}
  .add-stop-btn{min-height:48px!important;margin-top:8px!important}
  .ride-manager{margin-bottom:9px;padding:7px;border-radius:15px}
  .ride-manager-in-panel{margin:0 10px 6px}
  .ride-manager-tabs{padding-bottom:6px}
  .ride-tab{min-width:70px;min-height:36px;padding:6px 9px;font-size:12px}
  .ride-manager-tools{grid-template-columns:auto 1fr auto;gap:5px}
  .ride-manager-btn{min-height:35px;padding:6px 8px;font-size:11px}
  .ride-delete-btn{max-width:105px;overflow:hidden;text-overflow:ellipsis}
  .sheet-handle{margin:7px auto 6px!important}
  .vehicle-sheet{padding:0 10px 10px!important}
  .vehicle-sheet h2{font-size:22px!important}
  .vehicle-sheet-head p{display:none}
  .vehicle-grid{margin-top:7px!important;gap:7px!important}
  .vehicle-card{min-height:82px!important;grid-template-columns:74px minmax(0,1fr) auto!important;padding:7px 9px!important;border-radius:15px!important}
  .vehicle-image-wrap{width:74px!important;height:56px!important}.vehicle-photo{width:72px!important;height:54px!important}
  .vehicle-name{font-size:15px!important;margin-bottom:3px!important}.vehicle-capacity{font-size:11.5px!important}.vehicle-price{font-size:16px!important}
  .vehicle-sheet>.primary-action{min-height:52px!important;font-size:16px!important;margin-top:7px!important}
  .flow-head{padding:0 11px 6px!important}.flow-head h2{font-size:21px!important}.flow-head p{display:none!important}.back-btn{width:40px!important;height:40px!important;font-size:22px!important}
  .journey-steps{display:grid!important;grid-template-columns:repeat(6,1fr)!important;gap:4px!important;padding:5px 10px 7px!important;overflow:visible!important}
  .journey-step{min-width:0!important;padding:3px!important;justify-content:center!important;font-size:0!important;border-radius:10px!important}
  .journey-step span{width:25px!important;height:25px!important;font-size:11px!important}
  .flow-body{padding:8px 10px 8px!important}
  .details-card{padding:12px!important;margin-bottom:8px!important;border-radius:16px!important}
  .details-card h3{font-size:16px!important;margin-bottom:9px!important}.supporting-copy{font-size:12.5px!important;margin-bottom:9px!important}
  .large-control{min-height:48px!important;font-size:15px!important;padding:9px 11px!important}
  .field-block{margin-bottom:8px!important}.field-block>span{font-size:12.5px!important;margin-bottom:4px!important}
  .counter-row{min-height:54px!important}.stepper{grid-template-columns:40px 34px 40px!important}.stepper button{width:40px!important;height:40px!important}
  .sticky-flow-action{padding:8px 10px max(10px,env(safe-area-inset-bottom))!important}
  .sticky-flow-action .primary-action{min-height:52px!important;font-size:16px!important}
  .compact-ride-decision{padding:10px 12px!important}
  .compact-ride-decision .ride-decision-copy p{display:none}
  .ride-action-button{min-height:46px!important}
}

@media(max-width:390px){
  .ride-manager-btn{font-size:10.5px;padding-inline:7px}
  .ride-copy-btn{max-width:100px}
  .ride-delete-btn{max-width:92px}
  .route-card,.bottom-panel{left:6px!important;width:calc(100vw - 12px)!important}
}
/* v1.8.0 ride tab row refinement */
.ride-tab-add{background:#eff6ff!important;border-color:#b2ccff!important;color:#175cd3!important;font-weight:900!important}
.ride-manager-tools{grid-template-columns:1fr auto!important}
@media(max-width:767px){
  .ride-manager-tools{grid-template-columns:1fr auto!important}
  .ride-copy-btn{max-width:none!important}
}

/* v1.8.1 — calmer 5-step flow, unclipped Places search, map drag & drop */
.flow-head-copy{flex:1 1 auto}
.journey-step-count{
  flex:0 0 auto;
  min-width:58px;
  height:42px;
  padding:0 12px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#f2f4f7;
  border:1px solid #e4e7ec;
  color:#344054;
  font-size:15px;
  font-weight:900;
  letter-spacing:.01em;
}
/* Numbered navigation was intentionally removed. */
.journey-steps{display:none!important}

/* Ride tabs are the only multi-ride navigation. */
.ride-manager-tools{display:flex!important;justify-content:flex-end!important;gap:6px!important}
.ride-manager-tools:empty{display:none!important}
.ride-delete-btn{margin-left:auto}

/* Google suggestions must not be clipped by the 80% workspace. */
.route-card{overflow:visible!important}
#route-fields{
  overflow:visible!important;
  position:relative;
  z-index:20;
}
.route-field{
  grid-template-columns:48px minmax(0,1fr) auto!important;
  position:relative;
  overflow:visible!important;
}
.route-field:focus-within,.route-field.autocomplete-active{z-index:1000}
.route-field-main,.route-autocomplete-wrap,gmp-place-autocomplete{overflow:visible!important;position:relative;z-index:2}
gmp-place-autocomplete{z-index:1001!important}
.route-field-actions{display:flex;align-items:center;gap:3px;justify-content:flex-end}
.route-map-pick,.route-field-change{
  flex:0 0 auto;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.route-map-pick{background:#eff6ff;color:#175cd3;font-size:22px;font-weight:900}
.route-map-pick:hover{background:#dbeafe}
.route-field-change{font-size:24px;background:transparent;color:#667085}
.route-map-hint{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:8px;
  color:#667085;
  font-size:12.5px;
  font-weight:700;
  text-align:center;
}
.route-map-hint span{color:#175cd3;font-size:17px}

/* Map picker: map stays fully interactive while one compact instruction card floats above it. */
.map-pick-overlay{
  position:fixed;
  inset:0;
  z-index:70;
  pointer-events:none;
}
.map-pick-card{
  position:absolute;
  left:50%;
  bottom:max(24px,env(safe-area-inset-bottom));
  transform:translateX(-50%);
  width:min(680px,calc(100vw - 28px));
  background:rgba(255,255,255,.98);
  border:1px solid rgba(255,255,255,.92);
  border-radius:22px;
  box-shadow:0 24px 70px rgba(15,23,42,.24);
  padding:15px 16px;
  display:flex;
  align-items:center;
  gap:16px;
  pointer-events:auto;
  backdrop-filter:blur(18px);
}
.map-pick-card>div:first-child{min-width:0;flex:1}
.map-pick-card strong{display:block;font-size:17px;font-weight:900;margin-bottom:3px}
.map-pick-card span{display:block;color:#667085;font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-pick-actions{display:flex;gap:8px;flex:0 0 auto}
.map-pick-cancel,.map-pick-confirm{min-height:46px;border-radius:14px;padding:0 15px;font-weight:850;cursor:pointer}
.map-pick-cancel{border:1px solid #d0d5dd;background:#fff;color:#344054}
.map-pick-confirm{border:0;background:#101828;color:#fff}
body.map-pick-mode #route-card,
body.map-pick-mode #vehicle-sheet,
body.map-pick-mode #details-sheet,
body.map-pick-mode .brand-chip{opacity:0!important;pointer-events:none!important}
body.map-pick-mode #map{z-index:60}
body.map-pick-mode .map-pick-overlay{z-index:80}

/* Bags + add-ons now share one calm step. */
[data-journey-panel="luggage"] .details-card{margin-bottom:10px!important}
[data-journey-panel="luggage"] #extras-card{margin-bottom:4px!important}

@media(min-width:768px){
  .route-card{height:80dvh!important;max-height:80dvh!important}
  .map-pick-card{bottom:10dvh;left:calc(50% - 230px);transform:translateX(-50%)}
}

@media(max-width:767px){
  .flow-head{align-items:center!important;padding:8px 12px!important}
  .flow-head-copy .eyebrow{margin-bottom:2px!important}
  .journey-step-count{height:38px;min-width:54px;font-size:14px;padding:0 10px}
  .route-card{overflow:visible!important}
  #route-fields{overflow:visible!important}
  .route-field{grid-template-columns:40px minmax(0,1fr) auto!important}
  .route-field-actions{gap:1px}
  .route-map-pick,.route-field-change{width:34px;height:34px}
  .route-map-pick{font-size:20px}
  .route-map-hint{font-size:11.5px;margin-top:6px}
  .map-pick-card{
    left:8px;
    right:8px;
    bottom:max(10px,env(safe-area-inset-bottom));
    width:auto;
    transform:none;
    display:block;
    padding:14px;
  }
  .map-pick-card span{white-space:normal;margin-bottom:11px}
  .map-pick-actions{display:grid;grid-template-columns:1fr 1.35fr;width:100%}
  .map-pick-cancel,.map-pick-confirm{width:100%;min-height:50px}
}

/* V1.9.1 · Post-payment operations notice */
.success-post-payment-message{
  margin-top:14px;
  padding:13px 15px;
  border:1px solid #d9e2ec;
  border-radius:16px;
  background:#f8fafc;
  color:#344054;
  font-size:14px;
  line-height:1.45;
  text-align:left;
  white-space:pre-line;
}

/* v1.9.2 · Mobile map / booking switch */
.mobile-map-toggle{display:none}

@media(max-width:767px){
  .mobile-map-toggle{
    position:fixed;
    z-index:75;
    top:max(12px,env(safe-area-inset-top));
    right:12px;
    min-height:44px;
    max-width:46vw;
    padding:0 14px;
    border:1px solid rgba(208,213,221,.95);
    border-radius:999px;
    background:rgba(255,255,255,.97);
    color:#101828;
    box-shadow:0 8px 24px rgba(15,23,42,.14);
    backdrop-filter:blur(16px);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    font-size:13px;
    line-height:1;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    cursor:pointer;
    touch-action:manipulation;
  }
  .mobile-map-toggle-icon{font-size:18px;line-height:1;color:#175cd3}
  .mobile-map-toggle.is-map-view{background:#101828;color:#fff;border-color:#101828}
  .mobile-map-toggle.is-map-view .mobile-map-toggle-icon{color:#fff}

  /* Map mode hides only the booking workspace; its exact state remains intact. */
  body.mobile-map-view #route-card,
  body.mobile-map-view #vehicle-sheet,
  body.mobile-map-view #details-sheet{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  body.mobile-map-view #route-card{transform:translateY(18px)!important}
  body.mobile-map-view #vehicle-sheet,
  body.mobile-map-view #details-sheet{transform:translateY(30px)!important}
  body.mobile-map-view #map{z-index:1!important}
  body.mobile-map-view .brand-chip{z-index:74}
  body.mobile-map-view .map-status{top:68px}

  /* The dedicated pin picker owns the map, so the global switch stays out of the way. */
  body.map-pick-mode .mobile-map-toggle{display:none!important}
}

@media(min-width:768px){
  .mobile-map-toggle{display:none!important}
}

/* V1.9.5 passenger split */
.passenger-total-row{background:#f8fafc;border-radius:14px;padding:14px 16px;margin-top:8px}
.passenger-total-value{font-size:1.2rem;font-weight:800;color:#0f172a;min-width:42px;text-align:center}

/* V1.11.0 · Passenger-first booking and lead capture */
.flow-mini-index{font-size:13px;font-weight:800;color:#667085;letter-spacing:0;vertical-align:middle;white-space:nowrap}
.route-card #route-continue{margin-top:14px;position:relative;z-index:23}
.lead-capture-note{padding:11px 13px;border-radius:12px;background:#eef4ff;color:#344054;font-size:13px;line-height:1.4}
@media(min-width:768px){.route-card{display:flex;flex-direction:column;gap:3px}.route-card #route-continue{margin-top:auto;flex-shrink:0}}
@media(max-width:767px){.route-card #route-continue{position:sticky;bottom:0;box-shadow:0 -8px 16px rgba(255,255,255,.85)}}

/* V1.12.0 — five-step lead-first booking flow */
.route-time-card{
  flex:0 0 auto;
  margin-top:10px;
  padding:14px;
  border:1px solid #e4e7ec;
  border-radius:18px;
  background:rgba(248,250,252,.96);
}
.route-time-title{font-size:15px;font-weight:900;color:#101828;margin-bottom:9px}
.route-time-card .field-block{margin-bottom:7px}
.route-time-card .large-control{min-height:48px;font-size:16px;padding:9px 11px}
.route-time-card .form-text{font-size:12px;color:#667085;margin-top:1px}
.route-optional-details{margin-top:9px;border-top:1px solid #e4e7ec;padding-top:8px}
.route-optional-details summary{cursor:pointer;font-size:13px;font-weight:850;color:#344054;list-style:none}
.route-optional-details summary::-webkit-details-marker{display:none}
.route-optional-details summary span,.section-optional{font-size:11px;font-weight:750;color:#98a2b3;margin-left:6px}
.route-optional-details .optional-fields{padding-top:10px}
[data-journey-panel="passengers"] .details-card{margin-bottom:10px!important}
[data-journey-panel="passengers"] #extras-card{margin-bottom:4px!important}
#lead-save-status{margin-top:12px}

@media (min-width:768px){
  .route-time-grid{grid-template-columns:1fr 1fr!important}
}
@media (max-width:767px){
  .route-time-card{padding:12px;border-radius:16px}
  .route-time-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .route-time-card .large-control{min-height:46px;font-size:15px}
  .route-optional-details .two-col{grid-template-columns:1fr!important}
}

/* V1.12.1 — high-contrast route search + compact relative Google suggestions */
:root{
  --control-border:#aeb8c4;
  --control-border-hover:#98a2b3;
  --control-focus:#2563eb;
  --control-placeholder:#667085;
}

/* The workspace remains fixed at 80% height; only the route list scrolls.
   Autocomplete results are part of the normal document flow, so they never cover date/time. */
.route-card{
  overflow:hidden!important;
  isolation:isolate;
}
#route-fields{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-width:thin!important;
  scrollbar-color:#cbd5e1 transparent!important;
  padding:0 3px 5px 1px!important;
  position:relative!important;
  z-index:2!important;
}
#route-fields::-webkit-scrollbar{width:6px!important}
#route-fields::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
#route-fields::-webkit-scrollbar-track{background:transparent}

.route-field{
  background:#f8fafc!important;
  border:1.5px solid #c5ccd5!important;
  box-shadow:0 1px 2px rgba(15,23,42,.03);
  align-items:start!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  z-index:auto!important;
}
.route-field:hover{border-color:var(--control-border-hover)!important}
.route-field:focus-within,.route-field.autocomplete-active{
  border-color:#84adff!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.11)!important;
  z-index:4!important;
}
.route-field-icon{margin-top:2px}
.route-field-actions{padding-top:2px}
.route-field-label{color:#475467!important;font-size:12.5px!important;margin-bottom:5px!important}
.route-autocomplete-wrap{
  width:100%;
  min-width:0;
  position:relative!important;
  overflow:visible!important;
  z-index:auto!important;
}

/* Our search field is intentionally obvious for senior users. */
.route-search-input{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  height:44px;
  min-height:44px;
  margin:0;
  padding:9px 12px;
  border:1.5px solid var(--control-border);
  border-radius:12px;
  outline:0;
  background:#fff;
  color:#101828;
  font-size:16px;
  line-height:1.25;
  font-weight:650;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.route-search-input::placeholder{color:var(--control-placeholder);opacity:1;font-weight:550}
.route-search-input:hover{border-color:var(--control-border-hover)}
.route-search-input:focus{
  border-color:var(--control-focus);
  box-shadow:0 0 0 3px rgba(37,99,235,.14);
  background:#fff;
}
.route-search-input.is-loading{background:#f8fafc;cursor:progress}
.route-search-input::-webkit-search-cancel-button{cursor:pointer}

/* Compact suggestions: relative, scrollable and never taller than the route workspace. */
.route-search-results{
  position:relative;
  width:100%;
  max-height:184px;
  margin-top:6px;
  overflow-y:auto;
  overscroll-behavior:contain;
  border:1px solid #d0d5dd;
  border-radius:13px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.11);
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
}
.route-search-results::-webkit-scrollbar{width:6px}
.route-search-results::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.route-search-result{
  width:100%;
  min-height:50px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:8px 10px;
  border:0;
  border-bottom:1px solid #eef1f4;
  background:#fff;
  color:#101828;
  text-align:left;
  cursor:pointer;
}
.route-search-result:last-child{border-bottom:0}
.route-search-result:hover,.route-search-result.is-active{background:#eff6ff}
.route-search-result:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}
.route-search-result-icon{
  flex:0 0 auto;
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f2f4f7;
  color:#175cd3;
  font-size:16px;
  font-weight:900;
}
.route-search-result-copy{min-width:0;display:block}
.route-search-result-copy strong{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:14px;
  line-height:1.25;
  color:#101828;
}
.route-search-result-copy small{
  display:block;
  margin-top:2px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:12px;
  line-height:1.25;
  color:#667085;
}
.route-search-empty{padding:12px;color:#667085;font-size:13px;line-height:1.35}

/* Keep the Google component fallback usable if an older Maps build is loaded. */
gmp-place-autocomplete{
  width:100%!important;
  min-height:44px!important;
  border:1.5px solid var(--control-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(15,23,42,.04)!important;
  overflow:hidden!important;
  --gmpx-color-surface:#fff;
  --gmpx-color-on-surface:#101828;
  --gmpx-color-on-surface-variant:#475467;
  --gmpx-color-primary:#2563eb;
  --gmpx-font-family:Inter,system-ui,sans-serif;
  --gmpx-font-size-base:16px;
}

/* Date/time and all standard form controls use the same visible control language. */
.large-control{
  border-color:var(--control-border)!important;
  background:#fff!important;
  color:#101828!important;
  box-shadow:0 1px 2px rgba(15,23,42,.03);
}
.large-control::placeholder{color:var(--control-placeholder);opacity:1}
.large-control:hover{border-color:var(--control-border-hover)!important}
.large-control:focus{
  border-color:var(--control-focus)!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.13)!important;
}
.route-time-card{
  flex:0 0 auto!important;
  position:relative;
  z-index:1;
  background:#f8fafc!important;
  border-color:#d8dee7!important;
}
.route-card .add-stop-btn,.route-card .route-map-hint,.route-card .route-time-card,.route-card .route-feedback,.route-card #route-continue{
  flex:0 0 auto!important;
}

/* Clear, calm hover/pressed states on the rest of the public UI. */
.primary-action,.secondary-action,.ride-manager-btn,.route-map-pick,.route-field-change,.vehicle-card{
  -webkit-tap-highlight-color:rgba(37,99,235,.12);
}
.primary-action:active,.secondary-action:active,.ride-manager-btn:active,.route-map-pick:active{transform:translateY(1px)}
button:focus-visible,.vehicle-card:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(37,99,235,.28);
  outline-offset:2px;
}

@media(min-width:768px){
  /* Reserve a predictable area for route search so date/time always stays visible. */
  #route-fields{max-height:34dvh!important}
  .route-search-results{max-height:172px}
  .route-card{gap:4px!important}
}

@media(max-width:767px){
  .route-card{overflow:hidden!important}
  #route-fields{max-height:31dvh!important;padding-right:2px!important}
  .route-field{grid-template-columns:38px minmax(0,1fr) auto!important;padding:7px!important}
  .route-field-icon{width:36px!important;height:36px!important;font-size:18px!important}
  .route-search-input{height:42px;min-height:42px;font-size:16px;padding:8px 10px}
  .route-search-results{max-height:154px;margin-top:5px;border-radius:12px}
  .route-search-result{min-height:48px;padding:7px 9px}
  .route-search-result-copy strong{font-size:13.5px}
  .route-search-result-copy small{font-size:11.5px}
  .route-time-card{margin-top:7px!important;padding:10px!important}
  .route-time-title{margin-bottom:6px!important;font-size:14px!important}
  .route-time-card .large-control{min-height:43px!important;font-size:16px!important;padding:7px 9px!important}
  .route-time-card .form-text{font-size:11px!important;line-height:1.25}
  .route-optional-details{margin-top:6px!important;padding-top:6px!important}
  .route-map-hint{margin-top:5px!important}
}

@media(max-width:390px){
  #route-fields{max-height:29dvh!important}
  .route-search-results{max-height:145px}
}

/* =========================================================
   V1.12.2 — Route-first UX
   Step 1 is route only. Pickup date/time lives in step 2.
   ========================================================= */

/* Keep the route workspace calm and predictable. Search results expand inside
   the route workspace and can scroll; they never need to cover date/time. */
.route-card{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#route-fields{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  padding-right:3px;
}
#route-fields::-webkit-scrollbar{width:6px}
#route-fields::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.route-card .route-map-hint,.route-card .route-feedback,.route-card #route-continue,.route-card .add-stop-btn{
  flex:0 0 auto!important;
}

/* Search fields must look like fields, not gray text on a white panel. */
.route-search-input{
  background:#fff!important;
  border:2px solid #98a2b3!important;
  color:#101828!important;
  font-weight:650!important;
  box-shadow:0 1px 2px rgba(16,24,40,.06)!important;
}
.route-search-input::placeholder{color:#667085!important;font-weight:550!important;opacity:1!important}
.route-search-input:hover{border-color:#667085!important}
.route-search-input:focus{
  border-color:#2563eb!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.14)!important;
}

/* Compact Google suggestions. They are part of the route flow, so the route
   area scrolls naturally instead of covering controls from another step. */
.route-search-results{
  position:relative!important;
  z-index:2!important;
  max-height:158px!important;
  overflow-y:auto!important;
  margin-top:5px!important;
  border:1px solid #d0d5dd!important;
  border-radius:12px!important;
  box-shadow:0 8px 20px rgba(16,24,40,.10)!important;
}
.route-search-result{min-height:46px!important;padding:7px 9px!important}
.route-search-result-copy strong{font-size:13.5px!important}
.route-search-result-copy small{font-size:11.5px!important}

/* Step 2: date/time first, then passengers, bags and extras. */
.pickup-details-card{border-color:#dbe4f0!important;background:#fff!important}
.pickup-time-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
.pickup-details-card .form-text{font-size:12px;color:#667085;margin-top:-1px}
.pickup-optional-details{margin-top:10px}
.pickup-optional-details .optional-fields{padding-top:2px}

/* The panel remains 80% high. Only its body scrolls, never the entire page. */
.flow-sheet{height:80dvh!important;max-height:80dvh!important;overflow:hidden!important}
.single-step-body{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}

@media(min-width:768px){
  .route-card{height:80dvh!important;max-height:80dvh!important}
  .route-search-results{max-height:168px!important}
}

@media(max-width:767px){
  .route-card{height:80dvh!important;max-height:80dvh!important;overflow:hidden!important}
  #route-fields{max-height:none!important;overflow-y:auto!important}
  .route-search-results{max-height:138px!important}
  .pickup-time-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .pickup-details-card .large-control{min-height:48px!important;font-size:16px!important}
}

@media(max-width:380px){
  .route-search-results{max-height:126px!important}
  .pickup-time-grid{grid-template-columns:1fr!important}
}

/* v1.12.3 — compact booking flow: keep the route header, move Back beside the primary CTA */
.flow-sheet{padding-top:0!important}
.flow-sheet .flow-head,.flow-sheet .journey-step-count{display:none!important}
.flow-body{padding-top:10px!important;padding-bottom:10px!important}
.journey-panel{max-width:760px}
.details-card{padding:15px 16px!important;margin-bottom:9px!important}
.details-card h3{margin-bottom:10px!important;font-size:17px!important}
.supporting-copy{display:none!important}
.large-counter-row{min-height:72px!important}
.counter-row{padding:10px 0!important}
.lead-capture-note{font-size:12.5px!important;line-height:1.35!important;padding:9px 11px!important;margin-top:8px!important}
.form-text,.secure-note{font-size:12.5px!important;line-height:1.35!important}

.flow-action-row,.vehicle-action-row{
  display:grid!important;
  grid-template-columns:minmax(104px,.42fr) minmax(0,1fr)!important;
  gap:9px!important;
  align-items:stretch!important;
}
.flow-action-row .primary-action,.vehicle-action-row .primary-action,
.flow-action-row .secondary-action,.vehicle-action-row .secondary-action{
  width:100%!important;
  min-height:54px!important;
  margin:0!important;
}
.flow-back-action{font-size:15px!important;background:#fff!important;border-color:#d0d5dd!important}
.sticky-flow-action{padding:10px 14px max(12px,env(safe-area-inset-bottom))!important}
.vehicle-action-row{flex:0 0 auto;margin-top:10px;padding-top:10px;border-top:1px solid #eaecf0}
.vehicle-action-row .primary-action.d-none{display:none!important}
.vehicle-sheet>.primary-action{margin-top:0!important}
.compact-vehicle-head{margin-bottom:4px!important}
.compact-vehicle-head h2{font-size:22px!important;margin:2px 0 0!important}
.vehicle-head-topline{display:flex;align-items:center;justify-content:space-between;gap:8px}
.vehicle-head-topline .route-summary-chip{margin-bottom:0!important}
.vehicle-head-topline .mini-back-action{padding:4px 0!important;white-space:nowrap}

@media(min-width:768px){
  .flow-body{padding:10px 16px!important}
  .sticky-flow-action{padding:10px 16px 14px!important}
  .vehicle-action-row{padding-top:10px}
}
@media(max-width:767px){
  .flow-body{padding:9px 11px!important}
  .details-card{padding:13px 14px!important;border-radius:16px!important}
  .large-counter-row{min-height:68px!important}
  .flow-action-row,.vehicle-action-row{grid-template-columns:105px minmax(0,1fr)!important;gap:8px!important}
  .flow-action-row .primary-action,.vehicle-action-row .primary-action,
  .flow-action-row .secondary-action,.vehicle-action-row .secondary-action{min-height:50px!important;font-size:15px!important}
  .compact-vehicle-head h2{font-size:20px!important}
}
