﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #ebe8e3;
  color: #242424;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #0000d2;
  color: white;
  padding: 18px 32px;
  flex-shrink: 0;
}

header h1 {
  font-size: 1.4rem;
  font-weight: 700;
}

header p {
  font-size: 0.88rem;
  opacity: 0.82;
  margin-top: 3px;
}

.layout {
  display: flex;
  flex: 1;
  gap: 0;
}

.left-panel {
  width: 420px;
  min-width: 340px;
  flex-shrink: 0;
  padding: 24px 20px;
  border-right: 1px solid #dccfc2;
  background: #ebe8e3;
  overflow-y: auto;
}

.right-panel {
  flex: 1;
  padding: 24px 20px;
  overflow-y: auto;
  background: #f7f5f2;
}

.progress-wrap {
  margin-bottom: 18px;
}

.progress-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #747474;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.progress-bar {
  background: #dccfc2;
  border-radius: 99px;
  height: 5px;
}

.progress-fill {
  background: #0000d2;
  height: 5px;
  border-radius: 99px;
  transition: width 0.4s ease;
}

.question-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question-step {
  background: white;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  transition:
    border 0.2s,
    opacity 0.2s;
}

.question-step.answered {
  border-color: #0000d2;
}

.question-step.skipped {
  border-color: #dccfc2;
  opacity: 0.6;
}

.q-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.q-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ebe8e3;
  color: #747474;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.question-step.answered .q-badge {
  background: #0000d2;
  color: white;
}

.question-step.skipped .q-badge {
  background: #dccfc2;
  color: white;
}

.q-text {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.choice-btn {
  border: 2px solid #dccfc2;
  background: white;
  border-radius: 9px;
  padding: 10px 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  font-family: inherit;
}

.choice-btn:hover {
  border-color: #0000d2;
  background: #f0f0ff;
}

.choice-btn.selected {
  border-color: #0000d2;
  background: #0000d2;
  color: white;
}

.choice-btn .letter {
  font-size: 1.2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 3px;
}

.choice-btn .label {
  font-size: 0.74rem;
  line-height: 1.3;
}

.q-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.q-link {
  font-size: 0.75rem;
  color: #747474;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.q-link:hover {
  color: #0000d2;
}

.q-link.undo {
  color: #0000d2;
}

.q-link.undo:hover {
  color: #000099;
}

.right-header {
  margin-bottom: 14px;
}

.right-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
}

.right-header p {
  font-size: 0.8rem;
  color: #747474;
  margin-top: 2px;
}

/* â”€â”€ Tab bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #dccfc2;
  margin-bottom: 14px;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 6px 16px 8px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #747474;
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s;
}

.tab-btn:hover {
  color: #0000d2;
}

.tab-btn.active {
  color: #0000d2;
  border-bottom-color: #0000d2;
}

/* â”€â”€ Info / explanation panel â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.info-section {
  background: white;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.info-section h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0000d2;
  margin-bottom: 8px;
}

.info-section p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #3a3a3a;
}

.info-section p + p {
  margin-top: 6px;
}

.info-list {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-list li {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #3a3a3a;
  padding-left: 14px;
  position: relative;
}

.info-list li::before {
  content: "\25B8";
  position: absolute;
  left: 0;
  color: #0000d2;
  font-size: 0.7rem;
  top: 2px;
}

.info-example {
  margin-top: 10px;
  background: #f9f7f5;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-example--formula {
  gap: 8px;
}

.info-ex-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.ex-badge {
  display: inline-block;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.ex-badge.sel {
  background: #d4edda;
  color: #1a7a3c;
}

.ex-badge.skip {
  background: #ebe8e3;
  color: #747474;
}

.ex-arrow {
  color: #747474;
  font-size: 0.8rem;
}

.formula {
  font-family: "Courier New", monospace;
  font-size: 0.81rem;
  background: #ebe8e3;
  padding: 6px 10px;
  border-radius: 6px;
  display: block;
}

.formula em {
  color: #747474;
  font-style: normal;
}

.formula-note {
  font-size: 0.76rem;
  color: #747474;
  line-height: 1.45;
  margin: 0 !important;
}

.info-chip {
  display: inline-block;
  border-radius: 99px;
  padding: 1px 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.info-chip.bad {
  background: #fde8e8;
  color: #b91c1c;
}

/* positive / negative score explanation cards */
.score-sign-block {
  margin-top: 12px;
}

.score-sign-intro {
  font-size: 0.82rem;
  color: #3a3a3a;
  margin-bottom: 8px;
}

.score-sign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 480px) {
  .score-sign-grid {
    grid-template-columns: 1fr;
  }
}

.score-sign-card {
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #3a3a3a;
}

