/* 第137稿：专属宽表的操作列统一走同一套保护，避免按钮压住金额、备注或日期。 */
.itemGroupTable table{min-width:1180px}.fixedPlanTable table{min-width:1160px}.fixedCostTable table{min-width:980px}.inventorySummaryTable table{min-width:1210px}.inventoryCurrentTable table{min-width:1960px}.inventoryCountTable table{min-width:1100px}.assetBlueprintTable table{min-width:1110px}
.itemGroupTable th.operationCell,.itemGroupTable td.operationCell,.fixedPlanTable th.operationCell,.fixedPlanTable td.operationCell,.fixedCostTable th.operationCell,.fixedCostTable td.operationCell,.assetBlueprintTable th.operationCell,.assetBlueprintTable td.operationCell,.inventorySummaryTable th.operationCell,.inventorySummaryTable td.operationCell,.inventoryCurrentTable th.operationCell,.inventoryCurrentTable td.operationCell,.inventoryCountTable th.operationCell,.inventoryCountTable td.operationCell{min-width:174px;max-width:235px;white-space:normal}
.itemGroupTable th.operationCell,.fixedPlanTable th.operationCell,.fixedCostTable th.operationCell,.assetBlueprintTable th.operationCell,.inventorySummaryTable th.operationCell,.inventoryCurrentTable th.operationCell,.inventoryCountTable th.operationCell{position:sticky;right:0;z-index:7;background:#f5eee7;box-shadow:-10px 0 14px rgba(83,61,47,.08)}
.itemGroupTable td.operationCell,.fixedPlanTable td.operationCell,.fixedCostTable td.operationCell,.assetBlueprintTable td.operationCell,.inventorySummaryTable td.operationCell,.inventoryCurrentTable td.operationCell,.inventoryCountTable td.operationCell{position:sticky;right:0;z-index:5;background:#fffdf9;box-shadow:-10px 0 14px rgba(83,61,47,.08)}
.itemGroupTable .operationCell .mini,.fixedPlanTable .operationCell .mini,.fixedCostTable .operationCell .mini,.assetBlueprintTable .operationCell .mini,.inventorySummaryTable .operationCell .mini,.inventoryCurrentTable .operationCell .mini,.inventoryCountTable .operationCell .mini{margin:3px 5px 3px 0}
.inventorySignal{display:flex;gap:10px;align-items:flex-start;margin:12px 0;padding:11px 13px;border:1px solid #eadfd5;border-radius:12px;background:#fffaf2;color:#6b594b;font-size:13px;line-height:1.55}.inventorySignal b{flex:none;color:#806250}.inventoryCountHistory{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:17px;background:#fffdf9}.inventoryCountHistory header{padding-bottom:12px;border-bottom:1px solid #eadfd5}.inventoryCountHistory header span{display:block;color:#806250;font-size:12px;font-weight:900;letter-spacing:.06em}.inventoryCountHistory h4{margin:5px 0;font-size:18px}.inventoryCountHistory p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.inventoryCountForm{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fffdf9}.inventoryCountForm header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.inventoryCountForm header span{display:block;color:#806250;font-size:12px;font-weight:900}.inventoryCountForm h3{margin:5px 0;font-size:20px}.inventoryCountForm p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.inventoryCountFormGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.inventoryCountFormGrid label{display:grid;gap:6px;color:var(--muted);font-size:13px;font-weight:800}.inventoryCountDifference{display:flex;gap:10px;align-items:center;padding:11px 13px;border:1px dashed #ddcec1;border-radius:12px;background:#fff}.inventoryCountDifference b{font-size:18px}.inventoryCountDifference span{color:var(--muted);font-size:13px}.inventoryCountHistory .supplierTable{margin-top:12px}@media(max-width:760px){.itemGroupTable table{min-width:1080px}.fixedPlanTable table{min-width:1050px}.fixedCostTable table{min-width:900px}.inventorySummaryTable table{min-width:1100px}.inventoryCurrentTable table{min-width:1760px}.inventoryCountTable table{min-width:980px}.itemGroupTable th.operationCell,.itemGroupTable td.operationCell,.fixedPlanTable th.operationCell,.fixedPlanTable td.operationCell,.fixedCostTable th.operationCell,.fixedCostTable td.operationCell,.assetBlueprintTable th.operationCell,.assetBlueprintTable td.operationCell,.inventorySummaryTable th.operationCell,.inventorySummaryTable td.operationCell,.inventoryCurrentTable th.operationCell,.inventoryCurrentTable td.operationCell,.inventoryCountTable th.operationCell,.inventoryCountTable td.operationCell{min-width:158px;max-width:188px}.inventorySignal{display:block}.inventorySignal b{display:block;margin-bottom:4px}.inventoryCountHistory,.inventoryCountForm{padding:14px}.inventoryCountForm header{flex-direction:column}.inventoryCountFormGrid{grid-template-columns:1fr}.inventoryCountDifference{display:block}.inventoryCountDifference span{display:block;margin-top:4px}}

/* 第138稿：供应商对账采用独立工作台，金额与操作分列，宽表滚动时操作列始终可见。 */
.purchaseLedgerActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.purchaseReconHero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:19px 21px;border:1px solid #e8ddd2;border-radius:18px;background:linear-gradient(135deg,#fffaf4,#f7eee6)}.purchaseReconHero span{display:block;color:#806250;font-size:12px;font-weight:900;letter-spacing:.08em}.purchaseReconHero h3{margin:5px 0 7px;font-size:21px}.purchaseReconHero p{max-width:800px;margin:0;color:var(--muted);font-size:13px;line-height:1.65}.purchaseReconMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.purchaseReconMetrics article{padding:15px 16px;border:1px solid var(--line);border-radius:16px;background:#fffdf9}.purchaseReconMetrics span,.purchaseReconMetrics small{display:block;color:var(--muted);font-size:12px}.purchaseReconMetrics b{display:block;margin:7px 0 4px;font-size:23px}.purchaseReconRisk{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;padding:11px 13px;border:1px solid #eadfd5;border-radius:12px;background:#fffaf2;color:#6b594b;font-size:13px;line-height:1.6}.purchaseReconRisk b{color:#806250;white-space:nowrap}.purchaseReconciliationTable table{min-width:1390px}.purchaseReconciliationTable th.operationCell,.purchaseReconciliationTable td.operationCell{min-width:178px;max-width:220px;white-space:normal}.purchaseReconciliationTable th.operationCell{position:sticky;right:0;z-index:7;background:#f5eee7;box-shadow:-10px 0 14px rgba(83,61,47,.08)}.purchaseReconciliationTable td.operationCell{position:sticky;right:0;z-index:5;background:#fffdf9;box-shadow:-10px 0 14px rgba(83,61,47,.08)}.purchaseReconActions{display:flex;gap:6px;flex-wrap:wrap}.purchaseReconActions .mini{margin:0}@media(max-width:760px){.purchaseReconHero{display:block;padding:15px}.purchaseReconHero .ghost{margin-top:12px}.purchaseReconMetrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.purchaseReconMetrics article{padding:12px}.purchaseReconMetrics b{font-size:20px}.purchaseReconRisk{display:block}.purchaseReconRisk b{display:block;margin-bottom:4px}.purchaseReconciliationTable table{min-width:1190px}.purchaseReconciliationTable th.operationCell,.purchaseReconciliationTable td.operationCell{min-width:160px;max-width:185px}}

/* 第139稿：成本变更记录采用只读时间线，显示成本变化和来源，不挤压菜品台账。 */
.costHistorySheet{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fffdf9}.costHistoryHead{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:13px;border-bottom:1px solid #eadfd5}.costHistoryHead span{display:block;color:#806250;font-size:12px;font-weight:900;letter-spacing:.08em}.costHistoryHead h3{margin:5px 0 6px;font-size:20px}.costHistoryHead p{max-width:760px;margin:0;color:var(--muted);font-size:13px;line-height:1.6}.costHistoryList{display:grid;gap:9px;margin-top:14px}.costHistoryItem{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 14px;border:1px solid #eadfd5;border-radius:13px;background:#fff}.costHistoryItem b,.costHistoryItem small{display:block}.costHistoryItem small{margin-top:4px;color:var(--muted);font-size:12px}.costHistoryItem p{margin:6px 0 0;color:#6b594b;font-size:13px;line-height:1.5}.costHistoryDiff{display:flex;align-items:center;gap:8px;flex:none;font-size:13px}.costHistoryDiff span{padding:5px 7px;border-radius:8px;background:#f7f1eb}.costHistoryDiff em{color:var(--muted);font-style:normal}.costHistoryDiff strong{min-width:56px;text-align:right;font-size:13px}.costHistoryDiff .costUp{color:#bd5f52}.costHistoryDiff .costDown{color:#21865b}.costHistoryLoading,.costHistoryEmpty{margin-top:14px;padding:18px;border:1px dashed #ddcec1;border-radius:13px;background:#fff;color:var(--muted);font-size:13px}.costHistoryEmpty b{display:block;color:var(--text);font-size:14px}.costHistoryEmpty p{margin:6px 0 0;line-height:1.55}@media(max-width:760px){.costHistorySheet{padding:14px}.costHistoryHead{display:block}.costHistoryHead .ghost{margin-top:10px}.costHistoryItem{display:block}.costHistoryDiff{margin-top:10px;flex-wrap:wrap}.costHistoryDiff strong{text-align:left;min-width:auto}}
