.preview-table thead th { position: sticky; top: 0; z-index: 2; background: #fff; }
.preview-table td:nth-last-child(-n+2),
.preview-table th:nth-last-child(-n+2) { text-align: right; }
.preview-table td:first-child,
.preview-table th:first-child { width: 40px; text-align: center; }
.subcard { box-shadow: 0 4px 20px rgba(0,0,0,.05); border: 0; }

/* Strong zebra striping on cells; nth-of-type ignores whitespace text nodes */
.preview-table tbody > tr:nth-of-type(odd)  > td,
.preview-table tbody > tr:nth-of-type(odd)  > th { background-color: #f6f8fc !important; }

.preview-table tbody > tr:nth-of-type(even) > td,
.preview-table tbody > tr:nth-of-type(even) > th { background-color: #ffffff !important; }

/* Hover row */
.preview-table tbody > tr:hover > td,
.preview-table tbody > tr:hover > th { background-color: #e9f2ff !important; }

/* Bold the "Line Total" column (6th cell) */
.preview-table tbody td:nth-of-type(6) { font-weight: 700; }

/* Keep header clean & sticky */
.preview-table thead th { background:#fff; position: sticky; top: 0; z-index: 1; }