The Social and Cognitive Structure of Legal Decision-Making