/* One reading model for every rule import and every tenant theme. */
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document{font:inherit;color:inherit;line-height:1.75;text-align:start;overflow-wrap:break-word;word-break:normal;max-width:74ch;margin-inline:auto}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document :is(h1,h2,h3,h4){font-family:inherit;font-weight:700;color:inherit;text-align:start;line-height:1.4;letter-spacing:normal;text-transform:none;scroll-margin-top:6rem}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document h2{font-size:1.3em;margin:1.8em 0 .75em;padding-top:1em;border-top:1px solid color-mix(in srgb,currentColor 18%,transparent)}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document h3{font-size:1.12em;margin:1.4em 0 .65em}body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document h4{font-size:1em;margin:1.1em 0 .5em}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document p{margin:.65em 0;line-height:inherit;font-size:inherit;color:inherit}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document p.rule-paragraph{padding-inline-start:2.5em;text-indent:-2.5em;margin:.7em 0}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document ol.rule-list-explicit{list-style:none;padding:0;margin:.5em 0 1em 2.5em}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document ol.rule-list-explicit>li.rule-item{display:list-item;list-style:none;padding:0 0 0 1.9em;text-indent:-1.9em;margin:.45em 0;line-height:inherit;font-size:inherit}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document :is(ul,ol):not(.rule-list-explicit){padding-inline-start:2em;margin:.5em 0 1em}body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document li{margin:.4em 0;line-height:inherit}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document :is(table,figure,img){max-width:100%}body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document img{height:auto}body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document table{border-collapse:collapse;display:block;overflow-x:auto;margin:1em 0}body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document :is(th,td){border:1px solid color-mix(in srgb,currentColor 20%,transparent);padding:.55em .7em;vertical-align:top}
body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document figcaption{font-size:.85em;line-height:1.5}.rules-legacy-anchor{display:block;position:relative;scroll-margin-top:6rem;height:0;overflow:hidden}.rule-image-placeholder{display:block;padding:1em;border:1px dashed currentColor;font-size:.9em}
.rules-format-workspace{max-width:1200px;margin:1.5rem auto;padding:1rem;color:var(--app-body-text,#19382e)}
.rules-format-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin-block:1.5rem}.rules-format-columns>section{min-width:0;padding:1.25rem;border:1px solid #cad6ce;border-radius:.6rem;background:var(--app-card-bg,#fff)}
.rules-format-source{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.95rem;line-height:1.75;margin:0}.rules-format-preview{font-size:1rem;line-height:1.75;max-width:100%}
.rules-format-notice{border-inline-start:4px solid #a07015;background:#fff8e8;padding:1rem 1.25rem;color:#453718}.rules-format-notice h2{font-size:1.1rem}
.rules-format-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-block:1rem}.rules-format-actions button{padding:.65rem 1rem;font:inherit;cursor:pointer}.rules-format-ack{display:flex;gap:.65rem;align-items:start;margin-block:1rem}.rules-format-ack input{margin-top:.35rem}
dialog.rules-format-dialog{width:min(1200px,94vw);max-height:90dvh;padding:1.25rem;border:1px solid #cad6ce;border-radius:.75rem;color:var(--app-body-text,#19382e);background:var(--app-card-bg,#fff)}
dialog.rules-format-dialog::backdrop{background:#142e2377}.rules-format-dialog h2{font-size:1.2rem}.rules-format-status{margin-block:.8rem;font-size:.95rem}.rules-format-tools{padding:1rem;border:1px solid #cad6ce;border-radius:.6rem;margin-block:1rem}.rules-format-tools p{margin:.5rem 0}
@media(max-width:760px){.rules-format-columns{grid-template-columns:minmax(0,1fr)}.rules-format-columns>section{padding:1rem}body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document p.rule-paragraph{padding-inline-start:2em;text-indent:-2em}body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document ol.rule-list-explicit{margin-inline-start:1.25em}}
@media print{body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document{max-width:none;font-size:11pt}body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document h2{break-after:avoid}body :is(.rules-format-preview,.doc-content,.wysiwyg-editor) .rules-document :is(p,li){orphans:3;widows:3}.rules-legacy-anchor{display:none}}
