/* Kit candidate · source-evidence-fig: Source Evidence, DEMPE functions, as a site figure. The grammar's parts
   (card, rows, opened row, line, evidence, key term, light) come from system.v1.css; these are the tool's own body. */

/* one card, the evidence under it, the caption under the evidence: one column at every width */
.w-sef .w-gf-pair { grid-template-columns: minmax(0, 1fr); }
.w-sef .w-gf-pair > .w-gf-cap { grid-row: 3; margin-top: 24px; }

/* the open function and its count, as the drawer heads its list */
.w-sef-fh { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(241, 244, 245, 0.08); }
.w-sef-fn { font: 500 20px/1.3 var(--sans); color: var(--ink-1); }
.w-sef-fnn { font: 400 14px/20px var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* the five functions: the app's dot · name · AGREEMENT · EVENTS (the figures tabular, right on their heads) */
.w-sef-list { margin-top: 12px; }
.w-sef-hdr, .w-sef-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) 104px 72px; align-items: center; }
.w-sef-hdr { height: 30px; }
.w-sef-hc { font: 400 11px/16px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); text-align: right; }
.w-sef-row { min-height: 36px; padding: 8px 0; }
.w-sef-m { font: 400 14px/20px var(--sans); color: var(--pc); }
.w-sef-n { font: 400 15px/20px var(--sans); }
.w-sef-c { font: 400 15px/20px var(--sans); color: var(--ink-1); text-align: right; font-variant-numeric: tabular-nums; }
.w-sef-c.is-z { color: var(--ink-4); }

/* the block's head under the list, as the app sets it above its clauses */
.w-sef-bh { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(241, 244, 245, 0.08);
  font: 400 11px/16px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }

@media (max-width: 767px) {
  .w-sef-hdr, .w-sef-row { grid-template-columns: 14px minmax(0, 1fr) 96px 64px; }
  .w-sef-fn { font-size: 18px; }
}
