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

.ai-dashboard-metric {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.ai-dashboard-metric span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.ai-dashboard-metric strong {
  font-size: 22px;
  line-height: 1;
  color: #0f172a;
}

.ai-dashboard-preview {
  margin-top: 14px;
}

.ai-preview-row {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #ffffff;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.ai-preview-row strong {
  font-size: 14px;
  color: #0f172a;
}

.ai-preview-row span {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.ai-insight-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #ffffff;
}

.ai-insight-card--warning {
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
}

.ai-insight-card--danger {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.ai-insight-card--success {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.ai-problem-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.ai-problem-action-row {
  padding: 12px 14px;
  border-radius: 16px;
  background: #fffaf0;
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.ai-owner-tester-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 720px) {
  .ai-dashboard-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
