.rz-survey {
  --rz-navy: #0b1026;
  --rz-blue-dark: #003b73;
  --rz-blue: #0077c8;
  --rz-cyan: #00b7ff;
  --rz-mint: #42d3a5;
  --rz-surface: #f4f7fa;
  --rz-line: #d8e0ea;
  --rz-ink: #1a1f29;
  box-sizing: border-box;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 20px 56px;
  color: var(--rz-ink);
}

.rz-survey * {
  box-sizing: border-box;
}

.rz-survey-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--rz-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(11, 16, 38, .06);
}

.rz-survey-kicker {
  margin: 0;
  color: var(--rz-blue-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.rz-survey-hero h1 {
  margin: 0;
  color: var(--rz-blue-dark);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
}

.rz-survey-hero p,
.rz-survey-note {
  margin: 0;
  color: #40506a;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.rz-survey-form {
  display: grid;
  gap: 18px;
}

.rz-survey-section {
  display: grid;
  gap: 16px;
  border: 1px solid var(--rz-line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(11, 16, 38, .05);
}

.rz-survey-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--rz-blue-dark);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 25px;
  line-height: 1.2;
}

.rz-survey-section h2 span {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--rz-cyan);
  color: var(--rz-navy);
  font-size: 14px;
  line-height: 1;
}

.rz-survey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rz-survey-grid h3,
.rz-survey-grid .rz-survey-note,
.rz-survey-grid .rz-survey-choice,
.rz-survey-grid .rz-survey-field[data-field-key="baform-2"],
.rz-survey-grid .rz-survey-field[data-field-key="baform-4"],
.rz-survey-grid .rz-survey-field[data-field-key="baform-254"] {
  grid-column: 1 / -1;
}

.rz-survey-grid h3 {
  margin: 8px 0 0;
  color: var(--rz-blue-dark);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.25;
}

.rz-survey-field,
.rz-survey-choice {
  min-width: 0;
}

.rz-survey-field {
  display: grid;
  gap: 7px;
  color: var(--rz-blue-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.rz-survey-field small,
.rz-survey-choice p {
  margin: 0;
  color: #5b687a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.rz-survey-form b {
  color: #b42318;
}

.rz-survey-form input,
.rz-survey-form textarea,
.rz-survey-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd7e6;
  border-radius: 8px;
  background: #fff;
  color: var(--rz-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  padding: 11px 12px;
}

.rz-survey-form textarea {
  min-height: 118px;
  resize: vertical;
}

.rz-survey-form input:focus,
.rz-survey-form textarea:focus,
.rz-survey-form select:focus {
  border-color: var(--rz-cyan);
  box-shadow: 0 0 0 3px rgba(0, 183, 255, .18);
  outline: 0;
}

.rz-survey-choice {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.rz-survey-choice legend {
  display: block;
  width: 100%;
  margin: 0 0 3px;
  color: var(--rz-blue-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.rz-survey-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rz-survey-options label,
.rz-survey-checks label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 44px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: var(--rz-surface);
  padding: 11px 12px;
  color: var(--rz-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.rz-survey-options input,
.rz-survey-checks input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
}

.rz-survey-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
}

.rz-survey-range input {
  padding: 0;
}

.rz-survey-range output {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--rz-surface);
  color: var(--rz-blue-dark);
  font-weight: 800;
}

.rz-survey-checks {
  display: grid;
  gap: 10px;
}

.rz-survey-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rz-survey-actions button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--rz-cyan);
  color: var(--rz-navy);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  padding: 13px 22px;
}

.rz-survey-actions button:hover,
.rz-survey-actions button:focus {
  background: var(--rz-blue);
  color: #fff;
}

.rz-survey-actions button[disabled] {
  cursor: wait;
  opacity: .7;
}

.rz-survey-status {
  min-height: 22px;
  margin: 0;
  color: #40506a;
  font-size: 15px;
  line-height: 1.45;
}

.rz-survey-status.is-ok {
  color: #176334;
  font-weight: 700;
}

.rz-survey-status.is-error {
  color: #9b1c1c;
  font-weight: 700;
}

.rz-survey-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 860px) {
  .rz-survey {
    padding: 28px 14px 42px;
  }

  .rz-survey-hero,
  .rz-survey-section {
    padding: 18px 14px;
  }

  .rz-survey-hero h1 {
    font-size: 34px;
  }

  .rz-survey-grid,
  .rz-survey-options {
    grid-template-columns: 1fr;
  }
}
