.crm-insights-dialog{width:min(1080px,calc(100vw - 24px));max-width:1080px;max-height:90vh;overflow:auto;border:1px solid #d7dfed;border-radius:14px;padding:20px;color:#172d48;background:white}.crm-insights-dialog::backdrop{background:#12243b66}.crm-insights-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-20px;background:white;z-index:2;padding:8px 0}.crm-insights-dialog h2{font-size:19px;margin:0}.crm-insights-dialog h3{font-size:15px;margin:18px 0 8px}.crm-insights-dialog p{line-height:1.5}.crm-insights-error{color:#b42318;white-space:pre-wrap}.crm-insights-error:empty{display:none}.crm-insights-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:14px 0}.crm-insights-form label{display:flex;flex-direction:column;gap:6px;flex:1 1 200px;font-size:13px;min-width:0}.crm-insights-form input,.crm-insights-form select{width:100%;min-width:0;min-height:35px}.crm-insights-form input[type=checkbox]{width:18px;min-height:18px}.crm-insights-table{overflow:auto;max-height:50vh;border:1px solid #e1e7f0;border-radius:8px;margin:10px 0}.crm-insights-table table{width:100%;border-collapse:collapse;table-layout:auto!important}.crm-insights-table th{position:sticky;top:0;background:#f0f4fb;color:#172d48}.crm-insights-table th,.crm-insights-table td{padding:10px;text-align:left;border-bottom:1px solid #e8edf4;overflow-wrap:anywhere;min-width:100px;line-height:1.4}.crm-insights-table td .btn{white-space:normal}.crm-insights-purchase{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.crm-insights-warning{padding:10px;background:#fff7dd;border-radius:6px}@media(max-width:600px){.crm-insights-dialog{padding:12px}.crm-insights-dialog>header{top:-12px}.crm-insights-dialog h2{font-size:16px}.crm-insights-form label{flex-basis:100%}#crmInsightsButton{font-size:11px;max-width:110px;white-space:normal}}@media print{#crmInsightsButton,.crm-insights-purchase{display:none}}

.crm-insights-dialog>header>[data-close]{flex-shrink:0;white-space:nowrap}.crm-insights-dialog h2{flex:1;min-width:0}
