/* All front-end styles are isolated to this popup. */
#inlp-popup, #inlp-popup * { box-sizing: border-box; }
#inlp-popup {
  --inlp-css-ready: 1;
  position: fixed; inset: 0; margin: auto; padding: 0; border: 0;
  width: min(var(--inlp-width, 640px), calc(100vw - 24px));
  max-width: none; min-width: 0;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  overflow: auto; overscroll-behavior: contain;
  border-radius: 18px; background: #fff; color: #182333;
  box-shadow: 0 24px 80px rgb(0 0 0 / 30%);
  font: 400 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light; z-index: 2147483646;
}
#inlp-popup:not([open]) { display: none !important; }
#inlp-popup[open] { display: flex !important; flex-direction: column; animation: inlp-popup-in .18s ease-out; }
#inlp-popup::backdrop { background: rgb(10 17 29 / 70%); }
#inlp-popup .inlp-top {
  display: flex; flex: 0 0 auto; align-items: center; gap: 12px;
  justify-content: space-between; padding: 6px 8px 6px 18px;
  min-height: 56px; background: #fff;
}
#inlp-popup .inlp-title { margin: 0; font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
#inlp-popup .inlp-close {
  appearance: none; display: grid; place-items: center; flex: 0 0 44px;
  width: 44px; height: 44px; min-height: 44px; min-width: 44px;
  margin: 0; padding: 0; border: 0; border-radius: 50%;
  background: #edf0f4; color: #142235; font: 400 30px/1 sans-serif;
  cursor: pointer; box-shadow: none; text-shadow: none; transform: none;
}
#inlp-popup .inlp-close:hover { background: #dce2e9; }
#inlp-popup .inlp-media {
  display: flex; justify-content: center; align-items: center;
  flex: 1 1 auto; min-height: 0; width: 100%; margin: 0; padding: 0;
  background: #f4f5f7; text-decoration: none; border: 0; box-shadow: none;
}
#inlp-popup .inlp-image {
  display: block; width: auto; height: auto; min-width: 0; min-height: 0;
  max-width: 100%; max-height: calc(100vh - 184px); max-height: calc(100dvh - 184px);
  margin: 0; padding: 0; border: 0; border-radius: 0; object-fit: contain;
  opacity: 1; visibility: visible;
}
#inlp-popup .inlp-footer { flex: 0 0 auto; padding: 14px 16px 16px; background: #fff; }
#inlp-popup .inlp-cta {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 48px; margin: 0; padding: 12px 20px;
  border: 0; border-radius: 10px; background: #16344e; color: #fff;
  font: 650 16px/1.4 system-ui, sans-serif; text-align: center;
  text-decoration: none; text-transform: none; letter-spacing: normal;
  box-shadow: none; overflow-wrap: anywhere;
}
#inlp-popup .inlp-cta:hover { background: #244c6a; color: #fff; }
#inlp-popup a::before, #inlp-popup a::after,
#inlp-popup button::before, #inlp-popup button::after { content: none; }
#inlp-popup :is(a, button):focus-visible { outline: 3px solid #2468cf; outline-offset: -4px; }
@keyframes inlp-popup-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) {
  #inlp-popup { border-radius: 14px; }
  #inlp-popup .inlp-footer { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { #inlp-popup[open] { animation: none; } }
