/* Tasks page — simple icons with unique colors per task kind. */

.proj-task-list.record-list > li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.proj-task-list .proj-task-link {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.proj-task-list .proj-task-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  min-width: 0;
}

.proj-task-list .proj-task-title {
  font-weight: 600;
  line-height: 1.35;
}

.proj-task-list .proj-task-ico {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  color: #334155;
  background: #f1f5f9;
}

.proj-task-list .proj-task-ico svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Review — blue */
.proj-task-list .proj-task-ico[data-kind="review"] {
  color: #1d4ed8;
  background: #dbeafe;
}

/* Confirm product — teal */
.proj-task-list .proj-task-ico[data-kind="confirm"] {
  color: #0f766e;
  background: #ccfbf1;
}

/* Quotation — amber */
.proj-task-list .proj-task-ico[data-kind="quote"] {
  color: #b45309;
  background: #fef3c7;
}

/* Catalogue / sample — indigo */
.proj-task-list .proj-task-ico[data-kind="catalogue"] {
  color: #4338ca;
  background: #e0e7ff;
}

/* Follow up — orange */
.proj-task-list .proj-task-ico[data-kind="followup"] {
  color: #c2410c;
  background: #ffedd5;
}

/* Email — sky */
.proj-task-list .proj-task-ico[data-kind="email"] {
  color: #0369a1;
  background: #e0f2fe;
}

/* Chat — green */
.proj-task-list .proj-task-ico[data-kind="chat"] {
  color: #047857;
  background: #d1fae5;
}

/* Call — emerald */
.proj-task-list .proj-task-ico[data-kind="call"] {
  color: #15803d;
  background: #dcfce7;
}

/* Lead source — slate */
.proj-task-list .proj-task-ico[data-kind="source"] {
  color: #475569;
  background: #e2e8f0;
}

/* Status update — rose */
.proj-task-list .proj-task-ico[data-kind="status"] {
  color: #be123c;
  background: #ffe4e6;
}

/* Support — violet */
.proj-task-list .proj-task-ico[data-kind="support"] {
  color: #6d28d9;
  background: #ede9fe;
}

/* Default / other — ink */
.proj-task-list .proj-task-ico[data-kind="other"] {
  color: #334155;
  background: #f1f5f9;
}
