SAN FRANCISCO — John Yoo is off the hook.

A panel of the U.S. Court of Appeals for the Ninth Circuit that included two Democratic appointees ruled Wednesday that the former Bush administration lawyer cannot be sued personally for allegedly authorizing the torture and months-long detention of an American citizen deemed an enemy combatant.