/* Settings > Data checks (owner decision D10f, 2026-10-17;
   static/lib/data-checks.js). Read-only counts: the shared strip
   (kpi.css), shared tables (table.css staticTableHtml) and states.
   Tokens only. The page never widens past the screen: lists scroll inside
   their card at phone width. */

#dataChecksRoot { display: grid; gap: var(--sp-4); min-width: 0; max-width: 1280px; }
.dc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.dc-lead { margin: 0; font-size: var(--fs-13); color: var(--text-2); }
.dc-card { display: grid; gap: var(--sp-3); padding: 16px 20px; min-width: 0; }
.dc-card .section-title { margin: 0; }
.dc-note { margin: 0; font-size: var(--fs-12); color: var(--text-2); }
.dc-muted { color: var(--text-3); }
.dc-mono { font-family: var(--mono); font-weight: var(--mono-font-weight); font-size: var(--fs-12); }
.dc-sides { font-size: var(--fs-12); color: var(--text-2); }
/* Both holders stay readable when the sources disagree: the cell wraps
   instead of cutting the second address. */
.dt td.dc-wrap { white-space: normal; overflow-wrap: anywhere; max-width: none; min-width: 24ch; }
/* The unknown Kandji device type warning (shared .notice-warn): the card
   already has its padding and gap. */
.dc-card .notice { margin: 0; }
.dc-more { margin: 0; font-size: var(--fs-12); color: var(--text-2); font-weight: 500; }

/* The three splits side by side on a wide screen, stacked on a narrow one. */
.dc-splits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); align-items: start; }
.dc-split { min-width: 0; }
/* Two short columns fit as they are: min-width 0 beats app.css's phone rule
   (every table at least 560px, meant for tables inside a scroll wrapper),
   which would push the counts out of sight. */
.dc-split .dt { min-width: 0; width: 100%; }
.dc-split-title { margin: 0 0 var(--sp-2); font-size: var(--fs-12); font-weight: 600; color: var(--text-2); }

/* Lists scroll sideways inside the card, never the page. */
.dc-list { min-width: 0; max-width: 100%; overflow-x: auto; }
/* A long stored value wraps inside its cell (review of 2026-10-17, round 3):
   nothing is cut off, so the whole printed value stays readable. */
.dc-value { overflow-wrap: anywhere; }

@media (max-width: 1000px) { .dc-splits { grid-template-columns: minmax(0, 1fr); } }
/* At phone width every count stays on screen: the strip wraps into two
   columns instead of scrolling sideways with a hidden scrollbar. */
@media (max-width: 600px) {
    .dc-card .strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dc-card .strip-item { min-width: 0; border-bottom: 1px solid var(--border); }
    .dc-card .strip-lbl { white-space: normal; }
    .dc-card .strip-item:only-child { grid-column: 1 / -1; border-bottom: 0; }
}
