@font-face { font-family: 'Klarity Sans'; font-weight: 200 800; font-display: swap;
  src: url('https://klarity.so/fonts/atkinson-hyperlegible-next-latin.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 400 600; font-display: swap;
  src: url('https://klarity.so/fonts/geist-mono-latin.woff2') format('woff2'); }
:root:root {
  --background: 40 27% 97.8%; --foreground: 30 11% 7.1%;
  --card: 0 0% 100%; --card-foreground: 30 11% 7.1%;
  --popover: 0 0% 100%; --popover-foreground: 30 11% 7.1%;
  --primary: 161 74% 23.9%; --primary-foreground: 0 0% 100%;
  --secondary: 39 11% 93.8%; --secondary-foreground: 30 11% 7.1%;
  --muted: 39 11% 93.8%; --muted-foreground: 35 6% 39.6%;
  --accent: 39 11% 93.8%; --accent-foreground: 30 11% 7.1%;
  --destructive: 18 88% 38.6%; --destructive-foreground: 0 0% 100%;
  --border: 38 7% 89%; --input: 38 7% 89%; --ring: 161 74% 23.9%;
  --radius: 0.625rem;
  --k-ok: #106a4e; --k-ok-hover: #0c5940; --k-bad: #b93f0c; --k-ok-text: #106a4e;
}
:root:root.dark {
  --background: 30 6% 6.3%; --foreground: 40 21% 94.5%;
  --card: 40 6% 10.4%; --card-foreground: 40 21% 94.5%;
  --popover: 40 6% 10.4%; --popover-foreground: 40 21% 94.5%;
  --primary: 157 58% 27.3%; --primary-foreground: 0 0% 100%;
  --secondary: 36 6% 16.7%; --secondary-foreground: 40 21% 94.5%;
  --muted: 36 6% 16.7%; --muted-foreground: 37 6% 57.8%;
  --accent: 36 6% 16.7%; --accent-foreground: 40 21% 94.5%;
  --destructive: 15 89% 64.7%; --destructive-foreground: 30 6% 6.3%;
  --border: 35 4% 19%; --input: 35 4% 19%; --ring: 150 41% 55.5%;
  --k-ok: #2f8f66; --k-ok-hover: #5fbc8e; --k-bad: #f57d55; --k-ok-text: #5fbc8e;
}
html, body { font-family: 'Klarity Sans', ui-sans-serif, system-ui, -apple-system, sans-serif !important;
  letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; }
code, pre, .font-mono { font-family: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace !important; }
h1, h2, h3, .text-2xl, .text-3xl { font-weight: 650 !important; letter-spacing: -0.02em !important; }
header .w-12.h-12 { width: 2rem !important; height: 2rem !important; }
/* Status: brand green for up, Klarity's one warm for down. */
.bg-green-400, .bg-green-500, .bg-green-600, .bg-success { background-color: var(--k-ok) !important; }
.bg-green-700, .hover\:bg-green-700:hover { background-color: var(--k-ok-hover) !important; }
.bg-red-400, .bg-red-500, .bg-red-600, .bg-red-700 { background-color: var(--k-bad) !important; }
.hover\:bg-red-700:hover { background-color: var(--k-bad) !important; filter: brightness(.9); }
.text-green-400, .text-green-500, .text-green-600, .text-green-700 { color: var(--k-ok-text) !important; }
.text-red-400, .text-red-500, .text-red-600, .text-red-700 { color: var(--k-bad) !important; }
.border-green-500, .border-green-600 { border-color: var(--k-ok) !important; }
.border-red-500, .border-red-600 { border-color: var(--k-bad) !important; }
.text-emerald-800 { color: var(--k-ok-text) !important; }
/* Empty history slots: warm hairline instead of Tailwind's blue-grey. */
.bg-gray-200 { background-color: hsl(38 7% 89%) !important; }
.dark .dark\:bg-gray-700 { background-color: hsl(35 4% 19%) !important; }
/* Gatus's floating GitHub link; the footer credit stays. */
a[href="https://github.com/TwiN/gatus"] { display: none !important; }
