/* Scoped to inventory; analytical values and other modules stay intact. */
.inventory-workspace{min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr);gap:20px!important;color:#344054}
.inventory-workspace *, .inventory-workspace *::before,.inventory-workspace *::after{box-sizing:border-box}
.inventory-workspace>[role=tabpanel],.inventory-workspace .sales-tab-content,.inventory-workspace .card{min-width:0;max-width:100%}
.inventory-workspace .inventory-main-tabs,.inventory-workspace .sales-subtabs{display:inline-flex;justify-self:start;width:fit-content;max-width:100%;gap:4px;padding:4px;background:#e5ecef;border:0;border-radius:11px;margin:0!important;flex-wrap:wrap}
.inventory-workspace .inventory-main-tabs button,.inventory-workspace .sales-subtabs button{padding:7px 18px;border:1px solid transparent;border-radius:7px;color:#6b7785;font-weight:600;font-size:14px}
.inventory-workspace .inventory-main-tabs button[aria-selected=true],.inventory-workspace .sales-subtabs button[aria-selected=true]{background:white;color:#344054;border-color:#dbe3e8;box-shadow:0 2px 4px #172b4d12}
.inventory-workspace h2{font-size:21px;color:#202c3c;font-weight:700}
.inventory-workspace .sales-controls{flex-wrap:wrap;gap:18px;align-items:center}
.inventory-workspace .sales-controls>div{min-width:0}
.inventory-workspace .sales-controls label{display:flex;flex-direction:column;align-items:flex-start;gap:7px;font-weight:600;color:#526070}
.inventory-workspace .sales-controls select{margin:0;max-width:100%;min-height:39px;color:#344054;border-radius:9px;padding:8px 11px}
.inventory-workspace .inventory-filters{gap:14px}
.inventory-workspace .inventory-filters label{flex:1 1 140px;min-width:0}
.inventory-workspace .inventory-filters input,.inventory-workspace .inventory-filters select{width:100%;min-width:0;max-width:100%;min-height:40px;border-radius:9px;color:#344054}
.inventory-workspace .sales-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.inventory-workspace .sales-kpis section{padding:24px;min-height:135px;align-content:start;gap:20px;border-radius:18px;box-shadow:0 2px 6px #172b4d05}
.inventory-workspace .sales-kpis section:first-child{background:#225b7e;color:white;border-color:#225b7e}
.inventory-workspace .sales-kpis section:first-child span,.inventory-workspace .sales-kpis section:first-child strong{color:white}
.inventory-workspace .sales-kpis strong{font-size:25px;font-weight:700;color:#16789b}
.inventory-workspace .sales-kpis span{font-size:13px;line-height:1.5}
.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content>.sales-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content>.sales-kpis>section:nth-child(2){display:none}
.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content>.card:first-child{background:transparent;border:0;box-shadow:none;padding:12px 0 0}
.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content>.card:first-child .sales-controls>div{flex:1 1 400px}
.inventory-workspace .sales-table-wrap{max-width:100%;min-width:0;overflow:auto;border-radius:0}
.inventory-workspace table{table-layout:fixed;width:100%;border-collapse:collapse;font-size:13px}
.inventory-workspace table th,.inventory-workspace table td{padding:15px 10px;text-align:center!important;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #edf0f3;font-variant-numeric:tabular-nums;line-height:1.5}
.inventory-workspace table tbody th{text-align:left!important;font-weight:500;color:#556273}
.inventory-workspace table thead th{background:#f7f9fb!important;color:#748091!important;font-size:12px;font-weight:600}
.inventory-workspace table thead th button{color:#748091!important;background:none}
.inventory-workspace table tbody tr:nth-child(even){background:white}
.inventory-workspace table tbody tr:hover{background:#f7fbfd}
.inventory-workspace table tbody .sales-detail{background:#f5f9fc!important}
.inventory-workspace table tfoot{background:#f1f6fa;color:#334e63}
.inventory-workspace table caption{text-align:left;margin:0 0 16px;line-height:1.6}
.inventory-workspace table thead tr:first-child th:first-child,.inventory-workspace table tbody th:first-child{width:34%}
.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content table thead tr:first-child th:first-child{width:3%}
.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content table thead tr:first-child th:nth-child(2){width:24%}
.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content table thead tr:first-child th:last-child{width:18%}
.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content table tbody td:nth-child(2n+4),.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content table thead tr:nth-child(2) th:nth-child(even),.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content table tfoot td:nth-child(2n+3){background:#edf7ff;color:#344054;font-weight:700}
.inventory-workspace .sales-expand{display:inline-flex;align-items:center;justify-content:center;width:29px;min-width:29px;height:29px;padding:0;margin-right:7px;background:#edf7fc;border:1px solid #cbdfe9;border-radius:6px;color:#1681aa;font-size:18px;vertical-align:middle;cursor:pointer}
.inventory-workspace .stock-rise{color:#b44a43}.inventory-workspace .stock-fall{color:#148064}
.inventory-workspace .sales-tabs{display:flex;flex-wrap:wrap;max-width:100%;background:#e8eef1;border-radius:10px}
.inventory-workspace .sales-tabs button{font-weight:600;padding:9px 13px}
.inventory-workspace .sales-tabs button.active{color:#26394b}
.inventory-workspace .mvt-value-bar{background:#2389b2;border-radius:4px;height:9px;max-width:100%}
@media(max-width:1100px){.inventory-workspace .sales-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-workspace table{font-size:12px}.inventory-workspace table th,.inventory-workspace table td{padding:12px 6px}}
@media(max-width:760px){.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content>.sales-kpis{grid-template-columns:1fr}.inventory-workspace .sales-kpis section{padding:18px;min-height:110px}.inventory-workspace [role="tabpanel"][aria-label="Низькообігові"]>.sales-tab-content table{min-width:850px}.inventory-workspace table{min-width:650px}.inventory-workspace .sales-controls>div{flex-basis:100%}.inventory-workspace .inventory-main-tabs button{padding:8px 15px}}
