/* Академия DK — стили сайта. Тёмная тема в тон студии, акцент — фирменный оранжевый #e8551f. */
:root {
  --bg: #0f0f10;
  --panel: #17171a;
  --panel2: #1e1e22;
  --line: #2a2a30;
  --line2: #3a3a42;
  --text: #ececef;
  --muted: #a3a3ad;
  --muted2: #7c7c86;
  --acc: #e8551f;
  --acc-text: #ff8a5c;
  --ok: #4cc38a;
  --ok-bg: #12301f;
  --warn: #e5b454;
  --warn-bg: #33280f;
  --err: #ff6b6b;
  --err-bg: #3a1717;
  --r: 8px;
  --r-lg: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
a {
  color: var(--acc-text);
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.top-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}
main:focus,
main:focus-visible {
  outline: none;
}
h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 6px;
  text-wrap: balance;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}
p {
  line-height: 1.55;
  margin: 0 0 10px;
  text-wrap: pretty;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.pad {
  padding: 24px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--r);
  border: 1px solid var(--line2);
  background: var(--panel2);
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}
.btn:hover {
  border-color: #55555f;
}
.btn.primary {
  background: var(--acc);
  border-color: var(--acc);
  color: #fff;
}
.btn.primary:hover {
  background: #f0662f;
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn.ghost:hover {
  color: var(--text);
  border-color: var(--line2);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn.sm {
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
}
.oi {
  flex: none;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field label,
.field .lbl {
  font-size: 13px;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: var(--r);
  border: 1px solid var(--line2);
  background: var(--panel);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.err {
  color: var(--err);
  font-size: 13px;
  min-height: 1.2em;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
}
.narrow {
  max-width: 420px;
  margin: 48px auto;
}
/* карточки ступеней */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-height: 170px;
}
.stage.is-open {
  border-color: var(--acc);
}
.stage.is-locked,
.stage.is-waiting {
  opacity: 0.62;
}
a.stage:hover {
  border-color: #55555f;
}
a.stage.is-open:hover {
  border-color: #f0662f;
}
.stage-n {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.stage-t {
  font-weight: 600;
  font-size: 16px;
}
.stage-d {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--panel2);
  color: var(--muted);
  width: fit-content;
}
.pill.ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.pill.warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.pill.err {
  background: var(--err-bg);
  color: var(--err);
}
.pill.acc {
  background: #3a1d10;
  color: var(--acc-text);
}
.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 14px;
  min-width: 150px;
}
.stat b {
  display: block;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
/* ступень */
.steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}
.step {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}
.step[aria-current="step"] {
  border-color: var(--acc);
  color: var(--text);
}
.step.done {
  color: var(--ok);
}
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
/* урок */
.lesson {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 860px) {
  .lesson {
    grid-template-columns: minmax(0, 1fr);
  }
}
.lesson.big {
  grid-template-columns: minmax(0, 1fr);
}
.lesson.big .legend {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.shot {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line2);
  background: #000;
  line-height: 0;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.shot svg.arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mark {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--acc);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mark.hl,
.mark:hover {
  background: #fff;
  color: var(--acc);
}
.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legend li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 8px;
  border-radius: var(--r);
  border: 1px solid transparent;
}
.legend li.hl {
  border-color: var(--acc);
  background: var(--panel2);
}
.legend .num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--acc);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.legend b {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.legend span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.lesson-text {
  margin: 14px 0 0;
}
.warn-box {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--err-bg);
  border: 1px solid color-mix(in srgb, var(--err) 55%, transparent);
}
.warn-ico {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: color-mix(in srgb, var(--err) 75%, #000);
}
.warn-box b {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  color: #fff;
}
.warn-box p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #f3d6d6;
}
.retake {
  margin: 14px 0;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--warn-bg);
  border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent);
  max-width: 420px;
}
.retake-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--warn);
}
.retake-t {
  margin: 6px 0 10px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.retake-bar {
  height: 6px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--warn) 20%, transparent);
  overflow: hidden;
}
.retake-bar span {
  display: block;
  height: 100%;
  background: var(--warn);
  transition: width 1s linear;
}
.retake p {
  margin: 10px 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .retake-bar span {
    transition: none;
  }
}
.task-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}
.task-files .btn {
  text-decoration: none;
}
.shots {
  border: 1px dashed var(--line2);
  border-radius: var(--r);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shots.drag {
  border-color: var(--acc);
  background: var(--panel2);
}
.shots.locked {
  border-style: solid;
}
.shots .row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.shots-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shots-list:empty {
  display: none;
}
.shot-thumb {
  position: relative;
  display: block;
  width: 132px;
  height: 88px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line2);
  background: #000;
}
.shot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shot-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.why-lead {
  margin: 6px 0 18px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  max-width: 70ch;
  text-wrap: pretty;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 12px;
}
.why-block {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
}
.why-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.why-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--acc-text);
  background: color-mix(in srgb, var(--acc) 16%, transparent);
}
.why-key {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--acc);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  text-wrap: pretty;
}
.why-text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.why-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.why-list b {
  color: var(--text);
  font-weight: 600;
}
.dont {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--r);
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 13px;
}
.screen-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line2);
}
.dots i.done {
  background: var(--ok);
}
.dots i.cur {
  background: var(--acc);
}
/* зачёт */
.q {
  margin-bottom: 16px;
}
.q-h {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.q-t {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.45;
}
.opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line2);
  border-radius: var(--r);
  margin-bottom: 8px;
  cursor: pointer;
  line-height: 1.45;
}
.opt input {
  margin-top: 3px;
  accent-color: var(--acc);
}
.opt.right {
  border-color: var(--ok);
  background: var(--ok-bg);
}
.opt.wrong {
  border-color: var(--err);
  background: var(--err-bg);
}
.opt-tag {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.opt.right .opt-tag,
.right > .opt-tag {
  color: var(--ok);
}
.opt.wrong .opt-tag,
.wrong > .opt-tag {
  color: var(--err);
}
.hot:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}
.order-row,
.match-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line2);
  border-radius: var(--r);
  margin-bottom: 8px;
}
.order-row > span:not(.grip),
.match-row > span {
  flex: 1;
  line-height: 1.4;
}
.match-row select {
  max-width: 55%;
  min-height: 34px;
  border-radius: var(--r);
  background: var(--panel2);
  border: 1px solid var(--line2);
  padding: 4px 8px;
}
/* варианты сопоставления — полные фразы: на узком экране список уходит под ситуацию во всю ширину, текст не режется */
@media (max-width: 640px) {
  .match-row {
    flex-wrap: wrap;
  }
  .match-row span {
    flex-basis: 100%;
  }
  .match-row select {
    max-width: none;
    width: 100%;
  }
}
/* перетаскивание шагов: строка едет за указателем, соседи плавно уступают место (app.js renderQuestion order) */
.order-row.movable {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  background: var(--panel);
}
.order-list.sorting .order-row {
  transition: transform 0.15s ease;
}
.order-list.sorting .order-row.dragging {
  transition: none;
  z-index: 2;
  cursor: grabbing;
  border-color: var(--acc);
  background: var(--panel2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.grip {
  flex: none;
  display: grid;
  place-items: center;
  color: var(--muted2);
  touch-action: none;
  cursor: grab;
  padding: 2px;
  margin-left: -2px;
}
@media (prefers-reduced-motion: reduce) {
  .order-list.sorting .order-row {
    transition: none;
  }
}
.order-row.right,
.match-row.right {
  border-color: var(--ok);
}
.order-row.wrong,
.match-row.wrong {
  border-color: var(--err);
}
.hot {
  cursor: crosshair;
}
.hot-pt {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--acc);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hot-rect {
  position: absolute;
  border: 2px solid var(--ok);
  border-radius: 6px;
  pointer-events: none;
}
.verdict {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--r);
  font-size: 14px;
  line-height: 1.5;
}
.verdict.ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.verdict.bad {
  background: var(--err-bg);
  color: var(--err);
}
.codebox {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px;
  border: 1px dashed var(--acc);
  border-radius: var(--r-lg);
  margin: 12px 0;
}
.codebox .code {
  font-size: 22px;
}
/* таблицы админки */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}
td.num {
  font-variant-numeric: tabular-nums;
}
.table-wrap {
  overflow-x: auto;
}
.sub {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px;
  margin-bottom: 10px;
}
.sub pre {
  white-space: pre-wrap;
  font: inherit;
  margin: 4px 0 8px;
  line-height: 1.5;
  color: var(--text);
}
.row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: var(--r);
  background: var(--panel2);
  border: 1px solid var(--line2);
  font-size: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .toast {
    transition: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- отчёт студента (руководитель) ---------- */
.rep-verdict {
  border-left: 4px solid var(--line2);
}
.rep-verdict.v-ok {
  border-left-color: var(--ok);
}
.rep-verdict.v-warn {
  border-left-color: var(--warn);
}
.rep-verdict.v-err {
  border-left-color: var(--err);
}
.rep-verdict.v-acc {
  border-left-color: var(--acc);
}
.rep-verdict h2 {
  margin-top: 0;
}
.rep-verdict-text {
  font-size: 1.15rem;
  font-weight: 600;
  text-wrap: pretty;
}
.rep-hl {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.rep-hl li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 8px 10px;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
}
.rep-hl li > span:last-child {
  flex: 1 1 260px;
}
.rep-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 24px;
}
.rep-list {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.rep-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 24px;
}
.rep-score-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.rep-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--panel2);
  overflow: hidden;
}
.rep-fill {
  display: block;
  height: 100%;
  background: var(--muted2);
}
.rep-fill.ok {
  background: var(--ok);
}
.rep-fill.warn {
  background: var(--warn);
}
.rep-fill.err {
  background: var(--err);
}
.rep-metrics th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.rep-stage {
  margin: 10px 0;
}
.rep-stage > summary {
  cursor: pointer;
}
.rep-stage h3 {
  margin: 16px 0 8px;
}
.rep-attempt {
  margin: 6px 0;
}
.rep-attempt > summary {
  cursor: pointer;
}
.rep-answers {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: grid;
  gap: 6px;
}
.rep-answers li {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
}
.rep-answers li.bad {
  border-color: var(--err);
  background: var(--err-bg);
}
.rep-mark {
  font-weight: 700;
  width: 1.2em;
  flex: none;
}
.rep-answers li.ok .rep-mark {
  color: var(--ok);
}
.rep-answers li.bad .rep-mark {
  color: var(--err);
}
.rep-version {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 8px;
}
.rep-field {
  margin: 6px 0;
}
.rep-review {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: var(--r);
}
.rep-review.rv-ok {
  background: var(--ok-bg);
}
.rep-review.rv-ret {
  background: var(--err-bg);
}
.rep-video {
  width: 280px;
  max-width: 100%;
  border-radius: var(--r);
  background: #000;
}
.rep-mark svg {
  width: 16px;
  height: 16px;
  display: block;
}
.rep-score-head b {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.rep-hl li .pill,
.rep-review .pill,
.sub .head-row .pill,
td .pill {
  white-space: nowrap;
  margin-right: 6px;
}
.rep-review .pill.err {
  background: var(--panel);
}
.due-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}
@media (max-width: 520px) {
  .due-box {
    align-items: flex-start;
    text-align: left;
  }
  .top {
    position: static;
    flex-wrap: wrap;
  }
  .top .brand {
    white-space: nowrap;
  }
}
/* печать отчёта: светлая палитра (тёмные фоны браузер выбрасывает, и серый текст выходит бледным), полосы оценок и
   плашки печатаются цветом */
@media print {
  :root {
    --bg: #fff;
    --panel: #fff;
    --panel2: #eee;
    --line: #ccc;
    --line2: #bbb;
    --text: #111;
    --muted: #444;
    --muted2: #666;
    --ok-bg: #e6f4ec;
    --err-bg: #fbe9e9;
    --warn-bg: #fbf3df;
    --acc-text: #a33a10;
    --ok: #1e7a4c;
    --err: #b3261e;
    --warn: #8a6100;
  }
  body {
    background: #fff;
    color: #111;
  }
  .no-print,
  #topNav,
  .top {
    display: none !important;
  }
  .rep-fill,
  .pill,
  .rep-review,
  .rep-answers li {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .rep-stage {
    break-inside: avoid-page;
  }
}
.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 6px 0 10px;
  cursor: pointer;
  color: var(--muted);
}
.check input {
  margin-top: 2px;
  accent-color: var(--err);
}
.att-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
