/* Place the megawatts: one figure at a time with script; every figure and its answer open without. */
.mwp-lead { font-size: 1.1rem; max-width: 70ch; }
.mwp-q { margin: 1.4rem 0; padding: 1rem 1.1rem; border: 1px solid #d5dde4; border-radius: 10px; background: #fff; }
.mwp-count { margin: 0; color: #41566b; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.mwp-figure { margin: .2rem 0 .1rem; font-size: 2rem; }
.mwp-who { margin: 0 0 .7rem; color: #41566b; }
.mwp-choices { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .3rem .9rem; }
.mwp-choices legend { font-weight: 700; margin-bottom: .4rem; }
.mwp-choice { display: flex; align-items: center; gap: .45rem; min-height: 44px; }
.mwp-actions { display: flex; gap: .6rem; margin-top: .6rem; }
.mwp-result { font-weight: 700; margin: .6rem 0 0; }
.mwp-reveal summary { cursor: pointer; margin-top: .6rem; }
.mwp-reveal .cl-card { margin-top: .6rem; }
.mwp-picture .cl-tag.is-answer { outline: 3px solid #d48418; outline-offset: 2px; }
.mwp-picture .cl-tag.is-choice { outline: 2px dashed #166674; outline-offset: 2px; }
.mwp-js .mwp-q[hidden], .mwp-js .mwp-end[hidden] { display: none; }
@media (max-width: 760px) { .mwp-figure { font-size: 1.6rem; } }
@media (prefers-reduced-motion: no-preference) { .mwp-picture .cl-tag { transition: outline-color .2s; } }
.mwp-actions [hidden] { display: none; }
.mwp-actions .button.secondary { color: #0b1a2b; background: #fff; border-color: #718a98; }
.mwp-key-note { margin: .3rem 0 0; color: #41566b; font-size: .9rem; }
.mwp-end h2 { font-family: inherit; }
.mwp-js .mwp-reveal .mwp-answer { display: none; }
/* Wide screens: the picture stays in view beside the figure being placed. */
@media (min-width: 1000px) {
  .mwp { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 1.6rem; align-items: start; }
  .mwp-lead { grid-column: 1 / -1; }
  .mwp-picture { grid-column: 1; grid-row: 2 / span 2; position: sticky; top: 5.5rem; margin-top: 1.4rem; }
  .mwp-round, .mwp-end { grid-column: 2; }
  /* The picture is narrower here, so its labels are letters with the key under it, as on phones. */
  .mwp-picture .cl-tag-word { display: none; }
  .mwp-picture .cl-tag { min-width: 1.5rem; height: 1.5rem; padding: 0 .2rem; box-sizing: border-box; border-radius: 999px; background: #07111f; color: #fff; text-align: center; }
  .mwp-picture .cl-tag b { color: #fff; }
  .mwp-picture .cl-phone-key { display: inline; }
}
