/* PeakFour SPA visibility contract (Stimulus + original tab router).
   Active pages retain their native layouts; inactive pages cannot be revived by
   late stylesheets declaring display:flex/grid !important. */
body .peak-layout .peak-main > :is(#page-profile,#page-discover,#page-lessons,#page-alphabet,#page-chunking,#page-cms,#page-shadowing,#page-grammar,#page-vocabulary,#page-pronunciation,#page-listening,#page-counting,#page-numbers,#page-dictation,#page-recall,#page-guess,#page-cloze)[hidden],
body .peak-layout .peak-main > :is(#page-profile,#page-discover,#page-lessons,#page-alphabet,#page-chunking,#page-cms,#page-shadowing,#page-grammar,#page-vocabulary,#page-pronunciation,#page-listening,#page-counting,#page-numbers,#page-dictation,#page-recall,#page-guess,#page-cloze).hidden { display:none !important; }
