.rich-text-editor{background-color:#fff;border-radius:.5rem;display:flex;flex-direction:column;min-height:200px;position:relative}.rich-text-editor.contract-content-editor{min-height:auto}.editor-content{background-color:#fff;border:2px solid #d1d5db;border-radius:.375rem;flex:1;margin-bottom:.5rem;min-height:120px;overflow-y:auto;padding:0}.contract-content-editor.readonly .editor-content,.readonly.contract-content-editor .editor-content,.readonly.rich-text-editor .editor-content,.rich-text-editor.readonly .editor-content,.rich-text-editor.readonly.contract-content-editor .editor-content{border:none!important;border-radius:0!important;box-shadow:none!important;margin-bottom:0!important;padding:0!important}.contract-content-editor .editor-content{min-height:auto;overflow:visible!important}.editor-content .ProseMirror{cursor:text;min-height:100px;outline:none;padding:1rem}.contract-content-editor .editor-content .ProseMirror{min-height:auto;padding-bottom:calc(1rem + 1.5em)}.contract-content-editor.readonly .editor-content .ProseMirror{padding:0!important}.readonly-content{line-height:1.6;min-height:auto;padding:0}.readonly-content p{margin:.5rem 0}.readonly-content p:first-child{margin-top:0}.readonly-content p:last-child{margin-bottom:0}.editor-content .ProseMirror [data-suggestion-display]{background-color:#f9fafb;border:1px dashed #d1d5db;border-radius:.5rem;margin-bottom:1rem;margin-top:1rem;padding:1rem}.editor-content .ProseMirror [data-suggestion-display] .suggestion-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.editor-content .ProseMirror [data-suggestion-display] .suggestion-label-tag{align-items:center;background-color:#f3f4f6;border-radius:.375rem;color:#6b7280;display:inline-flex;font-size:.75rem;font-weight:600;letter-spacing:.05em;padding:.25rem .75rem;text-transform:uppercase}.editor-content .ProseMirror [data-suggestion-display] .suggestion-author{align-items:center;color:#6b7280;display:flex;font-size:.875rem;gap:.5rem}.editor-content .ProseMirror [data-suggestion-display] .suggestion-avatar{align-items:center;background-color:#e5e7eb;border-radius:9999px;display:inline-flex;flex-shrink:0;height:1.25rem;justify-content:center;overflow:hidden;width:1.25rem}.editor-content .ProseMirror [data-suggestion-display] .suggestion-avatar img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.editor-content .ProseMirror [data-suggestion-display] .suggestion-author-name{font-weight:500}.editor-content .ProseMirror [data-suggestion-display] .suggestion-item{margin-bottom:1rem}.editor-content .ProseMirror [data-suggestion-display] .suggestion-item:last-of-type{margin-bottom:0}.editor-content .ProseMirror [data-suggestion-display] .suggestion-label{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;margin-bottom:.25rem;text-transform:uppercase}.editor-content .ProseMirror [data-suggestion-display] .suggestion-text{color:#1f2937;font-size:.875rem;line-height:1.6}.editor-content .ProseMirror [data-suggestion-display] .suggestion-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1rem}.editor-content .ProseMirror [data-suggestion-display] .btn-sm{font-size:.875rem;padding:.375rem .75rem}.editor-toolbar{background-color:#f9fafb;border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem;border-top:1px solid #e5e7eb;display:flex;flex-wrap:wrap;padding:.5rem}.toolbar-button{align-items:center;background-color:transparent;border-radius:.25rem;color:#4b5563;cursor:pointer;display:inline-flex;height:2rem;justify-content:center;margin:0 .125rem;transition:background-color .2s;width:2rem}.toolbar-button:hover{background-color:#e5e7eb}.toolbar-button.is-active{background-color:#e5e7eb;color:#111827}.toolbar-button:disabled{cursor:not-allowed;opacity:.5}.toolbar-divider{background-color:#e5e7eb;height:1.5rem;margin:0 .5rem;width:1px}.ProseMirror table{border-collapse:collapse;margin:1rem 0;overflow:hidden;table-layout:fixed;width:100%}.ProseMirror table td,.ProseMirror table th{border:1px solid #e5e7eb;box-sizing:border-box;padding:.5rem;position:relative;vertical-align:top}.ProseMirror table th{background-color:#f9fafb;font-weight:700}.ProseMirror table .selectedCell:after{background:#1118271a;content:"";inset:0;pointer-events:none;position:absolute}.ProseMirror{word-wrap:break-word;font-feature-settings:"liga" 0;font-variant-ligatures:none;white-space:pre-wrap}.ProseMirror h1{margin:1rem 0}.ProseMirror h1,.ProseMirror h2{font-size:1.75rem;font-weight:700}.ProseMirror h2{margin:2rem 0 1rem}.ProseMirror h3{font-size:1.25rem;font-weight:600;margin:1rem 0 0}.ProseMirror h4{font-size:1rem;font-weight:500;margin:1rem 0 0}.ProseMirror p{font-size:.875rem;line-height:1.25rem;margin:.5rem 0}.ProseMirror ol,.ProseMirror ul{margin:.5rem 0;padding-left:1.5rem}.ProseMirror ul{list-style-type:disc}.ProseMirror ol{list-style-type:decimal}.ProseMirror a{color:#111827;text-decoration:underline}.ProseMirror span[data-placeholder]{border-radius:.25rem;cursor:default;display:inline-block;font-size:.75rem!important;line-height:1rem!important;line-height:inherit;padding:.125rem .25rem}.ProseMirror.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;font-style:italic;height:0;pointer-events:none}.ProseMirror .suggestion-original-text{color:#6b7280!important;text-decoration:line-through!important}.ProseMirror .suggestion-new-text{background-color:#10b9811a!important;border-radius:2px!important;color:#10b981!important;display:inline!important;margin-left:4px!important;padding:0 2px!important}
