/** * Immersive Mode — makes the entire UI chrome adapt colors to match the active terminal's theme. * * Performance strategy: * - All built-in themes' CSS strings are pre-computed at module load (zero cost at switch time) * - Custom/unknown themes are computed lazily and cached * - A single `