/* סקרנים — טוקנים של מערכת העיצוב (מצב בהיר בלבד) */
@font-face{font-family:Heebo;font-weight:400;font-display:swap;src:url(/study/vendor/fonts/heebo-hebrew-400-normal.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Heebo;font-weight:500;font-display:swap;src:url(/study/vendor/fonts/heebo-hebrew-500-normal.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Heebo;font-weight:700;font-display:swap;src:url(/study/vendor/fonts/heebo-hebrew-700-normal.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Heebo;font-weight:800;font-display:swap;src:url(/study/vendor/fonts/heebo-hebrew-800-normal.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Heebo;font-weight:400;font-display:swap;src:url(/study/vendor/fonts/heebo-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+2190-21FF,U+2212,U+2215}
@font-face{font-family:Heebo;font-weight:500;font-display:swap;src:url(/study/vendor/fonts/heebo-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+2190-21FF,U+2212,U+2215}
@font-face{font-family:Heebo;font-weight:700;font-display:swap;src:url(/study/vendor/fonts/heebo-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+2190-21FF,U+2212,U+2215}
@font-face{font-family:Heebo;font-weight:800;font-display:swap;src:url(/study/vendor/fonts/heebo-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+2190-21FF,U+2212,U+2215}
@font-face{font-family:"Frank Ruhl Libre";font-weight:500;font-display:swap;src:url(/study/vendor/fonts/frank-ruhl-libre-hebrew-500-normal.woff2) format("woff2")}
@font-face{font-family:"Frank Ruhl Libre";font-weight:700;font-display:swap;src:url(/study/vendor/fonts/frank-ruhl-libre-hebrew-700-normal.woff2) format("woff2")}

:root{
  /* צבע */
  --bg:#FAF8F4; --surface:#FFFFFF; --surface-2:#F4F1EA; --line:#E7E2D9; --line-strong:#CFC8BA;
  --ink:#1C2333; --ink-2:#465063; --muted:#606B7F; --field-border:#8F8879;
  --primary:#23395B; --primary-hover:#1A2C47; --primary-soft:#E9EEF6; --on-primary:#FFFFFF;
  --accent:#8A5E0C; --star:#E0A526; --star-soft:#FBF1D9;
  --ok:#256B4D; --ok-soft:#E4F3EC; --warn:#9A5B06; --warn-soft:#FCF0DC; --danger:#B42318; --danger-soft:#FBE9E7; --info:#245F9E; --info-soft:#E6F0FA;
  /* מפת שליטה */
  --m-none:#E6E3DC; --m-progress:#F2C55C; --m-mastered:#3E9B73; --m-review:#DD7F5C;
  /* טיפוגרפיה */
  --font:Heebo,"Segoe UI",Arial,sans-serif; --font-display:"Frank Ruhl Libre",Heebo,Georgia,serif; --font-math:KaTeX_Main,"Cambria Math","Times New Roman",serif;
  --fs-xs:.8125rem; --fs-sm:.9375rem; --fs-md:1rem; --fs-lg:1.1875rem; --fs-xl:1.5rem; --fs-2xl:2rem; --fs-3xl:2.75rem;
  --lh:1.55; --lh-tight:1.2;
  /* ריווח */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:72px;
  /* רדיוסים וצל */
  --r-sm:8px; --r-md:12px; --r-lg:18px; --r-pill:999px;
  --shadow-1:0 1px 2px rgba(28,35,51,.06),0 1px 1px rgba(28,35,51,.04); --shadow-2:0 8px 24px rgba(28,35,51,.08),0 2px 6px rgba(28,35,51,.05);
  --focus:0 0 0 3px #fff,0 0 0 6px #245F9E;
  --tap:44px; --maxw:1080px; --ease:cubic-bezier(.2,.7,.2,1);
}
/* מסלול הצעירים (ב׳–ו׳): צבעוני ומשחקי יותר. מסלול ז׳–י"ב משתמש בברירת המחדל הנקייה */
[data-theme="young"]{
  --primary:#2B5FC2; --primary-hover:#234FA3; --primary-soft:#E6EEFC; --bg:#FBF7EE; --surface-2:#FFF3D6;
  --r-sm:12px; --r-md:18px; --r-lg:26px; --fs-md:1.0625rem; --fs-lg:1.3125rem;
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
