/* v20260520_92 首页工作任务搜索筛选与自由计算器磨砂玻璃优化 */
#tasksPage .home-task-toolbar-v92{
  display:flex!important;
  grid-template-columns:none!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  padding:12px 16px 14px!important;
  overflow-x:auto!important;
  scrollbar-width:thin;
}
#tasksPage .home-task-toolbar-v92 label{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
  white-space:nowrap!important;
  color:#344054!important;
  font-size:13px!important;
}
#tasksPage .home-task-toolbar-v92 .task-add-field{
  flex:1 1 430px!important;
  min-width:280px!important;
}
#tasksPage .home-task-toolbar-v92 .task-add-field input{
  min-width:0!important;
  width:100%!important;
}
#tasksPage .home-task-toolbar-v92 .task-rank-field select{
  width:92px!important;
}
#tasksPage .home-task-toolbar-v92 .task-search-field{
  flex:0 0 238px!important;
}
#tasksPage .home-task-toolbar-v92 .task-search-field input{
  width:182px!important;
}
#tasksPage .home-task-toolbar-v92 .task-filter-field select{
  width:118px!important;
}
#tasksPage .home-task-toolbar-v92 input,
#tasksPage .home-task-toolbar-v92 select{
  height:34px!important;
  border-radius:12px!important;
  border:1px solid rgba(11,122,117,.18)!important;
  background:rgba(255,255,255,.84)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 6px 16px rgba(15,23,42,.035)!important;
  color:#102a2f!important;
}
#tasksPage .home-task-toolbar-v92 .ghost-btn.small{
  flex:0 0 auto!important;
  height:34px!important;
  border-radius:12px!important;
  padding:0 14px!important;
  white-space:nowrap!important;
}
#tasksPage .home-task-toolbar-v92 .task-clear-filter-btn{
  color:#0b7a75!important;
  border-color:rgba(11,122,117,.22)!important;
  background:rgba(240,253,250,.72)!important;
}
#tasksPage #homeTaskRows tr.home-task-search-hit td{
  background:linear-gradient(90deg,rgba(231,252,247,.92),rgba(245,253,251,.96))!important;
  border-top:1px solid rgba(11,122,117,.24)!important;
  border-bottom:1px solid rgba(11,122,117,.18)!important;
}
#tasksPage #homeTaskRows tr.home-task-search-hit td:first-child{
  box-shadow:inset 4px 0 0 #0b7a75!important;
  border-left:1px solid rgba(11,122,117,.25)!important;
}
#tasksPage #homeTaskRows tr.home-task-search-hit td:last-child{
  border-right:1px solid rgba(11,122,117,.20)!important;
}
#tasksPage #homeTaskRows .home-task-content-hit{
  font-weight:800!important;
  color:#075f5b!important;
}
#tasksPage #homeTaskRows .home-task-hit-mark,
#tasksPage #homeTaskRows .home-task-pinyin-hit{
  display:inline!important;
  border-radius:8px!important;
  padding:1px 5px!important;
  background:rgba(11,122,117,.14)!important;
  color:#065a56!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
}
#tasksPage .home-free-calc-modal{
  background:rgba(15,23,42,.10)!important;
  backdrop-filter:blur(2px)!important;
  -webkit-backdrop-filter:blur(2px)!important;
}
#tasksPage .home-free-calc-window{
  width:600px!important;
  max-width:calc(100vw - 32px)!important;
  border:1px solid rgba(255,255,255,.56)!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(238,250,248,.76))!important;
  backdrop-filter:blur(24px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(145%)!important;
  box-shadow:0 30px 90px rgba(13,48,55,.22), inset 0 1px 0 rgba(255,255,255,.86)!important;
  overflow:hidden!important;
}
#tasksPage .home-free-calc-window::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 16% 0%,rgba(11,122,117,.16),transparent 220px),radial-gradient(circle at 100% 18%,rgba(209,132,18,.12),transparent 240px);
}
#tasksPage .home-free-calc-head{
  position:relative!important;
  z-index:1!important;
  height:58px!important;
  padding:0 18px 0 22px!important;
  border-bottom:1px solid rgba(11,122,117,.10)!important;
  background:linear-gradient(90deg,rgba(255,255,255,.52),rgba(255,255,255,.18))!important;
}
#tasksPage .home-free-calc-head strong{
  color:#075f5b!important;
  font-size:18px!important;
  letter-spacing:.4px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
}
#tasksPage .home-free-calc-head strong::before{
  content:"";
  width:7px;
  height:22px;
  border-radius:999px;
  background:linear-gradient(180deg,#0b7a75,#d18412);
  box-shadow:0 8px 16px rgba(11,122,117,.18);
}
#tasksPage .home-free-calc-head .ghost-btn.small{
  height:34px!important;
  border-radius:12px!important;
  color:#0b635f!important;
  background:rgba(255,255,255,.70)!important;
  border:1px solid rgba(11,122,117,.16)!important;
}
#tasksPage .home-free-calc-body{
  position:relative!important;
  z-index:1!important;
  padding:20px!important;
}
#tasksPage .home-free-calc-body .free-calc-modern-card{
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
#tasksPage .home-free-calc-body .free-calc-field-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
#tasksPage .home-free-calc-body .free-calc-field-grid label{
  min-height:86px!important;
  border-radius:18px!important;
  padding:12px!important;
  background:rgba(255,255,255,.64)!important;
  border:1px solid rgba(255,255,255,.65)!important;
  box-shadow:0 14px 34px rgba(11,122,117,.07), inset 0 1px 0 rgba(255,255,255,.80)!important;
  color:#344054!important;
  font-size:13px!important;
  font-weight:800!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:6px 8px!important;
  align-items:center!important;
}
#tasksPage .home-free-calc-body .free-calc-field-grid label span{
  color:#0b615d!important;
}
#tasksPage .home-free-calc-body .free-calc-field-grid label em{
  justify-self:end!important;
  font-style:normal!important;
  font-size:11px!important;
  color:#7a8997!important;
  background:rgba(11,122,117,.08)!important;
  border-radius:999px!important;
  padding:2px 8px!important;
}
#tasksPage .home-free-calc-body .free-calc-field-grid input{
  grid-column:1 / -1!important;
  width:100%!important;
  height:38px!important;
  border-radius:13px!important;
  border:1px solid rgba(11,122,117,.14)!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important;
  color:#102a2f!important;
  font-size:16px!important;
  font-weight:800!important;
  padding:0 12px!important;
}
#tasksPage .home-free-calc-body .free-calc-result-card{
  margin:18px 0!important;
  min-height:78px!important;
  border-radius:20px!important;
  padding:16px 18px!important;
  background:linear-gradient(135deg,rgba(11,122,117,.16),rgba(255,255,255,.76))!important;
  border:1px solid rgba(11,122,117,.15)!important;
  box-shadow:0 18px 45px rgba(11,122,117,.10), inset 0 1px 0 rgba(255,255,255,.78)!important;
}
#tasksPage .home-free-calc-body .free-calc-result-card div{
  display:grid!important;
  gap:5px!important;
}
#tasksPage .home-free-calc-body .free-calc-result-card span{
  color:#0b615d!important;
  font-size:13px!important;
  font-weight:800!important;
}
#tasksPage .home-free-calc-body .free-calc-result-card small{
  color:#667085!important;
  font-size:12px!important;
}
#tasksPage .home-free-calc-body .free-calc-result-card strong{
  color:#064e49!important;
  font-size:30px!important;
  letter-spacing:.4px!important;
}
#tasksPage .home-free-calc-body .free-calc-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin-top:6px!important;
}
#tasksPage .home-free-calc-body .free-calc-actions button{
  height:38px!important;
  border-radius:13px!important;
  padding:0 18px!important;
  font-weight:800!important;
}


