Fix palette labels and improve CSS id / class structure.