/* HazaM Core Service entry point. Shared editor and safe publication formatting. */
.rich-content { overflow-wrap: anywhere; }
.rich-content .rich-line { white-space: pre-wrap; min-height: 1.5em; }
.rich-content p { margin: 0 0 .65em; }
.rich-content ul, .rich-content ol { margin: .5em 0; padding-left: 1.8em; }
.rich-content .ql-align-center { text-align: center; }
.rich-content .ql-align-right { text-align: right; }
.rich-content .ql-color-gray, .hazam-rich-text .ql-color-gray { color: #60645d; }
.rich-content .ql-color-red, .hazam-rich-text .ql-color-red { color: #a12626; }
.rich-content .ql-color-green, .hazam-rich-text .ql-color-green { color: #205a35; }
.rich-content .ql-color-blue, .hazam-rich-text .ql-color-blue { color: #24529b; }
.rich-content .ql-color-gold, .hazam-rich-text .ql-color-gold { color: #896000; }
.rich-content .ql-color-purple, .hazam-rich-text .ql-color-purple { color: #78419b; }
.hazam-rich-text { margin-top: 10px; border: 1px solid #85877e; background: #f4f4ed; }
.rich-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 7px; border-bottom: 1px solid #85877e; background: #deded6; }
.rich-toolbar .rich-tool { display: inline-flex; align-items: center; justify-content: center; min-width: 31px; height: 31px; padding: 3px; margin: 0; font: 14px Arial, sans-serif; }
.rich-toolbar .rich-tool[aria-pressed="true"] { background: #c0ccb8; border-color: #5a7253; box-shadow: inset 1px 1px #8c9a82; }
.rich-toolbar .rich-tool[aria-pressed="mixed"] { border-bottom: 3px solid #7b8e73; }
.rich-toolbar .rich-bold { font-weight: bold; }.rich-toolbar .rich-italic { font-style: italic; }.rich-toolbar .rich-underline { text-decoration: underline; }
.rich-toolbar .rich-color-default { border-bottom: 4px solid #252925; }
.rich-toolbar .rich-color-gray { color: #60645d; border-bottom: 4px solid #60645d; }
.rich-toolbar .rich-color-red { color: #a12626; border-bottom: 4px solid #a12626; }
.rich-toolbar .rich-color-green { color: #205a35; border-bottom: 4px solid #205a35; }
.rich-toolbar .rich-color-blue { color: #24529b; border-bottom: 4px solid #24529b; }
.rich-toolbar .rich-color-gold { color: #896000; border-bottom: 4px solid #896000; }
.rich-toolbar .rich-color-purple { color: #78419b; border-bottom: 4px solid #78419b; }
.rich-toolbar .rich-symbols { display: inline-block; width: 55px; min-width: 0; height: 31px; margin: 0; padding: 3px; }
.hazam-rich-text .ql-container { font: 14px/1.6 Tahoma, Arial, sans-serif; border-top: 1px solid #686b61; box-shadow: inset 1px 1px #c3c6ba; }
.hazam-rich-text .ql-editor { min-height: 150px; max-height: 560px; overflow-y: auto; padding: 12px; color: #252925; }
.rich-heading-editor .ql-editor { min-height: 65px; font-size: 19px; font-weight: bold; }
.hazam-rich-text .ql-editor:focus { outline: 2px solid #263e65; outline-offset: -2px; }
.rich-status { display: block; padding: 0 10px; font-size: 12px; }.rich-status:empty { display: none; }
@media (pointer: coarse) { .rich-toolbar .rich-tool, .rich-toolbar .rich-symbols { min-width: 40px; height: 40px; } }
