Split styling from main document