.jp-backdrop{position:fixed;inset:0;z-index:99990;background:rgba(11,16,47,.68);display:grid;place-items:center;padding:18px}.jp-backdrop[hidden]{display:none}.jp-dialog{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);width:min(100%,980px);max-height:min(90dvh,850px);overflow:auto;border-radius:24px;background:#fff;color:#121c50;box-shadow:0 22px 65px rgba(0,0,0,.23);font-family:inherit}.jp-dialog.jp-center,.jp-dialog.jp-compact,.jp-dialog.jp-banner{display:block;max-width:620px}.jp-dialog.jp-compact{max-width:460px}.jp-dialog.jp-bottom_sheet{max-width:680px}.jp-dialog.jp-banner{max-width:980px}.jp-art{min-height:340px;background:#f0e6ff;display:grid;place-items:center;overflow:hidden}.jp-art img{width:100%;height:100%;max-height:690px;object-fit:cover}.jp-dialog.jp-center .jp-art,.jp-dialog.jp-compact .jp-art,.jp-dialog.jp-banner .jp-art{min-height:0;max-height:200px}.jp-content{padding:clamp(22px,4vw,42px);align-self:center}.jp-eyebrow{color:#e91980;font-size:.9rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.jp-title{font-size:clamp(1.7rem,3vw,2.8rem);line-height:1.12;margin:10px 0 14px;color:#101a50}.jp-body{font-size:1rem;line-height:1.5;margin:0 0 20px}.jp-form{display:grid;gap:12px}.jp-field{display:grid;gap:5px;font-weight:600}.jp-field input:not([type=checkbox]){width:100%;box-sizing:border-box;min-height:46px;padding:10px 14px;border:1px solid #b8bdd3;border-radius:10px;font:inherit}.jp-check{display:flex;align-items:flex-start;gap:8px;font-size:.88rem}.jp-check input{margin-top:4px;accent-color:#e91980}.jp-primary{border:0;border-radius:30px;background:#ed1985;color:#fff;min-height:50px;padding:10px 22px;font:inherit;font-weight:800;cursor:pointer}.jp-secondary{border:0;background:transparent;color:#333d70;text-decoration:underline;font:inherit;cursor:pointer;margin-top:10px}.jp-close{position:absolute;right:14px;top:14px;border:0;border-radius:50%;width:38px;height:38px;background:#f1ebfa;color:#171d56;font-size:26px;cursor:pointer;z-index:2}.jp-error{color:#b42318;font-size:.9rem}.jp-success{display:grid;gap:14px}.jp-success[hidden]{display:none}.jp-backdrop :focus-visible{outline:3px solid #176daf;outline-offset:2px}@media(max-width:700px){.jp-backdrop{align-items:end;padding:0}.jp-dialog,.jp-dialog.jp-bottom_sheet{display:block;width:100%;max-width:none;max-height:92dvh;border-radius:22px 22px 0 0}.jp-art{min-height:0;max-height:180px}.jp-art img{max-height:180px;object-fit:cover}.jp-content{padding:24px}.jp-title{font-size:1.7rem}}

/* Preserve a arte inteira nos popups publicados e nas prévias do Admin. */
.jp-art img{object-fit:contain!important;object-position:center center!important}


.jp-dialog .jp-close{position:absolute;right:12px;top:12px;width:auto;min-width:42px;height:42px;margin:0;padding:0 12px;border:1px solid #d8e4f1;background:#fff;color:#18345e;box-shadow:0 3px 12px #122b5533;font-size:26px;font-weight:700;line-height:1;z-index:5}
.jp-dialog .jp-close:hover{background:#edf6ff}


/* O diálogo acompanha o conteúdo; apenas a camada externa pode rolar em telas muito baixas. */
.jp-backdrop{overflow-y:auto;scrollbar-width:none;align-items:center}
.jp-backdrop::-webkit-scrollbar{display:none}
.jp-dialog{max-height:none;overflow:visible}
.jp-art img{height:auto;max-height:min(76dvh,690px)}
.jp-privacy{font-size:.78rem;line-height:1.4;margin:2px 0 0}
.jp-privacy a{color:#176da8;text-decoration:underline;text-underline-offset:2px}
.jp-reassurance{font-size:.78rem;line-height:1.35;color:#61708e;margin:0}
@media(max-width:700px){.jp-backdrop{align-items:flex-start;padding:12px}.jp-dialog,.jp-dialog.jp-bottom_sheet{max-height:none;border-radius:20px}.jp-art img{max-height:170px}.jp-content{padding:18px}.jp-title{font-size:clamp(1.35rem,6vw,1.7rem);margin:5px 0 8px}.jp-body{font-size:.9rem;margin-bottom:10px}.jp-form{gap:8px}.jp-field input:not([type=checkbox]){min-height:40px}.jp-primary{min-height:44px}}

