/* Adapted from Dokploy; see NOTICE.md. Final upstream OKLCH theme tokens. */
:root {
	--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.97 0 0);
	--muted-foreground: oklch(0.556 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.922 0 0);
	--input: oklch(0.922 0 0);
	--ring: oklch(0.708 0 0);
	--radius: 0.625rem;
	--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);
}

/* Olodesk light-only adaptation. Upstream provenance is retained in NOTICE.md. */
:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #191b2e;
  --card: #ffffff;
  --card-foreground: #191b2e;
  --popover: #ffffff;
  --popover-foreground: #191b2e;
  --primary: #191b2e;
  --primary-foreground: #ffffff;
  --secondary: #f4f5f9;
  --secondary-foreground: #34394a;
  --muted: #f5f6fa;
  --muted-foreground: #626877;
  --accent: #fff1e6;
  --accent-foreground: #ff7a29;
  --border: #e6e8ee;
  --input: #e6e8ee;
  --ring: #ff7a29;
  --radius: 1.15rem;
  --sidebar: #f8f9fc;
  --sidebar-foreground: #34394a;
  --sidebar-primary: #ff7a29;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #fff1e6;
  --sidebar-accent-foreground: #ff7a29;
  --sidebar-border: #e6e8ee;
  --sidebar-ring: #ff7a29;
  /* Brand palette, orange-only per owner decision (2026-09-22): the earlier
     indigo/orange duotone is retired in favor of a single warm flag-orange
     accent, matching the Cloudflare reference's own black/white/orange
     restraint — see website.css. Applied to the dashboard on 2026-09-24
     for brand consistency across the whole site. */
  --brand-orange: #ff7a29;
  --brand-orange-soft: #ffab6b;
  --brand-orange-deep: #c1470a;
  --brand-orange-tint: #fff1e6;

  /* Dashboard design tokens (2026-09-27 polish pass). Built on the palette
     above; everything in ui.css reads these, never raw hex. */
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --text-strong: #111325;
  --text-subtle: #8a8f9c;
  --border-strong: #d6d9e1;
  --surface: #ffffff;
  --surface-sunken: #f7f8fb;
  --surface-hover: #f2f3f7;
  --surface-active: #eceef3;
  --success: #15803d;
  --success-soft: #e9f7ef;
  --danger: #d12c1f;
  --danger-strong: #b3261e;
  --danger-soft: #fdeeec;
  --warning: #b45309;
  --warning-soft: #fef4e6;
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--brand-orange) 28%, transparent);
  --shadow-xs: 0 1px 2px rgb(17 19 37 / .05);
  --shadow-sm: 0 1px 2px rgb(17 19 37 / .04), 0 1px 3px rgb(17 19 37 / .06);
  --shadow-md: 0 2px 4px rgb(17 19 37 / .04), 0 8px 20px rgb(17 19 37 / .07);
  --shadow-lg: 0 4px 12px rgb(17 19 37 / .06), 0 24px 60px rgb(17 19 37 / .16);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
}
