body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.markdown-body{color:#374151;line-height:1.75}.markdown-body h1{font-size:1.875rem;font-weight:700;margin:0 0 1rem;color:#111827}.markdown-body h2{font-size:1.5rem;font-weight:600;margin:2rem 0 .75rem;color:#111827}.markdown-body h3{font-size:1.25rem;font-weight:600;margin:1.5rem 0 .5rem;color:#111827}.markdown-body p{margin:.75rem 0}.markdown-body a{color:#2563eb}.markdown-body code{background:#f1f5f9;padding:.125rem .375rem;border-radius:.25rem;font-size:.875em;font-family:SF Mono,Monaco,Cascadia Code,monospace}.markdown-body pre{background:#1e293b;color:#e2e8f0;padding:1rem;border-radius:.5rem;overflow-x:auto}.markdown-body pre code{background:transparent;padding:0;color:inherit}.markdown-body blockquote{border-left:4px solid #e2e8f0;padding-left:1rem;color:#64748b;font-style:italic;margin:1rem 0}.callout{border-left:4px solid;border-radius:0 .5rem .5rem 0;padding:.75rem 1rem;margin:1rem 0;font-style:normal}.callout blockquote{border-left:none;padding-left:0;margin:0;color:inherit;font-style:normal}.callout-warning{border-color:#f59e0b;background:#fffbeb}.callout-warning strong{color:#92400e}.callout-tip{border-color:#10b981;background:#ecfdf5}.callout-tip strong{color:#065f46}.callout-info{border-color:#3b82f6;background:#eff6ff}.callout-info strong{color:#1e40af}.markdown-body table{border-collapse:collapse;width:100%}.markdown-body td,.markdown-body th{border:1px solid #e2e8f0;padding:.5rem .75rem;text-align:left}.markdown-body th{background:#f8fafc;font-weight:600}.markdown-body img{border-radius:.5rem;max-width:100%}.markdown-body ul{list-style:disc;padding-left:1.5rem;margin:.5rem 0}.markdown-body ol{list-style:decimal;padding-left:1.5rem;margin:.5rem 0}.markdown-body li{margin:.25rem 0}.markdown-body hr{border:none;border-top:1px solid #e2e8f0;margin:2rem 0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{position:relative;scroll-margin-top:80px}.markdown-body .heading-anchor{position:absolute;left:-1.2em;top:50%;transform:translateY(-50%);opacity:0;color:#94a3b8;font-size:.85em;text-decoration:none;transition:opacity .15s;font-weight:400}.markdown-body .heading-anchor:focus,.markdown-body h1:hover .heading-anchor,.markdown-body h2:hover .heading-anchor,.markdown-body h3:hover .heading-anchor,.markdown-body h4:hover .heading-anchor,.markdown-body h5:hover .heading-anchor,.markdown-body h6:hover .heading-anchor{opacity:1}.sort-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:4px;cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sort-item:hover{background:#f5f5f5}.sort-item.dragging{opacity:.4;background:#e6f4ff}.milkdown-editor-wrapper{min-height:100%}.milkdown-editor-wrapper .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#bfbfbf;pointer-events:none;float:left;height:0}.milkdown-editor-wrapper .milkdown{min-height:100%;display:flex;flex-direction:column}.milkdown-editor-wrapper .milkdown .editor{flex:1 1;padding:2rem 3rem;max-width:56rem;margin:0 auto;width:100%;outline:none}@media (max-width:640px){.milkdown-editor-wrapper .milkdown .editor{padding:1rem 1.25rem}}.admin-sidebar,.settings-sidebar,.sub-layout{display:flex}@media (max-width:768px){.sub-layout{flex-direction:column}.admin-sidebar,.settings-sidebar{flex-direction:row;width:100%;flex-shrink:0;border-right:none!important;border-bottom:1px solid #f0f0f0;padding:4px 0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;-webkit-overflow-scrolling:touch}.admin-sidebar>*,.settings-sidebar>*{flex-shrink:0}}.milkdown-editor-wrapper .crepe-toolbar{position:-webkit-sticky;position:sticky;top:0;z-index:10;background:#fff}.milkdown-editor-wrapper .crepe-drop-area,.milkdown-editor-wrapper [data-radix-popper-content-wrapper],.milkdown-editor-wrapper [data-slash-block],.milkdown-editor-wrapper [data-slash-panel]{z-index:50!important}.milkdown-editor-wrapper .ProseMirror{outline:none;min-height:200px;line-height:1.75;color:#374151;font-size:16px}.milkdown-editor-wrapper .ProseMirror pre{background:#1e293b;color:#e2e8f0;padding:1rem;border-radius:.5rem;overflow-x:auto}.milkdown-editor-wrapper .ProseMirror pre code{background:transparent;padding:0;color:inherit}.milkdown-editor-wrapper .ProseMirror code{background:#f1f5f9;padding:.125rem .375rem;border-radius:.25rem;font-size:.875em;font-family:SF Mono,Monaco,Cascadia Code,monospace}.milkdown-editor-wrapper .ProseMirror table{border-collapse:collapse;width:100%;margin:1rem 0}.milkdown-editor-wrapper .ProseMirror td,.milkdown-editor-wrapper .ProseMirror th{border:1px solid #e2e8f0;padding:.5rem .75rem;text-align:left;min-width:80px}.milkdown-editor-wrapper .ProseMirror th{background:#f8fafc;font-weight:600}.milkdown-editor-wrapper .ProseMirror .selectedCell{background:#e6f4ff}.milkdown-editor-wrapper .ProseMirror blockquote{border-left:4px solid #e2e8f0;padding-left:1rem;color:#64748b;margin:1rem 0}.milkdown-editor-wrapper .ProseMirror li[data-checked=true]{text-decoration:line-through;color:#9ca3af}.milkdown-editor-wrapper .ProseMirror img,.milkdown-editor-wrapper .milkdown-image-block img{border-radius:.5rem;max-width:100%}.milkdown-editor-wrapper .image-block{max-width:100%;border-radius:.5rem;margin:1rem 0}.milkdown-editor-wrapper .ProseMirror ::selection{background:#bae0ff}.editor-context-menu{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.08);padding:4px;min-width:180px;max-height:400px;overflow-y:auto;animation:contextMenuFadeIn .15s ease}@keyframes contextMenuFadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.context-menu-group{padding:2px 0}.context-menu-group:not(:last-child){border-bottom:1px solid #f3f4f6;margin-bottom:2px;padding-bottom:4px}.context-menu-group-title{font-size:11px;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;padding:6px 10px 4px}.context-menu-group-title,.context-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none}.context-menu-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:6px;cursor:pointer;transition:background-color .15s}.context-menu-item:hover{background:#f3f4f6}.context-menu-item:active{background:#e5e7eb}.context-menu-item-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:#6b7280;background:#f9fafb;border-radius:4px;flex-shrink:0}.context-menu-item-label{font-size:14px;color:#374151}.context-menu-item.current{background:#eff6ff}.context-menu-item.current .context-menu-item-icon{background:#dbeafe;color:#2563eb}.context-menu-item.current .context-menu-item-label{color:#2563eb;font-weight:500}.attachment-upload-tip{position:fixed;bottom:24px;right:24px;display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.12);font-size:13px;z-index:9999;animation:attach-fade-in .2s ease}.attachment-upload-name{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#374151}.attachment-upload-bar{flex:1 1;height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden;min-width:100px}.attachment-upload-bar-fill{height:100%;background:#2563eb;border-radius:3px;transition:width .15s ease}.attachment-upload-pct{color:#2563eb;font-weight:600;min-width:48px;text-align:right}.attachment-upload-error .attachment-upload-pct{color:#ef4444}@keyframes attach-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}