Concept Flow - Scoped styles in components
Write component HTML
Add <style> block inside component
Astro compiler processes component
Generate unique CSS class or attribute
Apply unique class/attribute to component elements
Render component with styles scoped
Styles affect only this component's elements
Scoped styles keep CSS rules inside a component from affecting other parts of the page by adding unique identifiers during compilation.
