/* eterngit palette — terminal / light
   Theme = CSS variables only. Switching theme/mode swaps these values; page structure never changes.
   Loaded by every page; the active [data-theme][data-mode] pair wins via attribute selector. */

html[data-theme="terminal"][data-mode="light"] {
  color-scheme: light;

  /* SURFACES */
  --bg: #f7f6f2;
  --bg-elev: #ffffff;
  --bg-inset: #eceae3;
  --bg-hover: #ecebe6;
  --fg: #1b1b1b;
  --fg-muted: #555555;
  --fg-faint: #8a8a8a;
  --border: #d8d6cf;
  --border-strong: #c2c0b8;
  --accent: #1a7f4b;
  --accent-fg: #ffffff;
  --accent-soft: rgba(26,127,75,0.12);
  --selection: rgba(26,127,75,0.18);

  /* ANSI / SEMANTIC */
  --red: #c0392b;
  --green: #1a7f4b;
  --yellow: #b7791f;
  --blue: #2563b0;
  --purple: #8e44ad;
  --cyan: #128a8a;
  --orange: #c2611f;
  --gray: #777777;

  /* DIFF */
  --diff-add-bg: rgba(26,127,75,0.10);
  --diff-add-text: #1b1b1b;
  --diff-add-marker: #1a7f4b;
  --diff-add-gutter: rgba(26,127,75,0.14);
  --diff-del-bg: rgba(192,57,43,0.10);
  --diff-del-text: #1b1b1b;
  --diff-del-marker: #c0392b;
  --diff-del-gutter: rgba(192,57,43,0.14);
  --diff-hunk-bg: rgba(37,99,176,0.08);
  --diff-hunk-fg: #2563b0;

  /* CODE */
  --code-bg: #ffffff;
  --code-fg: #1b1b1b;
  --code-gutter-fg: #b0aea6;
  --code-gutter-bg: #ffffff;
  --code-current-line: rgba(0,0,0,0.03);

  /* SYNTAX */
  --syn-keyword: #8e44ad;
  --syn-string: #1a7f4b;
  --syn-comment: #8a8a8a;
  --syn-number: #c2611f;
  --syn-function: #2563b0;
  --syn-type: #b7791f;
  --syn-variable: #1b1b1b;
  --syn-operator: #128a8a;
  --syn-punctuation: #555555;
  --syn-property: #2563b0;
  --syn-constant: #c2611f;
  --syn-tag: #c0392b;
  --syn-attr: #b7791f;
  --syn-builtin: #128a8a;
  --syn-regexp: #1a7f4b;

  /* BADGES / CHIPS */
  --badge-latest-bg: #1a7f4b;
  --badge-latest-fg: #ffffff;
  --badge-rc-bg: #b7791f;
  --badge-rc-fg: #ffffff;
  --hash-bg: #eceae3;
  --hash-fg: #2563b0;
  --tag-bg: #eceae3;
  --tag-fg: #1b1b1b;

  /* FILE TREE */
  --tree-folder: #2563b0;
  --tree-file: #1b1b1b;
  --tree-current-bg: rgba(26,127,75,0.14);
  --tree-current-fg: #1b1b1b;
  --tree-guide: #d8d6cf;

  /* NAV CHROME */
  --chrome-bg: #e9e7df;
  --chrome-fg: #1b1b1b;
  --chrome-muted: #777777;
  --chrome-border: #d8d6cf;
  --chrome-active-bg: #1a7f4b;
  --chrome-active-fg: #ffffff;
  --chrome-accent: #1a7f4b;
  --statusbar-bg: #e3e1d8;
  --statusbar-fg: #1b1b1b;
  --statusbar-accent: #1a7f4b;
  --mode-fg: #ffffff;

  /* TYPE / SHAPE */
  --font-ui: ui-monospace, "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-mono: ui-monospace, "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-content: ui-monospace, "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 0px;
  --statusbar-h: 26px;
  --chrome-left: 0px;
}
