.wn-dialog {
  color-scheme: light;
  color: #142c20;
  background: #fafcf9;
  border: 1px solid #d6e0d6;
  border-radius: 18px;
  padding: 0;
  width: min(32rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  margin: auto;
  box-shadow: 0 24px 100px #05100f47;
  font-family: inherit;
}
.wn-dialog::backdrop { background: rgb(4 18 12 / 66%); }
.wn-dialog-content { position: relative; padding: clamp(22px, 4vw, 34px); }
.wn-dialog h2 {
  color: #132a1c;
  font-family: inherit;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.055em;
  margin: 0 2rem .7rem 0;
}
.wn-dialog h2:focus { outline: none; }
.wn-dialog .wn-close {
  background: transparent;
  position: absolute;
  top: 13px;
  right: 13px;
  color: #284933;
  border: 1px solid #d7dfd7;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font: 22px/1 Arial, sans-serif;
  padding: 0 0 2px;
  cursor: pointer;
}
.wn-intro, .wn-alternate, .wn-status, .wn-review { font-size: .88rem; line-height: 1.55; }
.wn-dialog .wn-intro { color: #415747; margin: 0 0 1.35rem; }
.wn-form { display: grid; gap: .9rem; }
.wn-form label { display: grid; gap: .35rem; color: #263d2d; font: inherit; font-size: .8rem; font-weight: 600; }
.wn-form input, .wn-form textarea, .wn-form select {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  border: 1px solid #bdcbbf;
  border-radius: 7px;
  background: #fff;
  color: #172a1e;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 9px 11px;
}
.wn-form textarea { resize: vertical; }
.wn-dialog :focus-visible { outline: 3px solid #488c5f; outline-offset: 2px; }
.wn-dialog .wn-primary {
  justify-self: start;
  width: auto;
  border: 1px solid #142c20;
  background: #142c20;
  color: #deffe1;
  border-radius: 7px;
  padding: .7rem 1.05rem;
  min-height: 42px;
  cursor: pointer;
  font-family: inherit;
  font-size: .87rem;
  font-weight: 600;
}
.wn-dialog .wn-primary:hover { background: #254d34; }
.wn-dialog .wn-primary:disabled { cursor: default; opacity: .65; }
.wn-dialog .wn-text, .wn-dialog a { color: #1f5c3a; text-decoration: underline; text-underline-offset: .18em; }
.wn-dialog button.wn-text { border: 0; background: transparent; cursor: pointer; padding: 0; font: inherit; }
.wn-dialog .wn-status { margin: 0; color: #325f41; overflow-wrap: anywhere; }
.wn-dialog .wn-status:empty { display: none; }
.wn-dialog .wn-error { color: #913c2c; }
.wn-dialog .wn-alternate { color: #536457; margin: 1rem 0 0; }
.wn-dialog .wn-recipient {
  display: grid;
  gap: .55rem;
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border: 1px solid #d3dfd4;
  border-radius: 8px;
  background: #eff4ee;
}
.wn-recipient span, .wn-recipient div { font-size: .73rem; font-weight: 600; }
.wn-recipient code { font: .83rem/1.5 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; color: #1d3929; }
.wn-recipient div, .wn-buttons { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.wn-buttons { font-size: .85rem; }
.wn-dialog .wn-review { margin: 0; }
.wn-dialog [hidden] { display: none !important; }
.wn-dialog .wn-honeypot { position: absolute; width: 1px; height: 1px; clip-path: inset(100%); overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .wn-dialog[open] { animation: wn-open .15s ease-out both; }
  @keyframes wn-open { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
}
