/* Jira-like assignee circle: patient teal and doctor blue match the sidebar avatars. */
.task-assignee { flex: 0 0 auto; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #6b7585, #525c6b); color: white; font-size: 10px; font-weight: 750; line-height: 1; letter-spacing: .02em; user-select: none; }
.task-assignee.is-patient { background: linear-gradient(135deg, #218f83, #1e6665); }
.task-assignee.is-doctor { background: linear-gradient(135deg, #5871aa, #384d7d); }
.task-assignee.is-unassigned { border: 1.5px dashed #aebebb; background: transparent; }

.taskboard-card-footer .task-assignee { margin-left: auto; }
.project-page .scope-nav-list .task-nav-row .task-scope-card { grid-template-columns: 24px minmax(0, 1fr) auto; }

.entity-menu-group { min-width: 0; display: grid; gap: 2px; margin: 2px 0; padding: 4px 0; border-block: 1px solid var(--line, #dfe5e2); }
.entity-menu-caption { padding: 2px 12px 0; color: var(--muted, #617477); font-size: .75rem; font-weight: 650; }
.entity-context-menu button[role="menuitemradio"] { min-width: 0; display: flex; align-items: center; gap: 10px; padding-block: 4px; }
.entity-menu-person { flex: 1 1 auto; min-width: 0; display: grid; line-height: 1.25; }
.entity-menu-person > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entity-menu-person small { color: var(--muted, #617477); font-size: .75rem; font-weight: 500; }
.entity-context-menu button[role="menuitemradio"][aria-checked="true"]::after { content: "✓"; flex: 0 0 auto; color: var(--teal, #218f83); font-weight: 800; }

@media (pointer: coarse) {
  .task-assignee { width: 26px; height: 26px; font-size: 11px; }
}
