What best distinguishes bayʿah from shūrā?

Precedence after the Prophets and the Rightly Guided Caliphate