.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-toolbar{gap:8px!important;margin-bottom:8px!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-search{height:32px!important;min-height:32px!important;border:1px solid transparent!important;border-radius:0!important;background:var(--surface)!important;box-shadow:none!important;padding:0 10px!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-search:focus-within{border-color:var(--muted)!important;outline:none!important;box-shadow:none!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-search input{height:30px!important;border:0!important;outline:none!important;box-shadow:none!important;font-size:12px!important;background:transparent!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-type-select{height:32px!important;border:1px solid var(--border)!important;border-radius:2px!important;font-size:12px!important;box-shadow:none!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-table-wrap{border-radius:0!important;box-shadow:none!important;border-color:var(--border)!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-table-header{padding:7px 12px!important;font-size:10px!important;font-weight:500!important;color:var(--muted)!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-table-row{padding:7px 12px!important;min-height:44px!important;border-radius:0!important;border-color:var(--border)!important;box-shadow:none!important;align-items:center}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-table-row strong{font-size:12px!important;font-weight:600;line-height:16px}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-type-pill{border-radius:2px!important;font-size:10px!important;padding:2px 6px!important;line-height:14px!important;box-shadow:none!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-kardex-pagination{padding:7px 12px!important;gap:8px!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-kardex-pagination>button{height:30px!important;min-width:96px;border-radius:2px!important;border:1px solid var(--border)!important;background:var(--card)!important;box-shadow:none!important;font-size:11px!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) :is(button,select):focus-visible{outline:2px solid var(--muted)!important;outline-offset:1px}

/* Name and SKU share one text flow, with natural wrapping and no truncation. */
.inv-full-panel:has(input[placeholder="Buscar por producto o motivo..."]) .inv-table-row>div:nth-child(3){min-width:0;line-height:16px;white-space:normal;overflow-wrap:anywhere}
.inv-full-panel:has(input[placeholder="Buscar por producto o motivo..."]) .inv-table-row>div:nth-child(3)>div{display:inline!important;white-space:normal!important;text-overflow:clip!important}
.inv-full-panel:has(input[placeholder="Buscar por producto o motivo..."]) .inv-table-row>div:nth-child(3)>div:first-child{font-size:12px!important;font-weight:600!important;line-height:16px!important}
.inv-full-panel:has(input[placeholder="Buscar por producto o motivo..."]) .inv-table-row>div:nth-child(3)>div+div{font-size:10.5px!important;color:var(--muted)!important}
.inv-full-panel:has(input[placeholder="Buscar por producto o motivo..."]) .inv-table-row>div:nth-child(3)>div+div:not(:empty)::before{content:" · ";white-space:pre}
.inv-full-panel:has(input[placeholder="Buscar por producto o motivo..."]) .inv-table-row{padding-top:6px!important;padding-bottom:6px!important;min-height:40px!important}

.inv-full-panel:has(.inv-table-header[style*="100px 110px"]) .inv-table-row>div:first-child{line-height:16px;white-space:normal;overflow-wrap:anywhere}
.inv-full-panel:has(.inv-table-header[style*="100px 110px"]) .inv-table-row>div:first-child>div{display:inline!important;margin:0!important;line-height:16px!important}
.inv-full-panel:has(.inv-table-header[style*="100px 110px"]) .inv-table-row>div:first-child>div:first-child{font-size:12px!important;font-weight:600!important}
.inv-full-panel:has(.inv-table-header[style*="100px 110px"]) .inv-table-row>div:first-child>div+div{color:var(--muted)!important}
.inv-full-panel:has(.inv-table-header[style*="100px 110px"]) .inv-table-row>div:first-child>div+div::before{content:" · ";white-space:pre}
.inv-full-panel:has(.inv-table-header[style*="100px 110px"]) .inv-table-row>div:last-child>span{border:0!important;border-radius:2px!important;background:var(--surface)!important;color:var(--muted)!important;height:22px!important;min-width:24px!important;font-size:11px!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-table-row:hover{background:var(--surface)!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-btn-primary{height:32px!important;border-radius:2px!important;box-shadow:none!important;font-size:12px!important}
.inv-full-panel:is(:has(input[placeholder="Buscar por producto o motivo..."]),:has(.inv-table-header[style*="100px 110px"])) .inv-table-row{min-height:40px!important;padding-top:6px!important;padding-bottom:6px!important}
