.oeu-community-suggestion {
  --oeu-form-ink: #20202c;
  --oeu-form-muted: #5f6070;
  --oeu-form-border: #d7d5df;
  --oeu-form-focus: #5a287f;
  --oeu-form-accent: #9f2464;
  --oeu-form-surface: #fff;
  color: var(--oeu-form-ink);
  margin-inline: auto;
  max-width: 54rem;
}

.oeu-community-suggestion * {
  box-sizing: border-box;
}

.oeu-community-suggestion__translation {
  color: var(--oeu-form-muted);
  display: block;
  font-size: 0.88em;
  font-weight: 550;
  margin-top: 0.12rem;
}

.oeu-community-suggestion h2 .oeu-community-suggestion__translation {
  font-size: 0.58em;
  line-height: 1.35;
  margin-top: 0.35rem;
}

.oeu-community-suggestion__intro,
.oeu-community-suggestion__privacy,
.oeu-community-suggestion fieldset {
  background: var(--oeu-form-surface);
  border: 1px solid var(--oeu-form-border);
  border-radius: 0.75rem;
  margin: 0 0 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.oeu-community-suggestion__intro > :first-child,
.oeu-community-suggestion__privacy > :first-child,
.oeu-community-suggestion fieldset > :first-child {
  margin-top: 0;
}

.oeu-community-suggestion__intro > :last-child,
.oeu-community-suggestion__privacy > :last-child,
.oeu-community-suggestion fieldset > :last-child {
  margin-bottom: 0;
}

.oeu-community-suggestion legend {
  background: var(--oeu-form-surface);
  color: var(--oeu-form-ink);
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.3;
  padding: 0 0.4rem;
}

.oeu-community-suggestion__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.oeu-community-suggestion__field {
  min-width: 0;
}

.oeu-community-suggestion__field--wide {
  grid-column: 1 / -1;
}

.oeu-community-suggestion__required-note {
  color: var(--oeu-form-muted);
  font-size: 0.92rem;
}

.oeu-community-suggestion label:not(.oeu-community-suggestion__check) {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.oeu-community-suggestion input[type='text'],
.oeu-community-suggestion input[type='email'],
.oeu-community-suggestion input[type='url'],
.oeu-community-suggestion input[type='number'],
.oeu-community-suggestion input[type='file'],
.oeu-community-suggestion textarea {
  background: #fff;
  border: 1px solid #8c8b95;
  border-radius: 0.4rem;
  color: var(--oeu-form-ink);
  display: block;
  font: inherit;
  line-height: 1.4;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  width: 100%;
}

.oeu-community-suggestion input[type='file'] {
  height: auto;
}

.oeu-community-suggestion textarea {
  min-height: 8rem;
  resize: vertical;
}

.oeu-community-suggestion input:focus-visible,
.oeu-community-suggestion textarea:focus-visible,
.oeu-community-suggestion button:focus-visible {
  outline: 3px solid var(--oeu-form-focus);
  outline-offset: 2px;
}

.oeu-community-suggestion__help {
  color: var(--oeu-form-muted);
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-top: 0.35rem;
}

.oeu-community-suggestion__check {
  align-items: flex-start;
  display: flex;
  font-weight: 600;
  gap: 0.7rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.oeu-community-suggestion__check input {
  flex: 0 0 auto;
  height: 1.35rem;
  margin-top: 0.1rem;
  width: 1.35rem;
}

.oeu-community-suggestion__notice {
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  font-weight: 650;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
}

.oeu-community-suggestion__notice p {
  margin: 0;
}

.oeu-community-suggestion__notice p + p {
  margin-top: 0.35rem;
}

.oeu-community-suggestion__notice.is-success {
  background: #edf8ef;
  color: #1d6333;
}

.oeu-community-suggestion__notice.is-error {
  background: #fff0f0;
  color: #8a1f2d;
}

.oeu-community-suggestion__submit {
  background: var(--oeu-form-accent);
  border: 2px solid var(--oeu-form-accent);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
}

.oeu-community-suggestion__submit:hover {
  background: #7e194d;
  border-color: #7e194d;
}

.oeu-community-suggestion__required {
  color: #8a1f2d;
}

.oeu-community-suggestion__honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

@media (min-width: 42rem) {
  .oeu-community-suggestion__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .oeu-community-suggestion *,
  .oeu-community-suggestion *::before,
  .oeu-community-suggestion *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
