/* Студия W&T · design tokens — THE source for every studio app (ТЗ 1.2, раздел 2.2).
   Edit here only; tools/sync-tokens.sh copies this file into smm-planner/public/css/tokens.css
   (the calendar and clients live in the hub and read it directly). Apps link tokens.css first and keep
   only components in their own app.css. */

/* ---------- font: one for everything — Golos Text 400/500/600, own woff2 in /fonts (latin + cyrillic), no Google ---------- */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/golos-text-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/golos-text-latin-400-normal.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: "Golos Text"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/golos-text-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/golos-text-latin-500-normal.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: "Golos Text"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/golos-text-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/golos-text-latin-600-normal.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: #0F0F0E;         --panel: #161615;       --raised: #1C1C1A;     --sunken: #0B0B0A;
  --line: #242422;       --line-strong: #2F2F2C;
  --text: #ECEAE6;       --muted: #A3A09A;       --faint: #8A877F;
  --accent: #D4AF6A;     --accent-hi: #DFC08A;   --accent-ink: #17130B;
  --accent-soft: rgb(212 175 106 / .13);         --accent-line: rgb(212 175 106 / .42);
  --primary: #ECEAE6;    --primary-ink: #0F0F0E;
  --scrim: rgb(6 6 5 / .62);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .35);
  --shadow: 0 2px 6px rgb(0 0 0 / .28), 0 18px 48px rgb(0 0 0 / .38);
  --st-draft: #928F87;   --st-ready: #7F9BC0;    --st-scheduled: #D4AF6A;
  --st-publishing: #D9A066; --st-published: #8FB08A; --st-error: #D9826F;
  --r-sm: 8px;  --r: 12px;  --r-lg: 16px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --t: 160ms;
  --sans: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: var(--sans);  /* no serif in the studio any more: anything still pointing here gets Golos */
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; /* the drive's timecodes; the studio ships no mono file */
  --bar-h: 56px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F7F6F3;         --panel: #FFFFFF;       --raised: #FFFFFF;     --sunken: #EFEEEA;
  --line: #E6E4DF;       --line-strong: #D6D3CC;
  --text: #181715;       --muted: #5F5C56;       --faint: #6E6B64;
  --accent: #8A6A3B;     --accent-hi: #74582F;   --accent-ink: #FFFFFF;
  --accent-soft: rgb(138 106 59 / .10);          --accent-line: rgb(138 106 59 / .38);
  --primary: #181715;    --primary-ink: #FFFFFF;
  --scrim: rgb(24 23 21 / .32);
  --shadow-sm: 0 1px 2px rgb(24 23 21 / .06);
  --shadow: 0 2px 6px rgb(24 23 21 / .05), 0 16px 40px rgb(24 23 21 / .10);
  --st-draft: #65625B;   --st-ready: #35659C;    --st-scheduled: #766031;
  --st-publishing: #8C541F; --st-published: #366D3D; --st-error: #A84129;
  color-scheme: light;
}
