:root {
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink-950: #13203a;
  --ink-900: #1d2b46;
  --ink-700: #35445f;
  --ink-600: #596984;
  --ink-500: #70809f;
  --ink-400: #9aa7bf;
  --ink-300: #cfd8e8;
  --ink-200: #e3e8f2;
  --ink-100: #edf1f6;
  --ink-50: #f9fbff;
  --white: #ffffff;
  --blue-700: #174ad0;
  --blue-600: #2864e8;
  --blue-500: #3780ff;
  --blue-100: #dce7ff;
  --blue-50: #eaf1ff;
  --green-700: #199b54;
  --green-600: #1cad62;
  --green-100: #d6f1e1;
  --green-50: #e8f8ef;
  --amber-700: #d97900;
  --amber-600: #f28b00;
  --amber-100: #ffe4b9;
  --amber-50: #fff3df;
  --red-700: #d33e50;
  --red-600: #ed3b4f;
  --red-100: #ffd4da;
  --red-50: #ffe9ec;
  --violet-700: #7842cb;
  --violet-600: #8a48eb;
  --violet-100: #e2d5fb;
  --violet-50: #f2eaff;
  --cyan-700: #0797ca;
  --cyan-600: #0b9fd4;
  --cyan-100: #cceef8;
  --cyan-50: #e5f7fd;
  --pink-700: #d92f78;
  --pink-600: #e62d7a;
  --pink-50: #ffeaf3;
  --page: #f6f8fc;
  --surface: #ffffff;
  --surface-muted: #f9fbff;
  --border: #e3e8f2;
  --border-strong: #cfd8e8;
  --shadow-xs: 0 1px 2px rgba(31, 51, 91, .035);
  --shadow-sm: 0 2px 7px rgba(31, 51, 91, .055);
  --shadow-md: 0 12px 28px rgba(31, 51, 91, .10);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --sidebar-width: 260px;
  --topbar-height: 72px;
  --transition: 150ms ease;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; font-family: var(--font-sans); color: var(--ink-950); background: var(--page); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
h2 { margin-bottom: 4px; font-size: 13px; line-height: 1.3; letter-spacing: -.01em; }
h3 { margin-bottom: 4px; font-size: 12px; line-height: 1.4; }
p { color: var(--ink-500); }
:focus-visible { outline: 3px solid rgba(40, 100, 232, .22); outline-offset: 2px; }
::selection { background: var(--blue-100); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-500); }
.subtle { color: var(--ink-400); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .92em; }
.truncate { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.placeholder-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ink-500); font-size: 11px; }
.placeholder-note::before { content: "DEMO"; padding: 2px 5px; color: var(--violet-700); background: var(--violet-50); border: 1px solid var(--violet-100); border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
