:root {
  --bg: #0a0e1a;
  --bg-soft: #111827;
  --card: rgba(30, 41, 59, 0.6);
  --card-solid: #1e293b;
  --card-border: rgba(148, 163, 184, 0.12);
  --card-border-hover: rgba(251, 191, 36, 0.3);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent: #fbbf24;
  --accent-soft: rgba(251, 191, 36, 0.1);
  --up: #22c55e;
  --up-soft: rgba(34, 197, 94, 0.15);
  --degraded: #f59e0b;
  --down: #ef4444;
  --down-soft: rgba(239, 68, 68, 0.15);
  --unknown: #475569;
  --shadow-lg: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 20px -4px rgba(0, 0, 0, 0.3);
  --radius: 14px;
  --radius-sm: 8px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f1f5f9;
    --bg-soft: #e2e8f0;
    --card: rgba(255, 255, 255, 0.8);
    --card-solid: #ffffff;
    --card-border: rgba(15, 23, 42, 0.08);
    --card-border-hover: rgba(251, 191, 36, 0.5);
    --text: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;
    --accent-soft: rgba(251, 191, 36, 0.15);
    --shadow-lg: 0 20px 60px -20px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 1200px 600px at top, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 800px 400px at bottom right, rgba(99, 102, 241, 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #fcd34d; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ===== Header ===== */
.site-header {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 14, 26, 0.7);
  border-bottom: 1px solid var(--card-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
@media (prefers-color-scheme: light) {
  .site-header { background: rgba(248, 250, 252, 0.8); }
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
.site-nav a {
  margin-left: 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--accent); }

main.container { flex: 1; padding-top: 36px; padding-bottom: 60px; }

/* ===== Hero / bannière globale ===== */
.hero {
  position: relative;
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 28px;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.15), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.1), transparent 40%);
  pointer-events: none;
}
.hero-operational { background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%); }
.hero-partial { background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%); }
.hero-major { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%); }

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: bold;
  border: 1px solid rgba(255,255,255,0.3);
}
.hero-text h1 {
  margin: 0 0 6px 0;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-text .hero-sub {
  margin: 0;
  font-size: 1rem;
  opacity: 0.95;
}
.hero-big-uptime {
  text-align: right;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.25);
}
.hero-big-uptime .big {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.hero-big-uptime .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-top: 4px;
}

/* ===== KPI strip ===== */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.kpi {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.kpi-value {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.kpi-value.up { color: var(--up); }
.kpi-value.down { color: var(--down); }
.kpi-value.warn { color: var(--degraded); }
.kpi-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  font-weight: 500;
}

/* ===== Categories ===== */
.category { margin-bottom: 32px; }
.category-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--card-border);
}

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* ===== Service card ===== */
.service-card {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--unknown);
  transition: background 0.2s ease;
}
.service-card.s-up::before { background: var(--up); }
.service-card.s-down::before { background: var(--down); }
.service-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}
.service-identity { min-width: 0; }
.service-name {
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-name:hover { color: var(--accent); }
.service-desc {
  margin: 2px 0 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.service-stats { text-align: right; flex-shrink: 0; }
.uptime-big {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--up);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.service-card.s-down .uptime-big { color: var(--down); }
.service-card.s-unknown .uptime-big { color: var(--text-dim); }
.uptime-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.pill-status.up { background: var(--up-soft); color: var(--up); }
.pill-status.down { background: var(--down-soft); color: var(--down); }
.pill-status.unknown { background: rgba(148,163,184,0.15); color: var(--text-muted); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot.up { background: var(--up); box-shadow: 0 0 0 3px var(--up-soft); }
.dot.down { background: var(--down); box-shadow: 0 0 0 3px var(--down-soft); animation: pulse 1.5s infinite; }
.dot.unknown { background: var(--unknown); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--down-soft); transform: scale(1); }
  50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0.05); transform: scale(1.05); }
}

/* ===== Bar chart 90j ===== */
.bar-chart {
  display: flex;
  gap: 2px;
  height: 34px;
  align-items: stretch;
  margin: 4px 0;
}
.bar-chart-lg { height: 50px; gap: 3px; }
.bar {
  flex: 1;
  min-width: 2px;
  border-radius: 2px;
  cursor: help;
  transition: transform 0.12s ease, filter 0.12s ease;
  opacity: 0.9;
}
.bar:hover {
  transform: scaleY(1.15);
  filter: brightness(1.3);
  opacity: 1;
}
.bar.up { background: linear-gradient(180deg, #34d399, #16a34a); }
.bar.degraded { background: linear-gradient(180deg, #fbbf24, #d97706); }
.bar.down { background: linear-gradient(180deg, #f87171, #dc2626); }
.bar.unknown { background: var(--unknown); opacity: 0.35; }

.service-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.service-foot .latency-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--accent-soft);
  border-radius: 10px;
  color: var(--accent);
  font-weight: 600;
}
.restart-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.restart-badge.pending {
  background: rgba(100, 116, 139, 0.15);
  color: var(--text-muted);
}
.auto-restart-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -20px 0 32px 0;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pill-mini {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  text-transform: uppercase;
}
.pill-mini.on { background: var(--up-soft); color: var(--up); }
.restart-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.restart-summary code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--text);
  font-size: 0.8rem;
}

/* ===== Incidents ===== */
.incidents { margin-top: 48px; }
.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}
.incident-list { list-style: none; padding: 0; margin: 0; }
.incident {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--down);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 8px;
}
.incident.resolved { border-left-color: var(--up); opacity: 0.75; }
.incident-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.incident-head strong { font-weight: 700; }
.incident-tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 10px;
  background: var(--down);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.incident.resolved .incident-tag { background: var(--up); }
