/* Store order list — the overdue row treatment from the design: a red left stripe plus a faint red tint, so a
   delivery that has slipped its date is findable by scanning the left edge of the table rather than by reading
   every expected-delivery cell. The stripe is drawn with an inset box-shadow rather than a border so it does not
   shift the row's own cell borders, and the tint is colour-mixed from the theme's error colour so it follows the
   light and dark palettes instead of hard-coding a red. */
.mud-table-row.tsg-row-overdue > td:first-child {
    box-shadow: inset 3px 0 0 0 var(--mud-palette-error);
}

.mud-table-row.tsg-row-overdue > td {
    background-color: color-mix(in srgb, var(--mud-palette-error) 4%, transparent);
}

.mud-table-row.tsg-row-overdue:hover > td {
    background-color: color-mix(in srgb, var(--mud-palette-error) 8%, transparent);
}

/* The same state on a phone card (ResponsiveListView.CardClass): the stripe on the card's own left edge. */
.rlv-card.tsg-row-overdue {
    border-left: 3px solid var(--mud-palette-error);
    background-color: color-mix(in srgb, var(--mud-palette-error) 4%, var(--mud-palette-surface));
}
