.customer-quotes-admin{margin-top:24px;overflow:hidden;border:1px solid #dfe8e2;border-radius:16px;background:#fff;color:#242625}.cqa-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px}.cqa-heading>div>span{font-size:11px;letter-spacing:.1em;color:#7b9283}.cqa-heading h2{font-size:22px;letter-spacing:-.03em;color:#244a30;margin:7px 0 8px}.cqa-heading p{font-size:13px;color:#728077;margin:0;line-height:1.7}.cqa-tabs{display:flex;gap:8px;padding:0 24px 18px;border-bottom:1px solid #e4ece6;flex-wrap:wrap}.cqa-tabs button{min-height:44px;padding:10px 14px;border:0;border-radius:9px;background:#f3f6f4;color:#65796d;font:inherit;font-size:13px;cursor:pointer;touch-action:manipulation}.cqa-tabs button.active{background:#244a30;color:white}.cqa-tabs span{font-size:11px;margin-left:6px;opacity:.8}.cqa-table-wrap{overflow-x:auto;overscroll-behavior:contain}.cqa-table{border-collapse:collapse;width:100%;min-width:740px;text-align:left}.cqa-table th{padding:12px 16px;font-weight:500;color:#6e7e73;background:#f7f9f7;font-size:12px;border-bottom:1px solid #e0e9e2}.cqa-table td{font-size:13px;padding:16px;border-bottom:1px solid #e8eee9;vertical-align:top}.cqa-table strong{font-size:14px;font-weight:600;display:block}.cqa-table small{display:block;font-size:12px;color:#7c8880;line-height:1.7;margin-top:5px}.cqa-table td>span:not(.cqa-status){display:block;max-width:300px;white-space:pre-wrap;overflow-wrap:anywhere}.cqa-numeric{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:650;color:#244a30}.cqa-status{display:inline-flex;border-radius:7px;padding:5px 9px;font-size:12px;white-space:nowrap;font-weight:550}.cqa-pending{background:#fbefdf;color:#8a5c2f}.cqa-approved{background:#e5f0e8;color:#2a5b3c}.cqa-muted{background:#eff1ef;color:#6b746e}.cqa-empty{padding:32px 24px;text-align:center;color:#6a7d70}.cqa-empty strong{font-size:17px;color:#375541}.cqa-empty p{font-size:13px;line-height:1.8;margin:9px 0}.cqa-note{font-size:13px;line-height:1.8;border:1px solid #e2eae4;border-radius:10px;background:#f5f8f5;color:#647b6c;padding:14px 16px}.cqa-note p{white-space:pre-wrap;overflow-wrap:anywhere}.cqa-error{font-size:13px;color:#9c4947;background:#fff1ef;border-radius:9px;margin:0 24px 16px;padding:13px 16px}.cqa-detail-top{display:flex;align-items:center;gap:12px;color:#7a877e;font-size:12px;margin-bottom:18px}.cqa-total{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:20px 0;font-size:13px;color:#6d7f73}.cqa-total strong{font-size:25px;color:#244a30;font-variant-numeric:tabular-nums}.customer-quotes-admin .button{touch-action:manipulation}.customer-quotes-admin .button:focus-visible,.cqa-tabs button:focus-visible{outline:3px solid #6ca285;outline-offset:3px}@media(max-width:650px){.cqa-heading{display:block;padding:18px}.cqa-heading .row-actions{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}.cqa-heading .button{min-height:44px}.cqa-heading h2{font-size:20px}.cqa-tabs{padding:0 18px 16px;gap:8px}.cqa-tabs button{flex:1}.cqa-error{margin:0 18px 16px}#customer-quote-submission-form input,#customer-quote-submission-form select,#customer-quote-submission-form textarea,#customer-quote-review-form select,#customer-quote-review-form textarea{font-size:16px;min-height:44px}}@media(prefers-reduced-motion:no-preference){.cqa-tabs button{transition:background-color .16s ease-out,color .16s ease-out}}

.cqa-tabs .cqa-count-badge{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:99px;background:#d93e35;color:#fff;opacity:1;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1;margin-left:6px;vertical-align:1px}.cqa-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:2px}

.cqa-request-list{padding:20px 24px 24px;display:grid;gap:20px}.cqa-request-card{min-width:0;border:1px solid #e0e9e3;border-radius:13px;overflow:hidden;background:#fff}.cqa-request-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #e8eee9;background:#fafcfb}.cqa-request-index{font-size:11px;color:#7b9283}.cqa-request-card h3{font-size:18px;color:#244a30;margin:6px 0 8px;overflow-wrap:anywhere}.cqa-request-card>header p{display:flex;flex-wrap:wrap;gap:7px 16px;margin:0;font-size:12px;line-height:1.7;color:#77857c}.cqa-request-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px}.cqa-request-product{min-width:0;border:1px solid #e3ebe5;border-radius:10px;overflow:hidden;background:#fff}.cqa-request-photo{display:grid;place-items:center;aspect-ratio:4/3;background:#f5f8f5;overflow:hidden;color:#8b9a91;font-size:12px}.cqa-request-photo img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}.cqa-request-product-copy{padding:13px}.cqa-request-product h4{font-size:14px;line-height:1.6;color:#2c4936;margin:0 0 6px;overflow-wrap:anywhere}.cqa-request-product p{font-size:12px;color:#6f8075;margin:0 0 5px;line-height:1.6;overflow-wrap:anywhere}.cqa-request-product-copy>small{font-size:10px;color:#98a39c;line-height:1.5;display:block;overflow-wrap:anywhere}.cqa-request-quantity{display:flex;align-items:baseline;justify-content:space-between;gap:8px;border-top:1px solid #edf1ee;margin-top:12px;padding-top:10px}.cqa-request-quantity>span{font-size:11px;color:#76887c}.cqa-request-quantity strong{font-size:19px;color:#244a30;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cqa-request-quantity strong small{font-size:11px;margin-left:4px;font-weight:400}.cqa-request-card>footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border-top:1px solid #e8eee9;background:#fafcfb}.cqa-request-notes{min-width:0;flex:1}.cqa-request-notes>span{font-size:11px;color:#8b9b90}.cqa-request-notes p{font-size:13px;color:#657b6b;line-height:1.7;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.cqa-request-card>footer>.button{flex-shrink:0}.cqa-request-readonly,.cqa-request-no-products{font-size:12px;color:#819388}.cqa-request-no-products{grid-column:1/-1;margin:0;padding:12px 0}@media(max-width:1000px){.cqa-request-products{gap:10px;padding:16px}.cqa-request-product-copy{padding:10px}.cqa-request-quantity{align-items:flex-start;flex-direction:column;gap:4px}}@media(max-width:650px){.cqa-request-list{padding:14px;gap:14px}.cqa-request-card>header{padding:16px;gap:10px}.cqa-request-card h3{font-size:16px}.cqa-request-products{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}.cqa-request-card>footer{padding:14px;align-items:stretch;flex-direction:column;gap:12px}.cqa-request-card>footer>.button{width:100%;min-height:44px}.cqa-request-quantity{flex-direction:row;gap:6px}.cqa-request-quantity strong{font-size:18px}.cqa-request-quantity>span{font-size:10px}.cqa-request-product h4{font-size:13px}}@media(max-width:360px){.cqa-request-products{gap:8px;padding:10px}.cqa-request-product-copy{padding:9px}.cqa-request-quantity{flex-direction:column;gap:3px}}

.cqa-request-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex-shrink:0}.cqa-table td:last-child .button{margin:0 7px 7px 0}.cqa-deleted-list{padding:20px 24px;display:grid;gap:12px}.cqa-deleted-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e2e9e4;border-radius:11px;padding:16px;background:#fafcfb}.cqa-deleted-list article>div{min-width:0}.cqa-deleted-list strong{display:block;color:#3d5947;font-size:14px;overflow-wrap:anywhere}.cqa-deleted-list small{display:block;color:#809086;font-size:12px;margin-top:7px}.cqa-deleted-list p{font-size:12px;line-height:1.7;color:#718477;overflow-wrap:anywhere;margin:6px 0 0}.cqa-manage-products{display:grid;gap:12px}.cqa-manage-products label{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e2eae4;border-radius:10px;padding:13px}.cqa-manage-products label>span{min-width:0;flex:1}.cqa-manage-products strong,.cqa-manage-products small{display:block;overflow-wrap:anywhere}.cqa-manage-products small{font-size:12px;font-weight:400;color:#7b8b80;margin-top:5px}.cqa-manage-products input{width:135px;min-height:44px;flex:0 0 135px}@media(max-width:650px){.cqa-request-actions{width:100%;flex-direction:column;align-items:stretch}.cqa-request-actions>.button{min-height:44px;width:100%}.cqa-deleted-list{padding:14px}.cqa-deleted-list article{align-items:stretch;flex-direction:column}.cqa-deleted-list .button{min-height:44px}.cqa-manage-products label{align-items:stretch;flex-direction:column;gap:10px}.cqa-manage-products input{width:100%;flex:auto;font-size:16px}#customer-inquiry-manage-form input,#customer-inquiry-manage-form textarea,#customer-quote-manage-confirm-form textarea{font-size:16px;min-height:44px}}
@media(max-width:650px){.customer-quotes-admin>.cqa-table-wrap>.cqa-table{display:block;min-width:0}.customer-quotes-admin>.cqa-table-wrap>.cqa-table>thead{display:none}.customer-quotes-admin>.cqa-table-wrap>.cqa-table>tbody{display:grid;gap:12px;padding:14px}.customer-quotes-admin>.cqa-table-wrap>.cqa-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e0e8e2;border-radius:12px;overflow:hidden}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td{display:block;min-width:0;padding:12px;border-bottom:0;overflow-wrap:anywhere}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:nth-child(1){display:none}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:nth-child(2),.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:last-child{grid-column:1/-1}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:nth-child(2){background:#f7faf8;border-bottom:1px solid #e7ede9}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:nth-child(3):before,.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:nth-child(4):before,.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:nth-child(5):before{display:block;margin-bottom:6px;color:#819086;font-size:11px;font-weight:400}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:nth-child(3):before{content:'报价金额'}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:nth-child(4):before{content:'提交人 / 时间'}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:nth-child(5):before{content:'审核发布'}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:last-child{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #e7ede9}.customer-quotes-admin>.cqa-table-wrap>.cqa-table td:last-child .button{flex:1;min-height:44px;margin:0}}

/* Compact inquiry cards share the space of a small business item. */
.cqa-request-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px}
.cqa-request-product{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;min-height:104px;padding:8px;gap:9px;border-radius:9px}
.cqa-request-photo{width:68px;height:68px;aspect-ratio:1;background:#f5f8f5;border-radius:6px;font-size:10px;text-align:center}
.cqa-request-product-copy{padding:0;min-width:0}.cqa-request-product h4{font-size:12px;line-height:1.45;margin:0 0 3px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cqa-request-product p{font-size:11px;margin:0 0 4px}.cqa-request-product-copy>small{display:none}.cqa-request-quantity{margin-top:3px;padding-top:5px;gap:4px;align-items:baseline;flex-direction:row}.cqa-request-quantity>span{font-size:10px}.cqa-request-quantity strong{font-size:14px}.cqa-request-quantity strong small{font-size:10px}
@media(max-width:1000px){.cqa-request-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.cqa-request-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.cqa-request-product{grid-template-columns:44px minmax(0,1fr);padding:7px;gap:6px;min-height:102px}.cqa-request-photo{width:44px;height:54px;font-size:9px}.cqa-request-product h4{font-size:11px}.cqa-request-product p{font-size:10px}.cqa-request-quantity{gap:2px}.cqa-request-quantity>span{font-size:9px}.cqa-request-quantity strong{font-size:13px}}

.cqa-request-card:is(.cqa-request-card--todo,.cqa-request-card--review) {
  border-color: #bed2c2;
  border-inline-start: 3px solid #48765a;
}
.cqa-request-card:is(.cqa-request-card--todo,.cqa-request-card--review) > :is(header,footer) {
  background: #f3f8f4;
}
.customer-quotes-admin :is(.cqa-request-card--published,.cqa-publication--published) {
  --quote-history-bg: #eef0f2;
  --quote-history-panel: #f4f5f6;
  --quote-history-border: #d9dfe3;
  --quote-history-ink: #343f47;
  --quote-history-muted: #54616a;
  --quote-history-badge: #dfe4e8;
  color: var(--quote-history-ink);
  background: var(--quote-history-bg);
  border-color: var(--quote-history-border);
}
.cqa-request-card--published > :is(header,footer),
.cqa-request-card--published .cqa-request-product {
  background: var(--quote-history-panel);
  border-color: var(--quote-history-border);
}
.cqa-request-card--published .cqa-request-photo { background: var(--quote-history-panel); }
.cqa-request-card--published .cqa-request-photo img { filter: grayscale(.9); }
.cqa-request-card--published :is(h3,h4,.cqa-request-quantity strong),
.cqa-table .cqa-publication--published .cqa-numeric {
  color: var(--quote-history-ink);
}
.cqa-request-card--published :is(.cqa-request-index,header p,.cqa-request-product p,.cqa-request-notes span,.cqa-request-notes p,.cqa-request-quantity > span),
.cqa-table .cqa-publication--published small {
  color: var(--quote-history-muted);
}
.cqa-request-card--published .cqa-request-quantity,
.cqa-table .cqa-publication--published > td {
  border-color: var(--quote-history-border);
}
.customer-quotes-admin :is(.cqa-request-card--published,.cqa-publication--published) .cqa-approved {
  background: var(--quote-history-badge);
  color: var(--quote-history-ink);
}
.customer-quotes-admin :is(.cqa-request-card--published,.cqa-publication--published) .button.secondary:not(:hover) {
  background: var(--quote-history-panel);
  border-color: var(--quote-history-border);
  color: var(--quote-history-ink);
}
@media (max-width:650px) {
  .customer-quotes-admin > .cqa-table-wrap > .cqa-table .cqa-publication--published > td:nth-child(2) {
    background: var(--quote-history-panel);
  }
}
[data-theme=dark] .customer-quotes-admin :is(.cqa-request-card--published,.cqa-publication--published) {
  --quote-history-bg: #262b2d;
  --quote-history-panel: #2d3335;
  --quote-history-border: #4b5255;
  --quote-history-ink: #e0e4e7;
  --quote-history-muted: #b7bfc4;
  --quote-history-badge: #424b50;
}
