/* Anchos personales y crecimiento natural del contenido. Sólo se fija Producto en escritorio. */
#parkView .inventory-table{table-layout:fixed!important;min-width:0!important;max-width:none!important}
#parkView .inventory-table :is(th,td){width:auto!important;min-width:0!important;max-width:none!important;box-sizing:border-box;white-space:normal!important;height:auto!important}
#parkView .inventory-table th{position:sticky!important;top:0;overflow:visible}
#parkView .inventory-table td{vertical-align:middle;overflow:visible;overflow-wrap:anywhere;word-break:normal}
#parkView .inventory-table td :is(span,strong,small,.table-primary,.table-supply,.table-location-product){white-space:normal!important;max-width:100%!important;max-height:none!important;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
#parkView .inventory-table .sort-button{white-space:normal;min-height:36px;padding-right:18px;overflow-wrap:anywhere}
#parkView .inventory-table :is(.table-location-cell,.table-location-identity){min-width:0}
#parkView .inventory-table td .point-indicator-content{gap:4px;flex-wrap:wrap}
#parkView .inventory-table td .ccc-limit-indicators{max-width:100%;flex-wrap:wrap}
#parkView .inventory-table td .ccc-limit-badge{max-width:100%;box-sizing:border-box}
.ccc-limit-badge.is-configured{background:#273443;border-color:#7e9bb6;color:#eef7ff!important}
.column-resize-handle{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none;z-index:15;user-select:none;border-right:2px solid #7587a3;opacity:.6}
.column-resize-handle:hover,.column-resize-handle:focus-visible{opacity:1;background:#91b1db55;outline:2px solid #b8d5ff;outline-offset:-2px}
@media(min-width:761px){
 #parkView .inventory-table tbody td[data-column="producto"]{position:sticky!important;left:0!important;z-index:5;background:#202733!important;box-shadow:2px 0 0 #60718a}
 #parkView .inventory-table thead th[data-column="producto"]{left:0!important;z-index:9;background:#253246!important;box-shadow:2px 0 0 #60718a}
 #parkView .inventory-table tbody tr:hover td[data-column="producto"]{background:#344b6a!important}
 .app-shell.inventory-workspace-active #filterForm{grid-template-columns:minmax(190px,1.7fr) repeat(6,minmax(100px,1fr))}
}
@media(min-width:761px) and (max-width:1400px){.app-shell.inventory-workspace-active #filterForm{grid-template-columns:repeat(4,minmax(0,1fr))}.app-shell.inventory-workspace-active #filterForm .filter-field-wide{grid-column:span 2}}
@media(max-width:760px){#parkView .inventory-table tbody td[data-column="producto"]{position:static!important;left:auto!important}.column-resize-handle{width:12px}}

/* Encabezados dentro de una capa propia; la esquina Producto siempre queda por encima. */
#inventoryTableWrap{isolation:isolate}
#inventoryTableWrap .inventory-table thead th{z-index:20!important;background:#1f2c3b!important;isolation:isolate}
@media(min-width:761px){
 #inventoryTableWrap .inventory-table tbody td[data-column="producto"]{z-index:10!important}
 #inventoryTableWrap .inventory-table thead th[data-column="producto"]{z-index:40!important;background:#253246!important}
}
.column-move-handle{position:absolute;left:3px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:17px;height:25px;padding:2px;border:0;border-radius:4px;color:#b8c7dc;background:transparent;cursor:grab;touch-action:none;z-index:2}
.column-move-handle svg{width:11px;height:17px;fill:currentColor;pointer-events:none}
.column-move-handle:hover,.column-move-handle:focus-visible{color:#fff;background:#6785ae66;outline:1px solid #b8d5ff}
.column-move-handle:active{cursor:grabbing}
#inventoryTableWrap .inventory-table th:has(.column-move-handle) .sort-button{padding-left:24px}
#inventoryTableWrap .inventory-table th.point-indicator-heading{padding-left:24px!important}
#inventoryTableWrap .inventory-table th.column-drop-before{box-shadow:inset 4px 0 #b0d3ff!important}
#inventoryTableWrap .inventory-table th.column-drop-after{box-shadow:inset -4px 0 #b0d3ff!important}
