@media (max-width: 960px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    margin: 0;
    border-radius: 24px 0 0 24px;
  }

  .top-actions {
    display: none;
  }

  body:not(.is-authenticated) .main {
    padding: 16px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-brand {
    display: grid;
    min-height: 390px;
    padding-top: 28px;
  }

  .auth-logo {
    width: 74px;
    height: 74px;
    margin-bottom: 12px;
  }

  .auth-brand h2 {
    font-size: 3.4rem;
  }

  .auth-hero-image {
    height: 190px;
  }

  .payment-plan-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .plan-wallet {
    margin: 0 auto;
  }

  .welcome-panorama {
    min-height: 410px;
    grid-template-columns: 1fr;
  }

  .weather-tile {
    margin: 0;
    align-self: start;
  }

  .welcome-center {
    grid-column: 1;
  }

  .riyadh-header-art {
    left: 0;
    right: 0;
    width: 100%;
    height: 170px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .dashboard-card:nth-child(n) {
    grid-column: span 3;
  }
}

@media (max-width: 640px) {
  .main {
    padding: 14px;
  }

  .topbar {
    min-height: 64px;
  }

  .dashboard-shortcuts,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card:nth-child(n) {
    grid-column: span 1;
  }

  .weather-tile {
    width: 180px;
    min-height: 180px;
  }

  .welcome-center h2 {
    font-size: 3.2rem;
  }
}
