The definition I originally came across is a pansexual person is not attracted by gender but by the personality. So no rules or restrictions on sex organs or gender identity or presentation. It’s really attraction to the person underneath above all else.