/* prism azure — the prism structure with the accent every interface reaches for
   first, and which this family did not have: a plain blue. indigo is a violet at
   heart, lagoon and reef are türkis; between them there was no ordinary azure.

   The accent is darker than it looks like it should be, and the page is why. A
   mid azure (#0a6ebd) measures 5.3:1 on a white card but 4.55 on the grey page —
   five hundredths above AA, on the surface where the rail's own links sit. That
   is a margin, not a pass. #0a63ac clears both with room: 6.2 on a card, 5.3 on
   the page.

   Worth knowing before choosing it: the type spectrum's `--t-atomic` is a blue
   too. It survives at 101 RGB apart from the accent because they sit at different
   lightnesses, but this is the one palette where an atomic dot and an accented
   control are near neighbours rather than opposites.
   THE LAW: LIGHT FLOATS. */
:root[data-theme="prism-azure"]{
  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:#0a63ac;           /* see the header: 6.2:1 card / 5.3:1 page */
  --accent-hi:#064a83;
  --accent-lo:#5f9ad4;
  --on-accent:#ffffff;

  --red:#c93a2b;
  --red-ink:#b33322;
  --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:10,99,172;
  --deep-rgb:214,218,232;
  --panel-rgb:226,229,241;
  --panel2-rgb:234,236,245;
  --red-rgb:201,58,43;
  --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:#dfe9f6; --hm2:#a8c8e8; --hm3:#4b8ac4; --hm4:#0a4d85;
  --s-ignored:#6b7280;
  /* 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 reaching the top of the viewport collapses — the corner fade shows
     for the instant before layout and is then effectively gone. Fixed layers are
     sized to the viewport instead. Same idea prism lime shipped; the rest of the
     family never got it.
     Weighted to the upper RIGHT: the light arrives in the corner the utility
     cluster sits in and fades out across the page, so the top of every screen sits
     INSIDE a colour rather than under the edge of one. */
  --lamp:none;   /* painted on the fixed layer instead — see --lamp-fixed */
  /* Alphas are LOWER than the rest of the light family's, and the hue is why: a
     deep azure darkens the page far more per unit of alpha than lime or gold do.
     At the family's .34/.24 the corner measured 3.02:1 for --ink-dimmer against
     3.63 for prism lime — outside the band every other palette sits in. These land
     it back inside it. */
  --lamp-fixed:
    radial-gradient(105vw 72vh at 118% -14%,rgba(10,99,172,.17),transparent 64%),
    radial-gradient(112vw 76vh at 88% -18%,rgba(70,150,215,.16),transparent 66%),
    radial-gradient(95vw 66vh at 58% -22%,rgba(14,140,147,.10),transparent 62%),
    radial-gradient(105vw 72vh at 22% -24%,rgba(122,75,208,.06),transparent 60%);
  /* …and the half that moves: two big soft blooms, noticed after a minute rather
     than watched. A separate layer because it animates TRANSFORM only. */
  --lamp-drift:
    radial-gradient(92vw 64vh at 92% 0%,rgba(10,99,172,.11),transparent 62%),
    radial-gradient(88vw 60vh at 62% 6%,rgba(14,140,147,.07),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(10,99,172,.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,#0a63ac 0%,#5f9ad4 46%,#a8c8e8 100%);

  --attn-ink:#064a83; --attn-rgb:10,99,172; --attn-bed:.10; --attn-bd:.35;
}

:root[data-theme="prism-azure"]{
  --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);
}
