/* Lưới số dư kiểu MISA (8.9 Số dư tài khoản, 8.9.1 Bảng cân đối số phát sinh):
   Số hiệu TK | Tên TK | Đầu kỳ Nợ/Có | Phát sinh Nợ/Có | Cuối kỳ Nợ/Có; tiêu đề 2 tầng + dòng Tổng cộng dính đáy.
   Dòng: .lv1 / .lv2 / .lv3 theo cấp TK, .r-click bấm được, .r-open đang mở, .r-detail dòng chi tiết. */
.abl-wrap { overflow: auto; max-height: calc(100vh - 360px); border: 1px solid #bdbdbd; border-radius: 4px; }
.abl { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.abl th, .abl td { border-right: 1px solid #d6dbe3; border-bottom: 1px solid #d6dbe3; padding: 4px 8px; white-space: nowrap; }
.abl thead th { position: sticky; background: #e8eef7; color: #1f3a5f; text-align: center; font-weight: 700; z-index: 2; }
.abl thead tr:first-child th { top: 0; height: 26px; }
.abl thead tr:nth-child(2) th { top: 26px; }
.abl th.c-money { min-width: 120px; }
.abl td { text-align: right; }
.abl td.c-period { text-align: center; color: #546e7a; }
.abl td.c-code { text-align: left; width: 110px; }
.abl td.c-name { text-align: left; min-width: 260px; max-width: 420px; overflow: hidden; text-overflow: ellipsis; }
.abl .c-caret { display: inline-block; width: 14px; color: #90a4ae; font-size: 11px; }
.abl tbody tr.r-click { cursor: pointer; }
.abl tbody tr.r-click:nth-of-type(even) td { background: #fafbfd; }
.abl tbody tr.r-click:hover td { background: #eaf3ff; }
.abl tbody tr.r-open td { background: #fff8e1 !important; }
.abl tbody tr.lv1 td { font-weight: 700; color: #102a43; }
.abl tbody tr.lv2 td.c-code, .abl tbody tr.lv2 td.c-name { padding-left: 20px; }
.abl tbody tr.lv3 td.c-code, .abl tbody tr.lv3 td.c-name { padding-left: 32px; font-style: italic; }
.abl tbody tr.r-detail > td { background: #f7f9fc; text-align: left; padding: 8px 12px; white-space: normal; }
.abl .abl-detail-title { font-weight: 600; margin-bottom: 6px; }
.abl .abl-detail-meta { font-weight: 400; color: #78909c; margin-left: 8px; font-size: 12px; }
.abl td.c-empty { text-align: center; color: #757575; padding: 18px; white-space: normal; }
.abl tfoot td { position: sticky; bottom: 0; background: #fff3cd; font-weight: 700; border-top: 2px solid #9e9e9e; z-index: 1; }
