.legal-editor-shell { border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; margin-top: 6px; }
.legal-editor-shell:focus-within { border-color: #e05915; box-shadow: 0 0 0 3px #e0591515; }
.legal-editor-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-size: 13px; color: #64748b; }
.legal-editor-toolbar button { border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 12px; background: white; color: #9a3412; font-weight: 700; }
.legal-editor-toolbar button:disabled { opacity: .5; cursor: wait; }
.legal-content-editor { min-height: 280px; max-height: 650px; overflow-y: auto; padding: 20px; outline: none; font-size: 16px; font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-wrap; }
.legal-content-editor:empty::before { content: attr(data-placeholder); color: #94a3b8; }
.legal-content-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.legal-inline-image { display: block; margin: 16px 0; white-space: normal; }
.legal-inline-image img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
.legal-content-editor .legal-inline-image { position: relative; padding: 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; }
.legal-remove-image { display: block; margin: 10px auto 0; padding: 4px 12px; border: 1px solid #fecaca; border-radius: 6px; background: white; color: #b91c1c; font-size: 13px; }
.legal-editor-help { margin-top: 8px; font-size: 13px; line-height: 1.6; color: #64748b; font-weight: 400; }
.legal-document-detail__content { white-space: normal; overflow-wrap: anywhere; }
