/* Aviso (pop-up) do site e a prévia dele no painel */
dialog.bpop{padding:0;border:1px solid #a77742;background:#f8f4ec;color:#171a18;width:min(680px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);overflow:auto;font-family:Arial,Helvetica,sans-serif}
dialog.bpop::backdrop{background:rgba(8,9,8,.72)}
.bpop-card{display:flex;position:relative;min-height:0}
.bpop-media{flex:none;width:260px;min-height:325px;align-self:stretch;background:#2b2118;position:relative}
.bpop-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.bpop-body{flex:1;min-width:0;padding:38px 28px 26px;display:flex;flex-direction:column;gap:12px;justify-content:center}
.bpop-tag{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#7a5224;overflow-wrap:anywhere}
.bpop-title{margin:0;font:400 28px/1.12 Georgia,serif;overflow-wrap:anywhere}
.bpop-text{margin:0;font-size:15px;line-height:1.5;color:#4b443a;white-space:pre-line;overflow-wrap:anywhere}
.bpop-cta{display:block;background:#121512;color:#f4efe6;padding:14px;text-align:center;font-size:14px;font-weight:700;text-decoration:none;min-height:20px}
.bpop-cta:hover{background:#2a2e2b}
.bpop-later{background:none;border:0;padding:10px;color:#5f564a;font-size:14px;text-decoration:underline;cursor:pointer;min-height:44px}
.bpop-x{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;background:#121512;color:#f4efe6;font-size:24px;line-height:1;cursor:pointer;z-index:2}
.bpop-x:focus-visible,.bpop-cta:focus-visible,.bpop-later:focus-visible{outline:3px solid #a77742;outline-offset:2px}
.bpop-noimg .bpop-body{padding-top:44px}
@media (max-width:640px){
  dialog.bpop{margin:auto 0 0;width:100%;max-width:100%;max-height:78dvh;border-width:3px 0 0}
  .bpop-card{flex-direction:column}
  .bpop-media{width:auto;height:0;min-height:0}
  .bpop-card.bpop-hasimg .bpop-media{position:absolute;left:18px;top:18px;width:84px;height:105px;z-index:1}
  .bpop-card.bpop-hasimg .bpop-body{padding:18px 18px 18px 18px}
  .bpop-card.bpop-hasimg .bpop-head{min-height:105px;padding:0 44px 0 100px;display:flex;flex-direction:column;gap:6px;justify-content:center}
  .bpop-title{font-size:20px}
  .bpop-body{padding:18px;justify-content:flex-start}
  .bpop-head{display:flex;flex-direction:column;gap:6px}
}
@media (min-width:641px){.bpop-head{display:flex;flex-direction:column;gap:12px}}
@media (prefers-reduced-motion:no-preference){dialog.bpop[open]{animation:bpop-in .28s ease-out}@keyframes bpop-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}}
/* prévia dentro do painel: sem sobrepor a tela */
.bpop-preview{border:1px solid #a77742;background:#f8f4ec;color:#171a18;max-width:680px;font-family:Arial,Helvetica,sans-serif}
.bpop-preview.phone{max-width:390px}
.bpop-preview.phone .bpop-card{flex-direction:column}
.bpop-preview.phone .bpop-media{width:auto;height:0;min-height:0}
.bpop-preview.phone .bpop-card.bpop-hasimg .bpop-media{position:absolute;left:18px;top:18px;width:84px;height:105px;z-index:1}
.bpop-preview.phone .bpop-card.bpop-hasimg .bpop-head{min-height:105px;padding:0 44px 0 100px;justify-content:center}
.bpop-preview.phone .bpop-body{padding:18px;justify-content:flex-start}
.bpop-preview.phone .bpop-title{font-size:20px}
.bpop-x{display:grid;place-items:center}
