.production-entry-table { min-width: 820px; }
.production-entry-table th { padding: 10px; font-size: var(--zkl-font-9, 9px); }
.production-entry-table td { padding: 10px; color: var(--text, #172b3d); font-size: var(--zkl-font-11, 11px); line-height: 1.35; }
.production-entry-table th:first-child,
.production-entry-table td[data-mobile-field="date"] { min-width: 100px; }
.production-entry-table td[data-mobile-field="identity"] { min-width: 156px; }
.production-entry-table td[data-mobile-field="print-type"] { min-width: 92px; }
.production-entry-table td[data-mobile-field="body-color"] { min-width: 96px; }
.production-entry-table td[data-mobile-field="quantity"] { min-width: 88px; }
.production-entry-table td[data-mobile-field="cm"] { min-width: 92px; }
.production-entry-table td[data-mobile-field="actions"] { min-width: 54px; }
.production-entry-table td[data-mobile-field="print-type"],
.production-entry-table td[data-mobile-field="body-color"] {
  max-width: 150px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.production-entry-table .icon-button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  scroll-margin-bottom: calc(128px + env(safe-area-inset-bottom));
}
.production-entry-scroll:focus-visible { outline: 2px solid var(--ci-primary); outline-offset: 2px; }

.production-entry-identity {
  display: grid;
  justify-items: start;
  gap: 3px;
  min-width: 0;
  max-width: 190px;
  white-space: normal;
}
.production-entry-identity .buyer-name {
  display: block;
  max-width: 100%;
  color: var(--text, #172b3d) !important;
  font-size: var(--zkl-font-11, 11px);
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.production-entry-identity .style-code {
  display: block;
  max-width: 100%;
  margin: 0;
  color: var(--text, #172b3d) !important;
  font-size: var(--zkl-font-10, 10px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.production-entry-type-badge {
  --entry-type-color: #116b61;
  --entry-type-background: #e6f6f2;
  --entry-type-border: #a9ddd3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  min-height: 21px;
  padding: 2px 7px;
  border: 1px solid var(--entry-type-border);
  border-radius: 999px;
  background: var(--entry-type-background);
  color: var(--entry-type-color);
  font-size: var(--zkl-font-8_5, 8.5px);
  font-weight: 850;
  letter-spacing: .055em;
  line-height: 1.15;
  white-space: nowrap;
}
.production-entry-type-badge svg {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.production-entry-type-badge--delivery {
  --entry-type-color: #5143a5;
  --entry-type-background: #f0edff;
  --entry-type-border: #c9c0f5;
}
.production-entry-type-badge--other {
  --entry-type-color: #4f6476;
  --entry-type-background: #edf2f6;
  --entry-type-border: #cbd6df;
}
html[data-theme="dark"] .production-entry-type-badge--input {
  --entry-type-color: #8de3d5;
  --entry-type-background: #153f3c;
  --entry-type-border: #286a63;
}
html[data-theme="dark"] .production-entry-type-badge--delivery {
  --entry-type-color: #c2b8ff;
  --entry-type-background: #302b58;
  --entry-type-border: #5c529a;
}
html[data-theme="dark"] .production-entry-type-badge--other {
  --entry-type-color: #c6d5e1;
  --entry-type-background: #273c4c;
  --entry-type-border: #405c70;
}

@media (max-width: 760px), (max-height: 500px) and (orientation: landscape) and (pointer: coarse) {
  .production-entry-scroll {
    max-width: 100%;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .production-entry-table { min-width: 820px; }
  .production-entry-identity { gap: 3px; }
}
