/* Loaded only on the worksheet page. */
.content-section {
  grid-template-columns: minmax(0, 1fr);
}

.bid-worksheet {
  table-layout: fixed;
}

.bid-worksheet th:first-child {
  width: 40%;
}

.bid-worksheet td {
  width: 20%;
}

.worksheet-entry {
  min-height: 4rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.worksheet-entry:focus {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

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

  body {
    background: white;
    color: black;
    font-size: 10pt;
    line-height: 1.35;
  }

  .site-header,
  nav,
  footer,
  .skip-link,
  .hero figure,
  .button,
  .closing {
    display: none !important;
  }

  .shell,
  .hero-copy {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .hero,
  .content-section {
    display: block;
    padding: 10pt 0;
    border: 0;
  }

  h1 {
    font-size: 22pt;
    line-height: 1.15;
  }

  h2 {
    font-size: 15pt;
    break-after: avoid;
  }

  .content-section.tinted::before {
    display: none;
  }

  .table-scroll {
    overflow: visible;
    width: 100%;
  }

  .content-section .bid-worksheet {
    min-width: 0;
    width: 100%;
    font-size: 9pt;
  }

  .bid-worksheet th,
  .bid-worksheet td {
    padding: 5pt;
    border: 1px solid #555;
    background: white;
    color: black;
    overflow-wrap: anywhere;
  }

  .bid-worksheet thead {
    display: table-header-group;
  }

  .bid-worksheet tr,
  .data-note {
    break-inside: avoid;
  }

  .worksheet-entry {
    min-height: 1.1cm;
    outline: none;
  }

  a {
    color: black;
  }

  .data-note {
    border-color: #555;
    background: white;
    padding: 8pt;
  }
}