/* Every other list row in a faint gray, so a row is easy to follow across the columns.
   A row is a selectable record whose cells name their row number, so the stripes stay with
   their rows while a long list scrolls. Hovered, focused and selected rows keep Twenty's own
   colours; the mix with the text colour keeps the stripe faint in the dark theme too.
   Loaded by patch-twenty.sh. */
[data-selectable-id]:not(:hover, [data-active="true"], [data-focused="true"]):not(
    :has(input[type="checkbox"]:checked)
  ):has(
    > div.table-cell [data-record-table-row$="1"],
    > div.table-cell [data-record-table-row$="3"],
    > div.table-cell [data-record-table-row$="5"],
    > div.table-cell [data-record-table-row$="7"],
    > div.table-cell [data-record-table-row$="9"]
  )
  > :is(div.table-cell, div.table-cell-0-0) {
  background-color: color-mix(in srgb, var(--t-background-primary) 96%, var(--t-font-color-primary));
}

/* Board cards leave out empty fields, as Pipedrive's do; a person fills one in on the record
   page. StyledFieldContainer holding a StyledEmptyField, in this build's class names. */
[id^="record-board-card-"] .s1m0689v:has(.s1vaiy3a) {
  display: none;
}