/* v20260520_93 首页新增订单弹窗磨砂玻璃、多接单显示与搜索高亮优化 */
#orderEditModal:not(.hidden){
  background:rgba(15,23,42,.12)!important;
  backdrop-filter:blur(5px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(5px) saturate(120%)!important;
}
#orderEditModal .oq-modal-card{
  border:1px solid rgba(255,255,255,.60)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(238,250,248,.74))!important;
  backdrop-filter:blur(26px) saturate(148%)!important;
  -webkit-backdrop-filter:blur(26px) saturate(148%)!important;
  box-shadow:0 34px 105px rgba(13,48,55,.24), inset 0 1px 0 rgba(255,255,255,.88)!important;
  position:relative!important;
}
#orderEditModal .oq-modal-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:radial-gradient(circle at 14% 0%,rgba(11,122,117,.14),transparent 260px),radial-gradient(circle at 100% 22%,rgba(209,132,18,.10),transparent 280px)!important;
}
#orderEditModal .oq-modal-card > *{
  position:relative!important;
  z-index:1!important;
}
#orderEditModal .oq-modal-head{
  border-bottom:1px solid rgba(11,122,117,.10)!important;
  margin-bottom:0!important;
  padding-bottom:8px!important;
}
#orderEditModal .oq-modal-head strong{
  color:#0f2a35!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
}
#orderEditModal .oq-modal-head strong::before{
  content:"";
  display:inline-block;
  width:7px;
  height:22px;
  margin-right:10px;
  vertical-align:-4px;
  border-radius:999px;
  background:linear-gradient(180deg,#0b7a75,#d18412)!important;
  box-shadow:0 8px 16px rgba(11,122,117,.18)!important;
}
#orderEditModal .oq-modal-head #closeOrderModal{
  background:rgba(255,255,255,.70)!important;
  border:1px solid rgba(11,122,117,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 10px 24px rgba(15,23,42,.055)!important;
  color:#172233!important;
}
#orderEditModal .oq-section,
#orderEditModal .oq-field,
#orderEditModal .oq-note-field,
#orderEditModal .oq-task-card,
#orderEditModal .oq-upload-card{
  background:rgba(255,255,255,.60)!important;
  border-color:rgba(255,255,255,.66)!important;
  box-shadow:0 14px 34px rgba(11,122,117,.055), inset 0 1px 0 rgba(255,255,255,.80)!important;
  backdrop-filter:blur(10px) saturate(130%)!important;
  -webkit-backdrop-filter:blur(10px) saturate(130%)!important;
}
#orderEditModal .oq-product-section{
  background:linear-gradient(135deg,rgba(245,255,252,.68),rgba(255,255,255,.58))!important;
  border-color:rgba(11,122,117,.18)!important;
}
#orderEditModal .oq-assets-section,
#orderEditModal .oq-note-field{
  border-color:rgba(209,132,18,.22)!important;
}
#orderEditModal .oq-field input,
#orderEditModal .oq-field select,
#orderEditModal .oq-note-field textarea,
#orderEditModal .oq-task-card textarea,
#orderEditModal .oq-input-with-btn button{
  background:rgba(255,255,255,.78)!important;
  border-color:rgba(11,122,117,.15)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.80)!important;
}
#orderEditModal .oq-money-card{
  background:linear-gradient(135deg,rgba(255,248,239,.78),rgba(255,255,255,.64))!important;
  border-color:rgba(209,132,18,.28)!important;
  box-shadow:0 18px 46px rgba(209,132,18,.08), inset 0 1px 0 rgba(255,255,255,.80)!important;
}
#orderEditModal .oq-actions .primary-btn,
#orderEditModal .oq-actions .ghost-btn{
  box-shadow:0 12px 26px rgba(11,122,117,.10)!important;
}
#tasksPage #homeTaskRows tr.home-task-search-hit td,
#tasksPage #homeTaskRows tr.home-task-search-hit td:first-child,
#tasksPage #homeTaskRows tr.home-task-search-hit td:last-child{
  background:transparent!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  border-bottom:1px solid rgba(102,112,133,.13)!important;
  box-shadow:none!important;
}
#tasksPage #homeTaskRows .home-task-content-hit{
  font-weight:inherit!important;
  color:inherit!important;
}
#tasksPage #homeTaskRows .home-task-pinyin-hit{
  background:transparent!important;
  color:inherit!important;
  padding:0!important;
  border-radius:0!important;
}
#tasksPage #homeTaskRows .home-task-hit-mark{
  display:inline!important;
  border-radius:5px!important;
  padding:0 3px!important;
  background:rgba(11,122,117,.16)!important;
  color:#063f3c!important;
  box-shadow:0 0 0 1px rgba(11,122,117,.10)!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
}
#tasksPage #homeTaskRows .home-task-taker-cell{
  max-width:108px!important;
  min-width:86px!important;
  padding-top:6px!important;
  padding-bottom:6px!important;
  vertical-align:middle!important;
}
#tasksPage #homeTaskRows .home-task-taker-list{
  display:grid!important;
  grid-template-rows:repeat(2,18px)!important;
  align-content:center!important;
  justify-items:center!important;
  gap:2px!important;
  max-height:40px!important;
  overflow:hidden!important;
  color:#0f423f!important;
  font-weight:700!important;
  line-height:18px!important;
  cursor:default!important;
}


/* v20260520_94 计算器精度、首页新增订单弹窗拖拽与细节修复 */
#tasksPage .home-dashboard-card,
#tasksPage .home-dashboard-body,
#tasksPage .home-dashboard-body:not(.collapsed),
#tasksPage .dash-section,
#tasksPage .dashboard-icon-row,
#tasksPage .dash-pill-grid,
#tasksPage .dash-link-grid{
  overflow:visible!important;
}
#tasksPage .home-dashboard-body.collapsed,
#taskPanelBody.collapsed{
  overflow:hidden!important;
}
#tasksPage .dash-section,
#tasksPage .dashboard-icon-row button,
#tasksPage .dash-pill-grid button,
#tasksPage .dash-link-grid button{
  position:relative!important;
  z-index:1!important;
}
#tasksPage .dashboard-icon-row button:hover,
#tasksPage .dash-pill-grid button:hover,
#tasksPage .dash-link-grid button:hover{
  z-index:8!important;
  box-shadow:0 18px 38px rgba(20,80,78,.18)!important;
}

