Roadmap on cosmic EUV and x-ray spectroscopy