/* SINH TỰ ĐỘNG từ design/DESIGN.md — không sửa tay (npm run design:sync). Hệ thiết kế DK Trading (họ K1 Pro). */
:root {
  --tr-brand: #2B2F36;
  --tr-brand-hover: #3A3F48;
  --tr-on-brand: #F7F7F5;
  --tr-topbar: #2B2F36;
  --tr-on-topbar: #F7F7F5;
  --tr-gold: #D9A520;
  --tr-gold-hover: #C4921A;
  --tr-on-gold: #1C1F24;
  --tr-gold-text: #8A6A12;
  --tr-gold-bg: #FBF1D6;
  --tr-focus: #8A6A12;
  --tr-graphite-50: #F7F7F5;
  --tr-graphite-100: #EEEFEC;
  --tr-graphite-200: #E2E3E0;
  --tr-graphite-300: #C9CCCF;
  --tr-graphite-400: #9AA0A9;
  --tr-graphite-500: #6E747D;
  --tr-graphite-600: #4F555E;
  --tr-graphite-700: #3A3F48;
  --tr-graphite-800: #2B2F36;
  --tr-graphite-900: #1C1F24;
  --tr-graphite-950: #111317;
  --tr-canvas: #F7F7F5;
  --tr-surface: #FFFFFF;
  --tr-soft: #EEEFEC;
  --tr-hairline: #E2E3E0;
  --tr-ink: #1C1F24;
  --tr-ink-mute: #646A73;
  --tr-ok: #1E7A45;
  --tr-ok-bg: #E4F3EA;
  --tr-warn: #8F5B00;
  --tr-warn-bg: #FBF0D9;
  --tr-err: #B42318;
  --tr-err-bg: #FDE8E6;
  --tr-info: #4F555E;
  --tr-info-bg: #EEEFEC;
  --tr-up: #1E8E4E;
  --tr-down: #C9302C;
  --tr-ref: #A07A10;
  --tr-ceil: #8E44AD;
  --tr-floor: #1590B0;
  --tr-chart-1: #D9A520;
  --tr-chart-2: #A0682E;
  --tr-chart-3: #8C939D;
  --tr-chart-4: #C8B48A;
  --tr-chart-5: #2B2F36;
  --tr-chart-6: #6E747D;
  --tr-grid: #EEEFEC;
  --tr-scrim: rgba(255,255,255,0.85);
  --tr-r-sm: 8px;
  --tr-r-md: 12px;
  --tr-r-pill: 999px;
  --tr-s-xs: 4px;
  --tr-s-sm: 8px;
  --tr-s-md: 12px;
  --tr-s-lg: 16px;
  --tr-s-xl: 24px;
  --tr-s-xxl: 32px;
  --tr-fs-page-title: 24px; --tr-fw-page-title: 700;
  --tr-fs-section-title: 18px; --tr-fw-section-title: 700;
  --tr-fs-card-title: 15px; --tr-fw-card-title: 600;
  --tr-fs-body: 14px; --tr-fw-body: 400;
  --tr-fs-label: 13px; --tr-fw-label: 500;
  --tr-fs-caption: 12px; --tr-fw-caption: 600;
  --tr-fs-input: 16px; --tr-fw-input: 400;
  --tr-fs-data: 14px; --tr-fw-data: 500;
  --tr-fs-data-lg: 22px; --tr-fw-data-lg: 500;
  --tr-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tr-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --tr-brand: #E9EBEE;
  --tr-brand-hover: #FFFFFF;
  --tr-on-brand: #0F1114;
  --tr-topbar: #171A1F;
  --tr-on-topbar: #E9EBEE;
  --tr-gold: #E8B83A;
  --tr-gold-hover: #F2C75A;
  --tr-on-gold: #0F1114;
  --tr-gold-text: #E8B83A;
  --tr-gold-bg: #2E2612;
  --tr-focus: #E8B83A;
  --tr-canvas: #0F1114;
  --tr-surface: #171A1F;
  --tr-soft: #1F2329;
  --tr-hairline: #262A31;
  --tr-ink: #E9EBEE;
  --tr-ink-mute: #9AA0A9;
  --tr-ok: #3CCB7F;
  --tr-ok-bg: #12261B;
  --tr-warn: #F0B65A;
  --tr-warn-bg: #2B2111;
  --tr-err: #FF6B66;
  --tr-err-bg: #2E1514;
  --tr-info: #C9CCCF;
  --tr-info-bg: #1F2329;
  --tr-up: #3CCB7F;
  --tr-down: #FF6B66;
  --tr-ref: #E8B83A;
  --tr-ceil: #C77DFF;
  --tr-floor: #3FC8E8;
  --tr-chart-1: #E8B83A;
  --tr-chart-2: #C98A4B;
  --tr-chart-3: #7D848F;
  --tr-chart-4: #D8C59B;
  --tr-chart-5: #E9EBEE;
  --tr-chart-6: #9AA0A9;
  --tr-grid: #1F2329;
  --tr-scrim: rgba(23,26,33,0.85);
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --tr-brand: #E9EBEE;
  --tr-brand-hover: #FFFFFF;
  --tr-on-brand: #0F1114;
  --tr-topbar: #171A1F;
  --tr-on-topbar: #E9EBEE;
  --tr-gold: #E8B83A;
  --tr-gold-hover: #F2C75A;
  --tr-on-gold: #0F1114;
  --tr-gold-text: #E8B83A;
  --tr-gold-bg: #2E2612;
  --tr-focus: #E8B83A;
  --tr-canvas: #0F1114;
  --tr-surface: #171A1F;
  --tr-soft: #1F2329;
  --tr-hairline: #262A31;
  --tr-ink: #E9EBEE;
  --tr-ink-mute: #9AA0A9;
  --tr-ok: #3CCB7F;
  --tr-ok-bg: #12261B;
  --tr-warn: #F0B65A;
  --tr-warn-bg: #2B2111;
  --tr-err: #FF6B66;
  --tr-err-bg: #2E1514;
  --tr-info: #C9CCCF;
  --tr-info-bg: #1F2329;
  --tr-up: #3CCB7F;
  --tr-down: #FF6B66;
  --tr-ref: #E8B83A;
  --tr-ceil: #C77DFF;
  --tr-floor: #3FC8E8;
  --tr-chart-1: #E8B83A;
  --tr-chart-2: #C98A4B;
  --tr-chart-3: #7D848F;
  --tr-chart-4: #D8C59B;
  --tr-chart-5: #E9EBEE;
  --tr-chart-6: #9AA0A9;
  --tr-grid: #1F2329;
  --tr-scrim: rgba(23,26,33,0.85);
  color-scheme: dark;
}
