/* MEYWEB 1.0.261 — shared rich-text typography and two-row editor */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
.mw261-rich-content{box-sizing:border-box;font-family:Arial,sans-serif;font-size:16px;line-height:1.6;letter-spacing:normal;color:#18253b;overflow-wrap:break-word;word-break:normal;min-width:0}
.mw261-rich-content :is(p,li,blockquote):not([style*="font-size"]){font-size:16px}
.mw261-rich-content :is(p,li,blockquote):not([style*="line-height"]){line-height:1.6}
.mw261-rich-content :is(h1,h2,h3,h4,h5,h6){font-family:inherit;font-weight:700;letter-spacing:normal;line-height:1.25;text-transform:none}
.mw261-rich-content h1:not([style*="font-size"]){font-size:36px}
.mw261-rich-content h2:not([style*="font-size"]){font-size:30px}
.mw261-rich-content h3:not([style*="font-size"]){font-size:24px}
.mw261-rich-content h4:not([style*="font-size"]){font-size:20px}
.mw261-rich-content p{margin:0 0 18px}
.mw261-rich-content :is(h1,h2,h3,h4,h5,h6){margin:24px 0 16px}
.mw261-rich-content > :first-child{margin-top:0}
.mw261-rich-content :is(ul,ol){padding-left:1.5em;margin:0 0 18px}
.mw261-rich-content a{color:#b90036;text-decoration:underline;text-underline-offset:3px}
.mw261-rich-content blockquote{margin:16px 0;border-left:3px solid #c80040;padding:10px 18px;background:#f7f8fb}
.mw261-rich-content img{max-width:100%;height:auto}
.mw261-rich-content table{border-collapse:collapse;width:100%}
.mw261-rich-content :is(td,th){padding:8px 10px;border:1px solid #dbe3eb}
.mw261-rich-content :is(th){background:#f2f5f9}
/* Defend semantic heading/body sizes against legacy theme selectors only when no explicit font-size exists. */
.tk-page .tk-inner-body .mw261-rich-content h1:not([style*="font-size"]),.theme-mw-landing .mw261-rich-content h1:not([style*="font-size"]){font-size:36px!important}
.tk-page .tk-inner-body .mw261-rich-content h2:not([style*="font-size"]),.theme-mw-landing .mw261-rich-content h2:not([style*="font-size"]){font-size:30px!important}
.tk-page .tk-inner-body .mw261-rich-content h3:not([style*="font-size"]){font-size:24px!important}
.tk-page .tk-inner-body .mw261-rich-content p:not([style*="font-size"]){font-size:16px!important}
.mw261-rich{min-width:0}
.mw261-rich .mw261-toolbar{display:grid;gap:0;padding:7px 8px;border:1px solid #dce4ef;border-bottom:0;border-radius:14px 14px 0 0;background:#f8faff}
.mw261-rich .mw261-tools-row{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;overflow-x:auto;min-height:45px;padding:5px 2px;border:0}
.mw261-rich .mw261-tools-row + .mw261-tools-row{border-top:1px solid #e3eaf3}
.mw261-rich .mw261-tools-row .mwsp-pro-tool{min-height:34px;border:1px solid #dde5ef;border-radius:7px;padding:6px 8px;background:#fff;color:#263b58;cursor:pointer}
.mw261-rich .mw261-tools-row .mwsp-pro-tool:hover{border-color:#cf0645;color:#cf0645;background:#fff7fa}
.mw261-rich .mw261-tools-row .mwsp-inline-select{min-width:0}
.mw261-rich .mw261-tools-row select{min-height:35px;padding:5px;border:1px solid #dbe3ef;border-radius:7px;background:#fff;color:#263b58;max-width:170px}
.mw261-rich .mw261-tools-row .mwsp-tools-sep{border-left:1px solid #dce5f0;height:24px;margin:0 3px}
.mw261-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,270px);gap:12px;padding:10px;background:#fff;border:1px solid #dce4ef;border-top:0;align-items:stretch}
.mw261-rich .mwsp-pro-document-wrap{min-width:0;min-height:430px;max-height:70vh;overflow:auto;padding:15px;border:1px solid #e3eaf4;border-radius:10px;background:#fff}
.mw261-rich [data-sp-rich]{min-height:320px;outline:none;color:#18253b;background:white;max-width:100%;box-sizing:border-box}
.mw261-rich [data-sp-rich]:focus{outline:2px solid #dbe5f7;outline-offset:6px}
.mw261-inspector{display:flex;flex-direction:column;gap:11px;min-width:0;padding:15px 13px;border:1px solid #dfe6f0;border-radius:10px;background:#fbfcfe;color:#182b49}
.mw261-inspector-title{display:grid;gap:5px;padding-bottom:10px;border-bottom:1px solid #e4ebf2}.mw261-inspector-title strong{font-size:16px}.mw261-inspector-title small{font-size:11px;color:#718098}
.mw261-inspector>label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:12px}
.mw261-inspector select{width:100%;min-height:37px;border:1px solid #dae3ef;border-radius:8px;background:#fff;color:#253e5b;padding:6px 9px;font-size:13px}
.mw261-inspector-color{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mw261-inspector-color label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700}.mw261-inspector-color input{height:36px;width:100%;border:1px solid #dce4ee;border-radius:7px;background:#fff;padding:3px}
.mw261-note{margin-top:auto;background:#f0f5fc;border:1px solid #d5e2f2;border-radius:10px;padding:11px;font-size:12px;line-height:1.5}.mw261-note strong{font-size:12px;color:#1f4774}.mw261-note p{margin:4px 0 0;color:#566a84}
.mw261-rich .mwsp-pro-footer{padding:11px 14px;border:1px solid #dce4ef;border-top:0;border-radius:0 0 12px 12px}
@media(max-width:1050px){.mw261-editor-grid{grid-template-columns:minmax(0,1fr)}.mw261-inspector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mw261-inspector-title,.mw261-note{grid-column:1/-1}.mw261-rich .mwsp-pro-document-wrap{max-height:none}}
@media(max-width:560px){.mw261-inspector{grid-template-columns:1fr}.mw261-rich .mw261-toolbar{padding:5px}.mw261-rich .mw261-tools-row{gap:4px}.mw261-rich .mw261-tools-row .mwsp-pro-tool{font-size:11px;padding:6px}.mw261-rich .mw261-tools-row select{max-width:120px}.mw261-editor-grid{padding:5px}.mw261-rich .mwsp-pro-document-wrap{padding:9px}}

/* 1.0.262: heading selections H5/H6 supported in both editor and publication. */
.mw261-rich-content h5:not([style*="font-size"]){font-size:18px}.mw261-rich-content h6:not([style*="font-size"]){font-size:16px}