#orderEditModal .oq-modal-head{
  cursor:move!important;
  user-select:none!important;
}
#orderEditModal .oq-modal-head button,
#orderEditModal .oq-modal-head input,
#orderEditModal .oq-modal-head select,
#orderEditModal .oq-modal-head textarea{
  cursor:auto!important;
}
#orderEditModal .oq-modal-card.is-dragging{
  cursor:move!important;
  user-select:none!important;
  box-shadow:0 38px 115px rgba(13,48,55,.30), inset 0 1px 0 rgba(255,255,255,.88)!important;
}
#orderEditModal .oq-form,
#orderEditModal .oq-section,
#orderEditModal .oq-basic-grid,
#orderEditModal .oq-product-layout,
#orderEditModal .oq-product-left,
#orderEditModal .oq-picker-field,
#orderEditModal .oq-input-with-btn{
  overflow:visible!important;
}
#orderEditModal .oq-picker-field{
  position:relative!important;
  z-index:120!important;
}
#orderEditModal .oq-picker-field:focus-within{
  z-index:360!important;
}
#orderEditModal #orderFormCustomerSuggest,
#orderEditModal #orderFormProductSuggest{
  position:absolute!important;
  top:calc(100% + 6px)!important;
  left:12px!important;
  right:auto!important;
  width:min(640px,calc(100vw - 96px))!important;
  min-width:min(480px,calc(100vw - 96px))!important;
  max-width:calc(100vw - 96px)!important;
  max-height:260px!important;
  z-index: var(--layer-dropdown) !important;
  border-radius:16px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 24px 62px rgba(13,48,55,.24)!important;
}
#orderEditModal #orderFormCustomerSuggest.hidden,
#orderEditModal #orderFormProductSuggest.hidden{
  display:none!important;
}

#tasksPage .home-task-toolbar-v92 .task-search-field input,
#tasksPage #homeTaskSearch{
  background:rgba(255,255,255,.92)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 6px 16px rgba(15,23,42,.025)!important;
}
#tasksPage #homeTaskRows tr:has(.home-task-hit-mark) td{
  background:transparent!important;
  box-shadow:none!important;
}
#tasksPage #homeTaskRows .home-task-hit-mark{
  display:inline!important;
  border-radius:5px!important;
  padding:0 3px!important;
  background:rgba(11,122,117,.16)!important;
  color:inherit!important;
  font-weight:inherit!important;
  box-shadow:0 0 0 1px rgba(11,122,117,.08)!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
}
#tasksPage #homeTaskRows .home-task-taker-cell{
  text-align:center!important;
  vertical-align:middle!important;
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
#tasksPage #homeTaskRows .home-task-taker-list{
  margin:0 auto!important;
  max-width:100%!important;
  overflow:hidden!important;
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  cursor:default!important;
}
#tasksPage #homeTaskRows .home-task-taker-list.is-single{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:100%!important;
  min-height:34px!important;
}
#tasksPage #homeTaskRows .home-task-taker-list.is-double,
#tasksPage #homeTaskRows .home-task-taker-list.is-overflow{
  display:grid!important;
  grid-template-rows:repeat(2,17px)!important;
  align-content:center!important;
  justify-items:center!important;
  gap:1px!important;
  min-height:38px!important;
  max-height:38px!important;
  line-height:17px!important;
}
#tasksPage #homeTaskRows .home-task-taker-list span{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

/* v20260520_95 首页订单弹窗拖拽、联想层级、接单人字号与库存管理专项修复 */
#orderEditModal .oq-modal-card{
  will-change:left,top!important;
}
#orderEditModal .oq-section,
#orderEditModal .oq-basic-section,
#orderEditModal .oq-product-section,
#orderEditModal .oq-assets-section{
  position:relative!important;
  overflow:visible!important;
}
#orderEditModal .oq-basic-section{z-index:40!important;}
#orderEditModal .oq-product-section{z-index:30!important;}
#orderEditModal .oq-assets-section{z-index:10!important;}
#orderEditModal .oq-basic-section:focus-within,
#orderEditModal .oq-product-section:focus-within,
#orderEditModal .oq-picker-field:focus-within{
  z-index:5000!important;
}
#orderEditModal #orderFormCustomerSuggest,
#orderEditModal #orderFormProductSuggest,
#orderEditModal .oq-suggest{
  z-index: var(--layer-dropdown) !important;
  position:absolute!important;
  background:rgba(255,255,255,.99)!important;
  border:1px solid rgba(11,122,117,.18)!important;
  box-shadow:0 24px 70px rgba(13,48,55,.26)!important;
}
#orderEditModal .oq-modal-card.is-dragging{
  pointer-events:auto!important;
}

#tasksPage #homeTaskRows .home-task-taker-cell,
#tasksPage #homeTaskRows .home-task-taker-list,
#tasksPage #homeTaskRows .home-task-taker-list span{
  font-size:13px!important;
  font-weight:400!important;
  color:#102033!important;
  line-height:1.25!important;
  text-align:center!important;
}
#tasksPage #homeTaskRows .home-task-taker-list.is-single{
  min-height:32px!important;
  height:32px!important;
}
#tasksPage #homeTaskRows .home-task-taker-list.is-double,
#tasksPage #homeTaskRows .home-task-taker-list.is-overflow{
  grid-template-rows:repeat(2,16px)!important;
  min-height:34px!important;
  max-height:34px!important;
  line-height:16px!important;
}

#inventoryPage .inventory-page-card{
  overflow:visible!important;
  min-height:calc(100vh - 120px)!important;
}
#inventoryPage .inventory-section.active{display:block!important;}
#inventoryPage .inventory-section{overflow:visible!important;}
#inventoryPage .inventory-dashboard-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 280px!important;
  gap:16px!important;
  align-items:start!important;
}
#inventoryPage .inventory-card-list{
  min-width:0!important;
  overflow:visible!important;
}
#inventoryPage .inventory-category-group{
  overflow:visible!important;
  border-radius:18px!important;
}
#inventoryPage .inventory-category-body{
  overflow:visible!important;
}
#inventoryPage .inventory-product-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
#inventoryPage .inventory-product-card{
  height:238px!important;
  min-height:238px!important;
  max-height:238px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  padding:10px!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(240,250,249,.90))!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo,
#inventoryPage .inventory-product-card > img,
#inventoryPage .inventory-no-image{
  width:100%!important;
  height:82px!important;
  min-height:82px!important;
  max-height:82px!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.78)!important;
  border:1px solid rgba(11,122,117,.08)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo img,
#inventoryPage .inventory-product-card > img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
  border:0!important;
  background:transparent!important;
  border-radius:12px!important;
}
#inventoryPage .inventory-product-card strong{
  height:38px!important;
  min-height:38px!important;
  line-height:19px!important;
  font-size:14px!important;
  color:#0b5960!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  margin:0!important;
}
#inventoryPage .inventory-card-meta{
  height:24px!important;
  min-height:24px!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  overflow:hidden!important;
}
#inventoryPage .inventory-card-meta .inventory-qty,
#inventoryPage .inventory-card-meta .inventory-low-tag{
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#inventoryPage .inventory-card-note{
  height:34px!important;
  min-height:34px!important;
  line-height:17px!important;
  color:#667085!important;
  font-size:12px!important;
  margin:0!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
