/* LA 12/10: biến màu khai cho CẢ hộp thoại (.tu-overlay nằm ở #hopThoai, ngoài .tu-khung) — thiếu thì nút Xác nhận nền trong suốt, chữ trắng chìm */
.tu-khung,
.tu-overlay {
  --tu-teal: var(--t600, #067686);
  --tu-teal-dam: var(--t700, #045864);
  --tu-teal-nhat: var(--t50, #eef6f8);
  --tu-cam: var(--cam, #f9a41c);
  --tu-cam-nhat: var(--cam-nhat, #fff6e6);
  --tu-xanh: var(--xanh, #12855a);
  --tu-xanh-nhat: var(--xanh-nhat, #e6f5ee);
  --tu-do: var(--do, #c93b3b);
  --tu-do-nhat: var(--do-nhat, #fdedec);
  --tu-muc: var(--muc, #16262e);
  --tu-muc-2: var(--muc2, #5c7079);
  --tu-vien: var(--vien, #e5ecee);
  --tu-vien-dam: var(--vien-dam, #d3dfe2);
  --tu-trang: var(--trang, #fff);
  min-width: 0;
  color: var(--tu-muc);
}

.tu-khung *,
.tu-overlay * {
  box-sizing: border-box;
}

.tu-ic {
  width: 17px;
  height: 17px;
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tu-the {
  min-width: 0;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--tu-vien);
  border-radius: 16px;
  background: var(--tu-trang);
  box-shadow: var(--b1, 0 1px 3px rgba(16, 38, 46, .08));
}

.tu-thang {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-align: center;
}

.tu-thang span {
  display: block;
  margin-bottom: 2px;
  color: var(--tu-muc-2);
  font-size: 11.5px;
  font-weight: 700;
}

.tu-thang h1 {
  margin: 0;
  color: var(--tu-teal-dam);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.tu-nut-thang {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--tu-vien-dam);
  border-radius: 11px;
  background: var(--tu-trang);
  color: var(--tu-teal-dam);
  font-size: 22px;
  font-weight: 800;
}

.tu-nut-thang:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.tu-mo-khoa {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--tu-xanh-nhat);
  color: #116b41;
  font-size: 13px;
}

.tu-kpi {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.tu-kpi-nv {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tu-kpi-ql {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tu-o-so {
  position: relative;
  min-width: 0;
  min-height: 96px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--tu-vien);
  border-radius: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tu-mau) 8%, #fff), #fff 78%);
  box-shadow: var(--b1, 0 1px 3px rgba(16, 38, 46, .08));
}

.tu-o-so::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--tu-mau);
}

.tu-o-so span {
  display: block;
  min-height: 2.6em;
  color: var(--tu-mau-dam);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.tu-o-so strong {
  display: block;
  margin-top: 6px;
  color: var(--tu-mau-dam);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  overflow-wrap: normal;
  word-break: keep-all;
}

.tu-so-luong,
.tu-so-phieu {
  --tu-mau: #0369a1;
  --tu-mau-dam: #075985;
}

.tu-so-da-ung,
.tu-so-cho {
  --tu-mau: #a16207;
  --tu-mau-dam: #854d0e;
}

.tu-so-con,
.tu-so-duyet {
  --tu-mau: #0d8a9c;
  --tu-mau-dam: #076e7e;
}

.tu-so-chuyen {
  --tu-mau: #15803d;
  --tu-mau-dam: #166534;
}

.tu-so-chua-thay {
  --tu-mau: #b45309;
  --tu-mau-dam: #78350f;
}

.tu-sao-ke-nho {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 11px;
  background: var(--tu-teal-nhat);
  color: var(--tu-muc-2);
  font-size: 12.5px;
}

.tu-sao-ke-nho b {
  color: var(--tu-teal-dam);
}

.tu-form {
  border-left: 3px solid var(--tu-teal);
}

.tu-tieu-de-khoi {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tu-tieu-de-khoi h2 {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 800;
}

.tu-tieu-de-khoi p {
  margin: 0;
  color: var(--tu-muc-2);
  font-size: 12.5px;
}

.tu-tieu-de-khoi > .tu-ic {
  width: 20px;
  height: 20px;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--tu-teal-nhat);
  color: var(--tu-teal-dam);
}

.tu-form label,
.tu-nhap label {
  display: block;
  margin: 12px 0 5px;
  color: var(--tu-muc-2);
  font-size: 12px;
  font-weight: 700;
}

.tu-nhap label span {
  color: var(--tu-do);
}

.tu-form input,
.tu-form textarea,
.tu-nhap input,
.tu-nhap select,
.tu-nhap textarea {
  width: 100%;
  min-width: 0;
  border: 1.5px solid var(--tu-vien-dam);
  border-radius: 11px;
  background: var(--tu-trang);
  color: var(--tu-muc);
  font: inherit;
}

.tu-form input,
.tu-nhap input,
.tu-nhap select {
  min-height: 44px;
  padding: 9px 11px;
}

.tu-form textarea,
.tu-nhap textarea {
  min-height: 82px;
  padding: 10px 11px;
  resize: vertical;
}

.tu-o-tien {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--tu-vien-dam);
  border-radius: 11px;
  background: var(--tu-trang);
}

.tu-o-tien:focus-within {
  border-color: var(--tu-teal);
  outline: 2px solid var(--tu-teal-nhat);
  outline-offset: 2px;
}

.tu-o-tien input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-variant-numeric: tabular-nums;
}

.tu-o-tien > span {
  padding: 0 12px;
  color: var(--tu-muc-2);
  font-weight: 700;
}

.tu-goi-y {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tu-goi-y::-webkit-scrollbar {
  display: none;
}

.tu-chip-goi-y,
.tu-chip-loc {
  flex: none;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--tu-vien);
  border-radius: 999px;
  background: var(--tu-trang);
  color: var(--tu-teal-dam);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.tu-chip-loc.tu-chon {
  border-color: var(--tu-teal-dam);
  background: linear-gradient(145deg, var(--tu-teal), var(--tu-teal-dam));
  color: #fff;
}

.tu-loi-tuong-tac,
.tu-khoa-form,
.tu-loi-sao-ke {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 12.5px;
}

.tu-loi-tuong-tac,
.tu-loi-sao-ke {
  background: var(--tu-do-nhat);
  color: #a02222;
}

.tu-khoa-form {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--tu-cam-nhat);
  color: #7a4e05;
}

.tu-nut-chinh,
.tu-nut-phu,
.tu-nut-luu,
.tu-nut-nguy,
.tu-nut-copy,
.tu-nut-tao-ho {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.tu-nut-chinh {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  background: var(--tu-cam);
  color: #40260a;
  box-shadow: 0 4px 14px -4px rgba(249, 164, 28, .7);
}

.tu-nut-phu {
  border: 1.5px solid var(--tu-vien-dam);
  background: var(--tu-trang);
  color: var(--tu-teal-dam);
}

.tu-nut-luu {
  border: 0;
  background: var(--tu-teal);
  color: #fff;
}

.tu-nut-nguy {
  border: 1.5px solid #efb1b1;
  background: var(--tu-trang);
  color: var(--tu-do);
}

.tu-nut-copy {
  flex: none;
  border: 1px solid color-mix(in srgb, var(--tu-teal) 35%, #fff);
  background: var(--tu-trang);
  color: var(--tu-teal-dam);
}

.tu-nut-tao-ho {
  border: 0;
  background: var(--tu-cam);
  color: #40260a;
}

.tu-nut-chinh:disabled,
.tu-nut-phu:disabled,
.tu-nut-luu:disabled,
.tu-nut-nguy:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.tu-ds-dau,
.tu-danh-sach-dau,
.tu-dau-ql {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tu-ds-dau {
  margin: 16px 0 8px;
}

.tu-ds-dau h2,
.tu-danh-sach-dau h2 {
  margin: 0;
  font-size: 16px;
}

.tu-ds-dau > span {
  color: var(--tu-muc-2);
  font-size: 12px;
}

.tu-phieu {
  border-left: 3px solid var(--tu-teal);
}

.tu-phieu-dau,
.tu-the-ql-dau {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tu-phieu-so span,
.tu-nhan-nho {
  display: block;
  color: var(--tu-muc-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
}

.tu-phieu-so strong,
.tu-so-tien-ql {
  display: block;
  margin-top: 2px;
  color: var(--tu-teal-dam);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  word-break: keep-all;
}

.tu-nhan {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
}

.tu-nhan-cho {
  background: #fff0dc;
  color: #8a3a0a;
}

.tu-nhan-duyet {
  background: #e0f2f7;
  color: #075985;
}

.tu-nhan-da_chuyen {
  background: #e6f5ea;
  color: #166534;
}

.tu-nhan-chua_thay {
  background: #fef3c7;
  color: #78350f;
}

.tu-nhan-lech {
  background: #fde4b8;
  color: #713f12;
}

.tu-nhan-tu_choi {
  background: var(--tu-do-nhat);
  color: #a02222;
}

.tu-nhan-huy {
  background: #eaf0f2;
  color: #475569;
}

.tu-ly-do {
  margin-top: 12px;
}

.tu-ly-do > span {
  display: block;
  color: var(--tu-muc-2);
  font-size: 11px;
  font-weight: 700;
}

.tu-ly-do p {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.tu-meta,
.tu-thong-tin-phu {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  margin-top: 8px;
  color: var(--tu-muc-2);
  font-size: 11.5px;
}

.tu-meta span + span::before,
.tu-thong-tin-phu span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--tu-vien-dam);
}

.tu-ghi-chu,
.tu-canh-bao,
.tu-khop {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 12.5px;
}

.tu-ghi-chu {
  flex-direction: column;
  gap: 2px;
  background: var(--tu-do-nhat);
  color: #a02222;
}

.tu-canh-bao {
  background: var(--tu-cam-nhat);
  color: #7a4e05;
}

.tu-khop {
  background: var(--tu-xanh-nhat);
  color: #116b41;
}

.tu-khop-gon {
  padding: 6px 8px;
}

.tu-chuyen-khoan {
  margin-top: 10px;
  padding: 11px;
  border: 1px solid color-mix(in srgb, var(--tu-teal) 24%, #fff);
  border-radius: 11px;
  background: var(--tu-teal-nhat);
}

.tu-chuyen-dau {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.tu-chuyen-dau code {
  display: block;
  margin-top: 4px;
  color: var(--tu-muc);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: normal;
}

.tu-da-chep {
  display: none;
  margin-top: 6px;
  color: #116b41;
  font-size: 11.5px;
  font-weight: 700;
}

.tu-phieu-chan,
.tu-thao-tac {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 12px;
}

.tu-rong {
  padding: 32px 16px;
  color: var(--tu-muc-2);
  text-align: center;
}

.tu-rong > .tu-ic {
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  color: var(--tu-teal);
}

.tu-rong h2 {
  margin: 0 0 5px;
  color: var(--tu-muc);
  font-size: 15px;
}

.tu-rong p {
  max-width: 360px;
  margin: 0 auto;
  font-size: 12.5px;
}

.tu-dau-ql {
  margin-bottom: 12px;
}

.tu-thang-ql {
  flex: 1;
  max-width: 330px;
  margin-bottom: 0;
}

.tu-sao-ke {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-left: 3px solid var(--tu-teal);
}

.tu-sao-ke b,
.tu-sao-ke small {
  display: block;
}

.tu-sao-ke b {
  margin-top: 2px;
  color: var(--tu-teal-dam);
}

.tu-sao-ke small {
  margin-top: 2px;
  color: var(--tu-muc-2);
}

.tu-loi-sao-ke {
  grid-column: 1 / -1;
  margin-top: 0;
}

.tu-canh-bao-lon {
  border-left: 3px solid var(--tu-do);
  background: linear-gradient(180deg, var(--tu-do-nhat), #fff 70%);
}

.tu-canh-bao-lon .tu-tieu-de-khoi > .tu-ic {
  background: var(--tu-do-nhat);
  color: var(--tu-do);
}

.tu-khong-phieu-ds {
  display: grid;
  gap: 7px;
}

.tu-gd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid #efc3c3;
  border-radius: 10px;
  background: #fff;
}

.tu-gd b,
.tu-gd span {
  display: block;
}

.tu-gd b {
  color: var(--tu-do);
  font-variant-numeric: tabular-nums;
}

.tu-gd div > span {
  color: var(--tu-muc-2);
  font-size: 11.5px;
}

.tu-ma-goi-y {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--tu-teal-nhat);
  color: var(--tu-teal-dam);
  font-size: 11.5px;
  font-weight: 700;
}

.tu-ma-trong {
  background: var(--tu-do-nhat);
  color: #a02222;
}

.tu-danh-sach-dau {
  align-items: flex-start;
  margin-bottom: 12px;
}

.tu-danh-sach-dau p {
  margin: 3px 0 0;
  color: var(--tu-muc-2);
  font-size: 12.5px;
}

.tu-loc {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.tu-cuon {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 10px 10px 0 0;
}

.tu-bang {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12.5px;
}

.tu-bang th,
.tu-bang td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--tu-teal-nhat);
  vertical-align: top;
}

.tu-bang th {
  background: var(--tu-teal-dam);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .3px;
  text-align: left;
}

.tu-bang th:nth-child(1) {
  width: 19%;
}

.tu-bang th:nth-child(2) {
  width: 12%;
}

.tu-bang th:nth-child(3) {
  width: 18%;
}

.tu-bang th:nth-child(4) {
  width: 18%;
}

.tu-bang th:nth-child(5) {
  width: 16%;
}

.tu-bang th:nth-child(6) {
  width: 17%;
}

.tu-cot-nv > b {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.tu-cot-tien {
  color: var(--tu-teal-dam);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tu-cot-ly-do {
  overflow-wrap: anywhere;
}

.tu-han-muc {
  display: grid;
  gap: 3px;
}

.tu-han-muc span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.tu-han-muc i {
  color: var(--tu-muc-2);
  font-size: 11px;
  font-style: normal;
}

.tu-han-muc b {
  color: var(--tu-muc);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tu-ghi-chu-bang {
  margin-top: 6px;
  color: #a02222;
  font-size: 11.5px;
  overflow-wrap: anywhere;
}

.tu-bang .tu-thao-tac {
  justify-content: flex-start;
  margin-top: 0;
}

.tu-bang .tu-thao-tac button {
  min-height: 34px;
  padding: 6px 8px;
  font-size: 11.5px;
}

.tu-bang-mobile {
  display: none;
}

.tu-the-ql {
  border-left: 3px solid var(--tu-teal);
}

.tu-the-ql-dau h3 {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.tu-han-muc-mobile {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--tu-teal-nhat);
}

.tu-han-muc-mobile > b {
  display: block;
  margin-bottom: 5px;
  color: var(--tu-teal-dam);
  font-size: 11.5px;
}

.tu-dang-tai {
  color: var(--tu-muc-2);
  text-align: center;
}

.tu-khung-tho {
  height: 86px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: linear-gradient(90deg, #edf3f4, #fff, #edf3f4);
  background-size: 220% 100%;
  animation: tu-tho 1.3s ease-in-out infinite;
}

.tu-khung-tho-ngan {
  height: 54px;
}

.tu-dang-tai p {
  margin: 3px 0 0;
  font-size: 12.5px;
}

.tu-loi {
  padding: 11px 13px;
  border-left: 3px solid var(--tu-do);
  border-radius: 0 11px 11px 0;
  background: var(--tu-do-nhat);
  color: #a02222;
}

.tu-loi b,
.tu-loi span {
  display: block;
}

.tu-loi span {
  margin-top: 3px;
  font-size: 12.5px;
}

.tu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 43, 51, .58);
}

.tu-hop {
  width: min(720px, 100%);
  max-height: 90vh;
  padding: 18px;
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  color: var(--muc, #16262e);
  box-shadow: 0 24px 60px -18px rgba(6, 43, 51, .45);
}

.tu-hop-nho {
  width: min(480px, 100%);
}

.tu-hop-vua {
  width: min(620px, 100%);
}

.tu-hop-dau {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.tu-hop-dau strong {
  flex: 1;
  font-size: 16px;
}

.tu-dong-hop {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--vien, #e5ecee);
  border-radius: 50%;
  background: #fff;
  color: var(--muc, #16262e);
  font-size: 21px;
  line-height: 1;
}

.tu-hop-chan {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--vien, #e5ecee);
}

.tu-tom-tat-hop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--t50, #eef6f8);
}

.tu-tom-tat-hop b {
  overflow-wrap: anywhere;
}

.tu-tom-tat-hop strong {
  flex: none;
  color: var(--t700, #045864);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tu-canh-bao-hop {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--cam, #f9a41c);
  border-radius: 0 10px 10px 0;
  background: var(--cam-nhat, #fff6e6);
  color: #7a4e05;
  font-size: 12.5px;
}

.tu-luoi-hop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tu-con-duoc-ung {
  margin: 7px 0 0;
  color: var(--muc2, #5c7079);
  font-size: 12px;
}

.tu-con-duoc-ung b {
  color: var(--t700, #045864);
}

.tu-ds-ghep {
  min-width: 0;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}

.tu-ds-ghep legend {
  margin-bottom: 7px;
  color: var(--muc2, #5c7079);
  font-size: 12px;
  font-weight: 700;
}

.tu-gd-chon {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  padding: 10px 11px;
  border: 1px solid var(--vien, #e5ecee);
  border-radius: 11px;
  background: #fff;
}

.tu-gd-chon:has(input:checked) {
  border-color: var(--t600, #067686);
  background: var(--t50, #eef6f8);
  box-shadow: 0 0 0 2px var(--t100, #d9ebee);
}

.tu-gd-chon input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--t700, #045864);
}

.tu-gd-chon span,
.tu-gd-chon b,
.tu-gd-chon small {
  display: block;
}

.tu-gd-chon b {
  color: var(--t700, #045864);
  font-variant-numeric: tabular-nums;
}

.tu-gd-chon small {
  margin-top: 2px;
  color: var(--muc2, #5c7079);
}

.tu-gd-chon em {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--xanh-nhat, #e6f5ee);
  color: #116b41;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.tu-gd-chon .tu-khong-ma {
  background: var(--do-nhat, #fdedec);
  color: #a02222;
}

.tu-rong-gon {
  padding: 20px 12px;
  border-radius: 11px;
  background: var(--t50, #eef6f8);
  color: var(--muc2, #5c7079);
  font-size: 12.5px;
  text-align: center;
}

@keyframes tu-tho {
  0%,
  100% {
    background-position: 0 0;
    opacity: .65;
  }

  50% {
    background-position: 100% 0;
    opacity: 1;
  }
}

@media (hover: hover) {
  .tu-nut-thang:hover,
  .tu-nut-phu:hover,
  .tu-nut-luu:hover,
  .tu-nut-nguy:hover,
  .tu-nut-copy:hover,
  .tu-nut-tao-ho:hover,
  .tu-chip-goi-y:hover,
  .tu-chip-loc:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 900px) {
  .tu-kpi-ql {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tu-kpi-ql .tu-o-so {
    grid-column: span 2;
  }

  .tu-kpi-ql .tu-o-so:nth-child(n + 4) {
    grid-column: span 3;
  }
}

@media (max-width: 700px) {
  .tu-dau-ql {
    align-items: stretch;
    flex-direction: column;
  }

  .tu-thang-ql {
    width: 100%;
    max-width: none;
  }

  .tu-nut-tao-ho {
    width: 100%;
  }

  .tu-danh-sach-dau {
    display: block;
  }

  .tu-loc {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-top: 10px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tu-loc::-webkit-scrollbar {
    display: none;
  }

  .tu-bang-pc {
    display: none;
  }

  .tu-bang-mobile {
    display: block;
  }

  .tu-the-ql:last-child {
    margin-bottom: 0;
  }

  .tu-the-ql .tu-thao-tac > button {
    flex: 1 1 calc(50% - 4px);
  }

  .tu-sao-ke {
    grid-template-columns: minmax(0, 1fr);
  }

  .tu-sao-ke .tu-nut-phu {
    width: 100%;
  }

  .tu-luoi-hop {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .tu-the {
    padding: 14px;
    border-radius: 14px;
  }

  .tu-kpi-nv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tu-kpi-nv .tu-o-so:first-child {
    grid-column: 1 / -1;
  }

  .tu-kpi-nv .tu-o-so {
    min-height: 86px;
    padding: 10px;
  }

  .tu-kpi-nv .tu-o-so span {
    min-height: 1.3em;
  }

  .tu-kpi-nv .tu-o-so strong {
    font-size: 17px;
  }

  .tu-kpi-ql {
    gap: 7px;
  }

  .tu-kpi-ql .tu-o-so {
    min-height: 84px;
    padding: 9px;
  }

  .tu-kpi-ql .tu-o-so strong {
    font-size: 17px;
  }

  .tu-chuyen-dau {
    grid-template-columns: minmax(0, 1fr);
  }

  .tu-nut-copy {
    width: 100%;
  }

  .tu-phieu-dau,
  .tu-the-ql-dau {
    align-items: flex-start;
  }

  .tu-phieu-dau .tu-nhan,
  .tu-the-ql-dau .tu-nhan {
    max-width: 44%;
    white-space: normal;
    text-align: center;
  }

  .tu-phieu-so strong,
  .tu-so-tien-ql {
    font-size: 20px;
  }

  .tu-gd {
    align-items: flex-start;
  }

  .tu-ma-goi-y {
    max-width: 42%;
    white-space: normal;
    text-align: center;
  }

  .tu-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .tu-hop,
  .tu-hop-nho,
  .tu-hop-vua {
    width: 100%;
    max-height: 92vh;
    padding: 16px;
    border-radius: 20px 20px 0 0;
  }

  .tu-hop-chan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tu-hop-chan > button {
    width: 100%;
  }

  .tu-tom-tat-hop {
    align-items: flex-start;
  }

  .tu-gd-chon {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .tu-gd-chon em {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 360px) {
  .tu-kpi-nv,
  .tu-kpi-ql {
    grid-template-columns: minmax(0, 1fr);
  }

  .tu-kpi-nv .tu-o-so,
  .tu-kpi-nv .tu-o-so:first-child,
  .tu-kpi-ql .tu-o-so,
  .tu-kpi-ql .tu-o-so:nth-child(n + 4) {
    grid-column: auto;
  }

  .tu-thang {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .tu-nut-thang {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tu-khung *,
  .tu-overlay * {
    animation: none !important;
    transition: none !important;
  }
}

/* LA soát mockup 12/10: CSS chung của trang quản lý canh PHẢI mọi ô (th,td{text-align:right}) ⇒ bảng tạm ứng canh trái ô chữ, chỉ số tiền canh phải */
.tu-bang td{text-align:left}
.tu-bang th:nth-child(2),.tu-bang .tu-cot-tien{text-align:right}
.tu-bang .tu-nhan{white-space:normal;text-align:left}
.tu-bang .tu-thong-tin-phu{display:grid;gap:2px;margin-top:4px}
.tu-bang .tu-thong-tin-phu span + span::before{content:none}
