*, *::before, *::after {
  box-sizing: border-box;
}

.qf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #111827;
}

.qf-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 32px;
}
.qf-header__logo {
  height: 47px;
  width: auto;
  object-fit: contain;
}
.qf-header__product-logo {
  height: 37px;
  width: auto;
  object-fit: contain;
}

.qf-main {
  min-height: 60vh;
}

.qf-footer {
  max-width: calc(100% - 336px - 24px);
  padding: 16px 32px;
  font-size: 12px;
  color: #9ca3af;
  font-style: italic;
}
.qf-footer > p {
  margin: 0;
  padding: 0;
}

.qf-layout {
  display: grid;
  grid-template-columns: 1fr 336px;
  grid-template-rows: auto 1fr;
  column-gap: 24px;
  align-items: start;
}
.qf-layout__progress {
  grid-column: 1;
  grid-row: 1;
}
.qf-layout__form {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}
.qf-layout__sidebar {
  grid-column: 2;
  grid-row: 2;
  position: sticky;
  top: 16px;
}

.qf-progress {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.qf-progress__step {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.qf-progress__step:last-child {
  flex-grow: 0;
}
.qf-progress__step:not(:last-child) {
  flex-grow: 1;
}
.qf-progress__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px dashed #e5e7eb;
  background: #fff;
  transition: all 0.15s;
}
.qf-progress__number {
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
}
.qf-progress__check {
  width: 18px;
  height: 18px;
  color: #6b7280;
}
.qf-progress__track {
  flex-grow: 1;
  height: 2px;
  margin: 0 4px;
  border-radius: 0;
  background: none;
  border-top: 2px dashed #e5e7eb;
}
.qf-progress__track--done {
  border-top: none;
  background: #1e73be;
}
.qf-progress__step--done .qf-progress__circle {
  border: 2px solid #1e73be;
}
.qf-progress__step--done .qf-progress__number {
  color: #1e73be;
}
.qf-progress__step--done .qf-progress__check {
  color: #1e73be;
}
.qf-progress__step--active .qf-progress__circle {
  border: 2px solid #1e73be;
  background: #1e73be;
  box-shadow: inset 0 0 0 3px #fff;
}
.qf-progress__step--active .qf-progress__number {
  color: #fff;
}
.qf-progress__step--active .qf-progress__check {
  color: #fff;
}
.qf-progress a.qf-progress__step--clickable {
  text-decoration: none;
  cursor: pointer;
}
.qf-progress a.qf-progress__step--clickable:hover .qf-progress__circle {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #a3cbee;
}

.qf-section:has(.qf-field):not(:has(.qf-field:not([style*=none]))) {
  display: none !important;
}

.qf-step__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111827;
}
.qf-step__subtitle {
  color: #6b7280;
  margin: 0 0 24px;
}

.qf-form {
  position: relative;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
}
.qf-form--bg .qf-form__footer {
  position: relative;
  background: #f5f9fd;
  border-top: none;
  padding-top: calc(32px + 12px);
}
.qf-form--bg .qf-form__footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  height: 12px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  border: 1px solid #e5e7eb;
  border-top: none;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
}

.qf-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px dashed #e5e7eb;
}
.qf-section:last-child, .qf-section:has(+ .qf-form__footer), .qf-section:has(+ .qf-mobile-bar), .qf-section:has(+ [data-phase=coverages]:not([style*=block])), .qf-section:not([style*=none]):not(:has(~ .qf-section:not([style*=none]))) {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.qf-section__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  padding-bottom: 0;
  border-bottom: none;
  color: #111827;
}
.qf-section__subtitle {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}
.qf-section__intro {
  font-size: 14px;
  color: #6b7280;
  line-height: 24px;
  margin: 4px 0 16px;
}
.qf-section__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qf-trust-badge {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 16px 0 0;
  margin-top: 32px;
  margin-bottom: -16px;
  border-top: 1px solid #d1d5db;
  color: #16a34a;
  font-size: 14px;
}
.qf-trust-badge__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.qf-trust-badge__text {
  font-weight: 600;
}

.qf-prefilled {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
}
.qf-prefilled__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}
.qf-prefilled__title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.qf-prefilled__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.qf-prefilled__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}
.qf-prefilled__label {
  color: #6b7280;
  flex-shrink: 0;
}
.qf-prefilled__value {
  color: #6b7280;
  font-weight: 600;
  margin: 0;
  text-align: right;
}
.qf-prefilled .qf-btn {
  flex-shrink: 0;
  align-self: center;
}

.qf-scroll-lock {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

.qf-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.qf-modal-overlay--active {
  display: flex;
}

.qf-modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 540px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.qf-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
}
.qf-modal__text {
  font-size: 16px;
  color: #374151;
  line-height: 1.55;
  margin: 0 0 24px;
}
.qf-modal__actions {
  display: flex;
  gap: 12px;
}
.qf-modal__actions .qf-btn {
  flex: none;
}

.qf-ext-link {
  white-space: nowrap;
}
.qf-ext-link .qf-link-icon {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.05em;
  margin-left: 2px;
}

.qf-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qf-sidebar::after {
  content: "";
  position: absolute;
  inset: -8px -12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.qf-sidebar--loading::after {
  opacity: 1;
  visibility: visible;
}
.qf-sidebar__section {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
.qf-sidebar__header .qf-sidebar__section:first-of-type {
  padding-top: 0;
  border-top: none;
}
.qf-sidebar__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.qf-sidebar__logo {
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}
.qf-sidebar__pricing {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.qf-sidebar__total {
  font-weight: 700;
  font-size: 16px;
  color: #111827;
}
.qf-sidebar__tax {
  font-size: 14px;
  color: #6b7280;
}
.qf-sidebar__title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}
.qf-sidebar__usps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qf-sidebar__usp {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.qf-sidebar__usp-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.qf-sidebar__usp-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}
.qf-sidebar__modules {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.qf-sidebar__modules-edit {
  width: 100%;
  font-size: 14px;
  color: #1e73be;
  text-decoration: underline;
  cursor: pointer;
}
.qf-sidebar__modules-edit:hover {
  text-decoration: none;
}
.qf-sidebar__module {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
  padding: 2px 10px 2px 8px;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.15);
  background: #f0fdf4;
  font-weight: 500;
  color: #15803d;
}
.qf-sidebar__module-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}
.qf-sidebar__coverages-wrap {
  position: relative;
  padding-right: 158px;
}
.qf-sidebar__photo {
  position: absolute;
  bottom: -16px;
  right: 0;
  width: 150px;
  max-height: calc(100% + 32px);
  height: auto;
  object-fit: contain;
  object-position: bottom right;
}
.qf-sidebar__review {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f9fd;
  border-radius: 8px;
  padding: 12px;
}
.qf-sidebar__review-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: #1e73be;
}
.qf-sidebar__review-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.qf-sidebar__review-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e73be;
}
.qf-sidebar__review-text {
  font-size: 14px;
  color: #1e73be;
  line-height: 1.45;
  margin-top: -2px;
}

