import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { LicenseApp } from './LicenseApp'
import '../styles/app.css'
// Reuses the installer's shell styles (.inst-*) rather than duplicating them —
// this page is the same "centered card, no app shell yet" wizard language,
// one screen instead of six.
import '../installer/installer.css'
import { initTheme } from '../lib/theme'

initTheme()

const el = document.getElementById('license-root')
if (el) {
  createRoot(el).render(
    <StrictMode>
      <LicenseApp />
    </StrictMode>,
  )
}
