/* Booking-only presentation. Explicit placement removes the legacy iOS grid slots. */
html body.t39-modern #view-book :is(h1,h2,b,label,button),
html body.t39-modern #modernBookingPicker :is(h2,button),
html body.t39-modern #rideConfirmModal :is(h2,b,button) {font-variation-settings:'wght' 750!important}
html body.t39-modern #view-book input {font-variation-settings:'wght' 600!important}
html body.t39-modern #view-book #bookingSheet .modern-address-actions {
  display:flex!important; flex-flow:row nowrap!important; align-items:center!important;
  justify-content:space-between!important; gap:8px!important; margin:7px 0 0!important;
  width:100%!important; min-width:0!important; grid-template-columns:none!important;
}
html body.t39-modern #view-book #bookingSheet .modern-address-actions>button {
  grid-area:auto!important; position:static!important; inset:auto!important;
  flex:0 1 auto!important; width:auto!important; max-width:100%!important; min-width:0!important;
  min-height:39px!important; height:auto!important; margin:0!important; padding:4px 0!important;
  border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
  display:flex!important; gap:5px!important; justify-content:center!important; align-items:center!important;
  font:800 11px/1.4 Manrope,sans-serif!important; color:#5a7148!important;
  white-space:nowrap!important; overflow-wrap:normal!important; word-break:normal!important; transform:none!important;
}
html body.t39-modern #view-book #bookingSheet .modern-address-actions .tbv2-quick-icon {display:none!important}
html body.t39-modern #view-book #bookingSheet .modern-address-actions .tbv2-quick-label {font:inherit!important; white-space:nowrap!important}
html body.t39-modern #view-book #bookingSheet #locationButton::after {content:none!important;display:none!important}
html body.t39-modern #view-book #bookingSheet {padding:25px!important; border-radius:23px!important; background:#fff!important; box-shadow:none!important}
html body.t39-modern #view-book #bookingSheet .tbv2-header {margin:0 0 20px!important;padding:0!important}
html body.t39-modern #view-book #bookingSheet .tbv2-title {font-size:24px!important;line-height:1.25!important;letter-spacing:-.6px!important;margin:0!important}
html body.t39-modern #view-book #bookingSheet .tbv2-address-box {background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
html body.t39-modern #view-book #bookingSheet .tbv2-field-row {margin:0 0 15px!important;padding:0!important}
html body.t39-modern #view-book #bookingSheet .tbv2-input-box {position:relative!important;display:block!important;padding:0!important;margin:0!important;background:none!important}
html body.t39-modern #view-book #bookingSheet label {font:800 10px/1.5 Manrope,sans-serif!important;color:#616953!important;letter-spacing:.04em!important;margin:0 0 8px!important}
html body.t39-modern #view-book #bookingSheet .tbv2-input-box input,
html body.t39-modern #view-book #bookingSheet #bookingDriverNote {
  position:static!important;display:block!important;grid-area:auto!important;width:100%!important;min-width:0!important;
  height:55px!important;min-height:55px!important;margin:0!important;padding:0 12px!important;
  font:700 16px/1.4 Manrope,sans-serif!important;color:#293024!important;background:#f9faf6!important;
  border:1px solid #dce1d4!important;border-radius:13px!important;box-shadow:none!important;text-overflow:ellipsis!important;
}
html body.t39-modern #view-book #bookingSheet #destinationInput {padding-right:42px!important}
html body.t39-modern #view-book #bookingSheet #clearDestination {
  position:absolute!important;inset:30px 5px auto auto!important;grid-area:auto!important;
  width:35px!important;min-width:35px!important;height:40px!important;min-height:40px!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
  display:grid!important;place-items:center!important;transform:none!important;color:#6d785b!important;
}
html body.t39-modern #view-book #bookingSheet #destinationLaterButton {
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  width:100%!important;margin:0!important;padding:13px 10px!important;min-height:45px!important;
  border:1px dashed #ccd4be!important;border-radius:11px!important;background:#fafcf7!important;
  color:#657752!important;font:700 11px/1.5 Manrope,sans-serif!important;box-shadow:none!important;
}
html body.t39-modern #view-book #bookingSheet #destinationLaterButton[aria-pressed=true] {background:#ecf2e5!important;border-color:#779b58!important;color:#3b6527!important}
html body.t39-modern #view-book #bookingSheet .modern-booking-car {margin:18px 0!important;padding:15px!important;border:1px solid #e2c45c!important;border-radius:13px!important;gap:12px!important;min-height:0!important;background:#fff7d4!important}
html body.t39-modern #view-book #bookingSheet .modern-booking-car img {flex:0 0 60px!important;width:60px!important;max-width:60px!important;height:44px!important;min-width:60px!important;object-fit:cover!important;object-position:center!important;border-radius:8px!important}
html body.t39-modern #view-book #bookingSheet .modern-booking-car b {font-size:14px!important;line-height:1.4!important}
html body.t39-modern #view-book #bookingSheet .modern-booking-car span {font-size:11px!important;line-height:1.5!important}
html body.t39-modern #view-book #bookingSheet .booking-demo-summary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
html body.t39-modern #view-book #bookingSheet .booking-demo-summary>div {background:#f5f6ef;border-radius:12px;padding:11px;min-width:0}
html body.t39-modern #view-book #bookingSheet .booking-demo-summary b {display:block;font-size:17px;line-height:1.3;overflow-wrap:break-word}
html body.t39-modern #view-book #bookingSheet .booking-demo-summary small {display:block;font-size:10px;color:#657052;margin-top:4px}
html body.t39-modern #view-book #bookingSheet #waitingRow {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px!important;background:#f9faf6!important;border:1px solid #dce1d4!important;border-radius:13px!important;margin:16px 0!important;padding:12px!important;height:auto!important}
html body.t39-modern #view-book #bookingSheet .tbv2-waiting-text {flex:1 1 115px!important}
html body.t39-modern #view-book #bookingSheet .tbv2-waiting-text b {font-size:12px!important;line-height:1.4!important;margin:0!important;display:block!important}
html body.t39-modern #view-book #bookingSheet .tbv2-waiting-text span {font-size:10px!important;line-height:1.4!important;margin:3px 0 0!important;display:block!important}
html body.t39-modern #view-book #bookingSheet .tbv2-stepper {display:grid!important;grid-template-columns:32px 44px 32px!important;gap:4px!important;margin:0!important;flex:0 0 116px!important;max-width:116px!important}
html body.t39-modern #view-book #bookingSheet .tbv2-stepper button {width:32px!important;height:36px!important;min-height:36px!important;min-width:32px!important;font-size:17px!important;padding:0!important}
html body.t39-modern #view-book #bookingSheet .tbv2-stepper b {min-width:0!important;font-size:12px!important}
html body.t39-modern #view-book #bookingSheet .booking-driver-note {margin:18px 0}
html body.t39-modern #view-book #bookingSheet .booking-driver-note label {display:block!important}
html body.t39-modern #view-book #bookingSheet .booking-fare-details {margin:15px 0;font-size:12px;color:#516343}
html body.t39-modern #view-book #bookingSheet .booking-fare-details[hidden] {display:none!important}
html body.t39-modern #view-book #bookingSheet .booking-fare-details summary {padding:10px 0;cursor:pointer;font-weight:800}
html body.t39-modern #view-book #bookingSheet .tbv2-promo {padding:12px!important;margin:16px 0!important;border-radius:13px!important;min-height:0!important}
html body.t39-modern #view-book #bookingSheet .tbv2-promo-msg:empty {display:none!important}
html body.t39-modern #view-book #bookingSheet #callTaxiButton {width:100%!important;min-height:54px!important;margin:16px 0 0!important;padding:14px 16px!important;border-radius:14px!important;font-size:15px!important;white-space:normal!important;gap:10px!important;box-shadow:none!important}

