WASHINGTON -- Searching for a bipartisan deal to avoid a government shutdown, President Donald Trump suggested Tuesday that an immigration agreement could be reached in two phases — first by addressing young immigrants and border security with what he called a "bill of love," then by making comprehensive changes that have long eluded Congress.
Trump presided over a lengthy meeting with Republican and Democratic lawmakers seeking a solution for hundreds of thousands of young people who were brought to the U.S. as children and living here illegally.
Trump last year ended the Obama-era Deferred Action for Childhood Arrivals program, which shielded more than 700,000 people from deportation and gave them the right to work legally. He gave Congress until March to find a fix.
The president, congressional Republicans and Democrats expressed optimism for a deal just 10 days before a government shutdown deadline.
Trump said he was willing to be flexible in finding an agreement as Democrats warned that the lives of hundreds of thousands of immigrants hung in the balance.
"I think my positions are going to be what the people in this room come up with," Trump said during a Cabinet Room meeting with a bipartisan group of nearly two dozen lawmakers. "I am very much reliant upon the people in this room."
A group of journalists observed the meandering meeting for an extraordinary length of time -- about 55 minutes -- that involved Trump seeking input from Democrats and Republicans alike in a freewheeling exchange on the contentious issue.
"My head is spinning from all the things that were said by the president and others in that room in the course of an hour and a half," said Sen. Dick Durbin, D-Ill.
"But the sense of urgency, the commitment to DACA, the fact that the president said to me privately as well as publicly, 'I want to get this done,' I'm going to take him as his word."
The White House said after the meeting that lawmakers had agreed to narrow the scope of the negotiations to four areas: Border security, family-based "chain migration," the visa lottery and the DACA policy.
Democrats and Republicans are set to resume negotiations Wednesday.
But the exchange raised questions about how far Trump would push for his high-profile border wall.
In describing the need for a wall, the president said it didn't need to be a "2,000-mile wall. We don't need a wall where you have rivers and mountains and everything else protecting it. But we do need a wall for a fairly good portion."
Trump has long made that case, saying even during his campaign that his border wall didn't need to be continuous, thanks to natural barriers in the landscape.
And he has said he would be open to using fencing for some portions as well.
The unusually public meeting laid bare a back-and-forth between the parties more typically confined to closed-door negotiations.
At one point, California Sen. Dianne Feinstein, a Democrat, asked Trump if he would support a "clean" DACA bill now with a commitment to pursue a comprehensive immigration overhaul later.
"I would like it. ... I think a lot of people would like to see that but I think we have to do DACA first," he said.
House Majority Leader Kevin McCarthy, R-Calif., interjected, saying, "Mr. President, you need to be clear though," that legislation involving the so-called Dreamers would need to include border security.
The president said he would insist on construction of a border security wall as part of an agreement involving young immigrants, but he said Congress could then pursue a comprehensive immigration overhaul in a second phase of talks.
House Republicans said they planned to soon introduce legislation to address border security and the young immigrants.
"It should be a bill of love," Trump said.
Trump's embrace of a "bill of love" brought to mind his past criticism of former GOP presidential rival Jeb Bush, who said many people come to the U.S. illegally as an "act of love."
Trump's campaign posted a video at the time with a tagline that read, "Forget love, it's time to get tough."
Conservatives quickly sounded alarms about a process that would lead to a comprehensive agreement on immigration, a path that has long been anathema to many rank-and-file Republicans.
"Nothing Michael Wolff could say about @realDonaldTrump has hurt him as much as the DACA lovefest right now," tweeted conservative commentator Ann Coulter, referencing Trump's recent portrayal in the book, "Fire and Fury."
Rep. Mark Meadows, R-N.C., leader of the hard-right House Freedom Caucus, said in a text message after the White House meeting he was "generally" opposed to a two-step process "because history would indicate the second step never happens."
But he later said that if the first steps included the four areas outlined by the White House, "then I could support a two-step process realizing that step one is the only thing that is guaranteed."
The president appeared to acknowledge the potential political pitfalls of pursuing a more permanent deal, telling the lawmakers, "I'll take all the heat you want. But you are not that far away from comprehensive immigration reform."
After the meeting, lawmakers from both parties appeared divided over the basic definition of Trump's bottom-line demand for a border wall.
Democratic House Whip Steny Hoyer of Maryland said his party was opposed to GOP calls for $18 billion in funding to build the wall.
"It was clear in the meeting that wall did not mean some structure," he said of Trump's remarks, noting the president also mentioned fencing, cameras and other security measures for the border.
Republicans were adamant that Trump's call "means the wall," but noted Trump acknowledged it doesn't need to cover the entire length of the border because of geographic barriers.