/* Generated from apps/desktop/src/renderer/styles.css by scripts/build-design-system.mjs. Do not edit. */
:root, .ds-light {
    --paper: #fbfbfd;
  --win: #fcfcfe;
    --surface: #ffffff;
    --surface-2: #f2f2f7;
    --ink: #17171d;
    --ink-soft: #52525e;
    --ink-faint: #6c6c77;
    --line: #e8e8ef;
    --accent: #5a2352;
    /* Text on the accent fill (primary buttons). Themes with a light accent switch it to dark ink. */
    --on-accent: #ffffff;
    /* The knob of every on/off switch (.quiet-switch), in every theme. */
    --switch-knob: #ffffff;
    /* One brand hue. --accent-2 is a second data colour (charts, the code
     highlight, a celebration); it never fills a button, a title or the nav.
     Derived soft tokens track --accent, which the user can recolour. */
    --accent-2: #8a4a7f;
    --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
    /* Shadows: tinted, never pure black, blur twice the offset, and only on
     what floats (menus, popovers, toasts, a dragged card). Resting cards get a
     border instead. --shadow-ink is the hue they are tinted with: the ink in
     light themes, near-black in the paper's own hue in dark ones. Tailwind's
     shadow-* scale is switched off; use shadow-(--shadow-float) and friends. */
    --shadow-ink: var(--ink);
    --shadow-sm: 0 1px 2px color-mix(in srgb, var(--shadow-ink) 8%, transparent);
    --shadow-md:
      0 4px 8px color-mix(in srgb, var(--shadow-ink) 8%, transparent),
      0 1px 2px color-mix(in srgb, var(--shadow-ink) 5%, transparent);
    --shadow-float:
      0 8px 16px color-mix(in srgb, var(--shadow-ink) 10%, transparent),
      0 2px 4px color-mix(in srgb, var(--shadow-ink) 5%, transparent);
    --shadow-lift:
      0 12px 24px color-mix(in srgb, var(--shadow-ink) 14%, transparent),
      0 2px 4px color-mix(in srgb, var(--shadow-ink) 6%, transparent);
    --ring: color-mix(in srgb, var(--accent) 35%, transparent);
    /* Motion vocabulary: one deceleration curve, with no overshoot, for
     arrivals, layout change and exits alike (easing.ts carries it for
     Element.animate). No springs on UI chrome. Durations by consequence:
     fast feedback, standard state change, slow layout/overlay, all under
     300ms for anything used often. */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 0.12s;
    --dur-med: 0.2s;
    --dur-slow: 0.26s;
    /* Quiet surfaces rhythm (docs/design-system.md): 8px steps inside
     components, 20px steps for layout, 4px only for tightly coupled pairs.
     These gaps replace borders and card tiles. */
    --q-tight: 4px;
    --q-inline: 8px;
    --q-heading: 8px;
    --q-pad: 20px;
    --q-group: 20px;
    --q-section: 40px;
    --q-row: 40px;
    --q-row-dense: 32px;
    --q-wash: color-mix(in srgb, currentColor 6%, transparent);
    --q-wash-strong: color-mix(in srgb, currentColor 9%, transparent);
    /* Semantic status colors. Every screen reads state through these (never a
     raw hex), so a theme change moves every badge, dot and chip at once. */
    --success: #3aa870;
    --danger: #d24738;
    --warning: #c9871f;
    /* An agent waiting on you: orange, louder than a warning chip. */
    --attention: #e8701a;
    /* Petrol, the third colour: information, "New", chart series three. */
    --info: #1f6680;
    --neutral: #8a8f98;
    /* Working is the green rocket; best-so-far marks are a warning amber. */
    --running: var(--success);
    --highlight: var(--warning);
    /* Words in a state colour. The base values above are for glyphs, dots and
     meter fills; as text they fall under 4.5:1 on light surfaces. */
    --success-text: #226f49;
    --danger-text: #b23a2d;
    --warning-text: #8a5a0c;
    --attention-text: #a84c0a;
    --info-text: #1f6680;
    --success-soft: color-mix(in srgb, var(--success) 14%, transparent);
    --danger-soft: color-mix(in srgb, var(--danger) 14%, transparent);
    --warning-soft: color-mix(in srgb, var(--warning) 14%, transparent);
    --attention-soft: color-mix(in srgb, var(--attention) 14%, transparent);
    --info-soft: color-mix(in srgb, var(--info) 14%, transparent);
    --neutral-soft: color-mix(in srgb, var(--neutral) 14%, transparent);
    /* Context/provenance categories, shared by the metrics bar, the context
     inspector and the prompt analyzer so one source is one color app-wide. */
    --cat-system: var(--neutral);
    --cat-conversation: var(--accent);
    --cat-guideline: #a06fbf;
    --cat-memory: var(--warning);
    --cat-file: var(--info);
    --cat-connector: var(--success);
    --cat-index: #3f9e97;
    --cat-skill: var(--danger);
    --cat-spec: #3f9e97;
    /* Merged pull requests: the purple celebration banner, badge and link.
     Separate from --accent (which the user can recolor) so merged text always
     keeps contrast against its own wash. contrast.test.ts holds every theme
     and preset to 4.5:1 for the text that sits on these. */
    --merged-ink: #5b21b6;
    --merged-star: #8b5cf6;
    --merged-line: rgba(147, 51, 234, 0.35);
    --merged-wash: rgba(147, 51, 234, 0.22);
    --merged-wash-soft: rgba(88, 28, 135, 0.08);
    --merged-chip: rgba(147, 51, 234, 0.12);
    /* Make native controls (select popups, scrollbars) match the theme so we
     never get light text on a light system-rendered dropdown. */
    color-scheme: light;
}
:root[data-ds-theme='dusk'], .ds-dusk, :root:not([data-ds-theme='dusk']) .ds-invert {
    --paper: #0b0c14;
    --win: #181a25;
    --surface: #14151f;
    --surface-2: #1d1f2c;
    --ink: #eaeaf4;
    --ink-soft: #a3a4b6;
    --ink-faint: #87899b;
    --line: #252735;
    --accent: #c084b5;
    --accent-2: #c99bb3;
    --accent-soft: color-mix(in srgb, var(--accent) 18%, transparent);
    --shadow-ink: color-mix(in srgb, var(--paper) 40%, #000);
    --shadow-sm: 0 1px 2px color-mix(in srgb, var(--shadow-ink) 40%, transparent);
    --shadow-md:
      0 4px 8px color-mix(in srgb, var(--shadow-ink) 40%, transparent),
      0 1px 2px color-mix(in srgb, var(--shadow-ink) 30%, transparent);
    --shadow-float:
      0 8px 16px color-mix(in srgb, var(--shadow-ink) 50%, transparent),
      0 2px 4px color-mix(in srgb, var(--shadow-ink) 30%, transparent);
    --shadow-lift:
      0 12px 24px color-mix(in srgb, var(--shadow-ink) 60%, transparent),
      0 2px 4px color-mix(in srgb, var(--shadow-ink) 35%, transparent);
    --ring: color-mix(in srgb, var(--accent) 45%, transparent);
    /* Brighter status hues so state stays legible on the dark surfaces. */
    --success: #4ec98a;
    --danger: #e0574a;
    --warning: #e0a44a;
    --attention: #f58a3a;
    --info: #6bb8d4;
    --neutral: #8a8f98;
    --success-text: #4ec98a;
    --danger-text: #ef6a5d;
    --warning-text: #e0a44a;
    --attention-text: #f58a3a;
    --info-text: #6bb8d4;
    --success-soft: color-mix(in srgb, var(--success) 18%, transparent);
    --danger-soft: color-mix(in srgb, var(--danger) 18%, transparent);
    --warning-soft: color-mix(in srgb, var(--warning) 18%, transparent);
    --attention-soft: color-mix(in srgb, var(--attention) 18%, transparent);
    --info-soft: color-mix(in srgb, var(--info) 18%, transparent);
    --neutral-soft: color-mix(in srgb, var(--neutral) 18%, transparent);
    --cat-guideline: #c08adb;
    --cat-index: #5bc8c0;
    --cat-spec: #5bc8c0;
    --merged-ink: #c4b5fd;
    --merged-star: #ddd6fe;
    --merged-line: rgba(168, 85, 247, 0.45);
    --merged-wash: rgba(147, 51, 234, 0.38);
    --merged-wash-soft: rgba(88, 28, 135, 0.14);
    --merged-chip: rgba(147, 51, 234, 0.18);
    color-scheme: dark;
}
:root[data-ds-theme='dusk'] .ds-invert {
    --paper: #fbfbfd;
  --win: #fcfcfe;
    --surface: #ffffff;
    --surface-2: #f2f2f7;
    --ink: #17171d;
    --ink-soft: #52525e;
    --ink-faint: #6c6c77;
    --line: #e8e8ef;
    --accent: #5a2352;
    /* Text on the accent fill (primary buttons). Themes with a light accent switch it to dark ink. */
    --on-accent: #ffffff;
    /* The knob of every on/off switch (.quiet-switch), in every theme. */
    --switch-knob: #ffffff;
    /* One brand hue. --accent-2 is a second data colour (charts, the code
     highlight, a celebration); it never fills a button, a title or the nav.
     Derived soft tokens track --accent, which the user can recolour. */
    --accent-2: #8a4a7f;
    --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
    /* Shadows: tinted, never pure black, blur twice the offset, and only on
     what floats (menus, popovers, toasts, a dragged card). Resting cards get a
     border instead. --shadow-ink is the hue they are tinted with: the ink in
     light themes, near-black in the paper's own hue in dark ones. Tailwind's
     shadow-* scale is switched off; use shadow-(--shadow-float) and friends. */
    --shadow-ink: var(--ink);
    --shadow-sm: 0 1px 2px color-mix(in srgb, var(--shadow-ink) 8%, transparent);
    --shadow-md:
      0 4px 8px color-mix(in srgb, var(--shadow-ink) 8%, transparent),
      0 1px 2px color-mix(in srgb, var(--shadow-ink) 5%, transparent);
    --shadow-float:
      0 8px 16px color-mix(in srgb, var(--shadow-ink) 10%, transparent),
      0 2px 4px color-mix(in srgb, var(--shadow-ink) 5%, transparent);
    --shadow-lift:
      0 12px 24px color-mix(in srgb, var(--shadow-ink) 14%, transparent),
      0 2px 4px color-mix(in srgb, var(--shadow-ink) 6%, transparent);
    --ring: color-mix(in srgb, var(--accent) 35%, transparent);
    /* Motion vocabulary: one deceleration curve, with no overshoot, for
     arrivals, layout change and exits alike (easing.ts carries it for
     Element.animate). No springs on UI chrome. Durations by consequence:
     fast feedback, standard state change, slow layout/overlay, all under
     300ms for anything used often. */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 0.12s;
    --dur-med: 0.2s;
    --dur-slow: 0.26s;
    /* Quiet surfaces rhythm (docs/design-system.md): 8px steps inside
     components, 20px steps for layout, 4px only for tightly coupled pairs.
     These gaps replace borders and card tiles. */
    --q-tight: 4px;
    --q-inline: 8px;
    --q-heading: 8px;
    --q-pad: 20px;
    --q-group: 20px;
    --q-section: 40px;
    --q-row: 40px;
    --q-row-dense: 32px;
    --q-wash: color-mix(in srgb, currentColor 6%, transparent);
    --q-wash-strong: color-mix(in srgb, currentColor 9%, transparent);
    /* Semantic status colors. Every screen reads state through these (never a
     raw hex), so a theme change moves every badge, dot and chip at once. */
    --success: #3aa870;
    --danger: #d24738;
    --warning: #c9871f;
    /* An agent waiting on you: orange, louder than a warning chip. */
    --attention: #e8701a;
    /* Petrol, the third colour: information, "New", chart series three. */
    --info: #1f6680;
    --neutral: #8a8f98;
    /* Working is the green rocket; best-so-far marks are a warning amber. */
    --running: var(--success);
    --highlight: var(--warning);
    /* Words in a state colour. The base values above are for glyphs, dots and
     meter fills; as text they fall under 4.5:1 on light surfaces. */
    --success-text: #226f49;
    --danger-text: #b23a2d;
    --warning-text: #8a5a0c;
    --attention-text: #a84c0a;
    --info-text: #1f6680;
    --success-soft: color-mix(in srgb, var(--success) 14%, transparent);
    --danger-soft: color-mix(in srgb, var(--danger) 14%, transparent);
    --warning-soft: color-mix(in srgb, var(--warning) 14%, transparent);
    --attention-soft: color-mix(in srgb, var(--attention) 14%, transparent);
    --info-soft: color-mix(in srgb, var(--info) 14%, transparent);
    --neutral-soft: color-mix(in srgb, var(--neutral) 14%, transparent);
    /* Context/provenance categories, shared by the metrics bar, the context
     inspector and the prompt analyzer so one source is one color app-wide. */
    --cat-system: var(--neutral);
    --cat-conversation: var(--accent);
    --cat-guideline: #a06fbf;
    --cat-memory: var(--warning);
    --cat-file: var(--info);
    --cat-connector: var(--success);
    --cat-index: #3f9e97;
    --cat-skill: var(--danger);
    --cat-spec: #3f9e97;
    /* Merged pull requests: the purple celebration banner, badge and link.
     Separate from --accent (which the user can recolor) so merged text always
     keeps contrast against its own wash. contrast.test.ts holds every theme
     and preset to 4.5:1 for the text that sits on these. */
    --merged-ink: #5b21b6;
    --merged-star: #8b5cf6;
    --merged-line: rgba(147, 51, 234, 0.35);
    --merged-wash: rgba(147, 51, 234, 0.22);
    --merged-wash-soft: rgba(88, 28, 135, 0.08);
    --merged-chip: rgba(147, 51, 234, 0.12);
    /* Make native controls (select popups, scrollbars) match the theme so we
     never get light text on a light system-rendered dropdown. */
    color-scheme: light;
}
