.diagnostics-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.diagnostics-card {
  background: #fff;
  border: 1px solid #d9e2e1;
  border-radius: 16px;
  padding: 18px;
}

.diagnostics-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.health-score {
  display: grid;
  justify-items: end;
}

.health-score strong {
  font-size: var(--font-size-4xl, 2rem);
  color: #1e3c38;
}

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

.summary-card ul,
.check-list {
  margin: 0;
  padding-left: 18px;
}

.check-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.check-list li.failed {
  color: #991b1b;
}

.entries {
  display: grid;
  gap: 12px;
}

.entry {
  border: 1px solid #d9e2e1;
  border-radius: var(--radius-md, 12px);
  padding: 14px;
}

.entry[data-severity='critical'] {
  border-color: #991b1b;
}

.entry[data-severity='error'] {
  border-color: #c2410c;
}

.entry[data-severity='warning'] {
  border-color: #ca8a04;
}

.entry-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.severity {
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--font-size-sm, 0.8125rem);
}

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

  .diagnostics-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .health-score {
    justify-items: start;
  }
}
