:root {
  --bg: #f5f7f9;
  --panel: #ffffff;
  --ink: #17212b;
  --muted: #657487;
  --line: #dbe2ea;
  --accent: #006d77;
  --accent-dark: #004c55;
  --ok: #16794c;
  --warn: #946200;
  --unknown: #55606d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  background: #0f2f38;
  color: #fff;
}

.topbar h1 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 700;
}

.topbar p {
  margin: 0;
  color: #c8dce1;
}

.env {
  min-width: 76px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
}

.layout {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 24px 28px 36px;
}

.summary {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 12px;
  margin-bottom: 18px;
}

.summary > div,
.surface {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary > div {
  min-height: 82px;
  padding: 16px;
}

.label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.summary strong {
  display: block;
  font-size: 24px;
}

.surface {
  margin-top: 16px;
  padding: 18px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 19px;
}

.section-title span {
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

td small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.status {
  display: inline-block;
  min-width: 76px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eef2f6;
  color: var(--unknown);
  font-weight: 700;
  text-align: center;
}

.status-online {
  background: #e4f5ec;
  color: var(--ok);
}

.status-degraded {
  background: #fff2cf;
  color: var(--warn);
}

.status-planned,
.status-unknown {
  background: #edf1f5;
  color: var(--unknown);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.list strong,
.list span,
.list small {
  display: block;
}

.list span,
.empty {
  color: var(--muted);
}

.list small {
  color: var(--muted);
  margin-top: 3px;
}

@media (max-width: 820px) {
  .topbar,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary,
  .two-col {
    grid-template-columns: 1fr;
  }

  .layout {
    padding: 16px;
  }
}

