[Shadow DOM] Clean up unused styles.