/* The picker is a body-level dialog so ancestor transforms cannot crop the map. */
html body.t39-modern #modernBookingPicker {position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;background:#20271966!important;touch-action:auto!important}
html body.t39-modern #modernBookingPicker[hidden] {display:none!important}
html body.t39-modern #modernBookingPicker * {box-sizing:border-box}
html body.t39-modern #modernBookingPicker .booking-picker-dialog {width:min(520px,100%)!important;max-height:calc(100dvh - 32px)!important;margin:0!important;padding:22px!important;overflow:auto!important;overscroll-behavior:contain;border:1px solid #e0e5d7;border-radius:23px!important;background:#fff!important;color:#293024!important;box-shadow:0 20px 60px #17231133}
html body.t39-modern #modernBookingPicker header {display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
html body.t39-modern #modernBookingPicker h2 {margin:4px 0 0!important;font:800 23px/1.25 Manrope,sans-serif!important;color:#293024!important;letter-spacing:-.6px}
html body.t39-modern #modernBookingPicker #bookingPickerClose {display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #dfe4d6;border-radius:50%;font-size:23px;background:#fff;color:#394431;box-shadow:none;padding:0}
html body.t39-modern #modernBookingPicker p {font:400 12px/1.65 Manrope,sans-serif!important;color:#66705b!important;margin:14px 0!important}
html body.t39-modern #modernBookingPicker .booking-picker-map {height:clamp(190px,44dvh,350px);min-height:190px;position:relative;min-width:0}
html body.t39-modern #modernBookingPicker #map-wrap {position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border:1px solid #dfe4d6!important;border-radius:16px!important;overflow:hidden!important;transform:none!important;z-index:0!important;margin:0!important;padding:0!important;touch-action:none!important}
html body.t39-modern #modernBookingPicker #map {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;transform:none!important;z-index:0!important;touch-action:none!important}
html body.t39-modern #modernBookingPicker #mapCenterPin {display:block!important;position:absolute!important;inset:50% auto auto 50%!important;width:36px!important;height:48px!important;transform:translate(-50%,-100%)!important;z-index:800!important;pointer-events:none!important}
html body.t39-modern #modernBookingPicker :is(.leaflet-marker-pane,.leaflet-shadow-pane,.leaflet-tooltip-pane,.leaflet-overlay-pane,.leaflet-popup-pane) {visibility:hidden!important}
html body.t39-modern #modernBookingPicker .booking-picker-zoom {position:absolute;left:10px;top:10px;z-index:850;display:grid;gap:1px;border:1px solid #dfe4d6;border-radius:10px;overflow:hidden}
html body.t39-modern #modernBookingPicker .booking-picker-zoom button {width:36px;height:36px;min-height:36px;padding:0;background:#fff;color:#293024;border:0;box-shadow:none;font:800 21px/1 Manrope,sans-serif;border-radius:0}
html body.t39-modern #modernBookingPicker :is(.map-overlay,#mapSettingsButton,#mapSettingsPanel,#liveMapStatusBubble,#liveMapCloseButton) {display:none!important}
html body.t39-modern #modernBookingPicker #mapPickConfirm {display:flex!important;position:static!important;inset:auto!important;width:100%!important;min-width:0!important;min-height:50px!important;height:auto!important;margin:12px 0 0!important;padding:13px 15px!important;transform:none!important;align-items:center!important;justify-content:center!important;white-space:normal!important;border:1px solid #e3b514!important;border-radius:14px!important;background:#ffcf27!important;color:#25291f!important;box-shadow:none!important;font:800 14px/1.4 Manrope,sans-serif!important}
html body.t39-modern #modernBookingPicker #bookingPickerPosition {display:block;margin-top:10px;font-size:10px;line-height:1.4;color:#66705b}
html body.t39-modern #modernBookingPicker .leaflet-control-attribution {font:10px/1.4 Manrope,sans-serif!important;white-space:normal!important;max-width:100%!important}
html body.t39-modern.booking-picker-open :is(.topbar.app-header,.bottom-nav,.desktop-rail,.toast,.toast-wrap) {visibility:hidden!important;pointer-events:none!important}
html body.t39-modern.booking-picker-open #view-book .booking-layout {position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;display:block!important}
html body.t39-modern.booking-picker-open #view-book {visibility:hidden!important}
html body.t39-modern #rideConfirmModal .modal {width:min(520px,calc(100% - 24px))!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;padding:22px 18px!important;border-radius:23px!important}
html body.t39-modern #rideConfirmModal :is(p,b,span,small) {overflow-wrap:break-word!important}
html body.t39-modern #rideConfirmModal #rideConfirmDriverNote {font-size:13px!important;line-height:1.6!important;margin:15px 0!important;color:#526044!important}
html body.t39-modern #rideConfirmModal #rideConfirmDriverNote[hidden] {display:none!important}

