/* QQ admin portal, part 3 of 3: wider screens (tab bar moves up, two columns) and reduced motion. Loaded last. */
/* Wider screens: the tab bar moves up, content gets room */
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  .tabs {
    order: 1; /* the tab bar sits under the top bar, above the page */
  }
  main {
    order: 2;
    width: 100%;
  }
  .top {
    padding-inline: 24px;
  }
  .tabs {
    position: static;
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .tabs a {
    min-height: 48px;
    padding: 0 22px;
    font-size: 0.92rem;
  }
  .tabs a[aria-current] {
    box-shadow: inset 0 -3px 0 var(--accent-text);
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    padding-top: 24px;
  }
  main > h1,
  main > .stats,
  main > .chips,
  main > .search,
  main > .list,
  main > .actions,
  main > .back,
  main > p,
  main > .danger-zone,
  main > .scroll,
  main > .card.wide {
    grid-column: 1 / -1;
  }
  .card.narrow {
    grid-column: 1 / -1;
    justify-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
