Etiquette exists to protect the grieving, not to test the guests. A handful of simple courtesies will carry you through almost any service.
Dark, quiet clothing remains safe unless the family has asked for colour or a specific theme. Arrive ten to fifteen minutes early, silence your phone properly, and sit toward the middle so latecomers can slip in without disrupting.
Keep it brief and personal: “I’m so sorry. Margaret always made me laugh.” Avoid advice, avoid stories that make the moment about you, and do not ask how they are coping — they are coping in front of you, which is enough.
Offer something concrete in the following weeks. Bring food in a container you do not need back. Remember the anniversaries. Send a message on the ordinary Tuesday, months later, when everyone else has moved on.
Good etiquette is simply attention paid to someone else’s hardest day.