/* MP-WEB-BASE-05：旧版高频页触控热区、输入字号、hover 替代。不含后台管理页。 */

:root {
  --ct-touch-min: 44px;
  --ct-touch-choice: 52px;
  --ct-input-min-size: 16px;
}

@media (max-width: 767px) {
  input.form-control,
  select.form-select,
  textarea.form-control,
  .form-control,
  .form-select,
  textarea {
    font-size: var(--ct-input-min-size) !important;
  }
}

@media (max-width: 1180px) {
  .btn,
  .btn-sm,
  .page-link,
  .pagination .page-link,
  .pe-pagination a,
  .pe-pagination span,
  .pe-back,
  .ct-aq-export-actions .btn,
  .web-review-nav__export,
  .pagination-sm .page-link,
  .dropdown-menu .dropdown-item,
  table .btn,
  table .btn-sm {
    box-sizing: border-box;
    min-height: var(--ct-touch-min);
  }

  .pagination .page-link,
  .pe-pagination a,
  .pe-pagination span,
  table .btn,
  table .btn-sm,
  .ct-aq-export-actions .btn {
    min-width: var(--ct-touch-min);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* 触屏没有 hover：表格行内编辑/删除/更多保持可见 */
  table tr .btn,
  table tr .dropdown,
  .table .btn-group,
  .list-group-item .btn {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

.web-review-session-page .single-option,
.web-review-session-page .option-card.single-option,
.ppdf-memorize-question-card__confidence button {
  box-sizing: border-box;
  min-height: var(--ct-touch-choice);
}