.score-sign-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.score-sign-card.positive {
  background: #f0faf4;
  border-left: 3px solid #1a7a3c;
}

.score-sign-card.negative {
  background: #fef5f5;
  border-left: 3px solid #b91c1c;
}

.score-sign-label {
  font-size: 0.76rem;
  font-weight: 700;
}

.score-sign-card.positive .score-sign-label {
  color: #1a7a3c;
}

.score-sign-card.negative .score-sign-label {
  color: #b91c1c;
}

.score-sign-example {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  padding: 3px 6px;
  display: block;
  margin-top: 2px;
}

/* plain-language summary block */
.plain-summary {
  margin-top: 10px !important;
  background: #eef0fb;
  border-left: 3px solid #0000d2;
  border-radius: 0 6px 6px 0;
  padding: 8px 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #3a3a3a;
}

/* inline formula span (used outside the formula box) */
.formula-inline {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  background: #ebe8e3;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

/* threshold comparison table */
.threshold-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.78rem;
}

.threshold-table th,
.threshold-table td {
  text-align: center;
  padding: 5px 8px;
  border: 1px solid #dccfc2;
}

.threshold-table th {
  background: #ebe8e3;
  font-weight: 700;
  color: #3a3a3a;
}

.threshold-table th em,
.threshold-table thead th em {
  font-weight: 400;
  font-style: normal;
  color: #747474;
}

.threshold-table th.current {
  background: #0000d2;
  color: white;
}

.threshold-table th.current em {
  color: #b3b3ff;
}

.threshold-table td.current {
  background: #eef0fb;
  color: #0000d2;
  font-weight: 700;
}

.threshold-table tbody tr:nth-child(even) td:not(.current) {
  background: #f9f7f5;
}

.pills-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  min-height: 26px;
}

.pill {
  background: #0000d2;
  color: white;
  border-radius: 99px;
  padding: 3px 11px;
  font-size: 0.76rem;
  font-weight: 700;
}

.pill.empty {
  background: #dccfc2;
  color: #747474;
  font-weight: 400;
  font-style: italic;
}

/* â”€â”€ Profile score badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

.profile-badge.pos {
  background: #d4edda;
  color: #1a7a3c;
}

.profile-badge.neg {
  background: #fde8e8;
  color: #b91c1c;
}

.profile-badge.zero {
  background: #ebe8e3;
  color: #747474;
}

.badge-score {
  font-size: 0.72rem;
  font-weight: 800;
}

.table-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll-wrap table {
  min-width: 520px;
}

/* Code column: shrink-wrap to content */
.table-scroll-wrap table th:nth-child(1),
.table-scroll-wrap table td:nth-child(1) {
  width: 1%;
  white-space: nowrap;
}

/* Opleiding column: no explicit width â€” takes all remaining space */

/* RIASEC column: 6 badges × 20px + 5 gaps × 3px + padding = ~155px */
.table-scroll-wrap table th:nth-child(3),
.table-scroll-wrap table td:nth-child(3) {
  width: 155px;
  white-space: nowrap;
}

/* Match column: stable width, prevent % from wrapping */
.table-scroll-wrap table th:nth-child(4),
.table-scroll-wrap table td:nth-child(4) {
  width: 150px;
  white-space: nowrap;
}

.table-toolbar {
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.table-toolbar label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #747474;
}

.table-toolbar select {
  font-family: inherit;
  font-size: 0.78rem;
  border: 2px solid #dccfc2;
  border-radius: 6px;
  padding: 3px 7px;
  background: white;
  color: #242424;
  cursor: pointer;
  outline: none;
}

.table-toolbar select:focus {
  border-color: #0000d2;
}

.table-toolbar input[type="search"] {
  font-family: inherit;
  font-size: 0.78rem;
  border: 2px solid #dccfc2;
  border-radius: 6px;
  padding: 3px 8px;
  background: white;
  color: #242424;
  outline: none;
  min-width: 180px;
}

.table-toolbar input[type="search"]:focus {
  border-color: #0000d2;
}

.results-count {
  font-size: 0.76rem;
  color: #747474;
  margin-left: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: #f4f4f4;
  text-align: left;
  padding: 7px 13px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #747474;
  border-bottom: 2px solid #dccfc2;
  white-space: nowrap;
}

td {
  padding: 8px 13px;
  border-bottom: 1px solid #dccfc2;
  font-size: 0.83rem;
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: #f9f9ff;
}

.code {
  font-family: monospace;
  font-weight: 700;
  color: #0000d2;
  font-size: 0.85rem;
  white-space: nowrap;
}

.riasec-badges {
  display: flex;
  gap: 3px;
  flex-wrap: nowrap;
}

