/* Design tokens — ported from personal assistant MCP globals.css */
/* Matches shadcn/ui + liturgical color extensions */

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

  /* Core */
  --background:         oklch(1 0 0);
  --foreground:         oklch(0.145 0 0);
  --card:               oklch(1 0 0);
  --card-foreground:    oklch(0.145 0 0);
  --popover:            oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);

  /* Brand */
  --primary:            oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary:          oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --accent:             oklch(0.97 0 0);
  --accent-foreground:  oklch(0.205 0 0);

  /* Muted */
  --muted:              oklch(0.97 0 0);
  --muted-foreground:   oklch(0.556 0 0);

  /* Status */
  --destructive:        oklch(0.577 0.245 27.325);
  --destructive-ring:   oklch(0.577 0.245 27.325);
  --warning:            oklch(0.75 0.18 55);
  --warning-foreground: oklch(0.25 0.05 55);

  /* Chrome */
  --border:  oklch(0.922 0 0);
  --input:   oklch(0.922 0 0);
  --ring:    oklch(0.708 0 0);

  /* Sidebar */
  --sidebar:                    oklch(0.985 0 0);
  --sidebar-foreground:         oklch(0.145 0 0);
  --sidebar-primary:            oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent:             oklch(0.97 0 0);
  --sidebar-accent-foreground:  oklch(0.205 0 0);
  --sidebar-border:             oklch(0.922 0 0);
  --sidebar-ring:               oklch(0.708 0 0);

  /* Liturgical colors */
  --liturgy-white:              oklch(1 0 0);
  --liturgy-white-foreground:   oklch(0.145 0 0);
  --liturgy-red:                oklch(0.50 0.25 25);
  --liturgy-red-foreground:     oklch(1 0 0);
  --liturgy-purple:             oklch(0.488 0.243 295);
  --liturgy-purple-foreground:  oklch(1 0 0);
  --liturgy-green:              oklch(0.696 0.17 162.48);
  --liturgy-green-foreground:   oklch(1 0 0);
  --liturgy-gold:               oklch(0.828 0.189 84.429);
  --liturgy-gold-foreground:    oklch(0.145 0 0);
  --liturgy-rose:               oklch(0.75 0.15 350);
  --liturgy-rose-foreground:    oklch(1 0 0);
  --liturgy-black:              oklch(0.269 0 0);
  --liturgy-black-foreground:   oklch(0.985 0 0);

  /* Font */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
}

.dark {
  --background:         oklch(0.145 0 0);
  --foreground:         oklch(0.985 0 0);
  --card:               oklch(0.205 0 0);
  --card-foreground:    oklch(0.985 0 0);
  --popover:            oklch(0.205 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary:            oklch(0.922 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary:          oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --accent:             oklch(0.269 0 0);
  --accent-foreground:  oklch(0.985 0 0);
  --muted:              oklch(0.269 0 0);
  --muted-foreground:   oklch(0.708 0 0);
  --destructive:        oklch(0.704 0.191 22.216);
  --destructive-ring:   oklch(0.704 0.191 22.216);
  --warning:            oklch(0.80 0.15 70);
  --warning-foreground: oklch(0.25 0.05 55);
  --border:  oklch(1 0 0 / 10%);
  --input:   oklch(1 0 0 / 15%);
  --ring:    oklch(0.556 0 0);
  --sidebar:                    oklch(0.205 0 0);
  --sidebar-foreground:         oklch(0.985 0 0);
  --sidebar-primary:            oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent:             oklch(0.269 0 0);
  --sidebar-accent-foreground:  oklch(0.985 0 0);
  --sidebar-border:             oklch(1 0 0 / 10%);
  --sidebar-ring:               oklch(0.556 0 0);
  --liturgy-white:              oklch(0.97 0 0);
  --liturgy-white-foreground:   oklch(0.145 0 0);
  --liturgy-red:                oklch(0.60 0.25 25);
  --liturgy-purple:             oklch(0.627 0.265 303.9);
  --liturgy-green:              oklch(0.696 0.17 162.48);
  --liturgy-gold:               oklch(0.828 0.189 84.429);
  --liturgy-gold-foreground:    oklch(0.145 0 0);
  --liturgy-rose:               oklch(0.75 0.15 350);
  --liturgy-black:              oklch(0.398 0 0);
}
