/* GENERATED by design/render.mjs from design/tokens.json — never edit by hand.
   Semantic tokens only in app code; primitives exist here for the semantics to
   reference (audit.mjs enforces). Theme: system preference by default; an explicit
   choice stamps data-theme="light|dark" on <html> (shared key: keswickTheme). */
:root {
  --color-primitive-stone-0: #FFFFFF;
  --color-primitive-stone-1: #FAF9F5;
  --color-primitive-stone-2: #F1EFE8;
  --color-primitive-stone-3: #E7E4DA;
  --color-primitive-stone-4: #DCD8CC;
  --color-primitive-stone-5: #C3BEAE;
  --color-primitive-stone-6: #A29C8A;
  --color-primitive-stone-7: #8E8774;
  --color-primitive-stone-8: #78725F;
  --color-primitive-stone-9: #5A5648;
  --color-primitive-stone-10: #403D33;
  --color-primitive-stone-11: #26241D;
  --color-primitive-stone-12: #161510;
  --color-primitive-stone-13: #0C0B08;
  --color-primitive-green-1: #EAF3ED;
  --color-primitive-green-2: #D3E7DB;
  --color-primitive-green-3: #A9D2BB;
  --color-primitive-green-5: #3FA96B;
  --color-primitive-green-6: #1C9152;
  --color-primitive-green-7: #137A42;
  --color-primitive-green-8: #15502C;
  --color-primitive-green-9: #0F3C21;
  --color-primitive-gold-1: #FBF1D4;
  --color-primitive-gold-2: #F5DFA0;
  --color-primitive-gold-3: #FFD23B;
  --color-primitive-gold-6: #A87A0B;
  --color-primitive-gold-7: #7E5B08;
  --color-primitive-red-1: #FBEBE9;
  --color-primitive-red-6: #C0342B;
  --color-primitive-red-7: #9B2820;
  --color-primitive-paperstock-cream: #F7F5EC;
  --color-primitive-microsoft-ink: #5E5E5E;
  --color-primitive-microsoft-edge: #8C8C8C;
  --color-primitive-microsoft-charcoal: #2F2F2F;
  --color-surface-page: #FAF9F5;
  --color-surface-card: #FFFFFF;
  --color-surface-subtle: #F1EFE8;
  --color-surface-sunken: #E7E4DA;
  --color-surface-stage: #C3BEAE;
  --color-surface-paper: #F7F5EC;
  --color-surface-scrim: rgba(38,36,29,.44);
  --color-text-primary: #26241D;
  --color-text-secondary: #5A5648;
  --color-text-subtle: #78725F;
  --color-text-disabled: #A29C8A;
  --color-text-inverse: #FFFFFF;
  --color-text-brand: #15502C;
  --color-text-action: #137A42;
  --color-border-subtle: #DCD8CC;
  --color-border-control: #8E8774;
  --color-border-strong: #78725F;
  --color-border-focus: #15502C;
  --color-border-paper: rgba(38,36,29,.30);
  --color-action-primary: #15502C;
  --color-action-primary-hover: #0F3C21;
  --color-action-primary-text: #FFFFFF;
  --color-action-secondary: #F7F5EC;
  --color-action-secondary-hover: #15502C;
  --color-action-hover-wash: rgba(120,114,95,.12);
  --color-action-pressed-wash: rgba(120,114,95,.20);
  --color-action-destructive: #F7F5EC;
  --color-action-destructive-text: #C0342B;
  --color-action-secondary-text: #15502C;
  --color-action-microsoft: #FFFFFF;
  --color-action-microsoft-text: #5E5E5E;
  --color-action-microsoft-border: #8C8C8C;
  --color-state-selected-bg: #EAF3ED;
  --color-state-selected-border: #137A42;
  --color-state-selected-text: #15502C;
  --color-state-modified: #A87A0B;
  --color-state-modified-bg: #FBF1D4;
  --color-state-modified-text: #7E5B08;
  --color-feedback-error: #C0342B;
  --color-feedback-error-bg: #FBEBE9;
  --color-feedback-warning: #7E5B08;
  --color-feedback-warning-bg: #FBF1D4;
  --color-feedback-success: #137A42;
  --color-feedback-success-bg: #EAF3ED;
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Avenir Next", "Seravek", ui-sans-serif, -apple-system, sans-serif;
  --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-size-caption: 12px;
  --font-size-small: 13px;
  --font-size-body: 15px;
  --font-size-row: 15px;
  --font-size-title: 17px;
  --font-size-heading: 20px;
  --font-size-display: 26px;
  --font-size-hero: 56px;
  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-body: 1.5;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.04em;
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --radius-chip: 6px;
  --radius-control: 8px;
  --radius-surface: 14px;
  --radius-pill: 999px;
  --border-width-hairline: 1px;
  --border-width-marker: 2px;
  --border-width-focus: 2px;
  --size-target-min: 24px;
  --size-control-sm: 32px;
  --size-control-md: 40px;
  --size-control-lg: 48px;
  --size-row-min: 44px;
  --size-icon-sm: 16px;
  --size-icon-md: 20px;
  --size-icon-lg: 24px;
  --size-rail: 380px;
  --size-focus-offset: 2px;
  --size-bottombar: 64px;
  --size-grabber: 36px;
  --shadow-raised: 0 1px 2px 0 rgba(38,36,29,.07);
  --shadow-panel: 0 2px 8px 0 rgba(38,36,29,.09);
  --shadow-overlay: 0 12px 32px 0 rgba(38,36,29,.18);
  --shadow-paper: 0 10px 28px 0 rgba(26,24,18,.22);
  --duration-instant: 80ms;
  --duration-fast: 120ms;
  --duration-base: 160ms;
  --duration-slow: 240ms;
  --duration-spin: 700ms;
  --easing-standard: 0.2, 0, 0, 1;
  --easing-enter: 0, 0, 0.2, 1;
  --easing-exit: 0.4, 0, 1, 1;
  --breakpoint-compact: 900px;
  --breakpoint-regular: 1200px;
  --breakpoint-wide: 1600px;
  --z-stage: 0;
  --z-rail: 10;
  --z-header: 20;
  --z-popover: 30;
  --z-modal: 40;
  --z-toast: 50;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --color-surface-page: #161510;
  --color-surface-card: #26241D;
  --color-surface-subtle: #1D1B15;
  --color-surface-sunken: #0F0E0A;
  --color-surface-stage: #0C0B08;
  --color-surface-scrim: rgba(0,0,0,.55);
  --color-text-primary: #F1EFE8;
  --color-text-secondary: #C3BEAE;
  --color-text-subtle: #A29C8A;
  --color-text-disabled: #78725F;
  --color-text-brand: #8FD9AE;
  --color-text-action: #4DD68B;
  --color-border-subtle: #2E2B23;
  --color-border-control: #78725F;
  --color-border-strong: #A29C8A;
  --color-border-focus: #1C9152;
  --color-action-primary: #15502C;
  --color-action-primary-hover: #137A42;
  --color-action-secondary: #26241D;
  --color-action-secondary-hover: #4DD68B;
  --color-action-hover-wash: rgba(255,255,255,.06);
  --color-action-pressed-wash: rgba(255,255,255,.10);
  --color-action-destructive: #26241D;
  --color-action-destructive-text: #FF6B62;
  --color-action-secondary-text: #8FD9AE;
  --color-action-microsoft: #2F2F2F;
  --color-action-microsoft-text: #FFFFFF;
  --color-action-microsoft-border: #8C8C8C;
  --color-state-selected-bg: rgba(28,145,82,.22);
  --color-state-selected-border: #1C9152;
  --color-state-selected-text: #A9D2BB;
  --color-state-modified: #FFD23B;
  --color-state-modified-bg: rgba(255,210,59,.15);
  --color-state-modified-text: #FFD23B;
  --color-feedback-error: #FF6B62;
  --color-feedback-error-bg: rgba(255,107,98,.14);
  --color-feedback-warning: #FFD23B;
  --color-feedback-warning-bg: rgba(255,210,59,.15);
  --color-feedback-success: #4DD68B;
  --color-feedback-success-bg: rgba(28,145,82,.20);
  }
}
[data-theme="dark"] {
  --color-surface-page: #161510;
  --color-surface-card: #26241D;
  --color-surface-subtle: #1D1B15;
  --color-surface-sunken: #0F0E0A;
  --color-surface-stage: #0C0B08;
  --color-surface-scrim: rgba(0,0,0,.55);
  --color-text-primary: #F1EFE8;
  --color-text-secondary: #C3BEAE;
  --color-text-subtle: #A29C8A;
  --color-text-disabled: #78725F;
  --color-text-brand: #8FD9AE;
  --color-text-action: #4DD68B;
  --color-border-subtle: #2E2B23;
  --color-border-control: #78725F;
  --color-border-strong: #A29C8A;
  --color-border-focus: #1C9152;
  --color-action-primary: #15502C;
  --color-action-primary-hover: #137A42;
  --color-action-secondary: #26241D;
  --color-action-secondary-hover: #4DD68B;
  --color-action-hover-wash: rgba(255,255,255,.06);
  --color-action-pressed-wash: rgba(255,255,255,.10);
  --color-action-destructive: #26241D;
  --color-action-destructive-text: #FF6B62;
  --color-action-secondary-text: #8FD9AE;
  --color-action-microsoft: #2F2F2F;
  --color-action-microsoft-text: #FFFFFF;
  --color-action-microsoft-border: #8C8C8C;
  --color-state-selected-bg: rgba(28,145,82,.22);
  --color-state-selected-border: #1C9152;
  --color-state-selected-text: #A9D2BB;
  --color-state-modified: #FFD23B;
  --color-state-modified-bg: rgba(255,210,59,.15);
  --color-state-modified-text: #FFD23B;
  --color-feedback-error: #FF6B62;
  --color-feedback-error-bg: rgba(255,107,98,.14);
  --color-feedback-warning: #FFD23B;
  --color-feedback-warning-bg: rgba(255,210,59,.15);
  --color-feedback-success: #4DD68B;
  --color-feedback-success-bg: rgba(28,145,82,.20);
}
