/* The Yard, design tokens. Single source of truth for color and type.
   Anything that hardcodes a hex outside this file is a bug. */
:root {
  /* ground and type */
  --bg:        #0B0C0D;
  --surface:   #131517;
  --surface-2: #191B1E;
  --ink:       #F4F4F3;
  --ink-2:     #9BA0A6;
  --ink-3:     #6B7075;

  /* One accent, used for the active tab, section titles and the primary
     action. Nothing else.
     Brightened from #2E9E8F because the same hex reads dimmer at 13px
     regular than at 20px semibold, so the nav looked like a different green
     to the date. Same token both places, the eye was reading weight and size.
     9.7:1 on the ground, and the same the other way for dark text on the
     button, so it carries at any size. */
  --accent:      #3ACBB4;
  --accent-ink:  #0B0C0D;

  /* money. costs are NEUTRAL. red is a real loss or a real deadline.
     see the voice rules: a yard full of red cost figures reads as a
     list of losses, and a cost on an unsold machine is not a loss. */
  --money-in:  #4FBF87;
  --money-out: var(--ink);
  --loss:      #E0684F;
  --urgent:    #E0684F;

  /* one divider treatment everywhere, matching the rule above the nav bar */
  --line: #2A2C2E;

  --r-sm: 6px;
  --r-md: 10px;
  --r-pill: 999px;

  --tap: 48px;               /* nothing tappable is smaller than this */
  --nav-h: 64px;
  --pad: 16px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
