/* Inventory control: holds, moves, adjustments & acts, stocktaking, cycle counts, replenishment rules. Use the tokens from styles.css / docs/DESIGN.md only. */

/* stock rows: held / expired get a left marker (the status itself is a tag with a word) */
.grid tr.ic-held td:first-child { box-shadow: inset 3px 0 0 var(--danger); }
.grid tr.ic-expired td:first-child { box-shadow: inset 3px 0 0 var(--warning); }
.grid tr.ic-diff td:first-child { box-shadow: inset 3px 0 0 var(--warning); }

/* count entry */
.ic-count-wrap { max-height: 52vh; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-s); }
.ic-count { width: 100%; }
.ic-count td { vertical-align: middle; }
.ic-count .ic-qty { width: 110px; text-align: right; }
.ic-count tr.ic-new td { background: var(--pine-soft); }
.ic-count input[type="text"], .ic-count input[type="date"], .ic-count select { width: 100%; min-width: 90px; }
.ic-row { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-3); flex-wrap: wrap; }
.ic-check { display: inline-flex; align-items: center; gap: var(--space-2); }

/* results / act tables */
.ic-results { width: 100%; margin-bottom: var(--space-4); }
.ic-print h2 { margin: 0 0 var(--space-2); }
.ic-print table { width: 100%; margin: var(--space-3) 0; }
.ic-sign { margin-top: var(--space-6); white-space: pre; }

/* printing an act: only the act */
@media print {
  body.ic-printing > *:not(.overlay) { display: none !important; }
  body.ic-printing .overlay { position: static; background: none; }
  body.ic-printing .modal { box-shadow: none; border: 0; max-width: none; width: auto; }
  body.ic-printing .modal header, body.ic-printing .modal footer { display: none; }
}
