@font-face {
  font-family: 'Familjen Grotesk';
  src: url(../fonts/FamiljenGrotesk-VariableFont_wght.ttf);
}

@font-face {
  font-family: 'Roboto';
  src: url(../fonts/Roboto-VariableFont_wdth\,wght.ttf);
}

.quizp-modal {
  font-family: 'Roboto', Arial, sans-serif;
}

.affina-quiz-page-wrap,
.affina-quiz-webview-main {
  padding: 32px 16px;
  background: linear-gradient(180deg, #fffaff 0%, #ffffff 100%);
}

.quizp-page-shell {
  max-width: 1360px;
  margin: 0 auto;
}

.quizp-page-card {
  background: #fff;
}

.quizp-page-next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.quizp-page-next-btn.is-disabled {
  pointer-events: none;
}

.quizp-page-close-link,
.quizp-page-back-link {
  text-decoration: none;
}

.quizp-dialog {
  max-width: 1360px;
}

.quizp-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  min-height: 860px;
}

.quizp-header {
  height: 100px;
  background: #fffaff;
  border-bottom: 1px solid #e8e1ea;
  position: relative;
  padding: 36px 64px 0;
}

.quizp-header-main {
  width: 100%;
}

.quizp-progress {
  height: 8px;
  background: #dedee8;
  border-radius: 50px;
  overflow: hidden;
  max-width: 1160px;
  margin: 0 auto 16px;
}

.quizp-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff45f2, #f315a5);
  border-radius: 50px;
}

.quizp-w-33 {
  width: 33.333%;
}

.quizp-w-66 {
  width: 66.666%;
}

.quizp-w-90 {
  width: 90%;
}

.quizp-step {
  font-family: 'Roboto';
  max-width: 1160px;
  margin: 0 auto;
  color: #7d7d82;
  font-size: 22px;
  font-weight: 700;
}

.quizp-close,
.quizp-back {
  position: absolute;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  line-height: 1;
}

.quizp-close {
  right: 56px;
  top: 42px;
  font-size: 34px;
}

.quizp-back {
  left: 56px;
  top: 42px;
  font-size: 34px;
}

.quizp-body {
  padding: 56px 32px 60px;
  min-height: 620px;
}

.quizp-title {
  text-align: center;
  margin-bottom: 64px;
}

.quizp-title h2 {
  font-family: 'Familjen Grotesk';
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #22222a;
}

.quizp-title p {
  font-family: 'Roboto';
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  color: #85858a;
}

.quizp-error {
  font-family: 'Roboto';
  min-height: 24px;
  margin: 18px auto 0;
  max-width: 880px;
  color: #e1477f;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.quizp-step-note {
  font-family: 'Roboto';
  margin: 22px auto 0;
  max-width: 880px;
  text-align: center;
  color: #8b8795;
  font-size: 18px;
  font-weight: 500;
}

.quizp-step-note a {
  color: #ff42f3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quizp-box-wrap,
.quizp-form-wrap {
  max-width: 880px;
}

.quizp-option {
  min-height: 96px;
  border: 1.5px solid #d7d2df;
  border-radius: 16px;
  background: #fff;
  padding: 0 22px 0 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quizp-option strong {
  font-family: 'Roboto';
  font-size: 22px;
  font-weight: 800;
  color: #08080b;
}

.quizp-option-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.quizp-option-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffd35b;
  color: #7b5600;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.quizp-option-badge + input {
  margin-left: -4px;
}
#quizpInsuranceOptions .quizp-option {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 104px 22px;
  column-gap: 16px;
}

#quizpInsuranceOptions .quizp-icon {
  grid-column: 1;
}

#quizpInsuranceOptions .quizp-option strong {
  grid-column: 2;
  min-width: 0;
}

#quizpInsuranceOptions .quizp-option-badge {
  grid-column: 3;
  justify-self: end;
  margin-left: 0;
}

#quizpInsuranceOptions .quizp-option input {
  grid-column: 4;
  justify-self: end;
  margin-left: 0;
}

.quizp-option small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #85858a;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quizp-option input {
  margin-left: auto;
  width: 22px;
  height: 22px;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #8a8a8f;
  border-radius: 50%;
  background: #fff;
  accent-color: #ff42f3;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  outline: none;
  box-shadow: none;
}

.quizp-option input::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff42f3;
  transform: scale(0);
}

.quizp-option input:checked {
  border-color: #ff42f3;
}

.quizp-option input:checked::before {
  transform: scale(1);
}

.quizp-option input:focus,
.quizp-option input:focus-visible {
  outline: none;
  box-shadow: none;
}

.quizp-option:has(input:checked) {
  border-color: #f2a8ed;
  box-shadow: 0 10px 24px rgba(255, 81, 255, 0.05), 0 3px 10px rgba(33, 17, 44, 0.06);
}

.quizp-next-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.quizp-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
}

.quizp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.quizp-loading {
  font-family: 'Roboto';
  min-height: 96px;
  border: 1.5px dashed #d7d2df;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #85858a;
  font-size: 18px;
  font-weight: 700;
}

.quizp-label {
  font-size: 24px;
  font-weight: 700;
  color: #77777b;
  margin-bottom: 18px;
}

.quizp-select {
  font-family: 'Roboto';
  height: 96px;
  border: 1.5px solid #d7d2df;
  border-radius: 16px;
  padding: 0 34px;
  font-size: 22px;
  font-weight: 800;
  color: #08080b;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quizp-date-field {
  position: relative;
}

.quizp-date-display {
  display: none;
}

.quizp-select:focus,
.quizp-select.is-filled {
  border-color: #f2a8ed;
  box-shadow: 0 10px 24px rgba(255, 81, 255, 0.05), 0 3px 10px rgba(33, 17, 44, 0.06);
}

.quizp-select.is-invalid,
.quizp-select.is-invalid:focus {
  border-color: #e1477f;
  box-shadow: 0 10px 24px rgba(225, 71, 127, 0.08), 0 3px 10px rgba(33, 17, 44, 0.06);
}

.quizp-company-box {
  margin-top: 34px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--colors-gray-light-mode-50, #F9F8FB);
  padding: 22px 20px;
}

.quizp-company-box h3 {
  font-family: 'Roboto';
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

.quizp-company-box p {
  font-family: 'Roboto';
  font-size: 16px;
  color: #77777b;
  font-weight: 400;
  margin: 0 0 24px;
}

.quizp-provider-picker {
  position: relative;
}

.quizp-provider-control {
  width: 100%;
  min-height: 86px;
  border: 1.5px solid #f2a8ed;
  border-radius: 16px;
  background: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quizp-provider-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 48px;
}

.quizp-provider-placeholder {
  font-family: 'Roboto';
  font-size: 18px;
  color: #9a97a3;
  font-weight: 600;
}

.quizp-provider-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f1f7;
  border: 1px solid #ece4ee;
  max-width: 220px;
}

.quizp-provider-chip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  flex: 0 0 28px;
}

