Optimism about the outlook in the year ahead deteriorated sharply to the lowest level since October 2022, in part due to uncertainty regarding the presidential election.