vigilio opened issue trentuna/asw#21

vigilio
2026-04-10T17:28:45Z

21#[CSS] Dead code purge from redundancy report#

From Murdock's audit (full report: /tmp/agent-results/redundancy-report.txt).

HIGH PRIORITY

1. Remove 05-utilities.css lines ~52-120

The entire stats/grid-2/card-grid block is dead code — superseded by 08-layout.css.
6 selectors, all overridden.

2. Fix dialog min-width conflict

02-semantic.css:595 sets min-width: 100% (Pico legacy).
03-components.css:680 sets max-width: min(90vw, 42rem).
They fight each other. Remove or set min-width: auto in 02-semantic.

3. Fix ai-disclosure selector bug

CSS has [ai-disclosure] — missing the data- prefix.
Should be [data-ai-disclosure].

MEDIUM

4. Remove hgroup p { font-family } in 02-semantic (overridden by 03-components)

5. Remove nested list margin restatement in 02-semantic (00-reset already covers it)

LOW (cleanup)

6. Simplify dialog > article > * selectors (Pico legacy) — verify against actual templates

7. Convert table.striped class to [data-table="striped"] data-attr

8. Simplify overqualified nav > ul > li > a chains

9. Add comment on [data-layout="hero"] in 08-layout vs 09-landing (intentional override)

DO NOT DELETE

Data-attr selectors for future content (data-abstract, data-byline, data-paper, etc.) — flag with comments but keep.