/* Cards de clientes: versão proporcional do modelo da pesquisa. */
[hidden]{display:none!important}
#cadastro-matches{padding-bottom:45px;scroll-margin-top:100px}
.cadastro-match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.cadastro-match-card{box-sizing:border-box;display:flex;flex-direction:column;gap:6px;min-width:0;min-height:344px;padding:12px 16px 16px;border:1px solid #e1e4e8;border-top:2px solid #fbb310;border-radius:14px;background:#fff;color:#202124;font-family:Arial,Helvetica,sans-serif}
.match-card-top{display:flex;justify-content:space-between;align-items:baseline;gap:6px;color:#62646b;font-size:10px;line-height:16px}
.match-card-top>span{min-width:0}
.match-card-top>span:last-child{text-align:right;white-space:nowrap}
.match-card-top strong{font-weight:700;color:#202124}
.cadastro-match-card .match-interest{margin:0;color:#871915;font-size:11px;font-weight:700;line-height:1.3;letter-spacing:0;text-transform:uppercase}
.cadastro-match-card .match-types{display:block;margin:0;color:#202124;font-size:17px;font-weight:700;line-height:1.2;overflow-wrap:break-word}
.match-price{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0}
.match-budget-label{color:#62646b;font-size:11px;font-weight:400;line-height:16px}
.match-budget-value{color:#202124;font-size:20px;font-weight:700;line-height:1.25}
.match-neighborhood-row{display:flex;align-items:baseline;gap:7px;min-width:0}
.match-neighborhoods{flex:1;min-width:0;margin:0;color:#202124;font-size:12px;font-weight:700;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cadastro-match-card .match-view-neighborhoods{flex:0 0 auto;width:auto;min-height:18px;margin:0;padding:0;border:0;background:transparent;color:#871915;-webkit-text-fill-color:#871915;font:700 11px/18px Arial,Helvetica,sans-serif;text-decoration:underline;white-space:nowrap;cursor:pointer}
.match-neighborhood-row.is-expanded{align-items:flex-start}
.match-neighborhood-row.is-expanded .match-neighborhoods{white-space:normal;overflow:visible;overflow-wrap:anywhere}
.match-city{margin:0;color:#62646b;font-size:11px;line-height:16px}
.match-facts{display:grid;grid-template-columns:repeat(var(--match-fact-count,4),minmax(0,1fr));gap:6px;margin:3px 0 5px;padding-top:8px;border-top:1px solid #e2e5e9}
.match-facts>div{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:48px;padding:7px 6px;border:1px solid #e2e5e9;border-radius:7px;background:#f6f7f9;text-align:left}
.match-facts strong{margin:0;color:#202124;font-size:11px;font-weight:700;line-height:1.25;overflow-wrap:break-word}
.match-facts small{display:block;color:#62646b;font-size:10px;font-weight:400;line-height:1.3}
.match-details{margin:0 0 7px;text-align:left}
.cadastro-match-card .match-details p{margin:0;color:#62646b;font-size:12px;line-height:1.5}
.cadastro-match-card .match-details p+p{margin-top:1px}
.match-details strong{color:#202124;font-weight:700}
.cadastro-match-card>.mi-button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%;min-height:38px;margin-top:auto;padding:8px 9px;border:0;border-radius:7px;background:#871915;color:#fff;font:700 12px/1.35 Arial,Helvetica,sans-serif;text-align:center;cursor:pointer}
.cadastro-match-card>.mi-button:hover,.cadastro-match-card>.mi-button:focus-visible{background:#741511}
.cadastro-match-card>.mi-button:disabled{opacity:.6;cursor:default}
.ml-page .cadastro-match-card>.ml-form-status[hidden],.ml-page .cadastro-match-card>.ml-form-status:empty{display:none!important}
@media(max-width:1100px) and (min-width:1001px){.match-card-top{flex-wrap:wrap}.match-card-top>span:last-child{margin-left:auto}}
@media(max-width:1000px){.cadastro-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.cadastro-match-grid{grid-template-columns:minmax(0,1fr)}.cadastro-match-card{min-height:0}.match-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.match-card-top{flex-wrap:wrap}.match-card-top>span:last-child{margin-left:auto}}

/* Confirmação temporária sem aumentar a altura nem deslocar o botão. */
.cadastro-match-card{position:relative}
.cadastro-match-card.is-indicated>.mi-button:disabled,
.cadastro-match-card.is-indicated>.mi-button:disabled:hover,
.cadastro-match-card.is-indicated>.mi-button:disabled:focus-visible{background:#e3e5e8;color:#62646b;opacity:1;cursor:default;font-weight:700}
.mi-page .cadastro-match-card.is-indicated>.ml-form-status.is-success{position:absolute;inset:auto 16px 62px;z-index:1;margin:0;box-shadow:0 4px 16px #00000014;pointer-events:none}
