/* Foreign-influence and conviction-disclosure pages.
   Theme tokens only, so both themes track the rest of the lobbying
   section. No colour is used to distinguish one row from another here:
   the only accent is the left rule on a conviction entry, which marks a
   quoted block rather than a category. */

.fi-explainer {
  margin: 0 0 var(--sp-3);
  line-height: 1.6;
  color: var(--ink-800);
}
.fi-explainer-last { margin-bottom: 0; }

.fi-stats { margin: var(--sp-5) 0; }

/* Country leaderboard */
.fi-country-table .fi-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fi-country-table .fi-rank {
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
  width: 3rem;
}

/* One card per foreign entity on a country page */
.fi-entity { margin-bottom: var(--sp-4); }
.fi-entity-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin: 0 0 var(--sp-3);
}
.fi-filing-table { margin-bottom: var(--sp-3); }
.fi-filing-table td { vertical-align: top; }
.fi-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 var(--sp-2);
}
.fi-tags:last-child { margin-bottom: 0; }

/* Conviction disclosures */
.fi-person { margin-bottom: var(--sp-4); }
.fi-conviction {
  border-left: 3px solid var(--ink-200);
  padding: var(--sp-1) 0 var(--sp-1) var(--sp-4);
  margin-bottom: var(--sp-5);
}
.fi-conviction:last-child { margin-bottom: 0; }
.fi-conviction-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-2);
}
.fi-conviction-date {
  font-weight: 700;
  color: var(--ink-900);
}
.fi-conviction-desc {
  margin: var(--sp-2) 0;
  line-height: 1.55;
  color: var(--ink-800);
}
.fi-conviction-src { margin: 0; }

@media (max-width: 768px) {
  .fi-conviction { padding-left: var(--sp-3); }
}
