/* Visual course pages (product-visual.php). Pictures first, few words; one layout that reflows
   from desktop (4 across) to tablet (2 across) to phone (1 across). Tokens: navy #1C244B, red
   #c81e1e, card line #e5e7eb, Poppins. Every rule is scoped under .opv so nothing leaks. */
.opv { --navy: #1C244B; --red: #c81e1e; --line: #e5e7eb; --ink2: #4b5563; --soft: #f7f8fb;
  font-family: Poppins, Arial, sans-serif; color: var(--navy); max-width: 1100px; margin: 0 auto; }
.opv *, .opv *::before, .opv *::after { box-sizing: border-box; }
.opv img { max-width: 100%; height: auto; }
.opv-block { padding: 34px 0 10px; }
.opv img.opv-report { display: block; width: 100%; max-width: 620px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; }
.opv-block + .opv-block { border-top: 1px solid var(--line); margin-top: 26px; }
.opv h2.opv-head { margin: 0 0 26px; text-align: center; font-weight: 800; font-size: clamp(26px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -.02em; color: var(--navy); }
.opv h2.opv-head em, .opv h3.opv-sub em { font-style: normal; color: var(--red); }
.opv h3.opv-sub { margin: 0 0 8px; text-align: center; font-weight: 700; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.2; color: var(--navy); }
.opv p.opv-lede { margin: 0 auto 22px; max-width: 640px; text-align: center; font-size: 16px; line-height: 1.55; color: var(--ink2); }

/* cards with an icon on top (desktop/tablet), icon left (phone) */
.opv-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.opv-cards.opv-3 { grid-template-columns: repeat(3, 1fr); }
/* five lessons: three, then two centred under them (25 Oct 2026) */
@media (min-width: 901px) { .opv-cards.opv-5 { grid-template-columns: repeat(6, 1fr); } .opv-cards.opv-5 > li { grid-column: span 2; } .opv-cards.opv-5 > li:nth-child(4) { grid-column: 2 / span 2; } }
.opv-card { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 14px; padding: 22px 14px 18px; text-align: center; background: #fff; margin: 0; }
.opv-card > img { width: 100%; max-width: 170px; aspect-ratio: 3 / 2; display: block; margin: 0 auto 12px; }
.opv-card.opv-icon > img { max-width: 56px; aspect-ratio: 1; margin-bottom: 10px; }
.opv-card > div { margin-top: auto; }
.opv-card b { display: block; font-weight: 700; font-size: 17px; line-height: 1.25; }
.opv-card span { display: block; margin-top: 6px; font-weight: 500; font-size: 15.5px; color: var(--ink2); }
.opv-join { display: block; width: 100%; height: auto; }
.opv-screen { display: block; width: min(260px, 60%); margin: 0 auto; }
.opv-steps { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; font-weight: 700; font-size: 18px; }
.opv-steps li { flex: 0 1 auto; text-align: center; margin: 0; }
.opv-steps .opv-arr { flex: 0 0 44px; height: 14px; background: no-repeat center / 44px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 14'%3E%3Cpath d='M1 7h40M34 1l7 6-7 6' fill='none' stroke='%23c81e1e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* big numbers */
.opv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 8px 0 0; padding: 0; list-style: none; }
.opv-stats.opv-3 { grid-template-columns: repeat(3, 1fr); }
.opv-stats li { margin: 0; padding: 18px 10px; text-align: center; border-left: 1px solid var(--line); }
.opv-stats li:first-child { border-left: 0; }
.opv-stats b { display: block; font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.opv-stats b small { font-size: .45em; font-weight: 700; letter-spacing: 0; margin-left: 3px; }
.opv-stats span { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink2); }

/* an infographic laid out as picture + side column */
.opv-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: center; }
.opv-side { display: grid; gap: 14px; }
.opv-panel { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; }
.opv-legend { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 600; font-size: 15.5px; }
.opv-legend li { display: flex; align-items: center; gap: 12px; margin: 0; }
.opv-legend i { flex: 0 0 18px; height: 18px; border-radius: 50%; display: block; }
.opv-pdf { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 18px; line-height: 1.25; }
.opv-pdf img { width: 52px; flex: 0 0 52px; }

/* screenshots */
/* screenshots: always one per row, centred, never wider than their own pixels (Mo, 16 Oct 2026) */
.opv-shots { display: grid; grid-template-columns: 1fr; gap: 40px; margin: 0; padding: 0; list-style: none; justify-items: center; }
.opv-shot { margin: 0; width: 100%; display: flex; flex-direction: column; align-items: center; }
.opv-shot figcaption { order: -1; text-align: center; margin: 0 0 14px !important; }
.opv-shot a { display: block; width: 100%; cursor: zoom-in; }
.opv-shot img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.opv-shot figcaption { font-style: normal; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.opv-shot figcaption b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 2px; }

/* question-style bars */
.opv-bars { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.opv-bar { display: grid; grid-template-columns: 120px 1fr 44px; gap: 12px; align-items: center; font-weight: 600; font-size: 15.5px; }
.opv-bar .opv-track { height: 14px; border-radius: 999px; background: #eef0f4; overflow: hidden; }
.opv-bar .opv-fill { height: 100%; border-radius: 999px; background: var(--navy); }
.opv-bar:first-child .opv-fill { background: var(--red); }
.opv-bar em { font-style: normal; text-align: right; }

/* the weekly rhythm */
.opv-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.opv-week li { margin: 0; border-radius: 12px; padding: 14px 6px; text-align: center; background: var(--soft); border: 1.5px solid var(--line); }
.opv-week b { display: block; font-size: 15px; }
.opv-week span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink2); }
.opv-week .is-mark { background: #fff4f4; border-color: #f3c7c7; }
.opv-week .is-back { background: var(--navy); border-color: var(--navy); }
.opv-week .is-back b, .opv-week .is-back span { color: #fff; }

/* a real MCQ to try */
.opv-try { max-width: 760px; margin: 0 auto; border: 1.5px solid var(--line); border-radius: 16px; padding: 20px 20px 10px; background: #fff; }
.opv-try .opv-q { margin: 0 0 14px; font-weight: 600; font-size: 17px; line-height: 1.5; }
.opv-try details { border: 1.5px solid var(--line); border-radius: 12px; margin: 0 0 10px; background: #fff; }
.opv-try summary { cursor: pointer; list-style: none; padding: 12px 14px; font-weight: 600; font-size: 15.5px; display: flex; gap: 12px; align-items: baseline; }
.opv-try summary::-webkit-details-marker { display: none; }
.opv-try summary b { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.opv-try details[open].is-right { border-color: #16a34a; background: #f0fdf4; }
.opv-try details[open].is-wrong { border-color: #f3c7c7; background: #fff7f7; }
.opv-try details p { margin: 0; padding: 0 14px 14px 52px; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.opv-try details p strong:first-child { color: var(--navy); }

/* the course's preview clips (player: taster.js) */
.opv-clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.opv-clip { margin: 0; }
.opv-clip .ols-taster-frame { border-radius: 12px; }
.opv-clip .ols-taster-btn { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.opv-clip .ols-taster-len { font-size: 12px; right: 8px; bottom: 8px; }
.opv-clip-title { margin: 10px 0 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--navy); }

/* spec coverage tiles + closing band */
.opv-spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.opv-spec li { margin: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; display: flex; gap: 12px; align-items: center; }
.opv-spec b { flex: 0 0 auto; min-width: 46px; height: 32px; border-radius: 8px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.opv-spec span { font-weight: 600; font-size: 15px; line-height: 1.3; }
.opv-band { margin: 34px 0 10px; border-radius: 18px; background: var(--navy); color: #fff; padding: 30px 26px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.opv-band h3 { margin: 0; color: #fff; font-weight: 800; font-size: clamp(22px, 3vw, 32px); line-height: 1.15; }
.opv-band p { margin: 6px 0 0; color: #dfe3f1; font-size: 15.5px; }
.opv-band a.opv-buy { display: inline-block; background: var(--red); color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 17px; padding: 14px 26px; border-radius: 12px; white-space: nowrap; }
.opv-band a.opv-buy:hover { background: #a91818; }

@media (max-width: 900px) {
  .opv { padding: 0 16px; }
  .opv-cards, .opv-cards.opv-3 { grid-template-columns: repeat(2, 1fr); }
  .opv-cards.opv-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .opv-join { display: none; }
  .opv-screen { margin-top: 26px; }
  .opv-steps { font-size: 16px; }
  .opv-stats { grid-template-columns: repeat(2, 1fr); }
  .opv-stats li:nth-child(3) { border-left: 0; }
  .opv-stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .opv-split { grid-template-columns: 1fr; }
  .opv-side { grid-template-columns: 1fr 1fr; }
  .opv-clips { grid-template-columns: repeat(2, 1fr); }
  .opv-spec { grid-template-columns: repeat(2, 1fr); }
  .opv-week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
  .opv-week span { font-size: 12px; }
}
@media (max-width: 560px) {
  .opv { padding: 0 12px; }
  .opv-block { padding-top: 26px; }
  .opv-stats.opv-3 { grid-template-columns: repeat(3, 1fr); }
  .opv-stats.opv-3 li { border-top: 0; border-left: 1px solid var(--line); }
  .opv-stats.opv-3 li:first-child { border-left: 0; }
  .opv-cards, .opv-cards.opv-3 { grid-template-columns: 1fr; gap: 10px; }
  .opv-cards.opv-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .opv-card { flex-direction: row; align-items: center; gap: 14px; text-align: left; padding: 12px 14px; }
  .opv-card > img { width: 96px; flex: 0 0 96px; margin: 0; }
  .opv-card.opv-icon > img { width: 44px; flex-basis: 44px; }
  .opv-card > div { margin-top: 0; }
  .opv-card b { font-size: 16px; }
  .opv-card span { margin-top: 2px; color: var(--red); font-weight: 600; }
  .opv-screen { width: 62%; }
  .opv-steps { flex-direction: column; gap: 6px; font-size: 17px; }
  .opv-steps .opv-arr { transform: rotate(90deg); flex-basis: 30px; width: 44px; }
  .opv-side { grid-template-columns: 1fr; }
  .opv-clips { grid-template-columns: 1fr; }
  .opv-spec { grid-template-columns: 1fr; }
  .opv-bar { grid-template-columns: 96px 1fr 36px; font-size: 14.5px; }
  .opv-week { grid-template-columns: 1fr; gap: 6px; }
  .opv-week li { display: flex; justify-content: space-between; padding: 10px 14px; text-align: left; }
  .opv-week span { margin-top: 0; font-size: 14px; }
  .opv-band { padding: 24px 18px; }
  .opv-band a.opv-buy { width: 100%; text-align: center; }
}

/* MCQ hero: the question on a tablet, feeding the KASP report; boxed numbers */
.opv-split.opv-mcq { grid-template-columns: 1.6fr 1fr; }
.opv-split.opv-mcq > img { width: 100%; }
.opv-feeds { display: flex; align-items: center; justify-content: center; gap: 18px; }
.opv-feeds-k { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.opv-feeds img { width: 120px; }
.opv-feeds b { font-size: 18px; font-weight: 700; }
.opv-feeds-arrow { width: 70px; height: 16px; background: no-repeat center / 70px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 16'%3E%3Cpath d='M1 8h64M58 1l7 7-7 7' fill='none' stroke='%239ca3af' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.opv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.opv-tiles li { margin: 0; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 10px; text-align: center; background: #fff; }
.opv-tiles b { display: block; font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1; color: var(--red); }
.opv-tiles span { display: block; margin-top: 8px; font-weight: 700; font-size: 17px; color: var(--navy); }
@media (max-width: 900px) { .opv-split.opv-mcq { grid-template-columns: 1fr; } .opv-feeds-k { flex-direction: row; } .opv-feeds-arrow { display: none; } }
@media (max-width: 560px) { .opv-feeds img { width: 80px; } .opv-feeds b { font-size: 16px; } .opv-tiles { gap: 8px; } .opv-tiles span { font-size: 14px; } .opv-feeds-arrow { display: none; } }

/* SAQ hero: KASP drafts -> the answer -> the teacher decides */
.opv-flow { display: grid; grid-template-columns: 1fr 50px 2fr 50px 1fr; align-items: center; gap: 6px; }
.opv-flow-pic { width: 100%; }
.opv-chip { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; }
.opv-chip img { width: 36px; flex: 0 0 36px; }
.opv-chip b { font-size: 16px; line-height: 1.25; }
.opv-chip-plain { border: 0; flex-direction: column; text-align: center; }
.opv-chip-plain img { width: 52px; flex-basis: auto; }
.opv-flow-arrow { height: 16px; background: no-repeat center / 44px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 16'%3E%3Cpath d='M1 8h38M32 1l7 7-7 7' fill='none' stroke='%239ca3af' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 560px) {
  .opv-flow { grid-template-columns: 1fr; justify-items: center; }
  .opv-flow-arrow { transform: rotate(90deg); width: 44px; height: 26px; }
  .opv-chip { justify-content: center; }
}

/* ---- Reviews ---- */
.opv-revhead { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 34px 0 26px; text-align: left; }
.opv-revscore { text-align: center; }
.opv-revscore b { display: block; font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.opv-revstars { display: block; margin-top: 6px; color: var(--red); font-size: 22px; letter-spacing: 3px; }
.opv-revsum h2 { margin: 0; font-weight: 800; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.15; color: var(--navy); }
.opv-revsum p { margin: 6px 0 0; font-size: 16px; color: var(--ink2); }
.opv-reviews { font-family: Poppins, Arial, sans-serif; max-width: 1100px; margin: 0 auto; }
.opv-reviews .woocommerce-Reviews-title { display: none; }
.opv-reviews ol.commentlist { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 30px !important; padding: 0 !important; list-style: none; align-items: start; }
.opv-reviews ol.commentlist::before, .opv-reviews ol.commentlist::after { content: none !important; display: none !important; }
.opv-reviews ol.commentlist li.review { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.opv-reviews .comment_container { position: relative; display: flex; flex-direction: column; border: 1.5px solid #e5e7eb !important; border-radius: 16px !important; background: #fff; padding: 22px 22px 18px !important; }
.opv-reviews .comment_container::before { content: "\201C"; position: absolute; top: 4px; right: 20px; font: 800 72px/1 Georgia, serif; color: #f3d4d4; }
.opv-reviews .comment_container > .avatar, .opv-reviews .comment_container > img.avatar { position: static !important; float: none !important; order: 3; }
.opv-reviews .comment-text { margin: 0 !important; padding: 0 !important; border: 0 !important; display: flex; flex-direction: column; }
.opv-reviews .star-rating { order: 1; float: none !important; margin: 0 0 12px !important; color: #c81e1e !important; font-size: 17px; }
.opv-reviews .star-rating span::before, .opv-reviews .star-rating::before { color: #c81e1e !important; }
.opv-reviews .description { order: 2; }
.opv-reviews .description p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.65; color: #1f2937; }
.opv-reviews .description.opv-clamp { max-height: calc(1.65em * 7); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); mask-image: linear-gradient(180deg, #000 65%, transparent); }
.opv-reviews .opv-more { order: 3; align-self: flex-start; margin: 4px 0 6px; padding: 0; border: 0; background: none; color: #c81e1e; font: 700 14.5px Poppins, Arial, sans-serif; cursor: pointer; white-space: nowrap; }
.opv-reviews .opv-more:hover { text-decoration: underline; }
.opv-reviews p.meta { order: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 12px 0 0 !important; padding-top: 14px; border-top: 1px solid #eef0f4; font-size: 14px !important; color: #6b7280; }
.opv-reviews .woocommerce-review__author { color: #1C244B; font-size: 15.5px; }
.opv-reviews .woocommerce-review__verified { font-style: normal; font-size: 12.5px; font-weight: 700; color: #15803d; background: #ecfdf3; border-radius: 999px; padding: 3px 10px; }
.opv-reviews .woocommerce-review__dash { display: none; }
.opv-reviews .comment_container { padding-bottom: 18px !important; }
.opv-reviews .opv-ava { position: static !important; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #1C244B; color: #fff; display: inline-flex !important; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.opv-reviews p.meta { min-height: 34px; margin-bottom: 0 !important; line-height: 1.3; box-sizing: content-box; }
.opv-reviews .comment_container { padding-bottom: 18px !important; }
.opv-reviews #review_form_wrapper { border: 1.5px solid #e5e7eb; border-radius: 16px; padding: 22px; background: #f7f8fb; }
@media (max-width: 760px) {
  .opv-revhead { flex-direction: column; gap: 10px; text-align: center; padding-top: 26px; }
  .opv-revscore b { font-size: 60px; }
  .opv-reviews { padding: 0 12px; }
  .opv-reviews ol.commentlist { grid-template-columns: 1fr; gap: 12px; }
}

/* 3x student-view screenshots: question full width, its two feedback boxes beneath (side by side
   on desktop, stacked on phones), each never wider than its 1x size so text is never shrunk. */
.opv-hd { margin: 0; width: 100%; max-width: 1064px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.opv-hd figcaption { text-align: center; font-style: normal; font-size: 15.5px; line-height: 1.45; color: var(--ink2); }
.opv-hd figcaption b { display: block; color: var(--navy); font-size: 18px; margin-bottom: 2px; }
.opv-hd > img { display: block; width: 100%; max-width: 1024px; border-radius: 12px; border: 1px solid var(--line); }
.opv-hd > picture { display: contents; }
.opv-hd > picture > img { display: block; width: 100%; max-width: 1024px; height: auto; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 600px) { .opv-hd > picture > img { max-width: 100% !important; } }
.opv-hd-fb { display: grid; grid-template-columns: repeat(2, minmax(0, 520px)); gap: 14px; justify-content: center; align-items: start; width: 100%; }
.opv-hd-fb img { display: block; width: 100%; border-radius: 12px; }
@media (max-width: 760px) { .opv-hd-fb { grid-template-columns: 1fr; } }

/* 24 Oct 2026 (1641, 708, 2548): long text is folded, not deleted. The detailed tab sits in a closed
   fold under a pill button at the end of each tab. */
.opv-fold { margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.opv-fold > summary { display: inline-flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; border: 1.5px solid var(--navy); border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: 15.5px; color: var(--navy); background: #fff; }
.opv-fold > summary::-webkit-details-marker { display: none; }
.opv-fold > summary::after { content: ""; width: 9px; height: 9px; border-right: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.opv-fold[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.opv-fold > summary:hover, .opv-fold > summary:focus-visible { background: var(--navy); color: #fff; outline: none; }
.opv-fold > summary:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--navy); }
.opv-fold-body { margin-top: 22px; text-align: left; }
.opv h3.opv-part { margin: 22px 0 12px; font-weight: 700; font-size: 19px; color: var(--navy); }
/* the 16 Oct rule: screenshots are always stacked, never side by side */
@media (prefers-reduced-motion: reduce) { .opv-fold > summary::after { transition: none; } }
/* The MCQ example: the website free-MCQ review card (ols-quiz quiz.css, reviewed()), scoped to .opv-qcard (24 Oct 2026). */
.opv-qcard { --q-navy: #1C244B; --q-muted: #5b6478; --q-line: #e3e7f0; --q-wash: #f6f8fd; --q-blue: #2563eb; --q-right: #1f8a4c; --q-right-wash: #e8f5ee; --q-wrong: #b42318; --q-wrong-wash: #fdecea; --q-shadow: 0 8px 24px rgba(28, 36, 75, .07); max-width: 860px; margin: 0 auto; color: var(--q-navy); font-size: 16px; line-height: 1.6; text-align: left; }
.opv-qcard *, .opv-qcard *::before, .opv-qcard *::after { box-sizing: border-box; }
.opv-qcard h3 { color: var(--q-navy); margin: 0; letter-spacing: -.02em; }
.opv-qcard p { margin: 0; }
.opv-qcard img { max-width: 100%; height: auto; }
.opv-qcard .ols-quiz-card { background: #fff; border: 1px solid var(--q-line); border-radius: 22px; padding: 28px; box-shadow: var(--q-shadow); display: flex; flex-direction: column; gap: 16px; }
.opv-qcard .ols-quiz-rq { border-left: 6px solid var(--q-line); }
.opv-qcard .ols-quiz-rq.is-wrong { border-left-color: var(--q-wrong); }
.opv-qcard .ols-quiz-rq-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.opv-qcard .ols-quiz-num { font-size: 14px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.opv-qcard .ols-quiz-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.opv-qcard .ols-quiz-chip.is-wrong { background: var(--q-wrong-wash); color: var(--q-wrong); }
.opv-qcard .ols-quiz-stem { font-size: 18px; line-height: 1.6; }
.opv-qcard .ols-quiz-stem p + p { margin-top: 10px; }
/* data tables in a stem (MAA 11 Nov 2026): tighter on a phone so they fit the card; sideways scroll only as a last resort */
.opv-qcard .ols-quiz-options { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.opv-qcard .ols-quiz-options.has-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opv-qcard .ols-quiz-option { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 60px; margin: 0; padding: 12px 16px 12px 12px; border: 2px solid var(--q-line); border-radius: 16px; background: #fff; color: var(--q-navy); font-size: 16px; text-align: left; }
.opv-qcard .ols-quiz-option.is-correct { border-color: var(--q-right); background: var(--q-right-wash); }
.opv-qcard .ols-quiz-option.is-picked-wrong { border-color: var(--q-wrong); background: var(--q-wrong-wash); }
.opv-qcard .ols-quiz-letter { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--q-wash); font-weight: 800; font-size: 15px; }
.opv-qcard .ols-quiz-option.is-correct .ols-quiz-letter { background: var(--q-right); color: #fff; }
.opv-qcard .ols-quiz-option.is-picked-wrong .ols-quiz-letter { background: var(--q-wrong); color: #fff; }
.opv-qcard .ols-quiz-option-body p { margin: 0; }
.opv-qcard .ols-quiz-option-body img { display: block; border: 0; border-radius: 0; }
.opv-qcard .ols-quiz-tags { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.opv-qcard .ols-quiz-tag { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--q-wrong); white-space: nowrap; }
.opv-qcard .ols-quiz-tag.is-correct { color: var(--q-right); }
.opv-qcard .ols-quiz-options.has-images .ols-quiz-option { grid-template-columns: 40px minmax(0, 1fr); }
.opv-qcard .ols-quiz-options.has-images .ols-quiz-tags { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
.opv-qcard .ols-quiz-feedback, .opv-qcard .ols-quiz-explain { border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.opv-qcard .ols-quiz-feedback h3, .opv-qcard .ols-quiz-explain h3 { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.opv-qcard .ols-quiz-feedback { background: var(--q-wash); }
.opv-qcard .ols-quiz-feedback.is-wrong h3 { color: var(--q-wrong); }
.opv-qcard .ols-quiz-explain { background: #fff; border: 1px solid var(--q-line); }
.opv-qcard .ols-quiz-explain h3 { color: var(--q-blue); }
.opv-qcard .ols-quiz-explain ul, .opv-qcard .ols-quiz-feedback ul { margin: 6px 0; padding-left: 1.3em; }
.opv-qcard .ols-quiz-explain li p { margin: 0; }
.opv-qcard .ols-quiz-rightanswer { font-size: 15px; }
@media (max-width: 640px) {
  .opv-qcard .ols-quiz-card { padding: 20px; border-radius: 18px; }
  .opv-qcard .ols-quiz-stem { font-size: 17px; }
  .opv-qcard .ols-quiz-stem table { display: block; max-width: 100%; overflow-x: auto; font-size: 13px; line-height: 1.4; }
  .opv-qcard .ols-quiz-stem th, .opv-qcard .ols-quiz-stem td { padding: 6px; }
  .opv-qcard .ols-quiz-options.has-images { grid-template-columns: 1fr; }
  .opv-qcard .ols-quiz-option { grid-template-columns: 40px minmax(0, 1fr); }
  .opv-qcard .ols-quiz-tags { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
}
