
:root{
  --bg:#f4f6f9;--panel:#fff;--line:#d8dee9;--text:#1f2937;--muted:#6b7280;--head:#f1f4f8;
  --accent:#2563eb;--accent-soft:#e8f0ff;--good:#059669;--bad:#dc2626;--warn:#d97706;--dark:#111827;
  --radius:14px;--radius-sm:10px;--control-h:36px;--control-pad-x:12px;--table-row-h:40px;--badge-h:24px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-size:14px}
button,input,select,textarea{font:inherit}
button{min-height:var(--control-h);border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:0 var(--control-pad-x);font-weight:850;cursor:pointer}
button:hover{background:#f8fafc}
button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
button.danger{background:#fff;color:var(--bad);border-color:#fecaca}
button.small{min-height:30px;padding:0 10px;font-size:12px;border-radius:var(--radius-sm)}
button:disabled{opacity:.45;cursor:not-allowed}
input,select,textarea{min-height:var(--control-h);border:1px solid var(--line);border-radius:var(--radius);padding:0 var(--control-pad-x);background:#fff;color:var(--text);width:100%}
textarea{padding-top:8px;padding-bottom:8px}
input[type="checkbox"]{width:auto;min-height:auto;height:auto;padding:0;border-radius:0}
input:focus,select:focus,textarea:focus{outline:2px solid var(--accent-soft);border-color:#93b4ff}
.app{display:grid;grid-template-columns:230px 1fr;min-height:100vh}
.sidebar{background:#101827;color:#d1d5db;padding:18px 14px}
.brand{font-weight:950;font-size:19px;color:#fff;letter-spacing:-.04em}
.brand-sub{font-size:12px;color:#9ca3af;margin:4px 0 22px}
.nav-title{font-size:11px;color:#6b7280;margin:20px 9px 8px;text-transform:uppercase;letter-spacing:.08em}
.nav-item{padding:11px 12px;border-radius:var(--radius-sm);margin-bottom:4px;font-weight:850;cursor:pointer;display:flex;justify-content:space-between;gap:8px}
.nav-item.active{background:#1f2a44;color:#fff}
.main{padding:18px;overflow:hidden}
.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
h1{font-size:23px;margin:0;letter-spacing:-.04em;color:#111827}
.subtitle{margin:5px 0 0;color:var(--muted);font-size:13px}
.actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.summary{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:10px;margin-bottom:14px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:13px;min-height:76px}
.card-label{font-size:12px;color:var(--muted);font-weight:900;margin-bottom:7px}
.card-value{font-size:20px;font-weight:950;letter-spacing:-.04em;color:#111827}
.card-note{font-size:12px;color:var(--muted);margin-top:4px}
.card-value.inventory-value,.dash-value.inventory-value{font-size:18px;line-height:1.16;letter-spacing:0;white-space:nowrap}
.workspace{display:grid;grid-template-columns:1fr 390px;gap:14px;align-items:start}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:visible}
.panel-head{padding:8px 10px;border-bottom:1px solid var(--line);display:flex;gap:6px;align-items:center;flex-wrap:nowrap;overflow-x:auto;overflow-y:visible;white-space:nowrap;position:relative;z-index:50}
.panel-title{font-weight:950;margin-right:auto}
.search{min-width:260px;max-width:300px;flex:0 0 300px}.panel-head select{width:auto;min-width:82px}.panel-head button{white-space:nowrap;padding:7px 9px}
.set-focus-chip{min-height:var(--control-h);border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:950}
.set-focus-chip.hidden{display:none}
.item-pagination{display:flex;align-items:center;gap:5px;margin-left:auto}.item-pagination select{min-width:72px}.item-pagination button{width:30px;padding:7px 0}.item-pagination span{min-width:42px;text-align:center;font-size:12px;font-weight:850}
.item-pagination .item-page-info{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:70px;color:#475569}
.item-pagination #itemPageInput{width:34px;min-height:30px;height:30px;padding:0 4px;text-align:center;border-radius:var(--radius-sm);font-size:12px;font-weight:900}
.item-pagination #itemPageTotal{font-weight:900;color:#64748b}
.table-wrap{overflow:auto;max-height:calc(100vh - 285px)}
table{width:100%;border-collapse:separate;border-spacing:0;min-width:1270px;font-size:13px;table-layout:fixed}
th{position:sticky;top:0;height:var(--table-row-h);background:var(--head);z-index:1;border-bottom:1px solid var(--line);text-align:left;padding:0 8px;font-size:12px;color:#374151;white-space:nowrap}
td{height:var(--table-row-h);border-bottom:1px solid #edf0f5;padding:0 8px;white-space:nowrap;vertical-align:middle}
tbody tr:hover{background:#f9fbff}
tbody tr.selected{background:#eef5ff}
tbody tr.multi-selected{background:#fff9ec}
.num{text-align:right;font-variant-numeric:tabular-nums}
.name{max-width:280px;overflow:hidden;text-overflow:ellipsis}
.muted{color:var(--muted)}
.badge{display:inline-flex;align-items:center;justify-content:center;min-height:var(--badge-h);padding:0 9px;border-radius:999px;font-size:12px;font-weight:950;border:1px solid transparent;line-height:1}
.sold{background:#e7f8ef;color:var(--good);border-color:#bce9d0}
.listed{background:#fff7ed;color:var(--warn);border-color:#fed7aa}
.stock{background:#eff6ff;color:#2563eb;border-color:#bfdbfe}
.wait{background:#f3f4f6;color:#4b5563;border-color:#e5e7eb}
.hold{background:#fef2f2;color:var(--bad);border-color:#fecaca}
.used{display:inline-flex;align-items:center;justify-content:center;min-height:22px;background:#111827;color:#fff;border-radius:999px;padding:0 7px;font-size:11px;font-weight:950;line-height:1}
.new{display:inline-flex;align-items:center;justify-content:center;min-height:22px;background:#eef2ff;color:#374151;border-radius:999px;padding:0 7px;font-size:11px;font-weight:950;line-height:1}
.profit-plus{color:var(--good);font-weight:950}
.profit-minus{color:var(--bad);font-weight:950}
.side{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;position:sticky;top:18px}
.side-head{padding:14px;border-bottom:1px solid var(--line);background:#fbfcff}
.side-head h2{margin:0;font-size:17px;letter-spacing:-.04em}
.side-head p{display:none;margin:0;font-size:12px;color:var(--muted)}
.tabs{display:flex;border-bottom:1px solid var(--line);background:#fff}
.tab{flex:1;text-align:center;padding:10px;font-weight:900;cursor:pointer;border-bottom:3px solid transparent}
.tab.active{color:var(--accent);border-bottom-color:var(--accent)}
.form{padding:14px;display:grid;gap:10px;max-height:calc(100vh - 260px);overflow:auto}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}
.field{display:grid;gap:5px}
.field label{font-size:12px;font-weight:950;color:#4b5563}
.quick-section{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:10px;display:grid;gap:9px}
.quick-section-title{font-size:12px;font-weight:950;color:#111827;display:flex;align-items:center;justify-content:space-between}
.sale-history-section{background:#fbfcff}
.sale-history-list{display:grid;gap:8px}
.sale-history-row{border:1px solid #e5eaf2;border-radius:var(--radius);background:#fff;padding:9px;display:grid;gap:8px}
.sale-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sale-history-head b{font-size:12px}
.sale-history-row input,.sale-history-row select{min-height:32px;height:32px;border-radius:var(--radius-sm);font-size:12px;padding:0 8px}
.form.quick-edit-lines{gap:0}
.form.quick-edit-lines .quick-section{
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  background:transparent;
  padding:12px 0;
  gap:10px;
}
.form.quick-edit-lines .quick-section:first-of-type{
  border-top:0;
  padding-top:0;
}
.form.quick-edit-lines .quick-sale-summary{
  background:transparent;
}
.form.quick-edit-lines .quick-profit-box{
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  background:transparent;
  padding:12px 0 0;
}
.form.quick-edit-lines .detail-toggle-line{
  border-top:1px solid var(--line);
  margin-top:0;
  padding-top:12px;
}
.form.quick-edit-lines .item-detail-box{
  border:0;
  border-radius:0;
  background:transparent;
  padding:0;
}
.quick-tight input{text-align:center}
.quick-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.quick-info-cell{border:1px solid #e5e7eb;border-radius:var(--radius-sm);background:#f8fafc;padding:8px;min-width:0}
.quick-info-cell span{display:block;font-size:11px;font-weight:850;color:#64748b;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quick-info-cell b{display:flex;align-items:center;gap:5px;min-height:20px;font-size:12px;font-weight:950;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quick-sale-channel{display:inline-flex!important;align-items:center;gap:5px;margin:0!important;color:#111827!important}
.quick-sale-channel span{display:inline;margin:0;color:#111827;overflow:visible;text-overflow:clip}
.quick-sale-channel .market-icon{width:16px;height:16px;flex:0 0 16px}
.quick-sale-summary{background:#fbfcff}
.quick-profit-box{border-style:solid;background:#fbfcff}
.checks{display:flex;gap:8px;flex-wrap:wrap}
.check{min-height:var(--control-h);display:flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:var(--radius);padding:0 10px;font-size:12px;font-weight:850}
.check input{width:auto}
.channel-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.channel-buttons-sold{grid-template-columns:repeat(2,minmax(0,1fr))}
.channel-check{position:relative;display:block;min-width:0}
.channel-check input{position:absolute;opacity:0;pointer-events:none}
.channel-choice,
.channel-choice-body{width:100%;height:var(--control-h);border:1px solid var(--line);border-radius:var(--radius);background:#fff;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;font-size:12px;font-weight:950;color:#475569;box-sizing:border-box;white-space:nowrap;cursor:pointer}
.channel-choice{appearance:none;font-family:inherit}
.channel-choice:hover,
.channel-choice-body:hover{border-color:#b6c3d6;background:#f8fafc}
.channel-choice.active,
.channel-check input:checked + .channel-choice-body{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px rgba(37,99,235,.15)}
.channel-choice .market-icon,
.channel-choice-body .market-icon{width:18px;height:18px;flex:0 0 18px;margin:0}
.offline-icon,
.channel-special-icon{background:#111827;color:#fff;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:950;line-height:1}
.channel-special-icon{background:#e2e8f0;color:#334155}
.offline-icon::before{content:"오"}
.channel-special-icon::before{content:attr(data-symbol)}
.set-link-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 2px}
.set-link-head span{font-size:12px;font-weight:950;color:#4b5563}
.set-link-head b{font-size:11px;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:2px 7px}
.sell-form{display:grid;gap:10px}
.sell-form .field{min-width:0}
.sell-form input[disabled]{background:#f8fafc;color:#475569}
.calc-box{background:#f9fafb;border:1px dashed #cbd5e1;border-radius:10px;padding:11px;display:grid;gap:8px}
.calc-line{display:flex;justify-content:space-between;gap:12px;font-size:13px}
.calc-line strong{font-size:16px}
.foot{padding:12px 14px;border-top:1px solid var(--line);display:flex;gap:8px;justify-content:flex-end;background:#fff}
.modal-back{position:fixed;inset:0;background:rgba(15,23,42,.42);display:none;align-items:center;justify-content:center;z-index:10;padding:20px}
.modal{width:min(960px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;border:1px solid var(--line);box-shadow:0 20px 60px rgba(0,0,0,.18)}
.modal-head{padding:16px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}
.modal-head h3{margin:0;font-size:18px}
.modal-body{padding:16px}
.bundle-table{min-width:720px}
.setting-grid{display:grid;grid-template-columns:1fr 120px;gap:8px;align-items:center}.fee-grid{display:grid;grid-template-columns:90px repeat(3,1fr) 70px;gap:8px;align-items:center}.fee-grid input{text-align:left}.batch-filter{position:relative;display:inline-block;z-index:99999}.batch-filter-btn{height:34px;min-width:105px;text-align:left}.batch-menu{position:fixed;top:0;left:0;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px rgba(15,23,42,.18);padding:10px;z-index:999999;width:420px;display:none;white-space:normal}.batch-menu.open{display:block}.batch-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}.batch-chip{padding:6px 0;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:850;font-size:12px;text-align:center;cursor:pointer}.batch-chip.active{background:#2563eb;border-color:#2563eb;color:#fff}.batch-menu-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.batch-menu-head button{font-size:12px;padding:6px 8px}.toast{position:fixed;right:18px;bottom:18px;background:#111827;color:#fff;padding:11px 13px;border-radius:10px;font-weight:850;display:none;z-index:20}
.hidden{display:none!important}
.help{font-size:12px;color:var(--muted);line-height:1.45}
.import-disabled{padding:18px;border:1px dashed #cbd5e1;border-radius:12px;background:#f9fafb;color:#4b5563}
	.icon-row{display:inline-flex;gap:3px;align-items:center}
	.market-icon{width:20px;height:20px;object-fit:contain;display:inline-block;vertical-align:middle;border-radius:5px}.chan{width:20px;height:20px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:950;color:#fff;line-height:1}
	.chan.ss{background:#00c73c}.chan.cp{background:#e11d48}.chan.bj{background:#f59e0b;color:#111827}
	.sync-table{min-width:1360px;table-layout:fixed}
	.sync-table .sync-col-channel{width:44px}
	.sync-table .sync-col-date{width:92px}
	.sync-table .sync-col-product{width:330px}
	.sync-table .sync-col-qty{width:46px}
	.sync-table .sync-col-money{width:84px}
	.sync-table .sync-col-ship{width:68px}
	.sync-table .sync-col-match{width:250px}
	.sync-table .sync-col-score{width:140px}
	.sync-table .sync-col-ledger{width:96px}
	.sync-table .sync-col-action{width:96px}
	.sync-table .sync-col-buttons{width:114px}
	.sync-table th,.sync-table td{overflow:hidden;text-overflow:ellipsis}
	.sync-table th:first-child,.sync-table td.sync-channel{text-align:center;padding-left:4px;padding-right:4px}
	.sync-table .sync-product,.sync-table .sync-score,.sync-table .sync-ledger,.sync-table .sync-action{white-space:nowrap}
	.sync-table .sync-match{white-space:normal}
	.sync-table .sync-match input{width:100%;min-width:0;padding:4px 6px;font-size:12px}
	.sync-table .sync-subline{display:block;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
	.sync-table .sync-buttons{white-space:nowrap;overflow:visible}
	.sync-table .sync-buttons button{padding:4px 6px;font-size:11px}
	.inline{border:1px solid transparent;background:transparent;padding:4px 5px;min-width:28px;border-radius:6px}
.inline:hover{border-color:#cbd5e1;background:#fff}
.inline:focus{background:#fff;border-color:#93b4ff;outline:2px solid var(--accent-soft)}.price-input{text-align:left!important}.expected-profit{color:#111827;font-weight:850}.margin-plus{color:var(--good);font-weight:950}.margin-minus{color:var(--bad);font-weight:950}.margin-expected{color:#111827;font-weight:850}
td.chk, th.chk{width:34px;text-align:center;cursor:crosshair;user-select:none}
td.chk input, th.chk input{width:auto}.dragging-select{cursor:crosshair}.purchase-badge{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:6px;font-size:11px;font-weight:950;color:#fff;margin-right:4px}.purchase-badge.direct{background:#2563eb}.purchase-badge.proxy{background:#7c3aed}.sort-head{cursor:pointer;user-select:none}.sort-head:hover{background:#e8eef8}.sort-mark{font-size:10px;color:#2563eb;margin-left:3px}.sticky-1{position:sticky!important;left:0;z-index:3;background:inherit}.sticky-2{position:sticky!important;left:34px;z-index:3;background:inherit}.sticky-3{position:sticky!important;left:90px;z-index:3;background:inherit}.sticky-4{position:sticky!important;left:134px;z-index:3;background:inherit}thead .sticky-1,thead .sticky-2,thead .sticky-3,thead .sticky-4{z-index:5;background:var(--head)}tbody tr:hover .sticky-1,tbody tr:hover .sticky-2,tbody tr:hover .sticky-3,tbody tr:hover .sticky-4{background:#f9fbff}tbody tr.selected .sticky-1,tbody tr.selected .sticky-2,tbody tr.selected .sticky-3,tbody tr.selected .sticky-4{background:#eef5ff}tbody tr.multi-selected .sticky-1,tbody tr.multi-selected .sticky-2,tbody tr.multi-selected .sticky-3,tbody tr.multi-selected .sticky-4{background:#fff9ec}
.bulk-note{background:#fff7ed;border:1px solid #fed7aa;color:#92400e;border-radius:10px;padding:9px;font-size:12px;font-weight:850}
.bulk-summary{border:1px solid var(--line);border-radius:12px;background:#fbfcff;padding:10px;display:grid;gap:6px}
.bulk-summary-head{font-weight:950;color:#111827}
.bulk-summary-count,.bulk-summary-status{font-size:12px;color:var(--muted);font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bulk-summary-row{display:flex;justify-content:space-between;gap:10px;font-size:12px;border-top:1px solid #eef2f7;padding-top:6px}
.bulk-summary-row span{color:#64748b;font-weight:850}
.bulk-summary-row b{font-weight:950}
.bulk-summary-divider{height:1px;background:#e5e7eb;margin:3px 0}

@media(max-width:1250px){.summary{grid-template-columns:repeat(3,1fr)}.workspace{grid-template-columns:1fr}.side{position:static}.table-wrap{max-height:560px}}
@media(max-width:760px){.app{grid-template-columns:1fr}.sidebar{display:none}.main{padding:12px}.summary{grid-template-columns:repeat(2,1fr)}.topbar{flex-direction:column}.row2,.row3{grid-template-columns:1fr}}

.dashboard-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:14px}
.dash-performance{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.dash-performance-head{height:46px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.dash-title-wrap{display:flex;align-items:center;gap:8px}
.dash-title-wrap h3{margin:0;font-size:15px;font-weight:950;color:#111827}
.dash-title-dot{width:18px;height:18px;border-radius:50%;background:#2196f3;box-shadow:inset 0 0 0 5px rgba(255,255,255,.32)}
.dash-asof{font-size:12px;color:#94a3b8;font-weight:850}
.dash-metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:18px 18px 14px}
.dash-metric{min-width:0;padding-right:0;display:grid;grid-template-rows:auto auto auto 38px;align-content:start}
.dash-metric-label{font-size:12px;color:#374151;font-weight:950;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dash-metric-value{font-size:23px;line-height:1.08;font-weight:950;color:#2f343d;letter-spacing:0;margin-bottom:3px}
.dash-metric.primary .dash-metric-value{font-size:28px;color:#111827}
.dash-metric-trend{font-size:12px;font-weight:850;min-height:18px;margin-bottom:8px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dash-trend-up{color:#1683e9}
.dash-trend-down{color:#ef4444}
.dash-trend-flat{color:#94a3b8}
.dash-spark-wrap{position:relative;width:100%;height:38px;color:#7aa7ee}
.dash-spark{position:absolute;inset:0;width:100%;height:100%;display:block}
.dash-spark-dot{position:absolute;width:8px;height:8px;border:2px solid currentColor;border-radius:50%;background:#fff;transform:translate(-50%,-50%);cursor:default;z-index:2}
.dash-spark-tip{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);background:#111827;color:#fff;border-radius:8px;padding:5px 7px;font-size:11px;font-weight:850;white-space:nowrap;box-shadow:0 8px 18px rgba(15,23,42,.22);opacity:0;pointer-events:none;transition:opacity .12s ease;z-index:5}
.dash-spark-dot:hover .dash-spark-tip{opacity:1}
.dash-performance-foot{border-top:1px solid #f1f5f9;padding:10px 18px 12px;font-size:12px;color:#64748b;font-weight:850}
.dash-ops-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dash-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:13px 14px;min-height:78px}
.dash-label{font-size:12px;color:var(--muted);font-weight:950;margin-bottom:7px}
.dash-value{font-size:21px;font-weight:950;letter-spacing:0;color:#111827}
.dash-sub{font-size:12px;color:var(--muted);margin-top:5px}
.dash-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.dash-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.dash-panel-wide{grid-column:1/-1}
.dash-panel-head{padding:12px 14px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#fbfcff}
.dash-panel-head h3{margin:0;font-size:15px;letter-spacing:-.03em}
.dash-table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:13px;font-weight:850;line-height:20px}
.dash-table tr{height:var(--table-row-h)}
.dash-table th{position:static;background:var(--head);z-index:auto}
.dash-table th,.dash-table td{height:var(--table-row-h);padding:0 8px;border-bottom:1px solid #edf0f5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.dash-table td .badge{display:inline-flex;align-items:center;height:22px;padding:0;border:0;background:transparent;border-radius:0;font-size:13px;font-weight:850;line-height:22px}
.dash-channel-cell{display:inline-flex;align-items:center;gap:5px;height:20px;line-height:20px;vertical-align:middle}
.dash-channel-cell .market-icon{width:16px;height:16px;flex:0 0 16px;margin:0;vertical-align:middle}
.dash-table tr[data-dash-channel]:hover,.warn-row:hover{background:#f8fafc}
.dash-warn{display:grid;gap:8px;padding:12px}
.warn-row{display:flex;justify-content:space-between;gap:10px;border:1px solid #edf0f5;border-radius:14px;padding:9px;background:#fff}
.warn-title{font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.warn-meta{color:var(--muted);font-size:12px;white-space:nowrap}
.dash-more-btn{width:100%;min-height:34px;border-style:dashed;color:#475569;background:#fbfcff}
@media(max-width:1250px){.dash-metric-grid{grid-template-columns:repeat(3,1fr);row-gap:18px}.dash-sections{grid-template-columns:1fr}.dash-panel-wide{grid-column:auto}}
@media(max-width:760px){.dash-metric-grid,.dash-ops-grid{grid-template-columns:1fr}.dash-performance-head{height:auto;min-height:46px;align-items:flex-start;flex-direction:column;gap:4px;padding:11px 14px}.dash-metric{padding-right:0}}


.period-bar{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;margin-bottom:14px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.period-bar button{padding:7px 10px}
.period-bar button.active{background:var(--accent);border-color:var(--accent);color:#fff}
.period-bar input{width:145px;padding:7px 8px}
.period-label{font-size:12px;color:var(--muted);font-weight:900;margin-right:4px}
.total-row td{background:#f8fafc;font-weight:950;border-top:1px solid var(--line)}


.batch-manage{display:grid;grid-template-columns:1.05fr 390px;gap:14px;align-items:start}
.batch-detail{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;position:sticky;top:18px}
.batch-detail-head{padding:14px;border-bottom:1px solid var(--line);background:#fbfcff}
.batch-detail-head h2{margin:0;font-size:17px;letter-spacing:-.04em}
.batch-detail-body{padding:14px;display:grid;gap:10px}

.progress-wrap{height:8px;background:#e5e7eb;border-radius:999px;overflow:hidden}
.progress-bar{height:100%;background:#2563eb;border-radius:999px}
.progress-bar.complete{background:var(--good)}
.batch-row-active td{background:#eef5ff!important}
.batch-actions{display:flex;gap:8px;flex-wrap:wrap}
.batch-actions button{font-size:12px;padding:7px 9px}


.batch-item-panel{margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.batch-item-panel .table-wrap{max-height:420px}
.batch-item-table{min-width:1180px}
.batch-item-table input.inline{min-width:28px}


.compact-detail .batch-detail-body{gap:9px}



/* ===== Excel import module ===== */
.import-grid{display:grid;grid-template-columns:340px 1fr;gap:14px;align-items:start}
.import-box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;display:grid;gap:10px}
.import-box h3{margin:0;font-size:15px}
.import-preview{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.import-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.import-stat{border:1px solid var(--line);border-radius:10px;padding:10px;background:#fbfcff}
.import-stat b{display:block;font-size:18px}
.import-error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;border-radius:10px;padding:9px;font-size:12px}
.import-ok{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;border-radius:10px;padding:9px;font-size:12px}
.import-table{min-width:1180px;table-layout:fixed}
.import-table td,.import-table th{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.import-table .c-origin{width:58px}.import-table .c-set{width:42px}.import-table .c-no{width:42px}
.import-table .c-cat{width:78px}.import-table .c-series{width:120px}.import-table .c-name{width:210px}.import-table .c-reg{width:260px}
.import-table .c-price{width:82px}.import-table .c-ship{width:76px}.import-table .c-channel{width:92px}.import-table .c-date{width:76px}.import-table .c-status{width:86px}.import-table .c-upload{width:92px}
.import-table input.import-edit,.import-table select.import-edit{width:100%;min-height:28px!important;height:28px;box-sizing:border-box;border:1px solid transparent;background:transparent;padding:0 5px;border-radius:var(--radius-sm);font-size:12px}
.import-table input.import-edit:focus,.import-table select.import-edit:focus{border-color:#93c5fd;background:#fff;outline:none;box-shadow:0 0 0 2px rgba(37,99,235,.12)}
.import-warn-cell input,.import-warn-cell select{border-color:#f97316!important;background:#fff7ed!important}
.row-warn{font-size:11px;color:#c2410c;margin-top:2px;line-height:1.2}
.cost-preview{border:1px solid var(--line);border-radius:10px;background:#fbfcff;padding:10px;margin-top:10px}
.cost-preview h4{margin:0 0 6px;font-size:13px}
.cost-preview table{width:100%;border-collapse:collapse;font-size:12px}
.cost-preview td{border-top:1px solid #e5e7eb;padding:5px 6px}
.cost-preview .sum{font-weight:950;background:#f8fafc}
.batch-item-panel .table-wrap{max-height:none!important}


/* ===== Batch list unified compact table ===== */
.batch-item-table{min-width:1120px;table-layout:fixed}
.batch-item-table th,.batch-item-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.batch-item-table .tight{width:48px}
.batch-item-table .detail-btn{font-size:12px;padding:5px 8px}
.batch-detail-row td{background:#fbfcff!important;white-space:normal;overflow:visible}
.batch-detail-grid{display:grid;grid-template-columns:120px 1fr 120px 1fr;gap:8px 12px;font-size:12px}
.batch-detail-grid b{color:#64748b}


/* ===== v17 compact batch columns ===== */
.batch-item-table{
  min-width:980px;
  table-layout:fixed;
}
.batch-item-table th:nth-child(1),
.batch-item-table td:nth-child(1){width:42px}
.batch-item-table th:nth-child(2),
.batch-item-table td:nth-child(2){width:42px}
.batch-item-table th:nth-child(3),
.batch-item-table td:nth-child(3){width:54px}
.batch-item-table th:nth-child(4),
.batch-item-table td:nth-child(4){width:74px}
.batch-item-table th:nth-child(5),
.batch-item-table td:nth-child(5){width:110px}
.batch-item-table th:nth-child(6),
.batch-item-table td:nth-child(6){width:330px}
.batch-item-table th:nth-child(7),
.batch-item-table td:nth-child(7){width:78px}
.batch-item-table th:nth-child(8),
.batch-item-table td:nth-child(8){width:78px}
.batch-item-table th:nth-child(9),
.batch-item-table td:nth-child(9){width:78px}
.batch-item-table th:nth-child(10),
.batch-item-table td:nth-child(10){width:70px}
.batch-item-table th:nth-child(11),
.batch-item-table td:nth-child(11){width:58px}
.batch-item-table th:nth-child(12),
.batch-item-table td:nth-child(12){width:76px}
.batch-item-table th:nth-child(13),
.batch-item-table td:nth-child(13){width:82px}
.batch-item-table th:nth-child(14),
.batch-item-table td:nth-child(14){width:62px}
.batch-item-table th:nth-child(15),
.batch-item-table td:nth-child(15){width:58px}
.batch-item-table input.inline{
  width:100%;
  min-width:0!important;
  min-height:28px!important;
  height:28px;
  box-sizing:border-box;
}
.batch-item-table .price-input{
  min-width:0!important;
  text-align:right!important;
}
.batch-item-table td:nth-child(6) input.inline{
  min-width:0!important;
}
.batch-item-table .icon-row{
  gap:2px;
}
.batch-detail-grid{
  grid-template-columns:90px 1fr 90px 1fr;
}


/* ===== v18 unified batch editor ===== */


#itemsSideSlot{display:none}
#batchesView .batch-item-table{
  min-width:1040px;
  table-layout:fixed;
}
#batchesView .batch-item-table th,
#batchesView .batch-item-table td{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#batchesView .batch-item-table th:nth-child(1),
#batchesView .batch-item-table td:nth-child(1){width:34px}
#batchesView .batch-item-table th:nth-child(2),
#batchesView .batch-item-table td:nth-child(2){width:42px}
#batchesView .batch-item-table th:nth-child(3),
#batchesView .batch-item-table td:nth-child(3){width:42px}
#batchesView .batch-item-table th:nth-child(4),
#batchesView .batch-item-table td:nth-child(4){width:54px}
#batchesView .batch-item-table th:nth-child(5),
#batchesView .batch-item-table td:nth-child(5){width:74px}
#batchesView .batch-item-table th:nth-child(6),
#batchesView .batch-item-table td:nth-child(6){width:110px}
#batchesView .batch-item-table th:nth-child(7),
#batchesView .batch-item-table td:nth-child(7){width:340px}
#batchesView .batch-item-table th:nth-child(8),
#batchesView .batch-item-table td:nth-child(8),
#batchesView .batch-item-table th:nth-child(9),
#batchesView .batch-item-table td:nth-child(9),
#batchesView .batch-item-table th:nth-child(10),
#batchesView .batch-item-table td:nth-child(10){width:78px}
#batchesView .batch-item-table th:nth-child(11),
#batchesView .batch-item-table td:nth-child(11){width:70px}
#batchesView .batch-item-table th:nth-child(12),
#batchesView .batch-item-table td:nth-child(12){width:58px}
#batchesView .batch-item-table th:nth-child(13),
#batchesView .batch-item-table td:nth-child(13){width:76px}
#batchesView .batch-item-table th:nth-child(14),
#batchesView .batch-item-table td:nth-child(14){width:82px}
#batchesView .batch-item-table th:nth-child(15),
#batchesView .batch-item-table td:nth-child(15){width:62px}
#batchesView .batch-item-table tr.selected td{background:#eef5ff!important}
#batchesView .batch-item-table tr.multi-selected td{background:#f0fdf4!important}


/* ===== v20 shared item table ===== */
.item-table{table-layout:fixed}
.item-table th,.item-table td{height:var(--table-row-h);vertical-align:middle}
.item-table td{padding-top:5px;padding-bottom:5px}
.item-table input.inline{width:100%;min-width:0!important;min-height:28px!important;height:28px;box-sizing:border-box}
.item-table .date-inline{width:108px!important;padding-left:5px;padding-right:0;font-size:12px;background:transparent}
.item-table .date-inline::-webkit-calendar-picker-indicator{cursor:pointer;opacity:1;margin-left:-4px}
.item-table .name input.inline{font-weight:850}
.item-table th{text-align:center!important}
.item-table td:nth-child(1),
.item-table td:nth-child(2),
.item-table td:nth-child(3),
.item-table td:nth-child(4),
.item-table td:nth-child(5),
.item-table td:nth-child(6),
.item-table td:nth-child(11),
.item-table td:nth-child(12),
.item-table td:nth-child(14),
.item-table td:nth-child(15),
.item-table td:nth-child(16){text-align:center}
.item-table td:nth-child(7),
.item-table td:nth-child(8),
.item-table td:nth-child(13),
.item-table td:nth-child(20){text-align:left}
.item-table td:nth-child(9),
.item-table td:nth-child(10),
.item-table td:nth-child(17),
.item-table td:nth-child(18),
.item-table td:nth-child(19){text-align:right}
.item-table .price-input{text-align:right!important}
.item-table .icon-row{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:28px;width:100%}
.item-table .market-icon{width:18px;height:18px;border-radius:5px}
.item-table .badge{min-height:22px;box-sizing:border-box}
.batch-item-tools{gap:8px;flex-wrap:wrap}
.batch-item-tools .panel-title{min-width:150px}
.batch-item-tools .search{width:240px}
#batchesView .batch-item-table input.inline{width:100%;min-width:0!important;min-height:28px!important;height:28px;box-sizing:border-box}
#batchesView .batch-item-table .price-input{min-width:0!important;text-align:right!important}
#batchesView .batch-item-table tr.selected td{background:#eef5ff!important}
#batchesView .batch-item-table tr.multi-selected td{background:#f0fdf4!important}


/* ===== v22 registered name autocomplete ===== */
input[list="globalRegisteredNameSuggestions"]{
  background-image:linear-gradient(90deg, rgba(255,247,237,.55), rgba(255,255,255,0));
}


/* ===== v24 batch detail page layout ===== */
.batch-page{
  height:calc(100vh - 92px);
  display:flex;
  flex-direction:column;
  min-height:0;
}
.batch-list-scroll{
  height:calc(100vh - 170px);
  overflow:auto;
}
.batch-list-table{
  min-width:1060px;
}
.batch-list-table tbody tr{
  cursor:pointer;
}
.batch-list-table tbody tr:hover td{
  background:#f8fafc;
}
.batch-detail-page{
  height:calc(100vh - 92px);
  min-height:0;
  align-items:start;
}
.batch-detail-page > .panel{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
}
.batch-item-tools{
  flex-wrap:wrap;
  gap:8px;
}
.batch-item-tools .panel-title{
  min-width:140px;
}
.batch-item-tools .search{
  width:260px;
}
.batch-item-scroll{
  flex:1;
  min-height:0;
  overflow:auto;
}
#batchSharedSide{
  position:sticky;
  top:18px;
  max-height:calc(100vh - 110px);
  overflow:auto;
}
#batchSharedSide .foot{
  position:sticky;
  bottom:0;
  background:#fff;
  border-top:1px solid var(--line);
  padding-top:10px;
  z-index:3;
}
#batchDetailPage .batch-item-table input.inline{
  width:100%;
  min-width:0!important;
  min-height:28px!important;
  height:28px;
  box-sizing:border-box;
}
#batchDetailPage .batch-item-table .price-input{
  min-width:0!important;
  text-align:right!important;
}
#batchDetailPage .batch-item-table tr.selected td{
  background:#eef5ff!important;
}
#batchDetailPage .batch-item-table tr.multi-selected td{
  background:#f0fdf4!important;
}


/* ===== v25 inline input also selects row ===== */
.item-table input.inline:focus,
.batch-item-table input.inline:focus{
  outline:2px solid rgba(37,99,235,.22);
  border-color:#93c5fd;
  background:#fff;
}


/* ===== v31 JSON backup buttons ===== */
.nav-tool{
  width:100%;display:block;border:0;background:transparent;color:#d1d5db;
  text-align:left;padding:10px 12px;border-radius:10px;cursor:pointer;font:inherit;font-size:14px;
}
.nav-tool:hover{background:rgba(255,255,255,.08);color:#fff}
.nav-tool.danger-tool{color:#fca5a5}
.nav-tool.danger-tool:hover{background:rgba(248,113,113,.14);color:#fecaca}
#importJsonFile.hidden{display:none}


/* ===== v32 item detail links/images ===== */
.detail-toggle-line{
  display:flex;align-items:center;gap:8px;margin-top:2px;
}
.item-detail-box{
  border:1px solid var(--line);
  border-radius:12px;
  background:#fbfcff;
  padding:10px;
  display:grid;
  gap:10px;
}
.detail-img-preview{
  width:100%;
  max-height:220px;
  object-fit:contain;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
}
.detail-empty{
  color:#94a3b8;
  font-size:12px;
  padding:18px;
  text-align:center;
  border:1px dashed #cbd5e1;
  border-radius:10px;
  background:#fff;
}
.detail-link-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.link-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  color:#2563eb;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}
.link-btn:hover{
  background:#eff6ff;
}
.detail-meta{
  display:grid;
  gap:6px;
  font-size:12px;
  color:#475569;
}
.detail-meta div{
  display:grid;
  grid-template-columns:70px 1fr;
  gap:8px;
}
.detail-meta b{
  color:#64748b;
}


/* ===== v34 batch cost breakdown ===== */
.batch-list-table{
  min-width:1240px;
}
.calc-line.total-line{
  border-top:1px solid var(--line);
  margin-top:4px;
  padding-top:8px;
}


/* ===== v36 flexible shipping input ===== */
#sShippingInput,#msShippingInput{
  font-weight:700;
}


/* ===== v39 simplified batch management ===== */
.batch-simple-page{
  height:calc(100vh - 92px);
  min-height:0;
  align-items:start;
}
.batch-simple-page > .panel{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
}
.batch-simple-page .batch-list-scroll{
  flex:1;
  min-height:0;
  overflow:auto;
}
#batchSettingsSide{
  position:sticky;
  top:18px;
  max-height:calc(100vh - 110px);
  overflow:auto;
}
#batchSettingsSide .foot{
  position:sticky;
  bottom:0;
  background:#fff;
  border-top:1px solid var(--line);
  padding-top:10px;
  z-index:3;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}


/* ===== v40 disposed status ===== */
.badge.disposed{
  background:#f1f5f9;
  color:#475569;
  border-color:#cbd5e1;
}
.badge.refund{
  background:#fff1f2;
  color:#be123c;
  border-color:#fecdd3;
}


/* ===== v41 import clear and batch columns ===== */
.file-pick-row{
  display:grid;
  grid-template-columns:1fr 34px;
  gap:6px;
  align-items:center;
}
.file-clear-btn{
  height:34px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:8px;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  color:#64748b;
}
.file-clear-btn:hover{
  background:#fee2e2;
  border-color:#fecaca;
  color:#dc2626;
}
.batch-list-table{
  min-width:1460px;
}
.batch-list-table th.batch-date-col,
.batch-list-table td.batch-date-cell{
  width:62px;
  max-width:62px;
}
.batch-list-table th.batch-status-col,
.batch-list-table td.batch-status-cell{
  width:54px;
  max-width:54px;
}
.batch-list-table th.batch-progress-col,
.batch-list-table td.batch-progress-cell{
  width:150px;
  min-width:150px;
}
.progress-wrap.wide{
  width:112px;
  display:inline-block;
  vertical-align:middle;
  margin-right:6px;
}


/* ===== v42 batch remaining stock value ===== */
.batch-plain-money{
  color:#111827;
  font-weight:400;
}


/* ===== v43 batch table compact count columns ===== */
.batch-list-table{
  min-width:1420px;
}
.batch-list-table th.batch-count-col,
.batch-list-table td.batch-count-cell{
  width:42px;
  max-width:42px;
  min-width:42px;
}
.batch-list-table th.batch-progress-col,
.batch-list-table td.batch-progress-cell{
  width:210px;
  min-width:210px;
}
.progress-wrap.wide{
  width:166px;
}


/* ===== v47 hidden field access and editable batch common costs ===== */
.item-detail-box input[readonly]{background:#f1f5f9;color:#475569}
.batch-cost-editor{display:grid;gap:7px}
.batch-cost-edit-row{display:grid;grid-template-columns:1fr 120px;gap:8px;align-items:center}
.batch-cost-edit-row span{font-size:13px;font-weight:800;color:#475569}
.batch-cost-edit-row input{text-align:right;font-weight:800}
.batch-cost-note{font-size:11px;line-height:1.45}

/* v53 UX patches */
.search-clear-wrap{position:relative;display:inline-flex;align-items:center;flex:0 0 300px;min-width:260px;max-width:300px}
.search-clear-wrap .search{flex:1 1 auto;width:100%;min-width:0;max-width:none;padding-right:28px}
.search-clear-btn{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:0;border-radius:50%;background:#e5e7eb;color:#334155;font-weight:950;line-height:18px;padding:0;display:none;align-items:center;justify-content:center;cursor:pointer}
.search-clear-wrap.has-value .search-clear-btn{display:inline-flex}
.search-clear-btn:hover{background:#cbd5e1}
.batch-sort-head{cursor:pointer;user-select:none}
.batch-sort-head:hover{background:#e8eef8}
.batch-sort-mark{font-size:10px;color:#2563eb;margin-left:3px}
.calc-line.minus span,.calc-line.minus b{color:#dc2626!important}
.calc-line.final-profit{border-top:1px solid #e5e7eb;padding-top:6px;margin-top:2px}
.nav-tool:disabled{opacity:.45;cursor:not-allowed}

/* v54 token autocomplete */
.token-autocomplete-menu{
  position:fixed;
  z-index:9999;
  max-height:280px;
  overflow:auto;
  padding:6px;
  background:#fff;
  border:1px solid #d7dde8;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(15,23,42,.18);
}
.token-autocomplete-item{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:8px 10px;
  border:0;
  border-radius:9px;
  background:transparent;
  text-align:left;
  cursor:pointer;
  font:inherit;
}
.token-autocomplete-item:hover,.token-autocomplete-item.active{background:#f3f6fb;}
.token-autocomplete-item span{font-weight:700;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.token-autocomplete-item small{color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* v55 smartstore product list import */
.market-import-box{margin-top:16px;padding-top:14px;border-top:1px solid #e5e7eb;}
.market-import-box h3{margin:0 0 6px;font-size:14px;}
.market-import-box input[type="file"]{width:100%;font-size:12px;}
.market-import-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;}
.market-import-actions button{font-size:12px;padding:7px 10px;}
.order-match-input{width:100%;min-width:220px;padding:6px 8px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font-size:12px;box-sizing:border-box}
.order-match-input:focus{outline:2px solid rgba(59,130,246,.25);border-color:#93c5fd}

/* ===== v26 shared UI token normalization ===== */
.modal,
.period-bar,
.batch-detail,
.batch-item-panel,
.import-box,
.import-preview,
.token-autocomplete-menu{
  border-radius:var(--radius);
}
.calc-box,
.bulk-note,
.bulk-summary,
.import-disabled,
.import-stat,
.import-error,
.import-ok,
.cost-preview{
  border-radius:var(--radius-sm);
}
.batch-filter-btn,
.file-clear-btn,
.order-match-input{
  min-height:var(--control-h);
  height:var(--control-h);
  border-radius:var(--radius);
}
.search-clear-btn{
  width:20px;
  height:20px;
  min-height:20px;
  border-radius:50%;
}
.batch-chip,
.token-autocomplete-item,
.link-btn{
  border-radius:var(--radius-sm);
}
.panel-head button,
.batch-actions button,
.market-import-actions button,
.sync-table .sync-buttons button{
  min-height:var(--control-h);
  border-radius:var(--radius);
  padding:0 var(--control-pad-x);
}

/* ===== final table alignment: batch list + batch filter ===== */
.batch-menu{
  width:min(420px, calc(100vw - 24px));
}
.batch-grid{
  grid-template-columns:repeat(8,minmax(0,1fr));
}
.batch-chip{
  width:100%;
  min-width:0;
  min-height:34px;
  height:34px;
  padding:0;
  line-height:1;
}
.batch-list-table{
  min-width:1318px;
  table-layout:fixed;
}
.batch-list-table th,
.batch-list-table td{
  overflow:hidden;
  text-overflow:ellipsis;
}
.batch-list-table th.batch-date-col,
.batch-list-table td.batch-date-cell,
.batch-list-table th.batch-status-col,
.batch-list-table td.batch-status-cell,
.batch-list-table th.batch-count-col,
.batch-list-table td.batch-count-cell,
.batch-list-table th.batch-progress-col,
.batch-list-table td.batch-progress-cell{
  width:auto;
  min-width:0;
  max-width:none;
}
.batch-list-table .progress-wrap.wide{
  width:112px;
}
.batch-list-table td.batch-progress-cell{
  text-align:left!important;
}
.batch-progress-meter{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  width:100%;
}
.batch-progress-meter .progress-wrap.wide{
  flex:0 0 112px;
  width:112px;
  margin-right:0;
}
.batch-progress-rate{
  flex:0 0 34px;
  text-align:left;
  font-variant-numeric:tabular-nums;
}
.used-toggle{
  border:0;
  cursor:pointer;
}
.used-toggle:hover{
  filter:brightness(.97);
}
.used-toggle.used:hover{
  background:#111827;
}
.used-toggle.new:hover{
  background:#eef2ff;
}
.item-table{
  min-width:1726px;
}
.sticky-4{
  left:130px!important;
}
