.cs-ledger {
  row-gap: 26px;
}

.cs-sections a[aria-current="page"] .cs-tab-count {
  color: var(--ll-accent);
}

#cs-groups + #ss-groups {
  margin-top: 40px;
}

#ss-groups:empty {
  display: none;
}

.cs-best-state_bill .cs-best-figure,
.cs-best-exec_document .cs-best-figure {
  margin-top: 16px;
}

@media (max-width: 760px) {
  #cs-groups + #ss-groups {
    margin-top: 32px;
  }
}

.cs-page .cs-sections {
  display: inline-flex;
  gap: 2px;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 4px;
  border: 0;
  border-radius: 12px;
  background-color: var(--ll-accent-soft);
  background-image: none;
}

.cs-page .cs-sections a,
.cs-page .cs-sections a:first-child {
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 0.95rem;
}

.cs-page .cs-sections a::after {
  display: none;
}

.cs-page .cs-sections a:hover {
  background: rgba(255, 255, 255, 0.6);
}

.cs-page .cs-sections a[aria-current="page"] {
  background: var(--ll-surface);
  color: var(--ll-accent);
  box-shadow: 0 1px 2px rgba(15, 27, 42, 0.1), 0 0 0 1px var(--ll-line);
}

.cs-page .cs-sections a.is-empty {
  opacity: 0.5;
}

.cs-page .cs-sections + .cs-tabs {
  margin-top: 0;
}

.cs-page .cs-tabs {
  margin-bottom: 22px;
}

.cs-page .cs-tabs a {
  padding: 8px 14px 11px;
  color: var(--ll-ink-3);
  font-size: 0.88rem;
  font-weight: 500;
}

.cs-page .cs-tabs a:first-child {
  padding-left: 0;
}

.cs-page .cs-tabs a:hover {
  color: var(--ll-ink);
}

.cs-page .cs-tabs a[aria-current="page"] {
  color: var(--ll-ink);
  font-weight: 700;
}

@media (max-width: 640px) {
  .cs-page .cs-sections {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
  }

  .cs-page .cs-sections a,
  .cs-page .cs-sections a:first-child {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}
