I find the nested structure hard to follow. It also seems safer to have it separate, that way you know what styles have to do with what (those are for layout, other are for style).

eg, All the layout styles are strictly positioning and background color.