/* Shared pieces every template gets: watermark + preview ribbon. */
.gov-watermark {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background-repeat: repeat;
}
.gov-ribbon {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 9001;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(30, 10, 16, 0.82);
  color: #f7e7c6;
  font: 600 12px/1.3 system-ui, sans-serif;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* forwarded private preview: nothing to show on this device */
.gov-private { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; background: rgba(251,246,236,.97); text-align: center; font: 400 17px/1.5 Georgia, serif; color: #3a2426; }
.gov-private h2 { margin: 0 0 8px; font: 600 24px/1.25 Georgia, serif; color: #a8203a; }
.gov-private p { max-width: 420px; margin: 0 auto 16px; }
.gov-private a { color: #a8203a; font-weight: 700; }


/* maker credit under every invitation: quiet text, no box (overrides each template's older pill style) */
html body .site-foot .credit { display: flex !important; flex-direction: column; align-items: center; gap: 5px; width: auto !important; max-width: none !important;
  margin: 0 auto !important; padding: 0 !important; background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; text-align: center; font-size: 13px; line-height: 1.4; letter-spacing: .01em; }
html body .site-foot .credit .cr-orn { position: relative; width: 132px; height: 1px; margin-bottom: 10px; background: linear-gradient(90deg, transparent, currentColor 30%, currentColor 70%, transparent); opacity: .45; }
html body .site-foot .credit .cr-orn::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; translate: -50% -50%; rotate: 45deg; background: currentColor; }
html body .site-foot .credit .cr-1 { display: inline-flex; align-items: center; gap: 8px; }
html body .site-foot .credit .credit-logo { margin: 0; width: 20px; height: 20px; vertical-align: middle; }
html body .site-foot .credit .cr-2 { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
html body .site-foot .credit .cr-2 a { font-weight: 800; }
