I find myself often winging it with “themself/themselves” and it seems to be like themselves is always colloquially correct when there are multiple preceding nouns you’re referring to…

Otherwise if there’s only one antecedent or whatever, its themself

Be gentle haha