body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* Truncate long task titles to 2 lines on cards; full title visible on the detail sheet. */
.task-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  line-height: 1.4;
}

/* Kanban board — horizontal scroll, wider columns, breathing room. */
.kanban-scroll {
  margin: 0 calc(-1 * 1rem);
  padding: 0 1rem 1rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kanban-track {
  display: flex;
  gap: 1rem;
  min-width: max-content;
}

.kanban-col {
  flex: 0 0 360px;
  background: #f3f2ee;
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
}

.kanban-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6b66;
}

.kanban-col-count {
  background: white;
  border-radius: 999px;
  padding: 0.05rem 0.55rem;
  font-size: 0.65rem;
  color: #888;
  font-weight: 600;
  letter-spacing: 0;
}

.kanban-col-empty {
  font-size: 0.75rem;
  color: #b0b0a8;
  text-align: center;
  padding: 1rem 0;
  font-style: italic;
}

.kanban-card {
  background: white;
  border: 1px solid #e8e8e3;
  border-left: 4px solid #d4d4cf;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
}

.kanban-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.kanban-card.priority-urgent { border-left-color: #d44a3a; }
.kanban-card.priority-active { border-left-color: #d4a23a; }
.kanban-card.priority-todo { border-left-color: #c4c4bf; }

.kanban-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  color: #7a7a72;
}

.kanban-card-bundle {
  background: #eef3ff;
  color: #3a5cb8;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

.kanban-card-assignee {
  color: #8a6c20;
  font-weight: 500;
  white-space: nowrap;
}
