pub fn current_focus(app: &App) -> FocusTargetExpand description
Canonical focus resolver — both translate and apply must call this.
Precedence: Overlay > CmdLine > ConsoleInput > ViewPane. States are structurally mutually exclusive for the higher layers: opening the cmdline or an overlay is the only way to gain that focus, and closing it restores the layer below.