.qf-field__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qf-field__required {
  font-size: 10px;
  font-weight: 500;
  color: #9ca3af;
  margin-left: -4px;
}

.qf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qf-field > [data-lastpass-icon-root],
.qf-field > [data-lastpass-root] {
  flex: 0 0 0px !important;
  margin: -6px 0 0 !important;
}
.qf-field__label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.qf-field__help {
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
  margin: 0;
}
.qf-field__error {
  font-size: 14px;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-top: none;
  margin: calc(-8px - 4px) 0 0;
  padding: 16px 14px 12px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
}
.qf-field--error .qf-input, .qf-field--error .qf-select, .qf-field--error .qf-textarea, .qf-field--error .qf-checkbox, .qf-field--error .qf-postcode {
  border-color: #fca5a5;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
}

.qf-input,
.qf-select {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  background: #fff;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
.qf-input:hover:not(:disabled):not(:focus),
.qf-select:hover:not(:disabled):not(:focus) {
  border-color: #9ca3af;
}
.qf-input:focus, .qf-input:focus-visible,
.qf-select:focus,
.qf-select:focus-visible {
  outline: 2px solid #1e73be;
  outline-offset: -2px;
  border-color: #1e73be;
}
.qf-input::placeholder,
.qf-select::placeholder {
  color: #9ca3af;
}
.qf-input:disabled,
.qf-select:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}
.qf-input:invalid,
.qf-select:invalid {
  color: #9ca3af;
}
.qf-input:invalid option,
.qf-select:invalid option {
  color: #111827;
}

.qf-select {
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.qf-field--select {
  position: relative;
}
.qf-field--select::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 8px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23667085' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  transition: right 0.2s ease 0.15s, transform 0.2s ease;
}
.qf-field--select.qf-field--select-open::after {
  transform: rotate(180deg);
}

.qf-radio-group {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.qf-radio {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(3, 7, 18, 0.18), inset 0 -2px 0 0 rgba(3, 7, 18, 0.05), 0 1px 2px rgba(3, 7, 18, 0.05);
}
.qf-radio:first-child {
  border-radius: 8px 0 0 8px;
}
.qf-radio:last-child {
  border-radius: 0 8px 8px 0;
}
.qf-radio + .qf-radio {
  margin-left: -1px;
}
.qf-radio:only-child {
  border-radius: 8px;
}
.qf-radio::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: inherit;
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  pointer-events: none;
}
.qf-radio:hover {
  background: #f9fafb;
  color: #111827;
  z-index: 1;
}
.qf-radio input {
  display: none;
}
.qf-radio input:checked + .qf-radio__label {
  color: #fff;
}
.qf-radio:has(input:checked) {
  background: #1e73be;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(3, 7, 18, 0.18), inset 0 -2px 0 0 rgba(3, 7, 18, 0.05), 0 1px 2px rgba(3, 7, 18, 0.05);
  z-index: 2;
}
.qf-radio:has(input:checked)::before {
  border-color: rgba(255, 255, 255, 0.12);
}
.qf-radio__label {
  pointer-events: none;
}

.qf-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.qf-toggle__input {
  display: none;
}
.qf-toggle__input:checked + .qf-toggle__slider {
  background: #1e73be;
}
.qf-toggle__input:checked + .qf-toggle__slider::after {
  transform: translateX(16px);
}
.qf-toggle__slider {
  position: relative;
  width: 36px;
  height: 20px;
  background: #f3f4f6;
  border-radius: 9999px;
  transition: background 150ms ease-linear;
  flex-shrink: 0;
  margin-top: 1px;
}
.qf-toggle__slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 150ms ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1);
}
.qf-toggle:hover .qf-toggle__input:not(:checked) + .qf-toggle__slider {
  background: #eaf3fb;
}
.qf-toggle__label {
  font-size: 14px;
  color: #111827;
}

.qf-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  line-height: 20px;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
  z-index: 1;
}
.qf-checkbox:hover {
  border-color: #9ca3af;
}
.qf-checkbox__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.qf-checkbox__indicator {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.qf-checkbox__indicator svg {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}
.qf-checkbox__label {
  color: #374151;
}
.qf-checkbox__label a {
  color: inherit;
  text-decoration: underline;
}
.qf-checkbox__label a:hover {
  text-decoration: none;
}
.qf-checkbox__label ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
  list-style: disc;
}
.qf-checkbox__label ul li {
  margin-bottom: 2px;
}
.qf-checkbox:has(.qf-checkbox__input:checked) {
  border-color: #1e73be;
  box-shadow: 0 0 0 1px #1e73be;
}
.qf-checkbox:has(.qf-checkbox__input:checked) .qf-checkbox__indicator {
  background: #1e73be;
  border-color: #1e73be;
}
.qf-checkbox:has(.qf-checkbox__input:checked) .qf-checkbox__indicator svg {
  opacity: 1;
}

.qf-textarea {
  resize: vertical;
}

