/* Learning & exams v3 (/students-preview/learning-exams-v3/). Loaded after lx.css, which it extends and never changes.

   The shelf stays exactly as it was approved. "Look inside" now opens the book: the cover swings open on its left edge
   and a page spreads across the room, with the other books standing beside it as spines. The page is the product, not
   the site: every value under .lx-sheet comes from the real module it shows. AKT is a sheet of paper, Pathology a quiet
   reader with a results panel, CPSA a full-bleed dark plate. Different ways of studying, in one room. */

[class*="pv-"] { box-sizing: border-box; }

/* ---------------- on the shelf ---------------- */
.lx-try { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0; border: 0; background: none; color: var(--on); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .38); text-underline-offset: 4px; transition: text-decoration-color .16s; }
.lx-try:hover { text-decoration-color: currentColor; }
.lx-try svg { flex: none; width: 15px; height: 15px; transition: transform .24s var(--lx-ease); }
.lx-try:hover svg { transform: translateX(3px); }
html.motion .lx-set:not(.is-moved) .lx-try { animation: lx-rise .78s var(--lx-ease) .34s backwards; }

.lx-cover[data-slot="0"] { cursor: pointer; }
.lx-set:not(.is-turning) .lx-cover[data-slot="0"]:hover { --y: -4px; }
.lx-k { text-wrap: balance; }
@media (max-width: 1199px) {
  .lx-look { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 10px; background: #fbf8f2; color: #1b2430; font-size: 15.5px; text-decoration: none; box-shadow: 0 10px 18px -14px rgba(0, 0, 0, .6); }
  .lx-look:hover { background: #fff; }
  .lx-page .lx-look { margin-bottom: 14px; }
  .lx-set--empty .lx-look { display: none; }
}
html.no-js .lx-look { display: none; }

/* ---------------- the open book ---------------- */
@media (min-width: 901px) {
  .lx-set > .lx-covers { grid-column: 1; grid-row: 1; }
  .lx-set > .lx-pages { grid-column: 2; grid-row: 1; }
  .lx-set > .lx-study { grid-column: 1 / -1; grid-row: 1; }
}
.lx-study { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 6px; align-items: stretch; min-width: 0; }
.lx-set.is-study > .lx-covers, .lx-set.is-study > .lx-pages { display: none; }
.lx-set.is-turning > .lx-covers, .lx-set.is-turning > .lx-pages { pointer-events: none; }
.lx-fold { z-index: 3; transform-origin: 0 50%; backface-visibility: hidden; cursor: default; transition: none; pointer-events: none; animation: none !important; }

/* the other books, standing on the shelf beside the open one */
.lx-rail { display: flex; align-items: stretch; gap: 3px; padding-top: 18px; }
.lx-rs { position: relative; flex: none; width: 42px; padding: 20px 0 16px; border: 0; border-radius: 3px 3px 0 0; background: var(--cb); color: var(--ci); font: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: -.008em; line-height: 42px; writing-mode: vertical-rl; text-align: start; white-space: nowrap; cursor: pointer; box-shadow: inset -7px 0 9px -7px rgba(0, 0, 0, .28); transition: margin-top .34s var(--lx-ease), filter .2s; }
.lx-rs:nth-child(2) { margin-top: 12px; } .lx-rs:nth-child(3) { margin-top: 5px; } .lx-rs:nth-child(4) { margin-top: 16px; }
.lx-rs:hover { margin-top: -6px; }
.lx-rs--band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-radius: 3px 3px 0 0; background: #dec8a3; }
.lx-rs span { display: block; }
.lx-rs:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* the page: the product's own surface */
.lx-sheets { min-width: 0; }
.lx-sheet { --t-ink: #15243c; --t-ink-2: #26364a; --t-sub: #3d4f66; --t-muted: #52647b; --t-faint: #62728a; --t-line: #dce4ec; --t-line-2: #c9d6ea; --t-blue: #205da7; --t-link: #1d4ed8; --t-wash: #f6f8fb; --t-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  position: relative; min-height: 100%; padding-left: 8px; border-radius: 3px 10px 10px 3px; background: #fff; color: var(--t-ink); font-size: 15px; line-height: 1.55; box-shadow: 0 1px 2px rgba(0, 0, 0, .22), 0 34px 60px -34px rgba(0, 0, 0, .7); }
.lx-sheet::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 3px 0 0 3px; background: var(--cb); }
.lx-sheet :focus-visible { outline: 3px solid #245bc4; outline-offset: 2px; }
.lx-sheet h3:focus, .lx-sheet h4:focus, .lx-sheet h5:focus, .lx-sheet p:focus, .lx-sheet span:focus { outline: none; }
.lx-sheet h5 { margin: 0; }
.lx-sheet input, .lx-sheet textarea { box-sizing: border-box; }
.pv-i { flex: none; width: 15px; height: 15px; }
.pv-i--back { transform: rotate(180deg); }

/* a module's head, as the product sets it */
.pv-head { padding: 16px clamp(20px, 3vw, 44px) 0; }
.pv-up { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.pv-back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0; border: 0; background: none; color: var(--t-blue); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.pv-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.pv-status { padding: 2px 9px; border-radius: 6px; background: #eef2f7; color: var(--t-sub); font-size: 12.5px; font-weight: 500; line-height: 1.5; }
.pv-crumbs { display: flex; flex-wrap: wrap; gap: 0 7px; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--t-muted); }
.pv-crumbs b { font-weight: 400; color: var(--t-ink); }
.pv-crumbs i { font-style: normal; color: #9fb0c4; }
.pv-titlerow { display: flex; align-items: flex-end; gap: 6px 34px; flex-wrap: wrap; }
.pv-titlerow:has(.pv-tabs) { margin-bottom: 0; border-bottom: 1px solid var(--t-line); }
.pv-eyebrow { margin-top: 10px; font-family: var(--t-mono); font-size: 11px; line-height: 1.5; letter-spacing: .045em; color: var(--t-muted); }
.pv-titlerow:has(.pv-tabs) > div:first-child { padding-bottom: 9px; }
.pv-h1 { margin-top: 2px; font-size: 30px; line-height: 1.16; font-weight: 600; letter-spacing: -.028em; color: #0f1c2e; }
.pv-intro { max-width: 62ch; margin-top: 8px; color: var(--t-muted); text-wrap: pretty; }
.pv-tabs { display: flex; gap: 2px 24px; margin-bottom: -1px; overflow-x: auto; scrollbar-width: none; }
.pv-tabs button { flex: none; display: inline-flex; align-items: baseline; gap: 7px; min-height: 42px; padding: 0 1px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--t-sub); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pv-tabs button:hover { color: var(--t-ink); }
.pv-tabs button[aria-selected="true"] { border-bottom-color: #0f1c2e; color: #0f1c2e; }
.pv-panel { padding: 16px clamp(20px, 3vw, 44px) 22px; }
.pv-lead { grid-column: 1 / -1; max-width: 76ch; margin-bottom: 16px; color: var(--t-muted); text-wrap: pretty; }
.pv-lead span { color: var(--t-faint); }
/* the status notice sits with the real structure; a sample already says what it is */
.lx-sheet[data-tab="practice"] > .pv-notice, .lx-sheet[data-tab="question"] > .pv-notice, .lx-sheet[data-tab="chapter"] > .pv-notice { display: none; }
.pv-k { font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--t-ink); }
.pv-k span { margin-left: 6px; font-weight: 400; color: var(--t-faint); }
.pv-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--t-link); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: left; }
.pv-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 9px 16px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background-color .16s, border-color .16s, color .16s; }
.pv-btn--check { background: var(--t-blue); border-color: var(--t-blue); color: #fff; }
.pv-btn--check:hover { background: #184c8c; border-color: #184c8c; }
.pv-btn--sec { background: #fff; border-color: var(--t-line-2); color: var(--t-link); }
.pv-btn--sec:hover:not(:disabled) { border-color: #9fb8d6; background: #fbfcfe; }
.pv-btn--sec:disabled { color: #9aa9bc; border-color: var(--t-line); cursor: default; }
.pv-btn--go { flex: none; gap: 6px; background: var(--t-blue); border-color: var(--t-blue); color: #fff; font-size: 14px; }
.pv-btn--go:hover { background: #184c8c; }
.pv-access .pv-btn--sec { font-size: 14px; }
.pv-qhint { margin: 10px 0 0; font-size: 13.5px; color: #9a3f36; }

/* every sample says what it is */
.pv-flag { padding: 9px 13px; border-radius: 8px; background: #fff6e5; color: #5e3a06; font-size: 13.5px; line-height: 1.45; box-shadow: inset 0 0 0 1px #f0d9ad; text-wrap: pretty; }
.pv-flag b { font-weight: 600; color: #7a4300; }

/* status and access, under every book */
.pv-notice { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 4px 18px; margin: 0 clamp(20px, 3vw, 44px); padding: 12px 18px; border: 1px solid #d8e1ec; border-radius: 8px; background: var(--t-wash); color: var(--t-ink-2); font-size: 13px; line-height: 1.5; }
.pv-notice strong { font-weight: 600; color: var(--t-ink); }
.pv-access { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; margin-top: 16px; padding: 14px clamp(20px, 3vw, 44px) 18px; border-top: 1px solid var(--t-line); font-size: 13.5px; line-height: 1.45; color: var(--t-muted); }
.pv-access p { flex: 1 1 260px; max-width: 58ch; text-wrap: pretty; }
.pv-access-a { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-back--foot { display: none; }
.pv-access a:not(.pv-btn) { color: var(--t-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- AKT Mastery: Learn ---------------- */
.pv-learn { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 0 34px; }
.pv-tall { display: none; }
.pv-find { display: block; margin-top: 9px; }
.pv-find input { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid var(--t-line-2); border-radius: 9px; background: #fff; color: var(--t-ink); font: inherit; font-size: 14px; }
.pv-find input::placeholder { color: var(--t-faint); opacity: 1; }
.pv-tlist { max-height: 318px; margin-top: 8px; padding-right: 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c9d6ea transparent; }
.pv-tlist li button { display: block; width: 100%; padding: 7px 9px; border: 0; border-radius: 7px; background: none; color: var(--t-ink); font: inherit; font-size: 14.5px; font-weight: 500; line-height: 1.3; text-align: left; cursor: pointer; }
.pv-tlist li button:hover { background: #f1f4f8; }
.pv-tlist li button[aria-current="true"] { background: #f1f6fc; color: var(--t-blue); font-weight: 600; box-shadow: inset 2px 0 0 var(--t-blue); }
.pv-tsample { padding-bottom: 5px; margin-bottom: 5px; border-bottom: 1px solid var(--t-line); }
.pv-tlist .pv-tsample button { color: #7a4300; }
.pv-tlist .pv-tsample button[aria-current="true"] { background: #fff6e5; color: #7a4300; box-shadow: inset 2px 0 0 #e0a43a; }
.pv-learn-r .pv-eyebrow--s { margin-top: 14px; }
.pv-s-lead { max-width: 60ch; margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--t-muted); }
.pv-s-lead b { font-weight: 600; color: var(--t-sub); }
.pv-ess { max-width: 560px; margin-top: 12px; padding: 13px 18px 8px; border: 1px solid #c8d6e0; border-left: 3px solid #476981; border-radius: 6px; background: #f3f6fa; color: #203b53; }
.pv-ess h5 { font-size: 16.5px; font-weight: 600; }
.pv-ess li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 8px; padding: 8px 0; border-top: 1px solid #dbe4ec; }
.pv-ess ol { margin-top: 8px; }
.pv-ess li span { font-size: 19px; font-weight: 500; line-height: 1.35; color: #356d79; }
.pv-ess b { font-size: 15px; font-weight: 500; }
.pv-ess p { font-size: 14px; line-height: 1.5; color: #4a627a; }
.pv-cue { max-width: 560px; margin-top: 10px; padding: 9px 14px; border: 1px solid var(--t-line); border-radius: 8px; font-size: 14px; }
.pv-cue b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--t-blue); }
.pv-learn-r h4 { margin-top: 4px; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: #0f1c2e; }
.pv-learn-r .pv-eyebrow { margin-top: 0; }
.pv-learn-q { margin-top: 5px; color: var(--t-muted); }
.pv-learn-q b { font-weight: 500; }
.pv-k--g { margin-top: 18px; }
.pv-guide { columns: 2; column-gap: 26px; margin-top: 7px; counter-reset: g; }
.pv-guide li { display: grid; grid-template-columns: 26px minmax(0, 1fr); padding: 4.5px 0; font-size: 14.5px; line-height: 1.35; color: var(--t-ink-2); break-inside: avoid; counter-increment: g; }
.pv-guide li::before { content: counter(g, decimal-leading-zero); font-family: var(--t-mono); font-size: 11.5px; line-height: 1.7; color: #356d79; }
.pv-learn-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; }
.pv-learn-go p { font-size: 13px; color: var(--t-faint); }

/* ---------------- AKT Mastery: Practice, at the real column ---------------- */
.pv-demo { max-width: 760px; margin-inline: auto; }
.pv-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 10px; padding: 9px 0; border-bottom: 1px solid var(--t-line); }
.pv-bar p { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 13px; color: var(--t-faint); }
.pv-bar b { margin-left: 3px; font-family: var(--t-mono); font-weight: 600; color: var(--t-ink); }
.pv-clock { padding: 4px 12px; border: 1px dashed var(--t-line-2); border-radius: 999px; font-family: var(--t-mono); font-size: 12.5px; font-weight: 600; color: var(--t-sub); }
.pv-q, .pv-done { padding-top: 10px; }
.pv-qhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pv-qhead h4 { font-size: 24px; line-height: 1.5; font-weight: 600; letter-spacing: -.01em; }
.pv-qhead h4 span { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--t-faint); }
.pv-flagbtn { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 14px; border: 1px solid var(--t-line-2); border-radius: 999px; background: #fff; color: var(--t-sub); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.pv-flagbtn:hover { border-color: #9fb8d6; }
.pv-flagbtn[aria-pressed="true"] { border-color: #e0a43a; background: #fff6e5; color: #7a4300; }
.pv-stem { max-width: 633px; margin-top: 6px; font-size: 16px; line-height: 1.7; color: var(--t-ink); }
.pv-choose { margin-top: 16px; font-family: var(--t-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--t-sub); }
.pv-options { margin-top: 9px; }
.pv-opt { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 14px; align-items: start; margin-bottom: 8px; padding: 12px 16px; border: 1px solid var(--t-line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .14s, background-color .14s; }
.pv-opt:hover:not(:has(input:disabled, input:checked)) { border-color: #9fb8d6; background: #fbfcfe; }
.pv-opt:has(input:checked) { border-color: var(--t-blue); background: #f1f6fc; box-shadow: inset 0 0 0 1px var(--t-blue); }
.pv-opt:has(input:focus-visible) { outline: 3px solid #245bc4; outline-offset: 2px; }
.pv-opt:has(input:disabled) { cursor: default; }
.pv-let { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid #9fb0c4; border-radius: 50%; background: #fff; color: var(--t-sub); font-family: var(--t-mono); font-size: 12.5px; font-weight: 600; line-height: 1; }
.pv-opt:has(input:checked) .pv-let { border-color: var(--t-blue); background: var(--t-blue); color: #fff; }
.pv-opt-t { padding-top: 3px; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--t-ink); }
.pv-opt.is-correct, .pv-opt.is-correct:has(input:checked) { border-color: #428e81; background: #f0f8f6; box-shadow: none; }
.pv-opt.is-correct .pv-let, .pv-opt.is-correct:has(input:checked) .pv-let, .pv-let.is-ok { border-color: #428e81; background: #428e81; color: #fff; }
.pv-opt.is-incorrect, .pv-opt.is-incorrect:has(input:checked) { border-color: #ad635b; background: #fbf3f2; box-shadow: none; }
.pv-opt.is-incorrect .pv-let, .pv-opt.is-incorrect:has(input:checked) .pv-let, .pv-let.is-no { border-color: #ad635b; background: #ad635b; color: #fff; }
.pv-amark { grid-column: 2; font-size: 11px; font-weight: 700; line-height: 1.6; color: #9a3f36; }
.pv-amark.is-ok { color: #14675b; }
.pv-unsure { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--t-sub); cursor: pointer; }
.pv-unsure input { width: 18px; height: 18px; margin: 0 0 0 4px; accent-color: var(--t-blue); }
.pv-q [data-check] { display: flex; margin-top: 6px; }
.pv-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--t-line); }

.pv-fb { margin-top: 16px; border: 1px solid var(--t-line); border-radius: 10px; font-size: 14.5px; line-height: 1.62; color: var(--t-ink-2); overflow: hidden; scroll-margin-top: calc(var(--nav-h) + 16px); }
.pv-verdict { padding: 14px 20px; background: #fbf3f2; }
.pv-fb.is-right .pv-verdict { background: #f0f8f6; }
.pv-vline { display: flex; align-items: center; gap: 8px; }
.pv-pill { padding: 2px 10px; border-radius: 999px; background: #fff; color: #9a3f36; font-size: 12px; font-weight: 700; line-height: 1.45; letter-spacing: .02em; box-shadow: inset 0 0 0 1px #ad635b; }
.pv-fb.is-right .pv-pill { color: #14675b; box-shadow: inset 0 0 0 1px #428e81; }
.pv-al { font-size: 11.5px; font-weight: 600; line-height: 1.45; letter-spacing: .05em; text-transform: uppercase; color: var(--t-faint); }
.pv-al--ok { margin-top: 8px; color: #14675b; }
.pv-aline { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: 14.5px; font-weight: 500; color: var(--t-ink); }
.pv-why { padding: 16px 20px; }
.pv-why-t { margin-top: 4px; font-size: 15px; line-height: 1.65; color: var(--t-ink); }
.pv-clue { margin-top: 14px; padding: 12px 16px; border: 1px solid #e0a43a; border-left-width: 5px; border-radius: 10px; background: #fff6e5; color: #7a4300; }
.pv-clue .pv-al { color: #7a4300; }
.pv-clue li { margin-top: 2px; font-weight: 600; }
.pv-whynot { padding: 2px 20px 16px; }
.pv-whynot ul { margin-top: 8px; }
.pv-whynot li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 14px; padding: 8px; border-radius: 8px; }
.pv-let--s { width: 24px; height: 24px; font-size: 11.5px; margin-top: 1px; }
.pv-whynot li.is-yours { background: #fbf3f2; }
.pv-wn-o { font-weight: 700; color: var(--t-ink); }
.pv-wn-r { margin-top: 2px; }
.pv-yours { margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: #fff; color: #9a3f36; font-size: 11px; font-weight: 700; box-shadow: inset 0 0 0 1px #ad635b; }
.pv-remember { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--t-line); border-radius: 8px; font-size: 14px; color: var(--t-ink); }
.pv-remember b { margin-right: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--t-blue); }
.pv-inreal { margin-top: 10px; font-size: 13px; color: var(--t-faint); }
.pv-done h4 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.pv-done > p { margin-top: 4px; color: var(--t-muted); }
.pv-sets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pv-sets div { padding: 14px 16px; border: 1px solid var(--t-line); border-radius: 10px; }
.pv-sets dt { font-weight: 600; color: var(--t-ink); }
.pv-sets dd { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--t-muted); }
.pv-done-a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------------- CPSA: the course home ---------------- */
.lx-sheet--cpsa { --cp-navy: #0a1f44; --cp-blue: #2563eb; --cp-line: #e4eaf3; --cp-muted: #5a6b85; }
.pv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 20px 34px; margin: 0; padding: 18px clamp(20px, 3vw, 44px) 26px; border-radius: 0 10px 0 0; background: var(--cp-navy); color: #fff; }
.pv-hero .pv-back { color: #cfe0fa; }
.pv-hero .pv-crumbs { color: #a9bcd8; } .pv-hero .pv-crumbs b { color: #e2ebf8; } .pv-hero .pv-crumbs i { color: #6d84a8; }
.pv-hero-h { margin-top: 18px; font-size: 32px; line-height: 1.14; font-weight: 600; letter-spacing: -.026em; }
.pv-hero-p { max-width: 36ch; margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: #dbe6f6; text-wrap: pretty; }
.pv-hero-new { max-width: 40ch; margin-top: 12px; font-size: 14px; line-height: 1.5; color: #bccde6; }
.pv-hero-r { min-width: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pv-status--dark { background: rgba(255, 255, 255, .1); color: #dbe6f6; }
.pv-try { width: 100%; display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(0, .66fr); gap: 8px; }
.pv-try-b { position: relative; display: block; height: 214px; padding: 0; border: 0; border-radius: 10px; background: #071734; overflow: hidden; cursor: pointer; }
.pv-try-b img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--lx-ease); }
.pv-try-b--x img { object-position: 50% 20%; }
.pv-try-b--s img { object-position: 50% 42%; }
.pv-try-b:hover img { transform: scale(1.035); }
.pv-try-b span { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: rgba(7, 16, 34, .78); color: #fff; font-size: 13px; font-weight: 600; }
.pv-hero-n { align-self: stretch; font-size: 12.5px; line-height: 1.45; color: #bccde6; }
.pv-hero-n b { font-weight: 600; color: #f5d9a5; }
.pv-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin: 18px clamp(20px, 3vw, 44px) 0; }
.pv-modes h4 { font-size: 15px; font-weight: 600; }
.pv-modes p { margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--cp-muted); }
.pv-topics { margin: 16px clamp(20px, 3vw, 44px) 16px; }
.pv-topics h4 { font-size: 15px; font-weight: 600; }
.pv-topics h4 span { margin-left: 8px; font-size: 12.5px; font-weight: 400; color: var(--cp-muted); }
.pv-topics ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: 6px; }
.pv-topics li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--cp-line); font-size: 14px; line-height: 1.35; }
.pv-topics b { font-family: var(--t-mono); font-size: 12.5px; font-weight: 600; color: var(--cp-muted); }

/* ---------------- CPSA: a task. The visual is the page. ---------------- */
.lx-sheet--cpsa.is-task { background: #fff; }
.lx-sheet--cpsa.is-task > .pv-notice { display: none; }
.pv-task { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(320px, 1fr); }
@media (min-width: 1024px) { .pv-task[data-sample="sextant"] { grid-template-columns: minmax(0, 1.62fr) minmax(320px, 1fr); } }
/* the navy runs the full height of the spread; only the image stays in view beside a long answer */
.pv-plate { --plate-h: min(calc(100vh - var(--nav-h) - 28px), 780px); min-width: 0; background: var(--cp-navy); }
.pv-plate-in { position: sticky; top: calc(var(--nav-h) + 10px); height: var(--plate-h); min-height: 520px; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.pv-plate-b { container-type: size; display: grid; place-items: center; min-height: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pv-plate--xray { --ar: .6947; } .pv-plate--sextant { --ar: 1.1774; }
.pv-plate--sextant .pv-plate-in { height: auto; min-height: 0; grid-template-rows: auto auto; }
.pv-plate--sextant .pv-plate-b { container-type: inline-size; display: block; height: auto; }
.pv-plate--sextant .pv-plate-f { width: 100%; }
.pv-plate-f { position: relative; display: block; width: min(100cqw, calc(100cqh * var(--ar))); aspect-ratio: var(--ar); }
.pv-plate-f img { display: block; width: 100%; height: 100%; }
.pv-plate-l { position: absolute; right: 12px; top: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(7, 16, 34, .66); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.3; pointer-events: none; }
.pv-credit { padding: 9px 16px 11px; color: #a9bcd8; font-size: 12px; line-height: 1.45; text-wrap: pretty; }
.pv-marks-layer { position: absolute; inset: 0; }
.pv-mark { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 1.5px solid #fff; border-radius: 50%; background: #154bc2; box-shadow: 0 0 0 1px #154bc2, 0 2px 6px rgba(7, 16, 34, .45); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1; }
.pv-loc { position: absolute; width: 62px; height: 62px; margin: -31px 0 0 -31px; border: 2.5px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px #154bc2, 0 2px 12px rgba(7, 16, 34, .5); pointer-events: none; }
html.motion .pv-loc:not([hidden]) { animation: pv-ring .42s var(--lx-ease) both; }
@keyframes pv-ring { from { transform: scale(1.5); opacity: 0; } }
.pv-side { min-width: 0; padding: 14px clamp(20px, 2.4vw, 34px) 22px; scroll-margin-top: calc(var(--nav-h) + 10px); }
.pv-side-up { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.pv-status--fmt { background: #fff6e5; color: #7a4300; box-shadow: inset 0 0 0 1px #f0d9ad; }
.pv-topline { margin-top: 12px; font-size: 12.5px; color: var(--cp-muted); }
.pv-steps { display: flex; flex-wrap: wrap; gap: 2px 7px; margin-top: 7px; font-size: 12.5px; font-weight: 500; color: var(--cp-muted); }
.pv-steps li + li::before { content: "→"; margin-right: 7px; color: #9fb0c4; }
.pv-task[data-stage="attempt"] .pv-steps [data-s="attempt"], .pv-task[data-stage="compare"] .pv-steps [data-s="compare"] { color: #1d4ed8; font-weight: 600; }
.pv-task-t { margin-top: 8px; font-size: 25px; line-height: 1.18; font-weight: 600; letter-spacing: -.02em; color: #0f1c2e; text-wrap: balance; }
.pv-task-q { margin-top: 10px; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.014em; color: var(--t-ink); text-wrap: pretty; }
.pv-task[data-stage="compare"] .pv-task-q { margin-top: 10px; font-size: 16px; line-height: 1.4; color: var(--t-sub); letter-spacing: 0; }
.pv-notes { display: block; margin-top: 18px; font-size: 13px; font-weight: 500; }
.pv-notes textarea { display: block; width: 100%; min-height: 76px; margin-top: 6px; padding: 10px 12px; border: 1px solid #cfd9e8; border-radius: 11px; background: #fff; color: var(--t-ink); font: inherit; font-size: 14px; line-height: 1.5; resize: vertical; }
.pv-notes textarea::placeholder { color: var(--cp-muted); opacity: 1; }
.pv-cp-n { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--cp-muted); text-wrap: pretty; }
.pv-aids { margin-top: 6px; }
.pv-hint { padding: 9px 12px; border-radius: 9px; background: #eaf1fe; color: #1d3f84; font-size: 14px; line-height: 1.45; }
html.motion .pv-hint:not([hidden]) { animation: lx-rise .3s var(--lx-ease) both; }
.pv-dock { margin-top: 12px; }
.pv-dock--end { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--cp-line); }
.pv-btn--cp { background: var(--cp-blue); border-color: var(--cp-blue); color: #fff; }
.pv-btn--cp:hover { background: #1d4ed8; border-color: #1d4ed8; }
.pv-btn--pale { background: #fff; border-color: #cfd9e8; color: var(--t-ink); }
.pv-btn--pale[aria-pressed="true"] { background: #eaf1fe; border-color: #bcd0f5; color: #1d4ed8; }
.pv-answer { margin-top: 14px; padding: 16px 18px 6px; border-radius: 14px; background: #f6f8fc; font-size: 14.5px; line-height: 1.6; }
.pv-answer > p:nth-child(2) { margin-top: 4px; }
html.motion [data-when="compare"]:not([hidden]) .pv-answer { animation: lx-rise .44s var(--lx-ease) both; }
.pv-disc { margin-top: 10px; border-top: 1px solid var(--cp-line); }
.pv-disc summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 13.5px; font-weight: 600; cursor: pointer; list-style: none; }
.pv-disc summary::-webkit-details-marker { display: none; }
.pv-chev { width: 18px; height: 18px; color: var(--cp-muted); transition: transform .2s; }
.pv-disc[open] .pv-chev { transform: rotate(180deg); }
.pv-disc-b { padding-bottom: 10px; }
.pv-disc-b p + p { margin-top: 8px; }
.pv-feat { margin-top: 12px; }
.pv-legend { margin-top: 8px; counter-reset: lg; }
.pv-legend li { display: flex; align-items: center; gap: 9px; padding: 3px 0; font-size: 13.5px; counter-increment: lg; }
.pv-legend li::before { content: counter(lg); display: grid; place-items: center; flex: none; width: 21px; height: 21px; border-radius: 50%; background: #154bc2; color: #fff; font-size: 11.5px; font-weight: 600; }
.pv-cps { margin-top: 20px; }
.pv-cps h5 { font-size: 15.5px; font-weight: 600; }
.pv-cps ul { margin-top: 5px; }
.pv-cps li { position: relative; padding: 4px 0 4px 15px; font-size: 14px; line-height: 1.5; }
.pv-cps li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: #9fb0c4; }
.pv-recog { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
.pv-recog legend { padding: 0; font-size: 13.5px; font-weight: 600; }
.pv-radio { display: flex; align-items: flex-start; gap: 9px; min-height: 34px; padding: 6px 0; font-size: 14px; line-height: 1.4; cursor: pointer; }
.pv-radio input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--cp-blue); }
.pv-detail { margin-top: 20px; padding: 14px 16px 12px; border: 1px solid var(--cp-line); border-radius: 12px; }
.pv-detail h5 { margin-top: 3px; font-size: 15.5px; line-height: 1.35; font-weight: 600; }
.pv-detail fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pv-detail .pv-radio.is-correct { color: #155b36; font-weight: 600; }
.pv-detail .pv-radio.is-wrong { color: #a1172b; }
.pv-detail [data-detail-check] { margin-top: 6px; }
.pv-detail-f { position: relative; display: block; overflow: hidden; border-radius: 8px; }
.pv-detail-f img { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) { .pv-detail-fig { display: none; } }
.pv-detail-a { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.pv-detail-v { font-weight: 600; }

/* the viewer */
.pv-zoom { width: min(1200px, calc(100vw - 32px)); max-width: none; height: min(860px, calc(100dvh - 32px)); max-height: none; padding: 0; border: 0; border-radius: 12px; background: #071734; color: #fff; overflow: hidden; }
.pv-zoom::backdrop { background: rgba(4, 10, 24, .72); }
.pv-zoom[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.pv-zoom-t { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: #0a1f44; }
.pv-zoom-c { display: flex; align-items: center; gap: 6px; }
.pv-zoom button { min-width: 44px; min-height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 9px; background: none; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pv-zoom button:hover { background: rgba(255, 255, 255, .1); }
.pv-zoom output { min-width: 48px; text-align: center; font-size: 13px; color: #cfe0fa; }
.pv-zoom-v { display: grid; place-items: center; min-height: 0; overflow: hidden; touch-action: none; user-select: none; }
.pv-zoom-v.is-zoomed { cursor: grab; }
.pv-zoom-v img { display: block; max-width: 100%; max-height: 100%; transform-origin: 50% 50%; }

/* ---------------- Pathology: browse ---------------- */
.pv-browse { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 0 clamp(24px, 3.4vw, 46px); align-items: start; }
.pv-browse-t { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 13px; font-weight: 600; color: var(--t-ink); }
.pv-browse-t span { font-weight: 500; color: #647189; }
.pv-stacks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; margin: 8px -10px 0; }
.pv-stack { display: grid; grid-row: span 2; grid-template-rows: subgrid; justify-items: start; align-items: end; min-width: 0; padding: 10px; border: 0; border-radius: 12px; background: none; color: var(--t-ink); font: inherit; text-align: left; cursor: pointer; transition: background-color .15s; }
.pv-stack-n { display: grid; align-self: start; }
.pv-stack:hover { background: #f4f6fa; }
.pv-stack[aria-pressed="true"] { background: #f1f5fb; }
.pv-marks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.pv-marks i { display: block; width: 36px; height: 5px; border-radius: 2px; background: #dfe5ee; transition: background-color .14s, box-shadow .14s; }
.pv-stack:hover .pv-marks i { background: #cfd8e6; }
.pv-marks i.is-on, .pv-stack:hover .pv-marks i.is-on { background: #1768f2; box-shadow: 0 0 0 3px #dbe7fb; }
.pv-stack b { font-size: 14px; line-height: 1.25; font-weight: 600; }
.pv-stack small { margin-top: 2px; font-family: var(--t-mono); font-size: 12px; color: #647189; }
.pv-lesson { min-width: 0; padding: 18px 20px 16px; border-radius: 12px; background: #f6f8fc; }
.pv-lcrumb { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; font-size: 13.5px; font-weight: 500; color: #1768f2; }
.pv-lcrumb span + span { font-family: var(--t-mono); font-size: 12px; font-weight: 400; color: #647189; }
.pv-lesson h4 { margin-top: 10px; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.14; font-weight: 600; letter-spacing: -.03em; color: #0f1c2e; text-wrap: balance; }
.pv-lmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; font-size: 14px; color: var(--t-muted); }
.pv-seg { display: inline-flex; gap: 3px; }
.pv-seg i { display: block; width: 7px; height: 14px; border-radius: 2px; background: #dfe5ee; }
.pv-lnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pv-lesson > .pv-btn--path { width: 100%; margin-top: 8px; }

/* ---------------- Pathology: inside a chapter, as structure only ---------------- */
.pv-anat { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px clamp(24px, 3.4vw, 46px); margin-top: 14px; align-items: start; }
.pv-chapter { min-width: 0; font-size: 16px; line-height: 1.62; color: var(--t-ink); }
.pv-cn { font-family: var(--t-mono); font-size: 12px; color: #647189; }
.pv-ch { margin-top: 3px; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; color: #0f1c2e; }
.pv-focus { margin-top: 14px; padding: 13px 16px 15px; border: 1px solid #c8d6e4; border-top: 4px solid #285d8b; border-radius: 8px; background: #f3f7fb; }
.pv-focus-k { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: #224d70; }
.pv-focus h5 { margin-top: 2px; font-size: 17px; line-height: 1.35; font-weight: 600; }
.pv-focus ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin-top: 9px; }
.pv-focus li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; font-size: 14.5px; line-height: 1.42; }
.pv-focus li p { text-wrap: pretty; }
.pv-focus li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #285d8b; color: #fff; font-size: 12.5px; font-weight: 600; }
.pv-sec { margin-top: 16px; }
.pv-sec h5 { font-size: 17px; line-height: 1.35; font-weight: 600; color: #0f1c2e; }
.pv-sec > p { margin-top: 3px; }
.pv-noteblock { margin-top: 10px; padding: 9px 14px 10px; border-left: 3px solid #e0a43a; border-radius: 0 8px 8px 0; background: #fff8ea; font-size: 15px; line-height: 1.5; }
.pv-noteblock .pv-focus-k { color: #7a4300; }
.pv-readrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pv-btn--path[aria-pressed="true"] { background: #fff; border-color: #bcd0f5; color: #1d4ed8; }
.pv-anat-l { padding: 14px 16px 16px; border-radius: 12px; background: #f6f8fc; }
.pv-anat-h { font-size: 15px; font-weight: 600; color: var(--t-ink); }
.pv-anat-l dt { margin-top: 11px; font-size: 14px; font-weight: 600; }
.pv-anat-l dd { font-size: 14px; line-height: 1.48; color: var(--t-muted); text-wrap: pretty; }

/* ---------------- Pathology: the held question format ---------------- */
.pv-demo--path { max-width: 840px; }
.pv-pq { font-size: 15px; }
.pv-pstem { max-width: 800px; margin-top: 14px; font-size: 17px; line-height: 1.65; color: var(--t-ink); }
.pv-result { max-width: 560px; margin-top: 16px; border: 1px solid #b8cbd9; border-radius: 8px; background: #f5f9fb; color: #172f40; overflow: hidden; }
.pv-result header { padding: 12px 16px; background: #163c50; color: #fff; }
.pv-result header span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pv-result h5 { margin-top: 3px; font-size: 18px; line-height: 1.3; font-weight: 600; }
.pv-result table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.pv-result th, .pv-result td { padding: 10px; border-bottom: 1px solid #d4e1e8; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.pv-result thead th { padding-block: 8px; font-size: 11px; font-weight: 600; letter-spacing: .035em; color: #456074; }
.pv-result tbody th { font-weight: 600; }
.pv-result td strong { display: block; font: 600 19px/1.25 ui-monospace, SFMono-Regular, Consolas, monospace; color: #173e50; }
.pv-result td span { display: block; margin-top: 3px; font-size: 11px; }
.pv-result tr.is-out { background: #fdf3e6; }
.pv-result tr.is-out td strong, .pv-result tr.is-out td span { color: #8a4b06; }
.pv-result > p { padding: 10px 14px; font-size: 12px; line-height: 1.5; color: #4b6172; }
.pv-ask { margin-top: 18px; font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.pv-popts { margin-top: 12px; }
.pv-popt { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px 12px; min-height: 52px; margin: 9px 0; padding: 15px 16px; border: 1px solid #c6d2e0; border-radius: 6px; background: #fff; line-height: 1.45; cursor: pointer; }
.pv-popt:hover:not(:has(input:disabled)) { background: #f6f8fc; border-color: #8fa7c7; }
.pv-popt:has(input:checked) { border: 2px solid #3769ae; padding: 14px 15px; background: #edf3ff; }
.pv-popt:has(input:focus-visible) { outline: 3px solid #3769ae; outline-offset: 3px; }
.pv-popt:has(input:disabled) { cursor: default; }
.pv-pkey { font-weight: 600; color: #355a72; }
.pv-popt.is-correct, .pv-popt.is-correct:has(input:checked) { border: 2px solid #147344; padding: 14px 15px; background: #e9f7ef; color: #154c31; }
.pv-popt.is-wrong, .pv-popt.is-wrong:has(input:checked) { border: 2px solid #b42332; padding: 14px 15px; background: #fff0f1; color: #85202c; }
.pv-presult { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; }
.pv-btn--path { background: #1768f2; border-color: #1768f2; color: #fff; }
.pv-pq > .pv-btn--path { margin-top: 10px; }
.pv-btn--path:hover { background: #0f56d4; border-color: #0f56d4; }
.pv-review { margin: 24px 0 0; padding: 20px 22px; border: 1px solid #bdc9d7; border-left-width: 4px; border-radius: 6px; background: #f7f9fc; line-height: 1.65; }
.pv-review.is-right { border-color: #147344; background: #f0faf4; }
.pv-review.is-wrong { border-color: #b42332; background: #fff5f5; }
.pv-pverdict { padding: 10px 14px; border-radius: 5px; font-size: 19px; font-weight: 700; line-height: 1.4; }
.pv-review.is-right .pv-pverdict { background: #14643d; color: #fff; }
.pv-review.is-wrong .pv-pverdict { background: #a12636; color: #fff; }
.pv-review > p { margin: 11px 0; }
.pv-review b { font-weight: 600; }
.pv-review h5 { margin: 18px 0 8px; font-size: 16.5px; font-weight: 600; }
.pv-review dt { margin-top: 12px; font-weight: 600; }
.pv-review dd { line-height: 1.6; }
.pv-variant { margin-top: 18px; padding: 12px 16px; border-radius: 8px; background: rgba(21, 36, 60, .05); }
.pv-variant h5 { margin-top: 0; }
.pv-variant p + p { margin-top: 6px; }
.pv-review [data-retry] { margin-top: 12px; }

/* ---------------- Finals guide ---------------- */
.pv-fin { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 0 clamp(24px, 3.2vw, 44px); margin-top: 16px; padding: 0 clamp(20px, 3vw, 44px); }
.pv-fin-n { display: grid; align-content: start; gap: 1px; }
.pv-fin-n .pv-k { padding: 0 9px 5px; }
.pv-fin-n button { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; min-height: 40px; padding: 8px 9px; border: 0; border-radius: 7px; background: none; color: var(--t-sub); font: inherit; font-size: 14.5px; font-weight: 500; line-height: 1.3; text-align: left; cursor: pointer; }
.pv-fin-n button span { font-family: var(--t-mono); font-size: 12px; color: var(--t-faint); }
.pv-fin-n button:hover { background: #f1f4f8; }
.pv-fin-n button[aria-current="true"] { background: #f6f0e3; color: #2f2610; font-weight: 600; box-shadow: inset 2px 0 0 #4d3c1e; }
.pv-fin-c section { max-width: 62ch; }
.pv-fin-c .pv-eyebrow { margin-top: 2px; }
.pv-fin-c h4 { margin-top: 3px; font-size: 26px; line-height: 1.16; font-weight: 600; letter-spacing: -.024em; color: #0f1c2e; }
.pv-fin-i { margin-top: 7px; font-size: 16px; line-height: 1.55; color: var(--t-muted); text-wrap: pretty; }
.pv-parts { margin-top: 14px; border-top: 1px solid var(--t-line); }
.pv-parts li { padding: 8px 0 9px; border-bottom: 1px solid var(--t-line); }
.pv-parts h5 { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--t-ink); }
.pv-parts p { margin-top: 1px; font-size: 14px; line-height: 1.45; color: var(--t-muted); text-wrap: pretty; }
.pv-fin-p { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #fff6e5; color: #5e3a06; font-size: 14px; }
.pv-fin-c .pv-link { margin-top: 4px; }

/* ---------------- MLA revision ---------------- */
.pv-mla { padding: 16px clamp(20px, 3vw, 44px) 0; }
.pv-two { display: grid; grid-template-columns: minmax(0, .74fr) repeat(2, minmax(0, 1fr)); gap: 10px 14px; align-items: stretch; }
.pv-two-h { align-self: center; font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -.018em; color: #0f1c2e; text-wrap: balance; }
.pv-part { padding: 11px 14px 4px; border-radius: 10px; background: #102c52; color: #fff; }
.pv-part + .pv-part { background: #184c4c; }
.pv-part-k { font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.pv-part-l { font-size: 13.5px; line-height: 1.35; color: #dbe6f6; }
.pv-part .pv-link { color: #dec8a3; }
.pv-part-n { padding: 8px 0 10px; font-size: 13px; color: #dec8a3; }
.pv-map { margin-top: 16px; }
.pv-sw { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: #eef2f7; }
.pv-sw button { min-height: 38px; padding: 0 13px; border: 0; border-radius: 8px; background: none; color: var(--t-sub); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.pv-sw button b { margin-left: 4px; font-family: var(--t-mono); font-size: 12.5px; font-weight: 600; }
.pv-sw button[aria-pressed="true"] { background: #fff; color: #0f1c2e; font-weight: 600; box-shadow: 0 1px 2px rgba(15, 28, 46, .12); }
.pv-map-b { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 40px); margin-top: 12px; }
.pv-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-content: start; }
.pv-groups[data-kind="presentations"] { grid-template-columns: repeat(auto-fill, 44px); gap: 6px; }
.pv-groups button { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 30px; padding: 5px 7px; border: 0; border-radius: 6px; background: none; color: var(--t-ink-2); font: inherit; font-size: 13.5px; line-height: 1.25; text-align: left; cursor: pointer; }
.pv-groups[data-kind="presentations"] button { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--t-line); font-weight: 600; }
.pv-groups small { flex: none; font-family: var(--t-mono); font-size: 11.5px; color: var(--t-faint); }
.pv-groups button:hover { background: #f1f4f8; }
.pv-groups button[aria-pressed="true"] { background: #e6f0fb; color: #173d69; font-weight: 600; }
.pv-items { min-width: 0; }
.pv-items-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 5px 0 7px; border-bottom: 1px solid var(--t-line); }
.pv-items-h b { font-size: 15px; font-weight: 600; }
.pv-items-h span { font-size: 12.5px; color: var(--t-faint); }
.pv-checks { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c9d6ea transparent; }
.pv-check { display: flex; align-items: flex-start; gap: 10px; padding: 6px 2px; font-size: 14px; line-height: 1.35; cursor: pointer; }
.pv-check input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: #173d69; }
.pv-map-n { max-width: 88ch; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--t-faint); text-wrap: pretty; }

/* ---------------- widths ---------------- */
@media (max-width: 1199px) {
  .pv-hero { grid-template-columns: minmax(0, 1fr); }
  .pv-hero-r { align-items: flex-start; }
  .pv-try-b { height: 190px; }
  .pv-topics ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-learn { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 0 24px; }
  .pv-guide { columns: 1; }
}
@media (max-width: 1023px) {
  .pv-access a:not(.pv-btn) { display: inline-block; margin: -13px 0; padding: 13px 0; }
  .pv-tlist li button, .pv-groups button { display: flex; align-items: center; min-height: 44px; }
  .pv-groups[data-kind="presentations"] button { display: grid; }
  .pv-task { grid-template-columns: minmax(0, 1fr); }
  .pv-plate-in { position: relative; top: auto; height: auto; min-height: 0; }
  .pv-plate:not(.pv-plate--sextant) .pv-plate-b { height: clamp(300px, 62vw, 520px); }
  .pv-notice { grid-template-columns: minmax(0, 1fr); }
  .pv-map-b { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pv-checks { max-height: none; }
}
@media (max-width: 900px) {
  .lx-study { grid-template-columns: minmax(0, 1fr); gap: 8px 0; margin-inline: calc(var(--gutter) * -1); }
  .lx-rail { padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; gap: 5px; }
  .lx-rs, .lx-rs:nth-child(n) { flex: none; width: auto; min-height: 44px; margin-top: 0; padding: 0 13px; border-radius: 6px 6px 0 0; font-size: 13.5px; line-height: 44px; writing-mode: horizontal-tb; }
  .lx-rs:hover { margin-top: 0; }
  .lx-rs--band::before { left: 0; right: 0; top: 0; height: 5px; }
  .lx-sheet { padding-left: 0; border-radius: 0; box-shadow: none; }
  .lx-sheet::before { display: none; }
  .pv-hero { border-radius: 0; }
  .pv-learn, .pv-browse, .pv-anat, .pv-fin { grid-template-columns: minmax(0, 1fr); }
  .pv-learn-r { min-width: 0; }
  .pv-browse, .pv-anat { gap: 16px 0; }
  .pv-tlist { max-height: none; overflow: visible; }
  .pv-tlist.is-short li:nth-child(n+7):not(:has([aria-current="true"])) { display: none; }
  .pv-tall { display: inline-flex; }
  .pv-learn:has([data-find]:not(:placeholder-shown)) :is(.pv-tall) { display: none; }
  .pv-learn:has([data-find]:not(:placeholder-shown)) .pv-tlist.is-short li:not([hidden]) { display: list-item; }
  .pv-back--foot { display: inline-flex; flex-basis: 100%; }
  .pv-learn-r { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--t-line); }
  .pv-fin-n { grid-auto-flow: column; grid-auto-columns: max-content; gap: 4px; margin: 0 calc(clamp(20px, 3vw, 44px) * -1); padding: 0 clamp(20px, 3vw, 44px) 4px; overflow-x: auto; scrollbar-width: none; }
  .pv-fin-n .pv-k { display: none; }
  .pv-fin-n button { grid-template-columns: auto; min-height: 44px; padding: 8px; white-space: nowrap; }
  .pv-fin-n button span { display: none; }
  .pv-fin-c { margin-top: 14px; }
  .pv-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-two-h { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .pv-head { padding-top: 10px; }
  .pv-h1 { font-size: 27px; }
  .pv-panel { padding-top: 16px; padding-bottom: 18px; }
  .pv-tabs { gap: 2px 18px; }
  /* no room for four stacks side by side: each discipline is a row, and its marks stand as ticks */
  .pv-stacks { display: block; margin: 8px -8px 0; }
  .pv-stack { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; gap: 0 12px; align-items: center; width: 100%; min-height: 50px; padding: 7px 8px; }
  .pv-stack-n { grid-column: 1; grid-row: 1; align-self: center; }
  .pv-stack-n b { font-size: 14.5px; } 
  .pv-marks { grid-column: 2; grid-row: 1; flex-direction: row; flex-wrap: nowrap; gap: 3px; margin: 0; }
  .pv-marks i { width: 4px; height: 18px; }
  .pv-lesson { padding: 14px 16px; }
  .pv-lnav .pv-btn { flex: 1 1 40%; }
  .pv-sets { grid-template-columns: minmax(0, 1fr); }
  .pv-qhead h4 { font-size: 21px; }
  .pv-stem { font-size: 16px; }
  .pv-flag { font-size: 13px; }
  .pv-opt { padding: 11px 12px; gap: 0 11px; }
  .pv-fb .pv-verdict, .pv-why { padding-inline: 14px; }
  .pv-whynot { padding-inline: 8px; }
  .pv-review { padding: 16px 14px; }
  .pv-ask { font-size: 20px; }
  .pv-pstem { font-size: 16px; }
  .pv-modes { grid-template-columns: minmax(0, 1fr); }
  .pv-hero-h { margin-top: 8px; }
  .pv-try { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .pv-try-b { height: 150px; }
  .pv-try-b span { left: 6px; bottom: 6px; padding: 5px 8px; font-size: 12px; }
  .pv-topics ul { grid-template-columns: minmax(0, 1fr); }
  .pv-side { padding: 12px 18px 16px; }
  .pv-task-q { font-size: 20px; }
  .pv-plate--xray .pv-plate-b { height: min(112vw, 480px); }
  .pv-mark { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
  .pv-dock:not(.pv-dock--end) { position: sticky; bottom: 0; z-index: 3; margin: 10px -18px 0; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255, 255, 255, 0), #fff 22%); }
  .pv-dock:not(.pv-dock--end) .pv-btn { width: 100%; }
  .pv-groups { grid-template-columns: minmax(0, 1fr); }
  .pv-groups:not([data-kind="presentations"]) { max-height: 232px; overflow-y: auto; }
  .pv-groups button { min-height: 44px; }
  .pv-access { padding-top: 12px; }
  .pv-access-a, .pv-access-a .pv-btn { width: 100%; }
  .pv-readrow .pv-btn { flex: 1 1 100%; }
  .pv-focus ol { grid-template-columns: minmax(0, 1fr); }
  .lx-try { min-height: 44px; }
}
@media (max-width: 359px) {
  .pv-flagbtn span { display: none; }
  .pv-flagbtn { padding: 6px 11px; }
  .pv-stack small { font-size: 11px; }
  .pv-two { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .pv-head .pv-intro { display: none; }
  .pv-tlist { max-height: 250px; }
  .pv-try-b { height: 170px; }
}

/* ---------------- without motion, or without JavaScript ---------------- */
html.reduce .lx-rs, html.reduce .lx-try svg, html.reduce .pv-opt, html.reduce .pv-try-b img { transition: none; }
html.no-js .lx-study, html.no-js .lx-try, html.no-js .pv-zoom { display: none; }
