/* mkprj tokens. Generated from the design system's tokens.json; the server can regenerate it at startup. */
@layer tokens, base, layout, components, utilities;
@layer tokens {
  :root, [data-theme="dark"] {
    color-scheme: dark;
    --surface-base: #0e1315;
    --surface-raised: #131a1d;
    --surface-control: #1c262a;
    --surface-selected: #1a2a2c;
    --border-default: #243036;
    --border-strong: #3a4a51;
    --text-primary: #e8edeb;
    --text-secondary: #a9b8bb;
    --text-muted: #84969b;
    --accent: #f2b134;
    --on-accent: #1d1503;
    --accent-ink: #f2b134;
    --focus-ring: var(--accent);
    --status-ready: var(--text-muted);
    --status-progress: #f2b134;
    --status-review: #a68cf2;
    --status-blocked: #ff6b6b;
    --status-done: #4cc38a;
    --actor-agent: #7fa8ff;
    --actor-human: #b9c6c9;
    --type-task: #d9c58f;
    --type-bug: #ef8a6c;
    --type-incident: #ff6b61;
    --type-epic: #7cbde3;
    --holder-ink: #15120a;
    --line-teal: #1fa69a;
    --line-vermilion: #e0532f;
    --line-blue: #3f7de8;
    --line-violet: #8e6fe0;
    --shadow-overlay: 0 12px 32px rgba(0,0,0,0.5);
  }
  [data-theme="light"] {
    color-scheme: light;
    --surface-base: #f6f5f0;
    --surface-raised: #ffffff;
    --surface-control: #eeede6;
    --surface-selected: #e4f2ef;
    --border-default: #e1dfd6;
    --border-strong: #c2c0b5;
    --text-primary: #15191b;
    --text-secondary: #475156;
    --text-muted: #5f6a6f;
    --accent: #e3a21a;
    --on-accent: #1d1503;
    --accent-ink: #875700;
    --focus-ring: var(--accent);
    --status-ready: var(--text-muted);
    --status-progress: #875700;
    --status-review: #6a4fd0;
    --status-blocked: #c8322f;
    --status-done: #17734b;
    --actor-agent: #2860c4;
    --actor-human: #4b5559;
    --type-task: #e6d6a6;
    --type-bug: #f3a188;
    --type-incident: #f07a70;
    --type-epic: #9fcbe6;
    --holder-ink: #15120a;
    --line-teal: #1fa69a;
    --line-vermilion: #e0532f;
    --line-blue: #3f7de8;
    --line-violet: #8e6fe0;
    --shadow-overlay: 0 12px 32px rgba(20,25,27,0.16);
  }
  @media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
      color-scheme: light;
      --surface-base: #f6f5f0;
      --surface-raised: #ffffff;
      --surface-control: #eeede6;
      --surface-selected: #e4f2ef;
      --border-default: #e1dfd6;
      --border-strong: #c2c0b5;
      --text-primary: #15191b;
      --text-secondary: #475156;
      --text-muted: #5f6a6f;
      --accent: #e3a21a;
      --on-accent: #1d1503;
      --accent-ink: #875700;
      --focus-ring: var(--accent);
      --status-ready: var(--text-muted);
      --status-progress: #875700;
      --status-review: #6a4fd0;
      --status-blocked: #c8322f;
      --status-done: #17734b;
      --actor-agent: #2860c4;
      --actor-human: #4b5559;
      --type-task: #e6d6a6;
      --type-bug: #f3a188;
      --type-incident: #f07a70;
      --type-epic: #9fcbe6;
      --holder-ink: #15120a;
      --line-teal: #1fa69a;
      --line-vermilion: #e0532f;
      --line-blue: #3f7de8;
      --line-violet: #8e6fe0;
      --shadow-overlay: 0 12px 32px rgba(20,25,27,0.16);
    }
  }
  :root {
    --space-0: 2px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --control-sm: 26px;
    --control-md: 30px;
    --control-lg: 44px;
    --row-compact: 28px;
    --row-standard: 34px;
    --row-comfortable: 40px;
    --topbar: 52px;
    --sidebar-expanded: 236px;
    --sidebar-compact: 56px;
    --panel: 440px;
    --layer-sticky: 1;
    --layer-panel: 15;
    --layer-overlay: 20;
    --layer-palette: 21;
    --layer-drawer: 25;
    --layer-switch: 26;
    --layer-toast: 30;
    --font-sans: "Schibsted Grotesk", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
    /* Type scale (tokens.json type.groups): --fs-* size, --lh-* line height, one pair per style. */
    --fs-title-page: 28px;
    --lh-title-page: 32px;
    --fs-title-panel: 19px;
    --lh-title-panel: 24px;
    --fs-title-view: 18px;
    --lh-title-view: 24px;
    --fs-prose: 15px;
    --lh-prose: 23px;
    --fs-ui: 13px;
    --lh-ui: 18px;
    --fs-label: 12px;
    --lh-label: 16px;
    --fs-meta: 12px;
    --lh-meta: 16px;
    --fs-micro: 11px;
    --lh-micro: 14px;
    --fs-key: 12px;
    --lh-key: 16px;
    --ease: cubic-bezier(.23, 1, .32, 1);
    --t-fast: 120ms;
    --t-med: 200ms;
    --t-slow: 280ms;
    /* Named motions that aren't transitions: one turn of the save mark's spinner, and how long a rolled-back change stays tinted. */
    --t-spin: 800ms;
    --t-flash: 1400ms;
  }
}
