/* Shared printable report typography for New Hope TMS Pro. */
.report-preview-content .report-preview-sheet,
.report-preview-content .report-preview-sheet *,
.invoice-print-document,
.invoice-print-document *,
.driver-statement-export,
.driver-statement-export *,
.broker-report-export,
.broker-report-export *,
.ledger-report,
.ledger-report *,
#invoice-report-print-root,
#invoice-report-print-root * {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  font-family: Arial, sans-serif !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
}

.report-preview-content .report-preview-sheet,
.invoice-print-document,
.driver-statement-export,
.broker-report-export,
.ledger-report {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
}

.report-preview-content .invoice-print-header,
.report-preview-content .driver-ledger-head,
.invoice-print-header,
.driver-ledger-head {
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 2px solid #000000 !important;
}

.report-preview-content .invoice-print-title h1,
.report-preview-content .driver-ledger-head h2,
.invoice-print-title h1,
.driver-ledger-head h2,
.report-preview-company h2 {
  margin: 0 !important;
  color: #000000 !important;
  font-family: Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.report-preview-content .invoice-print-title h2,
.report-preview-content .driver-ledger-head h3,
.invoice-print-title h2,
.driver-ledger-head h3,
.report-preview-company h3 {
  margin: 6px 0 0 !important;
  color: #000000 !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

.report-preview-content .invoice-print-title p,
.report-preview-content .driver-ledger-meta,
.report-preview-content .accounting-report-meta,
.report-preview-content .report-period,
.report-preview-content .report-period-label,
.report-preview-content .report-period-value,
.invoice-print-title p,
.driver-ledger-meta,
.accounting-report-meta,
.broker-print-period,
.broker-print-period span,
.broker-print-period strong,
.report-period,
.report-period-label,
.report-period-value,
.report-preview-company p {
  color: #000000 !important;
  font-family: Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

.report-preview-content .invoice-print-page,
.report-preview-content .driver-ledger-page,
.invoice-print-page,
.driver-ledger-page {
  color: #000000 !important;
  font-family: Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-align: right !important;
}

.report-preview-content .table-wrap,
.invoice-print-document .table-wrap,
.driver-statement-export .table-wrap,
.broker-report-export .table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.report-preview-content table,
.invoice-print-table,
.ledger-table,
.fuel-ledger-table,
.broker-pdf-table,
.report-preview-sheet table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  color: #000000 !important;
  font-family: Arial, sans-serif !important;
}

.report-preview-content table th,
.report-preview-content table td,
.invoice-print-table th,
.invoice-print-table td,
.ledger-table th,
.ledger-table td,
.fuel-ledger-table th,
.fuel-ledger-table td,
.broker-pdf-table th,
.broker-pdf-table td {
  padding: 8px 12px !important;
  border: 1px solid #cbd5e1 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  font-family: Arial, sans-serif !important;
  vertical-align: middle !important;
  line-height: 1.35 !important;
  box-sizing: border-box !important;
}

.report-preview-content table th,
.invoice-print-table th,
.ledger-table th,
.fuel-ledger-table th,
.broker-pdf-table th {
  background: #f3f4f6 !important;
  color: #000000 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.report-preview-content table td,
.report-table td,
.invoice-print-table td,
.ledger-table td,
.fuel-ledger-table td,
.broker-pdf-table td {
  color: #000000 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
}

.report-preview-content table tbody tr:nth-child(odd) td,
.invoice-print-table tbody tr:nth-child(odd) td,
.ledger-table tbody tr:nth-child(odd) td,
.fuel-ledger-table tbody tr:nth-child(odd) td,
.broker-pdf-table tbody tr:nth-child(odd) td {
  background: #ffffff !important;
}

.report-preview-content table tbody tr:nth-child(even) td,
.invoice-print-table tbody tr:nth-child(even) td,
.ledger-table tbody tr:nth-child(even) td,
.fuel-ledger-table tbody tr:nth-child(even) td,
.broker-pdf-table tbody tr:nth-child(even) td {
  background: #fafafa !important;
}

.report-preview-content table tfoot td,
.report-preview-content table .total-row td,
.report-preview-content table .broker-total-row td,
.report-preview-content table .nh-total-row td,
.report-table tfoot td,
.invoice-print-table tfoot td,
.ledger-table tfoot td,
.fuel-ledger-table tfoot td,
.broker-pdf-table tfoot td {
  background: #f3f4f6 !important;
  border-top: 2px solid #000000 !important;
  color: #000000 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
}

.report-preview-content table tr,
.invoice-print-table tr,
.ledger-table tr,
.fuel-ledger-table tr,
.broker-pdf-table tr {
  break-inside: avoid !important;
  page-break-inside: avoid !important;
}

.report-preview-content table td:nth-child(n+3),
.invoice-print-table td:nth-child(n+3),
.ledger-table td:nth-child(n+3),
.fuel-ledger-table td:nth-child(n+3) {
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
}

.broker-pdf-table .broker-pdf-col-1 { width: 34% !important; text-align: left !important; }
.broker-pdf-table .broker-pdf-col-2 { width: 10% !important; text-align: right !important; font-variant-numeric: tabular-nums !important; }
.broker-pdf-table .broker-pdf-col-3,
.broker-pdf-table .broker-pdf-col-4 { width: 18% !important; text-align: right !important; font-variant-numeric: tabular-nums !important; }
.broker-pdf-table .broker-pdf-col-5 { width: 20% !important; text-align: right !important; font-variant-numeric: tabular-nums !important; }

.broker-pdf-table th,
.broker-pdf-table td {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media print {
  @page {
    margin: 8mm;
  }

  .report-preview-content .report-preview-sheet,
  .invoice-print-document,
  .driver-statement-export,
  .broker-report-export,
  .ledger-report {
    box-shadow: none !important;
  }
}
