.so-cost-bar{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 0;min-width:0}.so-cost-bar span{font-size:12px;color:var(--muted,#526578)}
#so-cost-dialog{width:min(1000px,96vw);max-width:96vw;box-sizing:border-box}#so-cost-dialog *{box-sizing:border-box}#so-cost-dialog form{min-width:0}#so-cost-dialog .detail-head{gap:12px;flex-wrap:wrap}#so-cost-dialog fieldset{min-width:0;margin:16px 0}#so-cost-dialog p,#so-cost-dialog small{line-height:1.5}#so-cost-dialog label,#product-cost-taxes label{min-width:0;display:flex;flex-direction:column;gap:6px}#so-cost-dialog input,#so-cost-dialog select,#product-cost-taxes input,#product-cost-taxes select{width:100%;min-width:0}#so-cost-dialog output{display:block;padding:8px 0;overflow-wrap:anywhere}.so-cost-material{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(90px,1fr));align-items:start;gap:12px;padding:12px 0;border-bottom:1px solid #d4dce5}.so-cost-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px}.so-cost-tax{padding:14px 0;border-bottom:1px solid #d4dce5}.so-cost-tax-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:10px}.so-cost-totals{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px}.so-cost-totals dt{overflow-wrap:anywhere}.so-cost-totals dd{margin:0;text-align:right;font-weight:600}.so-cost-pending{font-weight:600}#so-cost-dialog .dialog-actions{flex-wrap:wrap}#so-cost-dialog .dialog-actions small{flex:1 1 220px}#product-cost-taxes legend{font-weight:600}
@media(max-width:600px){#so-cost-dialog{padding:14px}.so-cost-material{grid-template-columns:repeat(2,minmax(0,1fr))}.so-cost-material>label:first-child{grid-column:1/-1}#so-cost-dialog input,#so-cost-dialog select,#product-cost-taxes input,#product-cost-taxes select{font-size:16px;min-height:44px}#so-cost-dialog button{min-height:44px;white-space:normal}.so-cost-totals{gap:10px}.so-cost-bar button{width:100%}}
#so-cost-dialog :is(input,select),#product-cost-taxes :is(input,select){padding:9px;border:1px solid var(--border,#dce2ed);border-radius:7px;background:var(--panel,#fff);color:inherit;font:inherit;min-height:40px}#so-cost-dialog label,#product-cost-taxes label{font-size:12px;color:var(--muted,#59667e)}#so-cost-dialog output{color:var(--text,#183240)}#so-cost-dialog .so-cost-totals{font-size:14px}#so-cost-error{color:#bc2525}
@media(max-width:600px){#so-cost-dialog :is(input,select),#product-cost-taxes :is(input,select){font-size:16px;min-height:44px}}
