button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}[hidden]{display:none!important}
.customer-toolbar,.customer-pagination,.customer-account{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.customer-toolbar input{min-width:220px;flex:1;padding:10px;border:1px solid #ccd5e1;border-radius:7px}.customer-toolbar button,.customer-pagination button,.customer-account button,.customer-account .account-button,.customer-table button{padding:9px 14px;border:1px solid #ccd5e1;border-radius:7px;background:white;color:#243142}
.customer-table-wrap{overflow:auto}.customer-table{border-collapse:collapse;width:100%;min-width:650px}.customer-table th,.customer-table td{text-align:left;padding:13px;border-bottom:1px solid #e5e9ef;overflow-wrap:anywhere}.customer-table th{color:#697789;font-size:13px}.customer-pagination{margin-top:18px}.customer-message{color:#536274;min-height:24px}
#customerDialog{width:min(760px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:12px;padding:24px;color:#243142}#customerDialog::backdrop{background:#17233788}.customer-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.customer-fields label,.login-card label{display:flex;flex-direction:column;gap:7px;font-size:14px}.customer-fields input,.customer-fields select,.customer-fields textarea,.login-card input{width:100%;padding:10px;border:1px solid #ccd5e1;border-radius:7px}.customer-fields .wide{grid-column:1/-1}.customer-fields textarea{min-height:75px}.customer-form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.customer-form-actions button,.login-card button{padding:10px 20px;border:0;border-radius:7px;background:#276bd1;color:white}#cancelCustomer{background:#edf0f4;color:#243142}#formError,#loginError{color:#b42318;min-height:20px}
.login-page{margin:0;background:#f5f7fa;font-family:"Microsoft YaHei",Arial;color:#243142;min-height:100vh;display:grid;place-items:center;padding:20px;box-sizing:border-box}.login-card{box-sizing:border-box;width:min(420px,100%);padding:32px;background:white;border:1px solid #e4e9f0;border-radius:14px}.login-card input{box-sizing:border-box}.login-card label{margin-top:18px}.login-card h1{margin:0}.login-card p{line-height:1.7}.login-card button{width:100%;margin-bottom:18px}.login-card a{color:#276bd1}
@media(max-width:760px){aside{position:relative;width:100%;height:auto}main{margin-left:0}nav{display:grid;grid-template-columns:repeat(3,1fr)}header{height:auto;min-height:78px;padding:12px 15px;gap:12px;flex-wrap:wrap}.content{padding:12px}.customer-fields{grid-template-columns:1fr}.customer-fields .wide{grid-column:auto}.head{gap:12px;flex-wrap:wrap}}

.customer-account .account-button{text-decoration:none;display:inline-block}.customer-account .account-button:hover,.customer-account button:hover{background:#f5f7fa}.customer-account .account-button:focus-visible{outline:2px solid #276bd1;outline-offset:2px}

#contactDialog{width:min(700px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:12px;padding:24px;color:#243142}#contactDialog::backdrop{background:#17233788}.contact-row{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e5e9ef}.contact-row button{padding:9px 14px;border:1px solid #ccd5e1;border-radius:7px;background:white;color:#243142}#relatedContacts{padding:16px}#relatedContacts p{font-size:14px}

#contactDialog input[type="checkbox"]{width:auto}

#identityMessage{color:#a15c00;min-height:20px}.customer-table td button{margin:3px}#followupDialog,#assignmentDialog{width:min(760px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:12px;padding:24px;color:#243142}#followupDialog::backdrop,#assignmentDialog::backdrop{background:#17233788}#followupDialog form{display:grid;gap:12px}#followupDialog label{display:flex;flex-direction:column;gap:8px}#followupDialog textarea{min-height:100px}#followupDialog input,#followupDialog select,#followupDialog textarea,#assignmentDialog select{font:inherit;padding:10px;border:1px solid #ccd5e1;border-radius:7px}#assignmentDialog button,#followupDialog button{padding:9px 14px;border:1px solid #ccd5e1;border-radius:7px;background:white;color:#243142;margin:4px}

.customer-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px;width:100%}.customer-filter-grid label{display:flex;flex-direction:column;gap:5px}.customer-filter-grid input{min-width:0!important;width:100%;box-sizing:border-box}.gift-record{padding:12px;border-bottom:1px solid #dde5ef}.gift-record p{white-space:pre-wrap}.contact-row{flex-wrap:wrap;gap:10px}@media(max-width:800px){.customer-filter-grid{grid-template-columns:repeat(2,minmax(100px,1fr))}}
.customer-dialog-top{position:sticky;top:-24px;z-index:3;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;margin-bottom:18px;border-bottom:1px solid #e5e9ef}.customer-dialog-top h2{margin:0}.customer-top-actions{display:flex;gap:12px;flex-shrink:0}.customer-top-actions button{padding:10px 20px;border:1px solid #ccd5e1;border-radius:7px;background:#edf0f4;color:#243142}#saveCustomerTop{background:#276bd1;color:white;border-color:#276bd1}@media(max-width:500px){.customer-dialog-top{flex-wrap:wrap}.customer-top-actions{margin-left:auto}}
#giftDialog{width:min(780px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:14px;padding:24px;color:#243142}#giftDialog::backdrop{background:#17233788}#giftDialog button,#customerPhotoSection button{font:inherit;padding:10px 16px;border:1px solid #ccd5e1;border-radius:7px;background:#fff;color:#243142;margin:5px 5px 5px 0}#giftDialog form>button,.photo-primary{background:#276bd1!important;color:#fff!important;border-color:#276bd1!important}#giftDialog input,#giftDialog textarea{box-sizing:border-box}.photo-grid{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.photo-grid>div{display:flex;flex-direction:column;gap:5px}.photo-grid img{width:140px;height:110px;object-fit:cover;border-radius:8px;border:1px solid #ccd5e1}.photo-grid a{display:block}.photo-grid button{font-size:14px}#customerPhotoSection{padding:16px}#giftDialog h2{margin-top:0}
.gift-table-wrap{overflow:auto}.gift-table{width:100%;border-collapse:collapse;min-width:800px}.gift-table th,.gift-table td{text-align:left;padding:12px;border-bottom:1px solid #e4e9f0;white-space:nowrap}.gift-table td:nth-child(2),.gift-table td:nth-child(6){max-width:200px;overflow:hidden;text-overflow:ellipsis}#giftDialog{width:min(1100px,94vw)}#giftEditDialog{width:min(780px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:14px;padding:24px;color:#243142}#giftEditDialog::backdrop{background:#17233788}.gift-edit-fields{border:0;padding:0}#giftEditDialog button{font:inherit;padding:10px 16px;border:1px solid #ccd5e1;border-radius:7px;background:white;color:#243142}#giftEditDialog [data-save]{background:#276bd1;color:#fff;border-color:#276bd1}.gift-edit-bottom{justify-content:flex-end;margin-top:16px}#giftEditDialog input,#giftEditDialog textarea{box-sizing:border-box}#giftEditDialog [data-error]{color:#b42318}
#recycleDialog{width:min(1000px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:14px;padding:24px;color:#243142}#recycleDialog::backdrop{background:#17233788}#recycleDialog button{font:inherit;padding:10px 16px;border:1px solid #ccd5e1;border-radius:7px;background:#fff;color:#243142;margin-right:8px}.customer-table button.button-danger,#recycleDialog button.button-danger{color:#b42318;border-color:#efcbc8;background:#fff6f5}
/* 2026-10-25 customer list polish, matching the inventory page. */
.erp-commercial main .customer-filter-panel{padding:18px 20px;border-radius:12px}
.erp-commercial main .customer-filter-panel .customer-toolbar{gap:10px}
.erp-commercial main .customer-filter-grid{gap:10px 14px}
@media(min-width:1400px){.erp-commercial main .customer-filter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.erp-commercial main .customer-filter-grid label{font-size:12px;color:#6c82a0}
.erp-commercial main .customer-filter-grid input,.erp-commercial main #searchQuery{min-height:38px;padding:7px 11px;border-radius:8px}
.erp-commercial main .customer-message:empty{display:none}
.erp-commercial main .customer-table-wrap{margin-top:18px;background:#fff;border:1px solid #e1e8f2;border-radius:12px;box-shadow:0 2px 10px #254c7d05}
.erp-commercial main .customer-list-table{min-width:980px}
.erp-commercial main .customer-list-table th{background:#edf3fc;color:#3f6591;font-size:12px;font-weight:600;padding:11px 14px}
.erp-commercial main .customer-list-table td{padding:12px 14px;vertical-align:middle;border-bottom:1px solid #e9eff7;color:#3d5878}
.erp-commercial main .customer-list-table tbody tr:last-child td{border-bottom:0}
.erp-commercial main .customer-list-table tbody tr:hover td{background:#f6f9ff}
.customer-identity strong{display:block;color:#1f3a5c;font-size:14px;font-weight:600;line-height:1.5}
.customer-identity small{display:block;margin-top:2px;color:#8496ad;font-size:12px}
.customer-phone{font-variant-numeric:tabular-nums;white-space:nowrap}
.customer-chip{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12px;font-weight:600;white-space:nowrap}
.customer-chip.is-category{background:#eef3fa;color:#4f6c8f}
.customer-chip.is-public{background:#f0f2f5;color:#7d8797}
.customer-chip.is-owner{background:#eaf1fc;color:#2f5f93}
.customer-chip.is-ok{background:#e9f6f0;color:#2f7d6f}
.customer-chip.is-muted{background:#fbf4e8;color:#a07a3c}
.customer-row-actions{display:flex;flex-wrap:nowrap;gap:6px;align-items:center}
.erp-commercial main .customer-list-table .customer-row-actions button{margin:0;min-height:30px;padding:4px 11px;border:1px solid #d5e3f5;border-radius:7px;background:#fff;color:#537396;font-size:12.5px;white-space:nowrap;transition:background-color .15s,border-color .15s}
.erp-commercial main .customer-list-table .customer-row-actions button:hover{background:#edf5ff;border-color:#a9c8ef;color:#537396}
.erp-commercial main .customer-list-table .customer-row-actions button.customer-open{background:#2a62ad;border-color:#2a62ad;color:#fff}
.erp-commercial main .customer-list-table .customer-row-actions button.customer-open:hover{background:#2f6fc4;border-color:#2f6fc4;color:#fff}
.erp-commercial main .customer-list-table .customer-row-actions button.button-danger{border-color:#f0d0d4;color:#b55c69}
.erp-commercial main .customer-list-table .customer-row-actions button.button-danger:hover{background:#fdf0f2;border-color:#e3a9b1;color:#b55c69}
.erp-commercial main .customer-list-table .customer-row-actions button:focus-visible{outline:3px solid #aacbfa;outline-offset:2px}
.erp-commercial main .customer-pagination{margin-top:14px;padding:10px 14px;background:#f8fafd;border:1px solid #e3eaf3;border-radius:10px}
.erp-commercial main .customer-pagination #pageInfo{color:#4f6c8f;font-size:13px}
.erp-commercial main .customer-pagination #customerRecycle{margin-left:auto}
@media(max-width:900px){
.erp-commercial main .customer-list-table{min-width:0}
.erp-commercial main .customer-list-table thead{display:none}
.erp-commercial main .customer-list-table :is(tbody,tr,td){display:block}
.erp-commercial main .customer-list-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;padding:14px;border-bottom:1px solid #e7eef8}
.erp-commercial main .customer-list-table td{padding:0;border:0}
.erp-commercial main .customer-list-table td:is(.customer-identity,.customer-actions){grid-column:1/-1}
.erp-commercial main .customer-list-table td:not(.customer-identity,.customer-actions)::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:11px;color:#8294ac}
.customer-row-actions{flex-wrap:wrap}
}
/* 客户列表标题右侧：相关联系人 + 新增客户（10-29 去掉入口页） */
.customer-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.erp-commercial main a.customer-contacts-link,.erp-commercial main a.customer-contacts-link:is(:link,:visited){display:inline-flex;align-items:center;min-height:38px;padding:7px 16px;border:1px solid #cfdcee;border-radius:9px;background:linear-gradient(180deg,#fff,#f3f7fc);color:#2f5a8c;font-weight:600;text-decoration:none;box-shadow:0 1px 2px #1d3a5f14}.erp-commercial main a.customer-contacts-link:hover{background:#eaf2fd;border-color:#a9c3e6;color:#2f5a8c}.erp-commercial main a.customer-contacts-link:focus-visible{outline:3px solid #adc9f1;outline-offset:2px}
/* 客户分类、地区选项按钮 */
.customer-option-row{display:flex;align-items:flex-start;gap:12px;flex-basis:100%;width:100%}
.customer-option-row>span{flex:none;min-width:40px;padding-top:6px;color:#5d7290;font-size:13px;font-weight:600}
.customer-option-row>div{display:flex;flex-wrap:wrap;gap:8px}
body.erp-commercial main .customer-option-row button{min-height:32px;padding:4px 14px;border:1px solid #cfdcee;border-radius:9px;background:#fff;color:#2f5f93;font-weight:600}
body.erp-commercial main .customer-option-row button:hover{background:#e6f0fd;color:#2f5f93}
body.erp-commercial main .customer-option-row button[aria-pressed=true]{border-color:#2a62ad;background:#2a62ad;color:#fff}
body.erp-commercial main .customer-option-row button:focus-visible{outline:2px solid #2a62ad;outline-offset:2px}
/* 首字母按钮：当前范围没有的字母变灰 */
.customer-option-row button:disabled{opacity:.4;cursor:not-allowed}

/* 客户分类管理 */
body.erp-commercial .customer-option-row button.customer-category-tool{border-style:dashed;background:#fff;box-shadow:none}
body.erp-commercial .customer-option-row button.customer-category-tool.is-new{margin-left:8px;border-color:#8fb0dc;color:#2463c7}
body.erp-commercial .customer-option-row button.customer-category-tool.is-new:hover{background:#e6effc;color:#2463c7}
body.erp-commercial .customer-option-row button.customer-category-tool.is-edit{border-style:solid;border-color:#cdd9e8;color:#35557f}
body.erp-commercial .customer-option-row button.customer-category-tool.is-edit:hover{background:#eef4fd;color:#35557f}
body.erp-commercial .customer-option-row button.customer-category-tool.is-delete{border-style:solid;border-color:#f0cdcd;background:#fff7f7;color:#c0392b}
body.erp-commercial .customer-option-row button.customer-category-tool.is-delete:hover{background:#fde9e9;color:#c0392b}
.customer-category-dialog{width:min(420px,92vw);padding:22px;border:0;border-radius:14px;box-shadow:0 24px 60px rgba(16,42,86,.3)}.customer-category-dialog::backdrop{background:#182a455e}
.customer-category-dialog h2{margin:0 0 14px;color:#14305a;font-size:18px}.customer-category-dialog label{display:flex;flex-direction:column;gap:6px;color:#39506f;font-size:13px;font-weight:600}
.customer-category-dialog input{min-height:40px;padding:0 10px;border:1px solid #d3deee;border-radius:9px;font:inherit}.customer-category-dialog input:focus{border-color:#4b8df0;box-shadow:0 0 0 3px rgba(75,141,240,.18);outline:0}
.customer-category-dialog p{margin:8px 0 0;color:#b5362a;font-size:13px}.customer-category-dialog p:empty{display:none}.customer-category-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}

/* 分类、地区选择弹窗 + 客户资料窗提升（11-08） */
body.erp-commercial #customerDialog{width:min(860px,94vw);border-radius:18px;box-shadow:0 28px 70px rgba(16,42,86,.3)}
body.erp-commercial #customerDialog::backdrop{background:rgba(16,32,62,.5);backdrop-filter:blur(3px)}
body.erp-commercial #customerDialog h3{position:relative;padding-left:13px;color:#14305a;font-size:16px;font-weight:700}
body.erp-commercial #customerDialog h3::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:4px;background:linear-gradient(180deg,#4b8df0,#2463c7)}
body.erp-commercial #customerDialog input:focus,body.erp-commercial #customerDialog select:focus,body.erp-commercial #customerDialog textarea:focus{border-color:#4b8df0;box-shadow:0 0 0 3px rgba(75,141,240,.18);outline:0}

/* 客户列表销售员按钮（11-08） */
.customer-owner-count{display:inline-block;min-width:20px;margin-left:7px;padding:0 6px;border-radius:9px;background:#e6f0fd;color:#2a62ad;font-size:12px;font-weight:700;line-height:18px;text-align:center}
body.erp-commercial main .customer-option-row button[aria-pressed=true] .customer-owner-count{background:rgba(255,255,255,.24);color:#fff}


/* 客户档案弹窗高级美工（11-08 用户要求）：浅底 + 白卡片分组、吸顶抬头、输入框浅底聚焦光圈、按钮渐变。只改外观。 */
body.erp-commercial #customerDialog{width:min(920px,94vw);padding:0 28px 24px;background:linear-gradient(180deg,#eef3fb 0,#f5f8fc 220px,#f5f8fc 100%);border:1px solid #d9e3f1;border-radius:20px;box-shadow:0 36px 90px rgba(12,32,66,.38),0 8px 22px rgba(12,32,66,.16)}
body.erp-commercial #customerDialog::backdrop{background:rgba(12,26,52,.55);backdrop-filter:blur(4px)}
body.erp-commercial #customerDialog .customer-dialog-top{top:0;margin:0 -28px 18px;padding:18px 28px;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border-bottom:1px solid #dfe7f2;box-shadow:0 6px 18px rgba(20,48,90,.06)}
body.erp-commercial #customerDialog .customer-dialog-top h2{position:relative;padding-left:14px;color:#102a52;font-size:21px;font-weight:800;letter-spacing:.02em}
body.erp-commercial #customerDialog .customer-dialog-top h2::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:5px;border-radius:5px;background:linear-gradient(180deg,#3b82f6,#1f5bb8)}
body.erp-commercial #customerDialog :is(.customer-top-actions,.customer-form-actions) button{min-height:40px;padding:0 22px;border-radius:10px;font-weight:700;background:#fff;border:1px solid #cdd9ea;color:#4a6283;box-shadow:0 1px 2px rgba(20,48,90,.08)}
body.erp-commercial #customerDialog :is(.customer-top-actions,.customer-form-actions) button:hover:not(:disabled){background:#eef3fa;color:#4a6283}
body.erp-commercial #customerDialog :is(#saveCustomerTop,#saveCustomer){background:linear-gradient(180deg,#3577e0,#1f5bb8);border-color:#1d55ad;color:#fff;box-shadow:0 6px 16px rgba(31,91,184,.3),inset 0 1px 0 rgba(255,255,255,.25)}
body.erp-commercial #customerDialog :is(#saveCustomerTop,#saveCustomer):hover:not(:disabled){background:linear-gradient(180deg,#2c6bd2,#1a4f9f);color:#fff}
body.erp-commercial #customerDialog :is(.customer-top-actions,.customer-form-actions) button:focus-visible{outline:2px solid #2869cf;outline-offset:2px}
body.erp-commercial #customerDialog .customer-fields{padding:20px 22px 22px;background:#fff;border:1px solid #e0e8f3;border-radius:16px;box-shadow:0 8px 24px rgba(20,48,90,.07);column-gap:18px;row-gap:14px}
body.erp-commercial #customerDialog #newCustomerOwnership{margin-top:14px}
body.erp-commercial #customerDialog .customer-fields h3.wide{margin:6px -22px 2px;padding:12px 22px 12px 36px;background:linear-gradient(90deg,#f1f6fe,#fff 70%);border-top:1px solid #e6edf7;border-bottom:1px solid #e6edf7}
body.erp-commercial #customerDialog .customer-fields h3.wide:first-child{margin-top:-20px;border-top:0;border-radius:16px 16px 0 0}
body.erp-commercial #customerDialog .customer-fields h3.wide::before{left:22px;top:13px;bottom:13px}
body.erp-commercial #customerDialog .customer-fields label{color:#3d5577;font-size:13px;font-weight:600;letter-spacing:.02em}
body.erp-commercial #customerDialog .customer-fields :is(input,select,textarea){min-height:42px;background:#f6f9fd;border:1px solid #d6e0ee;border-radius:10px;color:#1d3150;font-weight:500;box-shadow:inset 0 1px 2px rgba(20,48,90,.05);transition:background .15s,border-color .15s,box-shadow .15s}
body.erp-commercial #customerDialog .customer-fields textarea{min-height:72px}
body.erp-commercial #customerDialog .customer-fields :is(input,select,textarea):hover:not([readonly]){background:#fff;border-color:#bccde4}
body.erp-commercial #customerDialog .customer-fields :is(input,select,textarea):focus{background:#fff}
body.erp-commercial #customerDialog .customer-fields input[readonly]:not(.customer-pick-field){background:repeating-linear-gradient(135deg,#f3f6fa 0 8px,#eef2f7 8px 16px);border-style:dashed;color:#6b7f99}
body.erp-commercial #customerDialog .customer-fields input.customer-pick-field{cursor:pointer;padding-right:34px;background:#f6f9fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%232463c7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center}
body.erp-commercial #customerDialog .customer-fields input.customer-pick-field:hover{background-color:#fff}
body.erp-commercial #customerDialog #identityMessage:not(:empty),body.erp-commercial #customerDialog #formError:not(:empty){margin:12px 0 0;padding:10px 14px;border-radius:10px;background:#fff6e8;border:1px solid #f1d29b;color:#8a5a10;font-weight:600}
body.erp-commercial #customerDialog #formError:not(:empty){background:#fdeeee;border-color:#efc4c4;color:#b3261e}
body.erp-commercial #customerDialog form>section{margin-top:16px;padding:18px 22px;background:#fff;border:1px solid #e0e8f3;border-radius:16px;box-shadow:0 8px 24px rgba(20,48,90,.07)}
body.erp-commercial #customerDialog form>section:not(:has(*)){display:none}
body.erp-commercial #customerDialog form>section h3{margin-top:0}
body.erp-commercial #customerDialog .customer-form-actions{position:sticky;bottom:-24px;margin:18px -28px -24px;padding:14px 28px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-top:1px solid #dfe7f2;border-radius:0 0 20px 20px}
@media(max-width:720px){body.erp-commercial #customerDialog{padding:0 16px 18px}body.erp-commercial #customerDialog .customer-dialog-top{margin:0 -16px 14px;padding:14px 16px}body.erp-commercial #customerDialog .customer-fields{padding:16px}body.erp-commercial #customerDialog .customer-fields h3.wide{margin-left:-16px;margin-right:-16px;padding-left:30px}body.erp-commercial #customerDialog .customer-fields h3.wide:first-child{margin-top:-16px}body.erp-commercial #customerDialog .customer-fields h3.wide::before{left:16px}body.erp-commercial #customerDialog .customer-form-actions{bottom:-18px;margin:16px -16px -18px;padding:12px 16px}}

/* 拦住保存的警告一直闪烁（11-09 用户定），改好后自动停止 */
@keyframes customer-warning-blink{0%,100%{background:#fdeeee;border-color:#e08a8a;box-shadow:0 0 0 0 rgba(198,40,40,0)}50%{background:#f9c9c9;border-color:#c62828;box-shadow:0 0 0 4px rgba(198,40,40,.22)}}
body.erp-commercial #customerDialog :is(#identityMessage,#formError).is-alerting:not(:empty){padding:14px 18px;border:2px solid #e08a8a;color:#b3261e;font-size:16px;font-weight:800;animation:customer-warning-blink 1s ease-in-out infinite}
body.erp-commercial #customerDialog :is(#identityMessage,#formError).is-alerting:not(:empty)::before{content:"⚠ ";}
