How to create a protected style?