Top radical
宀 — a peaked roof with two short walls, indexing radical for
宿. Establishes 'inside a building' — and since
宿 is about lodging and overnighting, the roof carries the core meaning. Same radical anchors the home-family
家 (home),
室 (room),
安 (peace),
客 (guest),
寄 (board with).