Refine layout style