 

 
 
@media (min-width: 1024px) and (max-width: 1139px) {
  body:has(> .knav:not(.knav--test):not(.knav--public)) .q-split--reading,
  body:has(> .knav:not(.knav--test):not(.knav--public)) .q-split--quant-pack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
  }
}
@media (min-width: 1024px) and (max-width: 1339px) {
  body:has(> .knav:not(.knav--test):not(.knav--public)) .q-split,
  body:has(> .knav:not(.knav--test):not(.knav--public)) .k-practice--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

 
 
 
 
@media (min-width: 1024px) {
  .q-stimulus-shell,
  .q-passage-shell,
  .q-split--reading > .q-passage-shell,
  .q-split--quant-pack > .q-stimulus-shell,
  .abstract-stage {
    max-height: min(480px, calc(100vh - 220px));
  }
   
  .abstract-stage { overflow: auto; }
}
 
 
 
 
@media (max-width: 1023px) {
  .q-stimulus-shell,
  .q-passage-shell,
  .q-split--reading > .q-passage-shell,
  .q-split--quant-pack > .q-stimulus-shell,
  .abstract-stage {
    max-height: none;
    overflow: visible;
  }
   
  .q-illus img,
  .q-stimulus-shell img,
  .q-passage-shell img,
  .scn img,
  .scn-page__split > .scn img,
  .abstract-stage > svg,
  .abstract-stage > img {
    max-height: 45vh;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}
@media (max-width: 700px) {
  .q-illus img { max-width: 200px; }
}

 
 
@media (max-width: 700px) {
  .abstract-options,
  .options--figures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

 
 
.option,
.hint-btn,
.kchk__quiet {
  min-height: 44px;
}


 
 
.q-stimulus-shell,
.q-passage-shell,
.scn,
.abstract-stage,
.q-split > *,
.q-split--reading > *,
.q-split--quant-pack > * {
  min-width: 0;
}

 
@media (max-width: 1023px) {
  .q-stimulus-shell svg,
  .q-passage-shell svg,
  .scn svg,
  .q-figure svg {
    max-height: 45vh;
    width: auto;
    height: auto;
  }
}


 

 
.q-stimulus-shell,
.q-split > .q-stimulus-shell,
.q-split--quant-pack > .q-stimulus-shell,
.abstract-stage,
.q-split > .abstract-stage,
.abstract-layout > .abstract-stage {
  max-height: none;
  overflow: visible;
}
 
.q-stimulus-scroll { overflow: visible; }

 
.scn-page__split > .scn:not(.scn--passage) {
  max-height: none;
  overflow: visible;
}

 
.abstract-stage > svg,
.q-stimulus-shell svg,
.q-figure svg,
.scn svg,
.scn__svg > svg,
.scn__media svg {
  max-height: min(45vh, 420px);
  height: auto;
}
.abstract-stage > img,
.q-stimulus-shell img,
.q-illus img,
.q-figure img,
.scn img,
.scn__media img {
  max-height: min(45vh, 420px);
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}


 
@media (min-width: 1024px) and (max-height: 820px) {
  .q-page .kcrumbs,
  .scn-page .kcrumbs { margin-bottom: 6px; }
  .q-page .q-header,
  .scn-page .q-header { margin-bottom: 14px; }
  .mp-progress-wrap { margin-bottom: 12px; }
  .part-card__eyebrow { margin-bottom: 8px; }
  .part-card .q-question { margin-top: 14px; margin-bottom: 10px; }
  .part-card .mp-part-figure { margin-bottom: 10px; }
  .part-card__tools { margin-top: 10px; }
}

 
.mp-figrow {
  overflow-x: visible;
  flex-wrap: nowrap;
}
.mp-figrow__cell {
  flex: 0 1 auto;
  min-width: 0;
}
.mp-figrow__cell svg,
.mp-figrow__cell img {
  max-width: 100%;
  height: auto;
}

 

 
.q-passage-peek { display: none; }

.q-passage-backdrop {
  position: fixed; inset: 0; z-index: 135;
  background: rgba(10, 43, 57, .55);
}
.q-passage-backdrop[hidden] { display: none; }

@media (max-width: 860px) {
  .q-passage-peek { display: inline-flex; }

   
   
  body.passage-sheet-open :is(.q-passage-shell, .scn--passage) {
    position: fixed;
    left: 0; right: 0; bottom: 0; top: auto;
    z-index: 140;
    margin: 0;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px rgba(10, 43, 57, .35);
    animation: q-passage-rise .22s ease-out;
  }

   
  body.passage-sheet-open :is(.q-passage-scroll, .scn--passage .scn__lines) {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

   
  body.passage-sheet-open { overflow: hidden; }

   
  body.passage-sheet-open .fg { display: none; }

   
  .q-passage-close {
    position: fixed; z-index: 141;
    bottom: calc(82vh + 10px); right: 12px;
    min-height: 44px; min-width: 44px; padding: 0 14px;
    border: 1px solid var(--ki-rule, rgba(10, 43, 57, .25));
    border-radius: 10px; background: transparent;
    font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
    color: inherit;
  }
  .q-passage-close[hidden] { display: none; }
}

@keyframes q-passage-rise {
  from { transform: translateY(14px); opacity: .6; }
  to   { transform: none; opacity: 1; }
}

 
@media (prefers-reduced-motion: reduce) {
  body.passage-sheet-open :is(.q-passage-shell, .scn--passage) { animation: none; }
}
