/* ==========================================================================
   OneKey — design tokens
   Единственный источник цветов, шрифтов, размеров и движения.
   Правила: docs/BRAND.md. Сырые HEX в компонентах запрещены.
   ========================================================================== */

/* ---------- Rubik, self-hosted (иврит + латиница + кириллица) ---------- */
@font-face{font-family:"Rubik";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/rubik-hebrew-400-normal.woff2") format("woff2");
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Rubik";font-style:normal;font-weight:500;font-display:swap;
  src:url("../fonts/rubik-hebrew-500-normal.woff2") format("woff2");
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Rubik";font-style:normal;font-weight:600;font-display:swap;
  src:url("../fonts/rubik-hebrew-600-normal.woff2") format("woff2");
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}

@font-face{font-family:"Rubik";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/rubik-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:"Rubik";font-style:normal;font-weight:500;font-display:swap;
  src:url("../fonts/rubik-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:"Rubik";font-style:normal;font-weight:600;font-display:swap;
  src:url("../fonts/rubik-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}

@font-face{font-family:"Rubik";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/rubik-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:"Rubik";font-style:normal;font-weight:500;font-display:swap;
  src:url("../fonts/rubik-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:"Rubik";font-style:normal;font-weight:600;font-display:swap;
  src:url("../fonts/rubik-cyrillic-600-normal.woff2") format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

:root { --ok-font: Rubik, system-ui, sans-serif; }
:root,[data-theme="light"]{--lime:#bff670;--green:#124944;--black:#000000;--white:#ffffff;--lime-100:#e5fbc6;--green-100:#e8eeed;--green-900:#0b302c;--gray-600:#4f5b59;--green-200:#c5d4d2;--gray-200:#d6dddc;--green-700:#2f625d;--surface:var(--white);--surface-alt:var(--green-100);--surface-accent:var(--lime);--ink:var(--black);--ink-muted:var(--gray-600);--on-accent:var(--black);--plate-ink:var(--black);--plate-ink-text:var(--white);--line:var(--gray-200);--focus:var(--green);}
[data-theme="dark"]{--surface:var(--green);--surface-alt:var(--green-900);--surface-accent:var(--lime);--ink:var(--white);--ink-muted:var(--green-200);--on-accent:var(--black);--plate-ink:var(--white);--plate-ink-text:var(--black);--line:var(--green-700);--focus:var(--lime);}
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;--space-16:64px;--space-24:96px;--radius-0:0px;--radius-pill:9999px;--plate-height:1.43em;--plate-padding:0.38em;--module-circle:1;--module-pill:1.78;--module-block:1.62;--font-display:var(--ok-font);--font-text:var(--ok-font);--font-hebrew:var(--ok-font);}