.qf-postcode {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  cursor: text;
  min-height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.qf-postcode__digits, .qf-postcode__letters {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  -webkit-appearance: none;
  min-height: 42px;
}
.qf-postcode__digits::placeholder, .qf-postcode__letters::placeholder {
  color: #9ca3af;
}
.qf-postcode__digits {
  padding: 10px 0 10px 12px;
  width: 50px;
}
.qf-postcode__letters {
  padding: 10px 0 10px 0;
  margin-left: 4px;
  text-transform: uppercase;
  width: 70px;
}
.qf-postcode:hover:not(:focus-within) {
  border-color: #9ca3af;
}
.qf-postcode:focus-within {
  outline: 2px solid #1e73be;
  outline-offset: -2px;
  border-color: #1e73be;
}

.qf-field__input-wrap {
  position: relative;
}

.qf-field--radio .qf-field__input-wrap,
.qf-field--radio-cards .qf-field__input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
}

.qf-field--checkbox .qf-field__input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
}

.qf-field--checkbox .qf-checkbox {
  flex: 1;
}

.qf-field--radio-cards .qf-field__help {
  margin-bottom: 6px;
}

.qf-field--radio.qf-field--has-validation .qf-field__error,
.qf-field--radio-cards.qf-field--has-validation .qf-field__error {
  margin-right: 44px;
}

.qf-field--radio-cards:has(.qf-radio-cards--auto) .qf-field__error {
  border-top: 1px solid #fca5a5;
  border-radius: 0 8px 8px 8px;
  margin-top: calc(-8px - 4px - 1px);
  margin-right: 0;
}

.qf-field--radio .qf-radio-group,
.qf-field--radio-cards .qf-radio-cards {
  flex: 1;
}

.qf-field--radio-cards .qf-radio-cards--auto {
  flex: 0 1 auto;
}

.qf-field--radio .qf-field__validation,
.qf-field--radio-cards .qf-field__validation {
  position: static;
  width: 44px;
  flex-shrink: 0;
  opacity: 0;
}
.qf-field--radio .qf-field__validation::before,
.qf-field--radio-cards .qf-field__validation::before {
  display: none;
}

.qf-field--checkbox .qf-field__validation {
  position: static;
  width: 44px;
  flex-shrink: 0;
  opacity: 0;
}
.qf-field--checkbox .qf-field__validation::before {
  display: none;
}

.qf-field--typing .qf-postcode__letters,
.qf-field--validating .qf-postcode__letters,
.qf-field--valid .qf-postcode__letters,
.qf-field--invalid .qf-postcode__letters {
  padding-right: 36px;
}

.qf-field--typing .qf-input,
.qf-field--typing .qf-select,
.qf-field--validating .qf-input,
.qf-field--validating .qf-select,
.qf-field--valid .qf-input,
.qf-field--valid .qf-select,
.qf-field--invalid .qf-input,
.qf-field--invalid .qf-select {
  padding-right: 44px;
}
.qf-field--typing .qf-textarea,
.qf-field--validating .qf-textarea,
.qf-field--valid .qf-textarea,
.qf-field--invalid .qf-textarea {
  padding-right: 44px;
}
.qf-field--typing .qf-select,
.qf-field--validating .qf-select,
.qf-field--valid .qf-select,
.qf-field--invalid .qf-select {
  padding-right: 76px;
}
.qf-field--typing.qf-field--select::after,
.qf-field--validating.qf-field--select::after,
.qf-field--valid.qf-field--select::after,
.qf-field--invalid.qf-field--select::after {
  right: 52px;
  transition-delay: 0s;
}
.qf-field--typing.qf-field--select .qf-field__validation,
.qf-field--validating.qf-field--select .qf-field__validation,
.qf-field--valid.qf-field--select .qf-field__validation,
.qf-field--invalid.qf-field--select .qf-field__validation {
  transition-delay: 0.15s;
}
.qf-field--typing .qf-field__validation,
.qf-field--validating .qf-field__validation,
.qf-field--valid .qf-field__validation,
.qf-field--invalid .qf-field__validation {
  opacity: 1;
  border-left-color: #e5e7eb;
}

