View Encapsulation Strategies
Explain Angular's three view encapsulation modes and how they affect CSS scoping.
By default, styles you write in a component only apply to that component's own template — Angular achieves this without Shadow DOM by rewriting your CSS selectors and adding unique attributes to the component's DOM elements, a mode called Emulated encapsulation. Interviewers ask about this because it explains a very common "why doesn't my CSS apply" bug: a style targeting a child component's internal element from the parent's stylesheet simply won't match, because the attribute-based scoping doesn't cross component boundaries.
Emulated encapsulation is like giving every component's furniture a unique inventory tag so movers only load items with matching tags onto the truck — it looks isolated, but it's the same warehouse floor underneath, not a separate sealed room like real Shadow DOM.