/* ----------------------------------------------------------------- filtros */
.filters {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; margin-bottom: 14px; display: grid; gap: 8px; box-shadow: var(--shadow);
}
.filter-row { display: flex; align-items: flex-start; gap: 10px; }
.filter-label {
  color: var(--fg-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  width: 78px; padding-top: 4px; flex: none; font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line); background: var(--bg-3); color: var(--fg-dim);
  border-radius: 999px; padding: 3px 11px; cursor: pointer; font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { background: #dfe1e6; color: var(--fg); }
.chip .count { opacity: .65; font-size: 11px; }
.chip.on { background: #deebff; border-color: var(--accent-2); color: var(--accent); font-weight: 600; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ---------------------------------------------------------------- tablero */
.board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: flex-start; }
.interproject-dashboard .board { display: grid; grid-template-columns: minmax(0, 1fr); overflow: visible; align-items: stretch; }
.interproject-project { min-width: 0; padding: 0 0 16px; border-bottom: 2px solid var(--line); }
.interproject-project > header { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.interproject-project > header h2 { margin: 0; font-size: 17px; }
.interproject-person { padding: 8px 0 4px 14px; border-left: 2px solid var(--line); }
.interproject-person h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; }
.interproject-person h3 small { margin-left: auto; color: var(--fg-dim); font-weight: 500; }
.interproject-person .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; }
.interproject-person .card { min-width: 0; }
.column {
  background: var(--column-bg); border: 1px solid var(--column-line); border-radius: var(--radius);
  min-width: 300px; max-width: 330px; flex: 1 0 300px; display: flex; flex-direction: column;
  max-height: calc(100dvh - 365px); min-height: 180px;
}
.column > header {
  padding: 16px 14px;
  display: flex; align-items: center; gap: 8px; position: sticky; top: 0; background: var(--column-bg);
  border-radius: var(--radius) var(--radius) 0 0;
}
.column h3 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--fg-dim); }
.column .badge { margin-left: auto; background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: 11px; color: var(--fg-dim); }
.column .cards { padding: 0 10px 10px; display: grid; gap: 10px; overflow-y: auto; }

.card {
  background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--line);
  border-radius: 9px; padding: 14px; cursor: pointer; box-shadow: var(--shadow);
  transition: background .15s ease, box-shadow .15s ease;
}
.card.status-stop { background: var(--danger-bg); }
.card.status-stop:hover { background: var(--danger-hover); }
.card:hover { background: var(--card-hover); box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.card .key-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--fg-dim); margin-bottom: 6px; }
.card .key { color: var(--accent); font-weight: 700; }
.card .summary { font-size: 13px; line-height: 1.6; margin: 10px 0 14px; font-weight: 500; }
.card .meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11px; color: var(--fg-dim); }

.avatar {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: #fff; flex: none;
}
.tag { border-radius: 3px; padding: 1px 6px; background: var(--bg-3); font-size: 10px; color: var(--fg-dim); }
.tag.type { font-weight: 700; letter-spacing: .2px; }
.tag.epic { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.epic-row { margin-bottom: 6px; display: flex; }

