/* =============================================================================
 * CmiTeLab Shared Design System Tokens & Self-Hosted Roboto Fonts
 * Canonical source: packages/ui/tokens.css
 * Sync to apps via: python packages/ui/sync_ui.py
 * ============================================================================= */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/roboto-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/roboto-latin.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 {
  --font-sans: 'Roboto', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-family: var(--font-sans);
  color-scheme: light;
  --page: #f8faff;
  --ink: #101933;
  --secondary: #5e6c88;
  --muted: #8896b0;
  --panel: #ffffff;
  --panel-2: #f3f6fd;
  --line: #dce4f3;
  --line-soft: #e8edf7;
  --blue: #345cec;
  --blue2: #567cff;
  --link: #3058d6;
  --shadow: 0 16px 58px rgba(44, 68, 122, 0.065);
  --shadow-pop: 0 22px 64px rgba(18, 35, 78, 0.16);
  --glow: rgba(80, 127, 255, 0.16);
  --green: #0e9876;
  --yellow: #ad7c2c;
  --red: #d54a5e;
  --hero: #ecf3ff;
  --card-grad: linear-gradient(135deg, #f0f5ff, #dceaff);
  --strip: linear-gradient(115deg, #d7e5ff 0%, #9bc1fa 55%, #a5acff 100%);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #090b10;
  --ink: #f4f6fb;
  --secondary: #a1abc0;
  --muted: #7c88a0;
  --panel: #11151e;
  --panel-2: #181e2b;
  --line: #303747;
  --line-soft: #252c3b;
  --blue: #87a7ff;
  --blue2: #7293ff;
  --link: #9cb7ff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --shadow-pop: 0 24px 70px rgba(0, 0, 0, 0.52);
  --glow: rgba(97, 133, 255, 0.1);
  --green: #53d0af;
  --yellow: #f0bd73;
  --red: #fa8c9f;
  --hero: #141c32;
  --card-grad: linear-gradient(145deg, #1c2943, #142035);
  --strip: linear-gradient(112deg, #161e31 0%, #222f4d 63%, #28294e 100%);
}