#inventoryPage .inventory-card-actions{
  margin-top:auto!important;
  height:34px!important;
  min-height:34px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
}
#inventoryPage .inventory-card-actions .ghost-btn,
#inventoryPage .inventory-card-actions button{
  height:34px!important;
  min-height:34px!important;
  width:100%!important;
  padding:0 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:12px!important;
  font-size:13px!important;
  line-height:1!important;
}
#inventoryPage .inventory-editor{
  display:grid!important;
  max-width:760px!important;
  gap:12px!important;
  padding:18px!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(11,122,117,.12)!important;
  box-shadow:0 16px 42px rgba(15,23,42,.08)!important;
}
#inventoryPage .inventory-editor input,
#inventoryPage .inventory-editor select{
  height:40px!important;
  border-radius:12px!important;
}
#inventoryPage .inventory-editor .inline-actions{
  display:flex!important;
  gap:12px!important;
  justify-content:flex-start!important;
}
#inventoryPage #inventoryImagePreview,
#inventoryPage .inventory-image-preview{
  position:fixed!important;
  width:300px!important;
  max-width:300px!important;
  z-index:999999!important;
  pointer-events:none!important;
  border:2px solid #fff!important;
  border-radius:16px!important;
  background:#fff!important;
  padding:6px!important;
  box-shadow:0 16px 44px rgba(15,23,42,.28)!important;
}
#inventoryPage #inventoryImagePreview img,
#inventoryPage .inventory-image-preview img{
  width:100%!important;
  max-height:235px!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:12px!important;
  display:block!important;
  background:#fff!important;
}
@media(max-width:1500px){
  #inventoryPage .inventory-dashboard-grid{grid-template-columns:minmax(0,1fr) 260px!important;}
  #inventoryPage .inventory-product-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;}
}
@media(max-width:1100px){

}

/* V96 订单管理筛选与二级明细弹窗层级专项修复 */
#ordersPage .order-filter-bar-v96{
  display:flex!important;
  align-items:end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
}
#ordersPage .order-filter-bar-v96 label{min-width:104px!important;}
#ordersPage .order-filter-bar-v96 .order-content-search-field{flex:0 0 300px!important;min-width:260px!important;}
#ordersPage .order-filter-bar-v96 .order-product-category-field{flex:0 0 160px!important;}
#ordersPage .order-filter-bar-v96 .order-product-name-field{flex:0 0 180px!important;}
#ordersPage .order-filter-bar-v96 select,
#ordersPage .order-filter-bar-v96 input{height:34px!important;border-radius:10px!important;background:rgba(255,255,255,.96)!important;}
.detail-filter-bar-v96{
  display:flex!important;
  align-items:end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding:10px 0 12px!important;
  border-bottom:1px solid rgba(11,122,117,.10)!important;
}
.detail-filter-bar-v96 label{
  display:grid!important;
  gap:5px!important;
  color:#475467!important;
  font-size:12px!important;
  font-weight:800!important;
}
.detail-filter-bar-v96 input,
.detail-filter-bar-v96 select{
  height:34px!important;
  min-width:150px!important;
  border:1px solid rgba(11,122,117,.16)!important;
  border-radius:10px!important;
  padding:0 10px!important;
  background:rgba(255,255,255,.96)!important;
  color:#102033!important;
  box-shadow:0 6px 18px rgba(16,32,45,.04)!important;
}
.detail-filter-bar-v96 #detailContentSearch{min-width:260px!important;}
#orderDetailsModal{z-index: var(--layer-modal) !important;}
#orderEditModal{z-index: var(--layer-modal) !important;}
#orderPickerModal{z-index: var(--layer-modal) !important;}
#orderImageModal{z-index: var(--layer-preview) !important;}
#orderSumModal{z-index: var(--layer-modal) !important;}
#orderEditModal #orderFormCustomerSuggest,
#orderEditModal #orderFormProductSuggest{
  z-index: var(--layer-dropdown) !important;
}
#orderEditModal .oq-modal-card,
#orderEditModal .order-modal-card,
#orderEditModal .order-modal-card-v50{overflow:visible!important;}
#orderEditModal .order-form-section,
#orderEditModal .order-basic-grid-v50,
#orderEditModal .order-product-layout-v50,
#orderEditModal .order-product-fields-v50{overflow:visible!important;}

/* V97 库存管理页面专项重构优化 */
#inventoryPage .inventory-page-card{
  overflow:visible!important;
  padding:18px 20px 24px!important;
}
#inventoryPage .inventory-tabbar{
  overflow:visible!important;
  gap:8px!important;
  margin-bottom:14px!important;
}
#inventoryPage .inventory-section,
#inventoryPage .inventory-section.active{
  overflow:visible!important;
}
#inventoryViewSection .compact-filter{
  max-width:none!important;
  width:100%!important;
  margin:8px 0 16px!important;
}
#inventoryViewSection #inventorySearch{
  width:360px!important;
  max-width:38vw!important;
}
#inventoryPage .inventory-dashboard-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:18px!important;
  align-items:start!important;
}
#inventoryPage .inventory-card-list{
  width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}
#inventoryPage .inventory-category-group{
  overflow:visible!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.76)!important;
  border:1px solid rgba(11,122,117,.14)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
}
#inventoryPage .inventory-category-body{
  padding:0 14px 14px!important;
  overflow:visible!important;
}
#inventoryPage .inventory-product-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(168px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
  overflow:visible!important;
}
#inventoryPage .inventory-product-card{
  height:278px!important;
  min-height:278px!important;
  max-height:278px!important;
  padding:10px!important;
  display:grid!important;
  grid-template-rows:88px 40px 24px 38px 38px!important;
  gap:8px!important;
  overflow:visible!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(240,250,249,.92))!important;
  box-shadow:0 10px 28px rgba(15,23,42,.06)!important;
}
#inventoryPage .inventory-product-card:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 16px 36px rgba(11,122,117,.13)!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo,
#inventoryPage .inventory-no-image{
  width:100%!important;
  height:88px!important;
  min-height:88px!important;
  max-height:88px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.86)!important;
  border:1px solid rgba(11,122,117,.10)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
  border:0!important;
  border-radius:12px!important;
  background:transparent!important;
}
#inventoryPage .inventory-product-card strong{
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  line-height:20px!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#0b5960!important;
  margin:0!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}
#inventoryPage .inventory-card-meta{
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
#inventoryPage .inventory-card-note{
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  line-height:19px!important;
  font-size:12px!important;
  color:#667085!important;
  margin:0!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}
