Restructure stylsheets