/* ARX Trading design tokens. The app, the chart canvas, the site and the brand guide read these values. */

/* Geist, by Vercel, under the SIL Open Font License (site/fonts/OFL.txt). One variable file, served from this project so everything works offline. */
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;

  /* surfaces: near black, the same as the site around the app */
  --bg: #050607;                  /* chart */
  --panel: #0b0c0f;               /* toolbars and panels */
  --raised: #15171c;              /* buttons */
  --hover: #1c1f25;
  --active: #272b33;
  --field: #050607;               /* input wells, code */
  --line: #191b20;                /* dividers */
  --line-2: #2b2e36;              /* control borders */

  /* text */
  --text: #e4e6eb;
  --text-2: #9aa0ab;
  --text-3: #7f8691;

  /* one accent, for selection and what the user drew; the main action of a panel is white, as on the site */
  --accent: #c6f432;
  --accent-2: #d6f96a;
  --accent-soft: rgba(198, 244, 50, .14);
  --on-accent: #050607;

  /* meaning */
  --up: #0e9f87;                  /* candles, volume */
  --down: #ef4050;
  --up-text: #2bb39b;             /* profit figures */
  --down-text: #f5606c;           /* loss figures */
  --buy: #0a8571;                 /* filled buy button, target tag */
  --buy-2: #0b8d78;
  --sell: #d83646;                /* filled sell button, stop tag */
  --sell-2: #dd4050;
  --warn: #e0a030;                /* caveats, working orders */
  --signal: #ff7a45;              /* account liquidation level */

  /* chart canvas (read by app.js) */
  --chart-grid: #0e1013;
  --chart-axis: #8f95a0;
  --chart-axis-line: #191b20;
  --chart-up-vol: rgba(14, 159, 135, .34);
  --chart-down-vol: rgba(239, 64, 80, .34);
  --chart-cross: #7f8691;
  --chart-tag: #2b2e36;
  --chart-line: #c6f432;          /* line and area charts, drawn levels */
  --chart-ai: #7db8ff;            /* what ARX AI or another agent drew on the chart */

  /* type */
  --font-ui: "Geist", "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --fs: 13px;
  --fs-small: 12px;

  /* shape and motion */
  --r: 6px;
  --r-lg: 10px;
  --shadow: 0 12px 36px rgba(0, 0, 0, .6), 0 0 0 1px var(--line-2);
  --t: 100ms;
}
