/* Priority is separate from task status; both remain visible. */
.person-card.priority-urgent,.work-card.priority-urgent {
  --priority-color:#b42335;--priority-tint:#fff2f3;--priority-border:#e8a0aa;
}
.person-card.priority-high,.work-card.priority-high {
  --priority-color:#8a4b08;--priority-tint:#fff8e8;--priority-border:#e5bc6a;
}
.person-card.priority-normal,.work-card.priority-normal {
  --priority-color:#2455ad;--priority-tint:#f1f6ff;--priority-border:#aac4ed;
}
.person-card[class*="priority-"],.work-card[class*="priority-"] {
  border-color:var(--priority-border);
  border-top:5px solid var(--priority-color);
  background:linear-gradient(135deg,var(--priority-tint),#fff 85%);
}
.person-card.priority-urgent,.work-card.priority-urgent {
  box-shadow:0 3px 12px #b4233514;
}
.person-card[class*="priority-"] .person-top {
  border-bottom-color:var(--priority-border);
}
.priority-badge,.person-card .card-footer .priority {
  display:inline-flex;align-items:center;gap:6px;
  width:fit-content;flex-shrink:0;border-radius:6px;
  background:var(--priority-color);color:#fff;
  padding:5px 9px;font-size:12px;font-weight:750;line-height:1.3;
}
.priority-badge::before,.person-card .card-footer .priority::before {
  content:"";width:6px;height:6px;border-radius:50%;background:currentColor;
}
.work-card .priority-badge {margin-top:14px}
.person-card .card-footer {flex-wrap:wrap;gap:10px}
