ZSS-665: Smart number input handling