/* Retador Partners: design tokens. Light, on white: a business tool that carries Retador's orange
   as its one accent, not the players' site. Everything the panel draws is written against these
   roles, so another theme would be one more block of values and nothing else.

   Type: the interface is set in the reader's system sans, because Poppins (the players' face,
   web/fonts) has no Cyrillic and the panel ships in Russian. Poppins stays for what is always
   Latin: the wordmark and the large figures. */
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/poppins-500.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins-600.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-style:italic;font-weight:800;font-display:swap;src:url(/fonts/poppins-800i.woff2) format('woff2')}

:root{
  color-scheme:light;

  /* Surfaces: white, with a warm off-white for what sits beside or under it. */
  --bg:#ffffff;
  --bg-subtle:#faf9f7;       /* the sidebar, table heads, wells */
  --surface-1:#ffffff;       /* cards, the chart surface (the chart palette is validated against it) */
  --surface-2:#f6f4f1;       /* hover, segmented tracks */
  --surface-3:#eeebe6;       /* pressed, selected */
  --overlay:#ffffff;         /* menus, popovers */
  --border:#ebe8e3;
  --border-strong:#d9d5ce;
  --scrim:rgba(28,22,16,.36);

  /* Ink */
  --text:#1b1815;
  --text-2:#5c564f;
  --text-3:#756e66;
  --text-disabled:#aba59d;

  /* Brand accent: the players' site orange (web/styles.css --accent). The one accent: the main
     action, selection and focus. Ink on it is the same near-black the site uses. */
  --accent:#ff7a1a;
  --accent-hover:#f56c08;
  --accent-press:#e26005;
  --on-accent:#1b0b01;
  --accent-soft:#fff3e8;
  --accent-line:#ffc296;
  --accent-text:#b84a06;     /* orange that is readable as text on white */

  /* Status: reserved meanings, always shown with an icon and a word. */
  --good:#0aac23;      --good-text:#0a7a1e;     --good-soft:#e9f7ec;
  --warn:#fbb315;      --warn-text:#8a5a00;     --warn-soft:#fff6dd;
  --critical:#dc3c3d;  --critical-text:#c8302f; --critical-soft:#fdecec;
  --neutral:#a39c94;   --neutral-soft:#f3f1ed;

  /* Charts. Categorical slots in a fixed order (validated on white, light mode). */
  --series-1:#e8590c;
  --series-2:#257de0;
  --series-3:#008f72;
  --series-4:#6a4ce2;
  --series-muted:#b9b3ab;    /* the comparison period, "other" */
  --grid:#efece7;
  --axis:#cfcac3;

  /* Type */
  --font-ui:'Segoe UI Variable Text','Segoe UI Variable',-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,'Helvetica Neue','Noto Sans',Arial,sans-serif;
  --font-figure:'Poppins',var(--font-ui);
  --font-mono:ui-monospace,'Cascadia Mono','SF Mono',Menlo,Consolas,'Roboto Mono',monospace;
  --fs-11:11px; --fs-12:12px; --fs-13:13px; --fs-14:14px; --fs-16:16px; --fs-20:20px; --fs-24:24px; --fs-28:28px; --fs-36:36px;

  /* Space (4px grid), radii, elevation, motion */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px; --s-8:32px; --s-10:40px; --s-12:48px;
  --r-sm:6px; --r-md:8px; --r-lg:12px; --r-xl:16px;
  --h-sm:28px; --h-md:34px; --h-lg:42px;
  --shadow-card:0 1px 2px rgba(28,22,16,.04);
  --shadow-ctl:0 1px 2px rgba(28,22,16,.06);
  --shadow-pop:0 0 0 1px rgba(28,22,16,.08),0 16px 36px -10px rgba(28,22,16,.22),0 4px 12px -4px rgba(28,22,16,.1);
  --ring:0 0 0 2px #fff,0 0 0 4px var(--accent);
  --ease:cubic-bezier(.2,.7,.2,1);
  --sidebar-w:244px;
  --topbar-h:56px;
}
