fix: ArrowUp/Down nav no longer skips a segment on multi-line cards
prevent_default() stops the browser moving the cursor before the async
JS check runs; cursor movement is now handled manually in JS so the
boundary detection sees the pre-keypress position.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>