Tax system narrows gender wealth gap, but divide remains: federal report