.report-sheet { max-width: 52rem; }

.report-title { font-size: 1.15rem; font-weight: 700; color: #083f6e; }

.report-facts { margin-bottom: 1rem; }

.report-fact { margin: 0.15rem 0; }

.print-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem 1.25rem;
  margin-bottom: 1rem;
}

.print-field { break-inside: avoid; }

.print-value:empty::after { content: ""; }

.span-all { grid-column: 1 / -1; }

.report-table { margin: 0.5rem 0 1rem; }

.report-table tr, .report-table caption { break-inside: avoid; }

.equipment-print { margin-top: 0.5rem; }

.item-note { margin: 0.35rem 0; }

.print-footer { margin-top: 2rem; color: #1b1f24; }

.print-help { color: #3d4a57; }

@media (min-width: 800px) {
  .print-grid { grid-template-columns: 1fr 1fr; }
}

@page {
  size: letter;
  margin: 0.7in 0.6in 0.75in 0.6in;
  @bottom-left {
    content: "Ship Condition Form";
    font-size: 9pt;
    color: #1b1f24;
  }
  @bottom-right {
    content: "Page " counter(page) " of " counter(pages);
    font-size: 9pt;
    color: #1b1f24;
  }
}

.print-vessel { string-set: scfVessel content(text); }

@media print {
  header, .navbar, footer, #scf-prototype-banner, #demo-tools, #account-slot, #scf-file-notice, .no-print, .visually-hidden-focusable { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding: 0; max-width: none; }
  a { color: #000; text-decoration: none; }
  .print-section { break-before: page; }
  .print-section:first-of-type { break-before: auto; }
  .print-grid { grid-template-columns: 1fr 1fr; }
  .report-table thead { display: table-header-group; }
  .report-table tr { break-inside: avoid; }
  .print-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 9pt;
    text-align: center;
  }
}
