The Talmud says that the time for the mitzvah of candle-lighting is until the last person has left the market. On a simple level this means that in order to publicize the miracle one should light candles while there are still people about. However, on a slightly deeper level, one should understand this as meaning that we need the light of the candles, the light of Torah to illuminate the world until the seemingly overwhelmingly powerful force of the marketplace is overpowered by that light. ad she-tichleh regel min ha-shook / Until all have left the market, are done with the commodification of life, and have returned to the light that shined from Sinai—the light of mutual obligation and responsibility.
kavanah for the 1st night is here