/* Explicit dialog geometry prevents theme modal resets from pinning it to a corner. */
html.ere-meeting-open,html.ere-meeting-open body{overflow:hidden!important}
#ere-uk-meeting{position:fixed!important;inset:0!important;margin:auto!important;transform:none!important;float:none!important;left:0!important;right:0!important;top:0!important;bottom:0!important;width:min(1080px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;height:min(820px,calc(100dvh - 48px))!important;max-height:calc(100dvh - 48px)!important;min-height:0!important;padding:22px!important;border:0!important;border-radius:16px;background:#fff;color:#0b3049;box-sizing:border-box;font-family:inherit;overflow:hidden!important;box-shadow:0 24px 80px #001b3540}
#ere-uk-meeting[open]{display:grid!important;grid-template-rows:auto minmax(0,1fr);gap:14px}
#ere-uk-meeting:not([open]){display:none!important}#ere-uk-meeting::backdrop{background:#031d34bb}
#ere-uk-meeting h2{font-family:inherit;font-size:22px!important;line-height:1.35!important;margin:0 48px 0 0!important;font-weight:500;color:#0b3049}
#ere-uk-meeting .eum-meeting-close{position:absolute;top:12px;right:12px;width:40px;height:40px;border:0;background:#edf4f8;border-radius:50%;font-size:24px;line-height:1;color:#0b3049;cursor:pointer;padding:0;display:grid;place-items:center;z-index:2}
#ere-uk-meeting .eum-meeting-frame{display:block;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden!important}
#ere-uk-meeting iframe{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border:0!important;margin:0!important}
#ere-uk-meeting .eum-meeting-close:focus-visible{outline:3px solid #b69959;outline-offset:2px}
.ere-uk-menu .eum-panel,.ere-uk-menu .eum-nested-panel{animation:none!important;transition:none!important}
@media(max-width:600px){#ere-uk-meeting{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:18px 10px 10px!important;border-radius:12px;gap:16px}#ere-uk-meeting h2{font-size:18px!important;margin-right:44px!important}#ere-uk-meeting .eum-meeting-close{top:9px;right:9px;width:36px;height:36px}}

/* Let the approved homepage hero fill the viewport inside a boxed theme layout. */
body.home .ere-ai-rm-hero {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
}
