:root{--hc-brand: #e61952;--hc-brand-hover: #c41344;--hc-brand-subtle: #fff0f4;--hc-brand-border: rgba(230, 25, 82, .5);--hc-canvas: #f4f6f8;--hc-surface: #ffffff;--hc-surface-recessed: #f8f9fa;--hc-surface-pill: #e9ecef;--hc-border: #dee2e6;--hc-border-input: #ced4da;--hc-text-primary: #212529;--hc-text-heading: #343a40;--hc-text-secondary: #495057;--hc-text-muted: #6c757d;--hc-text-disabled: #adb5bd;--hc-status-success-bg: #d4edda;--hc-status-success-text: #155724;--hc-status-success-accent: #28a745;--hc-status-danger-bg: #f8d7da;--hc-status-danger-text: #721c24;--hc-status-danger-accent: #dc3545;--hc-status-warning-bg: #fff3cd;--hc-status-warning-text: #856404;--hc-status-warning-accent: #ffc107;--hc-status-info-bg: #cce5ff;--hc-status-info-text: #004085;--hc-status-info-accent: #007bff;--hc-radius: 5px;--hc-radius-lg: 10px;--hc-radius-pill: 9999px;--hc-shadow-2xs: 0 1px 2px 0 rgba(0, 0, 0, .05);--hc-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .08), 0 1px 2px -1px rgba(0, 0, 0, .08);--hc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--hc-shadow-drawer: -4px 0 24px rgba(0, 0, 0, .15)}*,*:before,*:after{box-sizing:border-box}body{margin:0;padding:0}input,textarea,select,button{font-family:inherit}.crm-app{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--hc-canvas);color:var(--hc-text-primary);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;display:flex;flex-direction:column}.hc-header{background:var(--hc-surface);border-bottom:1px solid var(--hc-border);padding:12px 32px;min-height:72px;height:auto;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:50;box-shadow:var(--hc-shadow-2xs);flex-wrap:wrap;gap:12px}.hc-brand{display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;flex-shrink:0}.hc-brand-logo{height:auto;max-height:64px;width:auto;max-width:320px;object-fit:contain;display:block}.hc-header-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.theme-section{display:flex;flex-direction:column;gap:14px}.theme-section-label{font-size:12px;font-weight:700;color:var(--hc-text-heading);text-transform:uppercase;letter-spacing:.05em;display:flex;align-items:center;gap:6px}.theme-presets-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.theme-preset-btn{height:40px;border-radius:var(--hc-radius-lg);border:2px solid transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;transition:transform .12s ease,box-shadow .12s ease;box-shadow:var(--hc-shadow-2xs);position:relative}.theme-preset-btn:hover{transform:scale(1.06);box-shadow:var(--hc-shadow-sm)}.theme-preset-btn.active{border-color:#212529;box-shadow:0 0 0 2px #00000040}.theme-custom-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--hc-surface-recessed);border:1px solid var(--hc-border);border-radius:var(--hc-radius)}.theme-custom-preview{display:flex;align-items:center;gap:10px}.theme-color-input-wrap{width:32px;height:32px;border-radius:var(--hc-radius);overflow:hidden;position:relative;border:1px solid var(--hc-border);cursor:pointer}.theme-color-input{position:absolute;top:-8px;left:-8px;width:48px;height:48px;border:none;cursor:pointer;background:none}.theme-hex-code{font-family:monospace;font-size:13.5px;font-weight:600;color:var(--hc-text-primary);text-transform:uppercase}.hc-user-chip{display:flex;align-items:center;gap:10px;padding:6px 16px 6px 18px;border-radius:var(--hc-radius-pill);border:1px solid var(--hc-border);background:var(--hc-surface);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .12s ease,border-color .12s ease;font-size:14.5px;font-weight:500;color:var(--hc-text-secondary)}.hc-user-chip:hover{background:var(--hc-surface-recessed);border-color:var(--hc-brand-border)}.hc-avatar{width:36px;height:36px;border-radius:50%;background:var(--hc-brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0}.hc-caret{font-size:12px;color:var(--hc-text-muted);margin-left:-2px}.hc-automation-chip{background:var(--hc-status-info-bg);border-color:#007bff40;color:var(--hc-status-info-text);font-weight:600;gap:8px}.hc-automation-chip:hover{background:var(--hc-status-info-bg);border-color:var(--hc-status-info-accent)}.user-wrap{position:relative}.user-popover{position:absolute;top:calc(100% + 8px);right:0;width:420px;max-height:calc(100vh - 90px);overflow-y:auto;background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);box-shadow:var(--hc-shadow-lg);padding:22px 24px;z-index:55;opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .14s ease,transform .14s ease;color:var(--hc-text-primary)}.user-popover.open{opacity:1;pointer-events:auto;transform:translateY(0)}.settings-menu{position:absolute;top:calc(100% + 8px);right:0;width:300px;max-height:calc(100vh - 90px);overflow-y:auto;background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);box-shadow:var(--hc-shadow-lg);padding:10px;z-index:56;opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .14s ease,transform .14s ease;color:var(--hc-text-primary)}.settings-menu.open{opacity:1;pointer-events:auto;transform:translateY(0)}.settings-menu-header{display:flex;align-items:center;gap:10px;padding:6px 8px 14px}.settings-menu-name{font-size:13.5px;font-weight:600;color:var(--hc-text-primary)}.settings-menu-org{font-size:12px;color:var(--hc-text-muted)}.settings-menu-link{display:inline-flex;align-items:center;gap:6px;width:100%;text-align:left;background:none;border:none;padding:4px 8px 10px;font-size:12.5px;font-weight:500;color:var(--hc-brand);cursor:pointer}.settings-menu-link:hover{text-decoration:underline}.settings-menu-divider{height:1px;background:var(--hc-border);margin:6px 0}.settings-menu-item{display:flex;align-items:center;gap:10px;width:100%;background:none;border:none;border-radius:var(--hc-radius);padding:9px 8px;font-size:13.5px;font-weight:500;color:var(--hc-text-primary);cursor:pointer;text-align:left}.settings-menu-item:hover,.settings-menu-item.active{background:var(--hc-surface-pill)}.settings-menu-item svg:first-child{flex-shrink:0;color:var(--hc-text-secondary)}.settings-menu-item-danger{color:var(--hc-status-danger-text)}.settings-menu-item-danger svg:first-child{color:var(--hc-status-danger-text)}.settings-flyout{position:absolute;top:calc(100% + 8px);right:308px;width:400px;max-height:calc(100vh - 90px);overflow-y:auto;background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);box-shadow:var(--hc-shadow-lg);padding:22px 24px;z-index:55;color:var(--hc-text-primary)}.popover-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.popover-head h3{margin:0;font-size:16px;font-weight:700;color:var(--hc-text-heading)}.popover-sub{color:var(--hc-text-muted);font-size:13px;margin-bottom:18px}.smtp-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:4px 10px;border-radius:var(--hc-radius-pill);background:var(--hc-surface-recessed);color:var(--hc-text-muted)}.smtp-status.connected{background:var(--hc-status-success-bg);color:var(--hc-status-success-text)}.dot{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block}.password-field-wrap{position:relative;display:flex;align-items:center}.toggle-pwd-btn{position:absolute;right:8px;background:transparent;border:none;color:var(--hc-brand);cursor:pointer;padding:6px;border-radius:var(--hc-radius);-webkit-user-select:none;user-select:none;display:inline-flex;align-items:center;justify-content:center}.toggle-pwd-btn:hover{background:var(--hc-brand-subtle)}.hc-main{flex:1;padding:24px 28px;max-width:100%;width:100%;margin:0 auto}.hc-page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px;gap:16px;flex-wrap:wrap}.hc-page-title{font-size:28px;font-weight:700;margin:0 0 4px;color:var(--hc-brand);letter-spacing:-.01em}.hc-page-sub{color:var(--hc-text-secondary);font-size:15px}.btn{background:var(--hc-surface);color:var(--hc-text-secondary);border:1px solid var(--hc-border);padding:9px 18px;border-radius:var(--hc-radius);font-weight:600;font-size:14.5px;line-height:normal;cursor:pointer;display:inline-flex;align-items:center;gap:7px;font-family:inherit;transition:background .12s ease,border-color .12s ease,color .12s ease;-webkit-user-select:none;user-select:none;white-space:nowrap;box-shadow:var(--hc-shadow-2xs)}.btn:hover{background:var(--hc-surface-recessed)}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:var(--hc-brand);color:#fff;border-color:var(--hc-brand)}.btn-primary:hover{background:var(--hc-brand-hover);border-color:var(--hc-brand-hover)}.btn-outline{background:#fff;color:var(--hc-text-secondary);border:1px solid var(--hc-border)}.btn-outline:hover{background:var(--hc-surface-recessed);border-color:var(--hc-brand-border);color:var(--hc-brand)}.btn-danger{background:var(--hc-status-danger-accent);color:#fff;border-color:var(--hc-status-danger-accent)}.btn-danger:hover{background:#c82333;border-color:#c82333}.link-btn{background:none;border:none;padding:0;color:var(--hc-brand);font-weight:700;font-family:inherit;cursor:pointer}.link-btn:hover{text-decoration:underline}.btn-sm{padding:6px 13px;font-size:13px;border-radius:var(--hc-radius)}.btn-xs{padding:3px 8px;font-size:11.5px;gap:4px;border-radius:var(--hc-radius)}.hc-toggle{position:relative;display:inline-flex;align-items:center;gap:10px;cursor:pointer;-webkit-user-select:none;user-select:none}.hc-toggle input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.hc-toggle-track{width:40px;height:22px;border-radius:var(--hc-radius-pill);background:var(--hc-border-input);position:relative;flex-shrink:0;transition:background .15s ease}.hc-toggle-thumb{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000040;transition:transform .15s ease}.hc-toggle input:checked+.hc-toggle-track{background:var(--hc-brand)}.hc-toggle input:checked+.hc-toggle-track .hc-toggle-thumb{transform:translate(18px)}.hc-toggle input:focus-visible+.hc-toggle-track{outline:2px solid var(--hc-brand);outline-offset:2px}.hc-toggle-label{font-size:13px;font-weight:500;color:var(--hc-text-primary)}.field .hc-toggle{display:inline-flex;text-transform:none;letter-spacing:normal;font-weight:400;color:inherit;margin-bottom:0}.field .hc-toggle input{width:1px;height:1px}.hc-radio-row{display:flex;align-items:center;gap:24px}.hc-radio{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13.5px;font-weight:400;color:var(--hc-text-primary);text-transform:none;letter-spacing:normal}.field .hc-radio{display:inline-flex;text-transform:none;letter-spacing:normal;font-weight:400;color:inherit;margin-bottom:0}.hc-radio input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.hc-radio-dot{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--hc-border-input);background:var(--hc-surface);flex-shrink:0;position:relative;transition:border-color .12s ease}.hc-radio-dot:after{content:"";position:absolute;top:50%;left:50%;width:10px;height:10px;border-radius:50%;background:var(--hc-brand);transform:translate(-50%,-50%) scale(0);transition:transform .12s ease}.hc-radio input:checked+.hc-radio-dot{border-color:var(--hc-brand)}.hc-radio input:checked+.hc-radio-dot:after{transform:translate(-50%,-50%) scale(1)}.hc-radio input:focus-visible+.hc-radio-dot{outline:2px solid var(--hc-brand);outline-offset:2px}.newsletter-picker-pill{display:flex;align-items:center;gap:8px;font-family:inherit;font-size:13.5px;color:var(--hc-text-secondary);border:1.5px solid var(--hc-border);border-radius:var(--hc-radius-pill);padding:7px 14px 7px 7px;cursor:pointer;background:var(--hc-surface);transition:border-color .12s ease,background .12s ease,color .12s ease}.newsletter-picker-pill:hover{border-color:var(--hc-brand-border)}.newsletter-picker-pill.selected{background:var(--hc-brand-subtle);border-color:var(--hc-brand);color:var(--hc-brand-hover);font-weight:600}.newsletter-picker-check{width:20px;height:20px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--hc-border-input);background:var(--hc-surface);color:#fff}.newsletter-picker-pill.selected .newsletter-picker-check{background:var(--hc-brand);border-color:var(--hc-brand)}.hc-page-thumb{display:flex;flex-direction:column;gap:5px;background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius);padding:6px}.hc-page-thumb img{width:100%;display:block;border-radius:var(--hc-radius);border:1px solid var(--hc-border)}.hc-page-thumb span{font-size:11px;font-weight:600;color:var(--hc-text-muted);text-align:center}.hc-template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.hc-template-card{background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);padding:16px;display:flex;flex-direction:column;gap:4px;box-shadow:var(--hc-shadow-2xs);min-height:150px}.hc-template-card-name{font-weight:600;font-size:14px;color:var(--hc-text-heading);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-add-card{align-items:center;justify-content:center;gap:8px;min-height:150px;border-color:var(--hc-brand-border);background:var(--hc-brand-subtle);color:var(--hc-brand);cursor:pointer;transition:background .12s ease,border-color .12s ease}.hc-add-card:hover{border-color:var(--hc-brand)}.hc-add-card.disabled{cursor:default;opacity:.7}.hc-add-card-label{font-weight:600;font-size:14px}.hc-template-card-subtitle{font-size:12px;color:var(--hc-text-muted);margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hc-template-card-actions{display:flex;gap:8px;align-self:flex-start;margin-top:auto}.field{margin-bottom:16px;min-width:0}.field label{display:block;font-size:12.5px;font-weight:700;color:var(--hc-text-heading);margin-bottom:6px;text-transform:uppercase;letter-spacing:.05em}.required-asterisk{color:var(--hc-status-danger-accent);margin-left:3px;font-weight:800}.field input,.field select,.field textarea{width:100%;padding:10px 14px;border:1px solid var(--hc-border-input);border-radius:var(--hc-radius);font-size:14.5px;font-family:inherit;background:#fff;color:var(--hc-text-primary);transition:border-color .12s ease,box-shadow .12s ease}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--hc-brand)}.field input.input-error,.field select.input-error,.field textarea.input-error{border-color:var(--hc-status-danger-accent)!important;box-shadow:0 0 0 1px var(--hc-status-danger-accent)}.field input.input-error:focus,.field select.input-error:focus,.field textarea.input-error:focus{outline:none;border-color:var(--hc-status-danger-accent)!important;box-shadow:0 0 0 2px #dc354540!important}.field-error-msg{color:var(--hc-status-danger-accent);font-size:12px;font-weight:600;margin-top:4px;overflow-wrap:anywhere}.field input::placeholder,.field textarea::placeholder{color:var(--hc-text-disabled)}.hc-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.hc-kpi{background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius);padding:12px 18px;box-shadow:var(--hc-shadow-2xs);display:flex;flex-direction:column;justify-content:space-between;min-height:108px;cursor:default}.hc-kpi-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.hc-kpi-title{font-size:12.5px;font-weight:700;color:var(--hc-text-heading);text-transform:uppercase;letter-spacing:.05em;line-height:1.3}.hc-kpi-icon{width:32px;height:32px;border-radius:var(--hc-radius);background:var(--hc-surface-recessed);color:var(--hc-text-muted);display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.hc-kpi-body{display:flex;align-items:baseline;gap:8px;margin-top:4px}.hc-kpi-count{font-size:28px;font-weight:800;letter-spacing:-.02em;color:var(--hc-text-primary);font-variant-numeric:tabular-nums;line-height:1.15}.hc-kpi-trend{display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:var(--hc-radius);font-size:11.5px;font-weight:700}.hc-kpi-trend.up{background:var(--hc-status-success-bg);color:var(--hc-status-success-text)}.hc-kpi-trend.down{background:var(--hc-status-danger-bg);color:var(--hc-status-danger-text)}.hc-kpi-trend.flat{background:var(--hc-surface-pill);color:var(--hc-text-muted)}.hc-kpi-footer{margin-top:6px;padding-top:6px;border-top:1px solid var(--hc-border);display:flex;align-items:center;justify-content:space-between;font-size:12px}.hc-kpi-desc{color:var(--hc-text-muted);max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-table-card{background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius);box-shadow:var(--hc-shadow-2xs)}.hc-table-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid var(--hc-border);gap:14px;flex-wrap:wrap;background:var(--hc-surface);border-radius:var(--hc-radius) var(--hc-radius) 0 0}.hc-toolbar-left{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.hc-toolbar-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hc-tabs{display:inline-flex;border:1px solid var(--hc-border);border-radius:var(--hc-radius);overflow:hidden;background:var(--hc-surface-pill);flex-shrink:0}.hc-tab{padding:9px 18px;font-size:14.5px;font-weight:600;font-family:inherit;color:var(--hc-text-secondary);background:transparent;border:none;border-right:1px solid var(--hc-border);cursor:pointer;white-space:nowrap;transition:background .12s ease,color .12s ease}.hc-tab:last-child{border-right:none}.hc-tab.active{background:var(--hc-brand);color:#fff}.hc-tab:hover:not(.active){background:var(--hc-brand-subtle);color:var(--hc-brand)}.hc-search{border:1px solid var(--hc-border-input);padding:9px 14px 9px 38px;border-radius:var(--hc-radius);font-size:14.5px;background:#fff;color:var(--hc-text-primary);font-family:inherit;min-width:260px}.hc-search:focus{outline:none;border-color:var(--hc-brand)}.hc-search::placeholder{color:var(--hc-text-muted)}.hc-search-wrap{position:relative;display:inline-flex;align-items:center}.hc-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--hc-text-muted);pointer-events:none}table{width:100%;border-collapse:separate;border-spacing:0}thead th{text-align:left;font-size:13.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;line-height:1.35;color:var(--hc-text-secondary);padding:16px 20px;border-bottom:1px solid var(--hc-border);background:var(--hc-surface-recessed);-webkit-user-select:none;user-select:none}.th-sortable{cursor:pointer;transition:background .12s ease,color .12s ease}.th-sortable:hover{background:#0000000a;color:var(--hc-brand)}.th-sortable.th-sorted{color:var(--hc-brand);background:var(--hc-brand-subtle)}.th-content{display:inline-flex;align-items:center;gap:6px}.th-sort-icon{display:inline-flex;align-items:center;flex-shrink:0}.th-sort-reset{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:1px;margin:0;border:none;background:none;cursor:pointer;color:inherit;opacity:.55;border-radius:var(--hc-radius);transition:opacity .12s ease,background .12s ease}.th-sort-reset:hover{opacity:1;background:#00000014}.th-sort-neutral{opacity:.35;transition:opacity .12s ease,color .12s ease}.th-sortable:hover .th-sort-neutral{opacity:.85;color:var(--hc-brand)}.th-sort-active{color:var(--hc-brand);opacity:1}.hc-table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:0 0 var(--hc-radius) var(--hc-radius)}.hc-table-card>.hc-table-responsive:first-child{border-radius:var(--hc-radius)}.leads-table{min-width:1720px;width:100%;table-layout:fixed}.col-name{width:260px}.col-type{width:150px}.col-stage{width:215px}.col-status{width:180px}.col-contact{width:165px}.col-date{width:160px}.col-last-email{width:215px}.col-action-by{width:130px}.col-actions{width:245px}.manage-users-table{min-width:1105px;width:100%;table-layout:fixed}.mu-col-username{width:170px}.mu-col-email{width:280px}.mu-col-org{width:220px}.mu-col-role,.mu-col-status{width:115px}.mu-col-action{width:205px}.mu-cell-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mu-row-self,.mu-row-self:hover{background:var(--hc-brand-subtle)}.mu-you-badge{margin-left:8px;padding:1px 8px;font-size:11px;background:var(--hc-brand);color:#fff}.col-actions,.actions-cell{position:sticky;right:0;box-shadow:-8px 0 8px -8px #0000001f}.col-actions{z-index:2;background:var(--hc-surface-recessed)}.actions-cell{z-index:1;background:var(--hc-surface)}tbody tr:hover .actions-cell{background:var(--hc-surface-recessed)}.hc-drilldown-bar{display:flex;align-items:center;gap:10px;padding:12px 20px;background:var(--hc-surface-recessed);border-bottom:1px solid var(--hc-border);flex-wrap:wrap}.hc-drilldown-label{font-size:12px;font-weight:700;color:var(--hc-text-heading);text-transform:uppercase;letter-spacing:.05em;display:flex;align-items:center;gap:6px;margin-right:4px;flex-shrink:0}.hc-drilldown-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex:1 1 auto}.hc-filters-group .custom-select-wrap{flex:1 1 150px;min-width:130px}.hc-filters-group .custom-select-trigger{width:100%;min-width:0}.hc-clear-filters-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:var(--hc-radius);font-size:13px;font-weight:600;color:var(--hc-brand);background:var(--hc-brand-subtle);border:1px solid var(--hc-brand-border);cursor:pointer;transition:all .12s ease;white-space:nowrap}.hc-clear-filters-btn:hover{background:var(--hc-brand);color:#fff}tbody td{padding:16px 20px;vertical-align:middle;font-size:15.5px}tbody tr{cursor:pointer;transition:background .1s ease;border-top:1px solid var(--hc-border)}tbody tr:first-child{border-top:none}tbody tr:hover{background:var(--hc-surface-recessed)}.lead-name,.cell-action-by-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-name{font-weight:700;color:var(--hc-text-primary);font-size:16.5px;line-height:1.3}.cell-date{font-size:14.5px;color:var(--hc-text-secondary)}.cell-date-sub{font-size:12.5px;color:var(--hc-text-muted);margin-top:2px}.actions-cell-inner{display:flex;gap:8px;justify-content:flex-end}.contact-popover{position:absolute;width:360px;background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);box-shadow:var(--hc-shadow-lg);padding:18px 20px;z-index:60;color:var(--hc-text-primary);cursor:default;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.contact-popover-arrow{position:absolute;top:-7px;width:14px;height:14px;background:var(--hc-surface);border-left:1px solid var(--hc-border);border-top:1px solid var(--hc-border);transform:translate(-50%) rotate(45deg);z-index:-1}.contact-popover-row{display:flex;align-items:flex-start;gap:10px;padding:10px 0}.contact-popover-row+.contact-popover-row{border-top:1px solid var(--hc-border)}.contact-popover-icon{flex-shrink:0;margin-top:2px;color:var(--hc-text-muted)}.contact-popover-row-body{flex:1 1 auto;min-width:0}.contact-popover-row-label{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--hc-text-muted);margin-bottom:2px}.contact-popover-row-value{font-size:14px;color:var(--hc-text-primary);word-break:break-word}.contact-popover-row-link{color:var(--hc-brand);text-decoration:none}.contact-popover-row-link:hover{text-decoration:underline}.contact-popover-row-empty{color:var(--hc-text-muted);font-style:italic}.contact-popover-hint{font-size:12px;color:var(--hc-text-muted);margin-top:4px}.contact-popover-send-btn{margin-top:10px}.badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:var(--hc-radius);font-size:13px;font-weight:600;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.badge-type{background:var(--hc-surface-pill);color:var(--hc-text-secondary)}.badge-community{background:var(--hc-brand-subtle);color:var(--hc-brand)}.badge-employer{background:var(--hc-status-info-bg);color:var(--hc-status-info-text)}.badge-stage{background:var(--hc-status-warning-bg);color:var(--hc-status-warning-text);border:1px solid rgba(255,193,7,.25)}.badge-success-contact{background:var(--hc-status-success-bg);color:var(--hc-status-success-text)}.badge-no-contact{background:var(--hc-surface-pill);color:var(--hc-text-muted)}.badge-signed-up{background:var(--hc-status-success-bg);color:var(--hc-status-success-text)}.badge-opted-out{background:var(--hc-status-danger-bg);color:var(--hc-status-danger-text)}.badge-non-responsive{background:var(--hc-surface-pill);color:var(--hc-text-muted)}.badge-active-drip{background:var(--hc-status-info-bg);color:var(--hc-status-info-text)}.badge-lead-active{background:var(--hc-status-success-bg);color:var(--hc-status-success-text)}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:260px;text-align:center;padding:54px 20px;color:var(--hc-text-muted);font-size:14.5px;font-style:italic}.hc-pagination{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:var(--hc-surface-recessed);border-top:1px solid var(--hc-border);font-size:14px;color:var(--hc-text-muted);gap:12px;flex-wrap:wrap}.hc-pagination-info{flex:1}.hc-pagination-info-row{display:flex;align-items:center;gap:16px;flex:1;flex-wrap:wrap}.hc-page-size-picker{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--hc-text-muted);white-space:nowrap}.hc-pagination-controls{display:flex;gap:8px;align-items:center}.hc-pagination-page{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--hc-text-primary);font-weight:500;padding:0 10px}.hc-page-jump-input{width:44px;padding:4px 6px;border:1px solid var(--hc-border-input);border-radius:var(--hc-radius);font-size:14px;font-family:inherit;color:var(--hc-text-primary);text-align:center;-moz-appearance:textfield}.hc-page-jump-input::-webkit-outer-spin-button,.hc-page-jump-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.hc-page-jump-input:focus{outline:none;border-color:var(--hc-brand)}.hc-page-btn{padding:6px 14px;border:1px solid var(--hc-border-input);background:#fff;border-radius:var(--hc-radius);font-size:13px;cursor:pointer;color:var(--hc-text-secondary);font-family:inherit;font-weight:500;display:inline-flex;align-items:center;gap:6px}.hc-page-btn:hover:not(:disabled){background:var(--hc-surface-pill)}.hc-page-btn:disabled{opacity:.4;cursor:not-allowed}.backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:90;opacity:0;transition:opacity .15s ease}.backdrop.open{display:block;opacity:1}.modal{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-52%);width:calc(100% - 32px);max-width:580px;max-height:92vh;overflow-y:auto;overflow-x:hidden;background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);box-shadow:var(--hc-shadow-lg);padding:26px 28px;z-index:100;opacity:0;transition:opacity .15s ease,transform .15s ease}.modal.open{display:block;opacity:1;transform:translate(-50%,-50%)}.modal.large-modal{max-width:1100px}.hc-tour-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200}.hc-tour-overlay-dim{background:#00000073}.hc-tour-spotlight{position:fixed;border-radius:var(--hc-radius-lg);box-shadow:0 0 0 9999px #00000073;z-index:201;pointer-events:none;transition:top .15s ease,left .15s ease,width .15s ease,height .15s ease}.hc-tour-tooltip{position:fixed;width:320px;max-width:calc(100vw - 32px);background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);box-shadow:var(--hc-shadow-lg);padding:18px 20px;z-index:202}.hc-tour-tooltip-centered{top:50%;left:50%;transform:translate(-50%,-50%)}.hc-tour-close{position:absolute;top:12px;right:12px;background:none;border:none;cursor:pointer;color:var(--hc-text-muted);display:inline-flex;padding:2px}.hc-tour-step-count{font-size:12px;color:var(--hc-text-muted);margin-bottom:6px}.hc-tour-title{margin:0 0 8px;font-size:16px;color:var(--hc-text-heading)}.hc-tour-body{margin:0 0 16px;font-size:13px;line-height:1.5;color:var(--hc-text-secondary)}.hc-tour-actions{display:flex;align-items:center;gap:8px}.modal.compose{max-width:700px}.modal h2{font-size:20px;font-weight:700;margin:0 0 4px;color:var(--hc-text-primary)}.modal-sub{color:var(--hc-text-muted);font-size:13.5px;margin-bottom:20px}.import-results-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.import-results-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--hc-surface-recessed);border-radius:var(--hc-radius);padding:10px 12px;font-size:13.5px}.import-results-row-label{display:flex;align-items:center;gap:8px}.import-results-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;flex-shrink:0}.import-results-icon-success{background:var(--hc-status-success-bg);color:var(--hc-status-success-accent)}.import-results-icon-info{background:var(--hc-status-info-bg);color:var(--hc-status-info-accent)}.import-results-icon-danger{background:var(--hc-status-danger-bg);color:var(--hc-status-danger-accent)}.import-results-icon-warning{background:var(--hc-status-warning-bg);color:var(--hc-status-warning-text)}.modal-grid-2{display:grid;grid-template-columns:repeat(3,1fr);gap:0 18px}@media(max-width:900px){.modal-grid-2{grid-template-columns:1fr 1fr}}.modal-actions{display:flex;align-items:center;gap:10px;margin-top:24px;padding-top:16px;border-top:1px solid var(--hc-border);position:sticky;bottom:-26px;background:var(--hc-surface);z-index:10;padding-bottom:6px}.modal-actions .spacer,.spacer{flex:1}.compose-meta{display:flex;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid var(--hc-border);font-size:14.5px}.compose-meta .label{font-weight:700;color:var(--hc-text-muted);min-width:75px;font-size:12.5px;text-transform:uppercase;letter-spacing:.04em}.compose-meta .value{color:var(--hc-text-primary);flex:1}.compose-meta input{flex:1;border:none;outline:none;font-size:14.5px;font-family:inherit;background:transparent;color:var(--hc-text-primary)}.compose-body{width:100%;min-height:240px;padding:14px 16px;border:1px solid var(--hc-border-input);border-radius:var(--hc-radius);font-family:inherit;font-size:14.5px;resize:vertical;margin:16px 0 0;background:#fff;color:var(--hc-text-primary)}.compose-body:focus{outline:none;border-color:var(--hc-brand)}.hc-back-link{display:inline-flex;align-items:center;gap:7px;color:var(--hc-brand);font-size:14px;font-weight:700;border:1px solid var(--hc-border);background:#fff;padding:7px 16px;border-radius:var(--hc-radius);margin-bottom:18px;cursor:pointer;transition:background .12s ease,border-color .12s ease}.hc-back-link:hover{background:var(--hc-brand-subtle);border-color:var(--hc-brand-border)}.hc-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:14px}.hc-detail-name{font-size:28px;font-weight:700;margin:0;color:var(--hc-brand);letter-spacing:-.01em}.hc-detail-badges{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.hc-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;margin-top:8px}.hc-detail-card{background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius);padding:20px 22px;box-shadow:var(--hc-shadow-2xs);margin-bottom:20px}.hc-detail-card:last-child{margin-bottom:0}.hc-detail-card h3{font-size:13px;font-weight:700;margin:0 0 16px;color:var(--hc-text-heading);text-transform:uppercase;letter-spacing:.06em;display:flex;align-items:center;justify-content:space-between}.hc-detail-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--hc-border);font-size:14.5px;gap:14px}.hc-detail-row:last-child{border-bottom:none}.hc-detail-label{color:var(--hc-text-muted);font-weight:500;flex-shrink:0;font-size:13.5px}.hc-detail-value{color:var(--hc-text-primary);font-weight:600;text-align:right;word-break:break-word;font-size:14.5px}.notes-textarea{width:100%;min-height:120px;padding:12px 14px;border:1px solid var(--hc-border-input);border-radius:var(--hc-radius);font-family:inherit;font-size:14.5px;resize:vertical;margin-bottom:12px;background:#fff;color:var(--hc-text-primary)}.notes-textarea:focus{outline:none;border-color:var(--hc-brand)}.notes-save-bar{display:flex;justify-content:flex-end}.timeline{position:relative;padding-left:26px}.timeline:before{content:"";position:absolute;top:8px;bottom:8px;left:5px;width:2px;background:var(--hc-border);border-radius:1px}.timeline-item{position:relative;margin-bottom:20px}.timeline-item:last-child{margin-bottom:0}.timeline-dot{position:absolute;left:-26px;top:4px;width:12px;height:12px;border-radius:50%;background:var(--hc-brand);border:2px solid var(--hc-surface);box-shadow:0 0 0 2px #e6195240}.timeline-content{display:flex;flex-direction:column;gap:3px}.timeline-title{font-size:14.5px;font-weight:600;color:var(--hc-text-primary)}.timeline-desc{font-size:13px;color:var(--hc-text-muted)}.timeline-date{font-size:12px;color:var(--hc-text-disabled);margin-top:3px}.toast{position:fixed;bottom:24px;right:24px;transform:translateY(12px);padding:11px 16px;border-radius:var(--hc-radius-lg);box-shadow:0 6px 20px #00000038,0 2px 6px #0000001a;z-index:10000;max-width:min(92vw,760px);min-width:300px;width:max-content;pointer-events:none;opacity:0;transition:opacity .22s ease,transform .22s cubic-bezier(.16,1,.3,1);display:flex;align-items:center;justify-content:space-between;gap:16px;background:#1976d2;color:#fff;box-sizing:border-box}.toast.open{opacity:1;transform:translateY(0);pointer-events:auto}.toast.info{background:#1976d2}.toast.success{background:#2e7d32}.toast.error{background:#d32f2f}.toast.warning{background:#ed6c02}.toast-content{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.toast-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}.toast-text{color:#fff;font-weight:700;font-size:14.5px;line-height:1.35;letter-spacing:-.01em;word-break:break-word;white-space:pre-line}.toast-close-btn{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;color:#fff;cursor:pointer;padding:4px;border-radius:var(--hc-radius);opacity:.85;transition:opacity .15s ease,background-color .15s ease;flex-shrink:0;line-height:1}.toast-close-btn:hover{opacity:1;background-color:#fff3}.custom-select-wrap{position:relative;display:inline-block}.custom-select-trigger{display:inline-flex;align-items:center;gap:7px;padding:8px 15px;border:1px solid var(--hc-border-input);border-radius:var(--hc-radius);background:#fff;color:var(--hc-text-primary);font-size:14px;font-weight:500;font-family:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;transition:border-color .12s ease;min-width:160px;justify-content:space-between}.custom-select-trigger:hover{border-color:var(--hc-brand-border)}.custom-select-trigger:focus{outline:none;border-color:var(--hc-brand)}.custom-select-caret{color:var(--hc-brand);flex-shrink:0;transition:transform .18s ease}.custom-select-caret.open{transform:rotate(180deg)}.custom-select-menu{position:absolute;top:calc(100% + 5px);left:0;min-width:100%;background:#fff;border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);box-shadow:var(--hc-shadow-lg);z-index:60;overflow:hidden;animation:dropdownIn .12s ease;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}@keyframes dropdownIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes hc-spin{to{transform:rotate(360deg)}}.hc-spin{animation:hc-spin .7s linear infinite}.hc-loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:6px;background:#ffffffb8;color:var(--hc-text-muted);font-size:12.5px;font-weight:500;border-radius:inherit;z-index:1}.hc-loading-block{display:flex;align-items:center;justify-content:center;gap:8px;padding:40px 0;color:var(--hc-text-muted);font-size:13px}.custom-select-option{display:block;width:100%;padding:9px 15px;text-align:left;font-size:14px;font-family:inherit;font-weight:500;background:transparent;border:none;cursor:pointer;color:var(--hc-text-primary);transition:background .1s ease,color .1s ease;white-space:nowrap}.custom-select-option:hover{background:var(--hc-brand-subtle);color:var(--hc-brand)}.custom-select-option.selected{background:var(--hc-brand);color:#fff;font-weight:700}.field .custom-select-wrap{width:100%;display:block}.field .custom-select-trigger{width:100%;padding:10px 14px;font-size:14.5px;min-height:40px;border-radius:var(--hc-radius);background:#fff}.field .custom-select-menu{width:100%}.hc-footer{background:var(--hc-surface-recessed);border-top:1px solid var(--hc-border);padding:18px 32px;margin-top:auto}.hc-footer-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;font-size:14px;color:var(--hc-text-muted)}.hc-footer-badges{display:flex;align-items:center;justify-self:start}.hc-footer-badges-img{height:96px;width:auto;max-width:300px;object-fit:contain;display:block}.hc-footer-links{display:flex;align-items:center;justify-self:center;gap:20px;flex-wrap:wrap}.hc-footer-links a{color:var(--hc-text-muted);text-decoration:none;font-size:14px;transition:color .12s ease}.hc-footer-links a:hover{color:var(--hc-brand);text-decoration:underline}.hc-footer-powered{display:flex;align-items:center;justify-self:end}.hc-footer-powered-link{display:inline-flex;align-items:center;text-decoration:none}.hc-footer-powered-img{height:44px;width:auto;object-fit:contain;display:block}.auth-page{min-height:100vh}.auth-page-header{padding:8px 32px 0}.auth-page-logo{height:64px;width:auto;display:block}.auth-form-panel{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:8px 24px;background:var(--hc-canvas)}.auth-card{width:100%;max-width:440px;background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);box-shadow:var(--hc-shadow-lg);padding:40px 36px}.auth-card.auth-card-wide{max-width:560px;padding:20px 36px}.auth-card h1{font-size:24px;margin:0 0 6px}.auth-card .hc-page-sub{margin:0 0 28px}.auth-card.auth-card-wide .hc-page-sub{margin-bottom:12px}.auth-card.auth-card-wide .field{margin-bottom:8px}.auth-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}@media(max-width:500px){.auth-page-header{padding:20px 20px 0}.auth-form-panel{padding:24px 16px}.auth-card{padding:28px 22px}}.hc-lead-detail-layout{display:grid;grid-template-columns:280px 1fr;gap:20px;align-items:start}.hc-lead-sidebar{background:var(--hc-surface);border:1px solid var(--hc-border);border-radius:var(--hc-radius-lg);padding:16px;box-shadow:var(--hc-shadow-sm);display:flex;flex-direction:column;gap:12px;position:sticky;top:90px;max-height:calc(100vh - 120px);overflow-y:auto}.hc-sidebar-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--hc-text-muted)}.hc-sidebar-search{width:100%;padding:8px 12px;font-size:13px;border:1px solid var(--hc-border-input);border-radius:var(--hc-radius);outline:none}.hc-sidebar-search:focus{border-color:var(--hc-brand)}.hc-sidebar-list{display:flex;flex-direction:column;gap:6px;overflow-y:auto}.hc-sidebar-item{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:var(--hc-radius);border:1px solid transparent;background:var(--hc-surface-recessed);cursor:pointer;transition:all .15s ease;text-align:left}.hc-sidebar-item:hover{background:#f1f5f9;border-color:var(--hc-border)}.hc-sidebar-item.active{background:var(--hc-brand-subtle);border-color:var(--hc-brand-border)}.hc-sidebar-name{font-weight:600;font-size:14px;color:var(--hc-text-heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hc-sidebar-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11.5px}.hc-table-toolbar,.hc-filters-group,.hc-kpis,.hc-detail-badges{flex-wrap:wrap}.hc-kpi,.hc-tab,.hc-card,.hc-detail-card,.hc-detail-value,.hc-sidebar-item{min-width:0}@media(max-width:1024px){.hc-header{padding:10px 20px}.hc-brand-logo{max-width:240px;max-height:52px}.hc-kpis{grid-template-columns:repeat(2,1fr)}.hc-lead-detail-layout{grid-template-columns:240px 1fr}.hc-filters-group .custom-select-wrap{flex:1 1 140px}}@media(max-width:900px){.hc-table-toolbar{flex-direction:column;align-items:stretch;gap:12px}.hc-toolbar-left{width:100%;justify-content:flex-start}.hc-toolbar-right{width:100%;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.hc-search-wrap{flex:1 1 100%;width:100%}.hc-search{min-width:0;width:100%}.hc-drilldown-bar{flex-direction:column;align-items:stretch}.hc-drilldown-group{width:100%}}@media(max-width:1100px){.actions-cell-inner{flex-direction:column;align-items:flex-end}}@media(max-width:768px){.hc-header{padding:8px 14px}.hc-brand-logo{max-width:190px;max-height:44px}.hc-automation-chip{font-size:12px;padding:5px 10px}.hc-main{padding:16px 12px}.hc-kpis,.hc-detail-grid{grid-template-columns:1fr}.hc-lead-detail-layout{grid-template-columns:220px 1fr;gap:12px}.hc-lead-sidebar{max-height:calc(100vh - 100px);padding:12px}.modal-grid-2{grid-template-columns:1fr}.modal.large-modal{max-width:calc(100vw - 24px)}.hc-footer-inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}.hc-footer-badges-img{height:100px}}@media(max-width:600px){.hc-lead-detail-layout{grid-template-columns:1fr}.hc-lead-sidebar{max-height:240px}}.rte-wrap{border:1px solid var(--hc-border);border-radius:var(--hc-radius);overflow:hidden}.rte-toolbar{display:flex;gap:4px;padding:6px 8px;background:var(--hc-surface-muted, #f8fafc);border-bottom:1px solid var(--hc-border)}.rte-toolbar-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid transparent;border-radius:var(--hc-radius);background:transparent;color:var(--hc-text-secondary);cursor:pointer}.rte-toolbar-btn:hover{background:var(--hc-border)}.rte-toolbar-btn.active{background:var(--hc-brand);color:#fff}.rte-content{padding:10px 12px;min-height:160px;font-size:14px}.rte-content .ProseMirror{outline:none;min-height:140px}.rte-content p{margin:0 0 10px}
