/* Global H&S status footer – separate from the release workflows. */
.hs-status-footer {
  margin-top: var(--hs-space-5);
  padding: var(--hs-space-2) 0 var(--hs-space-3);
  color: var(--hs-text-muted);
  font-family: var(--hs-font-ui);
}
.hs-system-status { width: min(100%, 580px); }
.hs-system-status summary {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  max-width: 100%;
  gap: var(--hs-space-3);
  padding: 6px 8px;
  border-radius: var(--hs-radius-sm);
  color: var(--hs-text-muted);
  cursor: pointer;
  font-size: var(--hs-text-xs);
  line-height: 1.45;
  list-style: none;
}
.hs-system-status summary::-webkit-details-marker { display: none; }
.hs-system-status summary:hover { color: var(--hs-text); }
.hs-system-status summary:focus-visible {
  outline: 2px solid var(--hs-brand-500);
  outline-offset: 3px;
}
.hs-status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hs-text-subtle);
}
.hs-system-status[data-state="operational"] .hs-status-dot { background: var(--hs-success); }
.hs-system-status[data-state="outage"] .hs-status-dot { background: var(--hs-danger); }
.hs-status-label { min-width: 0; }
.hs-status-more { color: var(--hs-text-subtle); text-decoration: underline; text-underline-offset: 3px; }
.hs-system-status[open] .hs-status-more { text-decoration: none; }
.hs-status-panel {
  margin: var(--hs-space-2) 0 var(--hs-space-4);
  padding: var(--hs-space-4) var(--hs-space-5);
  border: 1px solid var(--hs-line-subtle);
  border-radius: var(--hs-radius-lg);
  background: var(--hs-surface-1);
  font-size: var(--hs-text-sm);
}
.hs-status-panel > p:first-child { margin: 0 0 var(--hs-space-3); color: var(--hs-text-muted); }
.hs-status-services { list-style: none; padding: 0; margin: 0; }
.hs-status-services:empty { display: none; }
.hs-status-services li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--hs-space-4);
  padding: var(--hs-space-3) 0;
  border-top: 1px solid var(--hs-line-subtle);
}
.hs-status-service-name { overflow-wrap: anywhere; }
.hs-status-service-state { font-weight: var(--hs-weight-semibold); white-space: nowrap; color: var(--hs-text-subtle); }
.hs-status-service-state.is-online { color: var(--hs-success); }
.hs-status-service-state.is-offline { color: var(--hs-danger); }
.hs-status-time { margin: var(--hs-space-4) 0 0; font-size: var(--hs-text-xs); color: var(--hs-text-subtle); }
@media (max-width: 620px) {
  .hs-status-panel { padding: var(--hs-space-4); }
  .hs-system-status summary { align-items: flex-start; }
}
