/* 按柜台管理货品（v1.14.0）：库存页柜台下拉框、柜台小标签、柜台记录、调柜页 */
.counter-line{display:flex;gap:8px;align-items:stretch;margin-bottom:8px}
.counter-line:empty{display:none}
.counter-line select{flex:1;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--bg);font-size:13px;color:var(--ink-2)}
.counter-line .btn{flex:none;min-height:44px;padding:0 14px}
.counter-line .btn svg{width:18px;height:18px}
.counter-tag{display:inline-block;margin-top:5px;margin-right:4px;padding:1px 7px;border-radius:6px;background:var(--bronze-soft);color:var(--bronze);font-size:11px;line-height:1.6}
.counter-history{list-style:none;margin:0;padding:0}
.counter-history li{position:relative;padding:0 0 14px 22px}
.counter-history li:last-child{padding-bottom:0}
.counter-history li::before{content:"";position:absolute;left:5px;top:7px;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.counter-history li::after{content:"";position:absolute;left:8.5px;top:17px;bottom:-3px;width:1px;background:var(--border)}
.counter-history li:last-child::after{display:none}
.counter-history strong{display:block;font-size:14px;font-weight:600}
.counter-history span{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.counter-move-form{display:flex;gap:8px;align-items:stretch}
.counter-move-form input{flex:1;min-width:0;min-height:44px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);font:inherit}
.counter-move-form .btn{flex:none}
.counter-move-row strong{font-size:14px}
.counter-move-row strong a{color:inherit;text-decoration:none}
.counter-move-path{color:var(--ink-2)}
.counter-move-path b{color:var(--accent)}
.counter-move-row.is-unknown .counter-move-path,.counter-move-row.is-sold .counter-move-path,.counter-move-row.is-old .counter-move-path{color:var(--danger)}
.counter-move-row.is-same .counter-move-path{color:var(--muted)}
.counter-move-head{display:flex;align-items:center;gap:4px}
.counter-move-row.is-pending .icon-btn{flex:none;margin:-8px -6px -8px 0}
/* 柜台盘点记录（v1.15.0） */
.counter-check-sum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:12px}
.counter-check-sum div{text-align:center;background:var(--page);border-radius:10px;padding:8px 2px}
.counter-check-sum strong{display:block;font-size:20px;font-weight:600}
.counter-check-sum small{font-size:11px;color:var(--muted)}
.counter-check-row strong{font-size:14px}
.counter-check-diff{font-size:13px;color:var(--muted);white-space:nowrap}
.counter-check-diff.bad{color:var(--danger)}
