agent-program-view { display: block; }
agent-program-view > .panel + .panel,
agent-program-view > .pager + .panel,
enterprise-contact + agent-program-view { margin-top: 18px; }
.agency-contact + .agency-contact { border-top: 1px solid var(--border); }
.agency-contact p { margin: 6px 0; }
.agency-contact .inline-links { flex-wrap: wrap; }
agent-program-view .danger { color: #dc3545; }
.agency-list > .toolbar > .filter-row { margin: 0; }
[data-agency-modal-results] { margin-top: var(--field-action-gap); }
[data-agency-ledger-filters] { align-items: end; gap: var(--field-action-gap); }
[data-agency-lookup] { margin: 0; }
[data-agency-order-inputs] { margin: 0; }
.agency-company-more { display: none; }
.agency-company-actions { display: contents; }
@media (min-width: 1024px) and (max-width: 1700px) {
  .agency-list :is(th, td):is(:nth-child(3), :nth-child(5), :nth-child(6), :nth-child(9), :nth-child(10), :nth-child(12), :nth-child(13)),
  .agency-founders :is(th, td):is(:nth-child(3), :nth-child(5)),
  .agency-company-list :is(th, td):is(:nth-child(7), :nth-child(8), :nth-child(9), :nth-child(10), :nth-child(12), :nth-child(13), :nth-child(14)) {
    display: none;
  }
  #app :is(.agency-list, .agency-founders, .agency-company-list) .table-wrap td.name { min-width: 0; }
  .agency-company-actions { display: none; }
  .agency-company-more { display: inline-flex; }
}
@media (min-width: 1024px) and (max-width: 1700px) {
  .agency-wallet-ledger :is(th, td):is(:nth-child(7), :nth-child(8), :nth-child(10)) { display: none; }
  .agency-wallet-ledger .table-wrap td.name { min-width: 0; }
}
