.kp-breadcrumb {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.kp-breadcrumb a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}

.ta-hero {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr);
  gap: 20px;
  align-items: start;
}

.ta-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(23px, 3vw, 31px);
  color: #1e1b4b;
  line-height: 1.25;
}

.ta-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
}

.ta-pill.is-free {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.ta-scope-box {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 14px;
  padding: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #134e4a;
}

.ta-scope-box p {
  margin: 6px 0 0;
}

.ta-card {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.ta-bar-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ta-band-chip {
  display: inline-block;
  margin-top: 5px;
  background: #f5f3ff;
  color: var(--purple);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.ta-timer-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 14px;
}

.ta-ghost-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
}

.ta-prog-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 10px;
}

.ta-prog-bar {
  height: 100%;
  background: var(--purple);
  transition: width 0.2s ease;
}

.ta-counter {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.ta-q-prompt {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.5;
  color: #0f172a;
}

.ta-opts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ta-opt-btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 15px;
  line-height: 1.45;
  color: #1e293b;
  cursor: pointer;
}

.ta-opt-btn:hover {
  border-color: var(--purple);
  background: #faf7ff;
}

.ta-opt-btn.is-selected {
  border-color: var(--purple);
  background: #f3e8ff;
  font-weight: 700;
}

.ta-mid-actions {
  margin-top: 12px;
}

.ta-skip-btn {
  border: 1px dashed #94a3b8;
  background: #f8fafc;
  color: #475569;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.ta-skip-btn.is-selected {
  border-color: #d97706;
  background: #fffbeb;
  color: #92400e;
}

.ta-nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.ta-qdots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.ta-qdot {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
}

.ta-qdot.is-answered {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #065f46;
}

.ta-qdot.is-skipped {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}

.ta-qdot.is-current {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.25);
}

.ta-result-box {
  margin-top: 20px;
  background: #ffffff;
  border: 2px solid var(--purple);
  border-radius: 18px;
  padding: 22px;
}

.ta-band-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.ta-band-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
}

.ta-print-sheet {
  margin-top: 14px;
  background: #f0fdfa;
  border: 1.5px solid #0f766e;
  border-radius: 14px;
  padding: 18px;
}

@media (max-width: 820px) {
  .ta-hero,
  .ta-opts-grid {
    grid-template-columns: 1fr;
  }
  .ta-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  header,
  nav,
  #vc00-top-ribbon,
  #vc00-top-bar,
  #ta-quiz-section,
  .kp-vdh-spotlight {
    display: none !important;
  }
  .ta-result-box {
    border: 0 !important;
    padding: 0 !important;
  }
}
