/* Study MCQ: the editorial single-best question from the interaction library template
   (docs/design/interaction-library-template.html, modules 09 Single-best MCQ, 47 Score-run MCQ,
   49 Commit-then-explain and 27 Pathway stepper). It restyles the shared .bw-op card the opener drives.
   Quiet and editorial: no lines or boxes, a serif stem, small accent letters, the answer resolves in place,
   one explanation unfolds, beats open one at a time. The repeated .bw-op class outranks the opener's own rules. Theme tokens: Night, Exam and Lights Out take the
   template's dark look, Paper takes the light mapping. Every text token meets 4.5:1 on its theme. */
@import url("/fonts/bw-shared-fonts-126df5f3.css");

.bw-op.bw-op.bw-op.bw-op.bw-op{
  --sm-ink:#17151f;--sm-ink2:#2e2b3b;--sm-ink3:#4f4b60;--sm-accent:#5b3fa0;--sm-green:#17673c;--sm-rose:#a3263b;
  --sm-tint:rgba(91,63,160,.06);--sm-tint-strong:rgba(91,63,160,.11);--sm-tint-green:rgba(23,103,60,.09);
  --sm-tint-rose:rgba(163,38,59,.08);--sm-focus:#5b3fa0;
  --sm-serif:'Newsreader','Iowan Old Style',Palatino,Georgia,serif;
  --sm-sans:'Space Grotesk',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
}
html[data-bw-study-scheme="dark"] .bw-op.bw-op.bw-op.bw-op.bw-op,
html:not([data-bw-study-scheme]):is([data-bw-theme="night"],[data-bw-theme="exam"],[data-bw-theme="lights-out"]) .bw-op.bw-op.bw-op.bw-op.bw-op,
:root[data-theme="dark"]:not([data-bw-study-scheme="light"]):not([data-bw-theme="paper"]) .bw-op.bw-op.bw-op.bw-op.bw-op{
  --sm-ink:#eef1f8;--sm-ink2:#c9d0df;--sm-ink3:#a3aabd;--sm-accent:#b39dfb;--sm-green:#5edb9e;--sm-rose:#fb8396;
  --sm-tint:rgba(167,139,250,.07);--sm-tint-strong:rgba(167,139,250,.13);--sm-tint-green:rgba(84,217,152,.10);
  --sm-tint-rose:rgba(251,113,133,.10);--sm-focus:#c4b5fd;
}
@media(prefers-color-scheme:dark){
  :root:not([data-bw-study-scheme]):not([data-bw-theme]):not([data-theme="light"]) .bw-op.bw-op.bw-op.bw-op.bw-op{
    --sm-ink:#eef1f8;--sm-ink2:#c9d0df;--sm-ink3:#a3aabd;--sm-accent:#b39dfb;--sm-green:#5edb9e;--sm-rose:#fb8396;
    --sm-tint:rgba(167,139,250,.07);--sm-tint-strong:rgba(167,139,250,.13);--sm-tint-green:rgba(84,217,152,.10);
    --sm-tint-rose:rgba(251,113,133,.10);--sm-focus:#c4b5fd;
  }
}

/* The question sits on the page, not in a card. */
.bw-op.bw-op.bw-op.bw-op.bw-op{
  margin-block:2.25rem;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
  color:var(--sm-ink2);font-family:var(--sm-serif);line-height:1.6;
}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-hint{margin:0 0 8px;color:var(--sm-ink3);font:400 13px/1.5 var(--sm-sans);letter-spacing:.01em}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-stem{
  margin:0 0 14px;color:var(--sm-ink);font:400 1.125rem/1.62 var(--sm-serif);
}
@media(min-width:768px){.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-stem{font-size:1.1875rem}}

