/* CBN placement test — scoped inside #testApp */
#testApp .pt-wrap { font-family: var(--sans, 'DM Sans', system-ui, sans-serif); color: #2a1810; }
#testApp .pt-progress-wrap { margin-bottom: 1.25rem; }
#testApp .pt-progress-top { display: flex; justify-content: space-between; font-size: 0.72rem; color: #6b5040; margin-bottom: 6px; }
#testApp .pt-progress-track { height: 4px; background: #ede1cc; border-radius: 2px; overflow: hidden; }
#testApp .pt-progress-fill { height: 100%; background: #c97b3a; border-radius: 2px; transition: width 0.25s ease; }
#testApp .pt-stop-banner {
  display: none; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 1rem;
  background: #faf4ec; border: 1px solid #e8a44a; border-radius: 8px; font-size: 0.8rem; color: #6b3a2a;
}
#testApp .pt-stop-banner.show { display: flex; }
#testApp .pt-q-card { margin-bottom: 1.25rem; }
#testApp .pt-q-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
#testApp .pt-q-num { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #6b5040; }
#testApp .pt-q-format { font-size: 0.68rem; color: #999; }
#testApp .pt-q-text { font-family: var(--serif, 'Cormorant Garamond', Georgia, serif); font-size: 1.35rem; line-height: 1.4; margin-bottom: 1rem; color: #1c0f08; }
#testApp .pt-options { display: flex; flex-direction: column; gap: 8px; }
#testApp .pt-options-two .pt-opt-btn { padding: 14px 12px; }
#testApp .pt-opt-btn {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left;
  padding: 11px 12px; border: 1px solid rgba(42, 24, 16, 0.15); border-radius: 8px;
  background: #fff; cursor: pointer; font-size: 0.88rem; line-height: 1.45; color: #2a1810;
  transition: border-color 0.15s, background 0.15s;
}
#testApp .pt-opt-btn:hover:not(.locked) { border-color: #c97b3a; background: #faf4ec; }
#testApp .pt-opt-btn.selected { border-color: #c97b3a; background: #faf4ec; }
#testApp .pt-opt-btn.locked { cursor: default; opacity: 0.85; }
#testApp .pt-opt-letter {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; background: #ede1cc; color: #6b5040;
}
#testApp .pt-opt-btn.selected .pt-opt-letter { background: #c97b3a; color: #fff; }
#testApp .pt-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 1.5rem; }
#testApp .pt-nav-counter { font-size: 0.75rem; color: #6b5040; }
#testApp .pt-btn {
  border: 1px solid rgba(42, 24, 16, 0.2); background: #fff; color: #2a1810;
  border-radius: 6px; padding: 10px 18px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
#testApp .pt-btn:disabled { opacity: 0.4; cursor: not-allowed; }
#testApp .pt-btn-primary { background: #1c0f08; color: #faf4ec; border-color: #1c0f08; }
#testApp .pt-btn-secondary { background: #faf4ec; color: #1c0f08; border-color: #c97b3a; margin-bottom: 0.5rem; }
#testApp .pt-btn-primary:disabled { background: #ccc; border-color: #ccc; color: #666; }
#testApp .pt-btn-ghost { background: none; border: none; color: #6b5040; font-size: 0.78rem; cursor: pointer; text-decoration: underline; margin-top: 1rem; display: block; width: 100%; text-align: center; }
#testApp .pt-label-tag { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: #c97b3a; display: block; margin-bottom: 8px; }
#testApp .pt-result-title { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; margin: 0 0 8px; line-height: 1.2; }
#testApp .pt-result-sub { font-size: 0.88rem; color: #6b5040; margin-bottom: 1.25rem; }
#testApp .pt-result-card { background: #faf4ec; border: 1px solid #e8a44a; border-radius: 10px; padding: 1.25rem; margin-bottom: 1rem; }
#testApp .pt-result-level { font-family: var(--serif); font-size: 2rem; color: #1c0f08; margin-bottom: 12px; }
#testApp .pt-result-level em { font-style: italic; color: #c97b3a; }
#testApp .pt-score-row { display: flex; gap: 2rem; margin-bottom: 1rem; }
#testApp .pt-score-num { font-size: 1.5rem; font-weight: 600; color: #1c0f08; }
#testApp .pt-score-lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: #6b5040; }
#testApp .pt-group-box { border-top: 1px solid rgba(201, 123, 58, 0.3); padding-top: 12px; }
#testApp .pt-group-label { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; color: #6b5040; margin-bottom: 4px; }
#testApp .pt-group-name { font-size: 1rem; font-weight: 600; color: #1c0f08; margin-bottom: 6px; }
#testApp .pt-group-desc { font-size: 0.82rem; line-height: 1.55; color: #6b5040; }
#testApp .pt-result-note { font-size: 0.78rem; color: #6b5040; margin-bottom: 1rem; line-height: 1.5; }
#testApp .pt-opt-btn.correct { background: #eaf6ee; border-color: #5aaa78; color: #1a4a2e; }
#testApp .pt-opt-btn.wrong { background: #fbeaea; border-color: #cc5555; color: #4a1a1a; }
#testApp .pt-opt-btn.correct .pt-opt-letter { background: #5aaa78; color: #fff; }
#testApp .pt-opt-btn.wrong .pt-opt-letter { background: #cc5555; color: #fff; }
#testApp .pt-feedback { display: none; margin-top: 12px; font-size: 0.82rem; padding: 8px 12px; border-radius: 8px; line-height: 1.55; }
#testApp .pt-feedback.show { display: block; }
#testApp .pt-feedback.ok { background: #eaf6ee; color: #1a4a2e; border-left: 3px solid #5aaa78; }
#testApp .pt-feedback.ko { background: #fbeaea; color: #4a1a1a; border-left: 3px solid #cc5555; }
#testApp .pt-feedback-icon { font-weight: 600; margin-right: 4px; }
#testApp .pt-breakdown { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 1rem; }
#testApp .pt-breakdown-pill { font-size: 0.72rem; padding: 4px 12px; border-radius: 99px; background: #faf4ec; border: 1px solid #e8a44a; color: #6b5040; }
