:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, sans-serif;
  background: #101318;
  color: #e8edf3;
}
* { box-sizing: border-box; }
body { margin: 0; padding: 36px 18px; }
main { max-width: 940px; margin: auto; }
header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 36px;
}
h1 { font-size: 25px; letter-spacing: 2px; margin: 0; }
.subtitle, .muted { color: #8c98a8; }
.subtitle { font-size: 13px; margin-top: 7px; }
.status { color: #52d6a1; font-size: 13px; }
.status:before { content: "● "; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: #1a2029;
  border: 1px solid #2b3441;
  border-radius: 14px;
  padding: 24px;
}
.wide { grid-column: 1 / -1; }
.label { color: #98a6b7; font-size: 13px; }
.value {
  font-size: 34px;
  font-weight: 650;
  margin: 12px 0;
  font-variant-numeric: tabular-nums;
}
.detail { color: #8c98a8; font-size: 13px; }
.bar {
  height: 6px;
  background: #303947;
  border-radius: 8px;
  overflow: hidden;
  margin: 18px 0 12px;
}
.fill {
  height: 100%;
  width: 0;
  background: #52a9dc;
  border-radius: 8px;
  transition: width .5s;
}
.metrics {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.metrics > div { flex: 1; min-width: 0; }
.metrics .value { font-size: 26px; }
footer {
  margin-top: 28px;
  font-size: 12px;
  color: #798696;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 600px) {
  body { padding: 24px 12px; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .metrics .value { font-size: 22px; }
  h1 { font-size: 21px; }
}
