Mortgage-belt electorates have shifted towards Labor after the coalition pledged to force public servants back to the office.