Red-eyed negotiators from both parties said Wednesday that the prime ministers ' intervention and intensive all-night talks had narrowed the ground between the two sides , but added the prospect for an agreement later Wednesday looked dim .