Time-dependent density functional theory of open quantum systems in the linear-response regime.