When writing CSS, Nova stops colorizing anything after it encounters :has, unless the :has is also followed by another element. See screenshot.