/* Clone-only automatic deployment acceptance marker; no visual behavior change. */
/* Field values deliberately match the existing partnership/media-kit inputs. */
html body dialog.soab-newsletter-dialog {
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 40px;
  border: 0;
  border-radius: 28px;
  background: #fff !important;
  background-image: linear-gradient(145deg, #fff, #f9fbfa) !important;
  color: #273e36 !important;
  box-shadow: 0 30px 100px rgba(20, 33, 28, .28);
  overflow: auto;
  font-family: "Source Sans Pro", sans-serif;
  z-index: 2147483647;
}
.soab-newsletter-dialog::backdrop { background: rgba(20, 31, 27, .62); backdrop-filter: blur(5px); }
.soab-newsletter-dialog * { box-sizing: border-box; }
html body .soab-newsletter-dialog .soab-newsletter-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  padding: 0; border: 1px solid #e5e8e5; border-radius: 50%;
  background: #fff !important; color: #33534e !important;
  font: 400 24px/1 "Source Sans Pro", sans-serif; cursor: pointer;
}
html body .soab-newsletter-dialog .soab-newsletter-kicker {
  margin: 0 28px 8px 0; color: #8b4a3d !important;
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
html body .soab-newsletter-dialog h2 {
  margin: 0 24px 16px 0; color: #273e36 !important;
  font: 700 27px/1.2 "Source Sans Pro", sans-serif; letter-spacing: -.5px;
}
html body .soab-newsletter-dialog p { color: #3a5147 !important; line-height: 1.6; }
.soab-newsletter-dialog #soab-newsletter-copy { margin: 0 0 26px; font-size: 16px; }
html body .soab-newsletter-dialog label {
  display: block; margin: 0 0 8px; font: 700 13px/1.3 "Source Sans Pro", sans-serif; color: #3a5147 !important;
}
html body .soab-newsletter-dialog input[type="email"] {
  display: block; width: 100%; min-width: 0; min-height: 54px;
  padding: 15px 18px; border: 1px solid transparent; border-radius: 18px;
  background: #f3f4f1 !important; color: #273e36 !important; -webkit-text-fill-color: #273e36 !important;
  font: 400 16px/1.4 "Source Sans Pro", sans-serif; letter-spacing: 0;
  box-shadow: none; transition: border-color .15s, background .15s;
}
html body .soab-newsletter-dialog input::placeholder { color: #78857d; -webkit-text-fill-color: #78857d; opacity: 1; }
html body .soab-newsletter-dialog input:focus { outline: none; border-color: #6e947b; background: #fff !important; }
html body .soab-newsletter-dialog .soab-newsletter-status { margin: 16px 0 22px; font-size: 14px; }
html body .soab-newsletter-dialog .soab-newsletter-submit {
  min-height: 44px; padding: 11px 24px; border: 0; border-radius: 24px;
  background: #e5e9e6 !important; color: #516158 !important;
  font: 700 15px/1.4 "Source Sans Pro", sans-serif; cursor: not-allowed; opacity: 1;
}
html body .soab-newsletter-dialog .soab-newsletter-privacy { margin: 18px 0 0; font-size: 14px; }
html body .soab-newsletter-dialog a { color: #33534e !important; text-decoration: underline; text-underline-offset: 2px; }
.soab-newsletter-dialog :is(button, a):focus-visible { outline: 3px solid #6e947b; outline-offset: 3px; }
html[data-soab-theme="dark"] body dialog.soab-newsletter-dialog {
  background: #2a312f !important;
  background-image: linear-gradient(145deg, #35413d, #252d29) !important;
}
html[data-soab-theme="dark"] body .soab-newsletter-dialog input[type="email"] {
  background: #303a37 !important;
  -webkit-text-fill-color: #ebebeb !important;
}
html[data-soab-theme="dark"] body .soab-newsletter-dialog input:focus { background: #303a37 !important; }
html[data-soab-theme="dark"] body .soab-newsletter-dialog .soab-newsletter-close { background: #303a37 !important; }
html[data-soab-theme="dark"] body .soab-newsletter-dialog .soab-newsletter-submit { background: #46534b !important; }
/* Exceed the existing four-ID dark-button rule, only inside this dialog. */
html[data-soab-theme] body:not(#soab-newsletter-1):not(#soab-newsletter-2):not(#soab-newsletter-3):not(#soab-newsletter-4) #soab-newsletter-popup .soab-newsletter-submit {
  background: #e5e9e6 !important; color: #516158 !important; -webkit-text-fill-color: #516158 !important;
}
html[data-soab-theme="dark"] body:not(#soab-newsletter-1):not(#soab-newsletter-2):not(#soab-newsletter-3):not(#soab-newsletter-4) #soab-newsletter-popup .soab-newsletter-submit {
  background: #46534b !important; color: #c4d0c8 !important; -webkit-text-fill-color: #c4d0c8 !important;
}
html[data-soab-theme="dark"] body:not(#soab-newsletter-1):not(#soab-newsletter-2):not(#soab-newsletter-3):not(#soab-newsletter-4) #soab-newsletter-popup .soab-newsletter-close {
  background: #303a37 !important; color: #ebebeb !important;
}
@media (max-width: 640px) {
  html body dialog.soab-newsletter-dialog { padding: 32px 24px; border-radius: 22px; }
  html body .soab-newsletter-dialog h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .soab-newsletter-dialog input { transition: none; } }
