:root{--bg: #f5f6f7;--surface: #ffffff;--surface-2: #fbfcfc;--surface-muted: #f7f9fa;--surface-hover: #f1f6fb;--border: #e6e9ec;--border-soft: #eef0f2;--border-strong: #d9dfe3;--text: #15171a;--text-2: #3a434a;--muted: #6b747c;--muted-2: #9aa2aa;--primary: #2563eb;--primary-2: #4f46e5;--primary-weak: #eef3f9;--on-primary: #ffffff;--accent-grad: linear-gradient(135deg, #3b82f6, #6366f1);--user-grad: linear-gradient(135deg, #2563eb, #4f46e5);--shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);--shadow-lg: 0 12px 38px rgba(31, 41, 55, .12);--sidebar-w: 296px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}[data-theme=dark]{--bg: #0f1216;--surface: #171b21;--surface-2: #13161b;--surface-muted: #1b2027;--surface-hover: #212834;--border: #2a3038;--border-soft: #232830;--border-strong: #353c46;--text: #e6e9ee;--text-2: #c2c9d2;--muted: #98a2ad;--muted-2: #707a85;--primary: #5b8dff;--primary-2: #8b87ff;--primary-weak: #1a2336;--on-primary: #ffffff;--accent-grad: linear-gradient(135deg, #3b82f6, #6366f1);--user-grad: linear-gradient(135deg, #2f6fe0, #5b54e6);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);--shadow-lg: 0 16px 40px rgba(0, 0, 0, .55)}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;min-width:320px;height:100vh;overflow:hidden;background:var(--bg);color:var(--text)}.loadingSpin{animation:loadingSpin .9s linear infinite}@keyframes loadingSpin{to{transform:rotate(360deg)}}button,input,textarea{font:inherit}button{cursor:pointer}.appShell{position:relative;display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);height:100vh;min-height:0;overflow:hidden;background:var(--bg);transition:grid-template-columns .22s ease,background-color .2s ease}.appShell.resizing{transition:background-color .2s ease}.sidebarResizer{position:absolute;top:0;bottom:0;left:var(--sidebar-w);z-index:5;width:11px;transform:translate(-50%);pointer-events:none;background:transparent}.sidebarResizerZone{position:absolute;left:0;width:100%;cursor:col-resize;pointer-events:auto;background:transparent}.sidebarResizerZone.top{top:0;bottom:calc(50% + 34px)}.sidebarResizerZone.bottom{top:calc(50% + 34px);bottom:0}.sidebarResizerZone:after{content:"";position:absolute;inset:0 auto 0 50%;width:2px;transform:translate(-50%);background:transparent}.sidebar{position:sticky;top:0;z-index:20;align-self:start;display:flex;flex-direction:column;gap:16px;height:100vh;min-height:0;padding:22px 16px;border-right:1px solid var(--border);background:var(--surface-2);transition:background-color .2s ease,border-color .2s ease}.sidebarHead{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:64px}.brandButton{display:flex;align-items:center;flex:0 1 auto;min-width:0;height:auto;padding:4px;border:0;border-radius:10px;background:transparent;justify-content:center}.brandButton img{width:auto;max-width:100%;height:78px;object-fit:contain}.sidebarEdgeToggle{position:absolute;right:-12px;top:50%;z-index:45;transform:translateY(-50%);display:grid;place-items:center;flex:none;width:24px;height:38px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);cursor:pointer;box-shadow:var(--shadow-sm);transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.sidebarEdgeToggle svg{position:absolute;top:50%;left:50%;display:block}.sidebarEdgeToggle .collapseIcon.left{transform:translate(-43%,-50%)}.sidebarEdgeToggle .collapseIcon.right{transform:translate(-57%,-50%)}.sidebarEdgeToggle:hover{border-color:var(--border-strong);background:var(--surface-hover);color:var(--text)}.nav{display:grid;gap:4px;margin-top:18px}.navItem{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-height:46px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);text-align:left;transition:background-color .15s ease,color .15s ease}.navItem svg{flex:none}.navItem:hover{background:var(--surface-hover);color:var(--text-2)}.navItem span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.navItem.active{background:var(--primary-weak);color:var(--text);font-weight:700}.sidebarUser{position:relative;flex:none;margin-top:auto;padding-top:12px}.spamQuickAdd{display:grid;grid-template-columns:18px minmax(0,1fr) 28px;align-items:center;gap:6px;width:100%;min-height:36px;margin-top:4px;padding:4px 5px 4px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);transition:border-color .15s ease,background-color .15s ease}.spamQuickAdd:focus-within{border-color:var(--primary);background:var(--surface-2)}.spamQuickAdd>svg{color:var(--muted)}.spamQuickAdd input{min-width:0;height:26px;padding:0;border:0;outline:none;background:transparent;color:var(--text);font-size:12.5px}.spamQuickAdd input::placeholder{color:var(--muted-2)}.spamQuickAdd button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:7px;background:var(--primary);color:var(--on-primary);transition:opacity .15s ease,transform .15s ease}.spamQuickAdd button:disabled{cursor:not-allowed;opacity:.45}.spamQuickAdd button:not(:disabled):active{transform:scale(.96)}.spamQuickStatus{margin:2px 4px 0;overflow:hidden;color:#287a45;font-size:11.5px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.spamQuickStatus.error{color:#b84e3a}.spamListChevron{color:var(--muted-2);transition:transform .18s ease}.spamListChevron.open{transform:rotate(180deg)}.spamQuickList{display:grid;gap:3px;max-height:140px;overflow-y:auto;padding:6px 8px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted)}.spamQuickEmail,.spamQuickMuted,.spamQuickError{overflow:hidden;font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.spamQuickEmail{color:var(--text-2)}.spamQuickMuted{color:var(--muted-2)}.spamQuickError{color:#b84e3a}.userButton{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:8px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;transition:background-color .15s ease,border-color .15s ease}.userButton:hover,.userButton.active{background:var(--surface-hover)}.userAvatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent-grad);color:#fff;font-size:14px;font-weight:760}.userMeta{display:grid;min-width:0}.userMeta strong{overflow:hidden;color:var(--text);font-size:13.5px;text-overflow:ellipsis;white-space:nowrap}.userMeta small{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.userMenuBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40}.userMenu{position:absolute;bottom:calc(100% + 8px);left:0;right:0;z-index:45;display:grid;gap:2px;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-lg)}.userMenuRow{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:38px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--text-2);text-align:left;font-size:13.5px;transition:background-color .15s ease}.userMenuRow:hover{background:var(--surface-hover)}.userMenuRow.active{background:var(--surface-hover);color:var(--text)}.userMenuRow svg{color:var(--muted)}.miniSwitch{position:relative;width:34px;height:19px;border-radius:999px;background:var(--border-strong);transition:background-color .15s ease}.miniSwitch.on{background:var(--primary)}.miniSwitch>span{position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000040;transition:transform .15s ease}.miniSwitch.on>span{transform:translate(15px)}.secondaryButton,.approveButton,.iconButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:8px;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.main{display:flex;flex-direction:column;min-width:0;height:100vh;min-height:0;overflow:hidden}.topbar{display:none;align-items:center;gap:12px;min-height:60px;padding:0 16px;border-bottom:1px solid var(--border-soft);background:var(--surface-2)}.topbarLead{display:flex;align-items:center;gap:12px;min-width:0}.topbarActions{display:flex;align-items:center;gap:10px}.menuButton{display:none}.breadcrumbs{display:flex;align-items:center;gap:14px;min-width:0;color:var(--muted);font-weight:650}.breadcrumbs strong{overflow:hidden;color:var(--text-2);text-overflow:ellipsis;white-space:nowrap}.llmToggle{display:inline-grid;grid-template-columns:auto auto 42px;align-items:center;gap:10px;min-height:38px;padding:0 10px 0 13px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text-2);font-size:13px;font-weight:720;white-space:nowrap;transition:background .15s ease,border-color .15s ease,color .15s ease}.llmToggle.enabled{border-color:#beded0;background:#f2fbf6;color:#1f6d4f}.llmToggle.disabled{border-color:#e4d5d0;background:#fff8f6;color:#994331}.llmToggleState{min-width:24px;text-align:right}.llmToggleTrack{position:relative;width:42px;height:22px;border-radius:999px;background:#c9d0d5;transition:background .15s ease}.llmToggle.enabled .llmToggleTrack{background:#259567}.llmToggleThumb{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #232b3240;transition:transform .15s ease}.llmToggle.enabled .llmToggleThumb{transform:translate(20px)}.monitorState{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border:1px solid var(--border);border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.monitorState.online{border-color:#78b58b;color:#2e7750}.monitorState.offline{color:var(--muted)}.approveButton{border:1px solid #1d7a56;background:#1f8a60;color:#fff;font-weight:720;padding:0 16px}.secondaryButton{border:1px solid var(--border-strong);background:var(--surface);color:var(--text-2);font-weight:650;padding:0 14px}.secondaryButton:hover{background:var(--surface-hover)}.iconButton{width:38px;height:38px;border:1px solid var(--border-strong);background:var(--surface);color:var(--text-2)}.iconButton:hover{background:var(--surface-hover);color:var(--text)}.content{flex:1;min-height:0;overflow:hidden;padding:28px}.listPane{min-width:0;border-radius:10px;background:var(--surface);border:1px solid var(--border);overflow:hidden;box-shadow:var(--shadow-sm)}[data-theme=dark] .llmToggle.enabled{border-color:#2f5d49;background:#13241c;color:#74d3a4}[data-theme=dark] .llmToggle.disabled{border-color:#5d3b33;background:#241613;color:#e0998a}[data-theme=dark] .llmToggle.enabled .llmToggleTrack{background:#2f9e6e}[data-theme=dark] .errorBanner{border-color:#5d2b2b;background:#2a1719;color:#e89a8c}[data-theme=dark] .activationNotice{border-color:#5d4422;background:#2a2014;color:#e3b066}[data-theme=dark] .dangerButton{border-color:#6b3a30;color:#e2998a}[data-theme=dark] .campaignStatus.draft,[data-theme=dark] .campaignStatus.paused,[data-theme=dark] .recipientStatus.queued,[data-theme=dark] .recipientStatus.sending{background:#2c2413;color:#e3c179}[data-theme=dark] .campaignStatus.active,[data-theme=dark] .recipientStatus.sent,[data-theme=dark] .recipientStatus.replied{background:#15301f;color:#74d3a4}[data-theme=dark] .recipientStatus.failed,[data-theme=dark] .recipientStatus.unsubscribed,[data-theme=dark] .recipientStatus.skipped{background:#2f1b17;color:#e2998a}.navBackdrop{display:none}@media(min-width:1101px){.appShell.collapsed{--sidebar-w: 78px}.appShell.collapsed .sidebar{padding:24px 14px}.appShell.collapsed .sidebarHead{flex-direction:column;gap:12px}.appShell.collapsed .brandButton{justify-content:center;padding:4px}.appShell.collapsed .brandButton img{height:38px}.appShell.collapsed .nav{justify-items:center}.appShell.collapsed .navItem{grid-template-columns:24px;justify-content:center;justify-self:center;width:46px;padding:0}.appShell.collapsed .navItem span{display:none}.appShell.collapsed .sidebarHead{min-height:0}.appShell.collapsed .userMeta{display:none}.appShell.collapsed .userButton{grid-template-columns:34px;justify-content:center;padding:6px}.appShell.collapsed .userMenu{left:0;right:auto;width:230px}}@media(max-width:1100px){.appShell{grid-template-columns:1fr}.topbar{display:flex}.sidebar{position:fixed;top:0;bottom:0;left:0;z-index:60;width:280px;overflow-y:auto;transform:translate(-100%);transition:transform .25s ease;box-shadow:var(--shadow-lg)}.appShell.navOpen .sidebar{transform:translate(0)}.appShell.navOpen .navBackdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:55;background:#00000073}.sidebarEdgeToggle,.sidebarResizer{display:none}.menuButton{display:inline-flex}.content{padding:16px}.listPane{border-radius:8px}.reviewPanel{max-height:none}.leadsCardRow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.topbar{align-items:stretch;flex-direction:column;gap:10px;min-height:0;padding:12px 16px}.topbarActions{justify-content:flex-end}.llmToggle{flex:1 1 auto;justify-content:space-between}.toolbar,.tabs{flex-wrap:wrap}.mailList{width:100%}.mailListResizer,.mailReader,.inboxLayout.reading .mailList{display:none}.inboxLayout.reading .mailReader{display:block}.readerBack{display:inline-flex}.threadRow{grid-template-columns:14px minmax(0,1fr);padding:16px}.statusPill,.threadDate{grid-column:2;justify-self:start}.metaGrid,.spamReview .metaGrid,.prospectingControls{grid-template-columns:1fr}.importButton{width:100%}.listSummary{align-items:flex-start;flex-direction:column;justify-content:center;padding:10px 13px}.campaignRow{grid-template-columns:minmax(0,1fr) auto}.campaignSectionHeader{align-items:flex-start;flex-direction:column}.campaignHeaderActions{align-items:stretch;flex-direction:column;width:100%}.campaignHeaderActions .secondaryButton{width:100%}.campaignCreatePanel{grid-template-columns:1fr}.campaignCreateActions{justify-content:stretch}.campaignCreateActions .approveButton{width:100%}.campaignDetailHeader,.campaignDetailActions{align-items:stretch;flex-direction:column;width:100%}.campaignDetailActions>button{width:100%}.templatePreviewHeader,.templateActions{align-items:stretch;flex-direction:column}.templateActions>button{width:100%}.customRecipientBar{grid-template-columns:1fr}.campaignStats{grid-template-columns:repeat(3,minmax(0,1fr))}.leadsHeader{grid-template-columns:1fr}.leadsSearch{max-width:none}.leadsCardRow{grid-template-columns:1fr}.leadsDetailActions{width:100%}.leadsDetailActions>button{flex:1 1 0}}.inboxLayout{display:flex;height:100%;min-height:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden;box-shadow:var(--shadow-sm)}.mailList{display:flex;flex-direction:column;flex:none;width:var(--mail-list-w, 380px);min-width:0}.mailListHeader{display:grid;gap:12px;padding:14px;border-bottom:1px solid var(--border-soft)}.mailSearch{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);color:var(--muted)}.mailSearch input{width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);outline:none}.mailTabs{display:flex;gap:3px;padding:3px;border-radius:10px;background:var(--surface-muted)}.mailTab{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:1 1 0;min-width:0;min-height:32px;padding:0 5px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:11.5px;font-weight:680;transition:background-color .15s ease,color .15s ease}.mailTabLabel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mailTab.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.mailTabCount{flex:none;color:var(--muted-2);font-size:11px;font-weight:760}.mailTab.active .mailTabCount{color:var(--primary)}.mailRows{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column}.mailRow{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:12px 14px;border:0;border-bottom:1px solid var(--border-soft);background:var(--surface);text-align:left;transition:background-color .15s ease}.mailRow:hover,.mailRow.active{background:var(--surface-hover)}.mailRow:disabled{cursor:not-allowed;opacity:.7}.mailAvatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;color:#fff;font-size:14px;font-weight:720;letter-spacing:.01em}.mailAvatar.lg{width:46px;height:46px;font-size:16px}.mailRowMain{display:grid;gap:2px;min-width:0}.mailRowTop{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.mailSender{overflow:hidden;color:var(--text);font-size:14px;font-weight:730;text-overflow:ellipsis;white-space:nowrap}.mailTime{flex:none;color:var(--muted-2);font-size:12px}.mailSubject{overflow:hidden;color:var(--text-2);font-size:13px;font-weight:620;text-overflow:ellipsis;white-space:nowrap}.mailPreview{overflow:hidden;color:var(--muted);font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.mailRowSide{display:flex;flex-direction:column;align-items:center;gap:8px}.coldReplyIcon{flex:none;color:#c83d3d}.statusDot{width:8px;height:8px;border-radius:50%;background:var(--muted-2)}.statusDot.statusAction{background:#3e8b57}.statusDot.statusCold{background:#c83d3d}.statusDot.statusDone{background:#4f6099}.statusDot.statusReceived{background:#d8791d}.statusDot.statusBusy{background:#9c6a1e}.statusDot.statusSpam{background:#171717}.mailListResizer{display:flex;align-items:center;justify-content:center;flex:none;width:10px;cursor:col-resize;background:transparent;border-left:0}.mailListResizerGrip{display:none}.mailReader{flex:1;min-width:0;overflow-y:auto;background:var(--surface)}.readerPlaceholder{display:grid;place-items:center;align-content:center;gap:10px;height:100%;color:var(--muted);text-align:center}.readerPane{display:flex;flex-direction:column;gap:18px;padding:22px}.readerHeader{display:flex;align-items:flex-start;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--border-soft)}.readerHeaderMain{flex:1;min-width:0}.readerHeaderMain h2{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px;margin:0;font-size:19px;color:var(--text);overflow-wrap:anywhere}.readerHeaderMain h2 small{color:var(--muted);font-size:13px;font-weight:520}.readerSub{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:4px}.readerSub strong{color:var(--text-2);font-size:13.5px}.readerSub span{overflow-wrap:anywhere;color:var(--muted);font-size:13px}.readerHeaderSide{display:flex;align-items:center;gap:10px;flex:none}.readerDate{color:var(--muted);font-size:12.5px;white-space:nowrap}.readerBack{display:none}.readerBlock{display:grid;gap:8px}.readerBlock h3{display:flex;align-items:center;gap:8px;margin:0;color:var(--muted);font-size:12px;font-weight:760;letter-spacing:.03em;text-transform:uppercase}.countBadge{min-width:20px;padding:1px 7px;border-radius:999px;background:var(--surface-muted);color:var(--muted);font-size:11px;text-align:center}.readerMessage{padding:18px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);color:var(--text);font-size:14px;line-height:1.55;max-height:min(42vh,420px);overflow:auto;overflow-wrap:anywhere;word-break:normal}.readerMessage.mailResizable{min-height:96px;max-height:min(72vh,760px);resize:vertical}.readerMessage.incoming{padding:18px;background:#fff;color:#20242a;font-family:inherit;font-size:14px;line-height:1.58;box-shadow:var(--shadow-sm)}.readerMessage.draft{background:var(--surface);border-left:3px solid var(--primary);font-size:14px;line-height:1.58;white-space:normal}.emailTextLine{margin:0 0 13px;white-space:pre-wrap}.emailTextLine:last-child{margin-bottom:0}.emailTextLink{color:var(--primary);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere}.emailTextImage{display:block;max-width:min(100%,520px);height:auto;margin:8px 0;border-radius:8px}.historyEmailText{padding:2px 0 0;border:0;background:transparent;font-size:13px;line-height:1.55;max-height:min(32vh,260px)}.historyItem .emailFrame{max-height:min(34vh,320px);border-radius:8px}.emailFrameShell{min-height:120px;max-height:min(72vh,760px);overflow:hidden;resize:vertical}.emailFrame{display:block;width:100%;height:100%;max-height:min(46vh,440px);border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.emailFrameShell .emailFrame{max-height:none}.historyItem .readerMessage,.historyItem .emailTextLine{margin-bottom:8px}.readerHistory{display:grid;gap:10px}.tabs{display:flex;align-items:center;gap:22px;min-height:80px;padding:0 30px;border-bottom:1px solid var(--border-soft)}.tab{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--muted);font-size:18px;font-weight:650;transition:color .15s ease}.tab:hover{color:var(--text-2)}.tab.active{color:var(--text)}.tabCount{color:var(--muted-2);font-size:13px;font-weight:700}.threadList{display:grid}.threadRow{display:grid;grid-template-columns:22px minmax(0,1fr) 190px 120px;align-items:center;gap:18px;width:100%;min-height:90px;padding:0 28px 0 76px;border:0;border-bottom:1px solid var(--border-soft);background:var(--surface);text-align:left;transition:background-color .15s ease}.threadRow:hover,.threadRow.active{background:var(--surface-hover)}.threadRow:disabled{cursor:not-allowed;opacity:.78}.unreadDot{width:8px;height:8px;border-radius:99px;background:var(--primary)}.threadMain{display:grid;gap:4px;min-width:0}.threadTitle{overflow:hidden;color:var(--text);font-size:17px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.threadTitleLine{display:flex;align-items:center;gap:10px;min-width:0}.customerCount{flex:0 0 auto;min-height:22px;padding:2px 8px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:12px;font-weight:750}.threadPreview{overflow:hidden;color:var(--muted);font-size:15px;font-weight:560;text-overflow:ellipsis;white-space:nowrap}.statusPill{justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 14px;border-radius:999px;font-size:15px;font-weight:760;white-space:nowrap}.statusPill span{width:7px;height:7px;border-radius:999px}.statusPillIcon{flex:none}.statusAction{border:2px solid #5aa273;color:#3e8b57}.statusAction span{background:#3e8b57}.statusCold{border:2px solid #d86464;color:#b92f2f}.statusCold span{background:#c83d3d}.statusDone{border:2px solid #5a6ca8;color:#4f6099}.statusDone span{background:#4f6099}.statusBusy{border:2px solid #b98739;color:#9c6a1e}.statusBusy span{background:#9c6a1e}.statusReceived{border:2px solid #e09a45;color:#b85f12}.statusReceived span{background:#d8791d}.statusSpam{border:2px solid #444;color:#171717}.statusSpam span{background:#171717}.threadDate{justify-self:end;color:var(--muted);font-size:15px;font-weight:620;white-space:nowrap}.reviewPanel{display:flex;flex-direction:column;gap:16px;min-width:0;max-height:calc(100vh - 148px);overflow:auto;padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-sm)}.centerReview{width:min(920px,100%);margin:0 auto}.panelHeader{display:flex;align-items:start;justify-content:space-between;gap:14px}.panelActions{display:flex;align-items:center;gap:10px}.eyebrow{color:var(--muted);font-size:12px;font-weight:780;text-transform:uppercase}.panelHeader h2{margin:4px 0 0;font-size:22px;letter-spacing:0;color:var(--text)}.metaGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.metaGrid div{min-width:0;padding:12px;border:1px solid var(--border-soft);border-radius:8px}.metaGrid dt{color:var(--muted);font-size:12px;font-weight:760;text-transform:uppercase}.metaGrid dd{overflow-wrap:anywhere;margin:5px 0 0;color:var(--text);font-weight:650}.replyComposer,.actionBlock{display:grid;gap:10px;padding-top:2px}.spamReview{display:grid;gap:14px}.spamReview .metaGrid{grid-template-columns:1fr 1fr 1.4fr}.spamBody{display:grid;gap:8px}.spamBody h3{margin:0;font-size:15px;color:var(--text)}.spamBody p{min-height:220px;margin:0;padding:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted);color:var(--text);line-height:1.5;white-space:pre-wrap}.historyBox{border:1px solid var(--border);border-radius:8px;background:var(--surface-muted)}.historyBox summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 14px;color:var(--text-2);cursor:pointer;font-size:15px;font-weight:730;list-style:none}.historyBox summary::-webkit-details-marker{display:none}.historyBox summary span{min-width:24px;padding:2px 8px;border-radius:999px;background:var(--primary-weak);color:var(--primary);text-align:center;font-size:12px}.historyList{display:grid;gap:10px;max-height:350px;overflow:auto;padding:0 14px 14px}.historyItem{display:grid;gap:5px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.historyItem.outbound{border-left:3px solid #5a9872}.historyItemHeader{display:flex;justify-content:space-between;gap:12px}.historyItemHeader span,.historyItem small{color:var(--muted);font-size:12px}.historyItemHeader strong{min-width:0}.historyItem p{margin:0;color:var(--text-2);line-height:1.45;white-space:pre-wrap}.replyComposer h3,.actionBlock h3{margin:0;font-size:15px;color:var(--text)}.replyComposer p{min-height:168px;margin:0;padding:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted);color:var(--text);line-height:1.5;white-space:pre-wrap}.draftComposer{display:grid;gap:10px;padding:12px;border:1px solid var(--border);border-left:3px solid var(--primary);border-radius:10px;background:var(--surface)}.draftSubjectField{display:grid;gap:6px}.draftSubjectField span{color:var(--muted);font-size:12px;font-weight:760;text-transform:uppercase}.sendModeToggle{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted)}.sendModeToggle button{min-height:36px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-weight:730}.sendModeToggle button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.draftTextarea{min-height:320px;max-height:min(72vh,760px);overflow:auto;background:#fff;color:#0b0b0b;font-size:14px;line-height:1.58;resize:vertical}.draftingNotice{display:grid;grid-template-columns:12px minmax(0,1fr);gap:4px 10px;align-items:center;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);color:var(--text-2)}.draftingNotice p{grid-column:2;margin:0;color:var(--muted);font-size:13px}.spinnerDot{width:9px;height:9px;border-radius:50%;background:#c88422;animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}.replyComposer .customerMessage{min-height:96px}textarea,input{width:100%;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text);outline:none;transition:border-color .15s ease,background-color .2s ease}textarea::placeholder,input::placeholder{color:var(--muted-2)}input:focus,textarea:focus{border-color:var(--primary)}input{min-height:42px;padding:0 12px}textarea{min-height:94px;padding:12px;resize:vertical}.revisionInput{min-height:42px;max-height:126px;overflow:hidden;resize:none}.recipientLine{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted)}.recipientLine span{color:var(--muted);font-size:12px;font-weight:760;text-transform:uppercase}.recipientLine strong{overflow-wrap:anywhere;color:var(--text)}.approveButton{width:100%;min-height:48px}.placeholderPanel,.empty{display:grid;place-items:center;align-content:center;min-height:320px;color:var(--muted);text-align:center}.empty h2{margin:14px 0 4px;color:var(--text)}.empty p,.placeholderPanel p{margin:0 0 18px}.errorBanner{display:flex;align-items:center;gap:8px;min-height:44px;margin:14px 28px;padding:0 14px;border:1px solid #efc6bd;border-radius:8px;background:#fff4f1;color:#a33b28;font-weight:650}.muted{color:var(--muted)}.busyBadge{position:fixed;right:24px;bottom:24px;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-2);font-weight:720;box-shadow:var(--shadow-lg)}.busyBadge svg{animation:spin 1s linear infinite}button:disabled{cursor:not-allowed;opacity:.6}@keyframes spin{to{transform:rotate(360deg)}}.prospectingPane{display:flex;flex-direction:column;gap:18px;width:100%;height:100%;min-height:0;margin:0 auto;overflow-x:hidden;overflow-y:auto;padding:2px 4px 32px}.prospectingSplit{display:flex;flex-direction:column;gap:36px;flex:none;min-height:0}.prospectingColumn{display:flex;flex-direction:column;gap:14px;min-height:0;min-width:0}.leadsColumn{flex:none;width:100%;min-height:0}.campaignsColumn{flex:none;width:100%}.columnHead{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex:none;padding:0 2px}.columnHead h2{margin:0;font-size:20px;letter-spacing:-.015em;color:var(--text)}.columnHeadCopy{display:grid;gap:3px;min-width:0}.columnEyebrow{color:var(--primary);font-size:10.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.columnDescription{margin:0;color:var(--muted);font-size:12.5px;line-height:1.4}.leadsEmpty{display:flex;align-items:center;justify-content:center;flex:none;min-height:230px;padding:30px;border:1px dashed var(--border-strong);border-radius:16px;background:radial-gradient(circle at 50% 0%,var(--primary-weak),transparent 58%),var(--surface);color:var(--muted);text-align:center}.leadsEmpty p{margin:0}.leadsEmptyContent{display:grid;justify-items:center;gap:9px;max-width:430px}.leadsEmptyIcon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:2px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--primary);box-shadow:var(--shadow-sm)}.leadsEmptyContent h3{margin:0;color:var(--text);font-size:16px}.leadsEmptyActions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:6px}.campaignsColumn .campaignList{display:flex;flex-direction:column;gap:8px;flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;padding:2px;border:0;background:transparent}.campaignsColumn .campaignList .campaignRow{flex:none;min-height:58px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-sm)}.campaignsColumn .campaignDetail{flex:1 1 0;min-height:0;overflow-y:auto;margin:0;animation:campaignDetailIn .26s ease}.campaignsColumn .campaignStats{grid-template-columns:repeat(3,minmax(0,1fr))}.campaignsColumn .campaignRecipientsWrap{max-height:none;overflow:visible}.campaignsColumn .campaignRecipients th{position:static}.prospectingHeader{display:flex;align-items:center;justify-content:space-between;gap:16px}.prospectingHeader h1{margin:4px 0 0;font-size:22px;color:var(--text)}.leadsHeader{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;flex:none}.leadsHeaderLead h1{margin:2px 0 0;font-size:24px;letter-spacing:-.01em;color:var(--text)}.leadsSearch{display:flex;align-items:center;gap:8px;min-height:42px;max-width:420px;padding:0 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);color:var(--muted)}.leadsSearch input{width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);outline:none}.leadsHeaderActions{display:flex;align-items:center;gap:10px}.leadsFeatured{display:grid;flex:none;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:radial-gradient(120% 140% at 100% 0%,rgba(99,102,241,.12),transparent 55%),radial-gradient(120% 140% at 0% 0%,rgba(56,189,248,.1),transparent 55%),var(--surface)}.leadsFeaturedHead{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-height:0}.leadsFeaturedHead h2{margin:0;font-size:16px;font-weight:760;color:var(--text)}.leadsCarousel{display:flex;align-items:center;gap:2px}.leadsCardRow{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin;scrollbar-color:var(--muted-2) var(--surface-muted)}.leadsCardEmpty{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:1;min-height:96px;padding:18px 20px;border:1px dashed var(--border-strong);border-radius:12px;color:var(--muted);text-align:left;background:var(--surface)}.leadsCardEmptyCopy{display:flex;align-items:center;gap:13px;min-width:0}.leadsCardEmptyCopy svg{flex:none;color:var(--primary)}.leadsCardEmptyCopy h3{margin:0 0 3px;color:var(--text);font-size:14px}.leadsCardEmptyCopy p{margin:0;font-size:12.5px}.leadsCardEmptyActions{display:flex;flex:none;gap:8px}.leadPack{display:flex;flex-direction:column;justify-content:space-between;flex:0 0 238px;gap:7px;min-height:0;padding:9px;border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:var(--shadow-sm);transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease}.leadPack:hover{border-color:var(--border-strong)}.leadPack.active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.leadPackBody{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;padding:0;border:0;background:transparent;text-align:left}.leadPackBadge{display:grid;place-items:center;width:32px;height:38px;border-radius:9px;color:#fff;font-size:15px;font-weight:780;box-shadow:var(--shadow-sm)}.leadPackBadge.packThemeViolet{background:linear-gradient(160deg,#8b5cf6,#6366f1)}.leadPackBadge.packThemeBlue{background:linear-gradient(160deg,#38bdf8,#2563eb)}.leadPackBadge.packThemeAmber{background:linear-gradient(160deg,#fbbf24,#f97316)}.leadPackMain{display:grid;gap:6px;min-width:0}.leadPackName{overflow:hidden;color:var(--text);font-size:13px;font-weight:740;text-overflow:ellipsis;white-space:nowrap}.leadPackStats{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--muted);font-size:12.5px}.leadPackStats b{color:var(--text-2)}.leadPackTag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:var(--surface-muted);color:var(--muted);font-size:11.5px;font-weight:700}.leadPackTag.synced{background:#eaf6ee;color:#2f7950}.leadPackMeta{color:var(--muted-2);font-size:11.5px}.leadPackActions{display:flex;align-items:center;gap:8px}.chipButton{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:1 1 0;min-height:28px;padding:0 8px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text-2);font-size:11.5px;font-weight:700;transition:background .15s ease,border-color .15s ease,color .15s ease}.chipButton:hover{background:var(--surface-hover)}.chipButton.primary{border-color:transparent;background:var(--user-grad);color:#fff}.chipButton.primary:disabled{opacity:.55}.leadsChips{display:flex;flex-wrap:wrap;gap:8px;flex:none}.leadsChip{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);font-size:13px;font-weight:700;transition:background .15s ease,border-color .15s ease,color .15s ease}.leadsChip:hover{background:var(--surface-hover);color:var(--text-2)}.leadsChip.active{border-color:transparent;background:var(--primary-weak);color:var(--primary)}.leadsChipCount{min-width:20px;padding:1px 7px;border-radius:999px;background:var(--surface-muted);color:var(--muted-2);font-size:11px;font-weight:760;text-align:center}.leadsChip.active .leadsChipCount{background:var(--surface);color:var(--primary)}.leadsDetail{display:flex;flex-direction:column;gap:12px;flex:none;min-height:410px;max-height:560px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.leadsDetailBar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.leadsDetailTitle{min-width:0}.leadsDetailTitle h2{margin:0;overflow:hidden;font-size:18px;color:var(--text);text-overflow:ellipsis;white-space:nowrap}.leadsDetailSub{color:var(--muted);font-size:13px}.leadsSourceBadge{display:inline-flex;align-items:center;margin-left:8px;padding:2px 7px;border-radius:999px;background:var(--primary-weak);color:var(--primary);font-size:10.5px;font-weight:760;text-transform:uppercase}.leadsDetailActions{display:flex;align-items:center;gap:10px}.leadsSyncBtn{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 11px;border:1px solid #c7d6f3;border-radius:8px;background:#eef3fb;color:#2f5fd0;font-size:12.5px;font-weight:720;transition:background .15s ease,border-color .15s ease,color .15s ease}.leadsSyncBtn:hover{background:#e2ebf9;border-color:#aec5ee}.leadsSyncBtn:disabled{opacity:.55;cursor:wait}[data-theme=dark] .leadsSyncBtn{border-color:#2f3f63;background:#182236;color:#9bb8f5}.leadsTableWrap{flex:1 1 0;min-height:80px;overflow:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface);scrollbar-color:var(--muted-2) var(--surface-muted);scrollbar-width:thin}.leadsTable{margin:0}.prospectTable.leadsTable.dynamicSourceTable{width:max-content;min-width:100%;table-layout:auto}.prospectTable.leadsTable.dynamicSourceTable th,.prospectTable.leadsTable.dynamicSourceTable td{min-width:150px;max-width:300px}.prospectTable.leadsTable.dynamicSourceTable th:nth-child(n){width:auto}.prospectTable.leadsTable th,.prospectTable.leadsTable td{padding:8px 14px}.leadsDetailBar,.leadsPagination{flex:none}.leadsPagination{display:flex;align-items:center;justify-content:space-between;gap:12px}.leadsPaginationInfo{color:var(--muted);font-size:13px;font-weight:650}.leadsPaginationButtons{display:flex;align-items:center;gap:10px}.leadsPageNumber{color:var(--text-2);font-size:13px;font-weight:700}.prospectingControls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.prospectingControls label{display:grid;gap:7px;color:var(--muted);font-size:13px;font-weight:720}.prospectingControls select{width:100%;min-height:48px;padding:0 12px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text)}.importButton{width:auto;min-width:172px}.listSummary{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 13px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted);color:var(--muted);font-size:14px}.listSummary strong{color:var(--text)}.prospectTableWrap{flex:0 0 auto;max-height:min(38vh,460px);overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface);scrollbar-color:var(--muted-2) var(--surface-muted);scrollbar-width:thin}.prospectTable{width:100%;border-collapse:collapse;table-layout:fixed}.prospectTable th,.prospectTable td{overflow:hidden;padding:13px 14px;border-bottom:1px solid var(--border-soft);color:var(--text-2);text-align:left;text-overflow:ellipsis;white-space:nowrap}.prospectTable th{position:sticky;top:0;z-index:1;background:var(--surface-muted);color:var(--muted);font-size:12px;font-weight:760;text-transform:uppercase}.prospectTable th:nth-child(1){width:18%}.prospectTable th:nth-child(2){width:22%}.prospectTable th:nth-child(3){width:20%}.prospectTable th:nth-child(4){width:26%}.prospectTable tr:last-child td{border-bottom:0}.emptyProspects{height:180px;color:var(--muted);text-align:center!important}.campaignSection,.campaignDetail{display:grid;gap:14px;padding-top:6px}.campaignSection{display:flex;flex-direction:column;flex:1.15 1 0;min-height:0;gap:12px;padding-top:0}.campaignSectionHeader{flex:none}.campaignSectionHeader,.campaignDetailHeader{display:flex;align-items:center;justify-content:space-between;gap:16px}.campaignHeaderActions{display:flex;align-items:center;gap:10px}.accountLimit{color:var(--muted);font-size:13px;font-weight:720;white-space:nowrap}.campaignSectionHeader h2,.campaignDetailHeader h2{margin:4px 0 0;font-size:20px;color:var(--text)}.campaignDetailActions{display:flex;align-items:center;gap:10px}.campaignError{margin:0}.campaignCreatePanel{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) 140px auto;align-items:end;gap:10px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted)}.campaignCreatePanel label{display:grid;gap:6px;min-width:0}.campaignCreatePanel label span{color:var(--muted);font-size:12px;font-weight:760;text-transform:uppercase}.campaignCreatePanel input,.campaignCreatePanel select,.campaignCreatePanel textarea,.templateLibrary input,.templateLibrary textarea{width:100%;padding:9px 11px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text)}.campaignCreatePanel textarea,.templateLibrary textarea{resize:vertical;line-height:1.45}.campaignTemplateDraftFields{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(320px,1.5fr);grid-column:1 / -1;gap:10px;align-items:start;padding-top:2px}.campaignTemplateDraftFields .templateHint{grid-column:1 / -1}.templateVariablePicker{display:grid;grid-column:1 / -1;gap:6px;color:var(--muted);font-size:12px}.templateVariablePicker>span{color:var(--text-2);font-size:11.5px;font-weight:750;text-transform:uppercase}.templateVariablePicker>div{display:flex;flex-wrap:wrap;gap:6px}.templateVariablePicker button{padding:4px 7px;border:1px solid var(--border-strong);border-radius:999px;background:var(--surface);color:var(--primary);font-size:11px;cursor:pointer}.templateVariablePicker small{color:var(--muted);font-size:11px;line-height:1.35}.templateLibrary{display:grid;gap:12px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted)}.templateLibraryHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.templateLibraryHeader h3{margin:3px 0 0;color:var(--text);font-size:17px}.templateLibraryList{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.templateLibraryCard{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:11px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.templateLibraryCardCopy{display:grid;gap:3px;min-width:0}.templateLibraryCardCopy strong,.templateLibraryCardCopy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.templateLibraryCardCopy strong{color:var(--text);font-size:13.5px}.templateLibraryCardCopy span,.templateLibraryEmpty{color:var(--muted);font-size:12.5px}.templateLibraryCardActions,.templateLibraryActions{display:flex;align-items:center;gap:7px}.templateLibraryCardActions .iconButton{width:32px;height:32px}.templateDeleteButton{color:#a24a37}.templateLibraryEditor{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(280px,1fr);gap:10px}.templateLibraryEditor label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:720}.templateLibraryBodyField,.templateLibraryEditor .templateHint,.templateLibraryActions{grid-column:1 / -1}.templateLibraryActions{justify-content:flex-end}.templateLibraryError{margin:0;color:#a24a37;font-size:13px}.templateLibraryEmpty{margin:0}.campaignCreateActions{display:flex;justify-content:flex-end}.campaignCreateActions .approveButton{width:auto;min-height:34px}.campaignList{display:grid;max-height:270px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface);scrollbar-color:var(--muted-2) var(--surface-muted);scrollbar-width:thin}.campaignList>.muted{margin:0;padding:24px;text-align:center}.campaignRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:68px;padding:11px 14px;border:0;border-bottom:1px solid var(--border-soft);background:var(--surface);color:var(--muted);text-align:left;transition:background-color .15s ease}.campaignRow:last-child{border-bottom:0}.campaignRow:hover,.campaignRow.active{background:var(--surface-hover)}.campaignName{display:grid;gap:3px;min-width:0}.campaignName strong{overflow:hidden;color:var(--text);text-overflow:ellipsis;white-space:nowrap}.campaignName small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.campaignRowSide{display:grid;justify-items:end;gap:5px;text-align:right}.campaignRowMeta{color:var(--muted);font-size:12px;white-space:nowrap}.campaignWorkspace{display:flex;align-items:stretch;gap:16px;min-width:0;flex:1 1 0;min-height:0}.campaignWorkspace .campaignList{flex:1 1 auto;min-width:0;min-height:0;max-height:none;overflow:auto}.campaignWorkspace.hasDetail .campaignList{flex:0 0 320px;max-width:320px}.campaignWorkspace.hasDetail .campaignDetail{flex:1 1 0;min-width:0;min-height:0;overflow:auto;animation:campaignDetailIn .26s ease}@keyframes campaignDetailIn{0%{opacity:0;transform:translate(22px)}to{opacity:1;transform:translate(0)}}@media(max-width:980px){.prospectingPane{overflow-y:auto}.prospectingSplit{flex-direction:column;flex:none}.prospectingColumn{flex:none}.leadsColumn{min-height:0}.campaignCreatePanel,.campaignTemplateDraftFields,.templateLibraryEditor{grid-template-columns:1fr}.campaignTemplateDraftFields,.campaignTemplateDraftFields .templateHint,.templateLibraryBodyField,.templateLibraryEditor .templateHint,.templateLibraryActions{grid-column:1}.leadsDetail{flex:none}.leadsTableWrap{flex:none;max-height:52vh}.campaignsColumn .campaignList{max-height:320px}.campaignsColumn .campaignDetail{flex:none;max-height:none;overflow:visible}}.campaignStatus,.recipientStatus{display:inline-flex;justify-content:center;width:fit-content;min-width:70px;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:750;text-transform:capitalize}.campaignStatus.draft,.campaignStatus.paused,.recipientStatus.queued,.recipientStatus.sending{background:#fff5df;color:#92641c}.campaignStatus.active,.recipientStatus.sent,.recipientStatus.replied{background:#eaf6ee;color:#2f7950}.recipientStatus.failed,.recipientStatus.unsubscribed,.recipientStatus.skipped{background:#f9ece9;color:#a24a37}.campaignDetail{padding:18px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.campaignAction{width:auto;min-height:40px}.dangerButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 13px;border:1px solid #e2bdb5;border-radius:8px;background:var(--surface);color:#9d3e2c;font-weight:700}.dangerButton.confirm{border-color:#b84e3a;background:#b84e3a;color:#fff}.campaignStats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0}.campaignStats div{min-width:0;padding:11px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted)}.campaignStats dt{color:var(--muted);font-size:11px;font-weight:760;text-transform:uppercase}.campaignStats dd{margin:5px 0 0;color:var(--text);font-size:18px;font-weight:760}.activationNotice{padding:11px 13px;border:1px solid #e4c886;border-radius:8px;background:#fff9e9;color:#76541c;line-height:1.4}.templatePreview{display:grid;gap:8px;padding:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.templatePreviewHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.templateActions{display:flex;align-items:center;gap:8px}.compactButton{width:auto;min-height:34px;padding:0 11px;font-size:13px}.templateEditor{display:grid;gap:10px}.templateEditor label{display:grid;gap:6px;color:var(--muted);font-size:13px;font-weight:720}.templateHint{margin:0;color:var(--muted);font-size:13px;font-weight:650}.templatePreview strong{color:var(--text)}.templatePreview p{margin:0;color:var(--text-2);line-height:1.5;white-space:pre-wrap}.campaignRecipientsWrap{max-height:min(42vh,460px);overflow-x:auto;overflow-y:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.customRecipientBar{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(120px,1fr)) auto auto;gap:8px;padding:10px;border-bottom:1px solid var(--border);background:var(--surface-muted)}.customRecipientBar>.secondaryButton:only-child{grid-column:1 / -1;justify-self:start}.campaignRecipients{width:100%;border-collapse:collapse;table-layout:fixed}.campaignRecipients th,.campaignRecipients td{overflow:hidden;padding:12px 13px;border-bottom:1px solid var(--border-soft);color:var(--text-2);text-align:left;text-overflow:ellipsis;white-space:nowrap}.campaignRecipients th{position:sticky;top:0;z-index:1;background:var(--surface);color:var(--muted);font-size:11px;font-weight:760;text-transform:uppercase}.campaignRecipients tr:last-child td{border-bottom:0}.leadsHeaderActions{display:flex;gap:8px;align-items:center}@keyframes excelFadeUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.excelModalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000007a;z-index:200;display:flex;align-items:center;justify-content:center;padding:16px}.excelModal{background:var(--surface);border-radius:14px;width:min(700px,100%);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 24px 60px #00000047;animation:excelFadeUp .22s ease;border:1px solid var(--border)}.excelModalHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 22px 0}.excelModalTitle{margin:0;font-size:15px;font-weight:700;color:var(--text)}.excelModalMeta{margin:4px 0 0;font-size:12px;color:var(--muted)}.excelModalBody{overflow-y:auto;padding:16px 22px 20px;flex:1;display:flex;flex-direction:column;gap:0}.excelModalFooter{padding:14px 22px;border-top:1px solid var(--border-soft);display:flex;gap:8px;justify-content:flex-end}.excelSection{margin-bottom:20px}.excelSection:last-child{margin-bottom:0}.excelLabel{display:block;margin-bottom:7px;font-size:12px;font-weight:760;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.excelInput{padding:8px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font-size:13px;color-scheme:light dark;width:100%}.excelInput:focus{outline:none;border-color:var(--primary)}.excelInputSm{font-size:12px;padding:5px 8px;min-width:130px;width:auto}.excelTagRow{display:flex;gap:8px;align-items:center}.excelTagInput{flex:1}.excelOptionsRow{display:flex;gap:20px;flex-wrap:wrap}.excelOptionBlock{flex:1;min-width:180px}.excelCheckLabel{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2);cursor:pointer}.excelTableWrap{overflow-x:auto;border:1px solid var(--border);border-radius:9px}.excelMappingTable{width:100%;border-collapse:collapse;font-size:13px}.excelMappingTable th{text-align:left;padding:8px 12px;font-size:11px;font-weight:760;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--border);background:var(--surface-muted);white-space:nowrap}.excelMappingTable td{padding:7px 12px;border-bottom:1px solid var(--border-soft);vertical-align:middle}.excelMappingTable tr:last-child td{border-bottom:0}.excelColName{font-weight:600;color:var(--text);white-space:nowrap}.excelSample{color:var(--muted);font-size:12px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.excelMuted{color:var(--muted);font-size:12px;margin:0}.excelLinkBtn{background:none;border:none;padding:4px 0;font-size:13px;color:var(--primary);cursor:pointer;text-decoration:underline}.excelLinkBtn:hover{color:var(--primary-2)}.excelErrorList{display:flex;flex-direction:column;gap:6px;margin-top:8px}.excelWarningRow{display:flex;align-items:flex-start;gap:7px;padding:8px 12px;border:1px solid #fcd34d;border-radius:7px;background:#fffbeb;color:#92400e;font-size:12px}[data-theme=dark] .excelWarningRow{background:#27200a;border-color:#7a5a10;color:#e3b066}.excelKpiRow{display:flex;gap:16px;margin-bottom:16px}.excelKpi{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:14px 18px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);min-width:90px}.excelKpiNum{font-size:24px;font-weight:760;color:var(--text);line-height:1}.excelKpiGreen{color:#16a34a}.excelKpiAmber{color:#d97706}[data-theme=dark] .excelKpiGreen{color:#4ade80}[data-theme=dark] .excelKpiAmber{color:#fbbf24}.excelKpiLabel{font-size:11px;font-weight:650;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.excelInlineError{margin:0 0 12px}.excelModalBackdrop{padding:22px;background:#0f172a94;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.excelModal{width:min(940px,100%);max-height:min(92vh,900px);overflow:hidden;border:1px solid color-mix(in srgb,var(--border) 78%,transparent);border-radius:20px;box-shadow:0 30px 90px #0f172a52}.excelModalHeader{align-items:center;padding:20px 24px 18px;border-bottom:1px solid var(--border-soft);background:radial-gradient(100% 170% at 0% 0%,var(--primary-weak),transparent 62%),var(--surface)}.excelModalHeading{display:flex;align-items:center;gap:12px;min-width:0}.excelModalIcon{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid color-mix(in srgb,var(--primary) 22%,var(--border));border-radius:13px;background:var(--surface);color:var(--primary);box-shadow:var(--shadow-sm)}.excelModalTitle{font-size:18px;font-weight:780;letter-spacing:-.015em}.excelModalMeta{display:flex;align-items:center;gap:7px;max-width:min(720px,72vw);font-size:12.5px}.excelModalMeta span:first-child{overflow:hidden;max-width:440px;text-overflow:ellipsis;white-space:nowrap}.excelCloseButton{flex:none;width:38px;height:38px;border-radius:11px}.excelModalBody{gap:24px;padding:22px 24px 26px}.excelModalFooter{align-items:center;min-height:68px;padding:14px 24px;background:color-mix(in srgb,var(--surface-muted) 52%,var(--surface))}.excelFooterAssurance{display:inline-flex;align-items:center;gap:6px;margin-right:auto;color:var(--muted);font-size:12px;font-weight:650}.excelFooterAssurance svg{color:#2f8f62}.excelPreserveNotice{display:flex;align-items:flex-start;gap:11px;padding:13px 15px;border:1px solid color-mix(in srgb,#2f8f62 28%,var(--border));border-radius:12px;background:color-mix(in srgb,#eaf7f0 70%,var(--surface));color:#236d4b}[data-theme=dark] .excelPreserveNotice{background:color-mix(in srgb,#183d2d 68%,var(--surface));color:#8ed5b3}.excelPreserveNotice>svg{flex:none;margin-top:1px}.excelPreserveNotice div{display:grid;gap:2px}.excelPreserveNotice strong{font-size:13px}.excelPreserveNotice span{color:color-mix(in srgb,currentColor 74%,var(--muted));font-size:12px;line-height:1.45}.excelSection{display:grid;gap:15px;margin:0}.excelSection+.excelSection{padding-top:22px;border-top:1px solid var(--border-soft)}.excelSectionHeading{display:flex;align-items:flex-start;gap:11px}.excelSectionHeading>div{min-width:0}.excelSectionHeading h3{margin:0;color:var(--text);font-size:14px;font-weight:780}.excelSectionHeading p{margin:3px 0 0;color:var(--muted);font-size:12.5px;line-height:1.45}.excelStep{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:8px;background:var(--primary-weak);color:var(--primary);font-size:11.5px;font-weight:800}.excelOptionalBadge{display:inline-flex;margin-left:6px;padding:2px 7px;border-radius:999px;background:var(--surface-muted);color:var(--muted);font-size:9.5px;font-weight:780;letter-spacing:.04em;text-transform:uppercase;vertical-align:1px}.excelSetupGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-left:35px}.excelFormField{display:grid;align-content:start;gap:6px;min-width:0}.excelFormField>span,.excelFieldLabel{color:var(--text-2);font-size:11.5px;font-weight:750}.excelFormField>span b{margin-left:5px;color:var(--primary);font-size:9px;letter-spacing:.04em;text-transform:uppercase}.excelFormField small{color:var(--muted);font-size:11px;line-height:1.4}.excelUniqueField{grid-column:1 / -1}.excelInput{min-height:40px;padding:0 11px;border-color:var(--border-strong);border-radius:9px;font-size:12.5px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.excelInput:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border-strong))}.excelInput:focus-visible,.excelTableWrap:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 15%,transparent)}.excelSemanticGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-left:35px}.excelFieldCard{display:grid;align-content:start;gap:5px;min-width:0;min-height:110px;padding:11px;border:1px solid var(--border);border-radius:11px;background:color-mix(in srgb,var(--surface-muted) 55%,var(--surface))}.excelFieldDescription{min-height:29px;color:var(--muted);font-size:10.5px;line-height:1.35}.excelFieldCard .excelInput{margin-top:auto;background:var(--surface)}.excelAdvanced{margin-left:35px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.excelAdvanced summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 13px;color:var(--text-2);font-size:12px;font-weight:720;cursor:pointer;list-style-position:inside}.excelAdvanced summary span{margin-left:auto;color:var(--muted);font-size:10.5px;font-weight:600}.excelAdvancedGrid{grid-template-columns:repeat(2,minmax(0,1fr));padding:2px 12px 12px}.excelAdvancedGrid .excelFieldCard{min-height:0;padding:0;border:0;background:transparent}.excelPreviewHeading{align-items:center}.excelColumnCount{flex:none;margin-left:auto;padding:4px 9px;border-radius:999px;background:var(--surface-muted);color:var(--muted);font-size:10.5px;font-weight:750}.excelTableWrap{border-radius:11px;scrollbar-color:var(--muted-2) var(--surface-muted);scrollbar-width:thin}.excelPreviewTable{width:max-content;min-width:100%;table-layout:auto}.excelPreviewTable th,.excelPreviewTable td{min-width:150px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.excelPreviewTable th{position:sticky;top:0}.excelPreviewTable td{height:38px;color:var(--text-2);font-size:11.5px}.excelDoneBody{gap:20px}.excelDoneHero{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid color-mix(in srgb,#2f8f62 25%,var(--border));border-radius:13px;background:color-mix(in srgb,#eaf7f0 70%,var(--surface))}.excelDoneIcon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--surface);color:#2f8f62}.excelDoneHero h3,.excelDoneHero p{margin:0}.excelDoneHero h3{color:var(--text);font-size:16px}.excelDoneHero p{margin-top:3px;color:var(--muted);font-size:12.5px}.excelKpiRow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.excelKpi{min-width:0;padding:15px}.excelInlineError{margin:0}@media(max-width:760px){.prospectingPane{padding-inline:0}.columnHead{align-items:flex-start;flex-direction:column}.leadsHeaderActions,.leadsCardEmptyActions{width:100%;flex-wrap:wrap}.leadsHeaderActions>button,.leadsCardEmptyActions>button{flex:1 1 150px}.leadsCardEmpty{align-items:flex-start;flex-direction:column}.excelModalBackdrop{align-items:flex-end;padding:0}.excelModal{max-height:96vh;border-radius:18px 18px 0 0}.excelModalHeader,.excelModalBody,.excelModalFooter{padding-left:16px;padding-right:16px}.excelModalMeta{max-width:66vw}.excelSetupGrid,.excelSemanticGrid{grid-template-columns:1fr;padding-left:0}.excelUniqueField{grid-column:1}.excelAdvanced{margin-left:0}.excelAdvancedGrid{padding:2px 12px 12px}.excelFooterAssurance{display:none}.excelModalFooter .secondaryButton,.excelModalFooter .approveButton{flex:1 1 0}}@media(prefers-reduced-motion:reduce){.excelModal{animation:none}}.authLoading{min-height:100vh;background:var(--surface-muted)}.loginShell{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--surface-muted)}.loginCard{width:100%;max-width:380px;display:grid;gap:14px;padding:30px 28px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-sm)}.loginBrand img{height:34px;object-fit:contain}.loginTitle{margin:0;font-size:22px;font-weight:680;color:var(--text)}.loginSubtitle{margin:0;font-size:13.5px;color:var(--muted-2);line-height:1.5}.loginForm{display:grid;gap:12px;margin-top:4px}.loginField{display:grid;gap:6px}.loginField span{font-size:11.5px;font-weight:620;color:var(--muted-2);text-transform:uppercase;letter-spacing:.02em}.loginInputWrap{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--muted-2)}.loginInputWrap:focus-within{border-color:var(--primary)}.loginInputWrap input{flex:1;border:0;outline:none;background:transparent;color:var(--text);font-size:14px}.loginButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border:0;border-radius:11px;color:#fff;background:var(--user-grad);font-size:14px;font-weight:640;transition:opacity .15s,transform .05s}.loginButton:disabled{opacity:.55;cursor:not-allowed}.loginButton:not(:disabled):active{transform:scale(.98)}.loginBackButton{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:var(--muted-2);font-size:12.5px;font-weight:560}.loginBackButton:hover{color:var(--text)}.loginNotice{margin:0;font-size:12.5px;color:var(--muted-2)}.loginError{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:12.5px;font-weight:560;color:var(--danger, #dc2626)}.adminPane{display:grid;gap:16px;padding:22px clamp(16px,4vw,40px);overflow-y:auto}.adminHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.adminHeader h1{display:inline-flex;align-items:center;gap:9px;margin:0;font-size:20px;font-weight:680;color:var(--text)}.adminTabs{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted)}.adminTab{padding:6px 16px;border:0;border-radius:9px;background:transparent;color:var(--text-2);font-size:13px;font-weight:600}.adminTab.active{background:var(--user-grad);color:#fff}.adminPanel{display:grid;gap:14px}.adminUserForm,.adminFilters{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.adminUserForm input,.adminUserForm select,.adminFilters input,.adminFilters select{padding:8px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font-size:13px;color-scheme:light dark}.adminBtn{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border:0;border-radius:9px;color:#fff;background:var(--user-grad);font-size:13px;font-weight:620}.adminBtn:disabled{opacity:.55;cursor:not-allowed}.adminTable{width:100%;border-collapse:collapse;font-size:13px}.adminTable th,.adminTable td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--border-soft, var(--border));vertical-align:top}.adminTable th{font-size:11.5px;text-transform:uppercase;letter-spacing:.02em;color:var(--muted-2)}.adminMessage{max-width:420px;white-space:pre-wrap;word-break:break-word}.adminMuted{color:var(--muted-2)}.adminRowActions{display:flex;gap:6px;flex-wrap:wrap}.adminNameEdit{display:flex;align-items:center;gap:6px;min-width:220px}.adminNameEdit input{min-width:0;width:180px;padding:6px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:12.5px}.adminFixedAdmin{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:8px;background:var(--primary-weak);color:var(--text-2);font-size:12px;font-weight:620}.adminMiniBtn{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-2);font-size:12px;font-weight:560}.adminMiniBtn:hover{border-color:var(--primary);color:var(--text)}.adminMiniBtn:disabled{cursor:not-allowed;opacity:.5}.adminStatus{font-weight:620;text-transform:capitalize}.adminStatus.success{color:#16a34a}.adminStatus.failure{color:var(--danger, #dc2626)}.adminStatus.warning{color:#d97706}.adminError{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:12.5px;font-weight:560;color:var(--danger, #dc2626)}.adminJsonToggle{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--primary);font-size:12px;font-weight:560}.adminChevron{transition:transform .15s}.adminChevron.open{transform:rotate(180deg)}.adminJsonBody{margin:6px 0 0;padding:8px 10px;border-radius:8px;background:var(--surface-muted);font-size:11.5px;max-width:420px;overflow-x:auto}
