.category-list-table tr.is-selected {
  background: #eff6ff;
}

.category-list-table tr.is-selected td {
  border-top-color: #bfdbfe;
  border-bottom-color: #bfdbfe;
}

.category-form-grid {
  display: grid;
  gap: 16px;
}

.category-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.category-header-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.rule-status-pill {
  min-width: 100px;
  justify-content: center;
}

.rule-status-pill.active {
  background: #dcfce7;
  color: #166534;
}

.rule-status-pill.hidden {
  background: #fee2e2;
  color: #991b1b;
}

.inline-number {
  width: 110px;
}

.section-card-body .table-wrap.compact {
  padding: 0;
}

.rules-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr 140px auto;
  gap: 12px;
  align-items: end;
}

.rules-toolbar .btn {
  white-space: nowrap;
}

.helper-inline {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .rules-toolbar {
    grid-template-columns: 1fr;
  }
}
