/* Q_fin mini app — design tokens (spec §3). Dark only. */
:root {
  color-scheme: dark;

  /* surfaces */
  --bg: #10100f;
  --surface: #1a1917;
  --surface-2: #151513;
  --chip: #1f1e1b;
  --hairline: #262522;
  --track: #2a2926;

  /* ink */
  --text: #ece9e2;
  --text-2: #cfcabe;
  --dim: #8f8a80;
  --faint: #6f6b62;

  /* meaning */
  --accent: #e6a53c;
  --accent-bg: rgba(230, 165, 60, 0.12);
  --accent-soft: rgba(230, 165, 60, 0.09);
  --pos: #4cc38a;
  --pos-bg: rgba(76, 195, 138, 0.13);
  --neg: #ef6a5b;
  --neg-bg: rgba(239, 106, 91, 0.13);
  --risk: rgba(239, 106, 91, 0.5);

  /* allocation palette "황혼" — CVD-validated on --surface */
  --c-engine: #91b7fe;
  --c-fuel: #e5ab66;
  --c-main: #b879b2;
  --c-subf: #5fd3ed;
  /* research tab */
  --c-live: #8f8a80;
  --c-demo: #ece9e2;
  --c-leg-main: #e6a53c;
  --c-leg-inv: #5fd3ed;
  --c-leg-crowd: #8fce7a;
  --c-leg-mir: #ef9fb8;
  --c-s1: #91b7fe;
  --c-s2: #b879b2;
  --c-s3: #5fd3ed;
  --c-s4: #e5ab66;
  --c-s5: #4cc38a;

  /* shape */
  --r-panel: 20px;
  --r-box: 14px;
  --r-kpi: 12px;
  --r-pill: 99px;

  /* type */
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", system-ui, sans-serif;
}
