.pc-head {
  cursor: pointer;
  user-select: none;
}
.pc-chev {
  transition: transform .15s ease;
}
.pc-head.collapsed .pc-chev {
  transform: rotate(-90deg);
}

.sheet-svg {
  width: 100%;
  height: auto;
  max-height: 70vh;
  display: block;
}

#partRows input {
  padding: .2rem .4rem;
}

@media print {
  body { background: #fff !important; }
  .navbar, .d-print-none { display: none !important; }
  .card { border: 1px solid #dee2e6 !important; break-inside: avoid; }
  .sheet-card { break-inside: avoid; page-break-inside: avoid; }
  .sheet-svg { max-height: none; }
  a[href]:after { content: none !important; }

  /* Sections the print button chose to leave out. */
  .pc-print-hidden { display: none !important; }

  /* The paper header, and the inputs recap, exist only on paper. */
  #printHeader { display: block !important; }
  #printInputs { display: block !important; }

  /* A collapsed card must still print its contents. */
  .collapse:not(.show) { display: block !important; height: auto !important; }

  /* Let a long results column use the full page width. */
  .col-lg-8 { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
}

#printHeader, #printInputs { display: none; }
