@media (max-width: 900px) {
  html,
  body,
  #root {
    min-height: 100%;
  }

  .app-shell {
    min-height: 100dvh !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 90px !important;
  }

  .main-panel {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .sidebar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100vw !important;
    height: 78px !important;
    z-index: 99999 !important;
    padding: 8px !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(255,255,255,.18) !important;
    background: rgba(12,16,28,.94) !important;
    backdrop-filter: blur(18px) !important;
  }

  .sidebar .brand,
  .sidebar .session-card,
  .sidebar > .energy-bar,
  .sidebar .energy-card {
    display: none !important;
  }

  .nav-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 6px !important;
    height: 100% !important;
    margin: 0 !important;
  }

  .nav-tabs button {
    height: 60px !important;
    min-width: 0 !important;
    padding: 6px 3px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
  }

  .nav-tabs button span {
    width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .nav-badge {
    position: absolute !important;
    top: 2px !important;
    right: 7px !important;
  }
}
