/* Shared table presentation: calm, readable, and colour-coded by data type. */
[data-row-href]{cursor:pointer}[data-row-href]:focus-visible{outline:2px solid #d55a2a;outline-offset:-2px}
.table-card,.card:has(>table),[data-live-results]{padding:0;overflow:hidden;border-top:4px solid #5aa877;background:linear-gradient(115deg,#f8fdf9,#fff 42%)}
.table-card>h2,.card:has(>table)>h2{margin:0;padding:18px 22px 12px}.table-card table,.card:has(>table) table,[data-live-results] table{margin:0;width:100%}.table-card thead th,.card:has(>table) thead th,[data-live-results] thead th{padding:13px 22px;background:#f5f9f6;color:#65736a;font-weight:700}.table-card tbody td,.card:has(>table) tbody td,[data-live-results] tbody td{padding:15px 22px}.table-card tbody tr:last-child td,.card:has(>table) tbody tr:last-child td,[data-live-results] tbody tr:last-child td{border-bottom:0}.table-card tbody tr:not(:has(.empty)):hover,.card:has(>table) tbody tr:not(:has(.empty)):hover,[data-live-results] tbody tr:not(:has(.empty)):hover{background:#fbfdfc}
.table-card.table-orders{border-top-color:#e58b58;background:linear-gradient(115deg,#fff9f5,#fff 42%)}.table-card.table-orders thead th{background:#fff5ef;color:#836557}
.table-card.table-customers{border-top-color:#9b82cf;background:linear-gradient(115deg,#fbfaff,#fff 42%)}.table-card.table-customers thead th{background:#f7f4fd;color:#71677e}
.table-card.table-fabrics{border-top-color:#4b9e9d;background:linear-gradient(115deg,#f4fbfb,#fff 42%)}.table-card.table-fabrics thead th{background:#f0f9f9;color:#557576}
.table-card.table-reports{border-top-color:#d0a246;background:linear-gradient(115deg,#fffaf0,#fff 42%)}.table-card.table-reports thead th{background:#fff7e7;color:#806b40}
.table-card.table-team{border-top-color:#6c92d3;background:linear-gradient(115deg,#f6f9ff,#fff 42%)}.table-card.table-team thead th{background:#f1f5ff;color:#586b8c}
.page:has(.order-status-tabs) [data-live-results]>.card,.card:has(>table.order-details-table){border-top-color:#e58b58;background:linear-gradient(115deg,#fff9f5,#fff 42%)}.page:has(.order-status-tabs) [data-live-results]>.card thead th,.card:has(>table.order-details-table) thead th{background:#fff5ef;color:#836557}
.page:has(select[name="status"]) [data-live-results]{border-top-color:#9b82cf;background:linear-gradient(115deg,#fbfaff,#fff 42%)}.page:has(select[name="status"]) [data-live-results] thead th{background:#f7f4fd;color:#71677e}
.card:has(>table.team-table){border-top-color:#6c92d3;background:linear-gradient(115deg,#f6f9ff,#fff 42%)}.card:has(>table.team-table) thead th{background:#f1f5ff;color:#586b8c}
@media(max-width:900px){.table-card{overflow-x:auto}.table-card thead th,.table-card tbody td{padding-right:14px;padding-left:14px}}
