/* Scoped rules: customize the variables without touching the PHP. */
.nsfp {
  --nsfp-accent: #173d28;
  --nsfp-link: #226838;
  --nsfp-text: #17261d;
  --nsfp-muted: #59655d;
  --nsfp-border: #b8c5bc;
  box-sizing: border-box;
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid #dfe7e1;
  border-radius: 18px;
  background: #fff;
  color: var(--nsfp-text);
  font-family: inherit;
  line-height: 1.55;
  scroll-margin-top: 110px;
}
.nsfp *, .nsfp *::before, .nsfp *::after { box-sizing: border-box; }
.nsfp h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.18; color: var(--nsfp-text); }
.nsfp-intro { margin: 0 0 12px; font-size: 18px; }
.nsfp .nsfp-note { margin: 12px 0; font-size: 14px; line-height: 1.5; color: var(--nsfp-muted); }
.nsfp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; }
.nsfp-wide { grid-column: 1 / -1; }
.nsfp-field { min-width: 0; }
.nsfp-field label { display: block; margin-bottom: 7px; font-size: 16px; font-weight: 600; }
.nsfp-field label span { font-weight: 400; color: var(--nsfp-muted); }
.nsfp .nsfp-field input { width: 100%; min-height: 50px; margin: 0; padding: 11px 13px; border: 1px solid var(--nsfp-border); border-radius: 8px; background: #fff; color: var(--nsfp-text); font: inherit; font-size: 16px; line-height: 1.4; }
.nsfp input:focus-visible, .nsfp button:focus-visible, .nsfp a:focus-visible { outline: 3px solid var(--nsfp-accent); outline-offset: 3px; }
.nsfp-preferences { min-width: 0; margin: 28px 0 22px; padding: 0; border: 0; }
.nsfp-preferences legend { margin-bottom: 14px; padding: 0; font-size: 16px; font-weight: 700; }
.nsfp-check { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; cursor: pointer; font-size: 15px; font-weight: 400; }
.nsfp .nsfp-check input[type=checkbox] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--nsfp-accent); cursor: pointer; }
.nsfp-check span { min-width: 0; }
.nsfp a { color: var(--nsfp-link); text-decoration: underline; text-underline-offset: 2px; }
.nsfp .nsfp-submit { display: block; width: 100%; min-height: 54px; padding: 15px 20px; border: 2px solid var(--nsfp-accent); border-radius: 9px; background: var(--nsfp-accent); color: #fff; font: inherit; font-size: 17px; font-weight: 700; line-height: 1.4; cursor: pointer; transition: opacity .15s ease; white-space: normal; }
.nsfp .nsfp-submit:hover { opacity: .9; }
.nsfp .nsfp-submit:disabled { opacity: .65; cursor: wait; }
.nsfp-message { margin: 0 0 18px; padding: 13px 15px; border: 1px solid #a62b2b; border-radius: 7px; background: #fff6f5; color: #7c1c1c; font-size: 15px; }
.nsfp-status { margin: 12px 0 0; font-size: 14px; }
.nsfp-status:empty { display: none; }
.nsfp-trap { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; clip-path: inset(50%) !important; }
.nsfp [hidden] { display: none !important; }
@media (max-width: 640px) {
  .nsfp-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .nsfp { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .nsfp .nsfp-submit { transition: none; } }
