Logic and highlight styles