/*
 * Cursiv theme for shadcn-svelte · version 0.15.1 · content b36c0a43f726
 * Generated from https://brand.cursiv.no — do not edit by hand.
 *
 * In your app's CSS (Tailwind CSS v4), after the brand tokens and fonts:
 *   @import "tailwindcss";
 *   @import "tw-animate-css";
 *   @import "./brand.css";
 *   @import "./shadcn.css";
 *
 * Square corners and no shadows, as the Layout & Spacing page asks. Copper is
 * available as bg-marker / text-marker for the current item; Gold as
 * bg-highlight. See https://brand.cursiv.no/applications/components.
 */

/* State shorthands used by shadcn-svelte components, mapped to bits-ui's attributes. */
@custom-variant data-checked (&:where([data-state="checked"]));
@custom-variant data-unchecked (&:where([data-state="unchecked"]));
@custom-variant data-active (&:where([data-state="active"]));
@custom-variant data-open (&:where([data-state="open"]));
@custom-variant data-closed (&:where([data-state="closed"]));
@custom-variant data-horizontal (&:where([data-orientation="horizontal"]));
@custom-variant data-vertical (&:where([data-orientation="vertical"]));

:root {
  --radius: 0;
  --background: #F5EFE2; /* Paper */
  --foreground: #231F20; /* Ink */
  --card: #F5EFE2;
  --card-foreground: #231F20;
  --popover: #F5EFE2;
  --popover-foreground: #231F20;
  --primary: #231F20; /* Primary actions are Ink on Paper */
  --primary-foreground: #F5EFE2;
  --secondary: #E8E3D6; /* Ink at 6%: a quiet fill */
  --secondary-foreground: #231F20;
  --muted: #E8E3D6;
  --muted-foreground: #6D6864; /* Secondary text: Ink at 65% (4.8:1) */
  --accent: #E8E3D6; /* Hover and highlighted rows */
  --accent-foreground: #231F20;
  --destructive: #231F20; /* Cursiv has no warning red: errors use Ink and clear wording */
  --border: #D6D0C5; /* Rules: Ink at 15% */
  --input: #8C8781; /* Form control borders: Ink at 50% (3.1:1) */
  --ring: #231F20; /* Focus outline: Ink */
  --marker: #A9714F; /* Copper marks the current or selected item */
  --highlight: #C4A46B; /* Gold: special editions and highlights, on Ink */
  --chart-1: #231F20;
  --chart-2: #A9714F;
  --chart-3: #C4A46B;
  --chart-4: #6D6864;
  --chart-5: #ACA69E;
  --sidebar: #F5EFE2;
  --sidebar-foreground: #231F20;
  --sidebar-primary: #231F20;
  --sidebar-primary-foreground: #F5EFE2;
  --sidebar-accent: #E8E3D6;
  --sidebar-accent-foreground: #231F20;
  --sidebar-border: #D6D0C5;
  --sidebar-ring: #231F20;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-marker: var(--marker);
  --color-highlight: var(--highlight);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
  --radius-xs: var(--radius);
  --radius-sm: var(--radius);
  --radius-md: var(--radius);
  --radius-lg: var(--radius);
  --radius-xl: var(--radius);
  --radius-2xl: var(--radius);
  --radius-3xl: var(--radius);
  --radius-4xl: var(--radius);
  --shadow-2xs: 0 0 #0000;
  --shadow-xs: 0 0 #0000;
  --shadow-sm: 0 0 #0000;
  --shadow-md: 0 0 #0000;
  --shadow-lg: 0 0 #0000;
  --shadow-xl: 0 0 #0000;
  --shadow-2xl: 0 0 #0000;
}

@layer base {
  * {
    border-color: var(--border);
    outline-color: var(--ring);
  }
}
