Short answer
HubSpot's KB: working hours, out-of-office and status apply across inbox and help desk. Outside working hours a user switches to Away and isn't eligible for automatic assignment; at the start of working hours they become Available. A temporary Away duration takes priority over working hours.
1. Availability
Availability management in my demo portal.

2. No one available
See bots and live chat handoff.