/* Responsive audit hardening 2026-07-21 */
html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  body {
    overflow-x: hidden;
  }
}

.nm-container,
.nm-topbar-inner,
.nm-nav-inner,
.nm-layout-full,
.nm-content-area,
.nm-content-shell {
  min-width: 0;
}

.nm-topbar {
  overflow: hidden;
}

.nm-drawer[aria-hidden="true"],
.nm-drawer:not(.nm-open) {
  visibility: hidden;
}

.nm-drawer.nm-open {
  visibility: visible;
}

.nm-drawer-panel {
  max-width: min(360px, 100vw);
  box-sizing: border-box;
}

.nm-drawer[aria-hidden="true"] .nm-drawer-panel,
.nm-drawer:not(.nm-open) .nm-drawer-panel {
  visibility: hidden;
}

.nm-drawer.nm-open .nm-drawer-panel {
  visibility: visible;
}

.nm-drawer-header .nm-logo,
.nm-drawer-header .nm-logo-img {
  max-width: min(260px, calc(100vw - 96px));
}

.grecaptcha-badge {
  right: auto !important;
  left: 12px !important;
  bottom: 12px !important;
  max-width: calc(100vw - 24px);
  overflow: hidden;
}

.nm-auth-visual,
.nm-auth-visual-inner {
  overflow: hidden;
}

.nm-auth-orb-1 {
  top: 24px !important;
  left: 24px !important;
}

.nm-auth-orb-2 {
  right: 24px !important;
  bottom: 24px !important;
}

.nm-content-area > .row.justify-content-center,
.nm-content-shell > .row.justify-content-center {
  margin-left: 0;
  margin-right: 0;
}

.nm-content-area > .row,
.nm-content-shell > .row,
.nm-layout-full > .row {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.nm-content-area > .row.justify-content-center > .card.mw-540,
.nm-content-shell > .row.justify-content-center > .card.mw-540 {
  width: 100%;
  max-width: min(540px, 100%);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767.98px) {
  .nm-topbar-inner {
    justify-content: center;
    padding-inline: 12px;
  }

  .nm-topbar-left {
    width: 100%;
    min-width: 0;
    justify-content: center;
    gap: 8px;
  }

  .nm-topbar-right {
    display: none !important;
  }

  .nm-trust-chip {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .72rem;
  }

  .nm-trust-chip.nm-d-md,
  .nm-trust-chip.nm-d-lg {
    display: none !important;
  }

  .nm-nav-inner {
    gap: 12px;
    padding-inline: 14px;
  }

  .nm-logo-img {
    max-width: min(74vw, 300px);
    height: 32px;
    object-fit: contain;
  }
}

@media (min-width: 768px) and (max-width: 1099.98px) {
  .nm-menu,
  .nm-nav-cta {
    display: none !important;
  }

  .nm-hamburger {
    display: flex !important;
  }

  .nm-topbar-left,
  .nm-topbar-right {
    min-width: 0;
    gap: 10px;
  }

  .nm-topbar-left {
    overflow: hidden;
  }

  .nm-topbar-right {
    flex-shrink: 0;
  }

  .nm-topbar-btn {
    padding-inline: 6px;
  }

  .nm-register-btn {
    padding-inline: 12px;
  }

  .nm-d-lg {
    display: none !important;
  }
}
