/* Shared typography for public content and Quill; dashboard styles stay separate. */
:is(.tenant-site .rich-content,.editor-preview .ql-editor){font-family:'Segoe UI',Arial,sans-serif;font-size:1rem;line-height:1.85;color:#20313a;overflow-wrap:anywhere}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) :is(h1,h2,h3){font-family:inherit;font-weight:650;line-height:1.2;margin-top:1.3em;margin-bottom:.7em;letter-spacing:-.03em;color:inherit}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) h1{font-size:2.3rem}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) h2{font-size:1.9rem}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) h3{font-size:1.5rem}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) p{margin:0 0 1.15em;line-height:inherit}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) a{color:var(--accent,#477333);text-decoration:underline}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) blockquote{border-left:3px solid var(--accent,#527644);padding:15px 25px;margin:25px 0;background:#f4f7f8;font-style:italic}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) img{height:auto;max-height:650px;max-width:100%;object-fit:contain;margin:20px 0}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) :is(pre,.ql-code-block-container){padding:15px;background:#edf2f4;overflow:auto;font:.85rem/1.6 Consolas,monospace}
:is(.tenant-site.theme-canvas .rich-content,.editor-preview.theme-canvas .ql-editor) :is(h1,h2,h3){font-family:Georgia,'Times New Roman',serif;font-weight:400}
.editor-preview .ql-container{font-family:inherit}
.editor-preview .ql-editor{min-height:380px;padding:24px;white-space:pre-wrap}
.editor-preview .ql-toolbar{background:#fff}
.editor-preview-label{font: .75rem/1.5 Arial,sans-serif;color:#64735f;margin:0 0 8px}
@media(max-width:650px){:is(.tenant-site .rich-content,.editor-preview .ql-editor){font-size:.95rem}:is(.tenant-site .rich-content,.editor-preview .ql-editor) h2{font-size:1.65rem}}

:is(.tenant-site .rich-content,.editor-preview .ql-editor){display:flow-root}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) img{max-width:100%;height:auto;max-height:none;vertical-align:middle}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) img[data-image-wrap="left"]{float:left;max-width:calc(100% - 24px);margin:0 24px 16px 0}
:is(.tenant-site .rich-content,.editor-preview .ql-editor) img[data-image-wrap="right"]{float:right;max-width:calc(100% - 24px);margin:0 0 16px 24px}
.editor-preview{position:relative;min-width:0}.editor-preview .ql-container{min-width:0}
.image-resize-box{position:absolute;border:2px solid #3477bb;pointer-events:none;z-index:4;box-sizing:border-box}
.image-resize-handle{position:absolute;bottom:-10px;width:24px;height:24px;padding:0;border:2px solid white;border-radius:4px;background:#3477bb;color:white;line-height:20px;pointer-events:auto;touch-action:none;cursor:nwse-resize;font-size:14px}
.handle-right{right:-10px}.handle-left{left:-10px;cursor:nesw-resize}
.editor-image-controls{border:1px solid #dce5d8;border-radius:7px;padding:12px;background:#f6f9f3;font-size:.8rem}.editor-image-controls p{margin-bottom:8px}.editor-image-controls select{padding:6px 10px}.editor-image-controls label{gap:3px}.editor-image-controls .row{gap:16px}
@media(max-width:650px){:is(.tenant-site .rich-content,.editor-preview .ql-editor) img[data-image-wrap="left"]{margin-right:12px;max-width:calc(100% - 12px)}:is(.tenant-site .rich-content,.editor-preview .ql-editor) img[data-image-wrap="right"]{margin-left:12px;max-width:calc(100% - 12px)}}