.qf-field__validation {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease 0s;
}
.qf-field__validation::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background: #e5e7eb;
}
.qf-field__validation svg {
  width: 20px;
  height: 20px;
  overflow: visible;
}
.qf-field__validation-track {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.qf-field__validation-arc {
  fill: none;
  stroke: #9ca3af;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 56.55;
  stroke-dashoffset: 56.55;
  transform-origin: center;
  opacity: 0;
  transition: stroke 0.3s ease, opacity 0.15s ease;
}
.qf-field__validation-fill {
  fill: transparent;
  transform-origin: center;
  transform: scale(0);
  transition: fill 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.qf-field__validation-check {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}
.qf-field__validation-cross {
  transform-origin: center;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}
.qf-field__validation-cross line {
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
}

.qf-field--typing .qf-field__validation-track {
  opacity: 1;
}
.qf-field--typing .qf-postcode__letters::placeholder {
  color: transparent;
}

.qf-field--validating .qf-postcode__letters::placeholder,
.qf-field--valid .qf-postcode__letters::placeholder,
.qf-field--invalid .qf-postcode__letters::placeholder {
  color: transparent;
}

.qf-field--validating .qf-field__validation-track {
  opacity: 1;
}
.qf-field--validating .qf-field__validation-arc {
  opacity: 1;
  stroke-dashoffset: 39.585;
  animation: qf-spin 0.8s linear infinite;
}

.qf-field--valid .qf-field__validation-track {
  opacity: 0;
}
.qf-field--valid .qf-field__validation-arc {
  opacity: 0;
  animation: none;
}
.qf-field--valid .qf-field__validation-fill {
  fill: #bbf7d0;
  transform: scale(1.111);
}
.qf-field--valid .qf-field__validation-check {
  stroke: #15803d;
  transform: scale(1);
  opacity: 1;
  transition-delay: 0.2s;
}

.qf-field--invalid .qf-input,
.qf-field--invalid .qf-select,
.qf-field--invalid .qf-textarea,
.qf-field--invalid .qf-checkbox,
.qf-field--invalid .qf-postcode {
  border-color: #fca5a5;
}

.qf-field--invalid .qf-field__error {
  display: block;
}

.qf-field--textarea .qf-field__validation {
  top: 0;
  bottom: auto;
}

.qf-field--textarea .qf-field__error {
  margin-top: calc(-8px - 4px - 6px);
}

.qf-field--invalid .qf-field__validation-track,
.qf-field--checkbox.qf-field--error .qf-field__validation-track {
  opacity: 0;
}
.qf-field--invalid .qf-field__validation-arc,
.qf-field--checkbox.qf-field--error .qf-field__validation-arc {
  opacity: 0;
  animation: none;
}
.qf-field--invalid .qf-field__validation-fill,
.qf-field--checkbox.qf-field--error .qf-field__validation-fill {
  fill: #fecaca;
  transform: scale(1.111);
}
.qf-field--invalid .qf-field__validation-cross,
.qf-field--checkbox.qf-field--error .qf-field__validation-cross {
  transform: scale(1);
  opacity: 1;
  transition-delay: 0.2s;
}
.qf-field--invalid .qf-field__validation-cross line,
.qf-field--checkbox.qf-field--error .qf-field__validation-cross line {
  stroke: #dc2626;
}

.qf-field--leaving-valid .qf-field__validation-fill {
  fill: #bbf7d0;
}

.qf-field--leaving-invalid .qf-field__validation-fill {
  fill: #fecaca;
}

@keyframes qf-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 600px) {
  .qf-input,
  .qf-select,
  .qf-postcode__digits,
  .qf-postcode__letters {
    font-size: 16px;
  }
}
.qf-no-transition,
.qf-no-transition *,
.qf-no-transition::after,
.qf-no-transition::before {
  transition: none !important;
}

.qf-radio-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qf-radio-cards--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.qf-radio-cards--auto {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}
.qf-radio-cards--auto .qf-radio-card {
  width: auto;
  flex: 0 0 auto;
}

.qf-radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
}
.qf-radio-card:hover {
  border-color: #9ca3af;
}
.qf-radio-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.qf-radio-card__indicator {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.qf-radio-card__indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}
.qf-radio-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.qf-radio-card__header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.qf-radio-card__label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  pointer-events: none;
}
.qf-radio-card__meta {
  font-size: 14px;
  color: #6b7280;
  pointer-events: none;
  margin-left: auto;
}
.qf-radio-card__description {
  font-size: 14px;
  color: #6b7280;
  margin-top: 2px;
  pointer-events: none;
}
.qf-radio-card__badge {
  position: absolute;
  top: -9px;
  left: 16px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: #1a62a3;
  background: #eaf3fb;
  border: 1px solid #a3cbee;
  border-radius: 4px;
}
.qf-radio-card__discount {
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  white-space: nowrap;
}
.qf-radio-card__surcharge {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.qf-radio-card:has(input:checked) {
  border-color: #1e73be;
  box-shadow: 0 0 0 1px #1e73be;
}
.qf-radio-card:has(input:checked) .qf-radio-card__indicator {
  background: #1e73be;
  border-color: #1e73be;
}
.qf-radio-card:has(input:checked) .qf-radio-card__indicator::after {
  opacity: 1;
}

.qf-field--error .qf-radio-card,
.qf-field--invalid .qf-radio-card {
  border-color: #fca5a5;
}

.qf-field--error .qf-radio-card:hover,
.qf-field--invalid .qf-radio-card:hover {
  border-color: #9ca3af;
}

.qf-form__footer {
  background: #f5f9fd;
  border-top: 1px solid #e5e7eb;
  margin: 32px -32px -32px;
  padding: 32px;
  border-radius: 0 0 10px 10px;
}
.qf-form__footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.qf-form__footer-pricing {
  display: none;
}
.qf-form__footer-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.qf-form__footer-microcopy {
  font-size: 12px;
  color: #6b7280;
}

.qf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s;
}
.qf-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.qf-btn:focus-visible {
  outline: 2px solid #6daee3;
  outline-offset: 2px;
}
.qf-btn--primary {
  background: #1e73be;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(3, 7, 18, 0.18), inset 0 -2px 0 0 rgba(3, 7, 18, 0.05), 0 1px 2px rgba(3, 7, 18, 0.05);
}
.qf-btn--primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  pointer-events: none;
}
.qf-btn--primary:hover {
  background: #1a62a3;
}
.qf-btn--primary:focus-visible {
  outline-color: #6daee3;
}
.qf-btn--secondary {
  background: #fff;
  color: #374151;
  box-shadow: inset 0 0 0 1px rgba(3, 7, 18, 0.18), inset 0 -2px 0 0 rgba(3, 7, 18, 0.05), 0 1px 2px rgba(3, 7, 18, 0.05);
}
.qf-btn--secondary::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 7px;
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  pointer-events: none;
}
.qf-btn--secondary:hover {
  background: #f9fafb;
  color: #111827;
}
.qf-btn--secondary:focus-visible {
  outline-color: #d1d5db;
}
.qf-btn--tertiary {
  background: transparent;
  color: #6b7280;
  padding-left: 8px;
  padding-right: 8px;
}
.qf-btn--tertiary:hover {
  background: #f9fafb;
  color: #374151;
}
.qf-btn--sm {
  padding: 8px 14px;
  font-size: 14px;
}
.qf-btn--lg {
  padding: 12px 24px;
  font-size: 16px;
}
.qf-btn--lg {
  padding: 10px 18px;
  font-size: 16px;
}
.qf-btn--xl {
  padding: 12px 20px;
  font-size: 16px;
}
.qf-btn--full {
  flex: 1;
}

