/* Common-sense test and guest quiz (test.html, quiz.html). Builds on kp.css.
   Inside the town workbench the page draws one header row: name, attempt timer, 任务, ×. */
.exam-head[hidden],
.exam-head-meta[hidden],
.kp-btn[hidden] { display: none; }
.exam-head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  box-sizing: border-box;
  padding: 8px 14px 8px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.exam-head-name {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.exam-head-meta { display: flex; flex: none; align-items: center; gap: 8px; }
/* The question view's own strip keeps progress only; its timer moved into the header. */
html.kp-workbench #view-quiz .kp-quiz-header { padding: 12px 0; }

@media (max-width: 560px) {
  .exam-head { gap: 8px; min-height: 52px; padding: 6px 10px 6px 16px; }
  .exam-head-name { font-size: 16px; }
}
