/* HX ADMIN V2 • tuyendung.css — trang "Tuyển dụng" (dùng thêm .al-form/.al-sec/.al-three của aolang.css, .sl-two của sales.css) */
.td-bar { padding: 10px 12px; overflow-x: auto; }
.td-fil { justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 6px; }
.td-fr { gap: 8px; flex: 1; justify-content: flex-end; min-width: 260px; }
.td-fr .search { flex: 1; max-width: 280px; min-width: 160px; }
.td-sel select { min-width: 150px; }
.td-row { width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--soft); color: inherit; font: inherit; cursor: pointer; border-radius: 0; }
.td-row:hover b { color: var(--blue); }
.td-stars { color: #f5b301; letter-spacing: 1px; font-size: 13px; white-space: nowrap; }
.td-stars i { font-style: normal; color: var(--track); }
.td-snap { margin-top: 0; }
.td-qa { display: grid; gap: 10px; }
.td-qa > div { padding: 12px 14px; border-radius: 14px; background: var(--raised); border: 1px solid var(--raisedb); }
.td-qa b { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.td-qa p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.td-rate { display: flex; gap: 4px; margin-bottom: 8px; }
.td-rate button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--soft); background: var(--raised); color: var(--track); font-size: 20px; cursor: pointer; }
.td-rate button.on { color: #f5b301; border-color: #f5b301; }
.td-iv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.td-tl { display: grid; gap: 6px; max-height: 220px; overflow: auto; font-size: 12.5px; padding: 10px 12px; border-radius: 14px; background: var(--raised); border: 1px solid var(--raisedb); }
.td-tl span { color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
.td-noterow { gap: 8px; margin-top: 8px; }
.td-pr { display: flex; flex-wrap: wrap; gap: 8px; }
.td-pos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.td-pc .row { gap: 12px; align-items: center; }
.td-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: rgba(255, 196, 0, 0.14); flex-shrink: 0; }
.td-desc { margin: 10px 0 0; font-size: 13px; }
.td-pc .chips { margin-top: 10px; }
.td-two1 { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.td-q { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 14px; background: var(--raised); border: 1px solid var(--raisedb); margin-bottom: 8px; }
.td-qn { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12px "Space Grotesk", sans-serif; background: var(--track); flex-shrink: 0; margin-top: 6px; }
.td-qf { display: grid; gap: 6px; min-width: 0; }
.td-qo { gap: 6px; }
.chip-t { height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--soft); background: transparent; color: var(--muted); font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.chip-t.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-t.red { color: var(--redt); }
.td-tb { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.td-tbl { margin-top: 10px; overflow-x: auto; }
.td-th, .td-tr { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(6, minmax(70px, 1fr)); gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--soft); font-size: 13.5px; min-width: 640px; }
.td-th { border-top: 0; font-size: 12px; color: var(--muted); font-weight: 600; }
.td-set { display: grid; gap: 16px; max-width: 640px; }
.td-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; max-height: 200px; overflow: auto; }
.td-re { max-width: 160px; }
.sheet:has(.td-form) > *, .sheet:has(.td-qa) > * { flex-shrink: 0; }
@media (max-width: 900px) { .td-pos { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .td-iv { grid-template-columns: minmax(0, 1fr); }
  .td-fr { justify-content: flex-start; }
  .td-row .td-stars { display: none; }
  .li .td-tb { width: 100%; justify-content: flex-start; padding-left: 50px; }
}
.td-web { max-width: 760px; }
.td-pi { width: 64px; flex-shrink: 0; }
.td-web .td-q { align-items: center; }
.td-pban { display: block; width: calc(100% + 44px); margin: -22px -22px 14px; aspect-ratio: 16 / 6; object-fit: cover; border-radius: 18px 18px 0 0; }
.td-ban { aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden; background: var(--raised); border: 1.5px dashed var(--soft); display: grid; place-items: center; }
.td-ban img { width: 100%; height: 100%; object-fit: cover; display: block; }
.td-ban span { display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; text-align: center; padding: 10px; }
.td-banb { gap: 8px; margin-top: 8px; }
@media (max-width: 640px) { .td-pban { width: calc(100% + 32px); margin: -16px -16px 12px; } }

/* ---- sửa lỗi tràn khung trên điện thoại (21/10/2026) ---- */
.td-set > * { min-width: 0; }
.td-q > .grow { min-width: 0; flex: 1 1 0; }
.td-q > .chip-t, .td-q > .td-pi, .td-q > .td-qn { flex-shrink: 0; }
.td-qf > * { min-width: 0; }
