.mh-popup-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--mhpb-overlay,rgba(0,0,0,.62));opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;box-sizing:border-box}.mh-popup-overlay.mh-popup-open{opacity:1;visibility:visible}.mh-popup-dialog{position:relative;width:min(var(--mhpb-width,720px),100%);max-height:calc(100vh - 48px);overflow:auto;background:var(--mhpb-bg,#fff);color:var(--mhpb-text,#222);border-radius:var(--mhpb-radius,16px);box-shadow:var(--mhpb-shadow,0 18px 70px rgba(0,0,0,.28));transform:translateY(12px);transition:transform .25s ease;outline:none}.mh-popup-open .mh-popup-dialog{transform:translateY(0)}.mh-popup-content{padding:var(--mhpb-padding,36px);overflow-wrap:anywhere}.mh-popup-close{position:sticky;float:right;top:10px;margin:10px 10px -46px 0;z-index:5;width:34px;height:34px;border:0;background:#f2f2f2;color:#222;font:300 27px/1 Arial,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center}.mh-popup-close-circle{border-radius:50%}.mh-popup-close-square{border-radius:0}.mh-popup-close-plain{background:transparent;border-radius:0}.mh-popup-close:hover,.mh-popup-close:focus{background:#ddd;color:#000}.mh-popup-close-plain:hover,.mh-popup-close-plain:focus{background:transparent;text-decoration:underline}.mh-popup-content>:first-child{margin-top:0}.mh-popup-content>:last-child{margin-bottom:0}.mh-popup-content img{max-width:100%;height:auto}@media(max-width:600px){.mh-popup-overlay{padding:12px}.mh-popup-dialog{max-height:calc(100vh - 24px)}.mh-popup-content{padding:clamp(18px,5vw,var(--mhpb-padding,24px))}.mh-popup-close{margin:8px 8px -42px 0}}
.mh-popup-content .mhpb-builder-button{display:inline-block;padding:12px 24px;background:#222;color:#fff;text-decoration:none;border-radius:3px;font-weight:600;transition:opacity .15s ease}.mh-popup-content .mhpb-builder-button:hover,.mh-popup-content .mhpb-builder-button:focus{opacity:.82;color:#fff}.mh-popup-content .mhpb-builder-image img{display:inline-block;max-width:100%;height:auto}
/* Builder typography controls: keep chosen typography consistent inside rich-text blocks. */
.mh-popup-content .mhpb-builder-richtext > *{font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;font-family:inherit!important;color:inherit}
.mh-popup-content .mhpb-builder-button{box-sizing:border-box}
