/* ================================================================
   Cô Thanh English Hub — LỚP TINH CHỈNH V14 (25/08/2026)
   Nạp SAU style.css + motion.css. Chỉ thêm, không sửa file gốc.
   Giữ nguyên hệ màu: trắng/kem · vàng Bee's Home · xanh nhẹ.
   ================================================================ */

/* ---------- 1. Bỏ qua điều hướng (bàn phím / trình đọc màn hình) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
  padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
[id="main"]:focus { outline: none; }

/* ---------- 2. Viền focus rõ cho người dùng bàn phím ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.nav a.item:focus-visible, .crumb a:focus-visible, footer a:focus-visible { outline-offset: 4px; }
.btn:focus-visible { outline-color: var(--blue-deep); }

/* ---------- 3. Nút menu (chỉ hiện trên điện thoại) ---------- */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-left: auto;
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
  cursor: pointer; color: var(--ink); order: 3;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-bars, .nav-bars::before, .nav-bars::after {
  display: block; width: 20px; height: 2.5px; border-radius: 2px;
  background: var(--ink); transition: transform .24s ease, opacity .18s ease;
}
.nav-bars { position: relative; }
.nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; }
.nav-bars::before { top: -6.5px; }
.nav-bars::after  { top:  6.5px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after  { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 4. Ngăn kéo menu trên điện thoại ---------- */
@media (max-width: 760px) {
  .nav .wrap { flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; }
  .nav ul#navMenu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(43, 43, 43, .10);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .26s ease, visibility 0s linear .26s;
  }
  .nav ul#navMenu.open {
    max-height: 78vh; overflow-y: auto; visibility: visible;
    transition: max-height .26s ease, visibility 0s;
  }
  .nav ul#navMenu li { border-bottom: 1px solid var(--border); }
  .nav ul#navMenu li:last-child { border-bottom: 0; }
  .nav a.item {
    display: flex; align-items: center; min-height: 48px;
    padding: 8px 20px; font-size: 1rem;
  }
  .nav a.item:active { background: var(--gold-soft); }
}
@media (min-width: 761px) {
  .nav ul#navMenu { max-height: none; visibility: visible; }
}

