/* ==========================================
   Conduit theme palettes
   ==========================================
   Each palette overrides the tokens defined in tokens.css by targeting
   body[data-theme="..."]. The default (no attribute, or data-theme="amber")
   uses the base tokens unchanged.

   Semantic colors (--green / --red / --blue / --pink) stay consistent
   across themes so OK/bad/info signals remain meaningful.

   The `--amber` / `--amber-bright` / `--bg-hot` variable names are kept for
   backwards compatibility; in non-amber themes they hold the theme's
   accent color rather than literal amber.
   ========================================== */

/* -----  Cyan · terminal  --------------------------------------------- */
body[data-theme="cyan"] {
  --bg-deep:    #06090a;
  --bg-panel:   #0b0f11;
  --bg-surface: #101519;
  --bg-raised:  #161c21;
  --bg-hot:     rgba(93, 217, 224, 0.08);

  --line-dim:    rgba(154, 184, 189, 0.12);
  --line:        rgba(154, 184, 189, 0.22);
  --line-bright: rgba(154, 184, 189, 0.40);

  --fg-dim:    rgba(154, 184, 189, 0.45);
  --fg:        #9ab8bd;
  --fg-bright: #c7dee3;
  --fg-max:    #e4f1f4;

  --amber:        #5dd9e0;
  --amber-bright: #7ee7ec;
}

/* -----  Forest · phosphor  ------------------------------------------- */
body[data-theme="forest"] {
  --bg-deep:    #07090a;
  --bg-panel:   #0b0f0c;
  --bg-surface: #101510;
  --bg-raised:  #161c15;
  --bg-hot:     rgba(125, 212, 119, 0.08);

  --line-dim:    rgba(154, 182, 157, 0.12);
  --line:        rgba(154, 182, 157, 0.22);
  --line-bright: rgba(154, 182, 157, 0.40);

  --fg-dim:    rgba(154, 182, 157, 0.45);
  --fg:        #9ab69d;
  --fg-bright: #c7dbc8;
  --fg-max:    #e4f0e4;

  --amber:        #7dd477;
  --amber-bright: #9ae293;
}

/* -----  Violet · night  ---------------------------------------------- */
body[data-theme="violet"] {
  --bg-deep:    #0a0810;
  --bg-panel:   #0f0d17;
  --bg-surface: #15121f;
  --bg-raised:  #1b1828;
  --bg-hot:     rgba(180, 143, 255, 0.09);

  --line-dim:    rgba(171, 160, 204, 0.12);
  --line:        rgba(171, 160, 204, 0.22);
  --line-bright: rgba(171, 160, 204, 0.40);

  --fg-dim:    rgba(171, 160, 204, 0.45);
  --fg:        #aba0cc;
  --fg-bright: #cdc3e2;
  --fg-max:    #e7dff1;

  --amber:        #b48fff;
  --amber-bright: #c7a6ff;
}

/* -----  Magenta · neon  ---------------------------------------------- */
body[data-theme="magenta"] {
  --bg-deep:    #0c0810;
  --bg-panel:   #120c16;
  --bg-surface: #18111d;
  --bg-raised:  #1f1725;
  --bg-hot:     rgba(255, 122, 181, 0.08);

  --line-dim:    rgba(194, 169, 184, 0.12);
  --line:        rgba(194, 169, 184, 0.22);
  --line-bright: rgba(194, 169, 184, 0.40);

  --fg-dim:    rgba(194, 169, 184, 0.45);
  --fg:        #c2a9b8;
  --fg-bright: #e1c9d7;
  --fg-max:    #f2e5ee;

  --amber:        #ff7ab5;
  --amber-bright: #ff97c7;
}

/* -----  Ocean · deep  ------------------------------------------------ */
body[data-theme="ocean"] {
  --bg-deep:    #07090c;
  --bg-panel:   #0b0e12;
  --bg-surface: #101520;
  --bg-raised:  #161c28;
  --bg-hot:     rgba(107, 168, 255, 0.08);

  --line-dim:    rgba(163, 180, 201, 0.12);
  --line:        rgba(163, 180, 201, 0.22);
  --line-bright: rgba(163, 180, 201, 0.40);

  --fg-dim:    rgba(163, 180, 201, 0.45);
  --fg:        #a3b4c9;
  --fg-bright: #c7d5e4;
  --fg-max:    #e4ecf3;

  --amber:        #6ba8ff;
  --amber-bright: #8abbff;
}

