/* Phòng luyện Hộp chat (122, 20/10/2026) — tiền tố lc-. Dùng lại nguyên lớp hc- của hop-chat.css (nạp TRƯỚC tệp này); chỉ token theme.
   Màu cố định DUY NHẤT: hổ phách #b45309 (--lc-mau) cho nhãn / viền "LUYỆN TẬP" — chữ trắng trên nền này ≥ 4,5:1 ở mọi theme — để khung luyện
   KHÁC màu Hộp chat thật, không ai nhầm đang trả lời khách thật. Màn bảng (Kết quả / Học viên / Bộ đề) gốc .lc-bang-trang, KHÔNG có .hc-trang
   (hop-chat.css khoá cuộn trang ≤ 760 px khi có .hc-trang). Nút ≥ 44 px trên điện thoại, focus rõ, có reduced motion. */
.lc-trang { --lc-mau: #b45309; color: var(--text-main); min-width: 0; max-width: 100%; box-sizing: border-box; }
.lc-trang :is(button, input, select, textarea, a, summary):focus-visible { outline: 2px solid var(--theme-accent-strong); outline-offset: 2px; }
.lc-nhan { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 6px; background: var(--lc-mau); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.lc-dai { margin: 0; padding: 6px 12px; border-left: 3px solid var(--lc-mau); background: var(--bg-input, var(--bg-card)); color: var(--text-main); font-size: 12px; font-weight: 600; }
.lc-trang .hc-khung { min-width: 0; max-width: 100%; border-color: var(--lc-mau); box-shadow: inset 0 3px 0 var(--lc-mau); }
.lc-tabs { margin: 0 0 8px; flex-wrap: wrap; }
.lc-ghi { margin: 4px 0 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

/* Giới thiệu (chưa có ca) */
.lc-gioi-thieu { display: grid; gap: 10px; justify-items: start; max-width: 640px; margin: 8px 0; padding: 18px; border: 1px solid var(--lc-mau); border-radius: 8px; background: var(--bg-card); }
.lc-gioi-thieu h1 { margin: 0; font-size: 20px; font-weight: 700; }
.lc-gioi-thieu p { margin: 0; line-height: 1.5; max-width: 60ch; }
.lc-het { font-weight: 600; color: var(--txt-warn); }
.lc-chon-so { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.lc-chon-so legend { margin-bottom: 6px; font-size: 13px; color: var(--text-muted); }
.lc-chon-so .hc-nut.is-bat { border-color: var(--theme-accent-strong); box-shadow: inset 0 0 0 1px var(--theme-accent-strong); color: var(--theme-accent-strong); }

/* Ca đang làm */
.lc-ds-tieu { padding: 6px 4px; font-size: 12.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.lc-cho-toi { padding: 12px 14px; font-size: 13px; color: var(--text-muted); font-style: italic; list-style: none; }
.lc-da-tl { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border: 1px solid var(--txt-ok); border-radius: 6px; color: var(--txt-ok); font-size: 12px; font-weight: 600; white-space: nowrap; }
.lc-sot { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border: 1px solid var(--txt-bad); border-radius: 6px; color: var(--txt-bad); font-size: 12px; font-weight: 600; }
.lc-trang .hc-av { overflow: hidden; }
.lc-trang .hc-av-chu { font-size: 12px; font-weight: 700; letter-spacing: 0; line-height: 1.05; text-align: center; max-width: 100%; overflow: hidden; }
.lc-trang .hc-tin-vao .hc-av-chu { font-size: 9px; letter-spacing: 0; }
.lc-lui { display: none; }
.lc-kenh { display: inline-flex; align-items: center; min-height: 20px; padding: 0 6px; border: 1px solid var(--border-color); border-radius: 5px; font-size: 11.5px; font-weight: 600; }
.lc-kenh.is-facebook { color: var(--hc-fb, #1877f2); } .lc-kenh.is-zalo, .lc-kenh.is-zalo_oa { color: var(--hc-zl, #0068ff); } .lc-kenh.is-instagram { color: var(--hc-ig, #d62976); }
.lc-cat { align-self: center; margin: 4px 0; font-size: 12px; color: var(--text-muted); font-style: italic; }
.lc-che { display: inline-block; padding: 0 5px; border: 1px dashed currentColor; border-radius: 5px; font-size: .92em; font-style: italic; opacity: .78; white-space: nowrap; }
.lc-the-nut { flex: none; white-space: nowrap; }
.lc-trang .hc-soan-ic { flex-wrap: wrap; gap: 4px; margin: 0 0 6px; overflow: visible; }
.lc-cua-ban .hc-bong { box-shadow: 0 0 0 2px var(--lc-mau); }
.lc-tong-ket { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; padding: 8px 12px; border: 1px solid var(--lc-mau); border-radius: 8px; background: var(--bg-card); }
.lc-tong-ket p { margin: 0; }
.lc-tong-ket div { display: flex; flex-wrap: wrap; gap: 6px; }

/* Thẻ kết quả một câu (dưới khung chat sau khi gửi + màn chi tiết) */
.lc-ket { display: grid; gap: 8px; max-height: 46%; overflow-y: auto; overscroll-behavior: contain; padding: 10px 12px; border-top: 1px solid var(--border-color); background: var(--bg-card); }
.lc-cau-ct .lc-ket { max-height: none; border: 1px solid var(--border-color); border-radius: 8px; }
.lc-diem { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; }
.lc-diem b { font-size: 16px; }
.lc-diem span { font-size: 12px; color: var(--text-muted); }
.lc-tc { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.lc-tc li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 6px; padding: 4px 0; border-bottom: 1px solid var(--border-color); font-size: 13px; }
.lc-tc-nguoi { width: 100%; font-size: 11.5px; color: var(--theme-accent-strong); }
.lc-loi, .lc-canh { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.lc-loi li, .lc-canh li { padding: 4px 8px; border-left: 3px solid var(--border-color); border-radius: 4px; background: var(--bg-input, var(--bg-card)); }
.lc-loi q { color: var(--text-muted); }
.lc-loi-nang { border-left-color: var(--txt-bad) !important; }
.lc-loi-nang b { color: var(--txt-bad); }
.lc-loi-thuong { border-left-color: var(--txt-warn) !important; }
.lc-loi-nhe { border-left-color: var(--text-muted) !important; }
.lc-canh li { border-left-color: var(--txt-warn); }
.lc-nx { margin: 0; font-size: 13px; }
.lc-dap-an { display: grid; gap: 6px; }
.lc-dap-an h3 { margin: 0; font-size: 13px; font-weight: 700; }
.lc-dap-an .hc-bong { border: 1px dashed var(--border-color); background: var(--bg-input, var(--bg-card)); color: var(--text-main); }

/* Màn bảng */
.lc-bang-trang { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; min-width: 0; max-width: 100%; }
.lc-bang-trang > * { min-width: 0; }
.lc-bang-trang .hc-dau { margin: 0; }
.lc-loc { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.lc-loc label { display: grid; gap: 2px; font-size: 12.5px; color: var(--text-muted); }
.lc-loc input { min-height: 40px; padding: 0 8px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-input, var(--bg-card)); color: var(--text-main); font: inherit; }
.lc-the-tom { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 0; }
.lc-the-tom div { padding: 8px 10px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); }
.lc-the-tom dt { font-size: 12px; color: var(--text-muted); }
.lc-the-tom dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lc-bang-cuon { overflow-x: auto; max-width: 100%; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); }
.lc-bang { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lc-bang th, .lc-bang td { padding: 7px 10px; border-bottom: 1px solid var(--border-color); text-align: left; white-space: nowrap; }
.lc-bang th { font-size: 12px; font-weight: 700; color: var(--text-muted); background: var(--bg-input, var(--bg-card)); }
.lc-bang tr:last-child td { border-bottom: 0; }
.lc-xl-tot { color: var(--txt-ok); font-weight: 700; }
.lc-xl-dat { color: var(--text-main); font-weight: 700; }
.lc-xl-chan { color: var(--txt-bad); font-weight: 700; }
.lc-lui-bang { justify-self: start; min-height: 36px; }
.lc-cau-ct { display: grid; gap: 10px; }
.lc-cau-ct h2 { margin: 0; font-size: 16px; }
.lc-dieu-huong { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-hoi-thoai { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--lc-mau); border-radius: 8px; background: var(--bg-app, var(--bg-card)); }
.lc-sua { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); }
.lc-sua h3 { margin: 0; font-size: 14px; }
.lc-sua-o { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.lc-sua label { display: grid; gap: 4px; font-size: 12.5px; color: var(--text-muted); }
.lc-sua select, .lc-sua textarea { min-height: 40px; padding: 6px 8px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-input, var(--bg-card)); color: var(--text-main); font: inherit; }
.lc-sua textarea { resize: vertical; }
.lc-sua-nx span { display: flex; justify-content: space-between; }
.lc-sua .hc-nut.is-chinh { justify-self: start; }
.lc-ls summary { cursor: pointer; font-size: 13px; font-weight: 600; min-height: 32px; }
.lc-ls ul { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--text-muted); }
.lc-tien-do { display: flex; align-items: center; gap: 8px; }
.lc-tien-do progress { width: min(320px, 70%); height: 10px; accent-color: var(--lc-mau); }

/* Thi sát hạch (144, anh Nghĩa chốt 02/11/2026) — đỏ #b91c1c thay hổ phách cho mọi màn thi: chữ trắng trên nền này 6,5:1 (≥ 4,5:1, mọi theme),
   để học viên không lẫn ca thi với ca luyện. Nhãn kết quả dùng token chữ theme (--txt-ok / --txt-bad) như xếp loại đang có. */
.lc-trang.lc-thi { --lc-mau: #b91c1c; }
.lc-thi-nhan, .lc-thi-the { background: #b91c1c; color: #fff; }
.lc-thi-the { display: inline-flex; align-items: center; min-height: 20px; padding: 0 6px; border-radius: 5px; font-size: 11.5px; font-weight: 700; }
.lc-thi-con { font-weight: 700; color: var(--txt-bad); font-variant-numeric: tabular-nums; }
.lc-thi-nop { border-color: var(--txt-bad); color: var(--txt-bad); font-weight: 700; }
.lc-thi-da-nop p { margin: 0; font-size: 15px; }
.lc-thi-kq { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border: 1px solid currentColor; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lc-thi-kq.is-dau { color: var(--txt-ok); }
.lc-thi-kq.is-rot { color: var(--txt-bad); }
.lc-thi-kq.is-cho { color: var(--text-muted); }
.lc-thi-h2, .lc-thi-dk h2 { margin: 4px 0 0; font-size: 16px; }
.lc-thi-dk, .lc-thi-hv, .lc-thi-ds, .lc-thi-ct { display: grid; gap: 8px; min-width: 0; }
.lc-thi-ct h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 16px; }
.lc-thi-ngay { font-size: 15px !important; }
.lc-thi-ghi-dk { margin: 0; font-weight: 600; }
.lc-thi-chua { margin: 0; color: var(--txt-warn); font-weight: 600; }
.lc-thi-tt { white-space: normal !important; min-width: 160px; max-width: 320px; color: var(--text-muted); }
.lc-thi-tt.is-du { color: var(--txt-ok); font-weight: 600; }
.lc-thi-hv .hc-o-loi ul, .lc-thi-goi-y ul { margin: 4px 0 0; padding-left: 18px; }
.lc-thi-goi-y, .lc-thi-kl-kq { padding: 10px 12px; border: 1px solid var(--border-color); border-left: 4px solid var(--text-muted); border-radius: 8px; background: var(--bg-card); }
.lc-thi-goi-y p, .lc-thi-kl-kq p { margin: 0; }
.lc-thi-kl-kq p + p { margin-top: 4px; }
.lc-thi-goi-y.is-dau, .lc-thi-kl-kq.is-dau { border-left-color: var(--txt-ok); }
.lc-thi-goi-y.is-rot, .lc-thi-kl-kq.is-rot { border-left-color: var(--txt-bad); }
.lc-thi-kl textarea { font-size: 16px; }
.lc-de-nut { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }   /* ≥ 16 px: iPhone không tự phóng to khi chạm ô nhập */
.lc-thi-kl-nut { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-thi-kl-nut .hc-nut { min-width: 96px; font-weight: 700; }
.lc-thi-dau:not(:disabled) { border-color: var(--txt-ok); color: var(--txt-ok); }
.lc-thi-rot:not(:disabled) { border-color: var(--txt-bad); color: var(--txt-bad); }

/* 157 (19/11/2026): thi chat 1:1 + chấm Đạt / Không đạt từng câu. Chỉ token theme; chữ + màu (không chỉ màu) cho trạng thái. */
.lc-thi-chi-dan { margin: 0; padding: 6px 12px; border-top: 1px solid var(--border-color); font-size: 13px; font-weight: 600; color: var(--txt-bad); overflow-wrap: anywhere; }
.lc-cd-tong { margin: 0; padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); font-weight: 700; overflow-wrap: anywhere; }
.lc-cd-ds { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.lc-cd-cau { display: grid; gap: 8px; min-width: 0; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); }
.lc-cd-dau { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.lc-cd-dau h3 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.lc-cd-nhan { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 1px solid currentColor; border-radius: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.lc-cd-nhan.is-dat { color: var(--txt-ok); }
.lc-cd-nhan.is-khong, .lc-cd-nhan.is-sot { color: var(--txt-bad); }
.lc-cd-nhan.is-chua { color: var(--text-muted); }
.lc-cd-o { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lc-cd-hoi { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-app, var(--bg-card)); }
.lc-cd-tl { display: grid; gap: 4px; min-width: 0; }
.lc-cd-tl .hc-bong, .lc-cd-dap .hc-bong { max-width: 100%; overflow-wrap: anywhere; white-space: pre-wrap; }
.lc-cd-tl .hc-bong { border: 1px solid var(--txt-bad); background: var(--bg-input, var(--bg-card)); color: var(--text-main); }
.lc-cd-nho { margin: 0; font-size: 12.5px; color: var(--text-muted); }
.lc-cd-dap { min-width: 0; }
.lc-cd-dap summary { display: flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-muted); list-style: none; }
.lc-cd-dap summary::-webkit-details-marker { display: none; }
.lc-cd-dap summary::before { content: "▸"; flex: none; }
.lc-cd-dap[open] > summary::before { content: "▾"; }
.lc-cd-dap .hc-bong { border: 1px dashed var(--border-color); background: var(--bg-input, var(--bg-card)); color: var(--text-main); }
.lc-cd-cham { display: grid; gap: 8px; min-width: 0; }
.lc-cd-nut { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-cd-nut .hc-nut { min-height: 44px; }
.lc-cd-dat, .lc-cd-khong { min-width: 112px; font-weight: 700; }
.lc-cd-dat { border-color: var(--txt-ok); color: var(--txt-ok); }
.lc-cd-khong { border-color: var(--txt-bad); color: var(--txt-bad); }
.lc-cd-dat.is-chon { background: var(--txt-ok); border-color: var(--txt-ok); color: var(--bg-card); }
.lc-cd-khong.is-chon { background: var(--txt-bad); border-color: var(--txt-bad); color: var(--bg-card); }
.lc-cd-nx { display: grid; gap: 4px; min-width: 0; font-size: 13px; }
.lc-cd-nx textarea { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-input, var(--bg-card)); color: var(--text-main); font: inherit; font-size: 16px; }

@media (max-width: 1180px), (pointer: coarse) {
  .lc-the-nut, .lc-trang .hc-soan-nut .hc-nut.is-chinh, .lc-lui-bang, .lc-ls summary, .lc-loc input, .lc-sua select, .lc-sua textarea { min-height: 44px; }
  .lc-thi .hc-nut-gon, .lc-thi .hc-nut, .lc-thi .hc-link { min-height: 44px; }   /* vùng chạm ≥ 44 px (luật 31/10) cho mọi nút màn thi */
  .lc-thi .lc-loc input, .lc-thi textarea, .lc-thi select { font-size: 16px; }
}
@media (max-width: 760px) {
  .lc-lui { display: inline-grid; }
  .hc-trang.lc-luyen.is-xem-chat .lc-tabs, .hc-trang.lc-luyen.is-xem-chat .lc-tong-ket { display: none; }
  .lc-trang .hc-dau .lc-nhan { flex: none; }
  .lc-ket { max-height: 52%; }
  .lc-gioi-thieu { padding: 14px; }
  .lc-loc input, .lc-sua select, .lc-sua textarea { min-height: 44px; }
  .lc-lui-bang, .lc-ls summary { min-height: 44px; }
  .lc-the-tom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Ca thi trên iPhone: hop-chat.css ẩn hàng đầu trang ở màn danh sách — ca thi PHẢI luôn thấy nhãn đỏ, đồng hồ và nút Nộp bài. */
  .hc-trang.lc-luyen.lc-thi.is-xem-ds:not(.is-mo-dau) .hc-dau { display: flex; flex-wrap: wrap; }
  .hc-trang.lc-thi .hc-dau > div:first-child { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .hc-trang.lc-thi .hc-dau .hc-sub { display: block; width: 100%; margin: 0; }
  .hc-trang.lc-thi .hc-dau-nut { flex: none; }
  .hc-trang.lc-thi .hc-dau-nut .hc-nut.lc-thi-nop { width: auto; padding: 0 14px; border-color: var(--txt-bad); background: var(--bg-card); }
  /* 157: bảng chọn người thi trên điện thoại = thẻ từng người (nút Mở kỳ thi luôn thấy, không phải cuộn ngang). */
  .lc-thi-chon, .lc-thi-chon tbody { display: block; }
  .lc-thi-chon thead { display: none; }
  .lc-thi-chon tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 12px; border-bottom: 1px solid var(--border-color); }
  .lc-thi-chon tr:last-child { border-bottom: 0; }
  .lc-thi-chon td { display: block; padding: 0; border: 0; white-space: normal; min-width: 0; max-width: none; overflow-wrap: anywhere; }
  .lc-thi-chon td:nth-child(1) { font-weight: 700; }
  .lc-thi-chon td:nth-child(2) { color: var(--text-muted); }
  .lc-thi-chon td:nth-child(3), .lc-thi-chon td:nth-child(6) { grid-column: 1 / -1; }
  .lc-thi-chon td:nth-child(4), .lc-thi-chon td:nth-child(5) { font-size: 12.5px; color: var(--text-muted); }
  .lc-thi-chon td:nth-child(4)::before { content: "Ca luyện 14 ngày: "; }
  .lc-thi-chon td:nth-child(5)::before { content: "Lần chưa đạt: "; }
  .lc-thi-chon .lc-thi-mo { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-trang *, .lc-trang *::before, .lc-trang *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Ảnh / video trong bài thi (158) — khay đính kèm trên ô soạn + tệp trong bong bóng + phóng to ảnh. Ô bấm ≥ 44 px trên điện thoại, không tràn ngang. */
.lc-dk-nut { flex: none; gap: 4px; white-space: nowrap; border-color: var(--lc-mau); color: var(--text-main); font-weight: 700; }
.lc-dk { display: flex; gap: 8px; margin: 0 0 6px; padding: 2px 0 4px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; max-width: 100%; }
.lc-dk-o { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 4px; flex: 0 0 auto; width: 210px; max-width: calc(50vw - 28px);
  padding: 4px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--bg-card); box-sizing: border-box; }
.lc-dk-o.is-loi { border-color: var(--txt-bad); }
.lc-dk-hinh { width: 44px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--bg-input, var(--bg-card)); display: grid; place-items: center; }
.lc-dk-hinh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-dk-ic { display: grid; justify-items: center; gap: 1px; color: var(--text-muted); font-size: 10.5px; }
.lc-dk-chu { display: grid; gap: 2px; min-width: 0; font-size: 12px; }
.lc-dk-ten { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.lc-dk-co, .lc-dk-xong { color: var(--text-muted); font-size: 11.5px; }
.lc-dk-xong { color: var(--txt-ok); }
.lc-dk-loi { color: var(--txt-bad); font-size: 11.5px; line-height: 1.3; }
.lc-dk progress { width: 100%; height: 6px; accent-color: var(--lc-mau); }
.lc-dk-go { width: 44px; height: 44px; font-size: 16px; }
.lc-tl-o { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 0; max-width: 100%; }
.lc-cd-tl .lc-tl-o { align-items: flex-start; }
.lc-tep-ds { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: min(100%, 340px); }
.lc-cd-tl .lc-tep-ds { justify-content: flex-start; }
.lc-tep-anh { display: block; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--bg-input, var(--bg-card)); cursor: zoom-in; box-shadow: 0 0 0 2px var(--lc-mau); }
.lc-tep-anh img { display: block; width: auto; height: auto; max-width: min(220px, 62vw); max-height: 260px; min-width: 44px; min-height: 44px; object-fit: cover; }
.lc-tep-video { display: block; width: 240px; max-width: min(240px, 66vw); max-height: 320px; border-radius: 12px; background: #000; box-shadow: 0 0 0 2px var(--lc-mau); }
.lc-tep-cho { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px dashed var(--border-color); border-radius: 12px; font-size: 12.5px; color: var(--text-muted); }
.lc-tep-cho.is-loi { color: var(--txt-bad); border-style: solid; }
.lc-phong { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; gap: 12px; padding: 16px; background: rgba(0, 0, 0, .86); cursor: zoom-out; }
.lc-phong img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; border-radius: 8px; }
.lc-phong-dong { min-height: 44px; min-width: 96px; }
@media (max-width: 760px) {
  .lc-dk-nut { min-height: 44px; }
}

/* Chữ «Thi lên nhân viên chính thức» (anh Nghĩa chốt 19/11/2026, phương án A): câu giới thiệu tab Thi + câu kết quả cho người thi. */
.lc-thi-gioi-thieu { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.lc-thi-loi-kq { margin: 0 0 4px; font-size: 16px; line-height: 1.45; }
@media (max-width: 760px) {
  /* Tên kỳ thi dài hơn («Thi lên nhân viên chính thức»): Hộp chat đặt h1 không xuống dòng + khối trái flex:none → tràn / cắt nhãn đỏ ở 390 px. Màn luyện cho xuống dòng. */
  .lc-trang .hc-dau > div:first-child { flex: 1 1 auto; min-width: 0; }
  .lc-trang .hc-dau h1 { white-space: normal; }
}
/* 159: hộp xác nhận «Đạt — lên chính thức» + tóm tắt sau khi đạt */
.lc-lct-xn { padding: 12px 14px; border: 1px solid var(--border-color); border-left: 4px solid var(--txt-ok); border-radius: 8px; background: var(--bg-card); display: grid; gap: 8px; }
.lc-lct-xn h4 { margin: 0; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.lc-lct-xn p { margin: 0; }
.lc-lct-ds { margin: 0; padding-left: 20px; display: grid; gap: 4px; line-height: 1.45; overflow-wrap: anywhere; }
.lc-lct-kq { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border-color); }
.lc-lct-kq p { margin: 0; }
.lc-lct-xn .hc-nut { min-height: 44px; }
@media (max-width: 760px) { .lc-lct-xn .lc-thi-kl-nut .hc-nut { flex: 1 1 100%; } }
