.stock-movements,.stock-movements *,.stock-movement-details,.stock-movement-details *{box-sizing:border-box;min-width:0}
.stock-movements{max-width:100%;color:var(--ink,#15253c)}
.stock-movement-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:.8rem;margin:0 0 1rem}.stock-movement-heading>div{flex:1;min-width:min(240px,100%)}.stock-movement-heading>button{flex:none}
.stock-movement-heading h1{margin:.2rem 0 .6rem}.stock-movement-heading p{color:var(--muted)}
.stock-movement-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;align-items:start;padding:1rem;background:var(--panel,#fff);border:1px solid var(--line,#e4e6ea);border-radius:12px}
.stock-movement-filters label{display:flex;flex-direction:column;gap:.4rem;font-size:.8rem}.stock-movement-query,.stock-movement-product{grid-column:span 2}
.stock-movement-filters input,.stock-movement-filters select{width:100%;min-height:42px;font:inherit;font-size:16px;border:1px solid var(--line,#e4e6ea);border-radius:8px;padding:.65rem .75rem;background:var(--bg,#f6f7f8);color:var(--ink,#15253c)}
.stock-movement-product{display:grid;gap:.4rem}.stock-movement-product label{gap:.4rem}.stock-movement-product-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}.stock-movement-product .editor-choice-controls{grid-column:1/-1;margin:0}.stock-movement-product .choice-pages{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.stock-movement-product .choice-pages small{flex:1;color:var(--muted)}
.stock-movements button,.stock-movement-details button{min-height:42px;white-space:normal;overflow-wrap:anywhere}
.stock-movement-order-note{margin:1rem 0;color:var(--muted);font-size:.82rem}
.stock-movement-results-head{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:.8rem}.stock-movement-results-head span{color:var(--muted);font-size:.8rem}
.stock-movement-table-wrap{max-width:100%;border:1px solid var(--line,#e4e6ea);border-radius:12px;overflow:hidden}
.stock-movement-table{width:100%;table-layout:fixed;margin:0;border:0}.stock-movement-table th,.stock-movement-table td{padding:.9rem .7rem;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.stock-movement-table th{font-size:.69rem;text-transform:uppercase;letter-spacing:.05em}.stock-movement-table th:nth-child(1){width:15%}.stock-movement-table th:nth-child(2){width:21%}.stock-movement-table th:nth-child(3){width:24%}.stock-movement-table th:nth-child(4){width:13%}.stock-movement-table th:nth-child(5){width:18%}.stock-movement-table th:nth-child(6){width:9%}
.stock-movement-table small{display:block;margin-top:.35rem;line-height:1.5;color:var(--muted)}.stock-movement-product-link{text-align:left;font-weight:650}.stock-movement-source{text-align:left;max-width:100%}
.stock-movement-badge{display:inline-block;padding:.2rem .5rem;font-size:.68rem;line-height:1.5;border:1px solid var(--line,#e4e6ea);border-radius:999px;background:var(--soft,#eff1f3);color:var(--muted)}
.stock-movement-badge.in{color:#72d3b1;background:#12352a}.stock-movement-badge.out{color:#edab9a;background:#3d2925}.stock-movement-badge.transfer{color:#b7cfff;background:#243247}
.stock-movement-quantity{display:block;font-size:1.05rem;line-height:1.5;margin-top:.5rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stock-movement-quantity.in,.stock-movement-quantity.out,.stock-movement-quantity.transfer{color:var(--ink,#15253c)}
.stock-movement-balance{font-size:1rem;font-weight:600;font-variant-numeric:tabular-nums}.stock-movement-balance small{font-weight:400}.stock-movement-note{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.stock-movement-detail-button{padding:.4rem .55rem;font-size:.8rem}
.stock-movement-pager{display:flex;justify-content:space-between;align-items:center;gap:.8rem;margin-top:1rem;font-size:.8rem;color:var(--muted)}.stock-movement-pager>div{display:flex;gap:.5rem}
.stock-movement-empty{padding:2.5rem 1rem;text-align:center;border:1px dashed var(--line,#e4e6ea);border-radius:12px;color:var(--muted)}.stock-movement-empty strong{color:var(--ink,#15253c)}
.stock-movement-details{max-width:100%;font-size:.9rem;line-height:1.6}.stock-movement-detail-heading h3{margin:.5rem 0;overflow-wrap:anywhere}.stock-movement-detail-total{font-size:1.6rem;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.stock-movement-details section{margin:1.4rem 0}.stock-movement-details h4{margin:0 0 .6rem;font-size:.8rem;color:var(--muted)}
.stock-movement-facts{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.stock-movement-facts>div{padding:.8rem;border:1px solid var(--line,#e4e6ea);border-radius:8px}.stock-movement-facts dt{font-size:.75rem;color:var(--muted)}.stock-movement-facts dd{margin:.3rem 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.stock-movement-reason p{white-space:pre-wrap;overflow-wrap:anywhere}.stock-movement-position-list,.stock-movement-unit-list{list-style:none;padding:0;display:grid;gap:.5rem}.stock-movement-position-list li,.stock-movement-unit-list li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.3rem .8rem;padding:.8rem;border:1px solid var(--line,#e4e6ea);border-radius:8px;overflow-wrap:anywhere}.stock-movement-position-list small,.stock-movement-unit-list small{grid-column:1/-1;color:var(--muted)}.stock-movement-detail-sources{display:flex;flex-wrap:wrap;gap:.5rem}.stock-movement-readonly{border-top:1px solid var(--line,#e4e6ea);padding-top:1rem;color:var(--muted);font-size:.8rem}
@media(max-width:1050px){.stock-movement-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-movement-query,.stock-movement-product{grid-column:span 1}.stock-movement-table th,.stock-movement-table td{padding:.7rem .5rem}.stock-movement-results-head{align-items:flex-start;flex-direction:column;gap:.4rem}}
@media(max-width:700px){.stock-movement-table-wrap{border:0;overflow:visible}.stock-movement-table,.stock-movement-table tbody{display:block}.stock-movement-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.stock-movement-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.6rem;padding:1rem;margin-bottom:.8rem;border:1px solid var(--line,#e4e6ea);border-radius:12px;background:var(--panel,#fff)}.stock-movement-table td{display:block;border:0;padding:0}.stock-movement-table td:before{content:attr(data-label);display:block;color:var(--muted);font-size:.67rem;font-weight:400;margin-bottom:.3rem}.stock-movement-table td:nth-child(2),.stock-movement-table td:nth-child(3),.stock-movement-table td:nth-child(5),.stock-movement-table td:last-child{grid-column:1/-1}.stock-movement-table td:nth-child(1){grid-row:1}.stock-movement-table td:nth-child(4){grid-row:1;grid-column:2}.stock-movement-table td:last-child:before{display:none}.stock-movement-detail-button{width:100%}.stock-movement-quantity{font-size:1.3rem}.stock-movement-filters{padding:.8rem}.stock-movement-facts{grid-template-columns:1fr}.stock-movement-position-list li,.stock-movement-unit-list li{grid-template-columns:1fr}.stock-movement-heading h1{font-size:1.6rem}}
@media(max-width:400px){.stock-movement-filters{grid-template-columns:minmax(0,1fr)}.stock-movement-query,.stock-movement-product{grid-column:1}.stock-movement-pager{align-items:flex-start;flex-direction:column}.stock-movement-pager>div{width:100%}.stock-movement-pager button{flex:1}}
@media(max-width:700px){.stock-movement-query,.stock-movement-product{grid-column:1/-1}.stock-movement-product-fields{grid-template-columns:minmax(0,1fr)}}
