Reroute root to pins and css for pins