#workspace .table-wrap table { background: #fff; }
#workspace .table-wrap thead th {
  background: #e6ebef;
  color: #34424d;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  border-bottom: 2px solid #b5c3cb;
}
#workspace .table-wrap tbody > tr:not(.list-detail) > :is(td,th) { background: #fff; border-top: 1px solid #cbd5d9; }
#workspace .table-wrap tbody > tr:nth-child(even of :not(.list-detail)) > :is(td,th) { background: #f2f5f7; }
#workspace .table-wrap tbody > tr.list-open > td { background: #e9f0f7; border-top: 1px solid #95aac1; }
#workspace .table-wrap tbody > tr.list-detail > td {
  background: #f4f8fc;
  border-top: 1px dashed #a8baca;
  border-bottom: 2px solid #a8baca;
  padding: 11px 16px 16px;
}
#workspace .table-wrap tbody > tr:is(.list-open,.list-detail) > td:first-child { box-shadow: inset 3px 0 #547697; }
.detail-context { color: #344d64; font-size: 13px; margin: 0 0 10px; overflow-wrap: anywhere; }
#view-payments .list-detail .contact-grid { margin: 0; border: 0; padding: 0; }
#view-payments .detail-toggle { border-color: transparent; background: transparent; padding-inline: 5px; color: #284d6b; }
#view-payments .detail-toggle::before { content: ''; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(-45deg); margin-right: 6px; }
#view-payments .detail-toggle[aria-expanded="true"]::before { transform: translateY(-2px) rotate(45deg); }
.ledger-title { font-size: 19px; line-height: 1.4; margin: 18px 0 10px; color: #25373e; letter-spacing: 0; }
.list-state {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 4px; padding: 3px 7px;
  font-size: 12px; line-height: 1.45; font-weight: 650;
  color: #47555d; background: #e9edef; white-space: normal;
}
.list-state::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; flex: none; }
.tone-paid { color: #195d3e; background: #dff1e6; }
.tone-pending { color: #80500e; background: #fff0ca; }
.tone-exception { color: #91382f; background: #fbe4df; }
.tone-progress { color: #305779; background: #e0ebf6; }
.compact-state { display: none; }
.shop-main .table-wrap td > .list-state:not(.compact-state) { white-space: nowrap; }
.menu-children + a { border-top: 1px solid #dce4e6; }
@media (max-width:620px) {
  #view-payments td:first-child > .compact-state { display: flex; width: fit-content; max-width: 100%; margin: 4px 0 1px; }
  #workspace .table-wrap tbody > tr.list-detail > td { padding-inline: 12px; }
}
