/* dh-table-cards R02 (LEAD131 27/10/2026, LO8T R03; sửa theo B3 vòng 1) — bảng → thẻ dọc dưới 640px. Không JS: bảng giữ nguyên, cuộn ngang
   trong khung bảng (trang không cuộn ngang). JS gán data-label từ <th> và vai trò ARIA rồi thêm .is-ready. Tiền tố .dh-table-cards. */
.dh-table-cards{margin:28px 0;max-width:100%;overflow-x:auto}
.dh-table-cards table{width:100%;border-collapse:collapse;font-size:.95em;line-height:1.55}
.dh-table-cards th,.dh-table-cards td{padding:10px 12px;border:1px solid var(--line,#c5c5b5);text-align:left;vertical-align:top}
.dh-table-cards thead th,.dh-table-cards .dh-table-cards__head>*{background:var(--cream,#eadec3);font-weight:600}
.dh-table-cards figcaption{margin-top:8px;font-size:.9em}
@media (max-width:639.98px){
  .dh-table-cards.dh-table-cards.is-ready{overflow:visible}
  .dh-table-cards.dh-table-cards.is-ready table{min-width:0;font-size:inherit}
  .dh-table-cards.is-ready table,.dh-table-cards.is-ready tbody,.dh-table-cards.is-ready tfoot,.dh-table-cards.is-ready tr,.dh-table-cards.is-ready td,.dh-table-cards.is-ready th{display:block;width:100%}
  .dh-table-cards.is-ready thead,.dh-table-cards.is-ready .dh-table-cards__head{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .dh-table-cards.is-ready tbody tr,.dh-table-cards.is-ready tfoot tr{margin:0 0 12px;padding:4px 14px;border:1px solid var(--line,#c5c5b5);border-radius:10px;background:rgba(255,255,255,.45)}
  .dh-table-cards.is-ready :is(tbody,tfoot) :is(td,th){padding:9px 0;border:0;border-top:1px dashed var(--line,#c5c5b5);background:none;overflow-wrap:anywhere}
  .dh-table-cards.is-ready :is(tbody,tfoot) tr:not(.dh-table-cards__cont)>:first-child{display:block;border-top:0;font-weight:600;font-size:1.05em}
  .dh-table-cards.is-ready :is(tbody,tfoot) tr:not(.dh-table-cards__cont)>:first-child:before{content:none}
  .dh-table-cards.is-ready :is(tbody,tfoot) [data-label]:before{content:attr(data-label);display:block;margin-bottom:2px;font-weight:600;font-size:.88em;color:var(--green,#2e3c2d)}
  .dh-table-cards.is-ready :is(tbody,tfoot) td:empty,.dh-table-cards.is-ready td.is-empty{display:none}
}
