/* LevelUp dashboard v24
   - prawa kolumna kończy się równo z panelem klientów,
   - karta „Najbliższe 7 dni” wypełnia wolną wysokość,
   - „Ostatnia aktywność” zostaje na dole,
   - komunikat „System działa prawidłowo” jest usunięty. */

.lu-v24-system-status-hidden {
  display: none !important;
}

@media (min-width: 1181px) {
  .dashboardView .lu-v24-side-rail,
  .lu-v24-side-rail {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    height: var(--lu-v24-rail-height) !important;
    min-height: var(--lu-v24-rail-height) !important;
    max-height: var(--lu-v24-rail-height) !important;
    overflow: hidden !important;
    align-self: flex-start !important;
  }

  .dashboardView .lu-v24-deadlines-card,
  .lu-v24-deadlines-card {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
  }

  .dashboardView .lu-v24-activity-card,
  .lu-v24-activity-card {
    flex: 0 0 auto !important;
  }

  .dashboardView .lu-v24-deadlines-footer,
  .lu-v24-deadlines-footer {
    margin-top: auto !important;
  }
}

@media (max-width: 1180px) {
  .dashboardView .lu-v24-side-rail,
  .lu-v24-side-rail {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
