Refact styles