/* Status page — minimal dark-mode CSS aligned with the 50x/maintenance pages. */
:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --fg: #e6e8eb;
  --dim: #9aa0a8;
  --ok: #5ad19a;
  --warn: #ffd27d;
  --err: #ff7d7d;
  --line: #1a1d24;
  --link: #7da7ff;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}
body {
  min-height: 100vh;
  padding: 2rem 1.25rem;
}

header {
  max-width: 64rem;
  margin: 0 auto 2rem;
}
header h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
header p {
  color: var(--dim);
  margin: 0;
  font-size: 0.95rem;
}
header .meta {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  font-variant-numeric: tabular-nums;
}

main {
  max-width: 64rem;
  margin: 0 auto;
}
.overall {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}
.overall .pill {
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
thead th {
  text-align: left;
  color: var(--dim);
  font-weight: 500;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tbody td {
  padding: 0.65rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody a {
  color: var(--link);
  text-decoration: none;
}
tbody a:hover {
  text-decoration: underline;
}
.slug {
  color: var(--dim);
  font-size: 0.82rem;
}

.pill {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid currentColor;
}
.pill.ok {
  color: var(--ok);
}
.pill.warn {
  color: var(--warn);
}
.pill.err {
  color: var(--err);
}
.pill.unknown {
  color: var(--dim);
}

.dim {
  color: var(--dim);
}
.cert-soon {
  color: var(--warn);
}
.cert-critical {
  color: var(--err);
}

footer {
  max-width: 64rem;
  margin: 2rem auto 0;
  color: var(--dim);
  font-size: 0.8rem;
  text-align: center;
}
footer a {
  color: var(--link);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  tbody td.cert-col,
  thead th.cert-col,
  tbody td.deploy-col,
  thead th.deploy-col {
    display: none;
  }
}
