.boleto-demo-preview{display:grid;gap:18px;margin:26px 0;padding:24px;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-alt)}
.boleto-demo-preview-topo{display:flex;justify-content:space-between;align-items:center;gap:12px}.boleto-demo-preview-topo h3{margin:0;font-size:18px}.boleto-demo-preview-topo span{color:var(--color-text-muted-on-bg);font-size:12px}
.boleto-demo-openboleto-frame{display:block;width:100%;height:850px;border:0;background:var(--color-surface)}
.boleto-demo-acoes{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px}.boleto-demo-acoes form{margin:0}.boleto-demo-acoes .botao{min-height:44px}
body.boleto-openboleto-pagina{min-height:100vh;padding:24px;background:var(--color-bg)}
body.boleto-openboleto-pagina>div[style*="width: 666px"],body.boleto-openboleto-embed>div[style*="width: 666px"]{margin:0 auto}
.boleto-openboleto-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;width:666px;max-width:100%;margin:0 auto 18px}
.boleto-demo-voltar{color:var(--color-primary);font-size:13px;text-decoration:none}
.boleto-demo-imprimir{min-height:44px;padding:10px 16px;border:1px solid var(--color-primary);border-radius:var(--radius-md);background:var(--color-primary);color:var(--color-surface);font:inherit;font-weight:600;cursor:pointer}
@media(max-width:760px){.boleto-demo-preview{margin:20px -10px;padding:14px;border-radius:var(--radius-md)}.boleto-demo-openboleto-frame{height:820px}.boleto-demo-preview-topo{align-items:flex-start;flex-direction:column}.boleto-openboleto-toolbar{width:100%;align-items:flex-start;flex-direction:column}body.boleto-openboleto-pagina{padding:12px}}
@page{size:A4 portrait;margin:10mm}
@media print{body.boleto-openboleto-pagina,body.boleto-openboleto-embed{margin:0!important;padding:0!important;background:var(--color-surface)!important}.boleto-openboleto-toolbar{display:none!important}body.boleto-openboleto-pagina>div[style*="width: 666px"],body.boleto-openboleto-embed>div[style*="width: 666px"]{margin:0!important}}
