Why are raw styles being applied instead of CSS classes?