toContain('rounded-md') ->toContain('bg-black/[0.05]') ->and($menuSubitemActive[0] ?? '') ->toContain('rounded-md') ->toContain('bg-black/[0.05]'); // Accent rail must be disabled (content: none), not drawn as a 3px accent bar. expect($appCss) ->toMatch('/\.menu-item-active::before,\s*\.menu-subitem-active::before\s*\{[^}]*content:\s*none/s') ->not->toMatch('/\.menu-item-active::before\s*\{[^}]*width:\s*3px/s') ->not->toMatch('/\.menu-item-active::before\s*\{[^}]*background:\s*var\(--color-accent\)/s'); });