dc9f29770c
The nav-badge was appended as an in-flow flex child, breaking nav-item layout: on mobile (column flex) it appeared below the label, on desktop sidebar (row flex + justify-content:center) it was pushed far right via margin-left:auto. Fix positions it absolutely within the nav-item and uses DOM API instead of insertAdjacentHTML per project convention. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>