/* 全局布局整理（2026-11-20） */
.pc-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pc-toolbar .pc-actions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
.pc-grid td,.pc-grid th{padding-top:6px!important;padding-bottom:6px!important}
.pc-grid th:nth-child(n+4):nth-child(-n+7){text-align:right}
.pc-check{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:#46606f;white-space:nowrap}
.pc-check input{width:auto;margin:0}
.cost-price-input.pc-empty{border-color:#e59a8f!important;background:#fff6f4!important}
.pc-cost-grid td{padding-top:5px!important;padding-bottom:5px!important}
/* 采购明细：去掉强制 1370px 最小宽度，笔记本一屏放下 */
.record-orders-grid{min-width:1080px!important}
.record-orders-admin th:nth-child(3),.record-orders-admin td:nth-child(3){width:78px!important}
.record-orders-admin th:nth-child(4),.record-orders-admin td:nth-child(4){width:118px!important}
.record-orders-admin th:nth-child(5),.record-orders-admin td:nth-child(5){width:70px!important}
.record-orders-admin th:nth-child(6),.record-orders-admin td:nth-child(6){width:auto!important}
.record-orders-admin th:nth-child(7),.record-orders-admin td:nth-child(7){width:56px!important}
.record-orders-admin th:nth-child(8),.record-orders-admin td:nth-child(8){width:82px!important}
.record-orders-admin th:nth-child(9),.record-orders-admin td:nth-child(9){width:90px!important}
.record-orders-admin th:nth-child(10),.record-orders-admin td:nth-child(10){width:150px!important}
.record-orders-admin th:nth-child(11),.record-orders-admin td:nth-child(11){width:110px!important}
.record-orders-admin th:nth-child(12),.record-orders-admin td:nth-child(12){width:118px!important}
.record-orders-agent th:nth-child(1),.record-orders-agent td:nth-child(1){width:96px!important}
.record-orders-agent th:nth-child(2),.record-orders-agent td:nth-child(2){width:96px!important}
.record-orders-agent th:nth-child(3),.record-orders-agent td:nth-child(3){width:124px!important}
.record-orders-agent th:nth-child(4),.record-orders-agent td:nth-child(4){width:70px!important}
.record-orders-agent th:nth-child(5),.record-orders-agent td:nth-child(5){width:auto!important}
.record-orders-agent th:nth-child(6),.record-orders-agent td:nth-child(6){width:56px!important}
.record-orders-agent th:nth-child(7),.record-orders-agent td:nth-child(7){width:82px!important}
.record-orders-agent th:nth-child(8),.record-orders-agent td:nth-child(8){width:90px!important}
.record-orders-agent th:nth-child(9),.record-orders-agent td:nth-child(9){width:130px!important}
.record-orders-agent th:nth-child(10),.record-orders-agent td:nth-child(10){width:110px!important}
.record-orders-agent th:nth-child(11),.record-orders-agent td:nth-child(11){width:104px!important}
/* 代理商采购汇总：数字之间留空 */
.daily-summary-total{display:flex!important;flex-wrap:wrap;gap:4px 14px!important}
.inventory-grid.pc-grid{width:100%!important;min-width:900px!important}
.pc-grid th:nth-child(1){width:80px}.pc-grid th:nth-child(3){width:170px}.pc-grid th:nth-child(n+4):nth-child(-n+7){width:84px}.pc-grid th:nth-child(8){width:96px}.pc-grid th:nth-child(9){width:86px}
.record-orders-admin th:nth-child(10),.record-orders-admin td:nth-child(10){width:136px!important}
.record-orders-admin th:nth-child(11),.record-orders-admin td:nth-child(11){width:86px!important}
.record-orders-admin th:nth-child(2),.record-orders-admin td:nth-child(2){width:84px!important}
.record-orders-agent th:nth-child(10),.record-orders-agent td:nth-child(10){width:90px!important}
.qo-toast{width:max-content!important;max-width:min(560px,90vw)!important;text-align:center}
/* 聚量 3.0 logo */
.brand-logo{border:0!important;border-radius:9px!important;background:url(/static/logo.svg) center/contain no-repeat!important;width:38px!important;height:38px!important}
.brand-logo:after{display:none!important}
/* 采购明细美化 */
.record-orders-grid{border-collapse:separate!important;border-spacing:0}
.record-orders-grid thead th{background:#eef6f5!important;color:#2c4a5c;font-weight:700;font-size:13px}
.record-orders-grid tbody td{vertical-align:middle;border-bottom:1px solid #eef2f3}
.record-orders-grid td.order-context-cell{background:#fbfdfd;border-right:1px solid #eef2f3}
.record-orders-grid td.order-context-cell b{color:#22394a}
.record-orders-grid .pu-src{display:block;margin-top:2px;font-size:11px;line-height:1.3;color:#8193a0;white-space:normal;word-break:break-all}
.record-orders-grid td.order-number{color:#0f8f7f;font-weight:700;letter-spacing:.2px}
.record-orders-grid .rec-note{display:block;font-size:12px;color:#6b7f8a;line-height:1.35;max-height:2.7em;overflow:hidden;white-space:normal}
.record-orders-grid .unpaid{border-radius:10px;padding:2px 8px!important;font-size:12px}
.record-orders-grid .tag{border-radius:10px;font-size:12px}
.record-orders-grid tr.order-batch-footer td{background:#f4faf9!important;border-bottom:10px solid #f5f7f8!important;padding-top:8px!important;padding-bottom:8px!important}
.record-orders-grid .batch-order-action{display:flex;align-items:center;gap:14px}
.record-orders-grid .batch-order-action strong{margin-left:auto;font-size:15px;color:#d0392b}
.record-orders-grid .record-operation-cell button{border-radius:6px!important}
/* 工具栏：次要按钮弱化 */
body.pc-records #controls button[onclick*="Template"],body.pc-records #controls button[onclick*="emplate"]{background:#fff!important;color:#46606f!important;border-color:#d6e2e4!important}
body.pc-records #controls input[type=range]{accent-color:#16a394}
.pc-pend{color:#b56b00;font-weight:600}
.lo-avail{display:block;font-style:normal;font-size:10.5px;color:#b56b00;font-weight:600}
/* 库存表：实物库存最醒目，其它列弱化 */
.pc-grid th:nth-child(4),.wh-inv-grid th:nth-child(4){background:#0f8f7f!important;color:#fff!important}
td.ph-cell{background:#e9f7f3!important;border-left:2px solid #9fd9cc;border-right:2px solid #9fd9cc}
td.ph-cell b{font-size:17px;color:#0b6e62;font-weight:800}
td.ph-cell.low b{color:#b56b00}
td.ph-cell.zero{background:#fdeeee!important}
td.ph-cell.zero b{color:#c0392b}
td.num.sub{color:#7d8f9b;font-size:12.5px}
.stk-b{display:inline-block;padding:2px 9px;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap}
.stk-b.ok{background:#e6f6f1;color:#1a8a6e}
.stk-b.warn{background:#fff3df;color:#b56b00}
.stk-b.bad{background:#fde8e5;color:#c0392b}
.wh-inv-grid td:nth-child(2),.wh-inv-grid td:nth-child(3),.pc-grid td:nth-child(2),.pc-grid td:nth-child(3){max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wh-grid th,.wh-grid td{padding-left:8px!important;padding-right:8px!important}
/* 在途 → 到货入库 */
.arr-bar{display:inline-flex;align-items:center;gap:8px;margin-left:10px;padding:3px 8px;border:1px dashed #f0b98c;border-radius:8px;background:#fff8f1}
.arr-bar button{padding:4px 10px;font-size:12.5px}
.arr-cell{display:inline-flex;align-items:center;gap:3px;padding:2px 4px;border-radius:7px;background:#fff4e8;cursor:pointer}
.arr-cell .arr-chk{width:16px;height:16px;margin:0;accent-color:#eb6834}
.arr-plus{color:#b34a1d;font-weight:700}
.arr-cell .arr-q{width:52px;height:24px;padding:0 4px;border:1px solid #f0c4a0;border-radius:5px;text-align:right;font-weight:700;color:#b34a1d;background:#fff}
.arr-cell:has(.arr-chk:checked){background:#eb6834}.arr-cell:has(.arr-chk:checked) .arr-plus{color:#fff}
.pt-cell{display:inline-flex;align-items:center;gap:6px}
.pt-cell code{font-size:12px;color:#0f6f63;background:#eef8f6;padding:2px 6px;border-radius:5px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pt-cell button{padding:2px 8px;font-size:12px}
/* 全系统数字框：去掉上下箭头，只手动输入 */
input[type=number]{-moz-appearance:textfield;appearance:textfield}
input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
/* 实时库存可直接修改 */
td.ph-cell .ph-in{width:72px;height:30px;padding:0 6px;border:1px solid transparent;border-radius:6px;background:transparent;text-align:right;font-size:17px;font-weight:800;color:#0b6e62;cursor:pointer}
td.ph-cell.low .ph-in{color:#b56b00}td.ph-cell.zero .ph-in{color:#c0392b}
td.ph-cell .ph-in:hover{border-color:#9fd9cc;background:#fff}
td.ph-cell .ph-in:focus{border-color:#0f8f7f;background:#fff;outline:0;box-shadow:0 0 0 3px #0f8f7f22;cursor:text}
/* 2026-11-23 巡查：库存总表在笔记本宽度下不再出现横向滚动；在途数量框不挤 */
table.pc-grid thead th:nth-child(2){width:auto!important;min-width:0!important}
table.pc-grid thead th:nth-child(3){width:128px!important}
table.pc-grid thead th:nth-child(4){width:84px!important}
table.pc-grid thead th:nth-child(5),table.pc-grid thead th:nth-child(6){width:60px!important}
table.pc-grid thead th:nth-child(7){width:108px!important}
table.pc-grid thead th:nth-child(8){width:72px!important}
table.pc-grid thead th:nth-child(9){width:78px!important}
table.pc-grid thead th:nth-child(10){width:96px!important}
table.pc-grid thead th:nth-child(11){width:84px!important}
table.pc-grid td:nth-child(7){padding-left:4px!important;padding-right:4px!important}
.pc-grid .arr-cell .arr-q{width:46px}
/* 代理价格：长产品名省略显示，表格不再超出屏幕 */
.ap-grid td:nth-child(3){max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ap-grid td:nth-child(4){max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 报单出库：产品数量标签自动换行，操作列不被挤出屏幕 */
.wh-grid.dist-grid td:nth-child(4){white-space:normal!important}
.wh-grid.dist-grid td:nth-child(4)>*{white-space:nowrap}
.wh-grid.dist-grid td:last-child{white-space:nowrap}
/* 全局：输入框里的示例文字用浅灰，不会被当成已经填好的内容 */
input::placeholder,textarea::placeholder{color:#a9b3bd!important;opacity:1}
/* 库存盘点：录入区放进卡片里，和其他页面一致 */
.controls.wh-ct-head{background:#fff;border:1px solid #e3e8ee;border-radius:12px;padding:12px 14px!important;margin:10px 0 12px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.controls.wh-ct-head textarea{border:1px solid #dfe5ea;border-radius:8px;padding:8px 10px}
.controls.wh-ct-head textarea:focus{outline:none;border-color:#0f8f7f;box-shadow:0 0 0 3px rgba(15,143,127,.12)}
@media (max-width:760px){
  table.pc-grid{min-width:960px!important;width:960px!important}
  table.pc-grid thead th:nth-child(2){width:180px!important}
  table.pc-grid td:nth-child(2){max-width:180px}
}
/* 搜索时简称匹配的产品格子高亮 */
.qo-tile.qo-hit{border-color:#0f8f7f!important;box-shadow:0 0 0 2px rgba(15,143,127,.25);background:#f0faf8}
.qo-tile.qo-namehit{opacity:.62}
.qo-tile.qo-namehit:hover{opacity:1}
.qo-hit-note{grid-column:1/-1;font-size:12.5px;color:#5b6b78;padding:0 2px 2px}
.qo-hit-note b{color:#0f8f7f}
/* 订单里 −/＋ 数量 */
.oq{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.oq button{width:24px;height:24px;padding:0;border:1px solid #d5dde3;border-radius:6px;background:#fff;color:#0f8f7f;font-weight:700;line-height:1;cursor:pointer}
.oq button:hover{background:#0f8f7f;color:#fff;border-color:#0f8f7f}
.oq b{min-width:22px;text-align:center}
/* 数量列放得下 −/＋ */
#grid.record-orders-grid thead th{position:relative}
#grid.record-orders-grid:has(.oq) thead th:nth-last-child(6){width:104px!important}
.record-orders-grid td:has(>.oq){text-align:center!important}
.wh-unship{border:1px solid #f0c4a0!important;color:#b34a1d!important;background:#fff7f0!important;font-size:12.5px;padding:3px 10px;border-radius:7px;cursor:pointer}
.wh-unship:hover{background:#eb6834!important;color:#fff!important;border-color:#eb6834!important}
/* 看价格开关 */
.sp-tag{display:inline-block;font-size:11.5px;padding:1px 7px;border-radius:999px;margin-left:6px;font-weight:600;vertical-align:1px}
.sp-tag.on{background:#e8f6f3;color:#0f8f7f}
.sp-tag.off{background:#fdecea;color:#c0392b}
.np .np-hide{display:none!important}
/* 仓库改单 */
.wh-edit,.wh-cancel{font-size:12.5px;padding:3px 10px;border-radius:7px;cursor:pointer}
.wh-edit{border:1px solid #cfd8de;background:#fff;color:#33475b}
.wh-cancel{border:1px solid #f3c7c1;background:#fff;color:#c0392b}
.wh-cancel:hover{background:#c0392b;color:#fff}
.wh-edit-dlg{width:min(560px,94vw)}
.wh-edit-tbl{width:100%;margin:8px 0}
.wh-edit-tbl td{padding:6px 8px;border-top:1px solid #eef1f4}
.wh-edit-tbl .c{text-align:center}
.wh-edit-add{display:flex;gap:8px;margin:6px 0}
.wh-edit-add #whAddCode{flex:1}
.wh-edit-add #whAddQty{width:70px}
.np table.record-orders-grid{table-layout:auto!important}
.np #agentOrderExportButton{display:none!important}
#whEditDlg{width:min(600px,94vw)!important}
#whEditDlg form{width:auto!important;margin:0!important}
#whEditDlg h3{margin-top:0}
.wh-edit-tbl small{display:block;max-width:330px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 采购明细紧凑：不显示规格，产品名一行，按钮变小 */
.record-orders-grid .record-product-cell small{display:none!important}
.record-orders-grid .record-product-cell b{font-weight:600;font-size:13px}
.record-orders-grid tbody tr:not(.order-batch-footer) td{padding-top:2px!important;padding-bottom:2px!important;font-size:13px}
.record-orders-grid .record-operation-cell button,.record-orders-grid tbody td:last-child button{height:24px!important;min-height:24px!important;padding:0 8px!important;font-size:12px!important;line-height:22px!important}
.record-orders-grid .oq button{width:20px;height:20px;font-size:12px}
.record-orders-grid .oq{gap:4px}
.record-orders-grid .unpaid,.record-orders-grid .tag{padding-top:1px!important;padding-bottom:1px!important;font-size:12px}
.record-orders-grid tr.order-batch-footer td{padding-top:3px!important;padding-bottom:3px!important;border-bottom-width:6px!important}
.record-orders-grid .order-batch-footer .batch-order-action{min-height:30px}
.record-orders-grid .order-batch-footer .batch-order-action strong{font-size:15px}
.record-orders-grid .order-batch-footer button{height:26px!important;min-height:26px!important;padding:0 10px!important;font-size:12.5px!important}
.record-orders-grid td:nth-last-child(8),.record-orders-grid td:nth-last-child(8) *{white-space:nowrap}
.record-orders-grid:has(.oq) thead th:nth-last-child(8){width:118px!important}
.record-orders-grid:has(.oq) thead th:nth-last-child(11){width:92px!important}
.record-orders-grid:has(.oq) thead th:nth-last-child(10){width:78px!important}
.record-orders-grid:has(.oq) thead th:nth-last-child(9){width:104px!important}
.record-orders-grid:has(.oq) thead th:nth-last-child(8){width:108px!important}
.record-orders-grid:has(.oq) thead th:nth-last-child(5),.record-orders-grid:has(.oq) thead th:nth-last-child(4){width:74px!important}
.record-orders-grid:has(.oq) thead th:nth-last-child(3){width:70px!important}
.record-orders-grid:has(.oq) thead th:nth-last-child(1){width:96px!important}
.record-orders-grid:has(.oq) thead th:nth-last-child(6){width:98px!important}
/* 仓库采购单：状态页签 + 批量审核 + 备注 + 库存不够标红 */
.wh-toolbar{flex-wrap:wrap;row-gap:8px}
.wh-tabs{display:flex;gap:4px;background:#eef2f5;padding:3px;border-radius:10px;width:100%;max-width:max-content}
.wh-tab{border:0!important;background:transparent!important;padding:6px 14px!important;border-radius:8px!important;font-size:13px;color:#566b78;cursor:pointer;box-shadow:none!important}
.wh-tab b{display:inline-block;min-width:18px;padding:0 6px;margin-left:2px;border-radius:999px;background:#dde5ea;color:#33475b;font-size:12px}
.wh-tab.on{background:#fff!important;color:#0f8f7f;font-weight:700;box-shadow:0 1px 3px rgba(16,24,40,.12)!important}
.wh-tab.on b{background:#0f8f7f;color:#fff}
.wh-bulk{display:inline-flex;gap:6px;align-items:center}
.wh-approve[disabled]{opacity:.45;cursor:not-allowed}
.wh-chip.short{background:#fdecea!important;border-color:#f3b8b0!important;color:#b3261e!important}
.wh-chip .wh-note{font-style:normal;margin-left:4px;padding:0 5px;border-radius:5px;background:#fff4e0;color:#b36200;font-size:11.5px}
.wh-short-tip{display:block;color:#b3261e;font-size:11px;margin-top:2px}
.wh-unconf{display:block;margin-top:2px;color:#b36200;font-size:11px}
.wh-po-grid tr.sel td{background:#f0faf8!important}
.wh-po-grid tr.wh-st-shipped td{color:#7a8b96}
.wh-inv-grid .wh-big{font-size:15px;color:#0f6f63}
.wh-inv-grid .wh-big.wh-low{color:#c0392b}

.wh-bulkout{background:#eb6834!important;border-color:#eb6834!important;color:#fff!important;font-weight:700}
.wh-bulkout:hover{background:#d4561f!important}
.tag.wait-out{background:#fff4e0!important;color:#b36200!important;white-space:nowrap}

.ag-ex-dlg{width:min(480px,94vw)}
.ag-ex-opts{display:grid;gap:8px;margin:10px 0}
.ag-ex-opts button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 14px!important;border:1px solid #d5dde3;border-radius:10px;background:#fff;text-align:left;cursor:pointer;height:auto!important}
.ag-ex-opts button:hover{border-color:#0f8f7f;background:#f0faf8}
.ag-ex-opts b{font-size:14px;color:#17323f}
.ag-ex-opts small{color:#6b7f8c;font-size:12px}
.np #agentOrderExportButton{display:inline-flex!important}

/* 采购审核：批量合计条 */
.sum-bar{position:sticky;bottom:0;z-index:5;display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 18px;padding:10px 16px!important;background:#fff!important;border:1px solid #cfe7e2!important;border-radius:12px;box-shadow:0 -4px 14px rgba(16,24,40,.08);font-size:13.5px;color:#33475b}
.sum-bar .sum-label{font-weight:700;color:#0f8f7f}
.sum-bar .sum-amt{color:#e95745;font-size:17px}
.sum-bar button{margin-left:auto;font-size:12.5px;padding:3px 10px}
.ord-sel{display:inline-flex;align-items:center;gap:4px;margin-right:10px;font-size:12.5px;color:#33475b;cursor:pointer;white-space:nowrap}
.ord-sel input{width:15px;height:15px;accent-color:#0f8f7f}

/* 实发替代 */
.wh-chip.subbed{background:#eef4ff!important;border-color:#b9cdf5!important}
.wh-chip.subbed s{color:#8a99a6;font-weight:600}
.wh-chip .wh-sub{font-style:normal;font-size:11px;color:#fff;background:#3d6fd1;border-radius:4px;padding:0 4px;margin:0 2px}
.wh-sub-line{font-size:12px;color:#3d6fd1;margin-top:2px}
.wh-sub-btn{color:#3d6fd1!important;border-color:#b9cdf5!important}
.rec-sub{display:inline-block;margin-left:6px;font-size:11.5px;color:#3d6fd1;background:#eef4ff;border-radius:5px;padding:0 5px;white-space:nowrap}
.rec-sub-btn{height:24px!important;min-height:24px!important;padding:0 7px!important;font-size:12px!important;color:#3d6fd1!important;border:1px solid #b9cdf5!important;background:#fff!important;border-radius:6px}
.lo-code-edit{cursor:pointer;border-bottom:1px dashed #9fb3bf}
.lo-code-edit:hover{color:#0f8f7f}
.lo-subbtn{display:block;margin:4px auto 0;font-size:11.5px!important;padding:1px 7px!important}
.ag-status select{margin-left:4px}
.wh-newloose{margin-right:6px}.wh-toolbar .lo-draft{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;background:#fff7e6;border:1px solid #f3d19e;border-radius:8px;padding:3px 8px}

/* 每日利润 */
.sum-bar .pd-chip{margin-left:0;display:inline-flex;align-items:center;gap:14px;padding:5px 12px;font-size:13.5px;border:1px solid #bfe3dd;border-radius:999px;background:#f0fbf9;cursor:pointer}
.sum-bar .pd-chip i{font-style:normal;color:#0f8f7f;font-size:12px}
.pd-dlg{width:min(760px,94vw);padding:0;border:0;border-radius:12px;box-shadow:0 18px 50px #0f2a3a44}
.pd-dlg form{padding:0 18px 14px}
.pd-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:10px 0}
.pd-top input{padding:5px 8px;border:1px solid #cbd5e1;border-radius:6px;font:inherit}
.pd-big{font-size:16px}.pd-big b{font-size:20px}
.pd-table{max-height:56vh;overflow:auto;border:1px solid #e2ecea;border-radius:8px}
.pd-table table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.pd-table th,.pd-table td{padding:7px 10px;text-align:right;border-bottom:1px solid #eef3f2;white-space:nowrap}
.pd-table th:first-child,.pd-table td:first-child{text-align:left}
.pd-table thead th{position:sticky;top:0;background:#f5faf9;font-weight:600}
.pd-table em{font-style:normal;font-size:11.5px;color:#fff;background:#0f8f7f;border-radius:4px;padding:1px 5px;margin-left:4px}
.pd-table tr.pd-total td{position:sticky;bottom:0;background:#f5faf9;font-weight:700;border-top:2px solid #cfe5e1}

.pw-td{white-space:nowrap}.pw-td code{font-size:13.5px;background:#f1f7f6;border-radius:5px;padding:3px 8px;margin-right:6px;user-select:text}.pw-td button+button{margin-left:4px}.pw-td button{font-size:12.5px;padding:3px 9px}

/* 账号密码弹窗：每一项单独选、单独复制 */
dialog.dist-creds{width:min(460px,94vw)!important}
.dc-box{display:grid;gap:8px;padding:12px;border-radius:8px;background:#f4f8f9}
.dc-row{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:8px}
.dc-l{color:#7a8c99;font-size:13px}
.dc-v{font-size:14px;word-break:break-all;user-select:text;-webkit-user-select:text;cursor:text;background:#fff;border:1px solid #e1eaee;border-radius:6px;padding:5px 8px}
.dc-row button{font-size:12.5px;padding:4px 10px}

/* 海外报价（美金） */
.exq-bar{display:grid!important;gap:10px}
.exq-set,.exq-act,.exq-stat{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.exq-set{padding:10px 14px;border:1px solid #cfe5e1;border-radius:10px;background:#f3fbf9}
.exq-set label{display:inline-flex;align-items:center;gap:6px;font-weight:600;white-space:nowrap}
.exq-set label span{font-weight:400;color:#5b6f7c}
.exq-set input,.exq-set select{height:34px;padding:0 9px;border:1px solid #c4d3df;border-radius:7px;font:inherit;width:84px;background:#fff}
.exq-set select{width:auto}.exq-set .exq-title input{width:200px}
.exq-act select{height:34px;border:1px solid #c4d3df;border-radius:7px;padding:0 8px;font:inherit}
.exq-act .exq-export{border-color:#0f8f7f;color:#0f8f7f;font-weight:600}
.exq-stat{font-size:13.5px}.exq-stat b{font-size:15px}.exq-dirty{color:#d9822b;font-weight:600}
.exq-tip{margin:0}
.exq-grid{width:100%;font-variant-numeric:tabular-nums}
.exq-grid th,.exq-grid td{padding:6px 8px;white-space:nowrap;vertical-align:middle}
.exq-grid .num,.exq-grid th:nth-child(n+3):nth-child(-n+9){text-align:right}
.exq-grid .exq-name{white-space:normal;min-width:120px}.exq-grid .exq-name small{display:block;color:#8496a3;font-size:12px}
.exq-grid .exq-in{width:74px;height:30px;padding:0 6px;border:1px solid #c9d6df;border-radius:6px;font:inherit;text-align:right;background:#fff}
.exq-grid .exq-price{width:88px;font-weight:700}
.exq-grid .exq-price.manual,.exq-grid tr.exq-custom .exq-in:not(:placeholder-shown){border-color:#e0a23b;background:#fff8ea}
.exq-grid td i{font-style:normal;color:#8496a3;margin:0 3px}
.exq-grid tr.exq-off td{opacity:.45}.exq-grid tr.exq-off td.exq-ops{opacity:1}
.exq-grid td.exq-ops{text-align:right}.exq-ops button{margin-right:8px}
.exq-ops button{font-size:12px;padding:2px 8px}.exq-ops label{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;color:#5b6f7c}
.exq-ops input{width:15px;height:15px}
@media(max-width:760px){.exq-set input{width:70px}.exq-set .exq-title input{width:140px}}

.exq-link{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:9px 14px;border:1px dashed #9fd3ca;border-radius:10px;background:#fbfefd;font-size:13.5px}
.exq-link>span{font-weight:700;color:#0f8f7f}.exq-link code{background:#eef6f5;border-radius:6px;padding:4px 9px;user-select:all;font-size:13.5px}
.exq-link button,.exq-link .exq-open{font-size:12.5px;padding:4px 10px;border:1px solid #c4d3df;border-radius:6px;background:#fff;color:inherit;text-decoration:none;cursor:pointer}
.exq-link small{flex-basis:100%}

.exq-ship{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:9px 14px;border:1px solid #e3d9bd;border-radius:10px;background:#fffcf3;font-size:13.5px}
.exq-ship b{color:#9a6b00}.exq-ship label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.exq-ship input{width:68px;height:30px;border:1px solid #d6cba8;border-radius:6px;padding:0 6px;font:inherit;text-align:right;background:#fff}
.exq-ship .exq-sp{flex:1 1 100%}.exq-ship .exq-sp input{flex:1;width:auto;text-align:left;min-width:260px}

/* 收款单导出 */
.bill-btn{border:1px solid #0f8f7f!important;color:#0f8f7f!important;background:#fff!important;font-weight:600}
.bill-dlg{width:min(520px,94vw);padding:0;border:0;border-radius:12px;box-shadow:0 18px 50px #0f2a3a44}
.bill-dlg form{padding:0 18px 16px}
.bill-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin:10px 0}
.bill-grid label{display:grid;gap:4px;font-size:13px;color:#4a5d6c}
.bill-grid input,.bill-grid select{height:36px;border:1px solid #c4d3df;border-radius:7px;padding:0 8px;font:inherit;background:#fff}
.bill-opt{display:flex;align-items:center;gap:6px;margin:6px 0;font-size:14px}.bill-opt input{width:16px;height:16px}
.bill-quick{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:14px}.bill-quick button{font-size:12.5px;padding:3px 10px}

/* ===== 统一的订单状态徽章（2026-11-30）：未确认 / 待出库 / 已出库 ===== */
.st{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12.5px;font-weight:600;line-height:1.5;white-space:nowrap}
.st-new{background:#eef1f4;color:#4a5866}
.st-wait{background:#fff1d6;color:#8a5a00}
.st-out{background:#dff5ee;color:#0b6b52}
.batch-stage.wait{color:#8a5a00;background:#fff1d6;border-color:#f2d9a0}

/* ===== 已收款标记 ===== */
.rcv-btn{border:1px solid #e6c98a;background:#fff7e6;color:#8a5a00;border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:600;cursor:pointer}
.rcv-btn:hover{background:#ffeccb}
.rcv-btn.on{border-color:#9fd9c6;background:#dff5ee;color:#0b6b52}
.sum-bar .sum-unrcv{color:#b25e00}
.sum-bar button.sum-rcv{margin-left:auto;border-color:#0f8f7f;color:#0f8f7f;font-weight:600}
.sum-bar button.sum-rcv~button{margin-left:0}
