/* GENERATED from tokens.json (dark-factory, tokens/build.mjs) — the platform's theme, do not edit by hand. */
/* Own styles go into the app's own stylesheet next to this one; this file is replaced on a starter update. */
:root {
  --theme-surface-base: #f5f6f7;
  --theme-surface-raised: #ffffff;
  --theme-surface-sunken: #eaecef;
  --theme-text-primary: #111318;
  --theme-text-secondary: #3d4652;
  --theme-text-muted: #5c6673;
  --theme-border-subtle: #d1d5db;
  --theme-border-strong: #7d8b9d;
  --theme-accent-base: #bf4512;
  --theme-accent-strong: #9a3412;
  --theme-accent-active: #7c2d12;
  --theme-accent-contrast: #ffffff;
  --theme-state-success: #15803d;
  --theme-state-warning: #a16207;
  --theme-state-danger: #b91c1c;
  --theme-font-sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --theme-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --theme-size-step--2: 0.694rem;
  --theme-size-step--1: 0.833rem;
  --theme-size-step-0: 1rem;
  --theme-size-step-1: 1.2rem;
  --theme-size-step-2: 1.44rem;
  --theme-size-step-3: 1.728rem;
  --theme-size-step-4: 2.074rem;
  --theme-size-step-5: 2.488rem;
  --theme-size-step-6: 3.375rem;
  --theme-space-3xs: 0.25rem;
  --theme-space-2xs: 0.5rem;
  --theme-space-xs: 0.75rem;
  --theme-space-s: 1rem;
  --theme-space-m: 1.5rem;
  --theme-space-l: 2rem;
  --theme-space-xl: 3rem;
  --theme-space-2xl: 4.5rem;
  --theme-space-3xl: 7rem;
  --theme-radius-s: 4px;
  --theme-radius-m: 6px;
  --theme-radius-l: 10px;
  --theme-radius-full: 9999px;
  --theme-measure-prose: 68ch;
  --theme-measure-page: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --theme-surface-base: #111318;
    --theme-surface-raised: #181c24;
    --theme-surface-sunken: #0c1017;
    --theme-text-primary: #eaf0f5;
    --theme-text-secondary: #a1acbd;
    --theme-text-muted: #9ba6b7;
    --theme-border-subtle: #232833;
    --theme-border-strong: #646e7d;
    --theme-accent-base: #ff6b2c;
    --theme-accent-strong: #ff874f;
    --theme-accent-active: #fca77d;
    --theme-accent-contrast: #111318;
    --theme-state-success: #4ade80;
    --theme-state-warning: #fbbf24;
    --theme-state-danger: #f87171;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0;
  font-family: var(--theme-font-sans);
  font-size: var(--theme-size-step-0);
  line-height: 1.5;
  color: var(--theme-text-primary);
  background: var(--theme-surface-base);
}
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 var(--theme-space-s); }
h1 { font-size: var(--theme-size-step-4); }
h2 { font-size: var(--theme-size-step-3); }
h3 { font-size: var(--theme-size-step-2); }
h4 { font-size: var(--theme-size-step-1); }
p, ul, ol { margin: 0 0 var(--theme-space-s); }
small { font-size: var(--theme-size-step--1); color: var(--theme-text-muted); }
a { color: var(--theme-accent-base); }
a:hover, a:focus-visible { color: var(--theme-accent-strong); }
:focus-visible { outline: 2px solid var(--theme-accent-base); outline-offset: 2px; }
code, pre { font-family: var(--theme-font-mono); font-size: var(--theme-size-step--1); }
pre { padding: var(--theme-space-s); overflow: auto; background: var(--theme-surface-sunken); border-radius: var(--theme-radius-m); }
hr { border: 0; border-top: 1px solid var(--theme-border-subtle); margin: var(--theme-space-m) 0; }
table { border-collapse: collapse; width: 100%; margin: 0 0 var(--theme-space-m); }
th, td { text-align: left; padding: var(--theme-space-2xs) var(--theme-space-xs); border-bottom: 1px solid var(--theme-border-subtle); }
th { color: var(--theme-text-secondary); font-weight: 600; }
label { display: block; margin: 0 0 var(--theme-space-3xs); color: var(--theme-text-secondary); }
input, select, textarea {
  font: inherit;
  color: inherit;
  width: 100%;
  padding: var(--theme-space-2xs) var(--theme-space-xs);
  background: var(--theme-surface-raised);
  border: 1px solid var(--theme-border-strong);
  border-radius: var(--theme-radius-m);
}
button {
  font: inherit;
  cursor: pointer;
  padding: var(--theme-space-2xs) var(--theme-space-s);
  color: var(--theme-accent-contrast);
  background: var(--theme-accent-base);
  border: 1px solid transparent;
  border-radius: var(--theme-radius-m);
}
button:hover, button:focus-visible { background: var(--theme-accent-strong); }
button:active { background: var(--theme-accent-active); }
button:disabled { cursor: not-allowed; opacity: 0.6; }
button.secondary { color: var(--theme-text-primary); background: var(--theme-surface-raised); border-color: var(--theme-border-strong); }
.success { color: var(--theme-state-success); }
.warning { color: var(--theme-state-warning); }
.danger { color: var(--theme-state-danger); }

.container { max-width: var(--theme-measure-page); margin-inline: auto; padding: var(--theme-space-m) var(--theme-space-s); }
.prose { max-width: var(--theme-measure-prose); }
.stack > * + * { margin-top: var(--theme-space-s); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--theme-space-xs); align-items: center; }
.card { padding: var(--theme-space-m); background: var(--theme-surface-raised); border: 1px solid var(--theme-border-subtle); border-radius: var(--theme-radius-l); }
