/* Makes a Syncfusion grid read as one of our tables (redesign spec §3.4): our type, header and row rules on its behaviour. */
.list-grid .e-grid { font-family: var(--font-body); border: none; border-radius: 0; background: var(--c-panel); }
.list-grid .e-grid, .list-grid .e-grid .e-rowcell { font-size: var(--fs-md); color: var(--c-text); font-variant-numeric: tabular-nums; }
.list-grid .e-grid .e-gridheader { border-color: var(--c-rule); }
.list-grid .e-grid .e-headercell, .list-grid .e-grid .e-gridheader .e-columnheader { background: var(--c-sunken); }
/* A chemical symbol keeps its case: upper-cased, Na reads NA, which reads as "not available". */
.list-grid .e-grid .e-headertext.as-written { text-transform: none; }
.list-grid .e-grid .e-headertext { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.03em; word-break: normal; overflow-wrap: normal; }
.list-grid .e-grid .e-rowcell { border-color: var(--c-rule-soft); padding: 0.35rem 0.65rem; }
.list-grid .e-grid .e-row:hover .e-rowcell { background: var(--c-sunken) !important; }
.list-grid .e-grid .e-toolbar, .list-grid .e-grid .e-toolbar .e-toolbar-items { background: var(--c-panel); border: none; }
.list-grid .e-grid .e-rowcell .btn.small:first-child { margin-left: 0; }
/* A row that opens its record is clickable as a whole (ui-conventions DL43): the name in its first column stays a real link,
   stretched over the row, so it still opens in a new tab and takes the keyboard. Anything else clickable in the row sits above it. */
.list-grid .e-grid .e-row { position: relative; }
.list-grid .e-grid .row-link { color: inherit; font: inherit; text-decoration: none; background: none; border: none; padding: 0; cursor: pointer; }
.list-grid .e-grid .row-link::after { content: ""; position: absolute; inset: 0; }
.list-grid .e-grid .row-link::before { content: "›"; position: absolute; right: 0.65rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); font-size: var(--fs-lg); line-height: 1; }
.list-grid .e-grid .e-row:has(.row-link) .e-rowcell:last-child { padding-right: 1.7rem; }
.list-grid .e-grid .row-link:focus-visible { outline: none; }
.list-grid .e-grid .row-link:focus-visible::after { outline: 2px solid var(--c-primary); outline-offset: -2px; }
.list-grid .e-grid .e-row:has(.row-link) .e-rowcell :is(a, button, input, select, .info[data-info]):not(.row-link) { position: relative; z-index: 1; }
.e-excelfilter .e-footer-content .e-btn.e-primary { background: var(--c-primary) !important; border-color: var(--c-primary) !important; color: var(--c-on-dark) !important; }
.e-excelfilter .e-checkbox-wrapper .e-frame.e-check { background: var(--c-primary) !important; border-color: var(--c-primary) !important; }
.list-grid .e-grid .e-row.superseded .e-rowcell { color: var(--c-muted); }
.list-grid .e-grid .e-rowcell .tick { margin-right: 0.5rem; }
.list-grid .e-grid .e-row.set-aside .e-rowcell { color: var(--c-muted); }
.list-grid .e-grid .e-headertext .unit, .list-grid .e-grid .e-headercelldiv .unit { display: block; font-size: var(--fs-xs); font-weight: 400; text-transform: none; letter-spacing: normal; color: var(--c-muted); }
.list-grid .e-grid .e-rowcell form { margin: 0; }
.list-grid .e-grid .e-rowcell .dot { margin-right: 0.35rem; }
/* A value and what is said about it, grouped under one heading with an outline (ui-conventions DL34). */
table.grid.water-values { width: auto; }
table.grid.water-values th, table.grid.water-values td { text-align: left; white-space: nowrap; }
table.grid.water-values td.value { text-align: right; }
table.grid.water-values thead th.group { text-align: center; }
table.grid.water-values .group-start { border-left: 2px solid var(--c-rule); }
.list-grid .e-grid .e-rowcell { word-break: normal; overflow-wrap: break-word; }
table.grid.water-values .status { margin-left: 0.4rem; }
.list-grid .e-grid .e-rowcell .differs { font-weight: 600; color: var(--c-error-text); }
