.threat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.threat-score {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.threat-EXTREME { background: rgba(239, 68, 68, 0.2); border: 2px solid #ef4444; color: #ef4444; }
.threat-HIGH    { background: rgba(249, 115, 22, 0.2); border: 2px solid #f97316; color: #f97316; }
.threat-MODERATE { background: rgba(245, 158, 11, 0.2); border: 2px solid #f59e0b; color: #f59e0b; }
.threat-ELEVATED { background: rgba(56, 189, 248, 0.2); border: 2px solid #38bdf8; color: #38bdf8; }
.threat-LOW     { background: rgba(34, 197, 94, 0.2); border: 2px solid #22c55e; color: #22c55e; }

.threat-overview {
  text-align: center;
}

.threat-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.threat-meta {
  font-size: 0.85rem;
  opacity: 0.7;
}

.threat-meta p {
  margin: 0.25rem 0;
}

.insight-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.insight-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.insight-list li:last-child {
  border-bottom: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--surface, #1a1a2e);
  border: 1px solid var(--border, #333);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.stat-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.wx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.wx-table th,
.wx-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border, #333);
}

.wx-table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
