Towards a Geometric Theory for nD Behaviors:Conditioned Invariance and Detectability Subspaces