/* Eligibility → free account / lead capture (shared by the search pages).
   Palette matches the search pages: navy #1e3a5c, teal #043643,
   gold #c09c55, cream #fffdf8, border #e7ddcb. All classes mpl-prefixed. */

.mpl-prompt {
  margin: 14px 0 4px;
  padding: 14px 16px;
  background: #fffdf8;
  border: 1px solid #e7ddcb;
  border-left: 4px solid #c09c55;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.mpl-prompt[hidden] { display: none; }
.mpl-prompt-txt { flex: 1 1 320px; min-width: 240px; }
.mpl-prompt-txt strong { display: block; font-size: 16px; color: #043643; margin-bottom: 2px; }
.mpl-prompt-txt span { font-size: 14px; color: #4a4436; line-height: 1.45; }
.mpl-btn {
  appearance: none; border: 0; cursor: pointer;
  background: #1e3a5c; color: #fff;
  font: inherit; font-weight: 600; font-size: 14.5px;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
}
.mpl-btn:hover { background: #043643; }
.mpl-btn[disabled] { opacity: .55; cursor: default; }
.mpl-x {
  appearance: none; background: none; border: 0; cursor: pointer;
  color: #8a8271; font-size: 18px; line-height: 1; padding: 4px 6px;
}
.mpl-x:hover { color: #043643; }

.mpl-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(24, 28, 38, .52);
  display: none; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 28px 14px;
}
.mpl-overlay.open { display: flex; }
.mpl-card {
  background: #fffdf8; border-radius: 14px; max-width: 560px; width: 100%;
  padding: 22px 22px 18px; position: relative;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.mpl-card h2 { margin: 0 26px 4px 0; font-size: 21px; color: #043643; }
.mpl-sub { margin: 0 0 14px; font-size: 14.5px; color: #4a4436; line-height: 1.5; }
.mpl-notice { margin: 0 0 14px; padding: 11px 13px; background: #f7f2e7; border: 1px solid #e7ddcb; border-left: 4px solid #043643; border-radius: 8px; font-size: 13.5px; color: #22304a; line-height: 1.55; }
.mpl-notice a { color: #043643; font-weight: 600; }
.mpl-consent a { color: #043643; font-weight: 600; }
.mpl-close { position: absolute; top: 10px; right: 12px; }
.mpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.mpl-f { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.mpl-f.full { grid-column: 1 / -1; }
.mpl-f label { font-size: 13px; font-weight: 600; color: #22304a; }
.mpl-f label .opt { font-weight: 400; color: #8a8271; }
.mpl-f input, .mpl-f select, .mpl-f textarea {
  font: inherit; font-size: 14.5px; color: #22304a;
  background: #fff; border: 1px solid #d8cfba; border-radius: 8px;
  padding: 8px 10px; width: 100%; box-sizing: border-box;
}
.mpl-f textarea { resize: vertical; min-height: 84px; }
.mpl-f input:focus, .mpl-f select:focus, .mpl-f textarea:focus {
  outline: 2px solid #c09c55; outline-offset: 0; border-color: #c09c55;
}
.mpl-hint { font-size: 12.5px; color: #8a8271; line-height: 1.4; }
.mpl-modes { display: flex; gap: 8px; margin-bottom: 8px; }
.mpl-mode {
  appearance: none; cursor: pointer; font: inherit; font-size: 13.5px;
  background: #f7f2e7; color: #22304a; border: 1px solid #d8cfba;
  padding: 6px 12px; border-radius: 999px;
}
.mpl-mode.on { background: #1e3a5c; color: #fff; border-color: #1e3a5c; }
.mpl-consent { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0 6px; font-size: 13.5px; color: #22304a; line-height: 1.45; }
.mpl-consent input { margin-top: 2px; width: 16px; height: 16px; flex: 0 0 auto; }
.mpl-privacy { font-size: 12.5px; color: #8a8271; line-height: 1.45; margin: 0 0 12px; }
.mpl-err { display: none; background: #fdeceb; border: 1px solid #e5a09b; color: #7c1d16; border-radius: 8px; padding: 9px 12px; font-size: 14px; margin-bottom: 12px; }
.mpl-err.show { display: block; }
.mpl-actions { display: flex; align-items: center; gap: 12px; }
.mpl-done { text-align: left; padding: 6px 0 2px; }
.mpl-done strong { display: block; font-size: 18px; color: #043643; margin-bottom: 6px; }
.mpl-done p { font-size: 14.5px; color: #4a4436; line-height: 1.55; margin: 0 0 14px; }
.mpl-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) {
  .mpl-grid { grid-template-columns: 1fr; }
  .mpl-card { padding: 18px 16px 14px; }
}
