/* Design tokens as supplied in the brief, accent overridden to #BABAFF in both themes. The kit owns the names --muted, --accent and --card, so the brief's versions of those three are --ui-muted, --ui-accent, --ui-card here.
   The brief's @theme inline block is Tailwind v4 syntax; this site has no Tailwind, so the same names
   are used directly as custom properties. The kit's --p-* tokens are mapped from them below. */
:root {
  --ui-card: oklch(1.00 0 0);
  --ring: oklch(0 0 0);
  --input: oklch(0.94 0 0);
  --ui-muted: oklch(0.97 0 0);
  --ui-accent: #BABAFF;
  --border: oklch(0.92 0 0);
  --radius: 0.5rem;
  --chart-1: #BABAFF;
  --chart-2: oklch(0.55 0.22 264.53);
  --chart-3: oklch(0.72 0 0);
  --chart-4: oklch(0.92 0 0);
  --chart-5: oklch(0.56 0 0);
  --popover: oklch(0.99 0 0);
  --primary: oklch(0 0 0);
  --sidebar: oklch(0.99 0 0);
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --font-sans: "Geist", system-ui, sans-serif;
  --secondary: oklch(0.94 0 0);
  --background: oklch(0.99 0 0);
  --font-serif: Georgia, serif;
  --foreground: oklch(0 0 0);
  --destructive: oklch(0.63 0.19 23.03);
  --shadow-blur: 2px;
  --shadow-color: hsl(0 0% 0%);
  --sidebar-ring: oklch(0 0 0);
  --shadow-spread: 0px;
  --shadow-opacity: 0.18;
  --sidebar-accent: oklch(0.94 0 0);
  --sidebar-border: oklch(0.94 0 0);
  --card-foreground: oklch(0 0 0);
  --shadow-offset-x: 0px;
  --shadow-offset-y: 1px;
  --sidebar-primary: oklch(0 0 0);
  --muted-foreground: oklch(0.44 0 0);
  --accent-foreground: oklch(0 0 0);
  --popover-foreground: oklch(0 0 0);
  --primary-foreground: oklch(1.00 0 0);
  --sidebar-foreground: oklch(0 0 0);
  --secondary-foreground: oklch(0 0 0);
  --destructive-foreground: oklch(1.00 0 0);
  --sidebar-accent-foreground: oklch(0 0 0);
  --sidebar-primary-foreground: oklch(1.00 0 0);
  --brand: #BABAFF;
  --brand-foreground: #000;
}

:root.dark, .dark {
  --ui-card: oklch(0.14 0 0);
  --ring: #BABAFF;
  --input: oklch(0.32 0 0);
  --ui-muted: oklch(0.23 0 0);
  --ui-accent: #BABAFF;
  --border: oklch(0.26 0 0);
  --chart-1: #BABAFF;
  --chart-2: oklch(0.58 0.21 260.84);
  --chart-3: oklch(0.56 0 0);
  --chart-4: oklch(0.44 0 0);
  --chart-5: oklch(0.92 0 0);
  --popover: oklch(0.18 0 0);
  --primary: oklch(1.00 0 0);
  --sidebar: oklch(0.18 0 0);
  --secondary: oklch(0.25 0 0);
  --background: oklch(0 0 0);
  --foreground: oklch(1.00 0 0);
  --destructive: oklch(0.69 0.20 23.91);
  --sidebar-ring: #BABAFF;
  --sidebar-accent: oklch(0.32 0 0);
  --sidebar-border: oklch(0.32 0 0);
  --card-foreground: oklch(1.00 0 0);
  --sidebar-primary: oklch(1.00 0 0);
  --muted-foreground: oklch(0.72 0 0);
  --accent-foreground: oklch(0 0 0);
  --popover-foreground: oklch(1.00 0 0);
  --primary-foreground: oklch(0 0 0);
  --sidebar-foreground: oklch(1.00 0 0);
  --secondary-foreground: oklch(1.00 0 0);
  --destructive-foreground: oklch(0 0 0);
  --sidebar-accent-foreground: oklch(1.00 0 0);
  --sidebar-primary-foreground: oklch(0 0 0);
}

/* kit palette, mapped. Light: black buttons (the lavender is too pale to carry a button or text on white).
   Dark: the lavender carries buttons, focus, highlights; text on it is always black. */
:root {
  --p-bg: var(--background); --p-surface: var(--ui-muted); --p-ink: var(--foreground); --p-muted: var(--muted-foreground);
  --p-accent: var(--brand); --p-accent-ink: var(--brand-foreground);
  --p-action: #000; --p-action-ink: #fff;
  --p-inv-bg: #000; --p-inv-surface: #0d0d0d; --p-inv-ink: #fff; --p-inv-muted: #a6a6a6;
  --p-inv-accent: var(--brand); --p-inv-accent-ink: #000; --p-inv-action: var(--brand); --p-inv-action-ink: #000;
  --font-display: "Geist", system-ui, sans-serif;
  --font-text: "Geist", system-ui, sans-serif;
  --display-weight: 500; --display-tracking: -0.035em; --display-tracking-xl: -0.045em;
  --ly-scale: 0.97;
  color-scheme: light;
}
:root.dark {
  --p-bg: #000; --p-surface: #0d0d0d; --p-ink: #fff; --p-muted: #a6a6a6;
  --p-action: var(--brand); --p-action-ink: #000;
  color-scheme: dark;
}
