/* Trang Web Việc Làm Người Hmoob — kiểu "Thêu rực rỡ": nền chàm, chỉ đỏ / vàng / xanh lá / hồng, nền ngà. */
:root {
  --cham: #15183a;
  --cham-2: #232a63;
  --do: #d62839;
  --vang: #f6b40e;
  --xanh: #23945a;
  --hong: #e2559a;
  --nga: #fbf6ec;
  --trang: #ffffff;
  --chu: #1c1c2a;
  --mo: #636779;
  --vien: #e7dfcf;
  --bo: 14px;
  --bong: 0 2px 10px rgba(21, 24, 58, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--nga); color: var(--chu);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, video { max-width: 100%; display: block; }
a { color: var(--cham-2); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: 1.3rem; }
.khung { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.an { display: none !important; }
.chi-may-tinh { display: none !important; }
/* Con của lưới / khung không được tự nở theo bảng rộng (bảng tự cuộn ngang trong .bang-wrap) */
[style*="display:grid"] > *, .so-lon > *, .cot-hai > *, .hai-cot > *, section, .the, .ruot, fieldset, form { min-width: 0; }
.logo span { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 720px) { .chi-may-tinh { display: inline-flex !important; } }

/* Dải thêu */
.dai-theu { height: 12px; background: url(/hoa-van/dai-theu.svg) repeat-x center / auto 12px; }

/* Đầu trang */
.dau {
  background: var(--cham) url(/hoa-van/sao.svg) repeat; background-size: 72px; color: var(--trang);
}
.dau .khung { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--trang); text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.logo svg { width: 34px; height: 34px; flex: none; }
.nut-tieng {
  color: var(--trang); text-decoration: none; border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px;
  padding: 4px 12px; font-size: .9rem; white-space: nowrap;
}
.menu-may-tinh { display: none; gap: 18px; }
.menu-may-tinh a { color: var(--trang); text-decoration: none; font-weight: 600; }

.dai-ban-thu { background: var(--vang); color: var(--cham); text-align: center; font-weight: 800; font-size: .85rem; padding: 4px; letter-spacing: .04em; }

/* Mở đầu */
.mo-dau { background: var(--cham); color: var(--trang); padding: 22px 0 26px; position: relative; overflow: hidden; }
.mo-dau .khung { display: grid; gap: 16px; }
.mo-dau h1 { font-size: 1.55rem; }
.mo-dau .anh-chu { border-radius: var(--bo); border: 3px solid var(--vang); max-height: 280px; object-fit: cover; width: 100%; }
.hang-nut { display: flex; flex-wrap: wrap; gap: 10px; }
.nut {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px;
  border-radius: 999px; border: 0; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  background: var(--vang); color: var(--cham);
}
.nut.lon { font-size: 1.1rem; min-height: 54px; padding: 12px 24px; }
.nut.phu { background: transparent; color: var(--trang); border: 2px solid rgba(255,255,255,.7); }
.nut.do { background: var(--do); color: var(--trang); }
.nut.xanh { background: var(--xanh); color: var(--trang); }
.nut.toi { background: var(--cham); color: var(--trang); }
.nut.vien { background: var(--trang); color: var(--cham); border: 2px solid var(--cham); }
.nut.nho { min-height: 38px; padding: 6px 14px; font-size: .92rem; }
.nut[disabled], .nut.tat { opacity: .45; pointer-events: none; }

/* Khối */
.khoi { padding: 22px 0; }
.the {
  background: var(--trang); border-radius: var(--bo); box-shadow: var(--bong); border: 1px solid var(--vien); overflow: hidden;
}
.the .ruot { padding: 14px 16px; }
.soc-chi { height: 6px; background: linear-gradient(90deg, var(--do) 0 25%, var(--vang) 25% 50%, var(--xanh) 50% 75%, var(--hong) 75%); }

.luoi-viec { display: grid; gap: 14px; }
.the-viec h3 { font-size: 1.15rem; margin-bottom: 6px; }
.the-viec .phuong-tien { aspect-ratio: 16 / 9; background: #0e1030; display: flex; align-items: center; justify-content: center; color: #fff; }
.the-viec .phuong-tien img, .the-viec .phuong-tien video { width: 100%; height: 100%; object-fit: cover; }
.luong { color: var(--do); font-weight: 900; font-size: 1.15rem; }
.dong-tt { display: flex; gap: 8px; align-items: baseline; margin: 2px 0; font-size: .97rem; }
.dong-tt b { min-width: 7.5em; color: var(--mo); font-weight: 600; }
.nhan-hmoob { display: inline-block; background: #e8f6ee; color: var(--xanh); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .85rem; }
.hang-nut-the { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
audio { width: 100%; margin-top: 8px; }

.ket-noi-viec {
  background: #eaf6ec; color: #1f7a38; border-left: 4px solid #2c9a46; border-radius: var(--bo); padding: 12px 16px;
  font-weight: 900; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
}
.buoc-di-lam { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: b; }
.buoc-di-lam div {
  background: var(--trang); border: 1px solid var(--vien); border-radius: var(--bo); padding: 14px; text-align: center; font-weight: 700;
}
.buoc-di-lam div::before {
  counter-increment: b; content: counter(b); display: flex; align-items: center; justify-content: center; margin: 0 auto 6px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--cham); color: var(--vang); font-weight: 900;
}

/* Biểu mẫu */
form.mau { display: grid; gap: 12px; }
label.o { display: grid; gap: 4px; font-weight: 700; font-size: .96rem; }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=date], input[type=url], select, textarea {
  font: inherit; width: 100%; padding: 12px 12px; border: 1.5px solid #cfc6b4; border-radius: 10px; background: #fff; color: var(--chu);
  min-height: 48px;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(246,180,14,.45); border-color: var(--vang); }
label.tick { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
label.tick input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--xanh); }
.hai-cot { display: grid; gap: 12px; }
.bay { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bao { border-radius: 10px; padding: 12px 14px; font-weight: 700; }
.bao.tot { background: #e8f6ee; color: #146b3e; }
.bao.loi { background: #fde8ea; color: #9b1424; }
.bao.vang { background: #fff4d6; color: #7a5600; }
.ghi-nho { color: var(--mo); font-size: .9rem; }

/* Thanh dưới đáy (điện thoại) */
.thanh-duoi {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--cham); display: grid; grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom); border-top: 3px solid var(--vang);
}
.thanh-duoi a {
  color: var(--trang); text-decoration: none; text-align: center; padding: 8px 4px 9px; font-size: .82rem; font-weight: 700;
  display: grid; justify-items: center; gap: 2px;
}
.thanh-duoi a svg { width: 24px; height: 24px; }
.thanh-duoi a.dang { color: var(--vang); }
body.co-thanh-duoi { padding-bottom: 76px; }

/* Ô liên hệ (bấm Gọi / Zalo) */
.lop-phu { display: none; position: fixed; inset: 0; background: rgba(10,12,30,.6); z-index: 30; align-items: flex-end; }
.lop-phu:target { display: flex; }
.lop-phu .hop { background: var(--trang); width: 100%; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.lop-phu .dong { text-align: center; color: var(--mo); text-decoration: none; padding: 8px; }

/* Chân trang */
.chan { background: var(--cham); color: #d9dbea; margin-top: 30px; font-size: .92rem; }
.chan .khung { padding-top: 18px; padding-bottom: 22px; display: grid; gap: 10px; }
.chan a { color: var(--trang); }

/* Khu CTV + quản trị */
.bang-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.bang { width: 100%; border-collapse: collapse; background: var(--trang); font-size: .93rem; }
.bang th, .bang td { padding: 9px 10px; border-bottom: 1px solid var(--vien); text-align: left; vertical-align: top; }
.bang th { background: #f3eddf; font-size: .85rem; color: #4a4d5e; white-space: nowrap; }
.bang td.so, .bang th.so { text-align: right; white-space: nowrap; }
.nhan { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.nhan.moi { background: #e7ecff; color: #23308c; }
.nhan.tot { background: #e8f6ee; color: #146b3e; }
.nhan.cho { background: #fff4d6; color: #7a5600; }
.nhan.xau { background: #fde8ea; color: #9b1424; }
.nhan.mo { background: #eee; color: #555; }
.so-lon { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.so-lon div { background: var(--trang); border: 1px solid var(--vien); border-radius: var(--bo); padding: 12px; }
.so-lon b { display: block; font-size: 1.4rem; color: var(--cham); }
.so-lon span { color: var(--mo); font-size: .85rem; }
.ma-ctv { font-size: 2rem; font-weight: 900; letter-spacing: .12em; color: var(--do); }
.qr { background: #fff; padding: 10px; border-radius: 10px; width: 220px; max-width: 100%; border: 1px solid var(--vien); }
.qr svg { width: 100%; height: auto; display: block; }

/* Quản trị */
.qt-dau { background: var(--cham); color: #fff; }
.qt-dau .khung { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; }
.qt-dau .logo { font-size: .95rem; min-width: 0; }
.qt-dau .nut-tieng { padding: 4px 9px; font-size: .82rem; }
.qt-menu { background: var(--cham-2); overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.qt-menu .khung { display: flex; gap: 4px; padding: 6px 16px; }
.qt-menu a { color: #dfe2f5; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 700; font-size: .92rem; }
.qt-menu a.dang { background: var(--vang); color: var(--cham); }
.qt-menu a .dem { background: var(--do); color: #fff; border-radius: 999px; padding: 0 7px; margin-left: 4px; font-size: .78rem; }
.qt .khung { max-width: 1200px; }
.loc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.loc select, .loc input { width: auto; min-height: 40px; padding: 7px 10px; }
form.gon { display: inline; margin: 0; }
form.gon select { width: auto; min-height: 36px; padding: 4px 8px; font-size: .88rem; }
.chi-tiet summary { cursor: pointer; font-weight: 700; color: var(--cham-2); }
.vach { height: 10px; background: #eee; border-radius: 999px; overflow: hidden; position: relative; }
.vach i { display: block; height: 100%; background: var(--xanh); }
.cot-hai { display: grid; gap: 16px; }
fieldset { border: 1px solid var(--vien); border-radius: var(--bo); padding: 12px 14px; background: #fff; }
legend { font-weight: 800; padding: 0 6px; }
.thu-am { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Điện thoại: bảng quản trị hiện thành từng thẻ, mỗi ô có nhãn (data-nhan) */
@media (max-width: 719px) {
  table.the-dong, table.the-dong tbody, table.the-dong tr, table.the-dong td { display: block; width: 100%; }
  table.the-dong { background: transparent; }
  table.the-dong thead { display: none; }
  table.the-dong tr { background: #fff; border: 1px solid var(--vien); border-radius: 12px; margin-bottom: 10px; padding: 6px 2px; }
  table.the-dong td { border: 0; padding: 4px 12px; text-align: left !important; white-space: normal !important; }
  table.the-dong td[data-nhan]::before { content: attr(data-nhan) ": "; color: var(--mo); font-size: .82rem; font-weight: 600; }
  table.the-dong td:empty { display: none; }
}

@media (min-width: 720px) {
  .menu-may-tinh { display: flex; }
  .thanh-duoi { display: none; }
  body.co-thanh-duoi { padding-bottom: 0; }
  .mo-dau .khung { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .mo-dau h1 { font-size: 2.1rem; }
  .luoi-viec { grid-template-columns: repeat(2, 1fr); }
  .buoc-di-lam { grid-template-columns: repeat(4, 1fr); }
  .hai-cot { grid-template-columns: 1fr 1fr; }
  .so-lon { grid-template-columns: repeat(4, 1fr); }
  .cot-hai { grid-template-columns: 1fr 1fr; }
  .lop-phu { align-items: center; justify-content: center; }
  .lop-phu .hop { max-width: 420px; border-radius: 18px; }
}
@media (min-width: 1000px) {
  .luoi-viec { grid-template-columns: repeat(3, 1fr); }
}

/* ================= Phần công khai kiểu "sàn việc làm" (bố cục: đầu trang trắng + dải tìm xanh lá + bộ lọc trái + lưới thẻ) ================= */
.cn {
  --cn-dam: #24337f; --cn-la: #8bc540; --cn-la-dam: #5f9a24; --cn-nen: #f3f5fa; --cn-chu-the: #334862;
  --cn-xanh: #1a66c9; --cn-nen-tien: #e9f2fd; --cn-do: #ef4747; --cn-vien: #dfe2ec;
  font-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--cn-nen); font-weight: 600;
}
.khung-rong { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.cn-dau { background: #fff; position: sticky; top: 0; z-index: 25; box-shadow: 0 2px 8px rgba(20, 30, 70, .08); }
.cn-dau-trong { display: flex; align-items: center; gap: 14px; min-height: 64px; position: relative; }
.cn-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.cn-logo svg { width: 40px; height: 40px; flex: none; }
.cn-logo span { display: grid; line-height: 1.2; row-gap: 3px; min-width: 0; } /* 25/10: chữ "g" của Hmong chạm dấu "KẾT NỐI" → cách thêm */
.cn-logo b { color: var(--cn-dam); font-weight: 900; font-size: 1.05rem; white-space: nowrap; }
.cn-logo small { color: #6b7891; font-weight: 800; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.cn-logo .cn-logo-cuoi { display: inline; color: #2c9a46; }
/* Điện thoại nhỏ: tên thương hiệu không gãy dòng, bỏ dòng chữ nhỏ để khỏi bị nút Đăng nhập che */
@media (max-width: 359px) {
  .cn-dau-trong { gap: 8px; }
  .cn-logo { gap: 7px; }
  .cn-logo svg { width: 32px; height: 32px; }
  .cn-logo b { font-size: .95rem; }
  .cn-logo small { display: none; }
}
@media (max-width: 300px) { .cn-logo svg { display: none; } }
.cn-menu { display: none; margin-left: auto; gap: 22px; }
.cn-menu a { color: var(--cn-dam); text-decoration: none; font-weight: 800; font-size: .88rem; text-transform: uppercase; letter-spacing: .02em; }
.cn-menu a:hover, .cn-menu a.dang { color: var(--cn-la-dam); }
.cn-mxh { display: none; align-items: center; gap: 8px; }
.tron {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none;
  color: #fff; text-decoration: none; font-weight: 900; font-size: .74rem;
}
.tron svg { width: 20px; height: 20px; }
.tron.fb { background: #1877f2; } .tron.tt { background: #111; } .tron.yt { background: #e62117; }
.tron.zl { background: #0068ff; } .tron.goi { background: #34b35a; }
.tron.goi svg { fill: none; stroke: currentColor; }
.tron.vien { background: transparent !important; border: 2px solid var(--cn-la); color: var(--cn-la); }
.cn-tieng { border: 1.5px solid var(--cn-dam); color: var(--cn-dam); border-radius: 999px; padding: 6px 12px; text-decoration: none; font-weight: 800; font-size: .82rem; white-space: nowrap; }
/* Nút ☰ TRƯỚC logo (anh dặn 23/10/2026): mở khung menu trái theo loại tài khoản */
.cn-ham {
  flex: none; width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; padding: 0 10px; margin-left: -6px;
  border-radius: 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s;
}
.cn-ham span { display: block; height: 3px; border-radius: 2px; background: var(--cn-dam); }
.cn-ham:hover, .cn-ham:focus-visible { background: var(--cn-nen); }

/* ===== Khung menu trái (nền tối như mẫu Khu doanh nghiệp anh gửi): nút to xanh lá, nhóm có tiêu đề, mục có biểu tượng,
   mục đang xem nền cam, số đỏ. Điện thoại: 2 cột + nhóm Menu 3 cột cho VỪA MỘT MÀN HÌNH (anh dặn 22/10 — không bắt lướt). ===== */
.cn-mo-ben { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.cn-ben-man { position: fixed; inset: 0; z-index: 49; background: rgba(8, 10, 24, .55); opacity: 0; visibility: hidden; }
.cn-ben {
  --b-nen: #14161c; --b-chu: #eef0f6; --b-mo: #a3a8b8; --b-vien: rgba(255, 255, 255, .09); --b-re: rgba(255, 255, 255, .06);
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 50; width: min(100vw, 400px); display: flex; flex-direction: column; gap: 2px;
  padding: 6px 10px calc(10px + env(safe-area-inset-bottom)); background: var(--b-nen); color: var(--b-chu);
  overflow-y: auto; overscroll-behavior: contain; transform: translateX(-102%); visibility: hidden;
  box-shadow: 10px 0 40px rgba(0, 0, 0, .35);
}
/* Hiệu ứng trượt chỉ bật SAU khi trang đã hiện (app.js thêm lớp cn-da-hien vào <html>) —
   WebKit / iPhone từng cho khung ☰ lóe ra rồi trượt vào mỗi lần mở trang (đo 24/10/2026); nền tối .cn-ben-man cũng vậy */
.cn-da-hien .cn-ben { transition: transform .28s ease, visibility .28s; }
.cn-da-hien .cn-ben-man { transition: opacity .25s, visibility .25s; }
.cn-mo-ben:checked ~ .cn-ben-man { opacity: 1; visibility: visible; }
.cn-mo-ben:checked ~ .cn-ben { transform: none; visibility: visible; }
body:has(.cn-mo-ben:checked) { overflow: hidden; }
.cn-ben-dau { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 0 0 4px; }
.cn-ben-logo { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 900; font-size: 1rem; }
.cn-ben-logo svg { width: 28px; height: 28px; flex: none; }
.cn-ben-dong { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; cursor: pointer; color: var(--b-mo); }
.cn-ben-dong:hover, .cn-ben-dong:focus-visible { background: var(--b-re); color: var(--b-chu); }
.cn-ben-dong svg { width: 20px; height: 20px; }
.cn-ben-nut {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 4px; padding: 11px 10px; border-radius: 12px;
  background: linear-gradient(90deg, #1f8a4c, #57c26f); color: #fff; text-decoration: none; font-weight: 900; font-size: .96rem;
  text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 6px 18px rgba(31, 138, 76, .25); transition: filter .15s;
}
.cn-ben-nut svg { width: 22px; height: 22px; flex: none; }
.cn-ben-nut:hover { filter: brightness(1.08); }
.cn-ben-nhom h4 { margin: 6px 8px 3px; font-size: .76rem; font-weight: 800; color: var(--b-mo); }
.cn-ben-luoi { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cn-ben-luoi form { margin: 0; }
.cn-ben-luoi a, .cn-ben-luoi button {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 38px; padding: 7px 10px; border: 0; border-radius: 10px; background: none;
  color: var(--b-chu); text-decoration: none; font: inherit; font-weight: 700; font-size: .86rem; line-height: 1.2; text-align: left; cursor: pointer;
  transition: background .15s, color .15s;
}
.cn-ben-luoi svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.cn-ben-luoi a:hover, .cn-ben-luoi button:hover { background: var(--b-re); }
.cn-ben-luoi button:hover { color: #ff8a8a; }
.cn-ben-nhom.ba .cn-ben-luoi { grid-template-columns: repeat(3, 1fr); gap: 5px; }
.cn-ben-nhom.ba .cn-ben-luoi a { justify-content: center; text-align: center; padding: 6px 5px; min-height: 36px; font-size: .8rem; background: var(--b-re); }
.cn-ben .cn-ben-luoi a.on { background: linear-gradient(90deg, #ff9b3d, #ffc247); color: #241400; }
.cn-ben .cn-ben-luoi a.on svg { opacity: 1; }
.cn-ben-so { margin-left: auto; font-style: normal; background: #ef4747; color: #fff; border-radius: 999px; font-size: .72rem; padding: 0 7px; font-weight: 800; line-height: 1.6; }
.cn-ben-so.xanh { background: #1f8a4c; }
.cn-ben-cuoi { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 6px 0; margin-top: 6px; border-top: 1px solid var(--b-vien); }
.cn-ben-cuoi .tron { width: 34px; height: 34px; }
.cn-ben-cuoi .tron svg { width: 17px; height: 17px; }
.cn-ben .cn-tieng { border-color: rgba(255, 255, 255, .5); color: #fff; padding: 4px 12px; }
/* Điện thoại nhỏ (320 × 568): thu gọn để khung ☰ của anh / CTV / Đối tác vẫn vừa một màn hình */
@media (max-width: 359px) {
  .cn-ben-dau { min-height: 36px; }
  .cn-ben-nut { padding: 9px 8px; font-size: .9rem; }
  .cn-ben-nhom h4 { margin: 4px 8px 2px; }
  .cn-ben-luoi a, .cn-ben-luoi button { min-height: 34px; padding: 5px 8px; gap: 6px; font-size: .8rem; }
  .cn-ben-luoi svg { width: 16px; height: 16px; }
  .cn-ben-nhom.ba .cn-ben-luoi a { min-height: 32px; padding: 4px; font-size: .74rem; }
}

/* Ô tìm việc trang Việc làm (25/10/2026): thay dải tìm xanh dính đầu mọi trang — chỉ ở /viec-lam, không dính, cùng kiểu
   thanh tìm trang chủ Mẫu B. MỘT thanh trắng, mọi màn hình một hàng: [kính lúp ô chữ | ghim Địa điểm | nút Tìm] (anh dặn điện thoại
   không xuống dòng). Điện thoại hẹp: bỏ ghim, chữ nhỏ lại một chút để "Địa điểm" không bị cắt. */
.vl-tim { margin-top: 16px; margin-bottom: 4px; scroll-margin-top: 90px; }
.vl-tim-thanh {
  display: flex; align-items: center; min-width: 0; padding: 4px; border-radius: 14px; background: #fff;
  border: 1.5px solid #d5dbec; box-shadow: 0 6px 18px rgba(20, 30, 70, .08);
}
.vl-tim-thanh:focus-within { border-color: var(--cn-la); box-shadow: 0 0 0 3px rgba(139, 197, 64, .22); }
.vl-tim-o, .vl-tim-noi { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 0 10px; }
.vl-tim-o { flex: 1 1 auto; cursor: text; }
.vl-tim-noi { flex: 0 0 auto; width: clamp(112px, 34%, 240px); border-left: 1.5px solid #e3e7f1; cursor: pointer; }
.vl-tim svg { width: 18px; height: 18px; flex: none; color: #8a94ad; }
.vl-tim input, .vl-tim select { flex: 1 1 0; width: 0; min-width: 0; min-height: 44px; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 700; color: var(--chu); }
/* Mũi tên nhỏ tự vẽ thay mũi tên mặc định (mũi tên mặc định chiếm chỗ → "Địa điểm" bị cắt thành "Địa đi…" trên điện thoại) */
.vl-tim select {
  -webkit-appearance: none; appearance: none; padding: 0 18px 0 0; color: var(--cn-dam); cursor: pointer; text-overflow: ellipsis;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324337f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center / 12px;
}
.vl-tim button {
  flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--cn-la); color: var(--cn-dam);
  font: inherit; font-size: 1rem; font-weight: 900; white-space: nowrap; cursor: pointer;
}
.vl-tim button:hover { filter: brightness(1.05); }
@media (max-width: 480px) {
  .vl-tim-o, .vl-tim-noi { padding: 0 7px; gap: 5px; }
  .vl-tim-noi svg { display: none; }
  .vl-tim input, .vl-tim select { font-size: .88rem; }
  .vl-tim button { padding: 0 13px; font-size: .92rem; }
}
@media (max-width: 350px) { .vl-tim-o svg { display: none; } }
@media (min-width: 760px) { .vl-tim button { padding: 0 30px; } }

.cn-bang { background: linear-gradient(100deg, #8bc540 0%, #a3d25d 55%, #8bc540 100%); position: relative; overflow: hidden; }
.cn-bang::before { content: ""; position: absolute; inset: 0; background: url(/hoa-van/sao.svg) repeat; background-size: 64px; opacity: .55; mix-blend-mode: multiply; }
.cn-bang-trong { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; padding-top: 14px; padding-bottom: 14px; }
.cn-bang h1 { color: var(--cn-dam); font-weight: 900; text-transform: uppercase; margin: 0; font-size: clamp(1.35rem, 4.2vw, 2.8rem); letter-spacing: .01em; }
.cn-bang-anh { display: none; height: 140px; width: 300px; object-fit: cover; border-radius: 12px; border: 3px solid #fff; }

.cn-san { display: grid; gap: 18px; padding-top: 18px; padding-bottom: 28px; }
.cn-hop { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(20, 30, 70, .07); padding: 16px; }
.cn-mo-loc { position: absolute; opacity: 0; pointer-events: none; }
.cn-nut-loc {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--cn-vien); border-radius: 999px; padding: 8px 16px;
  color: var(--cn-dam); font-weight: 800; cursor: pointer; margin-bottom: 10px;
}
.cn-loc { display: none; gap: 16px; }
.cn-mo-loc:checked ~ .cn-loc { display: grid; }
.cn-loc-dau { display: flex; justify-content: space-between; align-items: center; }
.cn-loc-dau b { color: var(--cn-dam); }
.cn-loc-dau a { color: var(--cn-la-dam); font-weight: 800; text-decoration: none; text-transform: uppercase; font-size: .82rem; }
.cn-loc-nhom { display: grid; gap: 10px; }
.cn-loc-nhom > b { color: var(--cn-xanh); font-weight: 800; }
.cn-loc-nhom select { min-height: 40px; border-radius: 8px; border: 1px solid var(--cn-vien); padding: 6px 10px; font: inherit; font-size: .9rem; }
.cn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cn-chip {
  background: #fff; border: 1px solid var(--cn-vien); border-radius: 999px; padding: 6px 14px; font-size: .86rem; color: #071938;
  text-decoration: none; font-weight: 600; cursor: pointer;
}
.cn-chip:hover { border-color: var(--cn-dam); }
.cn-chip.dang { background: var(--cn-dam); border-color: var(--cn-dam); color: #fff; }
.cn-tra-so { display: flex; gap: 6px; }
.cn-tra-so input { flex: 1; min-width: 0; min-height: 40px; border: 1px solid var(--cn-vien); border-radius: 8px; padding: 6px 10px; font: inherit; }
.cn-tra-so button { border: 0; border-radius: 8px; background: var(--cn-dam); color: #fff; font: inherit; font-weight: 800; padding: 0 14px; cursor: pointer; }

.cn-dem { color: var(--mo); font-weight: 800; margin-bottom: 10px; }
.cn-trong { text-align: center; padding: 30px 16px; color: var(--mo); }
.cn-luoi { display: grid; gap: 18px; }
.cn-the {
  background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(20, 30, 70, .07); padding: 18px 16px 16px; position: relative;
  display: grid; gap: 14px; align-content: space-between;
}
.cn-the.het { opacity: .78; }
.cn-ruy-bang {
  position: absolute; top: -9px; right: 12px; padding: 3px 12px; color: #fff; font-weight: 800; font-size: .82rem;
  border-radius: 8px 8px 0 4px; box-shadow: 0 4px 4px rgba(8, 16, 11, .22); z-index: 1;
}
.cn-ruy-bang.do { background: var(--cn-do); }
.cn-ruy-bang.xam { background: #8a8f9c; }
.cn-the-dau { display: grid; grid-template-columns: 64px 1fr 30px; gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid #eef0f5; }
.cn-anh { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid #e6e9f0; display: block; background: #f7f8fb; }
/* Logo công ty hiện TRỌN (logo chữ dài như Luxshare, Goertek bị cắt mất chữ khi dùng cover — 25/10/2026) */
.cn-anh img { width: 100%; height: 100%; object-fit: contain; padding: 4px; background: #fff; box-sizing: border-box; }
.cn-anh svg { width: 100%; height: 100%; }
.cn-the-chu { display: grid; gap: 3px; min-width: 0; }
.cn-the-ten {
  color: var(--cn-chu-the); font-weight: 800; text-decoration: none; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cn-the-ten:hover { color: var(--cn-xanh); }
.cn-the-dv { color: var(--cn-xanh); font-size: .86rem; }
.cn-the-noi { color: #6b7280; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-luu { background: none; border: 0; padding: 0; cursor: pointer; width: 28px; height: 28px; }
.cn-luu svg { width: 26px; height: 26px; fill: none; stroke: #c3c8d4; stroke-width: 1.8; }
.cn-luu[aria-pressed="true"] svg { fill: var(--cn-do); stroke: var(--cn-do); }
.cn-thu-nhap {
  display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--cn-nen-tien); color: var(--cn-xanh);
  border-radius: 8px; padding: 11px 10px; font-weight: 900; text-transform: uppercase; text-decoration: none; text-align: center; font-size: .95rem;
}
.cn-thu-nhap svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.cn-thu-nhap.tinh { display: inline-flex; margin: 8px 0; }
.cn-trang { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cn-trang a {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #c9cfdb; display: inline-flex; align-items: center; justify-content: center;
  color: var(--cn-dam); text-decoration: none; font-weight: 800;
}
.cn-trang a.dang { background: var(--cn-la); border-color: var(--cn-la); color: #fff; }
.cn-chi-tiet { position: relative; padding: 0; overflow: visible; }
.cn-chi-tiet .phuong-tien { border-radius: 10px 10px 0 0; overflow: hidden; }
.cn-chi-tiet h1 { color: var(--cn-dam); font-size: 1.45rem; font-weight: 900; margin-bottom: 4px; }
.cn-nut-chinh { background: var(--cn-dam); color: #fff; }

/* Chân trang MẪU C (anh chọn 25/10/2026 — "nền này ở cuối trang như chưa đẹp"; xem trước project-docs/xem-truoc-chan-trang/): nền xanh chuyển
   chàm → xanh trời giống khối "Lý do lựa chọn" (bỏ hoa văn ô trám lặp kín nền), cột đầu logo + tên + khẩu hiệu, dòng liên hệ có hình nhỏ,
   tiêu đề cột có vạch xanh lá, nút mạng xã hội đúng màu từng mạng, dải © chàm tối. Điện thoại: thông tin trên, 2 cột link cạnh nhau. */
.cn-chan { background: linear-gradient(90deg, #262e79 0%, #2c3d93 38%, #3672d4 72%, #3b86e6 100%); color: #fff; margin-top: 10px; position: relative; overflow: hidden; }
.cn-chan-luoi { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding-top: 34px; padding-bottom: 22px; }
.cn-chan-luoi > :first-child, .cn-chan-luoi > :last-child { grid-column: 1 / -1; }
.cn-chan h3 { position: relative; font-size: .86rem; text-transform: uppercase; font-weight: 900; margin: 0 0 12px; padding-bottom: 8px; letter-spacing: .02em; line-height: 1.3; }
.cn-chan h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--cn-la); }
.cn-chan p { margin: 0 0 4px; font-size: .82rem; line-height: 1.4; }
.cn-chan a { color: #fff; }
.cn-chan-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; text-decoration: none; }
.cn-chan-logo img { width: 46px; height: 46px; border-radius: 10px; flex: none; }
.cn-chan-logo span { display: grid; row-gap: 3px; }
.cn-chan-logo b { font-size: 1.35rem; font-weight: 900; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; }
.cn-chan-logo b i { font-style: normal; color: var(--cn-la); }
.cn-chan-logo small { font-size: .72rem; font-weight: 700; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: #ffd34d; }
.cn-chan-ten { font-weight: 800; margin-bottom: 8px !important; }
.cn-chan-lh { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 7px !important; }
.cn-chan-lh svg { width: 16px; height: 16px; flex: none; margin-top: 1px; fill: none; stroke: var(--cn-la); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cn-chan-lh b { font-weight: 700; color: rgba(255, 255, 255, .72); }
.cn-mxh-chan { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.cn-mxh-chan .tron { width: 36px; height: 36px; font-size: .66rem; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.cn-mxh-chan .tron svg { width: 16px; height: 16px; }
.cn-chan-day { position: relative; background: #1c2462; color: rgba(255, 255, 255, .7); text-align: center; padding: 12px 16px; font-size: .8rem; font-weight: 700; }
.cn-noi-lien-he {
  position: fixed; right: 14px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 22; width: 62px; height: 62px; border-radius: 50%;
  background: var(--cn-la); color: #fff; display: grid; place-items: center; align-content: center; text-decoration: none;
  box-shadow: 0 6px 18px rgba(20, 30, 70, .28); border: 3px solid #fff;
}
.cn-noi-lien-he svg { width: 26px; height: 26px; }
.cn-noi-lien-he span { font-size: .6rem; font-weight: 900; line-height: 1; }

@media (min-width: 640px) {
  .cn-luoi { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .cn-mxh { display: flex; }
  .cn-san { grid-template-columns: 290px 1fr; align-items: start; }
  .cn-nut-loc { display: none; }
  .cn-loc { display: grid; }
  .cn-bang-trong { min-height: 150px; }
  .cn-bang-anh { display: block; }
}

/* ================= Bản mô tả 02: đăng nhập góc phải, menu thả, trang chủ, công ty, chi tiết việc, tin tức ================= */
.cn-tk {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--cn-dam); color: var(--cn-dam); text-decoration: none; font-weight: 800; font-size: .86rem; white-space: nowrap; background: #fff;
}
.cn-tk.dam { background: var(--cn-dam); color: #fff; }
.cn-tk-hang { display: none; gap: 8px; align-items: center; }
.cn-tk-dt { margin-left: auto; display: flex; }
.cn-tk-dt .cn-tk { min-height: 34px; padding: 4px 12px; font-size: .8rem; }
@media (max-width: 359px) { .cn-tk-dt .cn-tk { padding: 4px 8px; font-size: .72rem; } }
/* Menu Tài khoản của quản trị viên (như hoc.hmora.vn): tên + nhãn, Trang quản trị, Đổi mật khẩu, Đăng xuất */
.cn-tk-menu { position: relative; }
.cn-tk-menu > summary { list-style: none; cursor: pointer; }
.cn-tk-menu > summary::-webkit-details-marker { display: none; }
.cn-tk-menu-hop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; display: grid; padding: 6px 0;
  min-width: min(230px, calc(100vw - 32px)); background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(20, 30, 70, .18);
}
.cn-tk-menu-hop a, .cn-tk-menu-hop button {
  display: block; width: 100%; padding: 11px 16px; text-align: left; background: none; border: 0; cursor: pointer;
  color: var(--cn-dam); font: inherit; font-weight: 800; font-size: .92rem; text-decoration: none;
}
.cn-tk-menu-hop a:hover, .cn-tk-menu-hop button:hover { background: var(--cn-nen); }
.cn-tk-menu-hop form { margin: 0; }

/* ===== Nút tài khoản giống hoc.hmora.vn (anh dặn 23/10/2026): ảnh đại diện trong vòng vàng + vương miện, tên,
   nhãn (Admin / CTV xanh chữ vàng có vệt sáng chạy; Tìm việc xanh lá), đồng xu + số tiền. Đầu trang Hmong Go nền trắng
   nên tên màu chàm, số tiền vàng đậm. Điện thoại: chỉ ảnh đại diện. ===== */
.cn-tk-menu > summary.hu { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 10px; color: var(--cn-dam); }
.hu-ava { position: relative; display: grid; place-items: center; width: 50px; height: 50px; flex: none; }
.hu-vong {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 200deg, #fff3c4, #fab23d 18%, #7a4b0c 34%, #fab23d 50%, #ffe1af 64%, #b7791f 82%, #fff3c4);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 4px rgba(250, 178, 61, .55)); transition: transform .6s ease;
}
.hu-mat { position: relative; display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .3s ease; }
.hu-mat svg { display: block; width: 100%; height: 100%; }
.hu-tip { position: absolute; top: 2px; right: 2px; z-index: 3; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #fec006; box-shadow: 0 0 0 2px #fff; }
.hu-tip svg { width: 10px; height: 10px; color: #c2410c; }
.hu:hover .hu-vong { transform: rotate(180deg); }
.hu:hover .hu-mat { transform: scale(1.06); }
.hu-meta { display: grid; gap: 3px; min-width: 0; line-height: 1.35; text-align: left; }
.hu-tren { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hu-ten { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 800; color: var(--cn-dam); }
.hu-nhan { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 2px 6px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.4; color: #fff; white-space: nowrap; }
.hu-nhan::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .2); }
.hu-nhan > * { position: relative; z-index: 3; }
.hu-nhan.pro { background: radial-gradient(50% 50% at 50% 50%, #2072c9 0, #103863 100%); color: #f5d31e; }
.hu-nhan.pro::before { border-color: #c09148; }
.hu-nhan.free { background: var(--cn-la-dam); }
.hu-nhan svg { width: 11px; height: 11px; flex: none; }
.hu-nhan .hu-sang { position: absolute; top: -50%; left: -75%; z-index: 4; width: 20%; height: 200%; transform: skewX(-25deg); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); animation: huSang 3s ease infinite; }
@keyframes huSang { 0% { left: -75%; } 55%, 100% { left: 125%; } }
.hu-duoi { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; color: #b7791f; }
.hu-xu { width: 15px; height: 15px; flex: none; }
.hu-mui { width: 14px; height: 14px; flex: none; color: #8a94a8; transition: transform .3s ease; }
.cn-tk-menu[open] .hu-mui { transform: rotate(180deg); }
/* Menu thả: các dòng thông tin (nhãn trái, giá trị phải) → gạch → link → Đăng xuất (đỏ khi rê chuột) */
.hu-hop { width: min(280px, calc(100vw - 24px)); padding: 8px; }
.hu-dong { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; font-size: 13px; color: #6b7590; }
.hu-dong b { color: var(--cn-dam); font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.hu-hop hr { border: 0; border-top: 1px solid var(--cn-vien); margin: 6px 0; }
.hu-hop > a, .hu-hop .hu-thoat { padding: 10px; border-radius: 8px; font-size: .9rem; }
.hu-hop .hu-thoat:hover { color: var(--cn-do); }
.cn-tk-menu-hop .hu-chep { display: inline; width: auto; padding: 0; color: var(--cn-xanh); font-size: 13px; font-weight: 800; }
.cn-tk-menu-hop .hu-chep:hover { background: none; text-decoration: underline; }
.cn-tk-hang .cn-tk-menu { margin-left: -4px; }
.cn-tk-dt .hu-meta, .cn-tk-dt .hu-mui { display: none; }
/* Điện thoại: menu thả bám mép phải đầu trang (không bám ảnh đại diện) để không lòi ra mép trái ở màn 320 px */
.cn-tk-dt .cn-tk-menu { position: static; }
.cn-tk-dt .cn-tk-menu-hop { right: 12px; }
.cn-tk-dt .cn-tk-menu > summary.hu { padding: 2px; }
.cn-tk-dt .hu-ava { width: 42px; height: 42px; }
.cn-tk-dt .hu-mat { width: 33px; height: 33px; }
.cn-tk-dt .hu-tip { width: 14px; height: 14px; top: 0; right: 0; }
.cn-tk-dt .hu-tip svg { width: 9px; height: 9px; }
.cn-chan-link a { display: block; margin: 0 0 7px; text-decoration: none; font-size: .82rem; line-height: 1.35; color: rgba(255, 255, 255, .86); }
.cn-chan-link a:hover { color: var(--cn-la); }

.cn-h1-nho { color: var(--cn-dam); font-weight: 900; font-size: 1.4rem; }
.cn-h2 { color: var(--cn-dam); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; margin: 0 0 14px; }
.cn-h2.giua { text-align: center; }
.cn-dau-khoi { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cn-dau-khoi a { color: var(--cn-xanh); font-weight: 800; text-decoration: none; }
.cn-bang-trong.cot { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.cn-bang-phu { position: relative; margin: 0; color: #13235e; font-weight: 700; max-width: 760px; font-size: 1.05rem; }
.cn-nen-trang { background: #fff; }

/* ===== Đầu trang chủ — Mẫu B anh duyệt 25/10/2026 (src/trang/dau-trang-chu.tsx; xem trước project-docs/xem-truoc-dau-trang-chu/):
   banner chữ như tấm quảng cáo + thanh tìm việc ngay dưới nút Ứng tuyển; bản đồ Việt Nam bên phải, cột tên tỉnh ở góc phải trên,
   chỉ MỘT ghim (bấm tỉnh: public/app.js khối "Đầu trang chủ"). Không tắt hiệu ứng theo "giảm chuyển động" (anh dặn). ===== */
.dtm { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(900px 520px at 62% 34%, rgba(110, 100, 255, .42), transparent 65%), linear-gradient(120deg, #23268f 0%, #2d33a8 45%, #1b1f78 100%); }
.dtm::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/hoa-van/sao.svg) repeat; background-size: 72px; opacity: .18; }
.dtm .khung-rong { max-width: 1340px; }
/* Điện thoại (anh dặn 25/10/2026): bản đồ đẩy lên ngay dưới nút Ứng tuyển ngay, thanh tìm (ô tìm + Địa điểm + Mức lương) xuống dưới bản đồ.
   Máy tính (≥ 900 px) giữ nguyên: "qc bd" / "tim tim". */
.dtm-trong { display: grid; grid-template-areas: "qc" "bd" "tim"; row-gap: 18px; padding-top: 22px; padding-bottom: 38px; }
/* Banner: cỡ chữ theo bề rộng khung banner (cqi = % bề rộng khung) → máy tính hay điện thoại đều cân như tấm quảng cáo mẫu */
.dtm-qc { grid-area: qc; container-type: inline-size; min-width: 0; }
.dtm-qc h1 { margin: 0; color: #fff; font-weight: 900; line-height: 1.22; text-transform: uppercase; text-shadow: 0 4px 20px rgba(5, 9, 38, .45); }
.dtm-qc h1 b { display: block; font-size: 13.2cqi; font-weight: 900; letter-spacing: -.01em; }
.dtm-qc h1 span { display: block; margin-top: .34em; font-size: 7.4cqi; letter-spacing: -.005em; white-space: nowrap; } /* cách dòng trên: dấu Ụ / Ổ không đè nhau */
.dtm-qc-tien { display: flex; align-items: center; gap: 2.6cqi; margin: 3.6cqi 0; }
.dtm-qc-tien svg { width: 10cqi; height: auto; flex: none; }
.dtm-qc-nhan { display: grid; padding-right: 2.8cqi; border-right: 3px solid #fff; font-family: "Barlow Condensed", Nunito, sans-serif; font-size: 6.2cqi; font-weight: 800; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.dtm-qc-nhan span { color: #ffe81a; }
.dtm-qc-tien strong { color: #ffe81a; font-family: "Barlow Condensed", Nunito, sans-serif; font-size: 14.6cqi; font-weight: 800; line-height: 1; letter-spacing: -.005em; white-space: nowrap; text-shadow: 0 4px 22px rgba(255, 214, 0, .3); }
.dtm-qc ul { display: grid; gap: 2.6cqi; margin: 0 0 5.4cqi; padding: 0; list-style: none; }
.dtm-qc li { display: flex; align-items: center; gap: 3cqi; color: #fff; font-size: max(.98rem, 4.3cqi); font-weight: 700; line-height: 1.3; }
.dtm-qc li svg { width: max(22px, 5.8cqi); height: auto; flex: none; }
.dtm-qc-nut { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: max(52px, 12.5cqi); padding: 0 max(26px, 6.4cqi); border-radius: 999px; background: #fff; color: #1f3aa8; text-decoration: none; font-size: max(1.1rem, 5.4cqi); font-weight: 900; letter-spacing: .01em; text-transform: uppercase; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.dtm-qc-nut::after { content: ""; position: absolute; top: -50%; left: -60%; width: 30%; height: 200%; transform: skewX(-25deg); background: linear-gradient(90deg, rgba(139, 197, 64, 0), rgba(139, 197, 64, .5), rgba(139, 197, 64, 0)); animation: dtmSang 3.2s ease-in-out infinite; }
@keyframes dtmSang { 0% { left: -60%; } 60%, 100% { left: 130%; } }
/* Thanh tìm việc (đúng như ảnh anh gửi): ô gõ có nút Tìm · Địa điểm · Mức lương */
.dtm-tim { grid-area: tim; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; min-width: 0; }
.dtm-o { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 12px; border-radius: 12px; background: #fff; }
.dtm-o svg { width: 20px; height: 20px; flex: none; color: #8a94ad; }
.dtm-o input { flex: 1 1 0; width: 0; min-width: 0; min-height: 44px; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 700; color: var(--chu); }
.dtm-o button { flex: none; min-height: 44px; padding: 0 24px; border: 0; border-radius: 9px; background: var(--cn-la); color: var(--cn-dam); font: inherit; font-size: 1.02rem; font-weight: 900; cursor: pointer; }
.dtm-tim select { width: 100%; min-width: 0; min-height: 56px; padding: 8px 12px; border-radius: 12px; background: #fff; font: inherit; font-weight: 700; color: var(--cn-dam); }
.dtm-o, .dtm-tim select { border: 1.5px solid #d5dbec; box-shadow: 0 10px 26px rgba(6, 10, 40, .28); }
/* Bản đồ: tỉnh đang tuyển tô màu; chỉ MỘT ghim ở tỉnh đang chọn (anh dặn: ghim không chồng nhau), chuyển tỉnh thì ghim rơi xuống chỗ mới */
.dtm-bd { grid-area: bd; position: relative; min-width: 0; }
.dtm-bd svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 14px 26px rgba(4, 8, 36, .45)); }
.dtm-bd .t { fill: #fff; stroke: #b4c0ee; stroke-width: .7; stroke-linejoin: round; }
.dtm-bd .co { cursor: pointer; }
.dtm-bd .co .t { stroke: #fff; stroke-width: 1.1; transition: filter .3s; }
.dtm-bd .co:hover .t, .dtm-bd .co.sang .t { filter: brightness(1.12) drop-shadow(0 0 5px rgba(255, 255, 255, .95)); }
.dtm-bd .dao { fill: #fff; }
.dtm-bd text { fill: #fff; font-family: inherit; font-weight: 800; }
.dtm-bd .ten-dao { font-size: 16px; }
.dtm-bd .bien { font-size: 16px; font-style: italic; letter-spacing: .14em; opacity: .42; }
.dtm-bd .ghim { visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s; }
.dtm-bd .ghim.dang { visibility: visible; opacity: 1; }
.dtm-bd .ghim.dang .roi { animation: dtmRoi .45s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes dtmRoi { from { transform: translateY(-18px); opacity: 0; } to { transform: none; opacity: 1; } }
.dtm-bd .ghim path { stroke: #fff; stroke-width: 2; }
.dtm-bd .ghim .song { fill: none; stroke: #fff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.dtm-bd .ghim .chu { opacity: 0; font-size: 17px; font-weight: 900; paint-order: stroke; stroke: #1a2566; stroke-width: 5px; stroke-linejoin: round; transition: opacity .3s; }
.dtm-bd .ghim.dang .song { animation: dtmSong 1.6s ease-out infinite; }
.dtm-bd .ghim.dang .chu { opacity: 1; }
@keyframes dtmSong { 0% { transform: scale(.25); opacity: .95; } 100% { transform: scale(2.4); opacity: 0; } }
/* Cột tên tỉnh (anh dặn: mỗi tỉnh một dòng, góc phải trên, không ghi số): chung ô lưới với bản đồ, đè vùng biển trống phía đông Bắc Bộ */
.dtm-tinh { grid-area: bd; z-index: 2; display: grid; justify-self: end; align-self: start; gap: 7px; width: max-content; }
.dtm-tinh a { display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(20, 24, 90, .55); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; font-size: .88rem; font-weight: 800; white-space: nowrap; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dtm-tinh a:hover { background: rgba(255, 255, 255, .16); }
.dtm-tinh a i { width: 10px; height: 10px; flex: none; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
/* Mọi ô chừa sẵn chỗ mũi tên (ẩn) → chọn tỉnh khác cột không xê dịch; ô đang chọn nền trắng + "›" = bấm lần nữa để xem việc */
.dtm-tinh a[data-tinh]::after { content: "›"; margin-left: auto; padding-left: 10px; font-size: 1.15em; font-weight: 900; line-height: 1; opacity: 0; }
.dtm-tinh a.dang { background: #fff; color: var(--cn-dam); border-color: #fff; }
.dtm-tinh a.dang::after { opacity: 1; }
/* Số ô hiện do app.js tính cho vừa chỗ (không đè QĐ. Hoàng Sa), còn lại gộp "+N tỉnh"; chưa tính xong thì chỉ hiện 4 tỉnh đầu */
.dtm-tinh a[hidden] { display: none; }
.dtm-tinh:not(.da-vua) a[data-tinh]:nth-of-type(n+5) { display: none; }
@media (min-width: 900px) {
  /* Hàng 1: banner | bản đồ sát nhau giữa trang; hàng 2: thanh tìm việc dài hết bề ngang */
  .dtm-trong { grid-template-columns: minmax(0, 540px) clamp(250px, 26vw, 350px); grid-template-areas: "qc bd" "tim tim"; justify-content: center;
    column-gap: clamp(28px, 4vw, 60px); row-gap: 22px; align-items: center; padding-top: 26px; padding-bottom: 40px; }
  .dtm-tim { grid-template-columns: minmax(0, 2.8fr) minmax(0, 1fr) minmax(0, 1fr); }
  .dtm-o { grid-column: auto; }
  .dtm-tinh { margin-right: -24px; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .dtm-trong { grid-template-columns: minmax(0, 500px) clamp(240px, 30vw, 310px); }
  .dtm-tim { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .dtm-tinh { margin-right: 0; }
}
@media (max-width: 899px) {
  .dtm-bd { width: min(100%, 340px); justify-self: center; }
  .dtm-tinh a { font-size: .8rem; }
}
@media (max-width: 560px) {
  .dtm-bd { width: min(100%, 300px); }
  .dtm-tinh a i { width: 8px; height: 8px; }
}
@media (max-width: 380px) {
  .dtm-o button { padding: 0 16px; }
}

/* ===== Khối "Lý do lựa chọn Hmong Go" — anh duyệt 25/10/2026 (src/trang/ly-do-chon.tsx; xem trước project-docs/xem-truoc-ly-do-chon/), SÁT
   "Lý do lựa chọn sàn tuyển dụng" của trang mẫu: dải nền chuyển trơn chàm → xanh trời tràn hết bề ngang, trái logo chữ in hoa + 3 ý có nút ô trám thêu (mẫu C),
   phải tiêu đề vàng + 2 đoạn + 3 ô trắng tách rời (thoi 4 cánh xanh lá, số chàm có "+", đếm lên khi cuộn tới — app.js khối "Lý do lựa chọn"). ===== */
/* Nền tràn HẾT bề ngang như dải CTV xanh lá (anh dặn 25/10 "nền không full hai bên") — chữ vẫn trong khung 1140 ở giữa */
.ldc { padding: 0; }
.ldc-khung { color: #fff; background: linear-gradient(90deg, #262e79 0%, #2c3d93 38%, #3672d4 72%, #3b86e6 100%); }
.ldc-trong { display: grid; gap: 30px; max-width: 1140px; margin: 0 auto; padding: 44px 20px 48px; }
.ldc-logo { display: flex; align-items: center; gap: 16px; }
.ldc-logo img { width: 58px; height: 58px; flex: none; border-radius: 12px; }
.ldc-logo span { display: grid; justify-items: end; row-gap: 5px; }
/* chữ hoa có dấu chồng (KẾT NỐI) — dòng ≥ 1.2 cho khỏi đè (anh dặn 25/10) */
.ldc-logo b { font-size: 2rem; font-weight: 900; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.ldc-logo b i { font-style: normal; color: #8fd14f; }
.ldc-logo small { color: #fff; font-size: .95rem; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ldc-y { display: grid; gap: 30px; margin: 44px 0 0; padding: 0; list-style: none; }
.ldc-y li { display: flex; align-items: center; gap: 18px; font-size: 1.02rem; font-weight: 700; line-height: 1.65; letter-spacing: .01em; text-transform: uppercase; }
.ldc-y li span { white-space: pre-line; } /* xuống dòng trong ô Quản trị = xuống dòng trên trang */
.ldc-y svg { width: 44px; height: 44px; flex: none; } /* nút mẫu C: hình theo ý trong ô trám viền chỉ vàng (anh chọn 25/10) */
.ldc-phai h2 { margin: 0 0 12px; color: #ffd200; font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.ldc-phai p { margin: 0 0 18px; color: #fff; font-size: .95rem; font-weight: 600; line-height: 1.75; white-space: pre-line; }
.ldc-so { display: grid; grid-template-columns: repeat(var(--so-o, 3), minmax(0, 1fr)); gap: 2px; margin-top: 36px; }
.ldc-so > div { container-type: inline-size; padding: 20px 8px 22px; text-align: center; background: #fff; border-radius: 2px; box-shadow: 0 8px 22px rgba(5, 10, 40, .22); }
.ldc-so b { display: flex; align-items: center; justify-content: center; gap: min(10px, 4cqi); color: #26307a; font-size: min(2.6rem, 16cqi); font-weight: 800; line-height: 1.2; } /* số dài (230.000) tự co cho vừa ô */
.ldc-so b em { font-style: normal; }
.ldc-so b svg { width: min(22px, 9cqi); height: min(22px, 9cqi); flex: none; }
.ldc-so b sup { margin-left: 2px; font-size: .62em; font-weight: 700; vertical-align: -.1em; }
.ldc-so > div > span { display: block; margin-top: 12px; color: #26307a; font-size: .88rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 900px) {
  .ldc-trong { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 64px; align-items: center; padding-top: 58px; padding-bottom: 92px; }
  .ldc-phai { padding-top: 6px; }
}
@media (max-width: 899px) {
  .ldc-trong { padding-left: 16px; padding-right: 16px; }
  .ldc-y { margin-top: 30px; gap: 22px; }
}
@media (max-width: 560px) { /* điện thoại: 3 ô số xếp dọc cho số to rõ */
  .ldc-so { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ldc-so > div { padding: 16px 12px 18px; }
  .ldc-so b { font-size: 2.3rem; }
  .ldc-so b svg { width: 20px; height: 20px; }
}
@media (max-width: 420px) {
  .ldc-logo img { width: 48px; height: 48px; }
  .ldc-logo b { font-size: 1.6rem; }
  .ldc-logo small { font-size: .8rem; }
  .ldc-y li { font-size: .92rem; gap: 14px; }
  .ldc-y svg { width: 38px; height: 38px; }
  .ldc-so > div > span { font-size: .76rem; }
}

.cn-luoi-ct { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cn-the-ct { display: grid; justify-items: center; text-align: center; gap: 6px; text-decoration: none; color: var(--cn-chu-the); }
.cn-the-ct b { color: var(--cn-dam); }
.cn-anh.lon { width: 84px; height: 84px; }
.cn-o-luoi { display: grid; gap: 14px; }
.cn-o { display: flex; align-items: center; gap: 12px; color: var(--cn-chu-the); }
.cn-so {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cn-dam); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
}
.cn-so.xanh { background: var(--cn-la); color: var(--cn-dam); }
.cn-so.lon { width: 44px; height: 44px; font-size: 1.2rem; background: var(--cn-la); color: var(--cn-dam); }
.cn-o-gioi-thieu h3 { color: var(--cn-dam); margin: 10px 0 6px; font-weight: 900; }
.cn-o-gioi-thieu p { margin: 0; color: var(--cn-chu-the); }
.cn-dai-ctv li svg { width: 26px; height: 26px; fill: none; stroke: var(--cn-la-dam); stroke-width: 2; flex: none; }
.cn-o-so { display: grid; gap: 4px; text-align: center; }
.cn-o-so b { font-size: 2rem; color: var(--cn-dam); font-weight: 900; }
.cn-o-so span { color: var(--mo); font-size: .9rem; }
.cn-dai-ctv { background: var(--cn-la); color: var(--cn-dam); }
/* Dải CTV là khối cuối trang chủ (khung "Gửi thông tin" đã bỏ 25/10/2026) → nối liền chân trang, không hở vạch nền 10px */
main > .cn-dai-ctv:last-child { margin-bottom: -10px; }
.cn-dai-ctv-trong { display: grid; gap: 16px; padding-top: 26px; padding-bottom: 26px; align-items: center; }
.cn-dai-ctv h2 { margin: 0 0 10px; font-weight: 900; text-transform: uppercase; }
.cn-dai-ctv ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-weight: 800; }
.cn-dai-ctv li { display: flex; align-items: center; gap: 8px; }
.cn-dai-ctv li svg { stroke: var(--cn-dam); }
.cn-dai-ctv .nut { background: var(--cn-dam); color: #fff; justify-self: start; }

.cn-ct-luoi { display: grid; gap: 18px; align-items: start; }
.cn-chi-tiet { padding: 18px 16px; display: grid; gap: 10px; }
.cn-chi-tiet h2 { color: var(--cn-dam); font-size: 1.12rem; font-weight: 900; margin: 14px 0 2px; padding-top: 12px; border-top: 1px solid #eef0f5; }
.cn-chi-tiet p { margin: 0; }
.cn-ct-dau { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
.cn-ct-dau.lon { grid-template-columns: 84px 1fr; }
.cn-ct-dau h1 { margin: 0 0 4px; }
.cn-hanh-dong { display: flex; flex-wrap: wrap; gap: 8px; }
.cn-hanh-dong .nut { min-height: 42px; padding: 8px 16px; }
.cn-luu-chu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.cn-luu-chu[aria-pressed="true"] { color: var(--cn-do); border-color: var(--cn-do); }
.cn-luu-chu[aria-pressed="true"] svg { fill: var(--cn-do); }
.cn-lien-quan h2 { color: var(--cn-dam); font-weight: 900; text-transform: uppercase; font-size: 1.05rem; margin: 0 0 12px; }
.cn-luoi.mot-cot { grid-template-columns: 1fr !important; }

.cn-the-bai { display: grid; gap: 6px; text-decoration: none; color: var(--cn-chu-the); padding: 0 0 14px; overflow: hidden; align-content: start; }
.cn-the-bai > :not(.cn-anh-bai) { padding: 0 14px; }
.cn-the-bai b { color: var(--cn-dam); font-size: 1.05rem; }
.cn-anh-bai { aspect-ratio: 16 / 9; background: var(--cn-nen); display: block; overflow: hidden; }
.cn-anh-bai img { width: 100%; height: 100%; object-fit: cover; }
.cn-anh-bai svg { width: 30%; height: 100%; margin: 0 auto; display: block; }
.cn-tom-tat { color: var(--mo); font-size: .92rem; }
.cn-bai { display: grid; gap: 12px; padding: 20px 18px; }
.cn-bai h1 { color: var(--cn-dam); font-weight: 900; margin: 0; font-size: 1.6rem; }
.cn-bai p { margin: 0; line-height: 1.7; }
.cn-anh-bai-lon { width: 100%; border-radius: 10px; }

.cn-quy-trinh { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.cn-quy-trinh li { display: flex; gap: 12px; align-items: center; color: var(--cn-chu-the); }
.cn-buoc { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cn-buoc li { padding: 4px 10px; border-radius: 999px; background: #eef0f5; color: var(--mo); font-size: .82rem; font-weight: 800; }
.cn-buoc li.xong { background: var(--cn-la); color: var(--cn-dam); }

@media (min-width: 640px) {
  .cn-luoi.ba-cot { grid-template-columns: 1fr 1fr; }
  .cn-luoi-ct { grid-template-columns: repeat(3, 1fr); }
  .cn-o-luoi.hai, .cn-o-luoi.bon { grid-template-columns: 1fr 1fr; }
  .cn-o-luoi.ba { grid-template-columns: repeat(3, 1fr); }
  .cn-o-luoi.nam { grid-template-columns: repeat(3, 1fr); }
  .cn-dai-ctv-trong { grid-template-columns: 1fr auto; }
}
@media (min-width: 900px) {
  .cn-tk-hang { display: flex; }
  .cn-tk-dt { display: none; }
  .cn-luoi.ba-cot { grid-template-columns: repeat(3, 1fr); }
  .cn-luoi-ct { grid-template-columns: repeat(4, 1fr); }
  .cn-luoi-ct.rong { grid-template-columns: repeat(3, 1fr); }
  .cn-o-luoi.bon { grid-template-columns: repeat(4, 1fr); }
  .cn-o-luoi.nam { grid-template-columns: repeat(5, 1fr); }
  .cn-ct-luoi { grid-template-columns: 1fr 340px; }
  .cn-chan-luoi { grid-template-columns: 1.6fr 1fr 1fr .9fr; gap: 24px; padding-top: 34px; }
  .cn-chan-luoi > :first-child, .cn-chan-luoi > :last-child { grid-column: auto; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .cn-mxh .tron { width: 34px; height: 34px; }
  .cn-mxh .cn-tieng { display: none; }
}

/* Bộ lọc quản trị không tràn ở điện thoại nhỏ */
.loc > * { min-width: 0; max-width: 100%; }
.loc select, .loc input { max-width: 100%; }

/* Dải mỏng trên cùng (máy tính): Kết nối việc làm + số điện thoại + mạng xã hội + đổi tiếng */
.cn-dai-tren { display: none; background: var(--cn-dam); color: #fff; font-size: .85rem; font-weight: 700; }
.cn-dai-tren .khung-rong { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.cn-dai-tren a { color: #fff; }
.cn-dai-tren .tron { width: 28px; height: 28px; font-size: .62rem; }
.cn-dai-tren .tron svg { width: 15px; height: 15px; }
.cn-dai-tren .cn-tieng { border-color: rgba(255,255,255,.6); color: #fff; padding: 3px 10px; font-size: .78rem; display: inline-flex !important; }
.cn-menu a { white-space: nowrap; }
.cn-menu { margin-left: auto; }
@media (min-width: 900px) { .cn-dai-tren { display: block; } .cn-dai-tren .cn-mxh { display: flex; } }

/* ===== Đầu trang máy tính — sắp lại cho gọn, chuyên nghiệp (anh dặn 22–23/10/2026) =====
   Nút ☰ · logo · menu giữa: Việc làm · Công ty · Hợp tác · Kiếm tiền cùng · Giới thiệu ▾ (chữ thẳng một hàng, mục đang xem / rê chuột
   có vạch xanh dưới) · vạch ngăn · Đăng nhập / Đăng ký (hoặc nút tài khoản). */
@media (min-width: 900px) {
  .cn-dau-trong { min-height: 74px; gap: 20px; }
  .cn-logo { gap: 12px; flex: none; }
  .cn-logo svg { width: 44px; height: 44px; }
  .cn-logo b { font-size: 1.32rem; letter-spacing: -.01em; }
  .cn-logo small { margin-top: 2px; font-size: .7rem; }
  .cn-menu { flex: 1; justify-content: center; align-self: stretch; align-items: stretch; gap: 2px; margin: 0; min-width: 0; }
  .cn-menu > a { position: relative; display: flex; align-items: center; padding: 0 14px; font-size: .86rem; letter-spacing: .03em; transition: color .15s; }
  /* Tiếng khác chữ dài (Hmoob "Khwv nyiaj nrog peb", Pháp, Tây Ban Nha…): mục quá dài tự xuống 2 dòng thay vì tràn; tiếng Việt giữ 1 dòng như cũ */
  html:not([lang="vi"]) .cn-menu > a { flex: 0 1 auto; max-width: 10em; white-space: normal; text-align: center; line-height: 1.15; text-wrap: balance; }
  .cn-menu > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 17px; height: 3px; border-radius: 3px;
    background: var(--cn-la); transform: scaleX(0); transition: transform .2s;
  }
  .cn-menu > a:hover::after, .cn-menu > a.dang::after { transform: scaleX(1); }
  .cn-tk-hang { position: relative; flex: none; gap: 10px; padding-left: 20px; }
  .cn-tk-hang::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 30px; margin-top: -15px; background: var(--cn-vien); }
  .cn-tk-hang .cn-tk { min-height: 42px; padding: 0 22px; font-size: .9rem; transition: background .15s, box-shadow .15s; }
  .cn-tk-hang .cn-tk:hover { background: var(--cn-nen); }
  .cn-tk-hang .cn-tk.dam:hover { background: #1b2766; box-shadow: 0 4px 14px rgba(36, 51, 127, .28); }
  /* Nút ☰ trước logo: ô vuông bo góc nền nhạt */
  .cn-ham { width: 44px; height: 44px; padding: 0 12px; margin: 0 -6px 0 0; background: var(--cn-nen); }
  .cn-ham:hover, .cn-ham:focus-visible { background: #e4e8f3; }
  /* GIỚI THIỆU ▾ sau Kiếm tiền cùng: bấm vào thả xuống Về chúng tôi · Quy trình · Đi làm an toàn · Tra số | Tin tức */
  .cn-gt { position: relative; }
  .cn-gt > summary {
    position: relative; display: flex; align-items: center; gap: 5px; height: 100%; min-height: 74px; padding: 0 14px; list-style: none; cursor: pointer;
    color: var(--cn-dam); font-weight: 800; font-size: .86rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; transition: color .15s;
  }
  .cn-gt > summary::-webkit-details-marker { display: none; }
  .cn-gt > summary svg { width: 14px; height: 14px; flex: none; transition: transform .2s; }
  .cn-gt[open] > summary svg { transform: rotate(180deg); }
  .cn-gt > summary::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 17px; height: 3px; border-radius: 3px;
    background: var(--cn-la); transform: scaleX(0); transition: transform .2s;
  }
  .cn-gt > summary:hover, .cn-gt.dang > summary, .cn-gt[open] > summary { color: var(--cn-la-dam); }
  .cn-gt > summary:hover::after, .cn-gt.dang > summary::after, .cn-gt[open] > summary::after { transform: scaleX(1); }
  .cn-gt-hop {
    position: absolute; top: 100%; left: 0; z-index: 40; width: 250px; display: grid; padding: 10px; background: #fff;
    border-radius: 0 0 14px 14px; border-top: 3px solid var(--cn-la); box-shadow: 0 10px 30px rgba(20, 30, 70, .18);
  }
  .cn-menu .cn-gt-hop a { padding: 10px 12px; border-radius: 8px; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 700; }
  .cn-menu .cn-gt-hop a:hover { background: var(--cn-nen); color: var(--cn-la-dam); }
  .cn-gt-tin { position: relative; margin-top: 11px; }
  .cn-gt-tin::before { content: ""; position: absolute; left: 12px; right: 12px; top: -6px; height: 1px; background: var(--cn-vien); }
}
/* Menu ngang (Việc làm … Giới thiệu ▾) chỉ hiện khi đủ chỗ: đo 23/10/2026, ở 900 px ☰ + logo + 5 mục + nút tài khoản đè nhau.
   Hẹp hơn 1060 px: menu nằm trong khung ☰ (nhóm Menu) như điện thoại; nút tài khoản vẫn đủ ở góc phải. */
@media (min-width: 900px) and (max-width: 1059px) { .cn-tk-hang { margin-left: auto; } }
@media (min-width: 1060px) {
  .cn-menu { display: flex; }
  /* Khung ☰ máy tính: một cột như mẫu anh gửi */
  .cn-ben { width: 290px; padding: 10px 12px 16px; }
  .cn-ben-luoi { grid-template-columns: 1fr; }
  .cn-ben-luoi a, .cn-ben-luoi button { min-height: 38px; padding: 8px 12px; font-size: .92rem; }
  .cn-ben-nut { margin: 6px 0 4px; padding: 12px 10px; font-size: 1rem; }
  .cn-ben-nhom h4 { margin: 10px 8px 4px; font-size: .78rem; }
  .cn-chi-dt { display: none !important; }
  /* Như hoc.hmora.vn: khách chưa đăng nhập không có ☰ trên máy tính (đã có menu ngang) */
  .cn-ham.khach { display: none; }
  /* Trang khu của mình (như /learn/dashboard của hoc.hmora.vn, anh dặn 23/10/2026 tối): cột menu ☰ dính bên trái nội dung;
     bấm ☰ thì thu gọn / mở lại cột (nội dung rộng ra). Đầu trang dính cao 74 px (hàng logo; dải tìm 56 px đã bỏ 25/10/2026). */
  .cn-than-tv { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; background: linear-gradient(90deg, #14161c 270px, transparent 270px); }
  .cn-than-tv > .cn-ben {
    position: sticky; top: 74px; left: auto; bottom: auto; z-index: 1; width: auto; max-height: calc(100vh - 74px);
    transform: none; visibility: visible; box-shadow: none; transition: none; padding-top: 4px;
  }
  .cn-than-tv > .cn-ben .cn-ben-dau, .cn-than-tv > .cn-ben-man { display: none; }
  .cn-than-tv:has(> .cn-mo-ben:checked) { grid-template-columns: minmax(0, 1fr); background: none; }
  .cn-than-tv > .cn-mo-ben:checked ~ .cn-ben { display: none; }
  body:has(.cn-than-tv > .cn-mo-ben:checked) { overflow: visible; }
  /* Khu của tôi (CTV / Đối tác): cột menu đã có đủ mục → bỏ hàng 5 thẻ trùng */
  .cn-than-tv:not(:has(> .cn-mo-ben:checked)) .kct-the { display: none; }
  /* Trang KHÔNG phải khu (trang chủ, việc làm…) khi đã đăng nhập (anh dặn 24/10/2026 "phải như ảnh 2… đứng y như hoc.hmora.vn"):
     cột mặc định ẨN, bấm ☰ thì hiện dưới đầu trang như trang khu (không còn khung trượt đè đầu trang) */
  .cn-than-tv.cot-an { grid-template-columns: minmax(0, 1fr); background: none; }
  .cn-than-tv.cot-an > .cn-ben { display: none; }
  .cn-than-tv.cot-an:has(> .cn-mo-ben:checked) { grid-template-columns: 270px minmax(0, 1fr); background: linear-gradient(90deg, #14161c 270px, transparent 270px); }
  .cn-than-tv.cot-an > .cn-mo-ben:checked ~ .cn-ben { display: flex; }
}
/* Nội dung khu của mình nằm trong web (khu CTV / Đối tác, Thông tin tuyển dụng) */
.cn-kct { padding-top: 18px; padding-bottom: 32px; }
.cn-td { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.cn-td-so { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cn-td-so .cn-o-so { padding: 12px 10px; text-decoration: none; }
.cn-td-so .cn-o-so b { font-size: 1.7rem; line-height: 1.1; }
a.cn-o-so:hover { box-shadow: 0 0 0 2px var(--cn-la); }
.cn-td h2 { margin: 0 0 10px; color: var(--cn-dam); font-size: 1.15rem; font-weight: 900; }
@media (min-width: 640px) { .cn-td-so { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .cn-td-so { grid-template-columns: repeat(6, 1fr); } }
/* Thông tin cá nhân / Thông tin đối tác / Đổi mật khẩu — bố cục như /learn/profile/ của hoc.hmora.vn (anh dặn 23/10/2026 tối):
   tiêu đề giữa in hoa · thẻ chia cột trái (tên mục + ghi chú) | cột phải (ô có nhãn nhỏ NẰM TRONG ô, 2 cột; ngân hàng 3 ô một hàng)
   · nút lưu bên phải. Điện thoại: một cột. */
.ttcn { display: grid; gap: 14px; }
.ttcn-tieu-de { margin: 4px 0 2px; text-align: center; color: var(--cn-dam); font-size: 1.6rem; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.ttcn-the { display: grid; gap: 0; background: #fff; border-radius: 14px; box-shadow: 0 1px 4px rgba(20, 30, 70, .07); padding: 6px 20px; }
.ttcn-muc { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; padding: 18px 0; }
.ttcn-muc + .ttcn-muc { border-top: 1px solid var(--cn-vien); }
.ttcn-muc > h3 { margin: 6px 0 0; color: var(--cn-dam); font-size: 1rem; font-weight: 800; }
.ttcn-muc > h3 small { display: block; margin-top: 6px; color: #6b7590; font-size: .8rem; font-weight: 600; line-height: 1.45; }
.ttcn-luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ttcn-luoi.ba { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ttcn-luoi.mot { grid-template-columns: minmax(0, 1fr); }
.ttcn-hep { max-width: 440px; }
.fl { position: relative; display: block; min-width: 0; }
.fl input, .fl select {
  display: block; width: 100%; height: 52px; padding: 20px 12px 6px; border: 1px solid #cfd5e3; border-radius: 8px; background: #fff;
  color: var(--cn-dam); font: inherit; font-size: .95rem; font-weight: 700;
}
.fl input:focus, .fl select:focus { outline: none; border-color: var(--cn-dam); box-shadow: 0 0 0 3px rgba(36, 51, 127, .14); }
.fl input[readonly] { background: #f3f5fa; color: #4b5470; cursor: default; }
.fl input[readonly]:focus { border-color: #cfd5e3; box-shadow: none; }
.fl-nhan { position: absolute; left: 13px; top: 7px; color: #6b7590; font-size: .72rem; font-weight: 700; pointer-events: none; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 26px); }
/* Ô ảnh đại diện bên trái các ô thông tin (như hoc.hmora.vn): khung nét đứt; có ảnh thì hiện ảnh tròn + "Đổi ảnh" */
.ttcn-cn { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; }
.anh-dd { display: grid; gap: 8px; min-width: 0; }
.anh-dd-o {
  position: relative; display: grid; place-items: center; gap: 6px; min-height: 180px; padding: 14px; border: 1.5px dashed #9aa6c4; border-radius: 12px;
  background: #f7f8fc; text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
}
.anh-dd-o:hover { border-color: var(--cn-dam); background: #eef1f9; }
.anh-dd-chon { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.anh-dd-xem { display: none; width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #fab23d; }
.anh-dd-trong { display: grid; justify-items: center; gap: 4px; color: var(--cn-dam); font-size: .85rem; }
.anh-dd-trong svg { width: 36px; height: 36px; }
.anh-dd-trong small, .anh-dd-nhac { color: #6b7590; font-size: .76rem; font-weight: 600; }
.anh-dd-doi { display: none; color: var(--cn-dam); font-weight: 800; font-size: .85rem; }
.anh-dd-o.co-anh .anh-dd-xem, .anh-dd-o.co-anh .anh-dd-doi { display: block; }
.anh-dd-o.co-anh .anh-dd-trong { display: none; }
.anh-dd-nhac { display: none; margin: 0; text-align: center; }
.anh-dd.da-chon .anh-dd-nhac { display: block; color: #b7791f; }
.anh-dd-xoa { font-size: .82rem; justify-content: center; }
.anh-dd-xoa input { width: 18px; height: 18px; }
.hu-mat img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ttcn-nut { display: flex; justify-content: flex-end; margin-top: 16px; }
.ttcn-nut .nut { text-transform: uppercase; min-width: 180px; }
@media (max-width: 760px) {
  .ttcn-tieu-de { font-size: 1.3rem; }
  .ttcn-the { padding: 4px 14px; }
  .ttcn-muc { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 0; }
  .ttcn-luoi, .ttcn-luoi.ba, .ttcn-luoi.mot { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ttcn-cn { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .anh-dd-o { min-height: 150px; }
  .anh-dd-xem { width: 110px; height: 110px; }
  .ttcn-nut .nut { width: 100%; }
}
/* Máy tính nhỏ: menu khít lại cho đủ chỗ (dòng KẾT NỐI VIỆC LÀM dưới tên vẫn hiện — 23/10/2026) */
@media (min-width: 900px) and (max-width: 1179px) {
  .cn-dau-trong { gap: 14px; }
  .cn-menu > a { padding: 0 10px; font-size: .8rem; letter-spacing: .01em; }
  .cn-menu > a::after { left: 10px; right: 10px; }
  .cn-tk-hang { gap: 8px; padding-left: 14px; }
  .cn-tk-hang .cn-tk { padding: 0 15px; font-size: .84rem; }
  .cn-gt > summary { padding: 0 10px; font-size: .8rem; letter-spacing: .01em; }
  .cn-gt > summary::after { left: 10px; right: 10px; }
}

/* ================= Trang quản trị kiểu hoc.hmora.vn (anh duyệt 22/10/2026) =================
   Đầu trang + menu trái chia 5 nhóm (mở một nhóm một lúc). Điện thoại: nút ☰ mở menu trượt.
   Nền TỐI mặc định (body.qt.toi), nền SÁNG (body.qt.sang) — đổi ở nút đầu trang (cookie qt_nen). */
body.qt { --qt-nen: var(--nga); --qt-the: var(--trang); --qt-the-2: #f3eddf; --qt-dau: var(--cham); --qt-nhan: var(--vang); --qt-nhan-chu: var(--cham); }
body.qt.sang { --qt-nen: #f3f5fa; --qt-the-2: #eef1f7; }
body.qt.toi {
  --nga: #121318; --trang: #1d1f27; --chu: #eef0f6; --mo: #a3a8b8; --vien: #2e3240; --cham-2: #9fb4ff; --bong: none;
  --qt-nen: #121318; --qt-the: #1d1f27; --qt-the-2: #252833; --qt-dau: #0b0c10;
  color-scheme: dark;
}
body.qt { background: var(--qt-nen); }
.qt-mo-menu { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.qt-dau { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: var(--qt-dau); color: #fff; }
.qt-dau::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--do) 0 25%, var(--vang) 25% 50%, var(--xanh) 50% 75%, var(--hong) 75%); }
.qt-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.qt-logo svg { width: 38px; height: 38px; flex: none; }
.qt-logo b { display: block; font-size: 1.2rem; letter-spacing: .04em; line-height: 1.05; }
.qt-logo small { display: block; font-size: .72rem; opacity: .75; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-dau-phai { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .86rem; }
.qt-ai { opacity: .85; white-space: nowrap; }
.qt-nut { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; border-radius: 8px; padding: 7px 12px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.qt-nut.dam { background: #fff; color: #15183a; border-color: #fff; }
.qt-ham { display: none; color: #fff; cursor: pointer; padding: 4px; }
.qt-ham svg { width: 26px; height: 26px; display: block; }
.qt-than { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 62px); }
.qt-ben { background: var(--qt-nen); border-right: 1px solid var(--vien); padding: 16px 12px; position: sticky; top: 62px; align-self: start; max-height: calc(100vh - 62px); overflow-y: auto; }
body.qt.sang .qt-ben { background: #fff; }
.qt-muc { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; color: var(--chu); font: inherit; font-weight: 600; font-size: .93rem; padding: 9px 12px; border-radius: 10px; text-decoration: none; cursor: pointer; text-align: left; list-style: none; }
.qt-muc::-webkit-details-marker { display: none; }
.qt-muc-to { font-weight: 800; font-size: .98rem; padding: 11px 12px; }
.qt-muc:hover { background: var(--qt-the-2); }
.qt-muc.on { background: var(--qt-nhan); color: var(--qt-nhan-chu); }
.qt-muc svg { width: 19px; height: 19px; flex: none; color: var(--vang); }
.qt-muc.on svg { color: var(--qt-nhan-chu); }
.qt-mui { margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--mo); border-bottom: 2px solid var(--mo); transform: rotate(-45deg); transition: transform .2s; flex: none; }
.qt-nhom[open] > summary .qt-mui { transform: rotate(45deg); }
.qt-nhom-con { padding: 2px 0 8px 29px; display: grid; gap: 2px; }
.qt-so { background: var(--do); color: #fff; border-radius: 999px; padding: 1px 7px; font-size: .74rem; font-weight: 800; margin-left: 4px; line-height: 1.5; }
.qt-ben-cuoi { display: none; border-top: 1px solid var(--vien); margin-top: 10px; padding-top: 8px; }
.qt-ben-cuoi form { margin: 0; }
.qt-man { display: none; }
.qt-noi { padding: 24px 28px 48px; min-width: 0; }
.qt-h1 { font-size: 1.6rem; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qt-luoi-so { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.qt-o-so { display: grid; gap: 6px; align-content: start; background: var(--qt-the); border: 1px solid var(--vien); border-radius: var(--bo); padding: 14px 16px; color: var(--chu); text-decoration: none; }
a.qt-o-so:hover { border-color: var(--vang); }
.qt-o-so .nhan-o { color: var(--mo); font-size: .86rem; }
.qt-o-so b { font-size: 1.8rem; line-height: 1; }
.qt-o-so b small { font-size: 1rem; color: var(--mo); }
.qt-o-so .goi { color: var(--mo); font-size: .8rem; }
.qt-o-so.can { border-color: rgba(229, 57, 57, .55); }
.qt-o-so.can b { color: #e53939; }
.qt-o-so.tot b { color: var(--xanh); font-size: 1.45rem; }
body.qt.toi .qt-o-so.can b { color: #ff6b6b; }
body.qt.toi .qt-o-so.tot b { color: #3ecf7a; }
.qt-luoi-nhom { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.qt-luoi-nhom h3 { font-size: 1rem; margin: 0 0 8px; color: #b07c00; }
body.qt.toi .qt-luoi-nhom h3 { color: var(--vang); }
.qt-luoi-nhom a { display: block; padding: 5px 0; color: var(--chu); text-decoration: none; }
.qt-luoi-nhom a:hover { color: var(--vang); }
.qt-the-tab { display: flex; gap: 4px; border-bottom: 1px solid var(--vien); overflow-x: auto; margin-top: 4px; }
.qt-the-tab a { padding: 10px 14px; color: var(--mo); font-weight: 800; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.qt-the-tab a.on { color: var(--chu); border-bottom-color: var(--vang); }
.qt-chip { display: inline-flex; align-items: center; border: 1.5px solid var(--vien); background: transparent; color: var(--chu); border-radius: 999px; padding: 6px 13px; font: inherit; font-weight: 700; font-size: .88rem; text-decoration: none; cursor: pointer; white-space: nowrap; min-height: 38px; }
.qt-chip.on { background: var(--vang); border-color: var(--vang); color: var(--cham); }
.qt-xep { color: inherit; text-decoration: none; }
.qt-xep.on { color: var(--chu); }
.qt-lv { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 10px 2px 4px; font-size: .78rem; font-weight: 800; background: rgba(246, 180, 14, .2); color: #8a6100; white-space: nowrap; vertical-align: middle; }
body.qt.toi .qt-lv { color: var(--vang); }
.qt-lv-to { display: flex; align-items: center; gap: 10px; font-size: 1.7rem; font-weight: 900; color: #b07c00; }
/* Huy hiệu ảnh nhỏ cạnh tên Level: thẻ bấm tên, nhãn Sổ đi làm (25/10/2026) */
.hu-lv, .nhan-lv { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; }body.qt.toi .qt-lv-to { color: var(--vang); }
.qt-bieu { display: flex; align-items: flex-end; gap: 12px; height: 140px; border-bottom: 1px solid var(--vien); padding-top: 6px; }
.qt-cot { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.qt-cot-2 { display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.qt-cot-2 i { width: 12px; border-radius: 4px 4px 0 0; display: block; min-height: 2px; }
.qt-cot small { color: var(--mo); font-size: .74rem; }
i.gt { background: #60a5fa; }
i.du { background: var(--xanh); }
.qt-chu-giai { display: flex; gap: 14px; color: var(--mo); font-size: .82rem; margin-top: 8px; }
.qt-chu-giai i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.qt-nghi { display: inline-block; position: relative; }
.qt-nghi > summary { list-style: none; }
.qt-nghi > summary::-webkit-details-marker { display: none; }
.qt-nghi[open] form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; width: 220px; background: var(--qt-the); border: 1px solid var(--vien); border-radius: 12px; padding: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.ctv-level-ten { font-size: 2rem; font-weight: 900; color: var(--do); }
.ctv-hang { font-size: 1.5rem; color: var(--do); }

/* Nền tối: các phần quản trị cũ dùng màu cứng → đổi theo */
body.qt.toi input[type=text], body.qt.toi input[type=tel], body.qt.toi input[type=number], body.qt.toi input[type=password],
body.qt.toi input[type=date], body.qt.toi input[type=url], body.qt.toi input[type=search], body.qt.toi input[type=email], body.qt.toi select, body.qt.toi textarea {
  background: #15161c; color: var(--chu); border-color: #3a3f50;
}
body.qt.toi .bang th { background: #252833; color: #c9cddb; }
body.qt.toi fieldset { background: var(--trang); }
body.qt.toi .so-lon b { color: var(--chu); }
body.qt.toi .nut.toi { background: #34407a; color: #fff; }
body.qt.toi .nut.vien { background: transparent; color: var(--chu); border-color: #4a5068; }
body.qt.toi .bao.tot { background: rgba(35, 148, 90, .18); color: #7ee2a8; }
body.qt.toi .bao.loi { background: rgba(214, 40, 57, .18); color: #ff9aa5; }
body.qt.toi .bao.vang { background: rgba(246, 180, 14, .14); color: #f6d47a; }
body.qt.toi .nhan.moi { background: rgba(96, 165, 250, .18); color: #93c5fd; }
body.qt.toi .nhan.tot { background: rgba(62, 207, 122, .16); color: #7ee2a8; }
body.qt.toi .nhan.cho { background: rgba(246, 180, 14, .16); color: #f6d47a; }
body.qt.toi .nhan.xau { background: rgba(239, 71, 71, .18); color: #ff9aa5; }
body.qt.toi .nhan.mo { background: #2a2d38; color: #b8bccb; }
body.qt.toi .vach { background: #2a2d38; }
body.qt.toi .chi-tiet summary { color: var(--cham-2); }
body.qt.toi .qr { background: #fff; }
@media (max-width: 719px) {
  body.qt.toi table.the-dong tr { background: var(--trang); }
}

/* Điện thoại: menu trái thành ngăn trượt (bấm ☰) */
@media (max-width: 899px) {
  .qt-dau { padding: 10px 14px; }
  .qt-ham { display: block; }
  .qt-ai, .qt-an-dt { display: none !important; }
  .qt-than { grid-template-columns: minmax(0, 1fr); }
  .qt-ben { position: fixed; top: 0; left: 0; bottom: 0; width: min(82vw, 300px); max-height: none; z-index: 40; transform: translateX(-104%); transition: transform .25s; box-shadow: 8px 0 30px rgba(0,0,0,.35); padding-top: 18px; }
  .qt-mo-menu:checked ~ .qt-than .qt-ben { transform: none; }
  .qt-mo-menu:checked ~ .qt-than .qt-man { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(0,0,0,.5); }
  .qt-ben-cuoi { display: block; }
  .qt-noi { padding: 16px 12px 40px; }
  .qt-h1 { font-size: 1.35rem; }
  .qt-luoi-so { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .qt-o-so { padding: 11px 12px; }
  .qt-o-so b { font-size: 1.45rem; }
  .qt-o-so.tot b { font-size: 1.15rem; }
  .qt-luoi-nhom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .qt-logo b { white-space: nowrap; }
}
@media (max-width: 379px) {
  .qt-dau { gap: 8px; padding: 8px 10px; }
  .qt-logo { gap: 7px; }
  .qt-logo svg { width: 30px; height: 30px; }
  .qt-logo b { font-size: 1rem; }
  .qt-nut { padding: 6px 9px; font-size: .8rem; }
}

/* ================= Trang Kiếm tiền cùng (CTV) — bố cục 8 khối như trang Cộng tác viên của trang mẫu (22/10/2026) ================= */
.ctvp { color: #071938; }
.ctvp-dau { background: #fff; padding: 52px 0 26px; }
.ctvp-dau-trong { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
.ctvp-to { font-size: clamp(1.75rem, 3.6vw, 2.55rem); font-weight: 400; text-transform: uppercase; line-height: 1.3; letter-spacing: .01em; margin: 0 0 10px; color: #071938; }
.ctvp-phu { font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: #1d2b5e; margin: 0 0 18px; }
.ctvp-mo { font-size: 1.1rem; line-height: 1.75; color: #334862; margin: 0 0 24px; }
.ctvp-nut { display: inline-flex; align-items: center; gap: 8px; background: var(--cn-dam); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 999px; }
.ctvp-nut:hover { background: #1a2669; }
.ctvp-hinh-dau { width: 100%; max-width: 420px; justify-self: center; }
.ctvp-dai { position: relative; }
.ctvp-song { display: block; width: 100%; height: 70px; }
.ctvp-song path:last-child { fill: #2479e0; }
.ctvp-dai-xanh { background: linear-gradient(180deg, #2479e0 0%, #1a66c9 100%); padding: 18px 0 54px; margin-top: -1px; box-shadow: 0 34px 0 #e3effd; margin-bottom: 34px; }
.ctvp-the-luoi { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; max-width: 1140px; }
.ctvp-the { background: #fff; border-radius: 18px; padding: 24px 16px 26px; text-align: center; box-shadow: 0 10px 26px rgba(10, 40, 100, .18); }
.ctvp-hinh-the { width: 124px; height: 90px; display: block; margin: 0 auto 14px; }
.ctvp-the h3 { font-size: 1.15rem; font-weight: 700; color: #1d2b5e; margin: 0 0 8px; line-height: 1.35; }
.ctvp-the p { color: #4a5a78; font-size: .94rem; line-height: 1.55; margin: 0; }
.ctvp-buoc, .ctvp-vi-sao, .ctvp-doi-tac { background: #fff; }
.ctvp-buoc { padding: 30px 0 56px; }
.ctvp-buoc-trong { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: center; }
.ctvp-hinh-buoc { width: 100%; max-width: 430px; }
.ctvp-buoc-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ctvp-buoc-ds li { display: flex; position: relative; }
.ctvp-buoc-ds li.phai { justify-content: flex-end; }
.ctvp-vien { position: relative; display: flex; align-items: center; gap: 14px; width: min(100%, 440px); background: #fff; border: 5px solid var(--cn-dam); border-radius: 999px; padding: 4px 4px 4px 26px; }
.ctvp-buoc-ds li.phai .ctvp-vien { flex-direction: row-reverse; padding: 4px 26px 4px 4px; }
.ctvp-vien::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); border-top: 30px solid transparent; border-bottom: 30px solid transparent; }
.ctvp-buoc-ds li.trai .ctvp-vien::after { right: -30px; border-left: 26px solid var(--cn-dam); }
.ctvp-buoc-ds li.phai .ctvp-vien::after { left: -30px; border-right: 26px solid var(--cn-dam); }
.ctvp-buoc-ds li::before { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #b8e03a; }
.ctvp-buoc-ds li.trai::before { left: min(calc(100% - 4px), 482px); }
.ctvp-buoc-ds li.phai::before { right: min(calc(100% - 4px), 482px); }
.ctvp-buoc-chu { flex: 1; min-width: 0; padding: 8px 0; }
.ctvp-buoc-chu b { display: block; color: #071938; font-weight: 900; }
.ctvp-buoc-chu span { color: #334862; font-size: .95rem; line-height: 1.4; }
.ctvp-vong { flex: none; width: 78px; height: 78px; margin: -12px 0; border-radius: 50%; border: 7px solid var(--cn-la); background: #fff; display: grid; place-items: center; color: var(--cn-xanh); box-shadow: 0 4px 12px rgba(10, 40, 100, .18); position: relative; z-index: 1; }
.ctvp-vong svg { width: 34px; height: 34px; }
.ctvp-cam-ket { background: url(/hoa-van/sao.svg) repeat center / 90px, linear-gradient(135deg, #2479e0, #1857b8); padding: 60px 0 72px; }
.ctvp-h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 400; text-align: center; color: #071938; margin: 0 0 34px; }
.ctvp-h2.trang { color: #fff; }
.ctvp-cam-ket-luoi { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 50px; max-width: 1120px; margin: 0 auto; }
.ctvp-ck { width: 300px; text-align: center; }
.ctvp-ck-tron { width: 100px; height: 100px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.ctvp-ck-tron svg { width: 58px; height: 58px; }
.ctvp-ck p { color: #e3eeff; font-size: 1.06rem; margin: 0; line-height: 1.55; }
.ctvp-vi-sao { padding: 64px 0; }
.ctvp-vi-sao-trong { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.ctvp-hinh-vi-sao { width: 100%; max-width: 460px; }
.ctvp-vi-sao .ctvp-h2 { text-align: left; }
.ctvp-vs-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ctvp-vs-ds li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(20, 40, 90, .13); }
.ctvp-vs-so { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--cn-xanh); color: #fff; font-weight: 900; font-size: 1.1rem; display: grid; place-items: center; }
.ctvp-vs-sao { flex: none; width: 38px; text-align: center; color: #f6a609; font-size: 1.9rem; line-height: 1; }
.ctvp-vs-ds li > span:last-child { color: #1d2b5e; font-size: 1.08rem; padding-top: 6px; }
.ctvp-vs-ds li small { display: block; color: var(--cn-xanh); font-size: .95rem; margin-top: 4px; }
/* Khách hàng và Đối tác: lưới 6 cột (điện thoại 2 cột), chỉ kẻ đứt GIỮA các ô (không viền ngoài) — như trang mẫu */
.ctvp-doi-tac { padding: 56px 0 64px; }
.ctvp-logo-luoi { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: hidden; }
.ctvp-logo { height: 110px; display: grid; place-items: center; padding: 14px 18px; border-right: 1px dashed #c3cbd9; border-bottom: 1px dashed #c3cbd9; margin: 0 -1px -1px 0; text-decoration: none; color: var(--cn-dam); font-weight: 800; text-align: center; }
.ctvp-logo img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; }
/* Ảnh anh tải lên thay hình vẽ */
img.ctvp-anh { display: block; }
img.ctvp-hinh-dau, img.ctvp-hinh-buoc, img.ctvp-hinh-vi-sao { width: 100%; height: auto; border-radius: 22px; object-fit: cover; justify-self: center; }
img.ctvp-hinh-the { width: 124px; height: 90px; object-fit: contain; margin: 0 auto 14px; }
.ctvp-ck-tron { overflow: hidden; }
img.ctvp-anh-tron { width: 100%; height: 100%; object-fit: cover; }
/* Quản trị → Trang Kiếm tiền cùng */
.qt-dt-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.qt-dt { display: grid; gap: 6px; justify-items: center; text-align: center; border: 1px solid var(--vien); border-radius: 12px; padding: 12px; background: var(--qt-the-2); }
.qt-dt.an-di { opacity: .55; }
.qt-dt-logo { width: 100%; height: 80px; display: grid; place-items: center; background: #fff; border-radius: 8px; padding: 8px; color: #24337f; font-weight: 800; }
.qt-dt-logo img { max-height: 64px; max-width: 100%; object-fit: contain; }
.qt-anh-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.qt-anh-o { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; border: 1px solid var(--vien); border-radius: 12px; padding: 12px; background: var(--qt-the-2); }
.qt-anh-o input[type=file] { min-height: 0; padding: 6px; font-size: .85rem; width: 100%; }
.qt-anh-xem { width: 100%; height: 130px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 10px; overflow: hidden; }
.qt-anh-xem > svg { width: 100%; max-width: 100%; height: 118px; margin: 0; }
.qt-anh-xem > img { max-width: 100%; max-height: 118px; width: auto; height: auto; object-fit: contain; }
.qt-anh-xem.tron > svg, .qt-anh-xem.tron > img { width: 96px; height: 96px; max-height: none; border-radius: 50%; object-fit: cover; }
.ctvp-dang-ky { background: #f4f8ff; }
/* Cửa sổ "Đăng ký trở thành cộng tác viên" (như trang mẫu): mở bằng #xin-ctv, hoặc .mo khi gửi lỗi.
   VỪA MỘT MÀN HÌNH, không bắt lướt (anh dặn 22/10/2026): hộp là cột flex cao tối đa bằng màn hình, ẢNH TỰ CO (300px → 90px)
   cho phần điền luôn hiện đủ; chỉ màn hình quá thấp mới phải lướt. */
.ctvp-cs { display: none; position: fixed; inset: 0; z-index: 60; align-items: center; justify-content: center; padding: 16px; }
.ctvp-cs:target, .ctvp-cs.mo { display: flex; }
.ctvp-cs-nen { position: absolute; inset: 0; background: rgba(10, 14, 30, .62); }
.ctvp-cs-hop { position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow-y: auto; background: #fff; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.ctvp-cs-dong { position: absolute; top: 6px; right: 10px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; font-size: 2rem; line-height: 1; color: #111; text-decoration: none; }
.ctvp-cs-anh { flex: 1 1 300px; min-height: 90px; max-height: 300px; overflow: hidden; background: linear-gradient(180deg, #fff, #e3eefc); }
.ctvp-cs-anh > svg, .ctvp-cs-anh > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ctvp-cs-ruot { flex: 0 0 auto; padding: 14px 16px 16px; }
.ctvp-cs-ruot h2 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; text-transform: uppercase; color: #1a4ea8; letter-spacing: .01em; }
.ctvp-cs-phu { margin: 0 0 10px; font-size: .9rem; color: #222; line-height: 1.45; }
.ctvp-cs-phu b { font-weight: 700; }
.ctvp-cs-form { display: grid; gap: 9px; }
.ctvp-cs-form input[type=text], .ctvp-cs-form input[type=tel], .ctvp-cs-form select { min-height: 40px; padding: 7px 12px; font-size: .92rem; border: 1px solid #cdd3dd; border-radius: 4px; background: #fff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06); }
.ctvp-cs-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ctvp-cs-zalo { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: #333; }
.ctvp-cs-zalo input { width: 18px; height: 18px; accent-color: var(--cn-dam); }
.ctvp-cs-loai { border: 0; padding: 0; margin: 2px 0 0; background: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ctvp-cs-loai legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: .9rem; color: #222; }
.ctvp-cs-loai .sao-do { color: #e53939; }
.ctvp-cs-loai label { display: flex; gap: 8px; align-items: center; font-size: .9rem; font-weight: 600; color: #222; cursor: pointer; }
.ctvp-cs-loai input { width: 17px; height: 17px; margin: 0; accent-color: var(--cn-dam); }
.ctvp-cs-nut { justify-self: start; margin-top: 6px; min-width: 200px; min-height: 44px; padding: 10px 28px; border: 0; border-radius: 4px; background: #1d3a8a; color: #fff; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
.ctvp-cs-nut:hover { background: #162d6d; }
/* Ô mật khẩu + quy định CTV (tự tạo tài khoản, không chờ duyệt — anh dặn 23/10/2026 tối) */
.ctvp-cs-form input[type=password] { width: 100%; min-width: 0; min-height: 40px; padding: 7px 44px 7px 12px; font: inherit; font-size: .92rem; border: 1px solid #cdd3dd; border-radius: 4px; background: #fff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06); }
.ctvp-cs-hai > * { min-width: 0; }
.ctvp-cs-qd { font-size: .86rem; color: #333; }
.ctvp-cs-qd summary { cursor: pointer; font-weight: 700; color: #1a4ea8; }
.ctvp-cs-qd ol { margin: 4px 0 0; padding-left: 20px; }
@media (max-width: 559px) {
  .ctvp-cs { padding: 0; align-items: flex-end; }
  .ctvp-cs-hop { width: 100%; max-height: 96vh; max-height: 96dvh; border-radius: 16px 16px 0 0; }
  .ctvp-cs-anh { flex-basis: 200px; max-height: 200px; min-height: 70px; }
  .ctvp-cs-ruot { padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); }
  .ctvp-cs-loai { flex-direction: column; gap: 6px; }
  .ctvp-cs-nut { width: 100%; }
}
/* Màn thấp (điện thoại nhỏ 320 × 568): bỏ ảnh trên, khít lại để cửa sổ vừa MỘT màn hình (anh dặn 22/10 — không bắt lướt) */
@media (max-height: 700px) and (max-width: 559px) {
  #xin-ctv .ctvp-cs-anh { display: none; }
  #xin-ctv .ctvp-cs-ruot h2 { padding-right: 40px; font-size: .98rem; }
  #xin-ctv .ctvp-cs-phu { margin-bottom: 6px; font-size: .82rem; line-height: 1.35; }
  #xin-ctv .ctvp-cs-form { gap: 6px; }
  #xin-ctv .ctvp-cs-form input[type=text], #xin-ctv .ctvp-cs-form input[type=tel], #xin-ctv .ctvp-cs-form input[type=password], #xin-ctv .ctvp-cs-form select { min-height: 36px; padding-top: 5px; padding-bottom: 5px; }
  #xin-ctv .ctvp-cs-loai { gap: 3px; }
  #xin-ctv .ctvp-cs-loai legend { margin-bottom: 3px; }
  #xin-ctv .ctvp-cs-nut { margin-top: 2px; min-height: 42px; padding: 8px 20px; }
}
.ctvp-hoi { background: #f1f3f6; padding: 54px 0 64px; }
.ctvp-hoi-muc { border-bottom: 1px solid #dde2ea; }
.ctvp-hoi-muc > summary { list-style: none; cursor: pointer; position: relative; padding: 14px 14px 14px 44px; font-size: 1.08rem; color: #1d2b5e; }
.ctvp-hoi-muc > summary::-webkit-details-marker { display: none; }
.ctvp-hoi-muc > summary::before { content: ""; position: absolute; left: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.ctvp-hoi-muc[open] > summary { background: #e6e9ee; border-top: 2px solid var(--cn-la); color: var(--cn-la-dam); }
.ctvp-hoi-muc[open] > summary::before { transform: rotate(-135deg); margin-top: -2px; }
.ctvp-hoi-muc p { margin: 0; padding: 10px 14px 18px 44px; color: #334862; line-height: 1.65; }
@media (max-width: 999px) {
  .ctvp-the-luoi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ctvp-logo-luoi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 799px) {
  .ctvp-dau { padding: 30px 0 10px; }
  .ctvp-dau-trong, .ctvp-buoc-trong, .ctvp-vi-sao-trong { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ctvp-hinh-dau { max-width: 300px; }
  .ctvp-the-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ctvp-the { padding: 16px 10px 18px; }
  .ctvp-hinh-the { width: 96px; height: 70px; }
  .ctvp-the h3 { font-size: 1rem; }
  .ctvp-the p { font-size: .88rem; }
  .ctvp-hinh-buoc { max-width: 280px; justify-self: center; }
  .ctvp-buoc-ds li.phai { justify-content: flex-start; }
  .ctvp-buoc-ds li.phai .ctvp-vien { flex-direction: row; padding: 4px 4px 4px 22px; }
  .ctvp-vien { width: 100%; padding-left: 22px; }
  .ctvp-vien::after, .ctvp-buoc-ds li::before { display: none; }
  .ctvp-vong { width: 64px; height: 64px; border-width: 6px; margin: -8px 0; }
  .ctvp-vong svg { width: 28px; height: 28px; }
  .ctvp-cam-ket { padding: 44px 0 50px; }
  .ctvp-cam-ket-luoi { gap: 26px 14px; }
  .ctvp-ck { width: calc(50% - 7px); }
  .ctvp-ck-tron { width: 80px; height: 80px; }
  .ctvp-ck-tron svg { width: 46px; height: 46px; }
  .ctvp-ck p { font-size: .95rem; }
  .ctvp-vi-sao { padding: 40px 0; }
  .ctvp-hinh-vi-sao { max-width: 260px; justify-self: center; }
  .ctvp-vi-sao .ctvp-h2 { text-align: center; }
  .ctvp-logo-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctvp-logo { height: 110px; }
}
@media (max-width: 359px) {
  .ctvp-the-luoi { grid-template-columns: minmax(0, 1fr); }
}

/* ================= Trang Hợp tác = "Quy trình hợp tác" (bố cục như trang mẫu, anh dặn 22/10/2026) =================
   Dải tiêu đề xanh lá (mã QR + nút trái, tiêu đề giữa, ảnh phải mờ dần) → 7 bước XẾP DỌC trên nền xanh nhạt, lướt lên xuống
   (anh đổi 22/10 — không trượt ngang): máy tính ảnh / chữ so le trái phải, số bước ở giữa nối bằng vạch dọc; điện thoại ảnh trên chữ dưới. */
.htp-dau { position: relative; overflow: hidden; background: linear-gradient(90deg, #f4f9e6 0%, #d9eeb4 30%, #a9d464 62%, #8bc540 100%); }
.htp-dau-anh { position: absolute; top: 0; right: 0; bottom: 0; width: min(36%, 460px); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.htp-dau-anh > svg, .htp-dau-anh > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.htp-dau-trong { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 190px; }
.htp-qr { display: flex; align-items: center; gap: 12px; }
.htp-qr-ma { flex: none; display: block; width: 104px; height: 104px; padding: 5px; background: #fff; border-radius: 8px; box-shadow: 0 4px 14px rgba(20, 30, 70, .15); }
.htp-qr-ma svg { display: block; width: 100%; height: 100%; }
.htp-qr-ben { display: grid; gap: 6px; justify-items: start; }
.htp-qr-nut {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 16px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(90deg, #3b8be6, #1a66c9); color: #fff; font-weight: 800; font-size: .86rem; box-shadow: 0 4px 12px rgba(26, 102, 201, .3);
}
.htp-qr-nut:hover { background: linear-gradient(90deg, #1a66c9, #1553a6); }
.htp-qr-ben small { color: #334862; font-weight: 700; font-size: .78rem; }
.htp-dau h1 { grid-column: 2; margin: 0; color: #273a89; font-size: 1.87rem; font-weight: 800; text-transform: uppercase; text-align: center; letter-spacing: .01em; }

.htp-buoc { background: #ddf2fd; padding: 46px 0 54px; }
.htp-ds { position: relative; list-style: none; margin: 0 auto; display: grid; gap: 40px; }
.htp-ds::before { content: ""; position: absolute; top: 40px; bottom: 40px; left: 50%; width: 3px; margin-left: -1.5px; border-radius: 3px; background: linear-gradient(#8bc540, #1a66c9); opacity: .45; }
.htp-o { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 100px; align-items: center; }
.htp-o-anh { grid-column: 1; grid-row: 1; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(20, 40, 90, .12); }
.htp-o-anh > svg, .htp-o-anh > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.htp-o-chu { grid-column: 2; grid-row: 1; }
.htp-o:nth-child(even) .htp-o-anh { grid-column: 2; }
.htp-o:nth-child(even) .htp-o-chu { grid-column: 1; }
.htp-so {
  position: absolute; top: 50%; left: 50%; z-index: 1; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 3px solid #8bc540; color: #273a89; font-weight: 900; font-size: 1.35rem; box-shadow: 0 4px 12px rgba(20, 40, 90, .15);
}
.htp-o-chu h2 { margin: 0 0 14px; color: #273a89; font-size: 1.6rem; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.htp-o-chu p { margin: 0 0 10px; color: #273a89; font-weight: 600; line-height: 1.6; }

/* Quản trị: ô xem trước ảnh dải tiêu đề có nền xanh lá như dải thật (hình vẽ sẵn màu trắng) */
.qt-anh-xem.dai { background: linear-gradient(90deg, #d9eeb4, #8bc540); }
/* Cửa sổ "Gửi nhu cầu" dùng khung cửa sổ CTV (.ctvp-cs), không có ảnh trên */
.htp-cs .ctvp-cs-hop { width: min(560px, 100%); }
.htp-cs .ctvp-cs-ruot { padding: 18px 20px 20px; }
.htp-cs .ctvp-cs-ruot h2 { padding-right: 40px; }
/* Cửa sổ "Tạo tài khoản doanh nghiệp" (23/10/2026): thêm ô email, mật khẩu + link Đăng nhập */
.htp-cs .ctvp-cs-form input[type=email], .htp-cs .ctvp-cs-form input[type=password],
.htp-cs .ctvp-cs-form input[type=number], .htp-cs .ctvp-cs-form textarea {
  min-height: 40px; padding: 7px 12px; font: inherit; font-size: .92rem; border: 1px solid #cdd3dd; border-radius: 4px; background: #fff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06);
}
.htp-cs .ctvp-cs-form textarea { min-height: 62px; resize: vertical; }
.htp-cs .ctvp-cs-form input:not([type=checkbox]) { min-width: 0; width: 100%; }
.htp-cs .ctvp-cs-form .o-mk > input { padding-right: 46px; } /* chữ không chạy dưới nút con mắt */
.htp-cs-dn { justify-self: center; font-size: .88rem; font-weight: 700; color: var(--cn-dam); }
/* Điện thoại màn thấp (320×568): bỏ đoạn giới thiệu (bước 1 trên trang đã ghi), ô thấp hơn → vừa một màn hình, kể cả khi có dòng báo lỗi */
@media (max-width: 559px) and (max-height: 720px) {
  .htp-cs .ctvp-cs-phu { display: none; }
  .htp-cs .ctvp-cs-ruot { padding: 14px 14px calc(12px + env(safe-area-inset-bottom)); }
  .htp-cs .ctvp-cs-ruot h2 { font-size: .95rem; margin-bottom: 10px; }
  .htp-cs .ctvp-cs-form { gap: 7px; }
  .htp-cs .ctvp-cs-hai { gap: 7px; }
  .htp-cs .ctvp-cs-form input:not([type=checkbox]), .htp-cs .ctvp-cs-form select { min-height: 36px; padding-top: 5px; padding-bottom: 5px; }
  .htp-cs .ctvp-cs-zalo { font-size: .85rem; }
  .htp-cs .ctvp-cs-nut { margin-top: 2px; }
}

@media (max-width: 1099px) {
  .htp-o { gap: 0 76px; }
  .htp-o-chu h2 { font-size: 1.3rem; }
}
@media (max-width: 719px) {
  .htp-dau-anh { width: 70%; opacity: .45; }
  .htp-dau-trong { grid-template-columns: 1fr; justify-items: center; gap: 14px; min-height: 0; padding-top: 22px; padding-bottom: 22px; }
  .htp-dau h1 { grid-column: 1; order: -1; font-size: 1.45rem; }
  .htp-qr-ma { width: 88px; height: 88px; }
  .htp-buoc { padding: 28px 0 34px; }
  .htp-o { gap: 0 56px; }
  .htp-so { width: 42px; height: 42px; margin: -21px 0 0 -21px; font-size: 1.1rem; }
  .htp-o-chu h2 { font-size: 1.1rem; margin-bottom: 8px; }
  .htp-o-chu p { font-size: .93rem; margin-bottom: 4px; }
}
/* Điện thoại: mỗi bước ảnh trên, chữ dưới, số bước ở góc ảnh */
@media (max-width: 559px) {
  .htp-buoc { padding: 22px 0 28px; }
  .htp-ds { gap: 26px; }
  .htp-ds::before { display: none; }
  .htp-o { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .htp-o-anh, .htp-o:nth-child(even) .htp-o-anh { grid-column: 1; grid-row: 1; }
  .htp-o-chu, .htp-o:nth-child(even) .htp-o-chu { grid-column: 1; grid-row: 2; }
  .htp-so { top: 10px; left: 10px; width: 40px; height: 40px; margin: 0; font-size: 1.05rem; }
  .htp-o-chu h2 { font-size: 1.12rem; margin-bottom: 6px; }
  .htp-o-chu p { font-size: .95rem; }
}

/* ================= Trang Công ty như trang mẫu (anh dặn 22/10/2026 "tạo 1:1") =================
   Danh sách: cột Bộ lọc trái + lưới thẻ 2 cột (ảnh bìa 160px, nhãn "Đối tác chính thức" góc phải trên, logo vuông + tên IN HOA
   + nơi làm + quy mô, chân thẻ: ngành | số việc đang tuyển). Chi tiết: thẻ đầu (ảnh bìa 240px, ô logo trắng đè mép ảnh, nhãn đối tác,
   tên + Chia sẻ, ô thông tin 2 cột có biểu tượng tròn) + Giới thiệu công ty + Vị trí công ty đang tuyển. */
.ctp-san { padding-top: 30px; padding-bottom: 50px; }
.ctp-luoi { display: grid; gap: 24px 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ctp-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ctp-the {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 6px; color: inherit; text-decoration: none;
  box-shadow: 0 2px 10px rgba(20, 30, 70, .08); transition: box-shadow .2s, transform .2s;
}
.ctp-the:hover { box-shadow: 0 10px 26px rgba(20, 30, 70, .15); transform: translateY(-2px); }
.ctp-bia { display: block; height: 160px; overflow: hidden; border-radius: 6px 6px 0 0; background: linear-gradient(135deg, #1d2b6b, #1a66c9); }
.ctp-bia.lon { height: 240px; }
.ctp-bia > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ctp-bia-ve { display: block; width: 100%; height: 100%; background: url(/hoa-van/sao.svg) repeat; background-size: 64px; }
.ctp-bia-ve svg { display: block; width: 100%; height: 100%; }
.ctp-nhan {
  position: absolute; top: -10px; right: -10px; z-index: 1; padding: 3px 14px; border-radius: 6px 6px 0 6px;
  background: linear-gradient(90deg, #4a97ee, #2f7fe0); color: #fff; font-weight: 700; font-size: .92rem; box-shadow: 0 3px 8px rgba(26, 102, 201, .3);
}
.ctp-nhan::after { content: ""; position: absolute; right: 0; bottom: -8px; border-top: 8px solid #1b55a3; border-right: 10px solid transparent; }
.ctp-than { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 20px 22px 0; }
.ctp-logo { width: 60px; height: 60px; display: grid; place-items: center; overflow: hidden; border: 1px solid #d9dee8; border-radius: 6px; background: #fff; }
.ctp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctp-logo svg { width: 44px; height: 44px; }
.ctp-chu { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ctp-ten { color: #1d2b5e; font-size: 1.05rem; font-weight: 700; line-height: 1.3; text-transform: uppercase; overflow-wrap: anywhere; }
.ctp-dong { display: flex; align-items: center; gap: 6px; color: #334862; font-size: .9rem; font-weight: 600; }
.ctp-dong svg { flex: none; width: 16px; height: 16px; }
.ctp-chan { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 22px 18px; }
.ctp-nganh { color: #111827; font-weight: 800; font-size: .98rem; }
.ctp-so { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; color: var(--cn-la-dam); font-weight: 800; font-size: .9rem; } /* không ép một dòng: "N txoj haujlwm tab tom nrhiav neeg" (Hmoob) tràn ngang ở 320 px */
.ctp-so svg { width: 18px; height: 18px; flex: none; }

.ctp-ct { display: grid; gap: 22px; min-width: 0; }
.ctp-dau { background: #fff; border-radius: 6px; box-shadow: 0 2px 10px rgba(20, 30, 70, .08); }
.ctp-dau-than { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0 26px; padding: 0 30px 26px; }
.ctp-dau-logo { position: relative; margin-top: -26px; height: 150px; display: grid; place-items: center; padding: 22px 10px 10px; background: #fff; border-radius: 8px 8px 0 0; }
.ctp-dau-logo img { max-width: 140px; max-height: 110px; object-fit: contain; }
.ctp-dau-logo > svg { width: 96px; height: 96px; }
.ctp-nhan-ct {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px;
  border-radius: 6px; background: #2f7fe0; color: #fff; font-size: .8rem; font-weight: 700; white-space: nowrap; box-shadow: 0 3px 8px rgba(26, 102, 201, .3);
}
.ctp-nhan-ct svg { width: 15px; height: 15px; }
.ctp-dau-chu { padding-top: 22px; min-width: 0; }
.ctp-dau-hang { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 20px; flex-wrap: wrap; }
.ctp-dau-hang h1 { margin: 0; color: #1d2b5e; font-size: 1.2rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.ctp-dau-nut { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ctp-chia-se {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border: 1px solid #cdd3dd; border-radius: 6px;
  background: #fff; color: #1d2b5e; font: inherit; font-weight: 800; font-size: .88rem; text-transform: uppercase; cursor: pointer;
}
.ctp-chia-se:hover { border-color: var(--cn-dam); }
.ctp-chia-se svg { width: 17px; height: 17px; }
.ctp-tt { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 30px; }
.ctp-tt li { display: flex; align-items: center; gap: 12px; min-width: 0; color: #1f2937; font-weight: 600; overflow-wrap: anywhere; }
.ctp-tt a { color: inherit; }
.ctp-tron { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e7f0fd; color: #1a66c9; }
.ctp-tron svg { width: 17px; height: 17px; }
.ctp-hop { padding: 26px 30px 14px; background: #fff; border-radius: 6px; box-shadow: 0 2px 10px rgba(20, 30, 70, .08); }
.ctp-hop h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #111827; font-size: 1.1rem; font-weight: 800; }
.ctp-hop h2 svg { width: 20px; height: 20px; }
.ctp-hop p { margin: 0 0 14px; color: #1f2937; line-height: 1.7; white-space: pre-line; }
.ctp-h2 { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; color: #1d2b5e; font-size: 1.45rem; font-weight: 800; }
.ctp-h2 svg { flex: none; width: 34px; height: 34px; }
@media (max-width: 899px) { .ctp-chi-may-tinh { display: none; } }
@media (max-width: 719px) {
  .ctp-san { padding-top: 18px; padding-bottom: 30px; }
  .ctp-nhan { right: -6px; font-size: .85rem; }
  .ctp-bia.lon { height: 170px; }
  .ctp-dau-than { grid-template-columns: minmax(0, 1fr); padding: 0 18px 20px; }
  .ctp-dau-logo { width: 150px; height: 120px; margin-top: -40px; border-radius: 8px; box-shadow: 0 4px 14px rgba(20, 30, 70, .12); }
  .ctp-dau-chu { padding-top: 14px; }
  .ctp-tt { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ctp-hop { padding: 20px 18px 8px; }
  .ctp-h2 { font-size: 1.2rem; }
  .ctp-h2 svg { width: 28px; height: 28px; }
}

/* ================= Trang Việc làm như trang mẫu (anh dặn 23/10/2026 "1:1 đầy đủ") =================
   Dải tiêu đề dùng chung (.htp-dau): "viec" = danh sách (chữ to, điện thoại chỉ còn tiêu đề); "dai" = tên một việc.
   Chi tiết (.vlp-*): thẻ đầu (tên, thời gian tuyển, Lương tháng | Tuổi yêu cầu, 4 nút) + bài mục 1–5 | cột phải: công ty + bản đồ
   + ảnh việc → Việc làm liên quan 3 thẻ. */
.htp-dau-anh > .htp-anh { display: block; width: 100%; height: 100%; object-fit: cover; }
.htp-dau.viec h1 { font-size: 2.3rem; }
.htp-dau.viec .htp-dau-anh, .htp-dau.dai .htp-dau-anh { width: min(28%, 380px); }
.htp-dau.dai .htp-dau-trong { grid-template-columns: auto minmax(0, 1fr) min(22%, 260px); }
.htp-dau.dai h1 { font-size: 1.75rem; line-height: 1.3; }
.cn-the-dv { display: block; min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* min-width 0: co theo thẻ (chữ Hmoob dài từng làm tràn điện thoại 24/10) */
.cn-trang a { border-color: #2b3240; color: #1f2937; }
.cn-trang a.dang { color: #fff; }

.vlp { padding: 40px 0 54px; }
.vlp-luoi { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .vlp-luoi { grid-template-columns: minmax(0, 1fr) 293px; gap: 30px; } }
.vlp-chinh { display: grid; gap: 18px; min-width: 0; }
.vlp-dau, .vlp-bai, .vlp-ct { background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(20, 30, 70, .06); }
.vlp-dau { position: relative; display: grid; gap: 22px; padding: 24px 24px 22px; }
.vlp-dau-tren { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: start; }
.vlp-dau-ten h2 { margin: 0 0 6px; color: #111827; font-size: 1.5rem; font-weight: 800; line-height: 1.45; }
.vlp-dv { color: var(--cn-xanh); font-size: .92rem; font-weight: 700; text-decoration: none; }
.vlp-tg { margin: 8px 0 0; color: #071938; font-size: .88rem; }
.vlp-o { display: flex; }
.vlp-o > div { display: flex; align-items: center; gap: 12px; padding: 4px 22px; }
.vlp-o > div + div { border-left: 1px solid #e3e7ef; }
.vlp-o small { display: block; color: #6b7280; font-size: .88rem; font-weight: 600; }
.vlp-o b { color: #111827; font-size: .95rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.vlp-tron { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #e7f0fd; color: #1a66c9; }
.vlp-tron.xanh { background: #e5f5e7; color: #1f9a3a; }
.vlp-tron svg { width: 20px; height: 20px; }
.vlp-nut { display: grid; grid-template-columns: auto auto minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.vlp-nut > a, .vlp-nut > button, .vlp-nut > form > button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 8px;
  font: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.vlp-nut svg { flex: none; width: 19px; height: 19px; }
.vlp-nut-vien { background: #fff; color: #111; border: 1px solid #c9ced8; }
.vlp-nut-vien:hover { border-color: var(--cn-dam); }
.vlp-nut-xanh { background: #139520; color: #fff; border: 0; }
.vlp-nut-xanh:hover { background: #0f7d1b; }
.vlp-nut-chinh { background: var(--cn-dam); color: #fff; border: 0; }
.vlp-nut-chinh:hover { background: #1b2766; }
.vlp-bai { display: grid; gap: 4px; padding: 26px 24px; min-width: 0; }
.vlp-bai h2 { margin: 22px 0 8px; color: #273a89; font-size: 1.5rem; font-weight: 800; line-height: 1.3; }
.vlp-bai h3 { margin: 12px 0 4px; color: #273a89; font-size: 1.2rem; font-weight: 800; }
.vlp-bai p { margin: 0 0 10px; color: #1f2937; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.vlp-bai ul { margin: 4px 0 10px; padding-left: 22px; color: #1f2937; line-height: 1.8; }
.vlp-bai ul:empty { display: none; }
.vlp-bai .phuong-tien { margin: 8px 0 6px; border-radius: 8px; overflow: hidden; }
.vlp-bai .vlp-nut { margin-top: 18px; }
.vlp-ben { display: grid; gap: 20px; min-width: 0; }
.vlp-ct { display: grid; gap: 14px; padding: 18px; }
.vlp-ct-dau { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.vlp-ct-logo { flex: none; width: 60px; height: 60px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; }
.vlp-ct-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vlp-ct-logo svg { width: 56px; height: 56px; }
.vlp-ct-dau b { display: block; color: #1d2b5e; font-size: .95rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.vlp-ct-dau small { color: var(--cn-la-dam); font-size: .85rem; font-weight: 800; }
/* Ô ảnh cột phải trang việc (thay bản đồ Google — anh dặn 23/10/2026) */
.vlp-anh { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg, #1d2b6b, #1a66c9); }
.vlp-anh img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.vlp-anh:hover img { transform: scale(1.03); }
.vlp-lq { margin-top: 40px; }
.vlp-lq h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #4b5563; font-size: 1.3rem; font-weight: 800; }
.vlp-lua { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fde7d2; }
.vlp-lua svg { width: 20px; height: 20px; fill: #f6a13a; stroke: #e57f18; }
.vlp-lq-luoi { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .vlp-lq-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .vlp-lq-luoi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1199px) { .vlp-nut { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 719px) {
  .htp-dau.viec .htp-qr, .htp-dau.dai .htp-qr { display: none; }
  .htp-dau.viec .htp-dau-trong, .htp-dau.dai .htp-dau-trong { grid-template-columns: minmax(0, 1fr); padding-top: 18px; padding-bottom: 18px; }
  .htp-dau.viec h1 { font-size: 1.45rem; }
  .htp-dau.dai h1 { font-size: 1.15rem; }
  .vlp { padding: 16px 0 30px; }
  .vlp-dau { gap: 16px; padding: 20px 16px 16px; }
  .vlp-dau-tren { grid-template-columns: minmax(0, 1fr); }
  .vlp-dau-ten h2 { font-size: 1.2rem; }
  .vlp-o > div { padding: 2px 14px 2px 0; }
  .vlp-o > div + div { padding-left: 14px; }
  .vlp-o b { white-space: normal; }
  .vlp-nut { gap: 10px; }
  .vlp-nut-xanh, .vlp-nut > form, .vlp-nut > .vlp-nut-chinh { grid-column: 1 / -1; }
  .vlp-nut > form { display: grid !important; }
  .vlp-bai { padding: 18px 16px; }
  .vlp-bai h2 { font-size: 1.2rem; }
  .vlp-bai h3 { font-size: 1.05rem; }
  .vlp-lq { margin-top: 26px; }
}

/* Nút con mắt trong ô mật khẩu (public/app.js tự gắn vào mọi ô mật khẩu) */
.o-mk { position: relative; display: block; }
.o-mk > input { width: 100%; padding-right: 50px; }
.nut-hien-mk {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 8px; background: none; color: #6b7280; cursor: pointer;
}
.nut-hien-mk:hover { background: #f1f3f7; color: #1d2b5e; }
.nut-hien-mk svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Dải xanh trên cùng: Hotline trái · CHỮ CHẠY giữa · mạng xã hội phải (như hoc.hmora.vn, anh dặn 23/10/2026) =====
   Câu nối liền, chấm tròn trước mỗi câu, ~10px/giây (app.js đặt), rê chuột thì dừng, hai mép mờ dần. Không tắt khi "giảm chuyển động". */
.cn-dai-tren .khung-rong { gap: 24px; }
.cn-dai-sdt { flex: none; display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; white-space: nowrap; }
.cn-dai-sdt svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cn-dai-sdt b { font-weight: 800; }
.cn-dai-sdt:hover b { text-decoration: underline; }
.mq {
  flex: 0 1 760px; min-width: 0; overflow: hidden; margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.mq-track { display: flex; width: max-content; animation: mqChay var(--mq-dur, 90s) linear infinite; will-change: transform; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-unit { display: flex; flex: none; }
.mq-item { display: inline-flex; align-items: center; gap: 14px; margin-right: 14px; white-space: nowrap; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.mq-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: #8bc540; }
@keyframes mqChay { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Thẻ việc có ẢNH BÌA ở trên như thẻ công ty (anh dặn 23/10/2026) =====
   Ảnh thật nơi làm → ảnh bìa công ty → hình vẽ sẵn; nhãn Tuyển gấp / Đã đủ người vẫn ở góc phải trên. */
.cn-the.co-bia { padding: 0; gap: 0; grid-template-rows: auto 1fr; align-content: stretch; }
.cn-the-bia { display: block; height: 150px; overflow: hidden; border-radius: 10px 10px 0 0; background: linear-gradient(135deg, #1d2b6b, #1a66c9); }
.cn-the-bia > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cn-the-bia:hover > img { transform: scale(1.03); }
.cn-the-than { display: grid; gap: 14px; align-content: space-between; padding: 16px 16px 16px; }
.cn-the.co-bia .cn-ruy-bang { z-index: 2; }
@media (max-width: 559px) { .cn-the-bia { height: 140px; } }

/* ===== Khu của tôi — CTV / Đối tác (bản mô tả 05, 23/10/2026): 5 thẻ một hàng, không phải lướt ngang ===== */
.kct-dau { display: grid; gap: 4px; }
.kct-the { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; background: var(--trang); border: 1px solid var(--vien); border-radius: 12px; padding: 4px; }
.kct-the a { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 4px 2px; border-radius: 9px; text-align: center; line-height: 1.2;
  text-decoration: none; color: var(--cham); font-weight: 800; font-size: .8rem; overflow-wrap: anywhere; }
.kct-the a:hover { background: #f3f0e8; }
.kct-the a.dang { background: var(--cham); color: #fff; }
@media (min-width: 560px) { .kct-the a { font-size: .92rem; } }
.so-lon a { display: block; background: var(--trang); border: 1px solid var(--vien); border-radius: var(--bo); padding: 12px; text-decoration: none; }
.so-lon a b { display: block; font-size: 1.4rem; color: var(--cham); }
.so-lon a span { color: var(--mo); font-size: .85rem; }
.so-lon a:hover { border-color: var(--cham); }
.kct-tien .noi { background: var(--cham); border-color: var(--cham); }
.kct-tien .noi b, .kct-tien .noi span { color: #fff; }
.kct-tien b { font-size: 1.15rem; overflow-wrap: anywhere; }
@media (min-width: 560px) { .kct-ba { grid-template-columns: repeat(3, 1fr); } }
.kct-loc { display: flex; flex-wrap: wrap; gap: 6px; }
.kct-loc a { text-decoration: none; padding: 5px 11px; }
.kct-tim { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.kct-tim input[type="search"] { grid-column: 1 / -1; }
@media (min-width: 560px) { .kct-tim { grid-template-columns: minmax(0, 1fr) 160px auto; } .kct-tim input[type="search"] { grid-column: auto; } }
.kct-nguoi { display: block; color: inherit; text-decoration: none; }
.kct-nguoi:hover { border-color: var(--cham); }
.kct-ma { font-size: 1.8rem; letter-spacing: .06em; }
.kct-moc { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 0; }
.kct-moc li { position: relative; padding: 4px 0 10px 22px; color: var(--mo); }
.kct-moc li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--vien); background: var(--trang); }
.kct-moc li::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: -2px; width: 2px; background: var(--vien); }
.kct-moc li:last-child::after { display: none; }
.kct-moc li.xong { color: var(--chu, #222); }
.kct-moc li.xong::before { background: var(--xanh); border-color: var(--xanh); }

/* Nút tài khoản: nhãn nhân viên đỏ (như hoc.hmora.vn) */
.hu-nhan.staff { background: #f04438; }
/* Nhân sự & phân quyền: các ô quyền */
.nv-quyen { display: grid; gap: 8px; }
@media (min-width: 700px) { .nv-quyen { grid-template-columns: 1fr 1fr; } }
.nv-quyen .tick { align-items: flex-start; }
.qt-the-can { border: 2px solid #ef4747 !important; }
/* Khu của tôi trên điện thoại: tên trên đầu trang một dòng (cắt bằng …), mã không bị ngắt, ô tìm đủ to, số người gọn 4 ô một hàng */
.dau .logo { min-width: 0; flex: 1 1 auto; }
.dau .logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.dau .khung > span { flex: none; }
.kct-dau b { white-space: nowrap; }
.kct-tim input, .kct-tim select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--vien); border-radius: 10px; font: inherit; background: var(--trang); color: inherit; min-width: 0; }
.kct-dem { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 6px; }
.kct-dem a { padding: 10px 6px; text-align: center; }
.kct-dem a b { font-size: 1.25rem; }
.kct-dem a span { font-size: .74rem; line-height: 1.25; display: block; }
@media (max-width: 420px) { .dau .logo span { display: none; } }

/* ===== Quản trị → Danh sách → Tổng hợp: 5 ô số lớn (anh dặn 23/10/2026) ===== */
.ml-luoi { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .ml-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .ml-luoi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ml-the { display: grid; gap: 14px; align-content: start; padding: 18px; border-radius: var(--bo); background: var(--trang); border: 1px solid var(--vien); box-shadow: var(--bong); }
.ml-the header { display: flex; align-items: center; gap: 10px; }
.ml-the h2 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.ml-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--vang); color: var(--cham); }
.ml-ic svg { width: 21px; height: 21px; }
.ml-so { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: inherit; text-decoration: none; }
.ml-so b { font-size: 2.6rem; line-height: 1; font-weight: 900; }
.ml-so span { color: var(--mo); font-weight: 700; }
.ml-so:hover b { color: var(--cham-2); }
.ml-dong { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ml-dong li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--vien); font-size: .93rem; }
.ml-dong li span { color: var(--mo); }
.ml-dong a { color: inherit; }
.ml-nut { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== Danh sách quản lý: thanh tìm + chip lọc + hộp "Thêm" / "Dán nhiều dòng" ===== */
.dl-thanh { display: grid; gap: 10px; }
.dl-tim { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.dl-tim input[type=search] { flex: 1 1 280px; min-width: 0; }
.dl-thanh > a.qt-chip, .dl-thanh > .qt-chip { display: inline-flex; }
.dl-thanh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.dl-thanh .dl-tim { flex: 1 1 100%; }
.dl-them { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.dl-them > details { flex: 0 0 auto; }
.dl-them > details[open] { flex: 1 1 100%; }
.dl-them .mau { margin-top: 12px; }

/* Bảng lương công nhân (đợt A, 23/10/2026) */
.lg-dau { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.lg-ten { font-weight: 800; font-size: 1.05rem; }
.lg-thang { display: inline-flex; align-items: center; gap: 6px; }
.lg-in { width: 92px; min-height: 36px; padding: 4px 8px; text-align: right; }
.lg-tl { white-space: nowrap; }
td form.gon { margin-top: 6px; }
@media (max-width: 719px) {
  /* Dòng đang nhập số công: 4 ô số xếp 2 × 2 cho gọn, tên + thực lĩnh + tình trạng chiếm cả hàng */
  table.the-dong tr[data-lg] { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2px; }
  table.the-dong tr[data-lg] td { width: auto; min-width: 0; }
  table.the-dong tr[data-lg] td:first-child, table.the-dong tr[data-lg] td:nth-child(6), table.the-dong tr[data-lg] td:nth-child(7) { grid-column: 1 / -1; }
  table.the-dong tr[data-lg] .lg-in { width: 100%; }
}

/* Lương của tôi (người đi làm, đợt B, 23/10/2026) */
.ln-to { background: linear-gradient(135deg, #24337f, #3b4a9e); color: #fff; border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; }
.ln-to b { font-size: 2rem; line-height: 1.15; }
.ln-to span { opacity: .88; font-size: .9rem; }
.ln-dong { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef0f5; }
.ln-thang { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-bao { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; border: 1px solid #d62839; background: rgba(214, 40, 57, .1); border-radius: 10px; padding: 8px 12px; }
.lg-bao.vang { border-color: var(--vang); background: rgba(246, 180, 14, .12); }

/* ---------- Khu doanh nghiệp (bản mô tả 06, anh duyệt 23/10/2026) ---------- */
.hu-nhan.dn { background: #24337f; }
.kdn-h1 { margin: 0; font-size: 1.35rem; color: var(--cham); }
.kdn-h2 { margin: 0; font-size: 1.05rem; color: var(--cham); }
.so-lon.kdn-so { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.kdn-so a { text-align: center; padding: 10px 6px; }
.kdn-so a b { font-size: 1.15rem; overflow-wrap: anywhere; }
.kdn-so a.vang { background: #fff8e1; border-color: #f0d48a; }
.kdn-so a.do { background: #fdecee; border-color: #f2b8bf; }
.kdn-so a.do b, .chu-do { color: #9b1424; }
.kdn-hai { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.kdn-luoi { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.kdn-nguoi { box-shadow: none; }
.kdn-nut { display: flex; flex-wrap: wrap; gap: 6px; }
.kdn-xn { display: flex; gap: 6px; align-items: center; margin: 0; }
.kdn-xn input[type=date] { width: auto; min-height: 36px; padding: 4px 8px; font-size: .85rem; }
.kdn-tt { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.kdn-tt b { color: var(--chu); }
.kdn-to { font-size: 1.8rem; color: var(--cham); overflow-wrap: anywhere; }
.kdn-form { display: grid; gap: 12px; }
.kdn-cot2, .kdn-cot3 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.kdn-cot2[hidden] { display: none; }
.kdn-chon { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.kdn-chon legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.kdn-chon label { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.kdn-chon input { width: 18px; height: 18px; margin: 0; flex: none; }
.kdn-uoc { margin: 0; padding: 10px 12px; border-radius: 10px; background: #e8f6ee; color: #146b3e; font-weight: 700; }
.kdn-bang td:not(:first-child), .kdn-bang th { white-space: nowrap; }
/* Điện thoại: 3 ô số trên một hàng, 2 ô tiền hàng dưới — không phải lướt ngang */
@media (max-width: 559px) {
  .so-lon.kdn-so { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .kdn-so a:nth-child(-n+3) { grid-column: span 2; }
  .kdn-so a:nth-child(n+4) { grid-column: span 3; }
  .kdn-so a span { font-size: .74rem; line-height: 1.25; display: block; }
}
/* Thẻ "VIỆC MỚI CẦN TUYỂN" trong Khu của tôi (CTV / Đối tác) */
.kct-vm { border: 2px solid var(--vang); background: #fffaf0; }
.kct-vm-dau { display: flex; gap: 8px; align-items: center; color: #8a5a00; font-weight: 900; letter-spacing: .02em; }
.kct-vm-dau svg { width: 20px; height: 20px; flex: none; }
.kct-vm h3 { margin: 4px 0; font-size: 1.1rem; color: var(--cham); }
.kct-vm-thuong { padding: 8px 10px; border-radius: 10px; background: #e8f6ee; color: #146b3e; font-weight: 700; }
/* Khu doanh nghiệp trên điện thoại: bảng không tràn ngang — tiêu đề cột được xuống dòng; bảng công nợ xếp thành từng thẻ */
.kdn-hai .bang th { white-space: normal; }
@media (max-width: 559px) {
  .kdn-bang thead { display: none; }
  .kdn-bang, .kdn-bang tbody { display: block; }
  .kdn-bang tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 2px; border-bottom: 1px solid var(--vien); }
  .kdn-bang td { display: block; padding: 0; border: 0; white-space: normal !important; }
  .kdn-bang td:first-child { grid-column: 1 / -1; }
  .kdn-bang td[data-nhan]::before { content: attr(data-nhan) ": "; color: var(--mo); font-size: .85rem; }
  .kdn-bang td.so { grid-row: 3; grid-column: 2; align-self: end; text-align: right; }
  .kdn-bang td:last-child { grid-column: 1 / -1; }
}

/* Lương công nhân trong Khu doanh nghiệp (đợt C, 23/10/2026): nhiều ô số trong một dòng → không dùng .so (CSS điện thoại của Khu doanh nghiệp chỉ chừa một ô .so) */
.kdn-bang td.kdl-so, .kdn-bang th.kdl-so { text-align: right; }
@media (max-width: 559px) { .kdn-bang td.kdl-so { text-align: left; } .kdn-bang td.kdl-rong { grid-column: 1 / -1; } .kdn-bang td .nhan { white-space: normal; } }

/* ===================== Khung quản trị GỌN (anh duyệt 24/10/2026, project-docs/xem-truoc-quan-tri-gon) =====================
   Menu 9 mục phẳng · đầu trang = tên mục + thanh thẻ · thanh trên 3 nút nhỏ · trang con không còn hàng ô số to (thu thành một dòng) ·
   một màu nhấn vàng, số đỏ chỉ ở chỗ gấp. */
body.qt.toi { --qt-nen: #0e1015; --qt-the: #161920; --qt-the-2: #1d212b; --qt-dau: #0a0b0f; --trang: #161920; --vien: rgba(255,255,255,.08); }
body.qt.sang { --qt-nen: #f4f5f9; --qt-the: #fff; --qt-the-2: #f1f3f8; --qt-dau: #fff; --vien: #e4e6ee; }
.qt-dau { padding: 10px 22px; min-height: 62px; border-bottom: 1px solid var(--vien); }
.qt-dau::after { height: 2px; opacity: .85; }
body.qt.sang .qt-dau, body.qt.sang .qt-logo, body.qt.sang .qt-ham { color: var(--cham); }
.qt-dau-phai { gap: 8px; }
.qt-nut-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); color: inherit; text-decoration: none; }
body.qt.sang .qt-nut-icon { border-color: #d4d8e3; }
.qt-nut-icon svg { width: 19px; height: 19px; }
.qt-nut-icon:hover { background: rgba(127,135,160,.12); }
.qt-tk { position: relative; }
.qt-tk > summary { list-style: none; cursor: pointer; }
.qt-tk > summary::-webkit-details-marker { display: none; }
.qt-tk-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--vang); color: #15183a; font-weight: 900; font-size: 1.05rem; }
.qt-tk-hop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 230px; padding: 6px; border-radius: 14px; background: var(--qt-the); border: 1px solid var(--vien); box-shadow: 0 14px 34px rgba(0,0,0,.3); color: var(--chu); }
.qt-tk-ten { padding: 10px 12px 8px; border-bottom: 1px solid var(--vien); margin-bottom: 4px; display: grid; gap: 2px; }
.qt-tk-ten small { color: var(--mo); font-size: .8rem; }
.qt-tk-hop a, .qt-tk-hop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 9px; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.qt-tk-hop a:hover, .qt-tk-hop button:hover { background: var(--qt-the-2); }
.qt-tk-hop form { margin: 0; }
/* Menu trái */
@media (min-width: 900px) { .qt-than { grid-template-columns: 232px minmax(0, 1fr); } } /* điện thoại: 1 cột (dòng ~932) */
.qt-ben { padding: 18px 12px; display: grid; gap: 3px; align-content: start; background: var(--qt-dau); }
body.qt.sang .qt-ben { background: #fff; }
.qt-ben .qt-muc-to { font-weight: 700; font-size: .96rem; padding: 11px 12px; border-radius: 12px; }
.qt-muc-ten { flex: 1; }
.qt-ke { height: 1px; background: var(--vien); margin: 10px 8px; }
.qt-so { background: rgba(246, 180, 14, .16); color: #9a6a00; border-radius: 999px; padding: 1px 8px; font-size: .74rem; font-weight: 800; margin-left: 6px; line-height: 1.5; }
body.qt.toi .qt-so { color: var(--vang); }
.qt-muc.on .qt-so { background: rgba(21, 24, 58, .15); color: #15183a; }
/* Đầu nội dung: tên mục + thẻ */
.qt-noi { padding: 26px 30px 56px; display: grid; gap: 18px; align-content: start; }
.qt-noi > * { min-width: 0; }
.qt-muc-dau { display: grid; gap: 10px; }
.qt-ten-muc { margin: 0; font-size: 1.75rem; font-weight: 900; letter-spacing: -.01em; }
.qt-the-muc { margin-top: 0; scrollbar-width: none; }
.qt-the-muc a { font-size: .95rem; padding: 10px 14px; border-bottom-width: 2px; }
/* Trang danh sách khớp một thẻ: tiêu đề cũ của trang ẩn (tên mục ở trên đã đủ), dòng giải thích thu còn một dòng */
.qt-khop .qt-noi .qt-h1 { display: none; }
.qt-khop .qt-noi .qt-h1 + .ghi-nho { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
/* Mục Người đi làm: thẻ trên đầu đã có Đang làm / Đủ ngày / Nghỉ sớm → bỏ hàng nút lọc trùng của trang */
.qt-co-the a.qt-chip[href*="/di-lam?loc="] { display: none; }
/* Trang con: hàng ô số to → một dòng tóm tắt gọn (số tổng chỉ để ở Tổng quan) */
.qt-con .qt-luoi-so { display: flex; flex-wrap: wrap; gap: 6px 30px; padding: 14px 20px; background: var(--qt-the); border: 1px solid var(--vien); border-radius: 16px; }
.qt-con .qt-o-so { background: none; border: 0; padding: 0; gap: 2px; border-radius: 0; }
.qt-con .qt-o-so .nhan-o { font-size: .8rem; }
.qt-con .qt-o-so b, .qt-con .qt-o-so.tot b { font-size: 1.2rem; }
.qt-con .qt-o-so .goi { font-size: .74rem; }
/* Thẻ nội dung, bảng, nút: bo tròn, thoáng */
body.qt .the { border-radius: 18px; border-color: var(--vien); }
body.qt .bang th { font-size: .8rem; letter-spacing: .02em; }
body.qt.toi .bang th { background: rgba(255,255,255,.03); color: #a3a8b8; }
body.qt .nut { border-radius: 12px; }
/* Tổng quan mới */
.tq-luoi { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tq-the { background: var(--qt-the); border: 1px solid var(--vien); border-radius: 20px; padding: 24px 26px; display: grid; gap: 20px; min-width: 0; }
.tq-nhan { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .14em; color: var(--mo); text-transform: uppercase; }
.tq-hang { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tq-link { font-weight: 800; font-size: .9rem; color: #9a6a00; text-decoration: none; }
body.qt.toi .tq-link { color: var(--vang); }
.tq-to { font-size: 2.9rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tq-goi { color: var(--mo); font-size: .88rem; margin-top: 8px; }
.tq-goi b { color: var(--chu); }
.tq-bieu { margin: 0; display: flex; align-items: flex-end; gap: 8px; height: 118px; }
.tq-bieu div { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 40px; }
.tq-bieu em { font-style: normal; font-size: .72rem; font-weight: 800; color: var(--mo); }
.tq-bieu i { display: block; width: 26px; min-height: 4px; border-radius: 7px 7px 3px 3px; background: rgba(127, 135, 160, .28); }
.tq-bieu small { font-size: .75rem; color: var(--mo); }
.tq-bieu .nay em { color: #9a6a00; }
body.qt.toi .tq-bieu .nay em { color: var(--vang); }
.tq-bieu .nay i { background: var(--vang); }
.tq-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 22px; border-top: 1px solid var(--vien); padding-top: 20px; }
.tq-kpi > div { display: grid; gap: 3px; align-content: start; min-width: 0; }
.tq-kpi .ten { font-size: .82rem; color: var(--mo); }
.tq-kpi .gia { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tq-kpi .phu { font-size: .8rem; color: var(--mo); }
.tq-xanh { color: #12804a !important; }
body.qt.toi .tq-xanh { color: #45d394 !important; }
.tq-cam { color: #a35f00 !important; }
body.qt.toi .tq-cam { color: #f5a524 !important; }
.tq-thu-ho { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 14px; border-radius: 14px; background: var(--qt-the-2); font-size: .82rem; color: var(--mo); }
.tq-thu-ho b { color: var(--chu); }
.tq-the-nho { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--vien); font-weight: 700; font-size: .75rem; }
.tq-thu-ho .tq-link { margin-left: auto; font-size: .82rem; }
.tq-viec { display: flex; flex-direction: column; gap: 0; }
.tq-viec a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 6px; border-top: 1px solid var(--vien); text-decoration: none; color: var(--chu); border-radius: 10px; }
.tq-viec a:hover { background: var(--qt-the-2); }
.tq-cham { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--vang); }
.tq-viec .gap .tq-cham { background: #e5484d; }
.tq-viec .chu { flex: 1; min-width: 0; display: grid; }
.tq-viec .chu b { font-size: .92rem; }
.tq-viec .chu small { font-size: .78rem; color: var(--mo); }
.tq-pill { min-width: 30px; padding: 3px 9px; border-radius: 999px; text-align: center; font-size: .8rem; font-weight: 800; background: rgba(246, 180, 14, .16); color: #9a6a00; }
body.qt.toi .tq-pill { color: var(--vang); }
.tq-viec .gap .tq-pill { background: rgba(229, 72, 77, .15); color: #c0262f; }
body.qt.toi .tq-viec .gap .tq-pill { color: #ff7a7a; }
.tq-mui { width: 16px; height: 16px; color: var(--mo); flex: none; }
.tq-het { margin: 4px 6px 0; font-size: .8rem; color: var(--mo); }
.tq-ml { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 22px; }
.tq-ml a { display: grid; gap: 2px; color: var(--chu); text-decoration: none; min-width: 0; }
.tq-ml span { font-size: .82rem; color: var(--mo); }
.tq-ml b { font-size: 1.75rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.tq-ml small { font-size: .78rem; color: var(--mo); }
.tq-vach { height: 10px; border-radius: 999px; background: var(--qt-the-2); overflow: hidden; }
.tq-vach i { display: block; height: 100%; border-radius: 999px; background: var(--vang); }
@media (max-width: 899px) {
  .qt-noi { padding: 16px 14px 44px; }
  .qt-ten-muc { font-size: 1.4rem; }
  .qt-dau { padding: 8px 14px; }
  .tq-luoi { grid-template-columns: minmax(0, 1fr); }
  .tq-the { padding: 18px 16px; }
  .tq-to { font-size: 2.2rem; }
  .tq-bieu { width: 100%; justify-content: space-between; }
  .tq-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tq-kpi .gia { font-size: 1.15rem; }
  .tq-ml { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tq-thu-ho .tq-link { margin-left: 0; }
  .qt-con .qt-luoi-so { gap: 6px 20px; padding: 12px 14px; }
}
body.qt .qt-muc.on .qt-so { background: rgba(21, 24, 58, .18); color: #15183a; }

/* ===================== KHU ĐIỀU HÀNH của anh / nhân viên (☰) — src/trang/dieu-hanh.tsx, anh duyệt bản xem trước 2 ngày 24/10/2026 =====================
   Khối đầu trang nền chàm sẫm + hoa văn trám Hmong mờ + dải thêu đỏ · vàng · xanh; chữ nhỏ vàng kim trên tiêu đề; số tabular. Tiền tố .dh- (không đụng lớp cũ). */
.dh { --dh-muc: #0d1238; --dh-cham: #24337f; --dh-kim: #c9a24a; --dh-kim-sang: #e9c46a; --dh-la: #1f8f4e; --dh-do: #d64545; --dh-xanh: #2563eb;
  --dh-vien: #e6e8f0; --dh-mo: #6b7287; --dh-bong: 0 1px 2px rgba(16, 24, 64, .04), 0 14px 34px -14px rgba(16, 24, 64, .16);
  padding-top: 22px; padding-bottom: 48px; font-variant-numeric: tabular-nums; }
.dh .thong-bao { margin-bottom: 14px; }
.dh-ic { width: 15px; height: 15px; flex: none; vertical-align: -2px; }
.dh-mat { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dh-kim); font-weight: 900; margin-bottom: 4px; }
.dh-mat.sang { color: var(--dh-kim-sang); }
.dh-dau { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.dh-dau h1 { margin: 0; font-size: 1.65rem; font-weight: 900; color: var(--dh-muc); letter-spacing: -.01em; }
.dh-dau p { margin: 6px 0 0; color: var(--dh-mo); font-size: .9rem; max-width: 760px; }
.dh-dau-nut { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dh-ghi { color: var(--dh-mo); font-size: .8rem; font-weight: 600; }
.dh-tre, .dh-chu-do { color: var(--dh-do); font-weight: 800; }
/* nút */
.dh-nut-chinh, .dh-nut-phu, .dh-nut-nho { font: inherit; font-weight: 800; border-radius: 11px; cursor: pointer; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px; line-height: 1.2; }
.dh-nut-chinh { background: var(--dh-la); color: #fff; border: 0; padding: 9px 16px; }
.dh-nut-chinh.nho { padding: 6px 11px; font-size: .8rem; }
.dh-nut-chinh:hover { filter: brightness(1.06); }
.dh-nut-phu { background: #fff; color: var(--dh-muc); border: 1px solid var(--dh-vien); padding: 8px 14px; font-size: .86rem; }
.dh-nut-phu:hover { border-color: var(--dh-kim); }
.dh-nut-nho { background: #eef1f9; color: var(--dh-muc); border: 0; padding: 6px 10px; font-size: .8rem; }
.dh-nut-nho:hover { background: #e2e7f5; }
.dh-nut-nho.do { background: #fdecec; color: #b42318; }
.dh-hang-nut { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
/* lọc, tìm, chọn tháng */
.dh-loc { display: inline-flex; background: #fff; border: 1px solid var(--dh-vien); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; margin-bottom: 12px; }
.dh-loc a { font-weight: 800; font-size: .8rem; color: var(--dh-mo); padding: 7px 12px; border-radius: 9px; text-decoration: none; }
.dh-loc a:hover { color: var(--dh-muc); }
.dh-loc a.on { background: var(--dh-muc); color: #fff; }
.dh-loc-hang { display: flex; gap: 10px; flex-wrap: wrap; }
.dh-tim { display: flex; gap: 6px; align-items: center; }
.dh-tim input, .dh-loc-form select { border: 1px solid var(--dh-vien); border-radius: 11px; padding: 8px 12px; font: inherit; font-size: .88rem; background: #fff; min-width: 240px; }
.dh-chon-thang label { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--dh-kim-sang); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dh-chon-thang select { font: inherit; font-weight: 800; letter-spacing: 0; text-transform: none; background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(233, 196, 106, .45); border-radius: 10px; padding: 7px 10px; }
.dh-chon-thang option { color: #000; }
/* khối đầu trang (hero) */
.dh-hero { position: relative; overflow: hidden; border-radius: 22px; color: #fff; padding: 24px 28px 0; margin-bottom: 18px;
  background: radial-gradient(900px 260px at 92% -40%, rgba(233, 196, 106, .28), transparent 60%), linear-gradient(135deg, #0b1032 0%, #16205a 55%, #24337f 100%);
  box-shadow: 0 24px 48px -24px rgba(13, 18, 56, .55); }
.dh-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%23e9c46a'%3E%3Cpath d='M28 3 53 28 28 53 3 28Z'/%3E%3Cpath d='M28 15 41 28 28 41 15 28Z'/%3E%3Cpath d='M28 23v10M23 28h10' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E"); }
.dh-hero > * { position: relative; }
.dh-hero-dau { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.dh-hero h1 { margin: 0; font-size: 2rem; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.dh-hero-phu { margin: 6px 0 0; color: #c9cfe8; font-size: .9rem; }
.dh-hero-gio { font-size: .76rem; color: #aeb6d6; }
.dh-hero .dh-xu.len { color: #7ee2a2; }
.dh-hero .dh-xu.xuong { color: #ff9b9b; }
.dh-hero-so { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0 18px; border-top: 1px solid rgba(233, 196, 106, .25); }
.dh-hero-so > div { padding: 16px 18px 2px; display: grid; gap: 4px; border-left: 1px solid rgba(233, 196, 106, .2); align-content: start; }
.dh-hero-so > div:first-child { border-left: 0; padding-left: 0; }
.dh-hero-so span { font-size: .76rem; color: #aeb6d6; font-weight: 700; }
.dh-hero-so b { font-size: 1.55rem; font-weight: 900; letter-spacing: -.01em; }
.dh-hero-so em { font-style: normal; font-size: .76rem; color: #c9cfe8; }
.dh-theu { height: 5px; margin: 0 -28px; background: repeating-linear-gradient(90deg, #d62839 0 14px, #f6b40e 14px 28px, #23945a 28px 42px, #e9c46a 42px 56px); }
.dh-thanh-kieu { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.dh-thanh-kieu i { display: block; height: 100%; }
.k-chot { background: #3cc17a; } .k-tam { background: #6f8cff; } .k-uoc { background: var(--dh-kim-sang); }
.dh-chu-kieu { display: flex; gap: 18px; flex-wrap: wrap; margin: 10px 0 18px; font-size: .8rem; color: #c9cfe8; }
.dh-chu-kieu i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.dh-chu-kieu b { color: #fff; }
/* thẻ số + thẻ nội dung */
.dh-luoi-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.dh-luoi-kpi.ba { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dh-kpi { position: relative; background: #fff; border: 1px solid var(--dh-vien); border-radius: 18px; padding: 16px 18px 14px; box-shadow: var(--dh-bong); display: grid; gap: 3px; overflow: hidden; align-content: start; }
.dh-kpi::after { content: ""; position: absolute; left: 18px; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--dh-kim); }
.dh-kpi-nhan { color: var(--dh-mo); font-size: .78rem; font-weight: 800; }
.dh-kpi b { font-size: 1.55rem; font-weight: 900; color: var(--dh-muc); letter-spacing: -.02em; }
.dh-kpi-phu { color: var(--dh-mo); font-size: .76rem; }
.dh-spark { width: 100%; height: 30px; margin-top: 6px; }
.dh-xu { display: inline-flex; align-items: center; font-weight: 900; }
.dh-xu .dh-ic { width: 14px; height: 14px; }
.dh-xu.len { color: var(--dh-la); } .dh-xu.xuong { color: var(--dh-do); }
.dh-the { background: #fff; border: 1px solid var(--dh-vien); border-radius: 18px; padding: 18px 20px; box-shadow: var(--dh-bong); margin-bottom: 18px; min-width: 0; }
.dh-the-dau { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.dh-the-dau h2 { margin: 0; font-size: 1.06rem; font-weight: 900; color: var(--dh-muc); }
.dh-hang-2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.dh-hang-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dh-hang-2 > .dh-the:first-child { display: flex; flex-direction: column; }
/* biểu đồ 30 ngày */
.dh-bieu-do { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; flex: 1; min-height: 190px; align-items: end; }
.dh-cot { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.dh-cot i { display: block; width: 100%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #4a5cc4, #16205a); }
.dh-cot:hover i { background: var(--dh-kim); }
.dh-cot span { font-size: .66rem; color: var(--dh-mo); height: 12px; }
.dh-dai-so { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--dh-vien); }
.dh-dai-so div { display: grid; gap: 2px; }
.dh-dai-so b { font-size: 1.2rem; font-weight: 900; color: var(--dh-muc); }
.dh-dai-so span { font-size: .74rem; color: var(--dh-mo); }
/* việc cần làm */
.dh-can-lam { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dh-can-lam li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 13px; background: #f7f8fc; border: 1px solid #eef0f6; border-left: 4px solid var(--dh-cham); }
.dh-can-lam li.do { border-left-color: var(--dh-do); } .dh-can-lam li.vang { border-left-color: #f6b40e; } .dh-can-lam li.xanh { border-left-color: var(--dh-xanh); }
.dh-can-lam b { font-size: 1rem; font-weight: 900; min-width: 28px; color: var(--dh-muc); }
.dh-can-lam span { font-size: .85rem; }
/* phễu, nguồn, quê */
.dh-pheu { display: grid; gap: 10px; }
.dh-pheu-dong { display: grid; grid-template-columns: 100px 1fr 46px; gap: 8px; align-items: center; font-size: .85rem; }
.dh-pheu-thanh { position: relative; height: 28px; background: #eef1f9; border-radius: 9px; overflow: hidden; }
.dh-pheu-thanh i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--dh-muc), #4a5cc4); border-radius: 9px; }
.dh-pheu-thanh b { position: relative; padding-left: 10px; line-height: 28px; color: #fff; font-weight: 900; font-size: .85rem; }
.dh-pheu-dong em { font-style: normal; color: var(--dh-la); font-weight: 900; text-align: right; }
.dh-nguon { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.dh-donut { width: 120px; height: 120px; transform: rotate(-90deg); }
.dh-donut text { transform: rotate(90deg); transform-origin: 20px 20px; font-size: 7px; font-weight: 900; fill: var(--dh-muc); }
.dh-nguon ul, .dh-ngang, .dh-nguon-luong, .dh-xh { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dh-nguon li { display: grid; grid-template-columns: 12px 1fr auto; gap: 6px 8px; align-items: center; font-size: .85rem; }
.dh-nguon li i { width: 12px; height: 12px; border-radius: 3px; }
.dh-nguon li em { grid-column: 2 / 4; font-style: normal; color: var(--dh-mo); font-size: .76rem; margin-top: -6px; }
.dh-ngang li { display: grid; grid-template-columns: 84px 1fr 28px; gap: 8px; align-items: center; font-size: .85rem; }
.dh-ngang div { height: 10px; background: #eef1f9; border-radius: 6px; overflow: hidden; }
.dh-ngang div i { display: block; height: 100%; background: linear-gradient(90deg, var(--dh-la), #4cc27f); border-radius: 6px; }
.dh-ngang b { text-align: right; }
.dh-nguon-luong li { display: grid; gap: 4px; }
.dh-nl-dau { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: center; font-size: .9rem; }
.dh-nl-dau i { width: 12px; height: 12px; border-radius: 3px; }
.dh-nl-dau b { color: var(--dh-muc); }
.dh-nguon-luong em { font-style: normal; color: var(--dh-mo); font-size: .76rem; }
.dh-xh li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; font-size: .85rem; }
.dh-xh-ten { display: grid; } .dh-xh-ten small { color: var(--dh-mo); font-size: .74rem; }
.dh-xh b { color: var(--dh-muc); }
.dh-hang { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eef1f9; font-weight: 900; color: var(--dh-muc); font-size: .8rem; }
.dh-hang.h1 { background: linear-gradient(135deg, #f8e08e, #c9a24a); } .dh-hang.h2 { background: #d7dbe4; } .dh-hang.h3 { background: #ecb88a; }
.dh-bd-xu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: 220px; align-items: end; }
.dh-bd-xu > div { height: 100%; display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; gap: 4px; align-items: end; }
.dh-bd-xu i { display: block; width: 38px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--dh-kim-sang), var(--dh-kim)); }
.dh-bd-gt { font-size: .74rem; font-weight: 900; color: var(--dh-muc); }
.dh-bd-xu b { font-size: .8rem; } .dh-bd-xu em { font-style: normal; font-size: .72rem; color: var(--dh-mo); }
.dh-bd-thang { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; height: 240px; align-items: end; padding: 0 10px; }
.dh-bd-thang-cot { display: grid; justify-items: center; gap: 6px; height: 100%; grid-template-rows: 1fr auto auto; }
.dh-bd-doi { display: flex; gap: 6px; align-items: end; height: 100%; }
.dh-bd-doi i { display: block; width: 30px; border-radius: 7px 7px 2px 2px; min-height: 2px; }
.dh-bd-doi .thu { background: linear-gradient(180deg, #4cc27f, var(--dh-la)); } .dh-bd-doi .chi { background: linear-gradient(180deg, #ffd166, #f6b40e); }
.dh-bd-thang-cot span { font-size: .76rem; color: var(--dh-mo); }
.dh-cham { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; }
.dh-cham.la { background: var(--dh-la); } .dh-cham.vang { background: #f6b40e; }
/* bảng */
.dh-bang-cuon { overflow-x: auto; }
.dh-bang { width: 100%; border-collapse: collapse; font-size: .87rem; }
.dh-bang th { text-align: left; font-size: .7rem; color: var(--dh-mo); text-transform: uppercase; letter-spacing: .08em; padding: 11px 10px; border-bottom: 1px solid var(--dh-vien); white-space: nowrap; background: #fafbfe; }
.dh-bang td { padding: 11px 10px; border-bottom: 1px solid #eef0f5; vertical-align: top; }
.dh-bang tbody tr:hover td { background: #fafbff; }
.dh-bang .so { text-align: right; white-space: nowrap; }
.dh-bang a { color: var(--dh-muc); }
.dh-nhan { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.dh-nhan.do { background: #fdecec; color: #b42318; } .dh-nhan.vang { background: #fff4d6; color: #8a5a00; } .dh-nhan.xanh { background: #e7eefe; color: #1d4ed8; }
.dh-nhan.la { background: #e6f6ea; color: #1f7a37; } .dh-nhan.xam { background: #eef0f4; color: #4b5563; }
.dh-thanh { height: 8px; background: #eef1f9; border-radius: 6px; overflow: hidden; margin: 4px 0 3px; }
.dh-thanh i { display: block; height: 100%; background: linear-gradient(90deg, var(--dh-muc), #4a5cc4); border-radius: 6px; }
.dh-thanh.la i { background: linear-gradient(90deg, var(--dh-la), #4cc27f); } .dh-thanh.vang i { background: #f6b40e; }
.dh-chan-bang { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: .84rem; color: var(--dh-mo); }
.dh-trang-so { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.dh-trang-so a { border: 1px solid var(--dh-vien); background: #fff; border-radius: 8px; min-width: 34px; padding: 5px 8px; font-weight: 800; color: var(--dh-muc); text-align: center; text-decoration: none; }
.dh-trang-so a.on { background: var(--dh-muc); color: #fff; border-color: var(--dh-muc); }
.dh-doi-buoc { display: flex; align-items: center; gap: 6px; }
.dh-doi-buoc select, .dh-kb-the select, .dh-nghi select { font: inherit; font-size: .82rem; border: 1px solid var(--dh-vien); border-radius: 9px; padding: 5px 8px; background: #fff; }
.dh-cham-buoc { width: 9px; height: 9px; border-radius: 50%; flex: none; background: #9ca3af; }
.dh-cham-buoc.do { background: var(--dh-do); } .dh-cham-buoc.vang { background: #f6b40e; } .dh-cham-buoc.xanh { background: var(--dh-xanh); } .dh-cham-buoc.la { background: var(--dh-la); }
.dh-nghi { position: relative; }
.dh-nghi summary, .dh-kb-nut summary { list-style: none; cursor: pointer; }
.dh-nghi summary::-webkit-details-marker, .dh-kb-nut summary::-webkit-details-marker { display: none; }
.dh-nghi[open] form { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.dh-ghi-luong { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; }
.dh-ghi-luong input { width: 120px; text-align: right; font: inherit; font-weight: 800; border: 1px solid var(--dh-vien); border-radius: 9px; padding: 5px 8px; }
.dh-dan { display: grid; gap: 10px; }
.dh-dan textarea { width: 100%; font: inherit; font-size: .9rem; border: 1px solid var(--dh-vien); border-radius: 12px; padding: 10px 12px; resize: vertical; }
.dh-dan .dh-nut-chinh { justify-self: start; }
.dh-dan code { background: #f2f3f8; border-radius: 6px; padding: 1px 6px; }
/* phễu kéo thẻ */
.dh-kanban { display: grid; grid-template-columns: repeat(6, minmax(168px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.dh-kb-cot { background: #eef1f8; border-radius: 16px; padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 160px; transition: background .15s, box-shadow .15s; }
.dh-kb-cot.tha { background: #fff7e0; box-shadow: inset 0 0 0 2px var(--dh-kim); }
.dh-kb-dau { display: flex; justify-content: space-between; align-items: center; font-weight: 900; font-size: .88rem; padding: 4px 4px 7px; border-bottom: 3px solid var(--dh-cham); }
.dh-kb-dau.do { border-color: var(--dh-do); } .dh-kb-dau.vang { border-color: #f6b40e; } .dh-kb-dau.xanh { border-color: var(--dh-xanh); } .dh-kb-dau.la { border-color: var(--dh-la); } .dh-kb-dau.xam { border-color: #9ca3af; }
.dh-kb-dau b { background: #fff; border-radius: 999px; padding: 0 8px; }
.dh-kb-the { background: #fff; border-radius: 12px; padding: 9px 10px; display: grid; gap: 2px; box-shadow: 0 1px 2px rgba(20, 30, 70, .08); font-size: .84rem; cursor: grab; }
.dh-kb-the.dang-keo { opacity: .45; }
.dh-kb-the small { color: var(--dh-mo); font-size: .74rem; }
.dh-kb-the em { font-style: normal; font-size: .74rem; }
.dh-kb-nut { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: flex-start; }
.dh-kb-nut details[open] { flex-basis: 100%; }
.dh-kb-nut details[open] form { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.dh-kb-them { text-align: center; color: var(--dh-mo); font-size: .8rem; font-weight: 800; padding: 4px; text-decoration: none; }
.dh-kb-trong { text-align: center; color: var(--dh-mo); font-size: .78rem; margin: 18px 0; }
/* sơ đồ vận hành */
.dh-dong-chay { padding: 20px 22px; }
.dh-dc-dau { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.dh-dc-dau h2 { margin: 0; font-size: 1.1rem; font-weight: 900; color: var(--dh-muc); }
.dh-dc-dau p { margin: 4px 0 0; }
.dh-so-dc { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: var(--dh-kim-sang); background: linear-gradient(135deg, var(--dh-muc), var(--dh-cham)); }
.dh-so-do { display: flex; align-items: stretch; }
.dh-cot-sd { flex: 1; display: grid; gap: 8px; min-width: 0; }
.dh-sd-nut { border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; border: 1px solid var(--dh-vien); background: #fff; min-width: 0; align-content: center; }
.dh-sd-nut span { font-size: .78rem; font-weight: 800; color: var(--dh-mo); }
.dh-sd-nut b { font-size: 1.22rem; font-weight: 900; color: var(--dh-muc); }
.dh-sd-nut em { font-style: normal; font-size: .74rem; color: var(--dh-mo); }
.dh-sd-nut.v-hg { background: linear-gradient(135deg, var(--dh-muc), var(--dh-cham)); border-color: transparent; }
.dh-sd-nut.v-hg span { color: var(--dh-kim-sang); letter-spacing: .08em; } .dh-sd-nut.v-hg b { color: #fff; font-size: 1.4rem; } .dh-sd-nut.v-hg em { color: #c9cfe8; }
.dh-sd-nut.v-la { border-left: 4px solid var(--dh-la); } .dh-sd-nut.v-cham { border-left: 4px solid var(--dh-cham); } .dh-sd-nut.v-kim { border-left: 4px solid var(--dh-kim); } .dh-sd-nut.v-trang { border-left: 4px solid #9aa3bf; }
.dh-mui { flex: none; width: 86px; display: grid; place-items: center; align-content: center; gap: 4px; padding: 0 4px; }
.dh-mui i { display: block; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--dh-kim)); position: relative; }
.dh-mui i::after { content: ""; position: absolute; right: -1px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--dh-kim); border-right: 0; }
.dh-mui span { font-size: .7rem; color: var(--dh-mo); font-weight: 800; text-align: center; }
.dh-so-do.nho .dh-sd-nut { flex: 1; } .dh-so-do.nho .dh-mui { width: 70px; }
.dh-hai-cach { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dh-cach { border: 1px solid var(--dh-vien); border-radius: 16px; padding: 14px 16px; background: #fbfbfe; }
.dh-cach h3 { margin: 0 0 12px; font-size: .95rem; font-weight: 900; color: var(--dh-muc); }
.dh-cach h3 small { color: var(--dh-mo); font-weight: 700; }
.dh-cach.c2 { border-top: 3px solid var(--dh-xanh); } .dh-cach.c1 { border-top: 3px solid #9aa3bf; }
.dh-cach p { margin: 12px 0 0; }
.dh-lich { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dh-lich li { border: 1px solid var(--dh-vien); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; align-content: start; background: #fbfbfe; }
.dh-lich b { color: var(--dh-muc); } .dh-lich p { margin: 0; font-size: .82rem; }
.dh-lich a { font-size: .76rem; color: var(--dh-kim); font-weight: 900; text-decoration: none; }
.dh-so-buoc { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .8rem; color: #fff; background: var(--dh-cham); }
/* màn hình nhỏ dần */
@media (max-width: 1240px) {
  .dh-luoi-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dh-hang-2, .dh-hang-3, .dh-hai-cach { grid-template-columns: minmax(0, 1fr); }
  .dh-lich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dh-hero-so { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dh-hero-so > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .dh-so-do { flex-direction: column; }
  .dh-mui { width: auto; height: 34px; grid-auto-flow: column; gap: 8px; justify-content: center; }
  .dh-mui i { width: 2px; height: 22px; background: linear-gradient(180deg, transparent, var(--dh-kim)); }
  .dh-mui i::after { right: -5px; top: auto; bottom: -6px; border: 6px solid transparent; border-top: 9px solid var(--dh-kim); border-bottom: 0; }
  .dh-so-do.nho .dh-mui { width: auto; }
}
@media (max-width: 640px) {
  .dh { padding-top: 14px; }
  .dh-dau h1 { font-size: 1.35rem; }
  .dh-hero { padding: 18px 16px 0; border-radius: 18px; }
  .dh-hero h1 { font-size: 1.5rem; }
  .dh-theu { margin: 0 -16px; }
  .dh-hero-so b { font-size: 1.15rem; }
  .dh-hero-so > div { padding: 12px 8px 2px; }
  .dh-luoi-kpi, .dh-luoi-kpi.ba { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dh-kpi { padding: 13px 13px 11px; border-radius: 14px; }
  .dh-kpi b { font-size: 1.2rem; }
  .dh-the { padding: 14px; border-radius: 14px; }
  .dh-dai-so { grid-template-columns: repeat(3, 1fr); }
  .dh-nguon { grid-template-columns: 1fr; justify-items: center; }
  .dh-tim { width: 100%; } .dh-tim input, .dh-loc-form select { min-width: 0; width: 100%; }
  .dh-pheu-dong { grid-template-columns: 86px 1fr 40px; }
  .dh-lich { grid-template-columns: minmax(0, 1fr); }
  .dh-bd-xu i { width: 26px; }
  .dh-bd-thang { gap: 8px; padding: 0; }
  .dh-loc { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .dh-loc a { white-space: nowrap; }
}
@media print {
  body:has(.dh) .cn-dai-tren, body:has(.dh) .cn-dau, body:has(.dh) .cn-ben, body:has(.dh) .cn-chan, body:has(.dh) .dh-dau-nut { display: none !important; }
  body:has(.dh) .cn-than-tv { display: block; background: none; }
  .dh-the, .dh-kpi { box-shadow: none; }
}

/* ===== Nút chọn tiếng — 1:1 như LangMenu của Hmoob Chat (24/10/2026): cờ + tên nước, danh sách 11 lựa chọn có cờ ===== */
.chon-tieng { position: relative; flex: none; }
.chon-tieng > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none;
  border: 1.5px solid var(--cn-dam); color: var(--cn-dam); border-radius: 999px; padding: 4px 10px 4px 6px;
  font-weight: 800; font-size: .82rem; white-space: nowrap; line-height: 1.2; -webkit-tap-highlight-color: transparent;
}
.chon-tieng > summary::-webkit-details-marker { display: none; }
.co-qg { display: block; flex: none; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.chon-tieng .ct-mui { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .15s; }
.chon-tieng[open] .ct-mui { transform: rotate(180deg); }
.chon-tieng-ds {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 210px; max-height: 70vh; overflow-y: auto; padding: 6px;
  display: grid; gap: 2px; background: #fff; border: 1px solid #e3e7f2; border-radius: 12px; box-shadow: 0 12px 32px rgba(20, 28, 70, .25);
}
.chon-tieng-ds a, .cn-dai-tren .chon-tieng-ds a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px;
  color: #1d2340; text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.chon-tieng-ds a:hover, .chon-tieng-ds a.on { background: #fdf1d2; }
.chon-tieng-ds a.on { font-weight: 800; color: #8a1c1c; }
/* Trên dải xanh đầu trang + đầu trang tối (khu CTV chưa đăng nhập) */
.cn-dai-tren .chon-tieng > summary, .chon-tieng.toi > summary { background: rgba(0, 0, 0, .22); border-color: rgba(255, 255, 255, .35); color: #fff; padding: 3px 10px 3px 5px; font-size: .78rem; }
.cn-dai-tren .chon-tieng > summary:hover, .chon-tieng.toi > summary:hover { background: rgba(0, 0, 0, .32); }
/* Trong khung ☰ điện thoại: nút cả hàng, danh sách mở ngay bên dưới 2 cột (không nổi đè menu) */
.chon-tieng.trong-ben { flex-basis: 100%; }
.chon-tieng.trong-ben > summary { display: flex; width: 100%; border-color: var(--b-vien, rgba(255, 255, 255, .12)); background: var(--b-re, rgba(255, 255, 255, .06)); color: var(--b-chu, #eef0f6); padding: 7px 12px 7px 8px; }
.chon-tieng.trong-ben .ct-mui { margin-left: auto; }
.chon-tieng.trong-ben .chon-tieng-ds { position: static; margin-top: 6px; grid-template-columns: 1fr 1fr; min-width: 0; max-height: none; padding: 0; background: none; border: 0; box-shadow: none; }
.chon-tieng.trong-ben .chon-tieng-ds a { color: var(--b-chu, #eef0f6); font-size: .82rem; padding: 7px 8px; gap: 8px; }
.chon-tieng.trong-ben .chon-tieng-ds a:hover { background: var(--b-re, rgba(255, 255, 255, .06)); }
.chon-tieng.trong-ben .chon-tieng-ds a.on { background: linear-gradient(90deg, #ff9b3d, #ffc247); color: #241400; }
@media (max-width: 520px) { .cn-dai-tren .chon-tieng .ct-ten, .chon-tieng.toi .ct-ten { display: none; } }

/* ===== Quản trị → Trang web → Ngôn ngữ (bản mô tả 10, 24/10/2026) ===== */
.nn { display: grid; gap: 14px; }
.nn-tren { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.nn-o .ruot { display: grid; gap: 10px; align-content: start; }
.nn-o h3 { margin: 0; font-size: 1rem; }
.nn-trang-thai { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.nn-den { width: 9px; height: 9px; border-radius: 50%; background: #a3a8b8; flex: none; }
.nn-den.xanh { background: #22a861; box-shadow: 0 0 0 3px rgba(34, 168, 97, .18); }
.nn-khoa, .nn-bat { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.nn-khoa input { flex: 1 1 200px; min-width: 0; }
.nn-goi-y { margin: 0; font-size: .82rem; }
.nn-tien { display: grid; gap: 5px; }
.nn-tien-dau { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.nn-tien-dau span { color: var(--mo); font-weight: 700; }
.nn-thanh { height: 8px; border-radius: 99px; background: var(--qt-the-2, #eef0f5); display: flex; overflow: hidden; }
.nn-thanh i { display: block; height: 100%; }
.nn-thanh i.anh { background: #22a861; }
.nn-thanh i.may { background: var(--vang); }
.nn-thanh i.san { background: #3b82f6; }
.nn-tien-chu { font-size: .8rem; color: var(--mo); }
.nn-hang-nut { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nn-hang-nut form { margin: 0; }
.nn-bang code { white-space: nowrap; font-size: .9rem; }
.nn-bang td small { color: var(--mo); }
.nn-hanh-dong { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; justify-content: flex-end; }
.nn-hanh-dong form { margin: 0; }
.nn-thay > summary { list-style: none; cursor: pointer; }
.nn-thay > summary::-webkit-details-marker { display: none; }
.nn-thay[open] > summary { display: none; }
.nn-thay form { display: flex; gap: 6px; flex-wrap: wrap; }
.nn-thay input { width: 220px; max-width: 100%; }
.nn-them { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; margin: 0; }
.nn-tien-luoi { display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
@media (max-width: 760px) {
  .nn-them { grid-template-columns: 1fr; }
  .nn-hanh-dong { justify-content: flex-start; }
}

/* ===== Thanh 5 nút dưới đáy điện thoại — như app hoc.hmora.vn (anh dặn 24/10/2026 "đang thiếu 5 nút như app") =====
   ThanhNamNut trong src/giao-dien.tsx. Chỉ ≤ 700 px; máy tính không hiện. Nút cuối "Tài khoản" mở bảng Tài khoản (khách: Đăng nhập).
   Đang gõ chữ → thanh tạm ẩn (lớp tdu-go, public/app.js).
   KIỂU A · ĐÊM CHÀM — anh chọn 24/10/2026 ("anh chọn kiểu A đêm chàm mới đẹp"; bản xem trước 4 kiểu public/xem-truoc/5-nut.html):
   nền chàm tối trong mờ, nút đang chọn sáng xanh lá có vạch phát sáng; nút giữa = biểu tượng app (logo khèn anh gửi 24/10, /icon-192.png —
   đổi logo: cong-cu/tao-bieu-tuong.py), ô vuông bo góc như icon điện thoại, quầng xanh phập phồng; nút Kiếm tiền vàng, đồng xu khẽ lắc. */
.cn-5nut { display: none; }
@media (max-width: 700px) {
  .cn-5nut {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
    min-height: calc(64px + env(safe-area-inset-bottom)); padding: 6px 2px calc(6px + env(safe-area-inset-bottom));
    background: rgba(21, 24, 58, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(166, 224, 90, .35); box-shadow: 0 -8px 24px rgba(10, 12, 30, .25);
  }
  body.cn { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .tdu-nut {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0;
    padding: 0 2px; color: #9aa3c7; text-decoration: none; font-size: .64rem; font-weight: 800; line-height: 1.15; cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: color .2s;
  }
  .tdu-nut:active { transform: scale(.93); }
  /* Nhãn tối đa 2 dòng: chữ Hmoob / Pháp dài (vd. "Neeg thov ua haujlwm") vẫn đọc được */
  .tdu-chu { /* padding-top: dấu chữ hoa (Ứ của "Ứng viên") không bị khung 2 dòng cắt (25/10) */
    max-width: 100%; min-height: calc(2.3em + 2px); padding-top: 2px; overflow: hidden; text-align: center; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .tdu-ic { position: relative; width: 28px; height: 28px; display: grid; place-items: center; }
  .tdu-ic svg { width: 22px; height: 22px; transition: transform .25s; }
  /* Nút đang chọn: xanh lá sáng + vạch phát sáng ở mép trên thanh */
  .tdu-nut.on { color: #b6f06a; }
  .tdu-nut.on .tdu-ic svg { transform: translateY(-2px); }
  .tdu-nut.on::before {
    content: ""; position: absolute; top: -6px; left: 28%; right: 28%; height: 3px; border-radius: 0 0 4px 4px;
    background: #b6f06a; box-shadow: 0 0 12px #b6f06a;
  }
  /* Nút Kiếm tiền: cùng màu như mọi nút (anh dặn 25/10/2026: luôn vàng trông như 2 nút cùng được chọn; vàng lúc đang chọn thì "không khớp
     màu" với xanh lá của các nút khác) — chưa chọn xám, đang chọn xanh lá; chỉ đồng xu khẽ lắc để hút mắt */
  .tdu-nut.vang .tdu-ic svg { animation: tduXu 3s infinite; }
  @keyframes tduXu { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-14deg); } 82% { transform: rotate(12deg); } 88% { transform: rotate(-6deg); } }
  /* Nút giữa: biểu tượng app nổi lên (ô vuông bo góc — logo có khung vàng sẵn, cắt tròn sẽ mất góc khung), quầng xanh phập phồng */
  .tdu-nut.giua { color: #b6f06a; }
  .tdu-nut.giua .tdu-chu { font-weight: 900; }
  .tdu-nut.giua.on::before { display: none; }
  .tdu-nut.giua .tdu-ic {
    width: 58px; height: 58px; margin: -30px 0 4px; border-radius: 13px; color: #fff;
    box-shadow: 0 8px 20px rgba(95, 154, 36, .55); animation: tduDap 1.8s infinite;
  }
  .tdu-nut.giua .tdu-ic img { width: 100%; height: 100%; display: block; }
  .tdu-nut.giua .tdu-ic svg { width: 26px; height: 26px; stroke-width: 2.5; }
  @keyframes tduDap {
    0% { box-shadow: 0 8px 20px rgba(95, 154, 36, .55), 0 0 0 0 rgba(182, 240, 106, .65); }
    70% { box-shadow: 0 8px 20px rgba(95, 154, 36, .55), 0 0 0 12px rgba(182, 240, 106, 0); }
    100% { box-shadow: 0 8px 20px rgba(95, 154, 36, .55), 0 0 0 0 rgba(182, 240, 106, 0); }
  }
  .tdu-so {
    position: absolute; top: -3px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #ef4747; color: #fff;
    font-style: normal; font-size: .6rem; font-weight: 800; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px #15183a;
  }
  /* Nút Liên hệ nổi nằm TRÊN thanh, không che nút; bảng Liên hệ trượt lên phủ cả thanh */
  .cn-noi-lien-he { bottom: calc(90px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .lop-phu { z-index: 45; }
  body.tdu-go .cn-5nut { display: none; }
}

/* ===== Mỗi nút một khu riêng như hoc.hmora.vn (anh dặn 24/10/2026: "sắp xếp 5 nút giống hmora, mỗi nút có một bộ phận riêng biệt,
   không được bấm vào giống giống nhau") — CHỈ điện thoại ≤ 700 px (có thanh 5 nút); máy tính / 701–1059 px giữ ☰ như cũ.
   ☰ đầu trang = "Khám phá" (các mục của trang web, bỏ mục đã có ở thanh); nút "Tài khoản" = bảng trượt lên riêng (BangTaiKhoan). ===== */
.cn-mo-tk { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.an5-tk { display: contents; }
.cn-tkb-man, .cn-tkb { display: none; }
@media (max-width: 700px) {
  /* ☰: bỏ nút to + nhóm theo loại tài khoản (đã ở thanh 5 nút / bảng Tài khoản) và mục trùng thanh — chỉ ẩn, vẫn giữ trong HTML */
  .cn-ben > .cn-ben-nut, .cn-ben > .cn-ben-nhom:not(.cn-chi-dt):not(.giu-dt), .cn-ben .an5, .cn-ben .an5-tk { display: none !important; }
  /* Bảng Tài khoản trượt lên */
  .cn-tkb-man { display: block; position: fixed; inset: 0; z-index: 54; background: rgba(8, 10, 24, .55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .cn-tkb {
    --b-nen: #14161c; --b-chu: #eef0f6; --b-mo: #a3a8b8; --b-vien: rgba(255, 255, 255, .09); --b-re: rgba(255, 255, 255, .06);
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; max-height: 85dvh; overflow-y: auto; overscroll-behavior: contain;
    padding: 10px 14px calc(16px + env(safe-area-inset-bottom)); background: var(--b-nen); color: var(--b-chu);
    border-radius: 22px 22px 0 0; border-top: 1px solid rgba(246, 180, 14, .35); box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
    transform: translateY(105%); visibility: hidden;
  }
  .cn-da-hien .cn-tkb { transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility .28s; }
  .cn-mo-tk:checked ~ .cn-tkb-man { opacity: 1; visibility: visible; }
  .cn-mo-tk:checked ~ .cn-tkb { transform: none; visibility: visible; }
  body:has(.cn-mo-tk:checked) { overflow: hidden; }
  .cn-tkb-keo { display: block; width: 42px; height: 4px; margin: 0 auto 12px; border-radius: 4px; background: #555a68; }
  .cn-tkb-ai { display: flex; align-items: center; gap: 12px; padding: 0 4px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--b-vien); }
  .cn-tkb-ai .anh { flex: none; width: 46px; height: 46px; overflow: hidden; display: grid; place-items: center; border: 2px solid var(--vang); border-radius: 50%; background: #fff; }
  .cn-tkb-ai .anh img, .cn-tkb-ai .anh svg { width: 100%; height: 100%; object-fit: cover; }
  .cn-tkb-ai div { min-width: 0; }
  .cn-tkb-ai b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
  .cn-tkb-ai small { color: var(--b-mo); font-size: .8rem; }
  .cn-tkb-dong {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 6px; border: 0; border-radius: 10px; background: none; color: var(--b-chu);
    font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; text-align: left; cursor: pointer;
  }
  .cn-tkb-dong:active { background: #262a35; }
  .cn-tkb-dong svg { flex: none; width: 20px; height: 20px; color: var(--vang); fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .cn-tkb-dong .cn-ben-so { margin-left: auto; }
  .cn-tkb-dong.ra, .cn-tkb-dong.ra svg { color: #ff8a8a; }
  .cn-tkb-nn { margin: 6px 0; padding-top: 8px; border-top: 1px solid var(--b-vien); }
  .cn-tkb form { margin: 0; }
}
.cn-ben-kp { display: none; }
@media (max-width: 700px) {
  .cn-ben-dau .cn-ben-logo { display: none; }
  .cn-ben-dau .cn-ben-kp { display: block; padding-left: 6px; font-size: 1.05rem; font-weight: 900; }
  .cn-tkb-luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
  .cn-tkb-luoi .cn-tkb-dong { padding: 9px 6px; gap: 9px; font-size: .86rem; line-height: 1.2; }
  .cn-tkb-luoi .cn-tkb-dong span { min-width: 0; overflow-wrap: anywhere; }
}

/* ===== "Tải về máy" (cài web như app) — như CaiApp.tsx của hoc.hmora.vn (anh hỏi 24/10/2026 "chưa có tải về máy nhỉ") ===== */
[data-tai-app][hidden], .cn-cai-hd[hidden], .cn-cai-hd [hidden] { display: none !important; }
.cn-ben-cai {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-basis: 100%; margin-top: 4px; padding: 10px 12px; border: 0; border-radius: 12px;
  background: linear-gradient(90deg, #ff9b3d, #ffc247); color: #241400; font: inherit; font-weight: 900; font-size: .9rem; cursor: pointer;
}
.cn-ben-cai svg, .cn-tkb-dong.vang svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cn-tkb-dong.vang, .cn-tkb-dong.vang svg { color: #ffd34d; }
.cn-cai-hd { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(8, 10, 24, .6); }
.cn-cai-hop { position: relative; width: min(100%, 360px); padding: 22px 18px 18px; border-radius: 20px; background: #fff; color: #1d2340; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.cn-cai-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef0f6; color: #555; font-size: 1rem; cursor: pointer; }
.cn-cai-logo { display: block; width: 64px; height: 64px; margin: 0 auto; }
.cn-cai-hop h3 { margin: 10px 0 12px; font-size: 1.1rem; font-weight: 900; color: var(--cn-dam, #24337f); }
.cn-cai-hop ol { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 10px; text-align: left; }
.cn-cai-hop li { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; line-height: 1.35; }
.cn-cai-hop .so { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cn-la-dam, #5f9a24); color: #fff; font-weight: 900; font-size: .85rem; }
.cn-cai-ghi { margin: 4px 0 0; color: #6b7390; font-size: .85rem; }


/* ===== Khung Đăng nhập / Đăng ký — bố cục như hoc.hmora.vn (bản mô tả 12, anh duyệt 25/10/2026: "đăng nhập đăng ký phải chạy đúng
   như hoc.hmora.vn bố cục và có cả chỗ gắn mã giới thiệu") =====
   src/trang/tai-khoan.tsx (trangKhung, KhungKd) + src/trang/o-gioi-thieu.tsx; bản xem trước anh duyệt: public/xem-truoc/dang-nhap-google.html.
   Màu Đêm chàm như thanh 5 nút anh chọn. Vệt sáng chạy viền (7 giây / vòng) + quầng xanh "thở"; sai thì khung lắc nhẹ.
   KHÔNG tắt hiệu ứng khi máy bật "giảm chuyển động" (máy anh bật chế độ đó, anh muốn thấy hiệu ứng). */
.kd-trang { padding-top: 18px; }
.kd { --kd-nen: #15183a; --kd-nen-2: #1c2150; --kd-vien: #b6f06a; --kd-la: #b6f06a; --kd-grad: linear-gradient(90deg, #d6f7a3, #8bc540); --kd-chu: #eef0fa; --kd-mo: #a9b0d0; max-width: 540px; }
.kd-tieu { text-align: center; color: #24337f; font-size: 1.25rem; font-weight: 900; text-transform: uppercase; margin: 0; line-height: 1.35; }
.kd-phu { text-align: center; margin: 4px 0 14px; color: #3d4a75; font-weight: 800; }
.kd-phu span { border-bottom: 2px solid #8bc540; }
@property --kd-goc { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.kd-the { position: relative; border: 1px solid var(--kd-vien); border-radius: 10px; background: var(--kd-nen); color: var(--kd-chu); overflow: hidden; animation: kdTho 3.6s ease-in-out infinite; }
.kd-the::before {
  content: ""; position: absolute; inset: 0; z-index: 5; padding: 2px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--kd-goc), transparent 0deg 245deg, rgba(182, 240, 106, .12) 275deg, rgba(182, 240, 106, .6) 325deg, #f4ffe0 355deg, transparent 358deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: kdVien 7s linear infinite;
}
@keyframes kdVien { to { --kd-goc: 360deg; } }
@keyframes kdTho { 0%, 100% { box-shadow: 0 0 0 1px rgba(182, 240, 106, .2), 0 0 12px rgba(182, 240, 106, .12); } 50% { box-shadow: 0 0 0 1px rgba(182, 240, 106, .55), 0 0 30px rgba(182, 240, 106, .32); } }
.kd-the.kd-lac { animation: kdLac .7s, kdTho 3.6s ease-in-out .7s infinite; }
@keyframes kdLac { 0%, 100% { transform: none; } 15% { transform: translateX(-6px); } 30% { transform: translateX(5px); } 45% { transform: translateX(-4px); } 60% { transform: translateX(3px); } 75% { transform: translateX(-1px); } }
/* Đầu khung giống logo ở đầu trang (anh 25/10/2026: câu dài "dòm chữ bị rối" → logo + Hmong Go + KẾT NỐI VIỆC LÀM TOÀN QUỐC) */
.kd-dau { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; }
@media (max-width: 420px) { .kd-dau { gap: 12px; padding: 12px 14px; } .kd-dau img { width: 54px; height: 54px; } }
.kd-dau img { width: 62px; height: 62px; flex: none; }
.kd-dau > span { display: grid; gap: 3px; line-height: 1.15; min-width: 0; }
.kd-dau b { color: var(--cn-dam, #24337f); font-weight: 900; font-size: 1.6rem; white-space: nowrap; }
.kd-dau b i { font-style: normal; color: #2c9a46; }
/* MỘT dòng (anh 25/10: "trên điện thoại bị xuống dòng nhìn không đẹp"): chữ dài thì public/app.js tự thu nhỏ cho vừa */
.kd-dau small { color: #6b7891; font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; line-height: 1.3; white-space: nowrap; overflow: hidden; min-width: 0; padding-top: 2px; } /* padding: dấu "KẾT" không bị khung cắt (25/10) */
.kd-loi-ich { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--kd-nen-2); }
.kd-loi-ich div { padding: 14px 6px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.kd-loi-ich div:last-child { border-right: 0; }
.kd-loi-ich svg { width: 26px; height: 26px; margin: 0 auto; display: block; color: var(--kd-la); }
.kd-loi-ich b { display: block; margin-top: 6px; font-size: .74rem; line-height: 1.35; font-weight: 900; text-transform: uppercase; overflow-wrap: anywhere; }
.kd-than { padding: 14px; background: var(--kd-nen-2); }
.kd-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--kd-vien); border-radius: 8px 8px 0 0; border-bottom: 0; overflow: hidden; background: #2a3166; }
/* lề trong 18px: góc xiên 14px của thẻ đang chọn không đè chữ thẻ bên cạnh (chữ Hmoob dài, máy 320px) */
.kd-tab { position: relative; min-height: 46px; display: grid; place-items: center; padding: 6px 18px; color: var(--kd-mo); font-size: 1rem; font-weight: 800; text-decoration: none; text-align: center; line-height: 1.2; }
.kd-tab[aria-selected="true"] { background: var(--kd-grad); color: #15183a; z-index: 1; }
.kd-tab[aria-selected="true"]::after { content: ""; position: absolute; top: 0; right: -14px; width: 28px; height: 100%; background: #8bc540; transform: skewX(-18deg); z-index: 0; }
.kd-tab:last-child[aria-selected="true"]::after { right: auto; left: -14px; background: #d6f7a3; transform: skewX(18deg); }
.kd-tab span { position: relative; z-index: 1; }
.kd-o { background: var(--kd-nen); border: 1px solid var(--kd-vien); border-top: 0; border-radius: 0 0 8px 8px; padding: 16px; }
.kd-o[hidden] { display: none; }
.kd-mo-dau { font-size: .88rem; margin: 0 0 14px; }
.kd-mo-dau u { color: var(--kd-la); text-decoration-color: var(--kd-la); text-underline-offset: 2px; }
.kd-h-gon { color: var(--kd-la); font-size: 1.15rem; font-weight: 900; margin: 0 0 10px; }
/* Ô nhãn nổi: nhãn nằm trong khung ô (như hoc.hmora.vn) */
.kd-fl { position: relative; display: block; margin-bottom: 12px; }
.kd-fl input, .kd-fl select {
  width: 100%; height: 54px; min-height: 0; padding: 22px 12px 6px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .6);
  background-color: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: .95rem;
}
.kd-fl > label, .kd-fl > .kd-nhan { position: absolute; left: 13px; top: 7px; font-size: .7rem; color: #cfd3ea; pointer-events: none; font-weight: 700; }
.kd-fl input:focus, .kd-fl select:focus { outline: none; border-color: var(--kd-la); box-shadow: 0 0 0 3px rgba(182, 240, 106, .22); }
.kd-fl input::placeholder { color: transparent; }
.kd-fl input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #262c5c inset; -webkit-text-fill-color: #fff; caret-color: #fff; }
/* iPhone vẽ ô chọn kiểu riêng (nền xám sáng, chữ trắng chìm) → tự vẽ: nền tối như các ô khác + mũi tên xanh */
.kd-fl select {
  -webkit-appearance: none; appearance: none; padding-right: 34px;
  background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6f06a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}
.kd-fl select option, .kd-fl select optgroup { background: #1c2150; color: #fff; }
.kd-fl.ok input { border-color: #8bc540; }
.kd-fl.sai input { border-color: #ff8d8d; }
.kd .nut-hien-mk { color: var(--kd-la); }
.kd .nut-hien-mk:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.kd-hai { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.kd-gt { display: block; margin: -6px 0 12px 2px; font-size: .82rem; min-height: 1.2em; color: var(--kd-mo, #636779); }
.kd-gt.ok { color: #b6f06a; }
.kd-gt.loi { color: #ff9b9b; }
.kd-gt.sang { margin: 4px 0 0 2px; }
.kd-gt.sang.ok { color: #3d7a12; }
.kd-gt.sang.loi { color: #b42318; }
.kd-hang { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 14px; font-size: .86rem; flex-wrap: wrap; }
.kd-tick { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; }
.kd-tick input { width: 18px; height: 18px; accent-color: #8bc540; flex: none; }
.kd-tick.dai { display: flex; align-items: flex-start; margin: 0 0 14px; font-size: .86rem; }
.kd-tick.dai input { margin-top: 1px; }
.kd-lk { color: var(--kd-la); font-weight: 800; font-size: .86rem; }
.kd-nut {
  width: 100%; min-height: 56px; border: 0; border-radius: 8px; background: var(--kd-grad); color: #15183a; display: flex; align-items: center;
  justify-content: center; gap: 12px; text-align: left; font: inherit; cursor: pointer; padding: 8px 12px;
}
.kd-nut:hover { filter: brightness(1.06); }
.kd-nut:active { transform: scale(.99); }
.kd-nut svg { width: 28px; height: 28px; flex: none; }
.kd-nut b { display: block; font-size: 1.12rem; line-height: 1.2; font-weight: 900; text-transform: uppercase; }
.kd-nut small { display: block; font-size: .74rem; font-weight: 700; }
.kd-hoac { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--kd-mo); font-size: .82rem; }
.kd-hoac::before, .kd-hoac::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .2); }
.kd-gg {
  width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; background: #0f1230;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; color: #fff; font-size: .95rem; font-weight: 800; text-decoration: none;
}
.kd-gg svg { width: 20px; height: 20px; flex: none; }
.kd-bao { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 120, 120, .1); border: 1px solid #8a3a3a; color: #ffd0d0; font-size: .88rem; font-weight: 700; }
.kd-bao[hidden] { display: none; }
.kd-lien { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.kd-lien a {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; min-width: 0; border-radius: 8px; background: #0f1230;
  border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; font-weight: 800; font-size: .9rem;
}
.kd-lien a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kd-lien svg { width: 20px; height: 20px; flex: none; }
.kd-than-gon { padding: 16px; background: var(--kd-nen); }
.kd-ai { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .06); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.kd-ai i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #8bc540; color: #15183a; font-weight: 900; font-style: normal; font-size: 1.2rem; }
.kd-ai span { display: grid; line-height: 1.3; min-width: 0; }
.kd-ai small { color: var(--kd-mo); overflow-wrap: anywhere; }
/* Khối "Đăng nhập bằng Google" ở trang đổi mật khẩu (src/trang/the-google.tsx) */
.gg-the { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(20, 30, 70, .07); padding: 16px; display: grid; gap: 10px; margin-top: 16px; }
.gg-the h3 { margin: 0; display: grid; gap: 2px; color: #24337f; }
.gg-the h3 small { font-weight: 600; color: #636779; font-size: .82rem; }
.gg-dong { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gg-dong > svg { width: 28px; height: 28px; flex: none; }
.gg-dong > span { flex: 1; min-width: 140px; display: grid; line-height: 1.3; }
.gg-dong > span small { color: #636779; overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .kd-than, .kd-o, .kd-than-gon { padding: 12px; }
  .kd-hai { grid-template-columns: 1fr; gap: 0; }
  .kd-dau b { font-size: 1.35rem; }
  .kd-dau small { letter-spacing: .03em; }
  .kd-lien a { flex-direction: column; gap: 3px; font-size: .78rem; }
}
/* Nút nổi Liên hệ TỰ NÉ (anh dặn: phần nổi không được che nội dung — làm cùng khung Đăng nhập / Đăng ký 25/10/2026): đang nằm trên ô nhập /
   nút bấm → trượt sang mép phải, chừa một mép nhỏ vẫn bấm được; cuộn qua là tự quay lại. Thẻ việc làm (cả thẻ là link) thì không né.
   public/app.js khối "tự né". */
.cn-noi-lien-he { transition: transform .25s, opacity .25s; }
.cn-noi-lien-he.ne { transform: translateX(calc(100% + 2px)); opacity: .85; }

/* Đăng ký đi làm khi đã đăng nhập: ô số lấy từ tài khoản, khóa lại (bản mô tả 13) */
.o input[readonly] { background: #f3f5fa; color: #4b5470; cursor: default; }

/* ===== KIỂU C · App hiện đại — Đăng nhập · Đăng ký tài khoản · Đăng ký đi làm (anh chọn 25/10/2026, bản xem trước public/xem-truoc/kieu-form.html) =====
   Dải màu xanh lá → chàm phía sau (.kd-nen), tấm trắng bo tròn chứa ô điền; ô có biểu tượng vẽ bằng CSS theo TÊN ô (không đổi mã ô).
   VỪA MỘT MÀN HÌNH (anh: "đứng yên, vừa mặt hình cả máy tính và điện thoại"): điện thoại 360×640 trở lên, laptop 1366×650 trở lên.
   Ghi đè khối .kd-* (bản 12) phía trên. src/trang/tai-khoan.tsx (KhungKd) · mau-dang-ky.tsx (MauDangKy) · cong-khai.tsx (trangDangKy); JS: app.js "3 bước". */
:root {
  --kc-la: #1f9a55; --kc-cham: #24337f; --kc-grad: linear-gradient(135deg, #1f9a55 0%, #1d6f7a 45%, #24337f 100%);
  --kc-o: #f4f6fb; --kc-chu: #1d2340; --kc-mo: #7a8299;
  --ic-nguoi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E");
  --ic-dt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
  --ic-lich: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --ic-ghim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.5 7-12a7 7 0 1 0-14 0c0 5.5 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  --ic-nha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11 12 4l8 7v9H4z'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E");
  --ic-viec: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5h6v2'/%3E%3C/svg%3E");
  --ic-thu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
  --ic-khoa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
  --ic-qua: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v10H4zM3 7h18v4H3zM12 7v14'/%3E%3Cpath d='M12 7c-1.5-3-5-3-5-1s3 1 5 1c2 0 5 1 5-1s-3.5-2-5 1'/%3E%3C/svg%3E");
  --ic-but: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3C/svg%3E");
  --ic-khien: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6l8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  --ic-mui: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8299' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
/* Nền chung: dải màu phía trên, phần dưới xám rất nhạt */
.kd-trang, .mdk-trang { position: relative; isolation: isolate; padding: 0 0 22px; background: #eef1f7; }
.kd-nen { position: absolute; left: 0; right: 0; top: 0; height: 250px; z-index: -1; background: var(--kc-grad); overflow: hidden; }
.kd-nen::before { content: ""; position: absolute; inset: 0; background: url(/hoa-van/sao.svg) repeat; background-size: 64px; opacity: .45; }
.kd-nen::after { content: ""; position: absolute; right: -70px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(182, 240, 106, .42), transparent 65%); }
/* Biểu tượng trong ô (theo tên ô) */
.kd-fl::before, .mdk label.o::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; z-index: 1; pointer-events: none;
  background: var(--kc-la); -webkit-mask: var(--ic, none) center / contain no-repeat; mask: var(--ic, none) center / contain no-repeat;
}
:is(.kd-fl, .mdk label.o):has([name="ho_ten"]) { --ic: var(--ic-nguoi); }
:is(.kd-fl, .mdk label.o):has([name="sdt"]) { --ic: var(--ic-dt); }
:is(.kd-fl, .mdk label.o):has([name="nam_sinh"]) { --ic: var(--ic-lich); }
:is(.kd-fl, .mdk label.o):has([name="que_tinh"]) { --ic: var(--ic-ghim); }
:is(.kd-fl, .mdk label.o):has([name="que_xa"]) { --ic: var(--ic-nha); }
:is(.kd-fl, .mdk label.o):has([name="viec_id"]) { --ic: var(--ic-viec); }
:is(.kd-fl, .mdk label.o):has([name="email"]) { --ic: var(--ic-thu); }
:is(.kd-fl, .mdk label.o):has([name="mat_khau"]) { --ic: var(--ic-khoa); }
:is(.kd-fl, .mdk label.o):has([name="gt"]) { --ic: var(--ic-qua); }
:is(.kd-fl, .mdk label.o):has([name="di_cung"]) { --ic: var(--ic-but); }
.kd-fl:has([name="ma"]) { --ic: var(--ic-khien); }

/* ---------- Đăng nhập / Đăng ký tài khoản (KhungKd) ---------- */
.kd { max-width: 960px; padding-top: 16px; }
.kd-the { display: grid; grid-template-columns: 320px minmax(0, 1fr); border: 0; border-radius: 24px; background: #fff; color: var(--kc-chu); overflow: hidden; animation: none; box-shadow: 0 26px 50px -22px rgba(10, 30, 60, .4); }
.kd-the::before { display: none; }
.kd-the.kd-lac { animation: kdLac .7s; }
.kd-ben { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 22px; background: var(--kc-grad); color: #fff; overflow: hidden; }
.kd-ben::before { content: ""; position: absolute; inset: 0; background: url(/hoa-van/sao.svg) repeat; background-size: 64px; opacity: .4; pointer-events: none; }
.kd-ben > * { position: relative; }
.kd-ben-logo { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.kd-tieu { margin: 2px 0 0; text-align: left; color: #fff; font-size: 1.6rem; font-weight: 900; line-height: 1.25; text-transform: none; }
.kd-tieu [data-the="dk"] { display: none; }
.kd-the:has(form.kd-o[data-the="dk"]:not([hidden])) .kd-tieu [data-the="dn"] { display: none; }
.kd-the:has(form.kd-o[data-the="dk"]:not([hidden])) .kd-tieu [data-the="dk"] { display: inline; }
.kd-phu { margin: 0; text-align: left; color: #c8f58a; font-weight: 900; font-size: .92rem; }
.kd-ben-ta { margin: 0; font-size: .88rem; font-weight: 700; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.kd-loi-ich { display: grid; grid-template-columns: 1fr; gap: 8px; background: none; margin-top: 2px; }
.kd-loi-ich div { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; text-align: left; }
.kd-loi-ich svg { width: 32px; height: 32px; padding: 7px; margin: 0; border-radius: 10px; background: rgba(255, 255, 255, .18); color: #fff; }
.kd-loi-ich b { margin: 0; font-size: .92rem; font-weight: 900; text-transform: none; }
.kd-ben .kd-hoac { display: none; }
.kd-ben .kd-lien { margin-top: 6px; }
.kd-goi { display: none; }
.kd-ben .kd-lien a { min-height: 42px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.kd-than, .kd-than-gon { padding: 24px 28px; background: #fff; }
.kd-tabs { display: flex; gap: 3px; padding: 4px; margin-bottom: 16px; border: 0; border-radius: 14px; background: #f0f2f8; overflow: visible; }
.kd-tab { flex: 1; min-height: 42px; border-radius: 11px; padding: 6px 10px; color: #5f6782; font-size: .95rem; font-weight: 900; }
.kd-tab[aria-selected="true"] { background: #fff; color: var(--kc-chu); box-shadow: 0 2px 6px rgba(20, 30, 60, .12); }
.kd-tab[aria-selected="true"]::after { display: none; }
.kd-o { padding: 0; border: 0; border-radius: 0; background: none; }
.kd-mo-dau { display: none; }
.kd-h-gon { color: var(--kc-chu); }
.kd-fl { margin-bottom: 10px; }
.kd-fl input, .kd-fl select { height: 52px; padding: 21px 12px 5px 44px; border-radius: 14px; border: 1.5px solid transparent; background-color: var(--kc-o); color: var(--kc-chu); font-size: .98rem; font-weight: 800; }
.kd-fl select { background: var(--kc-o) var(--ic-mui) no-repeat right 12px center / 16px; padding-right: 34px; }
.kd-fl select option, .kd-fl select optgroup { background: #fff; color: var(--kc-chu); }
.kd-fl > label, .kd-fl > .kd-nhan { left: 45px; top: 7px; font-size: .7rem; color: var(--kc-mo); font-weight: 800; }
.kd-fl input:focus, .kd-fl select:focus { border-color: var(--kc-la); background-color: #fff; box-shadow: 0 0 0 4px rgba(31, 154, 85, .12); }
.kd-fl input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--kc-o) inset; -webkit-text-fill-color: var(--kc-chu); caret-color: var(--kc-chu); }
.kd-fl.ok input { border-color: var(--kc-la); }
.kd-fl.sai input { border-color: #e5484d; }
.kd .nut-hien-mk { color: var(--kc-mo); }
.kd .nut-hien-mk:hover { background: #e8ebf3; color: var(--kc-chu); }
.kd-gt { color: var(--kc-mo); }
.kd-gt.ok { color: #2c7a1a; }
.kd-gt.loi { color: #b42318; }
.kd-hang, .kd-tick { color: #3d4252; }
.kd-tick input { accent-color: var(--kc-la); }
.kd-lk { color: var(--kc-la); }
.kd-nut { min-height: 50px; border-radius: 14px; background: linear-gradient(90deg, #1f9a55, #1d6f7a); color: #fff; justify-content: center; text-align: center; box-shadow: 0 10px 22px -8px rgba(31, 154, 85, .7); }
.kd-nut svg { width: 22px; height: 22px; }
.kd-nut b { font-size: 1.05rem; text-transform: none; }
.kd-nut small { display: none; }
.kd-hoac { margin: 10px 0; color: #9aa1b5; }
.kd-hoac::before, .kd-hoac::after { background: #e3e7f0; }
.kd-gg { min-height: 46px; border-radius: 14px; border: 1.5px solid #e3e7f0; background: #fff; color: #1f2533; }
.kd-bao { border-color: #f6c4c4; background: #fdecec; color: #8f1d1d; }
.kd-ai { background: var(--kc-o); }
.kd-ai i { background: var(--kc-la); color: #fff; }
.kd-ai small { color: var(--kc-mo); }
/* Đăng ký tài khoản trên máy tính: ô 2 cột, nút Đăng ký + Google một hàng; 2 thẻ cùng cao → bấm qua lại khung đứng yên */
@media (min-width: 861px) {
  .kd-o { min-height: 372px; }
  .kd-o[data-the="dk"]:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; align-content: start; }
  .kd-o[data-the="dk"] > :is(.kd-gt, .kd-tick, .bay) { grid-column: 1 / -1; }
  .kd-o[data-the="dk"] .kd-tick.dai { margin-bottom: 12px; }
  .kd-o[data-the="dk"] > .kd-gg-khoi .kd-hoac { display: none; }
  .kd-o[data-the="dk"] > .kd-gg-khoi { display: grid; }
}
/* Điện thoại / máy tính bảng: lời chào trắng trên dải màu + tấm trắng bo tròn trồi lên; bỏ phần lặp; ô 2 cột; không thanh 5 nút */
@media (max-width: 860px) {
  .kd-trang { padding-bottom: 0; }
  .kd-nen { height: 190px; }
  .kd-trang .khung.kd { padding: 0; }
  .kd-the { display: block; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
  .kd-ben { padding: 18px 18px 46px; gap: 2px; background: none; }
  .kd-ben::before, .kd-ben-logo, .kd-ben-ta, .kd-loi-ich, .kd-ben .kd-lien { display: none; }
  .kd-goi { position: absolute; top: 14px; right: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .18); color: #fff; font-size: .82rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
  .kd-goi svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .kd-tieu { padding-right: 112px; }
  /* Nút Liên hệ nổi không che nút của khung — dùng nút "Gọi / Zalo" trên dải màu */
  body:has(:is(.kd-trang, .mdk-trang)) .cn-noi-lien-he { display: none; }
  .kd-tieu { font-size: 1.45rem; margin: 0; }
  .kd-phu { color: rgba(255, 255, 255, .85); font-size: .85rem; }
  .kd-than, .kd-than-gon { position: relative; margin-top: -32px; padding: 16px 16px 22px; border-radius: 26px 26px 0 0; box-shadow: 0 -6px 30px rgba(10, 30, 60, .12);
    min-height: calc(100svh - 230px); } /* tấm trắng kéo tới đáy màn hình như app (chân trang nằm dưới) */
  .kd-tabs { margin-bottom: 12px; }
  .kd-fl { margin-bottom: 8px; }
  .kd-fl input, .kd-fl select { height: 48px; padding-top: 19px; padding-bottom: 4px; }
  .kd-fl > label, .kd-fl > .kd-nhan { top: 6px; font-size: .68rem; }
  .kd-fl::before { margin-top: -9px; }
  .kd-hang { margin: 0 0 10px; }
  .kd-tick.dai { margin: 0 0 10px; font-size: .82rem; }
  .kd-gg-khoi .kd-hoac { display: none; }
  .kd-gg { margin-top: 8px; }
  .kd-o[data-the="dk"]:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; align-content: start; }
  .kd-o[data-the="dk"] > * { grid-column: 1 / -1; }
  .kd-o[data-the="dk"] > .kd-hai { display: contents; }
  .kd-o[data-the="dk"] .kd-fl:has(#dk-ten) { order: 1; }
  .kd-o[data-the="dk"] .kd-fl:has(#dk-sdt) { order: 2; grid-column: 1; }
  .kd-o[data-the="dk"] .kd-fl:has(#dk-nam) { order: 3; grid-column: 2; }
  .kd-o[data-the="dk"] .kd-fl:has(#dk-mail) { order: 4; grid-column: 1; }
  .kd-o[data-the="dk"] .kd-fl:has(select) { order: 5; grid-column: 2; }
  .kd-o[data-the="dk"] .kd-fl:has(#dk-mk) { order: 6; }
  .kd-o[data-the="dk"] .kd-fl:has(#dk-gt) { order: 7; }
  .kd-o[data-the="dk"] > .kd-gt { order: 8; margin: -4px 0 4px 2px; min-height: 0; }
  .kd-o[data-the="dk"] > .kd-tick { order: 9; }
  .kd-o[data-the="dk"] > .kd-nut { order: 10; }
  .kd-o[data-the="dk"] > .kd-gg-khoi { order: 11; }
}
/* Điện thoại hẹp: nút Gọi / Zalo chỉ còn biểu tượng để lời chào không xuống dòng */
@media (max-width: 380px) {
  .kd-goi { gap: 0; padding: 9px; font-size: 0; }
  .kd-goi svg { width: 16px; height: 16px; }
  .kd-tieu { padding-right: 46px; }
}
/* Điện thoại thấp (~640px): lời chào gọn để khung Đăng ký vẫn vừa một màn hình */
@media (max-width: 860px) and (max-height: 700px) {
  .kd-ben { padding: 12px 18px 42px; }
  .kd-tieu { font-size: 1.3rem; }
  .kd-phu { display: none; }
  .kd-tab { min-height: 38px; }
  .kd-tabs { margin-bottom: 10px; }
}
@media (max-width: 700px) {
  body.cn:has(.kd-trang) { padding-bottom: 0; }
  body:has(.kd-trang) .cn-5nut { display: none; }
}

/* ---------- Đăng ký đi làm (MauDangKy) ---------- */
.mdk-khung { max-width: 1180px; padding-top: 20px; }
.mdk-dau { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: #fff; }
.mdk-dau h1 { margin: 0; color: #fff; font-size: 1.6rem; font-weight: 900; line-height: 1.25; }
.mdk-dau p { margin: 2px 0 0; color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 700; }
.mdk-goi { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 13px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .18); color: #fff; font-size: .85rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.mdk-goi svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mdk-the { padding: 18px; border-radius: 24px; background: #fff; box-shadow: 0 26px 50px -22px rgba(10, 30, 60, .4); }
form.mdk { gap: 10px; }
.mdk-tien { display: none; }
.mdk-ba { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.mdk-phan { display: grid; gap: 9px; align-content: start; min-width: 0; margin: 0; padding: 12px 14px 14px; border: 1px solid #e8ebf3; border-radius: 18px; }
.mdk-phan > legend { display: flex; align-items: center; gap: 8px; padding: 0 6px; color: var(--kc-chu); font-size: .95rem; font-weight: 900; }
.mdk-phan > legend i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--kc-la); color: #fff; font-size: .78rem; font-style: normal; }
.mdk label.o { position: relative; display: grid; align-content: center; gap: 0; min-height: 52px; padding: 6px 12px 5px 44px; border-radius: 14px; border: 1.5px solid transparent; background: var(--kc-o); color: var(--kc-mo); font-size: .7rem; font-weight: 800; line-height: 1.25; }
.mdk label.o:focus-within { border-color: var(--kc-la); background: #fff; box-shadow: 0 0 0 4px rgba(31, 154, 85, .12); }
.mdk label.o :is(input, select, textarea) { width: 100%; min-height: 0; height: auto; padding: 1px 0 0; border: 0; border-radius: 0; background: transparent; color: var(--kc-chu); font-size: .98rem; font-weight: 800; outline: none; box-shadow: none; }
.mdk label.o select { -webkit-appearance: none; appearance: none; padding-right: 22px; background: var(--ic-mui) no-repeat right 0 center / 14px; }
.mdk label.o textarea { height: 22px; resize: none; overflow: hidden; }
.mdk label.o input::placeholder { color: #a7aec2; font-weight: 700; }
.mdk label.o input[readonly] { color: #4b5470; }
.mdk-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mdk-hai.mdk-sdt { grid-template-columns: 1.4fr 1fr; }
.mdk-sg { display: flex; gap: 2px; min-height: 52px; padding: 3px; border-radius: 14px; background: #f0f2f8; }
.mdk-sg label { position: relative; flex: 1; display: grid; cursor: pointer; }
.mdk-sg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mdk-sg span { display: grid; place-items: center; padding: 4px; border-radius: 11px; color: #5f6782; font-size: .85rem; font-weight: 900; line-height: 1.15; text-align: center; }
.mdk-sg input:checked + span { background: var(--kc-la); color: #fff; box-shadow: 0 2px 6px rgba(31, 154, 85, .35); }
.mdk-sg input:focus-visible + span { outline: 2px solid var(--kc-cham); outline-offset: 1px; }
.mdk .pt-bon { margin: 0; padding: 0; border: 0; background: none; }
.mdk .pt-muc { padding: 0 0 2px; }
.mdk .pt-bon .pt-hang { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; align-items: center; padding: 4px 0; border: 0; }
.mdk .pt-nhan { color: var(--kc-chu); font-size: .8rem; }
.mdk .pt-sg { border-radius: 12px; background: #f0f2f8; }
.mdk .pt-sg label { flex: 1 1 0; }
.mdk .pt-sg span { padding: 7px 3px; font-size: .76rem; line-height: 1.15; white-space: normal; }
.mdk .pt-sg input:checked + span { background: var(--kc-la); color: #fff; box-shadow: none; }
.mdk-dem { display: flex; align-items: center; gap: 8px; color: var(--kc-chu); font-size: .88rem; font-weight: 800; }
.mdk-dem span { flex: 1; }
.mdk-dem button { width: 42px; height: 42px; border: 0; border-radius: 12px; background: #f0f2f8; color: var(--kc-chu); font: inherit; font-size: 1.3rem; font-weight: 900; cursor: pointer; }
.mdk-dem input { width: 54px; min-height: 42px; height: 42px; padding: 0; border: 0; background: transparent; text-align: center; font-size: 1.15rem; font-weight: 900; -moz-appearance: textfield; }
.mdk-dem input::-webkit-inner-spin-button, .mdk-dem input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.mdk label.tick { align-items: center; gap: 9px; color: #3d4252; font-size: .86rem; font-weight: 700; }
.mdk label.tick input { width: 20px; height: 20px; margin: 0; accent-color: var(--kc-la); }
.mdk .kd-gt.sang { margin: -4px 0 0 4px; min-height: 0; }
.mdk-nut { display: grid; grid-template-columns: 1fr 1.7fr; gap: 9px; margin-top: 4px; }
.mdk-nut button { height: 50px; border: 0; border-radius: 14px; font: inherit; font-size: 1rem; font-weight: 900; cursor: pointer; }
.mdk-tiep, .mdk-gui { grid-column: 2; background: linear-gradient(90deg, #1f9a55, #1d6f7a); color: #fff; box-shadow: 0 10px 22px -8px rgba(31, 154, 85, .7); }
.mdk-lui { grid-column: 1; background: #f0f2f8; color: var(--kc-cham); }
.mdk:not(.mdk-js) :is(.mdk-tiep, .mdk-lui) { display: none; }
@media (min-width: 1100px) {
  .mdk-tiep, .mdk-lui { display: none; }
  .mdk-nut { grid-template-columns: 1fr; }
  .mdk-gui { grid-column: 1; }
}
/* Máy nhỏ / điện thoại: mỗi lần một phần, thanh "Bước 1/3", 3 phần cùng cao → nút Tiếp đứng yên một chỗ */
@media (max-width: 1099px) {
  .mdk-khung { max-width: 640px; }
  .mdk-ba { grid-template-columns: minmax(0, 1fr); }
  .mdk-js .mdk-tien { display: grid; gap: 6px; margin-bottom: 2px; }
  .mdk-tien span { display: flex; justify-content: space-between; color: #5f6782; font-size: .78rem; font-weight: 900; }
  .mdk-tien em { font-style: normal; }
  .mdk-tien i { display: block; height: 6px; overflow: hidden; border-radius: 99px; background: #e8ebf3; }
  .mdk-tien i b { display: block; width: 33%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #1f9a55, #b6f06a); transition: width .3s; }
  .mdk-js .mdk-phan { min-height: 374px; padding: 0; border: 0; }
  .mdk-js .mdk-phan > legend { display: none; }
  .mdk-js .mdk-phan[data-an] { display: none; }
  .mdk-js .mdk-nut { align-self: end; }
}
@media (max-width: 860px) {
  .mdk-trang { padding-bottom: 0; }
  .mdk-trang .kd-nen { height: 170px; }
  .mdk-trang .khung.mdk-khung { padding: 0; }
  .mdk-dau { margin: 0; padding: 14px 16px 44px; }
  .mdk-dau h1 { font-size: 1.35rem; }
  .mdk-dau p { font-size: .82rem; }
  .mdk-the { position: relative; margin-top: -32px; padding: 16px 16px 18px; border-radius: 26px 26px 0 0; box-shadow: 0 -6px 30px rgba(10, 30, 60, .12);
    min-height: calc(100svh - 230px); }
}
/* Điện thoại thấp (~640px): ô thấp hơn chút cho 3 phần vẫn vừa */
@media (max-width: 1099px) and (max-height: 700px) {
  .mdk-js .mdk-phan { min-height: 352px; gap: 7px; }
  .mdk label.o, .mdk-sg { min-height: 48px; }
  .mdk-nut button { height: 46px; }
  .mdk .pt-bon .pt-hang { padding: 3px 0; }
}
/* MÁY TÍNH — kiểu 1 "Sân khấu" (anh chọn 25/10/2026 sau "trong máy tính chưa đẹp"; bản xem trước public/xem-truoc/may-tinh.html):
   nền màu phủ KÍN màn hình (hết dải màu dừng nửa chừng + vệt xám), khung trắng nổi giữa; Đăng ký đi làm 3 phần ngăn bằng vạch đứt (bỏ hộp lồng hộp).
   Vừa một màn hình 1920×920 và 1366×650 (cả dải BẢN THỬ). Điện thoại không đổi. */
@media (min-width: 861px) {
  body { --dau-cao: 114px; }
  body:has(.dai-ban-thu) { --dau-cao: 142px; }
  :is(.kd-trang, .mdk-trang) { min-height: calc(100vh - var(--dau-cao)); display: grid; align-content: center; padding: 26px 0; background: var(--kc-grad); overflow: hidden; }
  :is(.kd-trang, .mdk-trang)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/hoa-van/sao.svg) repeat; background-size: 70px; opacity: .4; }
  :is(.kd-trang, .mdk-trang)::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(182, 240, 106, .35), transparent 65%); }
  .kd-nen { display: none; }
  .kd { max-width: 1000px; width: 100%; }
  .kd-the { grid-template-columns: 350px minmax(0, 1fr); border-radius: 28px; background: linear-gradient(90deg, transparent 350px, #fff 350px); box-shadow: 0 40px 80px -30px rgba(5, 15, 40, .65); }
  .kd-ben { padding: 30px 28px; background: rgba(255, 255, 255, .1); border-right: 1px solid rgba(255, 255, 255, .18); }
  .kd-ben::before { display: none; }
  .kd-than { display: grid; align-content: center; padding: 30px 34px; }
  .kd-fl input, .kd-fl select { height: 54px; font-size: 1rem; }
  .kd-fl > label, .kd-fl > .kd-nhan { font-size: .72rem; }
  .kd-nut { min-height: 52px; }
}
@media (min-width: 1100px) {
  .mdk-khung { width: 100%; }
  .mdk-dau h1 { font-size: 2rem; }
  .mdk-dau p { font-size: .95rem; }
  .mdk-the { padding: 26px 28px; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(5, 15, 40, .65); }
  .mdk-ba { gap: 0; }
  .mdk-phan { padding: 4px 26px; border: 0; border-radius: 0; }
  .mdk-phan + .mdk-phan { border-left: 1.5px dashed #e3e7f0; }
  .mdk-phan:first-child { padding-left: 0; }
  .mdk-phan:last-child { padding-right: 0; }
  .mdk-phan > legend { float: left; width: 100%; margin-bottom: 6px; padding: 0; font-size: 1.08rem; }
  .mdk-phan > legend i { width: 30px; height: 30px; font-size: .9rem; }
  .mdk label.o, .mdk-sg { min-height: 54px; }
  .mdk label.o :is(input, select, textarea) { font-size: 1rem; }
  .mdk .pt-bon .pt-hang { grid-template-columns: 108px minmax(0, 1fr); }
  .mdk .pt-sg span { padding: 8px 3px; font-size: .8rem; }
}
/* Laptop / màn thấp (≤ 760px cao): gọn chiều dọc để khung vẫn vừa một màn hình */
@media (min-width: 861px) and (max-height: 760px) {
  :is(.kd-trang, .mdk-trang) { padding: 12px 0; }
  .kd-fl { margin-bottom: 8px; }
  .kd-fl input, .kd-fl select { height: 48px; }
  .kd-nut { min-height: 48px; }
  .kd-gg { min-height: 42px; }
  .kd-tabs { margin-bottom: 10px; }
  .kd-o { min-height: 330px; }
  .kd-ben { padding: 18px 22px; gap: 6px; }
  .kd-ben-ta { display: none; }
  .kd-than { padding: 18px 28px; }
}
@media (min-width: 1100px) and (max-height: 760px) {
  .mdk-dau { margin-bottom: 8px; }
  .mdk-dau h1 { font-size: 1.5rem; }
  .mdk-the { padding: 16px 22px; }
  .mdk label.o, .mdk-sg { min-height: 48px; }
  .mdk-phan { gap: 7px; }
  .mdk .pt-bon .pt-hang { padding: 2px 0; }
  .mdk-nut button { height: 46px; }
}

/* ===== Level sang trọng (bản mô tả 14, anh duyệt 25/10/2026 — bản xem trước project-docs/xem-truoc-hang-ctv/) =====
   Khu của tôi → Tổng quan: thẻ lớn nền chàm + huy hiệu · ô vàng mỗi người đủ ngày · thang 5 Level (radio, không cần JS) ·
   hạng tháng + biểu đồ 6 tháng · màn chúc mừng (app.js bắn pháo giấy). Hiệu ứng KHÔNG tắt theo "giảm chuyển động" (anh dặn). */
/* Huy hiệu Level = ảnh anh gửi 25/10/2026 (public/level/lv1–5.webp). Cỡ lấy từ --px (HuyHieu px=…), chỗ nào cần cỡ khác thì đặt width/height.
   Vệt sáng chạy chỉ trên phần có hình: ::after che theo chính ảnh (--hh). */
.hh { position: relative; display: block; flex: none; width: var(--px, 56px); height: var(--px, 56px); line-height: 0; }
.hh img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hh::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--hh) center / contain no-repeat; mask: var(--hh) center / contain no-repeat;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%) no-repeat 100% 0 / 260% 100%;
  animation: hh-quet 3.4s ease-in-out infinite;
}
@keyframes hh-quet { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
/* Level chưa mở: vẫn ĐỦ MÀU (anh dặn 25/10/2026 "Level phải hiện màu hết mới đẹp"), chỉ có ổ khóa + không có vệt sáng chạy */
.hh.khoa::after { display: none; }
/* "Nhà sáng lập" (Level riêng của anh, trên Kim cương — 25/10/2026): ảnh anh gửi public/level/sang-lap.webp + quầng vàng phía sau */
.hh-sl { overflow: visible; }
.hh-sl::before { content: ""; position: absolute; inset: -8%; border-radius: 50%; background: radial-gradient(circle, rgba(246, 180, 14, .42), rgba(246, 180, 14, .16) 45%, transparent 70%); pointer-events: none; }
.hh-sl img { position: relative; }
.chu-kim { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; background-size: 200% 100%; animation: chu-kim 5s linear infinite; }
@keyframes chu-kim { to { background-position: -200% 0; } }

.lv { display: grid; gap: 12px; min-width: 0; }
.lv-hero { position: relative; border-radius: 18px; overflow: hidden; color: #fff; padding: 22px 26px;
  background: radial-gradient(120% 160% at 0% 0%, #34479f 0%, #1b2566 42%, #0d1236 100%);
  border: 1px solid rgba(246, 180, 14, .38); box-shadow: 0 14px 40px rgba(13, 18, 54, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
  display: grid; grid-template-columns: 170px minmax(0, 1fr); grid-template-areas: "hieu hieu" "huy dau" "huy than" "moc moc" "giu giu"; gap: 6px 26px; align-items: center; }
.lv-hero::before { content: ""; position: absolute; inset: 0; background: url(/hoa-van/sao.svg) repeat; background-size: 64px; opacity: .55; pointer-events: none; }
.lv-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 180, 14, .22), transparent 65%); pointer-events: none; }
.lv-hero > * { position: relative; z-index: 1; min-width: 0; }
.lv-huy { grid-area: huy; display: grid; justify-items: center; align-self: start; }
.lv-huy .hh { filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45)); animation: lv-noi 4s ease-in-out infinite; }
@keyframes lv-noi { 50% { transform: translateY(-5px); } }
.lv-dau { grid-area: dau; }
.lv-than { grid-area: than; }
.lv-nhan { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #c6cdf0; font-weight: 800; }
/* line-height 1.3 + margin trên: chữ HOA 2 dấu chồng (ĐỒNG, Ấ, Ậ…) cao hơn khung dòng → dấu đè dòng "LEVEL CỦA BẠN" (phiên "Chuỗi địa chỉ" báo 25/10);
   .chu-kim đệm trên để vùng tô ánh kim (background-clip: text) phủ cả dấu, không cụt dấu */
.lv-ten { font-size: 2.5rem; font-weight: 900; line-height: 1.3; letter-spacing: .02em; margin: 6px 0 2px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lv-ten .chu-kim { padding-top: .2em; }
.lv-ten small { font-size: .95rem; font-weight: 800; color: #c6cdf0; letter-spacing: .04em; }
.lv-thuong { font-size: .95rem; color: #e8ecff; }
.lv-thuong b { color: #ffe08a; font-weight: 900; }
.lv-khoi { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 12px 0 6px; max-width: 640px; }
.lv-khoi i { height: 14px; border-radius: 4px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .14); }
.lv-khoi i.day { background: linear-gradient(180deg, #ffe28a, #f6b40e); border-color: #ffd257; box-shadow: 0 0 10px rgba(246, 180, 14, .45); animation: lv-o .5s both; }
@keyframes lv-o { from { transform: scaleY(.2); opacity: 0; } }
.lv-vach { position: relative; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin: 12px 0 6px; max-width: 640px; overflow: hidden; }
.lv-vach i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #f6b40e, #ffe28a); box-shadow: 0 0 12px rgba(246, 180, 14, .6); }
.lv-con { font-size: .95rem; color: #e8ecff; }
.lv-con b { font-size: 1.2rem; color: #fff; }
.lv-con .chu-kim { font-weight: 900; }
.lv-dinh { margin-top: 10px; }
.lv-them { margin-top: 10px; display: inline-flex; gap: 10px; align-items: center; background: rgba(139, 197, 64, .14); border: 1px solid rgba(139, 197, 64, .45);
  color: #e9f7d6; border-radius: 12px; padding: 9px 13px; font-size: .9rem; max-width: 640px; }
.lv-them svg { flex: none; color: #c9f08e; }
.lv-them b { color: #c9f08e; font-weight: 900; }
.lv-nut { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lv-nut a, .lv-nut button { text-decoration: none; border-radius: 999px; padding: 11px 20px; font: 900 .95rem Nunito, system-ui, sans-serif; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.lv-nut .chinh { background: linear-gradient(180deg, #ffd45a, #f6b40e); color: #241a00; box-shadow: 0 6px 18px rgba(246, 180, 14, .4); border: 0; }
.lv-nut .phu { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.lv-giu { grid-area: giu; display: flex; gap: 8px; align-items: center; font-size: .8rem; color: #aeb6e0; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 10px; margin-top: 8px; }
.lv-giu svg { flex: none; }
/* Cột trái khung Level — "Cách 1 · Đầu thẻ" anh chọn 25/10/2026 (bản xem trước public/xem-truoc/cot-trai-level.html): logo + tên web là
   dòng đầu khung (không kẻ chỉ, không chữ phụ), huy hiệu đứng một mình ở cột trái, nâng lên một chút, có quầng vàng + bóng dưới chân. */
.lv-trai { display: contents; }
.lv-hieu, .lv-huy { position: relative; z-index: 1; }
.lv-hieu { grid-area: hieu; justify-self: start; align-self: start; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; }
.lv-hero .lv-huy { align-self: start; margin-top: 2px; }
.lv-huy::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 190px; height: 190px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 180, 14, .28), rgba(246, 180, 14, 0) 65%); pointer-events: none; }
.lv-huy::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -6px; width: 120px; height: 16px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .45), transparent 70%); pointer-events: none; }
.lv-hieu svg { width: 40px; height: 40px; flex: none; border-radius: 9px; box-shadow: 0 0 0 1.5px rgba(246, 180, 14, .55), 0 4px 10px rgba(0, 0, 0, .3); }
.lv-hieu span { display: grid; line-height: 1.2; row-gap: 3px; min-width: 0; } /* "g" của Hmong không chạm dấu "KẾT NỐI" (đè 1.8px với 1.1) */
.lv-hieu b { font-size: 1.15rem; font-weight: 900; color: #fff; white-space: nowrap; }
.lv-hieu b i { font-style: normal; color: #8bc540; }
.lv-hieu small { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: #c6cdf0; font-weight: 800; white-space: nowrap; }
/* Khung có cột phải: chữ bên trái dồn vào giữa (cột phải cao làm hở khoảng giữa tên Level và thanh tiến độ) */
.lv-dau { align-self: end; }
.lv-than { align-self: start; margin-top: 4px; }

/* Cột "TỔNG TIỀN KHI ĐẠT MỐC" — kiểu B anh chọn 25/10/2026 (bản xem trước public/xem-truoc/tong-tien-level.html): mỗi Level một thẻ nhuộm
   màu huy hiệu (--m), số tiền to phông Barlow Condensed tô dải kim loại; mức đang ở viền vàng + nhãn "Bạn ở đây"; "ⓘ Cách tính" bấm mới mở. */
.lv-moc { grid-area: moc; align-self: stretch; display: grid; align-content: center; gap: 7px; min-width: 0; }
.lv-moc h4 { margin: 0 0 2px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #ffe08a; font-weight: 900; }
.lv-moc-ds { display: grid; gap: 7px; }
.lv-moc-the {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 14px 8px 8px;
  border-radius: 14px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--m) 55%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--m) 30%, transparent), rgba(10, 14, 44, .55) 70%);
}
.lv-moc-the::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--m); }
.lv-moc-the .hh { width: 52px; height: 52px; }
.lv-moc-ten { min-width: 0; }
.lv-moc-ten b { display: block; font-size: 1rem; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.lv-moc-ten em { font-style: normal; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: #e23d4b; color: #fff; font-size: .58rem; font-weight: 900; letter-spacing: .02em; vertical-align: 2px; white-space: nowrap; text-transform: none; }
.lv-moc-ten small { display: block; font-size: .72rem; color: #c6cdf0; font-weight: 700; }
.lv-moc-tien {
  text-align: right; white-space: nowrap; font-family: "Barlow Condensed", Nunito, sans-serif; font-weight: 800; font-size: 1.7rem;
  /* line-height + đệm dưới đủ chỗ cho dấu nặng ("triệu"): chữ tô dải màu chỉ hiện trong khung, dấu thò ra ngoài sẽ mất */
  line-height: 1.25; padding: 2px 0 4px; background-clip: text; -webkit-background-clip: text; color: transparent;
}
.lv-moc-tien.trong { color: #c6cdf0; font-size: 1.3rem; }
.lv-moc-the.dang { box-shadow: 0 0 0 2px #ffd45a, 0 8px 22px rgba(246, 180, 14, .28); }
.lv-cach-tinh { font-size: .72rem; color: #aeb6e0; }
.lv-cach-tinh summary { cursor: pointer; list-style: none; display: inline-flex; gap: 5px; align-items: center; font-weight: 800; }
.lv-cach-tinh summary::-webkit-details-marker { display: none; }
.lv-cach-tinh p { margin: 6px 0 0; line-height: 1.45; }
/* Màn vừa (701–1279 px): cột tổng tiền xuống dưới, thẻ xếp nhiều cột */
@media (min-width: 701px) and (max-width: 1279px) {
  .lv-moc { margin-top: 10px; }
  .lv-moc-ds { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (min-width: 1280px) {
  .lv-hero { grid-template-columns: 170px minmax(0, 1fr) minmax(300px, 340px); grid-template-areas: "hieu hieu moc" "huy dau moc" "huy than moc" "giu giu giu"; }
}

/* Bảng Level CTV & Đối tác ở Tổng quan điều hành (src/trang/khoi-level-qt.tsx, anh 25/10/2026; xem trước public/xem-truoc/level-tong-quan.html) —
   cùng nền chàm có sao + chữ ánh kim như khung Level của CTV; thẻ "cao nhất" nhuộm màu Level (--m); cột phải dùng thẻ .lv-moc-the. */
.tql { position: relative; border-radius: 18px; overflow: hidden; color: #fff; padding: 20px 24px 18px; margin-bottom: 18px;
  background: radial-gradient(120% 160% at 0% 0%, #34479f 0%, #1b2566 42%, #0d1236 100%);
  border: 1px solid rgba(246, 180, 14, .38); box-shadow: 0 14px 40px rgba(13, 18, 54, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
  display: grid; gap: 14px 24px; grid-template-columns: minmax(0, 1fr); }
.tql::before { content: ""; position: absolute; inset: 0; background: url(/hoa-van/sao.svg) repeat; background-size: 64px; opacity: .55; pointer-events: none; }
.tql > * { position: relative; z-index: 1; min-width: 0; }
.tql-dau { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tql-dau svg { flex: none; border-radius: 8px; box-shadow: 0 0 0 1.5px rgba(246, 180, 14, .55); }
.tql-dau h3 { margin: 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #ffe08a; font-weight: 900; }
.tql-dau a { margin-left: auto; color: #c6cdf0; font-size: .8rem; font-weight: 800; text-decoration: none; }
/* Level của anh (chủ = Level cao nhất, cố định) — TO ĐÙNG như khung Level của CTV (anh 25/10/2026) */
.tql-anh { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; padding: 12px 22px 12px 14px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--m) 60%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--m) 24%, transparent), rgba(10, 14, 44, .5) 65%); }
.tql-anh .hh { flex: none; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5)); animation: lv-noi 4s ease-in-out infinite; }
.tql-anh-chu { flex: 1 1 0; min-width: 0; }
.tql-anh-nhan { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #c6cdf0; font-weight: 800; }
.tql-anh-lv { font-size: 3.1rem; font-weight: 900; line-height: 1.3; letter-spacing: .02em; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tql-anh-lv .chu-kim { padding-top: .2em; }
.tql-anh-lv small { font-size: 1rem; font-weight: 800; color: #c6cdf0; letter-spacing: .04em; }
.tql-anh-ghi { font-size: .9rem; color: #e8ecff; }
.tql-anh-ghi b { color: #ffe08a; font-weight: 900; }
/* Tiền (chỉ người có quyền Sổ tiền): tổng Hmong Go đã trả ở khối của anh, "Đã kiếm" ở #1 và từng dòng top 10 */
.tql-anh-tien { margin-left: auto; display: grid; justify-items: end; text-align: right; gap: 2px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tql-anh-tien small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #c6cdf0; font-weight: 800; }
.tql-anh-tien b { font: 800 2.2rem/1.25 "Barlow Condensed", Nunito, sans-serif; color: #ffe08a; padding-bottom: 2px; }
.tql-anh-tien span { font-size: .78rem; color: #c6cdf0; font-weight: 700; }
.tql-tien { font: 800 1.5rem/1.25 "Barlow Condensed", Nunito, sans-serif; color: #ffe08a; display: flex; align-items: baseline; gap: 8px; padding-bottom: 2px; }
.tql-tien small { font: 800 .66rem Nunito, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #c6cdf0; }
.tql-dau a:hover { color: #fff; }
.tql-hai { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tql-cao { --m: #5b6699; border-radius: 16px; padding: 14px 16px 12px; border: 1px solid color-mix(in srgb, var(--m) 55%, transparent);
  background: linear-gradient(150deg, color-mix(in srgb, var(--m) 26%, transparent), rgba(10, 14, 44, .55) 75%); display: grid; gap: 10px; align-content: start; }
.tql-cao-loai { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #c6cdf0; font-weight: 900; display: flex; gap: 8px; align-items: center; }
.tql-cao-loai em { font-style: normal; padding: 1px 8px; border-radius: 99px; background: linear-gradient(180deg, #ffd45a, #f6b40e); color: #241a00; letter-spacing: .04em; font-size: .62rem; }
.tql-cao-than { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; }
.tql-cao-than .hh { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.tql-ten { font-size: 1.05rem; font-weight: 900; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tql-doi { font-size: .74rem; color: #c6cdf0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tql-lv { font-size: 1.7rem; font-weight: 900; line-height: 1.3; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tql-lv .chu-kim { padding-top: .2em; }
.tql-lv small { font-size: .78rem; font-weight: 800; color: #c6cdf0; }
.tql-con { font-size: .8rem; color: #e8ecff; }
.tql-con b { color: #fff; font-size: .95rem; }
.tql .lv-khoi { margin: 6px 0 4px; }
.tql .lv-khoi i { height: 10px; }
.tql-sau { display: grid; gap: 4px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 8px; }
.tql-sau > div { display: grid; grid-template-columns: 18px 34px 84px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: .82rem; }
.tql-sau .so { color: #aeb6e0; font-weight: 900; text-align: center; }
.tql-sau .lvc { font-size: .92rem; font-weight: 900; letter-spacing: .02em; line-height: 1.3; padding-top: .15em; white-space: nowrap; justify-self: start; }
.tql-sau .ten { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
.tql-sau .ten small { display: block; font-size: .66rem; color: #aeb6e0; font-weight: 700; }
.tql-sau .du { color: #ffe08a; font-weight: 900; white-space: nowrap; }
.tql-trong { color: #aeb6e0; font-size: .85rem; padding: 18px 4px; }
.tql-dem h4 { margin: 0 0 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #ffe08a; font-weight: 900; }
.tql-dem .lv-moc-the { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 6px 12px 6px 8px; }
.tql-dem .lv-moc-the .hh { width: 44px; height: 44px; }
.tql-hai-so { display: flex; gap: 12px; }
.tql-hai-so > span { display: grid; justify-items: end; line-height: 1.1; }
.tql-hai-so b { font: 800 1.45rem/1.2 "Barlow Condensed", Nunito, sans-serif; }
.tql-hai-so b.khong { color: rgba(255, 255, 255, .35); }
.tql-hai-so small { font-size: .6rem; color: #c6cdf0; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tql-tong { font-size: .72rem; color: #aeb6e0; margin-top: 6px; }
@media (min-width: 1100px) { .tql { grid-template-columns: minmax(0, 1fr) 330px; } .tql-dau { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .tql { padding: 16px 14px; border-radius: 16px; }
  .tql-cao-than { grid-template-columns: 84px minmax(0, 1fr); }
  .tql-cao-than .hh { width: 84px; height: 84px; }
  .tql-lv { font-size: 1.4rem; }
  .tql-anh { gap: 12px; padding: 10px 12px 10px 8px; }
  .tql-anh .hh { width: 96px; height: 96px; }
  .tql-anh-nhan { font-size: .62rem; letter-spacing: .1em; }
  .tql-anh-lv { font-size: 1.9rem; gap: 8px; }
  .tql-anh-lv small { font-size: .78rem; }
  .tql-anh-ghi { font-size: .78rem; }
  .tql-anh { flex-wrap: wrap; }
  .tql-anh-tien { margin-left: 0; flex-basis: 100%; justify-items: start; text-align: left; padding: 8px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .tql-anh-tien b { font-size: 1.7rem; }
  .tql-tien { font-size: 1.25rem; }
  .tql-sau > div { grid-template-columns: 16px 30px 74px minmax(0, 1fr) auto; gap: 6px; }
  .tql-sau .lvc { font-size: .8rem; }
}

.lv-thang, .lv-xh, .lv-bd { background: #fff; border: 1px solid var(--cn-vien); border-radius: 16px; padding: 16px 18px; min-width: 0; }
.lv-thang h3, .lv-xh h3, .lv-bd h3 { margin: 0 0 10px; font-size: .95rem; font-weight: 900; color: var(--cn-dam); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lv-thang h3 small, .lv-bd h3 small { color: #667089; font-weight: 700; font-size: .75rem; }
.lv-bac { position: relative; display: grid; grid-template-columns: repeat(var(--so, 5), minmax(0, 1fr)); gap: 6px; }
.lv-bac::before { content: ""; position: absolute; top: 38px; left: calc(50% / var(--so, 5)); right: calc(50% / var(--so, 5)); height: 4px; border-radius: 4px; background: #e6e9f2; }
.lv-vach-da { position: absolute; top: 38px; left: calc(50% / var(--so, 5)); height: 4px; border-radius: 4px; background: linear-gradient(90deg, #c8834a, #f6b40e); }
.lv-bac label { position: relative; display: grid; justify-items: center; gap: 3px; padding: 0 2px 6px; border-radius: 12px; cursor: pointer; text-align: center; min-width: 0; }
.lv-bac label:hover { background: #f6f7fb; }
.lv-bac label:has(input:checked) { background: #f2f4fb; outline: 1.5px solid #cdd3e6; }
.lv-bac input { position: absolute; opacity: 0; pointer-events: none; }
.lv-bac label:has(input:focus-visible) { outline: 2px solid var(--cn-xanh); }
.lv-bac .ten { font-weight: 900; font-size: .88rem; color: var(--cn-dam); }
.lv-bac .nguoi { font-size: .75rem; color: #667089; }
.lv-bac .tien { font-size: .78rem; font-weight: 900; color: var(--cn-la-dam); }
.lv-o-day { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); background: var(--cn-do); color: #fff; font-size: .66rem; font-weight: 900; padding: 2px 7px; border-radius: 99px; white-space: nowrap; z-index: 2; animation: lv-dap 1.6s ease-in-out infinite; }
@keyframes lv-dap { 50% { transform: translateX(-50%) translateY(-3px); } }
.lv-hh-o { position: relative; display: block; }
.lv-hh-o.dang::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(246, 180, 14, .7); animation: lv-vong 2s ease-out infinite; }
@keyframes lv-vong { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.lv-o-khoa { position: absolute; right: 2px; bottom: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--cn-dam); border: 2px solid #fff; display: grid; place-items: center; color: #ffd45a; box-shadow: 0 2px 6px rgba(20, 30, 70, .3); }
.lv-chi-tiet { display: none; margin-top: 10px; border-top: 1px dashed #d9dde9; padding-top: 10px; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; font-size: .9rem; }
.lv-chi-tiet.md { display: grid; }
.lv-chi-tiet .hh { grid-row: span 2; }
.lv-chi-tiet ul { margin: 0; padding-left: 18px; color: #3a4260; }
.lv-chi-tiet .tt { font-size: .8rem; font-weight: 900; }
.tt.xong { color: var(--cn-la-dam); } .tt.dang { color: #b77d00; } .tt.chua { color: #8a91a6; }
@supports selector(:has(*)) {
  .lv-thang .lv-chi-tiet.md { display: none; }
  .lv-thang:has(input[value="0"]:checked) .lv-chi-tiet[data-lv="0"], .lv-thang:has(input[value="1"]:checked) .lv-chi-tiet[data-lv="1"],
  .lv-thang:has(input[value="2"]:checked) .lv-chi-tiet[data-lv="2"], .lv-thang:has(input[value="3"]:checked) .lv-chi-tiet[data-lv="3"],
  .lv-thang:has(input[value="4"]:checked) .lv-chi-tiet[data-lv="4"] { display: grid; }
}

.lv-duoi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; }
.lv-xh-dong { display: flex; align-items: center; gap: 14px; }
.lv-xh-so { position: relative; width: 84px; height: 84px; flex: none; display: grid; place-items: center; color: #9aa6c2; }
.lv-xh-so.nhat { color: #f6b40e; }
.lv-xh-so svg { position: absolute; inset: 0; }
.lv-xh-so b { font-size: 2.1rem; font-weight: 900; color: var(--cn-dam); }
.lv-xh-so b small { font-size: 1.1rem; }
.lv-xh-chu { font-size: .9rem; min-width: 0; }
.lv-xh-chu .lon { font-weight: 900; font-size: 1rem; color: var(--cn-dam); }
.lv-xh-ghi { margin-top: 8px; font-size: .78rem; }
.lv-cot { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; height: 124px; padding-top: 8px; }
.lv-cot div { display: grid; justify-items: center; gap: 4px; align-self: end; }
.lv-cot i { width: 100%; max-width: 38px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #a8d86a, #5f9a24); min-height: 4px; }
.lv-cot div.nay i { background: linear-gradient(180deg, #ffe08a, #f6b40e); box-shadow: 0 0 10px rgba(246, 180, 14, .5); }
.lv-cot b { font-size: .82rem; font-weight: 900; }
.lv-cot span { font-size: .72rem; color: #667089; }

/* Màn chúc mừng lên Level — hiện MỘT lần (máy chủ nhớ level_da_chuc) */
.lv-mung { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(6, 9, 30, .72); padding: 16px; }
.lv-mung.mo { display: grid; }
.lv-phao { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lv-mung-the { position: relative; width: min(100%, 420px); border-radius: 22px; padding: 26px 22px 20px; text-align: center; color: #fff;
  background: radial-gradient(120% 120% at 50% 0%, #34479f, #131a4e 60%, #0b0f30); border: 1px solid rgba(246, 180, 14, .5); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  animation: lv-bat .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes lv-bat { from { transform: scale(.6) translateY(30px); opacity: 0; } }
.lv-mung-the .hh { margin: 0 auto 6px; animation: lv-xoay 1s cubic-bezier(.2, 1.2, .3, 1) both; }
@keyframes lv-xoay { from { transform: rotateY(540deg) scale(.4); } }
.lv-mung-nho { font-size: .8rem; letter-spacing: .2em; color: #c6cdf0; text-transform: uppercase; }
.lv-mung-the h2 { margin: 6px 0 2px; font-size: 1.55rem; letter-spacing: .04em; color: #ffe08a; }
.lv-mung-the p { margin: 6px 0; color: #dfe4ff; font-size: .95rem; }
.lv-mung-the p b { color: #ffe08a; }
.lv-mung-the .lv-mung-phu { font-size: .82rem; color: #aeb6e0; }
.lv-mung-nut { display: flex; gap: 10px; margin-top: 16px; }
.lv-mung-nut button { flex: 1; border-radius: 999px; padding: 12px; font: 900 .95rem Nunito, system-ui, sans-serif; cursor: pointer; border: 0; }
.lv-mung-nut .zalo { background: #0068ff; color: #fff; }
.lv-mung-nut .dong { background: linear-gradient(180deg, #ffd45a, #f6b40e); color: #241a00; }

/* Ô Tra số: huy hiệu Level của CTV / Đối tác (như huy hiệu Superhost của Airbnb) */
.ts-level { display: flex; align-items: center; gap: 12px; margin-top: 10px; background: linear-gradient(120deg, #1b2566, #0d1236); color: #fff; border-radius: 12px; padding: 10px 14px; position: relative; overflow: hidden; }
.ts-level::before { content: ""; position: absolute; inset: 0; background: url(/hoa-van/sao.svg) repeat; background-size: 52px; opacity: .45; }
.ts-level > * { position: relative; }
.ts-level b { display: block; font-size: 1.05rem; font-weight: 900; }
.ts-level small { display: block; font-size: .82rem; color: #cfd6f6; font-weight: 700; }
/* Quản trị → Level: huy hiệu cạnh số cấp */
.qt-lv-huy { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 700px) {
  .lv-hero { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "hieu hieu" "huy dau" "than than" "moc moc" "giu giu"; padding: 16px 14px; gap: 4px 12px; border-radius: 16px; }
  .lv-huy .hh { width: 96px; height: 96px; }
  .lv-hero .lv-huy { align-self: center; margin-top: 0; }
  .lv-huy::before { width: 124px; height: 124px; }
  .lv-huy::after { width: 76px; height: 12px; bottom: -4px; }
  .lv-hieu { margin-bottom: 8px; }
  .lv-hieu svg { width: 28px; height: 28px; }
  .lv-dau { align-self: center; }
  .lv-moc { margin-top: 12px; }
  .lv-moc-tien { font-size: 1.55rem; }
  .lv-ten { font-size: 1.75rem; gap: 8px; }
  .lv-ten small { font-size: .8rem; }
  .lv-thuong, .lv-con { font-size: .86rem; }
  .lv-them { font-size: .82rem; }
  .lv-nut a, .lv-nut button { flex: 1; justify-content: center; padding: 11px 10px; font-size: .88rem; }
  .lv-thang, .lv-xh, .lv-bd { padding: 14px 12px; }
  .lv-bac .hh { width: 54px; height: 54px; }
  .lv-bac::before, .lv-vach-da { top: 27px; }
  .lv-bac .ten { font-size: .74rem; } .lv-bac .nguoi, .lv-bac .tien { font-size: .66rem; }
  .lv-o-day { font-size: .6rem; padding: 1px 5px; }
  .lv-o-khoa { width: 18px; height: 18px; right: 0; bottom: 0; }
  .lv-duoi { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Hai con số (bản mô tả 15 mục 2) — khu điều hành → Tổng quan ===== */
.dh-hai { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.dh-hai-o { position: relative; background: #fff; border: 1px solid var(--dh-vien); border-radius: 18px; padding: 18px 20px 16px; box-shadow: var(--dh-bong); display: grid; gap: 2px; overflow: hidden; }
.dh-hai-o::after { content: ""; position: absolute; left: 20px; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--dh-kim), var(--dh-kim-sang)); }
.dh-hai-o h2 { margin: 0; font-size: .95rem; font-weight: 900; color: var(--dh-muc); }
.dh-hai-so { font-size: 2.6rem; font-weight: 900; color: var(--dh-muc); letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.dh-hai-phu { color: var(--dh-mo); font-size: .8rem; margin-bottom: 6px; }
.dh-hai-mt { color: var(--dh-mo); font-size: .76rem; font-weight: 800; }
.dh-hai-dat { grid-column: 1 / -1; font-size: .85rem; }
.dh-hai-dat summary { cursor: pointer; color: var(--dh-mo); font-weight: 800; width: max-content; }
.dh-hai-dat form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-top: 8px; }
.dh-hai-dat label { display: grid; gap: 4px; font-weight: 800; color: var(--dh-mo); font-size: .78rem; }
.dh-hai-dat input { border: 1px solid var(--dh-vien); border-radius: 10px; padding: 8px 10px; font: inherit; width: 140px; }
@media (max-width: 700px) { .dh-hai { grid-template-columns: minmax(0, 1fr); } .dh-hai-so { font-size: 2.1rem; } }

/* ===== ĐỢT 2 — bản mô tả 16 (anh duyệt 25/10/2026): Bàn chăm sóc · tin báo · kỳ trả · Cần giúp. Bám bản xem trước project-docs/xem-truoc-dot-2/ ===== */
/* --- Bàn chăm sóc (khu điều hành → ☰ → Chăm sóc) --- */
.bcs-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bcs-so4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--dh-vien, #e6e8f0); border-radius: 16px; box-shadow: var(--dh-bong); margin-bottom: 14px; }
.bcs-so4 div { padding: 12px 16px; border-left: 1px solid #eef0f5; }
.bcs-so4 div:first-child { border-left: 0; }
.bcs-so4 b { display: block; font-size: 1.4rem; font-weight: 900; color: var(--dh-muc, #0d1238); line-height: 1.1; }
.bcs-so4 span { font-size: .78rem; color: var(--dh-mo, #6b7287); font-weight: 700; }
.bcs-so4 .gap b { color: var(--dh-do, #d64545); }
.bcs { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 16px; align-items: start; }
.bcs-the { background: #fff; border: 1px solid var(--dh-vien, #e6e8f0); border-radius: 18px; box-shadow: var(--dh-bong); overflow: hidden; }
.bcs-loc { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 14px 10px; border-bottom: 1px solid #eef0f5; }
.bcs-loc a { background: #f1f3f8; color: #4b5470; font-weight: 800; font-size: .8rem; padding: 6px 10px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.bcs-loc a b { background: #fff; border-radius: 99px; padding: 0 6px; font-size: .7rem; color: var(--dh-muc, #0d1238); }
.bcs-loc a.on { background: var(--dh-cham, #24337f); color: #fff; }
.bcs-loc a.on b { color: var(--dh-cham, #24337f); }
.bcs-loc a.gap b { background: var(--dh-do, #d64545); color: #fff; }
.bcs-ds { max-height: 640px; overflow: auto; }
.bcs-dong { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; border-left: 3px solid transparent; text-decoration: none; color: inherit; }
.bcs-dong + .bcs-dong { border-top: 1px solid #f2f3f7; }
.bcs-dong:hover { background: #f8f9fc; }
.bcs-dong.chon { background: #f4f6ff; border-left-color: var(--dh-kim, #c9a24a); }
.bcs-avt { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .88rem; color: #fff; flex: none; }
.bcs-avt.to { width: 52px; height: 52px; font-size: 1.1rem; }
.bcs-dong-chu { min-width: 0; display: grid; }
.bcs-dong-chu b { font-weight: 900; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcs-dong-chu span { font-size: .76rem; color: var(--dh-mo, #6b7287); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcs-chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 3px 9px; font-size: .72rem; font-weight: 900; white-space: nowrap; }
.bcs-chip.do { background: #fdecec; color: #b42318; } .bcs-chip.vang { background: #fdf3dd; color: #8a5a00; } .bcs-chip.xanh { background: #e8efff; color: #1e4fbf; }
.bcs-chip.la { background: #e6f5ec; color: #17703d; } .bcs-chip.xam { background: #eef0f5; color: #5b6380; }
.bcs-lui { display: none; align-items: center; gap: 6px; padding: 12px 14px; font-weight: 900; color: var(--dh-cham, #24337f); border-bottom: 1px solid #eef0f5; text-decoration: none; }
.bcs-ct-dau { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 18px 20px; border-bottom: 1px solid #eef0f5; }
.bcs-ten-to { font-size: 1.2rem; font-weight: 900; color: var(--dh-muc, #0d1238); }
.bcs-mo { color: var(--dh-mo, #6b7287); font-size: .82rem; }
.bcs-goi { margin-left: auto; display: flex; gap: 8px; }
.bcs-nut { font: inherit; border: 0; border-radius: 12px; padding: 10px 16px; font-weight: 900; font-size: .85rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; white-space: nowrap; }
.bcs-nut.la { background: var(--dh-la, #1f8f4e); color: #fff; } .bcs-nut.zalo { background: #0068ff; color: #fff; }
.bcs-nut.vien { background: #fff; border: 1px solid var(--dh-vien, #e6e8f0); color: #2d3550; }
.bcs-nut.nho { padding: 7px 11px; font-size: .78rem; border-radius: 10px; }
.bcs-nut .bcs-ic { width: 17px; height: 17px; }
.bcs-luoi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #eef0f5; border-bottom: 1px solid #eef0f5; }
.bcs-luoi div { background: #fff; padding: 11px 20px; min-width: 0; }
.bcs-luoi span { display: block; font-size: .68rem; color: #9aa0b4; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.bcs-luoi b { font-size: .85rem; overflow-wrap: anywhere; }
.bcs-muc { padding: 16px 20px; border-bottom: 1px solid #eef0f5; }
.bcs-muc:last-child { border-bottom: 0; }
.bcs-muc h3 { margin: 0 0 10px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dh-mo, #6b7287); font-weight: 900; }
.bcs-tien-do { display: flex; align-items: center; gap: 14px; }
.bcs-so-ngay { font-size: 1.6rem; font-weight: 900; color: var(--dh-muc, #0d1238); white-space: nowrap; }
.bcs-so-ngay small { font-size: .85rem; color: var(--dh-mo, #6b7287); }
.bcs-bac { flex: 1; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); position: relative; }
.bcs-bac::before { content: ""; position: absolute; left: 10%; right: 10%; top: 11px; height: 2px; background: var(--dh-vien, #e6e8f0); }
.bcs-bac div { display: grid; justify-items: center; gap: 4px; position: relative; font-size: .7rem; font-weight: 900; color: #9aa0b4; }
.bcs-bac i { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--dh-vien, #e6e8f0); display: grid; place-items: center; font-style: normal; font-size: .75rem; }
.bcs-bac .qua i { background: var(--dh-la, #1f8f4e); border-color: var(--dh-la, #1f8f4e); color: #fff; }
.bcs-bac .qua { color: var(--dh-la, #1f8f4e); }
.bcs-bac .nay i { background: var(--dh-cham, #24337f); border-color: var(--dh-cham, #24337f); box-shadow: 0 0 0 5px rgba(36, 51, 127, .14); }
.bcs-bac .nay { color: var(--dh-cham, #24337f); }
.bcs-canh { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #fdecec; border: 1px solid #f6c7c7; color: #8f1d1d; border-radius: 12px; padding: 10px 12px; font-size: .82rem; margin-top: 12px; }
.bcs-canh form, .bcs-canh > .bcs-mo { margin-left: auto; }
.bcs-o-kq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bcs-o-kq label { border: 1.5px solid var(--dh-vien, #e6e8f0); background: #fff; border-radius: 14px; padding: 12px 6px; cursor: pointer; display: grid; justify-items: center; gap: 6px; font-weight: 900; font-size: .82rem; color: #2d3550; text-align: center; position: relative; }
.bcs-o-kq input, .bcs-vt-chon input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.bcs-o-kq label:hover { border-color: #c5cbe0; }
.bcs-o-kq label:has(input:checked) { border-color: var(--dh-cham, #24337f); background: #f4f6ff; color: var(--dh-cham, #24337f); box-shadow: 0 0 0 3px rgba(36, 51, 127, .1); }
.bcs-o-kq label:has(input:focus-visible), .bcs-vt-chon label:has(input:focus-visible) { outline: 2px solid var(--dh-cham, #24337f); outline-offset: 2px; }
.bcs-o-kq .on .bcs-ic { color: var(--dh-la, #1f8f4e); } .bcs-o-kq .muon_nghi .bcs-ic { color: var(--dh-do, #d64545); }
.bcs-o-kq .luong .bcs-ic, .bcs-o-kq .cho_o .bcs-ic, .bcs-o-kq .cong_viec .bcs-ic { color: #b7791f; } .bcs-o-kq .khong_nghe .bcs-ic { color: #9aa0b4; }
.bcs-ghi { display: flex; gap: 8px; margin-top: 10px; }
.bcs-ghi input { flex: 1; min-width: 0; border: 1px solid var(--dh-vien, #e6e8f0); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .85rem; background: #fafbfd; }
.bcs-vt { display: grid; gap: 8px; }
.bcs-vt-chon { display: flex; flex-wrap: wrap; gap: 6px; }
.bcs-vt-chon label { border: 1.5px solid var(--dh-vien, #e6e8f0); background: #fff; border-radius: 99px; padding: 7px 12px; font-weight: 800; font-size: .82rem; cursor: pointer; color: #2d3550; position: relative; }
.bcs-vt-chon label:has(input:checked) { border-color: var(--dh-cham, #24337f); background: #f4f6ff; color: var(--dh-cham, #24337f); }
.bcs-hang { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .85rem; font-weight: 800; }
.bcs-them summary { cursor: pointer; color: var(--dh-cham, #24337f); font-weight: 800; font-size: .82rem; margin-top: 10px; }
.bcs-them[open] summary { margin-bottom: 10px; }
.bcs-ls { display: grid; gap: 10px; }
.bcs-ls > div { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: start; font-size: .82rem; }
.bcs-ls i { width: 8px; height: 8px; border-radius: 50%; background: var(--dh-la, #1f8f4e); margin-top: 6px; }
.bcs-ls i.do { background: var(--dh-do, #d64545); }
.bcs-trong { text-align: center; color: var(--dh-mo, #6b7287); font-size: .85rem; padding: 26px 10px; margin: 0; }
@media (max-width: 900px) {
  .bcs { grid-template-columns: minmax(0, 1fr); }
  .bcs.co-ct .bcs-trai { display: none; }
  .bcs:not(.co-ct) .bcs-phai { display: none; }
  .bcs-lui { display: flex; }
  .bcs-ds { max-height: none; }
}
@media (max-width: 700px) {
  .bcs-so4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcs-so4 div:nth-child(3) { border-left: 0; }
  .bcs-so4 div:nth-child(n+3) { border-top: 1px solid #eef0f5; }
  .bcs-ct-dau { padding: 14px; }
  .bcs-goi { margin-left: 0; width: 100%; } .bcs-goi .bcs-nut { flex: 1; }
  .bcs-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bcs-luoi div { padding: 10px 14px; }
  .bcs-muc { padding: 14px; }
  .bcs-tien-do { flex-wrap: wrap; } .bcs-bac { flex-basis: 100%; }
  .bcs-o-kq label { padding: 10px 4px; font-size: .78rem; }
}

/* --- Tin báo: chuông + danh sách (CTV / Đối tác, người đi làm) --- */
.kct-dau { position: relative; padding-right: 54px; } /* chừa chỗ nút chuông — điện thoại hẹp chuông từng che "Mã giới thiệu" (25/10) */
.kct-chuong { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #e6e8f0; display: grid; place-items: center; text-decoration: none; font-size: 1.15rem; box-shadow: 0 2px 8px rgba(16, 24, 64, .08); }
.kct-chuong b { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--do); color: #fff; font-size: .68rem; font-weight: 900; display: grid; place-items: center; border: 2px solid #fff; }
.tin-ds { list-style: none; margin: 0; padding: 0; display: grid; }
.tin-ds li + li { border-top: 1px solid #eef0f5; }
.tin-ds li > a, .tin-ds li > div { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 2px; color: inherit; text-decoration: none; }
.tin-ds li > a:hover { background: #f8f9fc; }
.tin-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #e8efff; font-size: 1.05rem; }
.tin-ic.tot { background: #e6f5ec; } .tin-ic.xau { background: #fdecec; }
.tin-chu { display: grid; min-width: 0; font-size: .9rem; }
.tin-chu b { font-weight: 800; overflow-wrap: anywhere; }
.tin-chu span { font-size: .8rem; color: var(--mo); overflow-wrap: anywhere; }
.tin-chu small { font-size: .72rem; color: #9aa0b4; }
.tin-moi { width: 9px; height: 9px; border-radius: 50%; background: #2563eb; }
.tin-ds li.moi .tin-chu b { color: var(--cham-2); }
[data-bat-bao].da-bat { opacity: 1; cursor: default; border-color: #bfe3cc; color: #17703d; background: #f2faf5; }

/* --- Kỳ trả: Quản trị → Sổ tiền + Khu của tôi → Tiền --- */
.kt-dau { display: flex; gap: 14px; align-items: center; }
.kt-lich { width: 64px; flex: none; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e3dccb; text-align: center; box-shadow: 0 2px 8px rgba(21, 24, 58, .08); display: grid; }
.kt-lich small { background: var(--do); color: #fff; font-size: .66rem; font-weight: 900; padding: 2px 0; letter-spacing: .04em; }
.kt-lich b { font-size: 1.6rem; font-weight: 900; line-height: 1.1; color: var(--cham); padding-top: 2px; }
.kt-lich span { font-size: .62rem; color: var(--mo); font-weight: 800; padding-bottom: 4px; }
.kt-toi { display: flex; gap: 16px; align-items: center; background: linear-gradient(135deg, var(--cham-2), var(--cham)); color: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 14px 30px -16px rgba(21, 24, 58, .6); }
.kt-toi .kt-lich { border-color: transparent; }
.kt-toi-nhan { font-size: .8rem; font-weight: 800; color: #d3d9f7; text-transform: uppercase; letter-spacing: .06em; }
.kt-toi-tien { font-size: 1.7rem; font-weight: 900; color: #ffd45a; line-height: 1.15; }
.kt-toi-ghi { font-size: .8rem; color: #d3d9f7; }
.kt-lan { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 0; }
.kt-lan + .kt-lan { border-top: 1px solid #eef0f5; }
.kt-xn { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.kt-xn form { margin: 0; }

/* --- Người đi làm: Cần giúp · Việc tiếp theo · Đủ ngày --- */
.tnl-du { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, #1b2566, #0d1236); color: #fff; position: relative; overflow: hidden; }
.tnl-du::before { content: ""; position: absolute; inset: 0; background: url(/hoa-van/sao.svg) repeat; background-size: 60px; opacity: .35; pointer-events: none; }
.tnl-du > * { position: relative; }
.tnl-du h2 { color: #fff; } .tnl-du .ghi-nho { color: #d3d9f7; }
.tnl-du-ic { font-size: 2.2rem; flex: none; }
.tnl-du-nut { background: linear-gradient(180deg, #ffd45a, #f2b01e); color: #2a1d00; border: 0; font-weight: 900; text-decoration: none; }
.tnl-viec { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-bottom: 1px solid #eef0f5; padding-bottom: 8px; }
.tnl-viec:last-child { border-bottom: 0; padding-bottom: 0; }
.tnl-viec a { min-width: 0; color: inherit; text-decoration: none; }
.tnl-viec form { margin: 0; flex: none; }
.tnl-cg { display: grid; gap: 12px; }
.tnl-cg-dau { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.tnl-cg-tt { background: #fff7e8; border: 1px solid #f4dfb4; border-radius: 12px; padding: 10px 12px; font-size: .88rem; }
.tnl-tin { border-top: 1px solid #eef0f5; padding-top: 10px; display: grid; gap: 6px; }
.cg-mo { flex: none; }
.cg-mo > summary { list-style: none; cursor: pointer; }
.cg-mo > summary::-webkit-details-marker { display: none; }
.cg-mo[open]::before { content: ""; position: fixed; inset: 0; z-index: 90; background: rgba(10, 14, 36, .45); animation: cg-hien .2s ease-out both; }
.cg-tam { position: fixed; z-index: 91; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  background: #fff; border-radius: 22px; padding: 14px 16px 18px; display: grid; gap: 12px; box-shadow: 0 30px 60px -20px rgba(10, 14, 36, .5); animation: cg-len .28s ease-out both; }
.cg-tam-dau { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 1.02rem; }
.cg-dong { border: 0; background: #f1f3f8; width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; cursor: pointer; color: #4b5470; }
.cg-o { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cg-o label { border: 1.5px solid #e6e8f0; border-radius: 14px; padding: 12px 6px; display: grid; place-items: center; text-align: center; font-weight: 900; font-size: .85rem; cursor: pointer; position: relative; min-height: 48px; }
.cg-o input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.cg-o label:has(input:checked) { border-color: #c2410c; background: #fff4ec; color: #9a3412; }
.cg-o label:has(input:focus-visible) { outline: 2px solid #c2410c; outline-offset: 2px; }
.cg-tam textarea { width: 100%; border: 1px solid #e6e8f0; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .95rem; min-height: 64px; background: #fafbfd; resize: vertical; }
@keyframes cg-hien { from { opacity: 0; } }
@keyframes cg-len { from { transform: translate(-50%, calc(-50% + 30px)); opacity: .4; } }
@media (max-width: 700px) {
  .cg-tam { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; border-radius: 22px 22px 0 0; max-height: 92dvh; padding-bottom: calc(18px + env(safe-area-inset-bottom)); animation-name: cg-len-dt; }
  @keyframes cg-len-dt { from { transform: translateY(40px); opacity: .5; } }
  .tnl-cg-dau { flex-wrap: wrap; } .cg-mo, .cg-mo > summary { width: 100%; }
  .cg-mo > summary { justify-content: center; text-align: center; }
  .kt-toi { padding: 14px; gap: 12px; } .kt-toi-tien { font-size: 1.45rem; }
}

/* --- Hộp thư → Cần giúp (quản trị) --- */
.cg-qt-dong { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; }
.cg-qt-dong + .cg-qt-dong { border-top: 1px solid #eef0f5; }
.cg-qt-dong.xong { opacity: .6; }
.cg-qt-dong form { margin: 0; flex: none; }

/* ===== ĐỢT 3 — bản mô tả 17 (anh duyệt bản xem trước GỌN 25/10/2026): phiếu 5 bước · tin trung thực · 4 câu. src/trang/phieu-ui.tsx ===== */
.pt { --pt-o: #f2f3f7; --pt-vien: #f0f1f5; --pt-mo: #6b7287; --pt-mo2: #a0a6b8; --pt-cham: #232a63; display: grid; gap: 4px; }
.pt-thanh { display: flex; gap: 6px; margin-bottom: 6px; }
.pt-thanh button { flex: 1 1 0; min-width: 0; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; gap: 6px; text-align: left; font: inherit; }
.pt-thanh button::before { content: ""; height: 4px; border-radius: 9px; background: #dfe2ea; }
.pt-thanh button.xong::before { background: #9aa6d6; } .pt-thanh button.dang::before { background: var(--pt-cham); }
.pt-thanh span { font-size: .76rem; font-weight: 800; color: var(--pt-mo2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-thanh button.dang span { color: var(--pt-cham); } .pt-thanh button.xong span { color: #5a6178; }
.pt-thanh em, .pt-thanh i { font-style: normal; }
.pt-trang { display: grid; }
.pt-tieu { margin: 4px 0 2px; font-size: 1.02rem; font-weight: 900; color: #0d1238; display: flex; align-items: baseline; gap: 8px; }
.pt-tieu small { font-size: .75rem; color: var(--pt-mo2); font-weight: 800; }
/* Có JavaScript: mỗi lần một bước. Không có: cả 5 bước hiện một lượt, ẩn thanh bước + nút Tiếp / Quay lại */
.pt:not([data-js]) .pt-thanh, .pt:not([data-js]) [data-pt-di] { display: none; }
.pt:not([data-js]) .pt-trang + .pt-trang { border-top: 2px solid #e7e9f0; margin-top: 8px; padding-top: 6px; }
.pt[data-js] .pt-trang:not(.dang) { display: none; }
.pt-chan { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--pt-vien); }
.pt-chan [data-pt-di="1"] { margin-left: auto; }
.pt-gui:empty { display: none; }
.pt[data-js] .pt-chan:not(.cuoi) .pt-gui { display: none; }
.pt[data-js] .pt-chan.cuoi [data-pt-di="1"] { display: none; }
.pt[data-js] .pt-chan.cuoi .pt-gui { margin-left: auto; }
.pt[data-js] .pt-chan.dau [data-pt-di="-1"] { visibility: hidden; }
.pt-hang { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 7px 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--pt-vien); }
.pt-tieu + .pt-hang, .pt-tieu + * > .pt-hang:first-child { border-top: 0; }
.pt-nhan { font-size: .84rem; font-weight: 800; color: #3b4260; display: flex; align-items: center; gap: 5px; }
.pt-nhan:empty { display: none; }
.pt-nhan:empty + .pt-ruot { grid-column: 2; }
.pt-bb { width: 6px; height: 6px; border-radius: 50%; background: #d62839; display: inline-block; flex: none; }
.pt-ruot { min-width: 0; }
.pt-sg { display: flex; flex-wrap: wrap; background: #f2f3f7; border-radius: 11px; padding: 3px; gap: 2px; min-width: 0; }
.pt-sg label { flex: 1 1 auto; position: relative; cursor: pointer; margin: 0; }
.pt-sg input, .pt-nh input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.pt-sg span { display: block; text-align: center; border-radius: 9px; padding: 8px 10px; font-weight: 800; font-size: .84rem; color: #5a6178; white-space: nowrap; }
.pt-sg input:checked + span { background: #fff; color: #232a63; box-shadow: 0 1px 3px rgba(16, 24, 64, .14); }
.pt-sg input:focus-visible + span, .pt-nh input:focus-visible + span { outline: 2px solid #232a63; outline-offset: 1px; }
.pt-nh { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-nh label { position: relative; cursor: pointer; margin: 0; }
.pt-nh span { display: block; background: #f2f3f7; border-radius: 99px; padding: 7px 12px; font-weight: 800; font-size: .8rem; color: #5a6178; }
.pt-nh input:checked + span { background: #232a63; color: #fff; }
.pt-bat { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 800; color: #3b4260; cursor: pointer; margin: 0; }
.pt-bat input { width: 17px; height: 17px; accent-color: #232a63; margin: 0; }
.pt-o { width: 100%; min-width: 0; border: 1px solid #e7e9f0; border-radius: 11px; padding: 9px 12px; background: #fbfbfd; font: inherit; font-size: .92rem; }
.pt-o.ngan { max-width: 72px; }
.pt-o-hang { display: flex; gap: 8px; align-items: center; min-width: 0; }
.pt-o-hang .pt-o { flex: 1 1 0; }
.pt-o-hang > span { font-size: .8rem; color: #6b7287; white-space: nowrap; }
.pt-chon-tinh { flex: 0 1 170px; min-width: 0; }
.pt-chon-tinh select { width: 100%; border: 1px solid #e7e9f0; border-radius: 11px; padding: 9px 10px; background: #fbfbfd; font: inherit; font-size: .9rem; }
.pt-ghi { font-size: .76rem; color: #6b7287; margin-top: 5px; }
/* Khu doanh nghiệp: phiếu bên trái + "Người đi làm sẽ thấy" bên phải */
.pt-luoi { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.pt-the { padding: 18px 22px; }
.pt-xem { position: sticky; top: 80px; display: grid; gap: 8px; }
.pt-xem-nhan { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #6b7287; font-weight: 900; }
.pt-xem-dau { padding: 14px 18px 0; display: grid; gap: 2px; }
.pt-xem-dau b { font-size: 1.02rem; font-weight: 900; color: #0d1238; } .pt-xem-dau small { font-size: .78rem; color: #1f8f4e; font-weight: 800; }
/* Tin gọn */
.pt-tin { padding: 14px 18px 16px; display: grid; gap: 12px; }
.pt-tn { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #ebf7f0; border-radius: 12px; padding: 10px 12px; }
.pt-tn small { font-size: .76rem; color: #2f6f4a; font-weight: 800; }
.pt-tn b { font-size: 1.12rem; font-weight: 900; color: #17703d; }
.pt-tn.chua { background: #f2f3f7; } .pt-tn.chua small, .pt-tn.chua b { color: #6b7287; } .pt-tn.chua b { font-size: .88rem; }
.pt-vt { font-size: .84rem; color: #3b4260; line-height: 1.45; }
.pt-vt b { color: #232a63; } .pt-vt b.mo { color: #a0a6b8; font-weight: 700; }
.pt-ds { display: grid; grid-template-columns: minmax(0, 1fr); }
.pt-ds.hai { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.pt-ds > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 8px 0; border-top: 1px solid #f0f1f5; font-size: .84rem; }
.pt-ds span { color: #6b7287; font-weight: 700; }
.pt-ds b { font-weight: 800; color: #24294a; overflow-wrap: anywhere; }
.pt-ds .chua b { color: #a0a6b8; font-weight: 700; }
.pt-ds .luu b { color: #a86b0c; }
.pt-hoi { font-size: .76rem; color: #6b7287; }
.pt-dk-that { background: #fff; border: 1px solid #e7e9f0; border-radius: 14px; margin-bottom: 18px; }
.pt-dk-that h2 { margin: 0; padding: 14px 18px 0; font-size: 1.05rem; }
.pt-qt { border: 1px solid #e7e9f0; border-radius: 12px; background: #fff; }
.pt-qt > summary { cursor: pointer; padding: 10px 14px; font-weight: 800; font-size: .9rem; }
.pt-fs { border-radius: 12px; }
/* Thẻ việc: thực nhận + dòng nhỏ */
.cn-the-pt { display: block; font-size: .74rem; color: #6b7287; font-weight: 800; margin: 2px 0 -2px; }
.cn-thu-nhap.tn { background: #ebf7f0; color: #17703d; }
/* 4 câu khi đăng ký */
.pt-bon { display: grid; background: #f7f8fc; border: 1px solid #eef0f5; border-radius: 14px; padding: 6px 14px 10px; margin: 4px 0; }
.pt-bon .pt-hang { grid-template-columns: 132px minmax(0, 1fr); }
.pt-bon .pt-hang:nth-child(2) { border-top: 0; }
.pt-muc { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #6b7287; font-weight: 900; padding: 8px 0 2px; }
.pt-lech { background: #fdf5e3; color: #6b4e00; border-radius: 11px; padding: 9px 12px; font-size: .82rem; margin-top: 6px; }
@media (max-width: 900px) {
  .pt-luoi { grid-template-columns: minmax(0, 1fr); }
  .pt-xem { position: static; }
}
@media (max-width: 700px) {
  .pt-hang, .pt-bon .pt-hang { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .pt-nhan:empty + .pt-ruot { grid-column: auto; }
  .pt-sg.bon label { flex: 1 1 40%; }
  .pt-thanh button:not(.dang) i { display: none; } .pt-thanh button.dang { flex: 3.2 1 0; }
  .pt-the { padding: 14px; }
  .pt-ds.hai { grid-template-columns: minmax(0, 1fr); }
  .pt-o-hang { flex-wrap: wrap; } .pt-chon-tinh { flex: 1 1 100%; }
}

/* ===== BẢN 18 ĐỢT 1 (anh duyệt 25/10/2026): hành trình người đi làm · Level người đi làm · tiền lương 3 kiểu · con số thứ ba ===== */
/* Kiểu A "Vòng tỏa sáng", nền theo màu Level (anh chọn 25/10, bản xem trước project-docs/xem-truoc-hanh-trinh-2/) — nền + quầng đặt ở hanh-trinh.tsx (--nen-ht, --quang) */
.htv { position: relative; border-radius: 24px; overflow: hidden; color: #fff; padding: 24px 26px 0; background: var(--nen-ht, #2d333d);
  border: 1px solid rgba(246, 180, 14, .45); box-shadow: 0 22px 50px -16px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12); }
.htv::before { content: ""; position: absolute; inset: 0; background: url(/hoa-van/sao.svg) repeat; background-size: 64px; opacity: .35; pointer-events: none; }
.htv::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 180, 14, .2), transparent 65%); pointer-events: none; }
.htv > * { position: relative; z-index: 1; }
.htv-ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.htv-than { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 8px 28px; align-items: center; }
.htv-chu { min-width: 0; }
.htv-nhan { margin: 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .72); font-weight: 800; }
/* Chữ hoa có 2 dấu chồng (ĐỒNG, BẠCH… Ồ Ấ Ầ Ẩ) cao hơn chữ thường — dòng thấp (1.02) làm dấu đè dòng "LEVEL NGƯỜI ĐI LÀM" (anh báo 25/10) → chừa chỗ cho dấu */
.htv-ten { font-size: 2.8rem; font-weight: 900; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; margin: 6px 0 4px; }
.htv-ten .chu-kim { padding-top: .2em; } /* vùng tô màu ánh kim phủ cả dấu (không cụt dấu) */
.htv-phu { font-size: .98rem; color: rgba(255, 255, 255, .92); } .htv-phu b { color: #ffe08a; font-weight: 900; }
.htv-toi { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .9rem; color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 99px; padding: 4px 14px 4px 6px; width: fit-content; max-width: 100%; }
.htv-toi b { color: #fff; font-weight: 900; } .htv-toi .chu-kim { text-transform: uppercase; font-weight: 800; }
.htv-o3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; max-width: 470px; }
.htv-o3 > div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); border-radius: 14px; padding: 9px 6px 8px; text-align: center; }
.htv-o3 i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(246, 180, 14, .16); color: #ffd45a; font-size: .9rem; font-style: normal; }
.htv-o3 b { display: block; font-size: 1.3rem; font-weight: 900; line-height: 1.15; margin-top: 3px; }
.htv-o3 span { display: block; font-size: .72rem; color: rgba(255, 255, 255, .72); line-height: 1.25; }
.htv-nut { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.htv-nut a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-radius: 999px; padding: 12px 22px; font-weight: 900; font-size: .95rem; }
.htv-nut .chinh { background: linear-gradient(180deg, #ffd45a, #f6b40e); color: #241a00; box-shadow: 0 8px 20px rgba(246, 180, 14, .4); }
.htv-ql { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.htv-ql > span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(246, 180, 14, .5); background: linear-gradient(180deg, rgba(246, 180, 14, .16), rgba(246, 180, 14, .06));
  color: #ffe9a8; border-radius: 99px; padding: 5px 13px 5px 5px; font-size: .82rem; font-weight: 800; }
.htv-ql i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(180deg, #ffd45a, #f6b40e); color: #2b1d00; font-size: .8rem; font-style: normal; }
.htv-dung { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; background: rgba(214, 40, 57, .2); border: 1px solid rgba(255, 140, 150, .5); border-radius: 14px; padding: 11px 14px; font-size: .9rem; line-height: 1.5; color: #ffd7db; }
.htv-dung b { color: #fff; } .htv-dung > .htv-ic { font-size: 1.25rem; color: #ff9aa5; margin-top: 1px; }
/* Vòng vàng quanh huy hiệu */
.htv-vong { --s: 200px; position: relative; width: var(--s); height: var(--s); display: grid; place-items: center; }
.htv-tia { position: absolute; inset: -22%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 226, 140, .2) 0deg 4deg, transparent 4deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 68%); mask: radial-gradient(circle, #000 25%, transparent 68%); animation: htv-xoay 46s linear infinite; }
@keyframes htv-xoay { to { transform: rotate(360deg); } }
.htv-quang { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, var(--quang) 0%, transparent 70%); animation: htv-tho 3.6s ease-in-out infinite; }
@keyframes htv-tho { 50% { transform: scale(1.12); opacity: .7; } }
.htv-vg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.htv-nen-v { stroke: rgba(255, 255, 255, .13); }
.htv-chay { stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(246, 180, 14, .85)); animation: htv-vao 1.6s cubic-bezier(.2, .8, .2, 1) both .2s; }
@keyframes htv-vao { from { stroke-dashoffset: 289.03; } }
.htv-vong > .hh { width: calc(var(--s) * .6); height: calc(var(--s) * .6); filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .42)); animation: htv-noi 4s ease-in-out infinite; }
@keyframes htv-noi { 50% { transform: translateY(-6px); } }
.htv-vong-nhan { position: absolute; z-index: 2; bottom: -4px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #ffe08a, #f6b40e); color: #2b1d00; font-weight: 900;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 11px; border-radius: 99px; box-shadow: 0 5px 14px rgba(246, 180, 14, .45); white-space: nowrap; }
.htv-lap { position: absolute; z-index: 2; width: 11px; height: 11px; background: #fff7d6; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: htv-lap 2.8s ease-in-out infinite; }
@keyframes htv-lap { 0%, 100% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
/* Thang 5 bậc cuối thẻ */
.htv-bac { position: relative; margin: 20px -26px 0; padding: 16px 18px 16px; background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .28)); border-top: 1px solid rgba(255, 255, 255, .08);
  display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); align-items: end; }
.htv-ray { position: absolute; top: 40px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.htv-ray i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #c8834a, #f6b40e, #fff3c0); box-shadow: 0 0 10px rgba(246, 180, 14, .7); }
.htv-bac1 { position: relative; display: grid; justify-items: center; gap: 3px; text-align: center; min-width: 0; }
.htv-bac1 b { font-size: .78rem; font-weight: 900; line-height: 1.15; } .htv-bac1 small { font-size: .68rem; color: rgba(255, 255, 255, .58); }
.htv-bac1.dang .hh { filter: drop-shadow(0 0 12px var(--quang)); }
.htv-bac1 .hh.khoa { filter: grayscale(.9); opacity: .5; }
.htv-ban { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #d62839; color: #fff; font-size: .62rem; font-weight: 900; padding: 1px 7px; border-radius: 99px; white-space: nowrap; z-index: 2; box-shadow: 0 3px 8px rgba(214, 40, 57, .5); }
.htv-giu { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; justify-content: center; font-size: .78rem; color: rgba(255, 255, 255, .66); margin-top: 12px; text-align: center; }
/* Các lần đi làm (dòng thời gian) + Tiền lương — hai thẻ cạnh nhau trên máy tính */
.htv-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; align-items: start; }
.htv-luoi > .cn-hop { min-width: 0; }
.htv-dau-the { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.htv-dau-the h2 { margin: 0; }
.htv-bi { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #eef1ff; color: #24337f; font-size: 1.1rem; flex: none; }
.htv-bi.xanh { background: #e6f5ec; color: #17703d; }
.htv-dem { margin-left: auto; background: #eef0f5; color: #5b6380; font-size: .75rem; font-weight: 900; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.htv-tl { list-style: none; margin: 0; padding: 0 0 0 24px; position: relative; display: grid; gap: 10px; }
.htv-tl::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #23945a, #d5d9e4); }
.htv-tl li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 11px; align-items: start; background: #f8f9fc; border: 1px solid #eef0f5; border-radius: 15px; padding: 11px 12px; }
.htv-tl li::before { content: ""; position: absolute; left: -23px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--d, #b9bfcc); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--d, #b9bfcc); }
.htv-tl li.dang { --d: #23945a; background: linear-gradient(90deg, #effaf3, #f8f9fc 60%); border-color: #cfeedd; }
.htv-tl li.dang::before { animation: htv-nhip 1.8s ease-out infinite; }
@keyframes htv-nhip { 0% { box-shadow: 0 0 0 3px #fff, 0 0 0 4px #23945a, 0 0 0 4px rgba(35, 148, 90, .5); } 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 4px #23945a, 0 0 0 14px rgba(35, 148, 90, 0); } }
.htv-tl li.bo { --d: #d62839; background: linear-gradient(90deg, #fff1f2, #f8f9fc 60%); border-color: #f7d3d7; }
.htv-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--av, #24337f); color: #fff; font-weight: 900; font-size: 1.05rem; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); flex: none; }
.htv-av.nho { width: 34px; height: 34px; border-radius: 10px; font-size: .9rem; }
.htv-tl-giua { min-width: 0; }
.htv-tl-giua b { display: block; font-size: .92rem; line-height: 1.25; padding-right: 52px; }
.htv-tl-giua small { display: block; font-size: .76rem; color: #667089; margin-top: 2px; }
.htv-tl-chan { display: flex; justify-content: space-between; align-items: center; gap: 6px 10px; flex-wrap: wrap; margin-top: 7px; }
.htv-tg { font-weight: 900; font-size: .95rem; white-space: nowrap; color: #0d1238; }
.htv-tl li.bo .htv-tg { color: #b42318; font-size: .82rem; }
.htv-lan { position: absolute; top: 10px; right: 10px; font-size: .7rem; font-weight: 900; color: #5b6380; background: #fff; border: 1px solid #e3e6ee; padding: 1px 8px; border-radius: 99px; white-space: nowrap; }
.htv-tien-to { font-size: 2.1rem; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; background: linear-gradient(90deg, #17703d, #23945a, #4cbf7a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.htv-tien-to.khong { background: none; -webkit-text-fill-color: #9aa0b4; color: #9aa0b4; }
.htv-tien-nam { font-size: .82rem; color: #667089; margin: 2px 0 10px; }
.htv-td { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #eef0f5; }
.htv-td-giua { min-width: 0; }
.htv-td-giua b { display: block; font-size: .86rem; line-height: 1.25; } .htv-td-giua small { display: block; font-size: .76rem; color: #667089; margin-top: 2px; }
.htv-td-vach { display: block; height: 5px; border-radius: 9px; background: #eef0f5; margin-top: 6px; overflow: hidden; }
.htv-td-vach i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #23945a, #4cbf7a); }
.htv-td-so { font-size: .92rem; white-space: nowrap; }
.htv-td > .nhan { white-space: nowrap; }
.htv-ghi { font-size: .76rem; color: #9aa0b4; margin: 8px 0 0; }
.htv-trong { margin: 0; font-size: .9rem; color: #667089; line-height: 1.5; background: #f8f9fc; border: 1px dashed #dfe3ec; border-radius: 14px; padding: 12px 14px; }
/* Điện thoại: thẻ Level xếp dọc, căn giữa */
@media (max-width: 640px) {
  .htv { padding: 20px 16px 0; border-radius: 22px; }
  .htv-than { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .htv-vong { --s: 180px; }
  .htv-ten { font-size: 2.2rem; }
  .htv-toi { margin-left: auto; margin-right: auto; }
  .htv-o3 { width: 100%; max-width: none; }
  .htv-ql, .htv-nut { justify-content: center; }
  .htv-bac { margin: 18px -16px 0; padding: 16px 6px 14px; }
  .htv-bac1 b { font-size: .68rem; } .htv-bac1 small { font-size: .62rem; }
  .htv-bac1 .hh { width: 36px; height: 36px; } .htv-bac1.dang .hh { width: 48px; height: 48px; }
  .htv-ray { top: 34px; }
  .htv-tl li { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .htv-tl li .htv-av { width: 34px; height: 34px; font-size: .9rem; border-radius: 10px; }
}
/* Khu điều hành: 3 con số (thêm "Tỷ lệ người cũ đi làm lại") */
.dh-hai.ba { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.dh-hai-lai { color: inherit; text-decoration: none; }
a.dh-hai-lai:hover { border-color: #f2b01e; }
@media (max-width: 1100px) { .dh-hai.ba { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .dh-hai.ba { grid-template-columns: minmax(0, 1fr); } }

/* ===== BẢN 19 — Đợt 3 phần 2 (anh duyệt 25/10/2026): bộ đồ đăng bài · ảnh chia sẻ + Google · trang tỉnh · tờ dán QR · vinh danh tháng.
   Bám bản xem trước project-docs/xem-truoc-dot-3b/. KHÔNG nền chàm có sao (web đã dùng 9 chỗ), KHÔNG viền thêu (anh dặn 25/10). ===== */
/* Bộ đồ đăng bài (Khu của tôi → Link & mã) */
.db-khoi-dau { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.db-ds { display: grid; border: 1px solid #e6e8ef; border-radius: 16px; overflow: hidden; }
.db-dong { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid #eff0f5; background: #fff; }
.db-dong:first-child { border-top: 0; }
.db-logo { width: 42px; height: 42px; border-radius: 12px; background: #24337f; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 13px; overflow: hidden; }
.db-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.db-dong-chu { display: grid; gap: 2px; min-width: 0; }
.db-dong-chu b { font-size: 14.5px; line-height: 1.3; }
.db-dong-chu small { font-size: 12.5px; color: #687089; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-dong-chu em { font-style: normal; justify-self: start; background: #e9f6ee; color: #146a39; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 900; margin-top: 3px; }
.nut.db-nut { background: #24337f; color: #fff; gap: 6px; }
.nut.db-nut svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .db-dong { grid-template-columns: 42px minmax(0, 1fr); } .db-dong .db-nut { grid-column: 1 / -1; width: 100%; } }
/* Bảng mở lên (máy tính: giữa màn hình · điện thoại: từ dưới lên) — vừa MỘT màn hình */
.db-bang { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; overflow: visible; }
.db-bang::backdrop { background: rgba(9, 12, 34, .55); }
.db-tam { background: #fff; width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; border-radius: 24px; padding: 14px 16px 16px; display: grid; gap: 10px; box-shadow: 0 30px 60px -20px rgba(9, 12, 34, .5); color: #121733; }
.db-tam:focus { outline: none; }
.db-tam-dau { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.db-tam-dau b { display: block; font-size: 15px; font-weight: 900; }
.db-tam-dau small { display: block; font-size: 12px; color: #687089; }
.db-dong-bang { border: 0; background: #f1f2f7; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; color: #343b5c; }
.db-dong-bang svg { width: 18px; height: 18px; }
.db-hang { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; }
.db-sg { display: flex; background: #f1f2f7; border-radius: 12px; padding: 3px; gap: 2px; }
.db-sg button { flex: 1 1 0; border: 0; background: transparent; border-radius: 9px; padding: 7px 8px; font: inherit; font-weight: 800; font-size: 12.5px; color: #5a6178; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; }
.db-sg button.on { background: #fff; color: #24337f; box-shadow: 0 1px 3px rgba(16, 24, 64, .14); }
.db-sg button svg { width: 15px; height: 15px; flex: none; }
.db-sg i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); flex: none; }
.db-sg i.cm-la { background: linear-gradient(160deg, #6db32e, #2a6512); } .db-sg i.cm-trang { background: #fff; } .db-sg i.cm-vang { background: linear-gradient(160deg, #ffd84a, #ffc414); }
.db-phan { display: grid; gap: 10px; }
.db-phan[hidden] { display: none; }
.db-anh { display: flex; justify-content: center; }
/* Ảnh giữ đúng tỉ lệ, thu nhỏ theo bề ngang VÀ chiều cao màn hình → bảng không phải lướt (đo WebKit 320×568) */
.db-anh canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: max(180px, calc(100dvh - 330px)); border-radius: 12px; box-shadow: 0 8px 22px -12px rgba(9, 12, 34, .45); }
.db-nut-hang { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.db-nut-hang .nut, .nut.db-chep { gap: 8px; }
.db-nut-hang svg, .db-chep svg { width: 17px; height: 17px; }
.nut.db-nhat { background: #f1f2f7; color: #343b5c; }
.nut.db-chep { background: #24337f; color: #fff; }
#db-chu { width: 100%; min-height: 168px; border: 1px solid #e6e8ef; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 14px; line-height: 1.6; background: #fbfbfd; resize: vertical; }
@media (max-width: 700px) {
  .db-bang { margin: auto 0 0; width: 100vw; }
  .db-tam { width: 100vw; border-radius: 24px 24px 0 0; padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)); max-height: 100dvh; }
}
/* Quản trị: vẽ ảnh chia sẻ */
.db-hop-anh { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 12px; border: 1px dashed #c9cfdc; border-radius: 12px; background: #fafbfd; }
.db-tao-anh { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dh-kenh { margin: 10px 0 0; font-size: 12.5px; color: #636779; }
.dh-kenh b { color: #1c1c2a; }
/* Trang việc: link tới trang tỉnh */
.vlp-lq-tinh { display: inline-block; margin: -4px 0 12px; font-weight: 800; color: var(--cn-dam, #24337f); text-decoration: none; }
.vlp-lq-tinh:hover { text-decoration: underline; }

/* Trang việc theo tỉnh (/viec-lam-tai/:tinh) — đầu trang chàm trơn + vòng tròn mảnh (không sao) */
.vlt { padding-bottom: 36px; }
.vlt-dau { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 22px; margin-top: 20px; padding: 26px 28px 24px; display: grid; gap: 8px;
  background: radial-gradient(55% 110% at 100% 0%, rgba(139, 197, 64, .3), transparent 62%), linear-gradient(135deg, #2a3a8f 0%, #1a2463 100%); }
.vlt-dau::before { content: ""; position: absolute; z-index: -1; width: 560px; aspect-ratio: 1; right: -230px; top: -290px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .08) 0 2px, transparent 2px 26px); }
.vlt-vet { font-size: 12.5px; color: #c9d1ff; font-weight: 800; }
.vlt-vet a { color: #c9d1ff; text-decoration: none; }
.vlt-phu { color: #ecc96b; font-weight: 900; font-size: 14.5px; letter-spacing: .02em; }
.vlt-dau h1 { margin: 0; font-size: clamp(24px, 4.2vw, 32px); font-weight: 900; letter-spacing: -.01em; text-wrap: balance; color: #fff; }
.vlt-so { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .14); border-radius: 14px; overflow: hidden; margin-top: 6px; }
.vlt-so div { background: rgba(9, 13, 45, .5); padding: 10px 12px; min-width: 0; }
.vlt-so b { display: block; font-size: 18px; font-weight: 900; }
.vlt-so span { font-size: 12px; color: #c9d1ff; font-weight: 700; }
.vlt-than { display: grid; gap: 16px; margin-top: 16px; }
.vlt-tinh .cn-chip b { color: #9ea4b6; font-weight: 800; margin-left: 4px; }
.vlt-tinh .cn-chip.dang b { color: inherit; opacity: .75; }
.vlt-h2 { margin: 4px 0 0; font-size: 18px; }
.vlt-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 1px solid #e6e8ef; border-radius: 18px; padding: 16px 20px; box-shadow: 0 1px 2px rgba(16, 24, 64, .05), 0 14px 34px -18px rgba(16, 24, 64, .22); }
.vlt-cta b { display: block; font-size: 15px; font-weight: 900; }
.vlt-cta small { font-size: 13px; color: #687089; }
.vlt-cta-nut { background: linear-gradient(180deg, #f3d27a, #d9a93e); color: #2c1f00; font-weight: 900; border-radius: 12px; padding: 11px 18px; text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) { .vlt-dau { padding: 20px 18px 22px; border-radius: 18px; } .vlt-so b { font-size: 16px; } .vlt-so div { padding: 9px 10px; } }

/* Vinh danh tháng: bục 3 hạng (thẻ sáng, hạng 1 ánh vàng) + danh sách tới hạng 10 */
.vd-bang { display: grid; gap: 12px; }
.vd-buc { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 10px; align-items: end; }
.vd-bk { position: relative; border-radius: 20px; padding: 18px 8px 16px; text-align: center; display: grid; justify-items: center; gap: 5px; color: #0b1035; background: #fff; border: 1px solid #e6e8ef; box-shadow: 0 1px 2px rgba(16, 24, 64, .05), 0 14px 34px -18px rgba(16, 24, 64, .22); min-width: 0; }
.vd-bk.trong { visibility: hidden; }
.vd-bk.h1 { padding-top: 26px; background: linear-gradient(180deg, #fff3cf 0%, #fffaf0 55%, #fff 100%); border-color: #ead08a; box-shadow: 0 22px 44px -22px rgba(170, 120, 20, .55); }
.vd-bk-hang { position: absolute; top: 9px; left: 11px; font-size: 12px; font-weight: 900; color: #b0821f; }
.vd-bk img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(16, 24, 64, .25)); }
.vd-bk.h1 img { width: 80px; height: 80px; }
.vd-bk-o { width: 52px; height: 52px; border-radius: 50%; background: #f1f2f7; }
.vd-bk-lv { font-size: 10.5px; color: #a3761a; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.vd-bk-ten { font-size: 13.5px; font-weight: 900; max-width: 100%; overflow-wrap: anywhere; }
.vd-bk-so { font-size: 22px; font-weight: 900; line-height: 1; }
.vd-bk-so small { display: block; font-size: 10.5px; color: #687089; font-weight: 800; margin-top: 3px; line-height: 1.3; }
.vd-ds { list-style: none; margin: 0; padding: 0; counter-reset: vd 3; border: 1px solid #e6e8ef; border-radius: 16px; background: #fff; overflow: hidden; }
.vd-ds li { counter-increment: vd; display: grid; grid-template-columns: 24px 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid #eff0f5; }
.vd-ds li:first-child { border-top: 0; }
.vd-ds li::before { content: counter(vd); font-weight: 900; color: #9ea4b6; font-size: 13px; text-align: center; }
.vd-ds img, .vd-ds-o { width: 32px; height: 32px; object-fit: contain; }
.vd-ds-o { border-radius: 50%; background: #f1f2f7; }
.vd-ds b { display: block; font-size: 13.5px; } .vd-ds small { font-size: 11.5px; color: #687089; }
.vd-ds em { font-style: normal; font-weight: 900; font-size: 15px; color: #24337f; text-align: right; } .vd-ds em small { display: block; font-size: 10.5px; font-weight: 800; }
.vd-trong { margin: 0; color: #687089; font-size: 13.5px; }
@media (max-width: 420px) { .vd-buc { gap: 6px; } .vd-bk { padding: 14px 4px 12px; border-radius: 16px; } .vd-bk img { width: 44px; height: 44px; } .vd-bk.h1 img { width: 58px; height: 58px; } .vd-bk-ten { font-size: 12px; } .vd-bk-so { font-size: 18px; } .vd-bk-lv, .vd-bk-so small { font-size: 9.5px; } }
/* Hai bảng CTV / Đối tác (đổi bằng 2 nút, không cần JavaScript) */
.vd-hai { display: grid; gap: 14px; position: relative; }
.vd-chon { position: absolute; opacity: 0; pointer-events: none; }
.vd-nut { justify-self: start; display: inline-flex; background: #f1f2f7; border-radius: 12px; padding: 3px; gap: 2px; }
.vd-nut label { padding: 7px 16px; border-radius: 9px; font-weight: 800; font-size: 13px; color: #5a6178; cursor: pointer; }
.vd-hai > .vd-chon:nth-of-type(1):checked ~ .vd-nut label:nth-child(1), .vd-hai > .vd-chon:nth-of-type(2):checked ~ .vd-nut label:nth-child(2) { background: #fff; color: #24337f; box-shadow: 0 1px 3px rgba(16, 24, 64, .14); }
.vd-hai > .vd-chon:nth-of-type(1):focus-visible ~ .vd-nut label:nth-child(1), .vd-hai > .vd-chon:nth-of-type(2):focus-visible ~ .vd-nut label:nth-child(2) { outline: 2px solid #24337f; outline-offset: 2px; }
.vd-hai > .vd-chon:nth-of-type(1):checked ~ .vd-mot.dt, .vd-hai > .vd-chon:nth-of-type(2):checked ~ .vd-mot.ctv { display: none; }
.vd-cong-khai { padding: 48px 0; background: #f6f7fb; }
.vd-cong-khai .khung-rong { max-width: 860px; display: grid; gap: 16px; }
.vd-dau { display: grid; gap: 4px; }
.vd-dau p { margin: 0; color: #636779; }
.vd-mat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #b0821f; font-weight: 900; }
.vd-ghi { margin: 0; font-size: 12.5px; color: #687089; }
/* Khu của tôi → Tổng quan: bảng + hạng của mình + công tắc hiện tên */
.kct-vd .ruot { display: grid; gap: 12px; }
.kct-vd-dau { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kct-vd-dau h3 { margin: 0; }
.kct-vd-dau a { font-size: 13px; font-weight: 800; color: #24337f; text-decoration: none; }
.kct-vd-toi { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid #e6e8ef; border-radius: 16px; padding: 12px 14px; background: #fff; }
.kct-vd-hang { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(180deg, #f3d27a, #c99a35); color: #2c1f00; display: grid; place-items: center; align-content: center; font-weight: 900; font-size: 20px; line-height: 1; }
.kct-vd-hang small { display: block; font-size: 9px; letter-spacing: .1em; margin-bottom: 2px; text-transform: uppercase; line-height: 1.3; }
.kct-vd-chu { display: grid; gap: 2px; min-width: 0; }
.kct-vd-chu b { font-size: 14px; } .kct-vd-chu small { font-size: 12.5px; color: #687089; }
.kct-vd-cong { display: flex; align-items: center; gap: 8px; margin: 0; }
.kct-vd-cong small { font-size: 12px; color: #687089; }
.kct-cong { width: 46px; height: 28px; border-radius: 99px; background: #d4d8e3; position: relative; border: 0; cursor: pointer; flex: none; padding: 0; }
.kct-cong::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.kct-cong.on { background: #1f8f4e; } .kct-cong.on::after { left: 21px; }
.kct-cong:focus-visible { outline: 2px solid #24337f; outline-offset: 2px; }
.kct-vd-nhac { margin: 0; background: #fff7dd; border: 1px solid #f2dc8a; color: #6b5310; border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 700; }
@media (max-width: 560px) { .kct-vd-toi { grid-template-columns: auto minmax(0, 1fr); } .kct-vd-cong { grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid #eff0f5; padding-top: 10px; } }

/* ===== BẢN 20 — Đợt 4 (anh duyệt bản xem trước GỌN 25/10/2026, project-docs/xem-truoc-dot-4/): hồ sơ nơi làm (trang công ty + một dòng ở trang việc)
   · báo cáo doanh nghiệp (Khu doanh nghiệp → Báo cáo) · con số thật + lời doanh nghiệp (trang Hợp tác). Một thẻ tối điểm vàng, số Barlow Condensed, không viền thêu. */
.hsn-toi, .hsn-the, .hsn-dong, .hsn-loi-khoi, .hsn-tieu, .hsn-nx, .hsn-qt-nx {
  --hsn-dem-1: #19225c; --hsn-dem-2: #0d1238; --hsn-kim: #d4ad57; --hsn-kim-dam: #a7801f; --hsn-la: #7fd29a;
  --hsn-chu: #10163d; --hsn-mo: #6b7290; --hsn-mo-2: #9aa1b8; --hsn-vien: #e7e9f1; --hsn-vien-2: #f0f1f6;
  --hsn-bong: 0 1px 2px rgba(16, 24, 64, .04), 0 18px 40px -24px rgba(16, 24, 64, .28);
  --hsn-so: "Barlow Condensed", system-ui, sans-serif;
}
.hsn-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hsn-nhan { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 900; color: var(--hsn-mo-2); line-height: 1.3; }
.hsn-nhan.kim { color: var(--hsn-kim-dam); }

/* Thẻ tối */
.hsn-toi { position: relative; overflow: hidden; border-radius: 22px; color: #fff; padding: 22px 24px; display: grid; gap: 18px; margin: 22px 0;
  background: radial-gradient(70% 90% at 100% 0%, rgba(98, 120, 230, .28), transparent 60%), linear-gradient(160deg, var(--hsn-dem-1) 0%, var(--hsn-dem-2) 100%);
  box-shadow: 0 24px 50px -28px rgba(13, 18, 56, .7); scroll-margin-top: 90px; }
.hsn-toi::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--hsn-kim), transparent); }
.hsn-toi-dau { display: flex; justify-content: space-between; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.hsn-toi-dau .hsn-nhan { color: var(--hsn-kim); }
.hsn-toi-dau small { font-size: 11.5px; color: #8f98c8; font-weight: 700; }
.hsn-ba { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.hsn-ba > div { padding: 2px 18px; border-left: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 4px; align-content: start; min-width: 0; }
.hsn-ba > div:first-child { padding-left: 0; border-left: 0; }
.hsn-so { font-family: var(--hsn-so); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; color: #fff; }
.hsn-so small { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 13px; font-weight: 800; color: #aab2df; margin-left: 4px; letter-spacing: 0; }
.hsn-so.xanh { color: var(--hsn-la); }
.hsn-so.kim { color: #f1d38b; }
.hsn-lb { font-size: 13px; color: #dfe3ff; font-weight: 800; line-height: 1.35; }
.hsn-ph { font-size: 12px; color: #8f98c8; line-height: 1.4; }
.hsn-vach { display: block; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 4px; }
.hsn-vach i { display: block; height: 100%; background: var(--hsn-la); border-radius: inherit; }
.hsn-xep { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.hsn-xep .hsn-nhan { color: #8f98c8; }
.hsn-day { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; }
.hsn-day i { display: block; height: 100%; }
.hsn-chu-xep { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: #dfe3ff; font-weight: 700; }
.hsn-chu-xep span { display: inline-flex; align-items: center; gap: 6px; }
.hsn-chu-xep i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.hsn-chu-xep b { color: #fff; }
.hsn-chan { font-size: 11.5px; color: #7f88b8; line-height: 1.45; }

/* Một dòng gọn trên trang việc */
.hsn-dong { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--hsn-vien); background: #fff;
  border-radius: 16px; padding: 11px 14px; text-decoration: none; color: var(--hsn-chu); margin: 12px 0; transition: box-shadow .2s, transform .2s; }
.hsn-dong:hover { box-shadow: var(--hsn-bong); transform: translateY(-1px); }
.hsn-khien { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(160deg, var(--hsn-dem-1), var(--hsn-dem-2)); color: var(--hsn-kim); display: grid; place-items: center; }
.hsn-dong b { font-size: 13.5px; display: block; font-weight: 900; line-height: 1.3; }
.hsn-dong span span { font-size: 12.5px; color: var(--hsn-mo); }
.hsn-mui { color: var(--hsn-mo-2); }

/* Báo cáo doanh nghiệp */
.hsn-tieu { display: grid; gap: 4px; margin-bottom: 4px; }
.hsn-tieu h1 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; color: var(--hsn-chu); }
.hsn-tieu p { margin: 0; color: var(--hsn-mo); font-size: 13.5px; }
.hsn-bc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.hsn-lon { display: grid; justify-items: start; }
.hsn-lon .hsn-so { font-size: 72px; }
.hsn-lon .hsn-lb { margin-top: 6px; }
.hsn-ss { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 12px; color: #aab2df; background: rgba(255, 255, 255, .06); border-radius: 99px; padding: 4px 10px; font-weight: 700; }
.hsn-pheu { display: grid; gap: 10px; }
.hsn-pheu-dong { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: 13px; color: #dfe3ff; font-weight: 800; }
.hsn-pheu-dong .hsn-so { font-size: 28px; }
.hsn-pheu-dong .hsn-vach { grid-column: 1 / -1; margin-top: 0; height: 4px; }
.hsn-pheu-dong .hsn-vach i { background: linear-gradient(90deg, #8ea2ff, #c7d1ff); }
.hsn-pheu-dong.du .hsn-vach i { background: var(--hsn-la); }
.hsn-pheu-phu { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: #aab2df; font-weight: 700; padding-top: 4px; }
.hsn-pheu-phu b { color: #fff; }
.hsn-the { background: #fff; border: 1px solid var(--hsn-vien); border-radius: 20px; box-shadow: var(--hsn-bong); padding: 18px 20px; display: grid; gap: 14px; min-width: 0; margin: 0 0 22px; }
.hsn-the-dau { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 10px; flex-wrap: wrap; }
.hsn-the-dau b { font-size: 15.5px; font-weight: 900; color: var(--hsn-chu); }
.hsn-giai { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--hsn-mo); font-weight: 700; }
.hsn-giai span { display: inline-flex; align-items: center; gap: 6px; }
.hsn-giai i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.hsn-giai i.du, .hsn-chong i.du { background: #1f8f4e; }
.hsn-giai i.dang, .hsn-chong i.dang { background: #8ea2ff; }
.hsn-giai i.nghi, .hsn-chong i.nghi { background: #e3826f; }
.hsn-thang { display: grid; gap: 12px; }
.hsn-thang-dong { display: grid; grid-template-columns: 64px minmax(0, 1fr) 28px; gap: 12px; align-items: center; font-size: 12.5px; font-weight: 800; color: #4b5374; }
.hsn-thang-dong em { font-style: normal; text-align: right; font-family: var(--hsn-so); font-weight: 800; font-size: 18px; color: var(--hsn-chu); }
.hsn-chong { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--hsn-vien-2); gap: 2px; }
.hsn-chong i { display: block; height: 100%; }
.hsn-chan-the { display: flex; justify-content: space-between; align-items: center; gap: 8px 10px; flex-wrap: wrap; font-size: 12px; color: var(--hsn-mo); padding-top: 12px; border-top: 1px solid var(--hsn-vien-2); }
.hsn-an { display: inline-flex; align-items: center; gap: 6px; }
.hsn-an .hsn-ic { width: 15px; height: 15px; color: var(--hsn-dem-1); }
.hsn-nx { margin: 0 0 12px; }
.hsn-nx > summary { list-style: none; }
.hsn-nx > summary::-webkit-details-marker { display: none; }
.hsn-nut-vien { display: inline-flex; align-items: center; border: 1px solid var(--hsn-vien); background: #fff; color: var(--hsn-dem-1); border-radius: 12px; padding: 9px 14px; font-weight: 900; font-size: 13px; cursor: pointer; }
.hsn-nut-vien:hover { box-shadow: var(--hsn-bong); }
.hsn-nx[open] > summary { margin-bottom: 10px; }
.hsn-nx-form { background: #fff; border: 1px solid var(--hsn-vien); border-radius: 20px; box-shadow: var(--hsn-bong); padding: 18px 20px; display: grid; gap: 10px; max-width: 620px; }
.hsn-nx-form b { color: var(--hsn-chu); font-size: 15px; font-weight: 900; }
.hsn-nx-form textarea { width: 100%; font: inherit; font-size: 15px; border: 1px solid var(--hsn-vien); border-radius: 12px; padding: 10px 12px; resize: vertical; min-height: 84px; }
.hsn-nx-form .nut { justify-self: start; }
.hsn-nx-tt { margin: 0 0 18px; }

/* Lời doanh nghiệp (trang công ty + trang Hợp tác) */
.hsn-loi-khoi { display: grid; gap: 14px; margin: 22px 0; }
.hsn-h2 { margin: 0; font-size: 1.3rem; font-weight: 900; color: var(--hsn-chu); }
.hsn-loi-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.hsn-loi { margin: 0; background: #fff; border: 1px solid var(--hsn-vien); border-radius: 20px; padding: 20px; display: grid; gap: 14px; box-shadow: var(--hsn-bong); align-content: space-between; }
.hsn-ngoac { font-family: Georgia, "Times New Roman", serif; font-size: 44px; line-height: .6; color: var(--hsn-kim); height: 18px; }
.hsn-loi blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: #232a52; font-weight: 700; overflow-wrap: anywhere; }
.hsn-loi-ai { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; padding-top: 14px; border-top: 1px solid var(--hsn-vien-2); }
.hsn-logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: #fff; background: var(--hsn-dem-1); overflow: hidden; }
.hsn-logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.hsn-loi-ai b { font-size: 13px; display: block; line-height: 1.3; }
.hsn-loi-ai b a { color: var(--hsn-chu); text-decoration: none; }
.hsn-loi-ai small { font-size: 11.5px; color: var(--hsn-mo); }
.hsn-hop-tac { padding-top: 10px; padding-bottom: 30px; }
.hsn-hop-tac > .hsn-toi { margin-top: 0; }

/* Quản trị: duyệt lời nhận xét */
.hsn-qt-nx { display: grid; gap: 8px; border: 1px solid rgba(127, 127, 127, .35); border-radius: 14px; padding: 12px 14px; }  /* theo màu khung quản trị (sáng / tối) */
.hsn-qt-nx blockquote { margin: 0; padding-left: 12px; border-left: 3px solid var(--hsn-kim); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }

/* Điện thoại: 3 con số thành hàng (số bên trái, chữ bên phải) */
@media (max-width: 560px) {
  .hsn-toi { padding: 20px 18px; border-radius: 20px; }
  .hsn-ba { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hsn-ba > div { border-left: 0; padding: 0 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .hsn-ba > div:first-child { padding-left: 0; }
  .hsn-ba > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .hsn-ba .hsn-so { font-size: 38px; grid-row: span 3; min-width: 104px; }
  .hsn-ba .hsn-vach { grid-column: 2; }
  .hsn-bc { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hsn-lon .hsn-so { font-size: 60px; }
  .hsn-tieu h1 { font-size: 22px; }
  .hsn-the, .hsn-nx-form { padding: 16px; }
  .hsn-thang-dong { grid-template-columns: 58px minmax(0, 1fr) 24px; gap: 10px; }
}
/* Điện thoại nhỏ (≤ 380px): số to ở trên, chữ ở dưới — ô “5,9–6,6 triệu” không ép chữ xuống 3 dòng */
@media (max-width: 380px) {
  .hsn-ba > div { grid-template-columns: minmax(0, 1fr); padding-bottom: 12px; }
  .hsn-ba .hsn-so { grid-row: auto; min-width: 0; font-size: 36px; margin-bottom: 2px; }
  .hsn-ba .hsn-vach { grid-column: auto; }
}

/* ===== BẢN 21 — Bảng xếp hạng công khai (src/trang/bang-xep-hang.tsx; anh duyệt 25/10/2026: "Level to, số tiền luôn hiện, tên khi đồng ý") =====
   Nền chàm có sao như khung Level; Level TO (huy hiệu lớn + tên Level chữ ánh kim); số tiền vàng phông Barlow Condensed; người chưa đồng ý: chữ nghiêng mờ. */
.bxh-trang { padding-top: 18px; padding-bottom: 28px; }
.bxh { position: relative; border-radius: 18px; overflow: hidden; color: #fff; padding: 20px 22px; display: grid; gap: 14px;
  background: radial-gradient(120% 160% at 0% 0%, #34479f 0%, #1b2566 42%, #0d1236 100%);
  border: 1px solid rgba(246, 180, 14, .38); box-shadow: 0 14px 40px rgba(13, 18, 54, .35); }
.bxh::before { content: ""; position: absolute; inset: 0; background: url(/hoa-van/sao.svg) repeat; background-size: 64px; opacity: .55; pointer-events: none; }
.bxh > * { position: relative; z-index: 1; min-width: 0; }
.bxh-dau { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bxh-dau svg { flex: none; border-radius: 8px; box-shadow: 0 0 0 1.5px rgba(246, 180, 14, .55); }
.bxh-dau h1, .bxh-dau h2 { margin: 0; font-size: 1.2rem; font-weight: 900; line-height: 1.25; color: #fff; }
.bxh-dau h1 small, .bxh-dau h2 small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #ffe08a; font-weight: 900; }
.bxh-dau > a { margin-left: auto; color: #c6cdf0; font-size: .8rem; font-weight: 800; text-decoration: none; }
.bxh-ky { margin-left: auto; display: flex; gap: 4px; background: rgba(8, 12, 40, .5); padding: 3px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .15); }
.bxh-ky a { padding: 5px 12px; border-radius: 99px; font-size: .78rem; font-weight: 900; color: #c6cdf0; text-decoration: none; white-space: nowrap; }
.bxh-ky a.on { background: linear-gradient(180deg, #ffd45a, #f6b40e); color: #241a00; }
.bxh-phu { margin: -6px 0 0; font-size: .82rem; color: #c6cdf0; }
.bxh-the { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bxh-the a { text-align: center; border: 1px solid rgba(255, 255, 255, .18); background: rgba(8, 12, 40, .4); color: #e8ecff; border-radius: 12px; padding: 9px 6px;
  font-weight: 900; font-size: .88rem; text-decoration: none; }
.bxh-the a.on { background: rgba(246, 180, 14, .18); border-color: #f6b40e; color: #ffe08a; }
.bxh-trong { margin: 0; text-align: center; color: #aeb6e0; padding: 18px 8px; }
.bxh-bang { display: grid; gap: 10px; }
.bxh-buc { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 10px; align-items: end; }
.bxh-bk { border-radius: 16px; padding: 12px 8px 10px; text-align: center; display: grid; justify-items: center; gap: 3px; min-width: 0;
  border: 1px solid color-mix(in srgb, var(--m) 55%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--m) 26%, transparent), rgba(10, 14, 44, .55)); }
.bxh-bk.rong { visibility: hidden; }
.bxh-bk.nhat { padding-top: 16px; }
.bxh-bk .hh { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.bxh-bk-hang { font: 800 1.1rem/1 "Barlow Condensed", Nunito, sans-serif; color: #ffe08a; }
.bxh-lvto { font-size: 1.55rem; font-weight: 900; line-height: 1.3; letter-spacing: .03em; padding-top: .2em; }
.bxh-bk.nhat .bxh-lvto { font-size: 2.1rem; }
.bxh-lvso { font-size: .7rem; color: #c6cdf0; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-top: -2px; }
.bxh-bk-ten { font-weight: 900; font-size: .9rem; line-height: 1.3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bxh .mo { color: #aeb6e0; font-style: italic; font-weight: 800; }
.bxh-bk-tien { font: 800 1.45rem/1.25 "Barlow Condensed", Nunito, sans-serif; color: #ffe08a; padding-bottom: 2px; }
.bxh-bk.nhat .bxh-bk-tien { font-size: 1.75rem; }
.bxh-bk-phu { font-size: .72rem; color: #c6cdf0; font-weight: 700; }
.bxh-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.bxh-ds li { display: grid; grid-template-columns: 22px 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 12px 6px 10px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--m) 45%, transparent); background: linear-gradient(100deg, color-mix(in srgb, var(--m) 22%, transparent), rgba(8, 12, 40, .45) 60%); }
.bxh-ds-h { color: #aeb6e0; font-weight: 900; text-align: center; }
.bxh-ds-t { display: grid; min-width: 0; line-height: 1.25; }
.bxh-ds-t b { font-size: 1.2rem; font-weight: 900; letter-spacing: .03em; padding-top: .15em; justify-self: start; }
.bxh-ds-t span { font-size: .8rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bxh-ds-t small { color: #aeb6e0; font-weight: 700; margin-left: 6px; font-style: normal; }
.bxh-ds-s { color: #ffe08a; font: 800 1.2rem/1.25 "Barlow Condensed", Nunito, sans-serif; white-space: nowrap; }
.bxh-toi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-radius: 12px; padding: 9px 12px; border: 1px dashed rgba(139, 197, 64, .6);
  background: rgba(139, 197, 64, .12); color: #e9f7d6; font-size: .86rem; }
.bxh-toi .bxh-lvto { font-size: 1.2rem; padding-top: .15em; }
.bxh-toi small { color: #c6cdf0; }
.bxh-cong { margin: 0 0 0 auto; }
.bxh-moi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; text-align: center; border-radius: 12px; padding: 10px 12px;
  background: rgba(246, 180, 14, .12); border: 1px solid rgba(246, 180, 14, .45); font-size: .9rem; color: #ffe08a; font-weight: 800; }
.bxh-moi a { background: linear-gradient(180deg, #ffd45a, #f6b40e); color: #241a00; border-radius: 99px; padding: 8px 16px; font-weight: 900; text-decoration: none; }
.bxh-tong { margin: 0; font-size: .84rem; color: #e8ecff; text-align: center; font-weight: 700; }
.bxh-dem { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bxh-dem > div { border-radius: 12px; padding: 8px 4px; text-align: center; display: grid; justify-items: center; gap: 2px;
  border: 1px solid color-mix(in srgb, var(--m) 50%, transparent); background: color-mix(in srgb, var(--m) 14%, rgba(8, 12, 40, .5)); }
.bxh-dem b { font: 800 1.3rem/1.2 "Barlow Condensed", Nunito, sans-serif; }
.bxh-dem b.khong { color: rgba(255, 255, 255, .35); }
.bxh-dem small { font-size: .6rem; color: #c6cdf0; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.bxh-chu { margin: 0; font-size: .74rem; color: #aeb6e0; }
/* Nút CTV / Đối tác (dùng lại .vd-hai bản 19) trên nền chàm */
.bxh .vd-nut { background: rgba(8, 12, 40, .5); border: 1px solid rgba(255, 255, 255, .15); }
.bxh .vd-nut label { color: #c6cdf0; }
.vd-cong-khai .khung-rong:has(> .bxh) { max-width: 980px; }
/* Hộp hỏi đồng ý một lần (Khu của tôi) + thẻ Bảng xếp hạng ở Khu của tôi */
.bxh-hoi { border: 2px solid #f6b40e; background: #fffaf0; }
.bxh-hoi .ruot { display: grid; gap: 6px; }
.bxh-hoi p { margin: 0; font-size: .86rem; color: #4b5578; }
@media (max-width: 560px) {
  .bxh { padding: 16px 12px; }
  .bxh-ky { margin-left: 0; }
  .bxh-buc { gap: 6px; }
  .bxh-bk .hh { width: 64px; height: 64px; }
  .bxh-bk.nhat .hh { width: 84px; height: 84px; }
  .bxh-lvto { font-size: 1.05rem; } .bxh-bk.nhat .bxh-lvto { font-size: 1.4rem; }
  .bxh-lvso { font-size: .56rem; }
  .bxh-bk-ten { font-size: .74rem; }
  .bxh-bk-tien { font-size: 1.15rem; } .bxh-bk.nhat .bxh-bk-tien { font-size: 1.35rem; }
  .bxh-bk-phu { font-size: .64rem; }
  .bxh-ds li { grid-template-columns: 18px 40px minmax(0, 1fr) auto; gap: 8px; }
  .bxh-ds li .hh { width: 40px; height: 40px; }
  .bxh-ds-t b { font-size: 1.02rem; }
  .bxh-dem { gap: 4px; } .bxh-dem small { font-size: .5rem; }
  .bxh-cong { margin-left: 0; }
}

/* ===== BẢN 23 — Tạo tài khoản hộ (src/trang/quan-tri-tao-ho.tsx, nhac-tao-ho.tsx; anh duyệt 25/10/2026) ===== */
.tkh-phieu { border: 2px solid #f6b40e; background: linear-gradient(180deg, #fffdf5, #fff); }
.tkh-phieu .ruot { display: grid; gap: 10px; }
.tkh-phieu-luoi { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 16px; align-items: center; }
.tkh-dong { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px dashed #dfe3ee; align-items: baseline; }
.tkh-dong span { font-size: .76rem; color: #5a6178; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.tkh-dong b { font-size: 1.1rem; word-break: break-all; }
.tkh-dong b.tkh-mk { font-size: 1.6rem; letter-spacing: .12em; color: #24337f; }
.tkh-qr { width: 170px; }
.tkh-dong-y { background: #fffaf0; border: 1.5px dashed #f1c75a; border-radius: 12px; padding: 10px 12px; }
.tkh-dat { margin-top: 4px; }
.tkh-nhac { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #eef6ff; border: 1px solid #b9d4ff; border-radius: 12px; padding: 10px 14px;
  font-size: .9rem; font-weight: 700; color: #1c2340; }
.tkh-nhac .hang-nut { margin-left: auto; }
.tkh-nhac form { margin: 0; }
/* Trang quản trị giao diện tối: nền phiếu / ô đồng ý trong mờ, chữ theo nền (không chữ trắng trên nền sáng) */
body.qt.toi .tkh-phieu { background: rgba(246, 180, 14, .07); }
body.qt.toi .tkh-dong { border-bottom-color: rgba(255, 255, 255, .14); }
body.qt.toi .tkh-dong span { color: #aeb6e0; }
body.qt.toi .tkh-dong b { color: #fff; }
body.qt.toi .tkh-dong b.tkh-mk { color: #ffd45a; }
body.qt.toi .tkh-dong-y { background: rgba(246, 180, 14, .1); color: #fff; }
body.qt.toi .tkh-qr { background: #fff; border-radius: 10px; padding: 6px; }
@media (max-width: 640px) {
  .tkh-phieu-luoi { grid-template-columns: minmax(0, 1fr); }
  .tkh-dong { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tkh-qr { justify-self: center; }
  .tkh-nhac .hang-nut { margin-left: 0; }
}
