Avalanches, transport, and local equilibrium in self-organized criticality