/* Shared horizontal-overflow protection for every public, account and admin page. */
html,
body {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

main,
header,
footer,
section,
article,
nav,
aside,
form,
div {
  min-width: 0;
}

img,
picture,
video,
canvas,
svg,
iframe {
  max-width: 100%;
}

img,
video,
canvas {
  height: auto;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

pre,
code,
.table-wrap,
.api-code,
.code-block,
.article pre {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.modal,
.modal-overlay,
.feedback-modal,
.start-choice-modal,
.install-modal {
  max-width: 100vw;
}

@media (max-width: 900px) {
  .section,
  .header,
  .site-header,
  .admin-head,
  .admin-main,
  .account-main,
  .dash,
  .docs,
  .article,
  .global-footer,
  .serious-footer,
  .footer-conversion,
  .footer-main,
  .footer-trust,
  .footer-contact,
  .footer-legal {
    width: 100%;
    max-width: 100%;
  }

  .mp-hero::before {
    width: 100%;
    left: 0;
    transform: none;
  }

  .mp-glow-one,
  .mp-glow-two,
  .orb,
  .cloud-aura,
  .seo-orb {
    max-width: 90vw;
  }

  .main-nav,
  .table-wrap,
  .tabs,
  .docs-tabs,
  .billing-tabs {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .footer-conversion,
  .footer-main,
  .footer-trust,
  .footer-contact,
  .footer-legal {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  h1,
  h2,
  h3,
  p,
  li,
  a,
  td,
  th {
    overflow-wrap: break-word;
  }
}

@media (max-width: 850px) {
  .account-shell {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .float-card,
  .hero-3d,
  .integrations-3d-icon,
  .cta-3d-megaphone,
  .market-3d-shield {
    max-width: calc(100vw - 24px);
  }

  .modal,
  .modal-overlay,
  .feedback-modal,
  .start-choice-modal,
  .install-modal {
    padding-left: 12px;
    padding-right: 12px;
  }
}
