
.assignee-picker {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.assignee-picker-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.assignee-picker-chips:empty {
    display: none;
}

.assignee-picker-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 6px 8px 6px 12px;
    color: var(--brand-dark);
    background: #eaf2ff;
    border: 1px solid #c8dcf8;
    border-radius: 999px;
    font-size: 0.9rem;
}

.assignee-picker-chip-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.assignee-picker-role {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    color: #315f9e;
    background: #dce9fb;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.assignee-picker-primary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-left: 8px;
    border-left: 1px solid #b6ccec;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.assignee-picker-primary input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--brand);
}

.assignee-picker-chip-remove {
    width: 26px;
    height: 26px;
    padding: 0;
    flex: 0 0 auto;
    color: var(--brand);
    background: transparent;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
}

.assignee-picker-chip-remove:hover,
.assignee-picker-chip-remove:focus-visible {
    color: white;
    background: var(--brand);
    transform: none;
}

.assignee-picker-results {
    max-height: 240px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(19, 48, 92, 0.12);
}

.assignee-picker-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    color: var(--text);
    background: white;
    border: 0;
    border-bottom: 1px solid #edf2f8;
    border-radius: 0;
    text-align: left;
}

.assignee-picker-option:last-child {
    border-bottom: 0;
}

.assignee-picker-option:hover,
.assignee-picker-option.is-active {
    color: var(--text);
    background: #f1f6fd;
    transform: none;
}

.assignee-picker-option.is-selected,
.assignee-picker-option.is-assigned {
    color: var(--muted);
    background: #f7f9fc;
    cursor: default;
    opacity: 1;
}

.assignee-picker-option-identity {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.assignee-picker-option-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.assignee-picker-option-heading strong {
    min-width: 0;
}

.assignee-picker-option-identity strong,
.assignee-picker-option-identity span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.assignee-picker-option-email,
.assignee-picker-option-state,
.assignee-picker-status,
.assignee-picker-empty {
    color: var(--muted);
    font-size: 0.86rem;
}

.assignee-picker-option-identity .assignee-picker-role {
    color: #315f9e;
    font-size: 0.72rem;
}

.assignee-picker-option-state {
    flex: 0 0 auto;
}

.assignee-picker-status,
.assignee-picker-empty {
    margin: 0;
}

.assignee-picker-empty {
    padding: 18px 14px;
    text-align: center;
}
