These have been my policies, strictly adhered, for my entire professional career.
I am baffled that anyone thought the other behaviors were OK.
And it was barely a moral judgement.
It was predominantly self preservation.
40 years and counting.
Important to note: MANY Americans, and most women, think this is a good idea.
https://www.nytimes.com/2017/07/01/upshot/members-of-the-opposite-sex-at-work-gender-study.html