### Astro Info ```block Astro v5.12.0 Node v23.6.0 System Linux (x64) Package Manager npm Output static Adapter none Integrations @astrojs/svelte astro:db @astrojs/db/file-url ``` ### If this issue only occurs in one browser, which browser is a problem? I have only tried Microsoft edge ### Describe the Bug CSS nested styles globally style all child components as well ```css div { p { color: blue; } } ``` for example this would effect `` even if it is in a child component ### What's the expected result? CSS nested styles should only effect elements inside component ### Link to Minimal Reproducible Example https://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astrohttps://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astrohttps://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astrohttps://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astrohttps://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astro ### Participation - [ ] I am willing to submit a pull request for this issue.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
I have only tried Microsoft edge
Describe the Bug
CSS nested styles globally style all child components as well
for example this would effect
<p>even if it is in a child componentWhat's the expected result?
CSS nested styles should only effect elements inside component
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astrohttps://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astrohttps://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astrohttps://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astrohttps://stackblitz.com/edit/withastro-astro-ecppehajs-xkbaunx4?file=src%2Fpages%2Findex.astro
Participation