.qf-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
}
.qf-message__icon-wrapper {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qf-message__icon {
  width: 24px;
  height: 24px;
}
.qf-message__body {
  display: flex;
  flex-direction: column;
}
.qf-message__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.qf-message__text {
  font-size: 14px;
  line-height: 20px;
  margin: -2px 0 0;
}
.qf-message--intro .qf-message__text {
  line-height: 24px;
}
.qf-message--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.qf-message--info .qf-message__icon-wrapper {
  background: #bfdbfe;
}
.qf-message--info .qf-message__icon {
  color: #1e40af;
}
.qf-message--info .qf-message__title {
  color: #1e40af;
}
.qf-message--info .qf-message__text {
  color: #1e40af;
}
.qf-message--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.qf-message--warning .qf-message__icon-wrapper {
  background: #fde68a;
}
.qf-message--warning .qf-message__icon {
  color: #92400e;
}
.qf-message--warning .qf-message__title {
  color: #92400e;
}
.qf-message--warning .qf-message__text {
  color: #92400e;
}
.qf-message--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.qf-message--error .qf-message__icon-wrapper {
  background: #fecaca;
}
.qf-message--error .qf-message__icon {
  color: #dc2626;
}
.qf-message--error .qf-message__title {
  color: #dc2626;
}
.qf-message--error .qf-message__text {
  color: #dc2626;
}
.qf-message--error[data-api-errors] {
  margin-top: 32px;
  margin-bottom: 0;
}
.qf-message--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.qf-message--success .qf-message__icon-wrapper {
  background: #bbf7d0;
}
.qf-message--success .qf-message__icon {
  color: #15803d;
}
.qf-message--success .qf-message__title {
  color: #15803d;
}
.qf-message--success .qf-message__text {
  color: #15803d;
}
.qf-message--loading {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.qf-message--loading .qf-message__icon-wrapper {
  background: #bfdbfe;
}
.qf-message--loading .qf-message__title {
  color: #1e40af;
}
.qf-message--loading .qf-message__text {
  color: #1e40af;
}
.qf-message--intro {
  background: #f5f9fd;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
  border-radius: 12px;
  display: block;
  padding: 32px;
  margin-bottom: 32px;
}
.qf-message--intro .qf-message__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  color: #111827;
  margin: 0 0 8px;
}
.qf-message--intro .qf-message__text {
  color: #111827;
  margin: 0;
}
.qf-message--intro .qf-message__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.qf-message--intro .qf-message__text a:hover {
  opacity: 0.7;
}
.qf-message--sm {
  padding: 8px 12px;
  gap: 8px;
}
.qf-message--sm .qf-message__icon-wrapper {
  width: 28px;
  height: 28px;
}
.qf-message--sm .qf-message__icon {
  width: 16px;
  height: 16px;
}
.qf-message--sm .qf-message__title {
  font-size: 12px;
}
.qf-message--sm .qf-message__text {
  font-size: 12px;
}

.qf-message--step-intro {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.qf-message--step-intro .qf-message__title {
  color: #15803d;
  margin-bottom: 0;
}
.qf-message--step-intro .qf-message__text {
  color: #15803d;
}

.qf-errors {
  padding: 14px 20px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  margin-bottom: 24px;
}
.qf-errors__item {
  color: #dc2626;
  font-size: 14px;
  margin: 4px 0;
}

@media (max-width: 600px) {
  .qf-form--bg:has(.qf-confirmation__icon-wrapper):not(:has(.qf-form__footer)) {
    margin-bottom: 16px;
  }
  body:has(.qf-confirmation__icon-wrapper) .qf-footer {
    border-top: 1px solid #d1d5db;
    padding-top: 16px;
  }
}
.qf-message--step-intro:has(.qf-confirmation__icon-wrapper) {
  text-align: left;
  margin-bottom: 0;
}
.qf-message--step-intro:has(.qf-confirmation__icon-wrapper) .qf-message__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qf-confirmation__subtitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.qf-confirmation--accepted .qf-confirmation__subtitle {
  color: #15803d;
}

.qf-confirmation--rejected .qf-confirmation__subtitle {
  color: #dc2626;
}

.qf-confirmation--pending .qf-confirmation__subtitle {
  color: #111827;
}

.qf-confirmation__icon-wrapper {
  width: 56px;
  height: 56px;
  margin: 0 0 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}
.qf-confirmation__icon-wrapper svg {
  width: 28px;
  height: 28px;
  color: #6b7280;
}

.qf-confirmation--accepted .qf-confirmation__icon-wrapper {
  background: #bbf7d0;
}
.qf-confirmation--accepted .qf-confirmation__icon-wrapper svg {
  color: #15803d;
}

.qf-confirmation--pending .qf-confirmation__icon-wrapper {
  background: #a3cbee;
}
.qf-confirmation--pending .qf-confirmation__icon-wrapper svg {
  color: #1a62a3;
}

.qf-confirmation--rejected .qf-confirmation__icon-wrapper {
  background: #fde68a;
}
.qf-confirmation--rejected .qf-confirmation__icon-wrapper svg {
  color: #92400e;
}

.qf-confirmation__text {
  color: inherit;
  line-height: 24px;
  margin: 0;
}

.qf-confirmation__closing,
.qf-confirmation__signature {
  font-size: 14px;
  color: #111827;
  margin: 0;
}

.qf-confirmation__closing {
  font-weight: 600;
}

@media (max-width: 600px) {
  .qf-confirmation__icon-wrapper {
    margin-bottom: 16px;
  }
  .qf-confirmation__closing,
  .qf-confirmation__signature {
    font-size: 16px;
    line-height: 28px;
  }
  .qf-confirmation__signature {
    margin-top: 4px;
  }
}
.qf-message--step-intro.qf-confirmation--accepted {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.qf-message--step-intro.qf-confirmation--accepted .qf-message__title {
  color: #15803d;
}
.qf-message--step-intro.qf-confirmation--accepted .qf-message__text {
  color: #111827;
}
.qf-message--step-intro.qf-confirmation--accepted .qf-confirmation__subtitle {
  color: #15803d;
}

.qf-message--step-intro.qf-confirmation--rejected {
  background: #fffbeb;
  border-color: #fde68a;
}
.qf-message--step-intro.qf-confirmation--rejected .qf-message__title {
  color: #92400e;
}
.qf-message--step-intro.qf-confirmation--rejected .qf-message__text {
  color: #111827;
}
.qf-message--step-intro.qf-confirmation--rejected .qf-confirmation__subtitle {
  color: #92400e;
}

.qf-message--step-intro.qf-confirmation--pending {
  background: #eaf3fb;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
  border-radius: 12px;
}
.qf-message--step-intro.qf-confirmation--pending .qf-message__title {
  color: #1a62a3;
}
.qf-message--step-intro.qf-confirmation--pending .qf-message__text {
  color: #111827;
}
.qf-message--step-intro.qf-confirmation--pending .qf-confirmation__subtitle {
  color: #1a62a3;
}

@media (max-width: 600px) {
  .qf-message--step-intro.qf-confirmation--accepted {
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    box-shadow: none;
  }
  .qf-message--step-intro.qf-confirmation--rejected {
    border: 1px solid #fde68a;
    border-radius: 8px;
    box-shadow: none;
  }
  .qf-message--step-intro.qf-confirmation--pending {
    background: #eaf3fb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: none;
  }
}
.qf-error-page {
  text-align: center;
  padding: 48px 24px;
}
.qf-error-page h2 {
  color: #dc2626;
}
.qf-error-page__detail {
  color: #6b7280;
  font-size: 14px;
}

.qf-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.qf-loader--visible {
  opacity: 1;
  visibility: visible;
}
.qf-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  width: 100%;
  padding: 20px;
}
.qf-loader__box {
  position: relative;
  background: #f5f9fd;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 32px;
  padding-left: 248px;
  overflow: visible;
  width: fit-content;
  max-width: 600px;
}
.qf-loader__photo {
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 200px;
  height: auto;
}
.qf-loader__box-body {
  display: flex;
  flex-direction: column;
}
.qf-loader__title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  line-height: 24px;
  margin: 0 0 8px;
}
.qf-loader__progress {
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}
.qf-loader__progress-bar {
  height: 100%;
  width: 0%;
  background: #1e73be;
  border-radius: 2px;
  transition: width 0.8s ease;
}
.qf-loader__step-wrap {
  position: relative;
  width: 100%;
  margin-top: 16px;
  height: 24px;
  overflow: visible;
  margin-bottom: 0;
}
.qf-loader__step-wrap:has(~ .qf-message) {
  margin-bottom: 16px;
}
.qf-loader__step-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.qf-loader__step-label--active {
  opacity: 1;
  transform: translateX(0);
}
.qf-loader__step-label--spinning .qf-loader__icon-track {
  opacity: 1;
}
.qf-loader__step-label--spinning .qf-loader__icon-arc {
  opacity: 1;
  stroke-dashoffset: 39.585;
  animation: qf-spin 0.8s linear infinite;
}
.qf-loader__step-label--checked .qf-loader__icon-track {
  opacity: 0;
}
.qf-loader__step-label--checked .qf-loader__icon-arc {
  opacity: 0;
  animation: none;
}
.qf-loader__step-label--checked .qf-loader__icon-fill {
  fill: #bbf7d0;
  transform: scale(1.111);
}
.qf-loader__step-label--checked .qf-loader__icon-check {
  transform: scale(1);
  opacity: 1;
  transition-delay: 0.2s;
}
.qf-loader__step-label--out {
  opacity: 0;
  transform: translateX(-30px);
}
.qf-loader__step-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: visible;
}
.qf-loader__icon-track {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.qf-loader__icon-arc {
  fill: none;
  stroke: #9ca3af;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 56.55;
  stroke-dashoffset: 56.55;
  transform-origin: center;
  opacity: 0;
  transition: stroke 0.3s ease, opacity 0.15s ease;
}
.qf-loader__icon-fill {
  fill: transparent;
  transform-origin: center;
  transform: scale(0);
  transition: fill 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.qf-loader__icon-check {
  fill: none;
  stroke: #15803d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}
.qf-loader .qf-message {
  width: 100%;
  margin-bottom: 0;
}

.qf-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
  border-radius: 12px;
}

[data-phase=coverages] {
  display: none;
}

[data-phase=coverages]:first-of-type {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed #e5e7eb;
}

.qf-section:has(+ [data-phase=coverages]:first-of-type) {
  border-bottom: none;
  padding-bottom: 0;
}

.qf-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  color: #374151;
}
.qf-loading__spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #d1d5db;
  border-top-color: #1e73be;
  border-radius: 50%;
  animation: qf-spin 0.6s linear infinite;
}
.qf-loading__spinner--sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}
.qf-loading__text {
  font-size: 14px;
}

