/* ENDO Protocol — visual style tokens.
 *
 * Pure white + black. Same discipline as the apex landing:
 *   - No rounded corners. Anywhere.
 *   - No UI kits. Custom CSS only.
 *   - System fonts only. No external font loading.
 *   - Tabular numbers for any number that can change.
 *   - Hard borders. Thin grid lines. High contrast.
 */

:root {
  /* Color — pure white surface, ink-black lines. */
  --c-bg:           #ffffff;
  --c-bg-elev-1:    #ffffff;
  --c-bg-elev-2:    #ffffff;
  --c-line:         #000000;
  --c-line-strong:  #000000;
  --c-fg:           #000000;
  --c-fg-dim:       #4a4a4a;
  --c-fg-mute:      #767676;
  --c-accent:       #000000;
  --c-pos:          #0a7d2c;
  --c-neg:          #b1281a;
  --c-warn:         #8a5b00;
  --c-link:         #000000;

  /* Spacing — 4px grid */
  --s-0: 0;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;

  /* Borders */
  --b-w-thin: 1px;
  --b-w-med:  2px;

  /* Typography */
  --f-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", "Roboto Mono", monospace;
  --fs-xs:  11px;
  --fs-sm:  12px;
  --fs-md:  13px;
  --fs-lg:  16px;
  --fs-xl:  20px;
  --fs-2xl: 28px;
  --lh:     1.5;

  /* Chart palette */
  --chart-grid: #ececec;
  --chart-axis: #000000;
  --chart-up:   var(--c-pos);
  --chart-down: var(--c-neg);
  --chart-line: #000000;
  --chart-vol:  #d0d0d0;
}

/* Hard discipline: nothing in the app is allowed to round its corners. */
*, *::before, *::after { border-radius: 0; }
