/* ─────────────────────────────────────────────
 * AI 사고분석 DB 연동 — 이력 패널, 결과 메타
 * ───────────────────────────────────────────── */

.anlz-history {
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
  border: 1px solid var(--primary-100);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.anlz-hist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.anlz-hist-head span {
  font-size: 10px;
  font-weight: 800;
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
}

.anlz-hist-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.anlz-hist-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.12s;
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 280px;
}
.anlz-hist-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.anlz-hist-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.anlz-hist-time {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-400);
}

.anlz-hist-empty {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  padding: 8px;
  text-align: center;
}

.anlz-result-meta {
  font-size: 11px;
  font-weight: 800;
  color: var(--gray-500);
  margin-bottom: 12px;
  padding: 6px 12px;
  background: var(--gray-50);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}
