/* Portfulla palette. Keep the Management and Wiki copies identical. */
:root {
	color-scheme: light;
	--brand: #ff570a;
	--background: #ffffff;
	--foreground: #1d1d1d;
	--card: #ffffff;
	--card-foreground: var(--foreground);
	--popover: var(--card);
	--popover-foreground: var(--foreground);
	--primary: #1d1d1d;
	--primary-foreground: #ffffff;
	--secondary: #f2f2f2;
	--secondary-foreground: var(--foreground);
	--muted: #f2f2f2;
	--muted-foreground: #6e6e6e;
	--accent: #ffe0c4;
	--accent-foreground: #ff570a;
	--accent-border: #ffaf8f;
	--link: var(--brand);
	--link-decoration: var(--link);
	--destructive: #b73549;
	--success: #1f7a54;
	--warning: #fff7ea;
	--warning-foreground: #6b4b14;
	--warning-border: #efdbb6;
	--border: #e5e5e5;
	--border-subtle: var(--muted);
	--input: #cccccc;
	--ring: var(--brand);
	--shadow-surface: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.05);
	--chart-1: oklch(0.87 0 0);
	--chart-2: oklch(0.556 0 0);
	--chart-3: oklch(0.439 0 0);
	--chart-4: oklch(0.371 0 0);
	--chart-5: oklch(0.269 0 0);
	--radius: 0.625rem;
	--sidebar: #f7f7f7;
	--sidebar-foreground: var(--foreground);
	--sidebar-primary: var(--primary);
	--sidebar-primary-foreground: var(--primary-foreground);
	--sidebar-accent: var(--accent);
	--sidebar-accent-foreground: var(--accent-foreground);
	--sidebar-border: var(--border);
	--sidebar-ring: var(--ring);
}

.dark,
:root[data-theme='dark'] {
	color-scheme: dark;
	--background: #19171c;
	--foreground: #f3f0f5;
	--card: #211e25;
	--card-foreground: var(--foreground);
	--popover: var(--card);
	--popover-foreground: var(--foreground);
	--primary: #f4f1f5;
	--primary-foreground: #17131b;
	--secondary: #2a252f;
	--secondary-foreground: var(--foreground);
	--muted: #2a252f;
	--muted-foreground: #b4adb9;
	--accent: #ffd8b5;
	--accent-foreground: #ff570a;
	--accent-border: #f4f1f5;
	--link: var(--accent-foreground);
	--link-decoration: var(--accent-border);
	--destructive: #ff98ad;
	--success: #57bd90;
	--warning: #241d12;
	--warning-foreground: #e7c98c;
	--warning-border: #463820;
	--border: #39333e;
	--border-subtle: var(--muted);
	--input: #605668;
	--ring: var(--brand);
	--shadow-surface: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
	--chart-1: oklch(0.87 0 0);
	--chart-2: oklch(0.556 0 0);
	--chart-3: oklch(0.439 0 0);
	--chart-4: oklch(0.371 0 0);
	--chart-5: oklch(0.269 0 0);
	--sidebar: #121014;
	--sidebar-foreground: var(--foreground);
	--sidebar-primary: var(--primary);
	--sidebar-primary-foreground: var(--primary-foreground);
	--sidebar-accent: var(--accent);
	--sidebar-accent-foreground: var(--accent-foreground);
	--sidebar-border: var(--border);
	--sidebar-ring: var(--ring);
}
