/* ===== CSS chung cho thư viện văn bản pháp luật =====
 * THEME: đổi màu nhận diện thư viện bằng cách override các biến :root
 * ở cuối file này (xem khối "THEME OVERRIDE").
 */
:root {
  /* Màu nhận diện thư viện (accent) - ĐỔI Ở KHỐI THEME OVERRIDE CUỐI FILE */
  --accent: #2b6cb0;
  --accent-dark: #1a365d;
  --accent-light: #ebf4ff;
  --accent-border: #bee3f8;
  --accent-shadow: rgba(43, 108, 176, 0.15);

  /* Màu ngữ nghĩa trạng thái - DÙNG CHUNG TOÀN HỆ THỐNG, KHÔNG ĐỔI */
  --ok: #2f855a;        /* hiện hành / song song */
  --ok-bg: #c6f6d5;
  --ok-text: #22543d;
  --warn: #d69e2e;      /* sửa đổi */
  --warn-bg: #fefcbf;
  --warn-text: #975a16; /* đậm hơn --warn để đạt tương phản WCAG trên nền sáng */
  --danger: #c53030;    /* đã thay thế */
  --danger-bg: #fed7d7;
  --danger-text: #742a2a;
  --info: #553c9a;      /* liên quan */
  --info-bg: #e9d8fd;

  /* Trung tính */
  --text: #1a202c;
  --text-muted: #4a5568;
  --text-faint: #718096;
  --border: #cbd5e0;
  --border-light: #e2e8f0;
  --bg: #f7fafc;
  --bg-alt: #edf2f7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Bảo vệ overflow: trang không bao giờ bị tràn ngang (gây lệch / cắt phải).
   scrollbar-gutter:stable → luôn dành sẵn chỗ cho scrollbar dọc ở phía phải,
   tránh layout giật ngang khi nội dung dài/ngắn thay đổi.
   overflow-x:hidden chỉ chặn tràn ngang, KHÔNG giới hạn max-width body. */
html {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Focus ring cho điều hướng bàn phím */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== HEADER ===== */
.header {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: #fff;
  padding: 1.2rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header h1 { font-size: 1.6rem; font-weight: 600; margin-bottom: 0.25rem; }
.header .sub { font-size: 0.9rem; opacity: 0.9; }
.header .meta {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-right: 6px;
  margin-top: 6px;
}
/* Link trong header: nền tối gradient nên chữ phải trắng, không ăn màu accent.
 * Nút link dùng NỀN TỐI MỜ (không phải trắng mờ) để chữ trắng nổi trên mọi vùng gradient. */
.header a { color: #fff; }
.header a.meta {
  background: rgba(0,0,0,0.28) !important; /* đè inline style trắng mờ cũ trong HTML */
  border: 1px solid rgba(255,255,255,0.45);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.header a.meta:hover {
  background: rgba(0,0,0,0.45) !important;
  border-color: #fff;
  text-decoration: none;
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 1.5rem 2rem; }

/* ===== THANH TÌM KIẾM & LỌC ===== */
.toolbar {
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.toolbar-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
}
.toolbar input[type="text"],
.toolbar select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.92rem;
  background: #fff;
}
.toolbar input[type="text"]:focus,
.toolbar select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-shadow);
}
.search-box { position: relative; }
.search-box::before {
  content: "🔍";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  font-size: 0.85rem;
}
.search-box input { padding-left: 2rem !important; }

.stats-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.stats-bar .pill {
  background: var(--bg-alt);
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stats-bar .pill strong { color: var(--accent); }

/* Toggle tìm toàn văn */
.fulltext-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.fulltext-toggle input { cursor: pointer; }

/* Kết quả tìm toàn văn */
.fulltext-results {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent);
}
.fulltext-results h3 {
  color: var(--accent-dark);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}
.ft-hit {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border-light);
}
.ft-hit:last-child { border-bottom: none; }
.ft-hit .ft-doc {
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.92rem;
}
.ft-hit .ft-section {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-left: 0.4rem;
}
.ft-hit .ft-snippet {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.6;
}
.ft-hit mark {
  background: #fef08a;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.ft-loading { color: var(--text-faint); font-style: italic; font-size: 0.88rem; }

/* ===== SECTION / NHÓM ===== */
.group-section { margin-bottom: 2rem; }
.group-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-dark);
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 0.75rem;
}
.group-title .badge {
  background: var(--accent);
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
}
.group-title.hienhanh .badge { background: var(--ok); }
.group-title.suaDoi .badge { background: var(--warn); }
.group-title.thayThe .badge { background: var(--danger); }
.group-title.lienQuan .badge { background: var(--info); }

