#em-error-popup{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;border:0;border-radius:16px;background:#fff;color:#172b3a;box-shadow:0 24px 80px #071c4266;font-family:inherit;text-align:left;z-index:2147483647}
#em-error-popup:not([open]){display:none}
#em-error-popup::backdrop{background:#0b1d37a8}
#em-error-popup .em-error-inner{box-sizing:border-box;padding:24px;border-top:5px solid #d92d20;display:flex;flex-direction:column;max-height:calc(100dvh - 32px)}
#em-error-popup h2{margin:0 32px 14px 0;font-size:1.2rem;color:#a8241a;line-height:1.4;flex-shrink:0}
#em-error-popup .em-error-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0;overflow:auto;min-height:0}
#em-error-popup .em-error-close{position:absolute;right:12px;top:12px;background:transparent;border:0;color:#59697b;padding:5px 10px;font:inherit;font-size:24px;cursor:pointer;line-height:1}
#em-error-popup .em-error-actions{display:flex;justify-content:flex-end;margin-top:22px;flex-shrink:0}
#em-error-popup .em-error-ok{background:#173e62;color:white;border:0;border-radius:8px;font:inherit;font-weight:700;padding:11px 24px;cursor:pointer;min-height:44px}
#em-error-popup button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:480px){#em-error-popup .em-error-inner{padding:20px}#em-error-popup .em-error-ok{width:100%}#em-error-popup .em-error-actions{display:block}}