.quizp-provider-chip span {
  font-family: 'Roboto';
  font-size: 16px;
  font-weight: 700;
  color: #53515d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quizp-provider-chip button {
  border: 0;
  background: transparent;
  color: #8f8b99;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}

.quizp-provider-caret {
  color: #ff42f3;
  font-size: 24px;
  line-height: 1;
  flex: 0 0 auto;
}

.quizp-provider-picker.is-open .quizp-provider-control,
.quizp-provider-picker:has(.quizp-provider-chip) .quizp-provider-control {
  border-color: #f2a8ed;
  box-shadow: 0 10px 24px rgba(255, 81, 255, 0.05), 0 3px 10px rgba(33, 17, 44, 0.06);
}

.quizp-provider-control[aria-expanded="true"] .quizp-provider-caret {
  transform: rotate(180deg);
}

.quizp-provider-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: 100%;
  background: #fff;
  border: 1px solid #ece4ee;
  border-radius: 14px;
  box-shadow: 0 24px 40px rgba(33, 17, 44, 0.12);
  padding: 10px 0;
  z-index: 50;
  display: none;
}

.quizp-provider-picker.is-drop-up .quizp-provider-dropdown {
  top: auto;
  bottom: calc(100% + 8px);
}

.quizp-provider-picker.is-open .quizp-provider-dropdown {
  display: block;
}

.quizp-provider-search-wrap {
  padding: 10px 14px 8px;
}

.quizp-provider-search {
  width: 100%;
  height: 46px;
  border: 1px solid #ece4ee;
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  font-family: 'Roboto';
  font-size: 16px;
  font-weight: 600;
  color: #30303a;
  outline: none;
}

.quizp-provider-search:focus {
  border-color: #ff74ef;
  box-shadow: 0 0 0 3px rgba(255, 116, 239, 0.14);
}

.quizp-provider-options {
  max-height: 320px;
  overflow-y: auto;
}

.quizp-provider-option {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.quizp-provider-option:hover {
  background: #faf6fb;
}

.quizp-provider-option img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  flex: 0 0 36px;
}

.quizp-provider-option strong {
  font-family: 'Roboto';
  font-size: 18px;
  font-weight: 700;
  color: #30303a;
}

.quizp-provider-option small {
  font-family: 'Roboto';
  font-size: 13px;
  color: #8f8b99;
}

.quizp-provider-option-check {
  margin-left: auto;
  color: #ff42f3;
  font-size: 20px;
  opacity: 0;
}

.quizp-provider-option.is-selected .quizp-provider-option-check {
  opacity: 1;
}

.quizp-benefit-box,
.quizp-benefit-option,
.quizp-benefit-option .quizp-option {
  overflow: visible;
}

.quizp-required-benefits,
.quizp-benefit-box-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  gap: 4px;
  margin: 0 0 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.quizp-required-benefits h3,
.quizp-benefit-box-head h3 {
  margin: 0;
  color: #24212f;
  font-family: 'Roboto';
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.quizp-required-benefits p,
.quizp-benefit-box-head p {
  margin: 0;
  color: #7f7a86;
  font-family: 'Roboto';
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.quizp-required-benefits ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quizp-required-benefits li {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: #8f8b99;
  font-family: 'Roboto';
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.quizp-required-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff51ff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.quizp-benefit-option {
  position: relative;
  z-index: 1;
}

.quizp-benefit-option:has(.quizp-benefit-info:hover),
.quizp-benefit-option:has(.quizp-benefit-info:focus),
.quizp-benefit-option:has(.quizp-benefit-info:focus-visible) {
  z-index: 30;
}

.quizp-benefit-option[hidden] {
  display: none !important;
}

.quizp-primary-benefit-hint {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 8px;
  margin: 16px 0 0;
  padding: 16px 24px;
  border: 1px solid #ffccff;
  border-radius: 16px;
  background: #fff3fe;
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.quizp-primary-benefit-hint strong {
  color: #55004f;
  font-weight: 800;
}

.quizp-primary-benefit-hint[hidden] {
  display: none;
}
.quizp-benefit-option .quizp-option {
  min-height: 84px;
  padding-right: 26px;
}

.quizp-benefit-option .quizp-option input[type="checkbox"] {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1.5px solid #d7d2df;
  border-radius: 4px;
  background: #fff;
  flex: 0 0 20px;
}

.quizp-benefit-option .quizp-option input[type="checkbox"]::before {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 10px;
  height: 6px;
  border: 0;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
}

.quizp-benefit-option .quizp-option input[type="checkbox"]:checked {
  border-color: #ff6dfa;
  background: #ff6dfa;
}

.quizp-benefit-option .quizp-option input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

.quizp-benefit-option .quizp-option:has(input:disabled:not(:checked)) {
  opacity: 0.52;
  cursor: not-allowed;
}

.quizp-benefit-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.quizp-benefit-option-wide .quizp-benefit-copy strong {
  white-space: normal;
}

.quizp-benefit-copy strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 18px;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  overflow-wrap: break-word;
  text-overflow: clip;
}

.quizp-benefit-box:not([hidden]),
.quizp-post-budget-section:not([hidden]) {
  animation: quizpBenefitReveal 0.6s ease both;
}


.quizp-benefit-box:not([hidden]) + .quizp-benefit-box:not([hidden]),
.quizp-benefit-box:not([hidden]) + .quizp-post-budget-section:not([hidden]),
.quizp-post-budget-section:not([hidden]) + .quizp-benefit-box:not([hidden]) {
  margin-top: 24px;
}

@keyframes quizpBenefitReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quizp-benefit-box .quizp-benefit-box-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
}

.quizp-benefit-box .quizp-benefit-box-head h3,
.quizp-benefit-box .quizp-benefit-box-head p {
  grid-column: 1;
}

.quizp-benefit-select-all {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #6f6877;
  font-family: 'Roboto';
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}

/* Section header rhythm for benefit and provider blocks. */
.quizp-benefit-box-head {
  padding: 0;
  margin-bottom: 4px;
  background: transparent;
  border-radius: 0;
}

.quizp-benefit-box .quizp-benefit-box-head {
  gap: 4px 20px;
  align-items: flex-start;
}

.quizp-benefit-box-head h3,
.quizp-company-box h3 {
  font-size: 20px;
  line-height: 1.3;
}

.quizp-benefit-box-head h3 {
  margin: 0 0 8px;
}

.quizp-benefit-box-head p,
.quizp-company-box p {
  font-size: 16px;
  line-height: 1.45;
}

.quizp-benefit-box-head p {
  margin: 0;
}

.quizp-company-box h3 {
  margin: 0 0 8px;
}

.quizp-company-box p {
  margin: 0 0 32px;
}

.quizp-benefit-select-all {
  align-self: start;
  margin-top: 2px;
}
.quizp-benefit-select-all input[type="checkbox"] {
  position: relative;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #ff6dfa;
  border-radius: 6px;
  background: #fff;
  flex: 0 0 18px;
  cursor: pointer;
}

.quizp-benefit-select-all input[type="checkbox"]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
}

.quizp-benefit-select-all input[type="checkbox"]:checked,
.quizp-benefit-select-all input[type="checkbox"]:indeterminate {
  border-color: #ff6dfa;
  background: #ff6dfa;
}

.quizp-benefit-select-all input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

.quizp-benefit-select-all input[type="checkbox"]:indeterminate::before {
  left: 4px;
  top: 8px;
  width: 8px;
  height: 0;
  border-left: 0;
  border-bottom: 2px solid #fff;
  transform: none;
}

.quizp-benefit-option .quizp-option {
  min-height: 70px;
  justify-content: space-between;
  padding: 14px 22px;
  font-size: 16px;
  line-height: 1.35;
}

.quizp-benefit-copy {
  flex: 1 1 auto;
}

.quizp-benefit-info {
  flex: 0 0 20px;
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #8f8b99;
  color: #8f8b99;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 20px;
  cursor: help;
  overflow: visible;
  z-index: 35;
}

.quizp-benefit-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  width: min(320px, calc(100vw - 56px));
  transform: translateX(-50%) translateY(8px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid #eee7f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 44px rgba(38, 28, 48, 0.16);
  color: #4f4a5d;
  font-family: 'Roboto';
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  text-align: left;
  text-transform: none;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}


.quizp-benefit-info:hover .quizp-benefit-tooltip,
.quizp-benefit-info:focus .quizp-benefit-tooltip,
.quizp-benefit-info:focus-visible .quizp-benefit-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.quizp-tooltip-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 18px;
  color: #24212f;
  font-size: 16px;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: break-word;
}

