.safe-rich-editor{border:1px solid var(--kavoosh-control-border);border-radius:var(--kavoosh-control-radius);background:var(--kavoosh-control-background);overflow:hidden;box-shadow:0 1px #142a3d05}.safe-rich-editor:focus-within{border-color:var(--kavoosh-control-border-focus);box-shadow:0 0 0 3px var(--kavoosh-focus-ring)}.safe-rich-toolbar{background:#f8fafb;border-bottom:1px solid #dbe4ea;align-items:center;gap:4px;min-height:48px;padding:6px 8px;display:flex}.safe-rich-toolbar button{color:#31566e;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;place-items:center;width:34px;height:34px;padding:0;display:grid}.safe-rich-toolbar button:hover,.safe-rich-toolbar button:focus-visible{color:#155b90;background:#fff;border-color:#bfd0dc}.safe-rich-toolbar>span{background:#d6e0e6;width:1px;height:24px;margin:0 3px}.safe-rich-toolbar>small{color:#718491;margin-left:auto;padding:0 6px;font-size:11px;line-height:1.35}.safe-rich-editor>textarea{resize:vertical;color:#203748;width:100%;min-height:230px;font:400 var(--kavoosh-font-md)/1.62 var(--kavoosh-font-sans);background:#fff;outline:0;padding:14px 15px;border:0!important;border-radius:0!important}.safe-rich-format-help{color:#6b7f8d;background:#fbfcfd;border-top:1px solid #e3eaee;justify-content:space-between;align-items:center;gap:12px;min-height:40px;padding:8px 10px;display:flex}.safe-rich-format-help>span{flex-wrap:wrap;align-items:center;gap:5px;font-size:11px;display:flex}.safe-rich-format-help strong{color:#476274}.safe-rich-format-help code{color:#31566e;background:#fff;border:1px solid #dce4e9;border-radius:4px;padding:2px 4px;font:600 10px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.safe-rich-format-help>small{white-space:nowrap;font-size:10px}.safe-rich-link-editor{background:var(--kavoosh-info-bg);color:#315c79;border-bottom:1px solid #d7e3eb;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:end;gap:8px;padding:9px 10px;display:grid;position:relative}.safe-rich-link-editor>svg{align-self:center}.safe-rich-link-editor label{font-size:var(--kavoosh-font-xs)!important;gap:4px!important;display:grid!important}.safe-rich-link-editor label span{font-weight:750}.safe-rich-link-editor input{width:100%;min-height:var(--kavoosh-control-height)!important;border:1px solid var(--kavoosh-control-border)!important;border-radius:var(--kavoosh-control-radius)!important;font-size:var(--kavoosh-font-sm)!important;background:#fff!important;padding:7px 9px!important}.safe-rich-link-editor button{min-height:var(--kavoosh-control-height);border-radius:var(--kavoosh-control-radius);color:#245e87;font-size:var(--kavoosh-font-xs);cursor:pointer;background:#fff;border:1px solid #b8cad7;padding:0 10px;font-weight:750}.safe-rich-link-editor button.apply{color:#fff;background:#1f66a7;border-color:#1f66a7}.safe-rich-link-editor>button:last-of-type{width:var(--kavoosh-control-height);place-items:center;padding:0;display:grid}.safe-rich-link-editor p{color:var(--kavoosh-error);grid-column:2/-1;margin:0;font-size:11px}.safe-rich-preview{color:#314e62;font-size:var(--kavoosh-font-sm);white-space:normal;gap:8px;line-height:1.6;display:grid}.safe-rich-preview p{white-space:pre-wrap;margin:0}.safe-rich-preview ul,.safe-rich-preview ol{gap:4px;margin:0;padding-left:22px;display:grid}.safe-rich-preview strong{color:#173f5d;font-weight:750}.safe-rich-preview em{font-style:italic}.safe-rich-preview u{text-underline-offset:2px;text-decoration:underline}.safe-rich-preview a{color:#1263a1;text-underline-offset:2px;overflow-wrap:anywhere;align-items:center;gap:3px;text-decoration:underline;display:inline-flex}.safe-rich-preview a:hover{color:#0c4f82}.safe-rich-preview .is-empty{color:#82919b;font-style:italic}.safe-rich-template-link{color:#356681;background:#eaf3f8;border-radius:4px;align-items:center;gap:3px;padding:1px 4px;font-size:.92em;display:inline-flex}.content-editor-purpose-modal{border-radius:var(--kavoosh-modal-radius)!important;flex-direction:column!important;width:min(1120px,100vw - 48px)!important;max-height:calc(100vh - 48px)!important;display:flex!important;overflow:hidden!important}.content-editor-purpose-modal>header{flex:none}.content-editor-purpose-modal>form{gap:0!important;min-height:0!important;padding:0!important;overflow:auto!important}.content-editor-purpose-modal .content-editor-purpose{margin:16px 18px 0}.content-editor-workspace{grid-template-columns:minmax(0,1.6fr) minmax(310px,.8fr)!important;align-items:start!important;gap:0!important;min-width:0!important;display:grid!important}.content-editor-fields{grid-template-columns:minmax(0,1fr)!important;align-content:start!important;align-items:start!important;gap:14px!important;min-width:0!important;padding:18px!important;display:grid!important}.content-editor-fields>label{grid-template-rows:auto auto!important;align-self:start!important;align-items:stretch!important;gap:6px!important;height:auto!important;min-height:0!important;margin:0!important;display:grid!important}.content-editor-fields>label:not(.content-rich-body)>input,.content-editor-fields>label:not(.content-rich-body)>select{height:var(--kavoosh-control-height)!important;min-height:var(--kavoosh-control-height)!important;max-height:var(--kavoosh-control-height)!important;line-height:calc(var(--kavoosh-control-height) - 2px)!important;box-sizing:border-box!important;border-radius:var(--kavoosh-control-radius)!important;font-size:var(--kavoosh-font-md)!important;padding:0 12px!important;display:block!important}.content-editor-fields>label>textarea[name=change_summary]{resize:vertical!important;height:auto!important;min-height:76px!important;max-height:150px!important;padding:10px 12px!important;line-height:1.45!important}.content-rich-body{min-height:0!important}.content-rich-body>.safe-rich-editor{margin-top:0}.content-editor-sidebar{background:#f7fafc!important;border-left:1px solid #d9e2e8!important;align-content:start!important;align-self:stretch!important;gap:12px!important;min-width:0!important;padding:18px!important;display:grid!important}.content-editor-sidebar .content-live-preview article{max-height:390px!important;overflow:auto!important}.content-editor-purpose-modal form>footer{z-index:3!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important;background:#fffffff7!important;border-top:1px solid #d7e0e7!important;margin:0!important;padding:12px 18px!important;position:sticky!important;bottom:0!important}.content-editor-purpose-modal .content-form-two{padding:18px 18px 0!important}.content-editor-purpose-modal .content-form-two label{height:auto!important;min-height:0!important}.content-editor-purpose-modal .content-form-two input,.content-editor-purpose-modal .content-form-two select{height:var(--kavoosh-control-height)!important;min-height:var(--kavoosh-control-height)!important;max-height:var(--kavoosh-control-height)!important;border-radius:var(--kavoosh-control-radius)!important}@media (width<=900px){.content-editor-workspace{grid-template-columns:1fr!important}.content-editor-sidebar{border-top:1px solid #d9e2e8!important;border-left:0!important}.content-editor-sidebar .content-live-preview article{max-height:300px!important}}@media (width<=760px){.safe-rich-toolbar{flex-wrap:wrap}.safe-rich-toolbar>small{width:100%;margin:2px 4px}.safe-rich-link-editor{grid-template-columns:auto 1fr}.safe-rich-link-editor .apply,.safe-rich-link-editor>button:last-of-type{grid-row:2}.safe-rich-link-editor .apply{grid-column:2;justify-self:start}.safe-rich-link-editor>button:last-of-type{grid-column:1}.safe-rich-format-help{flex-direction:column;align-items:flex-start}.safe-rich-format-help>small{white-space:normal}.content-editor-purpose-modal{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}.content-editor-fields,.content-editor-sidebar{padding:14px!important}.content-editor-purpose-modal .content-editor-purpose{margin:14px 14px 0}.content-editor-purpose-modal form>footer{padding:11px 14px!important}}.safe-rich-editor{background:var(--kavoosh-color-surface);color:var(--kavoosh-color-text);border-color:var(--kavoosh-color-border);box-sizing:border-box;inline-size:100%;min-inline-size:0}.safe-rich-toolbar,.safe-rich-format-help,.safe-rich-link-editor{background:var(--kavoosh-color-surface-subtle);color:var(--kavoosh-color-text-muted);border-color:var(--kavoosh-color-border)}.safe-rich-toolbar button{color:var(--kavoosh-color-text);background:var(--kavoosh-color-surface);flex-shrink:0}.safe-rich-toolbar button:hover,.safe-rich-toolbar button:focus-visible{background:var(--kavoosh-color-primary-soft);color:var(--kavoosh-color-primary);border-color:var(--kavoosh-color-border-strong)}.safe-rich-toolbar button:disabled{opacity:.5;cursor:not-allowed}.safe-rich-toolbar>small,.safe-rich-format-help small,.safe-rich-preview .is-empty{color:var(--kavoosh-color-text-muted)}.safe-rich-toolbar>small{margin-inline:auto 0}.safe-rich-editor>textarea{background:var(--kavoosh-color-surface);color:var(--kavoosh-color-text);box-sizing:border-box}.safe-rich-editor>textarea::placeholder{color:var(--kavoosh-color-text-muted)}.safe-rich-editor.is-native-field>textarea{block-size:auto;min-block-size:0;max-block-size:none}.safe-rich-link-editor input{background:var(--kavoosh-color-surface);color:var(--kavoosh-color-text);border-color:var(--kavoosh-color-border)}.safe-rich-link-editor button{color:var(--kavoosh-color-primary);background:var(--kavoosh-color-surface);border-color:var(--kavoosh-color-border)}.safe-rich-format-help{flex-wrap:wrap}.safe-rich-format-help code{background:var(--kavoosh-color-surface);color:var(--kavoosh-color-text-muted);border-color:var(--kavoosh-color-border);direction:ltr;unicode-bidi:isolate}[dir=rtl] .safe-rich-editor>textarea{font-family:var(--kavoosh-font-fa)}@media (width<=600px){.safe-rich-toolbar{flex-wrap:wrap;gap:5px}.safe-rich-toolbar>small{inline-size:100%;margin-inline:0}.safe-rich-format-help>span{display:none}}.rich-text-field{align-content:start;gap:7px;min-inline-size:0;display:grid}.rich-text-field>label{color:var(--kavoosh-color-text-strong);font:inherit;margin:0;display:block}.rich-text-field>label>small{color:var(--kavoosh-color-text-muted);font-size:12px;font-weight:400;display:block}.content-editor-fields>.rich-text-field{gap:6px!important;min-block-size:0!important;margin:0!important;display:grid!important}.rich-text-field.content-rich-body{min-block-size:0!important}.safe-rich-editor.is-native-field .safe-rich-toolbar>small,.safe-rich-editor.is-native-field .safe-rich-format-help>span{display:none}.safe-rich-editor.is-native-field .safe-rich-format-help{justify-content:flex-end;min-block-size:26px;padding-block:4px}
