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

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

.kp-breadcrumb a:hover {
  text-decoration: underline;
}

.hn-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;
}

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

.hn-hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

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

.hn-note-box strong {
  display: block;
  margin-bottom: 6px;
}

.hn-note-box p {
  margin: 0;
}

.hn-section {
  margin-top: 32px;
}

.hn-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 16px;
}

.hn-section-head h2 {
  margin: 6px 0 4px;
  font-size: clamp(20px, 2.4vw, 25px);
  color: #1e1b4b;
}

.hn-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}

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

.hn-pill.is-code {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
}

.hn-pill.is-vip {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.hn-mode-switch {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.hn-mode-btn {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
}

.hn-mode-btn.is-active {
  background: #ffffff;
  color: var(--purple);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.hn-quiz-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.hn-quiz-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hn-badge {
  background: #f5f3ff;
  color: var(--purple);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
}

.hn-group-hint {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.hn-btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

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

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

.hn-q-text {
  margin: 0 0 16px;
  font-size: 18.5px;
  line-height: 1.45;
  color: #0f172a;
}

.hn-scale-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.hn-scale-btn {
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.hn-scale-btn strong {
  font-size: 17px;
  color: #0f172a;
}

.hn-scale-btn.is-selected {
  border-color: var(--purple);
  background: #f3e8ff;
  color: var(--purple);
}

.hn-scale-btn.is-selected strong {
  color: var(--purple);
}

.hn-quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

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

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

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

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

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

.hn-res-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 14px;
}

.hn-bar-row {
  display: grid;
  grid-template-columns: 165px 1fr 48px;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hn-bar-track {
  height: 11px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.hn-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.hn-dual-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0 10px;
}

.hn-dual-btn {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.hn-dual-btn.is-active {
  background: #f5f3ff;
  border-color: var(--purple);
  color: var(--purple);
}

.hn-l10-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
  gap: 18px;
}

.hn-l10-form,
.hn-l10-output {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.hn-field {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.hn-field select {
  margin-top: 8px;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #f8fafc;
}

.hn-subj-checks {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.hn-field-title {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.hn-warn-box {
  margin-top: 12px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #78350f;
}

.hn-search {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  min-width: 240px;
}

.hn-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hn-filter-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.hn-filter-btn.is-active {
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
}

.hn-careers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hn-career-card,
.hn-pair-card,
.hn-print-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.hn-career-card h3,
.hn-pair-card h3,
.hn-print-card h3 {
  margin: 6px 0 8px;
  font-size: 16.5px;
  color: #1e1b4b;
}

.hn-career-card p {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
}

.hn-pairs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hn-pair-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.hn-pair-side {
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.hn-print-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hn-print-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.hn-print-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.hn-print-sheet {
  margin-top: 16px;
  background: #ffffff;
  border: 2px solid #0f766e;
  border-radius: 16px;
  padding: 24px;
}

@media (max-width: 960px) {
  .hn-hero,
  .hn-res-layout,
  .hn-l10-grid,
  .hn-careers-grid,
  .hn-pairs-grid,
  .hn-print-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hn-scale-grid {
    grid-template-columns: 1fr;
  }
  .hn-pair-cols {
    grid-template-columns: 1fr;
  }
  .hn-bar-row {
    grid-template-columns: 120px 1fr 44px;
  }
}

@media print {
  header,
  nav,
  #vc00-top-ribbon,
  #vc00-top-bar,
  #holland-quiz,
  #to-hop-lop-10,
  #ho-so-nghe,
  #so-sanh-nganh,
  .hn-print-grid,
  .kp-vdh-spotlight {
    display: none !important;
  }
  .hn-print-sheet {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
