/* What's new (static/whats-new.js), the grower app and the team app. The
   entry body is the email's own rows with their inline styles; this only
   frames them, so the page and the email read the same. */
.wn-wrap { max-width: 660px; margin: 0 auto; padding: 4px 0 24px; }
.wn-entry { background: #fffdf8; border: 1px solid #e8dfcd; border-radius: 14px; overflow: hidden; margin: 0 0 18px; }
.wn-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 20px 0; }
.wn-date { font-size: 12.5px; color: #7c857f; font-weight: 600; }
.wn-new { white-space: nowrap; background: #fbe7e3; color: #a23b1d; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 2px 8px; }
.wn-title { margin: 4px 0 4px; padding: 0 20px; font-size: 19px; line-height: 1.3; color: #1d2b21; }
.wn-body { color: #2b2b2b; }
.wn-body table { max-width: 100%; }
.wn-body img { max-width: 100%; height: auto; }
.wn-note { color: #5b6560; font-size: 14px; padding: 12px 4px; }
/* the dot on the account button and on the menu item */
.wn-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #d0461f; box-shadow: 0 0 0 2px #fff; flex: 0 0 auto; }
.wn-dot[hidden] { display: none; }
.wn-dot-btn { position: absolute; top: 1px; right: 1px; }
.wn-dot-item { margin-left: auto; }
/* the Product news emails switch */
.wn-pref { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.45; }
.wn-pref input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #2e6b34; }
.wn-pref b { display: block; }
.wn-pref-s { display: block; color: #5b6560; font-size: 12.5px; margin-top: 2px; }
.wn-pref-msg { font-size: 12.5px; color: #2e6b34; min-height: 1em; margin-top: 6px; }
@media (max-width: 560px) {
  .wn-head, .wn-title { padding-left: 14px; padding-right: 14px; }
  .wn-entry { border-radius: 12px; margin-bottom: 14px; }
  /* the email's 28px side padding is a lot on a phone */
  .wn-body td[style*="padding:26px 28px"], .wn-body td[style*="padding:22px 28px"], .wn-body td[style*="padding:24px 28px"] { padding-left: 14px !important; padding-right: 14px !important; }
}
/* the buttons the dot sits on */
#avatar-btn, #side-acct-btn, #user-btn { position: relative; }
