.ledger-center {
  background: #f5f7fb;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ledger-block {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 16px;
}

.filter-row {
  margin-bottom: 8px;
}

.filter-actions {
  padding-top: 4px;
}

.filter-actions .ant-btn {
  min-width: 104px;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.table-wrapper {
  margin-top: 12px;
}

.chart-wrapper {
  padding: 8px 0 0;
}

.chart-caption {
  text-align: center;
  color: #444;
  font-size: 14px;
  margin-top: 6px;
}

.diff-table {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.diff-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  border-bottom: 1px solid #f5f5f5;
  min-height: 44px;
}

.diff-row:last-child {
  border-bottom: none;
}

.diff-label {
  background: #fafafa;
  color: #666;
  padding: 12px 12px;
  font-weight: 500;
  border-right: 1px solid #f5f5f5;
}

.diff-text {
  padding: 12px 14px;
  color: #555;
  display: flex;
  align-items: center;
}

.diff-error {
  color: #d4380d;
}

.diff-warning {
  color: #d48806;
}

.diff-logic {
  color: #3f6600;
}

@media screen and (max-width: 992px) {
  .ledger-center {
    padding: 12px;
  }

  .filter-actions {
    text-align: right;
  }
}
