/* Tokens exportados do Paper "MGDash Workflows" (id 01M8890596QD3H6G2YBVM842YC).
   Sombras e gradiente de botão vêm do Guide (não registrados como tokens no Paper). */

:root,
[data-theme="noir"] {
  --theme-bg-primary: #12121A;
  --theme-bg-dark: #16161A;
  --theme-bg-card: #1E1E26;
  --theme-bg-elevated: #24242B;
  --theme-bg-zebra-even: #1A1A20;
  --theme-bg-zebra-odd: #15151A;
  --theme-text-primary: #F4F4F5;
  --theme-text-secondary: #A1A1AA;
  --theme-text-muted: #8E8E99;
  --theme-ink-on-gold: #0D0F14;
  --theme-border-grid: rgb(255 255 255 / 5%);
  --theme-border-divider: rgb(255 255 255 / 4%);
  --theme-accent-gold: #D4AF37;
  --theme-accent-gold-bright: #E8C474;
  --theme-accent-gold-dim: #B8860B;
  --theme-text-gold: #D4AF37;
  --theme-border-subtle: rgb(212 175 55 / 20%);
  --theme-border-default: rgb(212 175 55 / 15%);
  --theme-border-strong: rgb(212 175 55 / 35%);
  --theme-surface-hover: rgb(212 175 55 / 8%);
  --theme-surface-active: rgb(212 175 55 / 15%);
  --theme-accent-gold-08: rgb(212 175 55 / 8%);
  --theme-accent-gold-15: rgb(212 175 55 / 15%);
  --theme-accent-gold-25: rgb(212 175 55 / 25%);
  --theme-accent-green: #9FD4A3;
  --theme-accent-green-dark: #6FA872;
  --theme-accent-red: #E87373;
  --theme-accent-red-dark: #B85454;
  --theme-accent-blue: #8BB4D4;
  --theme-accent-yellow: #E8C474;
  --theme-accent-orange: #FF8C00;
  --theme-roas-green-bg: rgb(159 212 163 / 15%);
  --theme-roas-green-text: #9FD4A3;
  --theme-roas-yellow-bg: rgb(232 196 116 / 15%);
  --theme-roas-yellow-text: #E8C474;
  --theme-roas-red-bg: rgb(232 115 115 / 15%);
  --theme-roas-red-text: #E87373;
  --theme-roas-gray-bg: rgb(161 161 170 / 15%);
  --theme-roas-gray-text: #A1A1AA;
  --theme-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --theme-shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.8);
  --theme-shadow-glow: 0 0 24px rgba(212, 175, 55, 0.25);
  --theme-shadow-premium: 0 10px 40px -10px rgba(212, 175, 55, 0.3), 0 4px 20px rgba(0, 0, 0, 0.5);
  --theme-shadow-inset-gold: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 2px 8px rgba(212, 175, 55, 0.3);
  --canvas-dot: rgb(255 255 255 / 6%);
}

[data-theme="day"] {
  --theme-bg-primary: #FAFAF7;
  --theme-bg-dark: #F5F4EE;
  --theme-bg-card: #FFFFFF;
  --theme-bg-elevated: #FFFFFF;
  --theme-bg-zebra-even: #FFFFFF;
  --theme-bg-zebra-odd: #F5F4EE;
  --theme-text-primary: #1A1A20;
  --theme-text-secondary: #52525B;
  --theme-text-muted: #71717A;
  --theme-ink-on-gold: #0D0F14;
  --theme-border-grid: rgb(0 0 0 / 8%);
  --theme-border-divider: rgb(0 0 0 / 6%);
  --theme-accent-gold: #C9A227;
  --theme-accent-gold-bright: #8B6914;
  --theme-accent-gold-dim: #8B6914;
  --theme-text-gold: #8B6914;
  --theme-border-subtle: rgb(139 105 20 / 25%);
  --theme-border-default: rgb(139 105 20 / 18%);
  --theme-border-strong: rgb(139 105 20 / 40%);
  --theme-surface-hover: rgb(139 105 20 / 8%);
  --theme-surface-active: rgb(139 105 20 / 15%);
  --theme-accent-gold-08: rgb(139 105 20 / 8%);
  --theme-accent-gold-15: rgb(139 105 20 / 15%);
  --theme-accent-gold-25: rgb(139 105 20 / 25%);
  --theme-accent-green: #3F8A44;
  --theme-accent-green-dark: #2E6B33;
  --theme-accent-red: #B85454;
  --theme-accent-red-dark: #8B3E3E;
  --theme-accent-blue: #4A7FA8;
  --theme-accent-yellow: #8B6914;
  --theme-accent-orange: #B85E17;
  --theme-roas-green-bg: rgb(63 138 68 / 12%);
  --theme-roas-green-text: #2E6B33;
  --theme-roas-yellow-bg: rgb(161 122 14 / 12%);
  --theme-roas-yellow-text: #8B6914;
  --theme-roas-red-bg: rgb(184 84 84 / 12%);
  --theme-roas-red-text: #8B3E3E;
  --theme-roas-gray-bg: rgb(161 161 170 / 15%);
  --theme-roas-gray-text: #52525B;
  --theme-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --theme-shadow-glass: 0 8px 24px rgba(0, 0, 0, 0.08);
  --theme-shadow-glow: 0 0 20px rgba(201, 162, 39, 0.15);
  --theme-shadow-premium: 0 10px 30px -10px rgba(201, 162, 39, 0.2), 0 4px 12px rgba(0, 0, 0, 0.06);
  --theme-shadow-inset-gold: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(201, 162, 39, 0.25);
  --canvas-dot: rgb(0 0 0 / 8%);
}

:root {
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", "IBM Plex Mono", ui-monospace, monospace;
  --fs-2xs: 10px;
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-base: 14px;
  --fs-md: 15px;
  --fs-lg: 16px;
  --fs-xl: 18px;
  --fs-2xl: 20px;
  --fs-3xl: 24px;
  --fs-display: 28px;
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 20px;
  --spacing-6: 24px;
  --spacing-8: 32px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-2xl: 18px;
  --topbar-h: 64px;
  --preview-h: 80px;
  --sidebar-w: 220px;
  --inspector-w: 360px;
}
