/* Keep the footer after the initial viewport, with content still in normal flow. */
body.ih-layout-original #main{
 min-height:calc(100vh - var(--header,80px) - env(safe-area-inset-top,0px) + 1px);
 min-height:calc(100dvh - var(--header,80px) - env(safe-area-inset-top,0px) + 1px);
}
/* Center the complete workspace in the viewport below the shared header. */
body.ih-layout-original #main>.ih-first-screen{
 display:flex;
 flex-direction:column;
 justify-content:center;
 min-height:calc(100vh - var(--header,80px) - env(safe-area-inset-top,0px) + 1px);
 min-height:calc(100dvh - var(--header,80px) - env(safe-area-inset-top,0px) + 1px);
 padding-block:32px;
}
body.ih-layout-original .ih-home-panel{width:100%}
body.ih-layout-original .ih-home-panel+.ih-library:has(#ih-template-gallery[hidden]){margin-top:0}
