.status-WYMAGA_UWAGI { background: #ffc107; color: #000; }
.status-ZAAKCEPTOWANE { background: #0d6efd; }
.status-ZREALIZOWANE { background: #198754; }
.status-ODRZUCONE { background: #6c757d; }
.status-POTWIERDZONE { background: #146c43; }
.status-ROZBIEZNOSC { background: #dc3545; }
.promo-OCZEKUJE { background: #ffc107; color: #000; }
.promo-POTWIERDZONA { background: #198754; }
.promo-ODRZUCONA { background: #6c757d; }

/* Zestawienie: układ jak w dotychczasowym PDF (bloki po 10 kolumn). */
.summary-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid #000;
  border-bottom: 0;
  margin: 0;
  padding: 2px;
}
.summary-block {
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 0;
}
.summary-block th,
.summary-block td {
  border: 1px solid #000;
  text-align: center;
  vertical-align: middle;
  padding: 2px 3px;
}
.summary-block thead th {
  background: #ccffcc;
  font-size: 0.68rem;
  line-height: 1.1;
}
.summary-block .center-col {
  text-align: left;
  font-size: 0.68rem;
  line-height: 1.1;
  background: #fff;
}
.summary-block thead .center-col {
  text-align: center;
  background: #ccffcc;
}
.summary-block td {
  font-size: 1.05rem;
  font-weight: 700;
}
.summary-block .total th,
.summary-block .total td {
  color: #e00;
  font-weight: 700;
  border-width: 2px;
}
.summary-block td.planned {
  color: #0070c0;
}
.summary-block .total th {
  text-align: center;
}
.summary-scroll {
  overflow-x: auto;
}
.summary-scroll .summary {
  min-width: 1100px;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 6mm;
  }
  .no-print {
    display: none !important;
  }
  main {
    padding: 0 !important;
  }
  .summary-scroll {
    overflow: visible;
  }
  .summary-scroll .summary {
    min-width: 0;
  }
  .summary-block {
    page-break-inside: avoid;
  }
  .summary-block td {
    font-size: 11pt;
  }
  .summary-block thead th,
  .summary-block .center-col {
    font-size: 6.5pt;
  }
}
