/* EFW LP-09 popup overlay. Scoped namespace avoids changing existing themes. */
.efwpm-overlay{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:rgba(8,22,45,.66);padding:clamp(12px,3vw,40px);box-sizing:border-box;overscroll-behavior:contain}
.efwpm-overlay[hidden]{display:none!important}
.efwpm-dialog{position:relative;box-sizing:border-box;width:100%;max-width:min(var(--efwpm-width,620px),100%);max-height:min(92dvh,92vh);overflow:auto;overscroll-behavior:contain;border-radius:14px;background:#fff;color:#172b4a;box-shadow:0 24px 90px rgba(5,17,42,.35);outline:none;font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
.efwpm-dialog.efwpm-image-only{background:transparent;overflow:visible;box-shadow:none}
.efwpm-dialog.efwpm-image-only .efwpm-image{max-height:min(84dvh,84vh);object-fit:contain;border-radius:12px;box-shadow:0 20px 70px rgba(0,0,0,.3)}
.efwpm-dialog .efwpm-image{display:block;max-width:100%;width:100%;height:auto;object-fit:contain}
.efwpm-content{padding:clamp(18px,4vw,32px)}
.efwpm-title{font-size:clamp(20px,3vw,28px)!important;line-height:1.25!important;margin:0 0 12px!important;color:#14284a!important;font-weight:750!important;text-transform:none!important;letter-spacing:-.02em!important}
.efwpm-body{font-size:15px!important;line-height:1.65!important;white-space:pre-line;overflow-wrap:anywhere;color:#41516a!important;margin:0 0 20px!important}
.efwpm-link,.efwpm-action{color:#fff!important;background:#2355ba!important;border-radius:9px!important;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px!important;font-weight:650;box-sizing:border-box}
.efwpm-link:hover,.efwpm-action:hover{background:#153d91!important}
.efwpm-close{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:rgba(17,32,52,.92);color:white;font-size:27px;line-height:1;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.18)}
.efwpm-close:hover,.efwpm-close:focus-visible{background:#153f8b;outline:3px solid #8cb6fb;outline-offset:2px}
.efwpm-image-only .efwpm-close{right:-8px;top:-8px}
.efwpm-dialog a:focus-visible{outline:3px solid #8cb6fb;outline-offset:3px}
.efwpm-overlay[data-position="bottom-right"]{display:flex;justify-content:flex-end;align-items:flex-end;pointer-events:none;background:transparent;padding:18px}
.efwpm-overlay[data-position="bottom-right"] .efwpm-dialog{pointer-events:auto;max-width:min(var(--efwpm-width,420px),100%);max-height:85dvh;box-shadow:0 10px 45px rgba(5,17,42,.25)}
.efwpm-overlay[data-position="bottom"]{align-items:end;padding:0;background:rgba(8,22,45,.4)}
.efwpm-overlay[data-position="bottom"] .efwpm-dialog{max-width:800px;border-radius:14px 14px 0 0;max-height:80dvh}
body.efwpm-locked{overflow:hidden!important}
@media(max-width:600px){.efwpm-overlay{padding:10px}.efwpm-dialog{max-height:88dvh;border-radius:12px}.efwpm-dialog.efwpm-image-only{max-height:80dvh}.efwpm-dialog.efwpm-image-only .efwpm-image{max-height:78dvh}.efwpm-overlay[data-position="bottom-right"]{padding:10px}.efwpm-overlay[data-position="bottom-right"] .efwpm-dialog{max-width:100%;max-height:75dvh}.efwpm-content{padding:20px}.efwpm-image-only .efwpm-close{top:0;right:0}}
@media(prefers-reduced-motion:no-preference){.efwpm-dialog{animation:efwpm-in .2s ease-out}@keyframes efwpm-in{from{opacity:.2;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}}

.efwpm-video{display:block;width:100%;max-height:75dvh;object-fit:contain;border-radius:12px;background:#111}
