/* Nexor 360 HML-053 — módulo Negociação */
#negotiations .neg053-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}
#negotiations .neg053-head h2{margin:0 0 4px}
#negotiations .neg053-actions{display:flex;gap:8px;flex-wrap:wrap}
#negotiations .neg053-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 16px}
#negotiations .neg053-stage{border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:14px;text-align:left;cursor:pointer}
#negotiations .neg053-stage b{font-size:22px;display:block;margin-top:4px}
#negotiations .neg053-stage.active{box-shadow:0 0 0 2px rgba(225,6,19,.18);border-color:rgba(225,6,19,.45)}
#negotiations .neg053-filters{display:grid;grid-template-columns:minmax(220px,2fr) minmax(180px,1fr) minmax(180px,1fr);gap:10px;margin-bottom:14px}
#negotiations .neg053-table td small{display:block;color:var(--muted);margin-top:3px}
#negotiationModalHML053 .box{width:min(1180px,96vw);max-height:92vh;overflow:auto}
#negotiationModalHML053 .neg053-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#negotiationModalHML053 .neg053-form label{display:flex;flex-direction:column;gap:6px}
#negotiationModalHML053 .neg053-form .span2{grid-column:span 2}
#negotiationModalHML053 .neg053-form .full{grid-column:1/-1}
#negotiationModalHML053 .neg053-company{border:1px solid var(--line);border-radius:14px;padding:14px;margin:14px 0}
#negotiationModalHML053 .neg053-section-title{font-weight:800;margin:0 0 10px}
#negotiationModalHML053 .neg053-lookup{display:grid;grid-template-columns:minmax(240px,1fr) auto minmax(320px,2fr);gap:10px;align-items:end}
#negotiationModalHML053 .neg053-stage-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
#negotiationModalHML053 .neg053-stage-btn{border:1px solid var(--line);background:var(--panel);padding:12px;border-radius:12px;font-weight:800;cursor:pointer}
#negotiationModalHML053 .neg053-stage-btn.active{background:rgba(225,6,19,.08);border-color:#e10613;color:#b70410}
#negotiationModalHML053 .neg053-note{font-size:12px;color:var(--muted);margin-top:5px}
#negotiationModalHML053 .neg053-footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px}
#negotiationModalHML053 .neg053-order-btn{display:none}
#negotiationModalHML053[data-stage="Fechado"] .neg053-order-btn{display:inline-flex}
#businessModal #businessProposalTopV242,#businessModal #businessProposalTopV241,#businessModal #businessProposalBtn{display:none!important}
#ordersUnifiedBody button[onclick*="openProposalModal"]{display:none!important}
@media(max-width:900px){#negotiations .neg053-filters,#negotiationModalHML053 .neg053-form{grid-template-columns:1fr 1fr}#negotiationModalHML053 .neg053-lookup{grid-template-columns:1fr auto}#negotiationModalHML053 .neg053-lookup label:last-child{grid-column:1/-1}}
@media(max-width:620px){#negotiations .neg053-stages,#negotiations .neg053-filters,#negotiationModalHML053 .neg053-form,#negotiationModalHML053 .neg053-stage-row{grid-template-columns:1fr}#negotiationModalHML053 .neg053-form .span2{grid-column:auto}#negotiationModalHML053 .neg053-lookup{grid-template-columns:1fr}}
