Balancing nitrogen use is critical for maximizing crop yield while minimizing environmental and economic costs.