@media print {
  * {
    color: #000 !important;
    background: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html, body {
    height: auto !important;
    margin: 0;
    padding: 0;
    background: white !important;
    font-size: 12pt;
    color: #000;
  }

  header, nav, footer, video, iframe {
    display: none !important;
  }

  .navbar, .navbar-toggler, .navbar-nav, .navbar-collapse, .navbar-header {
    display: none !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
  }

  main, .container, .form-container, .car-section {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-shadow: none !important;
    background: none !important;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #000;
    page-break-inside: avoid;
    margin-bottom: 1em;
  }

  table caption {
    font-weight: bold;
    text-align: left;
    margin-bottom: 0.5em;
  }

  th, td {
    border: 1px solid #000;
    padding: 6px;
    text-align: left;
  }

  details[open] > summary::after {
    content: "";
  }

  summary {
    font-weight: bold;
    margin-bottom: 0.5em;
  }

  .car-section,
  section {
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 2em;
  }

  input, textarea {
    border: 1px solid #000;
    padding: 4px;
    width: 100%;
  }

  button {
    display: none !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
  }
}
