/* Planshet: 768–1100 px. Telefon va keng kompyuter o‘z holicha qoladi. */
@media (min-width: 768px) and (max-width: 1100px) {
  .layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  aside {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    width: auto;
    height: 100vh;
    transform: none;
    box-shadow: none;
    z-index: 1;
  }
  .drawer-toggle,
  .aside-backdrop {
    display: none !important;
  }
  main {
    padding: 18px 16px 32px;
    max-width: 100%;
    overflow-x: auto;
  }
  .top h2 {
    font-size: 24px;
  }
  .panel,
  .card {
    overflow-x: auto;
  }
  table {
    min-width: 640px;
  }
  .stats,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    grid-template-rows: minmax(320px, 1fr) auto;
  }
  .pane.map-pane,
  .pane.detail-pane,
  .pane.queue-pane {
    display: block;
    min-height: 0;
  }
  .pane.detail-pane {
    grid-column: 1 / -1;
    max-height: 240px;
    border-left: 0;
    border-top: 1px solid var(--line, #e6ebf4);
  }
  body.show-map .pane.queue-pane,
  body.show-detail .pane.queue-pane,
  body.show-map .pane.map-pane,
  body.show-detail .pane.map-pane {
    display: block;
  }
  #map,
  #liveMap {
    min-height: 320px;
    height: 100%;
  }

  .app {
    max-width: 920px;
  }
  .bottom-nav {
    max-width: 920px;
  }
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }
  .menu-item,
  .row-card {
    align-items: center;
  }
}
