/* Inventory overview: keep the decision columns visible and preserve every original field in full view. */
#appShell.sidebar-layout #inventory .inventory-view-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 8px 0 10px;
}
#appShell.sidebar-layout #inventory .inventory-view-toolbar p {
  margin: 0; color: #4d627a; font-size: 13px; line-height: 1.5;
}
#appShell.sidebar-layout #inventory .inventory-view-toolbar button { flex: 0 0 auto; }
#appShell.sidebar-layout #inventory .inventory-table-wrap:focus-visible { outline: 3px solid #7fa8f5; outline-offset: 2px; }
#appShell.sidebar-layout #inventory .inventory-table-wrap[data-column-view="essential"] .inventory-extra-column,
#appShell.sidebar-layout #inventory .inventory-table-wrap[data-column-view="essential"] .inventory-extra-detail { display: none; }
#appShell.sidebar-layout #inventory .inventory-table-wrap[data-column-view="essential"] .inventory-master-table {
  width: 100%; min-width: 960px;
}
#appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):first-child {
  width: 225px; min-width: 225px; max-width: 225px;
}
#appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):nth-child(2) {
  left: 225px; width: 155px; min-width: 155px; max-width: 155px;
}
#appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):nth-child(3) { min-width: 125px; }
#appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):nth-child(4) { min-width: 95px; }
#appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):nth-child(5) { min-width: 150px; }
#appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):nth-child(6) { min-width: 190px; }
#appShell.sidebar-layout #inventory .inventory-name-cell,
#appShell.sidebar-layout #inventory .inventory-name-cell * { white-space: normal !important; overflow-wrap: anywhere; }
#appShell.sidebar-layout #inventory .inventory-current > b { padding: 2px 0; border: 0; }
#appShell.sidebar-layout #inventory .inventory-current:has(> .inventory-extra-detail) > b { border: 0; padding-bottom: 2px; }
#appShell.sidebar-layout #inventory .inventory-extra-detail { display: block; }
#appShell.sidebar-layout #inventory .inventory-actions-cell > div {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
}
#appShell.sidebar-layout #inventory .inventory-actions-cell .text-button { margin: 0; min-height: 32px; padding: 5px 7px; font-size: 13px; }
#appShell.sidebar-layout #inventory .inventory-actions-cell .inventory-transfer-action {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #cbdbee; border-radius: 7px; background: #f5f8fc;
  color: #335c88; white-space: nowrap;
}
#appShell.sidebar-layout #inventory .inventory-actions-cell .inventory-transfer-action:hover { background: #eaf2fc; }
#appShell.sidebar-layout #inventory .inventory-master-table td:nth-child(2) { background: #f1f6ff; }

@media (max-width: 1100px) {
  #appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):first-child {
    width: 190px; min-width: 190px; max-width: 190px;
  }
  #appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):nth-child(2) {
    left: 190px; width: 145px; min-width: 145px; max-width: 145px;
  }
}
@media (max-width: 620px) {
  #appShell.sidebar-layout #inventory .inventory-view-toolbar { align-items: stretch; flex-direction: column; gap: 8px; }
  #appShell.sidebar-layout #inventory .inventory-view-toolbar button { align-self: flex-start; }
  #appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):first-child {
    width: 132px; min-width: 132px; max-width: 132px;
  }
  #appShell.sidebar-layout #inventory .inventory-master-table :is(th,td):nth-child(2) {
    left: 132px; width: 108px; min-width: 108px; max-width: 108px;
  }
  #appShell.sidebar-layout #inventory .inventory-current > b { font-size: 18px; }
  #appShell.sidebar-layout #inventory .inventory-master-table th,
  #appShell.sidebar-layout #inventory .inventory-master-table td { padding: 10px 8px; }
}
