#page-products .product-compact-panel { margin:0; padding:0; overflow:hidden; border:1px solid #dfe5ef; border-radius:15px; background:#fff; box-shadow:0 6px 24px #25395904; }
#page-products .product-compact-head { display:flex; align-items:center; justify-content:flex-start; flex-direction:row!important; flex-wrap:wrap; gap:10px; min-height:0; margin:0; padding:14px 20px; border-bottom:1px solid #e6ebf3; background:#fff; }
#page-products .product-list-count { flex:0 0 auto; color:#7c8ba2; font-size:12px; font-weight:550; margin-right:8px; white-space:nowrap; }
#page-products .product-compact-head .product-search { display:flex; align-items:center; flex:1 1 280px; gap:7px; min-width:220px; max-width:430px; width:auto; height:38px; padding:0 4px 0 11px; border:1px solid #dce3ee; border-radius:8px; background:#fff; box-shadow:none; }
#page-products .product-search>span { color:#9aa5b7; font-size:15px; flex-shrink:0; }
#page-products .product-compact-head .product-search input { flex:1; width:100%; min-width:0; height:36px; min-height:0; padding:6px 0; margin:0; border:0; border-radius:0; outline:0; background:transparent; box-shadow:none; color:#405774; font-size:12px; }
#page-products .product-compact-head .product-search:focus-within { border-color:#a89cdd; }
#page-products .product-compact-head button { min-height:34px; margin:0; padding:7px 13px; border-radius:8px; font-size:12px; white-space:nowrap; box-shadow:none; }
#page-products .product-compact-head .product-search button { min-height:29px; padding:5px 12px; border-radius:6px; font-size:11px; flex-shrink:0; }
#page-products .product-compact-head .product-create { width:auto!important; flex:0 0 auto; margin-left:auto; }
#page-products .product-table-shell { margin:0; border:0; border-radius:0; max-height:none!important; overflow-x:auto; }
#page-products .product-catalog-table { width:100%; min-width:1035px!important; table-layout:fixed; }
#page-products .product-catalog-table th { height:44px; padding:12px 16px; color:#7b89a0; font-size:11px; font-weight:550; background:#f8fafd; white-space:nowrap; }
#page-products .product-catalog-table td { height:67px; padding:12px 16px; color:#475e7b; font-size:12px; vertical-align:middle; line-height:1.5; overflow-wrap:anywhere; }
#page-products .product-catalog-table th.qty,#page-products .product-catalog-table td.qty { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
#page-products .product-cell { display:flex; align-items:center; gap:10px; min-width:0; }
#page-products .product-cell>div { display:flex; flex-direction:column; gap:6px; min-width:0; flex:1; }
#page-products .product-cell .product-name { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; color:#2f4564; font-size:13px; font-weight:600; line-height:1.5; }
#page-products .product-cell .product-code { display:block; color:#91a0b5; font-size:11px; font-weight:400; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-family:Consolas,"Microsoft YaHei",monospace; line-height:1.4; }
#page-products .product-thumb { width:36px; height:36px; flex:0 0 36px; margin:0; object-fit:contain; border:1px solid #edf0f6; background:#fafbfe; border-radius:7px; }
#page-products .product-category { display:block; color:#61748e; font-size:12px; }
#page-products .product-kind { display:block; margin-top:5px; font-size:10px; color:#a0acbd; }
#page-products .product-specification { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
#page-products .product-supply { color:#6d7e95; font-size:12px; }
#page-products .product-price { color:#354c6c!important; font-weight:550; }
#page-products .product-actions { min-width:0; display:flex; gap:7px; flex-wrap:nowrap; }
#page-products .product-actions button { min-height:32px; min-width:0; margin:0; padding:5px 11px; border-radius:7px; font-size:11px; box-shadow:none; }
@media(max-width:900px) { #page-products .product-compact-head { padding:13px 16px; } #page-products .product-compact-head .product-search { max-width:none; flex-basis:250px; } }
@media(max-width:600px) { #page-products .product-compact-head { gap:9px; padding:12px 14px; } #page-products .product-compact-head .product-search { flex:1 1 100%; order:3; min-width:0; max-width:none; width:100%; } #page-products .product-list-count { margin-right:auto; } #page-products .product-compact-head .product-create { margin-left:0; } #page-products .product-compact-head>.product-clear { order:2; } #page-products .product-catalog-table td { padding-block:11px; } }
@media screen {
  main:has(> #page-products:not(.hidden)) { display:flex; flex-direction:column; padding-right:24px; padding-bottom:18px; padding-left:24px; }
  main:has(> #page-products:not(.hidden)) > .topbar { flex-shrink:0; }
  #page-products:not(.hidden) { display:flex; flex:1; flex-direction:column; min-height:0; padding-bottom:0; }
  #page-products .product-compact-panel { display:flex; flex:1; flex-direction:column; min-height:510px; }
  #page-products .product-compact-head, #page-products .data-pager { flex-shrink:0; }
  #page-products .product-table-shell { flex:1; min-height:0; overflow-y:auto; }
  #page-products .product-catalog-table:has(tbody > tr:nth-child(5)) { height:100%; }
  #page-products .product-compact-panel > .empty { display:grid; flex:1; place-items:center; }
}
@media screen and (max-width:900px) {
  main:has(> #page-products:not(.hidden)) { height:calc(100dvh - 62px); min-height:0; padding-right:12px; padding-left:12px; }
  #page-products .product-compact-panel { min-height:560px; }
}
