.system-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.system-toolbar h2 {
  margin: 5px 0 7px;
}

.system-toolbar p {
  max-width: 720px;
  margin: 0;
  color: #74827b;
  line-height: 1.6;
}

.system-overview-grid,
.system-components-grid,
.system-counts-grid {
  display: grid;
  gap: 14px;
}

.system-overview-grid,
.system-components-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-counts-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.system-overview-card,
.system-component-card,
.system-count-card,
.system-link-card,
.system-security-card {
  border: 1px solid rgba(17, 69, 48, 0.11);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(4, 38, 25, 0.055);
}

.system-overview-card,
.system-component-card,
.system-security-card {
  padding: 19px;
}

.system-count-card {
  padding: 17px;
}

.system-label,
.system-section-title span {
  color: #7b8982;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.system-value {
  display: block;
  margin-top: 12px;
  color: #133126;
  font-size: 25px;
  font-weight: 850;
}

.system-detail,
.system-component-card p {
  display: block;
  margin-top: 7px;
  color: #7d8984;
  font-size: 11px;
  line-height: 1.55;
}

.system-section-title {
  margin: 27px 0 13px;
}

.system-section-title h2 {
  margin: 5px 0 0;
  color: #143126;
  font-size: 20px;
}

.system-component-heading,
.system-link-card,
.system-security-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.system-status-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  text-transform: capitalize;
}

.system-status-badge.healthy,
.system-status-badge.reachable,
.system-status-badge.active,
.system-status-badge.protected {
  color: #17623e;
  background: #e3f7eb;
}

.system-status-badge.degraded,
.system-status-badge.warning {
  color: #815500;
  background: #fff0c4;
}

.system-status-badge.disabled,
.system-status-badge.unavailable {
  color: #874c51;
  background: #f8e8e9;
}

.system-count-card strong {
  display: block;
  color: #123126;
  font-size: 25px;
}

.system-count-card span {
  display: block;
  margin-top: 5px;
  color: #7c8983;
  font-size: 11px;
}

.system-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.system-links-list,
.system-security-list {
  display: grid;
  gap: 10px;
}

.system-link-card {
  min-height: 74px;
  padding: 15px 17px;
  color: inherit;
  text-decoration: none;
}

.system-link-card.disabled {
  opacity: 0.67;
}

.system-link-copy strong,
.system-link-copy span,
.system-link-copy small {
  display: block;
}

.system-link-copy strong {
  color: #153126;
  font-size: 13px;
}

.system-link-copy span {
  margin-top: 4px;
  color: #75827c;
  font-size: 11px;
}

.system-link-copy small {
  margin-top: 3px;
  color: #98a19d;
  font-size: 10px;
}

.system-security-row {
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 69, 48, 0.08);
}

.system-security-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.system-security-row span,
.system-security-row strong {
  font-size: 11px;
}

.system-security-row span {
  color: #728079;
}

.system-security-row strong {
  max-width: 58%;
  color: #183428;
  text-align: right;
}

.system-endpoints {
  margin-top: 20px;
}

.system-endpoint-path {
  color: #17432f;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 11px;
  font-weight: 700;
}

.system-loading,
.system-error {
  padding: 35px;
  border: 1px dashed rgba(18, 70, 49, 0.18);
  border-radius: 17px;
  color: #78867f;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.system-error {
  color: #94464b;
  background: #fff7f7;
}

@media (max-width: 1150px) {
  .system-overview-grid,
  .system-components-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-counts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .system-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .system-overview-grid,
  .system-components-grid,
  .system-counts-grid {
    grid-template-columns: 1fr;
  }
}
