/* slate contrast night — the same waiver as its light half, inverted. Near-black
   ground, pure white ink, and a pale sky accent that measures 10.5:1 on a card.

   Why the accent is a very LIGHT blue and not a saturated one: the dark family's
   accents (gold, periwinkle, türkis) land in the 5-8:1 band on their own panel,
   which is fine for AA and short of AAA. Lightening the accent all the way to
   #a8d4ff is the only way to buy that headroom without changing hue.

   `--ink-dimmer` stays bright for the same reason its light half stays dark: the
   secondary label is the first thing to disappear, so this palette refuses to let
   it. It does not float — see the light half.

   It DOES carry the family's corner wash, at roughly a third of the alpha the
   other dark palettes use. The light half still has none. That asymmetry is
   deliberate rather than an oversight: a wash only tints what sits directly on
   `--bg`, because every panel paints its own opaque `--panel` over it, so the text
   at risk is page-level text only — and on a near-black ground a .07 tint moves it
   by hundredths of a ratio, while on near-white paper the same wash is the
   difference between paper and a stain.

   The type spectrum and the working colours are the dark family's, untouched. On
   this darker panel they already measure 6.8:1 (finding) to 11.3 (summary), so
   there was nothing to buy by moving them — and a mark that means the same thing
   in every palette should look the same in every palette. */
:root[data-theme="slate-contrast-night"]{
  color-scheme:dark;

  --bg:#0a0b0d;
  --surface:#16181c;
  --panel:#1d2025;
  --panel-2:#2a2e35;
  --field:#0a0b0d;
  --rail:rgba(0,0,0,.55);

  --ink:#ffffff;
  --ink-dim:#e2e5ea;
  --ink-dimmer:#c3c8d0;       /* 9.7:1 on a card — a "dim" that never fades */

  --accent:#a8d4ff;
  --accent-hi:#d6ebff;
  --accent-lo:#7aa8d8;
  --on-accent:#001428;

  --red:#e8604c;
  --red-ink:#ffb3a5;          /* 9.5:1 on a card, already past AAA */
  --green:#3fd39a;
  --green-ink:#7ceec0;        /* 11.6:1 */

  --t-source:#b9cccf; --t-atomic:#7fb0ff; --t-qa:#a8dc46;
  --t-claim:#ff8a5c;  --t-summary:#ffd166; --t-pattern:#c39bff;
  --t-finding:#ff7ab8;
  --atomic-ink:#9cc3ff;
  --pattern-ink:#d3b6ff;

  --accent-rgb:168,212,255;
  --deep-rgb:0,0,0;
  --panel-rgb:29,32,37;
  --panel2-rgb:22,24,28;
  --red-rgb:232,96,76;
  --green-rgb:63,211,154;
  --claim-rgb:255,138,92;
  --atomic-rgb:127,176,255;
  --pattern-rgb:195,155,255;
  --shadow-rgb:0,0,0;
  --sheen-rgb:255,255,255;
  --ink-dimmer-rgb:195,200,208;

  --line:rgba(255,255,255,.32);
  --line-soft:rgba(255,255,255,.18);
  --rust:#e08a5c;
  --hm1:#0f2136; --hm2:#25507f; --hm3:#5f95cf; --hm4:#c2e0ff;
  --s-ignored:#8b9098;
  /* The wash, on the two FIXED layers (see cockpit.css) rather than on --lamp.
     --lamp is painted on the body, so its percentages resolve against the
     DOCUMENT: on a long page the blooms are positioned against a box several
     screens tall and the slice that reaches the top of the viewport collapses —
     the corner fade is there for the instant before layout and then effectively
     gone. Fixed layers are sized to the viewport and cannot care how tall the page
     is. Same idea prism lime shipped; the rest of the family never got it.
     Alphas here are a THIRD of the other dark palettes' — see the note at the top
     of this file for why this palette carries a wash at all. Kept tight and high:
     a colour arriving in the corner the utility cluster sits in, not a field. */
  --lamp:none;   /* painted on the fixed layer instead — see --lamp-fixed */
  --lamp-fixed:
    radial-gradient(78vw 62vh at 108% -6%,rgba(168,212,255,.07),transparent 66%),
    radial-gradient(96vw 70vh at 84% -14%,rgba(150,180,235,.04),transparent 64%),
    radial-gradient(95vw 66vh at 52% -22%,rgba(190,200,225,.02),transparent 60%);
  /* …and the half that moves: two soft blooms, meant to be noticed after a minute
     rather than watched. Its own layer because it animates TRANSFORM only. */
  --lamp-drift:
    radial-gradient(72vw 56vh at 100% 0%,rgba(168,212,255,.03),transparent 62%),
    radial-gradient(84vw 58vh at 66% 2%,rgba(150,180,235,.015),transparent 62%);
  --lift:0 0 0 1px rgba(255,255,255,.14),0 10px 28px -10px rgba(0,0,0,.85);
  --veil:rgba(6,7,9,.72);
  --dial-on:rgba(168,212,255,.24);
  --graph-bg:#07080a;
  --graph-veil:rgba(10,11,13,.80);

  --attn-ink:#ffffff; --attn-rgb:255,180,90; --attn-bed:.16; --attn-bd:.75;
}
