:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #5d6b78;
  --line: #d7e0e6;
  --accent: #0f766e;
  --accent-dark: #0b534e;
  --warn: #a15c00;
  --ok: #067647;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}
.topbar,
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar { margin-bottom: 18px; }
.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 8px;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1;
}
h2 {
  margin-bottom: 8px;
  font-size: 18px;
}
.lede,
.panel p {
  color: var(--muted);
  line-height: 1.5;
}
.status-pill {
  border-radius: 999px;
  padding: 8px 12px;
  background: #ecfdf3;
  color: var(--ok);
  font-weight: 800;
  white-space: nowrap;
}
.status-pill.degraded {
  background: #fff3d6;
  color: var(--warn);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 14px 38px rgba(20, 31, 43, 0.08);
}
.wide { margin-bottom: 14px; }
button {
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}
button:hover { background: var(--accent-dark); }
button.secondary {
  background: #e8eef2;
  color: var(--text);
}
.button-row {
  display: flex;
  gap: 10px;
}
pre {
  overflow: auto;
  background: #101820;
  color: #e8eef8;
  border-radius: 6px;
  padding: 14px;
  min-height: 120px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .topbar,
  .section-header {
    align-items: stretch;
    flex-direction: column;
  }
  .grid { grid-template-columns: 1fr; }
  .button-row { flex-direction: column; }
}
