Text this: Compensated integrability on tori; a priori estimate for space-periodic gas flows