/* ===========================================================
   tasks.css — Tasks tab (kanban board)
   =========================================================== */

.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: calc(100vh - 65px - 64px - 80px - 36px);
}

.kanban-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; flex-direction: column;
  overflow: hidden;
}

.kanban-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.kanban-head-name {
  font-family: var(--serif);
  font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}

.kanban-head-name::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.kanban-head[data-col="review"]   .kanban-head-name::before { background: var(--cyan); }
.kanban-head[data-col="progress"] .kanban-head-name::before { background: var(--amber); }
.kanban-head[data-col="done"]     .kanban-head-name::before { background: var(--green); }

.kanban-count {
  font-size: 11px; color: var(--text-3);
  background: var(--surface-3);
  padding: 2px 8px; border-radius: 10px;
  font-family: var(--mono);
}

.kanban-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex; flex-direction: column;
  gap: 10px;
}

.task {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px;
  cursor: pointer;
  transition: all .15s;
}
.task:hover { border-color: var(--border-bright); transform: translateY(-1px); }

.task-title {
  font-family: var(--serif);
  font-size: 13px; font-weight: 500;
  color: var(--text);
  margin-bottom: 6px; line-height: 1.35;
}

.task-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px;
}

.task-id { font-size: 10px; color: var(--text-3); font-family: var(--mono); }

.task-assigned {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; color: var(--text-2);
}

.task-avatar {
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, #4a5568, #2d3748);
  display: grid; place-items: center;
  font-size: 9px; font-weight: 600; color: var(--text);
}

.kanban-col.drag-target { border-color: var(--cyan); background: rgba(94,200,214,0.04); }
.task { position: relative; }
.task-del {
  position: absolute; top: 6px; right: 8px;
  color: var(--text-3); cursor: pointer; font-size: 14px;
  opacity: 0; transition: opacity .12s;
}
.task:hover .task-del { opacity: 1; }
.task-del:hover { color: var(--red); }
