.udf-wizard {
  background: #fffef8;
  color: #173e35;
  border-radius: 10px;
  padding: 30px;
  min-width: 0;
  scroll-margin-top: 24px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  margin: 0 !important;
}
.udf-form-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.udf-wizard progress {
  display: block;
  width: 100%;
  height: 4px;
  margin: 15px 0 24px;
  border: 0;
  border-radius: 9px;
  overflow: hidden;
  accent-color: #557348;
  background: #e8ecdf;
}
.udf-wizard progress::-webkit-progress-bar {
  background: #e8ecdf;
}
.udf-wizard progress::-webkit-progress-value {
  background: #557348;
}
.udf-wizard progress::-moz-progress-bar {
  background: #557348;
}
.udf-demo-note {
  font-size: 11px;
  line-height: 1.5;
  background: #f1f2e5;
  padding: 9px 12px;
  border-radius: 4px;
  margin: 0 0 20px;
  color: #546047;
}
.udf-wizard fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.udf-wizard legend,
.udf-wizard h3 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.7px;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  width: 100%;
  color: #173e35;
}
.udf-wizard legend:focus,
.udf-wizard h3:focus {
  outline: none;
}
.udf-hint {
  font-size: 13px;
  line-height: 1.65;
  color: #586552;
  margin: 14px 0 22px;
}
.udf-hint:empty {
  display: none;
}
.udf-options {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.udf-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid #d9ded0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition:
    border-color 0.15s,
    background 0.15s;
  min-height: 50px;
}
.udf-option:hover {
  border-color: #547349;
  background: #f5f7ec;
}
.udf-option:has(input:checked) {
  border-color: #416849;
  background: #eff3df;
  box-shadow: inset 0 0 0 1px #416849;
}
.udf-wizard input[type="radio"],
.udf-wizard input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #31513b;
  flex-shrink: 0;
  margin: 0;
}
.udf-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}
.udf-next {
  background: #173e35;
  color: #fff !important;
  border: 1px solid #173e35;
  border-radius: 6px;
  padding: 14px 21px;
  min-height: 48px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  margin-left: auto;
}
.udf-next:hover {
  background: #2e574a;
}
.udf-next:disabled {
  opacity: 0.6;
  cursor: wait;
}
.udf-back {
  background: none;
  border: 0;
  padding: 12px 0;
  color: #173e35;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.udf-form-foot {
  font-size: 10px;
  line-height: 1.65;
  color: #606959;
  margin: 18px 0 0;
}
.udf-wizard [hidden] {
  display: none !important;
}
.udf-input-label,
.udf-location label {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.udf-wizard .udf-text-input,
.udf-location input:not([type="checkbox"]) {
  width: 100%;
  background: #fff;
  color: #173e35;
  border: 1px solid #9aa98c;
  border-radius: 6px;
  min-height: 50px;
  padding: 12px;
  font-size: 16px;
  margin-top: 7px;
}
.udf-location > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 15px;
}
.udf-location input:disabled {
  background: #f1f2ec;
  color: #7d8276;
  opacity: 0.6;
}
.udf-check {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  font-size: 12px !important;
  line-height: 1.6;
  font-weight: 400 !important;
  margin: 19px 0;
}
.udf-check input {
  margin-top: 3px !important;
}
.udf-check a {
  color: #173e35;
  text-decoration: underline;
}
.udf-error {
  font-size: 13px;
  color: #8c261a;
  border-left: 3px solid #a33320;
  padding: 9px 12px;
  background: #fff2ec;
}
.udf-trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.udf-summary {
  max-height: 320px;
  overflow: auto;
  border-block: 1px solid #d9ded0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.udf-summary dl {
  margin: 0;
}
.udf-summary dl > div {
  padding: 11px 0;
  border-bottom: 1px solid #e6e9df;
}
.udf-summary dt {
  font-size: 10px;
  color: #5b6856;
}
.udf-summary dd {
  font-size: 12px;
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  justify-content: space-between;
}
.udf-summary button {
  font-size: 10px;
  background: none;
  border: none;
  text-decoration: underline;
  color: #173e35;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.udf-tip {
  background: #f0f3e3;
  border-radius: 5px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.7;
  margin: 21px 0;
}
.udf-tip > p {
  margin: 6px 0 0;
}
.udf-tip ul {
  padding-left: 17px;
  margin-bottom: 0;
}
.udf-tip li + li {
  margin-top: 8px;
}
.udf-success-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #e8f29b;
  color: #173e35;
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 24px;
}
.udf-success > p:not(.udf-form-top) {
  font-size: 14px;
  color: #52614a;
}
.udf-success .udf-next {
  margin-top: 4px;
}
.udf-preferences {
  padding: 16px 28px;
  background: #eef0e7;
  color: #173e35;
  font:
    12px/1.6 Arial,
    Helvetica,
    sans-serif;
}
.udf-preferences details {
  max-width: 740px;
  margin: auto;
}
.udf-preferences summary {
  cursor: pointer;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.udf-preferences button {
  font: inherit;
  border: 1px solid #173e35;
  background: #fffdf6;
  color: #173e35;
  border-radius: 5px;
  padding: 10px 14px;
  cursor: pointer;
  margin: 4px 8px 4px 0;
}
.udf-wizard input:focus-visible,
.udf-wizard button:focus-visible,
.udf-preferences button:focus-visible {
  outline: 3px solid #9a5a17;
  outline-offset: 3px;
}
.udf-loading {
  padding: 35px 0;
  font-size: 14px;
}
@media (max-width: 600px) {
  .udf-wizard {
    padding: 23px 18px;
  }
  .udf-wizard legend,
  .udf-wizard h3 {
    font-size: 23px;
  }
  .udf-option {
    padding: 13px 12px;
  }
  .udf-next {
    padding: 13px 16px;
  }
  .udf-form-actions {
    gap: 12px;
  }
  .udf-summary {
    max-height: 360px;
  }
  .udf-location > div {
    gap: 10px;
  }
  .udf-question-section {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .udf-option {
    transition: none;
  }
}
