/* Saída "Contas do dia" — um único template para pré-visualização, PDF, PNG e JPEG.
   Largura fixa de 1200 px: PNG/JPEG saem com 2400 px (escala 2x). */
.saida {
  width: 1200px; box-sizing: border-box; background: #fff; color: #000;
  font-family: Arial, Helvetica, sans-serif; font-size: 10px; line-height: 1.25;
  padding: 10px 12px 12px;
}
.saida * { box-sizing: border-box; }
.saida.pagina { height: 823px; overflow: hidden; } /* 277 x 190 mm úteis do A4 paisagem */

.s-cab { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.s-tl { font-weight: bold; font-size: 12px; margin-left: 44px; }
.s-tv { font-weight: bold; font-size: 12px; margin-left: 190px; margin-top: 2px; }
.s-dt { margin-top: 18px; font-size: 11px; }
.s-dt b + b { margin-left: 34px; }
.s-dt .s-rem { margin-left: 34px; padding: 1px 8px; border: 1px solid #000; }
.s-sig { width: 42%; text-align: center; font-size: 11px; margin-top: 42px; }
.s-sig .s-linha { border-top: 1px solid #000; margin-bottom: 6px; }

.s-bloco { margin-bottom: 18px; }
.s-bh { position: relative; height: 16px; font-size: 11px; }
.s-bn { position: absolute; left: 5%; bottom: 2px; }
.s-bs { position: absolute; left: 60%; width: 7%; text-align: center; bottom: 2px; white-space: nowrap; }

.s-t { width: 100%; border-collapse: collapse; table-layout: fixed; border: 1px solid #000; }
.s-t th { background: #000; color: #fff; font-weight: bold; text-align: left; padding: 4px 4px; font-size: 10px; white-space: nowrap; overflow: hidden; }
.s-t th.c { text-align: center; }
.s-t td { padding: 3px 4px; border-bottom: 1px solid #000; vertical-align: middle; overflow-wrap: anywhere; }
.s-t td.c, .s-t td.v { text-align: center; white-space: nowrap; }
.s-t td.hl { background: #ffff00; }

/* Resumo do dia — mesmo estilo preto e branco. 700 px -> 1400 px na imagem */
.resumo-saida { width: 700px; box-sizing: border-box; background: #fff; color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; padding: 18px 22px; }
.resumo-saida h2 { font-size: 16px; margin: 0 0 3px; }
.resumo-saida .rdt { margin: 0 0 12px; font-size: 12px; }
.resumo-saida table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.resumo-saida td { padding: 4px 7px; border-bottom: 1px solid #000; }
.resumo-saida th { background: #000; color: #fff; text-align: left; padding: 4px 7px; font-size: 11.5px; }
.resumo-saida .r { text-align: right; white-space: nowrap; }
.resumo-saida .neg { color: #c5221f; }
.resumo-saida tr.t td { font-weight: bold; }
.resumo-saida table.lim { table-layout: fixed; }