/* ===== BẢNG VĂN BẢN ===== */
.doc-table {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-collapse: collapse;
}
.doc-table th {
  background: var(--accent-light);
  color: var(--accent-dark);
  text-align: left;
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 2px solid var(--accent-border);
}
.doc-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  font-size: 0.9rem;
}
.doc-table tr:last-child td { border-bottom: none; }
.doc-table tbody tr:nth-child(even) { background: #fbfdfe; }
.doc-table tr:hover { background: var(--bg); }
.doc-table .soKyHieu {
  font-weight: 600;
  color: var(--accent-dark);
  white-space: nowrap;
}
.doc-table .tenDayDu { max-width: 380px; }
.doc-table .link-btn {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-right: 4px;
  margin-bottom: 2px;
}
.link-btn.html { background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-border); }
.link-btn.pdf { background: var(--danger-bg); color: var(--danger); border: 1px solid #feb2b2; }
.link-btn.ext { background: #f0f0f0; color: #555; border: 1px solid #ddd; }
.link-btn.muted { background: var(--bg); color: #a0aec0; border: 1px dashed var(--border); cursor: not-allowed; }

.tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 8px;
  font-size: 0.75rem;
  margin-right: 3px;
  margin-bottom: 2px;
  background: var(--bg-alt);
  color: #2d3748;
}
.status {
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}
.status.active { background: var(--ok-bg); color: var(--ok-text); }
.status.replaced { background: var(--danger-bg); color: var(--danger-text); }
.status.modified { background: var(--warn-bg); color: var(--warn-text); }

/* ===== TRANG VĂN BẢN RIÊNG ===== */
/* Dùng selector kép .container.doc-page để tránh xung đột specificity khi cả
   2 class đặt trên cùng 1 element (ưu tiên hơn .container đơn lẻ). */
.container.doc-page { max-width: 900px; margin: 0 auto; padding: 2rem; transition: max-width 0.3s ease; }
.doc-page { max-width: 900px; margin: 0 auto; padding: 2rem; transition: max-width 0.3s ease; }
.container.doc-page.expanded { max-width: none; }
.doc-page .doc-header {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--accent);
}
.doc-page .doc-header h1 {
  color: var(--accent-dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.doc-page .doc-header .soKyHieu {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--danger);
}
.doc-page .info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.88rem;
}
.doc-page .info-grid > div { padding: 0.25rem 0; }
.doc-page .info-grid .label { color: var(--text-faint); font-weight: 500; display: block; font-size: 0.78rem; }
.doc-page .info-grid .value { color: #2d3748; }

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-dark);
}
.back-link:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }
body.dark-mode .back-link { background: #374151; color: #90cdf4; border-color: #4a5568; }
body.dark-mode .back-link:hover { background: #4a5568; color: #bee3f8; border-color: #63b3ed; }

/* ===== NỘI DUNG VĂN BẢN ===== */
.doc-body {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  line-height: 1.8;
  font-size: 16.5px;   /* đọc văn bản dài thoải mái hơn cỡ mặc định */
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
/* Bảng / pre / code trong toàn văn: cuộn ngang trong khối (không đẩy cả trang) */
.doc-body table,
.doc-body pre,
.doc-body .code-block {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}
.doc-body img { max-width: 100%; height: auto; }
.doc-body .quoc-hieu {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.doc-body .quoc-hieu .co-quan {
  font-weight: 600;
  text-transform: uppercase;
}
.doc-body .quoc-hieu .cong-hoa {
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.doc-body .quoc-hieu .ddoc-lap,
.doc-body .quoc-hieu .doc-lap {
  font-style: italic;
  margin-top: 0.25rem;
}
.doc-body .quoc-hieu .ngay-cap {
  font-style: italic;
  margin-top: 0.25rem;
}
.doc-body h1, .doc-body h2, .doc-body h3 {
  color: var(--accent-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.doc-body h1 { font-size: 1.4rem; text-align: center; }
.doc-body h2 { font-size: 1.2rem; }
.doc-body h3 { font-size: 1.05rem; }
.doc-body p { margin-bottom: 0.75rem; text-align: justify; }
.doc-body .chuong {
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  font-size: 1.1rem;
  color: var(--accent);
}
.doc-body .muc {
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  margin: 1.2rem 0 0.75rem;
  font-size: 0.98rem;
  color: var(--accent);
  border-bottom: 1px dotted var(--border);
  padding-bottom: 0.4rem;
}

/* Nút về đầu trang */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  display: none;
  z-index: 200;
}
.to-top:hover { background: var(--accent-dark); }

/* ===== FOOTER-MINI (cố định ở đáy, hiện khi cuộn sâu) ===== */
.footer-mini {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, var(--accent-dark) 0%, #0f1f33 100%);
  color: rgba(255,255,255,0.92);
  padding: 0.45rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  border-top: 2px solid var(--accent);
  z-index: 190;
  display: none;                     /* JS bật display:flex khi scrollY > 50% */
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.footer-mini a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 2px;
}
.footer-mini a:hover { color: #fff; text-decoration-color: #fff; }
.footer-mini .fmini-warn {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
}
.footer-mini .fmini-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-mini .fmini-close:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, var(--accent-dark) 0%, #0f1f33 100%);
  color: rgba(255,255,255,0.85);
  padding: 1.75rem 2rem 1.4rem;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 2.5rem;
  border-top: 3px solid var(--accent);
}
.footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}
.footer-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.footer-meta-row {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.footer-chip {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.74rem;
  text-decoration: none;
  transition: all 0.15s;
}
.footer-chip:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
}
.footer-divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 0.8rem auto 0.6rem;
  border-radius: 1px;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.4rem;
}
/* Link footer cũ (backward compat): nền tối nên dùng trắng mờ */
.footer a {
  color: rgba(255,255,255,0.92);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.45);
  text-underline-offset: 2px;
}
.footer a:hover { color: #fff; text-decoration-color: #fff; }

/* ===== EMPTY / NOT FOUND ===== */
.no-results {
  text-align: center;
  padding: 2rem;
  color: var(--text-faint);
  font-style: italic;
}

/* ===== KHỐI "VĂN BẢN LIÊN QUAN" ===== */
.doc-related {
  background: #fff;
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent);
}
.doc-related h3 {
  color: var(--accent-dark);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.rel-group {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-light);
}
.rel-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.rel-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.rel-items {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.rel-link {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.8rem;
  color: #2d3748;
  text-decoration: none;
  transition: all 0.15s;
}
.rel-link:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}
.rel-link.thayThe { border-left: 3px solid var(--danger); }
.rel-link.suaDoi { border-left: 3px solid var(--warn); }
.rel-link.huongDan { border-left: 3px solid var(--accent); }
.rel-link.songSong { border-left: 3px solid var(--ok); }
.rel-link.external {
  background: #fff5f5;
  border-left: 3px solid #a0aec0;
  color: var(--text-faint);
}
.rel-link.external:hover { color: var(--accent); }
.rel-empty {
  font-size: 0.82rem;
  color: #a0aec0;
  font-style: italic;
}

/* ===== RESPONSIVE: bảng → card trên mobile ===== */
@media (max-width: 768px) {
  .toolbar-row { grid-template-columns: 1fr; }
  .doc-page .info-grid { grid-template-columns: 1fr; }
  .doc-body { padding: 1rem; font-size: 16px; }
  .container { padding: 1rem; }
  /* Padding doc-page PHẢI khớp .container ở mobile; dùng selector kép để thắng cascade */
  .container.doc-page { padding: 1rem; }
  /* Header cũng thu gọn padding ngang để cân xứng với doc-page */
  .header { padding: 1rem; }

  /* Bảng chuyển thành card: mỗi hàng 1 khối, ô có nhãn từ data-label */
  .doc-table thead { display: none; }
  .doc-table, .doc-table tbody { display: block; }
  .doc-table tr {
    display: block;
    background: #fff !important;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  }
  .doc-table td {
    display: block;
    border-bottom: none;
    padding: 0.3rem 0;
    font-size: 0.88rem;
  }
  .doc-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .doc-table .tenDayDu { max-width: none; }

  /* Responsive cho doc-enhancements + tabs */
  .doc-tab { padding: 7px 12px; font-size: 0.78rem; }
  .doc-tab-bar { overflow-x: auto; }
  #mini-cy { height: 300px; }
  /* TOC responsive */
  .doc-toc { width: 85%; max-width: 280px; }
  .toc-toggle { left: 0.25rem; width: 32px; height: 32px; font-size: 0.8rem; }
  .fulltext-toolbar { padding: 0.3rem 0.25rem; }
  .font-controls { gap: 2px; }
  .font-btn { padding: 2px 7px; font-size: 0.7rem; }
}

/* ===== DOC-ENHANCEMENTS: huy hiệu + timeline + mini sơ đồ + quick-nav ===== */

/* Huy hiệu trạng thái (trong header) */
.status-badge {
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  border: 1px solid transparent;
}
.status-badge.ok     { background: var(--ok-bg);     color: var(--ok-text);     border-color: var(--ok); }
.status-badge.warn   { background: var(--warn-bg);   color: var(--warn-text);   border-color: var(--warn); }
.status-badge.danger { background: var(--danger-bg); color: var(--danger-text); border-color: var(--danger); }
.status-badge.info   { background: var(--accent-light); color: var(--accent-dark); border-color: var(--accent); }

/* ===== TAB SYSTEM (chính) ===== */
.doc-tabs {
  margin: 1.25rem 0 0;
}
.doc-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  padding-top: 0.25rem;
  max-width: 100%;
}
.doc-tab {
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  margin-right: 3px;
  position: relative;
  top: 1px;
}
.doc-tab:hover {
  color: var(--accent);
  background: var(--accent-light);
}
.doc-tab.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  cursor: default;
}
.tab-count {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 4px;
}
.doc-tab:not(.active) .tab-count {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.doc-tab-content {
  display: none;
  padding: 1.25rem 0;
  animation: tabFade 0.2s ease;
}
.doc-tab-content.active { display: block; }

/* Nút mở rộng/thu hẹp chiều rộng */
.expand-toggle {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  width: 32px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  margin-left: auto;
  transition: all 0.2s;
  flex-shrink: 0;
}
.expand-toggle:hover { background: var(--border-light); color: var(--text); }
.expand-toggle.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
@keyframes tabFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Info-box (tab Thông tin) */
.info-box {
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent);
}
.info-box h3 {
  color: var(--accent-dark);
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.info-box p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}
.info-box-status { border-left-color: var(--ok); }
.info-box-note { border-left-color: var(--warn); }
.info-box-ext { border-left-color: var(--info); }
.info-box-ext a { color: var(--accent); word-break: break-all; }
.info-box-ext p { font-size: 0.82rem; color: var(--text-muted); }

/* Empty state (tab Liên kết khi VB cô lập) */
.empty-tab {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-faint);
}
.empty-tab .empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}
.empty-tab p { margin: 0.3rem 0; font-size: 0.92rem; }
.empty-tab .empty-sub { font-size: 0.82rem; color: var(--text-faint); }
.empty-tab a { color: var(--accent); }

