/* Exam page: a paper, section by section, with the key hidden until asked for. */

.loading { padding-block: 120px; color: var(--ink-muted); text-align: center; }

/* --- Top bar switches ------------------------------------------------------------------ */
.toggles { display: flex; gap: 20px; margin-left: auto; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: 700 14px var(--body); color: var(--ink-muted); user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { width: 38px; height: 22px; border-radius: 8px; background: var(--selected); position: relative; transition: background-color .15s; flex: none; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 5px; background: var(--ink-muted); transition: transform .15s, background-color .15s; }
.switch input:checked + .switch-track { background: var(--accent); }
.switch input:checked + .switch-track::after { transform: translateX(16px); background: var(--on-accent); }
.switch input:checked ~ span:last-child { color: var(--ink); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 720px) {
  .topbar .brand span { display: none; }
  .topbar .get-app { display: none; }
  .toggles { gap: 14px; }
}

/* --- Cover ----------------------------------------------------------------------------- */
.cover { position: relative; isolation: isolate; }
.cover-art { position: absolute; inset: 0 0 auto; height: 420px; z-index: -1; overflow: hidden; }
.cover-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 88%; opacity: .75; }
.cover-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(16 28 38 / 0.3), var(--paper) 96%); }
.cover-inner { display: grid; gap: 14px; padding-block: 40px 32px; justify-items: center; text-align: center; }
.levels { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.lv { padding: 6px 12px; border-radius: var(--r-chip); background: rgb(24 41 55 / 0.8); color: var(--ink-muted); text-decoration: none; font: 800 13px var(--body); }
.lv:hover { color: var(--ink); }
.lv.on { background: var(--accent); color: var(--on-accent); }
.cover-zh { color: var(--highlight); font-size: 15px; letter-spacing: .08em; }
.cover h1 { font-size: clamp(36px, 5vw, 56px); }
.cover-no { color: var(--ink-muted); font-weight: 700; }
.cover-facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px 28px; flex-wrap: wrap; justify-content: center; color: var(--ink-muted); }
.cover-facts b { font: 800 20px var(--display); color: var(--ink); }
.cover-guide { font: 700 15px var(--body); text-decoration: none; }
.cover-guide:hover { text-decoration: underline; }
.howto-app { margin-top: 18px; width: 100%; max-width: 680px; background: var(--accent-soft); border-radius: var(--r-card); padding: 18px 20px; display: flex; gap: 16px; align-items: center; font-size: 15px; border: 1.5px solid rgb(242 182 128 / 0.35); }
.howto-app p { flex: 1; text-align: left; }
.howto-app b { color: var(--accent); }
@media (max-width: 600px) { .howto-app { flex-direction: column; align-items: stretch; } }

