.ste-wrap {
  --ste-green: #29631e;
  --ste-focus: #275fbb;
  --ste-border: #b9c8b3;
  --ste-background: #f4f9f1;
  width: min(100%, 780px);
  margin-block: 1.5rem 2.5rem;
  color: #20331d;
}

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

.ste-intro {
  font-size: 1.08rem;
  line-height: 1.6;
}

.ste-form {
  display: grid;
  gap: 1.25rem;
}

.ste-required-note {
  margin: 0;
  font-size: 0.9rem;
}

.ste-panel {
  min-width: 0;
  margin: 0;
  padding: 1.4rem;
  border: 1px solid var(--ste-border);
  border-radius: 0.75rem;
  background: var(--ste-background);
}

.ste-panel legend {
  max-width: 100%;
  padding-inline: 0.25rem;
  color: var(--ste-green);
  font-size: 1.22rem;
  font-weight: 750;
}

.ste-field {
  margin-block: 0.4rem 1.1rem;
}

.ste-field:last-child {
  margin-bottom: 0;
}

.ste-field > label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 650;
  line-height: 1.35;
}

.ste-field input,
.ste-field textarea {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.65rem 0.8rem;
  border: 1px solid #6a7c65;
  border-radius: 0.4rem;
  background-color: #fff;
  color: #182419;
  font: inherit;
  line-height: 1.4;
}

.ste-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.ste-field input:focus-visible,
.ste-field textarea:focus-visible,
.ste-consent input:focus-visible,
.ste-submit:focus-visible,
.ste-wrap a:focus-visible {
  outline: 3px solid var(--ste-focus);
  outline-offset: 3px;
}

.ste-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ste-hint {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: #415b3c;
}

.ste-finish {
  display: grid;
  gap: 1rem;
}

.ste-captcha {
  max-width: 20rem;
  margin: 0;
}

.ste-captcha input {
  max-width: 9rem;
}

.ste-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.55;
}

.ste-consent input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.25rem;
  accent-color: var(--ste-green);
}

/* Sunflower26 draws the checked dot via ::after with fixed 24px dimensions.
   Keep that dot centered and sized to our smaller consent checkbox. */
.ste-wrap .ste-consent input[type="checkbox"] {
  position: relative;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  margin: 0.1rem 0 0;
  padding: 0;
  border-radius: 50%;
}

.ste-wrap .ste-consent input[type="checkbox"]::after {
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  transform: translate(-50%, -50%);
}

.ste-submit {
  justify-self: start;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  border: 2px solid var(--ste-green);
  border-radius: 0.45rem;
  background: var(--ste-green);
  color: #fff;
  font: inherit;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
}

.ste-submit:hover {
  background: #1b4814;
  border-color: #1b4814;
  color: #fff;
}

.ste-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ste-message {
  padding: 1rem 1.25rem;
  margin-block: 1rem 1.5rem;
  border: 2px solid;
  border-radius: 0.5rem;
  line-height: 1.5;
}

.ste-message p {
  margin-block: 0 0.5rem;
}

.ste-message ul {
  margin-block: 0;
}

.ste-success {
  border-color: #408127;
  background: #e9f7e5;
}

.ste-error {
  border-color: #b42318;
  background: #fff0ee;
  color: #801f18;
}

@media (max-width: 600px) {
  .ste-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .ste-panel {
    padding: 1rem;
  }

  .ste-submit {
    width: 100%;
    justify-self: stretch;
  }
}
