/* Malkwanas sales workspace: compact operational surfaces. */
.sd-tabs,.sd-actions,.sd-sale-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sd-tabs{padding:8px;background:#f2edf9;border:1px solid #e2d6ed;border-radius:10px;margin-block:0 8px}.sd-tabs .button{min-height:32px;padding:5px 11px}.sd-help{font-size:12px;color:#6c6576;margin:7px 0}.sd-error{background:#fff1ed;color:#943919;border:1px solid #ffd4ba;padding:9px 12px;border-radius:8px}.sd-filters{display:flex;gap:7px;flex-wrap:wrap;align-items:end;padding:9px;margin-block:8px;background:#ecf9f9;border:1px solid #cde9e9;border-radius:10px}.sd-filters>input[type=search]{flex:2 1 220px}.sd-filters>select{flex:1 1 90px;min-width:90px;max-width:240px}.sd-filters input,.sd-filters select{height:34px;min-height:34px;padding:5px 8px}.sd-filters label{display:grid;gap:3px;font-size:11px}.sd-result-count{font-size:12px;color:#664c81;margin:8px 2px}.sd-table-scroll{overflow:auto;max-height:calc(100dvh - 340px);border:1px solid #e1dce7;border-radius:10px}.sd-table{width:100%;min-width:650px;border-collapse:collapse;font-size:12px}.sd-table th{position:sticky;top:0;background:#6a3ea1;color:white;z-index:1}.sd-table td,.sd-table th{padding:9px 10px;text-align:right;vertical-align:middle}.sd-table td strong{display:block;line-height:1.6}.sd-table td small{display:block;color:#746d80;line-height:1.65}.sd-table tbody tr:nth-child(even){background:#f6fbfb}.sd-table tbody tr:hover{background:#f3ecfc}.sd-cell-tools{white-space:nowrap}.sd-cell-tools .button{margin-inline-end:4px;min-height:29px;padding:4px 8px}.sd-orange{color:#9a5200}.sd-teal{color:#087d83}.sd-sale-bar{grid-column:1/-1;border:1px solid #d9e9e9;background:linear-gradient(110deg,#faf7fd,#ecf9f9);padding:6px 9px;margin-block:5px;border-radius:9px;min-height:39px}.sd-sale-bar[hidden],.sd-beneficiary[hidden]{display:none}.sd-sale-bar .button{font-size:11px;min-height:29px;padding:4px 8px}.sd-draft-state{font-size:12px;color:#6a3ea1;margin-inline-end:auto}.sd-advance{display:flex;gap:5px;align-items:center;font-size:10px;color:#675974}.sd-advance input{width:83px!important;height:29px!important;min-height:29px!important;text-align:center}.sd-beneficiary{grid-column:1/-1;display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;padding:8px;background:#fff6e7;border:1px solid #f6d6a8;border-radius:8px}.sd-beneficiary label{font-size:11px;display:grid;gap:3px}.sd-row-track{font-size:9px!important;min-height:20px!important;padding:1px 6px!important;position:relative;margin-inline-start:4px;background:#e3f8f8!important;color:#087d83!important;border-color:#b9e4e6!important}.sd-report-row{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:10px 12px;border:1px solid #e0d5eb;border-inline-start:3px solid #12b7c3;border-radius:9px;background:#fdfcff;margin-block:7px}.sd-report-row>div{flex:1 1 260px}.sd-report-row small{display:block;color:#7d7289;font-size:11px;margin-top:3px}.sd-report-row strong{font-size:12px}.sd-report-row .number{color:#6a3ea1;white-space:nowrap}.sd-pill{font-size:10px;border-radius:20px;padding:4px 9px;background:#fff0dd;color:#9a5200}.sd-tool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-block:12px}.sd-tool-grid>.button{display:flex;align-items:start;flex-direction:column;padding:13px;text-align:right;border-inline-start:3px solid #6a3ea1;background:#f8f4fc;color:#4c2b70;gap:7px}.sd-tool-grid>.button:nth-child(3n+2){background:#edfafa;border-inline-start-color:#12b7c3}.sd-tool-grid>.button:nth-child(3n){background:#fff7eb;border-inline-start-color:#fb8a00}.sd-tool-grid small{font-size:11px;font-weight:400;color:#796d83}.sd-review-dialog{width:min(920px,94vw);max-height:90dvh}.sd-review-dialog .modal-content{max-height:65dvh;overflow:auto}.sd-review-total{font-weight:700;color:#6a3ea1;background:#f3ebfb;padding:12px;border-radius:8px}.sd-review-customer{color:#087d83}.sd-review-dialog .modal-footer{flex-wrap:wrap;gap:7px}#sdLauncher{border-inline-start:3px solid #12b7c3;background:linear-gradient(120deg,#f2eafb,#eafafa)}#sdLauncher small{display:block;font-size:10px;font-weight:400}body.quote-mode .quote-row .sd-row-track{align-self:center}
@media(max-width:700px){.sd-table-scroll{max-height:55dvh}.sd-tabs{gap:4px}.sd-tabs .button{flex:1 1 42%;font-size:11px}.sd-draft-state{width:100%}.sd-beneficiary{grid-template-columns:1fr}.sd-filters>select{max-width:none;min-width:95px}.sd-report-row>div{flex-basis:100%}.sd-sale-bar .button{min-height:33px}.sd-advance input{font-size:13px}.sd-review-dialog .modal-footer>.button{flex:1 1 44%}}

#hubBody>.sd-help{margin:6px 0;padding:0;font-size:11px}#hubBody>.sd-actions{margin:4px 0}#sdLauncher{min-width:0;white-space:normal}#sdLauncher>span{min-width:0}#sdLauncher small{white-space:normal;line-height:1.5}

/* NASSER_SALES_CUSTOMER_QUICK_20261122 */
.sd-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
#sdCustomerQuick.sd-customer-quick-card{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;min-height:43px;min-width:156px;max-width:240px;border:1px solid #c8e5dc;background:#eefaf5;color:#245e50;border-radius:11px;font:inherit;cursor:pointer;text-align:right;flex:none}
#sdCustomerQuick span{display:flex;flex-direction:column;gap:1px;line-height:1.35}
#sdCustomerQuick strong{font-size:13px}
#sdCustomerQuick small{font-size:10px}
#sdCustomerQuick svg{flex:none}
#sdCustomerQuick:focus-visible{outline:2px solid #28795e;outline-offset:2px}
@media(max-width:600px){#sdCustomerQuick.sd-customer-quick-card{min-width:135px;padding:5px 7px;min-height:39px}#sdCustomerQuick strong{font-size:12px}#sdCustomerQuick small{font-size:9px}}