/* GENERATED FILE - do not edit by hand.
   Compiled from resources/scss/themes/source.scss by `npm run css`.
   Edit that source, then rebuild and commit both. */
/* Source. The default palette since 2026-09-23, ported from the v3 mockup
   (~/shared/mockups/reimagined/v3/v3.css) that the operator picked: "This is
   the winner for fucking sure." Hearth stays registered as the second option.

   v3 has two accents with two jobs, and the contract (`_contract.scss`) now
   has a name for each:

     green  is action. Links, hovers, focus rings, the one primary button in a
            box, the live dot. That is `--sig`.
     red    is state. The nav's active underline, the selected row, the
            Follow button, the Unofficial chip, the hero's emphasis. That is
            `--state`, with `--state-fill` for the saturated brand red that
            only ever paints an underline or a square.

   Why green is `--sig` and not red: `--sig` was the only accent before this
   palette, and roughly nine in ten of the rules that read it are links,
   hovers and focus, which v3 paints green. Mapping red to `--sig` would have
   turned every link on every unported page red, and red is also this site's
   `--del`; a page of red links reads as a page of deletions. The handful of
   rules that mean "you are here" move to `--state` in the chrome and the kit
   now, and in each page sheet as that page is ported.

   Surfaces, inks and rules are v3's own values (bg, bg2, bg3 and fg to fg4,
   line and line2), all measured on v3's side at 4.5:1 or better and held
   there by PaletteContrastTest here. `--raise-2` is not a v3 token: it is one
   step lighter than bg3 in the same hue, for a card on a card.

   Tier fills are v3's `-fill` tokens and are never text. Tier text is v3's
   plain tier tokens (--use, --notice, --soon, --internal), which carry the
   floor. In dark mode v3 uses the same value for both.

   The diff, feedback, marks, areas and series groups are not in v3. They
   keep this site's meaning (a diff add is green, a delete red, a vote is not
   a diff), moved onto v3's hue family and measured on these surfaces. */
html[data-theme=source][data-mode=dark] {
  --sig:#5ccf62;
  --sig-dim:rgba(92,207,98,.32);
  --sig-ghost:rgba(92,207,98,.10);
  --bg:#0a0708;
  --bg-2:#110c0d;
  --raise:#181213;
  --raise-2:#201819;
  --ink:#ebe7e8;
  --ink-2:#b3adae;
  --ink-3:#989294;
  --ink-4:#8a8486;
  --rule:#2b2325;
  --rule-2:#443a3c;
  --add:#63c98a;
  --add-dim:rgba(99,201,138,.30);
  --add-ghost:rgba(99,201,138,.11);
  --del:#ff6b73;
  --del-dim:rgba(255,107,115,.30);
  --del-ghost:rgba(255,107,115,.11);
  --t-use:#5ccf62;
  --t-notice:#ff6067;
  --t-soon:#3f9f44;
  --t-internal:#8a8486;
  --notable:#f0b44c;
  --off:#a79cff;
  --d-agents:#7fc8ff;
  --d-perms:#ff8a7a;
  --d-settings:#d2b8ff;
  --d-tools:#8fd39a;
  --d-extend:#5fd3c4;
  --d-ui:#f4a3d1;
  --d-platform:#a9a39a;
  --d-other:#7f7568;
  /* The page's own near-black on the green fill, 10.08:1. */
  --sig-ink:#0a0708;
  /* v3's brand pair: #ff6067 is the red that reads as text (6.28:1 on
     --raise), #ff2a33 the brand red that only fills. */
  --state:#ff6067;
  --state-fill:#ff2a33;
  --state-edge:rgba(255,96,103,.5);
  --state-wash:rgba(255,42,51,.08);
  --t-use-text:#5ccf62;
  --t-notice-text:#ff6067;
  --t-soon-text:#3f9f44;
  --t-internal-text:#8a8486;
  /* The thumbs controls, the same pair Hearth uses: 9.66 / 6.59 on --bg. */
  --ok:#7ac74f;
  --ok-dim:rgba(122,199,79,.14);
  --ok-ghost:rgba(122,199,79,.10);
  --no:#ff5b5b;
  --no-dim:rgba(255,91,91,.14);
  --no-ghost:rgba(255,91,91,.10);
  --mast-bg:rgba(10,7,8,.92);
  --glow:rgba(92,207,98,.15);
  color-scheme: dark;
}

