/* Keep the order in the page's normal flow at every wizard step. */
body[data-request-page] :is(#application-form, #biometrics-form, #wizard)
  > .wizard-layout > .order-summary,
body[data-request-page] :is(#additional-form, #insurance-form)
  :is(.request-form-summary, .insurance-summary, .bg-form-summary) {
  position: static !important;
  inset: auto;
  height: auto;
  max-height: none !important;
  overflow: visible;
  overflow-wrap: anywhere;
}

/* Leave room for the site's floating chat when focusing a wizard action. */
body[data-request-page] :is(#application-form, #biometrics-form, #wizard)
  .wizard-controls :is(button, a),
body[data-request-page] :is(#additional-form, #insurance-form)
  :is(button[type="submit"], input[type="submit"]) {
  scroll-margin-block-end: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

#application-form .field[data-es-repeated-service] { display: none; }
