/* 소재재고 화면 전용 표준 */
body:not(.pdf-view) .material-inventory-page .material-inventory-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px;
}

body:not(.pdf-view) .material-inventory-page .material-stock-card,
body:not(.pdf-view) .material-inventory-page .material-movement-card {
  width: 100%;
}

body:not(.pdf-view) .material-inventory-page .material-stock-table,
body:not(.pdf-view) .material-inventory-page .material-movement-table {
  width: 100%;
  table-layout: fixed;
}

body:not(.pdf-view) .material-inventory-page .material-stock-table th,
body:not(.pdf-view) .material-inventory-page .material-stock-table td,
body:not(.pdf-view) .material-inventory-page .material-movement-table th,
body:not(.pdf-view) .material-inventory-page .material-movement-table td {
  min-height: 30px;
  height: 30px;
  padding: 5px 7px;
  border-color: #9fb5ca;
  font-size: 12px;
  line-height: 1.35;
  vertical-align: middle;
}

body:not(.pdf-view) .material-inventory-page .material-stock-table th,
body:not(.pdf-view) .material-inventory-page .material-movement-table th {
  background: #d5e4f2;
  color: #071a2f;
  font-weight: 700;
}

body:not(.pdf-view) .material-inventory-page .material-stock-table button,
body:not(.pdf-view) .material-inventory-page .material-movement-table button,
body:not(.pdf-view) .material-inventory-page .material-category-detail-table button {
  min-height: 28px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

body:not(.pdf-view) .material-inventory-page .material-stock-table .material-stock-status,
body:not(.pdf-view) .material-inventory-page .material-movement-table .material-movement-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

body:not(.pdf-view) .material-inventory-page .material-movement-table th:nth-child(1),
body:not(.pdf-view) .material-inventory-page .material-movement-table td:nth-child(1) {
  width: 80px;
}

body:not(.pdf-view) .material-inventory-page .material-movement-table th:nth-child(2),
body:not(.pdf-view) .material-inventory-page .material-movement-table td:nth-child(2) {
  width: 74px;
}

body:not(.pdf-view) .material-inventory-page .material-movement-table th:nth-child(3),
body:not(.pdf-view) .material-inventory-page .material-movement-table td:nth-child(3) {
  width: 23%;
}

body:not(.pdf-view) .material-inventory-page .material-movement-table th:nth-child(6),
body:not(.pdf-view) .material-inventory-page .material-movement-table td:nth-child(6) {
  width: 36%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}

@media screen and (max-width: 760px) {
  body:not(.pdf-view) .material-inventory-page .material-stock-card .table-wrap,
  body:not(.pdf-view) .material-inventory-page .material-movement-card .table-wrap {
    overflow-x: auto;
  }

  body:not(.pdf-view) .material-inventory-page .material-stock-table {
    min-width: 520px;
  }

  body:not(.pdf-view) .material-inventory-page .material-movement-table {
    min-width: 700px;
  }
}
