

.q-instruction {
  color: var(--color-text-secondary);
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  width: 100%;
  min-height: 46px;
  padding: var(--space-12) var(--space-20);
  border: 0;
  border-radius: var(--radius-md);
  background: var(--color-surface-card);
  box-shadow: var(--elevation-subtle);
  color: var(--color-text-primary);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.option-on {
  background: var(--color-option-surface-selected);
  box-shadow: var(--elevation-subtle), 0 0 0 2px var(--color-option-border-selected) inset;
}

.option-label {
  flex: 1;
  min-width: 0;
}

.tick {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xs);
  background: var(--color-option-check-off);
  box-shadow: var(--elevation-subtle);
  color: var(--color-text-inverse);
}

.tick-on {
  background: var(--color-option-check-fill);
  box-shadow: none;
}

.tick svg {
  width: 12px;
  height: 10px;
  display: block;
}

.scale {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  margin-top: var(--space-12);
}

.scale-readout {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 0 var(--space-16);
  border-radius: var(--radius-sm);
  background: var(--color-surface-card);
  box-shadow: var(--elevation-pressed);
}

.scale-value {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-align: center;
  color: var(--color-text-primary);
}

.scale-value-resting {
  color: var(--color-text-disabled);
}

.tuner {
  position: relative;
  height: 72px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.tuner:has(.tuner-input:focus-visible) {
  outline: 2px solid var(--color-action-primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.tuner-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
}

.tuner-ruler {
  position: absolute;
  inset: 0;
  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.3, 1.15);
  will-change: transform;
}

.tuner-dragging {
  transition: none;
}

.tuner-mark {
  position: absolute;
  top: 29px; 
  width: 2px;
  height: 14px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--color-slider-tick-minor);
}

.tuner-major {
  top: 21px; 
  width: 3px;
  height: 30px;
  margin-left: -1.5px;
  border-radius: 1.5px;
  background: var(--color-slider-tick-major);
}

.tuner-needle {
  position: absolute;
  left: 50%;
  top: 14px; 
  width: 3px;
  height: 44px;
  margin-left: -1.5px;
  border-radius: 1.5px;
  background: var(--color-slider-needle);
  pointer-events: none;
}

.tuner-point {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 14px;
  height: 9px;
  margin-left: -7px;
  background: var(--color-slider-needle);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 0 H13 Q14 0 13.3 0.9 L7.8 8.2 Q7 9.2 6.2 8.2 L0.7 0.9 Q0 0 1 0 Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 0 H13 Q14 0 13.3 0.9 L7.8 8.2 Q7 9.2 6.2 8.2 L0.7 0.9 Q0 0 1 0 Z'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.tuner-point-bottom {
  top: auto;
  bottom: 2px;
  transform: rotate(180deg);
}

.tuner-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .tuner-ruler {
    transition: none;
  }
}

.still-ruler {
  position: relative;
  height: 60px;
}

.still-ruler .tuner-mark {
  top: 24px;
  height: 12px;
  background: var(--color-slider-still-minor);
}

.still-ruler .tuner-major {
  top: 17px;
  height: 26px;
  background: var(--color-slider-still-major);
}

.still-ruler .tuner-needle {
  top: 13px; 
  height: 34px;
}

.still-ruler .tuner-point {
  top: 1px;
}

.still-ruler .tuner-point.tuner-point-bottom {
  top: auto;
  bottom: 1px;
}

.scale-ends {
  display: flex;
  justify-content: space-between;
  gap: var(--space-12);
  color: var(--color-text-secondary);
}

.scale-ends span:last-child {
  text-align: right;
}

.binary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.binary-half {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-16);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-surface-card);
  box-shadow: var(--elevation-subtle);
  color: var(--color-option-label);
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}

.binary-words {
  display: block;
  align-self: stretch;
}

.binary-emoji {
  line-height: 1;
}

.binary-on {
  background: var(--color-option-surface-selected);
  box-shadow: var(--elevation-subtle), 0 0 0 2px var(--color-option-border-selected) inset;
}
