/* Preserve the create form design; trim gaps and freeze the outer page. */
html:has(body[data-workspace-view="create"]){height:100%;overflow:hidden;overscroll-behavior:none}
body[data-workspace-view="create"]{height:100vh;height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none;display:flex;flex-direction:column}
body[data-workspace-view="create"] .editor-header{position:relative;flex:0 0 auto}
body[data-workspace-view="create"] .editor-main{flex:1;min-height:0;box-sizing:border-box;width:100%;margin:0 auto;padding:10px 10px max(10px,env(safe-area-inset-bottom));overflow:hidden}
body[data-workspace-view="create"] #secondary-create-story{box-sizing:border-box;height:100%;max-height:100%;margin:0;padding:0 14px;overflow:hidden}
body[data-workspace-view="create"] #secondary-create-story>summary{box-sizing:border-box;min-height:48px;height:48px;margin-top:0;margin-bottom:0;padding-top:10px;padding-bottom:10px}
body[data-workspace-view="create"] #new-story-form{box-sizing:border-box;max-height:calc(100% - 48px);overflow:auto;overscroll-behavior:contain;margin:0;padding:10px 0;scroll-padding:12px}
body[data-workspace-view="create"] #new-story-form .form-grid{gap:8px}
body[data-workspace-view="create"] #new-story-form label:not(.checkbox-row){margin-bottom:4px}
body[data-workspace-view="create"] #new-story-form .editor-section-divider{margin:4px 0}
body[data-workspace-view="create"] #new-story-form .checkbox-row{min-height:44px;margin:0}
body[data-workspace-view="create"] #new-story-access-note{margin:8px 0;line-height:1.35}
body[data-workspace-view="create"] #create-story{min-height:44px;margin:0}
body[data-workspace-view="create"] .account-menu[open]{max-height:70dvh;overflow:auto}
