Dark sector searches with the CMS experiment (Physics Reports, 2025)