/* Scoped commerce workspace styling. */
section.card:has(>article.commerce-quote){display:grid;grid-template-columns:minmax(0,1fr);gap:14px!important;padding:18px!important;background:transparent!important;border:0!important;box-shadow:none!important}
section.card:has(>article.commerce-quote)>h3{grid-column:1/-1;margin:0 0 2px!important;font-size:18px!important;line-height:1.4}
article.commerce-quote{display:flex!important;flex-direction:column!important;gap:14px!important;min-width:0;margin:0!important;padding:18px!important;border:1px solid #dce5f0!important;border-radius:18px!important;background:var(--surface,#fff);box-shadow:0 5px 20px #19375b06;overflow-wrap:anywhere}
.dhun-commerce-heading{display:flex;flex-direction:column;gap:10px;min-width:0}
article.commerce-quote .dhun-commerce-title b{display:block;font-size:16px!important;line-height:1.45!important;font-weight:700!important;color:inherit}
article.commerce-quote small{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px!important;line-height:1.5}
.dhun-commerce-status{display:inline-flex;align-items:center;padding:4px 9px;border-radius:7px;background:#edf3fc;color:#46658e;font-size:11px!important;font-weight:700}
.dhun-commerce-status[data-state="paid"],.dhun-commerce-status[data-state="discount_approved"]{background:#def6eb;color:#08794f}
.dhun-commerce-status[data-state="unpaid"],.dhun-commerce-status[data-state="discount_requested"]{background:#fff1d6;color:#946211}
.dhun-commerce-status[data-state="discount_rejected"]{background:#ffe8e8;color:#a52b36}
.dhun-commerce-ref{font-size:10px!important;color:#7d8c9f;word-break:break-word}
.dhun-commerce-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #edf1f7;border-bottom:1px solid #edf1f7}
.dhun-commerce-summary>span{font-size:12px;padding:5px 9px;background:#eef4ff;color:#3964a3;border-radius:7px}
.dhun-commerce-summary>div{text-align:right;font-size:10px;color:#7d8c9f}
article.commerce-quote .dhun-commerce-summary strong{display:block;margin-top:3px;font-size:20px!important;color:var(--text,#17324d);letter-spacing:-.5px}
.dhun-commerce-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;min-width:0}
article.commerce-quote .dhun-commerce-actions button{display:flex!important;align-items:center;justify-content:center;gap:6px;width:100%;max-width:100%;min-width:0!important;min-height:42px!important;margin:0!important;padding:9px 8px!important;border-radius:10px!important;font-size:12px!important;font-weight:600!important;line-height:1.35!important;white-space:normal!important;box-shadow:none!important}
.dhun-commerce-actions button svg{width:16px;height:16px;flex-shrink:0}
article.commerce-quote .dhun-commerce-actions .commerceIssue{grid-column:1/-1}
article.commerce-quote .dhun-commerce-actions .commercePay{background:#edf5ff!important;color:#1465c8!important;border:1px solid #cddff6!important}
article.commerce-quote[data-invoice-status="paid"] .dhun-commerce-actions .commercePay{background:#eaf9f1!important;color:#08794f!important;border-color:#cceada!important}
article.commerce-quote .dhun-commerce-actions button[hidden]{display:none!important}
.dhun-commerce-next{margin:0!important;font-size:11px!important;line-height:1.6!important;color:#6b7b8c;padding:10px 12px;background:#f5f8fc;border-radius:9px}
@media(min-width:1000px){section.card:has(>article.commerce-quote){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1500px){section.card:has(>article.commerce-quote){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){article.commerce-quote{padding:14px!important}.dhun-commerce-actions{gap:6px}article.commerce-quote .dhun-commerce-actions button{font-size:11px!important}}
