Core sets an explicit light background on the shared #templateside > ul file-tree component, which nothing in native-dark.css covered - combined with this file's dark-surface text colors, that produced light text on a light background rather than just unstyled.