/* Kênh bán hàng › tab Hiệu quả — CSS riêng (tách khỏi sales-channel.css 12/11/2026). Chỉ token. */
/* B282 · tab ⑤ Hiệu quả (06, 11/11/2026) — chỉ token. Bố cục thẻ số tự chia cột theo bề rộng (không cần @media). */
.swv-perf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-2); margin-top: var(--space-2); }
.swv-perf-q { width: 100%; margin-top: var(--space-2); }
.swv-ptabs { margin: var(--space-3) 0 var(--space-2); }
.swv-sub-path { font-weight: var(--weight-normal); overflow-wrap: anywhere; }
.swv-pgrp-w { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-2); }
.swv-pgh { display: flex; align-items: center; gap: var(--space-1); width: 100%; padding: var(--space-1) var(--space-2); border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--bg-surface-soft); font: inherit; text-align: left; color: var(--text-primary); cursor: pointer; }
.swv-pgh b { font-size: var(--font-meta); font-weight: var(--weight-semibold); text-transform: uppercase; color: var(--text-secondary); }
.swv-pgh em { margin-left: auto; font-style: normal; font-size: var(--font-meta); color: var(--text-secondary); text-align: right; }

/* 12/11/2026 · tab Hiệu quả theo mẫu hieu_qua_v1 (06) — chỉ token. Bố cục chỉ đổi ở ≤900px. */
.swv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-2) 0; }
.swv-kpi { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-2) var(--space-3); border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--bg-surface); min-width: 0; }
.swv-kpi-l { font-size: var(--font-meta); color: var(--text-secondary); }
.swv-kpi-l em { font-style: normal; font-size: var(--font-meta); padding: 0 var(--space-1); border-radius: var(--radius-sm); background: var(--bg-surface-soft); color: var(--text-secondary); }
.swv-kpi-v { font-size: var(--text-metric); font-weight: var(--weight-bold); color: var(--text-primary); }
.swv-kpi-v.is-none { color: var(--text-muted); }
.swv-kpi small { font-size: var(--font-meta); color: var(--text-secondary); }
.swv-kpi-bad { color: var(--status-danger); font-weight: var(--weight-semibold); }
.swh-pli { display: flex; align-items: center; gap: var(--space-2); width: 100%; text-align: left; }
.swh-pli-main { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.swh-pli-main b, .swh-pli-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swh-pli-num { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; min-width: 3.2em; }
.swh-pli-num b { font-weight: var(--weight-bold); color: var(--text-primary); }
.swh-pli-num small { font-size: var(--font-meta); color: var(--text-secondary); }
.swv-open { font-size: var(--font-help); color: var(--text-link); text-decoration: none; }
.swv-sum { display: flex; align-items: flex-end; gap: var(--space-4); margin: var(--space-2) 0; flex-wrap: wrap; }
.swv-chart { display: flex; align-items: flex-end; gap: var(--space-1); height: 6.5rem; flex: 1 1 14rem; max-width: 24rem; border-bottom: 1px solid var(--border-soft); }
.swh-bar { display: flex; align-items: flex-end; flex: 1 1 0; height: 100%; min-width: 0; }
.swh-bar i { display: block; width: 100%; background: var(--brand-primary); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.swh-bh-0 { height: 0; } .swh-bh-1 { height: 10%; } .swh-bh-2 { height: 20%; } .swh-bh-3 { height: 30%; } .swh-bh-4 { height: 40%; } .swh-bh-5 { height: 50%; }
.swh-bh-6 { height: 60%; } .swh-bh-7 { height: 70%; } .swh-bh-8 { height: 80%; } .swh-bh-9 { height: 90%; } .swh-bh-10 { height: 100%; }
.swv-sum-t { display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--font-help); color: var(--text-secondary); }
.swv-sum-t b { font-size: var(--font-card-title); color: var(--text-primary); }
.swv-sum-t b.swv-kpi-bad { font-size: var(--font-help); color: var(--status-danger); }
.swv-tabn { font-style: normal; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: var(--bg-surface-soft); font-size: var(--font-meta); }
.swh-assign { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-2); margin: var(--space-2) 0; padding: var(--space-2) var(--space-3); border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--bg-surface-soft); }
.swh-assign > b, .swh-assign > .swv-note { flex: 1 1 100%; }
.swv-pfoot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-3); flex-wrap: wrap; }
.swv-pfoot .swv-note { flex: 1 1 16rem; margin: 0; }
.swh-lt { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
.swh-lt .swv-perf-q { margin-top: 0; flex: 1 1 auto; min-width: 0; }
.swh-sort { display: flex; align-items: center; gap: var(--space-1); flex: 0 0 auto; font-size: var(--font-meta); color: var(--text-secondary); }
.swh-sort .sc-sel { width: auto; max-width: 9rem; }
.swh-sum-l { display: flex; flex-direction: column; gap: var(--space-1); flex: 1 1 14rem; max-width: 24rem; min-width: 0; }
.swh-sum-l .swv-chart { flex: 0 0 auto; max-width: none; width: 100%; }
.swh-cap { font-size: var(--font-meta); color: var(--text-secondary); }
.swh-carer { display: block; font-size: var(--font-meta); color: var(--text-secondary); }
.swh-src { margin: var(--space-2) 0; border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--bg-surface-soft); }
.swh-src > summary { cursor: pointer; padding: var(--space-2) var(--space-3); font-size: var(--font-help); font-weight: var(--weight-semibold); color: var(--text-secondary); }
.swh-src[open] > summary { border-bottom: 1px solid var(--border-soft); }
.swh-src > :not(summary) { margin-left: var(--space-3); margin-right: var(--space-3); }
.swh-src > ul { margin-top: var(--space-2); }
.swh-gsc { margin-bottom: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--border-soft); }
.swh-gsc-h { margin: 0 0 var(--space-1); font-size: var(--font-help); font-weight: var(--weight-semibold); color: var(--text-primary); }
.swh-foot { align-items: center; justify-content: space-between; }
.swh-foot .swv-note { flex: 1 1 auto; margin: 0; }
@media (max-width: 900px) {
  .swv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swv-pfoot .swv-give { width: 100%; }
}
