/* Thống kê XSDP v2 - dùng chung cho các trang thống kê (chỉ áp trong .tkdp-page) */
.tkdp-page,.tkdp-page input,.tkdp-page select,.tkdp-page button,.tkdp-page table{font-family:Arial,Helvetica,sans-serif}
.tkdp-page{font-size:14px;color:#222;line-height:1.5}
.tkdp-page *,.tkdp-page *::before,.tkdp-page *::after{box-sizing:border-box}
.tkdp-page h1,.tkdp-page h2,.tkdp-page h3{margin:0;font-family:Arial,Helvetica,sans-serif}
.tkdp-page a{color:#337ab7;text-decoration:none}
.tkdp-page a:hover{color:#23527c;text-decoration:underline}
.tkdp-border{border:solid 1px #e0e0e0}
.tkdp-pad-card{padding:10px;border:solid 1px #e0e0e0}
.block-tkdp{margin-bottom:12px}
.tkdp-pad{padding-left:10px;padding-right:10px}
.tkdp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.tkdp-crumb{font-size:13px;color:#666;padding-top:10px;margin-bottom:10px}
.tkdp-page .tkdp-crumb a{color:#1a0dab}
.tkdp-page h1.tkdp-bar,.tkdp-bar{background:#cc0000;color:#fff;font-size:18px;font-weight:700;line-height:1.3;padding:9px 12px}
.tkdp-lbl{font-weight:700}
.tkdp-page h2.tkdp-cap,.tkdp-cap{color:#c00;font-size:16px;font-weight:700;line-height:1.4;text-align:left}
.tkdp-page .tkdp-cap a{color:inherit}
.tkdp-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tkdp-filter label{margin:0;font-weight:400}
.tkdp-sel{border:1px solid #ccc;background:#fff;color:#555;padding:4px;font:14px Arial,Helvetica,sans-serif;height:32px}
.tkdp-q{color:#333;width:150px}
.tkdp-q.tkdp-bad{border-color:#c00;outline:1px solid #c00}
.tkdp-qerr{flex-basis:100%;margin:0;color:#c00;font-size:13px}
.tkdp-btn{background:#c00;color:#fff;font:700 14px Arial,Helvetica,sans-serif;padding:2px 18px;border:0;cursor:pointer;height:32px}
.tkdp-btn:hover{background:#a80000}
.tkdp-radio-row{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 28px}
.tkdp-r{display:inline-flex;align-items:center;gap:4px;cursor:pointer;font-weight:400;margin:0}
.tkdp-r input{margin:0}
.tkdp-tabs{display:flex;flex-wrap:wrap;gap:8px 14px;list-style:none;margin:0;padding:0;align-items:center}
.tkdp-tabs li{cursor:pointer}
.tkdp-tabs li:hover{color:#c00}
.tkdp-tabs li.tkdp-active{color:#c00;font-weight:700;text-decoration:underline}
.tkdp-num{border-collapse:collapse;width:100%;background:transparent}
.tkdp-num td{text-align:center;padding:3px 0;border:none;border-bottom:1px solid #e5e5e5;cursor:pointer}
.tkdp-num tr:last-child td{border-bottom:0}
.tkdp-pk{font-weight:700}
.tkdp-on-b{color:#c00;font-weight:700}
.tkdp-scroll{overflow-x:auto}
.tkdp-t{border-collapse:collapse;width:100%;background:#fff;font-size:14px}
.tkdp-t th{background:#eee;color:#c00;font-weight:700;padding:5px;border:1px solid #ddd;text-align:center}
.tkdp-t td{border:1px solid #e5e5e5;padding:4px;text-align:center}
.tkdp-t td.tkdp-left{text-align:left}
.tkdp-t th.tkdp-hd,.tkdp-t td.tkdp-hd{background:#123a8c;color:#fff}
.tkdp-t td.tkdp-off{background:#8a8a8a}
.tkdp-red{color:#c00}
.tkdp-bold{font-weight:700}
.tkdp-nowrap{white-space:nowrap}
.tkdp-small{font-size:12px;font-weight:400}
.tkdp-wide{min-width:560px}
.tkdp-wide td,.tkdp-wide th{white-space:nowrap}
.tkdp-wide tbody td:first-child,.tkdp-wide thead tr:first-child th:first-child{position:sticky;left:0;background:#fff;z-index:2;box-shadow:inset -1px 0 0 #ddd}
.tkdp-wide thead tr:first-child th:first-child{background:#eee}
.tkdp-sort{background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer}
.tkdp-sort:hover{text-decoration:underline}
.tkdp-sort:focus-visible{outline:2px solid #1a0dab}
.tkdp-ar{font-size:11px;color:#777}
.tkdp-sort[aria-pressed="true"] .tkdp-ar{color:#c00}
.tkdp-xem,.tkdp-less{background:none;border:0;padding:0;cursor:pointer;color:#1a0dab;text-decoration:underline;font:14px Arial,Helvetica,sans-serif}
.tkdp-all:not(.tkdp-open) .tkdp-xr,.tkdp-all:not(.tkdp-open) .tkdp-less,.tkdp-all.tkdp-open .tkdp-xem,.tkdp-all.tkdp-qon .tkdp-less{display:none}
.tkdp-sum{cursor:pointer;color:#1a0dab;display:inline-block}
.tkdp-more[open]>.tkdp-sum{margin-bottom:12px}
.tkdp-note{font-size:13px}
.tkdp-disc{font-size:12.5px;color:#555;line-height:1.45}
.tkdp-links{margin:0;padding-left:16px}
.tkdp-links li{margin-bottom:8px}
.tkdp-links li:last-child{margin-bottom:0}
.tkdp-info{padding:10px;border:solid 1px #e0e0e0}
.tkdp-info p{margin:8px 0}
.tkdp-page .tkdp-info h2{font-size:16px;font-weight:700;color:#c00;margin:8px 0;line-height:1.4}
.tkdp-page .tkdp-info h2:first-child{margin-top:0}
.tkdp-page .tkdp-info h3{font-size:15px;font-weight:700;color:#222;margin:8px 0 4px;line-height:1.4}
.tkdp-info h3+p{margin-top:4px}
.tkdp-info ul{margin:8px 0;padding-left:20px}
.tkdp-info li{margin-bottom:4px}
.tkdp-info>:last-child{margin-bottom:0}
@media (max-width:600px){.tkdp-page h1.tkdp-bar,.tkdp-bar{font-size:17px}}
/* Mô tả ngắn dưới H2 (14px); danh sách "Xem thêm" và "Cách đọc bảng" luôn có dấu chấm đầu dòng */
.tkdp-desc{font-size:14px;font-weight:400}
.tkdp-page ul.tkdp-links,.tkdp-page .tkdp-info ul{list-style:disc outside}
.tkdp-page ul.tkdp-links>li,.tkdp-page .tkdp-info ul>li{display:list-item;list-style:inherit}
/* Mobile: ghim cột đầu khi cuộn ngang bảng (giải ĐB tuần/tháng/tổng) */
@media (max-width:767px){.tkdp-pin td:first-child,.tkdp-pin th:first-child{position:sticky;left:0;z-index:1;background:#fff;box-shadow:inset -1px 0 0 #ddd}.tkdp-pin th:first-child{background:#eee}.tkdp-pin td:first-child{white-space:nowrap}}
/* Desktop: canh đỉnh 2 cột phải ngang với cột chính (bỏ margin-top 10px của sidebar trên các trang thống kê) */
@media (min-width:992px){.main-content .row:has(.tkdp-page)>.center-side-bar{margin-top:0}.main-content .row:has(.tkdp-page) .advfirst.mgt10 .adv-side-bar{margin-top:0}.main-content .row:has(.tkdp-page) .live-status-bar{margin:0 0 10px}.main-content .row:has(.tkdp-page) .live-status-bar .live-status-box{margin-top:0}}
