/* Bảng tin + chat nội bộ (28/09/2026) — bản XEM TRƯỚC 2 phương án. Theo baseline iTN: token theme, bo tối đa 8px, không thẻ lồng thẻ,
   đường kẻ chỉ để phân tách, nút ≥44px trên điện thoại, icon Lucide. Phần TIN NHẮN vẽ lại kiểu Zalo (01/10/2026 tối) ở cuối tệp. */
.bt { color: var(--text-main); }
.bt-ic { flex: none; vertical-align: -3px; }
.bt-td { margin: 0 0 12px; font-size: 26px; font-weight: 700; }
.bt-mo { margin: 0; font-size: 12px; color: var(--text-muted); }
.bt-av { position: relative; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.bt-av-nho { width: 32px; height: 32px; font-size: 11.5px; }
.bt-dem { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--txt-bad, #c2261b); color: var(--bg-card, #fff); font-size: 11px; font-weight: 700; margin-left: auto; }   /* chữ = màu nền thẻ: theme tối nền đỏ nhạt chữ tối (trước chữ trắng chỉ 1,6–3,1:1) */
.bt-ic-nut { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--text-muted); cursor: pointer; flex: none; }
.bt-ic-nut:hover { background: var(--bg-card-hover, rgba(0,0,0,.05)); color: var(--text-main); }
.bt button:focus-visible, .bt input:focus-visible, .bt textarea:focus-visible, .bt select:focus-visible, .bt summary:focus-visible, .bt a:focus-visible { outline: 2px solid var(--theme-accent-strong, #0071e3); outline-offset: 2px; }

/* Danh sách kênh (chung) */
.bt-ds { display: flex; flex-direction: column; min-width: 0; }
.bt-nhom-td { margin: 14px 10px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.bt-kenh { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.bt-kenh:hover { background: var(--bg-card-hover, rgba(0,0,0,.04)); }
.bt-kenh.is-chon { background: var(--theme-accent-soft, rgba(10,102,194,.10)); }
.bt-kenh-ic { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--theme-accent-soft, rgba(0,0,0,.05)); color: var(--txt-accent, var(--theme-accent-strong)); }
.bt-kenh-chu { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bt-kenh-ten { display: flex; gap: 8px; font-size: 14.5px; font-weight: 600; }
.bt-kenh-cuoi { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Soạn bài */
.bt-soan { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.bt-soan-dong { display: flex; gap: 10px; }
.bt-soan-o { flex: 1; }
.bt-soan-o textarea { width: 100%; box-sizing: border-box; min-height: 44px; border: 0; resize: vertical; background: transparent; color: var(--text-main); font: inherit; font-size: 15px; padding: 10px 0; }
.bt-soan-nut { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--border-color); padding-top: 10px; margin-top: 4px; }
.bt-pv select { min-height: 36px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-main); font: inherit; font-size: 13px; padding: 0 8px; }
.bt-nut-ph { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--text-muted); font: inherit; font-size: 13px; cursor: pointer; }
.bt-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.bt-dang { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px !important; }

/* Bài đăng: một bề mặt, đường kẻ phân tách, không thẻ lồng */
.bt-bai { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 14px 16px 10px; margin-bottom: 12px; }
.bt-bai.is-ghim { border-left: 3px solid var(--theme-accent-strong, #0071e3); }
.bt-ghim { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--theme-accent-strong, #0071e3); }
.bt-bai-dau { display: flex; align-items: center; gap: 10px; }
.bt-bai-ai { flex: 1; min-width: 0; }
.bt-bai-ai p { margin: 0; }
.bt-vt { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.bt-pv-nhan { font-weight: 600; color: var(--text-main); }
.bt-noi-dung { margin: 10px 0 0; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.bt-anh { display: grid; gap: 6px; margin-top: 10px; }
.bt-anh-2 { grid-template-columns: 1fr 1fr; }
.bt-anh-o { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--bg-card-hover, rgba(0,0,0,.05)); color: var(--text-muted); }
.bt-bai-chan { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border-color); font-size: 13px; color: var(--text-muted); }
.bt-bai-chan > span, .bt-xem { display: inline-flex; align-items: center; gap: 6px; }
.bt-xem { min-height: 36px; border: 0; background: none; color: var(--text-muted); font: inherit; font-size: 13px; cursor: pointer; border-radius: 8px; padding: 0 6px; }
.bt-bls { margin-top: 6px; }
.bt-bl { display: flex; gap: 8px; padding: 8px 0; }
.bt-bl p { margin: 0; }
.bt-bl-dau { font-size: 13px; } .bt-bl-dau > span { color: var(--text-muted); font-size: 12px; }
.bt-bl-chu { font-size: 14px; line-height: 1.45; }
.bt-bl-soan { display: flex; align-items: center; gap: 8px; padding-top: 6px; }
.bt-bl-soan label { flex: 1; }
.bt-bl-soan input { width: 100%; box-sizing: border-box; min-height: 40px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-input, var(--bg-card)); color: var(--text-main); font: inherit; font-size: 15px; padding: 0 12px; }
/* Tên người bấm được → trang cá nhân (bài, bình luận, người gửi trong nhóm). */
.bt-ten-nut { display: inline; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 4px; background: none; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.bt-ten-nut:hover { text-decoration: underline; }
.bt-ten-dam { font-weight: 700; color: var(--text-main); }
.bt-av-mo { cursor: pointer; }

/* PHƯƠNG ÁN A — 3 cột (bản xem trước cũ, không dùng) */
.bt-a { display: grid; grid-template-columns: 280px minmax(0, 1fr) 240px; gap: 20px; align-items: start; }
.bt-a .bt-ds { position: sticky; top: 90px; }
.bt-feed-dau h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; }
.bt-phai { position: sticky; top: 90px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px 14px; }
.bt-phai h2 { margin: 0 0 8px; font-size: 14px; }
.bt-phai ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.bt-phai li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
@media (max-width: 1279px) { .bt-a { grid-template-columns: 260px minmax(0, 1fr); } .bt-phai { display: none; } }
.bt-a.is-hep { display: block; }
.bt-a.is-hep .bt-ds { position: static; }

/* PHƯƠNG ÁN B — 2 tab */
.bt-b-dau { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.bt-b-dau .bt-td { margin: 0; }
.bt-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 8px; background: var(--bg-card-hover, rgba(0,0,0,.05)); }
.bt-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 6px; background: none; color: var(--text-muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.bt-tab .bt-dem { margin-left: 2px; }
.bt-b-than { display: flex; gap: 24px; max-width: 1100px; margin: 0 auto; align-items: flex-start; }
.bt-b-cot { flex: 1; min-width: 0; max-width: 720px; }
.bt-b-phai { width: 330px; flex: none; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
@media (max-width: 1040px) {
  .bt-b-than { display: block; }
  .bt-b-phai { display: none; }
  .bt-b-cot { max-width: 720px; margin: 0 auto; }
}

.bt-widget { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.03); }
.bt-widget-dau { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.bt-widget-item { padding: 9px 12px; border-radius: 8px; background: var(--bg-input, var(--bg-card-hover)); border: 1px solid var(--border-color); margin-bottom: 8px; }
.bt-widget-item:last-child { margin-bottom: 0; }
.bt-widget-item .bt-w-td { font-weight: 600; font-size: 13.5px; margin-bottom: 2px; color: var(--text-main); }
.bt-widget-item .bt-w-mo { font-size: 11.5px; color: var(--text-muted); }

.bt-trong-hop { background: var(--bg-card); border: 1px dashed var(--border-color); border-radius: 12px; padding: 40px 20px; text-align: center; margin: 16px 0; box-shadow: 0 1px 3px rgba(0,0,0,.02); }
.bt-trong-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--theme-accent-soft); color: var(--theme-accent-strong); margin-bottom: 12px; }
.bt-loc { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.bt-b.is-hep .bt-tabs { width: 100%; } .bt-b.is-hep .bt-tab { flex: 1; justify-content: center; min-height: 44px; }

/* Điện thoại */
@media (max-width: 759px) {
  .bt-td { font-size: 24px; }
  .bt-kenh, .bt-xem, .bt-nut-ph, .bt-pv select { min-height: 44px; }
  .bt-ic-nut { width: 44px; height: 44px; }
  .bt-soan-nut { gap: 6px; }
  .bt-dang { min-height: 44px; }
  .bt-a.is-hep .bt-ht { height: calc(100dvh - 190px); border-radius: 0; border-left: 0; border-right: 0; margin: 0 -16px; }
}
@media (max-width: 1180px), (pointer: coarse) {
  .bt-tab, .bt-nut-ph, .bt-xem, .bt-pv select, .bt-bl-soan input, .bt-lk, .bt-them-bl, .bt-menu-ds button, .bt-tai-cu, .bt-ghim-so, .bt-tin-loi button, .bt-xuong { min-height: 44px; }
  .bt-ic-nut, .bt-tn, .bt-bl .bt-menu summary { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .bt * { transition: none !important; animation: none !important; } }
.bt-chk { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 6px; cursor: pointer; }
.bt-anh-1 .bt-anh-o { aspect-ratio: 16 / 9; max-height: 300px; }
.bt-anh-2 .bt-anh-o { aspect-ratio: 1 / 1; max-height: 240px; }

/* ── Bản thật (phương án B, 28/09/2026) ── */
.bt-trong { margin: 16px 0; padding: 24px 16px; text-align: center; color: var(--text-muted); font-size: 14px; }
.bt-loi { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--txt-bad); }
.bt-loi-khoi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--border-color); border-left: 3px solid var(--txt-bad); border-radius: 8px; background: var(--bg-card); color: var(--text-main); }
.bt-lk { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0 0 10px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--theme-accent-strong, #0071e3); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.bt-soan-anh { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 0 0 50px; }
.bt-soan-anh-o { position: relative; display: block; width: 76px; height: 76px; }
.bt-soan-anh-o img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-color); box-sizing: border-box; }
.bt-soan-anh-o button { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--text-main); color: var(--bg-card); cursor: pointer; }
.bt-anh-o { overflow: hidden; }
.bt-anh-o img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bt-anh-1 .bt-anh-o { aspect-ratio: auto; max-height: 420px; }
.bt-anh-1 .bt-anh-o img { max-height: 420px; object-fit: contain; background: var(--bg-card-hover, rgba(0,0,0,.04)); }
.bt-them-bl { display: block; min-height: 36px; border: 0; background: none; color: var(--text-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 0; }
.bt-bl { align-items: flex-start; }
.bt-bl-than { flex: 1; min-width: 0; }
.bt-bl .bt-menu summary { width: 32px; height: 32px; }
.bt-menu { position: relative; flex: none; }
.bt-menu summary { list-style: none; }
.bt-menu summary::-webkit-details-marker { display: none; }
.bt-menu-ds { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 210px; padding: 6px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); box-shadow: var(--itn-shadow-2, 0 8px 24px rgba(0,0,0,.12)); }
.bt-menu-ds button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--text-main); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.bt-menu-ds button:hover { background: var(--bg-card-hover, rgba(0,0,0,.05)); }
.bt-menu-ds button.is-nguy { color: var(--txt-bad); }
.bt-menu-phai { margin-left: auto; }
.bt-ht-trong { justify-content: center; }
.bt-hop .bt-doc h3 { margin: 10px 0 6px; font-size: 13px; color: var(--text-muted); }
.bt-hop .bt-doc ul, .bt-hop .bt-nguoi-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 46dvh; overflow-y: auto; }
.bt-hop .bt-doc li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.bt-hop .bt-doc li .bt-mo { margin-left: auto; }
.bt-nguoi { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 4px 8px; border: 0; border-radius: 8px; background: none; color: var(--text-main); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.bt-nguoi:hover { background: var(--bg-card-hover, rgba(0,0,0,.05)); }
.bt-nguoi .bt-mo { margin-left: auto; }
.bt-bc { padding: 10px 0; border-top: 1px solid var(--border-color); }
.bt-bc p { margin: 0; }
.bt-bc-nd { margin: 6px 0 !important; padding: 8px 10px; border-radius: 8px; background: var(--bg-card-hover, rgba(0,0,0,.04)); font-size: 14px; overflow-wrap: anywhere; }
.bt-bc-nut { display: flex; justify-content: flex-end; gap: 8px; }
.bt-bc-nut button { min-height: 40px; border-radius: 8px !important; }
@media (max-width: 759px) {
  .bt-menu-ds button, .bt-nguoi { min-height: 44px; }
  .bt-soan-anh { padding-left: 0; }
}

.bt-dem[hidden] { display: none !important; }

/* Bảng tin: cùng token theme, cảm xúc lưu thật; phòng ban độc lập bộ lọc chi nhánh. */
.bt-loc-pb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13px; color: var(--text-muted); }
.bt-bai-cx { display: grid; gap: 6px; margin-top: 12px; }
.bt-bai-cx-nut { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-bai-cx-chon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 100px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-main); font: inherit; font-size: 14px; cursor: pointer; }
.bt-bai-cx-chon[aria-pressed="true"] { border-color: var(--theme-accent-strong); background: var(--theme-accent-soft); color: var(--text-main); font-weight: 700; }
.bt-bai-cx-chon[aria-pressed="true"] .bt-ic { color: var(--txt-accent, var(--theme-accent-strong)); }
.bt-bai-cx-chon:disabled { cursor: wait; border-style: dashed; }
.bt-cx-so { font-variant-numeric: tabular-nums; }
.bt-bai-cx-dem { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px; }
.bt-bai-cx .bt-loi { flex-wrap: wrap; overflow-wrap: anywhere; }
.bt-bai-cx .bt-xem, .bt-pv select, .bt-loc .inv-time-tab { min-height: 44px; }
.bt-bai-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bt-bai-tag { padding: 4px 8px; border-radius: 4px; background: var(--theme-accent-soft); color: var(--text-main); font-size: 13px; overflow-wrap: anywhere; max-width: 100%; box-sizing: border-box; }
.bt-bai-pb { margin-top: 8px; }
.bt-tag { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--border-color); }
.bt-tag summary { min-height: 44px; align-content: center; cursor: pointer; font-size: 14px; font-weight: 600; }
.bt-tag-tim { display: grid; gap: 6px; margin: 10px 0; font-size: 13px; }
.bt-tag-tim input { min-height: 44px; width: 100%; box-sizing: border-box; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-input, var(--bg-card)); color: var(--text-main); font: inherit; padding: 0 10px; }
.bt-tag-tim input::placeholder { color: var(--text-muted); opacity: 1; }
.bt-tag-ds { display: grid; max-height: 264px; overflow-y: auto; margin-top: 8px; }
.bt-tag-chon { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 0 6px; font-size: 14px; cursor: pointer; overflow-wrap: anywhere; }
.bt-tag-chon input { flex: none; accent-color: var(--theme-accent-strong); }
.bt-tag-chon:has(input:checked) { background: var(--theme-accent-soft); border-radius: 4px; }
.bt-tag-chon:has(input:focus-visible) { outline: 2px solid var(--theme-accent-strong); outline-offset: -2px; }
.bt-tag-da-chon { display: flex; gap: 6px; flex-wrap: wrap; }
.bt-tag-bo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid var(--border-color); font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.bt-tag-thongbao:empty { display: none; }
@media (max-width: 759px) {
  .bt-soan, .bt-bai { padding-left: 12px; padding-right: 12px; }
  .bt-soan-nut .bt-pv { flex: 1 1 100%; }
  .bt-soan-nut .bt-pv select { width: 100%; }
  .bt-bai-chan { flex-wrap: wrap; }
}

