.document-edit-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--border,#a9b4c3);border-radius:14px;color:var(--text,#172334);background:var(--surface,#fff)}
.document-edit-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--border,#a9b4c3)}
.document-edit-dialog h2{margin:0;font-size:1.2rem}.document-edit-content{padding:8px 20px 20px;max-height:calc(100dvh - 130px);overflow:auto}.document-edit-content p{line-height:1.5;margin:14px 0}.document-edit-content [data-name]{font-weight:700;overflow-wrap:anywhere}.document-edit-status{padding:12px;border:1px solid var(--border,#a9b4c3);border-radius:8px}.document-edit-actions{display:flex;gap:10px;flex-wrap:wrap}.document-edit-error{color:#a91c26;background:#ffe9e9;padding:12px;border-radius:8px}.document-edit-dialog .btn{white-space:normal}.document-edit-dialog [hidden]{display:none!important}