/* Section bar: sticks under the top bar while you work through the paper. */
.secbar { position: sticky; top: 64px; z-index: 40; background: rgb(16 28 38 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.secbar-inner { display: flex; align-items: center; gap: 16px; min-height: 52px; max-width: 760px; }
.sec-nav { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.sec-nav a { color: var(--ink-muted); text-decoration: none; font: 700 14px var(--body); white-space: nowrap; padding-block: 14px; }
.sec-nav a b { color: var(--ink); font-weight: 800; margin-left: 2px; }
.sec-nav a:hover { color: var(--ink); }
.sec-nav-key { color: var(--accent) !important; }
.progress { font: 700 13px var(--body); color: var(--ink-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.reset { background: none; border: 0; color: var(--ink-muted); cursor: pointer; padding: 6px; margin-right: -6px; display: grid; place-items: center; border-radius: var(--r-chip); }
.reset:hover { color: var(--ink); }
@media (max-width: 720px) { .reset { display: none; } .secbar { top: 64px; } }

/* --- Paper ----------------------------------------------------------------------------- */
.exam-body { max-width: 760px; padding-top: 24px; }
.exam-section { padding-top: 56px; scroll-margin-top: 130px; }
.sec-head { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 2px solid var(--k); margin-bottom: 8px; }
.sec-head .tile { width: 56px; height: 56px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 32px); }
.sec-head .hz { font-family: var(--hanzi); font-weight: 700; }
.sec-en { color: var(--ink-muted); font-weight: 700; }

.app-note { display: flex; gap: 14px; align-items: center; margin: 20px 0 4px; padding: 14px 16px; background: var(--inset); border-radius: var(--r-card); font-size: 14px; color: var(--ink-muted); }
.app-note img { border-radius: 10px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.app-note p { flex: 1; }
.app-note b { color: var(--ink); }
@media (max-width: 600px) { .app-note { flex-wrap: wrap; } .app-note .btn { width: 100%; } }

.part { padding-top: 40px; display: grid; gap: 16px; }
.part-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.part-head h3 { font: 800 22px/1.2 var(--display); display: flex; align-items: baseline; gap: 10px; }
.part-zh { font: 600 15px var(--hanzi); color: var(--ink-muted); }
.directions { display: grid; gap: 2px; }
.directions .hz { font-size: 15px; font-weight: 600; }
.dir-en { color: var(--ink-muted); font-size: 14px; }

/* The app's Chip: a pill on the raised surface with a hairline edge. */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font: 700 12px/16px var(--body); color: var(--ink-muted); white-space: nowrap; }
.pill .hz { font-weight: 700; }
.pill-btn { cursor: pointer; color: var(--ink); }
.pill-btn:hover { border-color: var(--ink-muted); }
.pill-btn.running { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* --- Blocks: laid out on the paper like the app's question screens ------------------------ */
.blk { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.part-head + .blk, .directions + .blk { border-top: 0; padding-top: 4px; }
.blk-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 22px; }
.blk-foot { display: flex; justify-content: flex-end; margin-top: -6px; }
.reveal { background: none; border: 0; cursor: pointer; color: var(--link); font: 700 14px var(--body); padding: 6px 2px; }
.reveal:hover { color: var(--ink); }
.key-on .blk-foot { display: none; }

.qn { font: 800 17px/22px var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.ex-label { font: 800 12px/16px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* A worked example: a closed box (exampleBox in exam.js) that opens on click. */
.exbox { border: 1.5px solid rgb(242 182 128 / 0.45); background: var(--accent-soft); border-radius: var(--r-card); }
.exbox > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-card); }
.exbox > summary::-webkit-details-marker { display: none; }
.exbox > summary:hover .ex-sum { color: var(--ink); }
.exbox > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ex-sum { flex: 1; min-width: 0; color: var(--ink-muted); font-size: 14px; }
.ex-sum b { color: var(--ink); font-weight: 800; }
.ex-chev { display: grid; color: var(--accent); transition: transform .15s; }
.exbox[open] .ex-chev { transform: rotate(180deg); }
.exbox-body { display: grid; gap: 14px; padding: 2px 14px 14px; }
.exbox-body .prompt-card, .exbox-body .opt, .exbox-body .clip { background: var(--paper); }
.exbox-body .clip.is-example { border-color: var(--line); }
.blk-head:empty { display: none; }
/* The pool option a board's example uses, and that letter in each question's A-F row. */
.used-tag { font: 800 10px/14px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-left: 6px; }
.pool-pic figure.ex-used img { opacity: .45; }
.pool-pic figure.ex-used .pic-frame::after { border-color: rgb(242 182 128 / 0.55); border-style: dashed; }
.pool-pic figure.ex-used .pic-letter { color: var(--accent); }
.opt-static.ex-used { opacity: .6; border: 1.5px dashed rgb(242 182 128 / 0.55); }
.pk.ex-taken { color: var(--ink-muted); border-style: dashed; border-color: rgb(242 182 128 / 0.45); }
@media (prefers-reduced-motion: reduce) { .ex-chev { transition: none; } }
.q-label { color: var(--ink-muted); font: 700 14px var(--body); }
.ord-hint { font-size: 14px; }

/* Chinese text: pinyin above (Pinyin switch), English below (key only). */
.zh { display: grid; gap: 2px; }
.zh .hz { font-size: 17px; line-height: 1.75; }
.py, .tl-py { color: var(--ink-muted); font-size: 13px; line-height: 1.4; }
.zh .py, .opt-text .py, .word-chip .py { display: none; }
.show-pinyin .zh .py, .show-pinyin .opt-text .py, .show-pinyin .word-chip .py { display: block; }
.en { color: var(--ink-muted); font-size: 14px; }
.q-prompt .hz { font-weight: 600; }

.key-only { display: none !important; }
.key-on .key-only, .revealed .key-only { display: revert !important; }
.key-on .keybox, .revealed .keybox, .key-on .transcript, .revealed .transcript { display: grid !important; }

.gap { display: inline-block; min-width: 2.6em; border-bottom: 2px solid var(--accent); margin: 0 3px; height: 1.1em; vertical-align: -2px; }
.gap-n { min-width: 2.2em; height: auto; text-align: center; color: var(--accent); font: 800 14px var(--body); vertical-align: 0; }

/* The app's PromptTextCard. */
.prompt-card { display: grid; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-card); }
.prompt-card .zh { gap: 6px; }
.prompt-card .hz { font-size: 17px; line-height: 1.85; }
.prompt-card .en { padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; line-height: 1.6; }
.passage-img { max-width: 320px; width: 100%; border-radius: var(--r-tile); }

/* --- AnswerOptionCard: raised surface, no edge until marked, 28px letter chip ------------- */
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 52px; padding: 12px 14px;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: var(--r-card);
  cursor: pointer;
  transition: border-color .12s, background-color .12s;
}
.opt:hover:not(:disabled):not(.opt-static) { border-color: var(--line); }
.opt:disabled, .opt-static { cursor: default; }
.letter {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; flex: none;
  border-radius: var(--r-chip);
  background: var(--line);
  font: 800 12px/1 var(--body);
  color: var(--ink-muted);
}
.opt-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.opt-text .py { font-size: 12px; line-height: 16px; }
.opt-text .hz { font-size: 16px; line-height: 1.55; }
.opt-text .en { font-size: 13px; }
.badge { font: 700 16px/22px var(--display); color: var(--ink-muted); }
.badge:empty { display: none; }
.tick { display: none; color: var(--correct); flex: none; }
.opt.picked { background: var(--accent-soft); border-color: var(--accent); }
.opt.picked .letter { background: var(--accent); color: var(--surface); }

/* Key on: the right option in jade with a tick; a wrong pick in the wrong-answer red. */
.key-on .opt.is-answer, .revealed .opt.is-answer { background: var(--correct-soft); border-color: var(--correct); }
.key-on .opt.is-answer .letter, .revealed .opt.is-answer .letter { background: var(--correct); color: var(--surface); }
.key-on .opt.is-answer .hz, .revealed .opt.is-answer .hz { color: var(--correct-text); }
.key-on .opt.is-answer .tick, .revealed .opt.is-answer .tick { display: block; }
.key-on .opt.picked:not(.is-answer), .revealed .opt.picked:not(.is-answer) { background: var(--wrong-soft); border-color: var(--wrong); }
.key-on .opt.picked:not(.is-answer) .letter, .revealed .opt.picked:not(.is-answer) .letter { background: var(--wrong); color: var(--surface); }
.key-on .opt.picked:not(.is-answer) .hz, .revealed .opt.picked:not(.is-answer) .hz { color: var(--wrong); }

/* Picture options and boards: square tiles, letter underneath (LetteredPictureGrid). */
.opts-pic, .pool-pic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pic, .pool-pic figure { display: grid; justify-items: center; gap: 4px; margin: 0; padding: 0; background: none; border: 0; cursor: pointer; }
.pool-pic figure { cursor: default; }
.pic:disabled { cursor: default; }
.pic-frame { position: relative; width: 100%; aspect-ratio: 1; border-radius: var(--r-tile); overflow: hidden; background: var(--surface); }
.pic-frame img { width: 100%; height: 100%; object-fit: cover; }
.pic-frame::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--line); border-radius: inherit; pointer-events: none; }
.pic-letter { font: 800 14px/20px var(--body); color: var(--ink); }
.pic:hover:not(:disabled) .pic-frame::after { border-color: var(--ink-muted); }
.pic.picked .pic-frame::after { border-color: var(--accent); border-width: 3px; }
.pic.picked .pic-letter { color: var(--accent); }
.key-on .pic.is-answer .pic-frame::after, .revealed .pic.is-answer .pic-frame::after { border-color: var(--correct); border-width: 3px; }
.key-on .pic.is-answer .pic-letter, .revealed .pic.is-answer .pic-letter { color: var(--correct-text); }
.key-on .pic.picked:not(.is-answer) .pic-frame::after, .revealed .pic.picked:not(.is-answer) .pic-frame::after { border-color: var(--wrong); }
.key-on .pic.picked:not(.is-answer) .pic-letter, .revealed .pic.picked:not(.is-answer) .pic-letter { color: var(--wrong); }

.pool-text { display: grid; gap: 8px; }
.pool-comp { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.pool-comp .opt-text .hz { font-size: 24px; }

/* A board question: its own card holding the clip or sentence and the A-F buttons (BoardClipRow). */
.clips { display: grid; gap: 14px; }
.clip { display: grid; gap: 10px; padding: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-card); }
.clip.is-example { border-color: var(--accent); }
.clip .ap { background: var(--paper); }
.row-text .hz { font-size: 16px; }
.row-tr { display: grid; gap: 1px; }
.row-tr .hz { font-size: 15px; }
.picker { display: flex; gap: 6px; }
.pk {
  flex: 1; min-width: 0; padding: 10px 0;
  border-radius: var(--r-tile); border: 1.5px solid var(--line); background: var(--paper);
  font: 800 16px/22px var(--display); color: var(--ink); cursor: pointer;
}
.pk:hover:not(:disabled) { border-color: var(--ink-muted); }
.pk:disabled { cursor: default; }
.pk.taken { color: var(--ink-muted); }
.pk.picked { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.key-on .pk.is-answer, .revealed .pk.is-answer { background: var(--correct-soft); border-color: var(--correct); color: var(--correct-text); }
.key-on .pk.picked:not(.is-answer), .revealed .pk.picked:not(.is-answer) { background: var(--wrong-soft); border-color: var(--wrong); color: var(--wrong); }
.is-example .pk.picked { background: var(--correct-soft); border-color: var(--correct); color: var(--correct-text); }

/* Questions inside a block */
.qs { display: grid; gap: 22px; }
.q { display: grid; gap: 10px; }

/* Audio: the app's AudioCard, a 40px accent button and a 4px track. */
.ap { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.ap-btn { width: 40px; height: 40px; border-radius: var(--r-tile); border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; flex: none; }
.ap-btn:hover { background: #f6c697; }
.ap-track { flex: 1; height: 4px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; min-width: 60px; }
.ap-track::before { content: ""; position: absolute; inset: -12px 0; }
.ap-fill { position: absolute; inset: 0 auto 0 0; width: 0; min-width: 4px; border-radius: inherit; background: var(--accent); }
.ap-time { font: 800 12px var(--body); color: var(--ink-muted); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 34px; text-align: right; }

/* Transcript and key boxes */
.transcript, .keybox { gap: 10px; padding: 14px 16px; background: var(--correct-soft); border-radius: var(--r-card); border: 1.5px solid rgb(147 191 175 / 0.35); }
.transcript .eyebrow, .keybox .eyebrow { color: var(--correct-text); }
.tl { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.tl-sp { width: 26px; height: 26px; border-radius: var(--r-chip); background: rgb(147 191 175 / 0.18); color: var(--correct-text); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.tl .hz { font-size: 16px; line-height: 1.7; }
.tl-en { color: var(--ink-muted); font-size: 14px; }
.keybox .en { line-height: 1.6; }
.order-code { font: 800 22px var(--display); letter-spacing: .04em; color: var(--correct-text); }
.expl { font-size: 15px; }
.key-char { font-size: 40px; line-height: 1.2; color: var(--correct-text); font-weight: 700; }
.py-always { color: var(--ink-muted); font-size: 13px; }
.model .hz { font-size: 16px; line-height: 1.85; white-space: pre-line; }
.model .py { display: block; }

/* Character from pinyin (HSK2-3): pinyin over a raised blank, as in the app. */
.char-line { font-size: 20px; line-height: 2.4; display: flex; align-items: flex-end; flex-wrap: wrap; }
.char-slot { display: inline-grid; justify-items: center; margin: 0 4px; }
.char-py { font: 600 13px var(--body); color: var(--ink-muted); line-height: 1; margin-bottom: 4px; }
.char-input { width: 48px; height: 44px; text-align: center; font-size: 24px; background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r-chip); color: var(--ink); }
.char-input:focus { outline: none; border-color: var(--accent); }
.comp-word { font-size: 28px !important; letter-spacing: .06em; }
.comp-gap { display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; background: var(--paper); border-radius: var(--r-chip); vertical-align: -6px; color: var(--correct-text); margin: 0 2px; }

/* Writing: the app's WritingAnswerBox */
.w-prompt .hz { font-size: 17px; line-height: 1.8; }
.w-images { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.w-images.n1 { grid-template-columns: minmax(0, 420px); }
.w-images img { border-radius: var(--r-tile); width: 100%; background: var(--surface); }
.w-word { display: flex; align-items: center; gap: 10px; color: var(--ink-muted); font-size: 15px; flex-wrap: wrap; }
.word-chip { display: inline-grid; justify-items: center; padding: 6px 14px; border-radius: var(--r-tile); background: var(--highlight-soft); color: var(--highlight); }
.word-chip .hz { font-size: 20px; font-weight: 700; }
.word-chip .py { font-size: 12px; color: var(--highlight); }
.write-wrap { display: grid; gap: 6px; }
.write { width: 100%; resize: vertical; min-height: 96px; padding: 14px 16px; border-radius: var(--r-card); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 17px; line-height: 1.8; }
.write:focus { outline: none; border-color: var(--accent); }
.write::placeholder { color: #5e7385; }
.counter { justify-self: end; font: 700 12px var(--body); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.counter.ok { color: var(--correct-text); }

/* Speaking */
.s-times { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .opts-pic, .pool-pic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker { gap: 4px; }
}

/* --- Answer key ------------------------------------------------------------------------ */
.answer-key { margin-top: 72px; padding: 28px; background: var(--surface); border-radius: var(--r-dialog); border: 1px solid var(--card-edge); scroll-margin-top: 130px; }
.key-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.key-top > div { flex: 1; min-width: 240px; display: grid; gap: 4px; }
.key-top h2 { font-size: 28px; }
.key-top h2 .hz { font-family: var(--hanzi); font-weight: 700; }
.key-body { display: none; gap: 28px; margin-top: 28px; }
.answer-key.open .key-body { display: grid; }
.key-group { display: grid; gap: 12px; }
.key-group h3 { font: 700 16px var(--body); }
.key-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.key-grid li { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; background: var(--inset); border-radius: var(--r-chip); font-variant-numeric: tabular-nums; }
.kg-n { color: var(--ink-muted); font-size: 13px; font-weight: 700; }
.kg-a { font: 800 16px var(--body); color: var(--correct-text); font-family: var(--body), var(--hanzi); }
.kg-model { font-size: 11px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; }
.key-note { font-size: 14px; }

/* --- Endcap ---------------------------------------------------------------------------- */
.endcap { position: relative; isolation: isolate; margin-top: 96px; padding-block: 96px 24px; text-align: center; }
.endcap-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.endcap-art img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.endcap-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--paper), rgb(16 28 38 / 0.35) 40%, var(--paper)); }
.endcap-inner { display: grid; justify-items: center; gap: 16px; max-width: 640px; }
.endcap h2 { font-size: clamp(28px, 3.4vw, 40px); }
.endcap-medal { width: 104px; height: 104px; }
.endcap-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.footer { margin-top: 0; }

/* --- Print: the paper and its key, light on white -------------------------------------- */
@media print {
  body { background: #fff; color: #111; }
  body::before, .topbar, .secbar, .cover-art, .howto-app, .app-note, .endcap, .footer, .blk-foot, .levels, .key-top .btn { display: none !important; }
  .answer-key, .prompt-card, .clip, .opt, .ap, .key-grid li, .exbox { background: #fff !important; border-color: #bbb !important; color: #111; }
  .key-body { display: grid !important; }
  .answer-key { break-before: page; }
  .muted, .en, .py, .dir-en, .part-en { color: #555 !important; }
}
