(1) A child taken into custody and taken to a crisis residential center established pursuant to RCW
43.185C.295 may, if the center is unable to provide appropriate treatment, supervision, and structure to the child, be taken at department expense to another crisis residential center, the nearest regional secure crisis residential center, or a secure facility with which it is collocated under RCW
43.185C.295. Placement in both locations shall not exceed fifteen consecutive days from the point of intake as provided in RCW
43.185C.290.
(2) A child taken into custody and taken to a crisis residential center established by this chapter may be placed physically by the department of social and health services' designee and, at their departmental expense and approval, in a secure juvenile detention facility operated by the county in which the center is located for a maximum of forty-eight hours, including Saturdays, Sundays, and holidays, if the child has taken unauthorized leave from the center and the person in charge of the center determines that the center cannot provide supervision and structure adequate to ensure that the child will not again take unauthorized leave. Juveniles placed in such a facility pursuant to this section may not, to the extent possible, come in contact with alleged or convicted juvenile or adult offenders.
(3) Any child placed in secure detention pursuant to this section shall, during the period of confinement, be provided with appropriate treatment by the department of social and health services or the department's designee, which shall include the services defined in RCW
43.185C.305(2). If the child placed in secure detention is not returned home or if an alternative living arrangement agreeable to the parent and the child is not made within twenty-four hours after the child's admission, the child shall be taken at the department's expense to a crisis residential center. Placement in the crisis residential center or centers plus placement in juvenile detention shall not exceed five consecutive days from the point of intake as provided in RCW
43.185C.290.
(4) Juvenile detention facilities used pursuant to this section shall first be certified by the department of social and health services to ensure that juveniles placed in the facility pursuant to this section are provided with living conditions suitable to the well-being of the child. Where space is available, juvenile courts, when certified by the department of social and health services to do so, shall provide secure placement for juveniles pursuant to this section, at department expense.