.mes-pb{display:grid;gap:16px}.mes-pb-rows{display:grid;gap:16px;min-width:0}.mes-pb-row{border:1px solid #dce4df;border-radius:12px;padding:12px;min-width:0;background:#fff}.mes-pb-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.mes-pb-bar strong{margin-right:auto}.mes-pb-grip{cursor:grab;font-size:22px;color:#6d7972}.mes-pb-cols{display:grid;gap:12px}.mes-pb-col{background:#f4f7f5;border-radius:8px;padding:10px;min-width:0;display:flex;flex-direction:column;gap:10px}.mes-pb-edit-block{border:1px solid #dce4df;border-radius:8px;padding:10px;background:white;display:grid;gap:8px;min-width:0}.mes-pb .mes-pb-control,.mes-pb .mes-pb-add{font:inherit;color:#24372e;background:white;border:1px solid #dce4df;border-radius:6px;padding:7px 10px;cursor:pointer}.mes-pb .mes-pb-save{justify-self:end!important}.mes-pb input,.mes-pb textarea,.mes-pb select{max-width:100%;min-width:0}.mes-pb-edit-block>input,.mes-pb-edit-block>textarea,.mes-pb-edit-block>select{width:100%}.mes-pb-thumbs{display:flex;gap:8px;flex-wrap:wrap}.mes-pb-thumbs>div{position:relative}.mes-pb-thumbs img{width:72px;height:72px;object-fit:cover;border-radius:6px}.mes-pb-thumbs button{position:absolute;right:0;top:0;padding:2px 6px!important;color:#9a3939!important}.mes-pb-public{display:grid;gap:36px}.mes-pb-public-row{display:grid;grid-template-columns:var(--pb-cols);gap:clamp(20px,4vw,56px)}.mes-pb-public-col{min-width:0;display:grid;gap:18px}.mes-pb-block:empty{display:none}.mes-pb-block h1,.mes-pb-block h2,.mes-pb-block p{margin-top:0}.mes-pb-images{position:relative}.mes-pb-images .mes-gallery-open{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.mes-pb-images img{display:block;width:100%;height:auto;border-radius:8px}.mes-pb-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mes-pb-gallery img{aspect-ratio:4/3;object-fit:cover}.mes-pb-slider .mes-gallery-open[hidden]{display:none!important}.mes-pb-slider-controls{display:flex;align-items:center;justify-content:space-between;position:absolute;top:50%;left:8px;right:8px;transform:translateY(-50%);pointer-events:none}.mes-pb-slider-controls button{pointer-events:auto;display:grid;place-items:center;box-sizing:border-box;flex:0 0 56px;margin:0;width:56px;height:56px;border:1px solid #ffffff35;border-radius:6px;background:#0009;color:white;padding:0;font-size:30px;line-height:1;cursor:pointer;transition:transform .18s ease,background .18s ease}.mes-pb-slider-controls button svg{display:block;width:30px;height:30px;margin:0;pointer-events:none}.mes-pb-slider-controls button:active{transform:translateY(3px)}@media(hover:hover){.mes-pb-slider-controls button:hover{transform:translateY(-2px);background:#000b}.mes-pb-slider-controls button:active{transform:translateY(3px)}}@media(prefers-reduced-motion:reduce){.mes-pb-slider-controls button{transition:none}}@media(max-width:767px){.mes-pb-cols,.mes-pb-public-row{grid-template-columns:1fr!important}.mes-pb-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.mes-pb-bar{gap:6px}.mes-pb .mes-pb-save{width:100%}}

/* Compact builder editor only */
.mes-pb .mes-pb-bar{display:flex!important;flex-wrap:nowrap;align-items:center;margin:0;gap:7px}.mes-pb-row>.mes-pb-bar{margin-bottom:12px}.mes-pb .mes-pb-bar .mes-pb-control{width:34px!important;min-width:34px;padding:0!important;height:34px;display:inline-flex;align-items:center;justify-content:center;font-size:18px}.mes-pb .mes-pb-name{flex:1;min-width:0;text-align:left;background:none;border:0;padding:4px 0;color:inherit;font-weight:700;cursor:pointer}.mes-pb .mes-pb-summary{font-size:12px;color:#64736a;line-height:1.45;overflow-wrap:anywhere;display:flex;align-items:center;gap:8px}.mes-pb .mes-pb-summary img{width:36px;height:36px;object-fit:cover;border-radius:4px}.mes-pb .mes-pb-body,.mes-pb .mes-pb-settings{display:grid;gap:8px;min-width:0}.mes-pb .mes-pb-settings{background:#f5f8f6;padding:10px;border-radius:7px;margin:4px 0 8px}.mes-pb .mes-pb-settings select,.mes-pb .mes-pb-body>input,.mes-pb .mes-pb-body>textarea{width:100%}.mes-pb [hidden]{display:none!important}.mes-pb .mes-pb-edit-block{padding:9px;gap:6px}.mes-pb .mes-pb-settings button:last-child{color:#963e3e}.mes-pb-row>.mes-pb-settings{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.mes-pb .mes-pb-col{gap:8px}.mes-pb .mes-pb-grip{flex:none}.mes-pb-row>.mes-pb-bar strong{white-space:nowrap}
/* Builder drag feedback and content chooser */
.mes-pb .mes-pb-grip{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}.mes-pb .mes-pb-dragging{opacity:.48;cursor:grabbing}.mes-pb .mes-pb-drop-active{outline:2px solid #249a70!important;outline-offset:2px;background:#e2f5eb!important;box-shadow:0 0 0 4px #249a701a}.mes-pb .mes-pb-add-content{align-self:flex-start;width:auto!important;min-height:32px;padding:5px 13px!important;border-radius:99px!important;font-size:13px!important;color:#176344!important;background:#e9f5ee!important;border:1px solid #c9e4d5!important}.mes-pb .mes-pb-settings button:last-child{color:#24372e}.mes-pb .mes-pb-settings .mes-pb-remove,.mes-pb-row>.mes-pb-settings button:last-child{color:#963e3e!important}.mes-pb-picker{box-sizing:border-box;width:min(520px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid #dce4df;border-radius:16px;padding:20px;background:#fff;color:#17251e;box-shadow:0 20px 60px #0003;font:inherit}.mes-pb-picker::backdrop{background:#101a16a6}.mes-pb-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:20px}.mes-pb-picker-head button{width:34px;height:34px;border:1px solid #dce4df;border-radius:8px;background:#f5f8f6;color:#17251e;font-size:22px;cursor:pointer}.mes-pb-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mes-pb-picker-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;border:1px solid #dce4df;border-radius:10px;background:#fff;padding:14px;color:#17251e;cursor:pointer;font:inherit}.mes-pb-picker-grid button:hover,.mes-pb-picker-grid button:focus-visible{border-color:#249a70;background:#eff8f2}.mes-pb-picker-grid small{font-size:12px;color:#64736a}.mes-pb-picker-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#e2f5eb;color:#176344;font-size:20px;font-weight:700}.mes-pb-picker[open]{animation:mes-pb-picker-in .16s ease-out}@keyframes mes-pb-picker-in{from{opacity:0;transform:translateY(5px) scale(.98)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.mes-pb-picker[open]{animation:none}}

.mes-pb .mes-pb-bar .mes-pb-icon{display:grid!important;place-items:center!important;line-height:1!important;padding:0!important;flex:0 0 34px;box-sizing:border-box}.mes-pb .mes-pb-icon svg{display:block!important;margin:0!important;position:static!important;transform:none!important;pointer-events:none}.mes-pb .mes-pb-bar .mes-pb-trash{color:#963e3e!important;background:#fff!important;border-color:#e4caca!important}.mes-pb .mes-pb-bar .mes-pb-trash:hover,.mes-pb .mes-pb-bar .mes-pb-trash:focus-visible{background:#fff5f5!important}.mes-pb .mes-pb-grip{display:grid;place-items:center;min-width:22px;min-height:32px;touch-action:none!important}.mes-pb .mes-pb-is-dragging .mes-pb-col{outline:1px dashed #a8c8b7}.mes-pb .mes-pb-is-dragging .mes-pb-drop-active{outline:3px solid #249a70!important;background:#d6f3e4!important}.mes-pb .mes-pb-edit-block.mes-pb-drop-active{box-shadow:0 -5px 0 #249a70!important}.mes-pb .mes-pb-dragging{opacity:.35!important;outline:2px dashed #249a70!important}

/* Compact destructive glyph; retain full click target. */
.mes-pb .mes-pb-trash svg{width:14px!important;height:14px!important;flex:none!important}

form.mes-pb[hidden]{display:none!important}form.mes-pb{margin-bottom:0}.mes-pb-supplement{margin-bottom:clamp(24px,4vw,56px)}.mes-faq-link-tools{display:grid;gap:8px}.mes-faq-link-tools>div:not([hidden]){display:grid;gap:8px}.mes-faq-link-tools button{justify-self:start}.mes-faq-link-tools [hidden]{display:none!important}

.mes-faq-rich{min-height:92px;padding:12px 14px;border:1px solid #d6ded9;border-radius:9px;background:#fff;color:inherit;line-height:1.6;font:inherit;overflow-wrap:anywhere;white-space:pre-wrap}.mes-faq-rich:focus{outline:2px solid #75ae97;outline-offset:1px}.mes-faq-rich a{color:#176344!important;text-decoration:underline;cursor:pointer}.mes-faq-rich p{margin:0 0 8px}.mes-faq-rich p:last-child{margin-bottom:0}.mes-faq-link-actions{display:flex;flex-wrap:wrap;gap:8px}.mes-faq-link-add{border:1px solid #c9e4d5!important;background:#e9f5ee!important;color:#176344!important;border-radius:99px!important;padding:6px 12px!important;font-size:13px!important}.mes-faq-body textarea[hidden]{display:none!important}
/* Shared form blocks and consolidated form settings cards. */
.mes-pb-block:has(>.mes-public-form){text-align:left!important}.mes-pb-block .mes-public-form{width:100%;min-width:0}.mes-contact-form-column:has(.mes-pb-form-relocated),.mes-editorial-form:has(.mes-pb-form-relocated),.mes-custom-page-form:has(.mes-pb-form-relocated),.mes-home-custom-form:has(.mes-pb-form-relocated){display:none!important}.mes-editorial-layout:has(.mes-pb-form-relocated),.mes-contact-layout:has(.mes-pb-form-relocated){grid-template-columns:1fr!important}.mes-forms-hub .mes-form-settings-card{margin:12px 0;border-radius:13px;overflow:hidden}.mes-forms-hub .mes-form-settings-card>summary.mes-form-page-card{display:flex!important;border:0!important;box-shadow:none!important;padding:16px 48px 16px 17px!important;gap:13px;position:relative}.mes-forms-hub .mes-form-settings-card[open]>summary{border-radius:13px 13px 0 0}.mes-forms-hub .mes-form-settings-card .mes-form-fields-box{padding:20px}.mes-form-recipient-inline{display:grid!important;gap:7px;margin:0 0 20px!important}.mes-form-recipient-inline input{width:100%;box-sizing:border-box}.mes-form-recipient-inline small{font-weight:400;color:#68736d}.mes-forms-hub .mes-form-fields-box button[type=submit]{display:block;margin-left:auto}@media(max-width:600px){.mes-forms-hub .mes-form-settings-card .mes-form-fields-box{padding:12px}.mes-forms-hub .mes-form-fields-box button[type=submit]{width:100%}}
/* Shared compact row action, including supplemental builders. */
body.mes-dashboard-page form.mes-pb > button.mes-pb-add{justify-self:start!important;align-self:start!important;width:auto!important;min-width:0!important;max-width:100%;display:inline-flex!important;align-items:center;justify-content:center;min-height:32px;padding:6px 13px!important;border:1px solid #dce4df!important;border-radius:999px!important;background:#fff!important;color:#24372e!important;font-size:13px!important;line-height:1.4!important;white-space:nowrap;}
body.mes-dashboard-page form.mes-pb > button.mes-pb-add:hover{background:#e9f5ee!important;border-color:#c9e4d5!important;}

body.mes-dashboard-page .mes-pb .mes-pb-summary{display:none!important} 
body.mes-dashboard-page form.mes-pb > button.mes-pb-add{width:max-content!important;max-width:100%!important;justify-self:start!important;align-self:start!important;flex:0 0 auto!important;border-radius:999px!important;}
body.mes-pb-primary-active .mes-contact-form-column{display:none!important}body.mes-pb-primary-active .mes-contact-layout{grid-template-columns:minmax(0,1fr)!important}

/* Shared public builder surfaces. */
body.mes-pb-contact-owned .mes-public-page-body > .mes-contact-layout{display:none!important}
body.mes-pb-faq-owned .mes-about-faq{display:none!important}
body:not(.mes-dashboard-page) .mes-public-form{box-sizing:border-box!important;background:#fff!important;border:1px solid #e6e6e6!important;border-radius:12px!important;padding:clamp(18px,3vw,36px)!important;box-shadow:0 8px 28px rgba(0,0,0,.08)!important;min-width:0!important;}
body:not(.mes-dashboard-page) .mes-public-form button[type=submit].mes-button{align-self:flex-start!important;width:auto!important;min-width:0!important;padding:13px 20px!important;line-height:1.4!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.mes-email-signup,.mes-pb-hours,.mes-pb-contact-details{position:relative}.mes-pb-hours .mes-contact-hours-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e8e8e8}.mes-pb-hours .mes-contact-hours-row span:first-child{font-weight:600}.mes-pb-hours .mes-contact-hours-row span:last-child{text-align:right}.mes-pb-contact-details .mes-contact-information-row{padding:12px 0;border-bottom:1px solid #e8e8e8}.mes-pb-contact-details .mes-contact-information-row>span{display:block;font-size:.78em;text-transform:uppercase;font-weight:600}.mes-pb-public-row:has(.mes-pb-block .mes-public-google-map) .mes-pb-public-col{min-width:0}

.mes-pb-map{position:relative}

/* Menu hub: standalone builder card, matching other page editors. */
body.mes-dashboard-page .mes-workbench #menu-editor > form.mes-pb:not([hidden]){box-sizing:border-box;min-width:0;padding:clamp(20px,3vw,34px)!important;background:#fff!important;border:1px solid #e2e6e3!important;border-radius:16px!important;box-shadow:0 4px 24px rgba(0,0,0,.025);margin:0 0 20px!important;}
@media(max-width:700px){body.mes-dashboard-page .mes-workbench #menu-editor > form.mes-pb:not([hidden]){padding:18px 14px!important;}}

/* Public builder and form containment; preserve normal page/dropdown overflow. */
body:not(.mes-dashboard-page) :is(.mes-pb-public,.mes-pb-public-row,.mes-pb-public-col,.mes-pb-block,.mes-editorial-layout,.mes-editorial-form){min-width:0;max-width:100%;box-sizing:border-box;}
html body:not(.mes-dashboard-page) .mes-public-form{position:relative;max-width:100%!important;}
html body:not(.mes-dashboard-page) .mes-public-form > label{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
html body:not(.mes-dashboard-page) .mes-public-form > button[type=submit]{max-width:100%!important;white-space:normal;}

body.mes-dashboard-page .mes-workbench .mes-faq-body .mes-faq-rich,body.mes-dashboard-page .mes-workbench .mes-faq-body textarea,body.mes-dashboard-page .mes-workbench .mes-pb textarea{font-weight:400!important;font-size:14px!important;line-height:1.55!important;}
body.mes-dashboard-page .mes-workbench .mes-faq-link-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 14px!important;border:1px solid #d6ded9!important;border-radius:9px!important;background:#fff!important;color:#14231e!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important;}
body.mes-dashboard-page .mes-workbench .mes-faq-link-actions button[data-insert]{background:#14231e!important;color:#fff!important;border-color:#14231e!important;}
body.mes-dashboard-page .mes-workbench .mes-faq-link-actions button[data-unlink]{color:#a23e42!important;}
body.mes-dashboard-page .mes-workbench .mes-faq-link-actions button[hidden]{display:none!important;}

@media(max-width:767px){body:not(.mes-dashboard-page) .mes-pb-public-row{row-gap:40px;}body:not(.mes-dashboard-page) .mes-pb-slider-controls button{width:56px;height:56px;font-size:30px;line-height:1;padding:0;}body:not(.mes-dashboard-page) #mes-gallery-lightbox :is(.mes-lightbox-prev,.mes-lightbox-next){min-width:48px;min-height:48px;font-size:28px;}body:not(.mes-dashboard-page) #mes-gallery-lightbox :is(.mes-lightbox-prev,.mes-lightbox-next) svg{width:28px;height:28px;}.mes-pb-slider,#mes-gallery-lightbox figure{touch-action:pan-y;}}
.mes-gallery-open.mes-image-pending{background:#eee;}.mes-gallery-open.mes-image-pending img{opacity:0;}.mes-gallery-open.mes-image-ready img{animation:mesGalleryReveal .28s ease-out;}@keyframes mesGalleryReveal{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.mes-gallery-open.mes-image-ready img{animation:none;}}

body:not(.mes-dashboard-page) .mes-public-form-title{grid-column:1/-1;font-size:24px;line-height:1.25;margin:0 0 4px;font-weight:700;}
.mes-gallery-grid .mes-gallery-open{background:#eee;}
@media(prefers-reduced-motion:no-preference){.mes-gallery-js .mes-gallery-grid .mes-gallery-open:not(.mes-image-ready):not(.mes-image-error) img{opacity:0;animation:mesGalleryReveal .3s ease 12s forwards;}.mes-gallery-js .mes-gallery-grid .mes-image-ready img{animation:mesGalleryReveal .45s ease-out both;}}

.mes-public-form .mes-akismet-notice,.mes-email-signup .mes-akismet-notice{display:block;grid-column:1/-1;font-size:12px;line-height:1.5;font-weight:400;color:var(--muted,#666);margin-top:8px;}

body:not(.mes-dashboard-page) .mes-pb-faq{max-width:900px;width:100%;margin-left:auto;margin-right:auto;box-sizing:border-box;}

body:not(.mes-dashboard-page) .mes-public-form-title{display:flex;align-items:center;}
.mes-public-form-icon{display:inline-flex;flex:0 0 34px;width:34px;height:34px;align-items:center;justify-content:center;margin-right:10px;border:1px solid var(--line,#e5e5e5);border-radius:8px;background:#f4f5f4;color:var(--ink,#222);}
.mes-public-form-icon svg{width:21px;height:21px;}
.mes-public-form input::placeholder,.mes-public-form textarea::placeholder{color:#777;opacity:1;}

/* Compact inline builder previews */
.mes-pb .mes-pb-identity{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:hidden}.mes-pb .mes-pb-identity .mes-pb-name{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mes-pb .mes-pb-inline-preview{display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden;color:#64736a;font-size:12px;font-weight:400;line-height:1.3}.mes-pb .mes-pb-preview-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.mes-pb .mes-pb-inline-preview img{width:32px;height:26px;flex:none;object-fit:cover;border-radius:4px}.mes-pb .mes-pb-inline-link{font-size:12px;color:#397359;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.mes-pb .mes-pb-body .mes-pb-inline-link{font-size:inherit;text-decoration:underline}.mes-pb .mes-pb-identity .mes-pb-inline-preview:empty{display:none}

/* Compact settings links inside expanded builder blocks */
.mes-pb .mes-pb-body .mes-pb-edit-jump{text-align:center;margin:8px 0 0}.mes-pb .mes-pb-form-links{justify-content:center;gap:8px;margin:4px 0 0!important}.mes-pb .mes-pb-form-links a{margin:0!important}

/* Active settings control */
.mes-pb .mes-pb-bar .mes-pb-icon.mes-pb-gear-active{background:#e1f0e8!important;border-color:#9bc7af!important;color:#246b50!important;}

/* Shared builder: compact headers and visual row layouts. */
.mes-pb .mes-pb-edit-block,.mes-pb .mes-pb-col,.mes-pb .mes-pb-edit-block>.mes-pb-bar{min-width:0;max-width:100%;box-sizing:border-box}
.mes-pb .mes-pb-identity .mes-pb-name{flex:0 0 auto;max-width:100%}.mes-pb .mes-pb-inline-preview{flex:0 1 auto;min-width:0}.mes-pb .mes-pb-block-tools{justify-content:flex-end;gap:6px;margin:0!important;padding-top:4px;border-top:1px solid #e5ebe7}
.mes-pb-row>.mes-pb-settings{grid-template-columns:minmax(0,1fr)!important}.mes-pb .mes-pb-layout-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;min-width:0}.mes-pb .mes-pb-layout-choices .mes-pb-layout-choice{display:flex!important;flex-direction:column;align-items:stretch;justify-content:center;gap:7px;min-width:0!important;width:100%!important;height:auto!important;padding:9px!important;background:#fff!important;border:1px solid #d6ded9!important;border-radius:8px!important;color:#24372e!important;font-size:12px!important;text-align:center;line-height:1.3;white-space:normal;box-shadow:none!important}.mes-pb .mes-pb-layout-choice[aria-pressed=true]{background:#e1f0e8!important;border-color:#438265!important;color:#176344!important}.mes-pb .mes-pb-layout-choice:hover{border-color:#438265!important}.mes-pb .mes-pb-layout-choice:focus-visible{outline:2px solid #438265;outline-offset:2px}.mes-pb .mes-pb-layout-diagram{display:flex;gap:4px;height:28px;width:100%}.mes-pb .mes-pb-layout-diagram>span{min-width:0;background:#c5ceca;border-radius:3px}.mes-pb .mes-pb-layout-choice[aria-pressed=true] .mes-pb-layout-diagram>span{background:#438265}.mes-pb .mes-pb-settings>select{min-width:0;max-width:100%}
@media(max-width:767px){.mes-pb .mes-pb-layout-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Unified compact block toolbar and settings surface. */
.mes-pb .mes-pb-tool-panel{display:grid;gap:8px;min-width:0;background:#f5f8f6;padding:8px 10px;border-radius:7px;box-sizing:border-box}.mes-pb .mes-pb-tool-panel>.mes-pb-block-tools{border:0;padding:0;gap:6px;margin:0!important;justify-content:flex-end}.mes-pb .mes-pb-tool-panel>.mes-pb-settings{background:transparent;padding:0;margin:0;border-radius:0;min-width:0}.mes-pb .mes-pb-tool-panel>.mes-pb-settings[hidden]{display:none!important}

/* Mobile stacking: preserve desktop column positions and reverse only stacked rows. */
.mes-pb .mes-pb-mobile-stack{display:grid;gap:6px;min-width:0;margin:0;font-size:13px;font-weight:600;color:#24372e}.mes-pb .mes-pb-mobile-stack select{width:100%;min-width:0;max-width:100%;font-weight:400}
@media(max-width:767px){.mes-pb-public-row.mes-pb-mobile-reverse>.mes-pb-public-col:nth-child(1){order:3}.mes-pb-public-row.mes-pb-mobile-reverse>.mes-pb-public-col:nth-child(2){order:2}.mes-pb-public-row.mes-pb-mobile-reverse>.mes-pb-public-col:nth-child(3){order:1}}

/* Keep expanded editor controls inside their own column; allow vertical resizing only. */
body.mes-dashboard-page .mes-pb .mes-pb-edit-block,
body.mes-dashboard-page .mes-pb .mes-pb-body,
body.mes-dashboard-page .mes-pb .mes-pb-tool-panel,
body.mes-dashboard-page .mes-pb .mes-pb-settings {
  grid-template-columns: minmax(0, 1fr) !important;
  min-width: 0 !important;
  max-width: 100%;
  box-sizing: border-box;
}
body.mes-dashboard-page .mes-pb .mes-pb-body textarea {
  display: block;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  resize: vertical !important;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
body.mes-dashboard-page .mes-pb .mes-pb-tool-panel > .mes-pb-block-tools {
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

/* Page Builder heading hierarchy; preserve theme H1/H2 styling. */
.mes-pb-public .mes-pb-block h3.mes-pb-title{font-size:clamp(1.25rem,2.2vw,1.75rem);line-height:1.25;margin-top:0;}
.mes-pb-public .mes-pb-block h4.mes-pb-title{font-size:clamp(1.05rem,1.6vw,1.35rem);line-height:1.3;margin-top:0;}

.mes-pb-picker .mes-pb-picker-icon{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box;flex:none;padding:0!important;line-height:1!important}.mes-pb-picker .mes-pb-picker-icon svg{display:block!important;width:20px!important;height:20px!important;margin:0!important;flex:none}.mes-pb-html-editor{font-family:monospace!important;resize:vertical!important;max-width:100%;box-sizing:border-box}.mes-pb-html{max-width:100%;overflow-wrap:anywhere;overflow-x:auto}.mes-pb-html iframe{max-width:100%;border:0}.mes-pb-html img,.mes-pb-html video{max-width:100%;height:auto}