#inventoryPage .inventory-card-actions{
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr 1fr!important;
  gap:6px!important;
  margin:0!important;
  overflow:visible!important;
}
#inventoryPage .inventory-card-actions button,
#inventoryPage .inventory-card-actions .ghost-btn,
#inventoryPage .inventory-card-actions .danger-btn{
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  width:100%!important;
  padding:0 4px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:12px!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  box-sizing:border-box!important;
}
#inventoryPage .inventory-card-actions .danger-btn{
  color:#b42318!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(180,35,24,.18)!important;
}
#inventoryPage .inventory-card-actions .danger-btn:hover{
  color:#fff!important;
  background:#b42318!important;
  border-color:#b42318!important;
}
#inventoryPage .inventory-warning-panel{
  width:100%!important;
  position:sticky!important;
  top:8px!important;
  max-height:calc(100vh - 170px)!important;
  overflow:auto!important;
}
#inventoryPage #inventoryImagePreview,
#inventoryPage .inventory-image-preview{
  position:fixed!important;
  width:260px!important;
  max-width:260px!important;
  height:auto!important;
  z-index:999999!important;
  pointer-events:none!important;
  border:2px solid #fff!important;
  border-radius:16px!important;
  background:#fff!important;
  padding:6px!important;
  box-shadow:0 16px 44px rgba(15,23,42,.25)!important;
  transform:none!important;
}
#inventoryPage #inventoryImagePreview.hidden,
#inventoryPage .inventory-image-preview.hidden{
  display:none!important;
}
#inventoryPage #inventoryImagePreview img,
#inventoryPage .inventory-image-preview img{
  width:100%!important;
  max-height:205px!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:12px!important;
  display:block!important;
  background:#fff!important;
}
#inventoryPage .inventory-editor-shell{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
}
#inventoryPage .inventory-editor-v97{
  width:min(1040px,96%)!important;
  max-width:1040px!important;
  margin:8px auto 0!important;
  padding:22px!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(240,250,249,.82))!important;
  border:1px solid rgba(11,122,117,.14)!important;
  box-shadow:0 18px 46px rgba(15,23,42,.08)!important;
}
#inventoryPage .inventory-editor-head-v97{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:16px!important;
}
#inventoryPage .inventory-editor-head-v97 h3{
  margin:0 0 4px!important;
  color:#0b5960!important;
  font-size:20px!important;
}
#inventoryPage .inventory-editor-layout-v97{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 330px!important;
  gap:18px!important;
  align-items:start!important;
}
#inventoryPage .inventory-editor-fields-v97{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
#inventoryPage .inventory-editor-fields-v97 label,
#inventoryPage .inventory-editor-photo-v97 label{
  display:grid!important;
  gap:6px!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:800!important;
}
#inventoryPage .inventory-note-field-v97{
  grid-column:1 / -1!important;
}
#inventoryPage .inventory-editor input,
#inventoryPage .inventory-editor select{
  width:100%!important;
  height:42px!important;
  border:1px solid rgba(11,122,117,.16)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.94)!important;
  padding:0 12px!important;
  box-sizing:border-box!important;
}
#inventoryPage .inventory-photo-preview-v97{
  height:220px!important;
  border:1px solid rgba(11,122,117,.13)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.76)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  margin:10px 0!important;
  color:#94a3b8!important;
  font-weight:800!important;
}
#inventoryPage .inventory-photo-preview-v97 img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
}
#inventoryPage .inventory-photo-drop{
  min-height:66px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:12px!important;
  border-radius:16px!important;
}
#inventoryPage .inventory-editor-actions-v97{
  margin-top:18px!important;
  display:flex!important;
  justify-content:center!important;
  gap:14px!important;
}
#inventoryPage .inventory-editor-actions-v97 button{
  min-width:128px!important;
  height:42px!important;
}
@media(max-width:1500px){
  #inventoryPage .inventory-dashboard-grid{grid-template-columns:minmax(0,1fr) 270px!important;}
  #inventoryPage .inventory-product-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))!important;}
}
@media(max-width:1100px){
  #inventoryPage .inventory-dashboard-grid{grid-template-columns:1fr!important;}
  #inventoryPage .inventory-editor-layout-v97{grid-template-columns:1fr!important;}
  #inventoryPage .inventory-editor-fields-v97{grid-template-columns:1fr!important;}
}

