/* Sovereign Terminal — the forge variant. Generated by gen-theme.py; do not hand-edit.
   Palette authority: commons/conventions/brand.md (forge accent gold #D9B26A).
   Mechanism: ADR-INFRA-069. This file alone does nothing — `sovereign-terminal`
   must also appear in [ui] THEMES or it never reaches the Appearance picker. */

/* Forgejo loads ONLY the selected theme's file (theme-<name>.css), so the file is
   itself the switch and its variables scope to plain :root. Verified live: the
   running instance carries <html data-theme="forgejo-auto"> and theme-forgejo-auto.css
   defines --color-primary on :root. A theme-named selector here matches nothing and
   the file becomes a silent no-op. */
:root {
  color-scheme: dark;

  /* ── ground ─────────────────────────────────────────── */
  --color-body: #15121c;
  --color-box-body: #1b1724;
  --color-box-body-highlight: #2c2638;
  --color-box-header: #221d2e;
  --color-card: #221d2e;
  --color-menu: #221d2e;
  --color-nav-bg: #100e15;
  --color-footer: #100e15;
  --color-header-wrapper: #121019;
  --color-header-wrapper-transparent: #221d2e00;
  --color-nav-hover-bg: #2c2638;
  --color-active: #2c2638;
  --color-hover: #403a4a;
  --color-timeline: #2c2638;
  --color-shadow: #00000070;

  /* ── text: warm, not the blue-white forgejo-dark ships ── */
  --color-text: #f0ede8;
  --color-text-dark: #ffffff;
  --color-text-focus: #ffffff;
  --color-text-light: #c9c3d0;
  --color-text-light-1: #c9c3d0;
  --color-text-light-2: #8b9ab0;
  --color-text-light-3: #8b9ab0;
  --color-placeholder-text: #8b9ab0;
  --color-caret: #f0ede8;

  /* ── accent ramp, generated from the brand gold ───────── */
  --color-primary: #d9b26a;
  --color-accent: #c3a05f;
  --color-primary-hover: #c3a05f;
  --color-primary-active: #a98b53;
  --color-primary-contrast: #000000;
  --color-primary-dark-1: #debd7f;
  --color-primary-dark-2: #debd7f;
  --color-primary-dark-3: #e4c997;
  --color-primary-dark-4: #e4c997;
  --color-primary-dark-5: #ecd8b4;
  --color-primary-dark-6: #ecd8b4;
  --color-primary-dark-7: #f4e9d5;
  --color-primary-light-1: #bf9d5d;
  --color-primary-light-2: #a58751;
  --color-primary-light-3: #876e42;
  --color-primary-light-4: #6c5935;
  --color-primary-light-5: #6c5935;
  --color-primary-light-6: #524428;
  --color-primary-light-7: #524428;
  --color-primary-alpha-10: #a98b531a;
  --color-primary-alpha-20: #a98b5333;
  --color-primary-alpha-30: #a98b534c;
  --color-primary-alpha-40: #a98b5366;
  --color-primary-alpha-50: #a98b5380;
  --color-primary-alpha-60: #a98b5399;
  --color-primary-alpha-70: #a98b53b2;
  --color-primary-alpha-80: #a98b53cc;
  --color-primary-alpha-90: #a98b53e6;

  /* ── secondary ramp: warm greys, replacing the blue-greys ── */
  --color-secondary: #221d2e;
  --color-secondary-bg: #221d2e;
  --color-secondary-nav-bg: #15121c;
  --color-secondary-hover: #2c2638;
  --color-secondary-active: #221d2e;
  --color-secondary-dark-1: #403a4a;
  --color-secondary-dark-2: #534e5b;
  --color-secondary-dark-3: #67626d;
  --color-secondary-dark-4: #7a767e;
  --color-secondary-dark-5: #8e8a90;
  --color-secondary-dark-6: #a29da2;
  --color-secondary-dark-7: #b5b1b3;
  --color-secondary-dark-8: #c9c5c5;
  --color-secondary-dark-9: #dcd9d6;
  --color-secondary-dark-10: #f0ede8;
  --color-secondary-dark-11: #f0ede8;
  --color-secondary-dark-12: #f0ede8;
  --color-secondary-dark-13: #f0ede8;
  --color-secondary-light-1: #221d2e;
  --color-secondary-light-2: #1f1a2a;
  --color-secondary-light-3: #1b1724;
  --color-secondary-light-4: #15121c;
  --color-secondary-alpha-10: #2c26381a;
  --color-secondary-alpha-20: #2c263833;
  --color-secondary-alpha-30: #2c26384c;
  --color-secondary-alpha-40: #2c263866;
  --color-secondary-alpha-50: #2c263880;
  --color-secondary-alpha-60: #2c263899;
  --color-secondary-alpha-70: #2c2638b2;
  --color-secondary-alpha-80: #2c2638cc;
  --color-secondary-alpha-90: #2c2638e6;

  /* ── inputs + buttons ─────────────────────────────────── */
  --color-input-background: #221d2e;
  --color-input-border: #2c2638;
  --color-input-border-hover: #5d5864;
  --color-input-text: #f0ede8;
  --color-input-toggle-background: #2c2638;
  --color-button: #2c2638;
  --color-expand-button: #3c3646;
  --color-light: #00000030;
  --color-light-border: #f0ede822;

  /* ── diff + code: re-derived onto #15121C, not forgejo's #171e26 ── */
  --color-diff-added-row-bg: #232e2c;
  --color-diff-added-row-border: #385543;
  --color-diff-added-word-bg: #385543;
  --color-diff-removed-row-bg: #311f28;
  --color-diff-removed-row-border: #5a313a;
  --color-diff-removed-word-bg: #5a313a;
  --color-diff-moved-row-bg: #342c28;
  --color-diff-moved-row-border: #5f4f3a;
  --color-diff-inactive: #2c2638;
  --color-code-bg: #1b1724;
  --color-markup-code-block: #1b1724;
  --color-markup-code-inline: #120f18;
  --color-markup-table-row: #f0ede808;
  --color-editor-line-highlight: #221d2e;
  --color-console-bg: #110f17;
  --color-console-fg: #f0ede8;
  --color-console-fg-subtle: #8b9ab0;
  --color-console-border: #2c2638;
  --color-console-hover-bg: #f0ede812;
  --color-console-active-bg: #443e4d;
  --color-console-menu-bg: #221d2e;
  --color-console-menu-border: #2c2638;

  /* ── semantic states, toned onto the warm ground ───────── */
  --color-success-bg: #25322e;
  --color-success-border: #3c5d48;
  --color-success-text: #c4edcd;
  --color-warning-bg: #382f2a;
  --color-warning-border: #67553d;
  --color-warning-text: #ead5ad;
  --color-error-bg: #3a222c;
  --color-error-bg-hover: #4a2933;
  --color-error-bg-active: #522d37;
  --color-error-border: #663640;
  --color-error-text: #f3c7cb;
  --color-info-bg: #2d2d3a;
  --color-info-border: #474b5a;
  --color-info-text: #c5ccd8;
  --color-highlight-bg: #d9b26a33;
  --color-highlight-fg: #6c5935;
  --color-small-accent: #876e42;

  /* ── hue tokens Forgejo's own components consume ─────────── */
  /* These are NOT decorative. index.css uses --color-green/red/yellow/
     orange on .ui.green.label, .ui.red.label, .positive, .negative and
     .delete-button — status badges, the merge button, destructive
     controls. Omitting them left every one of those unstyled, because
     Forgejo loads only the selected theme's file and an undefined
     custom property resolves to nothing (autonomous-stack#329). */
  --color-green: #7bd88f;
  --color-green-light: #98e1a8;
  --color-green-dark-1: #6abb7c;
  --color-green-dark-2: #5a9e68;
  --color-red: #e06c75;
  --color-red-light: #e78c93;
  --color-red-dark-1: #e48188;
  --color-red-dark-2: #e9959c;
  --color-yellow: #e5c07b;
  --color-yellow-light: #ebce98;
  --color-yellow-dark-1: #c6a66a;
  --color-yellow-dark-2: #a78c5a;
  --color-orange: #e09b5f;
  --color-orange-light: #e7b182;
  --color-orange-dark-1: #cf8f58;
  --color-orange-dark-2: #be8451;
  --color-blue: #7aa2d6;
  --color-blue-light: #97b6df;
  --color-blue-dark-1: #8dafdc;
  --color-blue-dark-2: #9fbce1;
  --color-purple: #c39ae0;
  --color-purple-light: #d0b0e7;
  --color-purple-dark-1: #b48ecf;
  --color-purple-dark-2: #a683be;
  --color-teal: #6fc5c5;
  --color-teal-light: #8fd2d2;
  --color-teal-dark-1: #63b0b0;
  --color-teal-dark-2: #589c9c;
  --color-brown: #b08a6a;
  --color-brown-light: #c1a48b;
  --color-brown-dark-1: #bb9a7f;
  --color-brown-dark-2: #c6ab94;
  --color-grey: #8b8792;
  --color-grey-light: #aba9b1;
  --color-gold: #d9b26a;
  --color-black: #000000;
  --color-white: #ffffff;

  /* badges: light text on a tinted ground, both derived from the hue */
  --color-green-badge: #b0e8bc;
  --color-green-badge-bg: #293a33;
  --color-green-badge-hover-bg: #344d3e;
  --color-red-badge: #eca7ac;
  --color-red-badge-bg: #3e242e;
  --color-red-badge-hover-bg: #522d37;
  --color-yellow-badge: #efd9b0;
  --color-yellow-badge-bg: #3f352f;
  --color-yellow-badge-hover-bg: #534638;
  --color-orange-badge: #ecc39f;
  --color-orange-badge-bg: #3e2d29;
  --color-orange-badge-hover-bg: #523b30;

  /* thin: FOREGROUND aliases of the hue (index.css uses them only as color) */
  --color-thin-green: #7bd88f;
  --color-thin-red: #e06c75;
  --color-thin-orange: #e09b5f;
  --color-thin-purple: #c39ae0;
  --color-thin-red-highlight: #eeaeb3;
  --color-danger-bg: #3a222c;
  --color-violet-dark-1: #a884c1;

  /* presence indicators: green live, gold idle, muted offline */
  --color-indicator-active: #7bd88f;
  --color-indicator-active-20: #7bd88f33;
  --color-indicator-idle: #d9b26a;
  --color-indicator-idle-20: #d9b26a33;
  --color-indicator-offline: #8b9ab0;
  --color-indicator-offline-20: #8b9ab033;

  /* labels, reactions, tooltips, selection — panel-family surfaces */
  --color-label-bg: #373241;
  --color-label-bg-alt: #433e4c;
  --color-label-hover-bg: #4f4b57;
  --color-label-text: #f0ede8;
  --color-reaction-bg: #322e3d;
  --color-reaction-hover-bg: #4a3e3b;
  --color-reaction-active-bg: #605042;
  --color-tooltip-bg: #dedbd8;
  --color-tooltip-text: #15121c;
  --color-selection-bg: #d9b26a;
  --color-selection-fg: #000000;
  --color-overlay-backdrop: #15121ccc;
  --color-project-column-bg: #1d1927;
  --color-light-mimic-enabled: rgba(0, 0, 0, calc(48 / 255 * 222 / 255 / var(--opacity-disabled)));

  /* ANSI: console output. All sixteen are live — without them a CI job
     log loses its colour, which is exactly where a red failure line is
     read. Toned to sit on --color-console-bg rather than pure sRGB. */
  --color-ansi-black: #15121c;
  --color-ansi-red: #e06c75;
  --color-ansi-green: #7bd88f;
  --color-ansi-yellow: #e5c07b;
  --color-ansi-blue: #7aa2d6;
  --color-ansi-magenta: #c39ae0;
  --color-ansi-cyan: #6fc5c5;
  --color-ansi-white: #c9c3d0;
  --color-ansi-bright-black: #5b5960;
  --color-ansi-bright-red: #e9989e;
  --color-ansi-bright-green: #a3e4b1;
  --color-ansi-bright-yellow: #edd3a3;
  --color-ansi-bright-blue: #a2bee2;
  --color-ansi-bright-magenta: #d5b8e9;
  --color-ansi-bright-cyan: #9ad6d6;
  --color-ansi-bright-white: #d9d5de;
}

