/* HCL ONE — module TỔ CHỨC · 1.0 (s10-o): người dùng theo cây đơn vị (#/to-chuc/nguoi-dung). Lớp riêng .tnd-* */
.tnd-luoi { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
@media (min-width: 1024px) { .tnd-luoi { grid-template-columns: minmax(260px, 320px) 1fr; } }
.tnd-trai { padding: 10px; max-height: 42vh; overflow: auto; }
@media (min-width: 1024px) { .tnd-trai { max-height: calc(100vh - 170px); position: sticky; top: 8px; } }
.tnd-cay, .tnd-cay ul { list-style: none; margin: 0; padding: 0; }
.tnd-cay ul { padding-left: 14px; }
.tnd-dong { display: flex; align-items: center; gap: 4px; min-height: 34px; }
.tnd-mo { width: 24px; height: 24px; border: 0; background: none; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: inherit; cursor: pointer; flex: none; }
.tnd-mo svg { transition: transform .15s; }
.tnd-mo[aria-expanded="true"] svg { transform: rotate(90deg); }
.tnd-mo.trong { cursor: default; }
.tnd-ten { flex: 1; min-width: 0; text-align: left; border: 0; background: none; padding: 6px 4px; border-radius: 6px; font: inherit; color: inherit; cursor: pointer; overflow-wrap: anywhere; }
.tnd-ten:hover { background: rgba(127, 127, 127, .12); }
.tnd-nut.chon > .tnd-dong > .tnd-ten { font-weight: 700; background: rgba(46, 125, 50, .14); }
.tnd-dem { font-size: 12px; opacity: .75; padding: 0 6px; flex: none; }
.tnd-phai { min-width: 0; }
.tnd-cong-cu { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.tnd-cong-cu select { min-height: 36px; max-width: 100%; }
.tnd-tim { flex: 1 1 220px; min-width: 0; margin: 0; }
.tnd-nhieu { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; width: 100%; }
.tnd-nhieu:empty { display: none; }
.tnd-dau { margin: 4px 0 8px; }
.tnd-cuon { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.tnd-bang { width: 100%; border-collapse: collapse; font-size: 14px; }
.tnd-bang th, .tnd-bang td { padding: 7px 8px; border-bottom: 1px solid var(--vien, rgba(127, 127, 127, .25)); text-align: left; vertical-align: top; }
.tnd-bang th { font-size: 12px; text-transform: none; white-space: nowrap; position: sticky; top: 0; background: var(--the, var(--nen)); }
.tnd-bang td.so, .tnd-bang th.so { text-align: right; }
.tnd-bang .tnd-dn { overflow-wrap: anywhere; }
.tnd-o-chon { width: 32px; }
.tnd-rong { text-align: center; padding: 18px; }
.tnd-trang { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.tnd-vai-chon { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 10px; max-height: 200px; overflow: auto; }
.tnd-vai-chon label { display: flex; gap: 6px; align-items: center; font-weight: 400; }
.tnd-mk { display: grid; gap: 6px; margin: 8px 0 12px; }
.tnd-mk > div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.tnd-mk code { font-size: 18px; letter-spacing: .04em; }
.tnd-mk-to { font-size: 30px; letter-spacing: .04em; }
.tcc-ngung-ds { margin: 8px 0 12px; padding-left: 18px; }
.tcc-ngung-ds li { margin: 4px 0; }
.tnd-cong-cu select { width: auto; flex: 0 1 200px; }
.tnd-cong-cu .hc-nut { flex: none; }
.tnd-bang th.tnd-o-chon, .tnd-bang td.tnd-o-chon { vertical-align: middle; }

/* 1.3 (s13-b · rà soát B7.3): tài khoản đã khoá vẫn hiện — dòng mờ "Đã khoá · lý do · ngày" + nút "Mở khoá"; lọc "Hiện tài khoản đã khoá" */
.tnd-hien-khoa { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.tnd-hien-khoa input { width: 18px; height: 18px; margin: 0; }
.tnd-bang tr.tnd-khoa > td { color: var(--chu-phu, #6b7280); }
.tnd-bang tr.tnd-khoa > td > * { opacity: .72; }
.tnd-bang tr.tnd-khoa > td .tnd-mo-khoa { opacity: 1; margin-top: 6px; white-space: nowrap; min-height: 36px; }
.tnd-khoa-ly { font-size: 12.5px; margin-top: 4px; min-width: 160px; max-width: 280px; overflow-wrap: anywhere; color: var(--do, #b42318); font-weight: 600; }
