Efforts by the United States and Afghanistan to finalize a long-term security arrangement appeared on the brink of collapse Monday as Afghan President Hamid Karzai made a new set of demands, and the Obama administration said it would be forced to begin planning for a complete withdrawal of U.S. forces at the end of 2014.