/* 189: popup close targets only; ERP header/dock styles are unchanged. */
.erp-overlay-close{position:absolute;right:4px;top:4px;z-index:30;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;border:0;border-radius:50%;padding:0;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer}
.erp-overlay-close:hover,.erp-overlay-close:active{background:#80808018}
.erp-overlay-close:focus-visible{outline:2px solid #2563eb;outline-offset:-4px}.erp-overlay-close:focus-visible{outline:2px solid #FFC21A;outline-offset:-4px}
.erp-overlay-has-close>:is(header,h1,h2,h3):first-child{padding-right:44px;box-sizing:border-box}
#w176Emoji.erp-overlay-has-close>nav{padding-right:44px;box-sizing:border-box}
.erp-overlay-dim{position:fixed;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgba(0,0,0,.35);padding:0;z-index:10060}
.erp-overlay-dim[hidden],.erp-overlay-close[hidden]{display:none!important}

/* 194-3: a single top-layer confirmation, also used from nested sheets. */
.erp-confirm{position:fixed;inset:0;margin:auto;width:min(420px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:80dvh;overflow:auto;box-sizing:border-box;border:0;border-radius:18px;padding:20px;background:#fff;color:#111827;box-shadow:0 12px 48px #0003}.erp-confirm::backdrop{background:#0f172a88}.erp-confirm h3{font-size:18px;margin:0 42px 12px 0}.erp-confirm p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.erp-confirm .warning{color:#b91c1c}.erp-confirm footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.erp-confirm button{min-width:72px;min-height:44px;border:0;border-radius:10px;background:#f3f4f6;color:#111827;font:inherit;padding:8px 12px}.erp-confirm .erp-confirm-ok{background:#2563eb;color:white}.erp-confirm .erp-confirm-ok{background:#FFC21A;color:#2B1D00}.erp-confirm .erp-confirm-x{position:absolute;top:8px;right:8px;min-width:44px;width:44px;padding:0;background:none}
