/* hub.css — host geometry for the Hub tab (module interface v1.7).
 *
 * Stage 1 is NAVIGATION PLUMBING ONLY. This file gives #hub-view the same shell
 * every other top-level view has and hides the chat surfaces behind it. The
 * Hub's own Today dashboard is Stage 2 and brings its own rules.
 *
 * EVERY RULE HERE IS INERT ON A TENANT WITHOUT THE HUB. `#app.hub-mode` is set
 * only by switchMode('hub'), which a tenant with no hub:true module can never
 * reach because the tab is never created.
 *
 * NOTE ON `display`: #hub-view carries an inline `style="display:none"` from
 * index.html and panels/nav.js flips it to `flex`. That is the ONE source of
 * truth for its visibility, so this file deliberately sets no display on
 * #hub-view — an inline style would beat a rule here anyway, and two owners of
 * one property is how a view ends up stuck open.
 */

#hub-view {
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}

/* Same hide-list the More and Command tabs use (see styles/cc.css). #more-view
   and #command-view are display:none by default and only shown by their own
   mode class, so they need no rule here. #chat is visible by default and must
   be hidden explicitly. */
#app.hub-mode #chat,
#app.hub-mode #input-wrapper,
#app.hub-mode #scroll-bottom-btn {
  display: none !important;
}
