/* État des services — /status */

.st-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.st .hc-section-head {
  margin-bottom: 16px;
}

.st .hc-section-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.st-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--hc-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.st-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid rgba(15, 48, 96, 0.08);
  font-size: 0.95rem;
  color: var(--hc-ink);
}

.st-list li:first-child {
  border-top: 0;
}

.st-list__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.st-flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(15, 48, 96, 0.12);
  flex-shrink: 0;
}

.st-vps {
  margin-top: 28px;
}

.st-vps .hc-section-head p {
  margin: 0.35rem 0 0;
  color: var(--hc-muted);
  font-size: 0.92rem;
}

.st-list--vps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.st-list--vps li {
  border-top: 0;
  border-right: 1px solid rgba(15, 48, 96, 0.08);
  border-bottom: 1px solid rgba(15, 48, 96, 0.08);
}

.st-list--vps li:nth-child(2n) {
  border-right: 0;
}

.st-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st-badge--up {
  background: #ecfdf5;
  color: #047857;
}

.st-badge--resolved {
  background: #eff6ff;
  color: #1d4ed8;
  vertical-align: middle;
  margin-left: 8px;
}

.st-ok {
  max-width: 560px;
  margin: 0 auto 28px;
  padding: 28px 24px;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed #86efac;
  background: #f0fdf4;
}

.st-ok i {
  font-size: 1.8rem;
  color: #16a34a;
  margin-bottom: 10px;
}

.st-ok h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: #166534;
}

.st-ok p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.st-subhead {
  margin: 28px 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
}

.st-events {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.st-event {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--hc-line);
  background: #fff;
}

.st-event--current {
  border-color: rgba(239, 68, 68, 0.35);
  background: #fff7f7;
}

.st-event--planned {
  border-color: rgba(245, 158, 11, 0.35);
  background: #fffbeb;
}

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

.st-event h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
}

.st-event time {
  font-size: 0.85rem;
  color: var(--hc-muted);
}

.st-event p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.st-affected {
  margin-top: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 600;
  color: var(--hc-ink) !important;
}

.st-empty {
  text-align: center;
  color: var(--hc-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .st-grid {
    grid-template-columns: 1fr;
  }

  .st-list--vps {
    grid-template-columns: 1fr;
  }

  .st-list--vps li {
    border-right: 0;
  }
}
