html{font-size:10px;box-sizing:border-box}:root{--green-950: #001f3e;--green-900: #001f3e;--green-850: #0b3a6b;--green-800: #0b3a6b;--green-700: #0b3a6b;--green-600: #14609a;--green-500: #238cc8;--green-400: #469fd2;--green-300: #8ac2e4;--green-200: #c4e0f2;--green-100: #e4f1f9;--green-50: #eef6fb;--green-25: #e8f2fa;--bg-base: #f7fbfc;--bg-canvas: #f7fbfc;--bg-surface: #ffffff;--bg-surface-subtle: #f1f8fa;--bg-surface-hover: #e4f0fa;--bg-overlay: rgba(0, 23, 47, .45);--text-primary: #0a2342;--text-secondary: #2c4766;--text-muted: #5b7088;--text-disabled: #94a3b8;--text-heading: #001f3e;--text-label: #14304f;--primary: #0b3a6b;--primary-hover: #001f3e;--primary-light: #dcecf7;--primary-subtle: #eef6fb;--success: #0f7f74;--success-bg: #e6f5f3;--success-border: #b9e3de;--warning: #925d07;--warning-bg: #fdf7eb;--warning-border: #f6e1b3;--danger: #b91c1c;--danger-hover: #991b1b;--danger-light: #fbeeed;--danger-border: #f6caca;--info: #238cc8;--info-bg: #eef6fb;--info-border: #c4e0f1;--border: #e4e7eb;--border-light: #edeff2;--border-dark: #c9cfd6;--shadow-xs: 0 1px 2px rgba(0, 31, 62, .04);--shadow-sm: 0 1px 2px rgba(0, 32, 63, .05), 0 6px 18px -10px rgba(0, 32, 63, .18);--shadow-md: 0 4px 10px -2px rgba(0, 31, 62, .06), 0 2px 4px -2px rgba(0, 31, 62, .03);--shadow-lg: 0 14px 28px -6px rgba(0, 31, 62, .1), 0 6px 12px -3px rgba(0, 31, 62, .05);--shadow-glow: 0 0 0 2px rgba(16, 75, 127, .16);--sidebar-width: 148px;--sidebar-collapsed-width: 42px;--header-height: 35px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 11px;--radius-pill: 9999px;--transition: .16s cubic-bezier(.4, 0, .2, 1)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:var(--bg-base);color:var(--text-primary);font-size:10px;line-height:1.4;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}h1,h2,h3,h4,h5,h6{color:var(--text-primary);font-weight:600;letter-spacing:-.015em;line-height:1.25}a{color:var(--primary);text-decoration:none;transition:color var(--transition)}a:hover{color:var(--primary-hover)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;height:27px;border-radius:8px;font-weight:600;font-size:10px;cursor:pointer;border:1px solid transparent;transition:all var(--transition);font-family:inherit;white-space:nowrap;-webkit-user-select:none;user-select:none}.btn-sm{padding:0 8px;height:22px;font-size:9.5px;border-radius:6px}.btn-lg{padding:0 14px;height:31px;font-size:11px;border-radius:9px}.btn:disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.btn-primary{background-color:var(--primary, #104b7f);color:#fff;border-color:transparent;box-shadow:0 5px 13px -6px #104b7fb3;font-weight:600}.btn-primary:hover:not(:disabled){background-color:var(--primary-hover, #0b3a6b);border-color:transparent;box-shadow:0 8px 18px -8px #104b7fcc;transform:translateY(-1px)}.btn-primary:focus-visible{outline:none;box-shadow:var(--shadow-glow)}.btn-secondary{background-color:var(--bg-surface, #ffffff);color:var(--text-primary, #0a2342);border-color:var(--border, #e4e7eb);box-shadow:none;font-weight:600}.btn-secondary:hover:not(:disabled){background-color:var(--bg-surface-subtle, #f1f8fc);border-color:var(--border-dark, #c9cfd6);color:var(--text-primary, #0a2342);box-shadow:0 5px 11px -6px #00203f59}.btn-secondary:focus-visible{outline:none;border-color:var(--primary);box-shadow:var(--shadow-glow)}.btn-outline-primary{background-color:transparent;color:var(--primary, #104b7f);border-color:var(--primary, #104b7f);font-weight:600}.btn-outline-primary:hover:not(:disabled){background-color:var(--green-50, #eef6fb);border-color:var(--primary-hover, #0b3a6b);color:var(--primary-hover, #0b3a6b)}.btn-danger,.btn-destructive{background-color:var(--danger-light, #fbeeed);color:var(--danger, #b91c1c);border-color:var(--danger-border, #f6caca);font-weight:600}.btn-danger:hover:not(:disabled),.btn-destructive:hover:not(:disabled){background-color:var(--danger, #b91c1c);color:#fff;border-color:var(--danger, #b91c1c);box-shadow:var(--shadow-sm)}.btn-ghost{background-color:transparent;color:var(--text-secondary, #334155);border-color:transparent;box-shadow:none;font-weight:600}.btn-ghost:hover:not(:disabled){background-color:var(--green-50, #eef6fb);color:var(--text-primary, #0a2342);border-color:transparent}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:7px;background-color:transparent;border:1px solid transparent;color:var(--text-secondary, #334155);cursor:pointer;transition:all var(--transition);padding:0;flex-shrink:0}.btn-icon:hover{background-color:var(--bg-surface-hover, #f2f4f6);color:var(--text-primary, #0a2342);border-color:var(--border-light, #edeff2)}.btn-icon.active{background-color:var(--primary-light, #dfe6ed);color:var(--primary, #104b7f)}.btn-edit:hover{color:var(--primary);background-color:var(--primary-light)}.btn-delete:hover{color:var(--danger);background-color:var(--danger-light)}.btn-icon-svg{margin-right:2px;flex-shrink:0}.input,.filter-select,.search-input,.crm-form-input,.crm-form-select,.crm-input,.crm-select,.form-input,.form-control,.field-input,.crm-compact-input,.crm-compact-select,.form-select{width:100%;height:27px;padding:0 9px;background-color:var(--bg-surface, #ffffff);border:1px solid var(--border, #e4e7eb);border-radius:8px;color:var(--text-primary, #0a2342);font-family:inherit;font-size:10.5px;font-weight:450;transition:border-color var(--transition, .15s ease),box-shadow var(--transition, .15s ease),background-color var(--transition, .15s ease);box-sizing:border-box}.input:hover,.filter-select:hover,.search-input:hover,.crm-form-input:hover,.crm-form-select:hover,.crm-input:hover,.crm-select:hover,.form-input:hover,.form-control:hover,.field-input:hover,.crm-compact-input:hover,.crm-compact-select:hover,.form-select:hover{border-color:var(--border-dark, #c9cfd6)}.input:focus,.filter-select:focus,.search-input:focus,.crm-form-input:focus,.crm-form-select:focus,.crm-input:focus,.crm-select:focus,.form-input:focus,.form-control:focus,.field-input:focus,.crm-compact-input:focus,.crm-compact-select:focus,.form-select:focus{outline:none;border-color:#1a6fa7;box-shadow:0 0 0 3px #1a6da538;background-color:#fff}.input:disabled,.crm-form-input:disabled,.filter-select:disabled,.crm-form-select:disabled,.crm-input:disabled,.crm-select:disabled,.form-input:disabled,.form-control:disabled,.field-input:disabled,.crm-compact-input:disabled,.crm-compact-select:disabled,.form-select:disabled{background-color:var(--bg-surface-subtle, #f8fafc);border-color:#e2e5e8;color:var(--text-disabled, #94a3b8);cursor:not-allowed;opacity:.85}.input.error,.crm-form-input.error,.crm-input.error,.form-control.error,.form-input.error,.input.is-invalid,.crm-form-input.is-invalid,.crm-compact-input.is-invalid,.crm-compact-select.is-invalid{border-color:var(--danger, #b91c1c)!important;box-shadow:0 0 0 2px #b91c1c1f!important}.input::placeholder,.search-input::placeholder,.crm-form-input::placeholder,.crm-input::placeholder,.form-control::placeholder,.form-input::placeholder,.field-input::placeholder,.crm-compact-input::placeholder{color:var(--text-muted, #64748b);font-weight:400}select.filter-select,select.crm-form-select,select.crm-select,select.form-control,select.form-select,select.crm-compact-select,select.field-input,select.size-select,select.operator-select,select.table-role-select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;padding-right:24px;cursor:pointer}select.filter-select:hover:not(:disabled),select.crm-form-select:hover:not(:disabled),select.crm-select:hover:not(:disabled),select.form-control:hover:not(:disabled),select.form-select:hover:not(:disabled),select.crm-compact-select:hover:not(:disabled){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")}select option{background-color:#fff;color:var(--text-primary, #0a2342);padding:5px 8px;font-size:11px}select option:checked{background-color:var(--green-50, #eef6fb);color:var(--primary, #104b7f);font-weight:600}select option:disabled{color:var(--text-disabled, #94a3b8);font-style:italic}select optgroup{font-weight:700;color:var(--text-muted, #64748b);font-size:9.5px;background-color:#f8fafc;padding:4px}textarea.input,textarea.crm-form-input,textarea.crm-input,textarea.form-control,textarea.field-input,textarea.crm-compact-textarea{height:auto;min-height:56px;padding:6px 9px;resize:vertical;line-height:1.45}input[type=date],input[type=datetime-local],input[type=time]{font-family:inherit;color:var(--text-primary, #0a2342)}input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=time]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.65;padding:2px;margin-right:-2px;transition:opacity .15s ease,transform .15s ease}input[type=date]::-webkit-calendar-picker-indicator:hover,input[type=datetime-local]::-webkit-calendar-picker-indicator:hover,input[type=time]::-webkit-calendar-picker-indicator:hover{opacity:1}input[type=checkbox],input[type=radio]{accent-color:var(--primary, #104b7f);cursor:pointer;vertical-align:middle;width:13px;height:13px;margin:0;border-radius:3px;transition:filter .12s ease}input[type=radio]{border-radius:50%}input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:2px solid rgba(16,75,127,.28);outline-offset:1px}input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:not-allowed;opacity:.65}.toggle-switch,.crm-switch{position:relative;display:inline-block;width:28px;height:16px;cursor:pointer;flex-shrink:0;vertical-align:middle}.toggle-switch input,.crm-switch input{opacity:0;width:0;height:0;position:absolute}.toggle-slider,.crm-slider{position:absolute;cursor:pointer;inset:0;background-color:#cbd5e1;border:1px solid #94a3b8;border-radius:16px;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.toggle-slider:before,.crm-slider:before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;background-color:#fff;border-radius:50%;box-shadow:0 1px 2px #00000026;transition:transform .16s cubic-bezier(.4,0,.2,1)}.toggle-switch input:checked+.toggle-slider,.crm-switch input:checked+.crm-slider{background-color:var(--primary, #104b7f);border-color:var(--green-800, #0b3a6b)}.toggle-switch input:checked+.toggle-slider:before,.crm-switch input:checked+.crm-slider:before{transform:translate(12px)}.toggle-switch input:focus-visible+.toggle-slider,.crm-switch input:focus-visible+.crm-slider{box-shadow:0 0 0 2px #104b7f40}.toggle-switch input:disabled+.toggle-slider,.crm-switch input:disabled+.crm-slider{opacity:.55;cursor:not-allowed}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.crm-tabs-nav{display:flex;align-items:center;gap:2px;border-bottom:1px solid var(--border, #e2e5e8);background:var(--bg-surface, #ffffff);padding:0 8px;overflow-x:auto}.crm-tab-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;font-size:10px;font-weight:600;color:var(--text-secondary, #64748b);background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:all var(--transition);white-space:nowrap;font-family:inherit}.crm-tab-btn:hover{color:var(--primary, #104b7f);background-color:var(--green-50, #eef6fb)}.crm-tab-btn.active{color:var(--primary, #104b7f);border-bottom-color:var(--primary, #104b7f);background-color:transparent;font-weight:650}.crm-tab-badge{font-size:8.5px;font-weight:600;padding:1px 5px;border-radius:9999px;background:var(--green-100, #e4f1f9);color:var(--primary, #104b7f)}.crm-stat-card{background:var(--bg-surface, #ffffff);border:1px solid var(--border, #e2e5e8);border-radius:var(--radius-lg);padding:9px 14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:65px;text-align:center;box-shadow:var(--shadow-sm);transition:border-color var(--transition)}.crm-stat-card:hover{border-color:#cbd5e1}.crm-stat-value{font-size:19px;font-weight:800;color:var(--text-primary, #0a2342);line-height:1.2;letter-spacing:-.02em}.crm-stat-label{font-size:9px;font-weight:600;color:var(--text-muted, #64748b);text-transform:none;letter-spacing:0;margin-top:2px}.crm-form{display:flex;flex-direction:column;gap:12px}.crm-form-section{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.crm-form-section:last-child{margin-bottom:0}.crm-section-header{display:flex;align-items:center;gap:8px;padding-bottom:4px;border-bottom:1px solid #edeff2;margin-bottom:3px}.crm-section-title{font-size:9.5px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:var(--text-primary);margin:0;white-space:nowrap}.crm-section-line{flex:1;height:1px;background-color:#edeff2}.form-grid,.crm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;align-items:start}.form-group,.crm-form-group{display:flex;flex-direction:column;gap:3px;min-width:0}.form-group--full,.crm-form-group--full{grid-column:1 / -1}.form-label,.crm-form-label,.field-label{font-size:10px;font-weight:600;color:var(--text-label, #14304f);display:flex;align-items:center;gap:3px;line-height:1.3}.required-star,.crm-required-star,.required{color:var(--danger, #b91c1c);font-weight:700}.form-hint,.crm-form-hint,.field-hint,.field-hint-block{font-size:9px;font-weight:400;color:var(--text-muted, #64748b);line-height:1.35;margin-top:1px}.form-error,.crm-form-error,.field-error{color:var(--danger, #b91c1c);font-size:9px;margin-top:2px;font-weight:500;display:flex;align-items:center;gap:3px}.form-actions,.crm-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #edeff2;flex-shrink:0}@media(max-width:640px){.form-grid,.crm-form-grid{grid-template-columns:1fr}}.rf-modal{max-width:720px;max-height:92vh;display:flex;flex-direction:column}.rf-modal-body{padding:14px 18px 0;overflow-y:auto;background:var(--bg-surface-subtle);flex:1;min-height:0}.rf-form{display:flex;flex-direction:column;gap:12px}.rf-section{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:12px 14px 14px;box-shadow:var(--shadow-xs)}.rf-section-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--border-light)}.rf-section-icon{width:28px;height:28px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--green-50);color:var(--green-700);border:1px solid var(--green-100)}.rf-section-text{min-width:0}.rf-section-title{font-size:11.5px;font-weight:700;color:var(--text-heading);margin:0;line-height:1.25;letter-spacing:-.005em}.rf-section-sub{font-size:9.5px;color:var(--text-muted);margin:2px 0 0;line-height:1.35}.rf-section .form-grid{gap:11px 14px}.rf-section .form-label{font-size:10.5px}.rf-note{font-size:10px;color:var(--text-secondary);margin:-2px 0 10px;line-height:1.4}.rf-inline{display:flex;gap:6px;align-items:stretch}.rf-inline>:first-child{flex:1;min-width:0}.rf-inline .btn{white-space:nowrap;height:28px}.rf-section textarea.input{resize:vertical;min-height:64px}.rf-actions{position:sticky;bottom:0;z-index:2;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0 -18px;padding:10px 18px 12px;background:var(--bg-surface);border-top:1px solid var(--border);box-shadow:0 -6px 14px -10px #001f3e40}.rf-actions .rf-actions-hint{margin-right:auto;font-size:9.5px;color:var(--text-muted)}.rf-inline-create{background:var(--bg-surface);border:1px dashed var(--border-dark);border-radius:var(--radius-lg);padding:12px 14px}.rf-inline-create-head{margin-bottom:10px}.rf-inline-create-head h3{font-size:12px;font-weight:700;color:var(--text-heading);margin:0 0 2px}.rf-inline-create-head p{font-size:10px;color:var(--text-secondary);margin:0}.rf-inline-create .rf-actions{position:static;margin:0;padding:10px 0 0;box-shadow:none;background:transparent}.rf-inline-create .rf-section{box-shadow:none}.app-shell{display:flex;flex-direction:column;height:100vh;overflow:hidden;background-color:var(--bg-base)}.app-body{display:flex;flex:1;min-height:0;overflow:hidden;position:relative}.app-main{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.app-content{flex:1;overflow-y:auto;overflow-x:hidden;padding:8px 12px 14px;background-color:var(--bg-base);display:flex;flex-direction:column;min-height:0}.crm-header{height:var(--header-height);background-color:var(--green-850);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 12px;position:relative;z-index:100;box-shadow:0 1px 3px #0000001f;flex-shrink:0}.header-brand-wrap{display:flex;align-items:center;gap:6px}.header-brand-logo{display:flex;align-items:center;gap:4px;text-decoration:none;color:#fff;-webkit-user-select:none;user-select:none}.header-brand-logo:hover{color:#fff;opacity:.96}.header-brand-econz,.header-brand-crm-text{font-size:12.5px;font-weight:750;letter-spacing:.04em;color:#fff;text-transform:uppercase}.header-actions{display:flex;align-items:center;gap:6px}.header-action-icon-btn{background:transparent;border:none;color:#ffffffd9;cursor:pointer;width:21px;height:21px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all var(--transition);position:relative}.header-action-icon-btn:hover{background:#ffffff1f;color:#fff}.header-notification-badge{position:absolute;top:4px;right:4px;width:5px;height:5px;border-radius:50%;background-color:#68b1db;border:1px solid var(--green-850)}.user-menu{position:relative}.user-pill-btn{display:flex;align-items:center;gap:5px;background:transparent;border:none;padding:1px 3px;border-radius:20px;cursor:pointer;color:#fff;transition:background var(--transition)}.user-pill-btn:hover{background:#ffffff1f}.header-user-avatar{width:20px;height:20px;border-radius:50%;background-color:#fff;color:var(--green-850);font-weight:700;font-size:8.5px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.header-user-name{font-size:10px;font-weight:550;color:#fff;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-dropdown{position:absolute;top:calc(100% + 4px);right:0;width:160px;background-color:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);padding:3px;animation:slideDown .15s cubic-bezier(.16,1,.3,1);transform-origin:top right;z-index:200}@keyframes slideDown{0%{opacity:0;transform:scale(.96) translateY(-5px)}to{opacity:1;transform:scale(1) translateY(0)}}.user-info{padding:4px 6px}.user-name{font-weight:650;font-size:10.5px;color:var(--text-primary)}.user-email{font-size:9px;color:var(--text-muted);margin-top:1px}.dropdown-divider{border:0;border-top:1px solid var(--border-light);margin:3px 0}.dropdown-item{display:flex;align-items:center;gap:5px;width:100%;padding:4px 6px;background:transparent;border:none;color:var(--text-secondary);font-size:9.5px;font-weight:500;cursor:pointer;border-radius:var(--radius-sm);text-align:left;transition:all var(--transition)}.dropdown-item:hover{background-color:var(--bg-surface-hover);color:var(--text-primary)}.dropdown-item--danger:hover{background-color:var(--danger-light);color:var(--danger)}.sidebar{width:var(--sidebar-width);background-color:var(--bg-base);border-right:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0;height:100%;transition:width .22s cubic-bezier(.4,0,.2,1);overflow-y:auto;overflow-x:hidden;padding:6px 4px}.sidebar.collapsed{width:var(--sidebar-collapsed-width);padding:6px 3px}.sidebar.collapsed .nav-item span,.sidebar.collapsed .sidebar-toggle-text{display:none}.sidebar.collapsed .nav-section-title{height:1px;margin:8px 6px;padding:0;overflow:hidden;font-size:0;line-height:0;background:var(--border-dark)}.sidebar.collapsed .nav-item{justify-content:center;padding:4px 0}.sidebar-footer{margin-top:auto;padding-top:6px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:1px}.nav-item--button{width:100%;background:transparent;border:0;font-family:inherit;text-align:left}.nav-badge{margin-left:auto;min-width:16px;padding:0 5px;height:15px;border-radius:99px;background:#d97706;color:#fff;font-size:9px;font-weight:800;line-height:15px;text-align:center}.sidebar-footer-toggle{margin-top:auto;padding-top:6px;display:flex}.sidebar-toggle-control-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:5px;height:24px;background:transparent;border:1px solid transparent;border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;transition:all var(--transition);font-size:10px;font-weight:500;padding:0 4px}.sidebar-toggle-control-btn:hover{background-color:var(--green-50);color:var(--green-850);border-color:var(--border)}.sidebar-nav{display:flex;flex-direction:column;gap:1px}.nav-section-title{padding:4px 4px 1px;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted)}.nav-item{display:flex;align-items:center;gap:6px;padding:2.5px 6px;color:var(--text-secondary);border-radius:var(--radius-sm);font-weight:500;font-size:10px;transition:all var(--transition);text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none;min-height:24px}.nav-item:hover{background-color:var(--green-50);color:var(--green-850)}.nav-item.active{background-color:var(--green-100);color:var(--green-900);font-weight:600}.nav-icon{color:currentColor;flex-shrink:0;width:13px;height:13px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:12px;gap:12px;flex-wrap:wrap}.page-actions{display:flex;gap:7px;align-items:center}.page-title{font-size:21px;font-weight:800;color:var(--text-primary);letter-spacing:-.025em;line-height:1.15}.page-subtitle{color:var(--text-muted);font-size:10.5px;margin-top:3px}.workspace-breadcrumbs{display:flex;align-items:center;gap:4px;font-size:10px}.breadcrumb-back-link{display:inline-flex;align-items:center;gap:3px;color:var(--text-secondary);text-decoration:none;font-weight:500}.breadcrumb-back-link:hover{color:var(--primary)}.breadcrumb-separator{color:var(--text-muted);font-size:9.5px}.breadcrumb-current{font-weight:650;color:var(--text-primary)}.table-wrapper{background-color:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow-x:auto;max-width:100%;box-shadow:var(--shadow-sm)}.crm-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.crm-table th{background-color:var(--bg-surface-subtle);padding:7px 8px;font-size:8.5px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border);-webkit-user-select:none;user-select:none}.crm-table th.sortable{cursor:pointer}.crm-table th.sort-active{color:var(--primary)}.sort-icon{margin-left:2px;font-size:8px}.crm-table td{padding:6px 8px;border-bottom:1px solid var(--border-light);font-size:10px;color:var(--text-primary);vertical-align:middle}.crm-table tbody tr:last-child td{border-bottom:none}.crm-table tbody tr.clickable{cursor:pointer;transition:background-color var(--transition)}.crm-table tbody tr.clickable:hover{background-color:var(--bg-surface-hover)}.crm-toolbar{display:flex;align-items:center;gap:8px;padding:0;background-color:transparent;border:0;border-radius:0;margin-bottom:8px;flex-wrap:wrap;box-shadow:none}.col-actions{width:60px;text-align:right;position:sticky;right:0;background-color:var(--bg-surface);z-index:1;border-left:1px solid var(--border-light)}.crm-table th.col-actions{background-color:var(--bg-surface-subtle);z-index:2;border-left:1px solid var(--border-light)}.toolbar-container{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.search-bar{position:relative;width:210px;display:inline-flex}.search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.search-input{padding-left:28px;padding-right:24px;border-radius:9px;height:29px;font-size:10.5px}.search-clear{position:absolute;right:7px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:var(--text-muted);cursor:pointer;display:flex}.search-clear:hover{color:var(--text-primary)}.filter-panel{display:flex;align-items:center;gap:8px;padding:8px 10px;background-color:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);flex-wrap:wrap;box-shadow:var(--shadow-xs)}.filter-group{display:flex;align-items:center;gap:4px}.filter-label{font-size:9.5px;font-weight:550;color:var(--text-secondary);white-space:nowrap}.filter-select{width:auto;min-width:95px;height:27px;padding:2px 24px 2px 9px;border:1px solid var(--border, #e4e7eb);border-radius:8px;background-color:var(--bg-surface, #ffffff);font-size:10px;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 7px center;cursor:pointer;color:var(--text-primary, #0a2342);transition:border-color var(--transition, .15s ease),box-shadow var(--transition, .15s ease)}.filter-select:hover:not(:disabled){border-color:#9ba6b3;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")}.filter-select:focus{outline:none;border-color:#1a6fa7;box-shadow:0 0 0 3px #1a6da538}.pagination{display:flex;align-items:center;justify-content:space-between;padding:4px 6px;background-color:var(--bg-surface);border:1px solid var(--border);border-top:none;border-radius:0 0 var(--radius-md) var(--radius-md);font-size:9.5px}.pagination-info{font-size:9.5px;color:var(--text-secondary)}.pagination-controls{display:flex;align-items:center;gap:3px}.btn-page{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background-color:var(--bg-surface);border:1px solid var(--border);border-radius:7px;color:var(--text-primary);cursor:pointer;font-size:9.5px;transition:all var(--transition)}.btn-page:hover:not(:disabled){background-color:var(--bg-surface-hover);border-color:var(--primary);color:var(--primary)}.btn-page.active{background-color:var(--primary-light);border-color:var(--primary);color:var(--primary);font-weight:600}.btn-page:disabled{opacity:.4;cursor:not-allowed}.page-indicator{font-size:9.5px;font-weight:500;margin:0 2px;color:var(--text-secondary)}.page-size-control{display:flex;align-items:center;gap:4px;font-size:9.5px;color:var(--text-secondary)}.card{background-color:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:10px 12px;margin-bottom:8px;box-shadow:var(--shadow-sm)}.card h3{font-size:11px;font-weight:700;color:var(--text-primary);margin-bottom:5px;padding-bottom:3px;border-bottom:1px solid var(--border-light)}.detail-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:5px 8px}.detail-item{display:flex;flex-direction:column;gap:1.5px;min-width:0}.detail-item--full{grid-column:1 / -1}.detail-label{font-size:8.5px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.detail-value{font-size:10px;color:var(--text-primary);overflow-wrap:anywhere;word-break:break-word}.detail-value a{font-weight:500}.status-badge{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:var(--radius-pill);font-size:9px;font-weight:600;letter-spacing:.01em;border:0}.badge-green,.badge-won,.badge-customer,.badge-connected,.badge-sent{background-color:#edf5fb;color:#0f4679;border-color:#ddecf7}.badge-blue,.badge-in-progress,.badge-lead{background-color:#e8ecf0;color:#0b3a6b;border-color:#c6d1dd}.badge-amber,.badge-opportunity,.badge-warning{background-color:#fdf6e7;color:#8c5d08;border-color:#f5dfb0}.badge-red,.badge-lost,.badge-unqualified,.badge-cancelled,.badge-danger{background-color:#f9eded;color:#9c2727;border-color:#f3cccc}.badge-gray,.badge-other,.badge-sql,.badge-low-engagement,.badge-mql,.badge-high-engagement,.badge-remarketing,.badge-purple,.badge-indigo,.badge-teal{background-color:#edeff2;color:#424c58;border-color:#d6dbe1}.status-dot{width:4px;height:4px;border-radius:50%;background-color:currentColor;flex-shrink:0}.state-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 16px;text-align:center;background-color:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);margin-top:6px;box-shadow:var(--shadow-sm)}.state-icon{color:var(--text-muted);margin-bottom:5px}.state-icon--error{color:var(--danger)}.state-title{font-size:12px;font-weight:700;margin-bottom:3px;color:var(--text-primary)}.state-title--error{color:var(--danger)}.state-text{color:var(--text-muted);font-size:10.5px;margin-bottom:8px;max-width:300px}.spinner{width:15px;height:15px;border:2px solid var(--primary-light);border-radius:50%;border-top-color:var(--primary);animation:spin .8s linear infinite;margin-bottom:5px}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop,.crm-modal-backdrop{position:fixed;inset:0;background-color:#0f172a7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:14px;animation:fadeIn .15s ease}.modal-box,.crm-modal-container{background-color:var(--bg-surface);border:1px solid var(--border, #e4e7eb);border-radius:14px;box-shadow:0 20px 48px -12px #0f172a38,0 0 1px 1px #0f172a0d;width:100%;max-width:620px;max-height:88vh;display:flex;flex-direction:column;overflow:hidden;animation:modalIn .2s cubic-bezier(.16,1,.3,1)}.crm-modal-container--sm{max-width:440px}.crm-modal-container--md{max-width:620px}.crm-modal-container--lg{max-width:820px}.crm-modal-container--xl{max-width:960px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalIn{0%{opacity:0;transform:scale(.97) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}.details-header,.crm-modal-header{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:1px solid #f1f5f9;background-color:#fff;flex-shrink:0;gap:12px}.crm-modal-header-left{display:flex;align-items:center;gap:10px;min-width:0}.crm-modal-header-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background-color:var(--green-50, #eef6fb);color:var(--green-700, #104b7f);border:1px solid var(--green-200, #d7e9f6)}.crm-modal-header-text{display:flex;flex-direction:column;gap:1.5px;min-width:0}.details-title,.crm-modal-title{font-size:14px;font-weight:800;color:var(--text-heading, #001f3e);letter-spacing:-.015em;margin:0;line-height:1.25}.crm-modal-subtitle{font-size:10.5px;font-weight:450;color:var(--text-muted, #64748b);margin:0;line-height:1.35}.crm-modal-close-btn{width:26px;height:26px;border-radius:8px;border:none;background:transparent;color:var(--text-muted, #64748b);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease;flex-shrink:0;padding:0}.crm-modal-close-btn:hover{background:#f1f5f9;color:var(--text-primary, #0a2342)}.crm-header-left{display:flex;align-items:center;gap:10px;min-width:0}.crm-type-badge-icon{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background-color:var(--green-50, #eef6fb);color:var(--green-700, #104b7f)}.crm-header-text-block{display:flex;flex-direction:column;gap:1.5px;min-width:0}.crm-modal-main-title{font-size:14px;font-weight:800;color:var(--text-heading, #001f3e);letter-spacing:-.015em;line-height:1.25}.crm-modal-main-subtitle{font-size:10.5px;color:var(--text-muted, #64748b);line-height:1.35}.crm-modal-body{padding:16px 20px;overflow-y:auto;flex:1;min-height:0}.confirm-box{max-width:350px;padding:18px 20px;text-align:center;border-radius:14px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 20px 48px -12px #0f172a38,0 0 1px 1px #0f172a0d}.confirm-icon{width:36px;height:36px;background-color:#fef2f2;color:#ef4444;border:1px solid #fee2e2;border-radius:10px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}.confirm-title{font-size:13.5px;font-weight:700;color:var(--text-heading, #001f3e);margin-bottom:5px}.confirm-message{color:var(--text-secondary, #334155);margin-bottom:14px;font-size:11px;line-height:1.45}.confirm-actions{display:flex;gap:8px;justify-content:center}.confirm-actions .btn{height:28px;padding:0 14px;border-radius:8px;font-size:10.5px;font-weight:600}.toast-container{position:fixed;bottom:14px;right:14px;z-index:1000;display:flex;flex-direction:column;gap:6px}.toast{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background-color:var(--green-950);color:#f7f8fa;border-radius:10px;box-shadow:var(--shadow-lg);min-width:200px;max-width:320px;border-left:3px solid var(--primary);animation:slideLeft .2s cubic-bezier(.16,1,.3,1)}.toast--success{border-left-color:#5aa9d8}.toast--error{border-left-color:#f87171}.toast--warning{border-left-color:#fbbf24}.toast--info{border-left-color:#60a5fa}.toast-message{font-size:10px;font-weight:500}.toast-close{background:none;border:none;color:#fff9;font-size:13px;cursor:pointer;padding:0;margin-left:8px;line-height:1}.toast-close:hover{color:#fff}@keyframes slideLeft{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.login-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center,#ffffff 0%,var(--bg-base) 100%);padding:24px}.login-card{width:100%;max-width:290px;background-color:var(--bg-surface);border:1px solid var(--border);border-radius:14px;padding:18px 16px;text-align:center;box-shadow:0 4px 20px -2px #09356314,0 2px 6px -1px #0000000a}.login-logo{margin-bottom:10px;display:flex;justify-content:center}.login-title{font-size:13.5px;font-weight:700;margin-bottom:3px;color:var(--text-primary);letter-spacing:-.01em}.login-subtitle{color:var(--text-secondary);margin-bottom:12px;font-size:10px}.btn-google{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:31px;padding:4px 10px;background-color:#fff;color:var(--text-primary);border:1px solid var(--border-dark);border-radius:9px;font-size:10.5px;font-weight:600;cursor:pointer;transition:all var(--transition);box-shadow:var(--shadow-xs)}.btn-google:hover:not(:disabled){background-color:var(--color-brand-mint);border-color:var(--color-brand-border);color:var(--color-brand-text)}.btn-google:disabled{opacity:.6;cursor:not-allowed}@media(max-width:991.98px){.sidebar{position:fixed;top:var(--header-height);left:0;height:calc(100vh - var(--header-height));z-index:300;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);width:var(--sidebar-width)!important;background-color:var(--bg-surface);box-shadow:var(--shadow-lg)}.sidebar.mobile-open{transform:translate(0)}.sidebar-backdrop{position:fixed;inset:var(--header-height) 0 0 0;background-color:var(--bg-overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:250;opacity:0;visibility:hidden;transition:all .3s ease}.sidebar-backdrop.visible{opacity:1;visibility:visible}.app-content{padding:16px 14px}}@media(max-width:767.98px){.crm-header{padding:0 14px}.page-header{flex-direction:column;align-items:flex-start;gap:12px}.page-actions{width:100%;flex-wrap:wrap}.toolbar-container{gap:10px}.search-bar{width:100%}.pagination{flex-direction:column;gap:10px;align-items:flex-start}}.bc-title{font-size:12.5px;font-weight:600;color:var(--text-heading);line-height:1.3;word-break:break-word}.bc-amount{font-size:12px;font-weight:600;color:var(--primary);margin-top:2px}.bc-line{font-size:11px;color:var(--text-secondary);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bc-muted{color:var(--text-muted)}.filter-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;margin-left:5px;border-radius:9999px;background:var(--primary);color:#fff;font-size:10px;font-weight:600}html.public-sign,html.public-sign body{background:#f3f7fb}@media(prefers-color-scheme:dark){html.public-sign,html.public-sign body{background:#061a30}}:root{--ease-out: cubic-bezier(.16, 1, .3, 1);--ease-spring: cubic-bezier(.34, 1.56, .64, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--dur-fast: .15s;--dur-base: .25s;--dur-slow: .45s;--gradient-brand: linear-gradient(135deg, #001f3e 0%, #0b3a6b 100%);--gradient-primary: linear-gradient(135deg, #104b7f 0%, #114f83 100%);--gradient-primary-hover: linear-gradient(135deg, #0b3a6b 0%, #104b7f 100%);--gradient-surface: linear-gradient(180deg, #ffffff 0%, #f2f8fc 100%);--ring-focus: 0 0 0 3px rgba(26, 109, 165, .22);--shadow-card: 0 1px 2px rgba(0, 32, 63, .05), 0 6px 18px -10px rgba(0, 32, 63, .18);--shadow-card-hover: 0 2px 4px rgba(0, 32, 63, .06), 0 16px 32px -14px rgba(0, 32, 63, .32);--shadow-pop: 0 18px 40px -12px rgba(0, 32, 63, .35), 0 6px 14px -6px rgba(0, 32, 63, .18);--transition: .18s cubic-bezier(.4, 0, .2, 1)}::selection{background:#1a6da547;color:inherit}@keyframes econz-page-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes econz-fade-in{0%{opacity:0}to{opacity:1}}@keyframes econz-rise{0%{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@keyframes econz-pop{0%{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}@keyframes econz-slide-down{0%{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:none}}@keyframes econz-toast-in{0%{opacity:0;transform:translate(24px) scale(.96)}to{opacity:1;transform:none}}@keyframes econz-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes econz-ping{0%{box-shadow:0 0 #68b1db99}70%,to{box-shadow:0 0 0 7px #68b1db00}}@keyframes econz-ping-green{0%{box-shadow:0 0 #1a6ca480}70%,to{box-shadow:0 0 0 8px #1a6ca400}}@keyframes econz-progress{0%{transform:translate(-100%)}to{transform:translate(350%)}}.app-content>router-outlet+*{animation:econz-page-in var(--dur-slow) var(--ease-out) backwards}.crm-header{background:radial-gradient(60% 220% at 100% 0%,rgba(70,159,210,.22) 0%,transparent 60%),var(--gradient-brand);box-shadow:0 1px #ffffff0f inset,0 2px 10px #00203f47}.header-brand-logo{transition:opacity var(--dur-fast),transform var(--dur-base) var(--ease-out)}.header-brand-logo:hover{transform:translate(1px)}.header-brand-crm-text{background:linear-gradient(90deg,#fff,#c4e0f2);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.header-action-icon-btn{transition:background var(--dur-fast),color var(--dur-fast),transform var(--dur-base) var(--ease-spring)}.header-action-icon-btn:hover{transform:scale(1.12)}.header-action-icon-btn:active{transform:scale(.9)}.header-notification-badge{animation:econz-ping 2.2s ease-out infinite}.user-pill-btn{transition:background var(--dur-fast),transform var(--dur-base) var(--ease-out)}.user-pill-btn:active{transform:scale(.96)}.header-user-avatar{transition:transform var(--dur-base) var(--ease-spring),box-shadow var(--dur-base)}.user-pill-btn:hover .header-user-avatar{transform:scale(1.1);box-shadow:0 0 0 2px #ffffff40}.user-dropdown{animation:econz-slide-down var(--dur-base) var(--ease-out) backwards;box-shadow:var(--shadow-pop);border-radius:8px}.dropdown-item{transition:background var(--dur-fast),color var(--dur-fast),padding-left var(--dur-base) var(--ease-out)}.dropdown-item:hover{padding-left:9px}.sidebar{--sb-text: #b9cadb;--sb-text-strong: #ffffff;--sb-muted: #7f9db8;--sb-line: #1b4466;--sb-hover: #12406a;--sb-press: #17508a;--sb-active: #14507c;--sb-accent: #5cc8f0;background:linear-gradient(180deg,#0a3153,#072543 55%,#061d36);border-right:1px solid #051a30;transition:width .34s var(--ease-out),box-shadow .34s var(--ease-out),transform .34s var(--ease-out)}.sidebar::-webkit-scrollbar{width:0}.nav-item{position:relative;color:var(--sb-text);transition:background var(--dur-fast),color var(--dur-fast),transform var(--dur-base) var(--ease-out)}.nav-item:before{content:"";position:absolute;left:-4px;top:50%;width:3px;height:0;border-radius:0 3px 3px 0;background:var(--sb-accent);transform:translateY(-50%);transition:height var(--dur-base) var(--ease-spring)}.nav-item.active:before{height:62%}.nav-item:hover{background:var(--sb-hover);color:var(--sb-text-strong);transform:translate(2px)}.nav-item:active{background:var(--sb-press);transform:translate(2px) scale(.98)}.nav-item:focus-visible{outline:2px solid var(--sb-accent);outline-offset:-2px}.sidebar.collapsed .nav-item:hover{transform:none}.nav-item.active{background:var(--sb-active);color:var(--sb-text-strong)}.nav-icon{transition:transform var(--dur-base) var(--ease-spring),color var(--dur-fast)}.nav-item:hover .nav-icon{transform:scale(1.15);color:var(--sb-accent)}.nav-item.active .nav-icon{color:var(--sb-accent)}.sidebar.collapsed .nav-item.active{background:var(--sb-active)}.sidebar.collapsed .nav-item.active .nav-icon{color:var(--sb-accent)}.nav-section-title{color:var(--sb-muted);transition:opacity var(--dur-base);animation:econz-fade-in var(--dur-slow) var(--ease-out) backwards}.sidebar.collapsed .nav-section-title{background:var(--sb-line)}.sidebar-footer{border-top-color:var(--sb-line)}.sidebar-toggle-control-btn{color:var(--sb-text)}.sidebar-toggle-control-btn:hover{background:var(--sb-hover);color:#fff;border-color:var(--sb-line)}.sidebar-backdrop{transition:opacity var(--dur-base) var(--ease-in-out),visibility var(--dur-base)}.btn{transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),background-color var(--dur-fast),border-color var(--dur-fast),color var(--dur-fast),opacity var(--dur-fast)}.btn:active:not(:disabled){transform:scale(.96)}.btn-primary{background-image:var(--gradient-primary)}.btn-primary:hover:not(:disabled){background-image:var(--gradient-primary-hover);transform:translateY(-1px);box-shadow:0 8px 18px -8px #104b7fcc}.btn-secondary:hover:not(:disabled){transform:translateY(-1px)}.btn-icon{transition:transform var(--dur-base) var(--ease-spring),background-color var(--dur-fast),color var(--dur-fast)}.btn-icon:hover{transform:scale(1.1)}.btn-icon:active{transform:scale(.92)}.input:focus,.filter-select:focus,.search-input:focus,.crm-form-input:focus,.crm-form-select:focus,.crm-input:focus,.crm-select:focus,.form-input:focus,.form-control:focus,.field-input:focus,.crm-compact-input:focus,.crm-compact-select:focus,.form-select:focus{box-shadow:var(--ring-focus)}a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--green-500);outline-offset:2px;border-radius:4px}.card,.info-card{box-shadow:var(--shadow-card);transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-fast);animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.card:hover,.info-card:hover{box-shadow:var(--shadow-card-hover);border-color:var(--border-dark)}.econz-stagger>*{animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.econz-stagger>*:nth-child(2){animation-delay:.05s}.econz-stagger>*:nth-child(3){animation-delay:.1s}.econz-stagger>*:nth-child(4){animation-delay:.15s}.econz-stagger>*:nth-child(5){animation-delay:.2s}.econz-stagger>*:nth-child(n+6){animation-delay:.25s}.table-wrapper{box-shadow:var(--shadow-card)}.crm-table tbody tr{animation:econz-fade-in .3s var(--ease-out) backwards;transition:background-color var(--dur-fast),box-shadow var(--dur-fast)}.crm-table tbody tr:nth-child(2){animation-delay:.02s}.crm-table tbody tr:nth-child(3){animation-delay:.04s}.crm-table tbody tr:nth-child(4){animation-delay:.06s}.crm-table tbody tr:nth-child(5){animation-delay:.08s}.crm-table tbody tr:nth-child(6){animation-delay:.1s}.crm-table tbody tr:nth-child(7){animation-delay:.12s}.crm-table tbody tr:nth-child(8){animation-delay:.14s}.crm-table tbody tr:nth-child(n+9){animation-delay:.16s}.crm-table tbody tr.clickable:hover{box-shadow:inset 3px 0 0 var(--green-500)}.status-badge{transition:transform var(--dur-base) var(--ease-spring),box-shadow var(--dur-fast)}tr:hover>td .status-badge,.card:hover .status-badge{transform:scale(1.04)}.modal-backdrop,.crm-modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:econz-fade-in var(--dur-base) ease backwards}.modal-box,.crm-modal-container,.confirm-box{box-shadow:var(--shadow-pop);animation:econz-pop .38s var(--ease-out) backwards}.crm-modal-close-btn{transition:transform var(--dur-base) var(--ease-spring),background-color var(--dur-fast),color var(--dur-fast)}.crm-modal-close-btn:hover{transform:rotate(90deg) scale(1.1)}.toast{animation:econz-toast-in .4s var(--ease-out) backwards;box-shadow:var(--shadow-pop);border-radius:10px}.skeleton{display:block;border-radius:6px;background:linear-gradient(90deg,#e9ecef 25%,#f6f7f9,#e9ecef 65%);background-size:250% 100%;animation:econz-shimmer 1.4s ease-in-out infinite;color:transparent!important;-webkit-user-select:none;user-select:none;pointer-events:none}.skeleton-line{height:10px;margin:6px 0}.skeleton-title{height:16px;width:40%}.skeleton-block{height:64px}.state-container{animation:econz-fade-in var(--dur-slow) var(--ease-out) backwards}.route-progress{position:fixed;top:0;left:0;right:0;height:2px;z-index:2000;overflow:hidden;pointer-events:none}.route-progress:after{content:"";display:block;width:30%;height:100%;background:linear-gradient(90deg,transparent,#469fd2,#c4e0f2);animation:econz-progress 1s ease-in-out infinite}.crm-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;min-height:min(52vh,420px);padding:32px 16px;animation:econz-fade-in var(--dur-slow) var(--ease-out) backwards}.crm-loader-orbit{position:relative;width:44px;height:44px;display:grid;place-items:center}.crm-loader-ring{position:absolute;inset:0;border-radius:50%;border:3px solid rgba(16,75,127,.14);border-top-color:var(--green-700);border-right-color:var(--green-500);animation:spin .9s cubic-bezier(.55,.2,.45,.8) infinite;filter:drop-shadow(0 2px 6px rgba(16,75,127,.25))}.crm-loader-ring--inner{inset:9px;border-width:2.5px;border-top-color:var(--green-400);border-right-color:transparent;animation-duration:1.3s;animation-direction:reverse}.crm-loader-dot{width:6px;height:6px;border-radius:50%;background:var(--gradient-primary);animation:crm-loader-pulse 1.3s ease-in-out infinite}@keyframes crm-loader-pulse{0%,to{transform:scale(.7);opacity:.7}50%{transform:scale(1.25);opacity:1}}.crm-loader-text{font-size:10.5px;font-weight:600;letter-spacing:.02em;color:var(--green-700);margin:0;animation:crm-loader-text 1.6s ease-in-out infinite}@keyframes crm-loader-text{0%,to{opacity:.65}50%{opacity:1}}.login-wrapper{position:relative;overflow:hidden;isolation:isolate}.login-wrapper:before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(60% 50% at 20% 15%,rgba(70,159,210,.18) 0%,transparent 70%),radial-gradient(55% 45% at 85% 85%,rgba(16,75,127,.16) 0%,transparent 70%),var(--bg-base)}.login-orb{position:absolute;z-index:-1;border-radius:50%;filter:blur(40px);opacity:.55;pointer-events:none;animation:login-drift 16s ease-in-out infinite alternate}.login-orb--1{width:320px;height:320px;left:-80px;top:-70px;background:radial-gradient(circle,#c4e0f2,transparent 70%)}.login-orb--2{width:380px;height:380px;right:-110px;bottom:-120px;background:radial-gradient(circle,#8ac2e4,transparent 70%);animation-duration:20s;animation-delay:-6s}.login-orb--3{width:220px;height:220px;left:55%;top:8%;background:radial-gradient(circle,#e4f1f9,transparent 70%);animation-duration:24s;animation-delay:-12s}@keyframes login-drift{0%{transform:translateZ(0) scale(1)}to{transform:translate3d(40px,30px,0) scale(1.12)}}.login-card{border-radius:12px;border-color:#104b7f24;background:#ffffffd1;-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);box-shadow:0 24px 48px -16px #00203f47,0 6px 14px -6px #00203f1f;animation:econz-pop .7s var(--ease-out) backwards;overflow:hidden;position:relative}.login-card:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#0b3a6b,#469fd2,#104b7f);background-size:200% 100%;animation:login-bar 5s linear infinite}@keyframes login-bar{to{background-position:-200% 0}}.login-logo{animation:econz-rise .7s var(--ease-out) .1s backwards}.login-logo img{animation:econz-float 4.5s ease-in-out infinite}@keyframes econz-float{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.login-title{animation:econz-rise .7s var(--ease-out) .18s backwards}.login-subtitle{animation:econz-rise .7s var(--ease-out) .24s backwards}.login-actions{animation:econz-rise .7s var(--ease-out) .32s backwards}.login-footnote{margin-top:10px;font-size:9px;color:var(--text-muted);animation:econz-fade-in 1s ease .6s backwards}.btn-google{position:relative;overflow:hidden;transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-fast),background-color var(--dur-fast)}.btn-google:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(70,159,210,.18) 50%,transparent 70%);transform:translate(-120%)}.btn-google:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 18px -8px #09356366}.btn-google:hover:not(:disabled):after{transform:translate(120%);transition:transform .7s var(--ease-out)}.btn-google:active:not(:disabled){transform:scale(.97)}.btn-google-busy{display:inline-flex;align-items:center;gap:6px}.btn-google-spinner{width:10px;height:10px;border-radius:50%;border:2px solid rgba(16,75,127,.2);border-top-color:var(--green-700);animation:spin .7s linear infinite}.page-header{animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.page-actions>.btn,.page-actions>div{animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.page-actions>:nth-child(2){animation-delay:.06s}.page-actions>:nth-child(3){animation-delay:.12s}.toolbar-container{animation:econz-rise var(--dur-slow) var(--ease-out) .05s backwards}.search-bar{transition:width .35s var(--ease-out)}.search-bar:focus-within{width:260px}.search-icon{transition:color var(--dur-fast),transform var(--dur-base) var(--ease-spring)}.search-bar:focus-within .search-icon{color:var(--green-700);transform:translateY(-50%) scale(1.15)}.search-clear{transition:color var(--dur-fast),transform var(--dur-base) var(--ease-spring)}.search-clear:hover{transform:translateY(-50%) rotate(90deg)}.filter-panel{animation:econz-slide-down var(--dur-base) var(--ease-out) backwards;transform-origin:top;box-shadow:var(--shadow-card)}.filter-select{transition:border-color var(--dur-fast),box-shadow var(--dur-fast),transform var(--dur-base) var(--ease-out)}.filter-select:hover:not(:disabled){transform:translateY(-1px)}.state-container>.state-icon,.state-icon{display:inline-flex;animation:econz-float 4s ease-in-out infinite}.state-container .state-icon svg{filter:drop-shadow(0 4px 8px rgba(16,75,127,.18))}.workspace-top-bar{animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.workspace-col{animation:econz-rise .55s var(--ease-out) backwards}.workspace-col:nth-child(2){animation-delay:.07s}.workspace-col:nth-child(3){animation-delay:.14s}.workspace-col .info-card,.workspace-col .card{animation:none}.record-profile-card{box-shadow:var(--shadow-card);background-image:var(--gradient-surface);transition:box-shadow var(--dur-base),transform var(--dur-base) var(--ease-out)}.record-profile-card:hover{box-shadow:var(--shadow-card-hover)}.record-avatar{animation:econz-avatar-in .7s var(--ease-spring) .15s backwards;transition:transform var(--dur-base) var(--ease-spring),box-shadow var(--dur-base)}.record-profile-card:hover .record-avatar{transform:scale(1.06) rotate(-2deg);box-shadow:0 6px 14px -6px #09356373}@keyframes econz-avatar-in{0%{opacity:0;transform:scale(.5) rotate(-12deg)}to{opacity:1;transform:none}}.property-row{transition:background-color var(--dur-fast),padding-left var(--dur-base) var(--ease-out);border-radius:4px}.property-row:hover{background-color:var(--green-25)}.breadcrumb-back-link svg{transition:transform var(--dur-base) var(--ease-out)}.breadcrumb-back-link:hover svg{transform:translate(-3px)}.workspace-actions .btn{animation:econz-fade-in var(--dur-slow) ease .1s backwards}.info-card-header{transition:border-color var(--dur-fast)}.info-card:hover .info-card-title{color:var(--green-700)}.info-card-title{transition:color var(--dur-fast)}.dashboard-header{animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.kpi-grid>.kpi-card{animation:econz-rise .6s var(--ease-out) backwards}.kpi-grid>.kpi-card:nth-child(2){animation-delay:.05s}.kpi-grid>.kpi-card:nth-child(3){animation-delay:.1s}.kpi-grid>.kpi-card:nth-child(4){animation-delay:.15s}.kpi-grid>.kpi-card:nth-child(5){animation-delay:.2s}.kpi-grid>.kpi-card:nth-child(6){animation-delay:.25s}.kpi-grid>.kpi-card:nth-child(7){animation-delay:.3s}.kpi-grid>.kpi-card:nth-child(n+8){animation-delay:.35s}.kpi-card{box-shadow:var(--shadow-card);background-image:var(--gradient-surface);position:relative;overflow:hidden}.kpi-card:after{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--gradient-primary);transform:scaleY(0);transform-origin:bottom;transition:transform .4s var(--ease-out)}.kpi-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover)}.kpi-card:hover:after{transform:scaleY(1)}.kpi-icon-badge{transition:transform var(--dur-base) var(--ease-spring);animation:econz-avatar-in .7s var(--ease-spring) .2s backwards}.kpi-card:hover .kpi-icon-badge{transform:scale(1.12) rotate(-6deg)}.kpi-value{font-variant-numeric:tabular-nums}.charts-3col>*,.charts-2col>*{animation:econz-rise .6s var(--ease-out) backwards}.charts-3col>:nth-child(2),.charts-2col>:nth-child(2){animation-delay:.08s}.charts-3col>:nth-child(3){animation-delay:.16s}.chart-card{box-shadow:var(--shadow-card);transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base)}.chart-card:hover{box-shadow:var(--shadow-card-hover)}.stage-progress-fill,.breakdown-bar{transform-origin:left center;animation:econz-grow-x .9s var(--ease-out) .15s backwards}.bar-slice{transform-origin:center bottom;animation:econz-grow-y .8s var(--ease-out) .15s backwards}@keyframes econz-grow-x{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes econz-grow-y{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.stage-item,.legend-row{transition:transform var(--dur-base) var(--ease-out),background-color var(--dur-fast);border-radius:4px}.stage-item:hover,.legend-row:hover{transform:translate(2px);background-color:var(--green-25)}.donut-svg{animation:econz-donut-in 1.1s var(--ease-out) backwards;transform-origin:center}@keyframes econz-donut-in{0%{opacity:0;transform:rotate(-120deg) scale(.75)}to{opacity:1;transform:none}}.donut-segment{transition:stroke-width var(--dur-base) var(--ease-out),opacity var(--dur-fast)}.donut-svg:hover .donut-segment{opacity:.55}.donut-svg .donut-segment:hover{stroke-width:19px;opacity:1}.sparkline-svg{animation:econz-reveal 1.1s var(--ease-out) .1s backwards}@keyframes econz-reveal{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}.chart-point{animation:econz-fade-in .4s ease .9s backwards;transition:r var(--dur-fast),filter var(--dur-fast)}.chart-point:hover{filter:drop-shadow(0 0 4px rgba(16,75,127,.55))}.view-report-link{transition:transform var(--dur-base) var(--ease-out),color var(--dur-fast);display:inline-block}.view-report-link:hover{transform:translate(3px)}.scope-notice-banner{animation:econz-slide-down var(--dur-base) var(--ease-out) backwards}.report-header-card,.filter-card,.results-card,.builder-disabled-card{animation:econz-rise var(--dur-slow) var(--ease-out) backwards;box-shadow:var(--shadow-card)}.filter-card{animation-delay:.06s}.results-card{animation-delay:.12s}.reports-sidebar{animation:econz-fade-in var(--dur-slow) ease backwards}.sidebar-search-input{transition:border-color var(--dur-fast),box-shadow var(--dur-fast)}.table-loading-state,.table-error-state,.table-empty-state{animation:econz-fade-in var(--dur-slow) var(--ease-out) backwards}.page-header-row,.toolbar-card,.table-card,.config-main-card,.users-sidebar-card,.user-selector-card,.user-summary-card,.section-card,.catalog-card,.form-container-card,.props-card,.admin-notice-banner,.empty-selection-card{animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.toolbar-card{animation-delay:.05s}.table-card,.config-main-card,.props-card{animation-delay:.1s}.stat-pill-card{transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-fast);animation:econz-rise .55s var(--ease-out) backwards;box-shadow:var(--shadow-card)}.stat-pill-card:nth-child(2){animation-delay:.05s}.stat-pill-card:nth-child(3){animation-delay:.1s}.stat-pill-card:nth-child(n+4){animation-delay:.15s}.stat-pill-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover);border-color:var(--border-dark)}.user-row,.prop-row,.permission-row,.user-list-item,.role-perm-item,.enum-item{animation:econz-fade-in .35s var(--ease-out) backwards;transition:background-color var(--dur-fast),box-shadow var(--dur-fast),transform var(--dur-base) var(--ease-out)}.user-row:nth-child(2),.prop-row:nth-child(2),.permission-row:nth-child(2),.user-list-item:nth-child(2){animation-delay:.03s}.user-row:nth-child(3),.prop-row:nth-child(3),.permission-row:nth-child(3),.user-list-item:nth-child(3){animation-delay:.06s}.user-row:nth-child(4),.prop-row:nth-child(4),.permission-row:nth-child(4),.user-list-item:nth-child(4){animation-delay:.09s}.user-row:nth-child(5),.prop-row:nth-child(5),.permission-row:nth-child(5),.user-list-item:nth-child(5){animation-delay:.12s}.user-row:nth-child(n+6),.prop-row:nth-child(n+6),.permission-row:nth-child(n+6),.user-list-item:nth-child(n+6){animation-delay:.15s}.user-row:hover,.prop-row:hover,.permission-row:hover{background-color:var(--green-25);box-shadow:inset 3px 0 0 var(--green-500)}.user-list-item:hover{transform:translate(2px)}.user-avatar,.user-avatar-circle,.user-avatar-lg,.user-avatar-badge{transition:transform var(--dur-base) var(--ease-spring),box-shadow var(--dur-base)}.user-row:hover .user-avatar-circle,.user-list-item:hover .user-avatar{transform:scale(1.1);box-shadow:0 0 0 3px #104b7f24}.tab-pill,.entity-tab{transition:transform var(--dur-base) var(--ease-out),background-color var(--dur-fast),color var(--dur-fast),box-shadow var(--dur-fast),border-color var(--dur-fast)}.tab-pill:hover,.entity-tab:hover{transform:translateY(-1px)}.tab-pill:active,.entity-tab:active{transform:scale(.97)}.tab-content{animation:econz-rise .45s var(--ease-out) backwards}.tab-count,.tab-dot{transition:transform var(--dur-base) var(--ease-spring)}.entity-tab:hover .tab-count{transform:scale(1.12)}.option-card,.category-block{transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-fast),background-color var(--dur-fast)}.option-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-card-hover)}.catalog-card .category-block{animation:econz-rise .5s var(--ease-out) backwards}.catalog-card .category-block:nth-child(2){animation-delay:.06s}.catalog-card .category-block:nth-child(3){animation-delay:.12s}.catalog-card .category-block:nth-child(n+4){animation-delay:.18s}.status-pill,.perm-status-pill,.type-badge,.badge-role,.role-badge,.metric-pill,.team-badge,.locked-badge,.admin-locked-pill,.super-admin-pill,.badge-grant,.badge-deny{transition:transform var(--dur-base) var(--ease-spring),box-shadow var(--dur-fast)}tr:hover>td .perm-status-pill,tr:hover>td .type-badge,.user-row:hover .badge-role,.user-row:hover .team-badge{transform:scale(1.05)}.result-card{animation:econz-pop .5s var(--ease-out) backwards}.result-success,.result-errors-box{animation:econz-rise .5s var(--ease-out) .1s backwards}.status-pill.status-success{animation:econz-ping-green 1.8s ease-out .4s 2}.panel-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.slide-panel{box-shadow:var(--shadow-pop)}.panel-close{transition:transform var(--dur-base) var(--ease-spring),background-color var(--dur-fast)}.panel-close:hover{transform:rotate(90deg) scale(1.1)}.status-checkbox,.toggle-switch{transition:transform var(--dur-base) var(--ease-spring)}.status-toggle-wrap:active .status-checkbox,.toggle-switch:active{transform:scale(.92)}.kpi-cards-grid>.kpi-card{animation:econz-rise .55s var(--ease-out) backwards;box-shadow:var(--shadow-card);transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base)}.kpi-cards-grid>.kpi-card:nth-child(2){animation-delay:.05s}.kpi-cards-grid>.kpi-card:nth-child(3){animation-delay:.1s}.kpi-cards-grid>.kpi-card:nth-child(4){animation-delay:.15s}.kpi-cards-grid>.kpi-card:nth-child(n+5){animation-delay:.2s}.kpi-cards-grid>.kpi-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover)}.kpi-card-value{font-variant-numeric:tabular-nums}.kpi-icon-pill{transition:transform var(--dur-base) var(--ease-spring)}.kpi-card:hover .kpi-icon-pill{transform:scale(1.12) rotate(-6deg)}.filter-toolbar-card,.filter-card,.overview-card,.table-card,.crm-table-container,.conversation-container-card,.related-section-card,.empty-card{animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.filter-toolbar-card,.filter-card{animation-delay:.05s}.crm-table-container,.table-card{animation-delay:.1s}.clickable-row{transition:background-color var(--dur-fast),box-shadow var(--dur-fast);animation:econz-fade-in .35s var(--ease-out) backwards}.clickable-row:hover{box-shadow:inset 3px 0 0 var(--green-500)}.row-actions-group .btn-row-action{transition:transform var(--dur-base) var(--ease-spring),background-color var(--dur-fast),color var(--dur-fast)}.btn-row-action:hover{transform:scale(1.12)}.btn-row-action:active{transform:scale(.9)}.priority-badge,.category-pill,.team-badge-large{transition:transform var(--dur-base) var(--ease-spring)}tr:hover>td .priority-badge,tr:hover>td .category-pill{transform:scale(1.05)}.p-urgent{animation:econz-urgent 2.4s ease-in-out infinite}@keyframes econz-urgent{0%,to{box-shadow:0 0 #e11d4800}50%{box-shadow:0 0 0 4px #e11d4824}}.message-bubble-card{animation:econz-rise .45s var(--ease-out) backwards;transition:box-shadow var(--dur-base),transform var(--dur-base) var(--ease-out)}.message-bubble-card:hover{box-shadow:var(--shadow-card-hover)}.system-event-row{animation:econz-fade-in .5s ease backwards}.record-mini-card{transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-fast)}.record-mini-card:hover{transform:translate(3px);box-shadow:var(--shadow-card-hover)}.composer-tab-btn,.tab-btn,.subtab-btn{transition:transform var(--dur-base) var(--ease-out),background-color var(--dur-fast),color var(--dur-fast),border-color var(--dur-fast)}.composer-tab-btn:hover,.tab-btn:hover,.subtab-btn:hover{transform:translateY(-1px)}.composer-tab-btn:active,.tab-btn:active,.subtab-btn:active{transform:scale(.97)}.member-cell{transition:transform var(--dur-base) var(--ease-out)}tr:hover>td .member-cell{transform:translate(2px)}.team-badge-large{animation:econz-avatar-in .7s var(--ease-spring) .15s backwards}.empty-state-wrap,.empty-table-cell{animation:econz-fade-in var(--dur-slow) var(--ease-out) backwards}.hero-card{animation:econz-rise var(--dur-slow) var(--ease-out) backwards;box-shadow:var(--shadow-card);background-image:var(--gradient-surface);position:relative;overflow:hidden}.hero-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#0b3a6b,#469fd2,#104b7f);background-size:200% 100%;animation:login-bar 6s linear infinite}.user-avatar-wrap{animation:econz-avatar-in .8s var(--ease-spring) .15s backwards}.user-avatar-wrap,.user-avatar-circle,.user-avatar-img{transition:transform var(--dur-base) var(--ease-spring),box-shadow var(--dur-base)}.hero-card:hover .user-avatar-wrap{transform:scale(1.05)}.hero-stats .stat-box{animation:econz-rise .55s var(--ease-out) .2s backwards;transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base)}.hero-stats .stat-box:nth-child(2){animation-delay:.26s}.hero-stats .stat-box:nth-child(3){animation-delay:.32s}.hero-stats .stat-box:nth-child(n+4){animation-delay:.38s}.hero-stats .stat-box:hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover)}.stat-value{font-variant-numeric:tabular-nums}.profile-tabs .tab-btn{transition:transform var(--dur-base) var(--ease-out),background-color var(--dur-fast),color var(--dur-fast),border-color var(--dur-fast)}.profile-tabs .tab-btn:hover{transform:translateY(-1px)}.profile-tabs .tab-btn:active{transform:scale(.97)}.tab-pane{animation:econz-rise .45s var(--ease-out) backwards}.section-card{animation:econz-rise var(--dur-slow) var(--ease-out) backwards;box-shadow:var(--shadow-card)}.section-card:nth-of-type(2){animation-delay:.06s}.section-card:nth-of-type(n+3){animation-delay:.12s}.teams-grid>.team-card,.scopes-grid>.scope-card,.integrations-list>.int-card,.details-grid>.detail-item{animation:econz-rise .5s var(--ease-out) backwards}.teams-grid>:nth-child(2),.scopes-grid>:nth-child(2),.integrations-list>:nth-child(2){animation-delay:.06s}.teams-grid>:nth-child(3),.scopes-grid>:nth-child(3){animation-delay:.12s}.teams-grid>:nth-child(n+4),.scopes-grid>:nth-child(n+4){animation-delay:.18s}.team-card,.scope-card,.int-card{transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-fast)}.team-card:hover,.scope-card:hover,.int-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover);border-color:var(--border-dark)}.team-avatar-box,.scope-icon-box,.int-icon-box{transition:transform var(--dur-base) var(--ease-spring)}.team-card:hover .team-avatar-box,.scope-card:hover .scope-icon-box,.int-card:hover .int-icon-box{transform:scale(1.1) rotate(-5deg)}.team-status-dot,.status-pill .status-dot,.watch-pill{animation:econz-dot-pulse 2.4s ease-in-out infinite}@keyframes econz-dot-pulse{0%,to{opacity:1}50%{opacity:.55}}.reauth-banner,.admin-notice,.error-detail-banner{animation:econz-slide-down var(--dur-base) var(--ease-out) backwards}.sync-stat-item{transition:background-color var(--dur-fast),transform var(--dur-base) var(--ease-out)}.sync-stat-item:hover{background-color:var(--green-25);transform:translateY(-1px)}.ai-drawer-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:econz-fade-in var(--dur-base) ease backwards}.ai-drawer-panel.open{box-shadow:-18px 0 48px -12px #00203f4d}.ai-panel-header{background-image:radial-gradient(90% 200% at 100% 0%,rgba(70,159,210,.25),transparent 60%)}.ai-avatar-badge,.ai-hero-icon{animation:econz-avatar-in .7s var(--ease-spring) .1s backwards}.ai-welcome-hero{animation:econz-rise .6s var(--ease-out) backwards}.ai-hero-icon{animation:econz-avatar-in .7s var(--ease-spring) .1s backwards,econz-float 4.5s ease-in-out .8s infinite}.ai-prompts-grid>.ai-prompt-pill-btn{animation:econz-rise .5s var(--ease-out) backwards;transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-fast),background-color var(--dur-fast)}.ai-prompts-grid>:nth-child(2){animation-delay:.05s}.ai-prompts-grid>:nth-child(3){animation-delay:.1s}.ai-prompts-grid>:nth-child(4){animation-delay:.15s}.ai-prompts-grid>:nth-child(n+5){animation-delay:.2s}.ai-prompt-pill-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover)}.ai-prompt-pill-btn:active{transform:scale(.97)}.prompt-sparkle{transition:transform var(--dur-base) var(--ease-spring)}.ai-prompt-pill-btn:hover .prompt-sparkle{transform:rotate(20deg) scale(1.25)}.ai-message-item{animation:econz-rise .5s var(--ease-out) backwards}.ai-msg-bubble{transition:box-shadow var(--dur-base)}.ai-message-item:hover .ai-msg-bubble{box-shadow:var(--shadow-card)}.ai-metric-box{animation:econz-pop .5s var(--ease-out) backwards;transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base)}.ai-metric-box:hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover)}.ai-record-cards-list>.ai-result-card{animation:econz-rise .45s var(--ease-out) backwards;transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-fast)}.ai-record-cards-list>:nth-child(2){animation-delay:.06s}.ai-record-cards-list>:nth-child(3){animation-delay:.12s}.ai-record-cards-list>:nth-child(n+4){animation-delay:.18s}.ai-result-card:hover{transform:translate(3px);box-shadow:var(--shadow-card-hover)}.ai-card-arrow{transition:transform var(--dur-base) var(--ease-out)}.ai-result-card:hover .ai-card-arrow{transform:translate(4px)}.ai-charts-list>*{animation:econz-rise .55s var(--ease-out) backwards}.ai-action-btn,.ai-source-chip,.ai-header-btn{transition:transform var(--dur-base) var(--ease-out),background-color var(--dur-fast),color var(--dur-fast),box-shadow var(--dur-fast)}.ai-action-btn:hover,.ai-source-chip:hover{transform:translateY(-1px)}.ai-action-btn:active,.ai-header-btn:active{transform:scale(.94)}.ai-header-btn:hover{transform:scale(1.1)}.ai-history-item{animation:econz-fade-in .3s ease backwards;transition:background-color var(--dur-fast),transform var(--dur-base) var(--ease-out)}.ai-history-item:hover{transform:translate(2px)}.thinking-bubble{animation:econz-rise .4s var(--ease-out) backwards}.activity-tabs-header{animation:econz-fade-in var(--dur-slow) ease backwards}.activity-tab-btn{transition:transform var(--dur-base) var(--ease-out),background-color var(--dur-fast),color var(--dur-fast),border-color var(--dur-fast)}.activity-tab-btn:hover{transform:translateY(-1px)}.activity-tab-btn:active{transform:scale(.97)}.tab-badge-count{transition:transform var(--dur-base) var(--ease-spring)}.activity-tab-btn:hover .tab-badge-count{transform:scale(1.15)}[class*=btn-activity-create]{transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),background-color var(--dur-fast)}[class*=btn-activity-create]:hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover)}[class*=btn-activity-create]:active{transform:scale(.96)}[class*=btn-activity-create] .create-icon{transition:transform var(--dur-base) var(--ease-spring)}[class*=btn-activity-create]:hover .create-icon{transform:scale(1.2) rotate(-8deg)}.timeline-entry{animation:econz-rise .5s var(--ease-out) backwards}.connected-timeline-list>.timeline-entry:nth-child(2){animation-delay:.05s}.connected-timeline-list>.timeline-entry:nth-child(3){animation-delay:.1s}.connected-timeline-list>.timeline-entry:nth-child(4){animation-delay:.15s}.connected-timeline-list>.timeline-entry:nth-child(5){animation-delay:.2s}.connected-timeline-list>.timeline-entry:nth-child(n+6){animation-delay:.25s}.timeline-node{animation:econz-avatar-in .6s var(--ease-spring) .1s backwards;transition:transform var(--dur-base) var(--ease-spring),box-shadow var(--dur-base)}.timeline-entry:hover .timeline-node{transform:scale(1.15);box-shadow:0 0 0 4px #104b7f1f}.activity-card-body,.email-card-body{transition:box-shadow var(--dur-base),border-color var(--dur-fast),transform var(--dur-base) var(--ease-out)}.activity-card-body:hover,.email-card-body:hover{box-shadow:var(--shadow-card-hover)}.card-type-icon,.email-icon-badge{transition:transform var(--dur-base) var(--ease-spring)}.activity-card-body:hover .card-type-icon,.email-card-body:hover .email-icon-badge{transform:scale(1.1) rotate(-5deg)}.meta-chip,.att-chip,.assoc-tag-badge,.thread-count-pill,.direction-badge,.gmail-badge{transition:transform var(--dur-base) var(--ease-spring),box-shadow var(--dur-fast)}.meta-chip:hover,.att-chip:hover,.assoc-tag-badge:hover{transform:translateY(-1px)}.btn-join-meet,.btn-meeting-sync,.btn-meeting-cancel,.btn-email-action,.btn-email-view-details,.btn-read-more,.btn-menu-trigger,.assoc-add-btn{transition:transform var(--dur-base) var(--ease-out),background-color var(--dur-fast),color var(--dur-fast),box-shadow var(--dur-fast)}.btn-join-meet:hover,.btn-email-action:hover,.btn-email-view-details:hover{transform:translateY(-1px)}.btn-join-meet:active,.btn-meeting-sync:active,.btn-email-action:active{transform:scale(.96)}.timeline-empty-state{animation:econz-fade-in var(--dur-slow) var(--ease-out) backwards}.timeline-empty-state .empty-icon{animation:econz-float 4s ease-in-out infinite}.timeline-end-indicator{animation:econz-fade-in .8s ease .3s backwards}.activity-dropdown-menu,.email-dropdown-menu,.send-schedule-popover,.footer-url-dropdown,.contact-dropdown-select{animation:econz-fade-in .18s ease backwards}.menu-action-item,.schedule-popover-item{transition:background-color var(--dur-fast),color var(--dur-fast)}.thread-message-card{animation:econz-rise .45s var(--ease-out) backwards;transition:box-shadow var(--dur-base),border-color var(--dur-fast)}.thread-message-card:hover{box-shadow:var(--shadow-card)}.thread-messages-list>:nth-child(2){animation-delay:.05s}.thread-messages-list>:nth-child(3){animation-delay:.1s}.thread-messages-list>:nth-child(n+4){animation-delay:.15s}.earlier-msg-collapsed-bar{transition:background-color var(--dur-fast),transform var(--dur-base) var(--ease-out)}.earlier-msg-collapsed-bar:hover{transform:translate(2px)}.full-message-content{animation:econz-fade-in .35s ease backwards}.gmail-docked-container{animation:econz-dock-in .45s var(--ease-out) backwards;box-shadow:var(--shadow-pop)}@keyframes econz-dock-in{0%{opacity:0;transform:translateY(28px) scale(.98)}to{opacity:1;transform:none}}.win-btn{transition:transform var(--dur-base) var(--ease-spring),background-color var(--dur-fast)}.win-btn:hover{transform:scale(1.15)}.win-btn-close:hover{transform:rotate(90deg) scale(1.15)}.email-recipient-chip{animation:econz-pop .35s var(--ease-spring) backwards;transition:box-shadow var(--dur-fast),transform var(--dur-base) var(--ease-out)}.email-recipient-chip:hover{transform:translateY(-1px);box-shadow:var(--shadow-card)}.att-composer-chip{animation:econz-rise .4s var(--ease-out) backwards}.btn-gmail-send{transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),background-color var(--dur-fast)}.btn-gmail-send:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 16px -8px #0935638c}.btn-gmail-send:active:not(:disabled){transform:scale(.97)}.footer-icon-btn{transition:transform var(--dur-base) var(--ease-spring),background-color var(--dur-fast),color var(--dur-fast)}.footer-icon-btn:hover{transform:scale(1.15)}.footer-att-badge{animation:econz-pop .35s var(--ease-spring) backwards}.ownership-panel .panel-section{animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.ownership-panel .panel-section:nth-child(2){animation-delay:.06s}.ownership-panel .panel-section:nth-child(n+3){animation-delay:.12s}.record-card,.share-row,.history-item{transition:background-color var(--dur-fast),box-shadow var(--dur-base),transform var(--dur-base) var(--ease-out)}.record-card:hover,.share-row:hover{box-shadow:var(--shadow-card);transform:translateY(-1px)}.avatar-circle,.history-dot{transition:transform var(--dur-base) var(--ease-spring)}.record-card:hover .avatar-circle{transform:scale(1.08)}.related-section-card{animation:econz-rise var(--dur-slow) var(--ease-out) backwards}.related-items-list>.record-mini-card{animation:econz-rise .4s var(--ease-out) backwards}.related-items-list>:nth-child(2){animation-delay:.05s}.related-items-list>:nth-child(n+3){animation-delay:.1s}.record-mini-avatar{transition:transform var(--dur-base) var(--ease-spring)}.record-mini-card:hover .record-mini-avatar{transform:scale(1.1) rotate(-4deg)}.type-pill{transition:transform var(--dur-base) var(--ease-out),background-color var(--dur-fast),color var(--dur-fast),border-color var(--dur-fast)}.type-pill:hover{transform:translateY(-1px)}.candidate-row{transition:background-color var(--dur-fast),transform var(--dur-base) var(--ease-out);animation:econz-fade-in .3s ease backwards}.candidate-row:hover{transform:translate(2px)}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#104b7f47;border-radius:6px}*::-webkit-scrollbar-thumb:hover{background:#104b7f80}*::-webkit-scrollbar-button{display:none;width:0;height:0}*::-webkit-scrollbar-corner{background:transparent}.dashboard-container .dashboard-header{padding:10px 14px;border:1px solid rgba(16,75,127,.16);border-radius:12px;background:radial-gradient(60% 220% at 0% 0%,rgba(70,159,210,.2) 0%,transparent 65%),linear-gradient(135deg,#fff,#eff7fb);box-shadow:var(--shadow-card);position:relative;overflow:hidden}.dashboard-container .dashboard-header:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--gradient-primary)}.dashboard-container .dashboard-header .page-title{font-size:21px;letter-spacing:-.025em;color:var(--green-900)}.dashboard-container .dashboard-header .page-subtitle{font-size:10.5px;margin-top:3px}.dashboard-container .preset-select-wrap,.dashboard-container .btn-refresh{box-shadow:var(--shadow-xs)}.dashboard-container .scope-notice-banner{border-radius:10px;padding:6px 12px;background:linear-gradient(90deg,#ebf4fa,#f0f7fb);border:1px solid rgba(16,75,127,.18)}.dashboard-container .kpi-grid{gap:10px}.dashboard-container .kpi-card{--kpi-accent: var(--green-700);padding:11px 13px 10px;border-radius:12px;gap:6px;border:1px solid rgba(16,75,127,.12);background:radial-gradient(90% 120% at 100% 0%,color-mix(in srgb,var(--kpi-accent) 9%,transparent) 0%,transparent 60%),#fff;border-top:3px solid var(--kpi-accent)}.dashboard-container .kpi-card:after{background:var(--kpi-accent)}.dashboard-container .kpi-card:has(.bg-blue){--kpi-accent: #104b7f}.dashboard-container .kpi-card:has(.bg-indigo){--kpi-accent: #176298}.dashboard-container .kpi-card:has(.bg-emerald){--kpi-accent: #1a6ca4}.dashboard-container .kpi-card:has(.bg-teal){--kpi-accent: #14598e}.dashboard-container .kpi-card:has(.bg-rose){--kpi-accent: #e11d48}.dashboard-container .kpi-card:has(.bg-amber){--kpi-accent: #d97706}.dashboard-container .kpi-card:has(.bg-purple){--kpi-accent: #7c3aed}.dashboard-container .kpi-card:has(.bg-cyan){--kpi-accent: #196aa1}.dashboard-container .kpi-card .kpi-label{font-size:9px;letter-spacing:.06em}.dashboard-container .kpi-card .kpi-value{font-size:20px;line-height:1.1;letter-spacing:-.03em}.dashboard-container .kpi-card .kpi-subtext{font-size:9.5px}.dashboard-container .kpi-card .kpi-icon-badge{width:28px;height:28px;border-radius:9px;background:color-mix(in srgb,var(--kpi-accent) 14%,#ffffff);color:var(--kpi-accent);border:1px solid color-mix(in srgb,var(--kpi-accent) 28%,transparent);box-shadow:0 4px 10px -6px var(--kpi-accent)}.dashboard-container .kpi-card .kpi-icon-badge svg{width:15px;height:15px}.dashboard-container .mini-team-kpi{padding:10px 12px}.dashboard-container .charts-3col,.dashboard-container .charts-2col{gap:10px}.dashboard-container .chart-card{padding:11px 14px 12px;gap:10px;border-radius:12px;border-color:#104b7f1f}.dashboard-container .chart-card-header{padding-bottom:8px;border-bottom:1px solid var(--border-light)}.dashboard-container .chart-card .card-title{font-size:12px;letter-spacing:-.01em}.dashboard-container .chart-card .card-subtitle{font-size:9.5px;margin-top:1px}.dashboard-container .view-report-link{padding:2px 8px;border-radius:999px;background:var(--green-50);font-weight:600}.dashboard-container .view-report-link:hover{background:var(--green-100)}.dashboard-container .stage-list{gap:8px;padding-right:6px;max-height:200px}.dashboard-container .stage-progress-track,.dashboard-container .breakdown-bar-track{height:7px;border-radius:999px;background:#eef0f3}.dashboard-container .stage-progress-fill,.dashboard-container .breakdown-bar{border-radius:999px;box-shadow:0 1px 3px #00203f2e inset}.dashboard-container .stage-dot{width:8px;height:8px;box-shadow:0 0 0 3px #104b7f14}.dashboard-container .stage-name,.dashboard-container .breakdown-label{font-size:10.5px}.dashboard-container .stage-count,.dashboard-container .stage-val-amount{font-size:10.5px;font-weight:700;font-variant-numeric:tabular-nums}.dashboard-container .donut-svg{filter:drop-shadow(0 6px 10px rgba(0,32,63,.12))}.dashboard-container .center-stat-val{font-size:18px;letter-spacing:-.03em}.dashboard-container .center-stat-label{font-size:8.5px;text-transform:uppercase;letter-spacing:.08em}.dashboard-container .legend-row{padding:3px 6px}.dashboard-container .legend-pill-dot{box-shadow:0 0 0 3px #00203f0f}.dashboard-container .section-title-wrap{padding-left:10px;position:relative}.dashboard-container .section-title-wrap:before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:3px;background:var(--gradient-primary)}.dashboard-container .section-heading{font-size:13px;letter-spacing:-.02em;color:var(--green-900)}.dashboard-container .section-subheading{font-size:10px}.dashboard-container .sparkline-svg{height:90px}@media(max-width:1100px){.dashboard-container .kpi-card .kpi-value{font-size:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}@supports (appearance: base-select){select:not([multiple]):not([size]),select:not([multiple]):not([size])::picker(select){appearance:base-select}select:not([multiple]):not([size]){background-image:none!important;align-items:center;justify-content:space-between;gap:6px}select:not([multiple]):not([size])::picker-icon{color:var(--text-secondary, #334155);font-size:10px;flex-shrink:0;transition:transform .18s ease}select:not([multiple]):not([size]):open::picker-icon{transform:rotate(180deg)}select:not([multiple]):not([size]):disabled::picker-icon{opacity:.45}select:not([multiple]):not([size])::picker(select){box-sizing:border-box;min-width:anchor-size(width);max-height:min(320px,60vh);margin:4px 0;padding:4px;background:var(--bg-surface, #ffffff);border:1px solid var(--green-100, #e4f1f9);border-radius:8px;box-shadow:var(--shadow-lg, 0 14px 28px -6px rgba(0, 31, 62, .1));font-family:inherit;font-size:11px;color:var(--text-primary, #0a2342);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--green-200, #c4e0f2) transparent;opacity:0;transform:translateY(-4px);transition:opacity .14s ease,transform .14s ease,overlay .14s allow-discrete,display .14s allow-discrete}select:not([multiple]):not([size]):open::picker(select){opacity:1;transform:none}@starting-style{select:not([multiple]):not([size]):open::picker(select){opacity:0;transform:translateY(-4px)}}select:not([multiple]):not([size]) option{display:flex;align-items:center;gap:8px;padding:6px 9px;margin:1px 0;border-radius:5px;background:transparent;color:var(--text-primary, #0a2342);font-size:11px;font-weight:500;font-style:normal;cursor:pointer;transition:background-color .1s ease,color .1s ease}select:not([multiple]):not([size]) option:hover,select:not([multiple]):not([size]) option:focus-visible{background:var(--green-50, #eef6fb);color:var(--green-800, #0b3a6b);outline:none}select:not([multiple]):not([size]) option:checked{background:var(--green-100, #e4f1f9);color:var(--green-800, #0b3a6b);font-weight:600}select:not([multiple]):not([size]) option:disabled{color:var(--text-disabled, #94a3b8);cursor:not-allowed;background:transparent}select:not([multiple]):not([size]) option::checkmark{order:2;margin-left:auto;color:var(--green-600, #114f83);font-size:11px}select:not([multiple]):not([size]) optgroup{padding:6px 9px 2px;background:transparent;color:var(--text-muted, #64748b);font-size:9.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}select:not([multiple]):not([size]) optgroup option{padding-left:14px;text-transform:none;letter-spacing:0}}select option:checked{background-color:var(--green-100, #e4f1f9)}.app-content{background-color:var(--bg-base);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='1' y1='1' x2='0.25' y2='0.1'%3E%3Cstop offset='0' stop-color='%231da497' stop-opacity='0.22'/%3E%3Cstop offset='1' stop-color='%231da497' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='1' y1='1' x2='0.35' y2='0.3'%3E%3Cstop offset='0' stop-color='%23238cc8' stop-opacity='0.30'/%3E%3Cstop offset='1' stop-color='%23238cc8' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='1' y1='1' x2='0.5' y2='0.55'%3E%3Cstop offset='0' stop-color='%231da497' stop-opacity='0.50'/%3E%3Cstop offset='1' stop-color='%231da497' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1000 120C820 260 520 470 140 600H1000Z' fill='url(%23a)'/%3E%3Cpath d='M1000 300C830 400 610 520 400 600H1000Z' fill='url(%23b)'/%3E%3Cpath d='M1000 440C890 500 770 560 650 600H1000Z' fill='url(%23c)'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right bottom;background-size:100% 100%;background-attachment:fixed}@media print{.app-content{background-image:none}}:root{accent-color:#0b3a6b}@supports (appearance: base-select){select.filter-select,select.crm-form-select,select.crm-select,select.form-control,select.form-select,select.crm-compact-select,select.field-input,select.size-select,select.operator-select,select.table-role-select{appearance:base-select;background-image:none;padding-right:9px}select::picker-icon{color:#0b3a6b;font-size:10px;margin-left:auto;transition:rotate var(--dur-base) var(--ease-out)}select:open::picker-icon{rotate:180deg}::picker(select){appearance:base-select;background:#fff;border:1px solid #c4e0f1;border-radius:8px;padding:4px;margin-top:3px;max-height:280px;box-shadow:var(--shadow-pop)}select option{padding:6px 10px;border-radius:5px;font-size:11px;color:var(--text-primary, #0a2342);transition:background-color var(--dur-fast),color var(--dur-fast)}select option:hover,select option:focus-visible{background-color:#e4f0fa;color:#0b3a6b}select option:checked{background-color:#dcecf7;color:#0b3a6b;font-weight:600}select option::checkmark{color:#238cc8}}:root[data-theme=dark]{color-scheme:dark;--green-950: #e8f1f9;--green-900: #e8f1f9;--green-850: #4fd8ab;--green-800: #4fd8ab;--green-700: #4fd8ab;--green-600: #2dbf8f;--green-500: #2dbf8f;--green-400: #3fcf9e;--green-300: #2a8f78;--green-200: #175463;--green-100: #1a506a;--green-50: #194668;--green-25: #174465;--brand-bg: #17896a;--brand-fg: #4fd8ab;--brand-deep: #0b2645;--bg-base: #0f2c4d;--bg-canvas: #0f2c4d;--bg-surface: #163a62;--bg-surface-subtle: #1c4571;--bg-surface-hover: #285a90;--bg-overlay: rgba(0, 8, 18, .66);--text-primary: #eef5fb;--text-secondary: #c2d6e8;--text-muted: #9bb9d3;--text-disabled: #6c8caa;--text-heading: #f4f9fd;--text-label: #cfe0ee;--primary: #2dbf8f;--primary-hover: #52d4a6;--primary-light: #1a506a;--primary-subtle: #194668;--success: #34d3a0;--success-bg: #1a4c63;--success-border: #1a606b;--warning: #fbbf24;--warning-bg: #334a5a;--warning-border: #565a46;--danger: #f87171;--danger-hover: #fca5a5;--danger-light: #354166;--danger-border: #5a445d;--info: #5cc8f0;--info-bg: #1f4b72;--info-border: #265d83;--border: #365479;--border-light: #2a4a6e;--border-dark: #4c6886;--shadow-xs: 0 1px 2px rgba(0, 0, 0, .3);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .34), 0 1px 2px rgba(0, 0, 0, .22);--shadow-md: 0 4px 10px -2px rgba(0, 0, 0, .38), 0 2px 4px -2px rgba(0, 0, 0, .26);--shadow-lg: 0 14px 28px -6px rgba(0, 0, 0, .5), 0 6px 12px -3px rgba(0, 0, 0, .32);--shadow-glow: 0 0 0 2px #1f7f69;--shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px -6px rgba(0, 0, 0, .45);--shadow-card-hover: 0 2px 4px rgba(0, 0, 0, .34), 0 10px 22px -10px rgba(0, 0, 0, .6);--shadow-pop: 0 18px 40px -12px rgba(0, 0, 0, .65), 0 6px 14px -6px rgba(0, 0, 0, .4);--gradient-brand: linear-gradient(135deg, #0b2645 0%, #133c68 100%);--gradient-primary: linear-gradient(135deg, #1b8fc4 0%, #1fae88 100%);--gradient-primary-hover: linear-gradient(135deg, #1780b0 0%, #199b79 100%);--gradient-surface: linear-gradient(180deg, #1a4170 0%, #163a62 100%);--ring-focus: 0 0 0 3px #1f7f69}html.theme-switching,html.theme-switching *,html.theme-switching *:before,html.theme-switching *:after{transition:none!important;animation-duration:0s!important}::view-transition-old(root),::view-transition-new(root){animation:.32s ease both;mix-blend-mode:normal}::view-transition-old(root){animation-name:econz-theme-out}::view-transition-new(root){animation-name:econz-theme-in}@keyframes econz-theme-out{to{opacity:0}}@keyframes econz-theme-in{0%{opacity:0}}html.theme-fading *{transition:none!important}@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}:root[data-theme=dark] ::selection{background:#1f7f69}:root[data-theme=dark] .crm-header{background:var(--gradient-brand);box-shadow:0 2px 10px #00000073}:root[data-theme=dark] .header-brand-crm-text{background:linear-gradient(90deg,#fff,#7ee6c2);-webkit-background-clip:text;background-clip:text}:root[data-theme=dark] .sidebar{--sb-muted: #7f9db8;--sb-line: #1d4266;--sb-hover: #153b63;--sb-press: #1a4572;--sb-active: #0f4b57;--sb-accent: #2dbf8f;background:linear-gradient(180deg,#0d2747,#0b2341 55%,#091e39);border-right-color:#071a35}:root[data-theme=dark] .btn-primary{color:#fff}:root[data-theme=dark] .skeleton{background:linear-gradient(90deg,#1c4571 25%,#24578c,#1c4571 65%);background-size:250% 100%}:root[data-theme=dark] .toast{background-color:#224f80;color:#eef5fb;border:1px solid var(--border-dark)}:root[data-theme=dark] ::-webkit-scrollbar-thumb{background:#365479;border-radius:8px}:root[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#4c6886}:root[data-theme=dark] ::-webkit-scrollbar-track{background:transparent}:root[data-theme=dark] crm-ai-chart [fill="#104b7f"],:root[data-theme=dark] crm-report-chart [fill="#104b7f"],:root[data-theme=dark] crm-dashboard-page [fill="#104b7f"]{fill:#4aa8e0}:root[data-theme=dark] crm-dashboard-page [stroke="#104b7f"],:root[data-theme=dark] crm-report-chart [stroke="#104b7f"]{stroke:#4aa8e0}:root[data-theme=dark] crm-ai-chart [fill="#14598e"],:root[data-theme=dark] crm-ai-chart [fill="#2563eb"]{fill:#6fb6e8}:root[data-theme=dark] crm-ai-chart [fill="#7c3aed"]{fill:#a98bf5}:root[data-theme=dark] crm-ai-chart [fill="#dc2626"]{fill:#f58a8a}:root[data-theme=dark] crm-ai-chart [fill="#64748b"]{fill:#9db3c9}:root[data-theme=dark] crm-ai-chart [stroke="#e2e8f0"]{stroke:#365479}:root[data-theme=dark] crm-ai-chart [stroke="#fff"],:root[data-theme=dark] crm-report-chart [stroke="#fff"]{stroke:#163a62}:root[data-theme=dark] crm-dashboard-page [fill="#ffffff"],:root[data-theme=dark] crm-report-chart circle[fill="#fff"]{fill:#163a62}.theme-switch{position:relative;width:38px;height:20px;flex-shrink:0;padding:0;cursor:pointer;border-radius:999px;border:1px solid #6c8fb3;background:#2a5683;transition:background .3s var(--ease-out),border-color .3s}.theme-switch:hover{background:#34648f}.theme-switch:focus-visible{outline:2px solid #7ee6c2;outline-offset:2px}.theme-switch__knob{position:absolute;top:1px;left:1px;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#b45309;box-shadow:0 1px 3px #00000059;transition:transform .32s var(--ease-spring),background .3s,color .3s}.theme-switch[aria-checked=true]{background:#1b6f66;border-color:#4fd8ab}.theme-switch[aria-checked=true] .theme-switch__knob{transform:translate(18px);background:#0f2c4a;color:#7ee6c2}.theme-switch__knob svg{transition:transform .4s var(--ease-spring)}.theme-switch:active .theme-switch__knob svg{transform:rotate(40deg) scale(.85)}:root[data-theme=dark][data-theme=dark] .btn-warning{background:#d97706;border-color:#d97706;color:#fff}:root[data-theme=dark][data-theme=dark] .btn-warning:hover{background:#b45309;border-color:#b45309}:root[data-theme=dark] crm-activity-item .timeline-node{border:1px solid var(--green-100)!important;box-shadow:0 0 0 2px var(--bg-surface)!important}:root[data-theme=dark][data-theme=dark] .form-card-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .form-badge-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .filter-select:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .form-control:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .result-dryrun:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .result-success:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .status-info:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .status-success:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .result-errors-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark] .errors-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .errors-list:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .tab-pill-group:not(.email-html-body *):not(.rich-editor-content *){background:var(--border)}:root[data-theme=dark][data-theme=dark] .tab-pill.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .user-select-control:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .user-select-control:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .user-summary-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .user-avatar-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .metric-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .section-card-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .empty-icon-shield:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-grant:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .badge-deny:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger);border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark] .btn-delete-text:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .btn-delete-text:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border-color:var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .catalog-card-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .category-block:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .category-header:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1.5px solid var(--border)}:root[data-theme=dark][data-theme=dark] .badge-count:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .permission-row:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .role-perm-item:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .status-inherited:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .status-not-granted:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-muted);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .status-grant:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .status-deny:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger);border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark] .modal-badge-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .policy-grant span:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .policy-deny span:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .btn-new:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .btn-new:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .entity-tab:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .entity-tab.active:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);border-bottom-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .tab-dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-admin-properties-page .tab-count:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .tab-count:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-admin-properties-page .entity-tab.active .tab-count:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] .entity-tab.active .tab-count:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--border);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .spinner:not(.email-html-body *):not(.rich-editor-content *){border:2px solid var(--border);border-top-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .props-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .props-table th:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .prop-row:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .prop-row:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .internal-name:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .type-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .type-text:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .type-number:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .type-boolean:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .type-date:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .type-datetime:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .type-url:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .type-phone:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .type-enum:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .status-active:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .status-inactive:not(.email-html-body *):not(.rich-editor-content *):before{background:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .action-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .action-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .action-btn.deactivate:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] .action-btn.deactivate:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);border-color:var(--warning-border)}:root[data-theme=dark][data-theme=dark] .delete-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .delete-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] .empty-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .slide-panel:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .panel-header:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border-light);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .panel-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .panel-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .panel-subtitle:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .panel-close:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .panel-close:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .field-label:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .field-hint:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .field-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);background:var(--bg-surface);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .field-input:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .field-input:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .field-hint-block:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .internal-preview:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted);background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .preview-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .key-code:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .locked-input:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .locked-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .entity-radio:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .entity-radio:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .entity-radio.selected:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg);background:var(--border);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .radio-dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .type-radio:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .type-radio:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark);background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .type-radio.selected:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg);background:var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .type-radio.selected .type-radio-label:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .enum-item:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .enum-drag-handle:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .enum-remove:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .add-option-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .add-option-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .cdk-drag-preview:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)!important}:root[data-theme=dark][data-theme=dark] .cdk-drag-placeholder:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1.5px dashed var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .btn-save:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .btn-save:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .btn-cancel:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .btn-cancel:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-primary);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .stat-pill-card:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .user-avatar-circle:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .super-admin-pill:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .team-badge:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .status-indicator-text.saved:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .error-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .breadcrumb-current:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .users-count:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--border)}:root[data-theme=dark][data-theme=dark] .search-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-admin-visibility-page .search-input:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .search-input:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-admin-visibility-page .search-input:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .search-input:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] crm-admin-visibility-page .search-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .search-input:focus:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-color:var(--brand-fg);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .user-list-item:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .user-list-item.selected:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-super-admin:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-admin:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-manager:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-rep:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-viewer:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-muted);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .team-badge:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--border);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .admin-locked-pill:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning);background:var(--warning-bg);border:1px solid var(--warning-border)}:root[data-theme=dark][data-theme=dark] .admin-notice-banner:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);border:1px solid var(--warning-border);color:#f1bb7e}:root[data-theme=dark][data-theme=dark] .notice-icon:not(.email-html-body *):not(.rich-editor-content *){color:#f4ce7b}:root[data-theme=dark][data-theme=dark][data-theme=dark] .notice-text p:not(.email-html-body *):not(.rich-editor-content *){color:#f4c27b}:root[data-theme=dark][data-theme=dark] .option-card:hover:not(.option-locked):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .option-card.option-active:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .option-card.option-locked:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .option-icon-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .option-active .option-icon-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .option-pill:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--border);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .toggle-slider:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .toggle-slider:not(.email-html-body *):not(.rich-editor-content *):before{background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .toggle-switch input:checked+.toggle-slider:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-admin-visibility-page .btn-primary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-admin-visibility-page .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .spinner:not(.email-html-body *):not(.rich-editor-content *){border-top-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-trigger-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .ai-trigger-btn:hover:not(.dragging):not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--brand-fg);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-trigger-btn.dragging:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--brand-fg);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-trigger-btn.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-trigger-icon-wrap:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .ai-trigger-btn.active .ai-trigger-icon-wrap:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-drawer-panel:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border-left:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .ai-panel-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .ai-avatar-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .ai-main-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .ai-beta-pill:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--green-50)}:root[data-theme=dark][data-theme=dark] .ai-subtitle:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ai-context-indicator:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-header-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ai-header-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .ai-header-btn.btn-close:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .ai-panel-body:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .ai-hero-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .ai-welcome-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .ai-welcome-desc:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ai-suggestions-label:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ai-prompt-pill-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .ai-prompt-pill-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--green-100);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .prompt-sparkle:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-msg-avatar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .user-message .ai-msg-bubble:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .assistant-message .ai-msg-bubble:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .ai-metric-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .ai-metric-label:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ai-metric-value:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-metric-sub:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .ai-result-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .ai-result-card:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .type-campaign:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .type-contract:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4c27b}:root[data-theme=dark][data-theme=dark] .type-ticket:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .type-deal:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#bb84eb}:root[data-theme=dark][data-theme=dark] .type-company:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .type-contact:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .ai-card-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .ai-result-card:hover .ai-card-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge-green:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge-amber:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning)}:root[data-theme=dark][data-theme=dark] .badge-rose:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:#f17e9f}:root[data-theme=dark][data-theme=dark] .badge-blue:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .ai-card-subtitle:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ai-card-arrow:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .ai-result-card:hover .ai-card-arrow:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] crm-ai-assistant-drawer .dot:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .dot:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .thinking-text:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ai-panel-composer:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border-top:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .composer-container:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .composer-container:focus-within:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-composer-input:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .ai-send-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .ai-send-btn:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .ai-send-btn:disabled:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .composer-hint-row:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .ai-header-btn.btn-on:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .ai-link-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-history-empty:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ai-history-item:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .ai-history-item.current:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-100);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .ai-history-open:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .ai-history-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .ai-history-time:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .ai-history-act:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ai-history-act:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .ai-history-act.danger:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .ai-rename-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .ai-rename-input:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .error-message .ai-msg-bubble:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border-color:var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .error-message .ai-msg-avatar:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border-color:var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .ai-action-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--bg-surface-subtle);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .ai-action-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ai-sources-label:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .ai-source-chip:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] crm-ai-assistant-drawer .ai-msg-text code:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] crm-ai-assistant-drawer .ai-msg-text th:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] crm-ai-assistant-drawer .ai-msg-text th:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] crm-ai-assistant-drawer .ai-msg-text td:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] crm-ai-assistant-drawer .ai-msg-text hr:not(.email-html-body *):not(.rich-editor-content *){border-top:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .chart-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .chart-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-ai-chart .legend li:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] .legend li:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] crm-bugs-page .seg-btn.on:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .seg-btn.on:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-bugs-page .search:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .search:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .resolved:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .lightbox img:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .google-warning:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--warning-border);color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .life-dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:3px solid var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-detail-page .life-step--now .life-dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-detail-page .life-step--paused .life-dot:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--warning-border)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .life-line:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .tabs:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .ink:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .gauge-ring:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .ring:not(.email-html-body *):not(.rich-editor-content *){background:conic-gradient(var(--tone, var(--c-brand-3)) calc(var(--p) * 1%),var(--bg-surface-subtle) 0)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .gauge-ring:not(.email-html-body *):not(.rich-editor-content *):before,:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .ring:not(.email-html-body *):not(.rich-editor-content *):before{background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .tick:not(.email-html-body *):not(.rich-editor-content *){border:2px solid var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-detail-page .mini-search input:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .ecard--new:not(.email-html-body *):not(.rich-editor-content *){border:2px dashed var(--green-200)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-detail-page .ecard--new:hover .plus:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .ethumb:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .fbar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-detail-page .fbar i:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(90deg,#3f9bd0,var(--brand-bg))}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .donut:not(.email-html-body *):not(.rich-editor-content *):before{background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .mbar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .lbar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .echip:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .mtile:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .jp-bar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-detail-page .jp-bar i:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(90deg,#3f9bd0,var(--brand-bg))}:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page .seg:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaigns-page .r-prog-bar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaigns-page .r-prog-bar i:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(90deg,#3f9bd0,var(--brand-bg))}:root[data-theme=dark][data-theme=dark] crm-campaigns-page .search-input:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaigns-page .search-clear:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaigns-page .search-clear:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] crm-campaigns-page .fchip:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaigns-page .fchip:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] crm-campaigns-page .fchip--on:hover:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(135deg,var(--brand-bg) 0%,var(--c-brand) 100%)}:root[data-theme=dark][data-theme=dark] crm-campaigns-page .meter:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaigns-page .meter i:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(90deg,#3f9bd0,var(--brand-bg))}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .drop:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .drop--over:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-base)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .problems:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border:1px solid var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-audience-import .how pre:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-base)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .link:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .tile:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-audience-import .tile--ok b:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-audience-import .tile--warn b:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .fix-line:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);border:1px solid var(--warning-border);color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .trow--head:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-base)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .trow--off:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .why:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .why--warn:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .pill--ok:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .pill--warn:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-import .pill--bad:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-picker .mode:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-base)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-audience-picker .mode .mode--on:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-picker .btn--on:not(.email-html-body *):not(.rich-editor-content *){color:#8fe0b6}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-picker .link:not(.email-html-body *):not(.rich-editor-content *){color:#8fe0b6}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-picker .picker-row:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-base)}:root[data-theme=dark][data-theme=dark] crm-campaign-audience-picker .confirm-all:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);border:1px solid var(--warning-border);color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-campaign-clone-dialog .opt:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-base)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-followup .chip:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-followup .gone:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-followup .link:not(.email-html-body *):not(.rich-editor-content *){color:#8fe0b6}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .panel:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .seg:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .seg-ink:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .pane--preview:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .field:not(.email-html-body *):not(.rich-editor-content *){border:1px dashed var(--green-200);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .code:not(.email-html-body *):not(.rich-editor-content *){color:#4fd8ab;background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .code:focus:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-campaign-email-studio .code-wrap--hot .code:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .pv-bar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .pv-empty:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .attach:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .achip:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .achip--new:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .checks:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .chk:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio .foot:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-journey-builder .bar:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(180deg,var(--bg-surface),var(--bg-surface-subtle))}:root[data-theme=dark][data-theme=dark] crm-journey-builder .seg:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-journey-builder .track:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-journey-builder .thumb:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-journey-builder .tile:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-journey-builder .canvas:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface-subtle);background-image:radial-gradient(circle,var(--bg-surface-subtle) 1.2px,transparent 1.4px)}:root[data-theme=dark][data-theme=dark] crm-journey-card .card--error:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] crm-journey-card .ico:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-journey-card .reach:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-journey-card .x:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-journey-chain:not(.email-html-body *):not(.rich-editor-content *){--line: var(--green-200)}:root[data-theme=dark][data-theme=dark] crm-journey-chain .drop-pill:not(.email-html-body *):not(.rich-editor-content *){border:2px dashed var(--green-200);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-journey-chain .slot--over .drop-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark] crm-journey-chain .add:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-journey-chain .slot--empty .add:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] crm-journey-chain .add-label:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-journey-chain .menu:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-journey-chain .end-cap:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] crm-journey-chain .tag--no:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#dd9292}:root[data-theme=dark][data-theme=dark] cmp-status-pill .pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] cmp-status-pill .pill[data-status=ACTIVE]:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] cmp-status-pill .pill[data-status=SCHEDULED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] cmp-status-pill .pill[data-status=PAUSED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning)}:root[data-theme=dark][data-theme=dark] cmp-status-pill .pill[data-status=COMPLETED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:#8782ed}:root[data-theme=dark][data-theme=dark] cmp-status-pill .pill[data-status=ARCHIVED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .avatar-company:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] ctr-status-pill .pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] ctr-status-pill .pill[data-status=PENDING_APPROVAL]:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning)}:root[data-theme=dark][data-theme=dark] ctr-status-pill .pill[data-status=APPROVED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] ctr-status-pill .pill[data-status=INTERNAL_SIGNED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:#8782ed}:root[data-theme=dark][data-theme=dark] ctr-status-pill .pill[data-status=SENT_FOR_SIGNATURE]:not(.email-html-body *):not(.rich-editor-content *){background:#392c4e;color:#a87cf3}:root[data-theme=dark][data-theme=dark] ctr-status-pill .pill[data-status=CUSTOMER_SIGNED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] ctr-status-pill .pill[data-status=COMPLETED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#84ebaa}:root[data-theme=dark][data-theme=dark] ctr-status-pill .pill[data-status=REJECTED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] ctr-status-pill .pill[data-status=CANCELLED]:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] ctr-dashboard:not(.email-html-body *):not(.rich-editor-content *){--viz-ink: var(--text-primary);--viz-ink-2: var(--text-secondary);--viz-muted: var(--text-muted)}:root[data-theme=dark][data-theme=dark][data-theme=dark] ctr-dashboard .region .cmp-input:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] ctr-dashboard .notice:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);border:1px solid var(--warning-border);color:#f4cc7b}:root[data-theme=dark][data-theme=dark] ctr-dashboard .chip:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] ctr-subnav .subnav:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] ctr-subnav .sn:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] ctr-subnav .sn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] ctr-subnav .sn--on:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] ctr-subnav .sep:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-contract-detail-page .banner--bad:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-contract-detail-page .flow li.done:not(.email-html-body *):not(.rich-editor-content *){color:#84ebaa}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] crm-contract-detail-page .flow li.done .dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#84ebaa}:root[data-theme=dark][data-theme=dark] crm-contract-detail-page .sg-pill--ok:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#84ebaa}:root[data-theme=dark][data-theme=dark] crm-contract-detail-page .bad:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] crm-contract-detail-page .lost-note:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] crm-contract-detail-page .margin--bad:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] crm-contract-form-page .lbl--profit:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-contract-form-page .note:not(.email-html-body *):not(.rich-editor-content *){color:#4fd8ab}:root[data-theme=dark][data-theme=dark] crm-contract-form-page .ro--profit:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#8ae5ad}:root[data-theme=dark][data-theme=dark] crm-contract-form-page .ro--profit.loss:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] crm-contract-form-page .loss:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] crm-contract-form-page .stepper .done .st-dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#84ebaa}:root[data-theme=dark][data-theme=dark] crm-contract-form-page .todo:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-contract-form-page .ok:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#8ae5ad}:root[data-theme=dark][data-theme=dark] crm-contracts-overview-page .kpi-violet:not(.email-html-body *):not(.rich-editor-content *){color:#a87cf3}:root[data-theme=dark][data-theme=dark] crm-contracts-overview-page .kpi-good:not(.email-html-body *):not(.rich-editor-content *){color:#84ebaa}:root[data-theme=dark][data-theme=dark] crm-contracts-page .kpi-violet:not(.email-html-body *):not(.rich-editor-content *){color:#a87cf3}:root[data-theme=dark][data-theme=dark] crm-contracts-page .kpi-good:not(.email-html-body *):not(.rich-editor-content *){color:#84ebaa}:root[data-theme=dark][data-theme=dark] .preset-select:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .custom-range-inputs:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .btn-refresh:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .btn-refresh:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .scope-notice-banner:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);border:1px solid var(--border-dark);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .date-range-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100);color:var(--text-heading);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .cp-table th:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .cp-table td:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .kpi-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .bg-blue:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .bg-indigo:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .bg-emerald:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .bg-teal:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .bg-rose:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:#86c5ea;border:1px solid var(--info-border)}:root[data-theme=dark][data-theme=dark] .bg-amber:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .bg-purple:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .bg-cyan:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .text-emerald:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .text-amber:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .chart-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .breakdown-bar-track:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .team-carousel-controls:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .btn-carousel:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .stacked-col-track:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .sent-slice:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .bg-blue-dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .dashboard-error-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark] .error-icon-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .skeleton-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .skeleton-shimmer:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(90deg,var(--bg-surface-subtle) 25%,var(--border) 50%,var(--bg-surface-subtle) 75%)}:root[data-theme=dark][data-theme=dark] .btn-delete-record:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .record-avatar:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .avatar-deal:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .spinner:not(.email-html-body *):not(.rich-editor-content *){border:2px solid var(--border)}:root[data-theme=dark][data-theme=dark] .user-avatar-circle:not(.email-html-body *):not(.rich-editor-content *){border:1.5px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .role-badge:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .tab-badge--success:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .notif-pref-warn:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .team-card:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .team-card.is-primary-team:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(180deg,rgba(30,124,181,.02) 0%,var(--bg-surface) 100%)}:root[data-theme=dark][data-theme=dark] .team-avatar-box:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .team-card.is-primary-team .team-avatar-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .badge-primary-star:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge-manager:not(.email-html-body *):not(.rich-editor-content *){color:#bb84eb}:root[data-theme=dark][data-theme=dark] .primary-active-box:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .admin-locked-tag:not(.email-html-body *):not(.rich-editor-content *){color:#bb84eb}:root[data-theme=dark][data-theme=dark] .admin-notice:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .scope-card:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .scope-card.scope-granted:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .scope-icon-box:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .scope-card.scope-restricted .scope-icon-box:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted);border-color:var(--border)}:root[data-theme=dark][data-theme=dark] .scope-status-pill.status-restricted:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .int-card--connected:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .int-card--warning:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(180deg,rgba(245,158,11,.02) 0%,var(--bg-surface) 100%)}:root[data-theme=dark][data-theme=dark] .int-icon-box--calendar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#8782ed}:root[data-theme=dark][data-theme=dark] .int-icon-box--gmail:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#ea85b3}:root[data-theme=dark][data-theme=dark] .watch-pill.watch-warn:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] .watch-pill.watch-error:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .reauth-banner:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] .error-detail-banner:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark] .gconn--ok:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .gconn--warn:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(180deg,rgba(245,158,11,.02) 0%,var(--bg-surface) 100%)}:root[data-theme=dark][data-theme=dark] .feature-state:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .feature-state.feature-attention:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] .status-pill.status-warning:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] .status-pill.status-neutral:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-muted);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .tab-badge--warning:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] .signature-card.is-default-sig:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .sig-preview-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .sig-preview-modal-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .rb-topbar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .rb-title:focus:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .rb-popover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .rb-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .rb-select:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .rb-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .rb-seg button:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .rb-seg button:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .rb-icon-btn.danger:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .rb-stat:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-report-builder .rb-kinds button.on:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] .rb-kinds button.on:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .rb-pager:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .rb-alert:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border:1px solid var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .rb-empty:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .rb-modal:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .axis-text:not(.email-html-body *):not(.rich-editor-content *){fill:var(--text-muted)}:root[data-theme=dark][data-theme=dark] crm-report-chart .axis-text.strong:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .axis-text.strong:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){fill:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] crm-report-chart .axis-text.value:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .axis-text.value:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){fill:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .donut-total:not(.email-html-body *):not(.rich-editor-content *){fill:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .donut-caption:not(.email-html-body *):not(.rich-editor-content *){fill:var(--text-muted)}:root[data-theme=dark][data-theme=dark] crm-report-chart .tip:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .tip:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-deep)}:root[data-theme=dark][data-theme=dark] .fe-link.danger:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .fe-select:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .fe-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .fe-x:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .tab-switcher:not(.email-html-body *):not(.rich-editor-content *){background:var(--border)}:root[data-theme=dark][data-theme=dark] .tab-btn.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .reports-sidebar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .reports-sidebar:not(.email-html-body *):not(.rich-editor-content *)::-webkit-scrollbar-thumb,:root[data-theme=dark][data-theme=dark] .reports-content:not(.email-html-body *):not(.rich-editor-content *)::-webkit-scrollbar-thumb{background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .sidebar-search-input:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .category-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .category-header:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .category-count:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .report-nav-item:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .report-nav-item.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border-left:2px solid var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .filter-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .filter-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .filter-select:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .aggregate-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .aggregate-value:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .results-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .crm-table thead:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .crm-table td:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .crm-table tr:hover td:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .badge-blue:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-green:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-gray:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-muted);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .pagination-toolbar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .size-select:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .size-select:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .loading-spinner:not(.email-html-body *):not(.rich-editor-content *){border:2px solid var(--border);border-top-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .error-icon-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light)}:root[data-theme=dark][data-theme=dark] .empty-icon-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .modal-icon-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);border:1px solid var(--border-dark);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .modal-close-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .drillable-row:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)!important}:root[data-theme=dark][data-theme=dark][data-theme=dark] .drillable-row:hover td:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .dd-aggregates:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-bottom:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .dd-nav-link:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);border:1px solid var(--border-dark);background:var(--border)}:root[data-theme=dark][data-theme=dark] .dd-nav-link:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .section-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary);border-bottom:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] crm-ticket-form .crm-form-label:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-form-label:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-compact-input:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-select:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-textarea:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-compact-input:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-select:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-textarea:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .form-actions:not(.email-html-body *):not(.rich-editor-content *){border-top:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] crm-ticket-form .btn-primary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-ticket-form .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-ticket-form .btn-secondary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface);border-color:var(--border-dark);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] crm-ticket-form .btn-secondary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .record-avatar.avatar-ticket:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .ticket-badge-mono:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .message-bubble-card:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .message-bubble-card.agent-msg:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .message-bubble-card.customer-msg:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border-color:var(--border)}:root[data-theme=dark][data-theme=dark] .avatar-agent:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .sender-role-tag:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .sender-role-tag.agent-tag:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .system-event-pill:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary);background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .assignment-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#4fd8ab;border-color:var(--info-border)}:root[data-theme=dark][data-theme=dark] .sys-time:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .reply-composer-wrap:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .composer-tabs:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .composer-tab-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted);border-right:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .composer-tab-btn.active:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .composer-actions-bar:not(.email-html-body *):not(.rich-editor-content *){border-top:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .quick-status-label:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .badge-green:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] crm-ticket-detail-page .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-ticket-detail-page .btn-secondary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .icon-blue:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .icon-rose:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#ef8198}:root[data-theme=dark][data-theme=dark] .icon-amber:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning)}:root[data-theme=dark][data-theme=dark] .icon-green:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .text-blue:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .text-rose:not(.email-html-body *):not(.rich-editor-content *){color:#ef8198}:root[data-theme=dark][data-theme=dark] .text-amber:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] .text-green:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .crm-compact-table th:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .clickable-row:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .clickable-row:hover .ticket-title-link:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .category-pill:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .avatar-mini:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .p-urgent:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#ef8198;border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark] .p-high:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4a57b;border:1px solid var(--warning-border)}:root[data-theme=dark][data-theme=dark] .p-medium:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0;border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .p-low:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-muted);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .badge-open:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0;border:1px solid var(--info-border)}:root[data-theme=dark][data-theme=dark] .badge-new:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#bb84eb;border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-pending:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning);border:1px solid var(--warning-border)}:root[data-theme=dark][data-theme=dark] .badge-waiting:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f49d7b;border:1px solid var(--warning-border)}:root[data-theme=dark][data-theme=dark] .badge-resolved:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .badge-closed:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-gray:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .btn-row-action:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .btn-delete-row:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger);background:var(--danger-light)}:root[data-theme=dark][data-theme=dark] crm-tickets-page .crm-modal-container:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-container:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] crm-tickets-page .crm-modal-header:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-header:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] crm-tickets-page .crm-modal-close-btn:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-close-btn:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] crm-tickets-page .btn-primary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-tickets-page .btn-primary:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-tickets-page .btn-secondary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface);border-color:var(--border-dark);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] crm-tickets-page .btn-secondary:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .team-badge-large:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .avatar-md:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--border)!important;border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .card-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .record-subtabs:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .subtab-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .subtab-btn:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .subtab-btn.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100);color:var(--text-heading);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .badge-role:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab;border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .badge-manager:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning);border:1px solid var(--warning-border)}:root[data-theme=dark][data-theme=dark] .badge-primary-team:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100);color:var(--text-heading);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .badge-subtle:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#5fd0b0;border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .modal-dialog:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .modal-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .type-badge-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .required:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .form-control:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .form-control:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .field-error:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .alert-danger:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border:1px solid var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .modal-footer:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .clear-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .error-msg:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .empty-icon-wrap:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-subtle:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab;border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .btn-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .btn-edit:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover);color:var(--brand-fg);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .header-notification-badge:not(.email-html-body *):not(.rich-editor-content *){color:#4fd8ab;border:1.5px solid var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .user-role-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .notification-popover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .notif-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .notif-count-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .notif-filter-pills:not(.email-html-body *):not(.rich-editor-content *){background:var(--border)}:root[data-theme=dark][data-theme=dark] .filter-pill-btn.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .btn-mark-all:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .notif-scroll-body:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .notif-section-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-bottom:1px solid var(--border-light);border-top:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .section-count-tag:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .notif-item-row:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .notif-item-row:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .notif-item-row.is-unread:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .notif-item-row.is-unread:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .unread-dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .icon-box--contract:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab;border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .icon-box--campaign:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#f4c07b;border:1px solid var(--warning-border)}:root[data-theme=dark][data-theme=dark] .icon-box--support:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .icon-box--deal:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .icon-box--contact:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .icon-box--company:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab;border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .icon-box--general:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab;border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .is-unread .notif-title-text:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .notif-module-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .badge--contract:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge--support:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge--campaign:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4c67b}:root[data-theme=dark][data-theme=dark] .badge--meeting:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge--task:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge--email:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge--deal:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .notif-record-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab;border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .notif-priority-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4c67b}:root[data-theme=dark][data-theme=dark] .notif-priority-badge.urgent:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .btn-action-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .btn-action-icon:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .btn-dismiss:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger);border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] .empty-bell-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .notif-footer:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .btn-footer-link:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .gmail-reconnect-banner:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);border-bottom:1px solid var(--warning-border);color:#efa980}:root[data-theme=dark][data-theme=dark] .gmail-banner-dismiss:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-sign-page:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary);background:radial-gradient(1100px 520px at 12% -8%,var(--green-100) 0%,rgba(207,230,245,0) 60%),radial-gradient(900px 480px at 100% 0%,var(--success-bg) 0%,rgba(214,241,232,0) 55%),var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .logo:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] crm-sign-page .tag:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .tag:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:var(--brand-fg);background:var(--bg-surface);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] crm-sign-page .card:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .card:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] crm-sign-page .steps:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .steps:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:linear-gradient(135deg,#0b2645 0%,var(--brand-bg) 55%,#1b8fc4 100%)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-sign-page .step.on .dot:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] .step.on .dot:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-sign-page .step.done .dot:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] .step.done .dot:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-color:var(--success-border);color:#7bf4d4}:root[data-theme=dark][data-theme=dark] h1:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] h2:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] crm-sign-page .sub:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .sub:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .facts:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .facts dt:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] crm-sign-page .notice:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .notice:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--green-50);border:1px solid var(--green-200);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] crm-sign-page .btn:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:var(--text-primary);border:1px solid var(--green-200);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-sign-page .btn.primary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn.primary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:linear-gradient(135deg,var(--brand-bg) 0%,#1b8fc4 100%);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] crm-sign-page .btn.link:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn.link:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] crm-sign-page .code:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .code:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border:1.5px solid var(--green-200);color:var(--brand-fg);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-sign-page .code:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .code:focus:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .resend:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .docfile:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--green-200);background:var(--bg-surface-subtle);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .docfile:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .docfile:focus-visible:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .docfile-ic:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1.5px solid var(--green-200);color:#ea8a85}:root[data-theme=dark][data-theme=dark][data-theme=dark] .docfile-main small:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .docfile-act:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .consent:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .msg p:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] crm-sign-page .badge.ok:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge.ok:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--success-bg);color:#84ebaa}:root[data-theme=dark][data-theme=dark] crm-sign-page .badge.bad:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge.bad:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] crm-sign-page .badge.warn:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge.warn:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--warning-bg);color:var(--warning)}:root[data-theme=dark][data-theme=dark] crm-sign-page .badge.info:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge.info:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .decline-box:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--danger-border);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .decline-box label:not(.email-html-body *):not(.rich-editor-content *){color:#d9c9c9}:root[data-theme=dark][data-theme=dark][data-theme=dark] .decline-box textarea:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .decline-box textarea:not(.email-html-body *):not(.rich-editor-content *)::placeholder,:root[data-theme=dark][data-theme=dark] crm-sign-page .code:not(.email-html-body *):not(.rich-editor-content *)::placeholder,:root[data-theme=dark][data-theme=dark] .code:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *)::placeholder{color:#abb6c4}:root[data-theme=dark][data-theme=dark] crm-sign-page .btn.danger:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn.danger:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-color:var(--danger)}:root[data-theme=dark][data-theme=dark] .error:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border:1px solid var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark] crm-sign-page .foot:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .foot:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:#abb6c4}:root[data-theme=dark][data-theme=dark] crm-sign-page .spin:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .spin:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border:3px solid var(--border);border-top-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .ap-k:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ap-f:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ap-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ap-empty:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .ap-dom--lost .ap-dom-name:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .ap-dom-n:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .ap-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .ap-link--bad:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .ap-chk:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .ap-err:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .ap-btn--primary:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .gmail-docked-container:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .docked-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .docked-content-form:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .docked-left-column:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .email-field-row:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .email-field-row:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .email-recipient-chip:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border:1px solid var(--border-dark);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .email-recipient-chip.fixed:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--border);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .chip-avatar:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .chip-remove-btn:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .contact-dropdown-select:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .contact-dropdown-select:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .contact-dropdown-select:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .field-toggle-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark] .btn-hide-field:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .docked-attachment-tray:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .att-composer-chip:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .att-composer-chip:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .att-chip-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .att-chip-remove:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .footer-btn-attach.has-attachments:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--green-50);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .footer-att-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .docked-footer-bar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .btn-send-group:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .btn-gmail-send:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .btn-gmail-send:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-deep)}:root[data-theme=dark][data-theme=dark] .btn-send-dropdown-trigger:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-deep)}:root[data-theme=dark][data-theme=dark] .send-schedule-popover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .schedule-popover-item:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .footer-icon-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .footer-icon-btn.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .footer-emoji-dropdown:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .footer-url-dropdown:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .footer-url-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .footer-url-input:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .footer-url-apply-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .footer-url-cancel-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .sig-popover-menu:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .sig-popover-item:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark] .sig-popover-item.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sig-check-mark:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sig-manage-link:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sig-manage-link:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark] .btn-discard-trash:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .docked-crm-sidebar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .sidebar-tab-switcher:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .sidebar-tab-btn.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);color:var(--brand-fg);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .sidebar-assoc-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .sidebar-assoc-pill.assoc-pill--contact:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--warning-border);background:var(--warning-bg);color:#f09b7f}:root[data-theme=dark][data-theme=dark] .sidebar-assoc-pill.assoc-pill--company:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200);background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sidebar-assoc-pill.assoc-pill--deal:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-100);background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sidebar-pill-del:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .btn-sidebar-assoc-add:not(.email-html-body *):not(.rich-editor-content *){border:1px dashed var(--border-dark);background:var(--bg-surface);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .btn-sidebar-assoc-add:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .assoc-docked-dropdown:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .assoc-docked-dropdown-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .assoc-docked-item:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark] .sidebar-att-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .sidebar-att-icon-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sidebar-att-del-btn:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .btn-sidebar-add-file:not(.email-html-body *):not(.rich-editor-content *){border:1px dashed var(--border-dark);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .btn-sidebar-add-file:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sidebar-signature-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .sidebar-signature-card:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .sidebar-signature-card.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sig-default-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sig-card-active-check:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sig-card-preview-content:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .btn-sidebar-manage-sig:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--bg-surface);border:1px dashed var(--border-dark)}:root[data-theme=dark][data-theme=dark] .btn-sidebar-manage-sig:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--brand-fg);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] crm-activity-composer .crm-modal-container:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-container:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] crm-activity-composer .crm-modal-header:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-header:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-bottom:1px solid var(--border-light);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-type-badge-icon.icon--meeting:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-type-badge-icon.icon--call:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-type-badge-icon.icon--note:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4ce7b}:root[data-theme=dark][data-theme=dark] .crm-type-badge-icon.icon--task:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .crm-modal-main-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .crm-header-nav-tabs:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .crm-nav-tab:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-nav-tab:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-nav-tab.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-outcome-badge-static:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface-subtle);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .crm-btn-close-circle:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-btn-close-circle:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-modal-form-body:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-field-label:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-req-star:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .crm-info-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .crm-text-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);color:var(--text-primary);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-text-input:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-select-input:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary);background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-select-input:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-select-input:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-dt-pill-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-dt-pill-box:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-dt-pill-box:focus-within:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-dt-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-dt-date-input:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-dt-divider:not(.email-html-body *):not(.rich-editor-content *){background:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-dt-time-select:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-dt-arrow:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .crm-segmented-pill-group:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .crm-seg-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .crm-seg-btn:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-seg-btn.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-toggle-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-slider:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .crm-slider:not(.email-html-body *):not(.rich-editor-content *):before{background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-toggle-main:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-toggle-sub:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-meet-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);border:1px solid var(--info-border)}:root[data-theme=dark][data-theme=dark] .crm-meet-icon-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .crm-meet-label:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .crm-meet-url:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-btn-copy-meet:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--info-border);background:var(--bg-surface);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .crm-btn-copy-meet:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg)}:root[data-theme=dark][data-theme=dark] .crm-btn-join-meet:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--info-border);background:var(--bg-surface);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .crm-btn-join-meet:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg)}:root[data-theme=dark][data-theme=dark] .crm-attendee-chip:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .crm-attendee-chip.is-locked:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--info-border)}:root[data-theme=dark][data-theme=dark] .crm-chip-locked-indicator:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .crm-attendee-locked-tag:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .crm-attendee-name:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-attendee-email:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-chip-delete-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .crm-chip-delete-btn:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .crm-btn-add-attendee-trigger:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);border:1px dashed var(--green-200);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .crm-btn-add-attendee-trigger:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg)}:root[data-theme=dark][data-theme=dark] .crm-attendee-dropdown-menu:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-dropdown-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-bottom:1px solid var(--border);color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-btn-close-sm:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .crm-attendee-input-bar:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .crm-attendee-text-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .crm-attendee-text-input:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-btn-add-mini:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .crm-dropdown-subtitle:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-dropdown-item:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .crm-item-name:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-item-sub:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-dropdown-empty:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .crm-editor-box:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-editor-box:focus-within:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-editor-box.is-focused:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-toolbar-row:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .crm-toolbar-select:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);background:var(--bg-surface);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .crm-tool-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .crm-tool-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-tool-divider:not(.email-html-body *):not(.rich-editor-content *){background:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-url-dropdown:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-url-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-url-input:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-url-apply-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .crm-url-cancel-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .crm-emoji-dropdown:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-emoji-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg)}:root[data-theme=dark][data-theme=dark] .crm-editor-textarea-wrap:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-main-rich-editor:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-main-rich-editor:empty:not(.email-html-body *):not(.rich-editor-content *):before{color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .crm-main-rich-editor h2:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .crm-main-rich-editor h3:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .crm-main-rich-editor blockquote:not(.email-html-body *):not(.rich-editor-content *){border-left:2px solid var(--border-dark);color:var(--text-muted)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .crm-main-rich-editor a:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-mention-popup:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-mention-popup-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-bottom:1px solid var(--border);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .crm-mention-tip:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .crm-mention-item:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-mention-item.active:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg)}:root[data-theme=dark][data-theme=dark] .crm-mention-name:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-mention-sub:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .badge-user:not(.email-html-body *):not(.rich-editor-content *){background:#322c4e;color:#a87cf3}:root[data-theme=dark][data-theme=dark] .badge-contact:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .crm-sidebar-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .crm-sidebar-card-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-sidebar-subtitle:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-sidebar-label:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .crm-sidebar-select-wrap:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-sidebar-select-wrap:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-sidebar-select-wrap:focus-within:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-field-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-sidebar-select:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-sidebar-author-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .crm-author-name:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-author-email:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .crm-assoc-record-item:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .crm-assoc-type-tag:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .crm-assoc-name:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-assoc-del-btn:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .crm-assoc-del-btn:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .crm-btn-assoc-action:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px dashed var(--border-dark);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-btn-assoc-action:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-color:var(--green-200);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-assoc-dropdown-menu:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] crm-activity-composer .crm-modal-footer:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-footer:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-top:1px solid var(--border-light);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-btn-delete-outline:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .crm-btn-delete-outline:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light)}:root[data-theme=dark][data-theme=dark] .crm-btn-ghost-cancel:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .crm-btn-ghost-cancel:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-primary);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-btn-primary-action:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg);border:1px solid var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .crm-btn-primary-action:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .modal-dialog:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .modal-header:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border-light);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .type-note:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .type-call:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .type-task:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .type-meeting:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .type-email:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .badge-note:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge-call:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge-task:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge-meeting:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge-email:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .direction-sent:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .direction-received:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge-status:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .priority-high:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .priority-urgent:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .priority-medium:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4c67b}:root[data-theme=dark][data-theme=dark] .priority-low:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .btn-close:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .meta-banner:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border-bottom:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .meta-value.highlight:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .email-details-panel:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .meeting-details-panel:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .address-tag:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark] .tech-id-row:not(.email-html-body *):not(.rich-editor-content *){border-top:1px dashed var(--border)}:root[data-theme=dark][data-theme=dark] .mono-text:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .detail-grid:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .meet-link:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .modal-att-chip:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .content-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .assoc-pill:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .assoc-pill:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark);background:var(--green-50);color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .assoc-type-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .modal-footer:not(.email-html-body *):not(.rich-editor-content *){border-top:1px solid var(--border-light);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] crm-activity-detail-modal .btn-primary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-activity-detail-modal .btn-primary:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-deep)}:root[data-theme=dark][data-theme=dark] .btn-outline:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .btn-outline:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--brand-fg);color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] crm-activity-detail-modal .btn-secondary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--border);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] crm-activity-detail-modal .btn-secondary:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .node-note:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .node-call:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .node-task:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .node-meeting:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .node-email:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .activity-card-body:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .card-theme--task:not(.email-html-body *):not(.rich-editor-content *){border-left:2.5px solid var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .card-theme--meeting:not(.email-html-body *):not(.rich-editor-content *){border-left:2.5px solid var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .icon-box--note:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .icon-box--call:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .icon-box--task:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .icon-box--meeting:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .icon-box--email:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .direction-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .direction-sent:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .direction-received:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .gmail-badge:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary);background:var(--green-50);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .activity-dropdown-menu:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .chip-call-duration:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .chip-call-outcome:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .chip-call-dir:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab;border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .chip-task-due:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4c67b;border-color:var(--warning-border)}:root[data-theme=dark][data-theme=dark] .chip-task:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .chip-task-completed:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .chip-priority-high:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger);border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] .chip-priority-low:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab;border-color:var(--border)}:root[data-theme=dark][data-theme=dark] .chip-meeting-time:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .chip-neutral:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:#4fd8ab;border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .chip-outcome-scheduled:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .chip-outcome-completed:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .chip-outcome-cancelled:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger);border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] .chip-outcome-noshow:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4c67b;border-color:var(--warning-border)}:root[data-theme=dark][data-theme=dark] .chip-outcome-rescheduled:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:#4fd8ab;border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .call-meta-banner:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .call-meta-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .call-meta-val:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .task-meta-banner:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .task-meta-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .task-meta-val.status-done:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .email-meta-block:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .btn-email-action:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .meeting-card-details:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .btn-meeting-sync:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-meeting-cancel:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .outcome-select-compact:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .att-chip:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .att-chip--contact:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .att-chip--user:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .att-chip--external:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .assoc-tag-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .assoc-tag--company:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .assoc-tag--contact:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .assoc-tag--deal:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4c67b}:root[data-theme=dark][data-theme=dark] .tab-badge-count:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .btn-activity-create--note:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--brand-fg);color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .btn-activity-create--call:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .btn-activity-create--task:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--brand-fg);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .btn-activity-create--meeting:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--brand-fg);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .btn-activity-create--email:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:#4fd8ab}:root[data-theme=dark][data-theme=dark][data-theme=dark] .btn-activity-create--call .create-icon:not(.email-html-body *):not(.rich-editor-content *){color:#4fd8ab}:root[data-theme=dark][data-theme=dark][data-theme=dark] .btn-activity-create--task .create-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .btn-activity-create--meeting .create-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .btn-activity-create--email .create-icon:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .timeline-end-line:not(.email-html-body *):not(.rich-editor-content *){background:var(--border)}:root[data-theme=dark][data-theme=dark] .timeline-end-content:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .timeline-empty-state:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .empty-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--border)}:root[data-theme=dark][data-theme=dark] .bubble:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] crm-ai-draft-chat .head:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .head:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-bottom:1px solid var(--border-light);background:linear-gradient(180deg,var(--bg-surface),var(--bg-surface-subtle))}:root[data-theme=dark][data-theme=dark][data-theme=dark] .head-t small:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] crm-ai-draft-chat .ico:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .ico:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] crm-ai-draft-chat .ico:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .ico:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface-subtle);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .intro p:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .idea:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .idea:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .b:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab}:root[data-theme=dark][data-theme=dark][data-theme=dark] .msg--error .b:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger);border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark] crm-ai-draft-chat .tag:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .tag:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:#84ebaa}:root[data-theme=dark][data-theme=dark] .tag--off:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] crm-ai-draft-chat .act:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .act:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border:1px solid var(--border-dark);background:var(--bg-surface);color:#4fd8ab}:root[data-theme=dark][data-theme=dark] crm-ai-draft-chat .act:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .act:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--info-bg);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] crm-ai-draft-chat .chip:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .chip:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border:1px solid var(--border);background:var(--bg-surface);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] crm-ai-draft-chat .chip:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .chip:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface-subtle);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .composer:not(.email-html-body *):not(.rich-editor-content *){border-top:1px solid var(--border-light);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .composer textarea:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);color:var(--text-primary);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .composer textarea:focus:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .assoc-modal:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .assoc-modal-header:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border-bottom:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .assoc-modal-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .assoc-modal-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .assoc-modal-subtitle:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .btn-close-assoc:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .btn-close-assoc:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .type-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .type-pill:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .search-field:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .candidates-container:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .candidate-row:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .candidate-name:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .candidate-sub:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .candidates-loading:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .candidates-empty:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .assoc-modal-footer:not(.email-html-body *):not(.rich-editor-content *){border-top:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-add-association-dialog .assoc-modal-footer .btn-primary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] .assoc-modal-footer .btn-primary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg);border:1px solid var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] crm-add-association-dialog .assoc-modal-footer .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] .assoc-modal-footer .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] .br-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .br-x:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .br-x:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .br-ico:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .br-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .br-sub:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .br-label:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark][data-theme=dark] .br-label i:not(.email-html-body *):not(.rich-editor-content *){color:#ea8585}:root[data-theme=dark][data-theme=dark][data-theme=dark] .br-label em:not(.email-html-body *):not(.rich-editor-content *){color:#a5b2c0}:root[data-theme=dark][data-theme=dark] .br-text:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);color:var(--text-heading);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .br-text:not(.email-html-body *):not(.rich-editor-content *)::placeholder{color:#a5b2c0}:root[data-theme=dark][data-theme=dark] .br-meta:not(.email-html-body *):not(.rich-editor-content *){color:#a5b2c0}:root[data-theme=dark][data-theme=dark] .br-count--warn:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] .br-drop:not(.email-html-body *):not(.rich-editor-content *){border:1.5px dashed var(--green-200);background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .br-drop:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .br-drop--over:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .br-drop:focus-visible:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .br-drop strong:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-heading)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .br-drop span:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0}:root[data-theme=dark][data-theme=dark][data-theme=dark] .br-drop small:not(.email-html-body *):not(.rich-editor-content *){color:#a5b2c0}:root[data-theme=dark][data-theme=dark] .br-preview:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .br-preview img:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .br-preview-info strong:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-heading)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .br-preview-info small:not(.email-html-body *):not(.rich-editor-content *){color:#a5b2c0}:root[data-theme=dark][data-theme=dark] .br-remove:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .br-remove:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light)}:root[data-theme=dark][data-theme=dark] .br-error:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .br-btn:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface);color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .br-btn:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .br-btn--primary:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(135deg,var(--brand-bg),#165e94)}:root[data-theme=dark][data-theme=dark] .br-btn--primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(135deg,var(--brand-bg),#114e82)}:root[data-theme=dark][data-theme=dark] .global-dialog-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .icon-danger:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger);border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark] .icon-warning:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:#f4bc7b;border:1px solid var(--warning-border)}:root[data-theme=dark][data-theme=dark] .icon-primary:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg);border:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .prop-field-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .prop-field-input[readonly]:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .prop-field-input:disabled:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .url-open-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .url-open-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .bool-btn:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .bool-btn.active-yes:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .bool-btn.active-no:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .bool-clear-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .custom-fields-header:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .custom-fields-line:not(.email-html-body *):not(.rich-editor-content *){background:var(--border)}:root[data-theme=dark][data-theme=dark] .input:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .input:focus:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] select.filter-select:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .bool-btn:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .bool-btn:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .bool-btn.active-no:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border-color:var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .bool-dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .bool-clear-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .bool-unset-label:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .timeline-entry:not(.email-html-body *):not(.rich-editor-content *):before{background:var(--border)}:root[data-theme=dark][data-theme=dark] .node-email:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:#4fd8ab;border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .email-card-body:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .email-icon-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .thread-count-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .thread-count-pill:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover);color:var(--brand-fg);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .direction-sent:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .direction-received:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .gmail-badge:not(.email-html-body *):not(.rich-editor-content *){color:#4fd8ab;background:var(--green-50);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .gmail-badge:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover);border-color:var(--green-200);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .btn-menu-trigger:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark] .email-dropdown-menu:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .menu-action-item:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .thread-divider:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .earlier-msg-collapsed-bar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .earlier-msg-collapsed-bar:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .earlier-sender-avatar:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-100)}:root[data-theme=dark][data-theme=dark] .btn-collapse-msg:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .email-meta-block:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .btn-email-action:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--green-100);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .btn-email-action:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .btn-email-view-details:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .btn-email-view-details:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .assoc-remove:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .assoc-add-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .assoc-chip-wrap:has(.assoc-tag--company):not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .assoc-chip-wrap:has(.assoc-tag--contact):not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning);border-color:var(--warning-border)}:root[data-theme=dark][data-theme=dark] .assoc-chip-wrap:has(.assoc-tag--deal):not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .assoc-tag--company:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .assoc-tag--contact:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)}:root[data-theme=dark][data-theme=dark] .assoc-tag--deal:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .picker-trigger:focus-visible:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] .is-open .picker-trigger:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .picker-trigger:disabled:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border)}:root[data-theme=dark][data-theme=dark] .count-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50);color:var(--brand-fg);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .btn-action-text:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)}:root[data-theme=dark][data-theme=dark] .avatar-circle:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--border)!important;color:var(--brand-fg)!important;border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .team-avatar:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-50)!important;color:var(--brand-fg)!important;border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .team-avatar-sm:not(.email-html-body *):not(.rich-editor-content *){color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .team-link:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .text-success:not(.email-html-body *):not(.rich-editor-content *){color:#4fd8ab}:root[data-theme=dark][data-theme=dark] .text-danger:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .share-row:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .share-tag:not(.email-html-body *):not(.rich-editor-content *){color:#a87cf3}:root[data-theme=dark][data-theme=dark] .status-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .primary-team-pill:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(135deg,var(--brand-bg) 0%,var(--brand-bg) 100%)}:root[data-theme=dark][data-theme=dark] .set-primary-chip:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .set-primary-chip:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover);color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .perm-checkbox:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] app-ownership-panel .perm-checkbox:hover:not(.locked):not(.readonly-chip):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .perm-checkbox:hover:not(.locked):not(.readonly-chip):not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .btn-remove:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);border-color:var(--danger-border);color:var(--danger)}:root[data-theme=dark][data-theme=dark] .spinner-sm:not(.email-html-body *):not(.rich-editor-content *){border-top-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .history-dot:not(.email-html-body *):not(.rich-editor-content *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] app-ownership-panel .crm-modal-container:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-container:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] app-ownership-panel .crm-modal-header:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-header:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-bottom:1px solid var(--border-light);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] app-ownership-panel .crm-modal-close-btn:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-close-btn:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .input:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .input:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .input:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .modal-perm-chip:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] app-ownership-panel .crm-modal-footer:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-footer:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-top:1px solid var(--border-light);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] app-ownership-panel .btn-secondary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] app-ownership-panel .btn-secondary:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface-subtle);border-color:var(--border-dark);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] app-ownership-panel .btn-primary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg);border:1px solid var(--brand-fg)}:root[data-theme=dark][data-theme=dark] app-ownership-panel .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg);border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .phone-input-group:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .phone-input-group:hover:not(.is-disabled):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .phone-input-group:focus-within:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .phone-input-group.is-disabled:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border)}:root[data-theme=dark][data-theme=dark] .country-select-wrapper:not(.email-html-body *):not(.rich-editor-content *){border-right:1px solid var(--border-dark);background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .country-select-wrapper:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .record-restricted:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border-color:var(--border)}:root[data-theme=dark][data-theme=dark] .lock-indicator:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger);background:var(--danger-light)}:root[data-theme=dark][data-theme=dark] .badge-active:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .badge-gray:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .rich-editor-wrapper:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .toolbar-bottom .rich-editor-toolbar:not(.email-html-body *):not(.rich-editor-content *){border-top:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .t-divider:not(.email-html-body *):not(.rich-editor-content *){background:var(--border)}:root[data-theme=dark][data-theme=dark] .t-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .color-picker-wrap:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .emoji-dropdown:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .emoji-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg)}:root[data-theme=dark][data-theme=dark] .url-dropdown-popover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .url-dropdown-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .url-cancel-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .rich-editor-content:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-label)}:root[data-theme=dark][data-theme=dark] .rich-editor-content[placeholder]:empty:not(.email-html-body *):not(.rich-editor-content *):before{color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .rich-editor-content a:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .rich-editor-content blockquote:not(.email-html-body *):not(.rich-editor-content *){border-left:2px solid var(--border-dark);color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] .sp-tabs:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .sp-tab:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] crm-signature-pad .sp-tab.on:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .sp-tab.on:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--green-50);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .sp-canvas:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px dashed var(--green-200)}:root[data-theme=dark][data-theme=dark] .sp-hint:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .sp-clear:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .sp-input:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .sp-preview:not(.email-html-body *):not(.rich-editor-content *){border:1px dashed var(--green-200);background:var(--bg-surface);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .picker-trigger:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .picker-trigger:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .is-open .picker-trigger:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .picker-trigger:focus-visible:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .is-disabled .picker-trigger:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border)}:root[data-theme=dark][data-theme=dark] .unassigned-icon:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--text-disabled)}:root[data-theme=dark][data-theme=dark] .dropdown-search:focus-within:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .toast-item:not(.email-html-body *):not(.rich-editor-content *){--accent-soft: var(--bg-surface-subtle);background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .toast-success:not(.email-html-body *):not(.rich-editor-content *){--accent-soft: var(--green-50)}:root[data-theme=dark][data-theme=dark] .toast-error:not(.email-html-body *):not(.rich-editor-content *){--accent-soft: var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .toast-warning:not(.email-html-body *):not(.rich-editor-content *){--accent-soft: var(--warning-bg)}:root[data-theme=dark][data-theme=dark] .toast-info:not(.email-html-body *):not(.rich-editor-content *){--accent-soft: var(--green-50)}:root[data-theme=dark][data-theme=dark] .toast-close-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .view-tab-badge--system:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#4fd8ab;border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .view-tab-badge--shared:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100);color:var(--text-heading);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .view-tab-badge--private:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#5fd0b0;border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .view-tab-action-btn--danger:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger);background:var(--danger-light)}:root[data-theme=dark][data-theme=dark] .pop-modal-icon-badge:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .pop-modal-icon-badge--danger:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger);border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] .pop-modal-footer:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .required-star:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .form-input:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .form-select:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .form-input:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .form-select:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .form-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .form-select:focus:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .filter-count-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100);color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .filter-group-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .group-or-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning);border:1px solid var(--warning-border)}:root[data-theme=dark][data-theme=dark] .condition-row:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .prop-picker-btn:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .prop-picker-btn:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .custom-badge-mini:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .prop-dropdown-menu:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .prop-search-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .prop-option-row--active:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100);color:var(--text-heading)}:root[data-theme=dark][data-theme=dark] .custom-pill:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .btn-icon-danger:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger);background:var(--danger-light)}:root[data-theme=dark][data-theme=dark] .btn-add-group:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .manage-toolbar:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .manage-search-wrap:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .manage-filter-chip:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .manage-card-row:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .btn-pin-active:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100);color:var(--text-heading);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .btn-pin-active:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100)}:root[data-theme=dark][data-theme=dark] crm-view-tabs .btn-primary:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:disabled:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--border-dark)}:root[data-theme=dark][data-theme=dark] crm-view-tabs .btn-secondary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] crm-view-tabs .btn-secondary:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:hover:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .btn-danger-ghost:hover:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger);border-color:var(--danger-border);background:var(--danger-light)}:root[data-theme=dark][data-theme=dark] crm-bugs-page:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-campaign-detail-page:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-campaigns-page:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-campaign-email-studio:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-journey-builder:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-journey-card:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-journey-chain:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-contract-detail-page:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-contract-documents-page:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-contract-form-page:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-contract-settings-page:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-contracts-overview-page:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] crm-contracts-page:not(.email-html-body *):not(.rich-editor-content *){--c-ink: var(--text-primary);--c-ink-2: var(--text-secondary);--c-muted: var(--text-muted);--c-faint: var(--text-disabled);--c-line: var(--border);--c-line-2: var(--border-light);--c-surface: var(--bg-surface);--c-surface-2: var(--bg-surface-subtle);--c-brand: #2bb68c;--c-brand-2: #2bb68c;--c-brand-3: #2bb68c;--c-brand-soft: var(--green-50);--c-send-soft: var(--green-50);--c-wait-soft: var(--warning-bg);--c-cond-soft: var(--green-50);--c-end-soft: var(--bg-surface-subtle);--c-danger-soft: var(--danger-light);--c-warn-soft: var(--warning-bg);--c-info-soft: var(--info-bg)}:root[data-theme=dark][data-theme=dark] :is(crm-bugs-page,crm-campaign-detail-page,crm-campaign-email-studio,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page,crm-journey-builder,crm-journey-card,crm-journey-chain) .cmp-card--hover:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] :is(crm-bugs-page,crm-campaign-detail-page,crm-campaign-email-studio,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page,crm-journey-builder,crm-journey-card,crm-journey-chain) .cmp-btn:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] :is(crm-bugs-page,crm-campaign-detail-page,crm-campaign-email-studio,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page,crm-journey-builder,crm-journey-card,crm-journey-chain) .cmp-btn--primary:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(135deg,var(--brand-bg) 0%,var(--c-brand) 100%)}:root[data-theme=dark][data-theme=dark] :is(crm-bugs-page,crm-campaign-detail-page,crm-campaign-email-studio,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page,crm-journey-builder,crm-journey-card,crm-journey-chain) .cmp-btn--danger:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] :is(crm-bugs-page,crm-campaign-detail-page,crm-campaign-email-studio,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page,crm-journey-builder,crm-journey-card,crm-journey-chain) .cmp-input:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] :is(crm-bugs-page,crm-campaign-detail-page,crm-campaign-email-studio,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page,crm-journey-builder,crm-journey-card,crm-journey-chain) .cmp-select:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] :is(crm-bugs-page,crm-campaign-detail-page,crm-campaign-email-studio,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page,crm-journey-builder,crm-journey-card,crm-journey-chain) .cmp-skeleton:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(90deg,var(--bg-surface-subtle) 0%,var(--bg-surface-subtle) 40%,var(--bg-surface-subtle) 80%)}:root[data-theme=dark][data-theme=dark] .workspace-col:not(.email-html-body *):not(.rich-editor-content *)::-webkit-scrollbar-thumb{background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .status-active:not(.email-html-body *):not(.rich-editor-content *){background:var(--border);color:var(--brand-fg);border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .status-inactive:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#5fd0b0;border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .data-table th:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .data-table tr:hover td:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark] .avatar-sm:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg);background:var(--border)!important;border:1px solid var(--border-dark)}:root[data-theme=dark][data-theme=dark] .btn-icon:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .btn-delete:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light);color:var(--danger);border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] .btn-warning-action:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--warning-bg);color:var(--warning);border-color:var(--warning-border)}:root[data-theme=dark][data-theme=dark] .btn-success-action:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--green-100);color:var(--text-heading);border-color:var(--green-200)}:root[data-theme=dark][data-theme=dark] .workspace-page-container:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-base)}:root[data-theme=dark][data-theme=dark] .avatar-contact:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg);color:#5fd0b0}:root[data-theme=dark][data-theme=dark] .avatar-company:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] .avatar-deal:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle);color:#ba7ef1}:root[data-theme=dark][data-theme=dark] .crm-compact-input:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-select:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-compact-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-select:focus:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] crm-ticket-detail-page .crm-modal-container:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-container:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] crm-ticket-detail-page .crm-modal-header:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-header:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){border-bottom:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .crm-modal-main-title:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .crm-modal-main-subtitle:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] crm-ticket-detail-page .crm-modal-close-btn:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-close-btn:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){color:var(--text-muted)}:root[data-theme=dark][data-theme=dark] crm-ticket-detail-page .btn-primary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-primary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--brand-bg)}:root[data-theme=dark][data-theme=dark] crm-ticket-detail-page .btn-secondary:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .btn-secondary:not(.email-html-body *):not(.rich-editor-content *):not(:is(crm-campaign-detail-page,crm-campaigns-page,crm-contract-detail-page,crm-contract-documents-page,crm-contract-form-page,crm-contract-settings-page,crm-contracts-overview-page,crm-contracts-page) *){background:var(--bg-surface);border-color:var(--border-dark);color:var(--text-primary)}:root[data-theme=dark][data-theme=dark] .btn-ghost:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary)}:root[data-theme=dark][data-theme=dark] .btn-ghost:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .btn-delete-record:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)}:root[data-theme=dark][data-theme=dark] .btn-delete-record:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light)}:root[data-theme=dark][data-theme=dark] .input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .filter-select:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .search-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-form-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-form-select:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-select:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .form-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .form-control:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .field-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-input:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-select:focus:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .form-select:focus:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .input:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-form-input:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .filter-select:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-form-select:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-input:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-select:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .form-input:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .form-control:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .field-input:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-input:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-compact-select:disabled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .form-select:disabled:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] select option:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark] select optgroup:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .toggle-slider:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-slider:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--border-dark);border:1px solid var(--green-200)}:root[data-theme=dark][data-theme=dark] .toggle-slider:not(.email-html-body *):not(.rich-editor-content *):before,:root[data-theme=dark][data-theme=dark] .crm-slider:not(.email-html-body *):not(.rich-editor-content *):before{background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-stat-card:hover:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .crm-section-header:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .crm-section-line:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--border)}:root[data-theme=dark][data-theme=dark] .form-actions:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-footer:not(.email-html-body *):not(.rich-editor-content *){border-top:1px solid var(--border-light)}:root[data-theme=dark][data-theme=dark] .app-shell:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-base)}:root[data-theme=dark][data-theme=dark] .filter-select:hover:not(:disabled):not(.email-html-body *):not(.rich-editor-content *){border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-green:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-won:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-customer:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-connected:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-sent:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--green-50);color:var(--brand-fg);border-color:var(--green-100)}:root[data-theme=dark][data-theme=dark] .badge-blue:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-in-progress:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-lead:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface-subtle);color:var(--brand-fg);border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .badge-amber:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-opportunity:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-warning:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--warning-bg);color:#f4ca7b;border-color:var(--warning-border)}:root[data-theme=dark][data-theme=dark] .badge-red:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-lost:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-unqualified:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-cancelled:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-danger:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface-subtle);color:var(--danger);border-color:var(--danger-border)}:root[data-theme=dark][data-theme=dark] .badge-gray:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-other:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-sql:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-low-engagement:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-mql:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-high-engagement:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-remarketing:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-purple:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-indigo:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .badge-teal:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--border);color:#4fd8ab;border-color:var(--border-dark)}:root[data-theme=dark][data-theme=dark] .details-header:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark] .crm-modal-header:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border-light);background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .crm-modal-close-btn:hover:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .confirm-box:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--border)}:root[data-theme=dark][data-theme=dark] .confirm-icon:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--danger-light);color:var(--danger);border:1px solid var(--danger-border)}:root[data-theme=dark][data-theme=dark] .login-wrapper:not(.email-html-body *):not(.rich-editor-content *){background:radial-gradient(circle at center,var(--bg-surface) 0%,var(--bg-base) 100%)}:root[data-theme=dark][data-theme=dark] .btn-google:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .skeleton:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(90deg,var(--bg-surface-subtle) 25%,var(--bg-surface-subtle) 45%,var(--bg-surface-subtle) 65%)}:root[data-theme=dark][data-theme=dark] .route-progress:not(.email-html-body *):not(.rich-editor-content *):after{background:linear-gradient(90deg,transparent,#469fd2,var(--green-200))}:root[data-theme=dark][data-theme=dark] .login-orb--1:not(.email-html-body *):not(.rich-editor-content *){background:radial-gradient(circle,var(--green-200),transparent 70%)}:root[data-theme=dark][data-theme=dark] .login-orb--3:not(.email-html-body *):not(.rich-editor-content *){background:radial-gradient(circle,var(--green-100),transparent 70%)}:root[data-theme=dark][data-theme=dark] .login-card:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface)}:root[data-theme=dark][data-theme=dark] .login-card:not(.email-html-body *):not(.rich-editor-content *):before{background:linear-gradient(90deg,var(--brand-bg),#469fd2,var(--brand-bg))}:root[data-theme=dark][data-theme=dark] .hero-card:not(.email-html-body *):not(.rich-editor-content *):before{background:linear-gradient(90deg,var(--brand-bg),#469fd2,var(--brand-bg))}:root[data-theme=dark][data-theme=dark][data-theme=dark] .dashboard-container .dashboard-header:not(.email-html-body *):not(.rich-editor-content *){background:radial-gradient(60% 220% at 0% 0%,rgba(70,159,210,.2) 0%,transparent 65%),linear-gradient(135deg,var(--bg-surface) 0%,var(--green-50) 100%)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .dashboard-container .scope-notice-banner:not(.email-html-body *):not(.rich-editor-content *){background:linear-gradient(90deg,var(--green-50) 0%,var(--bg-surface-subtle) 100%)}:root[data-theme=dark][data-theme=dark][data-theme=dark] .dashboard-container .kpi-card:not(.email-html-body *):not(.rich-editor-content *){background:radial-gradient(90% 120% at 100% 0%,color-mix(in srgb,var(--kpi-accent) 9%,transparent) 0%,transparent 60%),var(--bg-surface)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .dashboard-container .kpi-card .kpi-icon-badge:not(.email-html-body *):not(.rich-editor-content *){background:color-mix(in srgb,var(--kpi-accent) 14%,var(--bg-surface))}:root[data-theme=dark][data-theme=dark][data-theme=dark] .dashboard-container .stage-progress-track:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] .dashboard-container .breakdown-bar-track:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)}:root[data-theme=dark][data-theme=dark] .app-content:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-base)}@supports (appearance: base-select){:root[data-theme=dark][data-theme=dark] select::picker-icon:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark] ::picker(select):not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface);border:1px solid var(--info-border)}:root[data-theme=dark][data-theme=dark][data-theme=dark] select option:hover:not(.email-html-body *):not(.rich-editor-content *),:root[data-theme=dark][data-theme=dark][data-theme=dark] select option:focus-visible:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--bg-surface-hover);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] select option:checked:not(.email-html-body *):not(.rich-editor-content *){background-color:var(--green-100);color:var(--brand-fg)}:root[data-theme=dark][data-theme=dark][data-theme=dark] select option::checkmark:not(.email-html-body *):not(.rich-editor-content *){color:#86c5ea}}:root[data-theme=dark] [style*="--tone-soft: #eceeff"]:not(.email-html-body *):not(.rich-editor-content *){--tone-soft: var(--green-50) !important}:root[data-theme=dark] [style*="--tone-soft: #ecf5fb"]:not(.email-html-body *):not(.rich-editor-content *){--tone-soft: var(--green-50) !important}:root[data-theme=dark] [style*="background: #eff6ff"]:not(.email-html-body *):not(.rich-editor-content *){background:var(--info-bg)!important}:root[data-theme=dark] [style*="background: #f0f7fb"]:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)!important}:root[data-theme=dark] [style*="background: #f1f8fc"]:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-subtle)!important}:root[data-theme=dark] [style*="background: #fef2f2"]:not(.email-html-body *):not(.rich-editor-content *){background:var(--danger-light)!important}:root[data-theme=dark] [style*="background: var(--color-brand-mint, #e1e7ee)"]:not(.email-html-body *):not(.rich-editor-content *){background:var(--border)!important}:root[data-theme=dark] [style*="border-bottom: 1px solid #f0f2f4"]:not(.email-html-body *):not(.rich-editor-content *){border-bottom:1px solid var(--border)!important}:root[data-theme=dark] [style*="border-color: #fee2e2"]:not(.email-html-body *):not(.rich-editor-content *){border-color:var(--danger-border)!important}:root[data-theme=dark] [style*="border-left: 1px #ccc solid"]:not(.email-html-body *):not(.rich-editor-content *){border-left:1px var(--border) solid!important}:root[data-theme=dark] [style*="border: 1px solid #c7d2de"]:not(.email-html-body *):not(.rich-editor-content *){border:1px solid var(--border-dark)!important}:root[data-theme=dark] [style*="color: #114f83"]:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)!important}:root[data-theme=dark] [style*="color: #2563eb"]:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0!important}:root[data-theme=dark] [style*="color: #555"]:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-secondary)!important}:root[data-theme=dark] [style*="color: #94a3b8"]:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-disabled)!important}:root[data-theme=dark] [style*="color: #dc2626"]:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)!important}:root[data-theme=dark] [style*="color: #ef4444"]:not(.email-html-body *):not(.rich-editor-content *){color:var(--danger)!important}:root[data-theme=dark] [style*="color: var(--color-brand-dark, #062e57)"]:not(.email-html-body *):not(.rich-editor-content *){color:var(--brand-fg)!important}:root[data-theme=dark] [style*="color:#2563eb"]:not(.email-html-body *):not(.rich-editor-content *){color:#5fd0b0!important}:root[data-theme=dark] [style*="color:#64748b"]:not(.email-html-body *):not(.rich-editor-content *){color:var(--text-muted)!important}:root[data-theme=dark] [style*="color:#92400e"]:not(.email-html-body *):not(.rich-editor-content *){color:var(--warning)!important}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] tbody tr:hover>td:not(.email-html-body *):not(.rich-editor-content *){background:var(--bg-surface-hover)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] tbody tr:hover>td:first-child:not(.email-html-body *):not(.rich-editor-content *){box-shadow:inset 3px 0 0 var(--primary)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .email-html-body,:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .rich-editor-content{background:#fff;color:#1f2937;border-radius:6px}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .email-html-body{padding:8px 10px}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .rich-editor-content:empty:before{color:#94a3b8}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .toast-item{border-left-width:4px}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .toast-item.toast-success{--accent: #34d399;--accent-soft: #14604f;background:#13453f;border-color:#1f8f73}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .toast-item.toast-error{--accent: #f87171;--accent-soft: #7a2a38;background:#3e1d2c;border-color:#b4465a}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .toast-item.toast-warning{--accent: #fbbf24;--accent-soft: #6a5415;background:#3a3016;border-color:#a8801c}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .toast-item.toast-info{--accent: #60a5fa;--accent-soft: #1f4a8c;background:#183d68;border-color:#2f6db5}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .toast-item .toast-progress{opacity:.9}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] *{--c-ink: var(--text-primary);--c-ink-2: var(--text-secondary);--c-muted: var(--text-muted);--c-faint: #86a5c2;--c-line: var(--border);--c-line-2: var(--border-light);--c-surface: var(--bg-surface);--c-surface-2: var(--bg-surface-subtle);--c-brand: #34d3a0;--c-brand-2: #2bb68c;--c-brand-3: #2bb68c;--c-brand-soft: var(--green-100);--c-brand-ring: #1f8f73;--c-send: #6dd3f5;--c-send-soft: #1b5478;--c-wait: #fbbf24;--c-wait-soft: #5a4817;--c-cond: #a9b8ff;--c-cond-soft: #33408a;--c-end: var(--text-muted);--c-end-soft: var(--bg-surface-subtle);--c-danger: #ff9a9a;--c-danger-soft: #6a2a38;--c-warn: #fbbf24;--c-warn-soft: #5a4817;--c-info: #8bb4ff;--c-info-soft: #25498f;--c-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 6px 18px -10px rgba(0, 0, 0, .7);--c-shadow-hover: 0 2px 4px rgba(0, 0, 0, .5), 0 16px 32px -14px rgba(0, 0, 0, .8)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .designer{background:#14365c;border-color:#2a5183}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .designer .bar{background:#19426e;border-bottom-color:#2a5183}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .designer .palette{background:#112e52;border-right-color:#2a5183}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .designer .canvas{background-color:#0e2847;background-image:radial-gradient(circle,#24507f 1.2px,transparent 1.4px)}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .card .ico,:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .card .reach{background:#112e52}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .card .x:hover{background:#112e52}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .cmp-btn--primary,:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .fchip--on{background:var(--gradient-primary);border-color:transparent;color:#fff;box-shadow:0 6px 16px -8px #0009}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .cmp-btn--primary:hover:not(:disabled),:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] .fchip--on:hover{background:var(--gradient-primary-hover);border-color:transparent;color:#fff}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] [style*="--tone: #104d80"]{--tone: #6dd3f5 !important}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] [style*="--tone: #2563eb"]{--tone: #8bb4ff !important}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] [style*="--tone: #4f46e5"]{--tone: #a9b8ff !important}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] [style*="--tone: #64748b"]{--tone: #a3bdd6 !important}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] [style*="--tone: #b45309"]{--tone: #fbbf24 !important}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] [style*="--tone: #dc2626"]{--tone: #ff9a9a !important}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] [style*="--tone-soft: #ecf5fb"]{--tone-soft: #1b4f78 !important}:root[data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark][data-theme=dark] [style*="--tone-soft: #eceeff"]{--tone-soft: #2f3c80 !important}
