They last until you've used a status-effect item, or until you've rested in an inn. I don't think tents help.