/* Mangala Nakatha v4.4.1 - member proposal/profile flow refinements */
.mn-customer-theme .compact-proposal-grid{
  align-items:start;
  gap:18px!important;
}
.mn-customer-theme .compact-profile-card{
  min-height:0!important;
}
.mn-customer-theme .compact-proposal-body{
  display:grid;
  gap:14px;
}
.mn-customer-theme .compact-card-details{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0!important;
}
.mn-customer-theme .compact-card-details>div{
  min-height:64px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
}
.mn-customer-theme .compact-card-details>div:last-child{
  grid-column:1/-1;
}
.mn-customer-theme .card-privacy-note{
  margin:0!important;
  padding:10px 12px;
  border:1px solid rgba(229,191,113,.22);
  border-radius:12px;
  background:rgba(229,191,113,.055);
  color:#d9cda9!important;
  font-size:.8rem;
  line-height:1.45;
}
.mn-customer-theme .compact-card-actions{
  display:grid!important;
  gap:10px!important;
}
.mn-customer-theme .member-proposal-card-form,
.mn-customer-theme .proposal-extra-message{
  display:grid;
  gap:7px;
  width:100%;
}
.mn-customer-theme .proposal-extra-message>span{
  color:#d9cfdd!important;
  font-size:.76rem;
  font-weight:750;
}
.mn-customer-theme .proposal-extra-message input{
  width:100%;
  min-height:44px;
}
.mn-customer-theme .compact-payment-link{
  color:#e8cf93!important;
  font-size:.78rem;
  text-align:center;
}
.mn-customer-theme .detailed-suggestion-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.mn-customer-theme .detailed-suggestion-card{
  display:grid;
  gap:14px;
}
.mn-customer-theme .suggestion-detail-grid,
.mn-customer-theme .inbox-detail-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0!important;
}
.mn-customer-theme .suggestion-detail-grid>div,
.mn-customer-theme .inbox-detail-grid>div{
  min-height:64px;
  padding:10px 11px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.025)!important;
}
.mn-customer-theme .suggestion-reasons{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.028);
  border:1px solid rgba(255,255,255,.075);
}
.mn-customer-theme .suggestion-reasons>strong{
  display:block;
  margin-bottom:7px;
  color:#fff;
}
.mn-customer-theme .suggestion-reasons ul{
  margin:0!important;
  padding:0!important;
  border:0!important;
  list-style:none;
}
.mn-customer-theme .suggestion-reasons li{
  padding:3px 0;
}
.mn-customer-theme .proposal-inbox-detail{
  display:grid!important;
  gap:13px!important;
  align-items:stretch!important;
  padding:17px!important;
}
.mn-customer-theme .proposal-inbox-detail>.reply-header{
  width:100%;
}
.mn-customer-theme .proposal-inbox-message{
  width:100%;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.026);
}
.mn-customer-theme .proposal-inbox-message strong{
  display:block;
  margin-bottom:5px;
  color:#fff!important;
}
.mn-customer-theme .proposal-inbox-message p{
  margin:0!important;
  color:#d6cadb!important;
  line-height:1.55;
}
.mn-customer-theme .detailed-visitor-reply-card{
  display:grid;
  gap:13px;
}
.mn-customer-theme .visitor-reply-success{
  position:relative;
  overflow:hidden;
  border:2px solid rgba(229,191,113,.62)!important;
  box-shadow:0 24px 80px rgba(0,0,0,.36),0 0 0 5px rgba(229,191,113,.07)!important;
  text-align:center;
}
.mn-customer-theme .visitor-reply-success::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 50% 0,rgba(229,191,113,.13),transparent 52%);
}
.mn-customer-theme .visitor-reply-success .success-check{
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  margin:0 auto 12px;
  border-radius:50%;
  background:#e5bf71;
  color:#24102e;
  font-size:2rem;
  font-weight:900;
  box-shadow:0 10px 35px rgba(229,191,113,.28);
}
.mn-customer-theme .visitor-reply-success h2{
  margin-bottom:10px!important;
  font-size:clamp(1.8rem,4vw,2.65rem)!important;
}
.mn-customer-theme .visitor-reply-success p:not(.eyebrow){
  max-width:650px;
  margin:0 auto 18px!important;
  font-size:1rem;
  line-height:1.7;
}
.mn-customer-theme .primary-nav a[href*="#vip-regular"],
.mn-customer-theme .primary-nav a[href*="#vip-premium"]{
  white-space:nowrap;
}
@media(max-width:900px){
  .mn-customer-theme .detailed-suggestion-grid{grid-template-columns:1fr!important}
  .mn-customer-theme .suggestion-detail-grid,
  .mn-customer-theme .inbox-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
  .mn-customer-theme .compact-card-details,
  .mn-customer-theme .suggestion-detail-grid,
  .mn-customer-theme .inbox-detail-grid{grid-template-columns:1fr!important}
  .mn-customer-theme .compact-card-details>div:last-child{grid-column:auto}
}

