/* CHIP VĂN PHÒNG · TAB · LUỒNG VIỆC · TĂNG TRƯỞNG · SỔ TAY · ĐĂNG NHẬP (mật khẩu). Không min-width cứng, không cuộn ngang. */
.cham-truc-tiep { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--ink-600); }
.cham-truc-tiep.song { background: var(--ok); animation: nhip 1.8s infinite; }
.cham-truc-tiep.mat { background: var(--warn); }

.cham-vp { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--mau-vp, var(--signal)); }
.chip-vp .chip { gap: 7px; }
.chip-vp .chip[aria-pressed="true"] { border-color: var(--mau-vp); color: var(--mist-100); background: color-mix(in srgb, var(--mau-vp) 14%, transparent); }
.dau-toi { width: 13px !important; height: 13px !important; opacity: .7; }
.dau-trang { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.dau-trang .tieu-de-trang { margin-bottom: 0; }

.thanh-tab { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--vien); }
.tab {
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 6px;
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--mist-500); font-weight: 600; font-size: 13.5px;
}
.tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tab:hover { color: var(--mist-100); }
.tab[aria-selected="true"] { color: var(--signal-strong); border-bottom-color: var(--mau-vp, var(--signal)); }
.noi-dung-tab { display: block; }

/* Luồng việc */
.trang-luong .chip-vp, .trang-luong .chip-vai { margin-bottom: 10px; }
.chip-vai .chip { min-height: 36px; padding: 2px 11px; font-size: 12.5px; }
.cham-vai { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ds-luong { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.dong-luong {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 12px 8px 10px;
  border: 1px solid var(--vien); border-left: 3px solid var(--mau-vp); border-radius: 12px; background: rgba(14, 19, 27, .8);
}
.dong-luong.moi { animation: vao .3s ease-out both; }
.dong-luong.loai-loi { background: rgba(255, 138, 122, .06); }
.dong-luong.loai-xong .luong-chu { color: var(--mist-100); }
.luong-chu { color: var(--mist-300); font-size: 13.5px; line-height: 1.4; min-width: 0; }
.luong-ai { position: relative; display: inline-flex; }
.luong-ai .cham-vp { position: absolute; right: -3px; bottom: -3px; border: 2px solid var(--ink-900); box-sizing: content-box; width: 7px; height: 7px; }
.luong-loai .bieu-tuong { width: 18px; height: 18px; display: block; }
.dong-luong time { font-size: 11.5px; min-width: 5ch; text-align: right; }

/* Tăng trưởng, sổ tay */
.bd-tang-truong { min-height: 0; }
.bd-tang-truong svg { max-height: 240px; }
.bd-cot-luat { fill: var(--mist-500); opacity: .38; }
.duong-nho { width: 54px; height: 14px; flex: none; overflow: visible; }
.so-tay { display: grid; gap: 10px; }
.so-tay-chu { color: var(--mist-300); line-height: 1.6; font-size: 13.5px; }
@media (max-width: 420px) { .o-phai .duong-nho { display: none; } }

/* Đăng nhập: ô mật khẩu có nút hiện/ẩn */
.o-mat-khau { position: relative; }
.o-mat-khau input { padding-right: 52px; }
.nut-mat { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 10px; color: var(--mist-500); }
.nut-mat:hover, .nut-mat[aria-pressed="true"] { color: var(--signal-strong); }
.nut-mat .bieu-tuong { width: 20px; height: 20px; }
