/* typed.chat — generated from tokens.json */

:root, [data-theme="light"] {
  --surface: #f5f7f4;
  --surface-raised: #ffffff;
  --line: #d7ded9;
  --line-strong: #7d8a82;
  --ink: #18201b;
  --ink-muted: #556159;
  --moss: #2f6b4f;
  --moss-strong: #24563f;
  --moss-soft: #e2eee6;
  --on-moss: #ffffff;
  --danger: #a03a1e;
  --danger-soft: #f7e4dd;
  --on-danger: #ffffff;
  --link: var(--moss);
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #2f6b4f;
  --raise: 0 1px 2px rgba(24, 32, 27, 0.06);
}

[data-theme="dark"] {
  color-scheme: dark;
  --surface: #121614;
  --surface-raised: #1a201c;
  --line: #2c3530;
  --line-strong: #6f7d75;
  --ink: #e3e9e5;
  --ink-muted: #9eaba3;
  --moss: #8cc7a6;
  --moss-strong: #a6d6bb;
  --moss-soft: #1b2b22;
  --on-moss: #121614;
  --danger: #f0a08a;
  --danger-soft: #2e1a14;
  --on-danger: #121614;
  --link: var(--moss);
  --focus-ring: 0 0 0 2px #121614, 0 0 0 4px #8cc7a6;
  --raise: 0 1px 2px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface: #121614;
    --surface-raised: #1a201c;
    --line: #2c3530;
    --line-strong: #6f7d75;
    --ink: #e3e9e5;
    --ink-muted: #9eaba3;
    --moss: #8cc7a6;
    --moss-strong: #a6d6bb;
    --moss-soft: #1b2b22;
    --on-moss: #121614;
    --danger: #f0a08a;
    --danger-soft: #2e1a14;
    --on-danger: #121614;
    --link: var(--moss);
    --focus-ring: 0 0 0 2px #121614, 0 0 0 4px #8cc7a6;
    --raise: 0 1px 2px rgba(0, 0, 0, 0.4);
  }
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-icon: 23%;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.display { font-family: var(--font-mono); font-size: 56px; line-height: 60px; font-weight: 500; letter-spacing: -0.02em; }
.h1 { font-family: var(--font-mono); font-size: 36px; line-height: 44px; font-weight: 500; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-mono); font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; }
.h3 { font-family: var(--font-mono); font-size: 18px; line-height: 26px; font-weight: 500; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.slot { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 500; }
.label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
