/* myaf ui: the work-tool look of the admin panel and the studio (not the site's): neutral greys, one accent, Inter,
   small radii, thin borders. One source: myaf-cabinet/static/ui; the studio gets a copy from push.sh.
   html[data-theme=dark] is set by theme.js; the accent is graphite, colour is kept for statuses and charts */
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(/static/fonts/inter-cyrillic-wght-normal.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(/static/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{color-scheme:light;
  --text:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--display:var(--text);
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  /* surfaces: the page, cards, fills inside cards, pressed */
  --bg:#F7F7F8;--surface:#FFFFFF;--canvas:#F2F2F4;--press:#E7E7EA;--stage:#FFFFFF;--side:#FBFBFC;
  --fg:#18181B;--fg-2:#3F3F46;--mute:#6E6E78;--faint:#A1A1AA;
  --border:#E4E4E7;--border-strong:#D4D4D8;
  /* accent: buttons, the picked item, links, charts */
  --accent:#18181B;--accent-hover:#3F3F46;--accent-fg:#FFFFFF;--accent-soft:#EDEDF0;--accent-text:#18181B;
  /* status: only where it means something */
  --up:#15803D;--down:#B91C1C;--warn:#B45309;--info:#3F3F46;
  --tint-g:#E7F6EC;--tint-r:#FDECEC;--tint-y:#FEF4DC;--tint-i:#EDEDF0;
  --tip-bg:#18181B;--tip-fg:#FAFAFA;
  --brand:#F6CA2F;--brand-ink:#06111F;
  --chart-1:var(--accent);--chart-2:#0EA5E9;--chart-3:#10B981;--chart-4:#F59E0B;--chart-grid:#ECECEF;--chart-muted:#D4D4D8;
  /* scale */
  --fs-2xs:11px;--fs-xs:12px;--fs-s:13px;--fs:14px;--fs-m:14px;--fs-l:16px;--fs-xl:18px;--fs-2xl:24px;
  --fs-h:22px;--fs-hero:28px;
  --r-xs:4px;--r-s:6px;--r-m:8px;--r-l:10px;--r-xl:12px;--r:12px;--r-pill:8px;--r-round:999px;
  --sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-7:32px;--sp-8:48px;
  --sh-1:0 1px 2px rgba(16,16,20,.06);--sh-2:0 16px 40px -12px rgba(16,16,20,.22),0 0 0 1px var(--border);
  --ctl:36px;--gap:20px;
  /* names the older stylesheets use */
  --card:var(--surface);--paper:var(--surface);--sep:var(--border);--line:var(--border);--line-dark:var(--border-strong);
  --line-strong:var(--border-strong);--ink:var(--fg);--ink-soft:var(--mute);--white:#fff;--ok:var(--up);--bad:var(--down);
  --yellow:var(--accent);--panel-bg:var(--surface);
  --heat-1:color-mix(in srgb,var(--accent) 9%,transparent);--heat-2:color-mix(in srgb,var(--accent) 20%,transparent);
  --heat-3:color-mix(in srgb,var(--accent) 34%,transparent);--heat-4:color-mix(in srgb,var(--accent) 58%,transparent)}

html[data-theme=dark]{color-scheme:dark;
  --bg:#0C0C0E;--surface:#141417;--canvas:#1C1C20;--press:#26262B;--stage:#1C1C20;--side:#101013;
  --fg:#F4F4F5;--fg-2:#D4D4D8;--mute:#9C9CA6;--faint:#6E6E78;
  --border:#26262B;--border-strong:#34343A;
  --accent:#F4F4F5;--accent-hover:#FFFFFF;--accent-fg:#0C0C0E;--accent-soft:#26262B;--accent-text:#F4F4F5;
  --up:#4ADE80;--down:#F87171;--warn:#FBBF24;--info:#D4D4D8;
  --tint-g:rgba(74,222,128,.12);--tint-r:rgba(248,113,113,.13);--tint-y:rgba(251,191,36,.12);--tint-i:#26262B;
  --tip-bg:#26262B;--tip-fg:#F4F4F5;--chart-grid:#222227;--chart-muted:#3F3F46;
  --sh-1:0 1px 2px rgba(0,0,0,.4);--sh-2:0 16px 40px -12px rgba(0,0,0,.7),0 0 0 1px var(--border)}
