/* Токены дизайна. Взяты один в один из docs/prototype/brain2.html и logon.html. Не менять без решения владельца. */
:root {
  /* панель */
  --bg: #0a0c0a;
  --panel: #0e110e;
  --line: #1b201b;
  --grid: rgba(130, 150, 130, 0.055);
  --fg: #d9ddd7;
  --dim: #7b8179;
  --faint: #4b514a;
  /* цвета смысла: агент, инструмент, человек, нейтральный, ядро */
  --agent: #62d08c;
  --job: #6fd0c4;
  --tool: #5aaad8;
  --human: #e3a553;
  --neutral: #a8aea6;
  --core: #c2432f;
  --warn: #e3a553;
  --bad: #e5604d;
  /* шрифты */
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* шкала: страница, раздел, текст, подпись, крупная цифра книги */
  --text-page: 19px;
  --text-section: 14px;
  --text-body: 13px;
  --text-caption: 12px;
  --text-kpi: 28px;
  /* поверхности и линии: свёрнутые ступени вместо литералов */
  --surface-0: #0b0e0b;
  --surface-1: #151a15;
  --surface-2: #232923;
  --surface-3: #2a312a;
  --line-1: #1b201b;
  --line-2: #2b322b;
  color-scheme: dark;
}

/* Локальные файлы, те же семейства, что в прототипе. Лицензия OFL: рядом в fonts/. */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/IBMPlexSans-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/IBMPlexSans-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/IBMPlexSans-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-Bold.woff2') format('woff2');
}

/* экран входа: холодная палитра HUD */
.theme-logon {
  --bg: #05080b;
  --fg: #dbe6ee;
  --dim: #6f8594;
  --faint: #3a4b58;
  --line: #16222b;
  --hud: #5aaad8;
  --ok: #62d08c;
  --bad: #e5604d;
  --glass: rgba(8, 14, 19, 0.72);
  --track: #16303f;
}
