:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-subtle: #f7f8fa;
  --surface-hover: #eef0f3;
  --text: #16181d;
  --text-secondary: #4b5360;
  --muted: #6c7482;
  --border: #dcdfe5;
  --border-strong: #c4c9d4;
  --primary-bg: #181a1f;
  --primary-bg-hover: #2c303a;
  --primary-fg: #ffffff;
  --focus: #0969da;
  --focus-ring: rgba(9, 105, 218, 0.2);
  --gp: #1f883d;
  --as: #59636e;
  --ok: #1a7f37;
  --warn: #9a6700;
  --err: #cf222e;
  --err-soft: rgba(207, 34, 46, 0.08);
  --drop-bg: rgba(9, 105, 218, 0.06);
  --radius: 5px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111317;
  --surface: #16191f;
  --surface-subtle: #1b1f27;
  --surface-hover: #232833;
  --text: #e6e9ef;
  --text-secondary: #b1b9c6;
  --muted: #7f8896;
  --border: #282e38;
  --border-strong: #39414f;
  --primary-bg: #e6e9ef;
  --primary-bg-hover: #ffffff;
  --primary-fg: #111317;
  --focus: #4493f8;
  --focus-ring: rgba(68, 147, 248, 0.25);
  --gp: #3fb950;
  --as: #8b949e;
  --ok: #3fb950;
  --warn: #d29922;
  --err: #f85149;
  --err-soft: rgba(248, 81, 73, 0.12);
  --drop-bg: rgba(68, 147, 248, 0.1);
}
