/* The six shared palettes from design round 5 (one set for Aalam's private
   tools), copied unchanged from the round-5 design folder's palettes.css,
   generated and checked there (.palette-tools/build.py, validation.md).
   Recopy, don't edit: tokens.css maps these onto Akademiya's role tokens
   (text, muted, up, down, the element colours ...) and
   scripts/check-tokens.mjs checks every palette, in both modes, with that
   mapping. palette.js picks the palette (Settings, default sumi) and sets
   data-mode from the theme.

   Token contract: --bg --surface --raised (surfaces), --ink --ink-2 (text),
   --line, --line-strong (3:1 control borders), --accent --on-accent --focus,
   --good --warn --bad --info (status only), --c1 ... --c8 (the elements:
   Pyro, Hydro, Dendro, Electro, Geo, Anemo, Cryo, Physical). */
/* BEGIN generated palettes (.palette-tools/build.py; edit source.py, not this block) */
/* PALETTES: draft, sumi, phosphor, slate, still, signal, riso */
/* Recommended default: sumi (the first real palette above). */
/* sumi: Warm washi paper and sumi ink, with ai (indigo) as the one accent and a vermilion seal kept for focus rings only. */
[data-palette="sumi"][data-mode="dark"] {
  --bg:#15120f; --surface:#1c1915; --raised:#26221e; --ink:#ebe6db; --ink-2:#b7b0a5; --line:#39342f; --line-strong:#736d67;
  --accent:#9caeee; --on-accent:#15120f; --focus:#f77c56;
  --good:#a0e4b3; --warn:#fba760; --bad:#cb6c6c; --info:#7ba3d7;
  --c1:#fe7f5b; --c2:#448ed9; --c3:#a3e371; --c4:#d794ee; --c5:#ffdea9; --c6:#7fc6b7; --c7:#9ff7fb; --c8:#96918a;
  --grain:0.03;
}
[data-palette="sumi"][data-mode="light"] {
  --bg:#f7f2e8; --surface:#fdfaf3; --raised:#eee9de; --ink:#221d18; --ink-2:#5e5650; --line:#d7d0c6; --line-strong:#8a847a;
  --accent:#374991; --on-accent:#fdfaf3; --focus:#c3441f;
  --good:#006734; --warn:#a65a0e; --bad:#970912; --info:#003c72;
  --c1:#a12e00; --c2:#025fb8; --c3:#337c39; --c4:#8940a4; --c5:#906500; --c6:#1c6450; --c7:#1b7887; --c8:#4d4842;
  --grain:0.05;
}
/* phosphor: The current terminal site carried forward: near-black #07090b ground with a phosphor cyan accent, and a cool paper light mode. */
[data-palette="phosphor"][data-mode="dark"] {
  --bg:#06090a; --surface:#0d1113; --raised:#151a1d; --ink:#dfeaeb; --ink-2:#a2b1b4; --line:#263032; --line-strong:#5d686b;
  --accent:#00fdfd; --on-accent:#06090a; --focus:#e1f15d;
  --good:#69dd65; --warn:#ffd9ba; --bad:#fe3a42; --info:#5daaff;
  --c1:#da6e5f; --c2:#5a8cdc; --c3:#6cc01c; --c4:#c798ff; --c5:#fbc600; --c6:#78e8a7; --c7:#d0efff; --c8:#a9b3b6;
  --grain:0;
}
[data-palette="phosphor"][data-mode="light"] {
  --bg:#f2f7f8; --surface:#fcfefe; --raised:#e6edef; --ink:#0f1a1f; --ink-2:#4a585e; --line:#d0d9dc; --line-strong:#80888a;
  --accent:#007176; --on-accent:#fcfefe; --focus:#6b4ec7;
  --good:#00572b; --warn:#ac5a00; --bad:#b90001; --info:#003b77;
  --c1:#de1500; --c2:#0057b0; --c3:#008132; --c4:#611d94; --c5:#8e6700; --c6:#00674c; --c7:#0078a1; --c8:#5f686b;
  --grain:0;
}
/* slate: Cool blue-grey slate with a sodium-lamp amber accent: the quiet, technical middle option. */
[data-palette="slate"][data-mode="dark"] {
  --bg:#101821; --surface:#18202b; --raised:#202a36; --ink:#e5eaf0; --ink-2:#a7b2bf; --line:#323b47; --line-strong:#6a7481;
  --accent:#fead4c; --on-accent:#101821; --focus:#6cd3fa;
  --good:#9fe5b1; --warn:#ffa674; --bad:#e05f47; --info:#6ba6e1;
  --c1:#ff7c66; --c2:#4391e5; --c3:#8ff180; --c4:#d09aff; --c5:#cabc2b; --c6:#4ed0b4; --c7:#d5f5ff; --c8:#9ca1a8;
  --grain:0;
}
[data-palette="slate"][data-mode="light"] {
  --bg:#eff3f7; --surface:#fbfdfe; --raised:#e4e9f0; --ink:#192230; --ink-2:#515c6c; --line:#cfd5dd; --line-strong:#7f858c;
  --accent:#9c5300; --on-accent:#fbfdfe; --focus:#1762b6;
  --good:#117e44; --warn:#914d00; --bad:#89001d; --info:#10528b;
  --c1:#a42f34; --c2:#00437f; --c3:#226300; --c4:#6c44a4; --c5:#796f00; --c6:#007558; --c7:#007792; --c8:#50555c;
  --grain:0;
}
/* still: Low-chroma oat and sage greys with a muted mauve accent, built so nothing on screen competes with the next action. */
[data-palette="still"][data-mode="dark"] {
  --bg:#171a18; --surface:#1e221e; --raised:#262b27; --ink:#d9dad2; --ink-2:#a7a9a0; --line:#343834; --line-strong:#717572;
  --accent:#cfa5c5; --on-accent:#171a18; --focus:#8fc7e2;
  --good:#9defa3; --warn:#fdac7d; --bad:#c3746d; --info:#78a8d6;
  --c1:#ea6950; --c2:#518ee6; --c3:#80c460; --c4:#c19cff; --c5:#ffd989; --c6:#73e3ce; --c7:#d7f4ff; --c8:#acaea6;
  --grain:0.02;
}
[data-palette="still"][data-mode="light"] {
  --bg:#f3f2eb; --surface:#faf9f4; --raised:#e7e7de; --ink:#242822; --ink-2:#595c55; --line:#d2d1c9; --line-strong:#83837c;
  --accent:#7e4d74; --on-accent:#faf9f4; --focus:#1f6a96;
  --good:#036d18; --warn:#8f634d; --bad:#85000a; --info:#0c5089;
  --c1:#a32b00; --c2:#0a3b8b; --c3:#3a5f21; --c4:#754cb7; --c5:#8a6800; --c6:#247b5d; --c7:#00677f; --c8:#494b45;
  --grain:0.03;
}
/* signal: True black and white, hard rules, and a saturated magenta accent: maximum legibility for projectors, glare, and tired eyes. */
[data-palette="signal"][data-mode="dark"] {
  --bg:#000000; --surface:#0e0e0e; --raised:#1e1e1e; --ink:#ffffff; --ink-2:#d1d1d1; --line:#747474; --line-strong:#747474;
  --accent:#ff6dc7; --on-accent:#000000; --focus:#fff464;
  --good:#65da7e; --warn:#ffd6bf; --bad:#ef5240; --info:#58adff;
  --c1:#ff763d; --c2:#1a97fd; --c3:#7ee436; --c4:#a67dd4; --c5:#ffd984; --c6:#68e6c4; --c7:#d2f6ff; --c8:#b8aeb2;
  --grain:0;
}
[data-palette="signal"][data-mode="light"] {
  --bg:#f0f0f0; --surface:#ffffff; --raised:#e3e3e3; --ink:#000000; --ink-2:#353535; --line:#5b5b5b; --line-strong:#5b5b5b;
  --accent:#ae007e; --on-accent:#ffffff; --focus:#1740cc;
  --good:#00562b; --warn:#ab5400; --bad:#b60200; --info:#003a79;
  --c1:#d22500; --c2:#004c9d; --c3:#007c2f; --c4:#6f45bd; --c5:#896300; --c6:#006755; --c7:#007691; --c8:#736a6b;
  --grain:0;
}
/* riso: Risograph print: newsprint, navy ink, and a fluorescent pink accent; the dark mode is a navy night. */
[data-palette="riso"][data-mode="dark"] {
  --bg:#10152c; --surface:#171d37; --raised:#202744; --ink:#efe9d9; --ink-2:#bdb39f; --line:#343b58; --line-strong:#697291;
  --accent:#ff83ad; --on-accent:#10152c; --focus:#f7e04f;
  --good:#6df087; --warn:#ffa653; --bad:#fc3a45; --info:#62a6df;
  --c1:#f1600b; --c2:#0891ff; --c3:#68c754; --c4:#c29aff; --c5:#ffd76a; --c6:#48f2d0; --c7:#d5f5ff; --c8:#acaaa1;
  --grain:0.04;
}
[data-palette="riso"][data-mode="light"] {
  --bg:#f9f4e5; --surface:#fefaf1; --raised:#ede7d6; --ink:#15224f; --ink-2:#44547c; --line:#d0cab9; --line-strong:#898374;
  --accent:#c62468; --on-accent:#fefaf1; --focus:#007835;
  --good:#006938; --warn:#a55c00; --bad:#82001b; --info:#004e89;
  --c1:#be2b00; --c2:#005c9e; --c3:#2d7e34; --c4:#7300be; --c5:#775f00; --c6:#006c5a; --c7:#007893; --c8:#525049;
  --grain:0.06;
}
/* END generated palettes */
@media print { :root { color-scheme: light; } }
