.quick-pricing{margin-top:18px;padding:16px;border:1px solid #dbe2ea;border-radius:6px;background:#fff}
.quick-pricing h6{font-size:15px;font-weight:600;margin:0 0 8px}
.quick-pricing [hidden]{display:none!important}
.qp-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:8px}.qp-heading h6{margin:0}.qp-heading button{white-space:nowrap}
.qp-batch{margin:10px 0}.qp-batch[open]{padding:10px;border:1px solid #dbe2ea;border-radius:4px;background:#f8fafc}.qp-batch .muted-note{margin:8px 0 0}
.qp-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:10px 0}
.qp-toolbar label{display:flex;flex-direction:column;gap:4px;font-size:12px}
.quick-pricing input[type=number],.quick-pricing select{border:1px solid #cbd5e1;border-radius:4px;background:white;color:#1f2937;padding:6px;font-size:13px}
.quick-pricing input:focus,.quick-pricing select:focus{outline:2px solid #2563eb;outline-offset:1px}
.qp-scroll{overflow:auto;max-height:440px;margin:10px 0;border:1px solid #e2e8f0}
.qp-scroll table{margin:0;width:100%;min-width:650px}.qp-costs-expanded .qp-scroll table{min-width:1390px}
.qp-scroll thead th{position:sticky;top:0;background:#f1f5f9;z-index:1;font-size:12px}
.qp-scroll td{min-width:96px;font-size:12px;vertical-align:top}
.qp-scroll td:first-child{min-width:32px}.qp-scroll td:nth-child(2){min-width:165px;overflow-wrap:anywhere}.qp-scroll td:last-child{min-width:170px;max-width:220px}
.quick-pricing:not(.qp-costs-expanded) .qp-scroll th:first-child{width:40px}.quick-pricing:not(.qp-costs-expanded) .qp-scroll th:nth-child(3){width:160px}.quick-pricing:not(.qp-costs-expanded) .qp-scroll th:nth-last-child(2){width:240px}
.qp-scroll td label{display:block;font-size:11px}.qp-scroll td select{max-width:135px}
.qp-scroll .qp-input{width:95px;max-width:100%}.qp-scroll input[type=checkbox]{width:16px;height:16px}
.qp-loss td{background:#fff4f3!important}.qp-loss [data-result=profit],.qp-loss [data-result=state]{color:#b42318;font-weight:600}
@media(min-width:1000px){.qp-costs-expanded .qp-scroll th:last-child,.qp-costs-expanded .qp-scroll td:last-child{position:sticky;right:0;min-width:180px;width:180px;max-width:180px;background:#f8fafc}.qp-costs-expanded .qp-scroll th:nth-last-child(2),.qp-costs-expanded .qp-scroll td:nth-last-child(2){position:sticky;right:180px;min-width:150px;width:150px;background:#f8fafc;box-shadow:-2px 0 3px #cbd5e1}.qp-costs-expanded .qp-scroll thead th:last-child,.qp-costs-expanded .qp-scroll thead th:nth-last-child(2){z-index:2}}
.qp-preview{border:1px solid #93c5fd;padding:12px;border-radius:4px;background:#f5faff;margin:12px 0}
.qp-preview-scroll{max-height:250px;overflow:auto}.qp-preview table{background:transparent;font-size:12px}
.quick-pricing summary{cursor:pointer;font-size:13px;color:#334155}
.qp-risk{padding:10px;background:#fff7ed;border:1px solid #fdba74;color:#9a3412;border-radius:4px;font-size:13px}.qp-risk input{width:16px;height:16px;vertical-align:middle;margin-right:6px}
#addModal .modal-dialog{max-width:min(1600px,96vw)}
@media(max-width:600px){#addModal .modal-dialog{max-width:none;margin:8px}.quick-pricing{padding:10px}.qp-toolbar label{width:100%}}
