/* billing-increments.html: print only the charts, black on white. The other
   sections carry Bootstrap's d-print-none. Two columns on paper: the
   6-minute chart on the left, 10 and 15 minutes stacked on the right
   (three side by side are too narrow for the German headers). */

@media print {
  .navbar,
  footer,
  .border-top {
    display: none !important;
  }

  #charts {
    padding: 0 !important;
    background: #FFFFFF !important;
  }

  #charts h2,
  #charts p,
  #charts caption,
  #charts th,
  #charts td {
    color: #000000 !important;
  }

  #charts h2 {
    font-size: 18pt;
  }

  #charts .bi-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    margin: 0;
  }

  #charts .bi-charts > * {
    width: auto;
    padding: 0;
  }

  #charts .bi-charts > :first-child {
    grid-row: span 2;
  }

  #charts .table {
    --bs-table-color: #000000;
    --bs-table-bg: #FFFFFF;
    --bs-table-striped-color: #000000;
    --bs-table-striped-bg: #EEEEEE;
    --bs-table-border-color: #BBBBBB;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  #charts .table th,
  #charts .table td {
    font-size: 9pt !important;
  }
}
