Child custody often doesn’t pan out so smoothly. Although parents do have the chance to work out an out-of-court agreement—usually ...