/* FLOEMA ERP Etapa 3 — interface de orçamento integrada às classes existentes */
.est-header{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;border:1px solid #dde6ef;border-radius:9px;padding:17px 20px;margin-bottom:16px}
.est-header form{min-width:250px}.est-header strong{color:#18374f}.est-header .pill{margin:0 5px}
.est-header select{max-width:360px}
.est-stage{background:#fff;border:1px solid #dae4ec;border-radius:8px;margin:13px 0;overflow:hidden}
.est-stage>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;padding:15px 13px;background:#eaf2fa;color:#1f527a;list-style:none}
.est-stage>summary::-webkit-details-marker{display:none}
.est-stage>summary:before{content:'▾';margin-right:3px;color:#1f8c6d}
.est-stage:not([open])>summary:before{content:'▸'}
.est-stage>summary span:last-child{text-align:right}
.est-price{display:inline-block;color:#1968a4;min-width:112px;margin-left:22px}
.est-stage .table-wrap{padding:3px 8px 10px}
.est-stage-actions{display:flex;gap:16px;align-items:center;justify-content:flex-end;padding:10px 15px;border-top:1px solid #e2eaf0}
.est-stage-actions details{min-width:260px;max-width:550px}
.est-stage-actions details>.form-grid{margin:12px}
.est-stage-actions form{margin:6px 0}
.est-stage-actions details>summary{font-weight:650;color:#16699d;cursor:pointer}
.est-full{grid-column:1/-1}
.est-wide{grid-column:1/-1}
.est-wide input{width:100%}
.est-inline{display:flex;flex-wrap:wrap;gap:9px}
.est-dl{display:grid;grid-template-columns:220px 1fr;gap:12px 15px;margin:15px 0 25px}
.est-dl dt{color:#5c7384}.est-dl dd{margin:0;font-weight:650;color:#203c53}
.est-check{width:auto;display:inline-block;min-height:auto;vertical-align:middle;margin:0 7px 0 0;accent-color:#148455}
.est-import{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:17px 0}.est-import label{min-width:260px}
@media(max-width:800px){.est-header{flex-direction:column;align-items:stretch}.est-header form{min-width:0}.est-price{margin-left:5px}.est-stage>summary{align-items:flex-start}.est-dl{grid-template-columns:1fr 1fr}.est-stage-actions{flex-direction:column;align-items:stretch}}
@media print{.sidebar,.topbar,.finance-tabs,.est-stage-actions,.side-form,.est-import,footer,.btn{display:none!important}.content{padding:0!important}.panel,.est-stage{break-inside:avoid}.shell,.main-column{display:block!important}.est-stage{page-break-inside:avoid}}
