/* Embedded question layout inherits the host lesson's current theme and type. */
@import url("/fonts/qbank-open-sans-5d1f868d50ac.css");
.bw-op{
  /* Explicit site palette per scheme: no system Canvas/CanvasText fallback, so ink and surface always pair. */
  --op-surface:light-dark(#fffefa,#1c1a24);
  --op-row-surface:light-dark(#fbfaf6,#191722);
  --op-note:light-dark(#f1eef7,#262233);
  --op-hair:light-dark(#776a8c,#8f7fae);
  --op-ink:light-dark(#191923,#eef1f8);
  --op-ink-soft:light-dark(#3f3b52,#d4dbe8);
  --op-accent:light-dark(#593a87,#c4a7f5);
  /* Match the QBank runner's selected, correct and incorrect surfaces. */
  --op-green:light-dark(#267542,#7fd79b);--op-rose:light-dark(#ae3030,#f0a8a8);
  --op-selected:light-dark(#e8f0fa,#142338);--op-correct:light-dark(#deefde,#102519);
  --op-incorrect:light-dark(#f7dddc,#2c1515);--op-state-ink:light-dark(#1a1a1a,#e6eaef);
  box-sizing:border-box;display:block;width:100%;min-width:0;margin-block:1.5rem;
  padding:clamp(18px,4vw,28px);border:1px solid var(--op-hair);border-radius:var(--radius,12px);
  background:var(--op-surface);color:var(--op-ink);font:inherit;line-height:1.65;scroll-margin-top:7rem;
}
body[data-bw-content-remake] .bwcr .bw-op{--op-hair:var(--bwcr-dk-control,#776a8c)}
.bw-op *{box-sizing:border-box}
.bw-op[hidden],.bw-case[hidden],.bw-op [hidden],.bw-op-navigation[hidden],.bw-op-navigation [hidden]{display:none!important}
.bw-op-stem{margin:0 0 12px;font:inherit;font-size:1.125rem;line-height:1.65;color:var(--op-ink)}
.bw-op-ask{display:block;margin-top:14px;font-weight:600}
.bw-op-hint{margin:0 0 18px;font-size:.875rem;color:var(--op-ink-soft)}
.bw-op .bw-op-choices.bw-op-choices{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.bw-op-row{border:1px solid var(--op-hair);border-radius:var(--radius-sm,8px);background:var(--op-row-surface);overflow:hidden}
.bw-op .bw-op-choices > .bw-op-row{margin:0}
.bw-op .bw-op-choice{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;justify-content:flex-start;column-gap:12px;width:100%;min-height:52px;margin:0;padding:14px;border:0;border-radius:inherit;background:transparent;text-align:start;color:var(--op-ink);font:400 16px/1.5 var(--qb-reading,"Open Sans",Verdana,sans-serif);white-space:normal;cursor:pointer}
.bw-op .bw-op-choice:disabled{opacity:1;cursor:default}
.bw-op .bw-op-ltr{grid-area:1 / 1;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--op-hair);border-radius:50%;color:var(--op-ink);font:600 13px/1 var(--qb-ui,"Open Sans",Verdana,sans-serif);background:transparent}
.bw-op .bw-op-ctext{grid-area:1 / 2;align-self:center;min-width:0;text-align:start;overflow-wrap:break-word;word-break:normal;hyphens:none}
.bw-op .bw-op-choice .bw-rationale-status{display:inline;visibility:visible;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:600 13px/1.5 var(--qb-ui,"Open Sans",Verdana,sans-serif);white-space:nowrap}
.bw-op .bw-op-row:not(.is-answered):has(.bw-op-choice[aria-pressed=true]){background:var(--op-selected);border-color:var(--op-accent)}
.bw-op .bw-op-row.is-correct{background:var(--op-correct);border-color:var(--op-green)}
.bw-op .bw-op-row.is-wrong{background:var(--op-incorrect);border-color:var(--op-rose)}
.bw-op :is(.bw-op-row.is-correct,.bw-op-row.is-wrong) :is(.bw-op-choice,.bw-op-ltr,.bw-op-ctext){color:var(--op-state-ink)}
.bw-op .bw-op-row.is-correct .bw-op-ltr{border-color:var(--op-green)}
.bw-op .bw-op-row.is-wrong .bw-op-ltr{border-color:var(--op-rose)}
.bw-op-why{display:block}
.bw-op-why-in{margin:0 12px 12px;padding:14px 16px;border-radius:var(--radius-sm,8px);background:var(--op-note);color:var(--op-ink);font-size:.9375rem;line-height:1.6;overflow-wrap:break-word}
.bw-op-why-tag{display:block;margin-bottom:6px;color:var(--op-ink);font-size:.8125rem;font-weight:600}
.bw-op-explain{margin:0 12px 12px}
.bw-op-verdict{margin:18px 0 0;font-size:.9375rem}
.bw-op-verdict.ok{border-inline-start:3px solid var(--op-green);padding-inline-start:12px}
.bw-op-verdict.no{border-inline-start:3px solid var(--op-rose);padding-inline-start:12px}
.bw-op-reason{margin-top:14px;color:var(--op-ink-soft)}
.bw-op-controls{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}
.bw-op-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;margin-block:1rem}
.bw-op-navigation.bw-op-navigation [role=status]{flex-basis:100%;margin:0;font-size:.875rem;line-height:1.4}
.bw-op :is(.bw-op-reset,.bw-op-explain),.bw-op-navigation button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--op-hair,var(--line,GrayText));border-radius:var(--radius-sm,8px);background:transparent;color:inherit;font:inherit;cursor:pointer}
/* Stay secondary even inside a lesson's generic primary-button rules. */
.bw-op-navigation.bw-op-navigation button.bwcr-secondary{flex:0 1 auto;width:auto;min-height:44px;margin:0;padding:8px 12px;border:1px solid var(--bwcr-dk-control,var(--op-hair,#88709f));border-radius:.35rem;background:transparent;color:var(--bwcr-purple,var(--op-ink,inherit));font:inherit;font-size:.875rem;font-weight:600;line-height:1.4;white-space:normal;text-align:start;box-shadow:none}
.bw-op :is(button,summary,input):focus-visible,.bw-op-navigation button:focus-visible{outline:2px solid var(--op-accent,var(--accent,LinkText));outline-offset:3px}
.bw-op a{color:var(--op-accent)!important;text-decoration:underline;text-underline-offset:.2em}
.bw-op-navigation button:disabled{opacity:.6;cursor:default}
.bw-op details>summary{cursor:pointer;min-height:44px}
.bw-op .bwcr-rationales{padding-inline-start:1.5rem}
.bw-op .bwcr-rationale{margin-block:1rem}
.bw-op .bwcr-rationale>p{margin-bottom:.5rem}
.bw-op .bwcr-rationale details{border-inline-start:2px solid var(--op-hair);padding-inline-start:1rem}
@media(min-width:768px){.bw-op .bw-op-choice{font-size:17px}}
/* Lesson questions: marker and text share one left-aligned column on every row, whatever the host button styling. */
.bw-authored-case.bw-op .bw-op-choice{display:grid;grid-template-columns:28px minmax(0,1fr);justify-content:stretch;justify-items:start;align-items:center;column-gap:12px;text-align:start}
.bw-authored-case.bw-op .bw-op-ltr{grid-area:1 / 1;justify-self:start;color:var(--op-ink)}
.bw-authored-case.bw-op .bw-op-ctext{grid-area:1 / 2;justify-self:stretch;text-align:start;color:var(--op-ink)}
/* One surface per option: header, controls and explanation share the row; controls sit top right on the header line. */
.bw-authored-case.bw-op .bw-op-row{position:relative}
.bw-authored-case.bw-op .bw-op-row.why-open .bw-op-choice{padding-inline-end:6.5rem}
.bw-authored-case.bw-op .bw-op-row:disabled,.bw-authored-case.bw-op .bw-op-choice:disabled{background:transparent;color:var(--op-ink)}
.bw-authored-case.bw-op button.bw-op-explain{position:absolute!important;top:.5rem!important;right:.75rem!important;width:auto!important;height:auto!important;min-height:32px!important;margin:0!important;padding:2px 8px!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;color:var(--op-ink-soft)!important;font:inherit!important;font-size:.8125rem!important;font-weight:500!important;line-height:1.4!important;text-decoration:underline;text-underline-offset:3px}
.bw-authored-case.bw-op button.bw-op-explain:hover{color:var(--op-ink)!important}
.bw-authored-case.bw-op .bw-op-why .bw-reading-tools.bw-reading-compact{position:absolute;top:.5rem;right:3.75rem;margin:0;gap:0}
.bw-authored-case.bw-op .bw-op-why .bw-reading-compact button{background:transparent!important;box-shadow:none!important;min-block-size:32px;min-inline-size:32px;padding:4px;border:0;border-radius:6px;background:transparent;color:var(--op-ink-soft);display:inline-flex;align-items:center;justify-content:center}
.bw-authored-case.bw-op .bw-op-why .bw-reading-compact button:hover{color:var(--op-ink)}
.bw-authored-case.bw-op .bw-op-why .bw-reading-compact span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:560px){
.bw-authored-case.bw-op .bw-op-row.why-open{padding-bottom:2.5rem}
.bw-authored-case.bw-op .bw-op-row.why-open .bw-op-choice{padding-inline-end:14px}
.bw-authored-case.bw-op button.bw-op-explain{top:auto!important;bottom:.4rem!important;right:.6rem!important}
.bw-authored-case.bw-op .bw-op-why .bw-reading-tools.bw-reading-compact{top:auto;bottom:.4rem;right:3.6rem}
}
@media(max-width:480px){.bw-op-why-in{margin:0 10px 10px;padding:12px}}
