/* Tổng kết ngày Luxury Editorial v7 — nền Trắng Ngà (Warm Ivory #FAF7F2), thẻ Porcelain (#FFFDF9), chữ Đen Than (Obsidian Charcoal #171614),
   điểm nhấn Champagne Đồng (#785520 / #B88E4A) tương phản chuẩn WCAG AA. Hỗ trợ tự động các theme tối của hệ thống.
   Bố cục phân cấp rõ ràng: Thanh chọn nhanh 1 chạm · Cảnh báo việc cần chú ý · Thẻ Hero 4 chỉ số chính · Thẻ Tiến độ KPI theo từng chi nhánh ·
   Thẻ Cơ cấu doanh thu & nguồn thu · Thẻ 7 nhóm nghiệp vụ & Cần xử lý · Ngăn chi tiết bên phải (≥ 1280px) hoặc màn đẩy (< 1280px). */
.tkn-goc {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  --tkn-bg: #FAF7F2;
  --tkn-card: #FFFDF9;
  --tkn-surface-2: #F4EFE6;
  --tkn-hover: #F1EAE0;
  --tkn-ink: #171614;
  --tkn-ink-2: #3D3933;
  --tkn-muted: #6B655C;
  --tkn-dim: #665E54;
  --tkn-gold: #B88E4A;
  --tkn-gold-deep: #785520;
  --tkn-gold-soft: #F5EBD6;
  --tkn-border: #E5DEC9;
  --tkn-border-strong: #D2C5AE;
  --tkn-ok: #1B5E3A;
  --tkn-ok-bg: #EAF5EE;
  --tkn-ok-bd: #BFE0CC;
  --tkn-warn: #8A4B08;
  --tkn-warn-bg: #FDF3E3;
  --tkn-warn-bd: #EED09D;
  --tkn-bad: #9E2A2B;
  --tkn-bad-bg: #FCECEB;
  --tkn-bad-bd: #EBBFBE;
  --tkn-shadow: 0 6px 24px rgba(23, 22, 20, 0.05), 0 1px 3px rgba(23, 22, 20, 0.03);
  --tkn-shadow-sm: 0 2px 10px rgba(23, 22, 20, 0.035);
  --bg-app: var(--tkn-bg);
  --bg-card: var(--tkn-card);
  --bg-card-hover: var(--tkn-hover);
  --bg-input: var(--tkn-surface-2);
  --text-main: var(--tkn-ink);
  --text-muted: var(--tkn-muted);
  --text-dim: var(--tkn-dim);
  --border-color: var(--tkn-border);
  --txt-accent: var(--tkn-gold-deep);
  --theme-accent: var(--tkn-gold);
  --theme-accent-strong: var(--tkn-gold-deep);
  --theme-accent-soft: var(--tkn-gold-soft);
  --txt-ok: var(--tkn-ok);
  --txt-warn: var(--tkn-warn);
  --txt-bad: var(--tkn-bad);
  background: var(--tkn-bg);
  border-radius: 18px;
}
html[data-itn-theme="sapphire"] .tkn-goc,
html[data-itn-theme="graphite"] .tkn-goc,
html[data-itn-theme="gold-noir"] .tkn-goc,
body[data-itn-theme="sapphire"] .tkn-goc,
body[data-itn-theme="graphite"] .tkn-goc,
body[data-itn-theme="gold-noir"] .tkn-goc {
  --tkn-bg: #131210;
  --tkn-card: #1B1916;
  --tkn-surface-2: #24211D;
  --tkn-hover: #2C2822;
  --tkn-ink: #F5F0E6;
  --tkn-ink-2: #D8D0C2;
  --tkn-muted: #A69E90;
  --tkn-dim: #A39B8E;
  --tkn-gold: #C9A259;
  --tkn-gold-deep: #E2BE78;
  --tkn-gold-soft: rgba(201, 162, 89, 0.16);
  --tkn-border: #302C25;
  --tkn-border-strong: #463F34;
  --tkn-ok: #5CD692;
  --tkn-ok-bg: rgba(45, 164, 100, 0.16);
  --tkn-ok-bd: rgba(92, 214, 146, 0.32);
  --tkn-warn: #F0B45B;
  --tkn-warn-bg: rgba(217, 138, 38, 0.16);
  --tkn-warn-bd: rgba(240, 180, 91, 0.32);
  --tkn-bad: #F28080;
  --tkn-bad-bg: rgba(214, 69, 69, 0.16);
  --tkn-bad-bd: rgba(242, 128, 128, 0.32);
  --tkn-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  --tkn-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.tkn {
  max-width: 1440px;
  margin: 0 auto;
  padding: 6px 2px 20px;
  color: var(--tkn-ink, var(--text-main));
  min-width: 0;
  font-size: 15px;
  line-height: 1.4;
}
.tkn [hidden], .tkn-ngan[hidden], .tkn-ngan [hidden] { display: none !important; }
.tkn-ic { width: 18px; height: 18px; flex: none; }
.tkn button, .tkn-ngan button, .tkn-loc button { font: inherit; color: inherit; }
.tkn button:focus-visible, .tkn-ngan button:focus-visible, .tkn-loc button:focus-visible, .tkn-loc input:focus-visible, .tkn-ngan summary:focus-visible {
  outline: 2px solid var(--tkn-gold-deep, var(--theme-accent-strong));
  outline-offset: 2px;
}
.tkn-mo { color: var(--tkn-dim, var(--text-dim)); font-weight: 500; }
.tkn-phu { margin: 8px 0 0; color: var(--tkn-muted, var(--text-muted)); font-size: 13px; line-height: 1.45; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.tkn-phu .tkn-ic { width: 14px; height: 14px; color: var(--tkn-dim, var(--text-dim)); }
.tkn-nhan { font-size: 13px; color: var(--tkn-muted, var(--text-muted)); font-weight: 600; line-height: 1.35; }
.tkn-go { color: var(--tkn-gold-deep, var(--text-dim)); font-size: 20px; text-align: right; line-height: 1; font-weight: 500; }

/* Thứ bấm được: màu đồng Champagne đậm + gạch chân tinh tế */
.tkn-lnk {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin: 0; border: 0; background: none;
  color: var(--tkn-gold-deep, var(--txt-accent)); font: inherit; font-weight: 600; line-height: 1.25;
  text-align: left; text-decoration: underline dotted; text-underline-offset: 3px; text-decoration-thickness: 1px;
  cursor: pointer; vertical-align: middle; overflow-wrap: anywhere;
}
.tkn-lnk:hover { text-decoration-style: solid; }
.tkn-lnk.is-nhat { text-decoration: none; }
.tkn-lnk.is-so { font-variant-numeric: tabular-nums; }

.tkn-nut {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 16px;
  border: 1px solid var(--tkn-border-strong, var(--border-color)); border-radius: 12px;
  background: var(--tkn-card, var(--bg-card)); color: var(--tkn-ink, var(--text-main));
  font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; box-shadow: var(--tkn-shadow-sm);
  transition: border-color .18s ease, background-color .18s ease, transform .15s ease;
}
.tkn-nut:hover { border-color: var(--tkn-gold, var(--theme-accent-strong)); background: var(--tkn-gold-soft, var(--bg-card-hover)); }
.tkn-nut:active { transform: scale(.985); }
.tkn-nut.is-chinh { background: var(--tkn-ink, #171614); border-color: var(--tkn-ink, #171614); color: var(--tkn-card, #FFFDF9); }
.tkn-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 0; background: none; color: var(--tkn-muted, var(--text-muted)); cursor: pointer; border-radius: 10px; }
.tkn-x:hover { background: var(--tkn-hover); color: var(--tkn-ink); }
.tkn-x .tkn-ic { width: 22px; height: 22px; }

/* Trạng thái 3 nghĩa: pill tinh tế kèm biểu tượng + chữ */
.tkn-st {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; line-height: 1.35;
}
.tkn-st .tkn-ic { width: 13px; height: 13px; }
.tkn-st.is-ok { color: var(--tkn-ok); background: var(--tkn-ok-bg); border-color: var(--tkn-ok-bd); }
.tkn-st.is-warn { color: var(--tkn-warn); background: var(--tkn-warn-bg); border-color: var(--tkn-warn-bd); }
.tkn-st.is-bad { color: var(--tkn-bad); background: var(--tkn-bad-bg); border-color: var(--tkn-bad-bd); }
.tkn-st.is-muted { color: var(--tkn-muted); background: var(--tkn-surface-2); border-color: var(--tkn-border); font-weight: 600; }

/* ── Hiệu ứng Luxury tinh tế (vào màn, thanh KPI, cột biểu đồ, nhấn sáng khi đạt KPI) ── */
@keyframes tkn-vao { from { opacity: .94; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes tkn-thanh { from { transform: scaleX(0); } to { transform: none; } }
@keyframes tkn-cot-len { from { transform: scaleY(0); } to { transform: none; } }
@keyframes tkn-sang {
  0% { box-shadow: 0 0 0 0 rgba(184, 142, 74, 0); }
  45% { box-shadow: 0 0 0 4px rgba(184, 142, 74, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(184, 142, 74, 0); }
}
.tkn-kq, .tkn-td6, .tkn-nhom, .tkn-bd, .tkn-xl, .tkn-tung-ngay, .tkn-ky-tom { animation: tkn-vao .18s ease-out both; }
.tkn-td6 { animation-delay: .02s; }
.tkn-nhom, .tkn-bd-ky { animation-delay: .04s; }
.tkn-bd, .tkn-xl, .tkn-tung-ngay { animation-delay: .05s; }
.tkn-man.is-da-hieu-ung .tkn-kq, .tkn-man.is-da-hieu-ung .tkn-td6, .tkn-man.is-da-hieu-ung .tkn-nhom, .tkn-man.is-da-hieu-ung .tkn-bd,
.tkn-man.is-da-hieu-ung .tkn-xl, .tkn-man.is-da-hieu-ung .tkn-tung-ngay, .tkn-man.is-da-hieu-ung .tkn-ky-tom,
.tkn-man.is-da-hieu-ung .tkn-ray-f, .tkn-man.is-da-hieu-ung .tkn-bd-ct, .tkn-man.is-da-hieu-ung .tkn-bd-cm,
.tkn-man.is-da-hieu-ung .tkn-bd-bar-f, .tkn-man.is-da-hieu-ung .tkn-bd-svg-f, .tkn-man.is-da-hieu-ung .tkn-td-c.is-dat-kpi { animation: none; }

/* ── Đầu màn & Thanh điều khiển nhanh 1 chạm ── */
.tkn-hrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin: 2px 0 0; }
.tkn-hrow-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tkn-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tkn-gold-deep); line-height: 1.2; }
.tkn-hrow h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--tkn-ink); }
.tkn-nut-loc {
  gap: 6px; padding: 0 14px; border-radius: 12px;
  background: var(--tkn-card); border-color: var(--tkn-gold); color: var(--tkn-ink);
}
.tkn-nut-loc .tkn-ic { color: var(--tkn-gold-deep); }
.tkn-nut-loc .tkn-ic-mo { width: 14px; height: 14px; }
.tkn-nut-loc[aria-expanded="true"] { border-color: var(--tkn-gold-deep); background: var(--tkn-gold-soft); color: var(--tkn-gold-deep); }
.tkn-pv {
  margin: 4px 0 8px; font-size: 13px; color: var(--tkn-muted); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums;
}
.tkn-pv .is-canh { color: var(--tkn-warn); font-weight: 700; }

/* Thanh chọn nhanh Kỳ + Bước ngày + Chi nhánh (1 chạm, không cần mở hộp thoại) */
.tkn-nhanh {
  display: flex; flex-direction: column; gap: 6px; margin: 0 0 10px;
}
.tkn-nhanh-ky {
  display: flex; align-items: center; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 2px 0;
}
.tkn-nhanh-ky::-webkit-scrollbar { display: none; }
.tkn-buoc {
  display: inline-flex; align-items: center; flex: none; background: var(--tkn-card);
  border: 1px solid var(--tkn-border-strong); border-radius: 11px; overflow: hidden; box-shadow: var(--tkn-shadow-sm);
}
.tkn-nut-b {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; min-height: 44px;
  border: 0; background: transparent; color: var(--tkn-ink); font-size: 18px; font-weight: 700; cursor: pointer;
  transition: background-color .15s ease;
}
.tkn-nut-b:hover:not([disabled]) { background: var(--tkn-hover); color: var(--tkn-gold-deep); }
.tkn-nut-b[disabled] { color: var(--tkn-dim); opacity: .45; cursor: not-allowed; }
.tkn-nut-ngay {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px;
  border: 0; border-left: 1px solid var(--tkn-border); border-right: 1px solid var(--tkn-border);
  background: var(--tkn-surface-2); color: var(--tkn-ink); font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums; cursor: pointer; white-space: nowrap;
}
.tkn-nut-ngay:hover { background: var(--tkn-gold-soft); color: var(--tkn-gold-deep); }
.tkn-pill {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 11px;
  border: 1px solid var(--tkn-border); border-radius: 11px; background: var(--tkn-card);
  color: var(--tkn-ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer;
  box-shadow: var(--tkn-shadow-sm); transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.tkn-pill:hover { border-color: var(--tkn-gold); color: var(--tkn-ink); background: var(--tkn-hover); }
.tkn-pill.is-on, .tkn-pill[aria-pressed="true"] {
  background: var(--tkn-ink); border-color: var(--tkn-ink); color: var(--tkn-card); font-weight: 700;
}
.tkn-nhanh-cn {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
  padding: 3px; background: var(--tkn-surface-2); border: 1px solid var(--tkn-border); border-radius: 12px;
}
.tkn-pill-cn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px;
  border: 1px solid transparent; border-radius: 9px; background: transparent;
  color: var(--tkn-muted); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.tkn-pill-cn:hover { color: var(--tkn-ink); }
.tkn-pill-cn.is-on, .tkn-pill-cn[aria-pressed="true"] {
  background: var(--tkn-card); border-color: var(--tkn-gold); color: var(--tkn-gold-deep);
  font-weight: 700; box-shadow: var(--tkn-shadow-sm);
}

.tkn-bao1 {
  display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 10px 14px;
  border-radius: 12px; background: var(--tkn-warn-bg); border: 1px solid var(--tkn-warn-bd);
  color: var(--tkn-warn); font-size: 13px; font-weight: 600;
}
.tkn-chu-y {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0 0 10px; padding: 8px 14px;
  border: 1px solid var(--tkn-warn-bd); border-left: 4px solid var(--tkn-warn); border-radius: 13px;
  background: var(--tkn-warn-bg); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer;
  color: var(--tkn-ink); box-sizing: border-box; box-shadow: var(--tkn-shadow-sm);
  transition: transform .15s ease, border-color .18s ease, box-shadow .18s ease;
}
.tkn-chu-y:hover { border-color: var(--tkn-gold-deep); transform: translateY(-1px); }
.tkn-chu-y b { color: var(--tkn-warn); font-weight: 800; }
.tkn-chu-y .tkn-go { margin-left: auto; color: var(--tkn-warn); font-weight: 700; }
.tkn-chu-y-ic { display: inline-flex; color: var(--tkn-warn); }
.tkn-chu-y-ic.is-bad { color: var(--tkn-bad); }
.tkn-chu-y-ic .tkn-ic { width: 20px; height: 20px; }
.tkn-chu-y.is-ok {
  cursor: default; color: var(--tkn-ok); border-color: var(--tkn-ok-bd); border-left: 4px solid var(--tkn-ok);
  background: var(--tkn-ok-bg);
}

/* ── 4 số chính: Thẻ Hero Luxury (lưới 2×2 trên điện thoại, 4 cột trên máy tính) ── */
.tkn-kq {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 2px; padding: 6px 14px 12px;
  border: 1px solid var(--tkn-border); border-top: 3px solid var(--tkn-gold); border-radius: 16px;
  background: linear-gradient(180deg, var(--tkn-gold-soft) 0%, var(--tkn-card) 52px, var(--tkn-card) 100%);
  box-shadow: var(--tkn-shadow);
}
.tkn-kq-h {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 6px 0 8px; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--tkn-gold-deep); border-bottom: 1px solid var(--tkn-border);
}
.tkn-kq-o { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 10px 8px 0; }
.tkn-kq-o:nth-child(2n+1) { padding-left: 12px; padding-right: 0; border-left: 1px solid var(--tkn-border); }
.tkn-kq-o:nth-child(n+4) { border-top: 1px solid var(--tkn-border); padding-top: 10px; }
.tkn-kq-o > .tkn-nhan {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--tkn-muted);
}
.tkn-v {
  display: flex; align-items: baseline; min-height: 44px; margin: 0; padding: 4px 0; box-sizing: border-box;
  border: 0; background: none; color: var(--tkn-ink); font-size: 23px; font-weight: 800;
  letter-spacing: -.025em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap;
  text-align: left; cursor: pointer; max-width: 100%; transition: color .15s ease;
}
.tkn-v:hover { color: var(--tkn-gold-deep); }
.tkn .tkn-v { color: var(--tkn-ink); }
.tkn .tkn-v:hover { color: var(--tkn-gold-deep); }
.tkn-dv { font-size: 13px; font-weight: 700; color: var(--tkn-muted); margin-left: 3px; }
.tkn-sep { font-weight: 400; color: var(--tkn-dim); margin: 0 3px; }
.tkn-v-ar { font-size: 18px; font-weight: 500; color: var(--tkn-gold-deep); margin-left: auto; padding-left: 4px; }
.tkn-l1 {
  font-size: 12px; font-weight: 600; color: var(--tkn-ink-2); line-height: 1.35;
  font-variant-numeric: tabular-nums; margin-bottom: 2px;
}
.tkn-l1:empty { display: none; }
.tkn-l2 {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  font-size: 12px; color: var(--tkn-muted); line-height: 1.3; font-variant-numeric: tabular-nums;
}
.tkn-l2 .is-len, .tkn-l2 .is-xuong, .tkn-l2 .is-bang {
  display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.tkn-l2 .is-len { color: var(--tkn-ok); background: var(--tkn-ok-bg); border: 1px solid var(--tkn-ok-bd); }
.tkn-l2 .is-xuong { color: var(--tkn-warn); background: var(--tkn-warn-bg); border: 1px solid var(--tkn-warn-bd); }
.tkn-l2 .is-bang { color: var(--tkn-muted); background: var(--tkn-surface-2); border: 1px solid var(--tkn-border); font-weight: 600; }

/* ── Thẻ Tiến độ KPI Luxury (thực tế / mục tiêu / % hoàn thành + thanh mượt + nhấn sáng khi đạt) ── */
.tkn-td6 {
  margin-top: 12px; padding: 14px 16px; border: 1px solid var(--tkn-border); border-radius: 16px;
  background: var(--tkn-card); box-shadow: var(--tkn-shadow);
}
.tkn-td-dau {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--tkn-border);
}
.tkn-td-dau b { font-size: 16px; font-weight: 800; color: var(--tkn-ink); letter-spacing: -.01em; }
.tkn-td-dau .tkn-nhan { font-size: 12px; color: var(--tkn-muted); }
.tkn-td-k {
  margin-top: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--tkn-surface-2); border: 1px solid var(--tkn-border);
}
.tkn-td-d {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px;
  font-size: 13px; line-height: 1.3; font-variant-numeric: tabular-nums;
}
.tkn-td-ten {
  font-size: 14px; font-weight: 800; color: var(--tkn-ink); letter-spacing: -.01em;
}
.tkn-td-cns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.tkn-td-cn {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 9px;
  background: var(--tkn-card); border: 1px solid var(--tkn-border); font-size: 13px; font-weight: 600; color: var(--tkn-ink);
}
.tkn-td-cn.is-mo { background: transparent; border-style: dashed; }
.tkn-td-cn-so b { font-weight: 800; color: var(--tkn-ink); font-size: 14px; }
.tkn-td-ray {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px;
}
.tkn-td-c {
  display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px 12px;
  border-radius: 10px; background: var(--tkn-card); border: 1px solid var(--tkn-border);
}
.tkn-td-c.is-dat-kpi, .tkn-td.is-dat-kpi { animation: tkn-sang 1.2s ease-out .22s 1 both; border-color: var(--tkn-ok-bd); }
.tkn-td-pt {
  font-size: 12px; line-height: 1.3; color: var(--tkn-ink-2); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tkn-td-cuoi {
  display: flex; justify-content: flex-end; margin-top: 6px; padding-top: 4px;
}
.tkn-ray { display: block; width: 100%; height: 10px; overflow: visible; }
.tkn-ray-n { fill: color-mix(in srgb, var(--tkn-ink) 10%, transparent); }
.tkn-ray-f { fill: var(--tkn-gold); transform-origin: left center; transform-box: fill-box; animation: tkn-thanh .55s ease-out both; }
.tkn-ray-f.is-ok { fill: var(--tkn-ok); }
.tkn-ray-f.is-warn { fill: var(--tkn-gold); }
.tkn-ray-f.is-dat { fill: var(--tkn-gold-deep); }
.tkn-ray-m { fill: var(--tkn-ink); }

/* ── Thẻ Biểu đồ dữ liệu thật (1 ngày: cơ cấu doanh thu & nguồn thu · Nhiều ngày: xu hướng doanh thu) ── */
.tkn-bd {
  margin-top: 12px; padding: 14px 16px; border: 1px solid var(--tkn-border); border-radius: 16px;
  background: var(--tkn-card); box-shadow: var(--tkn-shadow); min-width: 0;
}
.tkn-bd h3 {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--tkn-border);
  font-size: 16px; font-weight: 800; color: var(--tkn-ink); line-height: 1.25;
}
.tkn-bd-cn {
  margin-bottom: 14px; padding: 12px 14px; border-radius: 12px;
  background: var(--tkn-surface-2); border: 1px solid var(--tkn-border);
}
.tkn-bd-cn-h {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  margin-bottom: 8px; font-size: 13px; line-height: 1.3; color: var(--tkn-ink-2); font-weight: 600; font-variant-numeric: tabular-nums;
}
.tkn-bd-cn-h b { color: var(--tkn-ink); font-weight: 800; }
.tkn-bd-thanh { display: block; width: 100%; height: 10px; border-radius: 5px; overflow: hidden; }
.tkn-bd-ct { fill: var(--tkn-gold-deep); transform-origin: left center; animation: tkn-thanh .5s ease-out both; }
.tkn-bd-cm { fill: #C5A059; transform-origin: left center; animation: tkn-thanh .6s ease-out both; }
.tkn-bd-cn-lg {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px;
  margin-top: 8px; font-size: 12px; color: var(--tkn-muted); font-variant-numeric: tabular-nums;
}
.tkn-bd-cn-lg span { display: inline-flex; align-items: center; gap: 6px; }
.tkn-bd-cn-lg b { color: var(--tkn-ink); font-weight: 700; }
.tkn-bd-cn-lg i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.tkn-bd-lg-ct i { background: var(--tkn-gold-deep); }
.tkn-bd-lg-cm i { background: #C5A059; }

.tkn-bd-luoi { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.tkn-bd-m { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tkn-bd-m-d {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 13px; line-height: 1.3; font-variant-numeric: tabular-nums;
}
.tkn-bd-ten { color: var(--tkn-ink-2); font-weight: 700; white-space: nowrap; }
.tkn-bd-so { font-weight: 800; color: var(--tkn-ink); white-space: nowrap; }
.tkn-bd-so small { font-size: 12px; font-weight: 600; color: var(--tkn-muted); margin-left: 2px; }
.tkn-bd-bar { display: block; width: 100%; height: 7px; border-radius: 4px; overflow: hidden; }
.tkn-bd-bar-n { fill: color-mix(in srgb, var(--tkn-ink) 8%, transparent); }
.tkn-bd-bar-f { fill: var(--tkn-gold); transform-origin: left center; transform-box: fill-box; animation: tkn-thanh .55s ease-out .06s both; }

/* Biểu đồ cột xu hướng nhiều ngày */
.tkn-bd-day { display: flex; align-items: stretch; gap: 5px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px 0 2px; }
.tkn-bd-cot {
  flex: 1 1 42px; min-width: 42px; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  min-height: 116px; padding: 8px 3px; border: 1px solid var(--tkn-border);
  border-radius: 12px; background: var(--tkn-surface-2); cursor: pointer; font-variant-numeric: tabular-nums;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.tkn-bd-cot:hover { background: var(--tkn-hover); border-color: var(--tkn-gold); transform: translateY(-2px); }
.tkn-bd-cot.is-dinh {
  background: var(--tkn-gold-soft); border-color: var(--tkn-gold);
  box-shadow: 0 4px 12px rgba(184, 142, 74, 0.14);
}
.tkn-bd-tr { font-size: 12px; font-weight: 700; color: var(--tkn-ink-2); white-space: nowrap; }
.tkn-bd-cot.is-dinh .tkn-bd-tr { color: var(--tkn-gold-deep); font-weight: 800; }
.tkn-bd-svg { width: 34px; height: 68px; overflow: visible; margin: 4px 0; }
.tkn-bd-svg-n { fill: color-mix(in srgb, var(--tkn-ink) 8%, transparent); }
.tkn-bd-svg-f { fill: var(--tkn-gold); transform-origin: center bottom; transform-box: fill-box; animation: tkn-cot-len .52s ease-out both; }
.tkn-bd-svg-f.is-dinh { fill: var(--tkn-gold-deep); }
.tkn-bd-ngay { font-size: 12px; font-weight: 700; color: var(--tkn-ink); white-space: nowrap; }

/* ── Thẻ 7 nhóm nghiệp vụ & Thẻ Cần xử lý ── */
.tkn-nhom, .tkn-xl, .tkn-tung-ngay {
  margin-top: 12px; padding: 14px 16px; border: 1px solid var(--tkn-border); border-radius: 16px;
  background: var(--tkn-card); box-shadow: var(--tkn-shadow); min-width: 0;
}
.tkn-nhom h3, .tkn-xl h3, .tkn-tung-ngay h3 {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--tkn-border);
  font-size: 16px; font-weight: 800; color: var(--tkn-ink);
}
.tkn-gl { display: flex; flex-direction: column; gap: 6px; }
.tkn-gl > button {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 4px 12px; align-items: center;
  min-height: 58px; margin: 0; padding: 10px 12px; border: 1px solid var(--tkn-border);
  background: var(--tkn-surface-2); text-align: left; cursor: pointer; font-size: 15px; line-height: 1.25;
  border-radius: 12px; transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.tkn-gl > button:hover { background: var(--tkn-hover); border-color: var(--tkn-gold); transform: translateX(2px); }
.tkn-gl-ten { grid-column: 1; grid-row: 1; font-weight: 700; color: var(--tkn-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkn-gl-st {
  grid-column: 1; grid-row: 2; justify-self: start; display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 1.25;
  color: var(--tkn-muted); background: var(--tkn-card); border: 1px solid var(--tkn-border);
  font-weight: 600; max-width: 100%; min-width: 0;
}
.tkn-gl-st > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkn-gl-st .tkn-ic { width: 13px; height: 13px; }
.tkn-gl-st.is-ok { color: var(--tkn-ok); background: var(--tkn-ok-bg); border-color: var(--tkn-ok-bd); }
.tkn-gl-st.is-warn { color: var(--tkn-warn); background: var(--tkn-warn-bg); border-color: var(--tkn-warn-bd); }
.tkn-gl-st.is-bad { color: var(--tkn-bad); background: var(--tkn-bad-bg); border-color: var(--tkn-bad-bd); font-weight: 700; }
.tkn-gl-so {
  grid-column: 2; grid-row: 1 / 3; color: var(--tkn-ink); font-size: 15px; font-weight: 800;
  text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.tkn-gl .tkn-go { grid-column: 3; grid-row: 1 / 3; color: var(--tkn-gold-deep); }
.tkn-xl { display: none; }

/* Danh sách việc (màn "việc cần chú ý" + khối Cần xử lý của máy tính) */
.tkn-viec { display: flex; flex-direction: column; gap: 6px; }
.tkn-viec > button {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; gap: 10px; align-items: center;
  min-height: 54px; margin: 0; padding: 10px 12px; border: 1px solid var(--tkn-border); border-radius: 12px;
  background: var(--tkn-surface-2); text-align: left; cursor: pointer; font-size: 14px;
  transition: border-color .15s ease, background-color .15s ease;
}
.tkn-viec > button:hover { border-color: var(--tkn-gold); background: var(--tkn-hover); }
.tkn-viec-ic { display: inline-flex; } .tkn-viec-ic .tkn-ic { width: 20px; height: 20px; }
.tkn-viec-ic.is-bad { color: var(--tkn-bad); } .tkn-viec-ic.is-warn { color: var(--tkn-warn); }
.tkn-viec-c { min-width: 0; font-weight: 600; color: var(--tkn-ink); }
.tkn-viec-c small { display: block; font-size: 12px; color: var(--tkn-muted); font-weight: 500; margin-top: 2px; }

/* ── Nhiều ngày: 4 thẻ tổng hợp kỳ + danh sách 2 dòng (điện thoại) / bảng (máy tính) ── */
.tkn-ky-tom {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px;
}
.tkn-ky-o {
  display: flex; flex-direction: column; gap: 3px; padding: 10px 12px;
  background: var(--tkn-card); border: 1px solid var(--tkn-border); border-radius: 14px;
  box-shadow: var(--tkn-shadow-sm); min-width: 0;
}
.tkn-ky-o:first-child { border-top: 3px solid var(--tkn-gold); }
.tkn-ky-o .tkn-nhan { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--tkn-muted); }
.tkn-ky-so {
  font-size: 17px; font-weight: 800; color: var(--tkn-ink); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tkn-ky-so small { font-size: 13px; font-weight: 600; color: var(--tkn-muted); }

.tkn-ngay-ds { display: flex; flex-direction: column; gap: 6px; }
.tkn-ngay-ds > button, .tkn-ngay-tong {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 2px 8px;
  min-height: 56px; max-height: 64px; margin: 0; padding: 6px 12px; border: 1px solid var(--tkn-border); border-radius: 12px;
  background: var(--tkn-surface-2); text-align: left; cursor: pointer; font-size: 15px; box-sizing: border-box; overflow: hidden;
  transition: border-color .15s ease, background-color .15s ease;
}
.tkn-ngay-ds > button:hover { border-color: var(--tkn-gold); background: var(--tkn-hover); }
.tkn-ngay-tong { cursor: default; font-weight: 700; background: var(--tkn-gold-soft); border-color: var(--tkn-gold); }
.tkn-d1 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; color: var(--tkn-ink); min-width: 0; white-space: nowrap; }
.tkn-d1 > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.tkn-d1-so { color: var(--tkn-gold-deep); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tkn-ngay-tong .tkn-d1-so { color: var(--tkn-ink); }
.tkn-d2 { grid-column: 1; display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--tkn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.tkn-d2 .tkn-st { font-size: 12px; }
.tkn-ngay-ds .tkn-go { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.tkn-ngay-bang-w { display: none; }
.tkn-ngay-bang { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tkn-ngay-bang th, .tkn-ngay-bang td { height: 48px; padding: 0 10px; border-bottom: 1px solid var(--tkn-border); text-align: right; white-space: nowrap; }
.tkn-ngay-bang tbody tr:hover > * { background: var(--tkn-surface-2); }
.tkn-ngay-bang thead th {
  height: auto; padding: 8px 10px; font-size: 12px; color: var(--tkn-muted);
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--tkn-border-strong);
}
.tkn-ngay-bang th:first-child { text-align: left; padding-left: 4px; font-weight: 600; }
.tkn-ngay-bang tr.is-tong > * { font-weight: 800; border-bottom: 0; background: var(--tkn-gold-soft); color: var(--tkn-ink); }
.tkn-ngay-bang small { font-size: 12px; color: var(--tkn-muted); font-weight: 600; margin-left: 6px; }

/* Đang tải / lỗi */
.tkn-cho { display: grid; gap: 12px; padding: 16px 0; }
.tkn-cho p { margin: 0; color: var(--tkn-muted); font-size: 13px; }
.tkn-sk { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--tkn-surface-2) 0%, var(--tkn-hover) 45%, var(--tkn-surface-2) 90%); background-size: 240% 100%;
  animation: tkn-song 1.3s linear infinite; }
.tkn-sk-1 { width: 60%; height: 22px; } .tkn-sk-2 { height: 84px; } .tkn-sk-3 { height: 220px; }
.tkn-sk-t { width: 60%; height: 22px; } .tkn-sk-80 { width: 80%; } .tkn-sk-40 { width: 40%; }
.tkn-sk-tron { width: 44px; height: 44px; border-radius: 50%; }
.tkn-sk-ds { display: grid; gap: 12px; padding: 16px 0; }
.tkn-sk-r { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
@keyframes tkn-song { to { background-position: -240% 0; } }
.tkn-mot.is-dang .tkn-kq, .tkn-mot.is-dang .tkn-gl { opacity: .6; }
.tkn-rong { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 12px; padding: 32px 16px; border: 1px dashed var(--tkn-border-strong);
  border-radius: 14px; background: var(--tkn-card); color: var(--tkn-muted); text-align: center; }
.tkn-loi strong { color: var(--tkn-bad); }

/* ── Máy tính ≥ 1024px: Bố cục 2 cột sang trọng, thanh điều khiển 1 hàng, 4 số Hero 1 hàng ── */
@media (min-width: 1024px) {
  .tkn { padding: 10px 8px 28px; }
  .tkn-hrow h2 { font-size: 30px; }
  .tkn-nhanh { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 14px; }
  .tkn-nhanh-cn { display: inline-grid; width: auto; min-width: 320px; }
  .tkn-kq { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 20px 16px; }
  .tkn-kq-o, .tkn-kq-o:nth-child(2n+1), .tkn-kq-o:nth-child(n+4) { border-top: 0; padding: 12px 16px 6px 0; border-left: 0; }
  .tkn-kq-o + .tkn-kq-o { padding-left: 18px; border-left: 1px solid var(--tkn-border); }
  .tkn-v { font-size: 28px; }
  .tkn-td-ray { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tkn-xl { display: block; }
  .tkn-mot {
    display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); column-gap: 24px; align-items: start; max-width: 1240px;
    grid-template-areas: "dau dau" "pv pv" "nhanh nhanh" "bao bao" "cy cy" "kq kq" "td nhom" "bd nhom" "xl nhom";
  }
  .tkn-mot > .tkn-hrow { grid-area: dau; }
  .tkn-mot > .tkn-pv { grid-area: pv; }
  .tkn-mot > .tkn-nhanh { grid-area: nhanh; }
  .tkn-mot > .tkn-bao1 { grid-area: bao; }
  .tkn-mot > .tkn-chu-y { grid-area: cy; }
  .tkn-mot > .tkn-kq { grid-area: kq; }
  .tkn-mot > .tkn-td6 { grid-area: td; margin-top: 16px; padding: 18px 20px; }
  .tkn-mot > .tkn-bd { grid-area: bd; margin-top: 16px; padding: 18px 20px; }
  .tkn-mot > .tkn-xl { grid-area: xl; margin-top: 16px; padding: 18px 20px; }
  .tkn-mot > .tkn-nhom { grid-area: nhom; margin-top: 16px; padding: 18px 20px; }
  .tkn-mot > .tkn-cho, .tkn-mot > .tkn-rong { grid-column: 1 / -1; }
  .tkn-co-ngan .tkn-mot {
    grid-template-columns: minmax(0, 1fr); max-width: 740px;
    grid-template-areas: "dau" "pv" "nhanh" "bao" "cy" "kq" "td" "bd" "nhom" "xl";
  }
  .tkn-co-ngan .tkn-nhanh { flex-wrap: wrap; }
  .tkn-co-ngan .tkn-kq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tkn-co-ngan .tkn-kq-o, .tkn-co-ngan .tkn-kq-o + .tkn-kq-o { padding: 8px 10px 8px 0; border-left: 0; }
  .tkn-co-ngan .tkn-kq-o:nth-child(2n+1) { padding-left: 14px; border-left: 1px solid var(--tkn-border); }
  .tkn-co-ngan .tkn-kq-o:nth-child(n+4) { border-top: 1px solid var(--tkn-border); }
  .tkn-nhieu { max-width: 1240px; }
  .tkn-ky-tom { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
  .tkn-ky-o { padding: 14px 16px; }
  .tkn-ky-so { font-size: 24px; }
  .tkn-ngay-ds { display: none; }
  .tkn-ngay-bang-w { display: block; }
  .tkn-bd-ky { padding: 18px 20px; margin-top: 16px; }
  .tkn-bd-day { gap: 10px; }
  .tkn-bd-cot { flex: 1 0 54px; min-height: 128px; padding: 10px 6px; }
  .tkn-bd-svg { width: 42px; height: 84px; }
  .tkn-tung-ngay { padding: 18px 20px; margin-top: 16px; }
}

/* ════ Ngăn chi tiết: màn đẩy toàn khung (< 1280px) / ngăn phải Luxury (≥ 1280px) ════ */
.tkn-ngan {
  position: fixed; top: 0; left: 0; right: 0; bottom: var(--itn-tab-h, 0px); z-index: 10040;
  display: flex; flex-direction: column; background: var(--tkn-card, var(--bg-card)); color: var(--tkn-ink, var(--text-main));
  font-size: 15px; line-height: 1.4; padding-top: env(safe-area-inset-top, 0px); animation: tkn-day .22s ease-out;
}
@keyframes tkn-day { from { transform: translateX(100%); } to { transform: none; } }
.tkn-ngan-dau {
  flex: none; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--tkn-gold-soft) 0%, var(--tkn-card) 100%);
  border-bottom: 1px solid var(--tkn-border);
}
.tkn-duong { order: 2; margin: 0; padding: 0 16px 8px; font-size: 13px; color: var(--tkn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkn-duong b { color: var(--tkn-ink); font-weight: 700; }
.tkn-ngan-bar { order: 1; display: flex; align-items: center; gap: 4px; padding: 6px 8px; min-width: 0; }
.tkn-ngan-bar h2 { flex: 1; min-width: 0; margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tkn-ink); }
.tkn-ngan-bar h2:focus { outline: none; }
.tkn-lui {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px; min-width: 44px; max-width: 40%;
  padding: 0 10px 0 4px; border: 0; background: none; color: var(--tkn-gold-deep);
  font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; overflow: hidden;
}
.tkn-lui .tkn-ic { width: 22px; height: 22px; }
.tkn-lui-dt { overflow: hidden; text-overflow: ellipsis; }
.tkn-lui-mt { display: none; }
.tkn-ngan-bar .tkn-x { visibility: hidden; }
.tkn-ngan-than { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0 16px 32px; container-type: inline-size; }
.tkn-ctx { margin: 0; padding: 10px 0 2px; font-size: 13px; color: var(--tkn-muted); }
@media (min-width: 1280px) {
  .tkn-ngan {
    top: calc(var(--header-height, 72px) + 20px); left: auto; right: 16px; bottom: 16px; width: 496px;
    padding-top: 0; border: 1px solid var(--tkn-border-strong); border-top: 3px solid var(--tkn-gold);
    border-radius: 16px; box-shadow: 0 16px 40px rgba(23, 22, 20, 0.12); overflow: hidden; animation: none;
  }
  .tkn-duong { order: 0; padding: 10px 16px 0; }
  .tkn-ngan-bar h2 { text-align: left; padding-left: 4px; }
  .tkn-lui-dt { display: none; } .tkn-lui-mt { display: inline; }
  .tkn-ngan-bar .tkn-x { visibility: visible; }
  .tkn.tkn-co-ngan { padding-right: 516px; }
}
.tkn-blk { padding: 18px 0 4px; min-width: 0; }
.tkn-blk.is-dau { padding-top: 8px; }
.tkn-blk h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--tkn-ink); font-variant-numeric: tabular-nums; }
.tkn-blk > p { margin: 8px 0 0; }
.tkn-lead { margin: 0 0 10px; font-size: 13px; color: var(--tkn-muted); }
.tkn-gui-d { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 8px 0 0; font-size: 13px; color: var(--tkn-muted); }
.tkn-ls { border-top: 1px solid var(--tkn-border); }
.tkn-ls-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--tkn-border); }
.tkn-r1 { font-size: 15px; min-width: 0; }
.tkn-r2 { grid-column: 1; font-size: 13px; color: var(--tkn-muted); min-width: 0; overflow-wrap: anywhere; }
.tkn-r3 { grid-column: 1 / -1; }
.tkn-r3 .tkn-st { white-space: normal; }
.tkn-amt { grid-column: 2; grid-row: 1 / 3; font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tkn-ls-r.is-lech { background: var(--tkn-warn-bg); padding-left: 8px; padding-right: 8px; border-radius: 8px; }
.tkn-ls-h { padding: 12px 0 4px; font-size: 13px; color: var(--tkn-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tkn-ls-s { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--tkn-border); }
.tkn-ls-s.is-tong { font-weight: 800; border-bottom: 0; padding-top: 12px; }
.tkn-so { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tkn-them { margin-top: 8px; width: 100%; }
.tkn-khop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; font-size: 15px; }
.tkn-khop.is-ok { color: var(--tkn-ok); font-weight: 700; }
.tkn-khop.is-warn { color: var(--tkn-warn); font-weight: 700; }
.tkn-khop .tkn-ic { width: 18px; height: 18px; }
/* Khoá quyền: biểu tượng ổ khoá + "Cần quyền: <tên ô>" + mã ô */
.tkn-khoa-k { display: flex; align-items: flex-start; gap: 8px; padding: 12px 0; color: var(--tkn-muted); font-size: 15px; }
.tkn-khoa-k .tkn-ic { width: 18px; height: 18px; margin-top: 3px; color: var(--tkn-dim); }
.tkn-khoa-k b { display: block; color: var(--tkn-ink); font-weight: 700; }
.tkn-khoa-k span { font-size: 13px; }
.tkn-khoa-k code { font-size: 12px; }
.tkn-khoa-i { display: inline-flex; align-items: center; gap: 5px; color: var(--tkn-dim); font-size: 13px; white-space: nowrap; }
.tkn-khoa-i .tkn-ic { width: 14px; height: 14px; }
/* Dòng thời gian máy */
.tkn-tl { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; }
.tkn-tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--tkn-border); }
.tkn-tl li { position: relative; display: flex; flex-direction: column; padding: 0 0 14px; }
.tkn-tl li::before { content: ""; position: absolute; left: -21px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--tkn-dim); border: 2px solid var(--tkn-card); box-sizing: border-box; }
.tkn-tl li.is-cuoi::before { background: var(--tkn-gold-deep); }
.tkn-tl-k { font-size: 13px; color: var(--tkn-muted); font-variant-numeric: tabular-nums; }
.tkn-tl-g { font-weight: 700; }
.tkn-tl-p { font-size: 13px; color: var(--tkn-muted); display: flex; flex-wrap: wrap; gap: 0 4px; align-items: center; }
/* Trạng thái ngăn: rỗng / lỗi / không quyền / không còn */
.tkn-tt-k { padding: 28px 8px; text-align: center; color: var(--tkn-muted); }
.tkn-tt-k h3 { margin: 0 0 6px; font-size: 17px; color: var(--tkn-ink); }
.tkn-tt-k p { margin: 0 0 14px; font-size: 15px; }
.tkn-tt-ic { display: block; width: 44px; height: 44px; margin: 0 auto 12px; color: var(--tkn-dim); }
.tkn-tt-ic .tkn-ic { width: 44px; height: 44px; }
.tkn-tt-ic.is-bad { color: var(--tkn-bad); }
/* Hồ sơ nhân viên: thanh tiến độ */
.tkn-td { display: grid; gap: 4px; }
.tkn-td-h, .tkn-td-f { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.tkn-td-f { font-size: 13px; color: var(--tkn-muted); }
.tkn-td .tkn-ray { height: 12px; }
.tkn-ngan .is-chon, .tkn-ngan tr.is-chon > * { background: var(--tkn-gold-soft); }

/* ════ Bảng Bộ lọc: tấm đáy (điện thoại) / hộp nổi (máy tính) ════ */
.tkn-loc-nen { position: fixed; inset: 0; z-index: 10060; background: rgba(23, 22, 20, 0.42); }
.tkn-loc {
  position: fixed; left: 0; right: 0; bottom: var(--itn-tab-h, 0px); z-index: 10061;
  max-height: calc(100vh - var(--itn-tab-h, 0px) - 40px); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 8px; padding: 14px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  background: var(--tkn-card, var(--bg-card)); color: var(--tkn-ink, var(--text-main));
  border-top: 3px solid var(--tkn-gold); border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 32px rgba(23, 22, 20, 0.16); font-size: 15px; box-sizing: border-box;
}
.tkn-loc-dau { display: flex; align-items: center; justify-content: space-between; }
.tkn-loc-dau h2 { margin: 0; font-size: 18px; font-weight: 800; }
.tkn-loc .tkn-nhan { margin: 6px 0 0; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.tkn-ky, .tkn-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tkn-chip {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px;
  border: 1px solid var(--tkn-border); border-radius: 10px;
  background: var(--tkn-surface-2); color: var(--tkn-ink); font-size: 14px; font-weight: 600;
  white-space: nowrap; cursor: pointer; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.tkn-chip[aria-pressed="true"] { background: var(--tkn-ink); border-color: var(--tkn-ink); color: var(--tkn-card); font-weight: 700; }
.tkn-chip[disabled] { color: var(--tkn-dim); cursor: not-allowed; }
.tkn-loc-2 { display: grid; gap: 8px; margin-top: 6px; }
.tkn-khoang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tkn-fo { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; color: var(--tkn-muted); font-weight: 600; }
.tkn-loc input[type="date"] {
  width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--tkn-border-strong); border-radius: 10px;
  background: var(--tkn-surface-2); color: var(--tkn-ink); font: inherit; font-size: 15px; box-sizing: border-box;
}
.tkn-loc input[aria-invalid="true"] { border-color: var(--tkn-bad); }
.tkn-loi-o { margin: 0; color: var(--tkn-bad); font-size: 13px; font-weight: 600; }
.tkn-loc-cuoi { display: flex; justify-content: flex-end; margin-top: 10px; }
@media (min-width: 1024px) {
  .tkn-loc {
    left: 50%; right: auto; bottom: auto; top: calc(var(--header-height, 72px) + 48px); width: 440px;
    max-height: calc(100vh - 160px); transform: translateX(-50%); border: 1px solid var(--tkn-border-strong);
    border-top: 3px solid var(--tkn-gold); border-radius: 16px; padding-bottom: 18px;
  }
}

/* ════ Nội dung 7 nhóm nằm trong ngăn — co theo bề rộng NGĂN (truy vấn khung chứa) ════ */
.tkn-tt {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 999px;
  background: var(--tkn-surface-2); color: var(--tkn-muted); border: 1px solid var(--tkn-border);
  font-size: 13px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; max-width: 100%;
}
.tkn-tt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.tkn-tt.is-ok { background: var(--tkn-ok-bg); color: var(--tkn-ok); border-color: var(--tkn-ok-bd); }
.tkn-tt.is-warn { background: var(--tkn-warn-bg); color: var(--tkn-warn); border-color: var(--tkn-warn-bd); }
.tkn-tt.is-bad { background: var(--tkn-bad-bg); color: var(--tkn-bad); border-color: var(--tkn-bad-bd); }
.tkn-tt.is-acc { background: var(--tkn-gold-soft); color: var(--tkn-gold-deep); border-color: var(--tkn-gold); }
.tkn-tt.is-nho { min-height: 22px; padding: 0 7px; font-size: 12px; }
.tkn-tt.is-nho::before { width: 6px; height: 6px; }
.tkn-trong { margin: 0; padding: 12px 0; color: var(--tkn-muted); font-size: 13px; }
.tkn-bao { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tkn-bao li {
  display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px;
  background: var(--tkn-warn-bg); border: 1px solid var(--tkn-warn-bd);
  color: var(--tkn-warn); font-size: 13px; font-weight: 600; line-height: 1.4;
}
.tkn-bao .tkn-ic, .tkn-bao1 .tkn-ic { width: 16px; height: 16px; margin-top: 1px; }
.tkn-khoa { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--tkn-surface-2); color: var(--tkn-muted); font-size: 13px; font-weight: 600; }
.tkn-khoa .tkn-ic { width: 15px; height: 15px; color: var(--tkn-dim); }
.tkn-to-n { display: flex; flex-direction: column; gap: 14px; min-width: 0; margin-top: 12px; }
.tkn-tom-to {
  margin: 0; padding: 12px 14px; list-style: none; display: flex; flex-direction: column; gap: 6px;
  background: var(--tkn-surface-2); border: 1px solid var(--tkn-border);
  border-radius: 12px; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; color: var(--tkn-ink); overflow-wrap: anywhere;
}
.tkn-tom-to li.is-con { padding-left: 14px; color: var(--tkn-muted); font-size: 13px; }
.tkn-tom-to li.is-con::before { content: "•"; margin-left: -12px; margin-right: 6px; color: var(--tkn-dim); }
.tkn-o-ds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.tkn-o { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 14px; border-radius: 12px; background: var(--tkn-surface-2); border: 1px solid var(--tkn-border); }
.tkn-o-n { font-size: 13px; color: var(--tkn-muted); font-weight: 600; }
.tkn-o-v { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--tkn-ink); }
.tkn-o-v.is-rong { font-size: 15px; font-weight: 600; color: var(--tkn-dim); }
.tkn-o-phu { font-size: 12px; color: var(--tkn-muted); font-weight: 600; }
.tkn-o-cn { display: flex; flex-wrap: wrap; gap: 0 10px; min-width: 0; font-size: 12px; color: var(--tkn-muted); font-variant-numeric: tabular-nums; line-height: 1.45; }
.tkn-o-cn > span { white-space: nowrap; }
.tkn-o-cn > span[aria-hidden="true"] { display: none; }
.tkn-o-cn abbr { text-decoration: none; font-weight: 700; color: var(--tkn-ink); }
.tkn-o-cn i { font-style: normal; color: var(--tkn-dim); }
.tkn-phan-ds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 28px; }
.tkn-phan-ds.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.tkn-bang-w { min-width: 0; }
.tkn-bang { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tkn-bang thead th { padding: 0 8px 6px; border-bottom: 1px solid var(--tkn-border-strong); color: var(--tkn-muted); font-size: 13px; font-weight: 700; text-align: right; vertical-align: bottom; }
.tkn-bang thead th small { display: block; font-size: 12px; font-weight: 500; color: var(--tkn-dim); }
.tkn-bang thead th.tkn-c-muc { text-align: left; padding-left: 0; }
.tkn-bang tbody th { padding: 9px 8px 9px 0; text-align: left; font-weight: 500; color: var(--tkn-ink); }
.tkn-bang td { padding: 9px 8px; text-align: right; font-weight: 600; white-space: nowrap; }
.tkn-bang td small { display: block; font-size: 12px; font-weight: 500; color: var(--tkn-muted); }
.tkn-bang tbody tr.tkn-d > * { border-bottom: 1px solid var(--tkn-border); }
.tkn-bang tr.tkn-muc > th { padding: 16px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tkn-gold-deep); }
.tkn-bang tbody tr.tkn-muc:first-child > th { padding-top: 8px; }
.tkn-bang tr.is-chinh th { font-weight: 700; }
.tkn-bang tr.is-chinh td { font-size: 17px; font-weight: 800; }
.tkn-bang tr.is-xanh th, .tkn-bang tr.is-xanh td { color: var(--tkn-gold-deep); font-weight: 800; }
.tkn-bang tr.is-nho th { padding-left: 14px; font-size: 13px; color: var(--tkn-muted); }
.tkn-bang tr.is-nho td { font-size: 13px; font-weight: 500; }
.tkn-chua { color: var(--tkn-dim); font-weight: 500; font-size: 13px; }
.tkn-ghe h5, .tkn-h5 { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tkn-gold-deep); }
.tkn-ghe h5 small, .tkn-h5 small { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--tkn-dim); }
.tkn-ghe-ds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.tkn-ghe-cn { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 16px; padding: 12px 14px; border-radius: 12px; background: var(--tkn-surface-2); border: 1px solid var(--tkn-border); }
.tkn-ghe-ten { font-weight: 700; font-size: 15px; }
.tkn-ghe-cn > div { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; color: var(--tkn-muted); font-weight: 600; }
.tkn-ghe-cn b { font-size: 17px; font-weight: 800; color: var(--tkn-ink); font-variant-numeric: tabular-nums; line-height: 1.3; }
.tkn-ghe-cn b.is-rong { font-size: 13px; color: var(--tkn-dim); line-height: 1.9; }
.tkn-von-ds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.tkn-von { padding: 12px 14px; border-radius: 12px; background: var(--tkn-surface-2); border: 1px solid var(--tkn-border); min-width: 0; }
.tkn-von.is-tong { background: var(--tkn-gold-soft); border-color: var(--tkn-gold); }
.tkn-von h5 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.tkn-von h5 span { color: var(--tkn-muted); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tkn-von ul { list-style: none; margin: 0; padding: 0; }
.tkn-von li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 7px 0; font-size: 13px; border-top: 1px solid var(--tkn-border); }
.tkn-von-so { display: inline-flex; gap: 12px; color: var(--tkn-muted); font-variant-numeric: tabular-nums; }
.tkn-von-so b { color: var(--tkn-ink); font-weight: 700; }
.tkn-tb-w { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tkn-tb { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tkn-tb thead th { padding: 0 8px 8px; border-bottom: 1px solid var(--tkn-border-strong); color: var(--tkn-muted); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.tkn-tb td { padding: 4px 8px; vertical-align: middle; border-bottom: 1px solid var(--tkn-border); }
.tkn-tb .tkn-so, .tkn-tb thead th.tkn-so { text-align: right; font-weight: 700; }
.tkn-tb td.is-lech { color: var(--tkn-warn); font-weight: 700; }
.tkn-tb tr.tkn-dong { cursor: pointer; }
.tkn-tb tr.tkn-dong:hover > td { background: var(--tkn-hover); }
.tkn-tb tr.tkn-muc > th { padding: 14px 8px 6px; text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tkn-gold-deep); }
.tkn-tb small { display: block; font-size: 12px; color: var(--tkn-muted); font-weight: 500; }
.tkn-ten { font-weight: 700; }
.tkn-mo-d { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.tkn-mo-d .tkn-ic-mo { width: 16px; height: 16px; color: var(--tkn-dim); transition: transform .2s ease; }
.tkn-mo-d[aria-expanded="true"] .tkn-ic-mo { transform: rotate(180deg); color: var(--tkn-gold-deep); }
.tkn-stt { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 7px; background: var(--tkn-surface-2); font-size: 13px; font-weight: 700; box-sizing: border-box; }
.tkn-the-t, .tkn-the-dau .tkn-the-t { display: none; }
.tkn-may-d { display: block; font-weight: 600; }
.tkn-may-d + .tkn-may-d { margin-top: 4px; }
.tkn-may-d.is-tang { font-weight: 500; color: var(--tkn-muted); }
.tkn-tb td.tkn-cn-o { white-space: nowrap; }
.tkn-tb abbr { text-decoration: none; }
.tkn-ghi { max-width: 240px; color: var(--tkn-muted); overflow-wrap: anywhere; }
.tkn-hinh-ds { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.tkn-hinh { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: 6px; background: var(--tkn-surface-2); color: var(--tkn-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.tkn-hinh.is-gop { background: var(--tkn-gold-soft); color: var(--tkn-gold-deep); }
.tkn-hinh.is-thu { background: var(--tkn-warn-bg); color: var(--tkn-warn); }
.tkn-hinh.is-the { background: var(--tkn-ok-bg); color: var(--tkn-ok); }
.tkn-tb tr.tkn-ct-r > td { padding: 0 0 14px; background: none; cursor: auto; }
.tkn-tb tr.tkn-ct-r:hover > td { background: none; }
.tkn-tin-h { display: flex; align-items: center; gap: 8px; padding: 6px 0 8px; font-size: 13px; color: var(--tkn-muted); font-weight: 600; }
.tkn-tin {
  margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--tkn-surface-2); border: 1px solid var(--tkn-border);
  white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: 13px; line-height: 1.55; color: var(--tkn-ink);
}
.tkn-tong-tin { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-top: 4px; border-top: 1px solid var(--tkn-border); }
.tkn-tong-ct { flex: 1 1 100%; }
.tkn-ct { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 22px; padding: 14px 16px; border-radius: 12px; background: var(--tkn-surface-2); border: 1px solid var(--tkn-border); cursor: auto; }
.tkn-ct section { min-width: 0; }
.tkn-ct h6 { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tkn-gold-deep); }
.tkn-ct h6:not(:first-child) { margin-top: 12px; }
.tkn-dl { margin: 0; display: grid; }
.tkn-dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; padding: 4px 0; border-bottom: 1px solid var(--tkn-border); font-size: 15px; }
.tkn-dl dt { color: var(--tkn-muted); flex: none; font-size: 13px; }
.tkn-dl dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; min-width: 0; font-variant-numeric: tabular-nums; }
.tkn-dl dd.is-dam { font-size: 17px; font-weight: 800; }
.tkn-ct .tkn-dl > div { font-size: 13px; min-height: 0; }
.tkn-may { padding-bottom: 6px; }
.tkn-may + .tkn-may { margin-top: 8px; }
.tkn-may > b { display: block; font-size: 15px; }
.tkn-may.is-tang > b { font-weight: 600; color: var(--tkn-muted); }
.tkn-imei { display: block; font-size: 12px; color: var(--tkn-muted); font-variant-numeric: tabular-nums; }
.tkn-tt-dong { margin-top: 8px; }
.tkn-tt-dau { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; }
.tkn-tt-dong .tkn-dl { padding-left: 10px; border-left: 2px solid var(--tkn-border-strong); margin-top: 2px; }
.tkn-huy { border: 1px dashed var(--tkn-border-strong); border-radius: 10px; padding: 0 12px; margin-top: 8px; }
.tkn-huy > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--tkn-muted); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.tkn-huy > summary::-webkit-details-marker { display: none; }
.tkn-huy > summary .tkn-ic-mo { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .2s ease; }
.tkn-huy[open] > summary .tkn-ic-mo { transform: none; }
.tkn-huy[open] { padding-bottom: 10px; }
.tkn-tb tr.is-huy > td { color: var(--tkn-dim); }
.tkn-tb tr.is-huy .tkn-gia { text-decoration: line-through; }
.tkn-doi { display: flex; align-items: center; gap: 10px; }
.tkn-mui { color: var(--tkn-dim); font-weight: 700; }
.tkn-h5 { margin-top: 6px; }
@container (max-width: 1000px) {
  .tkn-o-ds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tkn-phan-ds.is-2 { grid-template-columns: minmax(0, 1fr); }
  .tkn-ct { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Ngăn hẹp (điện thoại, ngăn 496px): bảng tin thành thẻ — một đơn / một báo cáo một thẻ, không cuộn ngang. */
@container (max-width: 640px) {
  .tkn-bang { table-layout: fixed; font-size: 13px; }
  .tkn-bang thead th { padding: 0 6px 6px; font-size: 12px; }
  .tkn-bang thead th.tkn-c-muc { width: 40%; }
  .tkn-bang.tkn-c3 thead th.tkn-c-muc { width: 34%; }
  .tkn-bang tbody th, .tkn-bang td { padding: 8px 6px; overflow-wrap: anywhere; }
  .tkn-bang tbody th { padding-left: 0; }
  .tkn-bang td { white-space: normal; overflow-wrap: normal; }
  .tkn-bang tr.is-chinh td { font-size: 15px; }
  .tkn-bang tr.is-nho th { padding-left: 10px; }
  .tkn-tb-w { overflow: visible; }
  .tkn-tb, .tkn-tb tbody, .tkn-tb td { display: block; width: auto; }
  .tkn-tb thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tkn-tb tr.tkn-d {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px;
    padding: 4px 12px 12px; margin-bottom: 8px; border: 1px solid var(--tkn-border);
    border-radius: 12px; background: var(--tkn-card);
  }
  .tkn-tb tr.tkn-muc { display: block; } .tkn-tb tr.tkn-muc > th { display: block; padding: 10px 2px 6px; }
  .tkn-tb td { padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  .tkn-tb td[data-nhan]::before { content: attr(data-nhan); display: block; margin-bottom: 1px; font-size: 12px; font-weight: 600; color: var(--tkn-muted); }
  .tkn-tb .tkn-so { text-align: left; }
  .tkn-tb td.tkn-c-1, .tkn-tb td.tkn-c-rong { grid-column: 1 / -1; }
  .tkn-tb td.tkn-c-1 { border-bottom: 1px solid var(--tkn-border); padding-bottom: 2px; }
  .tkn-tb .tkn-an-dd { display: none; }
  .tkn-tb .tkn-the-t, .tkn-the-dau .tkn-the-t { display: inline; font-weight: 700; font-size: 15px; }
  .tkn-the-dau { display: flex; align-items: center; gap: 8px; min-height: 44px; }
  .tkn-tb-don .tkn-mo-d { width: 100%; }
  .tkn-tb-don .tkn-mo-d .tkn-ic-mo { margin-left: auto; }
  .tkn-tb tr.tkn-ct-r { display: block; margin: -4px 0 12px; }
  .tkn-tb tr.tkn-ct-r > td { padding: 0; }
  .tkn-tb tr.tkn-dong:hover > td { background: none; }
  .tkn-ghi { max-width: none; }
  .tkn-doi { flex-direction: column; align-items: flex-start; gap: 2px; }
  .tkn-mui { transform: rotate(90deg); }
  .tkn-ct { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .tkn-huy { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tkn-sk, .tkn-ngan, .tkn-kq, .tkn-td6, .tkn-nhom, .tkn-bd, .tkn-xl, .tkn-tung-ngay, .tkn-ky-tom,
  .tkn-ray-f, .tkn-bd-ct, .tkn-bd-cm, .tkn-bd-bar-f, .tkn-bd-svg-f, .tkn-td-c.is-dat-kpi, .tkn-td.is-dat-kpi { animation: none !important; }
  .tkn-nut, .tkn-chu-y, .tkn-v, .tkn-gl > button, .tkn-bd-cot, .tkn-pill, .tkn-pill-cn, .tkn-mo-d .tkn-ic-mo, .tkn-huy > summary .tkn-ic-mo { transition: none !important; }
}

#app-header .header-branch-pill.tkn-an-cn { display: none !important; }
