/* Arkusz maszyny dla Adriana — LIGHT MODE, kolory 1:1 z jego pliku „E5 CZERWIEC.xlsx":
   PRZYGOTOWALNIA = #FFC000 (pomarańcz), AKCEPTACJA DRUKU = #92D050 (zieleń).
   Ma wyglądać jak jego Excel, nie jak nasza ciemna apka — decyzja Stana 27.08. */
* { box-sizing: border-box; }
body { margin: 0; background: #f6f6f4; color: #1c1c1a;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 13px; }
.top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: #fff;
  border-bottom: 2px solid #d9d9d4; position: sticky; top: 0; z-index: 5; }
.brand { font-size: 14px; white-space: nowrap; }
.machines { display: flex; gap: 4px; }
.machines button { font: inherit; font-weight: 800; padding: 5px 12px; border: 1px solid #cfcfc8;
  background: #f1f1ec; border-radius: 6px; cursor: pointer; color: #444; }
.machines button.on { background: #217346; border-color: #217346; color: #fff; }  /* zieleń Excela */
.spacer { flex: 1; }
.meta { font-size: 11.5px; color: #777; white-space: nowrap; }
.meta b { color: #217346; }
.meta.err b { color: #b3261e; }
main { padding: 14px 16px 30px; }
.sheet-title { font-size: 22px; font-weight: 900; letter-spacing: .02em; margin: 2px 0 10px; }
.sheet-title small { font-size: 12px; font-weight: 700; color: #888; margin-left: 10px; }
.foot { margin-top: 12px; font-size: 11px; color: #999; max-width: 720px; }

/* ── Tabulator w skórze Excela ── */
#grid { background: #fff; border: 1px solid #c9c9c2;
  height: calc(100vh - 148px); min-height: 420px; }  /* min-height: viewport 0 (tło karty) nie może złożyć siatki */
.tabulator { font-size: 12.5px; border: none; background: #fff; }
.tabulator .tabulator-header { background: #ededе8; background: #edede8; border-bottom: 2px solid #b9b9b2; }
.tabulator .tabulator-col { background: #edede8; border-right: 1px solid #d4d4cd; }
.tabulator .tabulator-col .tabulator-col-title { font-weight: 800; white-space: normal; font-size: 11.5px; }
.tabulator .tabulator-col.tabulator-col-group { border-bottom: 1px solid #b9b9b2; }
/* kolory nagłówków jak w pliku Adriana */
.tabulator .tabulator-col.col-przyg { background: #FFC000 !important; }
.tabulator .tabulator-col.col-przyg .tabulator-col-title { color: #201800; }
.tabulator .tabulator-col.col-akcept { background: #92D050 !important; }
.tabulator .tabulator-col.col-akcept .tabulator-col-title { color: #10250a; }
.tabulator-row { border-bottom: 1px solid #e2e2dc; min-height: 26px; }
.tabulator-row .tabulator-cell { border-right: 1px solid #ececе6; border-right: 1px solid #ecece6; padding: 4px 7px; }
.tabulator-row.tabulator-row-even { background: #fbfbf9; }
.tabulator-row:hover { background: #f1f6ee !important; }
/* komórki-checkboxy: klikalna cała komórka, ✓/✗ jak odhaczenia w jego arkuszu */
.cellchk { display: block; text-align: center; font-weight: 900; cursor: pointer; user-select: none; }
.cellchk.on { color: #217346; }
.cellchk.off { color: #c0392b; opacity: .55; }
.cell-num { text-align: right; font-variant-numeric: tabular-nums; display: block; }
.cell-time { text-align: center; font-variant-numeric: tabular-nums; display: block; }
.cell-real { color: #b0b0a8; font-style: italic; }
.uwagi-cell { color: #333; }
.tabulator-editing input { font: inherit !important; }