.incident-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.incident-reason { font-size: 0.88rem; color: var(--text); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 24px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: auto;
  text-align: center;
}
.site-footer p { margin: 3px 0; }

/* ===== Detail page ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.back-link:hover { color: var(--accent); }

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.detail-title { display: flex; align-items: center; gap: 16px; }
.detail-title .service-icon { width: 56px; height: 56px; font-size: 1.2rem; }
.detail-title h1 { margin: 0; font-size: 1.8rem; letter-spacing: -0.02em; font-weight: 800; }
.detail-links { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  background: var(--accent);
  color: #0a0e1a;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: all 0.15s ease;
}
.btn:hover { background: #fcd34d; color: #0a0e1a; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--card); border-color: var(--card-border-hover); color: var(--text); }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

h2 { font-size: 1.15rem; margin: 28px 0 14px; font-weight: 700; letter-spacing: -0.01em; }

.checks-table-wrap {
  overflow-x: auto;
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}
.checks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.checks-table th, .checks-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}
.checks-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.1);
}
.checks-table tr:last-child td { border-bottom: none; }
.checks-table td.err { color: var(--text-muted); max-width: 400px; overflow: hidden; text-overflow: ellipsis; font-size: 0.82rem; }
.checks-table td.ts { font-variant-numeric: tabular-nums; color: var(--text-muted); }

.pill {
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pill-up { background: var(--up-soft); color: var(--up); }
.pill-down { background: var(--down-soft); color: var(--down); }

/* ===== API docs page ===== */
.api-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 28px 32px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(99, 102, 241, 0.05));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.api-hero h1 { margin: 0 0 8px 0; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.api-lead { margin: 0 0 14px 0; color: var(--text-muted); max-width: 62ch; line-height: 1.55; }
.api-hero-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.api-hero-base { text-align: right; }
.api-base-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 6px;
}
.api-base-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92rem;
  color: var(--text);
}

.api-endpoint {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 18px;
  transition: border-color 0.15s ease;
}
.api-endpoint:hover { border-color: var(--card-border-hover); }

.api-ep-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.api-ep-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.api-method {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.api-method.m-get { background: var(--up-soft); color: var(--up); }
.api-method.m-post { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.api-path {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  word-break: break-all;
}
.api-ep-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: right;
}
.api-ep-desc {
  margin: 0 0 16px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.api-block {
  margin-bottom: 12px;
}
.api-block:last-child { margin-bottom: 0; }
.api-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.api-block-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.api-code {
  margin: 0;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  min-height: 24px;
}
@media (prefers-color-scheme: light) {
  .api-code { background: #0f172a; color: #e2e8f0; }
}
.api-out { min-height: 64px; max-height: 360px; overflow: auto; }
.api-out[data-loading="1"] { opacity: 0.6; }
.api-out.err { color: #fca5a5; }

.btn-copy, .btn-try {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--card-border);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.15s ease;
}
.btn-copy:hover { background: var(--accent); color: #0a0e1a; }
.btn-try {
  background: var(--accent);
  color: #0a0e1a;
  padding: 7px 16px;
  font-size: 0.8rem;
  border: none;
}
.btn-try:hover { background: #fcd34d; transform: translateY(-1px); }
.btn-try[data-loading="1"] { opacity: 0.6; cursor: progress; }

.api-fields {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.api-fields li code {
  display: inline-block;
  padding: 4px 10px;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* Badges grid */
.api-badges { margin-top: 40px; }
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.badge-cell {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.badge-cell img { height: 22px; }
.badge-url {
  font-size: 0.7rem;
  color: var(--text-muted);
  word-break: break-all;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.api-bottom {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.api-bottom-item h3 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .hero-content { grid-template-columns: auto 1fr; }
  .hero-big-uptime { grid-column: 1 / -1; border-left: none; border-top: 1px solid rgba(255,255,255,0.25); padding: 12px 0 0 0; text-align: left; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .service-head { grid-template-columns: auto 1fr; }
  .service-stats { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 10px; }
  .detail-head { flex-direction: column; }
  .hero { padding: 24px; }
  .api-hero { grid-template-columns: 1fr; }
  .api-hero-base { text-align: left; }
  .api-bottom { grid-template-columns: 1fr; }
  .api-ep-head { flex-direction: column; align-items: flex-start; }
  .api-ep-title { text-align: left; }
}