/* ══ 01/10/2026 — Tin nhắn trên thanh đầu, trạng thái tin, Bảng tin ở Tổng quan ══════════════════════════════════════════════
   Nút Tin nhắn dùng đúng kiểu chuông (.tb-nut 44×44 bo 8px, số lệch góc .tb-dem); đang ở màn Tin nhắn: viền + icon màu nhấn. */
.tn-nut[aria-current="page"] { border-color: var(--theme-accent-strong); color: var(--txt-accent, var(--theme-accent-strong)); }
.tn-nut .tb-ic { flex: none; }
/* Điện thoại hẹp: thêm nút Tin nhắn → bớt khoảng cách thanh đầu, ô chi nhánh co lại (đã có chữ cắt "…"), không đẩy nút tài khoản ra mép. */
@media (max-width: 420px) {
  html body.itn-shell #app-header .header-right:has(.tn-nut):has(.tb-nut) { gap: 4px; }
  html body.itn-shell #app-header:has(.tn-nut) .header-left { gap: 6px; }
  html body.itn-shell #app-header:has(.tn-nut) .header-brand { padding: 2px 0; margin-left: 0; }
  html body.itn-shell #app-header:has(.tn-nut) .header-brand-title { display: none; }
}
/* Trạng thái tin cuối của mình: chữ nhỏ + icon (check = Đã gửi, check-check = Đã nhận / Đã xem). Chữ màu phụ (AA trên nền khung chat);
   chỉ icon Đã nhận / Đã xem dùng màu nhấn (icon đạt 3:1, chữ nhỏ màu nhấn trên nền xanh nhạt thì không — bản thiết kế kiểu Zalo). */
