.prose::after{content:"";display:block;clear:both}
.prose .cms-image{margin:20px auto;max-width:100%}
.prose .cms-image img{display:block;width:100%;height:auto;border-radius:12px}
.prose .cms-image figcaption{font-size:13px;color:var(--muted,#626d7a);margin-top:8px;text-align:center;font-weight:400}
.prose .cms-small{width:220px}.prose .cms-medium{width:420px}.prose .cms-large{width:100%}
.prose .cms-image.cms-left{margin-left:0;margin-right:auto}.prose .cms-image.cms-right{margin-right:0;margin-left:auto}
.prose .cms-wrap-left{float:left;margin:8px 24px 16px 0;max-width:48%}.prose .cms-wrap-right{float:right;margin:8px 0 16px 24px;max-width:48%}
.prose p.cms-left,.prose h2.cms-left,.prose h3.cms-left{text-align:left}
.prose p.cms-center,.prose h2.cms-center,.prose h3.cms-center{text-align:center}
.prose p.cms-right,.prose h2.cms-right,.prose h3.cms-right{text-align:right}
.prose table{display:block;overflow-x:auto;max-width:100%;width:max-content;margin:20px 0;border:1px solid var(--line,#dfe5ee);border-radius:8px;clear:both}
.prose td,.prose th{min-width:110px;padding:12px 16px;white-space:normal;overflow-wrap:anywhere;border:1px solid var(--line,#dfe5ee);font-size:14px;text-transform:none;letter-spacing:normal}
.page-editor{font-weight:400;width:100%;min-width:0}
.page-editor-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#edf2f8;border:1px solid #cbd7cf;border-radius:10px 10px 0 0;font-size:12px}
.page-editor-toolbar button,.page-editor-toolbar select{background:white;color:var(--ink);border:1px solid #cbd7cf;border-radius:6px;padding:7px 10px;font-size:12px;width:auto}
.page-editor-toolbar button:hover{background:#ffeadf}
.page-editor-toolbar label{display:flex;align-items:center;gap:5px}
.page-editor-area{background:white;border:1px solid #cbd7cf;border-top:0;border-radius:0 0 10px 10px;min-height:320px;padding:20px;font-size:16px;line-height:1.7;overflow-wrap:anywhere}
.page-editor-area:focus{outline:2px solid #a73a00;outline-offset:1px}
.page-editor-area figure{cursor:pointer}.page-editor-area figure:focus{outline:3px solid #a73a00;outline-offset:4px}
.page-editor-area td:focus{outline:2px solid #a73a00}
.editor-status{min-height:20px;margin-top:8px}
.editor-dialog{width:min(560px,calc(100% - 32px));max-height:90vh;overflow:auto;border:1px solid #cbd7cf;border-radius:18px;padding:28px;color:var(--ink);background:white}
.editor-dialog::backdrop{background:#17253a77}.editor-dialog h2{font-size:24px}
.editor-dialog [role="alert"]{color:#973d2b;font-size:14px}
@media(max-width:600px){.prose .cms-wrap-left,.prose .cms-wrap-right{float:none;margin:20px 0;max-width:100%}.page-editor-area{padding:14px}.editor-dialog{padding:20px}}
