/* =============================================================================
   SmarterONE · Design tokens
   Porte literal de app/globals.css (oklch light + dark) + variantes de sidebar.
   NÃO editar à mão sem alinhar com o original. Qualquer mudança aqui é mudança
   funcional do design system.
   ============================================================================= */

:root {
  --background:          oklch(0.98 0.005 240);
  --foreground:          oklch(0.145 0.02 260);
  --card:                oklch(1 0 0);
  --card-foreground:     oklch(0.145 0.02 260);
  --popover:             oklch(1 0 0);
  --popover-foreground:  oklch(0.145 0.02 260);
  --primary:             #161318;
  --primary-foreground:  oklch(0.985 0 0);
  --secondary:           oklch(0.96 0.005 240);
  --secondary-foreground:oklch(0.145 0.02 260);
  --muted:               oklch(0.96 0.005 240);
  --muted-foreground:    oklch(0.45 0.02 250);
  --accent:              oklch(0.91 0.005 240);
  --accent-foreground:   oklch(0.145 0.02 260);
  --destructive:         oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.985 0 0);
  --border:              oklch(0.91 0.005 240);
  --input:               oklch(0.91 0.005 240);
  --ring:                #161318;
  --chart-1:             oklch(0.6 0.18 250);
  --chart-2:             oklch(0.65 0.17 160);
  --chart-3:             oklch(0.75 0.16 70);
  --chart-4:             oklch(0.6 0.2 290);
  --chart-5:             oklch(0.6 0.22 25);
  --radius:              0.625rem;
  --sidebar:                      oklch(1 0 0);
  --sidebar-foreground:           oklch(0.145 0.02 260);
  --sidebar-primary:              #161318;
  --sidebar-primary-foreground:   oklch(0.985 0 0);
  --sidebar-accent:               oklch(0.96 0.005 240);
  --sidebar-accent-foreground:    oklch(0.145 0.02 260);
  --sidebar-border:               oklch(0.91 0.005 240);
  --sidebar-ring:                 #161318;

  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  --font-sans: 'Geist', 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --sidebar-width: 16rem;
  --sidebar-width-icon: 3rem;
  --header-height: 3.3rem;
}

.dark {
  --background:          #161318;
  --foreground:          oklch(0.985 0 0);
  --card:                oklch(0.18 0.02 250);
  --card-foreground:     oklch(0.985 0 0);
  --popover:             oklch(0.18 0.02 250);
  --popover-foreground:  oklch(0.985 0 0);
  --primary:             oklch(0.985 0 0);
  --primary-foreground:  #161318;
  --secondary:           oklch(0.22 0.02 250);
  --secondary-foreground:oklch(0.985 0 0);
  --muted:               oklch(0.22 0.02 250);
  --muted-foreground:    oklch(0.65 0.01 250);
  --accent:              oklch(0.25 0.02 250);
  --accent-foreground:   oklch(0.985 0 0);
  --destructive:         oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border:              oklch(0.25 0.02 250);
  --input:               oklch(0.22 0.02 250);
  --ring:                oklch(0.6 0.18 250);
  --chart-1:             oklch(0.6 0.18 250);
  --chart-2:             oklch(0.65 0.17 160);
  --chart-3:             oklch(0.75 0.16 70);
  --chart-4:             oklch(0.6 0.2 290);
  --chart-5:             oklch(0.6 0.22 25);
  --sidebar:                    #161318;
  --sidebar-foreground:         oklch(0.985 0 0);
  --sidebar-primary:            oklch(0.985 0 0);
  --sidebar-primary-foreground: #161318;
  --sidebar-accent:             oklch(0.22 0.02 250);
  --sidebar-accent-foreground:  oklch(0.985 0 0);
  --sidebar-border:             oklch(0.25 0.02 250);
  --sidebar-ring:               oklch(0.6 0.18 250);
}
