FM urges Afghans to work out a political solution ‘acceptable to all’