body.neuroege-python-task2-page.libreoffice-page-task9[data-neuroege-hf-variant-list-only="1"] .libreoffice-task9-page .task-solve__right {
  overflow: hidden;
  overflow-x: hidden;
  min-height: 0;
}
body.neuroege-python-task-hf-enhanced-page.libreoffice-page-hf-task-list.hf-variant-list-expanded:not(.hf-game-hub-split-active) .hf-variants-nav {
  height: auto !important;
  max-height: 40vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
}
body.neuroege-python-task-hf-enhanced-page.libreoffice-page-hf-task-list[data-neuroege-hf-variant-list-only="1"] .neuroege-progress-panel,
body.neuroege-python-task-hf-enhanced-page.libreoffice-page-hf-task-list[data-neuroege-hf-variant-list-only="1"] .hf-variants-shell {
  flex-shrink: 0;
}
body.neuroege-python-task-hf-enhanced-page.libreoffice-page-hf-task-list[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.65rem;
}
/* Проверить / Трассировка — дополнение к variant_exam_answer_row_parity.css */
html.has-answer-row-parity #task-answer-section:not([hidden]) .python-sandbox__action--check-answer {
  border-color: rgba(52, 211, 153, 0.45);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 120, 85, 0.18) 100%);
  color: #6ee7b7;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.16),
    0 6px 18px rgba(16, 185, 129, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html.has-answer-row-parity #task-answer-section:not([hidden]) .python-sandbox__action--check-answer:hover {
  border-color: rgba(52, 211, 153, 0.68);
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.46) 0%, rgba(5, 150, 105, 0.3) 100%);
  color: #a7f3d0;
  box-shadow:
    0 5px 0 rgba(0, 0, 0, 0.12),
    0 10px 24px rgba(16, 185, 129, 0.32),
    0 0 0 1px rgba(52, 211, 153, 0.28);
}
html.has-answer-row-parity #task-answer-section:not([hidden]) .python-sandbox__action--check-answer.is-correct {
  border-color: rgba(52, 211, 153, 0.72);
  color: #34d399;
}
html.has-answer-row-parity #task-answer-section:not([hidden]) .python-sandbox__action--check-answer.is-incorrect {
  border-color: rgba(248, 113, 113, 0.58);
  background: linear-gradient(165deg, rgba(239, 68, 68, 0.28) 0%, rgba(153, 27, 27, 0.16) 100%);
  color: #fca5a5;
}
html.has-answer-row-parity #task-answer-section:not([hidden]) .python-sandbox__action--trace {
  border-color: rgba(96, 165, 250, 0.45);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, rgba(37, 99, 235, 0.28) 0%, rgba(30, 58, 138, 0.18) 100%);
  color: #93c5fd;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.16),
    0 6px 18px rgba(37, 99, 235, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html.has-answer-row-parity #task-answer-section:not([hidden]) .python-sandbox__action--trace:hover {
  border-color: rgba(96, 165, 250, 0.65);
  background: linear-gradient(165deg, rgba(37, 99, 235, 0.44) 0%, rgba(29, 78, 216, 0.28) 100%);
  color: #bfdbfe;
  box-shadow:
    0 5px 0 rgba(0, 0, 0, 0.12),
    0 10px 24px rgba(37, 99, 235, 0.3),
    0 0 0 1px rgba(96, 165, 250, 0.26);
}
