/**
 * 仅在 JS 打上 wpsxep-math-pending 后短暂隐藏，避免未排版时整页空白。
 * 默认可见；排版完成加 wpsxep-math-ready 后保持显示。
 */
.wpsxep-math-pending:not(.wpsxep-math-ready) {
  visibility: hidden;
}

/* 后台题库「题干/解析/选项」实时预览：不隐藏，避免排版失败时只剩公式、中文消失 */
.wpsxep-latex-preview.wpsxep-math-pending:not(.wpsxep-math-ready),
.wpsxep-latex-preview,
.wpsxep-preview-option-list .wpsxep-opt-text,
.wpsxep-preview-option-list .wpsxep-opt-text.wpsxep-math-pending:not(.wpsxep-math-ready) {
  visibility: visible;
}
