/* ============================================================
   THEME: Editorial (pro-design). Colours change ONLY here.
   Fonts are local (styles/fonts.css), so the site works offline (file://) and on any host.
   ============================================================ */
:root {
  --font-display: 'Gambetta', 'Literata', ui-serif, Georgia, serif;
  --font-text: 'Satoshi', 'Golos Text', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, ui-monospace, 'Cascadia Code', monospace;
  --r-1: 2px;       /* контролы: кнопки, инпуты, чипы */
  --r-2: 4px;       /* панели, карточки, диалоги */
  --r-full: 999px;
  --control-h: 44px;
  --ui-size: 1rem;   /* размер текста в контролах и таблицах */
}
:root {
  color-scheme: light;
  --bg: #F3F1EC;
  --surface: #E8E5DD;
  --raised: #FBFAF7;
  --ink: #1D2A22;
  --muted: #59615A;
  --line: #D4CFC4;
  --accent: #7A1F2B;
  --accent-ink: #FFFFFF;
  --closing: #7A1F2B;      /* closing contact block: same deep burgundy in both schemes */
  --closing-ink: #F3F1EC;
  --ok: #1E7A45;
  --warn: #9A5B00;
  --danger: #C0322B;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #161917;
  --surface: #1F2420;
  --raised: #282E2A;
  --ink: #E9E6DE;
  --muted: #A7A99F;
  --line: #353B36;
  --accent: #E58F98;
  --accent-ink: #1A0B0D;
  --closing: #7A1F2B;
  --closing-ink: #E9E6DE;
  --ok: #5CC98A;
  --warn: #E8B04B;
  --danger: #FF7A6E;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161917;
  --surface: #1F2420;
  --raised: #282E2A;
  --ink: #E9E6DE;
  --muted: #A7A99F;
  --line: #353B36;
  --accent: #E58F98;
  --accent-ink: #1A0B0D;
  --closing: #7A1F2B;
  --closing-ink: #E9E6DE;
  --ok: #5CC98A;
  --warn: #E8B04B;
  --danger: #FF7A6E;
}
