Age and disability drive cognitive impairment in multiple sclerosis across disease subtypes