/* Phân hệ Nghiệp vụ Trung tâm: biểu đồ cột thuần CSS (không dùng thư viện ngoài), dùng design token của site.css */
.nv-chart { display: flex; align-items: flex-end; gap: .4rem; height: 200px; border-bottom: 1px solid var(--svl-border); padding-top: .5rem; }
.nv-chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; min-width: 0; }
.nv-chart-bars { flex: 1; display: flex; align-items: flex-end; gap: 2px; width: 100%; justify-content: center; }
.nv-bar { display: block; width: 42%; min-height: 2px; border-radius: 3px 3px 0 0; }
.nv-chart-label { font-size: .7rem; color: var(--svl-muted); margin-top: .25rem; white-space: nowrap; }
.nv-bar-a { background: var(--svl-primary); }
.nv-bar-b { background: var(--svl-success); }
.nv-hbar { height: 6px; background: var(--svl-bg); border-radius: 3px; margin-top: 2px; overflow: hidden; }
.nv-hbar > span { display: block; height: 100%; border-radius: 3px; }
.nv-legend { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; vertical-align: -1px; }
.nv-thread { border-left: 3px solid var(--svl-border); padding-left: .75rem; margin-bottom: .75rem; }
.nv-thread.is-center { border-left-color: var(--svl-primary); }
.nv-thread.is-internal { border-left-color: var(--svl-gold); background: var(--svl-bg); }
.nv-checkin-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.6rem; letter-spacing: .2rem; font-weight: 700; }
/* DEF-CT-131: QR check-in (ảnh nét, nền trắng để quét được cả khi giao diện tối) và khung quét camera của cán bộ */
.nv-checkin-qr { display: block; width: 200px; max-width: 100%; height: auto; image-rendering: pixelated; background: #fff; padding: 8px; border-radius: .5rem; }
.nv-quet-qr { position: relative; max-width: 420px; }
.nv-quet-qr video { width: 100%; border-radius: .5rem; background: #000; }
.nv-quet-qr canvas { display: none; }
.nv-score { font-size: 2rem; font-weight: 700; line-height: 1; }
@media print { .page-actions, .filter-card, form, .btn { display: none !important; } }

/* DEF-CT-179: bảng doanh nghiệp tại phiên: ô gian hàng đủ rộng, nút Từ chối mở ô lý do */
.nv-bang-dn .nv-o-gian-hang { min-width: 8rem; }
.nv-bang-dn .col-actions { min-width: 11rem; }
.nv-tu-choi > summary { list-style: none; }
.nv-tu-choi > summary::-webkit-details-marker { display: none; }
.nv-tu-choi[open] { flex-basis: 100%; }
