/* Question type label */
.q-type-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: var(--lavender);
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
  margin-bottom: 14px;
  width: fit-content;
}
.q-prompt {
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 650px;
}

/* MCQ options */
.options { display: flex; flex-direction: column; gap: 10px; max-width: 650px; }
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all .12s;
  background: var(--card);
}
.option:hover { background: #fff3d1; transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--border); }
.option.selected { background: var(--green); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--border); }
.option-key {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #f8f3e6;
  flex-shrink: 0;
}
.option.selected .option-key { background: var(--ink); color: var(--green); }
.option-text { font-size: 14px; line-height: 1.5; font-weight: 500; }

/* Likert */
.likert-row { display: flex; gap: 8px; margin-top: 8px; max-width: 400px; }
.likert-btn {
  flex: 1;
  padding: 16px 8px;
  border: 2.5px solid var(--border);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all .12s;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  background: var(--card);
}
.likert-btn:hover { background: #fff3d1; transform: translateY(-3px); }
.likert-btn.selected { background: var(--green); transform: translateY(-3px); box-shadow: 3px 3px 0 var(--border); }
.likert-labels { display: flex; justify-content: space-between; margin-top: 8px; max-width: 400px; }
.likert-labels span { font-family: 'Space Mono', monospace; font-size: 9px; color: var(--grey); font-weight: 700; text-transform: uppercase; }

/* Text input */
.text-area {
  width: 100%;
  max-width: 650px;
  height: 150px;
  border: 2.5px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  font-family: 'Space Grotesk', sans-serif;
  resize: none;
  outline: none;
  background: #f8f3e6;
  color: var(--ink);
  line-height: 1.6;
  transition: all .15s;
}
.text-area:focus { border-color: var(--pink); box-shadow: 3px 3px 0 var(--border); background: var(--card); }
.text-area::placeholder { color: #b0adc0; }
.char-count { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--grey); text-align: right; margin-top: 5px; max-width: 650px; }

/* Speed rounds */
.speed-timer { font-family: 'Space Mono', monospace; font-size: 56px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.speed-prompt { font-size: 17px; font-weight: 700; text-align: center; margin-bottom: 20px; line-height: 1.4; animation: pulse .6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.02); opacity: .8; } }
.speed-options { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.speed-btn {
  padding: 12px 20px;
  border: 2.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  background: var(--yellow);
  color: var(--ink);
  transition: all .1s;
}
.speed-btn:hover { background: var(--orange); transform: translateY(-3px); box-shadow: 3px 3px 0 var(--border); }
.speed-urgent { animation: shake .1s linear infinite; }
.speed-urgent .speed-prompt { animation: urgentFlash .25s infinite; }
.speed-urgent .speed-timer { font-size: 64px; }
@keyframes shake { 0% { transform: translate(0); } 25% { transform: translate(-2px,1px); } 50% { transform: translate(2px,-1px); } 75% { transform: translate(-1px); } 100% { transform: translate(1px,1px); } }
@keyframes urgentFlash { 0%,100% { opacity: 1; } 50% { opacity: .5; color: var(--pink); } }
