Improvements
- Terminal mode now detects the default shell for the launcher without bypassing the intended empty-state flow.
- Added safer state checks during terminal reactivation so newer layout changes are less likely to be overwritten by an older pending restore.