/* The checker's mobile header scrolls with the document. This avoids a fixed
   bar stranded below collapsing iOS / in-app browser chrome. Desktop and
   the independent checkout/menu dialogs keep their existing positioning. */
@media (max-width: 1023px) {
  body.nx-bios-flow-header > #header > header {
    position: relative;
    inset: auto;
  }

  /* The header now reserves its own height, including the existing safe area.
     Remove only the former fixed-header spacers, not the content spacing. */
  body.nx-bios-flow-header .nx-audit-breadcrumbs {
    padding-top: var(--nx-space-3, 12px);
  }

  body.nx-bios-flow-header #main-content #app > article.nx-bios {
    padding-top: var(--nx-space-3, 12px) !important;
  }
}