/* -----  Monochrome · paper  ------------------------------------------ */
body[data-theme="monochrome"] {
  --bg-deep:    #0a0a0a;
  --bg-panel:   #0f0f0f;
  --bg-surface: #141414;
  --bg-raised:  #1a1a1a;
  --bg-hot:     rgba(228, 228, 228, 0.06);

  --line-dim:    rgba(184, 184, 184, 0.14);
  --line:        rgba(184, 184, 184, 0.25);
  --line-bright: rgba(184, 184, 184, 0.45);

  --fg-dim:    rgba(184, 184, 184, 0.50);
  --fg:        #b8b8b8;
  --fg-bright: #d8d8d8;
  --fg-max:    #f0f0f0;

  --amber:        #e4e4e4;
  --amber-bright: #ffffff;
}

/* -----  Rust · copper  -----------------------------------------------
   Warmer, dustier rust-on-brown. Pairs well with writing-heavy sessions;
   feels less arcade than Amber.
   -------------------------------------------------------------------- */
body[data-theme="rust"] {
  --bg-deep:    #0b0806;
  --bg-panel:   #100c09;
  --bg-surface: #15100b;
  --bg-raised:  #1c160f;
  --bg-hot:     rgba(214, 120, 80, 0.09);

  --line-dim:    rgba(210, 168, 142, 0.12);
  --line:        rgba(210, 168, 142, 0.22);
  --line-bright: rgba(210, 168, 142, 0.40);

  --fg-dim:    rgba(210, 168, 142, 0.50);
  --fg:        #d2a88e;
  --fg-bright: #e6c5ad;
  --fg-max:    #f2d9c3;

  --amber:        #d66850;
  --amber-bright: #e8876c;
}

/* -----  Sapphire · cobalt  -------------------------------------------
   Deep cobalt blue. Distinct from Ocean (sky-blue) and Violet (purple)
   by sitting in the indigo zone — saturated, royal, classic terminal.
   -------------------------------------------------------------------- */
body[data-theme="sapphire"] {
  --bg-deep:    #06080d;
  --bg-panel:   #0a0d14;
  --bg-surface: #10141d;
  --bg-raised:  #161c28;
  --bg-hot:     rgba(91, 125, 240, 0.09);

  --line-dim:    rgba(158, 176, 206, 0.12);
  --line:        rgba(158, 176, 206, 0.22);
  --line-bright: rgba(158, 176, 206, 0.40);

  --fg-dim:    rgba(158, 176, 206, 0.45);
  --fg:        #9eb0ce;
  --fg-bright: #c5d2e6;
  --fg-max:    #e4ecf6;

  --amber:        #5b7df0;
  --amber-bright: #7a96f5;
}

/* -----  Sage · muted writing room  -----------------------------------
   Soft sage green-gray. Less arcade than Forest's phosphor; reads as
   ambient/library rather than terminal/CRT.
   -------------------------------------------------------------------- */
body[data-theme="sage"] {
  --bg-deep:    #08090a;
  --bg-panel:   #0c0e0c;
  --bg-surface: #11140f;
  --bg-raised:  #181c14;
  --bg-hot:     rgba(163, 193, 159, 0.07);

  --line-dim:    rgba(170, 184, 164, 0.12);
  --line:        rgba(170, 184, 164, 0.22);
  --line-bright: rgba(170, 184, 164, 0.40);

  --fg-dim:    rgba(170, 184, 164, 0.45);
  --fg:        #aab8a4;
  --fg-bright: #cbd6c5;
  --fg-max:    #e6ede0;

  --amber:        #a3c19f;
  --amber-bright: #bfd4ba;
}

/* -----  Slate · overcast  --------------------------------------------
   Cool blue-gray, desaturated. Companion to Monochrome but on the cool
   side — feels like a foggy-morning terminal.
   -------------------------------------------------------------------- */
body[data-theme="slate"] {
  --bg-deep:    #08090c;
  --bg-panel:   #0c0e11;
  --bg-surface: #101319;
  --bg-raised:  #161a22;
  --bg-hot:     rgba(136, 163, 192, 0.08);

  --line-dim:    rgba(165, 177, 194, 0.12);
  --line:        rgba(165, 177, 194, 0.22);
  --line-bright: rgba(165, 177, 194, 0.40);

  --fg-dim:    rgba(165, 177, 194, 0.45);
  --fg:        #a5b1c2;
  --fg-bright: #c5cdd9;
  --fg-max:    #e2e7ee;

  --amber:        #88a3c0;
  --amber-bright: #a4bbd2;
}
