/* SUNDEX verification geometry p49 — hardens the gate against inherited row layouts. */
body.sundex-transaction-system.stx-verification-flow .stx-vf-stage > .stx-vf-required-screen {
  display: flex !important;
  box-sizing: border-box;
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  min-width: 0 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  margin: 0 auto 0 0 !important;
  text-align: left !important;
}

body.sundex-transaction-system.stx-verification-flow .stx-vf-stage > .stx-vf-required-screen > * {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  flex: 0 0 auto !important;
}

body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-eyebrow,
body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-alert-icon,
body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-title,
body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-copy,
body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-summary,
body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-actions {
  position: static !important;
}

body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-copy {
  width: auto !important;
  max-width: 62ch !important;
  white-space: normal !important;
}

body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-summary,
body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-actions {
  width: min(610px, 100%) !important;
  max-width: 610px !important;
}

body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen .stx-vf-actions > button:first-child {
  width: auto !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen .stx-vf-actions > button:last-child {
  width: 122px !important;
  min-width: 122px !important;
  flex: 0 0 122px !important;
}

@media (max-width: 1000px) {
  body.sundex-transaction-system.stx-verification-flow .stx-vf-stage > .stx-vf-required-screen {
    width: min(720px, 100%) !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 640px) {
  body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen > .stx-vf-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen .stx-vf-actions > button,
  body.sundex-transaction-system.stx-verification-flow .stx-vf-required-screen .stx-vf-actions > button:last-child {
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }
}
