added global styles for categories, and per-category styles controlling color