.hint {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 16px;
}

.loading,
.empty {
  text-align: center;
  color: #9ca3af;
  padding: 40px 0;
  font-size: 14px;
}

.entriesList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.entryCard {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fafafa;
}

.entryHeader {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.entryId {
  font-family: monospace;
  font-size: 12px;
  color: #6b7280;
}

.entryMeta {
  font-size: 12px;
  color: #9ca3af;
}

.entryMetaLink {
  color: #3b82f6;
  cursor: pointer;
  border-radius: 4px;
  padding: 1px 4px;
  transition: background 0.15s;
}

.entryMetaLink:hover {
  background: #eff6ff;
  text-decoration: underline;
}

.badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.badgeHelpful {
  background: #d1fae5;
  color: #065f46;
}

.badgeHarmful {
  background: #fee2e2;
  color: #991b1b;
}

.badgeNeutral {
  background: #f3f4f6;
  color: #374151;
}

.entryTask {
  font-size: 14px;
  color: #111827;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.5;
}

.entryEval {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  font-size: 13px;
}

.evalScore {
  font-weight: 600;
  color: #0369a1;
  white-space: nowrap;
}

.evalReasoning {
  margin: 0;
  color: #374151;
  line-height: 1.6;
  flex: 1;
  min-width: 0;
}

.evalNoReasoning {
  color: #9ca3af;
  font-style: italic;
}

.entryContentWrapper {
  margin-bottom: 12px;
}

.expandToggle {
  font-size: 12px;
  color: #3b82f6;
  cursor: pointer;
  user-select: none;
}

.expandToggle:hover {
  text-decoration: underline;
}

.entryContent {
  margin-top: 8px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: #374151;
}

.feedbackRow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feedbackLabel {
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
}

.overrideForm {
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.overrideRow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.overrideLabel {
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
  padding-top: 6px;
  min-width: 80px;
}

.feedbackTextarea {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  resize: vertical;
  outline: none;
  font-family: inherit;
  color: #374151;
}

.feedbackTextarea:focus {
  border-color: #3b82f6;
}

/* Footer */
.footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 4px;
}

.cancelBtn {
  height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
}

.cancelBtn:hover:not(:disabled) {
  background: #f9fafb;
}

.cancelBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.submitBtn {
  height: 36px;
  padding: 0 20px;
  border-radius: 6px;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.submitBtn:hover:not(:disabled) {
  background: #2563eb;
}

.submitBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
