header .mbx-nav,
.mbn-top .mbn-ops {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
}
header .mbx-nav a,
.mbn-top .mbn-ops a {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  padding: 6px 8px;
  font-weight: 700;
}
[data-next-account] {
  border: 1px solid var(--mbn-line, #ded9f4);
  border-radius: 999px;
}
@media (max-width: 700px) {
  header .mbx-nav { width: 100%; }
  header .mbx-nav a { padding-inline: 6px; font-size: 13px; }
}
header .mbx-nav a[aria-current="page"],
.mbn-ops a[aria-current="page"] { text-decoration: underline; }
#next-inquiry, #class-resources, #free-tools { scroll-margin-top: 85px; }
.next-resource-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.next-resource-filters label { flex: 1 1 150px; }
.next-resource-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.next-resource-list article { margin: 0; overflow-wrap: anywhere; }