@media(max-width:700px) {
  html body.t39-modern .app-main:has(#view-book.active) {padding:0!important}
  html body.t39-modern #view-book#view-book {padding:0 0 24px!important}
  html body.t39-modern #view-book#view-book>.page-header {margin:0 0 22px!important;padding:0!important;background:none!important}
  html body.t39-modern #view-book #bookTitle {font-size:28px!important;line-height:1.2!important;letter-spacing:-.7px!important}
  html body.t39-modern #view-book .modern-view-lead {font-size:13px!important;margin-top:7px!important;line-height:1.5!important}
  html body.t39-modern:not(.map-pick-active):not(.live-map-fullscreen) #view-book #map-wrap {height:255px!important;min-height:255px!important;border-radius:22px!important;position:relative!important;inset:auto!important}
  html body.t39-modern:not(.map-pick-active):not(.live-map-fullscreen) #view-book #map {height:100%!important;min-height:0!important;position:absolute!important;inset:0!important}
  html body.t39-modern #view-book #bookingSheet {padding:22px 18px!important;border-radius:21px!important}
  html body.t39-modern #view-book #bookingSheet .booking-demo-summary b {font-size:16px!important}
  html body.t39-modern #view-book #map-wrap .map-overlay {top:12px!important;left:12px!important;right:58px!important;display:flex!important;flex-wrap:wrap!important;gap:5px!important}
  html body.t39-modern #view-book #map-wrap .map-chip {position:static!important;width:auto!important;max-width:100%!important;min-width:0!important;padding:6px 9px!important;font-size:10px!important;line-height:1.4!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
  html body.t39-modern #view-book #map-wrap .map-chip.hidden {display:none!important}
  html body.t39-modern #modernBookingPicker {padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))!important}
  html body.t39-modern #modernBookingPicker .booking-picker-dialog {padding:18px!important;max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))!important}
  html body.t39-modern #modernBookingPicker .leaflet-control-container .leaflet-top {top:10px!important}
}
@media(max-width:359px) {
  html body.t39-modern #view-book #bookingSheet {padding:20px 15px!important}
  html body.t39-modern #view-book #bookingSheet .modern-address-actions>button {font-size:10px!important}
  html body.t39-modern #modernBookingPicker h2 {font-size:20px!important}
}

/* Keep the iPhone taxi-call map free of location labels and the settings button. */
html.native-ios body.t39-modern #view-book #map-wrap .map-overlay,
html.native-ios body.t39-modern #view-book #mapSettingsButton {display:none!important}
