/* ARGUS CPT light palette. Values only: argus-ui.css draws every component from
   these tokens, so a palette file is all a colour scheme needs. Page colours come
   from tokens-light.css. */
html[data-theme="light"]{
  color-scheme:light;
  --ink:#000000;--ink-2:#333333;--muted-2:#6B6B6B;--hairline:#DEDEDE;--hairline-strong:#BDBDBD;
  --canvas:#FFFFFF;--canvas-soft:#F3F3F3;--chip-grey:#D4D4D4;--accent-ink:#000000;
  --brand:#E9672F;--brand-pale:#FDF3EE;--danger:#C8321E;--success:#1F7A3D;

  --violet:#000;--violet-2:#333;--violet-3:#DEDEDE;--violet-4:#000;
  --orange:#E9672F;--orange-dark:#C9531F;--orange-pale:#FDF3EE;--purple:#000;--red:#C8321E;--accent:#E9672F;
  --black:#000000;--white:#FFFFFF;
  --grey-bg:#FFFFFF;--card-bg:#FFFFFF;--card:#FFFFFF;
  --grey-light:#DEDEDE;--grey-mid:#BDBDBD;--grey:#6B6B6B;
  --muted:#6B6B6B;--line:#DEDEDE;--soft:#F3F3F3;--bg:#FFFFFF;--page:#FFFFFF;

  /* Severity and status follow the dark theme hues, darkened to read on white */
  --critical:#E0102A;--critical-pale:#FFE0E4;--critical-fill:#EE1C33;
  --high:#F05A00;--high-pale:#FFE6D1;--high-fill:#FF6A00;
  --medium:#B38600;--medium-pale:#FFF1BF;--medium-fill:#FFC400;
  --low:#009E54;--low-pale:#D3F6E4;--low-fill:#00B862;
  --info:#5B6577;--info-pale:#E8ECF2;--info-fill:#64748B;
  --sev-info:#1F6FEB;--sev-info-pale:#DCEBFF;--sev-info-fill:#3B82F6;
  --risk:#2F5BFF;

  --btn-primary-bg:#D4D4D4;--btn-primary-bg-hover:#C2C2C2;--btn-primary-text:#000;--btn-primary-border:#D4D4D4;
  --btn-secondary-bg:#FFF;--btn-secondary-bg-hover:#F3F3F3;--btn-secondary-text:#000;
  --control-selected-bg:#D4D4D4;--control-selected-bg-hover:#C2C2C2;--control-selected-text:#000;--control-selected-border:#D4D4D4;

  --glass-bg:#FFF;--glass-bg-soft:#F3F3F3;--glass-border:#DEDEDE;--glass-border-strong:#BDBDBD;
  --glass-blur:0px;--glass-blur-menu:0px;
  --radius-xl:0px;--radius-lg:0px;--radius:0px;--radius-sm:0px;
  --shadow:none;--shadow-md:0 8px 24px rgba(0,0,0,.14);
  --font:'Helvetica Neue','Arimo',Helvetica,Arial,sans-serif;
  --mono:'DejaVu Sans Mono','Roboto Mono',ui-monospace,Menlo,Consolas,monospace;

  --font-page:'Helvetica Neue','Arimo',Helvetica,Arial,sans-serif;
  --rail-w:66px;--bar-h:58px;

  /* Graphs (knowledge graph, kill chains): neutral scale from page to ink,
     node labels. Scripts read these with getComputedStyle. */
  --gr-0:#FFFFFF;--gr-1:#F3F3F3;--gr-2:#EDEDED;--gr-3:#D4D4D4;--gr-4:#BDBDBD;
  --gr-5:#8A8A8A;--gr-6:#6B6B6B;--gr-7:#333333;--gr-8:#000000;
  --gr-label-strong:#1c1c1e;--gr-label:rgba(0,0,0,.8);--gr-label-soft:rgba(0,0,0,.75);--gr-label-faint:#3a3a3c;

  /* Roles used by argus-ui.css */
  --ui-bg:#FFF;            /* page */
  --ui-surface:#FFF;       /* cards, fields, chips, bars, panels */
  --ui-bg-soft:#F3F3F3;    /* hover, quiet fills */
  --ui-fg:#000;            /* text */
  --ui-fg-2:#333;          /* secondary text, icons */
  --ui-muted:#6B6B6B;      /* labels, hints */
  --ui-placeholder:#8A8A8A;
  --ui-faint:#BDBDBD;      /* faintest text: empty states, timestamps */
  --ui-line:#DEDEDE;       /* hairlines */
  --ui-line-strong:#BDBDBD;/* field borders, scrollbars */
  --ui-edge:#000;          /* strong borders: buttons, table heads, menus */
  --ui-inv-bg:#D4D4D4;     /* primary button, selected chip or tab, avatar: light grey, softer than black */
  --ui-inv-bg-hover:#C2C2C2;
  --ui-inv-fg:#000;
  --ui-accent:#E9672F;
  --ui-accent-hover:#D9581F;
  --ui-accent-pale:#FDF3EE;
  --ui-accent-fg:#000;     /* text on the accent */
  --ui-selection:#FBD9C8;
  --ui-danger:#C8321E;
  --ui-danger-pale:#FBEAE7;
  --ui-danger-ink:#8E1F10;
  --ui-scrim:rgba(0,0,0,.45);
  --ui-code-bg:#111;       /* code stays dark, as in the reference */
  --ui-code-fg:#EDEDED;
  --ui-rail-bg:#000;
  --ui-rail-fg:#FFF;
  --ui-rail-hover:#2B2B2B;
  --ui-flyout-bg:#161616;
  --ui-flyout-line:#2B2B2B;
  --ui-flyout-fg:#EDEDED;
  --ui-flyout-fg-hover:#FFF;
  --ui-flyout-head:#8A8A8A;
  --ui-strong-bg:#000;     /* emphasis panel, e.g. the task summary */
  --ui-strong-fg:#FFF;
  --ui-strong-muted:#BDBDBD;
  --ui-strong-line:#333;
  --ui-strong-hover:#2B2B2B;
  --ui-select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* Knowledge graph legend swatches (inline colours of the old look) */
html[data-theme="light"] body:has(#kg-canvas) [style*="#00897B" i]{background:var(--gr-3)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
html[data-theme="light"] body:has(#kg-canvas) [style*="#6E6E73" i]{background:var(--gr-2)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
html[data-theme="light"] body:has(#kg-canvas) [style*="#757575" i]{background:var(--gr-6)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
html[data-theme="light"] body:has(#kg-canvas) [style*="#D32F2F" i]{background:var(--gr-8)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
html[data-theme="light"] body:has(#kg-canvas) [style*="#FF5D2A" i]{background:var(--ui-accent)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
html[data-theme="light"] body:has(#kg-canvas) [style*="#FFA000" i]{background:var(--gr-5)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
html[data-theme="light"] body:has(#kg-canvas) [style*="#7CB342" i]{background:var(--gr-3)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
html[data-theme="light"] body:has(#kg-canvas) [style*="#2E7D32" i]{background:var(--gr-7)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
html[data-theme="light"] body:has(#kg-canvas) [style*="#1E293B" i]{background:var(--gr-0)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
html[data-theme="light"] body:has(#kg-canvas) [style*="#48484A" i]{background:var(--gr-8)!important;box-shadow:inset 0 0 0 1px var(--gr-8)}
