/* Honor explicit deep links without animating the scroll. */
html:has(body.npn-fluid-page-partner-with-us) { scroll-behavior: auto; }

/* A native landing landmark, not a fourth control. Each real role link keeps
   its own keyboard ring; the focused fragment must not enclose the whole row. */
.npn-fluid-page-partner-with-us .npn-site #npn-partner-roles { scroll-margin-top: 24px; }
.npn-fluid-page-partner-with-us .npn-site #npn-partner-roles:focus { outline: none; }

/* Below 400px the equal thirds cannot hold the longest label: "Owner operator"
   wraps at 375/382 and the row grows unevenly. Stack the same native links as
   full-width 48px rows there, one line per role, with larger tap targets and
   the existing centered pill treatment. The id outranks the later
   npn-fluid-modern three-column rule whatever the font metrics. */
@media (max-width: 400px) {
  .npn-fluid-page-partner-with-us .npn-site #npn-partner-roles {
    grid-template-columns: minmax(0, 1fr);
  }
  .npn-fluid-page-partner-with-us .npn-site #npn-partner-roles .npn-role-tab {
    font-size: 14px;
  }
}