/* v4.4.2 visitor-card description + overlap/alignment corrections */
.mn-customer-theme .compact-proposal-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
}
.mn-customer-theme .compact-profile-card,
.mn-customer-theme .compact-profile-card .proposal-body,
.mn-customer-theme .compact-profile-card .compact-proposal-body,
.mn-customer-theme .compact-profile-card .compact-card-actions,
.mn-customer-theme .compact-profile-card .member-proposal-card-form{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.mn-customer-theme .compact-profile-card{
  height:auto!important;
  align-self:stretch!important;
}
.mn-customer-theme .compact-profile-card .text-proposal-top{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:10px 12px!important;
  min-height:0!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.mn-customer-theme .compact-profile-card .text-proposal-top>div{
  display:flex!important;
  flex:1 1 190px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  max-width:100%!important;
}
.mn-customer-theme .compact-profile-card .proposal-type-badge,
.mn-customer-theme .compact-profile-card .proposal-vip-badge{
  display:inline-flex!important;
  align-items:center!important;
  max-width:100%!important;
  margin:0!important;
  padding:6px 9px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.25!important;
  text-align:left!important;
  border-radius:999px!important;
  box-sizing:border-box!important;
}
.mn-customer-theme .compact-profile-card .proposal-code{
  flex:0 0 auto!important;
  max-width:100%!important;
  margin-left:auto!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.35!important;
}
.mn-customer-theme .compact-profile-card .profile-profession{
  min-height:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.2!important;
}
.mn-customer-theme .compact-profile-card .compact-card-details{
  width:100%!important;
  min-width:0!important;
}
.mn-customer-theme .compact-profile-card .compact-card-details>div{
  display:block!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.mn-customer-theme .compact-profile-card .compact-card-details dt,
.mn-customer-theme .compact-profile-card .compact-card-details dd{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.mn-customer-theme .compact-profile-card .compact-card-details dd{
  margin-top:4px!important;
  line-height:1.4!important;
}
.mn-customer-theme .visitor-proposal-description{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  padding:13px 14px!important;
  margin:0!important;
  border:1px solid rgba(229,191,113,.18)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.032)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.mn-customer-theme .visitor-proposal-description strong{
  display:block!important;
  margin:0 0 6px!important;
  color:#efd79e!important;
  font-size:.72rem!important;
  font-weight:850!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
.mn-customer-theme .visitor-proposal-description p{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  color:#d8cddd!important;
  font-size:.86rem!important;
  line-height:1.6!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.mn-customer-theme .compact-profile-card .card-privacy-note{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow-wrap:anywhere!important;
}
.mn-customer-theme .compact-profile-card .profile-card-actions{
  width:100%!important;
  padding-top:2px!important;
  border-top:0!important;
}
.mn-customer-theme .compact-profile-card .button,
.mn-customer-theme .compact-profile-card .text-link{
  max-width:100%!important;
  height:auto!important;
  min-height:42px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.3!important;
  box-sizing:border-box!important;
}
.mn-customer-theme .compact-profile-card .member-proposal-card-form input{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.mn-customer-theme .compact-profile-card .visitor-reply-cta{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 20px!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  row-gap:2px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:70px!important;
  padding:13px 14px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.mn-customer-theme .compact-profile-card .visitor-reply-cta span{
  grid-column:1!important;
  grid-row:1/3!important;
  align-self:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  box-sizing:border-box!important;
}
.mn-customer-theme .compact-profile-card .visitor-reply-cta strong,
.mn-customer-theme .compact-profile-card .visitor-reply-cta small{
  grid-column:2!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.mn-customer-theme .compact-profile-card .visitor-reply-cta strong{
  grid-row:1!important;
  align-self:end!important;
  line-height:1.3!important;
}
.mn-customer-theme .compact-profile-card .visitor-reply-cta small{
  grid-row:2!important;
  align-self:start!important;
}
.mn-customer-theme .compact-profile-card .visitor-reply-cta::after{
  grid-column:3!important;
  grid-row:1/3!important;
  align-self:center!important;
  justify-self:end!important;
  position:static!important;
}
.mn-customer-theme .compact-profile-card .form-status{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  white-space:normal!important;
}

/* Keep long visitor form labels, helper text and controls inside their shapes. */
.mn-customer-theme [data-visitor-reply] .registration-card,
.mn-customer-theme [data-visitor-reply] .field,
.mn-customer-theme [data-visitor-reply] .check-field{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.mn-customer-theme [data-visitor-reply] label,
.mn-customer-theme [data-visitor-reply] small,
.mn-customer-theme [data-visitor-reply] p,
.mn-customer-theme [data-visitor-reply] h1,
.mn-customer-theme [data-visitor-reply] h2{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.mn-customer-theme [data-visitor-reply] input,
.mn-customer-theme [data-visitor-reply] select,
.mn-customer-theme [data-visitor-reply] textarea,
.mn-customer-theme [data-visitor-reply] .button{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

@media(max-width:1180px){
  .mn-customer-theme .compact-proposal-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:720px){
  .mn-customer-theme .compact-proposal-grid{
    grid-template-columns:1fr!important;
  }
  .mn-customer-theme .compact-profile-card .text-proposal-top{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
  .mn-customer-theme .compact-profile-card .proposal-code{
    margin-left:0!important;
  }
}
@media(max-width:480px){
  .mn-customer-theme .compact-profile-card .compact-card-details{
    grid-template-columns:1fr!important;
  }
  .mn-customer-theme .compact-profile-card .visitor-reply-cta{
    grid-template-columns:38px minmax(0,1fr) 16px!important;
    padding:12px!important;
  }
  .mn-customer-theme .compact-profile-card .visitor-reply-cta span{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
  }
}

/* Visitor reply target proposal summary */
.mn-customer-theme .visitor-target-proposal{
  display:grid!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  margin:0 0 18px!important;
  padding:17px 18px!important;
  border:1px solid rgba(229,191,113,.20)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(229,191,113,.065),rgba(255,255,255,.025))!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.mn-customer-theme .visitor-target-heading{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px 12px!important;
  min-width:0!important;
}
.mn-customer-theme .visitor-target-heading .proposal-type-badge{
  max-width:100%!important;
  margin:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.mn-customer-theme .visitor-target-heading>strong{
  color:#f0e5f3!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.mn-customer-theme .visitor-target-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  min-width:0!important;
}
.mn-customer-theme .visitor-target-meta span{
  display:inline-flex!important;
  max-width:100%!important;
  padding:6px 9px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.035)!important;
  color:#d9cfde!important;
  font-size:.78rem!important;
  line-height:1.3!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  box-sizing:border-box!important;
}
.mn-customer-theme .visitor-target-description{
  min-width:0!important;
  max-width:100%!important;
  padding:12px 13px!important;
  border-radius:13px!important;
  background:rgba(0,0,0,.13)!important;
  box-sizing:border-box!important;
}
.mn-customer-theme .visitor-target-description>strong{
  display:block!important;
  margin-bottom:5px!important;
  color:#efd79e!important;
  font-size:.72rem!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
}
.mn-customer-theme .visitor-target-description p{
  margin:0!important;
  color:#d9cfde!important;
  line-height:1.62!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
@media(max-width:560px){
  .mn-customer-theme .visitor-target-heading{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
}

/* v4.6.2 third-party proposal form continuity */
.mn-customer-theme [data-visitor-reply] .visitor-reply-form-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:16px;
}
.mn-customer-theme [data-visitor-reply] .visitor-reply-form-actions .button{
  min-width:0;
  max-width:100%;
  white-space:normal;
}
.mn-customer-theme [data-visitor-reply] .form-status[data-type="error"]{
  display:block;
  margin-top:12px;
  overflow-wrap:anywhere;
}
@media (max-width:640px){
  .mn-customer-theme [data-visitor-reply] .visitor-reply-form-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .mn-customer-theme [data-visitor-reply] .visitor-reply-form-actions .button{
    width:100%;
  }
}
