The two-year legislative session ends Wednesday at midnight, giving Gov. Gavin Newsom and state lawmakers just three days to hammer out agreements on complex, controversial bills and budget items encompassing everything from nuclear power to abortion to youth vaccination.