/* Доска заявок: колонки, карточки, перетаскивание */
.me { font-size: 13px; color: var(--dim); font-weight: 700; margin-right: 4px; }

.boardbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.boardbar .inp { max-width: 340px; }
.boardbar .muted { font-size: 13px; }

.board {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; align-items: flex-start; padding-bottom: 10px;
}
.col {
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; max-height: 74vh; scroll-snap-align: start;
}
.col.over { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(245,158,11,.25) inset; }
.col-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 12px 14px; font-weight: 700; font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.col-head b { background: rgba(245,158,11,.16); color: var(--accent); border-radius: 999px; padding: 1px 9px; font-size: 12.5px; }
.col-body { padding: 10px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; min-height: 90px; }
.col-empty { color: var(--dim); font-size: 13px; text-align: center; padding: 14px 4px; border: 1px dashed var(--line); border-radius: 10px; }

.lcard {
  background: #151b27; border: 1px solid var(--line); border-radius: 11px;
  padding: 10px 11px; cursor: grab; transition: border-color .12s, transform .12s;
  touch-action: manipulation;
}
.lcard:hover { border-color: var(--accent); }
.lcard.dragging { opacity: .45; transform: rotate(1.5deg); cursor: grabbing; }
.lcard-top { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.lcard-top b { font-size: 15px; }
.lsrc { font-size: 11px; color: var(--dim); background: rgba(148,163,184,.12); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.lrow { font-size: 13px; color: var(--txt); margin-top: 4px; word-break: break-word; }
.lrow a { color: #93c5fd; text-decoration: none; }
.lwork { color: var(--dim); }
.lcard-foot { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11.5px; color: var(--dim); }
.lfile { color: var(--accent); }

@media (max-width: 1100px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .board { display: flex; overflow-x: auto; scroll-snap-type: x proximity; }
  .col { flex: 0 0 78vw; min-width: 78vw; max-height: 66vh; scroll-snap-align: start; }
  .boardbar .inp { max-width: none; width: 100%; }
  .col-body { min-height: 70px; }
}
