.cw-dialog{width:min(820px,96vw);background:#fff;border-radius:24px;box-shadow:0 28px 100px #24103580}.cw-header{padding:26px 30px;background:linear-gradient(112deg,#48206c,#8347a5);gap:18px;min-height:110px}.cw-brand{width:76px;height:76px;border-radius:20px;object-fit:contain;flex:none}.cw-header small{font-size:14px;color:#eadcf3}.cw-header h2{font-size:30px;margin:5px 0}.cw-header p{font-size:13px}.cw-close{width:48px;height:48px;border-radius:15px;font-size:30px;background:#ffffff26;flex:none}.cw-main{padding:24px 28px;min-height:0}.cw-choice h3{font-size:28px;margin:4px 0 6px;color:#352340}.cw-choice>p{font-size:17px;color:#8f7b9e;margin:0 0 24px}.cw-kind{display:flex;align-items:center;gap:22px;width:100%;min-height:130px;padding:22px 26px;margin:14px 0;border:1px solid;border-radius:24px;text-align:start;cursor:pointer;font:inherit}.cw-kind.ordinary{background:linear-gradient(110deg,#f0fffb,#d9f8f0);border-color:#9cd5c5;color:#087562}.cw-kind.taxpayer{background:linear-gradient(110deg,#fff9f1,#ffe6cf);border-color:#e9c5a6;color:#9a4d24}.cw-kind>i:first-child{display:grid;place-items:center;width:66px;height:66px;border-radius:20px;background:#008a76;color:#fff;font-size:32px;flex:none}.cw-kind.taxpayer>i:first-child{background:#c6662d}.cw-kind>span{display:flex;flex:1;flex-direction:column;gap:8px}.cw-kind strong{font-size:25px}.cw-kind small{font-size:16px;opacity:.8}.cw-kind>i:last-child{font-size:22px}.cw-kind:hover{filter:brightness(.98)}.cw-kind:focus-visible,.cw-find-existing:focus-visible,.cw-type-back:focus-visible{outline:3px solid #b692d0;outline-offset:4px}.cw-find-existing{display:block;margin:26px auto 0;border:0;background:none;text-decoration:underline;color:#754591;font:inherit;font-size:17px;cursor:pointer}.cw-editor-grid{display:block}.cw-editor-head{margin:16px 0}.cw-editor-head>strong{font-size:23px}.cw-type-back{border:0;border-radius:24px;background:#f3eafb;color:#74428e;font:inherit;padding:10px 18px;cursor:pointer;font-size:14px}.cw-category{border:1px solid #e4d5ef;border-radius:16px;background:#faf6ff;padding:16px;margin-bottom:18px}.cw-category label{display:flex;gap:14px;align-items:center}.cw-category label>span{font-size:14px;min-width:100px}.cw-category select{font-size:15px;min-height:46px}.cw-category>small{display:block;margin-top:8px!important}.cw-fields{gap:18px}.cw-fields label span{font-size:13px}.cw-fields input,.cw-fields select{font-size:16px;min-height:48px}.cw-dialog #cwUploads{border:0;padding:0;background:transparent}.cw-upload-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cw-upload-cards label{position:relative;min-height:155px;padding:18px 10px;border-radius:18px;gap:12px;text-align:center;background:#faf6ff}.cw-upload-cards label[data-kind=vat]{background:#fff5ec;border-color:#e5c5a8}.cw-upload-cards label[data-kind=address]{background:#f0faf6;border-color:#a4d3c3}.cw-upload-cards label>i{font-size:32px;color:#795194}.cw-upload-cards label[data-kind=vat]>i{color:#be7035}.cw-upload-cards label[data-kind=address]>i{color:#218d72}.cw-upload-cards strong{font-size:13px}.cw-file-action{border:1px solid #dfd1e8;border-radius:9px;background:#fff;width:100%;padding:8px;color:#715082;font-size:12px}.cw-upload-cards input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.cw-upload-cards label:focus-within{outline:3px solid #b692d0;outline-offset:2px}.cw-upload-cards small{font-size:12px!important}.cw-reading{padding:14px 18px;background:#faf8fc;border:1px solid #ebe1f1;border-radius:14px;margin-top:18px}.cw-reading h3{font-size:16px;margin:0 0 12px}.cw-reading p{color:#90779e;font-size:13px;line-height:1.8}.cw-profile-fields{font-size:13px;line-height:1.7;grid-template-columns:140px 1fr}.cw-footer{padding:16px 28px;flex-direction:column;align-items:stretch;gap:12px}.cw-footer>span{font-size:11px;text-align:center}.cw-footer>div{display:flex;gap:10px;flex-wrap:wrap}.cw-footer .button{min-height:45px;font-size:14px;border-radius:13px;flex:1}.cw-footer #cwReview,.cw-footer #cwSave{order:-2;background:linear-gradient(105deg,#5d2887,#8146a4);color:white}.cw-footer #cwEdit{order:-1;background:#f0e6fa;color:#75438e}.cw-footer #cwContinue{background:#f1eef4;color:#867294}.cw-approval{margin-top:16px}.cw-approval dl,.cw-approval label{font-size:13px}.cw-dialog[data-customer-step=choice] .cw-footer>span{display:none}.cw-dialog[data-customer-step=choice] .cw-footer{border:0;padding-top:0}.cw-dialog[data-customer-step=choice] .cw-footer #cwContinue{flex:0 0 auto;margin-inline-start:auto;background:none}
@media(max-width:600px){.cw-dialog{border-radius:22px;max-height:94dvh}.cw-header{padding:24px 18px;gap:12px;min-height:105px}.cw-brand{width:62px;height:62px;border-radius:16px}.cw-header h2{font-size:26px}.cw-header small{font-size:12px}.cw-header p{font-size:12px;line-height:1.8}.cw-close{width:42px;height:42px}.cw-main{padding:20px 18px}.cw-choice h3{font-size:26px}.cw-choice>p{font-size:16px}.cw-kind{padding:20px 18px;gap:16px;min-height:130px;border-radius:22px}.cw-kind>i:first-child{width:54px;height:60px;font-size:28px;border-radius:17px}.cw-kind strong{font-size:23px}.cw-kind small{font-size:14px}.cw-editor-head>strong{font-size:21px}.cw-category label{gap:8px}.cw-category label>span{font-size:12px;min-width:85px}.cw-category{padding:13px}.cw-upload-cards{gap:9px}.cw-upload-cards label{min-height:155px;padding:14px 6px;gap:12px;border-radius:15px}.cw-upload-cards strong{font-size:11px;line-height:1.8}.cw-upload-cards small{font-size:10px!important}.cw-file-action{font-size:11px;padding:7px 1px}.cw-footer{padding:14px 18px}.cw-fields{gap:16px}.cw-fields input,.cw-fields select{font-size:15px}.cw-profile-fields{grid-template-columns:120px 1fr;font-size:12px}}

/* NASSER_SMALL_CUSTOMER_CARD_20261122: trigger only, never change dialog display */
#customerLauncher.cw-launcher{width:min(100%,255px);min-height:54px;margin:6px 0;padding:7px 10px;gap:7px;border-radius:12px;box-shadow:none;flex:none}
#customerLauncher .cw-launch-icon{width:30px;min-width:30px;font-size:17px;padding:4px}
#customerLauncher strong{font-size:13px;white-space:nowrap}
#customerLauncher small{font-size:10px;line-height:1.2}
#customerLauncher #customerSelected{display:none}
#customerLauncher>span:last-child{font-size:10px;margin-inline-start:auto;white-space:nowrap}
@media(max-width:600px){#customerLauncher.cw-launcher{width:min(100%,210px);min-height:48px;padding:6px 8px;margin:5px 0}#customerLauncher small{font-size:9px}}
/* NASSER_CUSTOMER_DIALOG_DENSE_V2: scoped geometry; does not change dialog open/hidden behavior */
#customerDialog.cw-dialog{width:min(940px,97vw);max-width:97vw;max-height:94dvh;border-radius:15px}
#customerDialog .cw-header{min-height:0;padding:9px 14px;gap:9px}
#customerDialog .cw-brand{width:43px;height:43px;border-radius:10px}
#customerDialog .cw-header h2{font-size:20px;line-height:1.25;margin:1px 0}
#customerDialog .cw-header small{font-size:11px}
#customerDialog .cw-header p{font-size:10px;line-height:1.25;margin:1px 0}
#customerDialog .cw-close{width:34px;height:34px;font-size:22px}
#customerDialog .cw-main{padding:9px 12px;min-height:0;overflow:auto}
#customerDialog .cw-choice h3{font-size:19px;margin:2px 0}
#customerDialog .cw-kind{min-height:68px;padding:9px 11px;margin:6px 0;border-radius:13px;gap:9px}
#customerDialog .cw-kind>i:first-child{width:39px;height:39px;font-size:20px;border-radius:10px}
#customerDialog .cw-kind strong{font-size:17px}
#customerDialog .cw-kind small{font-size:12px}
#customerDialog .cw-type-back{padding:5px 10px;font-size:11px}
#customerDialog .cw-editor-head{margin:2px 0 5px}
#customerDialog .cw-editor-head>strong{font-size:16px}
#customerDialog .cw-category{padding:7px 9px;margin:0 0 7px;border-radius:10px}
#customerDialog .cw-category label{gap:5px;min-width:0;display:flex;align-items:center}
#customerDialog .cw-category label>span{font-size:11px;min-width:65px;flex:none}
#customerDialog .cw-category label input,#customerDialog .cw-category label select{min-height:34px;font-size:13px;padding:5px 7px}
#customerDialog .cw-category>small{font-size:10px;line-height:1.2;margin-top:3px!important}
#customerDialog[data-customer-step="documents"] #cwGroupSlot,#customerDialog[data-customer-step="review"] #cwGroupSlot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:8px}
#customerDialog[data-customer-step="documents"] #cwGroupSlot>small,#customerDialog[data-customer-step="review"] #cwGroupSlot>small{grid-column:1/-1}
#customerDialog .cw-upload-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#customerDialog .cw-upload-cards label{min-height:88px;padding:7px 5px;gap:4px;border-radius:11px}
#customerDialog .cw-upload-cards label>i{font-size:19px}
#customerDialog .cw-upload-cards strong{font-size:11px;line-height:1.3}
#customerDialog .cw-file-action{padding:4px 5px;font-size:10px}
#customerDialog .cw-upload-cards small{font-size:9px!important;line-height:1.2}
#customerDialog .cw-reading{padding:7px 9px;margin-top:7px;border-radius:9px}
#customerDialog .cw-reading h3{font-size:13px;margin:0 0 5px}
#customerDialog .cw-profile-fields{font-size:11px;line-height:1.3}
#customerDialog .cw-footer{padding:8px 12px;gap:5px}
#customerDialog .cw-footer>span{font-size:10px}
#customerDialog .cw-footer .button{min-height:34px;font-size:12px;border-radius:8px}
#customerDialog .cw-fields{gap:7px}
#customerDialog .cw-fields input,#customerDialog .cw-fields select{min-height:35px;font-size:13px}
@media(max-width:600px){
#customerDialog.cw-dialog{width:100vw;max-width:100vw;max-height:100dvh;border-radius:0}
#customerDialog .cw-header{min-height:0;padding:7px 9px}
#customerDialog .cw-brand{width:36px;height:36px}
#customerDialog .cw-header h2{font-size:17px}
#customerDialog .cw-header p{font-size:9px}
#customerDialog .cw-main{padding:7px 8px}
#customerDialog .cw-category{padding:6px}
#customerDialog .cw-category label{display:block}
#customerDialog .cw-category label>span{display:block;font-size:10px}
#customerDialog .cw-category label select,#customerDialog .cw-category label input{min-height:32px;font-size:12px}
#customerDialog .cw-upload-cards{gap:4px}
#customerDialog .cw-upload-cards label{min-height:77px;padding:5px 3px;gap:3px}
#customerDialog .cw-upload-cards strong{font-size:10px}
#customerDialog .cw-upload-cards label>i{font-size:16px}
#customerDialog .cw-upload-cards small{font-size:8px!important}
#customerDialog .cw-file-action{font-size:9px;padding:3px 1px}
#customerDialog .cw-footer{padding:6px 8px}
}
@media(max-height:650px){#customerDialog .cw-header p{display:none}#customerDialog .cw-main{padding-top:5px}#customerDialog .cw-upload-cards label{min-height:68px}}
/* NASSER_CUSTOMER_DENSE_V4 scoped only to customer modal */
#customerDialog.cw-dialog{width:min(1130px,98vw);max-width:98vw;max-height:97dvh;border-radius:12px}
#customerDialog .cw-header{min-height:0;padding:7px 12px;gap:7px}
#customerDialog .cw-brand{height:35px;width:35px;border-radius:8px}
#customerDialog .cw-header h2{font-size:17px;line-height:1.1;margin:0}
#customerDialog .cw-header p{display:none}
#customerDialog .cw-main{min-height:0;padding:5px 9px;overflow:auto}
#customerDialog .cw-editor-grid{display:block}
#customerDialog .cw-editor-head{margin:0 0 4px}
#customerDialog .cw-type-back{padding:4px 8px;font-size:11px;margin:0 5px 4px 0}
#customerDialog .cw-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 7px;align-content:start}
#customerDialog .cw-fields label{display:flex;flex-direction:column;gap:1px;margin:0;min-width:0}
#customerDialog .cw-fields label>span{font-size:10px;line-height:1.1}
#customerDialog .cw-fields input,#customerDialog .cw-fields select{min-height:30px;height:30px;padding:4px 6px;font-size:12px}
#customerDialog .cw-footer{padding:6px 10px;gap:4px}
#customerDialog .cw-footer .button{min-height:31px;font-size:11px}
#customerDialog .cw-category{padding:6px;margin-bottom:5px}
#customerDialog .cw-upload-cards{gap:5px}
#customerDialog .cw-upload-cards label{min-height:92px;padding:5px 4px;gap:3px}
#customerDialog .cw-upload-cards strong{font-size:11px}
#customerDialog .cw-upload-cards label>i{font-size:17px}
#customerDialog .cw-upload-cards small{font-size:9px!important}
#customerDialog .cw-file-action{padding:4px;font-size:10px}
#customerDialog .cw-file-status{display:block;font-size:10px;font-weight:700;line-height:1.2;padding:3px 2px;border-radius:6px;position:relative;pointer-events:none}
#customerDialog .cw-file-status[data-state="pending"]{color:#6c6875;background:#f2f2f4}
#customerDialog .cw-file-status[data-state="reading"]{color:#916209;background:#fff3da}
#customerDialog .cw-file-status[data-state="success"]{color:#097647;background:#e6f7ed}
#customerDialog .cw-file-status[data-state="error"]{color:#b42318;background:#fef0ed}
#customerDialog .cw-upload-cards label[data-read-state="success"]{border:2px solid #12945a}
#customerDialog .cw-upload-cards label[data-read-state="error"]{border:2px solid #c72b2b}
#customerDialog .cw-catalog-hint{display:block;font-size:9px;line-height:1.15;margin:1px 0!important}
#customerDialog .cw-catalog-hint[data-catalog="existing"]{color:#138056}
#customerDialog .cw-catalog-hint[data-catalog="new"]{color:#b46b19}
#customerDialog .cw-reading{padding:6px;margin-top:5px}
#customerDialog .cw-reading h3{margin-bottom:3px}
#customerDialog .cw-profile-fields{line-height:1.25;gap:3px}
#customerDialog #cwBackDocs[hidden]{display:none!important}
#customerDialog[data-customer-step="edit"] .cw-main{overflow-y:auto}
#customerDialog[data-customer-step="edit"] #cwForm{margin:0;padding:0}
@media(max-width:700px){
#customerDialog.cw-dialog{width:100vw;max-width:100vw;max-height:100dvh;border-radius:0}
#customerDialog .cw-header{padding:5px 8px}
#customerDialog .cw-brand{width:30px;height:30px}
#customerDialog .cw-main{padding:5px 7px}
#customerDialog .cw-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#customerDialog .cw-fields input,#customerDialog .cw-fields select{min-height:30px;height:30px;font-size:12px}
#customerDialog .cw-footer{padding:5px 7px}
#customerDialog .cw-upload-cards label{min-height:78px;padding:3px}
#customerDialog .cw-file-status{font-size:9px}
}
@media(max-height:650px){#customerDialog .cw-header small{display:none}#customerDialog .cw-fields{gap:2px 5px}#customerDialog .cw-fields input{height:27px;min-height:27px}}
/* NASSER_CUSTOMER_PROOF_DENSITY_V6: no horizontal overflow; compact attached proofs */
#customerDialog,#customerDialog *{box-sizing:border-box}
#customerDialog.cw-dialog{overflow:hidden}
#customerDialog .cw-main{overflow-x:hidden;scrollbar-gutter:auto}
#customerDialog #cwEditor,#customerDialog #cwUploads,#customerDialog .cw-editor-grid,#customerDialog #cwGroupSlot{min-width:0;max-width:100%}
#customerDialog #cwProofs{display:flex;flex-flow:row wrap;align-items:center;gap:4px 6px;margin:4px 0;max-width:100%;min-width:0}
#customerDialog .cw-proof{display:flex;align-items:center;gap:4px;justify-content:flex-start;min-width:0;max-width:32%;padding:2px 6px;border:1px solid #e5ddec;background:#fcfaff;border-radius:7px}
#customerDialog .cw-proof span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:175px;font-size:10px}
#customerDialog .cw-proof button{min-height:22px!important;padding:2px 5px;font-size:10px;flex:none}
#customerDialog #cwOcr{margin:3px 0;line-height:1.3;font-size:11px}
#customerDialog #cwUploads>details{margin:3px 0;padding:0;max-width:100%;font-size:10px}
#customerDialog #cwUploads>details summary{cursor:pointer;margin:2px 0}
#customerDialog #cwUploads>small{display:block;margin:1px 0;line-height:1.2}
#customerDialog .cw-reading{margin:3px 0;padding:4px 6px}
#customerDialog .cw-reading .cw-profile-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px 5px}
#customerDialog .cw-reading .cw-profile-fields dt{font-size:9px;line-height:1.1}
#customerDialog .cw-reading .cw-profile-fields dd{font-size:10px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#customerDialog .cw-reading .cw-profile-fields dt{display:none}
#customerDialog .cw-reading .cw-profile-fields dd{margin:0;padding:3px;background:#f7f3fa;border-radius:5px}
#customerDialog .cw-reading h3{font-size:11px;margin:0 0 3px}
#customerDialog .cw-file-status[data-state="review"]{color:#806e15;background:#fff6dd}
#customerDialog .cw-upload-cards label[data-read-state="review"]{border:1px solid #d8b86e}
#customerDialog .cw-footer{position:relative;z-index:1}
@media(max-width:700px){
#customerDialog .cw-proof{max-width:100%;flex:1 1 45%}
#customerDialog .cw-reading .cw-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
#customerDialog .cw-upload-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* NASSER_CUSTOMER_OVERFLOW_FIX_V6 */
#customerDialog,#customerDialog *{box-sizing:border-box}
#customerDialog.cw-dialog{width:min(1060px,96vw);max-width:96vw;min-width:0;overflow:hidden}
#customerDialog .cw-main{width:100%;max-width:100%;min-width:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:auto}
#customerDialog #cwEditor,#customerDialog .cw-editor-grid,#customerDialog #cwUploads,#customerDialog #cwForm,#customerDialog #cwReading,#customerDialog #cwGroupSlot,#customerDialog .cw-upload-cards{width:100%;max-width:100%;min-width:0}
#customerDialog .cw-editor-grid{display:block;grid-template-columns:minmax(0,1fr)}
#customerDialog .cw-upload-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
#customerDialog .cw-upload-cards label{min-width:0;overflow:hidden}
#customerDialog .cw-proof{min-height:25px;padding:3px 5px;gap:5px}
#customerDialog .cw-proof span{max-width:none;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#customerDialog .cw-proof button{flex:none;font-size:10px;min-height:24px;padding:2px 7px}
#customerDialog #cwProofs{max-width:100%;min-width:0;max-height:100px;overflow-y:auto;overflow-x:hidden}
#customerDialog .cw-candidate{min-height:24px;padding:2px 4px;min-width:0}
#customerDialog #cwCandidates{max-height:105px;overflow-y:auto;overflow-x:hidden}
#customerDialog .cw-candidate>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#customerDialog .cw-candidate button{min-height:24px;flex:none}
#customerDialog #cwOcr{margin:3px 0;font-size:11px;line-height:1.25}
#customerDialog #cwReading .cw-profile-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 5px}
#customerDialog #cwReading .cw-profile-fields dt,#customerDialog #cwReading .cw-profile-fields dd{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
#customerDialog #cwReading .cw-profile-fields dd{margin:0}
#customerDialog #cwUploadHint{margin:2px 0;font-size:10px}
#customerDialog .cw-footer{flex-shrink:0;position:relative;z-index:2}
@media(max-width:700px){#customerDialog.cw-dialog{width:100vw;max-width:100vw}#customerDialog #cwReading .cw-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#customerDialog #cwProofs{max-height:75px}#customerDialog #cwCandidates{max-height:75px}}
#customerDialog .cw-reading .cw-profile-fields dt{display:block!important}#customerDialog .cw-reading .cw-profile-fields dd{background:transparent;padding:0}
/* NASSER_VAT_REVIEW_V8 */
#customerDialog .cw-file-status[data-state="review"]{color:#966500;background:#fff4d9}
#customerDialog .cw-upload-cards label[data-read-state="review"]{border:2px solid #d39a30}
/* NASSER_SALES_CUSTOMER_INLINE_V2 - reuse existing customer view without overlay */
#hubBody > #customerDialog.cw-sales-inline[open]{position:relative;inset:auto;left:auto;right:auto;top:auto;bottom:auto;transform:none;display:flex;flex-direction:column;float:none;margin:6px 0 12px;padding:0;width:100%;max-width:100%;min-width:0;max-height:none;height:auto;overflow:visible;box-shadow:none;border:1px solid #e3d6ed;border-radius:12px;isolation:isolate}
#hubBody > #customerDialog.cw-sales-inline .cw-main{min-height:0;max-height:none;height:auto;flex:0 0 auto;overflow:visible;width:100%;padding:9px 11px}
#hubBody > #customerDialog.cw-sales-inline .cw-header{min-height:0;padding:8px 12px}
#hubBody > #customerDialog.cw-sales-inline .cw-header h2{font-size:18px}
#hubBody > #customerDialog.cw-sales-inline .cw-footer{position:relative;bottom:auto;min-height:0;padding:7px 12px;border-radius:0 0 11px 11px}
#hubBody > #customerDialog.cw-sales-inline #cwEditor,#hubBody > #customerDialog.cw-sales-inline .cw-editor-grid,#hubBody > #customerDialog.cw-sales-inline #cwUploads{min-width:0;width:100%;max-width:100%}
#hubBody > #customerDialog.cw-sales-inline #cwProofs,#hubBody > #customerDialog.cw-sales-inline #cwCandidates{overflow-x:hidden}
#hubBody > #customerDialog.cw-sales-inline .cw-compact-summary{max-width:100%}
#hubBody > #customerDialog.cw-sales-inline .cw-close{width:33px;height:33px}
@media(max-width:700px){#hubBody > #customerDialog.cw-sales-inline[open]{margin:5px 0 9px;width:100%;max-width:100%;border-radius:9px}#hubBody > #customerDialog.cw-sales-inline .cw-main{padding:6px}#hubBody > #customerDialog.cw-sales-inline .cw-header{padding:6px 8px}}
/* NASSER_INLINE_COMPACT_V3 */
#hubBody > #customerDialog.cw-sales-inline[open]{max-width:100%;width:100%;margin:2px 0 8px;border-radius:9px}
#hubBody > #customerDialog.cw-sales-inline .cw-header{padding:5px 10px;min-height:0}
#hubBody > #customerDialog.cw-sales-inline .cw-header h2{font-size:16px}
#hubBody > #customerDialog.cw-sales-inline .cw-main{padding:6px 9px;min-height:0;overflow:visible}
#hubBody > #customerDialog.cw-sales-inline .cw-editor-head{margin:0 0 3px}
#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 9px;align-items:start;padding:7px 9px;margin:2px 0 7px}
#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot>label{display:flex;flex-direction:column;gap:3px;min-width:0;margin:0}
#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot>label>span{font-size:11px;line-height:1.2}
#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot>label input,#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot>label select{min-height:33px;height:33px;padding:5px 8px;font-size:12px}
#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot>small{grid-column:1/-1;margin:0!important;order:3;font-size:10px}
#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot #cwReading{grid-column:1/-1;margin:1px 0 0;padding:5px 7px;border:1px solid #e3d8ed;border-radius:9px;background:#fbf9fe}
#hubBody > #customerDialog.cw-sales-inline #cwReading .cw-summary-title{display:block;font-size:11px;color:#65388e;margin:0 0 4px}
#hubBody > #customerDialog.cw-sales-inline #cwReading .cw-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
#hubBody > #customerDialog.cw-sales-inline #cwReading .cw-summary-chip{min-width:0;display:flex;flex-direction:column;gap:2px;border-radius:7px;background:white;border:1px solid #e9dfef;padding:5px 7px}
#hubBody > #customerDialog.cw-sales-inline #cwReading .cw-summary-chip span{font-size:9px;color:#806998}
#hubBody > #customerDialog.cw-sales-inline #cwReading .cw-summary-chip strong{font-size:11px;color:#352342;overflow-wrap:anywhere}
#hubBody > #customerDialog.cw-sales-inline #cwReading .cw-summary-muted{background:#f5f2f8}
#hubBody > #customerDialog.cw-sales-inline #cwReading .cw-summary-empty{font-size:10px;margin:0;color:#786b84}
#hubBody > #customerDialog.cw-sales-inline .cw-upload-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#hubBody > #customerDialog.cw-sales-inline .cw-upload-cards label{min-height:78px;gap:3px;padding:5px 5px}
#hubBody > #customerDialog.cw-sales-inline #cwForm .cw-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px 8px;align-content:start}
#hubBody > #customerDialog.cw-sales-inline #cwForm .cw-fields label{display:flex;flex-direction:column;gap:2px;min-width:0;margin:0}
#hubBody > #customerDialog.cw-sales-inline #cwForm .cw-fields label>span{font-size:10px;line-height:1.2}
#hubBody > #customerDialog.cw-sales-inline #cwForm .cw-fields input,#hubBody > #customerDialog.cw-sales-inline #cwForm .cw-fields select{height:32px;min-height:32px;font-size:12px;padding:5px 7px}
#hubBody > #customerDialog.cw-sales-inline .cw-footer{padding:5px 9px;gap:5px}
#hubBody > #customerDialog.cw-sales-inline #cwProofs{max-height:60px;overflow-y:auto}
#hubBody > #customerDialog.cw-sales-inline #cwCandidates{max-height:60px;overflow-y:auto}
@media(max-width:850px){
#hubBody > #customerDialog.cw-sales-inline #cwForm .cw-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
#hubBody > #customerDialog.cw-sales-inline #cwReading .cw-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot{padding:5px;gap:4px}
#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot>label input,#hubBody > #customerDialog.cw-sales-inline #cwGroupSlot>label select{font-size:11px;padding:3px}
#hubBody > #customerDialog.cw-sales-inline .cw-upload-cards label{min-height:69px;padding:3px}
}