/* CRM 全面升级模块 */
.sidebar .submenu button.menu-query[data-module^="crm-"]::after,
.sidebar .submenu button[data-module^="crm-"]::after{content:"新";float:right;margin-left:6px;padding:1px 5px;border-radius:999px;background:#dff8ee;color:#11845f;font-size:10px;font-weight:800;text-shadow:none}
.crm-complete-loading,.crm-complete-error{min-height:150px;display:grid;place-content:center;text-align:center}
.crm-complete-error b{color:var(--danger)}
.crm-complete-error p{max-width:680px;color:var(--muted)}
.crm-ai-result{min-height:150px;white-space:pre-wrap;line-height:1.8;margin-top:14px}
.api-secret-once{display:grid;gap:14px;padding:18px;border:1px solid #f0b766;border-radius:14px;background:#fff8e8;color:#704400}
.api-secret-once code{display:block;padding:14px;border-radius:10px;background:#172f3d;color:#d9fff5;overflow-wrap:anywhere;user-select:all}
.crm-complete-error .button{justify-self:center}
.crm-readonly-field{display:grid;gap:4px;padding:10px 12px;border:1px solid #cfe1e6;border-radius:10px;background:#f3f9fa}.crm-readonly-field small{color:var(--muted)}
@media(max-width:760px){
  .crm-complete-loading,.crm-complete-error{min-height:110px}
  .crm-ai-result{min-height:110px}
}
