/* NCR Gestão v0.11.1 — pacote corretivo após teste de utilização */
.client-assuntos-section{border-top:3px solid #9aaeba!important;margin-top:26px!important;padding-top:20px!important}
.client-assuntos-section .subhead h3{font-size:1.18rem}

/* Tabelas: compactas, números à direita e cabeçalhos visíveis */
.table th,.table td{padding:6px 7px!important;line-height:1.14!important}
.table th{position:sticky;top:0;z-index:1;background:#fff}
.table .num,.table td.num,.table th.num,.money,.number{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}

/* Totais das NH sempre visíveis no fundo da janela */
.totais-nh{position:sticky;bottom:0;z-index:4;background:#f4f6f8;padding:10px 0 4px;box-shadow:0 -7px 12px rgba(15,40,55,.06)}
.notas-table td:nth-child(2){min-width:0!important}

/* Relatórios no ecrã */
.report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:2px solid #d7e0e6;padding-bottom:12px;margin-bottom:12px}
.report-header .report-logo{width:190px!important;height:auto;margin:0!important}
.report-header .report-heading{text-align:right;align-self:flex-end}
.report-header .report-heading h2{margin:0 0 4px}.report-header .report-heading p{margin:0;color:#5e6e79}
.tempo-report{table-layout:fixed;width:100%}.tempo-report th:nth-child(1),.tempo-report td:nth-child(1){width:88px}.tempo-report th:nth-child(2),.tempo-report td:nth-child(2){width:92px!important}.tempo-report th:nth-child(3),.tempo-report td:nth-child(3){width:44%;white-space:normal;overflow-wrap:anywhere}.tempo-report th:nth-child(4),.tempo-report td:nth-child(4){width:23%;white-space:normal;overflow-wrap:anywhere}.tempo-report th:nth-child(5),.tempo-report td:nth-child(5){width:auto;white-space:normal;overflow-wrap:anywhere}.tempo-report th,.tempo-report td{font-size:12px!important}

@media print{
  .printable-report{padding:0!important;border:0!important;box-shadow:none!important}
  .report-header{margin:0 0 5mm;padding-bottom:3mm}
  .report-header .report-logo{width:45mm!important}
  .report-table th,.report-table td{font-size:8.5pt!important;padding:1.7mm 1.4mm!important}
  body.tempo-landscape{} /* marker */
}
