/* Quantrex — keep dashboard full-width; do not shrink/center the main column. */

html, body {
  overflow-x: auto;
  overflow-y: auto;
}

/* Question loading skeleton */
.qx-q-sk {
  display: grid;
  gap: 10px;
  padding: 8px 0 16px;
}
.qx-q-skeleton {
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, #e8eef6 0%, #f6f9fc 45%, #e8eef6 90%);
  background-size: 240% 100%;
  animation: qxSk 1.05s ease infinite;
}
html[data-theme="dark"] .qx-q-skeleton {
  background: linear-gradient(90deg, #152033 0%, #1c2b44 45%, #152033 90%);
  background-size: 240% 100%;
}
.qx-q-sk-bar { height: 14px; width: 42%; }
.qx-q-sk-stem { height: 92px; width: 100%; }
.qx-q-sk-opt { height: 48px; width: 100%; }
@keyframes qxSk {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .qx-q-skeleton { animation: none; }
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  body:not(.marks-test-active):not(.marks-instr-active)::before {
    animation: none !important;
    filter: none !important;
    transform: none !important;
  }
}
