:root {
  --bg: #0b1020;
  --panel: #121a31;
  --panel-border: #243150;
  --text: #e8eeff;
  --muted: #98a4c7;
  --ok: #12b76a;
  --warn: #f79009;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #1d2a4f 0%, var(--bg) 45%);
}

.container {
  width: min(1100px, 92vw);
  margin: 48px auto;
}

.page-header h1 {
  margin: 8px 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.eyebrow {
  margin: 0;
  color: #8ea2ff;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.summary {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.summary-item {
  border: 1px solid var(--panel-border);
  background: linear-gradient(150deg, #162247, #10162d);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.summary-item h2 {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.summary-item p {
  margin: 8px 0 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.env-name {
  margin: 0;
  font-size: 1.05rem;
}

.badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge.maintenance {
  color: #2b1f00;
  background: var(--warn);
}

.badge.healthy {
  color: #052e1d;
  background: var(--ok);
}

.details {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.details li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  border-top: 1px solid #1f2944;
  padding-top: 10px;
}

.details li span {
  white-space: nowrap;
}

.details li strong {
  text-align: right;
  color: var(--text);
  font-weight: 600;
  word-break: break-word;
  white-space: pre-line;
}

.notice-item {
  align-items: flex-start;
}

.notice-item .notice-text {
  text-align: left;
}

.hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.error {
  border: 1px solid #5f2429;
  background: #2d1114;
  color: #fda4af;
}

