/* prism red — cool grey and a deep red. The prism structure with one saturated accent; the
   ground, the type spectrum and the working colours are the family's, so the only
   thing that changes between these palettes is the colour they are named for.
   The error red MOVES here, and it has to. At the family's #c93a2b it sat 41 in
   RGB from this accent — a primary button and an error box the same colour. It
   goes brighter and cooler, so the two separate by weight as well as hue.
   THE LAW: LIGHT FLOATS. */
:root[data-theme="prism-red"]{
  color-scheme:light;

  --bg:#edeef2;
  --surface:#f7f8fc;
  --panel:#ffffff;
  --panel-2:#eef0f6;
  --field:#f1f2f7;
  --rail:#e7e9f0;

  --ink:#171a21;
  --ink-dim:#414855;
  --ink-dimmer:#666e7d;

  --accent:#a81b12;
  --accent-hi:#7d0f08;
  --accent-lo:#c9635a;
  --on-accent:#ffffff;

  --red:#e0295c;
  --red-ink:#b01040;
  --green:#3ea476;
  --green-ink:#1f7b52;

  --t-source:#6f7787; --t-atomic:#3b6fd4; --t-qa:#0e8c93;
  --t-claim:#dc5a3c;  --t-summary:#a87a0c; --t-pattern:#7a4bd0;
  --t-finding:#c3357f;
  --atomic-ink:#3c5aa8;
  --pattern-ink:#6b45a5;

  --accent-rgb:168,27,18;
  --deep-rgb:214,218,232;
  --panel-rgb:226,229,241;
  --panel2-rgb:234,236,245;
  --red-rgb:224,41,92;
  --green-rgb:62,164,118;
  --claim-rgb:220,90,60;
  --atomic-rgb:59,111,212;
  --pattern-rgb:122,75,208;
  --ink-dimmer-rgb:102,110,125;
  --shadow-rgb:92,100,130;
  --sheen-rgb:23,26,33;

  --line:rgba(23,26,33,.10);
  --line-soft:rgba(23,26,33,.06);
  --rust:#b8502c;
  --hm1:#f7dedb; --hm2:#e09a92; --hm3:#c0463a; --hm4:#7d0f08;
  --s-ignored:#6b7280;
  /* The wash, on the two FIXED layers — see cockpit.css. Never on --lamp: that is
     painted on the body and sized to the DOCUMENT, so on a long page it leaves the
     screen entirely (finding 79). */
  --lamp:none;
  --lamp-fixed:
    radial-gradient(105vw 72vh at 118% -14%,rgba(168,27,18,.28),transparent 64%),
    radial-gradient(112vw 76vh at 88% -18%,rgba(201,99,90,.20),transparent 66%),
    radial-gradient(95vw 66vh at 58% -22%,rgba(122,75,208,.12),transparent 62%),
    radial-gradient(105vw 72vh at 22% -24%,rgba(59,111,212,.07),transparent 60%);
  --lamp-drift:
    radial-gradient(92vw 64vh at 92% 0%,rgba(168,27,18,.17),transparent 62%),
    radial-gradient(88vw 60vh at 62% 6%,rgba(122,75,208,.09),transparent 62%);
  --lift:0 1px 2px rgba(92,100,130,.10),0 10px 28px -14px rgba(92,100,130,.45);
  --veil:rgba(237,238,242,.75);
  --dial-on:rgba(168,27,18,.10);
  --graph-bg:#f7f8fc;
  --graph-veil:rgba(255,255,255,.80);

  --panel-lift:0 1px 2px rgba(92,100,130,.10),0 10px 28px -14px rgba(92,100,130,.45);
  --card-flow:linear-gradient(90deg,#a81b12 0%,#c9635a 46%,#e09a92 100%);

  --attn-ink:#7d0f08; --attn-rgb:168,27,18; --attn-bed:.10; --attn-bd:.35;
}

:root[data-theme="prism-red"]{
  --bd:1px solid rgba(23,26,33,.10);
  --bd-soft:1px solid rgba(23,26,33,.06);
  --bd-firm:1px solid rgba(23,26,33,.22);
  --wash:rgba(var(--accent-rgb),.08);
}
