Retreat robs Moscow of its biggest military achievement in the war and expands Kyiv’s options ahead of winter