/* ==========================================================================
   Print Styles - 4-Column High Density Cut Sheet
   ========================================================================== */

@media screen {
  .print-only {
    display: none !important;
  }
}

@media print {
  @page {
    size: letter portrait;
    margin: 8mm 8mm 8mm 8mm;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 10pt !important;
    line-height: 1.2 !important;
  }

  .site-header,
  .site-footer,
  .accessibility-bar,
  .tab-container,
  .form-card,
  .hero-panel,
  .btn,
  .ad-slot-container,
  .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .print-header {
    border-bottom: 2px solid #000000;
    padding-bottom: 4px;
    margin-bottom: 8px;
  }

  .print-header h2 {
    font-size: 13pt !important;
    margin: 0 0 2px 0 !important;
    color: #000000 !important;
  }

  .print-meta {
    font-size: 8.5pt !important;
    display: flex;
    justify-content: space-between;
    color: #333333 !important;
  }

  .print-grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }

  .grade-table {
    border-collapse: collapse !important;
    width: 100% !important;
    font-size: 8.5pt !important;
  }

  .grade-table th, .grade-table td {
    padding: 2px 4px !important;
    border: 1px solid #cccccc !important;
    text-align: center !important;
  }

  .grade-table th {
    background-color: #f3f4f6 !important;
    font-weight: bold !important;
    color: #000000 !important;
  }

  .grade-table tr.is-cutoff {
    border-left: 3px solid #000000 !important;
    font-weight: bold !important;
  }

  .cut-guide {
    border-top: 1px dashed #666666;
    margin-top: 8px;
    padding-top: 4px;
    text-align: right;
    font-size: 8pt;
    color: #666666;
  }
}