/* 实训闯关顶栏 · 与 pt-app__bar 同款浅色 */
.pt-app--challenge.pt-app--immersive .pt-app__bar {
  display: none;
}
.pt-app--challenge,
.pt-app--challenge .pt-app__workspace {
  height: 100vh;
  overflow: hidden;
  background: #f4f7fb;
}
.pt-challenge-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  font-family: var(--ff-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
}
.pt-challenge-app .top-bar {
  height: 56px !important;
  flex-shrink: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 0 16px !important;
  background: #fff !important;
  color: #17233b !important;
  border-bottom: 1px solid #e4eaf3 !important;
  box-shadow: none !important;
}
.pt-challenge-app .top-bar-left {
  min-width: 0;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.pt-challenge-app .back-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid #e4eaf3 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #536176 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.pt-challenge-app .back-btn:hover,
.pt-challenge-app .back-btn:focus,
.pt-challenge-app .back-btn:active,
.pt-challenge-app .back-btn:visited {
  background: #f5f8ff !important;
  border-color: #0053c9 !important;
  color: #0053c9 !important;
  transform: none !important;
  text-decoration: none !important;
}
.pt-challenge-app .challenge-title {
  overflow: hidden !important;
  color: #17233b !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  letter-spacing: -.01em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.pt-challenge-app .top-bar-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}
.pt-challenge-app .run-btn,
.pt-challenge-app .submit-btn {
  height: 34px !important;
  padding: 0 14px !important;
  border: 1px solid #e4eaf3 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #334055 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transform: none !important;
}
.pt-challenge-app .run-btn:hover,
.pt-challenge-app .submit-btn:hover {
  background: #f5f8ff !important;
  border-color: #c5d7ff !important;
  color: #0053c9 !important;
  transform: none !important;
  box-shadow: none !important;
}
.pt-challenge-app .run-btn[style],
.pt-challenge-app #answerBtn {
  background: #fff !important;
  border-color: #e4eaf3 !important;
  color: #334055 !important;
}
.pt-challenge-app .submit-btn {
  background: #0053c9 !important;
  border-color: #0053c9 !important;
  color: #fff !important;
}
.pt-challenge-app .submit-btn:hover {
  background: #205ce8 !important;
  border-color: #205ce8 !important;
  color: #fff !important;
}
.pt-challenge-app .challenge-container {
  flex: 1;
  min-height: 0;
  height: auto !important;
}
.pt-challenge-app .panel-header {
  background: #f7fafc !important;
  font-weight: 750 !important;
}
.pt-challenge-app .section-title {
  color: #0053c9 !important;
}
.pt-challenge-app .left-panel {
  border-right-color: #e4eaf3 !important;
}
@media (max-width: 900px) {
  .pt-challenge-app .challenge-title { max-width: 120px; }
  .pt-challenge-app .back-btn { padding: 0 10px !important; }
}