html[data-theme=source][data-mode=light] {
  --sig:#1c6e27;
  --sig-dim:rgba(28,110,39,.30);
  --sig-ghost:rgba(28,110,39,.09);
  --bg:#f6f2ec;
  --bg-2:#efe9e1;
  --raise:#e7e0d6;
  --raise-2:#ded6ca;
  --ink:#1b1415;
  --ink-2:#3f3638;
  --ink-3:#554b4d;
  --ink-4:#62585a;
  --rule:#ddd4c9;
  --rule-2:#c6bbaf;
  --add:#11713f;
  --add-dim:rgba(17,113,63,.26);
  --add-ghost:rgba(17,113,63,.09);
  --del:#b8213f;
  --del-dim:rgba(184,33,63,.24);
  --del-ghost:rgba(184,33,63,.08);
  --t-use:#3cc047;
  --t-notice:#ff4a53;
  --t-soon:#43a849;
  --t-internal:#a0979a;
  --notable:#8a5a00;
  --off:#4b3fc4;
  --d-agents:#0f6fb5;
  --d-perms:#b8321f;
  --d-settings:#5b3fb8;
  --d-tools:#1f7a3a;
  --d-extend:#0f7d70;
  --d-ui:#b03a80;
  --d-platform:#5d574f;
  --d-other:#6e6559;
  /* The paper on the dark green fill, 5.69:1. */
  --sig-ink:#f6f2ec;
  --state:#b3141d;
  --state-fill:#ff2a33;
  --state-edge:rgba(179,20,29,.45);
  --state-wash:rgba(179,20,29,.07);
  /* The light fills are bright on purpose and none of them is text-safe on
     paper, so the words use v3's darker tier tokens: 4.84 to 6.46 on the
     three surfaces. */
  --t-use-text:#1c6e27;
  --t-notice-text:#b3141d;
  --t-soon-text:#2f6233;
  --t-internal-text:#62585a;
  --ok:#2a6b1f;
  --ok-dim:rgba(42,107,31,.14);
  --ok-ghost:rgba(42,107,31,.10);
  --no:#b3261e;
  --no-dim:rgba(179,38,30,.14);
  --no-ghost:rgba(179,38,30,.10);
  --mast-bg:rgba(246,242,236,.92);
  --glow:rgba(60,192,71,.22);
  color-scheme: light;
}

/* ── the series palette ─────────────────────────────────────────────── */
/* Nine chart hues in stack order, read by cc-charts.js from the root. The
   brand red leads and the green follows, then hues far enough from both that
   a stacked chart does not read as a diff. */
html[data-theme=source][data-mode=dark] {
  --c0:#ff4a53;
  --c1:#5ccf62;
  --c2:#f0b44c;
  --c3:#4fa3d1;
  --c4:#b58ce0;
  --c5:#e0725a;
  --c6:#cfc39a;
  --c7:#79a08c;
  --c8:#8a8486;
}

html[data-theme=source][data-mode=light] {
  --c0:#b3141d;
  --c1:#1c6e27;
  --c2:#8a5a00;
  --c3:#1b5b85;
  --c4:#5f3a92;
  --c5:#b0432a;
  --c6:#6f6134;
  --c7:#356050;
  --c8:#62585a;
}

/* ── type and shape ─────────────────────────────────────────────────── */
/* One sans for everything a reader reads and one mono for everything a
   machine wrote, which is v3's whole type system: Archivo from the headline
   down to the body, Martian Mono for code, labels and the ticker. `--prose`
   and `--reading` are Archivo too, because v3 has no serif and no second
   sans. Corners are 2px, v3's everywhere. */
html[data-theme=source] {
  --display:"Archivo","Archivo Fallback",system-ui,sans-serif;
  --prose:"Archivo","Archivo Fallback",system-ui,sans-serif;
  --ui:"Archivo","Archivo Fallback",system-ui,sans-serif;
  --mono:"Martian Mono","Martian Mono Fallback",ui-monospace,Menlo,monospace;
  --reading:"Archivo","Archivo Fallback",system-ui,sans-serif;
  --display-wt:800;
  --head-wt:800;
  --display-em:normal;
  --radius:2px;
}
