.settlement-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.category-filter { margin: 0; min-width: 0; max-width: 100%; }
.category-filter label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: #344054; letter-spacing: 0; }
.category-filter-inputs { display: flex; gap: 8px; align-items: center; }
.category-filter select {
  width: 330px;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid #98a2b3;
  border-radius: 6px;
  background: #fff;
  color: #182230;
  font: inherit;
  font-size: 15px;
}
.category-filter button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #3b82f6;
  border-radius: 6px;
  background: #3b82f6;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.category-filter button:hover { background: #2563eb; border-color: #2563eb; }
.category-filter select:focus-visible, .category-filter button:focus-visible, .category-reset:focus-visible, .category-empty a:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
.category-count-help { margin: 7px 0 0; color: #475467; font-size: 12px; line-height: 1.5; }
.category-reset { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.category-reset, .category-empty a { color: #1d4ed8; text-underline-offset: 3px; }
.category-results {
  display: flex;
  flex: 1 0 100%;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8fafc;
  color: #475467;
  font-size: 14px;
}
.category-result-total { margin: 0; }
.category-result-total strong { color: #182230; font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; }
.category-status-counts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.category-status-counts li { padding: 6px 10px; border-radius: 6px; font-size: 13px; line-height: 1.4; }
.category-status-counts strong { font-weight: 750; font-variant-numeric: tabular-nums; }
.category-count-current { background: #e8f1ff; color: #1e429f; }
.category-count-expired { background: #edf0f4; color: #475467; }
.category-empty { padding: 36px 26px; }
.category-empty h2 { font-size: 18px; margin: 0 0 12px; }
@media (max-width: 700px) {
  .settlement-filters { padding: 16px 8px; margin: 0 0 12px; background: transparent; border-top: 0; border-bottom: 0; gap: 8px; }
  .category-filter { width: 100%; }
  .category-filter-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .category-filter select { width: 100%; font-size: 14px; padding-left: 8px; padding-right: 24px; }
  .category-filter button { padding: 0 14px; }
  .category-results { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; background: #fff; }
  .category-empty { padding: 24px 8px; }
}
@media (max-width: 380px) {
  .category-filter-inputs { grid-template-columns: minmax(0, 1fr); }
  .category-filter button { justify-self: start; min-width: 76px; }
}
