.qz-progress {
  padding: 20px 0 14px;
}

.qz-prog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.qz-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.qz-cat {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--brown-light);
  color: var(--brown-dark);
}

.qz-bar-wrap {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.qz-bar {
  height: 100%;
  background: var(--brown);
  border-radius: 2px;
  transition: width 0.25s ease;
}

/* Question card */
.qz-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px 26px;
  box-shadow: var(--shadow);
  min-height: 300px;
}

.qz-text {
  font-family: 'Noto Serif KR', 'Georgia', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

/* Slider */
.qz-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.qz-slider-label {
  font-size: 10px;
  color: var(--text-muted);
  max-width: 46%;
  line-height: 1.4;
}

.qz-slider-label:last-child { text-align: right; }

input[type='range'].qz-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  margin: 2px 0 14px;
  display: block;
}

input[type='range'].qz-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brown);
  border: 3px solid var(--bg);
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
  cursor: pointer;
}

input[type='range'].qz-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brown);
  border: 3px solid var(--bg);
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
  cursor: pointer;
  border: none;
}

.qz-slider-val {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  color: var(--brown);
  line-height: 1;
}

/* Choice cards */
.qz-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qz-choice {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  background: var(--bg);
  line-height: 1.5;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.1s, background 0.1s;
}

.qz-choice:active { opacity: 0.65; }

.qz-choice.selected {
  border-color: var(--brown);
  background: var(--brown-light);
  color: var(--brown-dark);
  font-weight: 700;
}

/* Nav */
.qz-nav {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.btn-qz-prev {
  flex: 0 0 72px;
  padding: 15px 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  font-size: 14px;
  color: var(--text-muted);
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: color 0.15s, border-color 0.15s;
}

.btn-qz-prev:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-qz-prev:not(:disabled):hover { color: var(--text); border-color: var(--text-muted); }

.btn-qz-next {
  flex: 1;
  padding: 15px 0;
  border: none;
  border-radius: var(--radius);
  background: var(--brown);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.15s, transform 0.1s;
}

.btn-qz-next:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}

.btn-qz-next:not(:disabled):hover  { opacity: 0.88; }
.btn-qz-next:not(:disabled):active { transform: scale(0.98); }

.btn-qz-final { background: #1A1A1A; }
.btn-qz-final:not(:disabled):hover { opacity: 0.85; }
