/* GTech XML — relatórios (tela, impressão, PDF e arquivo HTML anexo) */
.rp { background: #fff; color: #111827; font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif; font-size: 9pt; width: 194mm; margin: 0 auto 8mm; padding: 6mm 6mm 4mm; box-sizing: border-box; page-break-after: always; break-after: page; }
.rp:last-child { page-break-after: auto; break-after: auto; }
.rp-h { display: flex; align-items: center; gap: 4mm; border: .3mm solid #cbd5e1; border-radius: 2mm; padding: 3mm 4mm; margin-bottom: 4mm; }
.rp-logo { max-height: 16mm; max-width: 34mm; object-fit: contain; }
.rp-emp { flex: 1; display: flex; flex-direction: column; gap: .6mm; min-width: 0; }
.rp-emp b { font-size: 11pt; color: #0f172a; }
.rp-emp span, .rp-tt span { color: #5a6270; font-size: 8pt; }
.rp-tt { text-align: right; display: flex; flex-direction: column; gap: .6mm; }
.rp-tt b { font-size: 12pt; color: #0f4fc4; }
.rp-k { display: grid; grid-template-columns: repeat(auto-fit, minmax(36mm, 1fr)); gap: 2.5mm; margin-bottom: 4mm; }
.rp-k div { border-radius: 2mm; background: #f1f5fd; border-left: 1mm solid #1b6ef3; padding: 2.2mm 3mm; display: flex; flex-direction: column; }
.rp-k span { font-size: 7.5pt; color: #5a6270; }
.rp-k b { font-size: 11pt; color: #0f172a; margin-top: .5mm; }
.rp-s { margin-bottom: 4mm; }
.rp-s h4 { margin: 0 0 1.5mm; font-size: 9.5pt; color: #172b4d; border-bottom: .3mm solid #1b6ef3; padding-bottom: 1mm; }
.rp-g { width: 100%; height: 44mm; display: block; }
.rp-t { width: 100%; border-collapse: collapse; font-size: 7.8pt; }
.rp-t th { background: #172b4d; color: #fff; font-weight: 600; padding: 1.4mm 1.6mm; text-align: left; white-space: nowrap; }
.rp-t td { padding: 1.1mm 1.6mm; border-bottom: .2mm solid #e5e9f0; vertical-align: top; word-break: normal; overflow-wrap: anywhere; }
.rp-t td:first-child { overflow-wrap: normal; }
.rp-t tbody tr:nth-child(even) td { background: #f8fafc; }
.rp-t .r { text-align: right; white-space: nowrap; }
.rp-t .c { text-align: center; }
.rp-t tfoot td { font-weight: 700; background: #e2ecfc; border-top: .4mm solid #1b6ef3; }
.rp-t tr.grupo td { background: #e2ecfc !important; font-weight: 700; color: #0f4fc4; }
.rp-t tr.sub td { font-weight: 700; background: #f1f5f9 !important; }
.rp-t tr.canc td { color: #9aa3af; text-decoration: line-through; }
.rp-t tr.erro td { background: #fdeaea !important; color: #9b1c1c; }
.rp-t tr.alerta td { background: #fff6e5 !important; }
.rp-t tr.destaque td { background: #e8f7ef !important; font-weight: 700; }
.rp-t tr.abcA td:last-child { color: #0d7a4f; font-weight: 800; }
.rp-t tr.abcB td:last-child { color: #b7791f; font-weight: 800; }
.rp-t tr.abcC td:last-child { color: #9aa3af; font-weight: 800; }
.rp-t thead { display: table-header-group; }
.rp-t tr { page-break-inside: avoid; }
.rp-vazio { color: #0d7a4f; font-weight: 600; margin: 1mm 0; }
.rp-n { color: #5a6270; font-size: 7.5pt; margin: 1.2mm 0 0; }
.rp-f { text-align: right; color: #8a94a6; font-size: 7pt; margin-top: 2mm; }
body.rp-doc { background: #e9edf3; margin: 0; padding: 8mm 0; }
@media print {
  body.rp-doc { background: #fff; padding: 0; }
  .rp { margin: 0 auto; width: auto; padding: 0; }
  .rp-t th, .rp-k div, .rp-t tfoot td, .rp-t tr td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
