/* Theme: palette A «Ночной синий», tech direction re-tuned to the prop desk.
   Dark is pinned by the approved palette; print resolves to a light sheet. */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/unbounded-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/unbounded-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jbmono-cyrillic-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jbmono-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jbmono-cyrillic-500.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jbmono-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #06101A;            /* ночная биржа: the ground of every screen */
  --surface: #0E1824;       /* стол терминала: panels, inputs */
  --surface-2: #142231;     /* поле ведомости: tinted bands, hover rows */
  --ink: #EEF3F8;           /* выписка: main text */
  --muted-strong: #C6D1DE;  /* подпись к цифре */
  --muted: #A5B3C5;         /* вторичная строка ведомости */
  --line: #1F2F42;          /* сетка графика */
  --line-strong: #3A4E66;   /* линейка поля ввода */
  --accent: #6EAEFF;        /* сигнал фокуса */
  --accent-fill: #0B66D6;   /* кнопка заявки */
  --accent-on-fill: #FFFFFF;
  --accent-text: #8ABEFF;   /* ссылка */
  --accent-soft: #10284A;   /* выбранный таймфрейм */
  --ink-field: #030A12;     /* глубокая ночь: ink band */
  --on-ink: #EEF3F8;
  --on-ink-muted: #A5B3C5;
  --field-1: #0E1824;  --field-1-ink: #EEF3F8;
  --field-2: #10284A;  --field-2-ink: #EEF3F8;
  --field-3: #030A12;  --field-3-ink: #EEF3F8;
  --profit: #22C58B;        /* прибыль */
  --loss: #FF6369;          /* убыток */
  --gold: #F5B83D;          /* цель и выплата */
  --profit-soft: #0D2A26;
  --loss-soft: #2E1720;
  --gold-soft: #2A2214;
  --on-profit: #04140F;
  --on-loss: #1A0507;
  --shadow-pop: 0 18px 40px rgba(0, 0, 0, 0.45); /* тень всплывающего меню */
  --series-3: #B7A6FF;      /* линия EMA и RSI */
  --series-4: #5FD1E0;      /* линия VWAP */

  --font-display: "Unbounded", "Onest", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Onest", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --w-display: 500;
  --tr-display: -0.02em;
  --tr-h2: -0.015em;
  --lh-display: 1.08;
  --fs-display: clamp(2.05rem, 1.1rem + 2.7vw, 3.4rem);
  --fs-h2: clamp(1.6rem, 1.15rem + 1.9vw, 2.75rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --case-eyebrow: uppercase;
  --tr-eyebrow: 0.1em;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-button: 8px;
  color-scheme: dark;
}

@media print {
  :root {
    --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F2F5F8; --ink: #0B1724; --muted-strong: #233446; --muted: #40536B;
    --line: #C7D0DA; --line-strong: #8A99AA; --accent-text: #0B4FA8; --profit: #006844; --loss: #B52336; --gold: #765000;
    --ink-field: #FFFFFF; --on-ink: #0B1724; --on-ink-muted: #40536B; color-scheme: light;
  }
}

/* signature: figures and labels in mono */
.eyebrow, .label, .num, .facts strong { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0; font-weight: 500; }
