/* SOLISTRIX | v1.1.17 | componentización de avisos, listas y formularios. */
.sx-alert{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px;padding:14px 16px!important;
 border:1px solid;border-left-width:5px!important;border-radius:8px;box-shadow:0 2px 8px #1d365008;
 font-size:12px!important;line-height:1.55!important}
.sx-alert .sx-alert-symbol{flex:none;display:flex;align-items:center;justify-content:center;width:24px;height:24px;
 margin-top:1px;border-radius:50%;font-size:14px;font-weight:850;border:2px solid currentColor}
.sx-alert-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.sx-alert-content strong{font-size:12px;font-weight:800}
.sx-alert-content span{font-size:12px;overflow-wrap:anywhere}
.sx-alert-dismiss{border:0!important;background:transparent!important;color:inherit!important;cursor:pointer;
 padding:0!important;min-width:25px;min-height:28px;font-size:23px!important;line-height:1!important;opacity:.8}
.sx-alert-dismiss:hover,.sx-alert-dismiss:focus-visible{opacity:1;outline:2px solid currentColor;outline-offset:2px}
.sx-alert-success{background:#e4f5e9!important;border-color:#75bf92!important;color:#165f3b!important}
.sx-alert-info{background:#e8f4ff!important;border-color:#8abbe5!important;color:#174b75!important}
.sx-alert-warning{background:#fff1d9!important;border-color:#e9b45e!important;color:#74460c!important}
.sx-alert-error{background:#ffe9e8!important;border-color:#e18782!important;color:#912b2b!important}
.sx-alert-context{margin-top:10px!important;margin-bottom:12px!important}
.sx-inline-message{border:1px solid!important;border-left-width:4px!important;border-radius:7px;
 padding:10px 14px!important;font-weight:650;line-height:1.55}
/* Alinea los botones con los CONTROLES y no con las etiquetas de sus campos. */
body.solistrix-demo.tenant-workspace .erp116-wms .erp116-inline-form{align-items:flex-end!important;gap:10px!important}
body.solistrix-demo.tenant-workspace .erp116-wms .erp116-inline-form>label{margin:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;gap:4px!important}
body.solistrix-demo.tenant-workspace .erp116-wms .erp116-inline-form>label input,
body.solistrix-demo.tenant-workspace .erp116-wms .erp116-inline-form>label select{height:39px!important;min-height:39px!important;box-sizing:border-box}
body.solistrix-demo.tenant-workspace .erp116-wms .erp116-inline-form>button{
 align-self:flex-end!important;height:39px!important;min-height:39px!important;box-sizing:border-box;
 margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
/* Paginador compacto para WMS y registros detallados que pueden crecer. */
.sx-grid-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:11px 0 9px}
.sx-grid-tools input[type=search]{flex:1 1 260px;max-width:545px;min-width:120px;min-height:36px}
.sx-grid-tools .sx-grid-count{margin-left:auto;color:#61788b;font-size:11px;white-space:nowrap}
.sx-grid-tools label,.sx-wms-history-filters label{display:flex;align-items:center;gap:7px;color:#405c78;
 font-size:11px;font-weight:650;margin:0}
.sx-grid-tools select,.sx-wms-history-filters select{width:auto;min-width:73px;min-height:36px}
.sx-grid-footer,.sx-history-pages{display:flex;justify-content:space-between;align-items:center;
 gap:12px;flex-wrap:wrap;margin:9px 0 12px;color:#61788b;font-size:11px}
.sx-grid-footer>div,.sx-history-pages>div{display:flex;gap:6px;align-items:center}
.sx-grid-nav,.sx-history-pages a,.sx-history-disabled{display:inline-flex;align-items:center;justify-content:center;
 min-height:32px;padding:6px 10px;border:1px solid #cdddec;border-radius:6px;
 background:#f0f5fb;color:#214a74!important;text-decoration:none!important;font-size:11px!important;font-weight:650}
.sx-grid-nav:disabled,.sx-history-disabled{opacity:.48;cursor:default}
.sx-sortable{cursor:pointer;user-select:none}
.sx-sortable::after{content:' ↕';color:#91a4ba}
.sx-sortable[aria-sort=ascending]::after{content:' ↑'}
.sx-sortable[aria-sort=descending]::after{content:' ↓'}
table[data-sx-list] tr.sx-row-hidden,table[data-sx-list] tr[hidden]{display:none!important}
.sx-wms-history-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:10px 0}
.sx-wms-history-filters label{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:100px}
.sx-wms-history-filters label:first-child{flex:1 1 290px;max-width:520px}
.sx-wms-history-filters input{min-height:36px}
.sx-wms-history-filters button{min-height:36px}
@media(max-width:680px){
 .sx-alert{padding:12px!important;gap:8px}
 .sx-grid-tools{align-items:stretch}
 .sx-grid-tools .sx-grid-count{margin-left:0}
 .sx-grid-tools input[type=search]{max-width:none;width:100%}
 .sx-grid-footer,.sx-history-pages{align-items:flex-start}
 body.solistrix-demo.tenant-workspace .erp116-wms .erp116-inline-form>label{flex:1 1 100%!important}
 body.solistrix-demo.tenant-workspace .erp116-wms .erp116-inline-form>button{width:100%!important}
}
