Officials warned residents to stay inside and limit outdoor activities Thursday as a thick, hazardous haze of wildfire smoke loomed over daily life for millions of people across the U.S. and Canada for a third day and was expected to persist as long as the weekend.