.hqf {
  max-width: 520px;
  margin: 0 auto;
  font-family: inherit;
}
.hqf-card {
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}
.hqf-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.hqf-back {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
}
.hqf-back:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.hqf-progress {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: #f0f0f0;
  overflow: hidden;
}
.hqf-progress-bar {
  height: 100%;
  background: #111;
  width: 0%;
}
.hqf-steptext {
  min-width: 60px;
  text-align: right;
  font-size: 12px;
  opacity: .7;
}
.hqf-title {
  font-size: 20px;
  line-height: 1.2;
  margin: 8px 0 14px;
}
.hqf-step {
  display: none;
}
.hqf-step.is-active {
  display: block;
}
.hqf-options {
  display: grid;
  gap: 10px;
}
.hqf-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  cursor: pointer;
  transition: all .15s ease;
}
.hqf-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hqf-option:hover {
  transform: translateY(-1px);
}
.hqf-option-check {
  opacity: 0;
  transform: scale(.9);
  transition: all .15s ease;
}
.hqf-option input:checked ~ .hqf-option-check {
  opacity: 1;
  transform: scale(1);
}
.hqf-option input:checked ~ .hqf-option-text {
  font-weight: 700;
}
.hqf-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.hqf-next,
.hqf-submit {
  padding: 12px 16px;
  border-radius: 14px;
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
}
.hqf-next:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.hqf-fields {
  display: grid;
  gap: 12px;
}
.hqf-field span {
  display: block;
  font-size: 12px;
  opacity: .75;
  margin-bottom: 6px;
}
.hqf-field input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}
.hqf-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  opacity: .9;
}
.hqf-msg {
  margin-top: 10px;
  font-size: 13px;
}
.hqf-msg.is-error {
  color: #b00020;
}
.hqf-msg.is-ok {
  color: #0a7d2c;
}
