.document-text-toolbar { position: fixed; z-index: 100010; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: max-content; max-width: calc(100vw - 24px); padding: 10px; border: 1px solid #6b9985; border-radius: 12px; background: #142d23; box-shadow: 0 6px 30px #0008; }
.document-text-toolbar[hidden] { display: none; }
.document-text-toolbar button { min-height: 44px; color: #fff; background: #254737; }
.document-add-content { display: flex; flex-wrap: wrap; gap: 6px; }
.element.editing-text { overflow: auto !important; outline: 2px solid #1687ff; touch-action: auto !important; }
.editing-text .editable-copy { display: block; min-height: 100%; white-space: pre-wrap; user-select: text !important; -webkit-user-select: text !important; touch-action: auto !important; cursor: text; outline: none; }
.editable-copy p { margin: 0 0 .7em; }
.editable-copy ul,.editable-copy ol { margin: .4em 0; padding-left: 1.5em; }
.document-wrapped-text { white-space: pre-wrap !important; overflow-wrap: anywhere; word-break: normal; }
.document-wrapped-text .editable-copy { display: block !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; white-space: pre-wrap !important; overflow-wrap: anywhere; word-break: normal; box-sizing: border-box; background: transparent !important; color: inherit; line-height: 1.2; }
.document-wrapped-text.document-no-wrap, .document-no-wrap .editable-copy { white-space: pre !important; overflow-wrap: normal; }
.document-wrap-option { display: flex !important; align-items: center; gap: 8px; }
.document-wrap-option[hidden] { display: none !important; }
.document-wrap-option input { width: 20px !important; min-height: 20px !important; }
.document-overflow-note { color: #ffcf80; font-size: 13px; line-height: 1.4; }
@media print { .document-text-toolbar,.document-add-content { display: none !important; } .element.editing-text { outline: none; overflow: hidden !important; } }
