/* Home grows with all module cards; embedded training layouts stay unchanged. */
html:has(body.training-hub #hub-home:not([hidden])) {
  height: auto;
  overflow-y: auto;
}
body.training-hub:has(#hub-home:not([hidden])) {
  height: auto;
  min-height: 100dvh;
  overflow-y: auto;
}
body.training-hub .hub-shell:has(> #hub-home:not([hidden])) {
  height: auto;
  min-height: calc(100dvh - 56px);
  overflow: visible;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}
