/* ============================================================
   DT Reports — design tokens (premium agency theme)
   Single accent: yellow #f9b427. Sidebar: always dark #0e0f10.
   ============================================================ */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/GeistMono.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand accent — the ONE accent everywhere */
  --accent: #f9b427;
  --accent-strong: #d19410;
  --accent-soft: rgba(249, 180, 39, 0.14);
  --accent-softer: rgba(249, 180, 39, 0.07);
  --accent-text: #0e0f10;                    /* text on yellow */
  --accent-glow: rgba(249, 180, 39, 0.35);

  /* navy — secondary brand color (today, selected, headings) */
  --navy: #0e0f10;
  --navy-2: #1e2124;

  /* primary action = yellow */
  --primary: #f9b427;
  --primary-hover: #d19410;
  --primary-contrast: #0e0f10;
  --primary-soft: rgba(249, 180, 39, 0.16);
  --primary-glow: rgba(249, 180, 39, 0.35);

  /* surfaces */
  --bg: #f0efec;
  --bg-gradient: linear-gradient(160deg, #fafafa 0%, #f0efec 100%);
  --bg-elevated: #fefefe;
  --bg-subtle: #fafafa;
  --bg-hover: #f3f3f1;
  --surface: #fefefe;
  --border: #ecedea;
  --border-strong: #e0e1de;

  /* sidebar (always dark) */
  --sb-bg: #0e0f10;
  --sb-item: #9aa0a8;
  --sb-item-active-bg: #1e2124;
  --sb-item-active: #fefefe;
  --sb-border: #1e2124;

  /* text */
  --text: #0e0f10;
  --text-muted: #6b7077;
  --text-faint: #9aa0a8;

  /* semantic */
  --success: #22C55E;
  --success-bg: rgba(34, 197, 94, 0.12);
  --danger: #EF4444;
  --danger-bg: rgba(239, 68, 68, 0.10);
  --warning: #F59E0B;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --neutral-bg: #f3f3f1;
  --neutral-text: #4a4d52;

  /* elevation / shape */
  --shadow-sm: 0 1px 3px rgba(14, 15, 16, 0.06);
  --shadow-md: 0 4px 12px rgba(14, 15, 16, 0.08), 0 2px 4px rgba(14, 15, 16, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(14, 15, 16, 0.10), 0 4px 10px -4px rgba(14, 15, 16, 0.05);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;

  /* chart colors */
  --chart-line-1: #0e0f10;
  --chart-line-2: #f9b427;
  --chart-line-3: #22C55E;
  --chart-grid: #ecedea;
  --chart-text: #9aa0a8;
  --chart-bar: #0e0f10;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-num: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: 'Geist Mono', 'Cascadia Code', Consolas, monospace;
}

:root[data-theme="dark"] {
  --accent-soft: rgba(249, 180, 39, 0.16);
  --accent-softer: rgba(249, 180, 39, 0.08);
  --accent-glow: rgba(249, 180, 39, 0.45);

  --bg: #0e0f10;
  --bg-gradient: linear-gradient(160deg, #0e0f10 0%, #121415 100%);
  --bg-elevated: #16181a;
  --bg-subtle: #1a1c1e;
  --bg-hover: #1e2124;
  --surface: #1a1c1e;
  --border: #1e2124;
  --border-strong: #33373b;

  --text: #fafafa;
  --text-muted: #9aa0a8;
  --text-faint: #6b7077;

  --neutral-bg: #1e2124;
  --neutral-text: #9aa0a8;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.55), 0 4px 10px -4px rgba(0, 0, 0, 0.4);

  --chart-line-1: #fafafa;
  --chart-grid: #1e2124;
  --chart-text: #6b7077;
  --chart-bar: #f9b427;
}
