a {
&:hover {…}
&:parent(.theme):hover {…}
}
No crazy selectors with an ampersand in the middle allowed, but a way to apply a parent or ancestor selector, a bit like :where() or :is(). There could be :in() for ancestors. dialog {
@nest html:has(&[open]) {…}
}
Still, it’s quite an interesting possibility worth pursuing in my opinion. (Full disclosure, I work for a small nominally employee-owned company, and have mixed thoughts about how it works in practice).