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

body {
  font-family: system-ui, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  gap: 2.5rem;
}

header { text-align: center; }
header h1 { font-size: 2.2rem; color: #38bdf8; }
header p  { color: #64748b; margin-top: 0.4rem; font-size: 0.9rem; }

.metrics { width: 100%; max-width: 640px; }
.metrics h2 { color: #94a3b8; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 0.4rem; }
.updated { color: #475569; font-size: 0.78rem; margin-bottom: 1.2rem; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.card {
  background: #1e293b;
  border: 1px solid #1e3a5f;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card:first-child { grid-column: 1 / -1; }

.label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: .08em; }
.value { font-size: 0.9rem; color: #94a3b8; }

.bar-wrap {
  background: #0f172a;
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}

.bar {
  height: 100%;
  border-radius: 4px;
  background: #38bdf8;
  transition: width 0.6s ease;
}

.bar.warn   { background: #f59e0b; }
.bar.danger { background: #ef4444; }

.stat { justify-content: center; }
.stat .value { font-size: 1rem; color: #e2e8f0; }
