/* The Famoo strip on printables (Rob, 31 October 2026): the wordmark, "Get the Famoo app",
   the strapline and a QR code to app.famoo.app. Print only, one at the foot of each sheet.
   Black and white friendly: black text, a black QR code, a thin rule above.
   Markup from scripts/website/print-brand.mjs. Loaded after each page's own styles. */

.print-brand {
  display: none;
}

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

  .print-brand {
    display: flex !important;
  }

  .print-brand {
    align-items: center;
    gap: 5mm;
    margin: 4mm 0 0;
    padding: 2.5mm 0 0;
    border-top: 0.4mm solid #000;
    background: #fff;
    color: #000;
    text-align: left;
    font-size: 9.5pt;
    line-height: 1.3;
    break-inside: avoid;
    page-break-inside: avoid;
    opacity: 1;
  }

  .print-brand .print-brand-mark {
    flex: none;
    display: block;
    width: auto;
    height: 9mm;
    max-height: none;
    margin: 0;
    background: none;
  }

  .print-brand .print-brand-words {
    flex: 1;
    margin: 0;
    font-size: 9.5pt;
  }

  .print-brand .print-brand-words strong {
    display: block;
    font-size: 13pt;
    line-height: 1.2;
  }

  .print-brand .print-brand-qr {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8mm;
    margin: 0;
    font-size: 8pt;
    font-weight: 700;
  }

  .print-brand .print-brand-qr img {
    display: block;
    width: 20mm;
    height: 20mm;
    max-height: none;
    margin: 0;
    background: #fff;
  }

  /* Room for the strip: the 24-day tables and the cut-out slips stay on one sheet. */
  .job-table {
    font-size: 9pt;
    line-height: 1.25;
  }

  .job-table th,
  .job-table td {
    padding: 0.9mm 1.8mm;
  }

  .job-table tbody th {
    min-width: 0;
    width: 1%;
    white-space: nowrap;
  }

  .slip-grid li {
    min-height: 24mm;
  }
}
