/* Bullpen palette approved 27 October 2026, sampled from the owner's reference.
   Historical orange/labblue/mustard names remain aliases for existing modules. */
:root {
  --bullpen-cream:#eee5d4;
  --bullpen-green:#2c3735;
  --bullpen-slate:#6d7683;
  --bullpen-olive:#5a6053;
  --bullpen-brass:#a99372;
  --bullpen-turquoise:#6a8e85;
}
:root,
:root[data-rail="charcoal"]:not([data-theme="dark"]) {
  --canvas:var(--bullpen-cream); --panel:#e4ddcc; --paper:#fffaf0; --card:#fcf7ec; --white:#fffaf0;
  --line:#829382; --line-2:#adb29f; --line-3:#adb29f;
  --ink:#20312e; --ink-2:#35483f; --muted:#4c584e; --muted-2:#515e50;
  --action:#2f6158; --action-hover:#21483f; --action-ink:#fffaf0;
  --orange:var(--action); --orange-hover:var(--action-hover); --orange-tint:rgb(106 142 133 / .12);
  --wash:#d4e1d5; --wash-line:#4d7a6b; --tag:#ded6bd;
  --mustard:var(--bullpen-brass); --mustard-ink:#725e43; --mustard-fill:#eae1d1;
  --labblue:#526c80; --labblue-ink:#354f64; --labblue-tint:#dde5e8;
  --green:#466d61; --green-fill:#e0e9df;
  --rail:#1b3132; --rail-ink:var(--bullpen-cream);
  --rail-line:rgb(238 229 212 / .24); --rail-active:rgb(106 142 133 / .25);
  --shadow:0 18px 50px rgb(44 55 53 / .18);
  color-scheme:light;
}
/* Preserve existing saved appearance choices, within the new palette. */
:root[data-rail="charcoal"]:not([data-theme="dark"]) { --rail:var(--bullpen-olive); }
@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]),
  :root[data-rail="charcoal"]:not([data-theme="light"]) {
    --canvas:#202a28; --panel:#293432; --paper:#303d39; --card:#293432; --white:#35433e;
    --line:#718078; --line-2:#53615a; --line-3:#53615a;
    --ink:var(--bullpen-cream); --ink-2:#dddccd; --muted:#c0c2b3; --muted-2:#a9b1a8;
    --action:#9abdb1; --action-hover:#bdd4c8; --action-ink:#202a28;
    --orange:var(--action); --orange-hover:var(--action-hover); --orange-tint:rgb(106 142 133 / .18);
    --wash:#35483f; --wash-line:var(--bullpen-turquoise); --tag:#3d473e;
    --mustard:var(--bullpen-brass); --mustard-ink:#ceb993; --mustard-fill:#403d32;
    --labblue:#aab6c6; --labblue-ink:#c0cbda; --labblue-tint:#344049;
    --green:#a0c5b3; --green-fill:#34483b;
    --rail:var(--bullpen-green); --rail-ink:var(--bullpen-cream);
    --rail-line:rgb(238 229 212 / .24); --rail-active:rgb(106 142 133 / .25);
    --shadow:0 18px 50px rgb(0 0 0 / .45);
    color-scheme:dark;
  }
  :root[data-rail="charcoal"]:not([data-theme="light"]) { --rail:var(--bullpen-olive); }
}
:root[data-theme="dark"],
:root[data-rail="charcoal"][data-theme="dark"] {
  --canvas:#202a28; --panel:#293432; --paper:#303d39; --card:#293432; --white:#35433e;
  --line:#718078; --line-2:#53615a; --line-3:#53615a;
  --ink:var(--bullpen-cream); --ink-2:#dddccd; --muted:#c0c2b3; --muted-2:#a9b1a8;
  --action:#9abdb1; --action-hover:#bdd4c8; --action-ink:#202a28;
  --orange:var(--action); --orange-hover:var(--action-hover); --orange-tint:rgb(106 142 133 / .18);
  --wash:#35483f; --wash-line:var(--bullpen-turquoise); --tag:#3d473e;
  --mustard:var(--bullpen-brass); --mustard-ink:#ceb993; --mustard-fill:#403d32;
  --labblue:#aab6c6; --labblue-ink:#c0cbda; --labblue-tint:#344049;
  --green:#a0c5b3; --green-fill:#34483b;
  --rail:var(--bullpen-green); --rail-ink:var(--bullpen-cream);
  --rail-line:rgb(238 229 212 / .24); --rail-active:rgb(106 142 133 / .25);
  --shadow:0 18px 50px rgb(0 0 0 / .45);
  color-scheme:dark;
}
:root[data-rail="charcoal"][data-theme="dark"] { --rail:var(--bullpen-olive); }
.btn.primary, .btn.primary:hover, .composer .send, .desk-send:hover { color:var(--action-ink); }
a, .textlink, .doc-scene-link, .ing-review summary, .doc-revert:hover { text-decoration-color:currentColor; }
.marginal { border-bottom-color:var(--wash-line); }
.scindex .row[aria-current="true"] { outline-color:var(--wash-line); }
