/* Hide the Past Incidents section on the index page */
.layout-content.status-index .incidents-list {
    display: none !important;
}

/* Hide Statuspage attribution */
.powered-by {
    display: none !important;
}
/* ══ COMPONENT SEARCH & FILTER ════════════════════════════════ */
#kx-comp-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

#kx-comp-search {
  flex: 1 1 260px;
  min-width: 0;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  color: #101114;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#kx-comp-search::placeholder { color: #959595; }
#kx-comp-search:focus {
  border-color: #7132f5;
  box-shadow: 0 0 0 3px rgba(113, 50, 245, .12);
}

#kx-comp-issues {
  padding: 9px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #6d6d6d;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
#kx-comp-issues:hover { color: #101114; border-color: #6d6d6d; }
#kx-comp-issues.is-on {
  color: #fff;
  background: #7132f5;
  border-color: #7132f5;
}

#kx-comp-count {
  font-size: 13px;
  color: #959595;
  margin-left: auto;
  white-space: nowrap;
}

.kx-hidden { display: none !important; }

/* Per-group status summary */
.kx-group-note {
  font-size: 12px;
  font-weight: 400;
  color: #959595;
  margin-left: 8px;
  white-space: nowrap;
}
.kx-group-note.has-issues { color: #c9373c; font-weight: 500; }

/* Stop enormous groups running off the page */
.child-components-container {
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.child-components-container.kx-unbounded { max-height: none; overflow: visible; }

/* Filtering state: no inner scroll, results should all be visible */
.kx-filtering .child-components-container {
  max-height: none;
  overflow: visible;
}

#kx-comp-empty {
  padding: 18px 4px;
  font-size: 14px;
  color: #6d6d6d;
}

@media (max-width: 600px) {
  #kx-comp-count { margin-left: 0; width: 100%; }
  #kx-comp-issues { flex: 1 1 auto; }
}
/* Group issue count: amber, not red */
.kx-group-note.has-issues {
    color: #B57E00;
}

/* Status legend under the components list */
.component-statuses-legend,
.components-statuses-legend,
.legend {
    display: none !important;
}