extract styles to own file, formatting cleanup