/* ============================================================
   AI 任务建议
   ============================================================ */
.suggestions-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-summary {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border: 1px solid #d2e3fc;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 8px;
}

.ai-summary-text {
  color: #1a73e8;
  font-size: 14px;
  font-weight: 500;
}

.suggestion-group {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.suggestion-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.suggestion-group-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.suggestion-group-count {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-primary);
  padding: 3px 10px;
  border-radius: 10px;
}

.suggestion-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.suggestion-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  transition: box-shadow 0.2s;
}

.suggestion-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.suggestion-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.suggestion-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  flex: 1;
}

.suggestion-case {
  font-size: 11px;
  color: var(--info);
  background: #ebf5ff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
  font-weight: 500;
}

.suggestion-due {
  font-size: 12px;
  color: var(--warning);
  white-space: nowrap;
  font-weight: 500;
}

.suggestion-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.suggestion-reason {
  font-size: 12px;
  color: #5f6368;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  line-height: 1.5;
  border-left: 3px solid var(--accent);
}

.suggestion-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
  margin-left: 6px;
}

.badge-success { background: #e6f4ea; color: var(--success); }
.badge-danger { background: #fce8e6; color: var(--danger); }

.toolbar-actions {
  display: flex;
  gap: 8px;
}
