NEGOTIATIONS:

Climate talks avoid collapse with last-minute compromises