/* Keep tall standalone Swap pages in normal document flow on short screens. */
body.bs-standalone:not(.bs-embedded) {
  display: block;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: max(16px, env(safe-area-inset-top, 0px));
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
}
body.bs-standalone:not(.bs-embedded) > .bs-root { margin-inline: auto; }
html.sdex-home-embed body.bs-standalone { min-height: 0; padding: 0; }
/* Start at the reachable edge when a centered page exceeds the viewport. */
[data-sdex-safe-alignment="items"] {
  align-items: flex-start !important;
  align-items: safe center !important;
}
[data-sdex-safe-alignment="content"] {
  justify-content: flex-start !important;
  justify-content: safe center !important;
}
