/* 1440MM lead photo upload — scoped to the primary lead form. */
#leadForm .mm-photo-upload{
  border:1px solid rgba(255,141,5,.34);
  border-radius:24px;
  padding:clamp(18px,2.4vw,28px);
  background:
    radial-gradient(circle at 88% 8%,rgba(255,141,5,.10),transparent 34%),
    rgba(18,21,26,.78);
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}
#leadForm .mm-photo-upload__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
#leadForm .mm-photo-upload__head h3{margin:0 0 6px;font-size:clamp(1.12rem,1.8vw,1.42rem);line-height:1.16}
#leadForm .mm-photo-upload__head p{margin:0;color:var(--muted,#b8bec8);max-width:62ch}
#leadForm .mm-photo-upload__badge{
  flex:0 0 auto;
  border:1px solid rgba(255,141,5,.45);
  border-radius:999px;
  padding:8px 12px;
  color:#ffc47a;
  background:rgba(255,141,5,.08);
  font-size:.82rem;
  font-weight:800;
  white-space:nowrap;
}
#leadForm .mm-photo-upload__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#leadForm .mm-photo-upload__button{min-height:52px;justify-content:center;text-align:center}
#leadForm .mm-photo-upload__button span{font-size:1.08em;margin-right:5px}
#leadForm .mm-photo-upload__selection{
  margin-top:18px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:18px;
  padding:14px;
  background:rgba(255,255,255,.035);
}
#leadForm .mm-photo-upload__summary{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;color:#eef1f4}
#leadForm .mm-photo-upload__summary span{color:#ffc47a;font-weight:800}
#leadForm .mm-photo-upload__list{display:grid;gap:8px;list-style:none;margin:0;padding:0}
#leadForm .mm-photo-upload__item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:10px 12px;
  border-radius:13px;
  background:rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.08);
}
#leadForm .mm-photo-upload__file{min-width:0}
#leadForm .mm-photo-upload__name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750;color:#f5f6f8}
#leadForm .mm-photo-upload__meta{display:block;margin-top:2px;font-size:.78rem;color:var(--muted,#aeb5bf)}
#leadForm .mm-photo-upload__remove,
#leadForm .mm-photo-upload__clear{
  appearance:none;
  border:0;
  background:transparent;
  color:#ffc47a;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
  font:inherit;
  font-weight:750;
}
#leadForm .mm-photo-upload__clear{margin-top:12px;padding:4px 0}
#leadForm .mm-photo-upload__status{min-height:1.35em;margin:12px 0 0;color:var(--muted,#b8bec8);font-weight:700}
#leadForm .mm-photo-upload__status.is-error{color:#ff9d9d}
#leadForm .mm-photo-upload__status.is-ok{color:#8ee4b8}
#leadForm .mm-photo-upload .form-note{margin:10px 0 0}
@media (max-width:720px){
  #leadForm .mm-photo-upload{padding:16px;border-radius:20px}
  #leadForm .mm-photo-upload__head{display:block}
  #leadForm .mm-photo-upload__badge{display:inline-flex;margin-top:12px}
  #leadForm .mm-photo-upload__actions{grid-template-columns:1fr}
  #leadForm .mm-photo-upload__button{width:100%;min-height:56px}
  #leadForm .mm-photo-upload__summary{align-items:flex-start;flex-direction:column;gap:2px}
  #leadForm .mm-photo-upload__item{grid-template-columns:minmax(0,1fr);gap:7px}
  #leadForm .mm-photo-upload__remove{justify-self:start}
}

/* v3.1.4 — explicit send confirmation and manual recovery actions. */
#leadForm .form-status{
  margin:16px 0;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(255,255,255,.04);
  color:#d9dee5;
  font-weight:700;
  line-height:1.45;
}
#leadForm .form-status.is-active{border-color:rgba(142,228,184,.36);color:#bff0d5;background:rgba(70,170,120,.08)}
#leadForm .form-status.is-error{border-color:rgba(255,124,124,.42);color:#ffd0d0;background:rgba(155,38,38,.12)}
#leadForm .mm-mail-recovery-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
#leadForm .mm-mail-recovery-actions .btn{
  min-height:46px;
  padding:11px 16px;
}
@media (max-width:720px){
  #leadForm .mm-mail-recovery-actions{display:grid;grid-template-columns:1fr}
  #leadForm .mm-mail-recovery-actions .btn{width:100%}
}
