:root {
  color-scheme: light;
  --g-ink: #203447;
  --g-muted: #526778;
  --g-blue: #2464cf;
  --g-teal: #11786b;
  --g-plum: #7950ad;
  --g-amber: #a96008;
  --g-red: #b63b54;
  --g-surface: #ffffffd9;
  --g-soft: #e8eff5;
  --g-line: #536b80;
  --g-radius: 12px;
  --g-font: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  --g-display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --g-mono: 'SFMono-Regular', Consolas, monospace;
  --g-canvas: #e5ecf5;
  --g-focus: #602eb0;
  --g-highlight: #ffffffc9;
  --g-shadow: #253d6421;
  --g-gloss: linear-gradient(180deg, #ffffff75, #ffffff12 48%, #ffffff00 49%);
  --g-blur: 18px;
  --g-space-1: 4px;
  --g-space-2: 8px;
  --g-space-3: 12px;
  --g-space-4: 16px;
  --g-space-5: 20px;
  --g-space-6: 24px;
  --g-space-8: 32px;
  --g-space-10: 40px;
  --g-inset-compact: var(--g-space-4);
  --g-inset-default: var(--g-space-6);
  --g-inset-roomy: var(--g-space-8);
  font-family: var(--g-font);
  font-size: 16px;
  font-synthesis: none;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --g-ink: #eaf1fb;
  --g-muted: #b1bfd2;
  --g-blue: #7daaff;
  --g-teal: #70d3ba;
  --g-plum: #c0a0f1;
  --g-amber: #f5c16f;
  --g-red: #ff99b0;
  --g-surface: #233448ed;
  --g-soft: #2a4059;
  --g-line: #839cb8;
  --g-canvas: #142438;
  --g-focus: #c7a2ff;
  --g-highlight: #ffffff3b;
  --g-shadow: #0000003d;
  --g-gloss: linear-gradient(180deg, #ffffff25, #ffffff05 48%, transparent 49%);
}
@media (max-width: 540px) {
  :root {
    --g-inset-compact: var(--g-space-3);
    --g-inset-default: var(--g-space-5);
    --g-inset-roomy: var(--g-space-6);
  }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--g-font); color: var(--g-ink); line-height: 1.55; background: var(--g-canvas); }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, a, input, textarea, select, summary { touch-action: manipulation; }
:where(button, a, input, textarea, select, summary, [tabindex]):focus-visible { outline: 3px solid var(--g-focus); outline-offset: 4px; }
[hidden] { display: none !important; }
svg.ui-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.16em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  :root { --g-ink: CanvasText; --g-muted: CanvasText; --g-surface: Canvas; --g-soft: Canvas; --g-line: ButtonText; --g-focus: Highlight; }
  button, input, select, textarea, summary { border-color: ButtonText !important; }
}
