/* Visual360 Studio — Design Tokens */
:root {
  /* Brand colors */
  --bg-base: #0b0b0d;
  --bg-surface: #141418;
  --bg-elevated: #1c1c22;
  --bg-hover: #24242c;
  --border-subtle: #2a2a32;
  --border-strong: #3a3a44;

  --text-primary: #f5f5f0;
  --text-secondary: #a8a8a0;
  --text-muted: #6e6e68;

  --gold: #e8c468;
  --gold-soft: #f0d488;
  --gold-deep: #b8932f;
  --gold-glow: rgba(232, 196, 104, 0.18);

  --accent-success: #6fbf73;
  --accent-warning: #e8a93c;
  --accent-danger: #d97062;
  --accent-info: #6fa8e8;

  /* Column accents */
  --col-new: #d97062;
  --col-talks: #e8a93c;
  --col-work: #6fa8e8;
  --col-review: #e8c468;
  --col-fixes: #c878d0;
  --col-done: #6fbf73;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-8: 48px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 24px var(--gold-glow);

  /* Transitions */
  --t-fast: 120ms ease;
  --t-med: 200ms ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-soft);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-deep);
}

/* === СВІТЛА ТЕМА === */
[data-theme="light"] {
  --bg-base: #f5f5f0;
  --bg-surface: #ffffff;
  --bg-elevated: #f9f9f4;
  --bg-hover: #efefe8;
  --border-subtle: #e2e2dc;
  --border-strong: #c8c8c0;

  --text-primary: #1a1a1f;
  --text-secondary: #4a4a52;
  --text-muted: #7a7a7a;

  --gold: #b8932f;
  --gold-soft: #d4af37;
  --gold-deep: #8b6f1d;
  --gold-glow: rgba(184, 147, 47, 0.18);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

/* Common utilities */
.gold {
  color: var(--gold);
}

.muted {
  color: var(--text-muted);
}

.secondary {
  color: var(--text-secondary);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.hidden {
  display: none !important;
}

/* Lock icon */
.lock-icon::before {
  content: '🔒';
  margin-right: 6px;
  font-size: 0.9em;
}
