SCSS · Nesting · Tech Lead · Architecture
Lead: migrate deeply nested legacy SCSS to flatter structure.
Short Interview Answer
Codemod gradual unwrap, introduce component classes, stylelint specificity budgets, and snapshot visual diffs.
Detailed Explanation
Prioritize hot paths/UI breakage risk. Don't rewrite everything at once.