/* Funktionen 2026-11: Quellenlücken mit Reparaturweg und Feedback an James. */

/* Reparaturwege in der Quellenprüfung */
.source-repair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 4px;
}
.source-repair .source-repair-action {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line, #ece8e4);
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #1c1b1a);
  font-size: .75rem;
  font-weight: 500;
  text-decoration: none;
}
.source-repair .source-repair-action:hover { background: var(--hover, #f3efeb); border-color: var(--line, #ece8e4); }
.source-repair small { flex-basis: 100%; color: var(--muted, #6b6560); font-size: .72rem; }
.source-repair-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  color: var(--brand-dark, #9c421b);
  font-size: .72rem;
  font-weight: 600;
}
.source-repair-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand, #e9763e);
}

/* Hinweis „Feedback offen“ im Aufgabenkopf */
.feedback-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6b7fa8;
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
}
.feedback-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid #6b7fa8;
}

/* Formular „Feedback an James“ im Mehr-Bereich */
.task-feedback-form .feedback-intro { margin: 6px 0 8px; color: var(--muted, #6b6560); font-size: .78rem; }
.task-feedback-form .feedback-open { margin: 0 0 10px; padding-left: 16px; color: #4a4541; font-size: .78rem; }
.feedback-form { display: grid; gap: 8px; max-width: 520px; }
.feedback-form label { color: var(--muted, #6b6560); font-size: .78rem; font-weight: 500; }
.feedback-form select, .feedback-form textarea { margin-top: 3px; font-size: .85rem; }
.feedback-form textarea { min-height: 3.5rem; }
.feedback-form button { justify-self: start; min-height: 32px; font-size: .8rem; }
