Closes DOCS-1462
## Problem
A navigation level with many items is hard to scan. Today, 18 levels in
the docs navigation have 10 or more items, such as Platform > Platform
Configuration. Nothing stops a PR from adding more.
## Solution
- **Level size check:** `NavigationMenu.levels.nav-check.test.ts` walks
the top nav and every sidebar. A level with 10 or more items fails the
test, which names the level.
- **Allowlist:** starts with today's 18 levels, so CI is green on merge.
A level that drops below 10 items also fails until you remove it from
the list.
- **Option 1:** the check runs on the flagged navigation from #52049
too, with its own allowlist.
- **Navigation checks workflow:** `docs-navigation-checks.yml` runs
every test named `*.nav-check.test.ts`, only when the navigation config
or a check changes. The general docs test job skips these tests. A later
navigation guard only needs that file name.
## Manual testing
1. Run `pnpm --prefix="apps/docs" run test:nav-checks`. Both tests pass.
2. In `NavigationMenu.constants.ts`, add five items to Security >
Product security, and run the command again. Both tests fail and list
`Security > Product security`.