/* ============================================================
   COLORS — a two-ink photocopy palette.
   The system has exactly two themes: "newsprint" (light, default)
   and "blackened" (dark). Everything is ink-on-paper; there are no
   accent hues. Set the theme with  html[data-theme="blackened"].
   ============================================================ */

:root,
html[data-theme="newsprint"] {
  /* --- base inks --- */
  --paper:    #f4f2ea;  /* warm off-white newsprint stock */
  --paper-2:  #eceadf;  /* faintly darker panel / thumb fill */
  --ink:      #0d0d0c;  /* near-black printing ink */
  --line:     #0d0d0c;  /* hairline & heavy rules == ink */

  /* --- semantic aliases --- */
  --surface:        var(--paper);
  --surface-panel:  var(--paper-2);
  --text:           var(--ink);
  --text-inverse:   var(--paper);
  --border:         var(--line);

  /* stamp / badge = inverted ink block */
  --stamp-bg:   var(--ink);
  --stamp-fg:   var(--paper);
}

html[data-theme="blackened"] {
  --paper:    #0c0c0b;  /* blackened stock */
  --paper-2:  #161614;
  --ink:      #f1efe6;  /* bone-white ink */
  --line:     #f1efe6;
}
