#wa-welcome{padding:0;border:0;border-radius:20px;width:min(440px,calc(100vw - 32px));max-height:90dvh;overflow:auto;background:#fff;color:#173a33;box-shadow:0 24px 80px #0006}
#wa-welcome::backdrop{background:rgba(0,0,0,.7)}
#wa-welcome .wa-welcome-content{position:relative;min-height:300px;display:flex;flex-direction:column;justify-content:center;isolation:isolate}
#wa-welcome-copy{padding:32px 26px 12px;overflow-wrap:anywhere;white-space:pre-wrap}
#wa-welcome-copy h2{margin:0 0 16px}#wa-welcome-copy p{margin:0;line-height:1.6}
#wa-welcome #wa-welcome-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;margin:0;border:0;border-radius:0}
#wa-welcome.has-photo .wa-welcome-content{height:min(620px,82dvh);min-height:260px;justify-content:flex-end}
#wa-welcome.has-photo #wa-welcome-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
#wa-welcome #wa-welcome-button{position:relative;display:block;width:calc(100% - 40px);margin:20px;padding:14px 18px;border:0;border-radius:12px;color:#fff;background:#128c7e;font:inherit;font-weight:700;white-space:pre-wrap;overflow-wrap:anywhere;cursor:pointer;touch-action:manipulation}

/* WhatsApp: keep the portrait photo entire, with a truly centered CTA. */
body:not([data-operator-popup-site="cm"]) #wa-welcome.has-photo{width:min(440px,calc(100vw - 32px),55dvh)}
body:not([data-operator-popup-site="cm"]) #wa-welcome.has-photo .wa-welcome-content{aspect-ratio:var(--wa-popup-aspect,1370 / 2048);height:auto;min-height:0}
body:not([data-operator-popup-site="cm"]) #wa-welcome.has-photo #wa-welcome-photo{object-fit:contain}
body:not([data-operator-popup-site="cm"]) #wa-welcome #wa-welcome-button{display:block;align-self:center;text-align:center;width:calc(100% - 40px);height:52px;min-height:52px;max-height:52px;padding:0 12px;line-height:52px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;margin:20px auto 22px}
