How Trump’s scattered team scrambled to respond to historic protests