
/* CX Automações — customer + budget guided service order */
.cx-os-heading{padding:15px 16px;background:linear-gradient(135deg,#122b42,#111e32);border-left:3px solid #3b9cea;border-radius:8px}
.cx-step-label{font-size:10px;letter-spacing:.1em;color:#8ac9ff;font-weight:800}
.cx-customer-lookup{padding:18px;border-radius:9px;background:#112538;border:1px solid #32536e;display:grid;gap:12px;grid-template-columns:1fr auto;align-items:end}
.cx-customer-lookup>div:first-child,.cx-customer-lookup>.field,.cx-customer-results{grid-column:1/-1}
.cx-customer-lookup h4{color:#e6f5ff;margin:0 0 4px;font-size:15px}
.cx-customer-lookup p{font-size:11px;margin:0;color:#b5c9db}
.cx-customer-lookup input{width:100%;max-width:670px;padding:11px;border-radius:7px;border:1px solid #4b6882;background:#091929;color:#f4f9ff}
.cx-customer-results{display:grid;gap:7px}
.cx-customer-result{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 13px;text-align:left;border:1px solid #345b7a;background:#17324b;border-radius:7px;color:#f4f9ff;cursor:pointer}
.cx-customer-result:hover{background:#254969}
.cx-customer-result small,.cx-customer-no-results{font-size:11px;color:#aac2d7}
.cx-quote-editor{min-width:0;background:#102235;border:1px solid #345571;border-radius:10px;padding:16px}
.cx-quote-editor h4{font-size:15px;margin:0 0 12px;color:#e4f2ff}
.cx-quote-list{display:grid;gap:8px}
.cx-quote-table-head,.cx-quote-line{display:grid;grid-template-columns:minmax(65px,0.75fr) minmax(190px,2.4fr) minmax(62px,.62fr) minmax(62px,.64fr) minmax(100px,1fr) minmax(90px,.9fr) 31px;gap:7px;align-items:center}
.cx-quote-table-head{font-size:10px;font-weight:800;color:#aac6de;padding:0 3px}
.cx-quote-lines{display:grid;gap:8px}
.cx-quote-line{padding:9px;border:1px solid #31506e;background:#0d1d2d;border-radius:8px}
.cx-quote-line input,.cx-quote-line select{width:100%;min-width:0;height:39px;background:#0d1c2e;color:#f1f9ff;border:1px solid #466681;border-radius:6px;padding:0 9px;font-size:12px}
.cx-quote-line input:focus,.cx-quote-line select:focus{outline:2px solid #65b0fc}
.cx-quote-line-total{font-weight:800;color:#d6edff;white-space:nowrap;font-size:12px;text-align:right}
.cx-quote-remove{width:29px;height:31px;border:1px solid #714858;border-radius:6px;background:#291c28;color:#f0c6cc;font-size:23px;cursor:pointer}
.cx-quote-add{justify-self:start;font-size:12px}
.cx-quote-summary{border:1px solid #3a5876;border-radius:10px;background:#10253b;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px}
.cx-quote-summary>div,.cx-quote-summary>label{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:12px;color:#bfd1e4}
.cx-quote-summary input{width:130px;max-width:55%;background:#081928;border:1px solid #45647c;color:#fff;border-radius:7px;padding:10px}
.cx-quote-summary b{color:#f0f7ff}
.cx-quote-summary .cx-quote-grand{grid-column:1/-1;background:#1b4261;padding:15px;border-radius:8px;font-size:14px;font-weight:800;color:#fff}
.cx-quote-grand strong{font-size:20px;color:#fff}
.cx-quote-summary [data-cx-error]{grid-column:1/-1;color:#ffd0d0;font-size:11px;margin:0}
.cx-os-detail-totals{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center;padding:15px;border:1px solid #44627b;border-radius:8px;margin:12px 0}
.cx-os-detail-totals small{width:100%;color:#bacdde}
@media(max-width:1080px){
 .cx-quote-table-head{display:none}
 .cx-quote-line{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cx-quote-line [data-cx-field="description"]{grid-column:1/-1;grid-row:1}
 .cx-quote-line [data-cx-field="code"]{grid-column:1/-1;grid-row:2}
 .cx-quote-line [data-cx-field="unit"]{grid-column:1}
 .cx-quote-line-total{text-align:left;white-space:normal}
 .cx-quote-remove{justify-self:end}
}
@media(max-width:700px){
 .cx-quote-editor{padding:12px}
 .cx-quote-line{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cx-quote-line [data-cx-field="unit"]{grid-column:1}
 .cx-quote-line-total{grid-column:1}
 .cx-quote-summary{grid-template-columns:1fr}
 .cx-quote-summary .cx-quote-grand{grid-column:1}
}
