:root {
  color-scheme: dark;
  --ground: #000; --surface: #111; --raised: #2a2a2a; --ink: #fff;
  --muted: #b4b4b4; --faint: #949494; --accent: #78bfa1; --gap: 14px;
  font-family: Inter, 'Noto Sans Myanmar', sans-serif;
  color: var(--ink); background: var(--ground); font-size: 14px; line-height: 1.7;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
html:has(dialog[open]), body:has(dialog[open]) { overflow: hidden; }
button, select, input { font: inherit; }
button, a, label:has(input), select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button, select { color: inherit; }
button { border: 0; background: none; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 24px; font-weight: 600; line-height: 1.9; }
h2, h3 { font-size: 16px; font-weight: 600; line-height: 1.9; }
small { font-size: 12px; color: var(--muted); }
[hidden] { display: none !important; }
.loading { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.loading img { display: block; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; padding: 20px; background: #222; width: 100%; z-index: 100; }
