/* Schemata-inspired tokens + Nexus dark shell */
:root,
[data-nx-theme="light"] {
  --nx-paper: #efede6;
  --nx-sheet: #ffffff;
  --nx-ink: #14141c;
  --nx-graphite: #6f6e78;
  --nx-hairline: #d6d2c7;
  --nx-violet: #5b4bff;
  --nx-violet-hover: #4a3aee;
  --nx-focus-ring: rgba(91, 75, 255, 0.28);
  --nx-shell-bg: #f4f2eb;
  --nx-shell-chrome: #ffffff;
  --nx-danger: #c62828;
  --nx-radius: 6px;
  --nx-radius-lg: 10px;
  --nx-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nx-dur: 200ms;
  --nx-font: ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --nx-mono: ui-monospace, "Cascadia Code", Menlo, monospace;
  --nx-shadow: 0 8px 30px rgba(20, 20, 28, 0.08);
}

[data-nx-theme="dark"] {
  --nx-paper: #12141c;
  --nx-sheet: #1a1d28;
  --nx-ink: #e8ecf4;
  --nx-graphite: #8b95a8;
  --nx-hairline: #2a3040;
  --nx-violet: #7c6cff;
  --nx-violet-hover: #9488ff;
  --nx-focus-ring: rgba(124, 108, 255, 0.35);
  --nx-shell-bg: #0c0e14;
  --nx-shell-chrome: #141824;
  --nx-danger: #ff6b6b;
  --nx-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

html {
  color-scheme: light dark;
}

[data-nx-theme="light"] {
  color-scheme: light;
}

[data-nx-theme="dark"] {
  color-scheme: dark;
}
