/* IDMIX Tech 1.0.47 — Estoque em linhas */
html body .inventory1047-shell{padding:0!important;overflow:hidden!important}
html body .inventory1047-head,
html body .inventory1047-row{
  display:grid!important;
  grid-template-columns:minmax(260px,1.7fr) minmax(105px,.55fr) minmax(110px,.65fr) minmax(135px,.75fr) max-content!important;
  align-items:center!important;
  gap:16px!important;
  min-width:0!important;
}
html body .inventory1047-head{
  min-height:42px!important;padding:0 16px!important;background:var(--surface2)!important;border-bottom:1px solid var(--border)!important;
  font-size:11px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.045em!important;color:var(--muted)!important;
}
html body .inventory1047-row{padding:12px 16px!important;border-bottom:1px solid var(--border)!important;background:var(--surface)!important;transition:background-color .15s ease!important}
html body .inventory1047-row:last-child{border-bottom:0!important}
html body .inventory1047-row:hover{background:color-mix(in srgb,var(--primary) 2.5%,var(--surface))!important}
html body .inventory1047-row.is-low{box-shadow:inset 3px 0 0 color-mix(in srgb,#dc2626 76%,transparent)!important}
html body .inventory1047-product{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-width:0!important}
html body .inventory1047-thumb{width:54px!important;height:54px!important;object-fit:cover!important;border:1px solid var(--border)!important;border-radius:var(--bp-control-radius,8px)!important;background:var(--surface2)!important}
html body .inventory1047-placeholder{display:grid!important;place-items:center!important;color:var(--muted)!important}
html body .inventory1047-product-copy{min-width:0!important}
html body .inventory1047-product-copy h3{margin:0!important;font-size:14px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:break-word!important}
html body .inventory1047-code{margin-top:6px!important;font-size:11.5px!important;line-height:1.2!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;color:var(--muted)!important}
html body .inventory1047-product-copy small{display:block!important;margin-top:3px!important;color:var(--muted)!important}
html body .inventory1047-stock{display:grid!important;grid-template-columns:auto auto!important;justify-content:start!important;align-items:baseline!important;gap:4px!important;min-width:0!important}
html body .inventory1047-stock b{font-size:16px!important;line-height:1!important}
html body .inventory1047-stock small{grid-column:1/-1!important;margin-top:3px!important;color:var(--muted)!important}
html body .inventory1047-price .bp-promo-price{display:grid!important;justify-items:start!important;gap:1px!important}
html body .inventory1047-price strong{font-size:15px!important}
html body .inventory1047-price del{font-size:11px!important;color:var(--muted)!important}
html body .inventory1047-lot{display:grid!important;gap:3px!important;min-width:0!important}
html body .inventory1047-lot-text{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:5px!important;min-width:0!important}
html body .inventory1047-lot small,html body .inventory1047-lot>small{color:var(--muted)!important}
html body .inventory1047-row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:max-content!important}
html body .inventory1047-row-actions>.actions{flex-wrap:nowrap!important}
html body .inventory1047-qty{flex:0 0 auto!important}

@media(max-width:1120px){
  html body .inventory1047-head{display:none!important}
  html body .inventory1047-row{grid-template-columns:minmax(240px,1fr) auto auto!important;gap:12px 18px!important}
  html body .inventory1047-product{grid-column:1!important;grid-row:1/3!important}
  html body .inventory1047-stock{grid-column:2!important;grid-row:1!important}
  html body .inventory1047-price{grid-column:3!important;grid-row:1!important}
  html body .inventory1047-lot{grid-column:2!important;grid-row:2!important}
  html body .inventory1047-row-actions{grid-column:3!important;grid-row:2!important}
}
@media(max-width:760px){
  html body .inventory1047-row{grid-template-columns:minmax(0,1fr) auto!important;padding:12px!important}
  html body .inventory1047-product{grid-column:1/-1!important;grid-row:auto!important}
  html body .inventory1047-stock{grid-column:1!important;grid-row:auto!important}
  html body .inventory1047-price{grid-column:2!important;grid-row:auto!important;justify-self:end!important}
  html body .inventory1047-lot{grid-column:1!important;grid-row:auto!important}
  html body .inventory1047-row-actions{grid-column:1/-1!important;grid-row:auto!important;width:100%!important;justify-content:space-between!important;min-width:0!important}
  html body .inventory1047-row-actions>.actions{min-width:0!important;flex:0 1 auto!important}
}
@media(max-width:520px){
  html body .inventory1047-row-actions>.actions .btn{width:38px!important;min-width:38px!important;height:38px!important;padding:0!important;display:grid!important;place-items:center!important}
  html body .inventory1047-row-actions>.actions .btn span{display:none!important}
}

/* IDMIX Tech 1.0.49 — busca fixa e leitura de estoque */
html body .inventory1049-searchbar{position:sticky;top:8px;z-index:12;display:flex;align-items:center;gap:12px;padding:8px 0;background:var(--bg);min-width:0!important}
html body .inventory1049-search{position:relative;flex:1 1 620px;max-width:760px;min-width:220px}
html body .inventory1049-search>.ui-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}
html body .inventory1049-search .input{width:100%;padding-left:42px!important;background:var(--surface)!important}
html body .inventory1049-result-count{margin-left:auto;color:var(--muted);font-size:var(--bp-ds-meta);white-space:nowrap}
html body .inventory1049-row .inventory1047-product-copy h3{font-size:var(--bp-ds-row-title)!important}
html body .inventory1049-row .inventory1047-code{font-size:var(--bp-ds-meta)!important;margin-top:8px!important}
html body .inventory1049-row .inventory1047-product-copy small{font-size:var(--bp-ds-meta)!important}
@media(max-width:640px){html body .inventory1049-searchbar{align-items:stretch;flex-direction:column}html body .inventory1049-result-count{margin-left:0}}
