.page-head {
  display: none;
}

.stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
  margin-bottom: 14px;
}

.stats .stat:nth-child(2),
.stats .stat:nth-child(4) {
  display: none;
}

.stats .stat {
  min-height: 72px;
  padding: 10px 12px;
  text-align: center;
  border-left-width: 1px;
}

.stats .stat small,
.stats .stat strong {
  text-align: center;
}

.stats .stat strong {
  margin-top: 4px;
  font-size: 22px;
}

.stats .stat span,
.panel-head > div:first-child {
  display: none;
}

.stats .stat small {
  font-size: 9px;
  line-height: 1.2;
}

.panel-head {
  justify-content: flex-end;
  padding: 11px 14px;
}

.filters {
  grid-template-columns: minmax(210px, 1.35fr) repeat(3, minmax(145px, .8fr));
}

.orders-loading-progress {
  position: fixed;
  top: 68px;
  left: var(--sidebar);
  right: 0;
  z-index: 7;
  height: 3px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.orders-loading-progress::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #f5c518;
  content: '';
}

.orders-loading-progress.show { opacity: 1; }
.orders-loading-progress.show::before { width: 88%; transition: width 3.5s cubic-bezier(.18,.75,.35,1); }
.orders-loading-progress.complete::before { width: 100%; transition: width .12s linear; }
.orders-loading-progress.complete { opacity: 0; transition: opacity .3s ease .12s; }

.orders-skeleton-row td { padding-top: 14px; padding-bottom: 14px; }
.orders-skeleton {
  display: block;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, #e7ebef 20%, #f4f6f8 38%, #e7ebef 56%);
  background-size: 200% 100%;
  animation: orders-skeleton-shimmer 1.4s linear infinite;
}
.orders-skeleton.short { width: 48%; }
.orders-skeleton.medium { width: 72%; }
.orders-skeleton.wide { width: 92%; }
.orders-skeleton.actions { width: 78%; }

@keyframes orders-skeleton-shimmer { to { background-position: -200% 0; } }

@media (max-width: 1000px) {
  .filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; max-width: none; }
  .filters { grid-template-columns: 1fr; }
  .orders-loading-progress { left: 0; }
}
