/* Topic name next to the question number (free practice page and full question bank) */
.qp-num-wrap { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.qp-num-topic {
  display: inline-block; max-width: 100%; padding: 2px 9px;
  border: 1px solid var(--accent-line, #f4acb0); border-radius: 3px;
  background: var(--accent-soft, #fdf1f2); color: var(--accent, #c8102e);
  font-size: 12.5px; font-weight: 500; line-height: 1.5; text-decoration: none;
  overflow-wrap: anywhere;
}
.qp-num-topic:hover { background: var(--accent, #c8102e); border-color: var(--accent, #c8102e); color: #fff; }
.qp-card-head { flex-wrap: wrap; row-gap: 8px; }

/* "All questions" link at the top of the Topics list (full question bank page) */
.qp-rail .qp-topics-list li.qp-topics-all { margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid var(--line, #e1e4e5); }
.qp-rail .qp-topics-list li.qp-topics-all .qp-topics-name { font-weight: 500; }
