.cw-launcher{display:flex;align-items:center;gap:12px;width:100%;padding:11px 16px;margin:8px 0;border:1px solid #d5e6df;border-radius:12px;background:linear-gradient(110deg,#f0faf6,#fff 75%);color:#306858;font:inherit;text-align:start;cursor:pointer}.cw-launcher[hidden]{display:none}.cw-launch-icon{font-size:24px;background:#e2f1ea;border-radius:9px;width:38px;text-align:center;padding:5px}.cw-launcher>span:first-of-type{display:flex;flex-direction:column;gap:4px}.cw-launcher strong{font-size:15px}.cw-launcher small{font-size:10px;color:#8a9e94}#customerSelected{margin-inline-start:auto;color:#5d7b6d;font-size:12px}.cw-launcher>span:last-child{font-size:11px}.cw-launcher:disabled{opacity:.6;cursor:default}body.cw-open{overflow:hidden}.cw-dialog{box-sizing:border-box;width:min(1160px,95vw);max-width:95vw;max-height:94dvh;border:1px solid #ddceeb;border-radius:18px;padding:0;overflow:hidden;background:#faf8fd;color:#3c2b4a;box-shadow:0 25px 95px #23102c66}.cw-dialog[open]{display:flex;flex-direction:column}.cw-dialog::backdrop{background:#22132b88;backdrop-filter:blur(3px)}.cw-header{display:flex;align-items:center;gap:18px;padding:18px 24px;background:linear-gradient(115deg,#512479,#7b49a2);color:#fff;flex:none}.cw-header>div{flex:1}.cw-header small{font-size:10px;color:#ddc8ee}.cw-header h2{font-size:25px;margin:5px 0;line-height:1.4}.cw-header p{font-size:11px;color:#e4d7f0;margin:3px 0}.cw-close{border:1px solid #ffffff33;border-radius:11px;width:40px;height:40px;background:#ffffff1c;color:#fff;font-size:26px;cursor:pointer}.cw-main{padding:20px 24px;overflow:auto;min-height:180px;flex:1;scrollbar-gutter:stable}.cw-searchbar{display:flex;gap:9px;align-items:center}.cw-dialog input,.cw-dialog select{box-sizing:border-box;width:100%;min-width:0;font:inherit;border:1px solid #dfd4e8;border-radius:8px;padding:9px 10px;min-height:37px;color:#483055;background:#fff}.cw-dialog input:focus,.cw-dialog select:focus{outline:2px solid #ccb1e5;outline-offset:1px}.cw-searchbar input{flex:1;min-width:0;font-size:13px;min-height:44px}.cw-searchbar .button{flex:none;min-height:43px;font-size:12px}.cw-search-caption{display:flex;align-items:center;justify-content:space-between;color:#9b86ab;font-size:10px;margin:10px 0 15px}.cw-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cw-customer{background:#fff;border:1px solid #e4d9ed;border-radius:12px;padding:14px;min-width:0}.cw-customer-head{display:flex;align-items:start;justify-content:space-between;gap:8px}.cw-customer-head strong{font-size:13px;line-height:1.6}.cw-status{border-radius:20px;background:#e5f4ed;color:#25806a;font-size:9px;padding:4px 8px;white-space:nowrap}.cw-status.inactive{color:#956630;background:#fff2df}.cw-customer p{color:#8d799b;font-size:10px;margin:8px 0;overflow-wrap:anywhere}.cw-customer small{display:block;font-size:9px;color:#a48168;line-height:1.8}.cw-result-actions{display:flex;gap:8px;margin:12px 0 5px}.cw-result-actions .button{font-size:11px;min-height:32px}.cw-match{color:#71538c!important;background:#f5effb;border-radius:5px;padding:6px}.cw-empty{grid-column:1/-1;padding:25px;text-align:center;color:#927d9f;font-size:13px}.cw-profile{margin:14px 0;background:#fff;border:1px solid #d8c5e9;border-radius:12px;padding:15px}.cw-profile h3{font-size:16px}.cw-profile-fields{display:grid;grid-template-columns:120px 1fr;gap:7px;font-size:11px}.cw-profile-fields dt{color:#9b88aa}.cw-profile-fields dd{margin:0;overflow-wrap:anywhere}.cw-editor-head{display:flex;align-items:center;justify-content:space-between;margin:4px 0 14px}.cw-editor-head>strong{font-size:17px;color:#593574}.cw-editor-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:18px;align-items:start}.cw-types{display:flex;gap:8px;margin-bottom:14px}.cw-type{flex:1;padding:11px;border:1px solid #dcd0e8;border-radius:10px;background:#fff;color:#876c9a;font:inherit;font-size:12px;cursor:pointer}.cw-types:not(.is-tax) .cw-type:first-child{background:#e8f6ef;border-color:#a6d2bd;color:#2d8064}.cw-types.is-tax .cw-type:last-child{background:#fbf1e3;border-color:#e7c08a;color:#956124}.cw-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.cw-fields label{display:flex;flex-direction:column;gap:6px;min-width:0}.cw-fields label span{font-size:10px;color:#8d789d}.cw-fields input,.cw-fields select{font-size:12px}.cw-fields label:has(#cw_name),.cw-fields label:has(#cw_address){grid-column:1/-1}.cw-fields .cw-tax-field[hidden]{display:none}.cw-name-review{display:flex;align-items:center;gap:7px;padding:12px;margin-top:10px;font-size:11px;border:1px solid #e9c995;background:#fff7e9;border-radius:8px}.cw-name-review[hidden]{display:none}.cw-name-review input,.cw-approval input{width:auto!important;min-height:0!important}#cwUploads{border:1px solid #e1d7eb;border-radius:12px;padding:15px;background:#fff}#cwUploads h3{font-size:14px;margin:0 0 8px}#cwUploads p,#cwUploads small{font-size:10px;color:#9b86ab;line-height:1.8}.cw-upload-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cw-upload-cards label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #cbb5de;border-radius:9px;padding:12px 7px;background:#faf7fe;font-size:10px;color:#795391}.cw-upload-cards input{font-size:9px;padding:4px;min-height:26px;width:100%;cursor:pointer}.cw-proof{display:flex;gap:6px;align-items:center;justify-content:space-between;border-bottom:1px solid #eee7f5;padding:7px 0;font-size:10px;color:#7d6590}.cw-proof span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.cw-candidate{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#876b9b;gap:6px;border-bottom:1px solid #f0e9f6}.cw-approval{margin-top:16px;background:#f0e8f8;border:1px solid #d5bde8;border-radius:12px;padding:15px}.cw-approval h3{font-size:14px;margin:0 0 10px}.cw-approval dl{display:grid;grid-template-columns:130px 1fr;gap:7px;font-size:11px}.cw-approval dt{color:#8f73a5}.cw-approval dd{margin:0}.cw-approval label{font-size:11px;display:flex;align-items:center;gap:7px}.cw-approval p{font-size:10px;color:#9b86ab}.cw-footer{padding:12px 24px;border-top:1px solid #e4d9ed;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.cw-footer>span{font-size:9px;color:#9d88ad}.cw-footer>div{display:flex;gap:7px}.cw-footer .button{font-size:11px;min-height:35px}.cw-message{background:#fff3f4;border:1px solid #e9bfc7;color:#a24655;border-radius:9px;padding:12px;font-size:12px;margin-bottom:12px;cursor:pointer;line-height:1.8}.cw-message[hidden],.cw-dialog [hidden]{display:none!important}.cw-dialog details{font-size:10px;color:#8e74a0;margin-top:12px}.cw-dialog details summary{cursor:pointer}@media(max-width:800px){.cw-dialog{width:96vw;max-width:96vw;max-height:95dvh;border-radius:14px}.cw-header{padding:14px}.cw-header h2{font-size:21px}.cw-main{padding:14px}.cw-results{grid-template-columns:1fr}.cw-editor-grid{grid-template-columns:1fr}.cw-searchbar{flex-wrap:wrap}.cw-searchbar input{flex-basis:100%;font-size:12px}.cw-searchbar .button{margin-inline-start:auto;min-height:34px}.cw-footer{padding:10px 14px;flex-wrap:wrap}.cw-footer>div{width:100%;justify-content:end;flex-wrap:wrap}.cw-launcher{padding:10px;gap:8px}.cw-launcher strong{font-size:13px}.cw-launcher small{font-size:9px}#customerSelected{font-size:10px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cw-launcher>span:last-child{display:none}.cw-fields{gap:9px}.cw-fields input{font-size:12px}.cw-customer-head strong{font-size:13px}.cw-approval dl{grid-template-columns:100px 1fr}}@media print{.cw-dialog,.cw-launcher{display:none!important}}
.cw-message.working{background:#eef7f2;border-color:#c4dfcf;color:#39745c;cursor:default}
.cw-message{position:sticky;top:0;z-index:3;box-shadow:0 3px 12px #53306d12}
