Resolves the active stepper display mode by combining the collapse signal
whether the stepper's own container is narrow - with the configured
mobileCollapse policy. 'classic' keeps the full strip; 'text' /
'dots' swap to the matching compact variant, 'off' stays classic at any
width.
The factory takes no DOM API and holds no threshold: where the collapse
happens is a @container rule in the stepper stylesheet, what it collapses
into is this policy. See core-concepts/responsive-by-default.md.