/* Timeline dạng DỌC (vertical) — mỗi mốc 1 hàng card, không bao giờ dính */
.doc-timeline {
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-left: 4px solid var(--accent);
  margin: 1rem 0 1.5rem;
}
.doc-timeline h3 {
  color: var(--accent-dark);
  font-size: 1.05rem;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tl-list {
  position: relative;
  padding-left: 2.25rem;   /* chừa chỗ cho đường dọc + dot */
}
/* Đường dọc chạy giữa */
.tl-list::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}
.tl-item {
  position: relative;
  padding: 0.55rem 0 0.55rem 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
/* Dot tròn trên đường dọc */
.tl-item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 0.95rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--tl-color, var(--accent));
  box-shadow: 0 0 0 3px #fff, 0 1px 3px rgba(0,0,0,0.15);
  z-index: 1;
}
/* Icon nổi bật bên trái dot */
.tl-item .tl-icon {
  position: absolute;
  left: -3.3rem;
  top: 0.5rem;
  font-size: 0.95rem;
  width: 1.2rem;
  text-align: center;
}
.tl-item .tl-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tl-color-strong, var(--accent-dark));
  letter-spacing: 0.02em;
}
.tl-item .tl-label {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}
/* Loại mốc nổi bật (hiện hành/ban hành) */
.tl-item.tl-key .tl-label { font-weight: 600; }
/* Mốc "hôm nay" — vạch ngang cắt qua timeline */
.tl-today-marker {
  position: relative;
  margin: 0.4rem 0;
  padding-left: 2.25rem;
}
.tl-today-marker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--danger) 0 6px, transparent 6px 12px);
  transform: translateY(-50%);
}
.tl-today-marker .tl-today-tag {
  display: inline-block;
  background: var(--danger);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tl-today-marker.tl-today-past .tl-today-tag { background: var(--text-faint); }
.tl-today-marker.tl-today-past::before { background: repeating-linear-gradient(90deg, var(--text-faint) 0 6px, transparent 6px 12px); }

/* Mini sơ đồ liên kết */
.doc-minischema {
  background: #fff;
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-left: 4px solid var(--accent);
  margin: 1rem 0 1.5rem;
}
.doc-minischema h3 {
  color: var(--accent-dark);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ms-count {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
}
#mini-cy {
  width: 100%;
  height: 380px;
  background: #fafbfc;
  border: 1px solid var(--border-light);
  border-radius: 6px;
}
.ms-hint {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 0.5rem;
  text-align: center;
}
.ms-tooltip {
  position: fixed;
  display: none;
  background: rgba(26,32,44,0.96);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.78rem;
  max-width: 280px;
  z-index: 1000;
  pointer-events: none;
  line-height: 1.35;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* ===== TÍNH NĂNG MỚI: TOC, deep-link, dark mode, font, progress bar, ... ===== */

/* Deep-link highlight khi nhảy tới Điều/Chương */
.deep-link-highlight { animation: deepLinkFlash 2s ease; }
@keyframes deepLinkFlash {
  0%, 100% { background: transparent; }
  20%, 60% { background: var(--accent-light); outline: 2px solid var(--accent); outline-offset: 2px; }
}

/* Mục lục nội bộ (TOC sidebar) */
.doc-toc {
  position: fixed;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 280px;
  max-height: 70vh;
  background: #fff;
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 10px 10px 0;
  box-shadow: 2px 2px 16px rgba(0,0,0,0.12);
  z-index: 150;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.doc-toc.open { display: flex; }
.doc-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: var(--accent-light);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.toc-close {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; color: var(--text-faint); padding: 2px 6px;
}
.toc-close:hover { color: var(--danger); }
.toc-list { overflow-y: auto; padding: 0.4rem 0; flex: 1; }
.toc-item {
  display: block;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.12s;
  line-height: 1.4;
}
.toc-item:hover { background: var(--bg-alt); color: var(--accent); text-decoration: none; }
.toc-item.active {
  border-left-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  font-weight: 600;
}
.toc-item.toc-chapter {
  font-weight: 600; font-size: 0.82rem;
  color: var(--accent-dark); padding-top: 0.5rem;
}
.toc-toggle {
  position: fixed;
  left: 0.5rem; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff; border: none;
  cursor: pointer; font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 151;
  display: none;
  align-items: center;
  justify-content: center;
}
.toc-toggle:hover { background: var(--accent-dark); }

/* Reading progress bar */
.reading-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  z-index: 9999;
  transition: width 0.1s linear;
  width: 0;
  pointer-events: none;
}

/* Font controls (trong tab Toàn văn) */
.fulltext-toolbar {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0.4rem 0.5rem; margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  gap: 0.5rem;
}
.font-controls {
  display: inline-flex; gap: 3px;
  align-items: center;
}
.font-label { font-size: 0.8rem; color: var(--text-muted); margin-right: 0.2rem; }
.font-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 3px 10px; border-radius: 4px;
  cursor: pointer; font-size: 0.78rem; font-weight: 600;
  transition: background 0.15s;
}
.font-btn:hover { background: var(--border-light); }
body.dark-mode .font-btn { background: #374151; border-color: #4a5568; color: #e2e8f0; }
body.dark-mode .font-btn:hover { background: #4a5568; }

/* Dark mode toggle */
.dark-toggle { cursor: pointer; transition: background 0.15s; }

/* Copy citation button */
.copy-cite-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 6px;
  font-size: 0.78rem; color: var(--text-muted);
  cursor: pointer; transition: all 0.15s;
  margin-top: 0.75rem;
}
.copy-cite-btn:hover { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }

/* Toast notification */
.cite-toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-dark); color: #fff;
  padding: 0.5rem 1.25rem; border-radius: 8px;
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 9999;
  animation: toastIn 0.3s ease;
  pointer-events: none;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Search highlight + navigation */
.doc-body mark.search-match {
  background: #fef08a; color: inherit;
  padding: 1px 2px; border-radius: 2px;
  scroll-margin-top: 4rem;
}
.doc-body mark.search-match.current { background: #f59e0b; outline: 2px solid #d97706; }
.search-nav {
  position: sticky; top: 40px; z-index: 55;
  background: #fffbeb; border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.search-nav button {
  background: var(--accent); color: #fff; border: none;
  border-radius: 4px; padding: 3px 10px;
  font-size: 0.78rem; cursor: pointer;
}
.search-nav button:hover { background: var(--accent-dark); }
.search-nav .search-nav-close {
  background: none; color: var(--text-faint);
  border: 1px solid var(--border); margin-left: auto;
}
.search-nav .search-nav-close:hover { color: var(--danger); border-color: var(--danger); }

/* Favorites star */
.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 1rem;
  vertical-align: middle;
}
.fav-star {
  background: none; border: none; cursor: pointer;
  font-size: 1.35rem; padding: 2px;
  color: #d69e2e;
  opacity: 0.45;
  transition: all 0.2s; vertical-align: middle;
  line-height: 1;
}
.fav-star.active { color: #d69e2e; filter: none; opacity: 1; }
.fav-star:hover { transform: scale(1.2); opacity: 0.9; }
body.dark-mode .fav-star { color: #ecc94b; opacity: 0.55; }
body.dark-mode .fav-star.active { opacity: 1; }
body.dark-mode .fav-star:hover { opacity: 0.9; }

/* Keyboard shortcuts help panel */
.kbd-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
}
.kbd-panel {
  background: #fff; border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  max-width: 420px; width: 90%;
}
.kbd-panel h3 { margin: 0 0 0.75rem; font-size: 1.05rem; color: var(--accent-dark); }
.kbd-panel table { width: 100%; border-collapse: collapse; }
.kbd-panel td { padding: 0.3rem 0.4rem; font-size: 0.85rem; vertical-align: top; }
.kbd-panel td:first-child { white-space: nowrap; width: 40%; }
.kbd-panel kbd {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 6px;
  font-size: 0.78rem; font-family: monospace;
}

/* Favorites filter trên index.html */
body.show-fav-only .doc-table tbody tr:not(.is-fav) { display: none; }

/* ===== DARK MODE ===== */
body.dark-mode {
  --text: #e2e8f0;
  --text-muted: #a0aec0;
  --text-faint: #718096;
  --border: #4a5568;
  --border-light: #2d3748;
  --bg: #1a202c;
  --bg-alt: #2d3748;
}
body.dark-mode .doc-body,
body.dark-mode .info-box,
body.dark-mode .doc-related,
body.dark-mode .doc-timeline,
body.dark-mode .doc-minischema,
body.dark-mode .doc-page .doc-header,
body.dark-mode .toolbar,
body.dark-mode .doc-tab:not(.active),
body.dark-mode .doc-toc,
body.dark-mode .kbd-panel,
body.dark-mode .copy-cite-btn { background: #2d3748; }
body.dark-mode .doc-table tr,
body.dark-mode .doc-table td { background: #2d3748; }
body.dark-mode .doc-table tbody tr:nth-child(even),
body.dark-mode .doc-table tbody tr:nth-child(even) td { background: #1a202c; }
body.dark-mode .doc-table tr:hover,
body.dark-mode .doc-table tr:hover td { background: #374151; }
body.dark-mode #mini-cy { background: #2d3748; }
body.dark-mode .search-nav { background: #374151; border-color: #4a5568; }
body.dark-mode mark.search-match { background: #78350f; color: #fef3c7; }
body.dark-mode mark.search-match.current { background: #92400e; outline-color: #d97706; }
body.dark-mode .doc-toc-header { background: #374151; }
body.dark-mode .doc-tab:hover { background: #374151; }
body.dark-mode .toc-item.active { background: rgba(43,108,176,0.15); }
body.dark-mode .toc-item:hover { background: #374151; }
/* Dark mode: sửa text có màu hardcode quá tối trên nền tối */
body.dark-mode .doc-page .info-grid .value { color: var(--text); }
body.dark-mode .doc-page .info-grid .label { color: var(--text-faint); }
body.dark-mode .doc-page .doc-header h1,
body.dark-mode .info-box h3,
body.dark-mode .doc-timeline h3,
body.dark-mode .doc-minischema h3,
body.dark-mode .doc-related h3,
body.dark-mode .group-title { color: #90cdf4; }
body.dark-mode .doc-body h1,
body.dark-mode .doc-body h2,
body.dark-mode .doc-body h3 { color: #90cdf4; }
body.dark-mode .doc-body .chuong,
body.dark-mode .doc-body .muc { color: #63b3ed; }
body.dark-mode .doc-tab-bar { background: var(--bg); }
body.dark-mode .doc-table th { background: #374151; color: #e2e8f0; }
body.dark-mode .footer-chip { background: rgba(255,255,255,0.08); }
body.dark-mode .rel-link { background: #374151; color: var(--text); border-color: #4a5568; }
body.dark-mode .rel-link:hover { background: #4a5568; }
body.dark-mode .status-badge.ok { background: rgba(47,133,90,0.2); color: #68d391; border-color: rgba(72,187,120,0.4); }
body.dark-mode .status-badge.warn { background: rgba(214,158,46,0.2); color: #ecc94b; border-color: rgba(236,201,75,0.4); }
body.dark-mode .status-badge.danger { background: rgba(197,48,48,0.2); color: #fc8181; border-color: rgba(252,129,129,0.4); }
body.dark-mode .status-badge.info { background: rgba(85,60,154,0.2); color: #b794f4; border-color: rgba(183,148,244,0.4); }
/* Dark mode: số ký hiệu (xanh đậm trên nền tối → khó nhìn) */
body.dark-mode .soKyHieu,
body.dark-mode .soKyHieu a { color: #63b3ed; }
body.dark-mode .doc-page .doc-header .soKyHieu { color: #fc8181; }
/* Dark mode: expand toggle */
body.dark-mode .expand-toggle { background: #374151; border-color: #4a5568; color: #a0aec0; }
body.dark-mode .expand-toggle:hover { background: #4a5568; color: #e2e8f0; }
body.dark-mode .expand-toggle.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Dark mode: inline-styled backgrounds trên index.html */
body.dark-mode [style*="background:#fff8e7"] {
  background: #302a1a !important;
  border-color: #92791a !important;
}
body.dark-mode [style*="background:#ebf4ff"],
body.dark-mode [style*="background:#ebf8ff"] {
  background: #1c2a3a !important;
}
body.dark-mode [style*="background:#f7fafc"] {
  background: #2d3748 !important;
}
body.dark-mode [style*="background:#fff;"] {
  background: #2d3748 !important;
}
/* Dark mode: inline-styled text colors */
body.dark-mode [style*="color:#1a365d"] { color: #90cdf4 !important; }
body.dark-mode [style*="color:#744210"] { color: #ecc94b !important; }
body.dark-mode [style*="color:#742a2a"] { color: #fc8181 !important; }
body.dark-mode [style*="color:#553c9a"] { color: #b794f4 !important; }
body.dark-mode [style*="color:#4a5568"] { color: #a0aec0 !important; }
/* Dark mode: toolbar inputs & selects */
body.dark-mode .toolbar input[type="text"],
body.dark-mode .toolbar select {
  background: #374151; color: var(--text); border-color: #4a5568;
}
body.dark-mode .toolbar select option { background: #2d3748; color: #e2e8f0; }
body.dark-mode .fulltext-results { background: #2d3748; }
/* Dark mode: footer rõ hơn */
body.dark-mode .footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: rgba(255,255,255,0.92);
}
body.dark-mode .footer a { color: #90cdf4; text-decoration-color: rgba(144,205,244,0.4); }
body.dark-mode .footer a:hover { color: #bee3f8; text-decoration-color: #bee3f8; }
body.dark-mode .footer [style*="opacity:0.7"] { opacity: 0.85 !important; }
/* Dark mode: status pills trên stats-bar */
body.dark-mode .stats-bar .pill[style*="background:#c6f6d5"] { background: rgba(47,133,90,0.2) !important; }
body.dark-mode .stats-bar .pill[style*="background:#fefcbf"] { background: rgba(214,158,46,0.2) !important; }
body.dark-mode .stats-bar .pill[style*="background:#fed7d7"] { background: rgba(197,48,48,0.2) !important; }
body.dark-mode .stats-bar .pill[style*="background:#e9d8fd"] { background: rgba(85,60,154,0.2) !important; }
/* Dark mode: dark toggle button */
.dark-toggle {
  cursor: pointer; border: none; font-size: 1.15rem;
  line-height: 1; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.15);
  vertical-align: middle; padding: 0; transition: background 0.15s;
}
.dark-toggle:hover { background: rgba(255,255,255,0.3); }

/* ===== PRINT: in văn bản sạch sẽ để trình ký / lưu hồ sơ ===== */
@media print {
  body { background: #fff; font-size: 12.5pt; color: #000; }
  .header, .footer, .footer-mini, .toolbar, .back-link, .to-top,
  .fulltext-results, .no-results,
  .link-btn,
  .doc-tab-bar, .status-badge,
  .doc-minischema, .ms-tooltip,
  .doc-toc, .toc-toggle, .reading-progress, .kbd-overlay,
  .search-nav, .cite-toast, .copy-cite-btn,
  .font-controls, .dark-toggle, .fav-star { display: none !important; }
  /* Khi in: mở TẤT CẢ tab (in thông tin + toàn văn) */
  .doc-tab-content { display: block !important; padding: 0 !important; animation: none !important; }
  .doc-tabs { margin: 0; }
  .container, .doc-page { max-width: none; padding: 0; }
  .doc-body, .doc-page .doc-header, .doc-table, .info-box {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
  .info-box { border-left: none; border-bottom: 1px solid #999; padding-bottom: 0.5rem; margin-bottom: 0.75rem; }
  .doc-timeline { box-shadow: none; border-radius: 0; border-left: none; border-bottom: 1px solid #999; }
  .doc-related { display: block !important; box-shadow: none; border-radius: 0; }
  .doc-page .doc-header { border-left: none; border-bottom: 2px solid #000; margin-bottom: 1rem; padding-bottom: 0.75rem; }
  .doc-body { line-height: 1.6; }
  .doc-body h1, .doc-body h2, .doc-body h3, .doc-body .chuong, .doc-body .muc { color: #000; }
  a { color: #000; text-decoration: none; }
  .doc-table th, .doc-table td { border: 1px solid #999; }
  .doc-table tbody tr:nth-child(even) { background: #fff; }
}

/* ===== THEME OVERRIDE =====
 * Đổi màu nhận diện cho từng thư viện: bỏ comment và chỉnh các biến dưới đây.
 * Chỉ đổi accent - KHÔNG đổi các màu trạng thái (--ok/--warn/--danger/--info).
 *
 * Gợi ý bảng màu theo chủ đề:
 *   Xanh dương  #2b6cb0/#1a365d  (mặc định - đấu thầu, hành chính)
 *   Xanh teal   #0d9488/#134e4a  (CNTT, công nghệ)
 *   Xanh lá     #2f855a/#1c4532  (môi trường, nông nghiệp)
 *   Tím         #6b46c1/#44337a  (giáo dục, văn hóa)
 *   Nâu đất     #975a16/#5f370e  (đất đai, xây dựng)
 *   Đỏ gạch     #c05621/#7b341e  (y tế, lao động)
 */
/*
:root {
  --accent: #0d9488;
  --accent-dark: #134e4a;
  --accent-light: #e6fffa;
  --accent-border: #99f6e4;
  --accent-shadow: rgba(13, 148, 136, 0.15);
}
*/


/* ===== THEME luatcntt: xanh teal (CNTT/công nghệ) ===== */
:root {
  --accent: #0d9488;
  --accent-dark: #134e4a;
  --accent-light: #e6fffa;
  --accent-border: #99f6e4;
  --accent-shadow: rgba(13, 148, 136, 0.15);
}
