Prune code: apply as few styles as possible