/* Choices: spacing and a quiet tint, never a drawn line. */
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-choices{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-row{
  position:relative;margin:0;padding:0;border:0;border-radius:10px;background:transparent;box-shadow:none;overflow:visible;
  transition:background-color .2s ease;
}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-row.why-open{padding-block-end:4px}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-choice{
  display:flex;align-items:baseline;gap:14px;width:100%;min-height:44px;margin:0;padding:11px 12px;
  border:0;border-radius:10px;background:transparent;box-shadow:none;text-align:start;
  color:var(--sm-ink2);font:400 1rem/1.5 var(--sm-serif);white-space:normal;cursor:pointer;
  transition:background-color .2s ease,color .2s ease;
}
@media(min-width:768px){.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-choice{font-size:1.0625rem}}
.bw-op.bw-op.bw-op.bw-op.bw-op:not(.answered) .bw-op-choice:hover{background:var(--sm-tint);color:var(--sm-ink)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-choice:focus-visible{outline:2px solid var(--sm-focus);outline-offset:2px;background:var(--sm-tint)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-choice:disabled{opacity:1}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-ltr{
  flex:0 0 16px;width:16px;height:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;
  color:var(--sm-accent);font:600 12px/1.5 var(--sm-sans);letter-spacing:.04em;text-align:start;display:inline-block;
}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-ctext{flex:1;min-width:0;color:inherit;text-align:start;overflow-wrap:break-word}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-choice .bw-rationale-status{
  display:inline;margin-inline-start:.5em;padding:0;border:0;background:transparent;
  font:600 11px/1.5 var(--sm-sans);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;
}

/* The answer resolves in place: the key green, a wrong pick rose, the rest quiet. */
.bw-op.bw-op.bw-op.bw-op.bw-op.answered .bw-op-choice{cursor:pointer}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-row.is-correct{background:var(--sm-tint-green)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-row.is-wrong{background:var(--sm-tint-rose)}
.bw-op.bw-op.bw-op.bw-op.bw-op :is(.bw-op-row.is-correct,.bw-op-row.is-wrong) :is(.bw-op-choice,.bw-op-ctext){color:var(--sm-ink)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-row.is-correct :is(.bw-op-ltr,.bw-rationale-status){color:var(--sm-green)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-row.is-wrong :is(.bw-op-ltr,.bw-rationale-status){color:var(--sm-rose)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-row.is-dim :is(.bw-op-choice,.bw-op-ctext,.bw-op-ltr){color:var(--sm-ink3)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-row.is-dim .bw-op-choice:hover{background:var(--sm-tint);color:var(--sm-ink2)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-row.is-dim.why-open{background:var(--sm-tint)}

/* One explanation at a time unfolds under its choice, with a bold lead. */
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-why{display:block;margin:0;padding:0}
/* An author display rule must not undo the hidden attribute: nothing shows before the commit, on pages with or without the opener's sheet. */
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-why[hidden]{display:none}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-why-wrap{margin:0;padding:0;border:0;background:transparent}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-why-in{
  margin:0;padding:2px 14px 12px 42px;border:0;border-radius:0;background:transparent;
  color:var(--sm-ink3);font:400 .9375rem/1.62 var(--sm-serif);
}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-why-in :is(b,strong){color:var(--sm-ink2)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-why-in .bw-study-mcq-lead{color:var(--sm-ink);font-weight:650}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-why:not([hidden]){animation:bw-study-mcq-in .32s cubic-bezier(.2,.7,.2,1)}
/* No speaker icons, Show/Hide links or tool rows on the question: the choice itself opens its reason. */
.bw-op.bw-op.bw-op.bw-op.bw-op :is(.bw-op-explain,.bw-op-why .bw-reading-tools,.bw-op-why-tag){display:none!important}

.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-verdict{
  margin:16px 0 0;padding:0;border:0;color:var(--sm-ink2);font:600 11px/1.5 var(--sm-sans);letter-spacing:.14em;text-transform:uppercase;
}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-verdict.ok{color:var(--sm-green)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-verdict.no{color:var(--sm-rose)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-verdict.bw-op-signin{border:0;background:transparent;text-transform:none;letter-spacing:0;font:400 .9375rem/1.5 var(--sm-serif)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-reason{margin:10px 0 0;color:var(--sm-ink3);font:400 .9375rem/1.62 var(--sm-serif)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-reason p{margin:0;color:inherit;font:inherit}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-controls{display:flex;justify-content:flex-start;gap:12px;margin-top:10px}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-reset{
  min-height:44px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;
  color:var(--sm-accent);font:500 13px/1.4 var(--sm-sans);letter-spacing:.06em;text-decoration:underline;text-underline-offset:.25em;cursor:pointer;
}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-reset:focus-visible{outline:2px solid var(--sm-focus);outline-offset:2px}

/* Work the reasoning: the pathway stepper. Numbered beats with a quiet +, each open reveals the next. */
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-path{margin:18px 0 0}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-path-label{margin:0 0 4px;color:var(--sm-ink3);font:500 11px/1.4 var(--sm-sans);letter-spacing:.14em;text-transform:uppercase}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step-head{
  display:flex;align-items:baseline;gap:14px;width:100%;min-height:44px;margin:0;padding:11px 12px;border:0;border-radius:10px;
  background:transparent;box-shadow:none;text-align:start;color:var(--sm-ink);font:400 1.03rem/1.5 var(--sm-serif);cursor:pointer;
  transition:background-color .2s ease;
}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step-head:hover{background:var(--sm-tint)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step-head:focus-visible{outline:2px solid var(--sm-focus);outline-offset:2px}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step-title{flex:1;min-width:0}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step-mk{color:var(--sm-ink3);font:400 19px/1 var(--sm-sans);transition:transform .35s cubic-bezier(.2,.7,.2,1),color .2s}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step.open .bw-study-step-mk{transform:rotate(45deg);color:var(--sm-accent)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step-body{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .42s cubic-bezier(.2,.7,.2,1),visibility .42s}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step.open .bw-study-step-body{grid-template-rows:1fr;visibility:visible}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step-body>div{min-height:0;overflow:hidden}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-step-pad{padding:0 12px 14px;color:var(--sm-ink3);font:400 .9375rem/1.66 var(--sm-serif)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-punch{margin:12px 12px 0;color:var(--sm-ink);font:600 1rem/1.55 var(--sm-serif)}
.bw-op.bw-op.bw-op.bw-op.bw-op .bw-study-path [hidden]{display:none!important}

/* The member workspace forces its sans and ink on every p in main#lesson with !important; the question keeps
   its own type and state colors. :is(#lesson,main) carries ID weight on any main. */
html :is(#lesson,main) .bw-op.bw-op :is(.bw-op-stem,.bw-op-hint,.bw-op-verdict,.bw-op-reason p,.bw-study-path-label,.bw-study-punch){max-width:none}
html :is(#lesson,main) .bw-op.bw-op .bw-op-stem{color:var(--sm-ink)!important;font-family:var(--sm-serif)!important}
html :is(#lesson,main) .bw-op.bw-op :is(.bw-op-hint,.bw-study-path-label){color:var(--sm-ink3)!important;font-family:var(--sm-sans)!important}
html :is(#lesson,main) .bw-op.bw-op .bw-op-verdict{color:var(--sm-ink2)!important;font-family:var(--sm-sans)!important}
html :is(#lesson,main) .bw-op.bw-op .bw-op-verdict.ok{color:var(--sm-green)!important}
html :is(#lesson,main) .bw-op.bw-op .bw-op-verdict.no{color:var(--sm-rose)!important}
html :is(#lesson,main) .bw-op.bw-op .bw-op-verdict.bw-op-signin{font-family:var(--sm-serif)!important}
html :is(#lesson,main) .bw-op.bw-op :is(.bw-op-reason p,.bw-op-why-in p){color:var(--sm-ink3)!important;font-family:var(--sm-serif)!important}
html :is(#lesson,main) .bw-op.bw-op .bw-study-punch{color:var(--sm-ink)!important;font-family:var(--sm-serif)!important}

@keyframes bw-study-mcq-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
/* Reduce motion: everything still works, only the movement goes. */
@media(prefers-reduced-motion:reduce){
  .bw-op.bw-op.bw-op.bw-op.bw-op :is(.bw-op-row,.bw-op-choice,.bw-study-step-head,.bw-study-step-mk,.bw-study-step-body){transition:none}
  .bw-op.bw-op.bw-op.bw-op.bw-op .bw-op-why:not([hidden]){animation:none}
}

/* A choice picked but not yet resolved (a save in flight, a restored pick): a quiet tint, no outline. */
.bw-op.bw-op.bw-op.bw-op.bw-op:not(.answered) .bw-op-choice[aria-pressed="true"]{background:var(--sm-tint-strong);color:var(--sm-ink)}

/* Inside the member workspace the frame and page sheets style every button (a bordered, filled control with the
   workspace sans, some of it !important). The question's choices, reset link and beat headers keep the template's
   unboxed look there too. */
#bw-study-frame .bw-op.bw-op .bw-op-choice,#bw-study-frame .bw-op.bw-op .bw-study-step-head{
  border:0;background:transparent;color:var(--sm-ink2);font:400 1rem/1.5 var(--sm-serif);border-radius:10px;min-height:44px;box-shadow:none}
#bw-study-frame .bw-op.bw-op .bw-study-step-head{color:var(--sm-ink);font-size:1.03rem}
#bw-study-frame .bw-op.bw-op .bw-op-reset{border:0;background:transparent;color:var(--sm-accent);font:500 13px/1.4 var(--sm-sans);border-radius:0}
html[data-bw-workspace-page] .bw-op.bw-op :is(.bw-op-choice,.bw-study-step-head){font-family:var(--sm-serif)!important;font-weight:400!important;font-size:1rem!important;border-radius:10px!important}
html[data-bw-workspace-page] .bw-op.bw-op .bw-op-reset{font-family:var(--sm-sans)!important;font-weight:500!important;font-size:13px!important;border-radius:0!important}
/* Text on a filled accent button (the free Reveal card's primary action): white on the Paper accent, ink on the Night accent. */
.bw-op.bw-op.bw-op.bw-op.bw-op{--sm-on-accent:#fff}
html[data-bw-study-scheme="dark"] .bw-op.bw-op.bw-op.bw-op.bw-op,
html:not([data-bw-study-scheme]):is([data-bw-theme="night"],[data-bw-theme="exam"],[data-bw-theme="lights-out"]) .bw-op.bw-op.bw-op.bw-op.bw-op,
:root[data-theme="dark"]:not([data-bw-study-scheme="light"]):not([data-bw-theme="paper"]) .bw-op.bw-op.bw-op.bw-op.bw-op{--sm-on-accent:#1b1330}
@media(prefers-color-scheme:dark){
  :root:not([data-bw-study-scheme]):not([data-bw-theme]):not([data-theme="light"]) .bw-op.bw-op.bw-op.bw-op.bw-op{--sm-on-accent:#1b1330}
}
