@page {
  size: Letter;
  margin: 0.25in;
}

@media print {
  html {
    min-width: 8.5in;
  }

  body {
    width: 100%;
  }

  html,
  body {
    margin: 0;
  }

  .tqc-flex-on-large {
    --flex-align: flex-start;
    --flex-gap: 1rem;
    --flex-justify: flex-start;
    --flex-wrap: nowrap;
    display: flex !important;
    flex-direction: row;
    align-items: var(--flex-align);
    justify-content: var(--flex-justify);
    gap: var(--flex-gap);
    flex-wrap: var(--flex-wrap);
  }

  .pv-container-lg.tqc-flex-on-large {
    gap: 24px;
  }

  .tqc-pet-wrapper .pv-hide-on-small {
    display: revert !important;
  }

  .tqc-pet-wrapper .pv-hide-on-large {
    display: none !important;
  }

  .tqc-cost-summary {
    width: 40% !important;
  }

  .pv-sticky {
    position: static !important;
  }

  .tqc-pet-wrapper {
    padding: 0;
    border-top: none;
  }

  .tqc-pet-inset-section {
    padding: 0;
  }

  .tqc-flex-on-print {
    display: flex;
    gap: 16px;
  }

  .tqc-flex-on-print > div {
    flex: 1;
    margin-top: 0px !important;
  }

  .tqc-pet-cost-summary > div {
    margin-block-end: 0px !important;
  }

  .tqc-treatment-plan-container {
    padding: 16px 24px;
  }

  .tqc-treatment-plan__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .tqc-provider-location {
    padding: 16px 24px;
  }

  .tqc-treatment-plan:not(.tqc-treatment-plan--expanded)
    .tqc-treatment-plan__item-wrapper:nth-of-type(n + 6) {
    display: block !important;
  }
}
