/* Основа «Virtual Privacy» — Бумага и Свеча (фаза 14, решение владельца
10.10.2026: Telegram iOS × macOS, тёплые темы, янтарь — действие).
Общие токены для кабинета и сайта; кабинетную специфику несёт app.css.

Светлая — крем-бумага и чернильный пропуск; тёмная — тёплая ночь и
бумажный пропуск (ночью документ светится). Розетки: pass-ros-light /
pass-ros-dark. */

/* cyrillic-ext */
@font-face {
  font-family: "Golos Text";
  src: url(/static/fonts/golos-400-900-cyrillic-ext.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Golos Text";
  src: url(/static/fonts/golos-400-900-cyrillic.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: "Golos Text";
  src: url(/static/fonts/golos-400-900-latin-ext.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Golos Text";
  src: url(/static/fonts/golos-400-900-latin.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-400-cyrillic-ext.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-400-cyrillic.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-400-latin-ext.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-400-latin.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-500-cyrillic-ext.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-500-cyrillic.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-500-latin-ext.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-500-latin.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-600-cyrillic-ext.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-600-cyrillic.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-600-latin-ext.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/static/fonts/plexmono-600-latin.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  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;
}

/* cyrillic-ext */
@font-face {
  font-family: "IBM Plex Sans";
  src: url(/static/fonts/plexsans-var-cyrillic-ext.woff2) format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "IBM Plex Sans";
  src: url(/static/fonts/plexsans-var-cyrillic.woff2) format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: "IBM Plex Sans";
  src: url(/static/fonts/plexsans-var-latin-ext.woff2) format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "IBM Plex Sans";
  src: url(/static/fonts/plexsans-var-latin.woff2) format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  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 {
  --display: "Golos Text", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --paper: #f2ede3;
  --surface: #fbf8f1;
  --surface2: #f6f1e7;
  --text: #26221c;
  --muted: #645c4d;
  --line: #e3dac9;
  --hair: #ebe3d3;
  --soft: #f6f1e7;
  --pill: rgba(38, 34, 28, 0.07);
  --ink-tint: rgba(38, 34, 28, 0.07);
  --primary: #26221c;
  --on-primary: #f6f1e7;
  --accent: #26221c;
  --hot: #e0940f;
  --on-hot: #241800;
  --hot-ink: #9a6a00;
  --tint: rgba(224, 148, 15, 0.12);
  --ok: #3f8f6b;
  --off: #c14b3f;
  --plus: #3f8f6b;
  --bar: rgba(242, 237, 227, 0.82);
  --pass: #26221c;
  --pass-ros: url(pass-ros-light.svg);
  --paper-ros: url(pass-ros-dark.svg);
  --pass-text: #f2ede3;
  --pass-muted: rgba(242, 237, 227, 0.74);
  --pass-line: rgba(242, 237, 227, 0.16);
  --glow-mint: rgba(63, 143, 107, 0.35);
  --glow-hot: rgba(224, 148, 15, 0.42);
  --shadow-l: 0 1px 2px rgba(38, 34, 28, 0.05), 0 12px 32px -16px rgba(38, 34, 28, 0.28);
  color-scheme: light;
}
:root[data-scheme="dark"] {
  --paper: #1d1a15;
  --surface: #282318;
  --surface2: #221d15;
  --text: #ece4d4;
  --muted: #b7ac93;
  --line: #3a332a;
  --hair: #332d22;
  --soft: #221d15;
  --pill: rgba(236, 228, 212, 0.08);
  --ink-tint: rgba(236, 228, 212, 0.08);
  --primary: #ece4d4;
  --on-primary: #221e17;
  --accent: #eda636;
  --hot: #eda636;
  --on-hot: #241800;
  --hot-ink: #eda636;
  --tint: rgba(237, 166, 54, 0.14);
  --ok: #74b98f;
  --off: #d97e6c;
  --plus: #74b98f;
  --bar: rgba(29, 26, 21, 0.82);
  /* ночь: пропуск — светлая бумага на тёмном столе */
  --pass: #efe8da;
  --pass-ros: url(pass-ros-dark.svg);
  --paper-ros: url(pass-ros-light.svg);
  --pass-text: #26221c;
  --pass-muted: rgba(38, 34, 28, 0.7);
  --pass-line: rgba(38, 34, 28, 0.16);
  --glow-mint: rgba(116, 185, 143, 0.3);
  --glow-hot: rgba(237, 166, 54, 0.35);
  --shadow-l: 0 1px 0 rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.65);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-scheme]) {
    --paper: #1d1a15;
    --surface: #282318;
    --surface2: #221d15;
    --text: #ece4d4;
    --muted: #b7ac93;
    --line: #3a332a;
    --hair: #332d22;
    --soft: #221d15;
    --pill: rgba(236, 228, 212, 0.08);
    --ink-tint: rgba(236, 228, 212, 0.08);
    --primary: #ece4d4;
    --on-primary: #221e17;
    --accent: #eda636;
    --hot: #eda636;
    --on-hot: #241800;
    --hot-ink: #eda636;
    --tint: rgba(237, 166, 54, 0.14);
    --ok: #74b98f;
    --off: #d97e6c;
    --plus: #74b98f;
    --bar: rgba(29, 26, 21, 0.82);
    --pass: #efe8da;
    --pass-ros: url(pass-ros-dark.svg);
  --paper-ros: url(pass-ros-light.svg);
    --pass-text: #26221c;
    --pass-muted: rgba(38, 34, 28, 0.7);
    --pass-line: rgba(38, 34, 28, 0.16);
      --glow-mint: rgba(116, 185, 143, 0.3);
    --glow-hot: rgba(237, 166, 54, 0.35);
    --shadow-l: 0 1px 0 rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.65);
    color-scheme: dark;
  }
}
