/* Design tokens shared by every program in the suite (Option D "Chambers").
   A program may override any of these in its own stylesheet, loaded after this one.

   FONTS: no web fonts are loaded today, so the stacks below fall back to fonts already on the device.
   To self-host a font (e.g. Source Serif 4), put the .woff2 file in static/fonts/ and add ONE block here:

   @font-face {
     font-family: "Source Serif 4";
     src: <the font file path, written as a CSS URL starting ../fonts/> format("woff2");
     font-weight: 200 900; font-style: normal; font-display: swap;
   }

   then put "Source Serif 4" first in --font-serif. Nothing else needs to change. */
:root {
  --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg: #f8f6f1;        /* page */
  --panel: #fcfbf8;     /* slightly lighter panels */
  --ink: #1e1c19;
  --muted: #6b655b;     /* 5.3:1 on --bg (AA) */
  --hair: #d9d3c5;      /* hairline dividers */
  --oxblood: #7a1f2b;   /* ONLY primary actions, overruled/flagged items and alerts */
  --oxblood-ink: #ffffff;
  --amber-bg: #f4ead0;  /* "For review" pill */
  --amber-line: #c9a24d;
  --amber-ink: #6b4e12;
  --focus: #1f5fbf;

  --text-size: 1.125rem;   /* 18px reading text */
  --small-size: 1rem;      /* never below 16px */
  --tap: 44px;             /* minimum tap target */
  --page-width: 75rem;
}
