/* ProfilerQA browser edition: the loading screen around the app (the app has its own CSS). */
:root {
  --bg: #f6f7f9; --card: #ffffff; --ink: #1d2330; --muted: #5d6676; --accent: #2a62c9;
  --bar: #e3e7ee; --err: #b3261e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14171d; --card: #1d2129; --ink: #e8ebf1; --muted: #a3abba; --accent: #7aa7ff;
    --bar: #2c323d; --err: #ff8a80;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14171d; --card: #1d2129; --ink: #e8ebf1; --muted: #a3abba; --accent: #7aa7ff;
  --bar: #2c323d; --err: #ff8a80;
  color-scheme: dark;
}
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.boot { min-height: 100%; display: grid; place-items: center; padding: 16px; box-sizing: border-box; }
.boot-card { width: 100%; max-width: 420px; background: var(--card); border-radius: 12px;
  padding: 28px 24px; box-shadow: 0 1px 3px rgb(0 0 0 / .12); box-sizing: border-box; }
.boot-card h1 { margin: 0 0 8px; font-size: 22px; }
.bar { height: 6px; background: var(--bar); border-radius: 3px; overflow: hidden; margin: 12px 0; }
.bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.small { font-size: 13px; color: var(--muted); }
.error { color: var(--err); white-space: pre-wrap; }
#app { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; background: var(--bg); }
