/* Tokens of the v5 screen (from the mock-up). The terminal draws only from these; brand.js sets the brand's accent, up,
   down and background over them. The fonts are the files of vendor/fonts (no font inside a sheet). */
@font-face { font-family: "Archivo V3"; src: url("../vendor/fonts/archivo-latin-var.woff2") format("woff2"); font-weight: 400 700; font-stretch: 100% 125%; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+02C6-02DC, U+2009-206F, U+20AC, U+2122, U+2190-2193, U+2212-2265, U+25B2-25BC; }
@font-face { font-family: "Martian Mono V3"; src: url("../vendor/fonts/martian-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-stretch: 87.5%; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0, U+00B1, U+00B7, U+00D7, U+2009, U+2013-2014, U+2026, U+202F, U+2066-2069, U+20AC, U+2190-2193, U+2212, U+2248; }
/* Arabic letters (Readex Pro, OFL, the site's): fetched only where Arabic text is shown */
@font-face { font-family: "Readex Pro Arabic Var"; src: url("../vendor/fonts/readex-pro-arabic-wght.woff2") format("woff2"); font-weight: 160 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
:root {
  color-scheme: dark;

  /* the dialogs' own ground (the palette, the shortcuts sheet) */
  --page: #07080a;
  --page-2: #0d1014;
  --page-line: rgba(206, 216, 230, 0.14);
  --page-ink: #eef1f6;
  --page-ink-2: #b3bcc8;
  --page-ink-3: #8b94a2;
  --page-blue: #5b8cff;

  /* ProofPerps brand: graphite plates on a deep black ground, one electric blue */
  --bg: #08090b;
  --surface: #0e1013;
  --surface-2: #13161a;
  --surface-3: #191d23;
  --surface-4: #232830;
  --hair: rgba(206, 216, 230, 0.1);
  --hair-2: rgba(206, 216, 230, 0.17);
  --hair-3: rgba(206, 216, 230, 0.3);
  --tick: rgba(206, 216, 230, 0.45);
  --chart-bg: #000000;                              /* the chart's ground: the deepest black (founder 2026-11-21) */
  --chart-grid: rgba(206, 216, 230, 0.12);          /* a fine grid over that black: faint, still read (about +27 of light) */
  --text: #eef1f6;
  --mute: #b3bcc8;
  --dim: #8b94a2;
  --silver: #c3cad4;

  --up: #2ebd85;
  --down: #f6465d;
  --warn: #e39a26;
  --acc: #5b8cff;
  --acc-strong: #1f5bff;
  --focus: #9db9ff;
  --up-soft: rgba(46, 189, 133, 0.14);
  --up-rail: color-mix(in srgb, var(--up) 32%, transparent);       /* the gauge's gain side and loss side (a brand's up and down */
  --down-rail: color-mix(in srgb, var(--down) 32%, transparent);   /* follow): under the path, never the only signal */
  --down-soft: rgba(246, 70, 93, 0.14);
  --warn-soft: rgba(227, 154, 38, 0.13);
  --acc-soft: rgba(91, 140, 255, 0.15);
  --buy: #1a704f;
  --buy-hi: #1e7d58;
  --sell: #b63445;
  --sell-hi: #c93a4d;
  --key-ink: #ffffff;
  --key-top: #1d222a;
  --key-bottom: #14181e;
  --key-edge: rgba(0, 0, 0, 0.55);
  --key-shine: rgba(255, 255, 255, 0.08);
  --num-stretch: 87.5%;
  --ind-1: #c98500;
  --ind-2: #9085e9;
  --ind-3: #d95926;
  --ind-4: #3987e5;
  --ind-5: #d55181;
  --ind-6: #d9bd62;            /* the rest of the palette a trader picks a line's or a drawing's colour from (lot G1) */
  --ind-7: #3fb3cf;
  --ind-8: #c3cad4;
  --ind-9: #ee8866;
  --ind-10: #8fb0ff;
  --draw: #c3cad4;
  --shadow-pop: 0 18px 48px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(206, 216, 230, 0.14);
  --scrim: rgba(4, 5, 7, 0.62);

  --r-lg: 10px;
  --r: 8px;
  --r-sm: 6px;
  --bracket: 1;
  --font-ui: "Archivo V3", "Readex Pro Arabic Var", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-num: "Martian Mono V3", "Archivo V3", "Readex Pro Arabic Var", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --stretch: 108%;

  /* lot Q1: one type scale (figures in the number face, tabular; words in the letters' face) and the bands' heights */
  --fs-xs: 11px;               /* axes, keys' hints, the smallest tags */
  --fs-s: 12px;                /* labels, table heads, secondary lines */
  --fs-m: 13px;                /* body, table cells, fields */
  --fs-l: 15px;                /* the account's balance, the book's last price */
  --fs-xl: 18px;               /* the market's price */
  --bar-h: 44px;               /* the top bar */
  --bot-fold: 34px;            /* a tab row, and the bottom panel folded to it */

  --t-fast: 120ms;
  --t: 200ms;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