@keyframes qf-spin {
  to {
    transform: rotate(360deg);
  }
}
.qf-input--error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 1px #dc2626;
}

.qf-included-coverage {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qf-included-coverage__icon {
  flex-shrink: 0;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qf-included-coverage__icon svg {
  width: 20px;
  height: 20px;
}
.qf-included-coverage__label {
  font-size: 14px;
  color: #111827;
  font-weight: 500;
}
.qf-included-coverage__badge {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.qf-included-coverage__badge span {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #1a62a3;
  background: #eaf3fb;
  box-shadow: inset 0 0 0 1px rgba(30, 115, 190, 0.15);
  padding: 2px 10px 2px 8px;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}

[data-phase=coverages]:not(.qf-section--preferences) .qf-section__fields {
  gap: 8px;
}

[data-phase=coverages].qf-section--coverage-details .qf-section__fields {
  gap: 16px;
}

[data-phase=coverages].qf-section--preferences .qf-section__fields {
  gap: 16px;
}

.qf-toggle__delta {
  flex: 1;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.qf-toggle__delta--add {
  color: #374151;
}
.qf-toggle__delta--save {
  color: #16a34a;
}
.qf-toggle__delta--loading {
  color: #4b5563;
}

.qf-coverage-toggle .qf-toggle {
  width: 100%;
}

.qf-form--bg {
  position: relative;
}

.qf-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.qf-field-row {
  display: flex;
  gap: 16px;
}
.qf-field-row__main {
  flex: 1;
}
.qf-field-row__half {
  flex: 1 1 0%;
}
.qf-field-row__quarter {
  flex: 0 0 100px;
}
.qf-field-row__small {
  flex: 0 0 110px;
}
.qf-field-row__side {
  flex: 0 0 100px;
}

[data-address-feedback] {
  margin-top: 0;
}
[data-address-feedback] .qf-message {
  margin-bottom: 0;
}

#de_address_feedback .qf-message {
  margin-bottom: 0;
}

:root {
  --tooltip-gap: 8px;
}

.tooltip {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.tooltip[data-tip] > .tooltip__content {
  display: none;
}

.tooltip__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tooltip__title {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
}

.tooltip__desc {
  font-size: 12px;
  color: #4b5563;
  line-height: 20px;
}

.tooltip-fixed {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.tooltip-fixed.is-visible {
  opacity: 1;
}
.tooltip-fixed.is-pinned {
  pointer-events: auto;
}

.tooltip-fixed__inner {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(3, 7, 18, 0.05);
  max-width: 400px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
.tooltip-fixed__inner .tooltip__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tooltip-fixed__inner .tooltip__title {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}
.tooltip-fixed__inner .tooltip__desc {
  font-size: 14px;
  font-weight: 400;
  color: #111827;
  line-height: 24px;
}
.tooltip-fixed__inner .tooltip__status {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px !important;
  font-weight: 500;
  color: #15803d;
}
.tooltip-fixed__inner .tooltip__status:empty {
  display: none;
}
.tooltip-fixed__inner .tooltip__status--included {
  color: #1a62a3;
}

.tooltip-fixed__arrow {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
}

.tooltip-fixed--above .tooltip-fixed__arrow {
  bottom: -5px;
  border-right: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
}

.tooltip-fixed--below .tooltip-fixed__arrow {
  top: -5px;
  border-left: 1px solid #d1d5db;
  border-top: 1px solid #d1d5db;
}

.qf-toggle__info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.15s ease;
  margin-top: 1px;
  margin-left: -4px;
}
.qf-toggle__info:hover {
  color: #4b5563;
}
@media (max-width: 768px) {
  .qf-toggle__info::before {
    content: "";
    position: absolute;
    inset: -8px;
  }
}
.qf-toggle__info svg {
  width: 17px;
  height: 17px;
}

.text-xxs {
  font-size: 11px;
}

.text-xs {
  font-size: 12px;
}

.text-sm {
  font-size: 14px;
}

.text-base {
  font-size: 16px;
}

.text-lg {
  font-size: 18px;
}

.text-xl {
  font-size: 20px;
}

.text-2xl {
  font-size: 24px;
}

.text-3xl {
  font-size: 30px;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-primary {
  color: #111827;
}

.text-secondary {
  color: #374151;
}

.text-muted {
  color: #6b7280;
}

.text-disabled {
  color: #9ca3af;
}

.text-brand {
  color: #1e73be;
}

.text-success {
  color: #16a34a;
}

.text-error {
  color: #dc2626;
}

.link {
  color: #1e73be;
  text-decoration: underline;
}
.link:hover {
  text-decoration: none;
}

.qf-usp-slider,
.qf-mobile-bar,
.qf-mobile-bar__sentinel,
.qf-mobile-bar__coverages,
.qf-prefilled__btn-mobile,
.qf-mobile-only {
  display: none;
}

.qf-form__footer-photo {
  display: none;
}

@media (max-width: 900px) {
  .qf-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .qf-layout__progress,
  .qf-layout__form,
  .qf-layout__sidebar {
    grid-column: 1;
    grid-row: auto;
  }
  .qf-layout__sidebar {
    position: static;
    order: -1;
  }
}
@media (max-width: 600px) {
  .qf-field-row {
    flex-wrap: wrap;
  }
  .qf-field-row .qf-field-row__quarter {
    flex: 0 0 130px;
  }
  .qf-field-row .qf-field-row__small {
    flex: 1 1 100%;
  }
  .qf-field-row:not(.qf-field-row--address) .qf-field-row__half {
    flex: 1 1 100%;
  }
  .qf-header {
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 0;
    border-bottom: none;
  }
  .qf-header .qf-header__logo,
  .qf-header .qf-header__product-logo {
    max-width: 50%;
  }
  .qf-header .qf-header__logo {
    height: 50px;
  }
  .qf-header .qf-header__product-logo {
    height: 40px;
    text-align: right;
  }
  .qf-progress {
    display: flex;
    margin-bottom: 20px;
    padding: 0 16px;
  }
  .qf-progress__circle {
    width: 42px;
    height: 42px;
  }
  .qf-progress__check {
    width: 14px;
    height: 14px;
  }
  .qf-progress__number {
    font-size: 14px;
  }
  .qf-desktop-only {
    display: none !important;
  }
  .qf-mobile-only {
    display: block !important;
  }
  .qf-container {
    padding: 0;
  }
  body {
    margin: 0;
    overflow-x: hidden;
  }
  .qf-layout {
    gap: 0;
    align-items: stretch;
  }
  .qf-layout__sidebar {
    display: none;
  }
  .qf-layout__form {
    padding: 0;
  }
  .qf-form {
    overflow: visible;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 16px;
  }
  .qf-message--intro {
    margin-top: -16px;
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 8px;
    background: #eaf3fb;
    border: 1px solid #d1d5db;
    box-shadow: none;
  }
  .qf-message--intro .qf-message__title {
    line-height: 24px;
  }
  .qf-message--intro .qf-message__text {
    font-size: 16px;
    line-height: 28px;
  }
  .qf-message--step-intro {
    background: #f0fdf4;
    border-color: #bbf7d0;
  }
  .qf-message--step-intro .qf-message__title {
    color: #15803d;
    margin-bottom: 8px;
  }
  .qf-message--step-intro .qf-message__text {
    color: #15803d;
  }
  .qf-section__title {
    font-size: 20px;
  }
  .qf-field__label,
  .qf-section__subtitle {
    font-size: 16px;
  }
  .qf-form:not([data-api-url]) .qf-field__label {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .qf-prefilled__header .qf-btn {
    display: none;
  }
  .qf-prefilled__btn-mobile {
    display: inline-flex;
    align-self: flex-start;
  }
  .qf-step {
    padding: 0;
  }
  .qf-section:has(+ .qf-mobile-bar) {
    margin-bottom: 16px;
  }
  .qf-mobile-bar {
    display: block;
    margin-top: 20px;
    position: static;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }
  .qf-mobile-bar.is-calculated {
    position: sticky;
    bottom: -1px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid transparent;
  }
  .qf-mobile-bar.is-keyboard-open {
    position: relative;
  }
  .qf-mobile-bar.is-calculated.is-stuck.is-ready:not(.is-entered) {
    animation: qf-bar-enter 0.3s 0.15s both;
    border-top-color: #d1d5db;
    box-shadow: 0 -2px 4px rgba(3, 7, 18, 0.06);
  }
  .qf-mobile-bar.is-calculated.is-stuck.is-entered {
    border-top-color: #d1d5db;
    box-shadow: 0 -2px 4px rgba(3, 7, 18, 0.06);
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .qf-mobile-bar__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
  }
  .qf-mobile-bar__logo {
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .qf-mobile-bar > .qf-mobile-bar__header .qf-mobile-bar__pricing {
    opacity: 1;
  }
  .qf-mobile-bar__pricing {
    display: flex;
    flex-direction: column;
  }
  .qf-mobile-bar__intro {
    display: none;
    flex-direction: column;
  }
  .qf-mobile-bar.is-stuck .qf-mobile-bar__intro {
    display: flex;
  }
  .qf-mobile-bar__intro-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
  }
  .qf-mobile-bar__intro-desc {
    font-size: 14px;
    color: #111827;
  }
  .qf-mobile-bar__total {
    font-weight: 700;
    font-size: 16px;
    color: #111827;
  }
  .qf-mobile-bar__tax {
    font-size: 12px;
    color: #6b7280;
  }
  .qf-mobile-bar__sentinel {
    display: block;
    height: 1px;
    margin-top: -1px;
  }
  .qf-mobile-bar__coverages {
    position: relative;
    display: block;
    overflow: visible;
    margin-top: 16px;
    padding: 0 158px 0 0;
  }
  .qf-mobile-bar__coverages-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
  }
  .qf-mobile-bar__coverages .qf-mobile-bar__modules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }
  .qf-mobile-bar__coverages .qf-mobile-bar__modules .qf-sidebar__module {
    font-size: 14px;
    font-weight: 400;
  }
  .qf-mobile-bar__coverages .qf-mobile-bar__pricing {
    display: none;
  }
  .qf-mobile-bar__photo {
    position: absolute;
    bottom: -32px;
    right: 0;
    width: 150px;
    max-height: calc(100% + 32px + 16px);
    height: auto;
    object-fit: contain;
    object-position: bottom right;
    z-index: 2;
  }
  .qf-form__footer-photo {
    display: none;
  }
  .qf-form__footer {
    position: relative;
    margin: 32px -16px -16px;
    padding: 32px 16px;
    border-radius: 0;
  }
  .qf-form--bg .qf-form__footer {
    background: #eaf3fb;
    border: 1px solid #d1d5db;
    border-left: none;
    border-right: none;
    box-shadow: 0 2px 6px rgba(3, 7, 18, 0.1);
    border-radius: 0;
    padding: 32px 16px;
  }
  .qf-form--bg .qf-form__footer::before {
    display: none;
  }
  .qf-confirmation {
    display: none;
  }
  .qf-radio-group {
    width: 100%;
  }
  .qf-radio {
    flex: 1;
    border-radius: 0 !important;
  }
  .qf-radio:first-child {
    border-radius: 6px 0 0 6px !important;
  }
  .qf-radio:last-child {
    border-radius: 0 6px 6px 0 !important;
  }
  .qf-radio + .qf-radio {
    margin-left: -1px;
  }
  .qf-input,
  .qf-select {
    font-size: 16px;
  }
  input[type=date] {
    text-align: left;
    -webkit-text-align: left;
  }
  input[type=date]::-webkit-date-and-time-value {
    text-align: left;
  }
  .qf-radio-cards--grid {
    grid-template-columns: 1fr;
  }
  .qf-radio-cards--grid[data-radio-cards=Gender],
  .qf-radio-cards--grid[data-radio-cards="Partner.Gender"],
  .qf-radio-cards--grid[data-radio-cards=Working],
  .qf-radio-cards--grid[data-radio-cards=WorkingPartner],
  .qf-radio-cards--grid[data-radio-cards=IncapacityBenefit],
  .qf-radio-cards--grid[data-radio-cards=IncapacityBenefitPartner] {
    grid-template-columns: 1fr 1fr;
  }
  .qf-radio-card__label {
    font-size: 16px;
    font-weight: 400;
  }
  .qf-included-coverage__label {
    font-size: 16px;
    font-weight: 400;
  }
  .qf-included-coverage__badge {
    font-weight: 400;
  }
  .qf-included-coverage__badge span {
    font-weight: 500;
  }
  .qf-toggle__delta {
    font-weight: 400;
  }
  .qf-toggle__label {
    font-size: 16px;
  }
  .qf-form__footer-top {
    flex-wrap: wrap;
  }
  .qf-form__footer-top > .qf-btn--secondary {
    order: 1;
    width: auto;
  }
  .qf-form__footer-actions {
    order: 2;
    flex: 1;
    align-items: center;
  }
  .qf-form__footer-actions .qf-btn {
    width: 100%;
  }
  .qf-footer {
    max-width: none;
    margin-top: 0;
    padding: 16px;
    border-top: none;
  }
  .qf-trust-badge {
    justify-content: flex-end;
  }
  .tooltip-fixed__inner {
    max-width: calc(100vw - var(--tooltip-gap) * 2);
  }
  .tooltip-fixed__inner .tooltip__title {
    font-size: 16px;
  }
  .tooltip-fixed__inner .tooltip__desc {
    font-size: 16px;
  }
  .tooltip-fixed__inner .tooltip__status {
    font-weight: 600;
  }
  .qf-loader__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    overflow: visible;
    width: 100%;
  }
  .qf-loader__photo {
    position: absolute;
    bottom: auto;
    left: 50%;
    top: 0;
    transform: translate(-50%, -100%);
    width: 180px;
    margin: 0;
  }
  .qf-loader__progress {
    width: 100%;
  }
  .qf-loader__box-body {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .qf-loader__title {
    text-align: center;
  }
}
@keyframes qf-bar-enter {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes qf-usp-slide {
  0%, 27% {
    transform: translateY(0);
  }
  33%, 60% {
    transform: translateY(-24px);
  }
  66%, 93% {
    transform: translateY(-48px);
  }
  100% {
    transform: translateY(-72px);
  }
}
