@import "tailwindcss" important;

@custom-variant dark (&:is(.dark *));

@theme inline {
	--color-background: oklch(1 0 0);
	--color-foreground: oklch(0.145 0 0);
	--color-card: oklch(1 0 0);
	--color-card-foreground: oklch(0.145 0 0);
	--color-popover: oklch(1 0 0);
	--color-popover-foreground: oklch(0.145 0 0);
	--color-primary: oklch(0.205 0.08 265);
	--color-primary-foreground: oklch(0.985 0 0);
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
	Cantarell, "Helvetica Neue", sans-serif;
	--color-secondary: oklch(0.965 0 0);
	--color-secondary-foreground: oklch(0.205 0 0);
	--color-muted: oklch(0.955 0 0);
	--color-muted-foreground: oklch(0.45 0 0);
	--color-accent: oklch(0.965 0 0);
	--color-accent-foreground: oklch(0.205 0 0);
	--color-destructive: oklch(0.577 0.245 27.325);
	--color-destructive-foreground: oklch(0.577 0.245 27.325);
	--color-border: oklch(0.9 0 0);
	--color-input: oklch(0.9 0 0);
	--color-ring: oklch(0.708 0.165 254.624);
	--color-chart-1: oklch(0.646 0.222 41.116);
	--color-chart-2: oklch(0.6 0.118 184.704);
	--color-chart-3: oklch(0.398 0.07 227.392);
	--color-chart-4: oklch(0.828 0.189 84.429);
	--color-chart-5: oklch(0.769 0.188 70.08);
	--color-sidebar: oklch(0.985 0 0);
	--color-sidebar-foreground: oklch(0.145 0 0);
	--color-sidebar-primary: oklch(0.205 0.08 265);
	--color-sidebar-primary-foreground: oklch(0.985 0 0);
	--color-sidebar-accent: oklch(0.965 0 0);
	--color-sidebar-accent-foreground: oklch(0.205 0 0);
	--color-sidebar-border: oklch(0.922 0 0);
	--color-sidebar-ring: oklch(0.708 0.165 254.624);
	--radius-sm: 0.25rem;
	--radius-md: 0.375rem;
	--radius-lg: 0.5rem;
	--radius-xl: 0.75rem;
	--radius-2xl: calc(var(--radius) + 8px);
	--radius-3xl: calc(var(--radius) + 12px);
	--radius-4xl: calc(var(--radius) + 16px);
}

.lw-harbor-ui {
	--radius: 0.625rem;
	--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);
	--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);
	--muted: oklch(0.955 0 0);
	--muted-foreground: oklch(0.45 0 0);
	--accent: oklch(0.97 0 0);
	--accent-foreground: oklch(0.205 0 0);
	--destructive: oklch(0.577 0.245 27.325);
	--border: oklch(0.9 0 0);
	--input: oklch(0.9 0 0);
	--ring: oklch(0.708 0 0);
	--chart-1: oklch(0.646 0.222 41.116);
	--chart-2: oklch(0.6 0.118 184.704);
	--chart-3: oklch(0.398 0.07 227.392);
	--chart-4: oklch(0.828 0.189 84.429);
	--chart-5: oklch(0.769 0.188 70.08);
	--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);
}

.lw-harbor-ui .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);
	--muted: oklch(0.269 0 0);
	--muted-foreground: oklch(0.708 0 0);
	--accent: oklch(0.269 0 0);
	--accent-foreground: oklch(0.985 0 0);
	--destructive: oklch(0.704 0.191 22.216);
	--border: oklch(1 0 0 / 10%);
	--input: oklch(1 0 0 / 15%);
	--ring: oklch(0.556 0 0);
	--chart-1: oklch(0.488 0.243 264.376);
	--chart-2: oklch(0.696 0.17 162.48);
	--chart-3: oklch(0.769 0.188 70.08);
	--chart-4: oklch(0.627 0.265 303.9);
	--chart-5: oklch(0.645 0.246 16.439);
	--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);
}

.lw-harbor-ui {
	background-color: var(--color-background);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-foreground);
}

.lw-harbor-ui * {
	border-color: var(--color-border);
}

#wpcontent:has(.lw-harbor-ui) {
	padding-left: 0;
}

#wpcontent:has(.lw-harbor-ui) #wpbody-content {
	padding-bottom: 0;
}

#wpcontent:has(.lw-harbor-ui) + #wpfooter {
	display: none;
}

.wrap:has(> .lw-harbor-ui) {
	margin: 0;
	padding: 0;
}

@layer base {
	* {
		@apply border-border box-border outline-ring/50;
	}
	body {
		@apply bg-background text-foreground;
	}
}
