.product-inventory-page {
  --inventory-blue: #2459d5;
  --inventory-border: #e6eaf0;
  --inventory-muted: #7c8798;
  min-width: 0;
  color: #26354d;
  letter-spacing: 0;
}
.inventory-icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; }
.layout:has(.inventory-workspace-active) > .main { min-width: 0; }
.inventory-mobile-nav, .inventory-mobile-backdrop { display: none; }
.inventory-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 22px 0 18px; }
.inventory-heading h3 { margin: 0; font-size: 19px; font-weight: 650; }
.inventory-heading-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.inventory-heading-actions .el-button { margin-left: 0; }
.inventory-heading-actions .el-button > span { gap: 7px; }
.inventory-heading-actions .el-button--primary { --el-button-bg-color: var(--inventory-blue); --el-button-border-color: var(--inventory-blue); }
.inventory-metrics { display: grid; grid-template-columns: .9fr .9fr 1.3fr 1.2fr; background: white; border-block: 1px solid var(--inventory-border); margin-bottom: 22px; padding: 22px 0; }
.inventory-metric { display: flex; flex-direction: column; align-items: stretch; text-align: left; min-width: 0; padding: 0 24px; background: white; border: 0; border-right: 1px solid var(--inventory-border); color: inherit; font: inherit; }
.inventory-metric:last-child { border-right: 0; }
button.inventory-metric { cursor: pointer; }
button.inventory-metric:hover { background: #f8faff; }
button.inventory-metric:disabled { cursor: wait; }
.inventory-metric-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #677388; min-height: 20px; }
.inventory-metric > strong { display: block; font-size: 27px; font-weight: 650; font-variant-numeric: tabular-nums; margin: 12px 0 8px; line-height: 1.25; overflow-wrap: anywhere; }
.inventory-metric > strong small { font-size: 12px; font-weight: 400; margin-left: 6px; color: var(--inventory-muted); white-space: nowrap; }
.inventory-metric > span { font-size: 12px; line-height: 1.5; color: var(--inventory-muted); }
.inventory-metric-warning > strong { color: #b7790a; }
.inventory-metric-money > strong { color: #11866a; }
.inventory-view-nav { display: flex; gap: 26px; border-bottom: 1px solid #dce2ec; overflow-x: auto; scrollbar-width: thin; }
.inventory-view-nav button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 0 3px; color: #728096; font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer; }
.inventory-view-nav button[aria-pressed="true"] { color: var(--inventory-blue); border-bottom-color: var(--inventory-blue); font-weight: 600; }
.inventory-view-nav button:hover { color: var(--inventory-blue); }
.inventory-view-nav .inventory-icon { width: 16px; height: 16px; }
.inventory-list-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 18px; background: white; }
.inventory-mode-switch { display: inline-flex; padding: 3px; border-radius: 5px; background: #f3f5f9; flex-shrink: 0; }
.inventory-mode-switch button { border: 0; border-radius: 3px; background: none; color: #737f91; min-height: 32px; padding: 6px 13px; font: inherit; font-size: 12px; cursor: pointer; }
.inventory-mode-switch button[aria-pressed="true"] { background: white; color: var(--inventory-blue); box-shadow: 0 1px 4px #142a4914; font-weight: 600; }
.inventory-mode-switch small { margin-left: 3px; padding: 0 4px; color: #7282a0; background: #e8edf6; border-radius: 3px; }
.inventory-list-filters { display: flex; flex: 1; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 320px; }
.inventory-list-filters > .el-input { width: 225px; flex: 1; min-width: 160px; }
.inventory-list-filters > .el-select { width: 160px; }
.inventory-list-filters .el-checkbox { margin: 0; }
.inventory-list-filters .el-checkbox__label { font-size: 12px; }
.inventory-result-count { color: var(--inventory-muted); font-size: 12px; white-space: nowrap; }
.inventory-list-tools { display: flex; gap: 8px; margin-left: auto; }
.inventory-list-tools .el-button { width: 32px; padding: 0; margin-left: 0; }
.inventory-stock-list { background: white; min-width: 0; }
.inventory-stock-list .el-table__body-wrapper { min-height: 160px; }
.product-inventory-page .inventory-stock-table,
.product-inventory-page .category-quota-inventory .el-table,
.product-inventory-page .inventory-work-panel > .el-table { --el-table-header-bg-color: #f7f9fc; --el-table-header-text-color: #7c8695; --el-table-border-color: #edf0f5; --el-table-row-hover-bg-color: #f8faff; color: #37445a; }
.product-inventory-page .inventory-stock-table .el-table__cell { padding: 14px 0; }
.product-inventory-page .inventory-stock-table th.el-table__cell { font-size: 12px; font-weight: 500; padding: 12px 0; }
.product-inventory-page .inventory-stock-table .cell { padding-inline: 16px; }
.inventory-product-link { border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: #26354d; background: transparent; text-align: left; cursor: pointer; line-height: 1.6; overflow-wrap: anywhere; }
.inventory-product-link:hover { color: #2459d5; }
.inventory-product-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #8995a8; font-size: 11px; margin-top: 4px; }
.inventory-shared-label { font-size: 10px; padding: 0 4px; background: #f1f4f8; border-radius: 3px; }
.inventory-category { color: #7b8596; font-size: 12px; }
.inventory-quantity { color: #244670; font-variant-numeric: tabular-nums; font-size: 15px; }
.inventory-unit { font-size: 11px; margin-left: 5px; color: #8792a4; }
.inventory-warning { color: #b7790a !important; }
.inventory-low { font-size: 11px; white-space: nowrap; }
.inventory-price { color: #6a768a; font-size: 13px; white-space: nowrap; }
.inventory-price small { font-size: 11px; margin-left: 3px; }
.inventory-value { font-size: 13px; font-weight: 550; font-variant-numeric: tabular-nums; }
.inventory-muted { font-size: 12px; color: #8b95a6; }
.inventory-row-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.inventory-row-actions .el-button { margin-left: 0; font-size: 12px; }
.inventory-row-actions .inventory-icon { width: 17px; height: 17px; }
.inventory-list-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #8792a4; padding: 14px 18px; border-top: 1px solid var(--inventory-border); font-size: 12px; }
.inventory-work-panel { padding: 20px 18px; min-width: 0; background: white; }
.inventory-panel-title { font-size: 16px; font-weight: 600; margin: 0 0 18px; }
.inventory-work-panel > .el-alert { margin-bottom: 12px; }
.inventory-work-panel > .el-table { margin-top: 16px; }
.product-inventory-page .category-quota-inventory { background: white; min-width: 0; padding: 0 18px 20px; }
.inventory-quota-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 4px 0 18px; }
.inventory-quota-heading h3 { margin: 0; font-size: 15px; }
.inventory-quota-heading > div { display: flex; flex-wrap: wrap; gap: 14px; color: #7c8798; font-size: 12px; }
.category-quota-inventory .el-table__cell { padding-block: 15px; }
.inventory-detail-drawer, .inventory-txn-drawer { letter-spacing: 0; }
body:has(.inventory-detail-drawer.open, .inventory-txn-drawer.open) .ai-widget { visibility: hidden; }
.inventory-detail-drawer .el-drawer__header, .inventory-txn-drawer .el-drawer__header { padding: 22px 24px; border-bottom: 1px solid #e6eaf0; margin-bottom: 0; font-size: 17px; color: #26354d; }
.inventory-detail-drawer .el-drawer__body, .inventory-txn-drawer .el-drawer__body { padding: 24px; }
.inventory-detail-drawer .el-drawer__footer, .inventory-txn-drawer .el-drawer__footer { border-top: 1px solid #e6eaf0; padding: 18px 24px; }
.inventory-detail-name { margin: 0 0 22px; font-size: 19px; line-height: 1.5; color: #26354d; overflow-wrap: anywhere; }
.inventory-detail-quantity { padding-bottom: 22px; border-bottom: 1px solid #e6eaf0; }
.inventory-detail-quantity > span { color: #8290a4; font-size: 12px; }
.inventory-detail-quantity > strong { display: block; margin-top: 10px; font-size: 34px; font-variant-numeric: tabular-nums; color: #24436f; overflow-wrap: anywhere; }
.inventory-detail-quantity small { font-size: 14px; font-weight: 400; margin-left: 10px; color: #8792a4; }
.inventory-detail-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 22px 0; }
.inventory-detail-actions button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 9px; min-height: 76px; background: white; border: 1px solid #e6eaf0; border-radius: 5px; font: inherit; font-size: 12px; color: #677a98; cursor: pointer; }
.inventory-detail-actions button:hover { background: #f4f7ff; }
.inventory-detail-actions .inventory-icon { color: #2459d5; }
.inventory-details { margin: 20px 0; }
.inventory-details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid #f0f2f6; font-size: 13px; }
.inventory-details dt { color: #8b95a6; flex-shrink: 0; }
.inventory-details dd { color: #37445a; text-align: right; overflow-wrap: anywhere; margin: 0; }
.inventory-detail-note { font-size: 12px; color: #79889f; line-height: 1.8; margin-top: 22px; }
.inventory-txn-drawer .el-form-item__content { min-width: 0; }
.inventory-txn-drawer .el-input, .inventory-txn-drawer .el-select, .inventory-txn-drawer .el-input-number { max-width: 100%; }
.product-inventory-page button:focus-visible, .inventory-detail-drawer button:focus-visible { outline: 3px solid #a8c5ff; outline-offset: 2px; }
@media (max-width: 1300px) {
  .inventory-list-filters { order: 3; flex-basis: 100%; min-width: 0; }
  .inventory-list-filters > .el-input { max-width: 320px; }
  .inventory-metric { padding-inline: 16px; }
}
@media (max-width: 900px) {
  .inventory-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .inventory-metric:nth-child(2) { border-right: 0; }
  .product-inventory-page .inventory-stock-table { max-height: 520px !important; }
  .product-inventory-page .inventory-stock-table .el-scrollbar__wrap { max-height: 470px !important; }
}
@media (max-width: 600px) {
  .layout:has(.inventory-workspace-active) > .sidebar { display: none; }
  .layout:has(.inventory-workspace-active) > .main { padding: 16px 12px; }
  .inventory-workspace-active .inventory-mobile-nav { display: block; margin-bottom: 14px; }
  .inventory-mobile-nav .el-button > span { gap: 8px; }
  .layout:has(.inventory-workspace-active.inventory-mobile-menu-open) > .sidebar { display: flex; position: fixed; inset: 0 auto 0 0; width: 220px; z-index: 200; }
  .inventory-workspace-active .inventory-mobile-backdrop { display: block; position: fixed; inset: 0 0 0 220px; z-index: 199; background: #12234355; border: 0; width: calc(100% - 220px); height: 100%; }
  .inventory-workspace-active > .page-header > div { width: 100%; }
  .inventory-workspace-active > .page-header > div > span:nth-child(2) { display: none; }
  .inventory-workspace-active .product-inventory-nav { gap: 24px; }
  .inventory-workspace-active .product-inventory-nav button { white-space: nowrap; }
  .inventory-heading { align-items: flex-start; }
  .inventory-heading-actions { margin-left: auto; }
  .inventory-heading-actions .el-button { padding-inline: 10px; }
  .inventory-list-controls { padding: 14px 10px; gap: 10px; }
  .inventory-list-filters { gap: 10px; }
  .inventory-list-filters > .el-input { flex-basis: 100%; max-width: none; }
  .inventory-list-filters > .el-select { flex: 1; min-width: 120px; }
  .inventory-metric { padding-inline: 12px; }
  .inventory-metric > strong { font-size: 24px; }
  .inventory-metric-label { min-height: 36px; }
  .inventory-metric > span { font-size: 11px; }
  .inventory-view-nav { gap: 20px; }
  .inventory-work-panel { padding: 18px 10px; }
  .inventory-list-footer { padding-inline: 12px; }
  .inventory-detail-drawer .el-drawer__body, .inventory-txn-drawer .el-drawer__body { padding: 20px 16px; }
}
