How US courts decide child custody: legal vs. physical custody, the best interests standard, parenting plans, mediation, and how to prepare.