/* Dark mode is a token override only. No component knows about it.
   The benchmarks all ship a dark toggle in the header; this is it. */
[data-theme="dark"]{
  --surface-page:#0C0B0A;
  --surface-card:#161513;
  --surface-card-hover:#1C1B19;
  --surface-sunken:#121110;
  --surface-inset:#211F1D;
  --surface-inverse:var(--ink-025);
  --surface-accent:#2A1413;
  --surface-commentary:#1C1614;
  --surface-disclosure:#161A1E;
  --surface-image:#211F1D;
  --surface-table-head:#1A1917;
  --surface-table-zebra:#131211;

  --wash-brand:linear-gradient(168deg,#241413 0%,#141211 48%,#0C0B0A 100%); /* @kind color */

  --text-heading:#FBFBFA;
  --text-body:#DEDDD8;
  --text-muted:#A3A29B;
  --text-faint:#7A7972;
  --text-inverse:#0F0E0D;
  --text-inverse-muted:rgba(15,14,13,0.7);
  --text-link:var(--coral-300);
  --text-link-hover:var(--coral-200);
  --text-accent:var(--coral-300);
  --text-numeric:#FBFBFA;

  --border-hairline:#262421;
  --border-card:#262421;
  --border-default:#32302C;
  --border-strong:#514E48;
  --border-inverse:rgba(0,0,0,0.16);

  --evidence-strong:#5DC4AB;
  --evidence-strong-surface:#0E221E;
  --evidence-strong-border:#26514A;
  --evidence-moderate:#DCBD6C;
  --evidence-moderate-surface:#231E10;
  --evidence-moderate-border:#4B4023;
  --evidence-preliminary:#A3A29B;
  --evidence-preliminary-surface:#1A1917;
  --evidence-preliminary-border:#32302C;

  --funding-independent:#5DC4AB;
  --funding-industry:#D89C75;
  --funding-mixed:#A3A29B;
  --funding-undisclosed:var(--coral-300);

  --disclosure-text:#C5D2DC;
  --disclosure-border:#2B343E;
  --disclosure-rule:#5E6E7B;

  --commentary-text:#FBFBFA;
  --commentary-meta:#A3A29B;

  --result-positive:#5DC4AB;
  --result-null:#A3A29B;
  --result-negative:#FF9B96;

  --tool-surface:#161513;
  --tool-field:#211F1D;

  --shadow-card:0 1px 2px rgba(0,0,0,0.5);
  --shadow-card-hover:0 2px 4px rgba(0,0,0,0.5),0 8px 20px -8px rgba(0,0,0,0.6);
  --shadow-dialog:0 28px 72px -20px rgba(0,0,0,0.7);
  --glass-bg:rgba(22,21,19,0.82);
  --glass-border:rgba(255,255,255,0.1);
  --texture-halftone:radial-gradient(circle at center,#262421 1.4px,transparent 1.5px); /* @kind other */

  --collection-guides:#FF9B96;
  --collection-science:#84B6D1;
  --collection-glossary:#5DC4AB;
  --collection-stories:#D89C75;
  --collection-news:#B8B7B1;
  --collection-tools:#A98FE0;
  --collection-newsletter:#DCBD6C;
  --collection-topics:#A3A29B;
}
