Economic activity continued to expand across much of the United States in recent weeks, though rising energy costs, inflation pressures, and growing consumer caution have tempered optimism over future growth, according to the Federal Reserve Beige Book.