.f9pp-open { overflow: hidden; }
.f9pp-root { position: fixed; inset: 0; z-index: 999999; }
.f9pp-backdrop { position: absolute; inset: 0; background: rgba(9, 18, 32, .68); backdrop-filter: blur(5px); }
.f9pp-modal { position: relative; z-index: 1; width: 100%; height: 100%; padding: 20px; overflow-y: auto; box-sizing: border-box; }
.f9pp-modal.is-leaving .f9pp-card { opacity: 0; transform: translateY(7px) scale(.985); transition: opacity .14s ease, transform .14s ease; }
.f9pp-card { position: relative; width: min(520px, 100%); margin: max(24px, 7vh) auto; overflow: hidden; color: #172234; background: #fff; border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; box-shadow: 0 28px 80px rgba(3, 12, 25, .3), 0 3px 12px rgba(3, 12, 25, .12); }
.f9pp-media { background: #edf2f7; }
.f9pp-image { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; }
.f9pp-content { padding: 24px; }
.f9pp-content h2 { margin: 0 42px 10px 0; color: #101828; font-size: clamp(22px, 4vw, 29px); line-height: 1.2; letter-spacing: -.025em; }
.f9pp-copy-wrap { position: relative; transition: max-height .25s ease; }
.f9pp-copy-wrap.is-collapsed { max-height: 116px; overflow: hidden; }
.f9pp-copy-wrap.is-collapsed.is-overflowing::after { position: absolute; right: 0; bottom: 0; left: 0; height: 46px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 82%); content: ''; pointer-events: none; }
.f9pp-copy { color: #475467; font-size: 15.5px; line-height: 1.6; }
.f9pp-copy > :last-child { margin-bottom: 0; }
.f9pp-close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 1px solid rgba(16, 24, 40, .1); border-radius: 11px; color: #344054; background: rgba(255, 255, 255, .94); cursor: pointer; box-shadow: 0 4px 14px rgba(16, 24, 40, .1); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.f9pp-close:hover { background: #fff; box-shadow: 0 6px 18px rgba(16, 24, 40, .16); transform: translateY(-1px); }
.f9pp-close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.f9pp-see-more { position: relative; z-index: 1; margin: 7px 0 0; padding: 2px 0; border: 0; color: #08783e; background: transparent; cursor: pointer; font: inherit; font-size: 14px; font-weight: 750; }
.f9pp-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 10px; margin-top: 21px; }
.f9pp-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; box-sizing: border-box; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.f9pp-button:hover { transform: translateY(-1px); }
.f9pp-primary { color: #fff; background: linear-gradient(135deg, #079451, #08783e); box-shadow: 0 7px 18px rgba(8, 120, 62, .2); }
.f9pp-secondary { color: #25364d; background: #f8fafc; border-color: #d8dee7; }
.f9pp-link { grid-column: 1 / -1; justify-self: center; padding: 4px; border: 0; color: #667085; background: transparent; cursor: pointer; font: inherit; font-size: 13px; text-decoration: none; }
.f9pp-link:hover { color: #344054; text-decoration: underline; }
.f9pp-button:focus-visible, .f9pp-link:focus-visible, .f9pp-close:focus-visible { outline: 3px solid #f8c832; outline-offset: 3px; }
@media (max-width: 520px) {
  .f9pp-modal { padding: 10px; }
  .f9pp-card { margin: 20px auto; border-radius: 13px; }
  .f9pp-content { padding: 21px 18px; }
  .f9pp-actions { grid-template-columns: 1fr; }
  .f9pp-link { grid-column: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .f9pp-card { animation: f9pp-enter .22s ease-out; }
  @keyframes f9pp-enter { from { opacity: 0; transform: translateY(14px) scale(.98); } }
}
