/* ObraGestão 8.6.3.64 — formalização de orçamento */
.budget-formalization-modal .modalbox{max-width:min(980px,calc(100vw - 32px))!important}
.bf8640-choice{padding:24px}
.bf8640-choice-intro{border:1px solid #d8e3f0;border-radius:14px;padding:18px;background:#f8fbff;margin-bottom:16px}
.bf8640-choice-intro small,.bf8640-summary small{display:block;color:#71839c;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px}
.bf8640-choice-intro h3{margin:0 0 5px;color:#0a2f6b;font-size:19px}
.bf8640-choice-intro p{margin:0 0 10px;color:#62738b}
.bf8640-choice-intro strong{font-size:22px;color:#0a2f6b}
.bf8640-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bf8640-choice-card{appearance:none;border:1px solid #d4e0ee;background:#fff;border-radius:15px;padding:20px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:7px;transition:.16s ease;box-shadow:0 3px 12px rgba(7,31,74,.05)}
.bf8640-choice-card:hover{border-color:#0a2f6b;box-shadow:0 8px 24px rgba(7,31,74,.11);transform:translateY(-1px)}
.bf8640-choice-card.purchase{border-top:4px solid #0a2f6b}.bf8640-choice-card.contract{border-top:4px solid #ff8a00}
.bf8640-choice-icon{font-size:25px}.bf8640-choice-card b{font-size:16px;color:#0a2f6b}.bf8640-choice-card small{font-size:12px;line-height:1.45;color:#687a92}
.bf8640-choice-actions{display:flex;justify-content:flex-end;margin-top:16px}
.bf8640-summary{display:grid;grid-template-columns:1fr 1fr 1fr 1.15fr;gap:10px;margin:0 0 16px;padding:15px;border:1px solid #d7e3ef;border-radius:14px;background:#f8fbff}
.bf8640-summary>div{padding-right:10px;border-right:1px solid #e2e9f1}.bf8640-summary>div:last-child{border-right:0}.bf8640-summary b{display:block;color:#183d70;font-size:13px}.bf8640-total strong{display:block;color:#087a4a;font-size:20px}
.bf8640-section{border:1px solid #d6e2ef;border-radius:14px;padding:15px;margin-bottom:12px;background:#fff}
.bf8640-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.bf8640-section-head b{display:block;color:#0a2f6b}.bf8640-section-head small{display:block;color:#72839a;margin-top:2px;font-size:11px}
.bf8640-check{font-size:12px;font-weight:800;color:#294e78;white-space:nowrap}.bf8640-check input{margin-right:6px}
.bf8640-payment-summary{display:flex;gap:12px;justify-content:flex-end;margin-top:12px;flex-wrap:wrap}.bf8640-payment-summary span{background:#f4f7fb;border:1px solid #dce6f0;border-radius:10px;padding:8px 12px;font-size:12px;color:#65778e}.bf8640-payment-summary b{color:#0a2f6b;margin-left:4px}
.bf8640-items th,.bf8640-items td{font-size:12px}.bf8640-totals{display:flex;justify-content:flex-end;gap:20px;margin-top:12px;font-size:12px;color:#62748b}.bf8640-totals b{color:#0a2f6b}
.bf8640-actions{display:flex;justify-content:flex-end;gap:10px;padding:4px 0 10px}.bf8640-contract-banner{margin-bottom:14px;padding:12px 14px;border:1px solid #ffd7a8;border-radius:12px;background:#fff8ed;display:flex;flex-direction:column;gap:3px}.bf8640-contract-banner b{color:#a85b00}.bf8640-contract-banner span{color:#6f7680;font-size:12px}
@media(max-width:760px){.bf8640-choice-grid,.bf8640-summary{grid-template-columns:1fr}.bf8640-summary>div{border-right:0;border-bottom:1px solid #e2e9f1;padding-bottom:8px}.bf8640-summary>div:last-child{border-bottom:0}.bf8640-section-head{align-items:flex-start;flex-direction:column}.bf8640-actions{position:sticky;bottom:0;background:#fff;padding:12px 0 4px}}
