What the Left learned from a bruising election.