/* Inventory > product only. Keep the register and document screens independent. */
.iw-settings-dialog header small{display:block;font-size:12px;font-weight:500}
.iw-item .iw-settings-dialog{width:min(720px,96vw)}
.iw-item .iw-settings-grid input:not([type=checkbox]),.iw-item .iw-settings-grid select{border:0;border-bottom:1px solid #aab3c1;border-radius:0}
.iw-monograph {padding:18px;background:#f5f6f8;color:#202534}
.iw-monograph header {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.iw-monograph-grid {display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:16px;margin:12px 0;align-items:start}
.iw-monograph article,.iw-monograph aside,.iw-monograph details {background:#fff;border:1px solid #e0e5ec;border-radius:6px;padding:14px}
.iw-monograph section+section {border-top:1px solid #e6ebee;margin-top:12px}
.iw-monograph h3 {font-size:15px;color:#214987;margin:8px 0}
.iw-monograph p {white-space:pre-line;line-height:1.6}
@media(max-width:720px){.iw-monograph-grid{grid-template-columns:1fr}}
.iw.iw-item {background:#f5f5f5;--iw-blue:#214987;--iw-accent:#489fe4;padding-bottom:12px}
.iw-item .iw-health {padding-bottom:8px}
.iw-item .iw-item-head {padding:0 20px 16px}
.iw-item .iw-crumbs {font-size:16px}
.iw-item .iw-item-summary {grid-template-columns:132px minmax(180px,1fr) minmax(0,2.25fr);gap:18px;padding-top:10px;min-height:160px}
.iw-item .iw-item-photo {padding:0 0 16px;width:132px;height:138px;border:0;background:#fff;border-radius:1px;cursor:zoom-in}
.iw-item .iw-item-photo small {background:#20498e;color:white;line-height:16px;font-weight:600}
.iw-item .iw-item-photo img {display:block;width:100%;height:100%;object-fit:contain}
.iw-item .iw-item-photo .iw-icon {width:50px;height:50px}
.iw-item .iw-item-ident {color:#2986c3}
.iw-item .iw-item-ident p,.iw-item .iw-item-ident small {color:#202020;font-size:14px;line-height:21px}
.iw-item .iw-item-kpis {align-content:start;gap:18px}
.iw-item .iw-item-kpi-row {align-items:start;justify-content:space-between;overflow:visible;flex-wrap:wrap;gap:8px 12px}
.iw-item .iw-item-kpi {border:0;padding:0;min-width:0;max-width:100%;overflow-wrap:anywhere}
.iw-item .iw-item-icons .iw-icon-btn {width:40px;height:40px;color:#fff;background:#489fe4;border:0;border-radius:4px}
.iw-item .iw-tab-rail,.iw-item .iw-item-panel {background:#fff;box-shadow:0 3px 22px #20283210}
.iw-item .iw-tab-rail {min-height:40px}
.iw-item .iw-tabs button {color:#555;font-size:16px;font-weight:500}
.iw-item .iw-tabs button[aria-selected=true] {color:#297fb7;background:#fff}
.iw-item .iw-item-panel {margin:0 20px;padding:0 0 16px;min-height:52vh}
.iw-item .iw-history-tools {padding:6px 16px;min-height:44px;color:#204983}
.iw-item .iw-item-grid thead th {height:41px}
.iw-item .iw-item-grid td,.iw-item .iw-item-grid th {border-bottom:1px solid #ddd}
.iw-item .iw-history-note {padding-inline:16px}
.iw-item .iw-batch-ops [data-iw-batch-edit] {color:#fff;background:#67afe3;border-radius:50%;width:22px;height:22px}
.iw-item .iw-dialog:has(.iw-zoom img) {width:min(760px,94vw);max-width:94vw}
.iw-item .iw-zoom img {width:100%;height:min(65dvh,590px);max-height:none;object-fit:contain}
@media(max-width:1100px){
  .iw-item .iw-item-summary {grid-template-columns:132px minmax(0,1fr)}
  .iw-item .iw-item-kpis {grid-column:1/-1;gap:10px}
  .iw-item .iw-item-kpi-row {justify-content:start;gap:10px 20px}
}
@media(max-width:660px){
  .iw-item .iw-item-head {padding-inline:10px}
  .iw-item .iw-item-summary {grid-template-columns:108px minmax(0,1fr);gap:12px}
  .iw-item .iw-item-photo {width:108px;height:116px}
  .iw-item .iw-item-panel {margin-inline:10px}
  .iw-item .iw-history-tools {padding:8px}
}