.quizp-tooltip-title > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff42f3;
  flex: 0 0 9px;
}

.quizp-tooltip-title + span {
  padding-top: 14px;
  border-top: 1px solid #eee7f2;
  white-space: normal;
  overflow-wrap: break-word;
}

.quizp-benefit-tooltip small {
  display: block;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff8ff;
  color: #8b8398;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: break-word;
}

.quizp-next-btn {
  font-family: 'Roboto';
  margin: 15px auto 0;
  min-width: 300px;
  height: 64px;
  border-radius: 50px;
  border: 1px solid #4F94F1;
  background: #4F94F1;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: inset 0 7px 10px rgba(255, 255, 255, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.quizp-next-btn span {
  font-size: 34px;
  line-height: 1;
}

.quizp-next-btn:hover:not(:disabled) {
  background: #3D7FD7;
  border-color: #3D7FD7;
  color: #fff;
  box-shadow: none;
}

.quizp-next-btn:disabled {
  border-color: #e2dee8;
  background: #fff;
  color: #a29caf;
  box-shadow: none;
}

.quizp-footer {
  min-height: 96px;
  background: #faf7ff;
  display: flex;
  align-items: center;
  padding: 0 56px;
  gap: 30px;
}

.quizp-logo {
  color: #ff49f4;
  font-size: 30px;
  font-weight: 900;
  margin-right: auto;
}

.quizp-footer-actions {
  font-family: 'Roboto';
  display: flex;
  align-items: center;
  gap: 28px;
}

.quizp-footer-actions a {
  text-decoration: none;
  color: #ff42f3;
  font-size: 16px;
  font-weight: 800;
}

.quizp-footer-actions a:first-child {
  border: 1.5px solid #ffc0fa;
  border-radius: 50px;
  padding: 12px 22px;
  background: #fff;
}

@media (max-width: 991px) {
  .quizp-dialog {
    max-width: 100%;
    margin: 0;
  }

  .quizp-content {
    min-height: 100vh;
    border-radius: 0;
  }

  .quizp-header {
    height: 88px;
    padding: 28px 20px 0;
  }

  .quizp-header-main {
    padding: 0 38px;
  }

  .quizp-close {
    right: 18px;
    top: 34px;
    font-size: 30px;
  }

  .quizp-back {
    left: 18px;
    top: 34px;
    font-size: 30px;
  }

  .quizp-step {
    font-size: 17px;
  }

  .quizp-body {
    padding: 32px 14px 40px;
  }

  .quizp-title {
    margin-bottom: 36px;
  }

  .quizp-title h2 {
    font-size: 26px;
  }

  .quizp-title p {
    font-size: 16px;
  }

  .quizp-option {
    min-height: 78px;
    padding: 0 18px;
    gap: 14px;
  }

  .quizp-option strong {
    font-size: 18px;
    line-height: 1.25;
  }

  .quizp-option small {
    font-size: 13px;
  }

  .quizp-icon {
    font-size: 22px;
    width: 22px;
    flex-basis: 22px;
  }

  .quizp-label {
    font-family: 'Roboto';
    font-size: 20px;
  }

  .quizp-select {
    height: 78px;
    padding: 0 20px;
    font-size: 18px;
    line-height: 1.25;
    text-align: left;
  }

  .quizp-date-field .quizp-select {
    color: transparent;
    -webkit-text-fill-color: transparent;
    caret-color: transparent;
    appearance: none;
    -webkit-appearance: none;
  }

  .quizp-date-field .quizp-select::-webkit-date-and-time-value {
    height: 100%;
    min-height: 1.25em;
    opacity: 0;
    text-align: center;
  }

  .quizp-date-display {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    pointer-events: none;
    font-family: 'Roboto';
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    color: #08080b;
    text-align: left;
  }

  .quizp-date-display.is-placeholder {
    color: #85858a;
  }

  #quizpInsuranceOptions .quizp-option {
    min-height: 76px;
    grid-template-columns: 32px minmax(0, 1fr) auto 22px;
    column-gap: 10px;
    padding: 0 14px;
  }

  #quizpInsuranceOptions .quizp-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  #quizpInsuranceOptions .quizp-icon img {
    max-width: 32px;
    max-height: 32px;
  }

  #quizpInsuranceOptions .quizp-option strong {
    font-size: 16px;
    line-height: 1.25;
  }

  #quizpInsuranceOptions .quizp-option-badge {
    padding: 5px 9px;
    font-size: 12px;
    white-space: nowrap;
  }

  .quizp-company-box {
    padding: 22px 18px;
  }

  .quizp-next-btn {
    font-family: 'Roboto';
    margin-top: 15px;
    min-width: 240px;
    height: 58px;
    font-size: 17px;
  }

  .quizp-footer {
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .quizp-logo {
    margin-right: 0;
  }

  .quizp-footer-actions {
    flex-wrap: wrap;
    gap: 12px;
  }
}

.quizp-stpe4-modal,
.quizp-stpe4-modal * {
  box-sizing: border-box;
}

.quizp-stpe4-modal {
  font-family: 'Roboto', Arial, sans-serif;
}

.quizp-stpe4-dialog {
  max-width: 1180px;
}

.quizp-stpe4-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.quizp-stpe4-header {
  min-height: 112px;
  background: #fffaff;
  border-bottom: 1px solid #eee3ef;
  position: relative;
  padding: 34px 88px 18px;
}

.quizp-stpe4-stepper {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 28px 1fr 28px 1fr 28px;
  column-gap: 14px;
  align-items: start;
}

.quizp-stpe4-step {
  color: #ff4af3;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.quizp-stpe4-step span {
  width: 28px;
  height: 28px;
  border: 2px solid #ff4af3;
  border-radius: 50%;
  background: #fff;
  color: #ff4af3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.quizp-stpe4-step.done span {
  background: #ff28df;
  color: #fff;
}

.quizp-stpe4-step p {
  font-family: 'Roboto';
  width: max-content;
  max-width: 170px;
  margin: 0;
}

.quizp-stpe4-step small {
  display: block;
  margin-top: 4px;
  color: #8d8796;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.quizp-stpe4-line {
  height: 8px;
  background: #dedee8;
  border-radius: 50px;
  margin-top: 10px;
}

