/* SINH RA BỞI scripts/sync-tokens.mjs — ĐỪNG SỬA TỆP NÀY BẰNG TAY.
   Nguồn: gemcommunity/app/globals.css @ 86c0bdc
   Chạy lại: npm run tokens     Kiểm lệch: npm run tokens -- --check

   Đây là ĐÚNG những token mà web của GemCommunity dùng (và chúng, theo chú thích
   trong nguồn, phản chiếu gemboss-shell.css). Tiện ích vẽ trên nền tối, nên
   newtab.css khai đè các màu BỀ MẶT cho [data-theme="dark"] — nhưng giữ nguyên TÊN
   token, nên thang bo góc, bóng, cỡ chữ và sắc accent là một, không phải hai. */
:root {
  --bg: #f5f6f8;
  --bg2: #ffffff;
  --card: #ffffff;
  --card2: #f3f4f6;
  --tint: rgba(192, 138, 18, .11);          /* gold wash — the one accent (was violet) */
  --line: #e5e7ea;
  --line-strong: #d6d9df;
  --txt: #1b1c1e;
  --muted: #6a6d73;
  --accent: #5661f5;               /* iris — the single brand accent (was violet) */
  --accent-ink: #3a44de;           /* deep iris — links/active on light (AA on white) */
  --accent2: #d72c0d;
  --good: #007f5f;
  --good-soft: rgba(0, 127, 95, .13);  /* light green background — positive KPI */
  --e: #d72c0d;                    /* danger / error / cancelled red (was referenced but undefined) */
  --warn: #9a6700;
  --warn-soft: rgba(154, 103, 0, .13);  /* light amber background — attention KPI */
  --gold: #5661f5;                 /* fills / borders / icons */
  --gold-bright: #3a44de;          /* deep gold — readable as text on white */
  --gold-soft: rgba(192, 138, 18, .13);
  --tg: #229ED9;                   /* Telegram brand blue — connect prompt */
  --tg-deep: #1782b3;              /* readable Telegram blue as text on white */
  --tg-soft: #eaf6fc;              /* faint blue wash / chips */
  --tg-line: #bfe4f5;              /* Telegram-tinted borders */
  --ink: #0e0e12;                  /* the premium black surface (top bar) */
  --shadow-card: 0 1px 2px rgba(31,30,29,.04), 0 2px 6px rgba(31,30,29,.06);   /* GemBoss resting */
  --glow-gold: 0 2px 10px rgba(86,97,245,.22);
  /* Display = clean system sans (Skool-like). Kept under the old --serif name so
     every existing `font-family: var(--serif)` heading flips to sans at once. */
  --serif: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  /* ── GemBoss design-system scales (mirrors gemboss-shell.css) — tracked by scripts/check-typography.mjs ── */
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 20px; --r-full: 999px;
  --sh-resting: 0 1px 2px rgba(31,30,29,.04), 0 2px 6px rgba(31,30,29,.06);
  --sh-raised: 0 4px 16px rgba(31,30,29,.10);
  --sh-overlay: 0 16px 48px rgba(31,30,29,.18);
  --fs-micro: 11px; --fs-caption: 12px; --fs-body: 14px; --fs-body-lg: 16px; --fs-h3: 16px; --fs-h2: 20px; --fs-h1: 24px; --fs-display: 30px;
  --t-fast: .12s; --t-base: .15s;
  /* Sáu sắc chủ đề của Library — dùng cho bìa thay thế khi bài không có ảnh. */
  --t-cro:#4c4fd6;   --t-cro-soft:#eceefe;
  --t-ai:#17766a;    --t-ai-soft:#e8f3f1;
  --t-tools:#7b3f6b; --t-tools-soft:#f7ecf5;
  --t-res:#9a6700;   --t-res-soft:#fbf2df;
  --t-wf:#1f5f4e;    --t-wf-soft:#eaf3ef;
  --t-jr:#8a5a2b;    --t-jr-soft:#f7f2ea;
}
