body { background: #f4f6f9; }
.prio { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #adb5bd; }
.prio-urgent { background: #dc3545; } .prio-high { background: #fd7e14; } .prio-normal { background: #0d6efd; } .prio-low { background: #adb5bd; }
.prio-badge-urgent { background: #dc3545; } .prio-badge-high { background: #fd7e14; } .prio-badge-normal { background: #0d6efd; } .prio-badge-low { background: #6c757d; }

.board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: flex-start; }
.board-col { flex: 0 0 270px; background: #e9ecef; border-radius: 8px; padding: 8px; min-height: 120px; }
.board-col-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 8px; }
.board-cards { min-height: 60px; display: flex; flex-direction: column; gap: 8px; border-radius: 6px; }
.board-cards.drop-target { background: #cfe2ff; outline: 2px dashed #0d6efd; }
.board-card { background: #fff; border-radius: 6px; padding: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); border-left: 4px solid #adb5bd; cursor: grab; }
.board-card.dragging { opacity: .5; }
.board-card.overdue { background: #fff5f5; }
.prio-border-urgent { border-left-color: #dc3545; } .prio-border-high { border-left-color: #fd7e14; } .prio-border-normal { border-left-color: #0d6efd; }
.card-title-link { color: inherit; text-decoration: none; font-weight: 500; }
.card-title-link:hover { text-decoration: underline; }

.timeline-item { border-left: 3px solid #dee2e6; padding: 4px 0 4px 12px; margin-bottom: 10px; }
.timeline-item.in { border-left-color: #198754; }
.timeline-item.out { border-left-color: #0d6efd; }
.timeline-item.note { border-left-color: #ffc107; }
.timeline-item.event { border-left-color: #adb5bd; color: #6c757d; font-size: .9rem; }
.bubble { white-space: pre-wrap; background: #fff; border-radius: 8px; padding: 8px 10px; display: inline-block; max-width: 100%; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.timeline-item.in .bubble { background: #dcf8c6; }
.wa-preview { white-space: pre-wrap; background: #dcf8c6; border-radius: 8px; padding: 10px; font-family: inherit; font-size: .95rem; }
.att-thumb { max-width: 220px; max-height: 220px; border-radius: 6px; border: 1px solid #dee2e6; object-fit: cover; background: #fff; }
.qr-box { width: 220px; } .qr-box svg { width: 100%; height: auto; }

@media (max-width: 576px) {
  .board { flex-direction: column; }
  .board-col { flex: 1 1 auto; width: 100%; }
}
