* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0f1117;
  color: #e6e6e6;
  padding: 32px 16px;
}
.wrap { max-width: 780px; margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
h1 { font-size: 22px; margin: 0; }
.overall { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.overall.ok { background: #16351f; color: #4ade80; }
.overall.fail { background: #3a1418; color: #f87171; }

.agents { display: flex; flex-direction: column; gap: 14px; }
.agent-card {
  background: #171a22;
  border: 1px solid #262a35;
  border-radius: 14px;
  padding: 16px 18px;
}
.agent-card.fail { border-color: #7f1d1d55; }

.agent-header { display: flex; align-items: center; gap: 12px; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.agent-card.ok .dot { background: #4ade80; box-shadow: 0 0 8px #4ade80aa; }
.agent-card.fail .dot { background: #f87171; box-shadow: 0 0 8px #f87171aa; }

.agent-title { flex: 1; min-width: 0; }
.agent-name { font-weight: 700; font-size: 15px; }
.agent-host { font-size: 12px; color: #6b7280; }

.badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.agent-card.ok .badge { background: #16351f; color: #4ade80; }
.agent-card.fail .badge { background: #3a1418; color: #f87171; }

.checks { margin-top: 12px; padding-top: 12px; border-top: 1px solid #262a35; display: flex; flex-direction: column; gap: 7px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.check-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.check.ok .check-dot { background: #4ade80; }
.check.fail .check-dot { background: #f87171; }
.check-name { font-weight: 600; color: #cbd0d8; flex-shrink: 0; }
.check-message { color: #9aa0ab; }

.agent-meta { margin-top: 10px; font-size: 11px; color: #6b7280; }

footer { text-align: center; color: #6b7280; font-size: 12px; margin-top: 28px; }
