/* =====================================================================
   v222 — Team Management drag ordering.
   Additive only; v221 action geometry remains unchanged.
   ===================================================================== */

.team-member {
  position: relative;
}

.team-member-main {
  flex: 1 1 auto;
}

.team-drag-handle {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.team-drag-handle:active,
.team-member.is-dragging .team-drag-handle {
  cursor: grabbing;
}

.team-member.is-dragging {
  z-index: 6;
  transform: scale(1.015);
  box-shadow: var(--shadow-soft, 0 8px 24px rgba(0,0,0,.14));
}

body.team-reordering {
  user-select: none;
  -webkit-user-select: none;
}

/* Keep the edit chevron visible after the drag grip. */
.team-member .team-chevron {
  margin-left: 2px;
}
