/* status.html only (service status board and notices). The site CSP is style-src 'self': no inline styles,
   so every state the script shows has a class here. */

.st-board {
  margin: 24px 0 8px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.st-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.doc .st-head h2 {
  margin: 0;
}

.st-summary {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
}

.st-summary-ok {
  color: #067647;
}

.st-summary-degraded {
  color: #b54708;
}

.st-summary-maintenance {
  color: #b42318;
}

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

.st-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.st-name {
  font-weight: 600;
  color: var(--ink);
}

.st-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.st-ok {
  background: #ecfdf3;
  color: #067647;
}

.st-degraded,
.st-level-info,
.st-upcoming {
  background: #fffaeb;
  color: #b54708;
}

.st-maintenance,
.st-level-maintenance,
.st-level-incident {
  background: #fef3f2;
  color: #b42318;
}

.st-level-info {
  background: var(--teal-soft);
  color: var(--teal);
}

.st-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef3f2;
  color: #b42318;
}

.st-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.st-empty {
  color: var(--muted);
}

.st-notice {
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  background: var(--surface);
}

.st-notice-maintenance,
.st-notice-incident {
  border-left-color: #b42318;
}

.st-notice-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.doc .st-notice p {
  margin: 8px 0 0;
}
