Refactored some common styles on Totals and Stats layouts.