:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: #131a21;
  --panel-2: #17222c;
  --text: #edf3f7;
  --muted: #8ea0ae;
  --line: #253441;
  --accent: #69d2a0;
  --accent-2: #72b7ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(105, 210, 160, 0.10), transparent 360px),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
code { color: #c7f2dc; font-size: 0.92em; }

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 { font-size: clamp(34px, 7vw, 72px); line-height: 0.95; }
h2 { font-size: 24px; }

.quicklinks, .ops {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quicklinks a, .ops a, .section-head a {
  border: 1px solid var(--line);
  background: rgba(19, 26, 33, 0.82);
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 700;
}

.quicklinks .primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #06130d;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.status-grid article, .panel {
  border: 1px solid var(--line);
  background: rgba(19, 26, 33, 0.92);
  border-radius: 8px;
}

.status-grid article { padding: 18px; }
.status-grid span { color: var(--muted); font-size: 13px; }
.status-grid strong { display: block; margin-top: 6px; font-size: 20px; }
.status-grid p { margin: 8px 0 0; color: var(--muted); }

.panel { padding: 20px; margin-top: 14px; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.recent-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.item {
  min-height: 130px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 8px;
}

.item small { color: var(--accent-2); }
.item h3 { margin: 10px 0 8px; font-size: 17px; line-height: 1.3; }
.item p { margin: 0; color: var(--muted); font-size: 13px; }

.two-col {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;
}

.flow {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.flow li { margin: 10px 0; }
.ops a { width: calc(50% - 5px); text-align: center; }

@media (max-width: 820px) {
  .topbar { align-items: start; flex-direction: column; }
  .status-grid, .two-col { grid-template-columns: 1fr; }
  .ops a { width: 100%; }
}
