.account-package { display: flex; align-items: center; gap: 4px; min-width: 0; }
.package-history-wallet { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 38px; color: inherit; border: 1px solid #ffffff24; border-radius: 10px; }
.package-history-wallet svg { width: 22px; height: 22px; fill: currentColor; }
.package-history-wallet:hover, .package-history-wallet:focus-visible { color: #34d399; border-color: currentColor; }
.history-tabs, .history-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0; }
.history-tabs a { border: 1px solid #ffffff24; border-radius: 9px; padding: 9px 12px; color: inherit; text-decoration: none; }
.history-tabs a.active { color: #34d399; border-color: #34d399; }
.history-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 20px 0; }
.history-filters label { display: flex; flex-direction: column; gap: 6px; }
.history-table { margin: 16px 0; }
.history-table .history-topup td { color: #34d399; }
.history-table .history-spending td { color: #fb7185; }
.history-delta { font-variant-numeric: tabular-nums; white-space: nowrap; }
.incoming-dialog-adjust select { width: 100%; min-width: 0; }
@media (max-width: 900px) {
  body:has(.app-sidebar) .account-package { flex: 1 1 0; }
  body:has(.app-sidebar) .account-package .account-balance { min-width: 0; }
  body:has(.app-sidebar) .sidebar-nav, body:has(.app-sidebar).sidebar-collapsed .sidebar-nav { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .employee-panel .panel-nav, .employee-panel.sidebar-collapsed .panel-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .history-filters label { flex: 1 1 120px; min-width: 0; }
  .history-filters input { width: 100%; box-sizing: border-box; }
  .history-tabs { gap: 6px; }
  .history-tabs a { flex: 1; text-align: center; padding: 9px 6px; }
}
