/* Design tokens. Every value a component uses is named here; a later change of
   typeface, colour or density is a change to this file. */
:root {
  /* Type: the system stack for the whole app. A licensed face is a later change
     to this one token. */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-1: 1rem;
  --text-2: 1.25rem;
  --text-3: 1.75rem;
  --leading: 1.5;
  --leading-tight: 1.25;

  /* Colour: ink on white, no accent. */
  --ink: #111;
  --ink-2: #555;
  --line: #d0d0d0;
  --surface: #fff;
  --surface-2: #f4f4f4;
  --frame: #ececec;

  /* work states only; always with words */
  --state-available: #111; /* a hollow ink ring, no colour */
  --state-reserved: #a15c00; /* On hold: an amber dot */
  --state-sold: #b42318; /* the gallery red dot */
  --state-unavailable: #8a8a8a; /* a grey dot, the text in --ink-2 */
  --state-held-back: #4a4a4a;
  --state-attention: #7a3e00; /* the offer tags' outline and text */

  /* Space: a 4px scale. */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;

  /* Controls and measures. */
  --control: 2.75rem; /* 44px at the default text size */
  --column: 28rem;
  --radius: 2px;
  --rule: 1px;
  --rule-strong: 2px;
  --focus: 2px;
}
