/* slate contrast — the accessibility cut, not a taste. Every palette in this
   family clears AA (4.5:1) because `test_theme_files.py` makes it; this one aims
   at AAA (7:1) for body text and keeps the DIM inks dark rather than letting them
   fade, which is the opposite of what every other light palette does with
   `--ink-dimmer`. A secondary label at 11.8:1 on a card looks heavy next to
   mnemodo light's 4.1:1 — that heaviness IS the feature.

   Two things it deliberately gives up:
   * `--lamp` is `none`. Every wash lowers the contrast of everything drawn over
     it, and a palette whose whole point is contrast cannot pay for atmosphere.
   * it does not float. A drop shadow is a low-contrast edge; structure here comes
     from the hairlines below, which are drawn at .30/.55 alpha instead of the
     .10/.22 the rest of the light family uses.

   What it does NOT change is the pair of working colours. `--red` and `--green`
   are box fills and borders, not text — the test file asks AA of `--red-ink` and
   `--green-ink` and says nothing about the other two, and it is right to. So the
   fills stay at the family's values and only the INKS are pushed to AAA.
   THE LAW: LIGHT FLOATS — waived here, and the waiver is the point. */
:root[data-theme="slate-contrast"]{
  color-scheme:light;

  --bg:#f2f3f5;
  --surface:#ffffff;
  --panel:#ffffff;
  --panel-2:#e6e8ec;
  --field:#f7f8fa;
  --rail:#e9ebef;

  --ink:#000000;
  --ink-dim:#1a1d22;
  --ink-dimmer:#33383f;       /* 11.8:1 on a card — a "dim" that never fades */

  --accent:#0b3d91;           /* 9.1:1 on the page, 10.0:1 on a card */
  --accent-hi:#062a68;
  --accent-lo:#2f4f82;        /* the quiet accent is DARKER here, not paler */
  --on-accent:#ffffff;

  --red:#c93a2b;              /* the family fill, unchanged — see the header */
  --red-ink:#8f0016;          /* 8.7:1 on the page; the family's #b33322 is 5.5 */
  --green:#3ea476;
  --green-ink:#0f5f20;        /* 7.1:1 on the page; the family's #1f7b52 is 4.7 */

  /* the whole spectrum is pushed dark: 5.7:1 at the weakest (atomic) up to 9.8
     (pattern), against 3.8-5.6 for the same seven marks in indigo light. The
     floor the test file enforces is 3.2, so this is headroom, not compliance. */
  --t-source:#3f4650; --t-atomic:#1565c0; --t-qa:#00625f;
  --t-claim:#a33207;  --t-summary:#6b4a00; --t-pattern:#5b1f9e;
  --t-finding:#96005f;
  --atomic-ink:#0f4c9c;
  --pattern-ink:#4a1880;

  --accent-rgb:11,61,145;
  --deep-rgb:210,214,220;
  --panel-rgb:222,226,232;
  --panel2-rgb:232,235,240;
  --red-rgb:201,58,43;
  --green-rgb:62,164,118;
  --claim-rgb:163,50,7;
  --atomic-rgb:21,101,192;
  --pattern-rgb:91,31,158;
  --ink-dimmer-rgb:51,56,63;
  --shadow-rgb:0,0,0;
  --sheen-rgb:0,0,0;

  --line:rgba(0,0,0,.30);
  --line-soft:rgba(0,0,0,.18);
  --rust:#8f3d16;
  --hm1:#dbe3f2; --hm2:#9fb4dc; --hm3:#4a6cb0; --hm4:#0b3d91;
  --s-ignored:#4a4f57;
  --lamp:none;
  --lift:0 2px 0 rgba(0,0,0,.28),0 10px 24px -12px rgba(0,0,0,.45);
  --veil:rgba(242,243,245,.90);
  --dial-on:rgba(11,61,145,.16);
  --graph-bg:#ffffff;
  --graph-veil:rgba(255,255,255,.90);

  --attn-ink:#062a68; --attn-rgb:11,61,145; --attn-bed:.14; --attn-bd:.55;
}

:root[data-theme="slate-contrast"]{
  --bd:1px solid rgba(0,0,0,.30);
  --bd-soft:1px solid rgba(0,0,0,.18);
  --bd-firm:1px solid rgba(0,0,0,.55);
  --wash:rgba(var(--accent-rgb),.10);
}
