body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #111827;
  margin: 24px;
}

h1 {
  font-size: 24px;
  margin-bottom: 6px;
}

h2 {
  font-size: 18px;
  margin: 24px 0 12px;
}

.meta {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 18px;
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.score-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.score-good {
  background: #22c55e;
}

.score-ok {
  background: #f59e0b;
}

.score-poor {
  background: #ef4444;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stat {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}

.stat strong {
  display: block;
  font-size: 16px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  text-align: left;
  font-size: 13px;
}

th {
  background: #f3f4f6;
}

.issue-list {
  margin: 0;
  padding-left: 18px;
}

.severity-critical {
  color: #dc2626;
  font-weight: 600;
}

.severity-high {
  color: #f59e0b;
  font-weight: 600;
}

.severity-medium {
  color: #3b82f6;
  font-weight: 600;
}

.severity-low {
  color: #10b981;
  font-weight: 600;
}