.quizp-stpe4-line.active {
  background: linear-gradient(90deg, #ff48f4, #f313a7);
}

.quizp-stpe4-back {
  position: absolute;
  left: 24px;
  top: 34px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #15151a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.quizp-stpe4-close {
  position: absolute;
  right: 24px;
  top: 36px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.quizp-stpe4-body {
  padding: 38px 0 64px;
  background: linear-gradient(180deg, #FFFFFF 0%, #CEE7FC 100%);
  scroll-behavior: smooth;
}

.quizp-stpe4-title {
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 14px;
}

.quizp-stpe4-intro {
  max-width: 520px;
  margin: 0 auto 48px;
  text-align: center;
}

.quizp-stpe4-intro p {
  display: inline;
  font-family: 'Roboto';
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #6f6b78;
}

.quizp-stpe4-intro p + p::before {
  content: ' ';
}

.quizp-stpe4-compare-link {
  font-family: 'Roboto';
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 52px;
  margin: 16px auto 0;
  padding: 0 28px;
  border: 1px solid #4F94F1;
  border-radius: 9999px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  background: #4F94F1;
  box-shadow: inset 0 7px 10px rgba(255, 255, 255, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.quizp-stpe4-compare-link:hover,
.quizp-stpe4-compare-link:focus {
  color: #fff;
  border-color: #3D7FD7;
  background: #3D7FD7;
  box-shadow: inset 0 7px 10px rgba(255, 255, 255, 0.32);
}

.quizp-stpe4-compare-link b {
  font-size: 20px;
  line-height: 1;
}

.quizp-next-btn:hover,
.quizp-next-btn:focus,
.quizp-next-btn:active {
  border-color: #3D7FD7;
  background: #3D7FD7;
  color: #fff;
  box-shadow: none;
}

.quizp-stpe4-products {
  max-width: 1140px;
  margin: 0 auto;
}

.quizp-stpe4-debug {
  max-width: 1140px;
  margin: 20px auto 0;
}

.quizp-stpe4-debug-label {
  display: block;
  margin-bottom: 8px;
  color: #4f2d7f;
  font-size: 14px;
  font-weight: 700;
}

.quizp-stpe4-debug-textarea {
  width: 100%;
  min-height: 220px;
  padding: 16px;
  border: 1px solid #e2d8f2;
  border-radius: 16px;
  background: #fbf8ff;
  color: #35214f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
  resize: vertical;
}

.quizp-stpe4-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 348px));
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}

.quizp-stpe4-products-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 348px));
}

.quizp-stpe4-products-grid--count-1 {
  grid-template-columns: minmax(0, 348px);
}

.quizp-stpe4-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 450px;
  min-height: 450px;
  border-radius: 32px;
  background: #fff;
  margin-bottom: 42px;
  box-shadow: 0 4px 12px rgba(255, 109, 250, .2);
  overflow: hidden;
}

.quizp-stpe4-card.is-best {
  min-height: 450px;
  margin-top: 0;
}

.quizp-stpe4-card-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 30px 26px;
  transition: flex-grow .38s cubic-bezier(.22, 1, .36, 1) .08s, padding .38s cubic-bezier(.22, 1, .36, 1) .08s;
}

