.pq-add-product{margin:12px 0;min-height:44px}.pq-parts-guide,.pq-multiply{padding:12px;background:#fff4df;border:1px solid #e0c18b;border-radius:8px;line-height:1.5;overflow-wrap:anywhere}.pq-multiply strong{display:block}#pq-valid-help{font-size:13px;color:#405a66}.pq-dialog{width:min(880px,calc(100% - 24px));max-height:92dvh;padding:24px;border:1px solid #d8e2e7;border-radius:20px;color:#193541;background:#f8fafb}.pq-dialog::backdrop{background:#102733a8}.pq-dialog header{display:flex;justify-content:space-between;gap:12px}.pq-dialog h2{margin:6px 0 14px}.pq-dialog fieldset{border:0;padding:0;min-width:0}.pq-dialog label{display:grid;gap:6px;font-size:13px;color:#405a66;margin:10px 0}.pq-dialog .field{width:100%;min-width:0}.pq-section{background:white;border:1px solid #dce6e9;padding:16px;border-radius:14px;margin:14px 0}.pq-quick{display:grid;grid-template-columns:2fr .7fr 1fr 1fr;gap:12px}.pq-part{display:grid;grid-template-columns:2fr .7fr 1fr 1fr auto;gap:8px;border-bottom:1px solid #e4ecef;padding:8px 0}.pq-totals{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#123440;color:white;border-radius:14px;padding:20px;margin:16px 0}.pq-totals strong{display:block;font-size:26px;margin:8px 0}.pq-totals small{display:block;color:#d4e9ea}.pq-actions,.pq-followup-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.pq-actions .btn,.pq-followup-buttons .btn{min-height:44px}.pq-history article{border-left:3px solid #a7cbbf;padding:10px 16px;margin:14px 0;background:white}.pq-history pre{white-space:pre-wrap;overflow-wrap:anywhere}.pq-list-row{width:100%;display:flex;justify-content:space-between;gap:16px;text-align:left;background:white;border:1px solid #dce6e9;border-radius:12px;padding:16px;margin:10px 0;color:#193541;cursor:pointer}.pq-list-row strong,.pq-list-row small{display:block;margin:5px 0}.pq-list-row>span{min-width:0;overflow-wrap:anywhere}.pq-state{font-size:13px;color:#466571}.pq-warning,#pq-error{color:#8b411a}.pq-import{margin:16px 0}.pq-dialog textarea{min-height:90px}.pq-delete-zone{display:flex;justify-content:flex-end;margin:18px 0 4px;padding-top:10px;border-top:1px dashed #e3c9c2}.pq-dialog .pq-delete{color:#a3341f;font-size:13px;min-height:36px;padding:6px 10px}.pq-dialog .pq-delete:hover,.pq-dialog .pq-delete:focus-visible{background:#fbe9e5;color:#7f2615}.pq-close-dialog{width:min(460px,calc(100% - 24px));max-height:92dvh;overflow:auto;padding:20px;border:1px solid #d8e2e7;border-radius:16px;color:#193541;background:#f8fafb}.pq-close-dialog::backdrop{background:#102733a8}.pq-close-dialog h3{margin:0 0 4px}.pq-close-dialog p{margin:0 0 10px;font-size:13px;color:#466571}.pq-close-reasons{border:0;margin:0;padding:0;display:grid;gap:6px;min-width:0}.pq-close-reasons legend{font-size:13px;font-weight:600;color:#405a66;padding:0;margin-bottom:6px}.pq-close-reasons label{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 12px;border:1px solid #d8e2e7;border-radius:12px;background:#fff;cursor:pointer;font-size:14px}.pq-close-reasons label:has(input:checked){border-color:#1d6b83;background:#e8f3f6}.pq-close-reasons input{margin:0;flex:none}.pq-close-note{display:grid;gap:6px;font-size:13px;color:#405a66;margin:12px 0 0}.pq-close-note .field{width:100%;min-width:0}.pq-close-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:16px}.pq-close-actions .btn{min-height:44px}.pq-close-actions .btn:disabled{opacity:.5;cursor:not-allowed}#pq-overview{margin:18px 0}#pq-overview h2{margin-top:0}.pq-due .pill{margin-top:8px}
@media(max-width:650px){.pq-dialog{padding:16px;width:calc(100% - 12px)}.pq-quick{grid-template-columns:1fr 1fr;gap:4px 12px}.pq-quick label:first-child{grid-column:1/-1}.pq-part{grid-template-columns:1fr 1fr}.pq-part label:first-child{grid-column:1/-1}.pq-totals{padding:14px;gap:8px}.pq-totals strong{font-size:22px}.pq-actions{display:grid;grid-template-columns:1fr 1fr}.pq-actions .btn{padding:10px;font-size:13px}.pq-list-row{flex-wrap:wrap}.pq-section{padding:12px}.pq-dialog h2{font-size:22px}}

.pq-actions{position:sticky;bottom:-16px;background:#f8fafb;padding:12px 0;z-index:3;border-top:1px solid #dce6e9}.pq-history article:last-child{border-left-color:#146f63}.pq-history article small{display:block;margin-top:2px}.pq-history .pq-hist-base,.pq-history .pq-hist-before{color:#5d7480}.pq-history .pq-hist-note{margin:6px 0;font-size:13px;color:#5d4a1c;background:#fbf6e6;border-radius:6px;padding:6px 8px}.pq-dialog{overscroll-behavior:contain}
.pq-say{display:inline-flex;flex-direction:column;gap:4px;min-width:0}.pq-say .btn{width:100%}.pq-say small{font-size:12px;line-height:1.3;color:#466571}.pq-vat-pct{max-width:200px}.pq-delete-zone{gap:10px;flex-wrap:wrap}.pq-dialog .pq-close-quote{font-size:13px;min-height:36px;padding:6px 10px}.pq-dialog .pq-actions{display:block}.pq-row{display:grid;gap:8px}.pq-cols-1{grid-template-columns:minmax(0,1fr)}.pq-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.pq-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.pq-say-note+.pq-row,.pq-row+.pq-row{margin-top:8px}.pq-dialog .pq-row .btn{width:100%;min-width:0;min-height:44px;margin:0;padding:10px 6px;font-size:13px;white-space:nowrap}.pq-say-note{margin:6px 0 0;font-size:12px;line-height:1.3;color:#466571}.pq-dialog .btn.pq-said-ok{background:#e4f4e8;color:#17602f;border:1px solid #9fd3ad}.pq-say-note.pq-say-flash{color:#17602f;font-weight:600}.pq-usd-hint{margin:6px 0 0;font-size:12px;line-height:1.35}
.pq-live:empty,#pq-error:empty{display:none}.pq-live{margin:0 0 8px;padding:8px 12px;border-radius:10px;background:#e4f4e8;color:#17602f;font-size:13px;line-height:1.4}#pq-error{margin:0 0 8px;padding:8px 12px;border-radius:10px;background:#fbe9e5;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.pq-tl-line{margin:8px 0 0;padding:6px 10px;border-radius:8px;background:#eef5f7;color:#193541;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.pq-field-err{color:#a3341f;font-size:12px;line-height:1.3}.pq-dialog .field[aria-invalid=true]{border-color:#a3341f}.pq-copy-stale,.pq-wait{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:6px 10px;border:1px dashed #e0c18b;border-radius:10px;background:#fff4df;color:#8b411a;font-size:12px;line-height:1.3;text-align:center}.pq-list-base{color:#466571;font-size:12px}

@media(max-width:650px){.pq-quick{grid-template-columns:repeat(3,minmax(0,1fr))}.pq-quick label{font-size:12px}.pq-quick label:first-child{grid-column:1/-1}.pq-totals strong{font-size:20px}}

/* 1.20.61 (EKIP-ON-TEKLIF-R9): ERP cari tanima, odeme sekli, tedarikci alis teklifleri */
.pq-lead-erp{grid-column:1/-1}.pq-lead-erp:empty{display:none}.pq-lead-hit{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:6px 0;padding:8px 10px;border:1px solid #8bb7a0;border-radius:8px;background:#eef8f1;overflow-wrap:anywhere}.pq-lead-erp small{display:block;color:#405a66}.pq-pay{display:flex;flex-wrap:wrap;gap:6px 10px;margin:12px 0;padding:8px 10px;border:1px solid #c9d6dc;border-radius:8px}.pq-pay legend{font-weight:600}.pq-pay-days{flex:0 1 140px}.pq-pay-note,.pq-pay .pq-left{flex:1 1 100%}.pq-offers{margin:8px 0;padding:8px 10px;border:1px solid #c9d6dc;border-radius:8px;background:#f7fafb}.pq-offers-head{margin:0 0 4px;font-weight:600}.pq-offer{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:6px 10px;align-items:end;padding:8px 0;border-bottom:1px dashed #c9d6dc}.pq-offer-pick{display:flex;align-items:center;gap:6px;min-height:44px}.pq-offer-note,.pq-offer .pq-hints{grid-column:1/-1}.pq-offer-sum{margin:8px 0 0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.pq-offer-sum:empty{display:none}.pq-dialog .field.pq-buy-derived{background:#eef3f5;color:#25414d}.pq-hist-pay{display:block}
