Integrable structures and duality in high-energy QCD