/* reef night — the LOW-CHROMA dark. Deliberately not a second deep-water theme:
   lagoon night is saturated bay + aurora, this is neutral charcoal with a teal
   accent and a much quieter glow. Two darks that are actually different choices
   rather than the same idea twice. THE LAW: DARK EMITS. */
:root[data-theme="reef-night"]{
  color-scheme:dark;

  --bg:#13181a;               /* charcoal, only faintly teal */
  --surface:#1b2225;
  --panel:#232c30;
  --panel-2:#2e393e;
  --field:#13181a;
  --rail:rgba(9,13,14,.5);

  --ink:#e6edee;
  --ink-dim:#a8b6b9;
  --ink-dimmer:#88989c;

  --accent:#4cc6cf;
  --accent-hi:#7fdfe6;
  --accent-lo:#2b8f98;
  --on-accent:#07272b;

  --red:#e8604c;
  --red-ink:#ffb3a5;
  --green:#3fd39a;
  --green-ink:#7ceec0;

  /* the dark spectrum: bright marks, closest pair 81 apart (mnemodo dark: 41) */
  --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:76,198,207;
  --deep-rgb:9,13,14;
  --panel-rgb:35,44,48;
  --panel2-rgb:27,34,37;
  --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:136,152,156;

  --line:rgba(76,198,207,.18);
  --line-soft:rgba(76,198,207,.10);
  --rust:#d98a62;
  --hm1:#33251a; --hm2:#6b4a2a; --hm3:#c08048; --hm4:#f0b884;
  --s-ignored:#6a7679;
  /* one restrained glow, not an aurora — this is the quiet dark */
  /* 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 sit against a box several screens tall
     and the slice that reaches the top of the SCREEN collapses to nothing —
     measured at exactly the flat page colour on a 7,244px page. Fixed layers
     are sized to the viewport and cannot care how tall the document is.
     on a dark ground a wide field turns the whole upper page into a light
     source, so it is kept tight and high.
     reef's corner is its türkis, not its orange — the opposite of lagoon, and the
     existing wash already said so (türkis at 88%, peach off at 10%). Kept.
  */
  --lamp:none;   /* painted on the fixed layer instead — see --lamp-fixed */
  --lamp-fixed:
    radial-gradient(78vw 62vh at 108% -6%,rgba(76,198,207,.17),transparent 66%),
    radial-gradient(96vw 70vh at 84% -14%,rgba(111,203,143,.08),transparent 64%),
    radial-gradient(95vw 66vh at 52% -22%,rgba(240,184,132,.05),transparent 60%),
    radial-gradient(105vw 72vh at 12% -24%,rgba(240,184,132,.025),transparent 58%);
  /* …and the half that moves: 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(76,198,207,.08),transparent 62%),
    radial-gradient(84vw 58vh at 66% 2%,rgba(240,184,132,.04),transparent 62%);
  --lift:0 8px 26px -10px rgba(0,0,0,.60);
  --veil:rgba(12,16,17,.58);
  --dial-on:rgba(76,198,207,.18);
  --graph-bg:#0f1315;
  --graph-veil:rgba(19,24,26,.72);

  /* ink, not orange: a bright orange text colour sits 29 from the amber
     --t-summary dot, which is under the 63 the family requires */
  --panel-lift:0 10px 28px -16px rgba(0,0,0,.50);
  /* see lagoon-night: an edge, not a light source (2.4-3.5:1 on the panel) */
  --card-flow:linear-gradient(90deg,#1f6e75 0%,#2a8b93 44%,#8a6535 100%);

  --attn-ink:#e6edee; --attn-rgb:250,150,60; --attn-bed:.13; --attn-bd:.70;
}
