/* Desktop ôn luyện — màn làm câu 2 cột. Mobile không đụng. */
@media (min-width: 992px) {
  body.practice-active .app-header,
  body.practice-active #hlxAppHeader,
  body.practice-active .hlx-fs-dock,
  body.practice-active .ol-bottom-nav,
  body.practice-active nav.bottom-nav {
    display: none !important;
  }

  .ol-practice-screen.active,
  #practiceScreen.active {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: 56px minmax(0, 1fr) 64px;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-width: none !important;
    margin: 0 !important;
    background: #f3f4f6 !important;
    z-index: 10050 !important;
    overflow: hidden !important;
  }

  .ol-practice-screen.active .ol-prac-header {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex !important;
    align-items: center;
    background: #c75b4e !important;
    padding: 0 16px !important;
    min-height: 56px;
  }

  .ol-prac-progress {
    font-size: 14px;
    font-weight: 700;
    opacity: 1;
  }

  .ol-practice-screen.active .ol-prac-body,
  #practiceScreen.active #pracBody {
    grid-column: 1;
    grid-row: 2;
    min-height: 0 !important;
    overflow: auto !important;
    padding: 20px 28px 16px !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .ol-practice-screen.active .ol-q-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 22px 16px;
    border-radius: 14px;
  }

  .ol-practice-screen.active .ol-q-content {
    padding: 0 0 8px !important;
  }

  .ol-practice-screen.active .ol-opt,
  .ol-practice-screen.active .ol-q-opt {
    max-width: 100%;
  }

  /* Ma trận đứng cột phải — không còn dải 1–5 cao 48px */
  .ol-practice-screen.active .ol-prac-matrix,
  #practiceScreen.active #olPracMatrixBar {
    grid-column: 2 !important;
    grid-row: 2 / 4 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fff !important;
    border-left: 1px solid #e5e7eb !important;
    border-bottom: 0 !important;
    padding: 10px 10px 16px !important;
  }

  .ol-practice-screen.active .ol-prac-matrix-inner {
    padding: 0 !important;
    height: auto !important;
  }

  .ol-practice-screen.active .ol-prac-matrix-grid,
  #olPracMatrixGrid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .ol-practice-screen.active .ol-prac-matrix-cell {
    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700;
  }

  .ol-practice-screen.active .ol-prac-footer,
  #practiceScreen.active #pracFooter {
    grid-column: 1 !important;
    grid-row: 3 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 64px !important;
    background: #fff !important;
    border-top: 1px solid #e5e7eb;
    padding: 8px 16px !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .ol-prac-nav-btn {
    width: 44px;
    height: 44px;
  }
}
