Fix inventory math, styles, and items.json formatting