Stav dette: Portfolio credit risk and macroeconomic shocks