*{box-sizing:border-box}body{margin:0;padding:28px 24px;font:14px Arial,sans-serif;color:#333;background:#fff}header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;border-bottom:2px solid #b99d63;padding-bottom:20px}h1{font-size:28px;margin:6px 0 0;font-weight:600}.sobretitulo{font-size:10px;letter-spacing:1.6px;color:#7d6b45;margin:0}.seletor{display:flex;align-items:center;gap:12px}.seletor label{font-size:13px;color:#666}select{min-width:105px;border:1px solid #c9bc9d;border-radius:6px;padding:10px 12px;font-size:16px;background:#fffaf0;color:#333}.introducao{color:#6b665c;line-height:1.6;margin:18px 0 26px}section{margin:0 0 30px}.titulo-secao{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.titulo-secao span{font-size:12px;color:#7b7569}h2{font-size:18px;margin:0;font-weight:600}.orientacao,.nota{font-size:12px;color:#777164;line-height:1.6}.orientacao{margin:0 0 8px}.rolagem{overflow-x:auto;overflow-y:hidden;max-height:none;border:1px solid #d9cdb4;border-radius:6px;position:relative}table{border-collapse:separate;border-spacing:0;min-width:1335px;width:100%;font-size:12px;font-variant-numeric:tabular-nums}th,td{padding:6px 11px;text-align:right;border-bottom:1px solid #e5ddcf;white-space:nowrap;background:#fff}th:first-child{text-align:left;white-space:normal;width:245px;min-width:245px;position:sticky;left:0;z-index:1;border-right:1px solid #ddd0b5}thead th{background:#f5eddb;font-weight:bold;position:sticky;top:0;z-index:2}thead th:first-child{z-index:3}tbody th{font-weight:400}.total th,.total td{background:#eee1c6;font-weight:bold}.resultado th,.resultado td{background:#dcd0ad;font-weight:bold;border-bottom:1px solid #bbaa7a}.saldo th,.saldo td{background:#faf6eb}tr:last-child>*{border-bottom:0}.legenda{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:#56534d}.legenda span{display:flex;gap:7px;align-items:center}.legenda i{width:10px;height:10px;display:inline-block}.grafico-rolagem{overflow:auto;background:#fcf8f0;border:1px solid #e5ddcd;border-radius:6px}.grafico-rolagem svg{display:block;width:100%;min-width:680px;height:auto;font:11px Arial,sans-serif;fill:#555}.grafico-rolagem rect:hover,.grafico-rolagem circle:hover{filter:brightness(.8)}.grafico-rolagem>.nota{padding:18px}.arquivo img{display:block;max-width:100%;height:auto;margin:15px auto;border:1px solid #ded8c9}.arquivo a{color:inherit}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:600px){body{padding:18px 12px}h1{font-size:24px}header{gap:14px}.seletor{width:100%;justify-content:space-between}th:first-child{min-width:180px;width:180px}.titulo-secao span{display:none}}@media print{@page{size:A4 landscape;margin:10mm}body{padding:0}.seletor,.orientacao{display:none}.rolagem{overflow:visible;max-height:none}table{min-width:0;font-size:8px}th,td{padding:6px 3px}th:first-child{min-width:130px;width:130px;position:static}thead th{position:static}.grafico-rolagem{overflow:visible}.grafico-rolagem svg{min-width:0}section{break-inside:avoid}}

/* Evita que a tabela estique as colunas */
table {
    width: auto;
    min-width: 0;
}

/* Largura dos valores e dos cabeçalhos dos meses */
tbody td,
thead th:not(:first-child) {
    width: 65px;
    min-width: 65px;
    padding: 7px 4px;
    font-size: 11px;
    white-space: nowrap;
}


