/* ОГЭ: строка действий (#task-answer-section) — кнопки и шрифты на 25% компактнее */

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .libreoffice-hf-answer-actions-row__row {
  gap: 0.525rem;
  row-gap: 0.49rem;
}

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .libreoffice-hf-answer-tools-group,
body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .libreoffice-task2-answer-explain-tools {
  gap: 0.34rem;
}

body.variant-exam-body--oge.libreoffice-page-task9
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .libreoffice-hf-action-btn,
body.variant-exam-body--oge.libreoffice-page-task9
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  a.libreoffice-hf-action-btn,
body.variant-exam-body--oge.libreoffice-page-task9
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .task-answer-peek,
body.variant-exam-body--oge.libreoffice-page-task9
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .python-sandbox__action,
body.variant-exam-body--oge.libreoffice-page-task9
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .neuroege-ai-chat__fab--inline.libreoffice-hf-action-btn {
  padding: 0.36rem 0.7125rem;
  font-size: 0.6rem;
  gap: 0.3rem;
}

body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .libreoffice-hf-action-btn,
body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  a.libreoffice-hf-action-btn,
body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .task-answer-peek,
body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .python-sandbox__action,
body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .neuroege-ai-chat__fab--inline.libreoffice-hf-action-btn {
  min-height: 2.1375rem;
  padding: 0.51rem 0.975rem;
  font-size: 0.703rem;
  gap: 0.4125rem;
  border-width: 1.125px;
}

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .libreoffice-hf-action-btn__icon,
body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .neuroege-ai-chat__fab-icon,
body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .neuroege-ai-agent-btn__icon {
  font-size: 0.75rem;
}

body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .libreoffice-hf-action-btn__icon,
body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .neuroege-ai-chat__fab-icon {
  font-size: 0.8625rem;
}

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .libreoffice-hf-action-btn__img {
  width: 13.5px;
  height: 13.5px;
}

body.variant-exam-body--oge
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .python-sandbox__action--video-author
  .libreoffice-hf-action-btn__img--author {
  width: 2.4rem;
  height: 2.4rem;
  max-width: none;
  max-height: none;
}

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .task-answer-peek__icon,
body.variant-exam-body--oge
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .python-sandbox__action--show-solution
  .task-answer-peek__icon {
  width: 1.3875rem;
  height: 1.3875rem;
}

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .task-answer-peek__icon::before,
body.variant-exam-body--oge
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .python-sandbox__action--show-solution
  .task-answer-peek__icon::before {
  font-size: 0.84rem;
}

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .libreoffice-hf-action-btn--duty-teacher {
  height: 2.1375rem;
  min-height: 2.1375rem;
  max-height: 2.1375rem;
  padding: 0.51rem 0.975rem;
}

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .libreoffice-hf-action-btn--duty-teacher .libreoffice-hf-action-btn__icon {
  width: 1.3875rem;
  height: 1.3875rem;
}

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .libreoffice-hf-action-btn--duty-teacher .duty-teacher-btn-icon--oge {
  width: 1.9125rem;
  height: 1.9125rem;
}

body.variant-exam-body--oge #task-answer-section .libreoffice-hf-answer-actions-row .duty-teacher-btn-icon__img {
  width: 31px;
  height: 31px;
}

body.variant-exam-body--oge.libreoffice-page-task9
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .libreoffice-hf-action-btn:hover,
body.variant-exam-body--oge.libreoffice-page-task9
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  a.libreoffice-hf-action-btn:hover,
body.variant-exam-body--oge.libreoffice-page-task9
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .neuroege-ai-chat__fab--inline.libreoffice-hf-action-btn:hover {
  transform: translateY(-0.75px);
}

body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .libreoffice-hf-action-btn:hover,
body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  a.libreoffice-hf-action-btn:hover {
  transform: translateY(-2.25px);
}

body.variant-exam-body--oge:not(.libreoffice-page-task9)
  #task-answer-section
  .libreoffice-hf-answer-actions-row
  .libreoffice-hf-action-btn:active {
  transform: translateY(1.5px);
}
