/* Tasarım değişkenleri: renk, yazı, aralık, köşe, gölge. Açık ve koyu tema ayrı seçilmiş değerler. */
:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #faf9f7;
  --sunken: #f0eee9;
  --ink: #1b1d21;
  --ink-2: #4a4f57;
  --muted: #737a84;
  --line: #e6e3dc;
  --line-strong: #d6d2c9;

  --accent: #d9861a;
  --accent-strong: #b96d0b;
  --accent-ink: #ffffff;
  --accent-soft: #fdf1df;

  --ok: #1d7f4a;      --ok-soft: #e5f4eb;
  --warn: #a8670a;    --warn-soft: #fdf3e1;
  --bad: #c0392b;     --bad-soft: #fbe9e6;
  --info: #2860a8;    --info-soft: #e7eff9;

  --chart: #d9861a;

  --r-sm: 6px; --r: 10px; --r-lg: 14px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .05);
  --shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 4px 16px rgba(20, 22, 26, .06);
  --shadow-lg: 0 12px 40px rgba(20, 22, 26, .18);

  --sidebar-w: 248px;
  --topbar-h: 56px;
  --content-max: 1320px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121418;
    --surface: #1a1d22;
    --surface-2: #1e2127;
    --sunken: #15171b;
    --ink: #eceae6;
    --ink-2: #c3c6cc;
    --muted: #8f96a1;
    --line: #2a2e35;
    --line-strong: #383d45;

    --accent: #eba340;
    --accent-strong: #f2b45c;
    --accent-ink: #1a1306;
    --accent-soft: #2c2214;

    --ok: #4cc27f;      --ok-soft: #15291e;
    --warn: #e5a948;    --warn-soft: #2c2212;
    --bad: #f0715f;     --bad-soft: #321a17;
    --info: #74a7ec;    --info-soft: #172334;

    --chart: #eba340;
    --shadow-sm: none;
    --shadow: 0 1px 0 rgba(255, 255, 255, .02);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, .55);
  }
}
