A 34-year-old woman at 32 weeks of gestation presents with new-onset headache, visual disturbances, and right upper quadrant abdominal pain. Blood pressure is 166/104 mm Hg, and urinalysis shows 3 plus protein. Platelets are 80,000 per microliter, and AST is elevated. What is the most appropriate management?