.bt-nhan { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 2px 0 0; font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
.bt-nhan.is-xem .bt-ic, .bt-nhan.is-nhan .bt-ic { color: var(--txt-accent, var(--theme-accent-strong)); }
.bt-nhan .bt-ic { vertical-align: 0; }
.bt-nhan-ai { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 6px; margin-right: -6px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; cursor: pointer; }
.bt-nhan-ai:hover { background: var(--bg-card-hover, rgba(0,0,0,.05)); }
.bt-av-chong { display: inline-flex; margin-right: 2px; }
.bt-av-xem { width: 18px; height: 18px; font-size: 8px; border: 2px solid var(--bt-nen-chat, var(--bg-card)); box-sizing: content-box; }
.bt-av-xem + .bt-av-xem { margin-left: -6px; }
@media (max-width: 759px) { .bt-nhan-ai { min-height: 44px; } }
/* Bài được mở từ Tổng quan: viền nhấn 2 giây để mắt tìm đúng bài. */
.bt-bai.is-chi { box-shadow: 0 0 0 2px var(--theme-accent-strong); }
.bt-bai:focus { outline: none; }

/* Khối "Bảng tin" ở Tổng quan: MỘT bề mặt (viền 1px, bo 8px), dòng bài ngăn bằng đường kẻ, không thẻ lồng thẻ. */
.btq { margin-top: 20px; background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.btq[hidden] { display: none; }
.btq-dau { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border-color); }
.btq-td { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 700; }
.btq-td .bt-ic { color: var(--txt-accent, var(--theme-accent-strong)); }
.btq-xem { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px; color: var(--txt-accent, var(--theme-accent-strong)); font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 8px; }
.btq-xem:hover { text-decoration: underline; }
.btq-ds { list-style: none; margin: 0; padding: 0; }
.btq-ds > li + li { border-top: 1px solid var(--border-color); }
.btq-bai { display: flex; align-items: flex-start; gap: 12px; min-height: 64px; padding: 12px 16px; color: inherit; text-decoration: none; }
.btq-bai:hover { background: var(--bg-card-hover, rgba(0,0,0,.04)); }
.btq-bai:focus-visible, .btq-xem:focus-visible { outline: 2px solid var(--theme-accent-strong); outline-offset: -2px; }
.btq-than { display: grid; gap: 2px; min-width: 0; flex: 1; }
.btq-dong { display: flex; align-items: baseline; gap: 6px 8px; flex-wrap: wrap; font-size: 14px; }
.btq-mo { font-size: 12.5px; color: var(--text-muted); }
.btq-ghim, .btq-moi { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.btq-ghim { color: var(--text-muted); }
.btq-moi { color: var(--txt-accent, var(--theme-accent-strong)); }
.btq-cham { width: 8px; height: 8px; border-radius: 50%; background: var(--theme-accent-strong); }
.btq-nd { font-size: 14px; line-height: 1.45; color: var(--text-main); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.btq-trong { margin: 0; padding: 18px 16px; color: var(--text-muted); font-size: 14px; }
.btq-loi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; color: var(--txt-bad); font-size: 14px; }
html body .btq-loi button { border-radius: 8px !important; margin-left: auto; }
.btq-cho { display: grid; gap: 8px; padding: 14px 16px; }
.btq-cho + .btq-cho { border-top: 1px solid var(--border-color); }
@media (max-width: 760px) { .btq { margin-top: 16px; } .btq-bai { padding: 12px; } }

/* ══ 01/10/2026 tối — TIN NHẮN KIỂU ZALO (zalo-spec) ═══════════════════════════════════════════════════════════════════════════
   Chỉ mượn bố cục + thao tác; icon Lucide, màu = token theme (color-mix, không mã màu cứng trong phần tử), bo tối đa 8px (đuôi bong bóng 2px),
   không nền chuyển màu, không đổ bóng ngoài menu nổi, chữ ≥ AA trên mọi theme, ô bấm 44px trên điện thoại, giảm chuyển động thì không trượt. */
.bt-b-chat {
  --bt-nen-chat: color-mix(in srgb, var(--theme-accent-strong) 7%, var(--bg-app));
  --bt-bong-khac: var(--bg-card);
  --bt-bong-toi: color-mix(in srgb, var(--theme-accent-strong) 14%, var(--bg-card));
  --bt-trich-nen: color-mix(in srgb, var(--text-main) 6%, transparent);
  --bt-cot-ds: 340px;
  display: grid; grid-template-columns: var(--bt-cot-ds) minmax(0, 1fr); height: calc(100dvh - 196px); min-height: 480px;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden;
}
@media (max-width: 1179px) { .bt-b-chat { --bt-cot-ds: 300px; } }
/* Ảnh đại diện thật: ảnh phủ lên chữ viết tắt; ảnh lỗi → JS gỡ ảnh, còn chữ. Chấm xanh "đang hoạt động" có viền nền để tách khỏi ảnh. */
.bt-av-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.bt-av.is-online::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--theme-success, #1f7a45); border: 2px solid var(--bg-card); box-sizing: border-box; }
.bt-av-ds { width: 48px; height: 48px; font-size: 15px; }
.bt-av-ds.is-online::after { width: 14px; height: 14px; }
.bt-av-nho.is-online::after { width: 10px; height: 10px; }
.bt-av-nhom { flex: none; display: grid; gap: 2px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--bg-card); }
.bt-av-nhom-ds { width: 48px; height: 48px; }
.bt-av-nhom-2 { grid-template-columns: 1fr 1fr; }
.bt-av-nhom-3, .bt-av-nhom-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bt-av-nhom-3 > :first-child { grid-column: 1 / -1; }
.bt-av-o { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; color: #fff; font-size: 9px; font-weight: 700; }
.bt-av-o img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt-kenh-ic-ds { width: 48px; height: 48px; }

/* ── Danh sách hội thoại ── */
.bt-b-chat .bt-ds { min-height: 0; border-right: 1px solid var(--border-color); }
.bt-ds-dinh { flex: none; position: sticky; top: 0; z-index: 2; background: var(--bg-card); }
.bt-ds-dau { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 12px 0; }
.bt-tim { position: relative; flex: 1; min-width: 0; margin: 0; }
.bt-tim > .bt-ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.bt-tim input { width: 100%; box-sizing: border-box; height: 40px; min-height: 40px; padding: 0 38px 0 36px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-input, var(--bg-card)); color: var(--text-main); font: inherit; font-size: 14px; -webkit-appearance: none; appearance: none; }
.bt-tim input::-webkit-search-cancel-button { display: none; }
.bt-tim-xoa { position: absolute; right: 58px; top: calc(12px + 2px); display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--text-muted); cursor: pointer; }
.bt-tim-xoa[hidden] { display: none; }
.bt-ds-them .bt-menu-ds { right: 0; }
.bt-ds .bt-loc { display: flex; flex-wrap: nowrap; gap: 6px; margin: 0; padding: 8px 12px; }
html body.itn-shell .bt-ds .bt-loc .inv-time-tab { border-radius: 8px; box-shadow: none; padding: 0 12px; }
html body.itn-shell .bt-ds .bt-loc .inv-time-tab.active { background: var(--theme-accent-soft) !important; color: var(--txt-accent, var(--text-main)) !important; border-color: color-mix(in srgb, var(--theme-accent-strong) 45%, transparent) !important; box-shadow: none; }
@media (min-width: 760px) { html body.itn-shell .bt-ds .bt-loc .inv-time-tab { min-height: 32px !important; } }
.bt-ds-cuon { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 8px; }
.bt-ds .bt-kenh { min-height: 68px; padding: 10px 12px; gap: 12px; }
.bt-ds .bt-kenh:focus-visible { outline-offset: -2px; }
.bt-ds .bt-kenh.is-chon { background: var(--theme-accent-soft); }
.bt-kenh-chu { gap: 2px; }
.bt-ds .bt-kenh-ten { align-items: center; gap: 4px; font-size: 15px; min-width: 0; }
.bt-kenh-ten-chu { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-kenh-dau { flex: none; display: inline-flex; color: var(--text-muted); }
.bt-ds .bt-kenh-cuoi { font-size: 13.5px; }
.bt-kenh-cuoi .bt-ic { vertical-align: -2px; }
.bt-kenh.is-chua-doc .bt-kenh-ten { font-weight: 700; }
.bt-kenh.is-chua-doc .bt-kenh-cuoi { color: var(--text-main); font-weight: 600; }
.bt-kenh-phai { flex: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; align-self: stretch; }
.bt-kenh-gio { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bt-kenh-phai .bt-dem { margin-left: 0; }
.bt-nhac { color: var(--txt-accent, var(--theme-accent-strong)); font-weight: 600; }
.bt-dang-go { color: var(--txt-accent, var(--theme-accent-strong)); font-style: italic; }
.bt-ds-rong { display: grid; justify-items: center; gap: 10px; padding: 40px 16px; color: var(--text-dim); text-align: center; }
.bt-ds-rong p { margin: 0; font-size: 15px; color: var(--text-muted); }
.bt-ds-rong button { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px !important; }
.bt-ds-rong-loc { margin: 0; padding: 28px 16px; text-align: center; color: var(--text-muted); font-size: 14px; }
.bt-kenh-cho { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 12px; }
.bt-cho-av { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-input); }
.bt-cho-dong { display: grid; gap: 8px; flex: 1; }

/* ── Khung chat ── */
.bt-ht { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bt-nen-chat); }
.bt-ht-trong { display: grid; place-items: center; }
.bt-chua-chon { display: grid; justify-items: center; gap: 10px; color: var(--text-dim); text-align: center; padding: 24px; }
.bt-chua-chon p { margin: 0; font-size: 15px; color: var(--text-muted); }
.bt-ht-dau { flex: none; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 8px 8px 16px; box-sizing: border-box; background: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.bt-lui { display: none; }
.bt-ht-av { cursor: pointer; }
.bt-ht-ten { flex: 1; min-width: 0; }
.bt-ht-ten h2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.bt-ht-nut { display: block; max-width: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--text-main); font: inherit; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.bt-ht-nut:hover { text-decoration: underline; }
.bt-ht-phu { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-ht-phu.is-go { color: var(--txt-accent, var(--theme-accent-strong)); font-style: italic; }
.bt-ghim-nut { width: auto; min-width: 40px; padding: 0 8px; gap: 4px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; }
.bt-ht-dau .bt-menu-phai { margin-left: 0; }
.bt-ghim-thanh { display: flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 8px; background: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.bt-ghim-toi { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 6px; border: 0; border-radius: 8px; background: none; color: var(--text-main); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.bt-ghim-toi .bt-ic { color: var(--txt-accent, var(--theme-accent-strong)); }
.bt-ghim-chu { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-ghim-nhan { font-weight: 700; }
.bt-ghim-so { flex: none; min-height: 32px; padding: 0 10px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-main); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.bt-mang { display: flex; align-items: center; gap: 8px; min-height: 36px; margin: 0; padding: 0 12px; background: color-mix(in srgb, var(--txt-warn) 12%, var(--bg-card)); color: var(--txt-warn); font-size: 13px; font-weight: 600; }
.bt-mang.is-ok { background: color-mix(in srgb, var(--txt-ok) 12%, var(--bg-card)); color: var(--txt-ok); }
.bt-ht-than { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bt-ht-tin { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 16px; }
.bt-tai-cu { display: block; margin: 8px auto 0; min-height: 36px; padding: 0 14px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-main); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.bt-ngay { position: sticky; top: 8px; z-index: 1; display: flex; justify-content: center; margin: 16px 0 4px; pointer-events: none; }
.bt-ngay > span { padding: 3px 10px; border: 1px solid var(--border-color); border-radius: 8px; background: color-mix(in srgb, var(--bg-card) 94%, transparent); color: var(--text-muted); font-size: 12px; font-weight: 600; }
.bt-he-thong { margin: 8px 0; text-align: center; font-size: 12.5px; color: var(--text-muted); }
.bt-chat-rong { margin: 0; padding: 40px 16px; text-align: center; font-size: 14px; color: var(--text-muted); }
.bt-chat-cho { display: grid; gap: 12px; padding-top: 16px; }
.bt-cho-bong { display: block; height: 40px; border-radius: 8px; background: var(--bt-bong-khac); }
.bt-cho-bong.is-toi { justify-self: end; background: var(--bt-bong-toi); }

/* Cụm tin (cùng người, cách nhau < 5 phút): 2px trong cụm, 12px giữa cụm; avatar + giờ chỉ ở tin cuối cụm. */
.bt-cum { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.bt-cum.is-toi { align-items: flex-end; }
.bt-cum.is-khac { align-items: flex-start; }
.bt-tin-ai { margin: 0 0 2px 40px; font-size: 12px; color: var(--text-muted); }
.bt-tin-ai .bt-ten-nut { color: var(--text-muted); font-weight: 600; min-height: 24px; }
.bt-tin { display: flex; align-items: flex-end; gap: 8px; max-width: min(560px, 70%); min-width: 0; touch-action: pan-y; }
.bt-tin.is-toi { flex-direction: row-reverse; }
.bt-av-cho { flex: none; width: 32px; }
.bt-tin-khoi { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.bt-tin.is-toi .bt-tin-khoi { align-items: flex-end; }
.bt-bong-boc { position: relative; max-width: 100%; }
.bt-tin.co-cx .bt-bong-boc { margin-bottom: 12px; }
.bt-bong { max-width: 100%; box-sizing: border-box; padding: 8px 12px; border-radius: 8px; background: var(--bt-bong-khac); color: var(--text-main); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.bt-tin.is-toi .bt-bong { background: var(--bt-bong-toi); color: var(--text-main); }
.bt-tin.is-khac.is-dau .bt-bong { border-radius: 8px 8px 8px 2px; }
.bt-tin.is-khac.is-giua .bt-bong { border-radius: 2px 8px 8px 2px; }
.bt-tin.is-khac.is-cuoi .bt-bong { border-radius: 2px 8px 8px 8px; }
.bt-tin.is-toi.is-dau .bt-bong { border-radius: 8px 8px 2px 8px; }
.bt-tin.is-toi.is-giua .bt-bong { border-radius: 8px 2px 2px 8px; }
.bt-tin.is-toi.is-cuoi .bt-bong { border-radius: 8px 2px 8px 8px; }
@media (hover: hover) {
  .bt-tin.is-khac:hover .bt-bong { background: color-mix(in srgb, var(--text-main) 3%, var(--bt-bong-khac)); }
  .bt-tin.is-toi:hover .bt-bong { background: color-mix(in srgb, var(--text-main) 3%, var(--bt-bong-toi)); }
}
.bt-chu { margin: 0; }
.bt-chu-thu-hoi { font-size: 14px; font-style: italic; color: var(--text-muted); }
.bt-tin.is-thu-hoi .bt-bong { background: transparent; border: 1px dashed var(--border-color); }
.bt-ct { display: flex; align-items: center; gap: 4px; margin: 0 0 4px; font-size: 12px; font-style: italic; color: var(--text-muted); }
.bt-trich { display: block; width: 100%; min-height: 0; margin: 0 0 6px; padding: 6px 8px; border: 0; border-left: 3px solid var(--theme-accent-strong); border-radius: 4px; background: var(--bt-trich-nen); color: var(--text-main); font: inherit; text-align: left; cursor: pointer; }
.bt-trich-ten { display: block; font-size: 12px; font-weight: 700; }
.bt-trich-chu { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--text-muted); }
.bt-tin.is-chi .bt-bong { box-shadow: 0 0 0 2px var(--theme-accent-strong); }
/* Ảnh: 1 ảnh rộng ≤ 240px (điện thoại 70%), 2 ảnh 2 cột, ≥ 3 ảnh lưới 3 cột; bong bóng chỉ có ảnh thì không đệm. */
.bt-anh-tin-ds { display: grid; gap: 2px; margin-top: 6px; border-radius: 8px; overflow: hidden; }
.bt-bong.is-chi-anh { padding: 0; background: transparent; }
.bt-bong.is-chi-anh .bt-anh-tin-ds { margin-top: 0; }
.bt-anh-tin-ds.is-1 { width: 240px; max-width: 100%; }
.bt-anh-tin-ds.is-2 { grid-template-columns: 118px 118px; }
.bt-anh-tin-ds.is-nhieu { grid-template-columns: repeat(3, 78px); }
.bt-anh-tin { position: relative; display: block; overflow: hidden; background: var(--bt-trich-nen); }
.bt-anh-tin img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bt-anh-tin-ds.is-1 .bt-anh-tin { min-height: 120px; }
.bt-anh-tin-ds.is-1 .bt-anh-tin img { height: auto; max-height: 320px; }
.bt-anh-tin-ds.is-2 .bt-anh-tin { aspect-ratio: 1 / 1; }
.bt-anh-tin-ds.is-nhieu .bt-anh-tin { aspect-ratio: 1 / 1; }
.bt-anh-them { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .5); color: #fff; font-size: 18px; font-weight: 700; }
/* Thẻ tệp: ô icon | tên (cắt giữa) + "1,2 MB · PDF" | tải về. Cả thẻ là liên kết tải. */
.bt-tep { display: flex; align-items: center; gap: 10px; width: 280px; max-width: 100%; box-sizing: border-box; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--bt-trich-nen); color: var(--text-main); text-decoration: none; }
.bt-bong > .bt-tep:first-child { margin-top: 0; }
.bt-tep-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--theme-accent-soft); color: var(--txt-accent, var(--theme-accent-strong)); }
.bt-tep-chu { flex: 1; min-width: 0; display: grid; }
.bt-tep-ten { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-tep-mo { font-size: 12px; color: var(--text-muted); }
.bt-tep-tai { flex: none; display: inline-flex; color: var(--text-muted); }
@media (hover: hover) { a.bt-tep:hover .bt-tep-ten { text-decoration: underline; } }
/* Cảm xúc: viên nhỏ đè mép dưới bong bóng (của mình: bên trái), icon Lucide + số; loại mình đã thả màu nhấn. */
.bt-cx { position: absolute; bottom: -10px; right: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 2px 6px; box-sizing: border-box; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-main); font: inherit; cursor: pointer; }
.bt-tin.is-toi .bt-cx { right: auto; left: 8px; }
.bt-cx-o { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; }
.bt-cx-o .bt-ic { vertical-align: 0; color: var(--text-muted); }
.bt-cx-o.is-toi .bt-ic { color: var(--txt-accent, var(--theme-accent-strong)); }
/* Giờ (chỉ tin cuối cụm / tin đã sửa / đã ghim), đang gửi, gửi lỗi. */
.bt-tin-gio { display: flex; align-items: center; gap: 4px; margin: 2px 4px 0; font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.bt-tin-ghim { display: inline-flex; }
.bt-tin.is-dang-gui .bt-bong-boc { opacity: .6; }
.bt-tin.is-loi .bt-bong { box-shadow: inset 0 0 0 1px var(--txt-bad); }
.bt-tin-loi { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 4px 0 0; font-size: 12px; color: var(--txt-bad); }
.bt-tin-loi button { min-height: 32px; padding: 0 6px; border: 0; border-radius: 8px; background: none; color: var(--txt-accent, var(--theme-accent-strong)); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
/* Thanh thao tác nổi (máy tính): rê chuột / focus bàn phím mới hiện; nằm ngoài bong bóng phía đối diện avatar. */
.bt-tin-nut { position: absolute; top: 50%; left: calc(100% + 4px); z-index: 3; display: flex; align-items: center; gap: 2px; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.bt-tin.is-toi .bt-tin-nut { left: auto; right: calc(100% + 4px); flex-direction: row-reverse; }
.bt-tin:hover .bt-tin-nut, .bt-tin:focus-within .bt-tin-nut, .bt-tin.is-mo .bt-tin-nut { opacity: 1; pointer-events: auto; }
.bt-tn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-muted); cursor: pointer; list-style: none; }
.bt-tn:hover { color: var(--text-main); background: var(--bg-card-hover); }
.bt-tn[aria-pressed="true"] { color: var(--txt-accent, var(--theme-accent-strong)); border-color: var(--theme-accent-strong); }
.bt-menu-tin .bt-menu-ds { right: 0; left: auto; }
.bt-tin.is-toi .bt-menu-tin .bt-menu-ds { left: 0; right: auto; }
.bt-menu.is-len .bt-menu-ds, .bt-tin-nut.is-len .bt-cx-chon { top: auto; bottom: calc(100% + 4px); }
.bt-cx-chon { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 30; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); box-shadow: var(--itn-shadow-2, 0 8px 24px rgba(0,0,0,.12)); }
.bt-tin-nut.is-len .bt-cx-chon { bottom: auto; top: calc(100% + 6px); }
.bt-tin.is-toi .bt-cx-chon { left: auto; right: 0; }
.bt-cx-chon[hidden] { display: none; }
.bt-cx-chon .bt-tn { border-color: transparent; }
.bt-xuong { position: absolute; left: 50%; bottom: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 8px !important; transform: translateX(-50%); font-size: 13px; font-weight: 600; }
.bt-xuong[hidden] { display: none; }

/* Ô soạn: dính đáy khung, trả lời / sửa, đính kèm (ảnh 64×64, thẻ tệp có tiến độ), nút gửi ↔ nút thích cùng ô 44px. */
.bt-soan-vung { flex: none; background: var(--bg-card); border-top: 1px solid var(--border-color); }
.bt-soan-tra { display: flex; align-items: center; gap: 8px; margin: 8px 12px 0; padding: 4px 4px 4px 10px; border-left: 3px solid var(--theme-accent-strong); border-radius: 4px; background: var(--bt-trich-nen); }
.bt-soan-tra > .bt-ic { color: var(--txt-accent, var(--theme-accent-strong)); }
.bt-soan-tra-chu { flex: 1; min-width: 0; display: grid; }
.bt-soan-tra-td { font-size: 13px; font-weight: 600; }
.bt-soan-tra-nd { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-soan-anh-chat { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 12px 0; }
.bt-soan-anh-chat .bt-soan-anh-o { width: 64px; height: 64px; }
.bt-soan-anh-cho { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 8px; background: var(--bg-input); color: var(--text-muted); font-size: 10.5px; text-align: center; }
.bt-soan-tep { position: relative; display: flex; align-items: center; gap: 8px; width: 200px; max-width: 100%; min-height: 64px; box-sizing: border-box; padding: 8px 34px 10px 8px; border: 1px solid transparent; border-radius: 8px; background: var(--bt-trich-nen); }
.bt-soan-tep > img { flex: none; width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.bt-soan-tep.is-loi { border-color: var(--txt-bad); }
.bt-tep-loi { color: var(--txt-bad); }
.bt-tep-lai { position: absolute; right: 30px; bottom: 4px; min-height: 28px; padding: 0 6px; border: 0; border-radius: 8px; background: none; color: var(--txt-accent, var(--theme-accent-strong)); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.bt-tep-bo { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--text-muted); cursor: pointer; }
.bt-tien { position: absolute; left: 8px; right: 8px; bottom: 4px; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--text-main) 12%, transparent); overflow: hidden; }
.bt-tien > span { display: block; height: 100%; background: var(--theme-accent-strong); }
.bt-ht-soan { display: flex; align-items: flex-end; gap: 8px; padding: 8px 12px; }
.bt-soan-o { flex: 1; min-width: 0; }
.bt-ht-soan textarea { display: block; width: 100%; box-sizing: border-box; min-height: 40px; max-height: 128px; overflow-y: auto; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-input, var(--bg-card)); color: var(--text-main); font: inherit; font-size: 15px; line-height: 1.45; padding: 9px 12px; resize: none; }
.bt .bt-ht-soan textarea:focus-visible { outline: 2px solid var(--theme-accent-strong); outline-offset: 0; border-color: var(--theme-accent-strong); }
.bt-dinh { width: 44px; height: 44px; }
.bt-thich { width: 44px; height: 44px; color: var(--txt-accent, var(--theme-accent-strong)); }
html body.itn-shell .bt-gui-nut { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; min-height: 44px !important; padding: 0 !important; border-radius: 8px !important; }
.bt-ht-soan [hidden] { display: none !important; }

/* Hộp thoại: thành viên, tin ghim, tấm trượt thao tác tin (giữ trên điện thoại). */
.bt-tv-chu { flex: 1; min-width: 0; display: grid; }
.bt-tv-ten { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-tv .bt-mo { margin: 0; }
.bt-tv-vai { flex: none; padding: 2px 6px; border-radius: 4px; background: var(--theme-accent-soft); color: var(--txt-accent, var(--text-main)); font-size: 11.5px; font-weight: 700; }
.bt-ghim-dong { display: flex; align-items: center; gap: 8px; }
.bt-ghim-dong .bt-nguoi { flex: 1; min-width: 0; }
.bt-ghim-nd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--text-muted); }
.bt-ghim-bo { flex: none; min-height: 40px; border-radius: 8px !important; }
.bt-hop-cx { display: grid; grid-template-columns: repeat(6, 44px); justify-content: space-between; gap: 4px; padding: 4px 0 8px; border-bottom: 1px solid var(--border-color); }
.bt-hop-cx button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-main); cursor: pointer; }
.bt-hop-cx button[aria-pressed="true"] { border-color: var(--theme-accent-strong); color: var(--txt-accent, var(--theme-accent-strong)); background: var(--theme-accent-soft); }
.bt-hop-ds { display: grid; }
.bt-hop-ds button { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px; border: 0; border-radius: 8px; background: none; color: var(--text-main); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.bt-hop-ds button + button { border-top: 1px solid var(--border-color); border-radius: 0; }
.bt-hop-ds button.is-nguy { color: var(--txt-bad); }
.bt-hop-ds .bt-ic { color: var(--text-muted); }
.bt-hop-ds .is-nguy .bt-ic { color: var(--txt-bad); }

/* ── Trang cá nhân: ngăn kéo phải (máy tính) / toàn màn (điện thoại) ── */
dialog.bt-hs { box-sizing: border-box; max-width: none; max-height: none; padding: 0; border: 0; background: var(--bg-card); color: var(--text-main); overflow: hidden; }
dialog.bt-hs::backdrop { background: rgba(0, 0, 0, .35); }
@media (min-width: 760px) { dialog.bt-hs { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(420px, 100vw); height: 100dvh; border-left: 1px solid var(--border-color); } }
@media (max-width: 759px) { dialog.bt-hs { position: fixed; inset: 0; margin: 0; width: 100vw; height: 100dvh; } }
.bt-hs-khung { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.bt-hs-bia { aspect-ratio: 3 / 1; overflow: hidden; background: color-mix(in srgb, var(--theme-accent-strong) 14%, var(--bg-card)); }
.bt-hs-bia img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bt-hs-dong { position: absolute; top: calc(8px + env(safe-area-inset-top, 0px)); right: 8px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border-color); border-radius: 8px; background: color-mix(in srgb, var(--bg-card) 88%, transparent); color: var(--text-main); cursor: pointer; }
.bt-hs-dong:focus-visible, .bt-hs button:focus-visible, .bt-hs input:focus-visible { outline: 2px solid var(--theme-accent-strong); outline-offset: 2px; }
.bt-hs-than { display: grid; justify-items: center; padding: 0 20px; text-align: center; }
.bt-av-hs { width: 96px; height: 96px; margin-top: -48px; font-size: 32px; box-shadow: 0 0 0 4px var(--bg-card); }
.bt-av-hs.is-online::after { width: 20px; height: 20px; right: 2px; bottom: 2px; border-width: 3px; }
.bt-hs-av-cho { display: block; width: 96px; height: 96px; margin-top: -48px; border-radius: 50%; background: var(--bg-input); box-shadow: 0 0 0 4px var(--bg-card); }
.bt-hs-cho-1 { width: 50%; margin: 16px auto 8px; } .bt-hs-cho-2 { width: 70%; margin: 0 auto; }
.bt-hs-than .bt-loi-khoi { margin-top: 16px; text-align: left; }
.bt-hs-ten { margin: 12px 0 2px; font-size: 20px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.bt-hs-vt { margin: 0; font-size: 14px; color: var(--text-muted); }
/* Câu Gen Z theo phòng ban: nghiêng, màu phụ; emoji trong câu là NỘI DUNG (font emoji hệ thống, không đổi chiều cao dòng). */
.bt-hs-cau { margin: 8px 0 0; max-width: 34ch; font-family: var(--font-stack, inherit), "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 13.5px; font-style: italic; line-height: 1.45; color: var(--text-muted); }
.bt-hs-tc { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--text-muted); }
.bt-hs-cham { width: 8px; height: 8px; border-radius: 50%; background: var(--theme-success, #1f7a45); }
.bt-hs-gt { width: 100%; box-sizing: border-box; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border-color); font-size: 15px; line-height: 1.5; text-align: left; white-space: pre-line; overflow-wrap: anywhere; }
.bt-hs-gt.is-trong { font-size: 13.5px; color: var(--text-muted); }
.bt-hs-nut { display: flex; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; }
.bt-hs-nut:empty { display: none; }
html body .bt-hs-nut .action-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 8px !important; }
.bt-hs .bt-loi { justify-content: center; }
.bt-hs-cai { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 44px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border-color); text-align: left; cursor: pointer; }
.bt-hs-cai-chu { flex: 1; display: grid; gap: 2px; }
.bt-hs-cai-td { font-size: 15px; font-weight: 600; }
.bt-cong-tac { flex: none; -webkit-appearance: none; appearance: none; position: relative; width: 48px; height: 28px; margin: 0; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-input); cursor: pointer; }
.bt-cong-tac::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--text-muted); transition: transform .15s ease; }
.bt-cong-tac:checked { background: var(--theme-accent-strong); border-color: var(--theme-accent-strong); }
.bt-cong-tac:checked::before { transform: translateX(20px); background: #fff; }
.bt-cong-tac:disabled { opacity: .6; }

/* ── Điện thoại: danh sách một cột; mở hội thoại = khung phủ dưới thanh đầu (che tab đáy), ẩn tiêu đề + tab ── */
@media (max-width: 759px) {
  .bt-b.is-hep .bt-b-chat { display: block; height: auto; min-height: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
  .bt-b.is-hep .bt-ds { border-right: 0; }
  .bt-b.is-hep .bt-ds-dau { padding: 0; }
  .bt-b.is-hep .bt-tim input { height: 44px; min-height: 44px; }
  .bt-b.is-hep .bt-tim-xoa { top: 4px; right: 52px; }
  .bt-b.is-hep .bt-ds .bt-loc { padding: 8px 0; }
  .bt-b.is-hep .bt-ds-cuon { overflow: visible; padding: 0; }
  .bt-b.is-hep .bt-ds .bt-kenh { min-height: 72px; padding: 10px 4px; }
  .bt-b.is-chat-mo .bt-b-dau { display: none; }
  html.bt-chat-phu { overflow: hidden; overscroll-behavior-y: none; }
  html.bt-chat-phu body { min-height: 0 !important; padding-bottom: 0 !important; overflow: hidden; overscroll-behavior-y: none; }
  html.bt-chat-phu .main-viewport, html.bt-chat-phu .main-viewport > main { padding-bottom: 0 !important; }
  html.bt-chat-phu #module-content { transform: none !important; animation: none !important; }
  .bt-b.is-hep .bt-b-chat.is-mo .bt-ds { display: none; }
  .bt-b.is-hep .bt-ht-soan textarea { min-height: 44px; }
  .bt-b.is-hep .bt-b-chat.is-mo .bt-ht { position: fixed; top: var(--bt-tren, 60px); left: 0; right: 0; height: var(--bt-cao, calc(100dvh - 60px)); z-index: 60; margin: 0; border: 0; border-radius: 0; }
  .bt-lui { display: inline-grid; }
  .bt-ht-dau { min-height: 56px; gap: 6px; padding: 6px 4px; }
  .bt-ht-dau .bt-av, .bt-ht-dau .bt-av-nhom, .bt-ht-dau .bt-kenh-ic { width: 36px; height: 36px; }
  .bt-ghim-nut { min-width: 44px; height: 44px; }
  .bt-ht-tin { padding: 4px 10px 16px; }
  .bt-tin { max-width: 80%; }
  .bt-tin-ai { margin-left: 40px; }
  .bt-anh-tin-ds.is-1 { width: 70vw; max-width: 100%; }
  .bt-anh-tin-ds.is-2 { grid-template-columns: repeat(2, minmax(0, 118px)); }
  .bt-anh-tin-ds.is-nhieu { grid-template-columns: repeat(3, minmax(0, 78px)); }
  .bt-tep { width: 100%; }
  .bt-bong, .bt-anh-tin { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  /* Không có nút "…" thường trực: thao tác bằng GIỮ 450ms; nút vẫn tới được bằng bàn phím / trình đọc màn hình (hiện khi focus). */
  .bt-tin-nut { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 1; pointer-events: auto; }
  .bt-tin-nut:focus-within { width: auto; height: auto; overflow: visible; clip-path: none; }
  .bt-tin-nut .bt-tn { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
  .bt-tin-loi button { min-height: 44px; min-width: 44px; }
  .bt-ghim-toi, .bt-ghim-so, .bt-tai-cu { min-height: 44px; }
  .bt-soan-vung { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .bt-ht-soan textarea { min-height: 44px; padding-top: 11px; padding-bottom: 11px; }
  .bt-tep-bo { width: 44px; height: 44px; top: -4px; right: -4px; }
  .bt-soan-anh-o button { width: 44px; height: 44px; top: -10px; right: -10px; }
  .bt-ten-nut { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .bt-hop-tin .bt-hop-cx { grid-template-columns: repeat(6, 44px); }
}
/* Giảm chuyển động: tắt mọi chuyển tiếp của khung chat (thanh thao tác, công tắc, cuộn mượt). */
@media (prefers-reduced-motion: reduce) {
  .bt-tin-nut, .bt-cong-tac::before { transition: none; }
  .bt-ht-tin { scroll-behavior: auto; }
}

.bt-video-box { width: 320px; max-width: 100%; margin-top: 6px; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.bt-bong > .bt-video-box:first-child { margin-top: 0; }
.bt-video-player { display: block; width: 100%; max-height: 240px; object-fit: contain; background: #000; }
.bt-video-meta { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; background: var(--bt-trich-nen, rgba(0, 0, 0, 0.6)); font-size: 11px; color: var(--text-muted); }

/* ── 100 Bảng tin xã hội (07/10/2026): @nhắc tên, 6 cảm xúc, bình chọn — theo demo anh Nghĩa duyệt, giữ màu chủ đề iTN ── */
.bt-soan-o { position: relative; }
.bt-soan-o > label { display: block; }
.bt-nhac-pop { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 4px; max-height: min(360px, 50vh); overflow: auto; overscroll-behavior: contain; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.bt-nhac-pop[hidden] { display: none; }
.bt-nhac-o { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px; cursor: pointer; color: var(--text-main); }
.bt-nhac-o[aria-selected="true"] { background: var(--theme-accent-soft); box-shadow: inset 3px 0 0 var(--theme-accent-strong); }
.bt-nhac-o-chu { display: grid; min-width: 0; }
.bt-nhac-o-chu strong { font-size: 14px; overflow-wrap: anywhere; }
.bt-nhac-o-chu small { font-size: 12px; color: var(--text-muted); overflow-wrap: anywhere; }
.bt-nhac-tat-ca { display: inline-grid; place-items: center; background: var(--theme-accent-soft); color: var(--txt-accent, var(--theme-accent-strong)); }
.bt-nhac-tt { margin: 0; padding: 12px; font-size: 13px; color: var(--text-muted); }
.bt-nhac-tt.bt-loi { color: var(--txt-bad); flex-wrap: wrap; }
.bt-nhac-chip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bt-nhac-chip:empty { display: none; }
.bt-nhac-bai { display: inline; padding: 0 2px; border: 0; border-radius: 4px; background: var(--theme-accent-soft); color: var(--txt-accent, var(--theme-accent-strong)); font: inherit; font-weight: 600; cursor: pointer; }
.bt-nhac-bai.is-tat-ca { cursor: default; }
.bt-nhac-bai:focus-visible { outline: 2px solid var(--theme-accent-strong); outline-offset: 1px; }

.bt-cx-tom { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; font-size: 13px; color: var(--text-muted); }
.bt-cx-tom-o { display: inline-flex; align-items: center; gap: 4px; }
.bt-cx-vung { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bt-bai-cx-mo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 100px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-main); font: inherit; font-size: 14px; cursor: pointer; }
.bt-bai-cx-mo.is-chon { border-color: var(--theme-accent-strong); background: var(--theme-accent-soft); font-weight: 700; }
.bt-bai-cx-mo:disabled { cursor: wait; border-style: dashed; }
.bt-cx-pop { position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 25; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); box-shadow: 0 12px 32px rgba(0, 0, 0, .2); }
.bt-cx-pop.is-duoi { bottom: auto; top: calc(100% + 6px); }
.bt-cx-pop[hidden] { display: none; }
.bt-cx-pop-o { display: inline-grid; justify-items: center; align-content: center; gap: 2px; min-width: 52px; min-height: 60px; padding: 4px; border: 0; border-radius: 8px; background: none; color: var(--text-main); font: inherit; font-size: 11.5px; cursor: pointer; }
.bt-cx-pop-o[aria-pressed="true"] { background: var(--theme-accent-soft); font-weight: 700; box-shadow: inset 0 -2px 0 var(--theme-accent-strong); }
.bt-cx-pop-o:focus-visible, .bt-bai-cx-mo:focus-visible { outline: 2px solid var(--theme-accent-strong); outline-offset: 2px; }
.cx-tim .bt-ic { color: #e0245e; }
.cx-haha .bt-ic, .cx-wow .bt-ic, .cx-buon .bt-ic, .cx-khoc .bt-ic { color: var(--txt-warn, #b8892b); }
.cx-thich .bt-ic { color: var(--txt-accent, var(--theme-accent-strong)); }
@media (hover: hover) { .bt-cx-pop-o:hover, .bt-nhac-o:hover { background: var(--theme-accent-soft); } }

.bt-bc-soan, .bt-bc { display: grid; gap: 8px; margin: 10px 0 0; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; min-width: 0; }
.bt-bc-soan legend, .bt-bc-cau { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; font-weight: 700; font-size: 14px; color: var(--text-main); overflow-wrap: anywhere; }
.bt-bc-truong { display: grid; gap: 4px; font-size: 13px; color: var(--text-muted); min-width: 0; flex: 1; }
.bt-bc-truong input { min-height: 44px; box-sizing: border-box; width: 100%; padding: 0 10px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-main); font: inherit; font-size: 14px; }
.bt-bc-lc-ds { display: grid; gap: 6px; }
.bt-bc-lc-dong { display: flex; align-items: center; gap: 6px; }
.bt-bc-soan-nut { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bt-bc-soan-nut .bt-xem, .bt-bc .bt-xem, .bt-bc-soan-nut .bt-chk { min-height: 44px; }
.bt-bc-kieu { margin-top: -4px; }
.bt-bc-o { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; isolation: isolate; color: var(--text-main); font-size: 14px; }
.bt-bc-o::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--pt, 0%); background: var(--theme-accent-soft); z-index: -1; transition: opacity .2s ease; }
.bt-bc-o.is-chon { border-color: var(--theme-accent-strong); font-weight: 600; }
label.bt-bc-o { cursor: pointer; }
.bt-bc-o input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--theme-accent-strong); }
.bt-bc-chu { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bt-bc-so { flex: none; font-size: 12.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.bt-bc-chan { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; }
.bt-bc[aria-busy="true"] .bt-bc-o { opacity: .7; }
@media (max-width: 759px) { .bt-cx-pop-o { min-width: 46px; } .bt-cx-pop { gap: 0; } }
@media (prefers-reduced-motion: reduce) { .bt-bc-o::before { transition: none; } }
.bt-nhac-tb { margin: 4px 0 0; }
.bt-nhac-tb:empty { display: none; }
@media (max-width: 1023px), (pointer: coarse) {
  .bt-lk, .bt-bl-soan input, .bt-ghim-bo, .bt-ghim-toi, .bt-bc-nut button { min-height: 44px; min-width: 44px; }
  .bt-ic-nut, .bt-bl .bt-menu summary, .bt-tim-xoa, .bt-soan-anh-o button, .bt-tep-bo { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .bt-ten-nut, .bt-tin-ai .bt-ten-nut, .bt-ht-nut { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .bt-tin-ai .bt-ten-nut, .bt-bai-dau .bt-ten-nut { margin-block: -6px; }
}
