/*
 * repeaters.css: styles for repeaters.html only. Loaded AFTER styles.css (which already styles the logbook-style cards, fields and
 * tables the page reuses), so it adds only the table tweaks and the pocket-card print rules. No inline styles anywhere (the page
 * CSP allows only our own stylesheet). Print: plain black on white through the system color keywords (no hard-coded colors),
 * the menu, form, buttons and notes hidden, and each row kept whole, so the list prints as a small pocket card.
 */
.reptable td:nth-child(2), .reptable td:nth-child(3), .reptable td:nth-child(4) { font-family: var(--mono); white-space: nowrap; }
.reptable td.acts { white-space: nowrap; }

@media print {
  @page { size: letter portrait; margin: 0.5in; }
  html, body { background: Canvas; color: CanvasText; font-size: 10pt; }
  .skip, header.top, .noprint, footer .fine, .acts { display: none !important; }
  footer { margin: 6pt 0 0; padding: 4pt 0 0; border-top: 1px solid CanvasText; }
  footer p { margin: 0; font-size: 8pt; }
  .reppage { padding: 0; }
  .reppage h1 { font-size: 16pt; margin: 0 0 6pt; }
  .reppage .logcard { border: 0; box-shadow: none; background: Canvas; padding: 0; margin: 0; }
  .reppage .logcard h2 { display: none; }
  .reptable { width: 100%; font-size: 10pt; border: 1px solid CanvasText; background: Canvas; }
  .reptable th { color: CanvasText; font-size: 8pt; border: 1px solid CanvasText; padding: 2pt 4pt; }
  .reptable td { color: CanvasText; border: 1px solid GrayText; padding: 3pt 4pt; }
  .reptable tr { break-inside: avoid; page-break-inside: avoid; }
}
