/* Lobbying filing detail page. Uses theme tokens so it reads correctly in
   both light and dark themes. */

/* Lobbying spending leaderboards (/lobbying/spending/). */
.spending-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 768px) {
  .spending-cols { grid-template-columns: 1fr; }
}
.spending-board {
  margin: 0;
  padding-left: var(--sp-5);
}
.spending-board li {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: var(--sp-3);
  align-items: baseline;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--ink-100);
}
.spending-board li:last-child { border-bottom: 0; }
.spending-name { font-weight: 600; }
.spending-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
.spending-count { grid-column: 1 / -1; }

.lobby-bill-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-3);
}
.lobby-bill-chip {
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  background: var(--ink-50);
}
.lobby-bill-chip a { font-weight: 700; }
.lobby-bill-sub { margin-top: 2px; }

.lobby-activity {
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--ink-100);
}
.lobby-activity:first-child { border-top: none; padding-top: 0; }
.lobby-activity-issue {
  font-weight: 700;
  color: var(--civic-blue);
  margin-bottom: 2px;
}
.lobby-activity-desc {
  margin: 0;
  line-height: 1.55;
  color: var(--ink-800);
}
