.mpf { border:1px solid #e6e6e6; border-radius:14px; padding:18px; background:#fff; }

/* Force all text inside the widget to #0e354f (exclude button text) */
.mpf, 
.mpf *:not(.mpf__btn):not(.mpf__btn *) { 
  color: #0e354f; 
}

.mpf__header h3 { margin:0 0 12px 0; font-size:18px; }
.mpf__mode { display:flex; gap:18px; margin-bottom:14px; font-size:14px; }

.mpf__grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:14px; }
.mpf__grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 780px){
  .mpf__grid { grid-template-columns:1fr; }
  .mpf__grid-3 { grid-template-columns:1fr; }
}

.mpf__field label { display:block; font-weight:700; margin-bottom:6px; color:#0e354f; }

.mpf__field input,
.mpf__field select,
.mpf__field textarea{
  width:100%;
  box-sizing:border-box;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #0e354f;
  color:#0e354f;
  background:#fff;
  min-height:44px;
}

.mpf__hint { display:block; margin-top:6px; font-size:12px; opacity:.75; }

.mpf__sep{
  border: none;
  border-top: 1px solid #e6e6e6;
  margin: 16px 0;
}

.mpf__title { font-weight:700; color:#0e354f; margin: 10px 0 10px; }

/* Foundation tiles */
.mpf__foundation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 780px) {
  .mpf__foundation-grid { grid-template-columns: 1fr; }
}

.mpf__foundation-tile{
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  color: #0e354f;
}
.mpf__foundation-tile.is-active{
  border-color: #0e354f;
  box-shadow: 0 0 0 2px rgba(14,53,79,0.15);
}

/* Button */
.mpf__actions { margin-top:14px; }
.mpf__btn{
  background:#d9a05b;
  color:#ededec !important;
  border:none;
  border-radius:12px;
  padding:12px 16px;
  cursor:pointer;
  font-weight:700;
}
.mpf__btn:hover{ opacity:.9; }

/* Results cards */
.mpf__results { margin-top:14px; display:grid; gap:12px; }
.mpf__card { border:1px solid #e6e6e6; border-radius:12px; padding:12px; background:#fff; }
.mpf__cardtitle { font-weight:800; margin-bottom:10px; color:#0e354f; }
.mpf__kv { display:flex; justify-content:space-between; gap:10px; font-size:14px; padding:6px 0; border-bottom:1px solid #f0f0f0; }
.mpf__kv:last-child { border-bottom:none; }
.mpf__summary { background:#fafafa; }
