Generify box style for restricted content