/* ---------- 5. Đường dẫn trang (breadcrumb) ---------- */
.crumb { background: var(--cream); border-bottom: 1px solid var(--border); font-size: .82rem; }
.crumb .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  padding-top: 9px; padding-bottom: 9px; color: var(--muted);
}
.crumb a { color: var(--blue-deep); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb-sep { color: #b9b1a2; }
.crumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- 6. Thanh hành động dính đáy (chỉ điện thoại) ---------- */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 10px; align-items: stretch;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(43, 43, 43, .08);
  transform: translateY(110%); transition: transform .28s ease;
}
.mcta.show { transform: translateY(0); }
.mcta[hidden] { display: none; }
.mcta-main, .mcta-alt {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; border-radius: 12px; text-decoration: none;
  font-weight: 800; font-size: .95rem;
}
.mcta-main { flex: 1; background: var(--gold); color: var(--ink); }
.mcta-alt  { width: 84px; background: #fff; border: 1.5px solid var(--border); color: var(--blue-deep); }
.mcta-main:active, .mcta-alt:active { filter: brightness(.97); }
@media (max-width: 760px) {
  .mcta { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- 7. Điện thoại không có hover → cần trạng thái :active ---------- */
@media (hover: none) {
  .card:active, .qcard:active, .pain:active { transform: translateY(1px); }
  .btn:active { filter: brightness(.97); }
}

/* ---------- 8. Tôn trọng "giảm chuyển động" ---------- */
@media (prefers-reduced-motion: reduce) {
  .nav ul#navMenu, .mcta, .nav-bars, .nav-bars::before, .nav-bars::after { transition: none !important; }
}

/* ---------- 9. Ô tìm kiếm toàn site ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.srch { display: flex; gap: 10px; margin: 4px 0 14px; }
.srch input[type="search"] {
  flex: 1; min-width: 0; min-height: 48px;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
  padding: 10px 16px;
}
.srch input[type="search"]::placeholder { color: #a49c8e; }
.srch input[type="search"]:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.srch .btn { min-height: 48px; }
.srch-count { color: var(--muted); font-size: .9rem; margin-bottom: 10px; min-height: 1.2em; }

.srch-list { display: grid; gap: 10px; }
.srch-item {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 13px 16px; transition: border-color .18s, transform .18s;
}
.srch-item:hover { border-color: var(--gold); }
.srch-item:active { transform: translateY(1px); }
.srch-khu {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 3px;
}
.srch-t { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.srch-d { display: block; color: var(--muted); font-size: .88rem; margin-top: 5px; line-height: 1.6; }
.srch-none, .srch-hint { background: var(--cream); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
a.chip, button.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 14px;
  font-family: inherit; font-size: .88rem; font-weight: 600;
  color: var(--blue-deep); background: #fff;
  border: 1.5px solid var(--border); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .16s, border-color .16s, color .16s;
}
a.chip:hover, button.chip:hover { border-color: var(--gold); background: var(--gold-soft); }
button.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip-n { font-size: .78rem; color: var(--muted); font-weight:400; }
button.chip[aria-pressed="true"] .chip-n { color: var(--gold-text); }

/* ---------- 10. Bộ lọc kho tài liệu ---------- */
.filt {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 16px 12px; margin: 4px 0 18px;
}
.filt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.filt-lb {
  flex: 0 0 74px; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-deep);
}
.filt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filt-count { font-size: .86rem; color: var(--muted); margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--border); }
.filt-empty { font-size: .92rem; color: var(--ink); margin-top: 8px; }
.filt-reset {
  font-family: inherit; font-size: .86rem; font-weight: 700; color: var(--blue-deep);
  background: none; border: 0; border-bottom: 1.5px solid var(--blue-deep);
  cursor: pointer; padding: 2px 0; margin-left: 6px;
}
.card[hidden] { display: none; }
@media (max-width: 560px) {
  .filt-lb { flex-basis: 100%; margin-bottom: -2px; }
}

/* ---------- 11. Mục tìm kiếm trên thanh điều hướng ---------- */
.nav a.item.ic-srch { display: inline-flex; align-items: center; gap: 6px; }
.nav a.item.ic-srch svg { flex: none; }
@media (min-width: 761px) {
  /* Máy tính: chỉ hiện kính lúp — nhường chỗ cho 7 mục chữ, nav giữ 1 hàng */
  .ic-srch-tx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav ul#navMenu { gap: 2px 11px; }
  .nav a.item.ic-srch { padding: 6px 6px; border-radius: 8px; }
  .nav a.item.ic-srch:hover { background: var(--gold-soft); color: var(--gold-text); }
}

/* ---------- 12. Vùng chạm ≥44px trên điện thoại (luật chung mọi dự án) ---------- */
@media (max-width: 760px) {
  a.chip, button.chip { min-height: 44px; padding: 8px 15px; }
}

/* ---------- 13. Cỡ chữ đọc được trên điện thoại (luật chung: chữ ≥15px) ----------
   Đo 25/08: chữ mô tả trong thẻ và trong các bước lộ trình chỉ 14,4px — dưới ngưỡng.
   Nâng phần CHỮ ĐỌC lên 16px; phần nhãn nhỏ trang trí chỉ nâng sàn, không phóng to
   để không làm vỡ mấy thẻ minh hoạ vốn thiết kế gọn. */
@media (max-width: 760px) {
  .card > p,
  .path .st > p,
  .pain,
  .qcard p,
  .block > .wrap > p,
  .cta-band > .wrap > p { font-size: 1rem; line-height: 1.72; }

  /* nhãn nhỏ / chú thích trong thẻ minh hoạ — chỉ nâng sàn cho đỡ mỏi mắt */
  .learning-card small,
  .rp-row span,
  .video-lesson-card .goal,
  .teacher-mini-card .nm { font-size: .8rem; }
  .video-lesson-card > p { font-size: .95rem; }
  .video-lesson-card .goal { font-size: .95rem; }
  footer p { font-size: .95rem; line-height: 1.7; }
  footer p.small { font-size: .85rem; }
}

/* ================================================================
   14. BỘ LUYỆN TẬP TỰ CHẤM (quiz.js) — V15 · 25/08/2026
   Giữ nguyên hệ màu thương hiệu: kem · vàng Bee's Home · xanh nhẹ.
   ================================================================ */
.qz {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 18px 18px 16px; margin: 18px 0;
  box-shadow: 0 2px 10px rgba(43,43,43,.04);
}
.qz-head { margin-bottom: 14px; }
.qz-vong { font-weight: 700; color: var(--ink); font-size: 1rem; margin-bottom: 10px; }
.qz-bar { height: 6px; background: var(--gold-soft); border-radius: 999px; overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 999px; transition: width .4s ease; }

.qz-cau {
  border: 1px solid var(--border); border-left: 4px solid var(--border);
  border-radius: 12px; padding: 13px 15px; margin-bottom: 10px;
  transition: border-color .2s ease, background .2s ease;
}
.qz-cau.dung { border-left-color: #2f7d4f; background: #f4faf6; }
.qz-cau.sai  { border-left-color: #b3341f; background: #fdf6f4; }

.qz-hoi { display: block; font-size: 1rem; line-height: 1.7; color: var(--ink); margin-bottom: 9px; }
.qz-so { font-weight: 800; color: var(--gold-text); }

.qz-o {
  width: 100%; min-height: 48px; font-family: inherit; font-size: 1rem;
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px;
}
.qz-o:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }

.qz-chon { display: grid; gap: 8px; }
.qz-op {
  display: flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: border-color .16s, background .16s;
}
.qz-op:hover { border-color: var(--gold); background: var(--gold-soft); }
.qz-op input { width: 20px; height: 20px; accent-color: var(--gold-text); flex: none; }
.qz-op:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }

.qz-goiy {
  margin-top: 10px; padding: 10px 13px; font-size: .95rem; line-height: 1.65;
  background: var(--blue-soft); border-radius: 10px; color: var(--blue-deep);
}
.qz-bao { font-size: .93rem; font-weight: 600; margin-top: 8px; min-height: 0; }
.qz-cau.dung .qz-bao { color: #2f7d4f; }
.qz-cau.sai  .qz-bao { color: #b3341f; }

.qz-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.qz-nut { min-height: 48px; }
.qz-tinh { font-size: .93rem; color: var(--muted); flex: 1; min-width: 180px; }

/* ---------- màn chữa bài ---------- */
.qz-kq { border-top: 1px dashed var(--border); margin-top: 16px; padding-top: 16px; }
.qz-diem {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--gold-soft); border: 1px solid var(--gold);
  border-radius: 999px; padding: 8px 18px; margin-bottom: 10px;
}
.qz-diem strong { font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; color: var(--ink); }
.qz-diem span { font-size: .9rem; color: var(--gold-text); font-weight: 600; }
.qz-note { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }

.qz-chua { display: grid; gap: 10px; }
.qz-mot { position: relative; border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; background: var(--cream); }
.qz-mot.v1  { border-left: 4px solid #2f7d4f; }
.qz-mot.v23 { border-left: 4px solid var(--gold); }
.qz-mot.v0  { border-left: 4px solid #b3341f; }
.qz-mot-hoi { font-size: .97rem; color: var(--ink); line-height: 1.65; }
.qz-mot-dap { font-size: .97rem; margin-top: 6px; color: var(--ink); }
.qz-mot-gt  { font-size: .92rem; color: var(--muted); margin-top: 5px; line-height: 1.65; }
.qz-nhan {
  display: inline-block; margin-top: 8px; font-size: .76rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--gold-text);
}
.qz-mot.v1 .qz-nhan { color: #2f7d4f; }
.qz-mot.v0 .qz-nhan { color: #b3341f; }

.qz-lap {
  margin-top: 14px; padding: 12px 15px; font-size: .95rem; line-height: 1.65;
  background: var(--blue-soft); border-radius: 12px; color: var(--blue-deep);
}
.qz-lai { margin-top: 14px; }

@media (max-width: 560px) {
  .qz { padding: 15px 14px 14px; border-radius: 16px; }
  .qz-foot .btn { width: 100%; }
  .qz-tinh { min-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .qz-bar i, .qz-cau, .qz-op { transition: none !important; }
}

/* ---------- 15. Trang 404 (V15 · 25/08/2026) ---------- */
.hero.e404 { padding-top: 44px; padding-bottom: 34px; }
.e404-lead { max-width: 620px; margin-top: 10px; font-size: 1.05rem; line-height: 1.75; color: var(--body); }
.e404-srch { max-width: 560px; margin-top: 20px; }

.e404-grid { margin-top: 6px; }
a.card.e404-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--border); border-radius: 16px; padding: 18px 18px 16px;
  background: #fff; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
a.card.e404-card:hover {
  border-color: var(--gold); transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(43, 43, 43, .07);
}
a.card.e404-card:active { transform: translateY(0); }
a.card.e404-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
a.card.e404-card p { font-size: .95rem; line-height: 1.7; color: var(--muted); }

.e404-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 12px;
  border-radius: 12px; background: var(--gold-soft); color: var(--gold-text);
}
@media (hover: none) {
  a.card.e404-card:hover { transform: none; box-shadow: none; }
  a.card.e404-card:active { border-color: var(--gold); background: var(--cream); }
}
@media (prefers-reduced-motion: reduce) {
  a.card.e404-card { transition: none !important; }
}

/* ---------- 16. Khối "Con đang cần gì?" (§3 góp ý · V15) ---------- */
.block.cang { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cang-lead { margin-top: 8px; max-width: 620px; color: var(--body); }
.cang-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }

.cang-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 14px;
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: 14px; padding: 15px 16px; text-decoration: none; color: inherit;
  min-height: 56px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cang-row:hover { border-color: var(--gold); transform: translateX(2px); box-shadow: 0 6px 18px rgba(43,43,43,.06); }
.cang-row:active { transform: translateX(0); }

.cang-van { grid-column: 1; font-size: 1rem; line-height: 1.55; color: var(--ink); font-weight: 600; }
.cang-act {
  grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .95rem; color: var(--blue-deep); font-weight: 600;
}
.cang-act::before { content: "→"; color: var(--gold-text); font-weight: 800; }
.cang-meta {
  font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--muted); background: var(--cream); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px 9px;
}
.cang-meta.cang-moi { color: var(--gold-text); background: var(--gold-soft); border-color: var(--gold); }
.cang-mui { grid-column: 2; grid-row: 1 / span 2; color: var(--gold-text); flex: none; }

.cang-duoi { margin-top: 16px; font-size: .97rem; color: var(--body); line-height: 1.7; }

@media (min-width: 700px) {
  .cang-row { grid-template-columns: 1fr auto auto; }
  .cang-van { grid-column: 1; }
  .cang-act { grid-column: 2; justify-self: end; }
  .cang-mui { grid-column: 3; grid-row: 1; }
}
@media (hover: none) {
  .cang-row:hover { transform: none; box-shadow: none; }
  .cang-row:active { background: var(--gold-soft); }
}
@media (prefers-reduced-motion: reduce) { .cang-row { transition: none !important; } }

/* ---------- 17. Menu sáng đúng trang đang đứng (§17 góp ý) ---------- */
.nav a.item[aria-current="page"] {
  color: var(--ink); font-weight: 700; position: relative;
}
@media (min-width: 761px) {
  .nav a.item[aria-current="page"]::after {
    content: ""; position: absolute; left: 2px; right: 2px; bottom: -1px;
    height: 3px; border-radius: 3px 3px 0 0; background: var(--gold);
  }
}
@media (max-width: 760px) {
  .nav ul#navMenu li a.item[aria-current="page"] {
    background: var(--gold-soft); box-shadow: inset 4px 0 0 var(--gold);
  }
}

/* ---------- 18. Footer 4 cột (§18 góp ý) ---------- */
.ft-cols { display: grid; gap: 26px 24px; margin-bottom: 22px; }
@media (min-width: 620px) { .ft-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .ft-cols { grid-template-columns: repeat(4, 1fr); } }

.ft-col { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.ft-h {
  font-family: 'Be Vietnam Pro', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 2px;
}
.ft-col a {
  font-size: .95rem; line-height: 1.5; color: var(--body); text-decoration: none;
  min-height: 28px; display: inline-flex; align-items: center;
}
.ft-col a:hover { color: var(--blue-deep); text-decoration: underline; }
.ft-lienhe { font-size: .9rem; line-height: 1.75; color: var(--muted); margin-top: 4px; }

.ft-legal { border-top: 1px solid var(--border); padding-top: 16px; }
.ft-legal p { font-size: .95rem; line-height: 1.7; }
.ft-legal p.small { font-size: .85rem; color: var(--muted); margin-top: 6px; }

@media (max-width: 760px) {
  .ft-col a { min-height: 40px; }
}

/* ---------- 19. Khối "Chọn nhanh" trên trang Kho tài liệu ---------- */
.cn-lead { margin-top: 8px; max-width: 620px; color: var(--body); }
.cn-hang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; }
.cn-nhan {
  flex: 0 0 108px; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-deep);
}
.cn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
a.chip.chip-on, a.chip[aria-current="true"] {
  background: var(--gold); border-color: var(--gold); color: var(--ink);
}
a.chip.chip-on .chip-n { color: var(--gold-text); }
@media (max-width: 560px) {
  .cn-nhan { flex-basis: 100%; margin-bottom: -2px; }
}

/* ---------- 20. "Sau bài này con nên xem gì?" (mạng liên kết nội bộ) ---------- */
.block.lq { background: var(--cream); border-top: 1px solid var(--border); }
.lq-list { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.lq-item {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--blue);
  border-radius: 12px; padding: 13px 15px; min-height: 52px;
  text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}
.lq-item:hover { border-color: var(--blue); transform: translateX(2px); }
.lq-item:active { transform: translateX(0); }
.lq-ten { flex: 1; font-size: 1rem; line-height: 1.55; color: var(--ink); font-weight: 600; }
.lq-nhan {
  flex: none; font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--gold-text); background: var(--gold-soft); border: 1px solid var(--gold);
  border-radius: 999px; padding: 3px 9px;
}
.lq-mui { flex: none; color: var(--blue-deep); }
.lq-hub { margin-top: 14px; font-size: .95rem; color: var(--body); }
@media (hover: none) {
  .lq-item:hover { transform: none; }
  .lq-item:active { background: var(--blue-soft); }
}
@media (prefers-reduced-motion: reduce) { .lq-item { transition: none !important; } }

/* ---------- 21. Form đăng ký — nhãn, ô bắt buộc, chữ trợ giúp ---------- */
.form-note { font-size: .93rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.req { color: #b3341f; font-weight: 700; }
.form-hd {
  display: block; font-size: .88rem; color: var(--muted);
  line-height: 1.6; margin: -6px 0 12px;
}
.form label { margin-top: 12px; }
.form input, .form select, .form textarea {
  /* 16px để iPhone KHÔNG tự phóng to trang khi chạm vào ô nhập */
  font-size: 16px; min-height: 48px;
}
.form textarea { min-height: 88px; }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-soft);
}
.form input:invalid:not(:placeholder-shown) { border-color: #b3341f; }

/* ---------- 22. Form nối hệ chung + nhóm Zalo (25/08) ---------- */
.form-tuychon { font-weight: 400; color: var(--muted); font-size: .88rem; }
.form-bao { margin-top: 12px; font-size: .95rem; line-height: 1.65; min-height: 0; }
.form-bao.loi {
  color: #b3341f; background: #fdf6f4; border: 1px solid #f0d6cf;
  border-radius: 10px; padding: 11px 14px;
}
.form-bao.loi a { color: #b3341f; font-weight: 700; }
.bh-nhom {
  background: var(--blue-soft); border: 1px solid #d5e4ef;
  border-radius: 16px; padding: 20px 22px;
}
.bh-nhom h2 { margin-bottom: 8px; }
.bh-nhom p { line-height: 1.72; }
.bh-nhom .btn { margin-top: 12px; }
