/** True when pathname is Command Deck (`/dashboard` or `/`). */ export function isDashboardRoute(pathname: string): boolean { const path = pathname.split('?')[0].replace(/\/$/, '') || '/'; return path === '/dashboard' || path === '/'; }