:root{--editor-toolbar-height:112px}
/* Decap owns an absolutely positioned, internally scrolling viewport. Reserve
   the measured workspace bar there, not in the unused #cms placeholder. */
body #cms{min-height:0;padding:0}
#nc-root [class*="-EditorContainer"]{height:calc(100vh - var(--editor-toolbar-height));height:calc(100dvh - var(--editor-toolbar-height))}
#nc-root [data-editor-scroll]{scroll-padding-block:12px calc(var(--editor-toolbar-height) + 12px)}
#nc-root :is(input,textarea,select,button,[role="button"],[role="switch"],[contenteditable="true"]){scroll-margin-block:12px}
#nc-root :is(input,textarea,select,button,[role="button"],[role="switch"],[contenteditable="true"]):focus-visible{outline:3px solid #181b22;outline-offset:2px}