/* Filled status surfaces. Forgejo puts --color-white over these hues; on this
   theme that reads as low as 1.73:1, so the foreground is re-picked per
   surface by measured contrast. Selectors are index.css's own, which ties on
   specificity and wins on load order. Generated; do not hand-edit. */
.ui.red.labels .label,.ui.ui.ui.red.label,.ui.red.button,.ui.red.buttons .button { color: #000000 !important; }
.ui.red.button:hover,.ui.red.buttons .button:hover,.ui.red.button:focus,.ui.red.buttons .button:focus { color: #000000 !important; }
.ui.red.button:active,.ui.red.buttons .button:active { color: #000000 !important; }
.ui.orange.labels .label,.ui.ui.ui.orange.label,.ui.orange.button,.ui.orange.buttons .button,.ui.orange.button:focus,.ui.orange.buttons .button:focus { color: #000000 !important; }
.ui.orange.button:hover,.ui.orange.buttons .button:hover { color: #000000 !important; }
.ui.orange.button:active,.ui.orange.buttons .button:active { color: #000000 !important; }
.ui.yellow.labels .label,.ui.ui.ui.yellow.label,.ui.yellow.button,.ui.yellow.buttons .button,.ui.yellow.button:focus,.ui.yellow.buttons .button:focus { color: #000000 !important; }
.ui.yellow.button:hover,.ui.yellow.buttons .button:hover { color: #000000 !important; }
.ui.yellow.button:active,.ui.yellow.buttons .button:active { color: #000000 !important; }
.ui.green.labels .label,.ui.ui.ui.green.label,.ui.green.button,.ui.green.buttons .button,.ui.green.button:focus,.ui.green.buttons .button:focus { color: #000000 !important; }
.ui.green.button:hover,.ui.green.buttons .button:hover { color: #000000 !important; }
.ui.green.button:active,.ui.green.buttons .button:active { color: #000000 !important; }
.ui.teal.labels .label,.ui.ui.ui.teal.label,.ui.teal.button,.ui.teal.buttons .button,.ui.teal.button:focus,.ui.teal.buttons .button:focus { color: #000000 !important; }
.ui.teal.button:hover,.ui.teal.buttons .button:hover { color: #000000 !important; }
.ui.teal.button:active,.ui.teal.buttons .button:active { color: #000000 !important; }
.ui.purple.labels .label,.ui.ui.ui.purple.label,.ui.purple.button,.ui.purple.buttons .button,.ui.purple.button:focus,.ui.purple.buttons .button:focus { color: #000000 !important; }
.ui.purple.button:hover,.ui.purple.buttons .button:hover { color: #000000 !important; }
.ui.purple.button:active,.ui.purple.buttons .button:active { color: #000000 !important; }
.ui.brown.labels .label,.ui.ui.ui.brown.label,.ui.brown.button,.ui.brown.buttons .button,.ui.brown.button:focus,.ui.brown.buttons .button:focus { color: #000000 !important; }
.ui.brown.button:hover,.ui.brown.buttons .button:hover { color: #000000 !important; }
.ui.brown.button:active,.ui.brown.buttons .button:active { color: #000000 !important; }
.ui.negative.buttons .button,.ui.negative.button,.ui.negative.buttons .button:focus,.ui.negative.button:focus { color: #000000 !important; }
.ui.negative.buttons .button:hover,.ui.negative.button:hover { color: #000000 !important; }
.ui.negative.buttons .button:active,.ui.negative.button:active { color: #000000 !important; }
.ui.positive.buttons .button,.ui.positive.button,.ui.positive.buttons .button:focus,.ui.positive.button:focus { color: #000000 !important; }
.ui.positive.buttons .button:hover,.ui.positive.button:hover { color: #000000 !important; }
.ui.positive.buttons .button:active,.ui.positive.button:active { color: #000000 !important; }
.ui.ui.ui.red.label { color: #000000 !important; }
a.ui.ui.ui.red.label:hover { color: #000000 !important; }
.ui.ui.ui.orange.label { color: #000000 !important; }
a.ui.ui.ui.orange.label:hover { color: #000000 !important; }
.ui.ui.ui.yellow.label { color: #000000 !important; }
a.ui.ui.ui.yellow.label:hover { color: #000000 !important; }
.ui.ui.ui.green.label { color: #000000 !important; }
a.ui.ui.ui.green.label:hover { color: #000000 !important; }
.ui.ui.ui.purple.label { color: #000000 !important; }
a.ui.ui.ui.purple.label:hover { color: #000000 !important; }
.runner-container .task-status-success { color: #000000 !important; }
.runner-container .task-status-failure { color: #000000 !important; }
.runner-container .task-status-running { color: #000000 !important; }
.runner-container .task-status-cancelled,.runner-container .task-status-blocked { color: #000000 !important; }
.tw-bg-green { color: #000000 !important; }
.tw-bg-purple { color: #000000 !important; }
.tw-bg-red { color: #000000 !important; }
