; or (B) a current or recent diagnosis by a qualified mental health professional of 1 or more of the following disorders described in the most recent edition of the Diagnostic and Statistical Manual of Mental Disorders: (i) Schizophrenia or another psychotic disorder. (ii) Major depressive disorder. (iii) Any type of bipolar disorder. (iv) A neurodevelopmental disorder, dementia or other cognitive disorder. (v) Any disorder commonly characterized by breaks with reality or perceptions of reality. (vi) Any type of anxiety disorders. (vii) Trauma or stressor related disorder. (viii) Severe personality disorders. (8) Solitary confinement The term solitary confinement means confinement characterized by substantial isolation in a cell, whether alone or with other detained aliens, including administrative segregation and disciplinary segregation. (9) Substantial and immediate threat The term substantial and immediate threat means any set of circumstances that require immediate action in order to combat a significant threat to the safety of a detained alien, other detained aliens, staff, or the public. (10) U.S. immigration and customs enforcement facility The term U.S. Immigration and Customs Enforcement facility means— (A) a detention facility owned and administered by U.S. Immigration and Customs Enforcement; or (B) a Federal, State, local, or private facility that has contracted (directly or indirectly) with U.S. Immigration and Customs Enforcement to detain aliens in Federal custody, including a U.S. Marshals facility that houses alien detainees, and regardless of any time limits that exist for the duration of the detention in such a facility. 3. Solitary confinement reforms (a) Use of solitary confinement (1) In general A detained alien may not be placed in solitary confinement within a U.S. Immigration and Customs Enforcement facility unless such confinement— (A) is limited to the briefest term and the least restrictive conditions practicable, including not fewer than 4 hours of out-of-cell time every day