content.cpp: split out into counterstyles.cpp, units.cpp and style_manager.cpp