/* Keep each Google suggestion panel directly beneath its own field,
   outside the Safari-interactive <label> but inside the existing form grid. */
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields{
  align-items:start!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > .atd-place-menu.atd-place-inline{
  position:static!important;
  grid-row:2!important;
  width:100%!important;max-width:min(460px,100%)!important;min-width:0!important;
  box-sizing:border-box!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  margin:3px 0 0!important;padding:5px 7px!important;
  max-height:min(220px,36vh)!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain!important;
  border:1px solid #dfe4ee!important;border-radius:10px!important;
  box-shadow:0 4px 14px #17244317!important;
  z-index:auto!important;background:#fff!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > .atd-place-menu.atd-place-inline[hidden]{
  display:none!important;
}
/* Desktop: both field labels occupy row 1, each own menu occupies row 2.
   In the single-column mobile flex layout, source order keeps a menu directly
   below its field and pushes the destination down without overlaying it. */
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > .atd-place-pickup-host{
  grid-column:1!important;grid-row:1!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > .atd-place-dropoff-host{
  grid-column:2!important;grid-row:1!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > #pickup-places-menu{
  grid-column:1!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > #dropoff-places-menu{
  grid-column:2!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > .atd-place-inline-alert{
  position:static!important;grid-row:3!important;min-width:0!important;
  margin:0!important;padding:7px 9px!important;
  background:#fff8ef!important;border:1px solid #f1d5ad!important;
  border-radius:7px!important;color:#754b19!important;font-size:11px!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > .atd-place-inline-alert:empty{
  display:none!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > #pickup-places-menu + .atd-place-inline-alert{
  grid-column:1!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > #dropoff-places-menu + .atd-place-inline-alert{
  grid-column:2!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-gps-context{
  font:750 10px/1.35 Manrope,Arial,sans-serif;
  color:#6c438e;padding:5px 7px 2px;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-section{
  padding:5px 7px!important;
  font:800 10px/1.35 Manrope,Arial,sans-serif!important;
  color:#63718b!important;letter-spacing:0!important;text-transform:none!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-option.atd-place-nearby{
  display:flex!important;align-items:center!important;
  width:100%!important;min-width:0!important;max-height:none!important;
  height:auto!important;min-height:32px!important;box-sizing:border-box!important;
  margin:0!important;padding:6px 7px!important;gap:7px!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
  text-overflow:clip!important;
  font:700 11px/1.35 Manrope,Arial,sans-serif!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-estimated-tag{
  flex:none;border-radius:6px;padding:3px 5px;
  background:#f3e8ff;color:#6d1abb;
  font:800 9px/1.2 Manrope,Arial,sans-serif;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-coverage{
  padding:6px 7px;margin:0;color:#61708a;
  font:600 10px/1.4 Manrope,Arial,sans-serif;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-correct-house{
  display:block!important;width:100%!important;
  margin:3px 0 0!important;padding:8px 9px!important;
  text-align:left!important;
  border:1px solid #ddc9ee!important;border-radius:8px!important;
  background:#faf5ff!important;color:#681db8!important;
  font:800 11px/1.35 Manrope,Arial,sans-serif!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-credit{
  padding:5px 7px 1px!important;margin:2px 0 0!important;
  font-size:10px!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields .input-wrap .input-label{
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields .input-wrap input{
  text-overflow:ellipsis!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields .input-wrap.atd-b-gps-estimate:not(.atd-b-place-confirmed){
  border-color:#a475c6!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields .input-wrap.atd-b-place-confirmed{
  border-color:#6f8bb4!important;
}
@media(max-width:650px){
  body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > .atd-place-menu.atd-place-inline{
    order:initial!important;grid-column:auto!important;grid-row:auto!important;
    width:100%!important;max-width:100%!important;max-height:min(210px,32vh)!important;
  }
  body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > .atd-place-inline-alert{
    order:initial!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;
  }
  body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields:has(> .atd-place-menu:not([hidden])) .swap-btn{
    visibility:hidden!important;pointer-events:none!important;
  }
  body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-estimated-tag{
    font-size:8px;
  }
}

/* An absent Google/OS nearby-door list is not an error. Do not reserve a
   large empty results panel; offer an unobtrusive correction action. */
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields > .atd-place-menu.atd-place-inline.atd-place-empty-gps{
  width:max-content!important;max-width:min(340px,100%)!important;
  min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;overflow:visible!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .route-fields .atd-place-inline.atd-place-empty-gps .atd-place-empty-correct{
  display:inline-flex!important;align-items:center!important;
  width:auto!important;min-height:27px!important;
  margin:0!important;padding:5px 9px!important;
  border-radius:7px!important;border:1px solid #e3d1ef!important;
  background:#faf7ff!important;color:#612592!important;
  font:750 10px/1.3 Manrope,Arial,sans-serif!important;
}

/* Keep the editing action visible above the scrollable address options. */
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-chooser-row{
  display:flex;align-items:center;justify-content:space-between;gap:7px;
  padding:4px 5px 5px;min-width:0;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-chooser-row .atd-place-section{
  flex:1;min-width:0;margin:0!important;padding:0!important;
  font-size:10px!important;
}
body[data-atd-redesign="approved"] #fare-form.atd-b-guided .atd-place-inline .atd-place-chooser-row .atd-place-correct-house{
  width:auto!important;flex:none!important;white-space:nowrap!important;
  margin:0!important;padding:6px 8px!important;border-radius:7px!important;
  font-size:10px!important;
}
