Confirmed problem
The root layout loads eight global CSS layers, and key selectors such as .studio-grid are redefined across multiple files. Final appearance depends on import order and specificity patches, causing recurring visual regressions and oversized/overflowing elements.
Scope
- Keep only a small reset and token layer global.
- Move landing, Studio, review, library, connections, settings, and legal styles into scoped modules/components.
- Remove duplicate selectors and override-only files as each surface migrates.
- Define one responsive grid contract, typography scale, spacing system, and maximum text widths.
- Preserve the existing approved visual direction; this is architecture repair, not arbitrary redesign.
Acceptance criteria
Required verification
- Visual regression screenshots across all routes/viewports.
- Long heading, long error, twelve tabs, and 2,500-word content tests.
- CSS duplication/specificity review and production build.
Confirmed problem
The root layout loads eight global CSS layers, and key selectors such as
.studio-gridare redefined across multiple files. Final appearance depends on import order and specificity patches, causing recurring visual regressions and oversized/overflowing elements.Scope
Acceptance criteria
Required verification