.worksheet-print-only { display: none; }

@page {
  size: letter;
  margin: 14mm 15mm 17mm;

  @bottom-left {
    content: 'Keith Stewart Insurance Ltd.';
    font: 8pt Aptos, 'Segoe UI', sans-serif;
    color: #36534a;
  }

  @bottom-right {
    content: 'Page ' counter(page) ' of ' counter(pages);
    font: 8pt Aptos, 'Segoe UI', sans-serif;
    color: #36534a;
  }
}

@media print {
  html, body { background: white; color: #18241f; }
  .skip, .site-header, .site-footer { display: none !important; }
  .worksheet-print-only { display: block; }
  .worksheet-print-brand {
    display: flex;
    justify-content: space-between;
    gap: 16pt;
    align-items: center;
    padding-bottom: 10pt;
    margin-bottom: 14pt;
    border-bottom: 1.25pt solid #36534a;
    break-inside: avoid;
    break-after: avoid;
  }
  .worksheet-print-brand img { width: 2.95in; max-width: 55%; height: auto; }
  .worksheet-print-contact { text-align: right; color: #254239; font-size: 9pt; line-height: 1.4; }
  .worksheet-print-contact > * { display: block; }
  .worksheet-print-contact a { text-decoration: underline; text-underline-offset: 2px; }
  .inventory-print .worksheet-print-title,
  .maintenance-main > .worksheet-print-title {
    margin: 0 0 12pt;
    color: #203c33;
    font-size: 24pt;
    line-height: 1.1;
    letter-spacing: -.03em;
    break-after: avoid;
  }
}
