/* Critical, device-agnostic base reset — linked directly and synchronously in every HTML
 * document (root index.html, apps/mobile/index.html, apps/desktop/index.html) so it applies
 * before any JS runs, regardless of which app device-detector.ts selects.
 *
 * Why this file exists: before the device-detection bootstrap (see device-detector.ts),
 * index.html loaded the mobile app's entry scripts directly, and Vite's build injected that
 * entry's own compiled CSS as a `<link rel="stylesheet">` synchronously into the SAME
 * document — so the app's base reset (margin/font-family/height) applied before first paint.
 *
 * Now that index.html is a generic, device-agnostic document that only ever loads a runtime-
 * injected `<script type="module">` (see device-detector.ts's `loadSelectedApp`), Vite's
 * per-entry CSS injection has nothing to attach to: mobile-entry.js's and desktop-entry.js's
 * own compiled CSS (globals.css / App.css) is only linked into their OWN dev/build HTML
 * documents (apps/mobile/index.html, apps/desktop/index.html), which are never the document
 * actually served (see index.html's own comment). Their CSS still applies eventually — via
 * Vite's runtime `<link>` injection when the selected app's JS module evaluates its own
 * `import './*.css'` — but only after: (1) device-detector.ts is fetched+parsed+executed, and
 * (2) the app it injects is fetched+parsed+executed far enough to reach that import. That
 * window renders with the raw browser UA stylesheet (default body margin, serif font) — a
 * real flash of unstyled content, not just a local visual nit: it is what widened text enough
 * to change line-wrapping in the `pnpm test:snapshot` baselines (see git history for
 * `apps/mobile/src/styles/globals.css` — this file mirrors that one's reset block).
 *
 * This file is shared by both apps (not "the other app's asset") — linking it into every
 * document does not reintroduce the cross-app preload hints
 * specs/device-routing/spec.md's "No unconditional cross-app preload hints" requirement
 * forbids; it is device-agnostic, not owned by either app's device pentry.
 */
html,
body {
  margin: 0;
  padding: 0;
  font-family:
    'ArtifaktElement',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Roboto',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body,
#root {
  height: 100%;
}
