/* Rich-text editor (Summernote Lite) in TLA colours — used in the admin and on website forms */
.note-editor.note-frame { border: 1.5px solid #C3D3C8; border-radius: 6px; background: #fff; box-shadow: none; margin: 0; }
.note-editor.note-frame:focus-within { border-color: #006B24; box-shadow: 0 0 0 3px rgba(0,156,52,.18); }
.note-editor.has-error { border-color: #B42318; }
.note-editor .note-toolbar { background: #F3F7F4; border-bottom: 1px solid #DCE6DF; border-radius: 6px 6px 0 0; padding: 4px 6px 6px; }
.wysiwyg-full .note-toolbar { position: sticky; top: 56px; z-index: 5; }
.note-editor .note-btn { background: #fff; border-color: #DCE6DF; color: #0A2E17; min-height: 32px; min-width: 32px; padding: 4px 9px; font-size: 14px; }
.note-editor .note-btn:hover, .note-editor .note-btn.active, .note-editor .note-btn:focus { background: #E6F2EA; border-color: #9FC7AE; color: #00561D; }
.note-editor .note-btn:focus-visible { outline: 3px solid #F2B705; outline-offset: 1px; position: relative; z-index: 2; }
.note-editor .note-btn-group { margin-top: 4px; }
.note-editor .note-editing-area .note-editable { font-family: inherit; font-size: 16px; line-height: 1.65; color: #1C1C1C; padding: 14px 16px; }
.note-editor .note-editable p { margin: 0 0 .8em; }
.note-editor .note-editable h2 { font: 800 1.35rem/1.25 Manrope, "Segoe UI", sans-serif; color: #0A2E17; margin: 1.1em 0 .45em; }
.note-editor .note-editable h3 { font: 700 1.15rem/1.3 Manrope, "Segoe UI", sans-serif; color: #0A2E17; margin: 1em 0 .4em; }
.note-editor .note-editable h4 { font: 700 1rem/1.3 Manrope, "Segoe UI", sans-serif; margin: 1em 0 .4em; }
.note-editor .note-editable blockquote { border-left: 4px solid #009C34; margin: 1em 0; padding: .2em 0 .2em 1em; color: #0A2E17; }
.note-editor .note-editable ul, .note-editor .note-editable ol { padding-left: 1.5em; margin: 0 0 .8em; }
.note-editor .note-editable a { color: #006B24; text-decoration: underline; }
.note-editor .note-editable img { max-width: 100%; height: auto; border-radius: 6px; }
.note-editor .note-editable table { border-collapse: collapse; width: 100%; }
.note-editor .note-editable td, .note-editor .note-editable th { border: 1px solid #DCE6DF; padding: .4rem .6rem; }
.note-editor .note-editable .cms-placeholder { background: #FFF8E6; border: 1px dashed #C9861A; padding: .4rem .6rem; }
.note-editor .note-placeholder { padding: 14px 16px; color: #6B7A70; }
.note-editor .note-codable { font: 13px/1.55 ui-monospace, Consolas, monospace; background: #0A2E17; color: #E9F5EC; }
.note-editor .note-statusbar { background: #F3F7F4; border-top: 1px solid #DCE6DF; border-radius: 0 0 6px 6px; }
.note-editor.is-uploading .note-editable { opacity: .55; cursor: progress; }
.note-modal .note-modal-content { border-radius: 10px; }
.note-modal .note-btn-primary { background: #006B24; border-color: #006B24; color: #fff; }
.note-modal .note-btn-primary:hover { background: #00561D; }
.note-modal .note-input { border: 1.5px solid #C3D3C8; border-radius: 6px; padding: 6px 8px; font-size: 15px; }
.note-modal .note-form-label { font-weight: 700; }
.note-dropdown-menu { border-radius: 6px; }
.wysiwyg-count { margin: .3rem 0 0; font-size: .82rem; color: #4B5A50; text-align: right; }
.wysiwyg-count.over { color: #B42318; font-weight: 700; }
.wysiwyg-err { margin: .35rem 0 0; color: #B42318; font-weight: 600; font-size: .92rem; }
/* website forms: compact toolbar */
.wysiwyg-public .note-toolbar, .wysiwyg-basic .note-toolbar { padding: 3px 5px 5px; }
.readonly-rich p { margin: 0 0 .6em; } .readonly-rich ul, .readonly-rich ol { margin: 0 0 .6em; padding-left: 1.4em; }