.quizp-stpe4-card-top {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.quizp-stpe4-badge {
  font-family: 'Roboto';
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: #ffe29a;
  color: #7a5a00;
  border-radius: 16px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
}

.quizp-stpe4-card.is-best .quizp-stpe4-badge {
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
}

.quizp-stpe4-score {
  font-family: 'Roboto';
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1;
}

.quizp-stpe4-score strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  background: linear-gradient(90deg, #FF51FF 0.34%, #F616B9 63.37%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.quizp-stpe4-score span {
  color: #7d7d82;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

.quizp-stpe4-logo {
  flex: 1 1 auto;
  width: 100%;
  max-width: 160px;
  height: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 14px;
  line-height: 16px;
  font-weight: 900;
}

.quizp-stpe4-logo-fallback {
  display: -webkit-box;
  max-height: 32px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quizp-stpe4-logo-opes {
  font-family: 'Roboto';
  letter-spacing: 4px;
}

.quizp-stpe4-logo-tech {
  color: #d92626;
  font-size: 11px;
}

.quizp-stpe4-logo-aaa {
  color: #e33131;
}

.quizp-stpe4-card-logo {
  display: block;
  width: auto;
  max-width: 126px;
  height: auto;
  max-height: 30px;
  object-fit: contain;
  object-position: left center;
  margin: 0;
}

.quizp-stpe4-card h3 {
  font-family: 'Familjen Grotesk';
  font-size: 20px;
  line-height: 1.45;
  font-weight: 900;
  height: 1.45em;
  margin: 0 0 20px;
  color: #15151a;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quizp-stpe4-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.quizp-stpe4-price strong {
  font-family: 'Familjen Grotesk';
  font-size: 24px;
  font-weight: 900;
  color: #55545c;
}

.quizp-stpe4-price span {
  font-family: 'Roboto';
  color: #777;
}

.quizp-stpe4-card-price-note {
  display: block;
  min-height: 18px;
  margin: 0 0 12px;
  color: #E542E5;
  font-family: 'Roboto';
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.quizp-stpe4-card-main p {
  font-family: 'Roboto';
  font-size: 16px;
  line-height: 1.5;
  color: #89898d;
  height: 96px;
  max-height: 96px;
  margin: 0 0 18px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #d7d2dc transparent;
}

.quizp-stpe4-card-main p::-webkit-scrollbar {
  width: 4px;
}

.quizp-stpe4-card-main p::-webkit-scrollbar-thumb {
  background: #d7d2dc;
  border-radius: 999px;
}

.quizp-stpe4-card-points {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.quizp-stpe4-card-points li {
  position: relative;
  padding-left: 24px;
  font-family: 'Roboto';
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: #89898d;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quizp-stpe4-card-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff51ff;
  font-weight: 900;
}

.quizp-stpe4-buy {
  font-family: 'Roboto';
  display: inline-flex;
  width: 100%;
  height: 48px;
  border: 1.5px solid #ff9cf8;
  border-radius: 50px;
  align-items: center;
  justify-content: center;
  color: #ff42f3;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  margin-top: auto;
}

.quizp-stpe4-buy:hover {
  color: #ff42f3;
}

.quizp-stpe4-reason {
  background: rgba(246, 244, 249, .9);
  display: grid;
  grid-template-rows: 0fr;
  flex: 0 0 auto;
  padding: 0 16px;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .38s cubic-bezier(.22, 1, .36, 1), flex-grow .38s cubic-bezier(.22, 1, .36, 1), padding .38s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, visibility 0s linear .38s;
}

.quizp-stpe4-reason-content {
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.quizp-stpe4-reason strong {
  font-family: 'Roboto';
  display: block;
  color: #5f5b68;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 18px;
}

.quizp-stpe4-reason ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quizp-stpe4-reason li {
  padding-left: 34px;
  position: relative;
  color: #716c7a;
  font-family: 'Roboto';
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 8px;
}

.quizp-stpe4-reason li:last-child {
  margin-bottom: 0;
}

.quizp-stpe4-reason li::before {
  content: "\2605";
  position: absolute;
  left: 0;
  top: 4px;
  color: #ff51ff;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.quizp-stpe4-reason-toggle {
  appearance: none;
  width: 100%;
  height: 56px;
  min-height: 56px;
  flex: 0 0 56px;
  border: 0;
  border-top: 1px solid #eeeaf1;
  background: rgba(246, 244, 249, .9);
  color: #5f5b68;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  font-family: 'Roboto';
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.quizp-stpe4-reason-toggle-icons,
.quizp-stpe4-reason-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.quizp-stpe4-reason-toggle-icons {
  display: block;
  position: relative;
  color: #56515E;
}

.quizp-stpe4-reason-icon {
  display: block;
  position: absolute;
  inset: 0;
  transition: opacity .2s ease, transform .25s ease;
}

.quizp-stpe4-reason-icon-close {
  opacity: 0;
  transform: scale(.85);
}
.quizp-stpe4-card.is-reason-open .quizp-stpe4-card-main {
  flex: 0 0 auto;
  padding-bottom: 16px;
  transition-delay: 0s;
}

.quizp-stpe4-card.is-reason-open .quizp-stpe4-card-top,
.quizp-stpe4-card.is-reason-open .quizp-stpe4-price,
.quizp-stpe4-card.is-reason-open .quizp-stpe4-card-price-note,
.quizp-stpe4-card.is-reason-open .quizp-stpe4-card-main > p {
  display: none;
}

.quizp-stpe4-card.is-reason-open .quizp-stpe4-card-main h3 {
  margin-bottom: 20px;
}

.quizp-stpe4-card.is-reason-open .quizp-stpe4-reason {
  grid-template-rows: 1fr;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 8px 16px 16px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.quizp-stpe4-card.is-reason-open .quizp-stpe4-reason-content {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  padding-bottom: 12px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #d7d2dc transparent;
}

.quizp-stpe4-card.is-reason-open .quizp-stpe4-reason-content::-webkit-scrollbar {
  width: 4px;
}

.quizp-stpe4-card.is-reason-open .quizp-stpe4-reason-content::-webkit-scrollbar-thumb {
  background: #d7d2dc;
  border-radius: 999px;
}
.quizp-stpe4-card.is-reason-open .quizp-stpe4-reason-icon-open {
  opacity: 0;
  transform: scale(.85);
}

.quizp-stpe4-card.is-reason-open .quizp-stpe4-reason-icon-close {
  opacity: 1;
  transform: scale(1);
}
.quizp-stpe4-compare {
  width: calc(100% - 48px);
  max-width: 1120px;
  margin: 30px auto 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
  background: #fff;
  scroll-margin-top: 24px;
}

.quizp-stpe4-compare-title {
  font-family: 'Familjen Grotesk';
  max-width: 920px;
  margin: 64px auto 0;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  color: #000;
  scroll-margin-top: 24px;
}

.quizp-stpe4-table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #9B9B9B #E6E6E6;
}

.quizp-stpe4-table-scroll::-webkit-scrollbar {
  height: 2px;
}

.quizp-stpe4-table-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #E6E6E6;
}

.quizp-stpe4-table-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #9B9B9B;
}

.quizp-stpe4-head-label {
  display: block;
  font-family: 'Roboto';
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  text-transform: uppercase;
}

.quizp-stpe4-zoom-open {
  display: none;
}

.quizp-stpe4-zoom-overlay[hidden] {
  display: none !important;
}

.quizp-stpe4-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: none;
  background: #f2f8ff;
}

body.quizp-compare-zoom-open {
  overflow: hidden;
}

.quizp-stpe4-zoom-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background: #f2f8ff;
}

.quizp-stpe4-zoom-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 12px;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 22, 28, 0.08);
}

.quizp-stpe4-zoom-toolbar strong {
  color: #10265f;
  font-family: 'Roboto';
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.quizp-stpe4-zoom-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quizp-stpe4-zoom-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d8e4f4;
  border-radius: 999px;
  background: #fff;
  color: #10265f;
  font-family: 'Roboto';
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.quizp-stpe4-zoom-close {
  color: #4F94F1 !important;
  font-size: 22px !important;
}

.quizp-stpe4-zoom-stage {
  flex: 1 1 auto;
  overflow: auto;
  padding: 16px 16px calc(env(safe-area-inset-bottom, 0px) + 24px);
  -webkit-overflow-scrolling: touch;
}

.quizp-stpe4-zoom-content {
  position: relative;
  transform-origin: top left;
}

.quizp-stpe4-zoom-content .quizp-stpe4-table {
  transform-origin: top left;
}

.quizp-stpe4-zoom-content .quizp-stpe4-zoom-open {
  display: none !important;
}

.quizp-stpe4-table {
  min-width: max-content;
}

.quizp-stpe4-row {
  display: flex;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
}

.quizp-stpe4-row>div {
  font-family: 'Roboto';
  width: 292px;
  min-width: 292px;
  flex: 0 0 292px;
  padding: 18px;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  font-size: 14px;
  color: #16161c;
  background: #fff;
}

.quizp-stpe4-row:not(.quizp-stpe4-head-row)>div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.quizp-stpe4-row>div:first-child {
  width: 260px;
  min-width: 260px;
  flex-basis: 260px;
  position: sticky;
  left: 0;
  z-index: 3;
  background: #fff;
  box-shadow: 10px 0 18px -18px rgba(22, 22, 28, 0.45);
  border-right: 1px solid #eee;
}

.quizp-stpe4-head-row > div:not(:first-child) {
  align-items: center;
  text-align: center;
}

.quizp-stpe4-head-row > div:not(:first-child) .quizp-stpe4-head-brand {
  width: 100%;
  justify-content: center;
}

.quizp-stpe4-head-row > div:not(:first-child) span {
  align-self: center;
}

.quizp-stpe4-head-row>div:first-child {
  color: #000;
  font-weight: 900;
  text-transform: uppercase;
}

.quizp-stpe4-row>div:last-of-type {
  border-right: 0;
}

.quizp-stpe4-row:last-child>div {
  border-bottom: 0;
}

.quizp-stpe4-head-row>div {
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  overflow: hidden;
}

.quizp-stpe4-head-row>div:first-child {
  z-index: 5;
}

.quizp-stpe4-head-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
}

.quizp-stpe4-head-brand img {
  width: auto;
  max-width: 128px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.quizp-stpe4-head-brand-name {
  font-size: 16px;
  font-weight: 900;
  color: #10265f;
}

.quizp-stpe4-table-logo {
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

.quizp-stpe4-head-row strong {
  font-family: 'Roboto';
  font-size: 16px;
  line-height: 1.45;
}

.quizp-stpe4-head-row>div>span:not(.quizp-stpe4-head-label) {
  position: absolute;
  top: 22px;
  right: -48px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 26px;
  transform: rotate(45deg);
  transform-origin: center;
  align-self: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, #FFECA8 0%, #FFD36A 42%, #F2AC27 100%);
  color: #7a5a00;
  border-radius: 0;
  padding: 0 18px;
  box-shadow:
    0 5px 10px rgba(122, 90, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(162, 105, 0, 0.12);
  font-size: 8px;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.quizp-stpe4-highlight {
  background: #fff1fd;
}

.quizp-stpe4-head-row .quizp-stpe4-highlight {
  border-radius: 0;
}

.quizp-stpe4-price-row .quizp-stpe4-highlight {
  border-radius: 0;
}

.quizp-stpe4-section>div {
  background: #F3F6FF;
  color: #16161c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.quizp-stpe4-section>div:first-child,
.quizp-stpe4-price-row>div:first-child {
  z-index: 4;
}

.quizp-stpe4-section>div:first-child {
  background: #F3F6FF;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.quizp-stpe4-category-heading {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
  max-width: none;
  transform: translate(-50%, -50%);
  color: #10265f;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.quizp-stpe4-category-heading>span:nth-child(2) {
  min-width: 0;
  white-space: nowrap;
}

.quizp-stpe4-category-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  background: #fff;
  color: #FF51FF;
}

.quizp-stpe4-category-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.quizp-stpe4-category-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: #d5e6ff;
  color: #47649a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: none;
  cursor: help;
  overflow: visible;
  z-index: 30;
}

.quizp-stpe4-category-info .quizp-stpe4-category-tooltip {
  left: auto;
  right: 0;
  bottom: calc(100% + 14px);
  transform: translateY(8px);
}

.quizp-stpe4-category-info:hover .quizp-stpe4-category-tooltip,
.quizp-stpe4-category-info:focus .quizp-stpe4-category-tooltip,
.quizp-stpe4-category-info:focus-visible .quizp-stpe4-category-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.quizp-stpe4-section {
  position: relative;
}

.quizp-stpe4-section>div:not(:first-child) {
  background: #F3F6FF;
  color: #16161c;
  font-weight: 800;
}

.quizp-stpe4-benefit-section>div {
  border-top: 16px solid #F6F6F6;
}

.quizp-stpe4-row.quizp-stpe4-benefit-section>div {
  padding-top: 24px;
  padding-bottom: 24px;
}

.quizp-stpe4-benefit-section .quizp-stpe4-category-heading {
  top: calc(50% + 8px);
}

.quizp-stpe4-section>div:last-of-type {
  flex-grow: 1;
  align-items: flex-end;
  justify-content: center;
  padding-right: 16px;
}

.quizp-stpe4-section>.quizp-stpe4-category-info {
  margin-left: auto;
  align-self: center;
}

.quizp-stpe4-status-row>div {
  min-height: 54px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #fff;
}

.quizp-stpe4-status-row>div:first-child {
  background: #fff;
  color: #4f4a57;
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
}

.quizp-stpe4-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #f0f4fb;
  color: #4f6fa7;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.quizp-stpe4-status-chip--available {
  background: #dbffe9;
  color: #2fc151;
}

.quizp-stpe4-status-chip--selected {
  background: #fff0ff;
  color: #f04bf0;
}

.quizp-stpe4-status-chip--addable {
  background: #edf5ff;
  color: #4b91ff;
}

.quizp-stpe4-status-chip--muted {
  background: #eeeeef;
  color: #77727d;
}

.quizp-stpe4-selected-benefit-row>div:not(:first-child) {
  color: #2FC151;
  font-weight: 600;
}

.quizp-stpe4-selected-benefit-row>div:first-child {
  border-left: 3px solid #FF51FF;
  background: #F3F6FF;
}

.quizp-stpe4-main-benefit-row>div:first-child {
  border-left: 3px solid #FF51FF;
  background: #F3F6FF;
}

.quizp-stpe4-selected-benefit-row>div:not(:first-child) span {
  color: inherit;
}

.quizp-stpe4-selected-benefit-tag {
  display: block;
  font-weight: 800;
}

.quizp-stpe4-selected-benefit-tag + span {
  display: block;
  margin-top: 4px;
  font-weight: 400;
}

.quizp-stpe4-section>div:not(:first-child) .quizp-stpe4-selected-benefit-tag + span,
.quizp-stpe4-selected-benefit-row>div:not(:first-child) .quizp-stpe4-selected-benefit-tag + span {
  font-weight: 400;
}

.quizp-stpe4-available-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2FC151;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.quizp-stpe4-available-value span {
  color: #2FC151;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.quizp-stpe4-conclusion-row>div,
.quizp-stpe4-price-row>div {
  background: #fff;
}

.quizp-stpe4-conclusion-row>div:first-child {
  background: #fff;
}

.quizp-stpe4-score-label-row>div:first-child {
  color: #16161c;
  font-weight: 800;
}

.quizp-stpe4-price-row>div {
  position: relative;
  border-top: 16px solid #F6F6F6;
  border-bottom: 0;
  border-right: 0;
  padding: 24px 28px;
  background: #EAF4FF;
  justify-content: flex-start;
  min-height: 157px;
  box-shadow: 0 12px 16px -4px rgba(213, 87, 213, 0.18);
}

.quizp-stpe4-price-row>div:first-child {
  border-left: 0;
  border-radius: 0;
  background: #EAF4FF;
}

.quizp-stpe4-price-row>div:last-of-type {
  border-right: 0;
  border-radius: 0;
}

.quizp-stpe4-price-row>div:first-child strong,
.quizp-stpe4-price-row>div:not(:first-child)>strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.quizp-stpe4-price-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
  margin-bottom: 24px;
  text-align: center;
}

.quizp-stpe4-price-summary .quizp-stpe4-price {
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 6px;
  row-gap: 0;
  margin-bottom: 0;
  line-height: 1.15;
}

.quizp-stpe4-price-summary .quizp-stpe4-price strong {
  font-size: 20px;
  font-weight: 900;
  color: #10265f;
  line-height: 1.15;
}

.quizp-stpe4-price-summary .quizp-stpe4-price span {
  color: #10265f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.15;
}

.quizp-stpe4-price-row .quizp-stpe4-price-note {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  color: #E542E5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.quizp-stpe4-row:not(.quizp-stpe4-section):not(.quizp-stpe4-conclusion-row):not(.quizp-stpe4-price-row)>div:first-child {
  background: #fff;
}

.quizp-stpe4-label-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
}
.quizp-stpe4-row:not(.quizp-stpe4-section):not(.quizp-stpe4-head-row):not(.quizp-stpe4-price-row)>div:not(:first-child) {
  color: #6a6572;
}

.quizp-stpe4-price-row small {
  display: block;
  color: #aaa;
  text-decoration: line-through;
  font-size: 11px;
}

.quizp-stpe4-price-row strong {
  display: block;
  margin-bottom: 0;
}

.quizp-stpe4-price-row a {
  display: flex;
  width: 100%;
  height: 40px;
  min-height: 40px;
  margin-top: auto;
  border: 1.5px solid #ff9cf8;
  border-radius: 50px;
  align-items: center;
  justify-content: center;
  color: #ff42f3;
  background: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.quizp-stpe4-price-row > div {
  vertical-align: bottom;
}

/* Step 4 comparison table visual states. */
.quizp-stpe4-head-row>div:first-child,
.quizp-stpe4-section:not(.quizp-stpe4-selected-benefit-row):not(.quizp-stpe4-main-benefit-row)>div {
  background: #E5EEFF;
  box-shadow: none;
}

.quizp-stpe4-head-row > div:first-child {
  background: #E5EEFF;
  box-shadow: none;
  color: #000;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
  text-transform: uppercase;
}
.quizp-stpe4-row:not(.quizp-stpe4-head-row)>div:not(:first-child) {
  align-items: center;
  text-align: center;
}


.quizp-stpe4-selected-benefit-row>div,
.quizp-stpe4-main-benefit-row>div {
  background: #FFF3FE;
  color: #55004F;
}

.quizp-stpe4-selected-benefit-row>div:first-child,
.quizp-stpe4-main-benefit-row>div:first-child {
  background: #FFF3FE;
  border-left: 0;
  color: #55004F;
}

.quizp-stpe4-selected-benefit-row>div:not(:first-child),
.quizp-stpe4-main-benefit-row>div:not(:first-child) {
  color: #55004F;
  font-weight: 800;
}

.quizp-stpe4-section.quizp-stpe4-selected-benefit-row>div:not(:first-child),
.quizp-stpe4-section.quizp-stpe4-main-benefit-row>div:not(:first-child) {
  background: #FFF3FE;
  color: #55004F;
}

.quizp-stpe4-selected-benefit-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  color: #55004F;
  font-weight: 800;
}

.quizp-stpe4-selected-benefit-tag--addable {
  color: #16161c;
}

.quizp-stpe4-selected-benefit-tag--selected::after {
  content: '\2713';
  color: #2FC151;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.quizp-stpe4-selected-benefit-tag + span {
  display: block;
  margin-top: 4px;
  width: 100%;
  text-align: center;
  font-weight: 800;
}

.quizp-stpe4-available-value {
  justify-content: center;
  color: #55004F;
}

.quizp-stpe4-available-value span {
  color: #2FC151;
}
.quizp-stpe4-empty-state {
  padding: 56px 24px 72px;
  text-align: center;
}

.quizp-stpe4-empty-state h3 {
  margin: 0 0 16px;
  color: #1d1d1f;
  font-family: 'Familjen Grotesk', 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.quizp-stpe4-empty-state p {
  max-width: 760px;
  margin: 0 auto 36px;
  color: #7e7e7e;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.quizp-stpe4-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.quizp-stpe4-empty-call,
.quizp-stpe4-empty-contact {
  min-width: 174px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quizp-stpe4-empty-call {
  background: #4F94F1;
  color: #fff !important;
  box-shadow: inset 0 7px 10px rgba(255, 255, 255, 0.4);
}

.quizp-stpe4-empty-call:hover,
.quizp-stpe4-empty-call:focus,
.quizp-stpe4-empty-call:active {
  background: #3D7FD7;
  color: #fff !important;
  box-shadow: none;
}

.quizp-stpe4-empty-contact {
  border: 1px solid #ffc0fa;
  background: #fff;
  color: #ff42f3 !important;
}

.quizp-stpe4-empty-or {
  margin-bottom: 16px;
  color: #7e7e7e;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.quizp-stpe4-empty-reset {
  color: #ff42f3 !important;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.quizp-stpe4-table--hidden {
  display: none !important;
}

.quizp-stpe4-footer {
  min-height: 96px;
  background: #faf7ff;
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 30px;
}

.quizp-stpe4-footer-logo {
  color: #ff49f4;
  font-size: 30px;
  font-weight: 900;
  margin-right: auto;
}

.quizp-stpe4-footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quizp-stpe4-footer-actions a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.quizp-stpe4-reset {
  font-family: 'Roboto';
  background: #4F94F1;
  color: #fff !important;
  box-shadow: inset 0 7px 10px rgba(255, 255, 255, 0.4);
  padding: 10px 18px;
  border-radius: 50px;
}

.quizp-stpe4-reset:hover,
.quizp-stpe4-reset:focus,
.quizp-stpe4-reset:active {
  background: #3D7FD7;
  color: #fff !important;
  box-shadow: none;
}

.quizp-stpe4-call {
  font-family: 'Roboto';
  border: 1px solid #ffc0fa;
  padding: 10px 18px;
  border-radius: 50px;
  color: #ff42f3;
  background: #fff;
}

.quizp-stpe4-contact {
  font-family: 'Roboto';
  color: #ff42f3;
}

@media (max-width: 991px) {
  .quizp-stpe4-dialog {
    max-width: 100%;
    margin: 0;
  }

  .quizp-stpe4-products-grid,
  .quizp-stpe4-products-grid--count-2,
  .quizp-stpe4-products-grid--count-1 {
    grid-template-columns: minmax(0, 348px);
    gap: 28px;
  }

  .quizp-stpe4-card.is-best {
    margin-top: 0;
  }

  .quizp-stpe4-content {
    min-height: 100vh;
    border-radius: 14px;
  }

  .quizp-stpe4-header {
    padding: 16px 48px 12px;
    min-height: 82px;
  }

  .quizp-stpe4-stepper {
    max-width: 100%;
    grid-template-columns: 26px minmax(36px, 1fr) 26px minmax(36px, 1fr) 26px;
    column-gap: 6px;
  }

  .quizp-stpe4-line {
    height: 5px;
    margin-top: 10px;
  }

  .quizp-stpe4-step {
    font-size: 10px;
  }

  .quizp-stpe4-step span {
    width: 26px;
    height: 26px;
    font-size: 10px;
    margin-bottom: 6px;
  }

  .quizp-stpe4-step p {
    max-width: 90px;
    white-space: normal;
  }

  .quizp-stpe4-step small {
    font-size: 9px;
  }

  .quizp-stpe4-back {
    left: 10px;
    top: 20px;
    width: 28px;
    height: 28px;
    font-size: 22px;
  }

  .quizp-stpe4-close {
    right: 12px;
    top: 22px;
    font-size: 24px;
  }

  .quizp-stpe4-body {
    padding: 32px 14px 48px;
  }

  .quizp-stpe4-title {
    font-family: 'Familjen Grotesk';
    font-size: 26px;
    margin-bottom: 28px;
  }

  .quizp-stpe4-empty-state {
    padding: 40px 20px 56px;
  }

  .quizp-stpe4-empty-state h3 {
    font-size: 22px;
  }

  .quizp-stpe4-empty-state p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .quizp-stpe4-empty-actions {
    flex-direction: column;
    gap: 12px;
  }

  .quizp-stpe4-empty-call,
  .quizp-stpe4-empty-contact {
    width: 100%;
    max-width: 320px;
  }

  .quizp-stpe4-card {
    height: 450px;
    min-height: 450px;
    margin-bottom: 24px;
  }

  .quizp-stpe4-card-main {
    padding: 24px 22px 26px;
  }

  .quizp-stpe4-card h3 {
    margin-bottom: 18px;
  }

  .quizp-stpe4-price strong {
    font-size: 22px;
  }

  .quizp-stpe4-buy {
    width: 100%;
  }

  .quizp-stpe4-reason {
    padding: 0 16px;
  }

  .quizp-stpe4-card.is-reason-open .quizp-stpe4-reason {
  grid-template-rows: 1fr;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 8px 16px 16px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

  .quizp-stpe4-reason .col-md-4 {
    margin-bottom: 16px;
  }

  .quizp-stpe4-compare {
    width: calc(100% - 8px);
    margin-top: 36px;
  }

  .quizp-stpe4-row>div {
    width: 220px;
    min-width: 220px;
    flex-basis: 220px;
    padding: 16px;
  }
  .quizp-stpe4-table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .quizp-stpe4-table,
  .quizp-stpe4-row {
    width: max-content;
    min-width: max-content;
  }

  .quizp-stpe4-row>div:first-child {
    width: 160px;
    min-width: 160px;
    flex-basis: 160px;
  }

  .quizp-stpe4-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .quizp-stpe4-footer-logo {
    margin-right: 0;
  }

  .quizp-stpe4-footer-actions {
    width: 100%;
    flex-direction: column;
  }

  .quizp-stpe4-footer-actions a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .quizp-stpe4-header {
    padding: 14px 38px 10px;
    min-height: 82px;
    overflow: hidden;
  }

  .quizp-stpe4-stepper {
    min-width: 0;
    width: 100%;
    grid-template-columns: 26px minmax(36px, 1fr) 26px minmax(36px, 1fr) 26px;
    column-gap: 6px;
  }

  .quizp-stpe4-step {
    font-size: 9px;
  }

  .quizp-stpe4-step span {
    width: 26px;
    height: 26px;
    font-size: 10px;
    margin-bottom: 6px;
  }

  .quizp-stpe4-step:not(.active) p {
    display: none;
  }

  .quizp-stpe4-step.active p {
    max-width: 76px;
  }

  .quizp-stpe4-step.active small {
    max-width: 76px;
    white-space: normal;
  }

  .quizp-stpe4-back {
    left: 6px;
    top: 20px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .quizp-stpe4-close {
    right: 10px;
    top: 20px;
    font-size: 22px;
    background: #fffaff;
  }

  .quizp-stpe4-body {
    padding: 28px 12px;
  }

  .quizp-stpe4-title {
    font-size: 24px;
  }

  .quizp-stpe4-products {
    max-width: 100%;
  }

  .quizp-stpe4-table-scroll {
    margin-inline: 0;
    padding-inline: 0;
  }
  .quizp-stpe4-table,
  .quizp-stpe4-row {
    width: max-content;
    min-width: max-content;
  }

  .quizp-stpe4-row>div {
    width: 188px;
    min-width: 188px;
    flex-basis: 188px;
    padding: 14px 12px;
  }

  .quizp-stpe4-row>div:first-child {
    width: 136px;
    min-width: 136px;
    flex-basis: 136px;
  }

  .quizp-stpe4-footer {
    padding: 20px;
  }

  .quizp-stpe4-content {
    border-radius: 0;
  }
}

/* mobile comparison table overflow guard */
@media (max-width: 575px) {
  .quizp-stpe4-table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .quizp-stpe4-row>div {
    box-sizing: border-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .quizp-stpe4-row>div:first-child {
    width: 144px;
    min-width: 144px;
    flex-basis: 144px;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
  }

  .quizp-stpe4-head-row>div:first-child {
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }

  .quizp-stpe4-head-row>div:first-child .quizp-stpe4-head-label {
    display: none;
  }

  .quizp-stpe4-zoom-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #FF51FF;
    border-radius: 999px;
    background: #fff;
    color: #4F94F1;
    font-family: 'Roboto';
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: none;
    white-space: nowrap;
  }

  .quizp-stpe4-zoom-open svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: #FF51FF;
  }

  .quizp-stpe4-zoom-overlay.is-open {
    display: flex;
  }

  .quizp-stpe4-main-benefit-row>div:first-child,
  .quizp-stpe4-selected-benefit-row>div:first-child,
  .quizp-stpe4-section>div:first-child {
    font-size: 14px;
    line-height: 1.3;
  }

  .quizp-stpe4-section>div:first-child {
    white-space: nowrap;
  }

  .quizp-stpe4-main-benefit-row>div:not(:first-child),
  .quizp-stpe4-selected-benefit-row>div:not(:first-child) {
    font-size: 16px;
    line-height: 1.25;
    white-space: normal;
  }

  .quizp-stpe4-selected-benefit-tag {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: center;
  }

  .quizp-stpe4-category-heading {
    gap: 6px;
    font-size: 13px;
    left: 12px;
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    justify-content: flex-start;
    transform: translateY(-50%);
    white-space: nowrap;
  }

  .quizp-stpe4-category-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .quizp-stpe4-category-info .quizp-stpe4-category-tooltip {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 50%;
    bottom: auto;
    width: auto;
    max-width: none;
    transform: translateY(calc(-50% + 8px));
    z-index: 1080;
  }

  .quizp-stpe4-category-info:hover .quizp-stpe4-category-tooltip,
  .quizp-stpe4-category-info:focus .quizp-stpe4-category-tooltip,
  .quizp-stpe4-category-info:focus-visible .quizp-stpe4-category-tooltip {
    transform: translateY(-50%);
  }

}
.quizp-loading-modal .modal-dialog {
    max-width: min(880px, calc(100vw - 32px));
}

.quizp-loading-content {
    border: 0;
    border-radius: 18px;
    min-height: min(560px, calc(100vh - 72px));
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(28, 18, 44, 0.18);
}

.quizp-loading-screen {
    display: flex;
    min-height: min(560px, calc(100vh - 72px));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #CEE7FC 100%);
    color: #8a8790;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

.quizp-loading-screen--inline {
    min-height: 360px;
    padding: 40px 24px;
    border: 1px solid rgba(61, 127, 215, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0.64) 34%, transparent 66%),
        linear-gradient(180deg, #FFFFFF 0%, #CEE7FC 100%);
    box-shadow: 0 18px 44px rgba(61, 127, 215, 0.12);
}

.quizp-page-card.is-loading-results .quizp-stpe4-header,
.quizp-page-card.is-loading-results .quizp-stpe4-title,
.quizp-page-card.is-loading-results .quizp-stpe4-intro,
.quizp-page-card.is-loading-results .quizp-stpe4-debug,
.quizp-page-card.is-loading-results .quizp-stpe4-compare-title,
.quizp-page-card.is-loading-results .quizp-stpe4-compare,
.quizp-page-card.is-loading-results .quizp-footer {
    display: none !important;
}

body:has(.quizp-page-card.is-loading-results) .affina-chatbot-floating-button {
    display: none !important;
}

.quizp-page-card.is-loading-results .quizp-stpe4-body {
    min-height: 720px;
    padding: 80px 24px;
}

.quizp-loading-animation {
    width: 180px;
    height: 180px;
}

.quizp-loading-rive {
    width: 180px;
    height: 180px;
    display: block;
    opacity: 0;
}

.quizp-loading-animation.has-rive-animation .quizp-loading-rive {
    opacity: 1;
}

.quizp-loading-screen p {
    margin: 0;
}

.quizp-loading-dots {
    display: inline-flex;
    width: 18px;
    justify-content: flex-start;
}

.quizp-loading-dots span {
    animation: quizp-loading-dot 0.9s infinite ease-in-out;
    opacity: 0.25;
}

.quizp-loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.quizp-loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@media (max-width: 767.98px) {
  .affina-quiz-page-wrap,
  .affina-quiz-webview-main {
    padding: 0;
  }
}

@keyframes quizp-loading-dot {
    0%, 80%, 100% {
        opacity: 0.25;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@media (max-width: 575px) {

/* mobile comparison table overflow guard */
@media (max-width: 575px) {
  .quizp-stpe4-table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .quizp-stpe4-row>div {
    box-sizing: border-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .quizp-stpe4-row>div:first-child {
    width: 144px;
    min-width: 144px;
    flex-basis: 144px;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
  }

  .quizp-stpe4-main-benefit-row>div:first-child,
  .quizp-stpe4-selected-benefit-row>div:first-child,
  .quizp-stpe4-section>div:first-child {
    font-size: 14px;
    line-height: 1.3;
  }

  .quizp-stpe4-section>div:first-child {
    white-space: nowrap;
  }

  .quizp-stpe4-main-benefit-row>div:not(:first-child),
  .quizp-stpe4-selected-benefit-row>div:not(:first-child) {
    font-size: 16px;
    line-height: 1.25;
    white-space: normal;
  }

  .quizp-stpe4-selected-benefit-tag {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: center;
  }
}
.quizp-loading-modal .modal-dialog {
        width: 100%;
        max-width: 100%;
        min-height: 100dvh;
        margin: 0;
    }

    .quizp-loading-content {
        min-height: 100dvh;
        border-radius: 0;
    }

    .quizp-loading-screen {
        min-height: 100dvh;
        padding: 24px;
    }

    .quizp-loading-screen--inline {
        min-height: 320px;
        padding: 32px 16px;
        border-radius: 18px;
        font-size: 20px;
    }

    .quizp-page-card.is-loading-results .quizp-stpe4-body {
        min-height: 100dvh;
        padding: 48px 16px;
    }

    .quizp-loading-animation,
    .quizp-loading-rive {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 375px) {
    .quizp-loading-screen--inline {
        min-height: 290px;
        padding: 24px 10px;
        font-size: 16px;
    }

    .quizp-loading-screen--inline .quizp-loading-animation,
    .quizp-loading-screen--inline .quizp-loading-rive {
        width: 150px;
        height: 150px;
    }

    .quizp-loading-screen--inline p {
        white-space: nowrap;
    }
}
