/* DHELOOP_RC1_RESPONSIVE_REMEDIATION_V1 */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:where(
  main,
  header,
  footer,
  nav,
  section,
  article,
  aside,
  form,
  fieldset,
  div,
  table,
  tbody,
  thead,
  tr,
  td,
  th
) {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

pre,
code,
kbd,
samp,
a,
p,
li,
strong,
span {
  overflow-wrap: anywhere;
}

.dheloop-responsive-adjusted {
  max-width: calc(100vw - 24px) !important;
}

@media (max-width: 900px) {
  :where(
    .pay-grid,
    .sec-grid,
    .hero-panel,
    .principles-panel,
    .module-layout,
    .module-hero
  ) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .section-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
}

@media (max-width: 680px) {
  :where(
    .pay-shell,
    .ceo-shell,
    .sec-shell,
    .page-content,
    .app-shell__content,
    .landing-view,
    .workspace-view
  ) {
    width: 100%;
    max-width: 100%;
    padding-inline: 14px !important;
  }

  :where(
    .pay-grid,
    .bank-grid,
    .customer-grid,
    .sec-grid,
    .workspace-grid,
    .principles-grid,
    .module-layout,
    .hero-panel,
    .module-hero,
    .pricing-grid,
    .plans-grid,
    .summary-grid,
    .metrics-grid,
    .status-grid
  ) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  :where(
    .pay-head,
    .sec-head,
    .request-top,
    .topbar,
    .section-heading,
    .hero-panel__actions,
    .actions,
    .mini-actions
  ) {
    max-width: 100%;
    flex-wrap: wrap;
  }

  :where(
    .pay-card,
    .sec-card,
    .request-card,
    .workspace-card,
    .content-card,
    .surface-card,
    .hero-panel,
    .module-hero,
    .module-hero__state,
    .hero-panel__status
  ) {
    width: 100%;
    max-width: 100%;
  }

  :where(
    .btn,
    .primary-button,
    .secondary-button,
    [role="button"]
  ) {
    white-space: normal;
  }

  :where(h1, h2, h3) {
    max-width: 100%;
    font-size: clamp(1.55rem, 8.5vw, 2.35rem);
    line-height: 1.12;
  }

  .sidebar {
    width: min(88vw, 320px);
    max-width: 88vw;
  }

  body.dheloop-has-mobile-action-rail {
    padding-bottom: 150px;
  }
}