/* V98 登录页与库存管理深度优化 */
body.auth-pending .quote-header .brand-block,
body.auth-pending .quote-header .top-actions,
body.is-login-view .quote-header .brand-block,
body.is-login-view .quote-header .top-actions{
  display:none!important;
}
body.is-login-view .quote-header,
body.auth-pending .quote-header{
  min-height:0!important;
  height:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  box-shadow:none!important;
}
.password-field-wrap{position:relative!important;display:block!important;}
.password-field-wrap input{padding-right:54px!important;width:100%!important;box-sizing:border-box!important;}
.password-toggle-btn{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;width:38px!important;height:38px!important;border:0!important;border-radius:12px!important;background:rgba(11,122,117,.08)!important;color:#0b7a75!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:17px!important;}
.password-toggle-btn:hover{background:rgba(11,122,117,.14)!important;}
.login-mark strong{font-size:31px!important;}

#inventoryPage .inventory-product-grid{grid-template-columns:repeat(auto-fill,minmax(184px,1fr))!important;gap:16px!important;}
#inventoryPage .inventory-product-card{height:306px!important;min-height:306px!important;max-height:306px!important;grid-template-rows:96px 42px 26px 42px 44px!important;padding:12px!important;overflow:visible!important;}
#inventoryPage .inventory-product-card .inventory-card-photo,#inventoryPage .inventory-no-image{height:96px!important;min-height:96px!important;max-height:96px!important;position:relative!important;}
#inventoryPage .inventory-product-card .inventory-card-photo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;margin:auto!important;}
#inventoryPage .inventory-photo-count{position:absolute!important;right:6px!important;bottom:6px!important;border-radius:999px!important;background:rgba(11,122,117,.86)!important;color:#fff!important;font-size:11px!important;font-weight:800!important;padding:3px 7px!important;box-shadow:0 8px 18px rgba(11,122,117,.22)!important;}
#inventoryPage .inventory-card-actions{height:44px!important;min-height:44px!important;max-height:44px!important;display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:8px!important;align-items:stretch!important;}
#inventoryPage .inventory-card-actions button,#inventoryPage .inventory-card-actions .ghost-btn,#inventoryPage .inventory-card-actions .danger-btn{height:44px!important;min-height:44px!important;max-height:44px!important;border-radius:14px!important;font-size:13px!important;padding:0 8px!important;letter-spacing:0!important;}
#inventoryPage .inventory-card-actions .ghost-btn{background:rgba(255,255,255,.96)!important;border:1px solid rgba(11,122,117,.18)!important;color:#102033!important;}
#inventoryPage .inventory-card-actions .ghost-btn:hover{background:#eaf8f6!important;color:#0b7a75!important;border-color:rgba(11,122,117,.34)!important;}
#inventoryPage .inventory-card-actions .danger-btn{background:#fff!important;border:1px solid rgba(220,38,38,.20)!important;color:#b42318!important;}
#inventoryPage #inventoryImagePreview,#inventoryPage .inventory-image-preview{width:220px!important;max-width:220px!important;padding:5px!important;border-radius:14px!important;z-index:9999999!important;}
#inventoryPage #inventoryImagePreview img,#inventoryPage .inventory-image-preview img{max-height:180px!important;}

#inventoryPage .inventory-editor-v97{width:min(1180px,96%)!important;max-width:1180px!important;}
#inventoryPage .inventory-editor-layout-v97{grid-template-columns:minmax(0,1fr) 420px!important;}
#inventoryPage .inventory-photo-drop-v98{position:relative!important;min-height:112px!important;display:flex!important;flex-direction:column!important;gap:8px!important;align-items:center!important;justify-content:center!important;border:2px dashed rgba(11,122,117,.28)!important;background:linear-gradient(145deg,rgba(255,255,255,.90),rgba(237,250,248,.78))!important;color:#0b5960!important;cursor:pointer!important;}
#inventoryPage .inventory-photo-drop-v98 strong{font-size:16px!important;color:#0b7a75!important;}
#inventoryPage .inventory-photo-drop-v98 span{font-size:12px!important;color:#667085!important;}
#inventoryPage .inventory-photo-drop-v98 input{position:absolute!important;inset:0!important;opacity:0!important;cursor:pointer!important;width:100%!important;height:100%!important;}
#inventoryPage .inventory-photo-multi-preview{height:auto!important;min-height:240px!important;max-height:360px!important;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;gap:10px!important;align-items:start!important;justify-content:start!important;padding:10px!important;overflow:auto!important;}
#inventoryPage .inventory-photo-multi-preview > span{grid-column:1/-1!important;align-self:center!important;justify-self:center!important;}
#inventoryPage .inventory-edit-photo-card{position:relative!important;border:1px solid rgba(11,122,117,.13)!important;border-radius:14px!important;background:rgba(255,255,255,.88)!important;padding:7px!important;display:grid!important;gap:6px!important;box-shadow:0 8px 20px rgba(15,23,42,.05)!important;}
#inventoryPage .inventory-edit-photo-card.is-default{border-color:#0b7a75!important;box-shadow:0 0 0 2px rgba(11,122,117,.14),0 10px 24px rgba(11,122,117,.12)!important;}
#inventoryPage .inventory-edit-photo-card img{width:100%!important;height:82px!important;object-fit:contain!important;object-position:center center!important;border-radius:10px!important;background:#fff!important;}
#inventoryPage .inventory-edit-photo-card label{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;font-size:12px!important;color:#0b5960!important;}
#inventoryPage .inventory-edit-photo-card button{height:28px!important;border-radius:9px!important;font-size:12px!important;}
.inventory-photo-viewer-v98{z-index: var(--layer-preview) !important;background:rgba(7,22,28,.34)!important;backdrop-filter:blur(16px)!important;}
.inventory-photo-viewer-inner-v98{width:min(760px,92vw)!important;max-height:88vh!important;background:linear-gradient(145deg,rgba(255,255,255,.90),rgba(240,250,249,.78))!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:24px!important;box-shadow:0 28px 90px rgba(15,23,42,.28)!important;padding:16px!important;display:grid!important;gap:12px!important;}
.inventory-photo-viewer-head-v98{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;color:#0b5960!important;}
#inventoryPhotoViewerImg{width:100%!important;max-height:62vh!important;object-fit:contain!important;border-radius:18px!important;background:#fff!important;border:1px solid rgba(11,122,117,.10)!important;}
.inventory-photo-viewer-thumbs-v98{display:flex!important;gap:8px!important;overflow:auto!important;padding-bottom:4px!important;}
.inventory-photo-viewer-thumbs-v98 button{width:72px!important;height:56px!important;border-radius:12px!important;border:1px solid rgba(11,122,117,.16)!important;background:#fff!important;padding:3px!important;cursor:pointer!important;flex:0 0 auto!important;}
.inventory-photo-viewer-thumbs-v98 button.active{border-color:#0b7a75!important;box-shadow:0 0 0 2px rgba(11,122,117,.16)!important;}
.inventory-photo-viewer-thumbs-v98 img{width:100%!important;height:100%!important;object-fit:contain!important;}

#inventoryLogSection .data-table th:nth-child(4),#inventoryLogSection .data-table td:nth-child(4){min-width:150px!important;width:150px!important;}
#inventoryLogSection .data-table th:nth-child(6),#inventoryLogSection .data-table td:nth-child(6){max-width:150px!important;width:150px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
#inventoryLogSection .data-table th:nth-child(7),#inventoryLogSection .data-table td:nth-child(7){max-width:130px!important;width:130px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
#inventoryLogSection .data-table th:nth-child(8),#inventoryLogSection .data-table td:nth-child(8){max-width:150px!important;width:150px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
#inventoryLogSection .data-table th:nth-child(9),#inventoryLogSection .data-table td:nth-child(9){min-width:180px!important;}

#inventoryBatchSection .inventory-batch-top-v98,#inventoryBatchSection .inventory-batch-actionbar-v98{display:flex!important;align-items:end!important;gap:10px!important;flex-wrap:wrap!important;margin:10px 0!important;padding:12px!important;border:1px solid rgba(11,122,117,.12)!important;border-radius:16px!important;background:rgba(255,255,255,.70)!important;}
#inventoryBatchSection .inventory-batch-top-v98 label,#inventoryBatchSection .inventory-batch-actionbar-v98 label:not(.inventory-upload-btn-v98){display:grid!important;gap:5px!important;font-weight:800!important;color:#334155!important;min-width:160px!important;flex:1 1 160px!important;}
#inventoryBatchSection .inventory-batch-top-v98 input,#inventoryBatchSection .inventory-batch-top-v98 select,#inventoryBatchSection .inventory-batch-actionbar-v98 input{height:38px!important;border-radius:12px!important;width:100%!important;box-sizing:border-box!important;}
#inventoryBatchSection .inventory-batch-top-v98 button,#inventoryBatchSection .inventory-batch-actionbar-v98 button,#inventoryBatchSection .inventory-upload-btn-v98{height:38px!important;border-radius:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:126px!important;cursor:pointer!important;}
#inventoryBatchSection .inventory-upload-btn-v98 input{display:none!important;}
#inventoryBatchSection .inventory-batch-table-wrap{margin-top:12px!important;}

/* V99 登录居中与库存管理样式收敛修复：只处理登录页和库存管理 */
body.is-login-view,
body.auth-pending{
  min-height:100vh!important;
}
body.is-login-view .login-page,
body.auth-pending .login-page,
.login-page{
  min-height:100vh!important;
  height:100vh!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
body.is-login-view .login-hero-card,
body.auth-pending .login-hero-card,
.login-hero-card{
  margin:auto!important;
  align-self:center!important;
}

/* V99：取消库存鼠标悬停跟随大图 */
#inventoryPage #inventoryImagePreview,
#inventoryPage .inventory-image-preview,
#inventoryPage .inventory-float-preview{
  display:none!important;
  visibility:hidden!important;
}

/* V99：库存卡片图片强制居中，不拉伸、不左对齐 */
#inventoryPage .inventory-product-card .inventory-card-photo,
#inventoryPage .inventory-no-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  overflow:hidden!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo img,
#inventoryPage .inventory-product-card img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:auto!important;
}
#inventoryPage .inventory-card-photo{cursor:pointer!important;}

/* V99：库存卡片底部三个按钮统一三等分 */
#inventoryPage .inventory-card-actions{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
}
#inventoryPage .inventory-card-actions button,
#inventoryPage .inventory-card-actions .ghost-btn,
#inventoryPage .inventory-card-actions .danger-btn,
#inventoryPage .inventory-card-actions .inventory-toggle-btn{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  box-sizing:border-box!important;
  border-radius:14px!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

/* V99：低库存产品恢复橘色预警风格 */
#inventoryPage .inventory-product-card.inventory-low{
  border:2px solid rgba(245,158,11,.95)!important;
  background:linear-gradient(145deg,rgba(255,247,237,.98),rgba(255,237,213,.76))!important;
  box-shadow:0 14px 34px rgba(245,158,11,.15)!important;
}
#inventoryPage .inventory-product-card.inventory-low:hover{
  box-shadow:0 18px 40px rgba(245,158,11,.22)!important;
}
#inventoryPage .inventory-product-card.inventory-low .inventory-card-photo,
#inventoryPage .inventory-product-card.inventory-low .inventory-no-image{
  border-color:rgba(245,158,11,.32)!important;
  background:rgba(255,255,255,.78)!important;
}


