.bc-rfq-spec-field{display:flex;flex-direction:column;gap:4px;margin-top:8px;font-size:.8125rem;font-weight:600;color:#475569}
.bc-rfq-spec-field textarea,#rfqPaymentTerms,#rfqDeliveryTerms{box-sizing:border-box;width:100%;min-height:52px;resize:vertical;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;font:400 .8125rem/1.4 Inter,'Segoe UI',sans-serif;color:#183247;background:#fff}
.bc-rfq-review-badge{display:inline-block;padding:6px 9px;border-radius:8px;background:#fff1db;border:1px solid #edc994;color:#80520b;font-size:.8125rem;font-weight:700}
.bc-rfq-table-scroll{max-width:100%;overflow-x:auto;border:1px solid #dbe4ed;border-radius:12px;background:#fff;-webkit-overflow-scrolling:touch}
.bc-rfq-comparison-table{width:100%;border-collapse:separate;border-spacing:0;font:400 .8125rem/1.4 Inter,'Segoe UI',sans-serif;color:#223b50}
.bc-rfq-comparison-table th,.bc-rfq-comparison-table td{min-width:200px;max-width:340px;padding:10px 14px;vertical-align:top;text-align:left;border-bottom:1px solid #e4eaf0;overflow-wrap:anywhere;font-size:.8125rem;line-height:1.4}
.bc-rfq-comparison-table th:first-child{min-width:150px;width:150px;position:sticky;left:0;background:#f5f8fc;z-index:1;font-weight:600}
.bc-rfq-comparison-table thead th{background:#f5f8fc;padding-top:14px;padding-bottom:14px}
.bc-rfq-comparison-table thead strong{display:block;font-size:.9375rem;color:#102f49}
.bc-rfq-comparison-table small{display:block;margin:4px 0;font-size:.75rem;color:#61768a}
/* Keep supplier names legible against the shared navy table-header theme. */
@media screen{
 body.app-ready #rfqComparisonModal .bc-rfq-comparison-table thead th{background:#203b58!important;color:#fff!important}
 body.app-ready #rfqComparisonModal .bc-rfq-comparison-table thead th>strong{color:#fff!important;font-weight:750;white-space:normal;word-break:normal;overflow-wrap:break-word}
 body.app-ready #rfqComparisonModal .bc-rfq-comparison-table thead th>small{color:#d4e4f2!important}
}
.bc-rfq-comparison-table .bc-rfq-lowest{display:block;width:fit-content;margin-top:6px;white-space:normal;font-size:.75rem}
.bc-rfq-table-total th,.bc-rfq-table-total td{background:#eaf2fb!important;color:#0b467b;font-size:.9375rem;font-weight:750}
.bc-rfq-table-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.bc-rfq-table-actions button{min-height:36px;padding:7px 10px!important;font-size:.8125rem!important;white-space:normal;text-align:left;line-height:1.35}
.bc-rfq-issues{margin:0;padding-left:16px;font-size:.8125rem;color:#8b4b0c}
.bc-rfq-issues li+li{margin-top:4px}
.bc-rfq-check-ok{color:#12664c;font-weight:600}
.bc-rfq-review-warning{padding:10px 12px;margin:0 0 12px;border:1px solid #ecc48a;border-radius:10px;background:#fff7e9;color:#6e480e;font-size:.8125rem;line-height:1.4}
.bc-rfq-review-warning p{margin:6px 0 0}
.bc-rfq-source-spec{padding:8px 0;color:#334d62;font-size:.8125rem;line-height:1.45;white-space:pre-wrap}
.bc-rfq-source-spec b{display:block;color:#16354d}
.bc-rfq-save-message{margin:10px 0;padding:10px 12px;border:1px solid #df9b98;border-radius:8px;background:#fff1f0;color:#9a2923;font-size:.8125rem;line-height:1.4}
.bc-rfq-save-message[hidden],#rfqAwardReload[hidden]{display:none!important}
.bc-rfq-additional{display:flex;align-items:flex-start;gap:8px;margin:10px 0;font-size:.8125rem;line-height:1.4}
.bc-rfq-additional input{width:18px!important;height:18px;margin-top:2px;flex:0 0 auto}
#rfqModal textarea:disabled{background:#f4f7fa;color:#3e556b;opacity:1}
#rfqAwardModal .bc-rfq-award-panel h3{margin-top:0}
#rfqAwardModal .bc-rfq-rank-row small{display:block;margin-top:3px;color:#657b8e;font-size:.75rem}
#rfqAwardModal .bc-rfq-award-reason{display:block;margin-top:12px;font-size:.8125rem;font-weight:600}
#rfqAwardModal .bc-rfq-award-reason textarea{box-sizing:border-box;width:100%;display:block;margin-top:6px;padding:10px;font:400 .8125rem/1.4 Inter,'Segoe UI',sans-serif;border:1px solid #cbd5e1;border-radius:8px;resize:vertical}
#rfqAwardModal button:disabled,#rfqModal button:disabled{opacity:.6;cursor:wait}
body.app-ready #rfqs.page .erp-page-head h2,
#rfqModal .erp-modal-head h2,
#rfqComparisonModal .bc-rfq-compare-head h2,
#rfqAwardModal .bc-rfq-award-head h2{font-size:1.25rem!important;line-height:1.25!important}
#rfqs .bc-rfq-group-name strong{font-size:.9375rem;line-height:1.3}
#rfqs .bc-rfq-group-head{padding:14px 16px 12px;gap:12px}
#rfqs .bc-rfq-group-meta div{padding:9px 12px}
#rfqs .bc-rfq-mini-grid{gap:8px;padding:10px 16px}
#rfqs .bc-rfq-group-foot{gap:10px;padding:10px 16px}
#rfqs .bc-rfq-compare-btn{padding:7px 11px!important;font-size:.8125rem!important;min-height:36px}
#rfqs .erp-stat{padding:10px 12px}
#rfqs .erp-stat b{font-size:1.25rem}
#rfqComparisonModal .bc-rfq-compare-head,#rfqAwardModal .bc-rfq-award-head{padding:16px 20px}
#rfqComparisonModal .bc-rfq-compare-body,#rfqAwardModal .bc-rfq-award-body{padding:14px 18px 10px}
#rfqAwardModal .bc-rfq-award-panel h3{font-size:.9375rem;line-height:1.3}
#rfqAwardModal .bc-rfq-award-panel>p{font-size:.8125rem;line-height:1.4}
#rfqModal .erp-totals strong{font-size:.9375rem!important;line-height:1.3}
@media(max-width:800px){
 .bc-rfq-comparison-table th,.bc-rfq-comparison-table td{min-width:180px;padding:9px 12px}
 .bc-rfq-comparison-table th:first-child{min-width:130px;width:130px}
 .bc-rfq-table-actions button{min-height:46px;width:100%}
 .bc-rfq-group-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bc-rfq-award-grid{grid-template-columns:minmax(0,1fr)!important}
 #rfqModal .bc-rfq-spec-field textarea,#rfqPaymentTerms,#rfqDeliveryTerms,#rfqAwardModal .bc-rfq-award-reason textarea{font-size:1rem}
}
