
.side-pane {
  display: grid;
  align-content: start;
  gap: 0;
  overflow: hidden;
}

.side-pane section + section {
  border-top: 1px solid var(--line);
}

.pane-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.pane-head > *,
.topbar > *,
.invoice-card-head > *,
.agency-row > *,
.saved-agency-item > *,
.user-row > *,
.audit-row > *,
.operation-row > *,
.payroll-report-item > *,
.manager-account-summary > *,
.topup-review-head > * {
  min-width: 0;
}

.pane-head.compact {
  align-items: center;
}

.mini-badge {
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compact-filter {
  display: inline-grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.compact-filter select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  padding: 6px 10px;
}

.compact-filter.is-active {
  color: var(--accent);
}

.compact-filter.is-active select {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}
