.edit-app{display:flex;flex-direction:column;height:100vh;background:var(--bg);color:var(--text)}.edit-app,.edit-body,.edit-main,.edit-source,.edit-preview{box-sizing:border-box}.edit-bar{display:flex;align-items:center;gap:12px;padding:8px 12px;border-bottom:1px solid var(--border)}.edit-body{display:flex;flex:1;min-height:0}.edit-sidebar{width:220px;border-right:1px solid var(--border);overflow-y:auto}.edit-sidebar--hidden{width:0}.edit-workspace-switch{display:none}.edit-sidebar-hdr{display:flex;justify-content:space-between;padding:6px 8px}.edit-doc-list{list-style:none;margin:0;padding:0}.edit-doc-item{display:flex;align-items:center;justify-content:space-between;padding:2px 8px}.edit-doc-item.active{background:var(--panel2)}.edit-doc-title{flex:1;text-align:left;background:none;border:0;color:inherit;cursor:pointer;padding:6px 0}.edit-main{display:flex;flex:1;min-width:0;min-height:0}.edit-source,.edit-preview{flex:1;min-width:0;overflow:auto}.edit-source{position:relative}.edit-preview{border-left:1px solid var(--border);padding:20px 18px}.edit-preview-body.markdown-body{max-width:72ch;line-height:1.75}.edit-preview-body.markdown-body p{margin:0 0 1em}.edit-preview-body.markdown-body :where(h1,h2,h3,h4,h5,h6){margin:1.35em 0 .55em;font-family:var(--font-heading);line-height:1.2}.edit-preview-body.markdown-body :where(ul,ol){margin:0 0 1em;padding-left:1.35em}.edit-preview-body.markdown-body :where(li+li){margin-top:.25em}.edit-preview-body.markdown-body :where(blockquote,pre,table){margin:0 0 1em}.edit-preview-error{color:var(--del-text);margin-bottom:12px}.edit-app--error{align-items:center;justify-content:center}.edit-app--focus{overflow:hidden}.edit-app--focus .edit-bar,.edit-app--focus .edit-workspace-switch,.edit-app--focus .edit-sidebar,.edit-app--focus .edit-preview{display:none}.edit-app--focus .edit-body,.edit-app--focus .edit-main{display:block;min-height:100vh;width:100%}.edit-app--focus .edit-source{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;box-sizing:border-box;min-width:0;overflow:hidden;padding:48px max(24px,8vw) 24px;background:var(--bg)}.edit-focus-close{position:fixed;top:16px;right:16px}.edit-focus-body{max-width:760px;margin:0 auto}.edit-key-input{width:140px;padding:4px 8px;border:1px solid var(--border, #ccc);border-radius:6px;background:var(--bg, #fff);color:var(--text, #000);font-family:monospace,"monospace fallback";font-size:13px}@media(max-width:640px){.edit-app{overflow:hidden}.edit-bar{flex-shrink:0;flex-wrap:wrap;gap:8px;overflow:visible}.edit-bar .ui-toolbar-button{flex:0 0 36px;padding:0}.edit-bar .ui-toolbar-button__label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.edit-workspace-switch{flex-shrink:0;display:flex;justify-content:center;padding:7px 10px;background:var(--panel);border-bottom:1px solid var(--border)}.edit-workspace-switch .ui-segmented{width:min(100%,320px)}.edit-workspace-switch .ui-segmented__item{flex:1}.edit-body{width:100%;overflow:hidden}.edit-sidebar,.edit-sidebar-show{flex:0 0 0;width:0;min-width:0;max-width:0;overflow:hidden;visibility:hidden;pointer-events:none;border-right:0}.edit-body[data-mobile-workspace=documents] .edit-sidebar{flex:0 0 100%;width:100%;min-width:0;max-width:100%;visibility:visible;pointer-events:auto;border-right:0}.edit-main{flex:0 1 100%;width:100%;max-width:100vw;min-width:0;overflow:hidden}.edit-body[data-mobile-workspace=documents] .edit-main{flex-basis:0;width:0;max-width:0;visibility:hidden;pointer-events:none}.edit-source,.edit-preview{flex:0 0 100%;width:100%;max-width:100%;min-width:0;border-left:0}.edit-preview{padding:18px 16px}.edit-main[data-mobile-workspace=editor] .edit-preview,.edit-main[data-mobile-workspace=preview] .edit-source{flex-basis:0;width:0;max-width:0;overflow:hidden;visibility:hidden;pointer-events:none}}
