Patterns of tree microhabitats across a gradient of managed to old-growth conditions