/* V99：编辑页首页图单选按钮缩小，标题按新增/修改由 JS 控制 */
#inventoryPage .inventory-edit-photo-card label{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:22px!important;
  font-size:12px!important;
  line-height:1.2!important;
  color:#0b5960!important;
}
#inventoryPage .inventory-edit-photo-card input[type="radio"]{
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  max-width:14px!important;
  min-height:14px!important;
  max-height:14px!important;
  padding:0!important;
  margin:0!important;
  transform:none!important;
  accent-color:#0b7a75!important;
}

/* V99：新增库存添加行数输入框缩短 */
#inventoryBatchSection .inventory-batch-actionbar-v98{
  align-items:center!important;
}
#inventoryBatchSection .inventory-batch-actionbar-v98 label:first-child{
  flex:0 0 120px!important;
  min-width:120px!important;
  max-width:120px!important;
}
#inventoryBatchSection #inventoryBatchCount{
  width:78px!important;
  min-width:78px!important;
  max-width:78px!important;
  text-align:center!important;
}
#inventoryBatchSection #inventoryBatchAddRows{
  min-width:132px!important;
}

/* V100 紧急修复：V99 登录页居中样式误覆盖 hidden，导致登录成功后登录卡片仍然显示 */
body.is-logged-in #frontLoginCard,
#frontLoginCard.hidden,
.login-page.hidden{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
}
body.is-logged-in .login-page{
  display:none!important;
  visibility:hidden!important;
}
body.is-logged-in #mainShell:not(.hidden){
  display:grid!important;
  visibility:visible!important;
}
body.is-logged-in .quote-header{
  display:flex!important;
  visibility:visible!important;
}

/* V101 紧急修复：库存产品卡片底部三个按钮彻底三等分，清掉前面多版 CSS 的互相覆盖 */
#inventoryPage .inventory-product-card{
  height:292px!important;
  min-height:292px!important;
  max-height:292px!important;
  display:grid!important;
  grid-template-rows:96px 42px 28px 38px 48px!important;
  gap:8px!important;
  padding:12px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo,
#inventoryPage .inventory-no-image{
  width:100%!important;
  height:96px!important;
  min-height:96px!important;
  max-height:96px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo img,
#inventoryPage .inventory-product-card > img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:auto!important;
  display:block!important;
}
#inventoryPage .inventory-card-actions,
#inventoryPage .inventory-product-card .inventory-card-actions{
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  display:grid!important;
  grid-template-columns:repeat(3, minmax(0, 1fr))!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(0, 1fr)!important;
  column-gap:8px!important;
  row-gap:0!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  justify-content:stretch!important;
  align-self:end!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
#inventoryPage .inventory-card-actions > button,
#inventoryPage .inventory-card-actions > .ghost-btn,
#inventoryPage .inventory-card-actions > .danger-btn,
#inventoryPage .inventory-card-actions > .inventory-toggle-btn,
#inventoryPage .inventory-product-card .inventory-card-actions > button,
#inventoryPage .inventory-product-card .inventory-card-actions > .ghost-btn,
#inventoryPage .inventory-product-card .inventory-card-actions > .danger-btn,
#inventoryPage .inventory-product-card .inventory-card-actions > .inventory-toggle-btn{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  flex:0 1 auto!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:15px!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  transform:none!important;
}
#inventoryPage .inventory-card-actions > button:hover,
#inventoryPage .inventory-card-actions > .ghost-btn:hover,
#inventoryPage .inventory-card-actions > .danger-btn:hover,
#inventoryPage .inventory-card-actions > .inventory-toggle-btn:hover{
  transform:none!important;
}
#inventoryPage .inventory-card-actions > .ghost-btn,
#inventoryPage .inventory-card-actions > .inventory-toggle-btn{
  background:#fff!important;
  color:#102033!important;
  border:1px solid rgba(11,122,117,.18)!important;
  box-shadow:0 4px 12px rgba(16,32,45,.06)!important;
}
#inventoryPage .inventory-card-actions > .danger-btn{
  background:#fff!important;
  color:#b42318!important;
  border:1px solid rgba(220,38,38,.22)!important;
  box-shadow:0 4px 12px rgba(180,35,24,.06)!important;
}
#inventoryPage .inventory-card-actions > .ghost-btn:hover,
#inventoryPage .inventory-card-actions > .inventory-toggle-btn:hover{
  background:#eefaf8!important;
  color:#0b7a75!important;
  border-color:rgba(11,122,117,.36)!important;
}
#inventoryPage .inventory-card-actions > .danger-btn:hover{
  background:#fff5f5!important;
  color:#b42318!important;
  border-color:rgba(220,38,38,.36)!important;
}


/* V102 库存卡片按钮根治版：按钮不再继承 ghost/small/danger，使用独立类三等分 */
#inventoryPage .inventory-product-grid{
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
#inventoryPage .inventory-product-card{
  min-width:0!important;
  height:276px!important;
  min-height:276px!important;
  max-height:276px!important;
  display:grid!important;
  grid-template-rows:92px 36px 28px 34px 40px!important;
  row-gap:8px!important;
  padding:12px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  border-radius:18px!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo,
#inventoryPage .inventory-product-card .inventory-no-image{
  width:100%!important;
  height:92px!important;
  min-height:92px!important;
  max-height:92px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

#inventoryPage .inventory-product-card strong{
  min-width:0!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  margin:0!important;
  line-height:18px!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}
#inventoryPage .inventory-card-meta{
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  overflow:hidden!important;
}
#inventoryPage .inventory-card-note{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  margin:0!important;
  line-height:17px!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}
#inventoryPage .inventory-card-actions,
#inventoryPage .inventory-product-card .inventory-card-actions{
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:6px!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#inventoryPage .inventory-card-actions > .inventory-action-btn,
#inventoryPage .inventory-product-card .inventory-card-actions > .inventory-action-btn{
  flex:1 1 0!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:0 2px!important;
  box-sizing:border-box!important;
  appearance:none!important;
  border-radius:13px!important;
  border:1px solid rgba(11,122,117,.18)!important;
  background:rgba(255,255,255,.96)!important;
  color:#102033!important;
  box-shadow:0 4px 12px rgba(16,32,45,.06)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:0!important;
  transform:none!important;
  cursor:pointer!important;
}
#inventoryPage .inventory-card-actions > .inventory-action-btn:hover{
  transform:none!important;
  background:#eefaf8!important;
  color:#0b7a75!important;
  border-color:rgba(11,122,117,.36)!important;
}
#inventoryPage .inventory-card-actions > .inventory-action-delete{
  color:#b42318!important;
  border-color:rgba(220,38,38,.22)!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(180,35,24,.06)!important;
}
#inventoryPage .inventory-card-actions > .inventory-action-delete:hover{
  color:#b42318!important;
  background:#fff5f5!important;
  border-color:rgba(220,38,38,.36)!important;
}
#inventoryPage .inventory-product-card.inventory-low{
  border:2px solid rgba(245,158,11,.95)!important;
  background:linear-gradient(145deg,rgba(255,247,237,.98),rgba(255,237,213,.78))!important;
  box-shadow:0 14px 34px rgba(245,158,11,.15)!important;
}
#inventoryPage .inventory-product-card.inventory-low .inventory-low-tag,
#inventoryPage .inventory-low-tag{
  color:#c2410c!important;
  background:linear-gradient(135deg,#ffedd5,#fed7aa)!important;
  border:1px solid rgba(234,88,12,.18)!important;
}
@media (max-width:1400px){
  #inventoryPage .inventory-product-grid{grid-template-columns:repeat(auto-fill,minmax(172px,1fr))!important;gap:14px!important;}
  #inventoryPage .inventory-card-actions{gap:5px!important;}
  #inventoryPage .inventory-card-actions > .inventory-action-btn{font-size:12px!important;border-radius:12px!important;}
}

