:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
html:root,
html:root.dark {
  color-scheme: dark;
  --background: 30 6% 6%;
  --foreground: 20 16% 94%;
  --card: 30 4% 9%;
  --card-foreground: 20 16% 94%;
  --popover: 30 4% 9%;
  --popover-foreground: 20 16% 94%;
  --primary: 7 100% 66%;
  --primary-foreground: 20 16% 94%;
  --secondary: 24 5% 13%;
  --secondary-foreground: 20 16% 94%;
  --muted: 24 5% 13%;
  --muted-foreground: 18 8% 71%;
  --accent: 7 100% 66%;
  --accent-foreground: 30 6% 6%;
  --destructive: 0 66% 50%;
  --destructive-foreground: 20 16% 94%;
  --border: 24 6% 18%;
  --input: 24 6% 18%;
  --ring: 7 100% 66%;
  --radius: 0.75rem;
}
* { box-sizing: border-box; }
html { background: hsl(var(--background)); }
body { min-width: 320px; background: hsl(var(--background)); color: hsl(var(--foreground)); font-size: 16px; }
button, input { font: inherit; }
button { color: inherit; }

header { border-color: hsl(var(--border)); background: hsl(var(--card) / .72); backdrop-filter: blur(14px); }
header div:has(> img[alt="Gatus"]) {
  width: min(276px, calc(100vw - 32px));
  height: auto;
  aspect-ratio: 304 / 64;
  display: grid;
  place-items: center start;
  flex: 0 0 auto;
}
header img[alt="Gatus"] { display: block; width: 100%; height: 100%; object-fit: contain; }
header h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dashboard-container > .container { padding-top: 32px; padding-bottom: 48px; }
.dashboard-container > .container > .mb-6 > .flex.items-center.justify-between { margin-bottom: 24px; }
button[title="Show min-max response time"],
button[title="Show average response time"],
button[title="Refresh data"] {
  width: 40px;
  height: 40px;
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
}
button[title="Show min-max response time"],
button[title="Show average response time"] {
  border-color: hsl(7 100% 66% / .32);
  background: hsl(7 100% 66% / .08);
  color: hsl(var(--primary));
}
button[title="Show min-max response time"]:hover,
button[title="Show average response time"]:hover,
button[title="Refresh data"]:hover {
  border-color: hsl(24 6% 28%);
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
}
button:focus-visible, input:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }

.dashboard-container .bg-card.rounded-lg.border:has(#search-input) {
  border-color: hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
}
#search-input { border-color: hsl(var(--input)); border-radius: 9px; background: hsl(var(--background)); color: hsl(var(--foreground)); }
#search-input::placeholder { color: hsl(var(--muted-foreground)); }
button[aria-haspopup="true"][aria-expanded] {
  height: 40px;
  border-color: hsl(var(--input));
  border-radius: 9px;
  background: hsl(var(--background));
  line-height: 1;
}
button[aria-haspopup="true"][aria-expanded="true"] {
  border-color: hsl(var(--ring));
  background: hsl(var(--secondary));
  box-shadow: 0 0 0 2px hsl(var(--ring) / .14);
}
button[aria-haspopup="true"][aria-expanded] > svg {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
  align-self: center;
  margin-left: 4px;
  fill: none;
  stroke: hsl(var(--muted-foreground));
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(.5px);
  transform-origin: 50% 50%;
}
button[aria-haspopup="true"][aria-expanded]:active > svg,
button[aria-haspopup="true"][aria-expanded]:focus-visible > svg,
button[aria-haspopup="true"][aria-expanded="true"] > svg { transform: translateY(.5px); }

.endpoint-group {
  border-color: hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
}
.endpoint-group-header {
  min-height: 58px;
  border-bottom-color: transparent;
  background: hsl(var(--card));
}
.endpoint-group-header:has(+ .endpoint-group-content) { border-bottom-color: hsl(var(--border)); }
.endpoint-group-header h2 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.endpoint-group-header > div:first-child > svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 18px;
  color: hsl(var(--muted-foreground));
  stroke-width: 2;
}
.endpoint-group-header > div:last-child:has(> svg) {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(102 183 122 / 28%);
  border-radius: 50%;
  background: rgb(102 183 122 / 7%);
}
.endpoint-group-header > div:last-child > svg { width: 19px; height: 19px; color: #78c78d; stroke-width: 2; }
.endpoint-group-content { background: hsl(var(--background) / .32); }

.endpoint, .suite {
  min-width: 0;
  overflow: hidden;
  border-color: hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  box-shadow: 0 10px 28px rgb(0 0 0 / 12%);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.endpoint:hover, .suite:hover {
  transform: none;
  border-color: hsl(24 6% 28%);
  box-shadow: 0 12px 34px rgb(0 0 0 / 18%);
}
.endpoint-header, .suite-header { border-bottom-color: transparent; }
.endpoint-header [role="link"], .suite-header [role="link"] { color: hsl(var(--foreground)); font-weight: 720; letter-spacing: -.02em; }
.endpoint-header [role="link"]:hover, .suite-header [role="link"]:hover { color: hsl(var(--primary)); }
.endpoint-header .bg-green-500, .suite-header .bg-green-500 { background-color: #2f7d4a; }
.endpoint-header .bg-green-400, .suite-header .bg-green-400 { background-color: #8ddd9e; }
.endpoint-content .bg-green-500, .suite-content .bg-green-500 { background-color: #3b8f58; }

#social { display: none !important; }
footer > div.container > div.flex.flex-col.items-center > div.text-sm.text-muted-foreground.text-center { display: none !important; }
h1.text-4xl { display: none !important; }
h1.text-4xl + p { display: none !important; }

@media (max-width: 639px) {
  header div:has(> img[alt="Gatus"]) { width: min(240px, calc(100vw - 24px)); }
  .dashboard-container > .container { padding: 20px 12px 40px; }
  .dashboard-container > .container > .mb-6 > .flex.items-center.justify-between { margin-bottom: 16px; }
  .dashboard-container .bg-card.rounded-lg.border:has(#search-input) { padding: 12px; }
  .endpoint-group-header { min-height: 54px; padding: 14px; }
  .endpoint-group-header h2 { font-size: 16px; }
  .endpoint-group-content { padding: 12px; }
  .endpoint-header, .suite-header { padding: 16px 14px 7px; }
  .endpoint-content, .suite-content { padding: 7px 14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
/* Inert load identity: SHA-256 of framed exact YAML with only the hex below zeroed. */
/* gatus-config-release: 508ea73f14bf1353d9d1f74576e82147ecccf71571119ee940bb25ec260cc1e2 */
