/* E-commerce Sales Analysis V33
   Keeps the wrench Products tab, adds the attached four-card summary,
   implements Products 1 → many Inventory records and explains all table relations. */
:root{
  --ecom-v32-green:#39ff14;
  --ecom-v32-pink:#ff1493;
  --ecom-v32-cyan:#26e6ff;
  --ecom-v32-yellow:#ffe600;
  --ecom-v32-black:#050506;
  --ecom-v32-paper:#f8fafc;
  --ecom-v32-ink:#111827;
}

/* Only the upper cube/insights Products trigger is hidden. The wrench
   Products trigger remains visible and opens the full management table. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-products-insights-hidden-v32="true"]{
  display:none!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-wrench-products-v32="true"]{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
}

/* Four attached summary cards moved to the wrench Products page. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metrics-v32{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:1.25rem!important;
  margin:0 0 1.5rem!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metric-v32{
  --tone:var(--ecom-v32-green);
  position:relative!important;
  min-width:0!important;
  min-height:145px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:.75rem!important;
  padding:1.45rem 1.4rem!important;
  border:4px solid #050506!important;
  border-radius:0!important;
  background:#f8fafc!important;
  color:var(--ecom-v32-ink)!important;
  box-shadow:11px 12px 0 var(--tone)!important;
  overflow:hidden!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metric-v32[data-tone="pink"]{--tone:var(--ecom-v32-pink)}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metric-v32[data-tone="cyan"]{--tone:var(--ecom-v32-cyan)}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metric-v32::before{
  content:""!important;
  position:absolute!important;
  top:-4px!important;
  right:0!important;
  width:32%!important;
  height:7px!important;
  border-left:2px solid #050506!important;
  background:var(--tone)!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metric-v32 small{
  color:#334155!important;
  font:950 .72rem/1.15 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  text-transform:uppercase!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metric-v32 strong{
  color:#27272a!important;
  font:950 clamp(1.65rem,2.5vw,2.2rem)/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  letter-spacing:.015em!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metric-v32 span{
  color:#475569!important;
  font:850 .68rem/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
}

/* Six generator inputs: Products and Inventory counts are visible and linked. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-generation-grid-v32="true"]{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1rem!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-generation-setting-v32{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:.45rem!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-generation-setting-v32 label{
  color:#111827!important;
  font-weight:950!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-generation-setting-v32 input{
  width:100%!important;
  min-width:0!important;
  height:2.75rem!important;
  padding:.55rem .75rem!important;
  border:2px solid #111827!important;
  border-radius:.4rem!important;
  background:#ffffff!important;
  color:#050506!important;
  font-weight:950!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-generation-setting-v32 small{
  color:#475569!important;
  font:800 .7rem/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-combined-products-v32="true"]{
  min-height:44px!important;
  border:2px solid var(--ecom-v32-cyan)!important;
  background:#050506!important;
  color:#ffffff!important;
  box-shadow:4px 4px 0 var(--ecom-v32-green)!important;
  font-weight:950!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-combined-products-v32="true"]:hover,
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-combined-products-v32="true"]:focus-visible{
  background:var(--ecom-v32-green)!important;
  color:#050506!important;
  outline:2px solid #ffffff!important;
  outline-offset:2px!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-combined-helper-v32{
  flex:1 1 100%!important;
  width:100%!important;
  margin:.35rem 0 0!important;
  padding:.75rem .9rem!important;
  border-left:5px solid var(--ecom-v32-cyan)!important;
  background:#eafaff!important;
  color:#07101f!important;
  font:850 .76rem/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
}

/* Easy generation order and table relationship explanation. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32{
  margin-top:1rem!important;
  border:2px solid #111827!important;
  background:#f8fafc!important;
  color:#07101f!important;
  box-shadow:7px 7px 0 var(--ecom-v32-pink)!important;
  overflow:hidden!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__heading{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1rem!important;
  padding:.75rem 1rem!important;
  background:#050506!important;
  color:#ffffff!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__heading strong{color:var(--ecom-v32-green)!important;text-transform:uppercase!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__heading span{font-size:.7rem!important;color:#dbeafe!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__steps{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:2px!important;
  padding:2px!important;
  background:#111827!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__steps article{min-width:0!important;padding:.9rem!important;background:#ffffff!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__steps b{display:block!important;color:#07101f!important;margin-bottom:.35rem!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__steps p{margin:0!important;color:#334155!important;font-size:.76rem!important;line-height:1.45!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__formula{
  padding:.8rem 1rem!important;
  background:#eafff1!important;
  color:#07101f!important;
  border-top:2px solid #111827!important;
  font:950 .78rem/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  text-align:center!important;
}

/* Expanded explanation inside Relations. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32{
  margin:1rem 0!important;
  border:2px solid var(--ecom-v32-cyan)!important;
  background:#050a12!important;
  color:#ffffff!important;
  box-shadow:7px 7px 0 var(--ecom-v32-pink)!important;
  overflow:hidden!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32 > header{
  display:flex!important;
  justify-content:space-between!important;
  gap:1rem!important;
  padding:1rem!important;
  background:#07101f!important;
  border-bottom:2px solid var(--ecom-v32-cyan)!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32 header strong{display:block!important;color:var(--ecom-v32-green)!important;font-size:1rem!important;text-transform:uppercase!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32 header p{margin:.3rem 0 0!important;color:#dbeafe!important;font-size:.78rem!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32 header > span{align-self:flex-start!important;padding:.35rem .55rem!important;background:var(--ecom-v32-yellow)!important;color:#050506!important;font-weight:950!important;white-space:nowrap!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__grid{
  display:grid!important;
  grid-template-columns:minmax(160px,1fr) auto minmax(210px,1.35fr) auto minmax(160px,1fr) auto minmax(160px,1fr)!important;
  align-items:stretch!important;
  gap:2px!important;
  padding:2px!important;
  background:#172033!important;
  overflow-x:auto!important;
  touch-action:pan-x pan-y!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__grid article{min-width:160px!important;padding:.85rem!important;background:#f8fafc!important;color:#07101f!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__grid article b{display:block!important;margin-bottom:.4rem!important;font-size:.9rem!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__grid code{display:block!important;margin:.22rem 0!important;padding:.25rem .4rem!important;background:#07101f!important;color:var(--ecom-v32-cyan)!important;font-size:.7rem!important;white-space:nowrap!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__grid p{margin:.45rem 0 0!important;color:#334155!important;font-size:.72rem!important;line-height:1.4!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__arrow{display:grid!important;place-items:center!important;min-width:72px!important;padding:.5rem!important;background:#050506!important;color:var(--ecom-v32-yellow)!important;font:950 .72rem/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;text-align:center!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__sample{padding:.9rem 1rem!important;background:#eafff1!important;color:#07101f!important;border-top:2px solid var(--ecom-v32-cyan)!important;font:850 .78rem/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;overflow-wrap:anywhere!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__sample code{padding:.12rem .35rem!important;background:#07101f!important;color:var(--ecom-v32-cyan)!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__legend{display:flex!important;flex-wrap:wrap!important;gap:.55rem!important;padding:.75rem 1rem!important;background:#07101f!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__legend span{padding:.3rem .5rem!important;border:1px solid #40506a!important;color:#dbeafe!important;font-size:.68rem!important}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32__legend b{color:var(--ecom-v32-green)!important}

@media(max-width:1050px){
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metrics-v32{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-generation-grid-v32="true"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-explainer-v32 > header{flex-direction:column!important}
}
@media(max-width:560px){
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metrics-v32,
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-generation-grid-v32="true"],
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__steps{grid-template-columns:minmax(0,1fr)!important}
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-product-metric-v32{min-height:128px!important;box-shadow:7px 8px 0 var(--tone)!important}
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-data-flow-v32__heading{align-items:flex-start!important;flex-direction:column!important}
}
/* V33: Number of Products and Number of Inventory are intentionally independent. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root #inventoryCountV32:invalid{
  border-color:#dc2626!important;
  box-shadow:0 0 0 3px rgba(220,38,38,.14)!important;
}

/* Complete many-inventory table inside the Inventory tab. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 0 1.4rem!important;
  border:2px solid var(--ecom-v32-cyan)!important;
  background:#050a12!important;
  box-shadow:7px 7px 0 var(--ecom-v32-pink)!important;
  overflow:hidden!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1rem!important;
  padding:1rem!important;
  border-bottom:2px solid var(--ecom-v32-cyan)!important;
  background:#07101f!important;
  color:#fff!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__header strong{
  display:block!important;
  color:var(--ecom-v32-green)!important;
  font-size:1rem!important;
  text-transform:uppercase!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__header p{
  margin:.3rem 0 0!important;
  color:#dbeafe!important;
  font-size:.76rem!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__header > span{
  flex:0 0 auto!important;
  max-width:46%!important;
  padding:.45rem .65rem!important;
  background:var(--ecom-v32-yellow)!important;
  color:#050506!important;
  font:950 .72rem/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  text-align:right!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__scroll{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  max-height:680px!important;
  touch-action:pan-x pan-y!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
  scrollbar-color:var(--ecom-v32-green) #07101f!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table{
  width:1720px!important;
  min-width:1720px!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table th{
  position:sticky!important;
  top:0!important;
  z-index:2!important;
  padding:.82rem .7rem!important;
  background:#030305!important;
  color:#fff!important;
  border:1px solid #334155!important;
  font-size:.72rem!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table td{
  padding:.72rem .7rem!important;
  background:#f8fafc!important;
  color:#07101f!important;
  border:1px solid #94a3b8!important;
  font-size:.78rem!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table tbody tr:nth-child(even) td{background:#e8eef5!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table :is(th,td):nth-child(1){width:120px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table :is(th,td):nth-child(2){width:110px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table :is(th,td):nth-child(3){width:210px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table :is(th,td):nth-child(4){width:135px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table :is(th,td):nth-child(5){width:145px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table :is(th,td):nth-child(6){width:125px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table :is(th,td):nth-child(n+7):nth-child(-n+10){width:115px!important;text-align:right!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table :is(th,td):nth-child(11){width:145px!important;text-align:center!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table :is(th,td):nth-child(12){width:150px!important;text-align:center!important;}

/* V33 relation table: show many inventory records, locations, and total stock. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table{
  width:2115px!important;
  min-width:2115px!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(1){width:110px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(2){width:115px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(3){width:220px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(4){width:110px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(5){width:190px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(6){width:145px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(7){width:145px!important;text-align:center!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(8){width:235px!important;text-align:left!important;border-right:1px solid #94a3b8!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(9){width:135px!important;text-align:right!important;border-left:0!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(10){width:175px!important;text-align:center!important;border-left:2px solid #94a3b8!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(11){width:120px!important;text-align:center!important;border-left:2px solid var(--ecom-v32-cyan)!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(12){width:150px!important;text-align:center!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(13){width:130px!important;text-align:right!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(14){width:155px!important;text-align:center!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table td:nth-child(10) .ecom-relations-v29__status{min-width:92px!important;justify-content:center!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table td:nth-child(11){font-variant-numeric:tabular-nums!important;font-weight:1000!important;color:#07101f!important;}

@media(max-width:760px){
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__header{align-items:flex-start!important;flex-direction:column!important;}
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__header > span{max-width:100%!important;text-align:left!important;}
}


/* V34 — Inventory Master PK + Relations Inventory FK */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-master-v34="true"]{
  border-color:#26e6ff!important;
  box-shadow:0 0 0 1px rgba(38,230,255,.3),0 14px 34px rgba(0,0,0,.24)!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table th[data-key-type="pk"]{
  color:#fff!important;background:#07101f!important;box-shadow:inset 0 -3px 0 #39ff14!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table th[data-key-type="fk"]{
  color:#fff!important;background:#07101f!important;box-shadow:inset 0 -3px 0 #26e6ff!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table td:nth-child(1){
  color:#07101f!important;font-weight:1000!important;border-left:4px solid #39ff14!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-inventory-many-v33__table td:nth-child(2){
  color:#075985!important;font-weight:1000!important;border-left:2px solid #26e6ff!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table{min-width:2380px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(1){width:110px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(2){width:115px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(3){width:210px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(4){width:110px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(5){width:190px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(6){width:145px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(7){
  width:145px!important;text-align:center!important;border-left:3px solid #39ff14!important;color:#07101f!important;font-weight:1000!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table th:nth-child(7){
  color:#fff!important;background:#07101f!important;box-shadow:inset 0 -3px 0 #39ff14!important;
}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(8){width:180px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(9){width:145px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(10){width:135px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(11){width:110px!important;text-align:right!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(12){width:165px!important;text-align:center!important;border-left:2px solid #94a3b8!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(13){width:115px!important;text-align:center!important;border-left:2px solid #26e6ff!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(14){width:145px!important;text-align:center!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(15){width:125px!important;text-align:right!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(16){width:155px!important;text-align:center!important;}
/* ================================================================
   V35 — complete Inventory information and black table grid
   ================================================================ */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-master-v35="true"],
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"]{
  border:2px solid #050505!important;
  box-shadow:0 0 0 1px #111,0 14px 34px rgba(0,0,0,.28)!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] :is(
  .ecom-inventory-many-v33__header,
  .ecom-inventory-many-v33__scroll,
  table,
  thead,
  tbody,
  tr,
  th,
  td
){
  border-color:#050505!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__header{
  border-bottom:2px solid #050505!important;
  background:#07101f!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__header strong{
  color:#fff!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__header span{
  color:#050505!important;
  background:#fff04a!important;
  border:2px solid #050505!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table{
  min-width:1640px!important;
  border-collapse:collapse!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table th{
  color:#fff!important;
  background:#050505!important;
  box-shadow:none!important;
  border:1px solid #202020!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table td{
  color:#07101f!important;
  border:1px solid #161616!important;
  border-left:1px solid #161616!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(1){width:130px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(2){width:220px!important;text-align:left!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(3){width:210px!important;text-align:left!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(4){width:280px!important;text-align:left!important;white-space:normal!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(5){width:180px!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(6),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(7),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(8),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(9){width:120px!important;text-align:right!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(10){width:140px!important;text-align:center!important;}
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__table :is(th,td):nth-child(11){width:150px!important;text-align:center!important;}

/* Replace cyan/green touch-tool borders around Inventory with black. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] + .ecom-table-touch-tools-v31,
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-table-touch-tools-v31:has(+ [data-ecom-inventory-complete-v35="true"]){
  border-color:#050505!important;
}

/* Products table includes a display-only Inventory IDs reference column. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table[data-ecom-product-inventory-refs-v35="true"]{
  width:max(100%,96rem)!important;
  min-width:96rem!important;
  table-layout:fixed!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table[data-ecom-product-inventory-refs-v35="true"] col{
  width:10%!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table[data-ecom-product-inventory-refs-v35="true"] :is(th,td){
  width:10%!important;
  border-color:#111!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table[data-ecom-product-inventory-refs-v35="true"] :is(th,td):nth-child(2){
  width:14%!important;
  color:#07101f!important;
  font-weight:950!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  background:#f4f4f4!important;
}

/* Relations grid lines are black; status badges keep their semantic colors. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td){
  border-color:#111!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(7),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(12),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(13){
  border-left-color:#111!important;
  box-shadow:none!important;
}

@media(max-width:640px){
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root [data-ecom-inventory-complete-v35="true"] .ecom-inventory-many-v33__header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:.7rem!important;
  }
}
/* ================================================================
   V36 — Complete inventory information in every Relations row
   ================================================================ */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table{
  min-width:2520px!important;
  border-collapse:collapse!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td){
  border:1px solid #111!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(7){
  width:145px!important;
  min-width:145px!important;
  color:#07101f!important;
  background:#f8fafc!important;
  font-weight:1000!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table th:nth-child(7){
  color:#fff!important;
  background:#050505!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(8){
  width:190px!important;
  min-width:190px!important;
  white-space:normal!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(9){
  width:285px!important;
  min-width:285px!important;
  white-space:normal!important;
  line-height:1.35!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(10){
  width:180px!important;
  min-width:180px!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(11){
  width:115px!important;
  min-width:115px!important;
  text-align:right!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table.ecom-relations-v29__table :is(th,td):nth-child(12){
  width:170px!important;
  min-width:170px!important;
  text-align:center!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-v29__integrity{
  color:#07101f!important;
  background:#fff04a!important;
  border:2px solid #050505!important;
  font-weight:1000!important;
  line-height:1.45!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root .ecom-relations-v29__table td[title="—"]{
  background:#fff3cd!important;
}
/* ================================================================
   V37 — white headers, black ID text, black table lines
   ================================================================ */

/* Relations: every header uses a black background and white text. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table thead th{
  color:#ffffff!important;
  background:#050505!important;
  border-color:#111111!important;
  border-left-color:#111111!important;
  border-right-color:#111111!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

/* ORDER ID specifically remains white, overriding the legacy green rule. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table thead th:first-child{
  color:#ffffff!important;
  background:#050505!important;
}

/* ID values that previously appeared blue/cyan become black. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table tbody td:nth-child(1),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table tbody td:nth-child(2),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table tbody td:nth-child(4),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table tbody td:nth-child(7){
  color:#050505!important;
  text-shadow:none!important;
}

/* Remove every cyan/blue/green vertical separator from Relations. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table :is(th,td){
  border:1px solid #111111!important;
  border-inline-color:#111111!important;
  box-shadow:none!important;
}

/* Products: all grid lines are black. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] :is(th,td){
  border:1px solid #111111!important;
  border-inline-color:#111111!important;
  box-shadow:none!important;
}

/* Products: Inventory IDs column is black with white text in header and rows. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] :is(th,td):nth-child(2){
  color:#ffffff!important;
  background:#050505!important;
  border-color:#111111!important;
  text-shadow:none!important;
}

/* Keep links/text inserted inside the Inventory IDs cells white as well. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] :is(th,td):nth-child(2) *{
  color:#ffffff!important;
  fill:#ffffff!important;
  stroke:#ffffff!important;
}

/* Products: Actions header text is white instead of cyan. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] thead th:last-child,
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-table-v26="products"] thead th:last-child{
  color:#ffffff!important;
  background:#050505!important;
  text-shadow:none!important;
}

/* Ensure any nested Actions label/icon in the header also stays white. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] thead th:last-child *,
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-table-v26="products"] thead th:last-child *{
  color:#ffffff!important;
  fill:#ffffff!important;
  stroke:#ffffff!important;
}

/* Product IDs and other blue/cyan body IDs use black text. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] tbody td:first-child,
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-table-v26="products"] tbody td:first-child{
  color:#050505!important;
  text-shadow:none!important;
}

/* Hover states must not turn the Inventory IDs column light. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] tbody tr:hover td:nth-child(2){
  color:#ffffff!important;
  background:#050505!important;
}
/* ================================================================
   V38 — black grid + Inventory ID white body cells
   ================================================================ */

/* All visible table separators use black, including legacy cyan rules. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table,
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table :is(
  thead,
  tbody,
  tr,
  th,
  td
){
  border-color:#111111!important;
  border-inline-color:#111111!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root table :is(th,td){
  box-shadow:none!important;
}

/* Relations: specifically override the cyan line beside Batch/Available. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table :is(th,td){
  border-left-color:#111111!important;
  border-right-color:#111111!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table :is(th,td):nth-child(7),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table :is(th,td):nth-child(8),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table :is(th,td):nth-child(9),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table :is(th,td):nth-child(10),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table :is(th,td):nth-child(11),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table.ecom-relations-v29__table :is(th,td):nth-child(12){
  border-left:1px solid #111111!important;
  border-right:1px solid #111111!important;
}

/* Products: Inventory ID header remains black with white text. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] thead th:nth-child(2){
  color:#ffffff!important;
  background:#050505!important;
  border:1px solid #111111!important;
}

/* Products: Inventory ID BODY values use white background and black text. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] tbody td:nth-child(2){
  color:#050505!important;
  background:#ffffff!important;
  border:1px solid #111111!important;
  text-shadow:none!important;
}

/* Any nested content inside Inventory ID body cells must also be black. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] tbody td:nth-child(2) *{
  color:#050505!important;
  fill:#050505!important;
  stroke:#050505!important;
}

/* Preserve white/black Inventory ID cells on row hover and striped rows. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] tbody tr:hover td:nth-child(2),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] tbody tr:nth-child(odd) td:nth-child(2),
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] tbody tr:nth-child(even) td:nth-child(2){
  color:#050505!important;
  background:#ffffff!important;
}

/* Remove remaining green/cyan underline effects from Product headers. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
table[data-ecom-product-inventory-refs-v35="true"] thead th{
  border-bottom:1px solid #111111!important;
  box-shadow:none!important;
}
/* ================================================================
   V39 — compact restocking count and high-contrast supporting text
   ================================================================ */

/* Restocking alert now displays only the compact result, e.g. "5 products". */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-restock-compact-v39="true"]{
  min-height:4.5rem!important;
  display:flex!important;
  align-items:center!important;
  gap:.8rem!important;
  padding:1rem 1.2rem!important;
  border:2px solid #991b1b!important;
  background:#fff7f7!important;
  color:#651515!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-restock-compact-v39="true"] :is(
  [data-slot="alert-description"],
  p,
  div,
  span,
  strong
){
  color:#651515!important;
  opacity:1!important;
  font-weight:1000!important;
  font-size:1rem!important;
  line-height:1.25!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
}

/* Cohorts explanation: dark text on a pale background, readable in both themes. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-cohort-description-v39="true"]{
  display:block!important;
  width:fit-content!important;
  max-width:100%!important;
  margin-bottom:1.25rem!important;
  padding:.62rem .78rem!important;
  color:#07101f!important;
  background:#fff7cc!important;
  border:2px solid #111111!important;
  border-radius:.35rem!important;
  opacity:1!important;
  font-weight:900!important;
  font-size:.9rem!important;
  line-height:1.45!important;
  letter-spacing:.01em!important;
  text-shadow:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* Table touch instruction: no more white text disappearing on a pale panel. */
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
.ecom-table-touch-tools-v31{
  color:#07101f!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
.ecom-table-touch-tools-v31__label,
body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-touch-label-readable-v39="true"]{
  display:inline-flex!important;
  align-items:center!important;
  min-height:2.25rem!important;
  margin-right:auto!important;
  padding:.48rem .68rem!important;
  color:#07101f!important;
  background:#ffffff!important;
  border:2px solid #111111!important;
  border-radius:.35rem!important;
  opacity:1!important;
  font-weight:1000!important;
  line-height:1.35!important;
  text-shadow:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

@media(max-width:640px){
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
  [data-ecom-restock-compact-v39="true"] :is(
    [data-slot="alert-description"],
    p,
    div,
    span,
    strong
  ){
    white-space:normal!important;
  }

  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
  .ecom-table-touch-tools-v31__label{
    flex:1 1 100%!important;
    width:100%!important;
  }
}
/* ================================================================
   V40 — complete restocking sentence on one horizontal line
   ================================================================ */

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-restock-compact-v39="true"]{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:4.75rem!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:.75rem!important;
  padding:1rem 1.2rem!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-inline:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;
  scrollbar-color:#991b1b #fff7f7!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-restock-compact-v39="true"]::-webkit-scrollbar{
  height:8px!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-restock-compact-v39="true"]::-webkit-scrollbar-track{
  background:#fff7f7!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-restock-compact-v39="true"]::-webkit-scrollbar-thumb{
  background:#991b1b!important;
  border:2px solid #fff7f7!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-restock-compact-v39="true"] > svg{
  flex:0 0 auto!important;
}

body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
[data-ecom-restock-compact-v39="true"] :is(
  [data-slot="alert-description"],
  p,
  div,
  span,
  strong
){
  display:inline-block!important;
  flex:0 0 auto!important;
  width:max-content!important;
  max-width:none!important;
  margin:0!important;
  color:#651515!important;
  opacity:1!important;
  font-size:clamp(.88rem,1.35vw,1.08rem)!important;
  font-weight:1000!important;
  line-height:1.25!important;
  letter-spacing:.015em!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
  text-wrap:nowrap!important;
  text-shadow:none!important;
}

/* Override V39's mobile wrapping rule: the complete alert stays one line. */
@media(max-width:640px){
  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
  [data-ecom-restock-compact-v39="true"]{
    padding:.9rem 1rem!important;
  }

  body[data-project-key="ECOMMERCE_SALES_ANALYSIS"] #root
  [data-ecom-restock-compact-v39="true"] :is(
    [data-slot="alert-description"],
    p,
    div,
    span,
    strong
  ){
    font-size:.88rem!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:keep-all!important;
    text-wrap:nowrap!important;
  }
}
