:root {
  color-scheme: dark;
  --bg: #06101c;
  --bg-2: #0a1726;
  --bg-3: #0f2236;
  --surface: rgba(9, 22, 36, 0.76);
  --surface-2: rgba(12, 28, 46, 0.86);
  --surface-3: rgba(15, 36, 58, 0.94);
  --glass: rgba(12, 26, 43, 0.72);
  --glass-strong: rgba(13, 32, 52, 0.92);
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.30);
  --text: #d9e5f2;
  --text-strong: #f7fbff;
  --muted: #8fa2b6;
  --muted-2: #63788d;
  --accent: #4da3ff;
  --accent-2: #6ad6ff;
  --accent-soft: rgba(77, 163, 255, 0.16);
  --ok: #38d66b;
  --ok-soft: rgba(56, 214, 107, 0.16);
  --warn: #f5c542;
  --warn-soft: rgba(245, 197, 66, 0.16);
  --danger: #ff5a55;
  --danger-soft: rgba(255, 90, 85, 0.16);
  --purple: #9b72ff;
  --purple-soft: rgba(155, 114, 255, 0.16);
  --lan: #8d7bff;
  --visa: #4fb9ff;
  --gpib: #ff9155;
  --snippet: #49da6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.26);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --gap: 14px;
  --nav-w: 176px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #e9eef7;
  --bg-2: #f7faff;
  --bg-3: #dfe9f7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-2: rgba(255, 255, 255, 0.90);
  --surface-3: rgba(249, 252, 255, 0.98);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(48, 71, 100, 0.14);
  --line-strong: rgba(48, 71, 100, 0.24);
  --text: #142235;
  --text-strong: #07101e;
  --muted: #5a6f86;
  --muted-2: #6f8195;
  --shadow: 0 22px 54px rgba(20, 41, 73, 0.18);
  --shadow-soft: 0 14px 32px rgba(20, 41, 73, 0.14);
}

html[data-theme="warm"] {
  --bg: #130f0b;
  --bg-2: #24170f;
  --bg-3: #382313;
  --surface: rgba(34, 21, 14, 0.76);
  --surface-2: rgba(46, 28, 16, 0.88);
  --surface-3: rgba(60, 36, 18, 0.96);
  --glass: rgba(41, 26, 18, 0.72);
  --glass-strong: rgba(51, 32, 19, 0.94);
  --line: rgba(255, 214, 153, 0.14);
  --line-strong: rgba(255, 214, 153, 0.28);
  --text: #f5e9d7;
  --text-strong: #fff7ea;
  --muted: #c2ad91;
  --accent: #ffb757;
  --accent-2: #ffd07f;
  --accent-soft: rgba(255, 183, 87, 0.16);
}