.r-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
  background: #ebe8e3;
  color: #747474;
}

.r-badge.pos {
  background: #d4edda;
  color: #1a7a3c;
}

.r-badge.neg {
  background: #fde8e8;
  color: #b91c1c;
}

.score-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.score-track {
  background: #ebe8e3;
  border-radius: 99px;
  height: 6px;
  flex: 1;
  min-width: 40px;
}

.score-fill {
  background: #0000d2;
  border-radius: 99px;
  height: 6px;
}

.score-fill--poor {
  background: #c2410c;
}

.score-num {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0000d2;
  min-width: 30px;
  text-align: right;
}

.score-num--poor {
  color: #c2410c;
  min-width: 54px;
}

.no-results {
  color: #747474;
  font-style: italic;
  padding: 18px;
  text-align: center;
  font-size: 0.83rem;
}

.empty-state {
  color: #dccfc2;
  text-align: center;
  padding: 36px 20px;
  font-size: 0.88rem;
}

/* â”€â”€ Poor match rows â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.poor-match td {
  opacity: 0.55;
}

.poor-match:hover td {
  opacity: 1;
}

.poor-match-chip {
  display: inline-block;
  background: #fde8e8;
  color: #b91c1c;
  border-radius: 99px;
  padding: 1px 7px;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  margin-left: 4px;
  vertical-align: middle;
}

/* â”€â”€ Skills count chip (shown when sort = meeste vaardigheden) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.skills-count-chip {
  display: inline-block;
  background: #ebe8e3;
  color: #242424;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

/* â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid #dccfc2;
}

.page-btn {
  border: 2px solid #dccfc2;
  background: white;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}

.page-btn:hover:not(:disabled) {
  border-color: #0000d2;
  color: #0000d2;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.page-label {
  font-size: 0.76rem;
  color: #747474;
  white-space: nowrap;
}

/* â”€â”€ Info button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.name-cell-inner {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.name-cell-inner > span {
  line-height: 1.4;
}

.info-btn {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  background: none;
  border: 1.5px solid #c8c0b8;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.6rem;
  font-weight: 700;
  color: #a09890;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}

.info-btn:hover {
  border-color: #0000d2;
  color: #0000d2;
  background: #eef0fb;
}

/* â”€â”€ Study info bubble popup â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.study-bubble-popup {
  display: none;
  position: fixed;
  z-index: 200;
  width: 300px;
  background: white;
  border: 1px solid #dccfc2;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  padding: 0;
  overflow: hidden;
  transform-origin: top left;
  animation: bubble-in 0.12s ease;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.study-bubble-popup.open {
  display: block;
}

.bubble-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px 9px;
  border-bottom: 1px solid #ebe8e3;
  background: #0000d2;
}

.bubble-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: white;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bubble-total {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.bubble-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 0 0 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}

.bubble-close:hover {
  color: white;
}

.bubble-rows {
  padding: 8px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bubble-row {
  display: grid;
  grid-template-columns: 20px 80px 1fr 52px;
  align-items: center;
  gap: 6px;
}

.bubble-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  background: #ebe8e3;
  color: #747474;
}

.bubble-letter.pos {
  background: #d4edda;
  color: #1a7a3c;
}

.bubble-letter.neg {
  background: #fde8e8;
  color: #b91c1c;
}

.bubble-label {
  font-size: 0.72rem;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bubble-bar-track {
  background: #ebe8e3;
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}

.bubble-bar-fill {
  height: 6px;
  border-radius: 99px;
  background: #b0a89f;
}

.bubble-bar-fill.pos {
  background: #2a9d5c;
}

.bubble-bar-fill.neg {
  background: #e05252;
}

.bubble-count {
  font-size: 0.69rem;
  color: #747474;
  text-align: right;
  white-space: nowrap;
}

/* ── Refine CTA banner ─────────────────────────────────────────────────────── */
.refine-cta-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8f0;
  border: 1px solid #f0c080;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.refine-cta-text {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.875rem;
  color: #3d2b00;
  line-height: 1.4;
}

.refine-cta-text strong {
  font-size: 0.92rem;
}

.refine-cta-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  background: #e07b00;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.refine-cta-btn:hover {
  background: #c46e00;
}

.refine-cta-dismiss {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 1rem;
  color: #a08060;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.15s;
}

.refine-cta-dismiss:hover {
  color: #3d2b00;
}

/* ── Extra questions section header ────────────────────────────────────────── */
.extra-questions-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0d0bc;
  scroll-margin-top: 12px;
}

.extra-questions-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #3d2b00;
  letter-spacing: 0.01em;
}

.extra-questions-progress {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .layout {
    flex-direction: column;
  }

  .left-panel {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #dccfc2;
  }
}