/* V103 库存卡片按钮与悬停效果收敛修复：停止卡片上浮，彻底隔离按钮旧样式 */
#inventoryPage .inventory-product-card,
#inventoryPage .inventory-product-card:hover,
#inventoryPage .inventory-product-card:focus,
#inventoryPage .inventory-product-card:focus-within{
  transform:none!important;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease!important;
}
#inventoryPage .inventory-product-card:hover{
  border-color:rgba(11,122,117,.24)!important;
  box-shadow:0 10px 26px rgba(15,23,42,.06)!important;
}
#inventoryPage .inventory-product-card.inventory-low:hover{
  border-color:rgba(245,158,11,.95)!important;
  box-shadow:0 14px 34px rgba(245,158,11,.15)!important;
}
#inventoryPage .inventory-product-card button,
#inventoryPage .inventory-product-card button:hover,
#inventoryPage .inventory-product-card .ghost-btn:hover,
#inventoryPage .inventory-product-card .danger-btn:hover,
#inventoryPage .inventory-product-card .inventory-action-btn:hover{
  transform:none!important;
}
#inventoryPage .inventory-product-card .inventory-card-actions,
#inventoryPage .inventory-card-actions{
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-columns:initial!important;
  grid-auto-flow:row!important;
  gap:7px!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  justify-content:stretch!important;
  align-content:stretch!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#inventoryPage .inventory-card-actions > .inventory-action-btn,
#inventoryPage .inventory-product-card .inventory-card-actions > .inventory-action-btn{
  all:unset!important;
  flex:none!important;
  grid-column:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  border-radius:13px!important;
  border:1px solid rgba(11,122,117,.18)!important;
  background:rgba(255,255,255,.98)!important;
  color:#102033!important;
  box-shadow:0 4px 12px rgba(16,32,45,.06)!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:0!important;
  cursor:pointer!important;
  user-select:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
#inventoryPage .inventory-card-actions > .inventory-action-btn:hover,
#inventoryPage .inventory-product-card .inventory-card-actions > .inventory-action-btn:hover{
  background:#eefaf8!important;
  color:#0b7a75!important;
  border-color:rgba(11,122,117,.36)!important;
  transform:none!important;
}
#inventoryPage .inventory-card-actions > .inventory-action-delete,
#inventoryPage .inventory-product-card .inventory-card-actions > .inventory-action-delete{
  color:#b42318!important;
  border-color:rgba(220,38,38,.22)!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(180,35,24,.06)!important;
}
#inventoryPage .inventory-card-actions > .inventory-action-delete:hover,
#inventoryPage .inventory-product-card .inventory-card-actions > .inventory-action-delete:hover{
  color:#b42318!important;
  background:#fff5f5!important;
  border-color:rgba(220,38,38,.36)!important;
  transform:none!important;
}




/* V104 detail drag selection final z-index */
.universal-selection-box,
.order-selection-box {
  z-index: 30050 !important;
  display: block !important;
  pointer-events: none !important;
}
body.table-drag-selecting .universal-selection-box {
  border: 2px solid rgba(11,122,117,.82) !important;
  background: rgba(20,143,134,.18) !important;
  box-shadow: 0 8px 24px rgba(11,122,117,.18) !important;
}

/* V105 库存卡片按钮DOM彻底隔离修复：库存卡片按钮不再使用公共按钮类 */
#inventoryPage .inventory-product-card,
#inventoryPage .inventory-product-card:hover,
#inventoryPage .inventory-product-card:focus,
#inventoryPage .inventory-product-card:focus-within{
  transform:none!important;
}
#inventoryPage .inventory-product-card:hover{
  box-shadow:0 10px 26px rgba(15,23,42,.06)!important;
}
#inventoryPage .inventory-product-card.inventory-low:hover{
  box-shadow:0 14px 34px rgba(245,158,11,.15)!important;
}
#inventoryPage .inventory-product-card .inventory-card-actions-clean{
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:1fr!important;
  grid-auto-flow:column!important;
  gap:7px!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  justify-content:stretch!important;
  align-content:stretch!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  flex:none!important;
  grid-column:auto!important;
  grid-row:auto!important;
}
#inventoryPage .inventory-product-card .inventory-card-actions-clean > .inventory-action-clean{
  all:unset!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0 2px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  border-radius:13px!important;
  border:1px solid rgba(11,122,117,.20)!important;
  background:rgba(255,255,255,.98)!important;
  color:#102033!important;
  box-shadow:0 4px 12px rgba(16,32,45,.06)!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:0!important;
  cursor:pointer!important;
  user-select:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  transform:none!important;
}
#inventoryPage .inventory-product-card .inventory-card-actions-clean > .inventory-action-clean:hover,
#inventoryPage .inventory-product-card .inventory-card-actions-clean > .inventory-action-clean:focus,
#inventoryPage .inventory-product-card .inventory-card-actions-clean > .inventory-action-clean:active{
  transform:none!important;
  background:#eefaf8!important;
  color:#0b7a75!important;
  border-color:rgba(11,122,117,.38)!important;
  outline:none!important;
}
#inventoryPage .inventory-product-card .inventory-card-actions-clean > .inventory-action-delete{
  color:#b42318!important;
  border-color:rgba(220,38,38,.24)!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(180,35,24,.06)!important;
}
#inventoryPage .inventory-product-card .inventory-card-actions-clean > .inventory-action-delete:hover,
#inventoryPage .inventory-product-card .inventory-card-actions-clean > .inventory-action-delete:focus,
#inventoryPage .inventory-product-card .inventory-card-actions-clean > .inventory-action-delete:active{
  color:#b42318!important;
  background:#fff5f5!important;
  border-color:rgba(220,38,38,.38)!important;
  transform:none!important;
}
#inventoryPage .inventory-product-card .inventory-card-actions-clean .ghost-btn,
#inventoryPage .inventory-product-card .inventory-card-actions-clean .small,
#inventoryPage .inventory-product-card .inventory-card-actions-clean .danger-btn,
#inventoryPage .inventory-product-card .inventory-card-actions-clean .primary-btn{
  all:unset!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo,
#inventoryPage .inventory-product-card .inventory-no-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
#inventoryPage .inventory-product-card .inventory-card-photo img,
#inventoryPage .inventory-product-card > img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:auto!important;
}

