/* NCR Gestão v0.11.2 — afinação de relatórios e impressão */
/* Tempo por utilizador: aproveitar a largura sem esmagar Cliente/Assunto. */
.tempo-report{table-layout:fixed!important;width:100%!important}
.tempo-report th,.tempo-report td{font-size:11.5px!important;vertical-align:top}
.tempo-report th{text-align:left!important}
.tempo-report th:nth-child(1),.tempo-report td:nth-child(1){width:86px!important;white-space:nowrap}
.tempo-report th:nth-child(2),.tempo-report td:nth-child(2){width:70px!important;white-space:nowrap;text-align:right!important;font-variant-numeric:tabular-nums}
.tempo-report th:nth-child(3),.tempo-report td:nth-child(3){width:39%!important;white-space:normal!important;overflow-wrap:break-word;word-break:normal}
.tempo-report th:nth-child(4),.tempo-report td:nth-child(4){width:24%!important;white-space:normal!important;overflow-wrap:break-word;word-break:normal}
.tempo-report th:nth-child(5),.tempo-report td:nth-child(5){width:auto!important;white-space:normal!important;overflow-wrap:break-word;word-break:normal}
.tempo-report th:nth-child(3),.tempo-report th:nth-child(4),.tempo-report th:nth-child(5){text-align:left!important}
.print-page-number{display:none}

/* Cabeçalho dos relatórios: logótipo com presença visual real. */
.tempo-printable .report-header .report-logo,.printable-report .report-header .report-logo{width:245px!important;max-width:30%!important;height:auto!important;object-fit:contain}

@media print{
 @page{size:A4 landscape;margin:10mm 10mm 14mm}
 .tempo-printable .report-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;margin:0 0 4mm!important;padding:0 0 3mm!important}
 .tempo-printable .report-header .report-logo{width:58mm!important;max-width:58mm!important;height:auto!important}
 .tempo-printable .report-heading{margin-left:auto!important;text-align:right!important}
 .tempo-printable .tempo-report{table-layout:fixed!important;width:100%!important}
 .tempo-printable .tempo-report th,.tempo-printable .tempo-report td{font-size:8pt!important;padding:1.45mm 1.15mm!important;line-height:1.15!important}
 .tempo-printable .tempo-report th{text-align:left!important}
 .tempo-printable .tempo-report th:nth-child(1),.tempo-printable .tempo-report td:nth-child(1){width:24mm!important}
 .tempo-printable .tempo-report th:nth-child(2),.tempo-printable .tempo-report td:nth-child(2){width:18mm!important;text-align:right!important}
 .tempo-printable .tempo-report th:nth-child(3),.tempo-printable .tempo-report td:nth-child(3){width:92mm!important;white-space:normal!important;overflow-wrap:break-word!important}
 .tempo-printable .tempo-report th:nth-child(4),.tempo-printable .tempo-report td:nth-child(4){width:65mm!important;white-space:normal!important;overflow-wrap:break-word!important}
 .tempo-printable .tempo-report th:nth-child(5),.tempo-printable .tempo-report td:nth-child(5){width:78mm!important;white-space:normal!important;overflow-wrap:break-word!important}
 .tempo-printable thead{display:table-header-group}
 .tempo-printable tfoot{display:table-row-group}
 .tempo-printable tr{break-inside:avoid}
 .print-page-number{display:block;position:fixed;right:0;bottom:-8mm;font-size:8pt;color:#5e6e79}
 .print-page-number::after{content:"Página " counter(page) " de " counter(pages)}
}
