.EmailTemplateEditorModal-module__TEWk3q__modal{width:min(100%,1440px);height:min(90vh,820px)}.EmailTemplateEditorModal-module__TEWk3q__title{color:var(--text-main);align-items:center;gap:.5rem;margin:0;font-size:1.05rem;font-weight:700;display:flex}.EmailTemplateEditorModal-module__TEWk3q__body{flex:1;grid-template-columns:minmax(0,3fr) minmax(0,2fr);min-height:0;display:grid}.EmailTemplateEditorModal-module__TEWk3q__leftPane{border-right:1px solid var(--border-color);flex-direction:column;gap:1rem;min-height:0;padding:1.25rem 1.5rem;display:flex}.EmailTemplateEditorModal-module__TEWk3q__fieldRow{border:1px solid var(--border-color);transition:border-color var(--transition-fast,.15s ease);border-radius:10px;align-items:center;gap:.75rem;padding:.15rem .9rem;display:flex}.EmailTemplateEditorModal-module__TEWk3q__fieldRow:focus-within{border-color:var(--primary-300,#93c5fd)}.EmailTemplateEditorModal-module__TEWk3q__fieldLabel{color:var(--text-muted);white-space:nowrap;font-size:.8rem;font-weight:600}.EmailTemplateEditorModal-module__TEWk3q__fieldInput{color:var(--text-main);background:0 0;border:none;outline:none;flex:1;min-width:0;padding:.6rem 0;font-size:.92rem}.EmailTemplateEditorModal-module__TEWk3q__fieldInput:focus,.EmailTemplateEditorModal-module__TEWk3q__fieldInput:focus-visible{box-shadow:none}.EmailTemplateEditorModal-module__TEWk3q__fieldInput:disabled{color:var(--text-main);-webkit-text-fill-color:var(--text-main);opacity:1}.EmailTemplateEditorModal-module__TEWk3q__tagMenuRoot{flex-shrink:0;position:relative}.EmailTemplateEditorModal-module__TEWk3q__tagMenuTrigger{border:1px solid var(--border-color);background:var(--bg-surface);color:var(--text-muted);cursor:pointer;border-radius:6px;padding:.25rem .5rem;font-size:.72rem;font-weight:600}.EmailTemplateEditorModal-module__TEWk3q__tagMenuTrigger:hover{color:var(--text-main);border-color:var(--primary-300,#93c5fd)}.EmailTemplateEditorModal-module__TEWk3q__tagMenu{z-index:20;background:var(--bg-surface);border:1px solid var(--border-color);border-radius:8px;min-width:180px;max-height:240px;margin:0;padding:.3rem;list-style:none;position:absolute;top:calc(100% + .35rem);right:0;overflow-y:auto;box-shadow:0 8px 24px #0000001f}.EmailTemplateEditorModal-module__TEWk3q__tagMenuOption{text-align:left;width:100%;color:var(--text-main);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.45rem .6rem;font-size:.82rem;display:block}.EmailTemplateEditorModal-module__TEWk3q__tagMenuOption:hover{background:var(--neutral-100,#f1f5f9)}.EmailTemplateEditorModal-module__TEWk3q__chipFieldRow{border:1px solid var(--border-color);border-radius:10px;align-items:flex-start;gap:.75rem;padding:.5rem .9rem;display:flex}.EmailTemplateEditorModal-module__TEWk3q__chipFieldRowInvalid{border-color:var(--danger-color,#dc2626)}.EmailTemplateEditorModal-module__TEWk3q__chipInputWrap{flex-wrap:wrap;flex:1;align-items:center;gap:.35rem;min-width:0;padding:.2rem 0;display:flex}.EmailTemplateEditorModal-module__TEWk3q__emailChip{background:var(--neutral-100,#f1f5f9);color:var(--text-main);border-radius:999px;align-items:center;gap:.3rem;max-width:100%;padding:.2rem .5rem;font-size:.78rem;display:inline-flex}.EmailTemplateEditorModal-module__TEWk3q__emailChipRemove{cursor:pointer;color:var(--text-muted);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.EmailTemplateEditorModal-module__TEWk3q__emailChipRemove:hover{color:var(--danger-color,#dc2626)}.EmailTemplateEditorModal-module__TEWk3q__chipInput{appearance:none;min-width:140px;box-shadow:none;color:var(--text-main);background:0 0;border:none;outline:none;flex:1;padding:.3rem 0;font-size:.85rem}.EmailTemplateEditorModal-module__TEWk3q__chipInput:focus,.EmailTemplateEditorModal-module__TEWk3q__chipInput:focus-visible{box-shadow:none;border:none;outline:none}.EmailTemplateEditorModal-module__TEWk3q__editorCard{border:1px solid var(--border-color);border-radius:10px;flex-direction:column;flex:1;min-height:260px;display:flex;overflow:hidden}.EmailTemplateEditorModal-module__TEWk3q__attachmentList{flex-wrap:wrap;gap:.5rem;margin-top:.75rem;display:flex}.EmailTemplateEditorModal-module__TEWk3q__attachmentChip{border:1px solid var(--border-color);background:var(--neutral-50,#f8fafc);color:var(--text-main);border-radius:8px;align-items:center;gap:.4rem;max-width:220px;padding:.35rem .6rem;font-size:.78rem;display:inline-flex}.EmailTemplateEditorModal-module__TEWk3q__attachmentChipName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.EmailTemplateEditorModal-module__TEWk3q__attachmentChipSize{color:var(--text-muted);flex-shrink:0}.EmailTemplateEditorModal-module__TEWk3q__attachmentChipRemove{cursor:pointer;color:var(--text-muted);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.EmailTemplateEditorModal-module__TEWk3q__attachmentChipRemove:hover{color:var(--danger-color,#dc2626)}.EmailTemplateEditorModal-module__TEWk3q__uploadProgressChip{border:1px solid var(--border-color);background:var(--neutral-50,#f8fafc);color:var(--text-main);border-radius:8px;align-items:center;gap:.5rem;min-width:200px;padding:.35rem .6rem;font-size:.78rem;display:inline-flex}.EmailTemplateEditorModal-module__TEWk3q__uploadProgressBar{background:var(--neutral-200,#e2e8f0);border-radius:2px;flex:1;height:4px;position:relative;overflow:hidden}.EmailTemplateEditorModal-module__TEWk3q__uploadProgressFill{background:var(--primary-600,#2563eb);border-radius:2px;width:0%;transition:width .15s;position:absolute;inset:0}.EmailTemplateEditorModal-module__TEWk3q__rightPane{flex-direction:column;min-height:0;display:flex}.EmailTemplateEditorModal-module__TEWk3q__rightTabs{border-bottom:1px solid var(--border-color);gap:1.25rem;padding:0 1.25rem;display:flex}.EmailTemplateEditorModal-module__TEWk3q__rightTab{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:.4rem;margin-bottom:-1px;padding:.9rem 0;font-size:.85rem;font-weight:600;display:flex}.EmailTemplateEditorModal-module__TEWk3q__rightTabActive{color:var(--primary-600,#2563eb);border-bottom-color:var(--primary-600,#2563eb)}.EmailTemplateEditorModal-module__TEWk3q__rightContent{flex:1;min-height:0;padding:1.25rem;overflow-y:auto}.EmailTemplateEditorModal-module__TEWk3q__guideItem{color:var(--text-muted);gap:.6rem;margin-bottom:1rem;font-size:.85rem;line-height:1.5;display:flex}.EmailTemplateEditorModal-module__TEWk3q__guideItem strong{color:var(--text-main)}.EmailTemplateEditorModal-module__TEWk3q__previewEmpty{text-align:center;height:100%;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:.75rem;font-size:.85rem;display:flex}.EmailTemplateEditorModal-module__TEWk3q__previewEmptyIcon{background:var(--neutral-100,#f1f5f9);width:52px;height:52px;color:var(--text-muted);border-radius:50%;justify-content:center;align-items:center;display:flex}.EmailTemplateEditorModal-module__TEWk3q__previewSubjectLabel{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;margin-bottom:.35rem;font-size:.78rem;font-weight:700}.EmailTemplateEditorModal-module__TEWk3q__previewSubjectValue{color:var(--text-main);word-break:break-word;margin-bottom:1rem;font-size:.92rem;font-weight:600}.EmailTemplateEditorModal-module__TEWk3q__previewBody{color:var(--text-main);word-break:break-word;max-width:100%;font-size:.85rem;line-height:1.6;overflow-x:auto}.EmailTemplateEditorModal-module__TEWk3q__previewBody img{max-width:100%;height:auto}.EmailTemplateEditorModal-module__TEWk3q__previewBody table{max-width:100%}:is(.EmailTemplateEditorModal-module__TEWk3q__previewBody ul,.EmailTemplateEditorModal-module__TEWk3q__previewBody ol){padding-left:1.3rem}.EmailTemplateEditorModal-module__TEWk3q__previewBody a{color:var(--primary-600,#2563eb)}.EmailTemplateEditorModal-module__TEWk3q__previewToolbar{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 1.25rem;display:flex}.EmailTemplateEditorModal-module__TEWk3q__deviceToggle{background:var(--neutral-100,#f1f5f9);border-radius:999px;gap:2px;padding:2px;display:inline-flex}.EmailTemplateEditorModal-module__TEWk3q__deviceToggleBtn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:999px;padding:.35rem .85rem;font-size:.76rem;font-weight:600}.EmailTemplateEditorModal-module__TEWk3q__deviceToggleBtnActive{background:var(--bg-surface,#fff);color:var(--text-main);box-shadow:0 1px 2px #0000001a}.EmailTemplateEditorModal-module__TEWk3q__sendTestBtn{border:1px solid var(--border-color);background:var(--bg-surface);color:var(--primary-600,#2563eb)}.EmailTemplateEditorModal-module__TEWk3q__sendTestBtn:hover:not(:disabled){border-color:var(--primary-300,#93c5fd);background:var(--primary-50,#eff6ff)}.EmailTemplateEditorModal-module__TEWk3q__sendTestBtn:disabled{color:var(--text-muted);cursor:not-allowed;opacity:.6}.EmailTemplateEditorModal-module__TEWk3q__deviceFrameWrap{justify-content:center;display:flex}.EmailTemplateEditorModal-module__TEWk3q__deviceFrameDesktop{width:100%}.EmailTemplateEditorModal-module__TEWk3q__deviceFrameMobile{border:1px solid var(--border-color);background:var(--bg-surface,#fff);border-radius:22px;width:340px;max-width:100%;padding:1.1rem 1rem;box-shadow:0 12px 28px #0f172a1a}.EmailTemplateEditorModal-module__TEWk3q__previewHeaderRow{gap:.6rem;margin-bottom:.45rem;font-size:.8rem;display:flex}.EmailTemplateEditorModal-module__TEWk3q__previewHeaderLabel{width:40px;color:var(--text-muted);flex-shrink:0;font-weight:700}.EmailTemplateEditorModal-module__TEWk3q__previewHeaderValue{color:var(--text-main);word-break:break-word}.EmailTemplateEditorModal-module__TEWk3q__previewDivider{background:var(--border-color);height:1px;margin:.75rem 0 1rem}@media (max-width:1020px){.EmailTemplateEditorModal-module__TEWk3q__body{grid-template-columns:1fr;overflow-y:auto}.EmailTemplateEditorModal-module__TEWk3q__leftPane{border-right:none;border-bottom:1px solid var(--border-color)}.EmailTemplateEditorModal-module__TEWk3q__modal{height:min(94vh,900px)}}
.RichTextEditor-module__I1hZCW__wrapper{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex}.RichTextEditor-module__I1hZCW__mergeTagChip{background:var(--primary-50,#eff6ff);color:var(--primary-700,#1d4ed8);border-radius:4px;padding:.05rem .15rem;font-weight:600}.RichTextEditor-module__I1hZCW__toolbar{border-bottom:1px solid var(--border-color);background:var(--neutral-50,#f8fafc);flex-wrap:wrap;align-items:center;gap:.15rem;padding:.5rem .6rem;display:flex}.RichTextEditor-module__I1hZCW__toolbarCompact{z-index:15;flex-wrap:nowrap;position:sticky;top:0}.RichTextEditor-module__I1hZCW__moreMenu{z-index:20;background:var(--bg-surface,#fff);border:1px solid var(--border-color);width:220px;max-height:70vh;box-shadow:var(--shadow-md,0 4px 6px -1px #0f172a1a);border-radius:8px;padding:.6rem;position:absolute;top:calc(100% + 4px);right:0;overflow-y:auto}.RichTextEditor-module__I1hZCW__moreMenuSection{padding:.4rem 0}.RichTextEditor-module__I1hZCW__moreMenuSection+.RichTextEditor-module__I1hZCW__moreMenuSection{border-top:1px solid var(--border-color)}.RichTextEditor-module__I1hZCW__moreMenuLabel{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;margin-bottom:.4rem;font-size:.72rem;font-weight:600;display:block}.RichTextEditor-module__I1hZCW__moreMenuList{flex-direction:column;gap:.1rem;max-height:180px;display:flex;overflow-y:auto}.RichTextEditor-module__I1hZCW__moreMenuItem{width:100%;color:var(--text-main);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:.45rem;padding:.4rem .5rem;font-size:.82rem;display:flex}.RichTextEditor-module__I1hZCW__moreMenuItem:hover{background:var(--neutral-100,#f1f5f9)}.RichTextEditor-module__I1hZCW__btn{width:30px;height:30px;color:var(--text-main);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;font-size:.85rem;font-weight:700;line-height:1;display:inline-flex;position:relative}.RichTextEditor-module__I1hZCW__btn:hover:not(:disabled){background:var(--neutral-100,#f1f5f9)}.RichTextEditor-module__I1hZCW__btn:disabled{opacity:.35;cursor:not-allowed}.RichTextEditor-module__I1hZCW__btnOn{background:var(--primary-50,#eff6ff);color:var(--primary-600,#2563eb)}.RichTextEditor-module__I1hZCW__divider{background:var(--border-color);align-self:stretch;width:1px;margin:.25rem .3rem}.RichTextEditor-module__I1hZCW__fontSizeRoot{position:relative}.RichTextEditor-module__I1hZCW__fontSizeTrigger{height:30px;color:var(--text-main);cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:.35rem;padding:0 .55rem;font-size:.8rem;font-weight:600;line-height:1;display:inline-flex}.RichTextEditor-module__I1hZCW__fontSizeTrigger:hover{background:var(--neutral-100,#f1f5f9)}.RichTextEditor-module__I1hZCW__fontSizeMenu{z-index:20;background:var(--bg-surface,#fff);border:1px solid var(--border-color);min-width:96px;max-height:220px;box-shadow:var(--shadow-md,0 4px 6px -1px #0f172a1a);border-radius:8px;margin:0;padding:.3rem;list-style:none;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto}.RichTextEditor-module__I1hZCW__linkBox{z-index:20;background:var(--bg-surface,#fff);border:1px solid var(--border-color);width:max-content;max-width:min(420px,100vw - 2rem);box-shadow:var(--shadow-md,0 4px 6px -1px #0f172a1a);border-radius:10px;align-items:center;gap:.75rem;padding:.75rem;display:flex;position:absolute;top:calc(100% + 4px);left:0}.RichTextEditor-module__I1hZCW__linkFields{flex-direction:column;gap:.5rem;min-width:0;display:flex}.RichTextEditor-module__I1hZCW__linkField{border:1px solid var(--border-color);width:240px;max-width:100%;height:34px;color:var(--text-muted);box-sizing:border-box;border-radius:6px;align-items:center;gap:.5rem;padding:0 .6rem;display:flex}.RichTextEditor-module__I1hZCW__linkField:focus-within{border-color:var(--primary-600,#2563eb)}.RichTextEditor-module__I1hZCW__linkField svg{flex-shrink:0}.RichTextEditor-module__I1hZCW__linkInput{min-width:0;color:var(--text-main);background:0 0;border:none;outline:none;flex:1;font-size:.85rem}.RichTextEditor-module__I1hZCW__linkInput:focus,.RichTextEditor-module__I1hZCW__linkInput:focus-visible{box-shadow:none;outline:none}.RichTextEditor-module__I1hZCW__linkActions{flex-direction:column;align-items:stretch;gap:.35rem;display:flex}.RichTextEditor-module__I1hZCW__linkApply,.RichTextEditor-module__I1hZCW__linkAction{cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.4rem .6rem;font-size:.85rem;font-weight:600}.RichTextEditor-module__I1hZCW__linkApply{color:var(--primary-600,#2563eb)}.RichTextEditor-module__I1hZCW__linkApply:disabled{color:var(--text-muted);cursor:default}.RichTextEditor-module__I1hZCW__linkAction{color:var(--danger-600,#dc2626)}@media (hover:hover) and (pointer:fine){.RichTextEditor-module__I1hZCW__linkApply:not(:disabled):hover,.RichTextEditor-module__I1hZCW__linkAction:hover{background:var(--neutral-100,#f1f5f9)}}.RichTextEditor-module__I1hZCW__fontSizeOption{width:100%;color:var(--text-main);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:space-between;align-items:center;gap:.5rem;padding:.4rem .55rem;font-size:.82rem;display:flex}.RichTextEditor-module__I1hZCW__fontSizeOption:hover{background:var(--neutral-100,#f1f5f9)}.RichTextEditor-module__I1hZCW__fontSizeOption svg{color:var(--primary-600,#2563eb);flex-shrink:0}.RichTextEditor-module__I1hZCW__mergeTagMenu{min-width:180px}.RichTextEditor-module__I1hZCW__mergeTagOption{white-space:nowrap}.RichTextEditor-module__I1hZCW__surface{cursor:text;flex:1;min-width:0;min-height:0;padding:1rem 1.25rem;position:relative;overflow:auto}.RichTextEditor-module__I1hZCW__imagePlaceholderOverlay{cursor:pointer;z-index:5;background:0 0;border:2px solid #0000;border-radius:6px;justify-content:center;align-items:center;padding:0;transition:background .15s,border-color .15s;display:flex;position:absolute}.RichTextEditor-module__I1hZCW__imagePlaceholderOverlay:hover:not(:disabled),.RichTextEditor-module__I1hZCW__imagePlaceholderOverlayActive{border-color:var(--primary-500,#3b82f6);background:#3b82f60f}.RichTextEditor-module__I1hZCW__imagePlaceholderOverlay:disabled{cursor:progress;background:#fff9}.RichTextEditor-module__I1hZCW__imagePlaceholderStatus{background:var(--bg-surface,#fff);color:var(--primary-700,#1d4ed8);box-shadow:var(--shadow-md,0 4px 6px -1px #0f172a1a);border-radius:999px;padding:.4rem .75rem;font-size:.8rem;font-weight:600}.RichTextEditor-module__I1hZCW__surface.RichTextEditor-module__I1hZCW__readOnly{cursor:default;background:var(--neutral-50,#f8fafc)}.RichTextEditor-module__I1hZCW__surface .ProseMirror{min-height:100%;color:var(--text-main);outline:none;font-size:13px;line-height:1.6}.RichTextEditor-module__I1hZCW__surface .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:var(--text-muted);pointer-events:none}:is(.RichTextEditor-module__I1hZCW__surface .ProseMirror ul,.RichTextEditor-module__I1hZCW__surface .ProseMirror ol){padding-left:1.4rem}.RichTextEditor-module__I1hZCW__surface .ProseMirror a{color:var(--primary-600,#2563eb);text-decoration:underline}.RichTextEditor-module__I1hZCW__surface .ProseMirror blockquote{border-left:3px solid var(--border-color);color:var(--text-muted);margin-left:0;padding-left:.85rem}.RichTextEditor-module__I1hZCW__surface .ProseMirror img{max-width:100%;height:auto}.RichTextEditor-module__I1hZCW__htmlBlock{border:1px dashed var(--border-color);transition:border-color var(--transition-fast,.15s ease);border-radius:8px;margin:.5rem 0;padding:.6rem;position:relative}.RichTextEditor-module__I1hZCW__htmlBlock:hover,.RichTextEditor-module__I1hZCW__htmlBlockSelected{border-color:var(--primary-300,#93c5fd)}.RichTextEditor-module__I1hZCW__htmlBlockCompact{border-style:solid;border-color:#0000;border-radius:4px;margin:0;padding:0}.RichTextEditor-module__I1hZCW__htmlBlockCompact.RichTextEditor-module__I1hZCW__htmlBlockSelected{border-color:var(--primary-200,#bfdbfe)}.RichTextEditor-module__I1hZCW__htmlBlockCompact:hover{border-color:#0000}.RichTextEditor-module__I1hZCW__htmlBlockRendered{pointer-events:none;max-width:100%;overflow-x:auto}.RichTextEditor-module__I1hZCW__htmlBlockCompact .RichTextEditor-module__I1hZCW__htmlBlockRendered{overflow-x:visible}.RichTextEditor-module__I1hZCW__htmlBlockRendered img,.RichTextEditor-module__I1hZCW__htmlBlockRendered table{max-width:100%}.RichTextEditor-module__I1hZCW__htmlBlockRendered img{height:auto}.RichTextEditor-module__I1hZCW__htmlBlockToolbar{justify-content:space-between;align-items:center;gap:.3rem;margin-bottom:.5rem;display:flex}.RichTextEditor-module__I1hZCW__htmlBlockLabel{color:var(--text-muted,var(--text-subtle));text-transform:uppercase;letter-spacing:.03em;font-size:.7rem;font-weight:600}.RichTextEditor-module__I1hZCW__htmlBlockEditableRendered{pointer-events:auto;cursor:text;border-radius:6px;min-height:2rem}.RichTextEditor-module__I1hZCW__htmlBlockEditableRendered:focus{outline:none;box-shadow:0 0 0 3px #2563eb1f}.RichTextEditor-module__I1hZCW__htmlBlockCompact .RichTextEditor-module__I1hZCW__htmlBlockEditableRendered{min-height:0}.RichTextEditor-module__I1hZCW__htmlBlockCompact .RichTextEditor-module__I1hZCW__htmlBlockEditableRendered:focus{box-shadow:none}.RichTextEditor-module__I1hZCW__htmlModal{width:min(100%,880px)}.RichTextEditor-module__I1hZCW__htmlModalTitle{color:var(--text-main);align-items:center;gap:.5rem;margin:0;font-size:1rem;font-weight:700;display:flex}.RichTextEditor-module__I1hZCW__htmlModalBody{flex-direction:column;gap:.5rem;min-height:0;padding:1.25rem 1.5rem;display:flex}.RichTextEditor-module__I1hZCW__htmlModalTextarea{resize:vertical;border:1px solid var(--border-color);border-radius:var(--radius-md,8px);width:100%;height:min(60vh,560px);min-height:240px;color:var(--text-main);background:var(--neutral-50,#f8fafc);padding:.75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem;line-height:1.5}.RichTextEditor-module__I1hZCW__htmlModalTextarea:focus{border-color:var(--primary-600,#2563eb);background:var(--bg-surface,#fff)}.RichTextEditor-module__I1hZCW__htmlModalHint{color:var(--text-muted);margin:0;font-size:.75rem}.RichTextEditor-module__I1hZCW__htmlBlockBtn{border:1px solid var(--border-color);background:var(--bg-surface,#fff);width:26px;height:26px;color:var(--text-muted);cursor:pointer;box-shadow:var(--shadow-xs);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.RichTextEditor-module__I1hZCW__htmlBlockBtn:hover{color:var(--primary-700,#1d4ed8);border-color:var(--primary-300,#93c5fd);background:var(--primary-50,#eff6ff)}.RichTextEditor-module__I1hZCW__pastedContentPositioner{position:relative}.RichTextEditor-module__I1hZCW__pastedImageToolbar{background:var(--bg-surface,#fff);border:1px solid var(--border-color);box-shadow:var(--shadow-md,0 4px 6px -1px #0f172a1a);z-index:10;border-radius:8px;align-items:center;gap:.3rem;padding:.3rem;display:flex;position:absolute;transform:translateY(calc(-100% - 8px))}.RichTextEditor-module__I1hZCW__fontFamilyTrigger{max-width:110px}.RichTextEditor-module__I1hZCW__fontFamilyTriggerLabel{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.RichTextEditor-module__I1hZCW__colorSwatchIndicator{border:1px solid #0f172a26;border-radius:2px;height:3px;position:absolute;bottom:4px;left:6px;right:6px}.RichTextEditor-module__I1hZCW__colorMenu{z-index:20;background:var(--bg-surface,#fff);border:1px solid var(--border-color);width:176px;box-shadow:var(--shadow-md,0 4px 6px -1px #0f172a1a);border-radius:8px;padding:.55rem;position:absolute;top:calc(100% + 4px);left:0}.RichTextEditor-module__I1hZCW__colorSwatchGrid{grid-template-columns:repeat(7,1fr);gap:.3rem;display:grid}.RichTextEditor-module__I1hZCW__colorSwatch{cursor:pointer;border:1px solid #0f172a1f;border-radius:5px;width:18px;height:18px;padding:0}.RichTextEditor-module__I1hZCW__colorSwatch:hover{transform:scale(1.12)}.RichTextEditor-module__I1hZCW__colorMenuActions{border-top:1px solid var(--border-color);align-items:center;gap:.4rem;margin-top:.55rem;padding-top:.5rem;display:flex}.RichTextEditor-module__I1hZCW__colorCustomBtn,.RichTextEditor-module__I1hZCW__colorClearBtn{border:1px solid var(--border-color);background:var(--bg-surface,#fff);color:var(--text-main);cursor:pointer;border-radius:6px;flex:1;padding:.3rem .4rem;font-size:.72rem;font-weight:600}.RichTextEditor-module__I1hZCW__colorCustomBtn:hover,.RichTextEditor-module__I1hZCW__colorClearBtn:hover{background:var(--neutral-100,#f1f5f9)}.RichTextEditor-module__I1hZCW__colorCustomInput{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.RichTextEditor-module__I1hZCW__imageDimsGroup{color:var(--text-muted);align-items:center;gap:.25rem;padding:0 .3rem;font-size:.75rem;display:flex}.RichTextEditor-module__I1hZCW__imageDimInput{border:1px solid var(--border-color);background:var(--bg-surface,#fff);width:48px;height:26px;color:var(--text-main);text-align:center;border-radius:6px;padding:0 .3rem;font-size:.78rem}.RichTextEditor-module__I1hZCW__surface [data-resize-container]{vertical-align:top;width:fit-content;max-width:100%}.RichTextEditor-module__I1hZCW__surface [data-resize-wrapper]{line-height:0}.RichTextEditor-module__I1hZCW__surface .ProseMirror-selectednode[data-resize-container]{outline:2px solid var(--primary-500,#3b82f6);outline-offset:2px;border-radius:2px}.RichTextEditor-module__I1hZCW__surface [data-resize-handle]{background:var(--primary-600,#2563eb);z-index:5;border:2px solid #fff;border-radius:50%;width:10px;height:10px;display:none;box-shadow:0 0 0 1px #0f172a40}.RichTextEditor-module__I1hZCW__surface .ProseMirror-selectednode[data-resize-container] [data-resize-handle]{display:block}.RichTextEditor-module__I1hZCW__surface [data-resize-handle=top-left]{cursor:nwse-resize;margin:-6px 0 0 -6px}.RichTextEditor-module__I1hZCW__surface [data-resize-handle=top-right]{cursor:nesw-resize;margin:-6px -6px 0 0}.RichTextEditor-module__I1hZCW__surface [data-resize-handle=bottom-left]{cursor:nesw-resize;margin:0 0 -6px -6px}.RichTextEditor-module__I1hZCW__surface [data-resize-handle=bottom-right]{cursor:nwse-resize;margin:0 -6px -6px 0}
.AddressChipInput-module__ys48_W__wrapOuter{flex-direction:column;flex:1;gap:.15rem;min-width:0;display:flex}.AddressChipInput-module__ys48_W__wrap{flex-wrap:wrap;align-items:center;gap:.3rem;min-width:0;display:flex}.AddressChipInput-module__ys48_W__error{color:var(--danger-color,#dc2626);font-size:.76rem}.AddressChipInput-module__ys48_W__chip{background:var(--neutral-100,#f1f5f9);color:var(--text-main,#0f172a);border-radius:999px;align-items:center;gap:.25rem;max-width:100%;padding:.15rem .45rem;font-size:.8rem;display:inline-flex}.AddressChipInput-module__ys48_W__chipRemove{cursor:pointer;color:var(--text-muted,#5f6368);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.AddressChipInput-module__ys48_W__chipRemove:hover{color:var(--danger-color,#dc2626)}.AddressChipInput-module__ys48_W__input{appearance:none;min-width:120px;box-shadow:none;font:inherit;color:var(--text-main,#0f172a);background:0 0;border:none;outline:none;flex:1;padding:.3rem 0;font-size:.9rem}.AddressChipInput-module__ys48_W__input:focus,.AddressChipInput-module__ys48_W__input:focus-visible{box-shadow:none;border:none;outline:none}.AddressChipInput-module__ys48_W__input:disabled{opacity:.6}
.LeadEmailTab-module__1PP1iq__container{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,10px);width:100%;min-height:460px;box-shadow:var(--shadow-xs,0 1px 3px #00000008);flex-shrink:0;grid-template-columns:208px minmax(0,1fr);display:grid;overflow:hidden}.LeadEmailTab-module__1PP1iq__srOnly{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.LeadEmailTab-module__1PP1iq__rail{border-right:1px solid var(--border-color,#e2e8f0);background:var(--bg-surface-hover,#f8fafc);flex-direction:column;gap:.125rem;padding:.875rem .625rem;display:flex}.LeadEmailTab-module__1PP1iq__railComposeBtn{width:100%;font:inherit;color:var(--text-main,#1f1f1f);background:var(--bg-surface,#fff);cursor:pointer;border:none;border-radius:16px;justify-content:center;align-items:center;gap:.65rem;margin-bottom:.75rem;padding:.8rem 1.1rem;font-size:.875rem;font-weight:600;transition:box-shadow .15s,background .15s;display:flex;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.LeadEmailTab-module__1PP1iq__railComposeBtn:hover{background:var(--neutral-50,#f8fafc);box-shadow:0 1px 3px #00000029,0 4px 8px 3px #0000001a}.LeadEmailTab-module__1PP1iq__folderButton{font:inherit;color:var(--text-muted,#475569);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:999px;align-items:center;gap:.75rem;padding:.5rem .875rem;font-size:.875rem;font-weight:500;transition:background .15s,color .15s;display:flex}.LeadEmailTab-module__1PP1iq__folderButton:hover{background:var(--neutral-100,#f1f5f9);color:var(--text-main,#0f172a)}.LeadEmailTab-module__1PP1iq__folderActive,.LeadEmailTab-module__1PP1iq__folderActive:hover{background:var(--primary-100,#dbeafe);color:var(--primary-800,#1e40af);font-weight:600}.LeadEmailTab-module__1PP1iq__folderButton:focus-visible,.LeadEmailTab-module__1PP1iq__row:focus-visible,.LeadEmailTab-module__1PP1iq__messageToggle:focus-visible,.LeadEmailTab-module__1PP1iq__iconButton:focus-visible,.LeadEmailTab-module__1PP1iq__primaryButton:focus-visible,.LeadEmailTab-module__1PP1iq__secondaryButton:focus-visible,.LeadEmailTab-module__1PP1iq__linkButton:focus-visible{outline:2px solid var(--primary-600,#2563eb);outline-offset:2px}.LeadEmailTab-module__1PP1iq__badge{text-align:center;color:#fff;background:var(--primary-600,#2563eb);border-radius:999px;min-width:1.25rem;margin-left:auto;padding:.0625rem .4375rem;font-size:.6875rem;font-weight:700;line-height:1.25}.LeadEmailTab-module__1PP1iq__contactCard{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,10px);flex-direction:column;gap:.875rem;margin-top:1rem;padding:.875rem;display:flex}.LeadEmailTab-module__1PP1iq__contactSection{flex-direction:column;gap:.5rem;min-width:0;display:flex}.LeadEmailTab-module__1PP1iq__contactSection+.LeadEmailTab-module__1PP1iq__contactSection{border-top:1px solid var(--border-color,#e2e8f0);padding-top:.875rem}.LeadEmailTab-module__1PP1iq__contactLabel{letter-spacing:.06em;text-transform:uppercase;color:var(--text-subtle,#64748b);font-size:.625rem;font-weight:700}.LeadEmailTab-module__1PP1iq__contactRow{align-items:center;gap:.625rem;min-width:0;display:flex}.LeadEmailTab-module__1PP1iq__contactRow .LeadEmailTab-module__1PP1iq__threadAvatar{width:2rem;height:2rem;font-size:.875rem}.LeadEmailTab-module__1PP1iq__contactEmail{min-width:0;color:var(--text-main,#0f172a);overflow-wrap:break-word;font-size:.8125rem;font-weight:600;line-height:1.35}.LeadEmailTab-module__1PP1iq__mailboxIcon{width:2rem;height:2rem;color:var(--primary-700,#1d4ed8);background:var(--primary-50,#eff6ff);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.LeadEmailTab-module__1PP1iq__main{flex-direction:column;min-width:0;display:flex}.LeadEmailTab-module__1PP1iq__toolbar{border-bottom:1px solid var(--border-color,#e2e8f0);align-items:center;gap:.75rem;min-height:3.25rem;padding:.5rem 1rem;display:flex}.LeadEmailTab-module__1PP1iq__toolbarContact{align-items:center;width:100%;min-width:0;margin-bottom:.75rem;display:flex}.LeadEmailTab-module__1PP1iq__toolbarContactSelect{flex:auto;min-width:0}.LeadEmailTab-module__1PP1iq__toolbarMailboxBadge{border:1px solid var(--border-color,#e2e8f0);background:var(--neutral-50,#f8fafc);color:var(--text-muted,#475569);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;flex-shrink:0;align-items:center;gap:.35rem;max-width:160px;padding:.3rem .65rem;font-size:.78rem;display:inline-flex;overflow:hidden}.LeadEmailTab-module__1PP1iq__listTitle,.LeadEmailTab-module__1PP1iq__detailSubject{color:var(--text-main,#0f172a);margin:0;font-size:1rem;font-weight:600}.LeadEmailTab-module__1PP1iq__detailSubject{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:1.125rem;overflow:hidden}.LeadEmailTab-module__1PP1iq__folderChip{color:var(--text-muted,#475569);background:var(--neutral-100,#f1f5f9);border-radius:999px;flex-shrink:0;margin-left:.25rem;padding:.125rem .5rem;font-size:.6875rem;font-weight:600}.LeadEmailTab-module__1PP1iq__toolbarEnd{margin-left:auto}.LeadEmailTab-module__1PP1iq__pagination{align-items:center;gap:.125rem;margin-left:auto;display:flex}.LeadEmailTab-module__1PP1iq__rangeLabel{color:var(--text-subtle,#64748b);white-space:nowrap;margin-right:.25rem;font-size:.75rem}.LeadEmailTab-module__1PP1iq__progress{background:0 0;height:2px;position:relative;overflow:hidden}.LeadEmailTab-module__1PP1iq__progressActive:after{content:"";background:var(--primary-500,#3b82f6);width:35%;animation:1.1s ease-in-out infinite LeadEmailTab-module__1PP1iq__emailProgress;position:absolute;inset:0 auto 0 0}@keyframes LeadEmailTab-module__1PP1iq__emailProgress{0%{transform:translate(-100%)}to{transform:translate(300%)}}.LeadEmailTab-module__1PP1iq__spin{animation:.8s linear infinite LeadEmailTab-module__1PP1iq__emailSpin}@keyframes LeadEmailTab-module__1PP1iq__emailSpin{to{transform:rotate(360deg)}}.LeadEmailTab-module__1PP1iq__errorNote{color:var(--danger-700,#b91c1c);background:var(--danger-50,#fef2f2);border:1px solid var(--danger-100,#fee2e2);border-radius:var(--radius-sm,6px);align-items:center;gap:.5rem;margin:.75rem 1rem;padding:.625rem .75rem;font-size:.8125rem;display:flex}.LeadEmailTab-module__1PP1iq__errorNote svg{flex-shrink:0}.LeadEmailTab-module__1PP1iq__linkButton{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;margin-left:auto;padding:0;font-weight:600;text-decoration:underline}.LeadEmailTab-module__1PP1iq__emptyState{text-align:center;color:var(--text-subtle,#64748b);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.375rem;padding:3rem 1.5rem;font-size:.875rem;display:flex}.LeadEmailTab-module__1PP1iq__emptyState p{max-width:400px;margin:0;line-height:1.5}.LeadEmailTab-module__1PP1iq__emptyState .LeadEmailTab-module__1PP1iq__secondaryButton{margin-top:.75rem}.LeadEmailTab-module__1PP1iq__emptyIcon{width:3rem;height:3rem;color:var(--primary-600,#2563eb);background:var(--primary-50,#eff6ff);border-radius:50%;justify-content:center;align-items:center;margin-bottom:.5rem;display:inline-flex}.LeadEmailTab-module__1PP1iq__emptyState .LeadEmailTab-module__1PP1iq__emptyTitle{color:var(--text-main,#0f172a);font-size:1rem;font-weight:600}.LeadEmailTab-module__1PP1iq__shimmer{background:linear-gradient(90deg, var(--neutral-100,#f1f5f9) 25%, var(--neutral-200,#e2e8f0) 37%, var(--neutral-100,#f1f5f9) 63%);background-size:400% 100%;border-radius:4px;animation:1.4s infinite LeadEmailTab-module__1PP1iq__emailShimmer;display:block}@keyframes LeadEmailTab-module__1PP1iq__emailShimmer{0%{background-position:100%}to{background-position:0}}.LeadEmailTab-module__1PP1iq__skeletonRow{border-bottom:1px solid var(--border-color,#e2e8f0);grid-template-columns:2rem 168px minmax(0,1fr) 3.5rem;align-items:center;gap:.875rem;padding:.75rem 1rem;display:grid}.LeadEmailTab-module__1PP1iq__skeletonAvatar{border-radius:50%;width:2rem;height:2rem}.LeadEmailTab-module__1PP1iq__skeletonParty{width:75%;height:.75rem}.LeadEmailTab-module__1PP1iq__skeletonSummary,.LeadEmailTab-module__1PP1iq__skeletonDate{height:.75rem}.LeadEmailTab-module__1PP1iq__skeletonLine{max-width:100%;height:.75rem}.LeadEmailTab-module__1PP1iq__skeletonThreadAvatar{border-radius:50%;flex-shrink:0;width:2.5rem;height:2.5rem}.LeadEmailTab-module__1PP1iq__skeletonBody{flex-direction:column;gap:.625rem;padding:.75rem 0 0 3.25rem;display:flex}.LeadEmailTab-module__1PP1iq__list{margin:0;padding:0;list-style:none}.LeadEmailTab-module__1PP1iq__row{width:100%;font:inherit;color:var(--text-muted,#475569);background:var(--bg-surface-hover,#f8fafc);border:none;border-bottom:1px solid var(--border-color,#e2e8f0);cursor:pointer;text-align:left;grid-template-columns:2rem 168px minmax(0,1fr) auto;align-items:center;gap:.875rem;padding:.625rem 1rem;font-size:.875rem;transition:background .12s;display:grid;position:relative}.LeadEmailTab-module__1PP1iq__row:hover{background:var(--neutral-100,#f1f5f9)}.LeadEmailTab-module__1PP1iq__rowUnread{color:var(--text-main,#0f172a);background:var(--bg-surface,#fff);font-weight:600}.LeadEmailTab-module__1PP1iq__rowUnread:hover{background:var(--primary-50,#eff6ff)}.LeadEmailTab-module__1PP1iq__unreadDot{background:var(--primary-600,#2563eb);border-radius:50%;width:.5rem;height:.5rem;position:absolute;top:50%;left:.375rem;transform:translateY(-50%)}.LeadEmailTab-module__1PP1iq__avatar{letter-spacing:.02em;box-sizing:border-box;border:1.5px solid #0000;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:.6875rem;font-weight:700;display:inline-flex}.LeadEmailTab-module__1PP1iq__rowParty,.LeadEmailTab-module__1PP1iq__rowSummary{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.LeadEmailTab-module__1PP1iq__rowSnippet{color:var(--text-subtle,#64748b);font-weight:400}.LeadEmailTab-module__1PP1iq__rowDate{color:var(--text-subtle,#64748b);white-space:nowrap;font-size:.75rem}.LeadEmailTab-module__1PP1iq__rowUnread .LeadEmailTab-module__1PP1iq__rowDate{color:var(--text-main,#0f172a)}.LeadEmailTab-module__1PP1iq__detail{flex-direction:column;display:flex}.LeadEmailTab-module__1PP1iq__thread{flex-direction:column;padding:0 1.25rem;display:flex}.LeadEmailTab-module__1PP1iq__message{padding:1rem 0}.LeadEmailTab-module__1PP1iq__message+.LeadEmailTab-module__1PP1iq__message{border-top:1px solid var(--border-color,#e2e8f0)}.LeadEmailTab-module__1PP1iq__messageHeader{width:100%;font:inherit;color:inherit;border-radius:var(--radius-sm,6px);cursor:pointer;text-align:left;background:0 0;border:none;align-items:flex-start;gap:.75rem;padding:0;display:flex}div.LeadEmailTab-module__1PP1iq__messageHeader{cursor:default}.LeadEmailTab-module__1PP1iq__threadAvatar{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;font-size:1.0625rem;font-weight:500;display:inline-flex}.LeadEmailTab-module__1PP1iq__messageMeta{flex-direction:column;flex:1;gap:.125rem;min-width:0;display:flex}.LeadEmailTab-module__1PP1iq__messageFromLine{flex-wrap:wrap;align-items:baseline;gap:.375rem;display:flex}.LeadEmailTab-module__1PP1iq__messageFrom{color:var(--text-main,#0f172a);font-size:.875rem;font-weight:600}.LeadEmailTab-module__1PP1iq__messageEmail{color:var(--text-subtle,#64748b);font-size:.75rem}.LeadEmailTab-module__1PP1iq__messageTo{color:var(--text-subtle,#64748b);overflow-wrap:anywhere;font-size:.75rem}.LeadEmailTab-module__1PP1iq__messagePreview{color:var(--text-subtle,#64748b);text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.LeadEmailTab-module__1PP1iq__messageDate{color:var(--text-subtle,#64748b);flex-shrink:0;font-size:.75rem}.LeadEmailTab-module__1PP1iq__messageBody{padding:.5rem 0 0 3.25rem}.LeadEmailTab-module__1PP1iq__bodyFrame{background:0 0;border:none;width:100%;display:block}.LeadEmailTab-module__1PP1iq__bodyText{font:inherit;color:var(--text-main,#0f172a);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.875rem;line-height:1.6}.LeadEmailTab-module__1PP1iq__quoteToggle{height:1.125rem;font:inherit;letter-spacing:.1em;color:var(--text-muted,#475569);background:var(--neutral-200,#e2e8f0);cursor:pointer;border:none;border-radius:999px;align-items:center;margin-top:.5rem;padding:0 .5rem;font-size:.625rem;line-height:1;display:inline-flex}.LeadEmailTab-module__1PP1iq__quoteToggle:hover{background:var(--border-color,#cbd5e1)}.LeadEmailTab-module__1PP1iq__quoteToggle:focus-visible{outline:2px solid var(--primary-600,#2563eb);outline-offset:2px}.LeadEmailTab-module__1PP1iq__attachments{flex-wrap:wrap;gap:.5rem;margin:.75rem 0 0;padding:0;list-style:none;display:flex}.LeadEmailTab-module__1PP1iq__attachmentItem{max-width:100%;display:flex}.LeadEmailTab-module__1PP1iq__attachment{max-width:100%;font:inherit;color:var(--text-muted,#475569);background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);cursor:pointer;border-radius:999px;align-items:center;gap:.375rem;padding:.3125rem .75rem;font-size:.75rem;transition:background .15s,border-color .15s;display:inline-flex}.LeadEmailTab-module__1PP1iq__attachment:hover:not(:disabled){background:var(--primary-50,#eff6ff);border-color:var(--primary-200,#bfdbfe)}.LeadEmailTab-module__1PP1iq__attachment:focus-visible{outline:2px solid var(--primary-600,#2563eb);outline-offset:2px}.LeadEmailTab-module__1PP1iq__attachment:disabled{cursor:progress;opacity:.75}.LeadEmailTab-module__1PP1iq__attachmentError{color:var(--danger-700,#b91c1c);align-items:center;gap:.375rem;margin:.5rem 0 0;font-size:.75rem;display:flex}.LeadEmailTab-module__1PP1iq__attachmentName{color:var(--text-main,#0f172a);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.LeadEmailTab-module__1PP1iq__attachmentSize{color:var(--text-subtle,#64748b)}.LeadEmailTab-module__1PP1iq__replyArea{padding:.5rem 1.25rem 1.5rem 4.5rem}.LeadEmailTab-module__1PP1iq__replyPills{align-items:center;gap:.75rem;display:flex}.LeadEmailTab-module__1PP1iq__pill{height:2.25rem;font:inherit;color:var(--text-main,#0f172a);background:var(--bg-surface,#fff);border:1px solid var(--border-color,#cbd5e1);cursor:pointer;border-radius:999px;align-items:center;gap:.5rem;padding:0 1.125rem;font-size:.875rem;font-weight:500;transition:background .15s;display:inline-flex}.LeadEmailTab-module__1PP1iq__pill:hover{background:var(--bg-surface-hover,#f8fafc)}.LeadEmailTab-module__1PP1iq__pill:focus-visible{outline:2px solid var(--primary-600,#2563eb);outline-offset:2px}.LeadEmailTab-module__1PP1iq__composeWindow{z-index:10050;background:var(--bg-surface,#fff);border-radius:12px 12px 0 0;flex-direction:column;width:560px;max-width:calc(100vw - 32px);height:min(640px,100vh - 48px);display:flex;position:fixed;bottom:0;right:24px;overflow:hidden;box-shadow:0 8px 28px #0f172a47,0 0 0 1px #0f172a0f}.LeadEmailTab-module__1PP1iq__composeWindowMinimized{height:auto}.LeadEmailTab-module__1PP1iq__composeWindowHeader{background:var(--neutral-100,#f1f3f4);color:var(--text-main,#0f172a);border-bottom:1px solid var(--border-color,#e2e8f0);cursor:pointer;flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;padding:.65rem .5rem .65rem 1.1rem;display:flex}.LeadEmailTab-module__1PP1iq__composeWindowTitle{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:600;overflow:hidden}.LeadEmailTab-module__1PP1iq__composeWindowHeaderActions{flex-shrink:0;align-items:center;gap:.125rem;display:flex}.LeadEmailTab-module__1PP1iq__composeWindowIconBtn{width:28px;height:28px;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.LeadEmailTab-module__1PP1iq__composeWindowHeader .LeadEmailTab-module__1PP1iq__composeWindowIconBtn{color:var(--text-muted,#5f6368)}.LeadEmailTab-module__1PP1iq__composeWindowHeader .LeadEmailTab-module__1PP1iq__composeWindowIconBtn:hover{color:var(--text-main,#0f172a);background:#00000014}.LeadEmailTab-module__1PP1iq__composeWindowFooter .LeadEmailTab-module__1PP1iq__composeWindowIconBtn{color:var(--text-muted,#64748b)}.LeadEmailTab-module__1PP1iq__composeWindowFooter .LeadEmailTab-module__1PP1iq__composeWindowIconBtn:hover:not(:disabled){background:var(--neutral-100,#f1f5f9);color:var(--danger-600,#dc2626)}.LeadEmailTab-module__1PP1iq__composeWindowFooter .LeadEmailTab-module__1PP1iq__composeWindowIconBtn:disabled{opacity:.5;cursor:not-allowed}.LeadEmailTab-module__1PP1iq__composeWindowBody{flex-direction:column;flex:1;min-height:0;display:flex}.LeadEmailTab-module__1PP1iq__composeWindowFieldRow{border-bottom:1px solid var(--border-color,#e2e8f0);flex-shrink:0;align-items:center;gap:.65rem;padding:.55rem 1.1rem;display:flex}.LeadEmailTab-module__1PP1iq__composeWindowFieldLabel{color:var(--text-muted,#5f6368);flex-shrink:0;width:32px;font-size:.82rem}.LeadEmailTab-module__1PP1iq__composeWindowFieldInput{appearance:none;min-width:0;box-shadow:none;font:inherit;color:var(--text-main,#0f172a);background:0 0;border:none;outline:none;flex:1;padding:.3rem 0;font-size:.9rem}.LeadEmailTab-module__1PP1iq__composeWindowFieldInput:focus,.LeadEmailTab-module__1PP1iq__composeWindowFieldInput:focus-visible{box-shadow:none;border:none;outline:none}.LeadEmailTab-module__1PP1iq__composeWindowFieldInput:disabled{opacity:.6}.LeadEmailTab-module__1PP1iq__composeWindowFieldInput:-webkit-autofill{-webkit-text-fill-color:var(--text-main,#0f172a);transition:background-color 9999s ease-in-out}.LeadEmailTab-module__1PP1iq__composeWindowFieldInput:-webkit-autofill:hover{-webkit-text-fill-color:var(--text-main,#0f172a);transition:background-color 9999s ease-in-out}.LeadEmailTab-module__1PP1iq__composeWindowFieldInput:-webkit-autofill:focus{-webkit-text-fill-color:var(--text-main,#0f172a);transition:background-color 9999s ease-in-out}.LeadEmailTab-module__1PP1iq__composeWindowToSelect{flex:1;min-width:0}.LeadEmailTab-module__1PP1iq__composeWindowCcBccToggles{flex-shrink:0;gap:.6rem;display:flex}.LeadEmailTab-module__1PP1iq__composeWindowToggleLink{color:var(--text-muted,#5f6368);cursor:pointer;background:0 0;border:none;padding:0;font-size:.82rem}.LeadEmailTab-module__1PP1iq__composeWindowToggleLink:hover{color:var(--text-main,#0f172a);text-decoration:underline}.LeadEmailTab-module__1PP1iq__composeEditorBox{flex-direction:column;flex:1;min-height:320px;display:flex;overflow:hidden}.LeadEmailTab-module__1PP1iq__composeWindowAttachments{flex-wrap:wrap;flex-shrink:0;gap:.4rem;padding:.6rem 1rem 0;display:flex}.LeadEmailTab-module__1PP1iq__composeWindowAttachmentChip{border:1px solid var(--border-color,#e2e8f0);background:var(--neutral-50,#f8fafc);color:var(--text-main,#1e293b);border-radius:7px;align-items:center;gap:.35rem;max-width:220px;padding:.3rem .55rem;font-size:.76rem;display:inline-flex}.LeadEmailTab-module__1PP1iq__composeWindowAttachmentName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.LeadEmailTab-module__1PP1iq__composeWindowAttachmentSize{color:var(--text-subtle,#94a3b8);flex-shrink:0}.LeadEmailTab-module__1PP1iq__composeWindowAttachmentRemove{cursor:pointer;color:var(--text-muted,#64748b);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.LeadEmailTab-module__1PP1iq__composeWindowAttachmentRemove:hover{color:var(--danger-600,#dc2626)}.LeadEmailTab-module__1PP1iq__composeWindowFooter{border-top:1px solid var(--border-color,#e2e8f0);flex-shrink:0;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem 1rem;display:flex}.LeadEmailTab-module__1PP1iq__replyBox{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,10px);box-shadow:var(--shadow-xs,0 1px 3px #00000008);flex-direction:column;gap:.5rem;padding:.875rem 1rem .75rem;scroll-margin-bottom:1.5rem;transition:border-color .15s,box-shadow .15s;display:flex}.LeadEmailTab-module__1PP1iq__replyBox:has(.LeadEmailTab-module__1PP1iq__replyInput:focus){border-color:var(--primary-500,#3b82f6);box-shadow:0 0 0 3px var(--primary-100,#dbeafe)}.LeadEmailTab-module__1PP1iq__replyHeader{color:var(--text-muted,#475569);align-items:center;gap:.5rem;font-size:.8125rem;font-weight:600;display:flex}.LeadEmailTab-module__1PP1iq__replyAddressRow{border-bottom:1px solid var(--border-color,#e2e8f0);align-items:center;gap:.5rem;padding:.25rem 0;display:flex}.LeadEmailTab-module__1PP1iq__replyInput{width:100%;min-height:5.5rem;font:inherit;color:var(--text-main,#0f172a);resize:vertical;box-sizing:border-box;background:0 0;border:none;padding:.5rem 0;font-size:.875rem;line-height:1.5}.LeadEmailTab-module__1PP1iq__replyInput:focus{outline:none}.LeadEmailTab-module__1PP1iq__replyInput:disabled{opacity:.6}.LeadEmailTab-module__1PP1iq__replyActions{border-top:1px solid var(--border-color,#e2e8f0);justify-content:space-between;align-items:center;gap:1rem;padding-top:.5rem;display:flex}.LeadEmailTab-module__1PP1iq__replyButtons{align-items:center;gap:.5rem;display:inline-flex}.LeadEmailTab-module__1PP1iq__replyHint{color:var(--text-subtle,#64748b);font-size:.75rem}.LeadEmailTab-module__1PP1iq__iconButton{width:2rem;height:2rem;color:var(--text-muted,#475569);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.LeadEmailTab-module__1PP1iq__iconButton:hover:not(:disabled){background:var(--neutral-100,#f1f5f9);color:var(--text-main,#0f172a)}.LeadEmailTab-module__1PP1iq__iconButton:disabled{cursor:progress;opacity:.7}.LeadEmailTab-module__1PP1iq__primaryButton,.LeadEmailTab-module__1PP1iq__secondaryButton{font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:.5rem;padding:.5rem 1.125rem;font-size:.8125rem;font-weight:600;transition:background .15s;display:inline-flex}.LeadEmailTab-module__1PP1iq__primaryButton{color:#fff;background:var(--primary-600,#2563eb);border:1px solid var(--primary-600,#2563eb)}.LeadEmailTab-module__1PP1iq__primaryButton:hover:not(:disabled){background:var(--primary-700,#1d4ed8)}.LeadEmailTab-module__1PP1iq__secondaryButton{color:var(--text-main,#0f172a);background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0)}.LeadEmailTab-module__1PP1iq__secondaryButton:hover:not(:disabled){background:var(--bg-surface-hover,#f8fafc)}.LeadEmailTab-module__1PP1iq__primaryButton:disabled{color:var(--text-subtle,#64748b);background:var(--neutral-100,#f1f5f9);border-color:var(--border-color,#e2e8f0);cursor:not-allowed}.LeadEmailTab-module__1PP1iq__secondaryButton:disabled{opacity:.55;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.LeadEmailTab-module__1PP1iq__shimmer,.LeadEmailTab-module__1PP1iq__spin,.LeadEmailTab-module__1PP1iq__progressActive:after{animation:none}}@media (max-width:720px){.LeadEmailTab-module__1PP1iq__container{grid-template-columns:1fr}.LeadEmailTab-module__1PP1iq__rail{border-right:none;border-bottom:1px solid var(--border-color,#e2e8f0);flex-flow:wrap}.LeadEmailTab-module__1PP1iq__contactCard{display:none}.LeadEmailTab-module__1PP1iq__row,.LeadEmailTab-module__1PP1iq__skeletonRow{grid-template-columns:2rem minmax(0,1fr) auto}.LeadEmailTab-module__1PP1iq__rowSummary{grid-area:2/1/auto/-1}.LeadEmailTab-module__1PP1iq__skeletonParty{grid-column:2}.LeadEmailTab-module__1PP1iq__skeletonSummary{display:none}.LeadEmailTab-module__1PP1iq__replyActions{flex-wrap:wrap}.LeadEmailTab-module__1PP1iq__messageBody{padding-left:0}.LeadEmailTab-module__1PP1iq__replyArea{padding-left:1.25rem}}
.DocumentForm-module__h7zskG__container{box-sizing:border-box;background-color:#f8fafc;flex-direction:column;flex:auto;width:100%;min-height:calc(100vh - 100px);display:flex;overflow:hidden}.DocumentForm-module__h7zskG__topHeader{z-index:10;background-color:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:.75rem 1.5rem;display:flex;box-shadow:0 1px 2px #00000008}.DocumentForm-module__h7zskG__headerLeft{align-items:center;gap:1rem;display:flex}.DocumentForm-module__h7zskG__backBtn{color:#475569;cursor:pointer;background-color:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:.4rem;padding:.45rem .75rem;font-size:.8125rem;font-weight:600;transition:all .15s;display:inline-flex}.DocumentForm-module__h7zskG__backBtn:hover{color:#0f172a;background-color:#e2e8f0}.DocumentForm-module__h7zskG__titleWrapper{align-items:center;gap:.75rem;display:flex}.DocumentForm-module__h7zskG__titleInput{color:#0f172a;background:0 0;border:1px solid #0000;border-radius:4px;padding:.2rem .4rem;font-size:1.1rem;font-weight:700}.DocumentForm-module__h7zskG__titleInput:focus{background:#fff;border-color:#2563eb;outline:none}.DocumentForm-module__h7zskG__templateBadge{color:#2563eb;text-transform:uppercase;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:4px;padding:.2rem .5rem;font-size:.6875rem;font-weight:700}.DocumentForm-module__h7zskG__headerRight{align-items:center;gap:1rem;display:flex}.DocumentForm-module__h7zskG__contextPicker{background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:.5rem;padding:.3rem .6rem;display:flex}.DocumentForm-module__h7zskG__contextLabel{color:#475569;white-space:nowrap;font-size:.75rem;font-weight:700}.DocumentForm-module__h7zskG__contextSelect{color:#0f172a;cursor:pointer;background:0 0;border:none;outline:none;max-width:220px;font-size:.8125rem;font-weight:600}.DocumentForm-module__h7zskG__printBtn{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:.5rem .9rem;font-size:.8125rem;font-weight:600}.DocumentForm-module__h7zskG__printBtn:hover{background-color:#f1f5f9}.DocumentForm-module__h7zskG__saveBtn{color:#fff;cursor:pointer;background-color:#2563eb;border:1px solid #1d4ed8;border-radius:6px;padding:.5rem 1.1rem;font-size:.8125rem;font-weight:700;box-shadow:0 1px 2px #2563eb33}.DocumentForm-module__h7zskG__saveBtn:hover{background-color:#1d4ed8}.DocumentForm-module__h7zskG__workspace{flex:1;grid-template-columns:minmax(360px,450px) minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.DocumentForm-module__h7zskG__formColumn{box-sizing:border-box;background-color:#fff;border-right:1px solid #e2e8f0;flex-direction:column;gap:1.35rem;padding:1.5rem;display:flex;overflow-y:auto}.DocumentForm-module__h7zskG__previewColumn{background-color:#f1f5f9;min-width:0;overflow-y:auto}.DocumentForm-module__h7zskG__formSection{box-sizing:border-box;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:.9rem;padding:1.15rem 1.25rem;display:flex}.DocumentForm-module__h7zskG__sectionHeading{color:#1e293b;margin:0;font-size:.875rem;font-weight:700}.DocumentForm-module__h7zskG__sectionHeaderRow{justify-content:space-between;align-items:center;display:flex}.DocumentForm-module__h7zskG__accordionHeader{cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:0;display:flex}.DocumentForm-module__h7zskG__accordionLeft{align-items:center;gap:.5rem;display:flex}.DocumentForm-module__h7zskG__accordionIcon{color:#475569;justify-content:center;align-items:center;width:16px;height:16px;font-size:.7rem;transition:transform .2s;display:inline-flex}.DocumentForm-module__h7zskG__brandBadge{color:#475569;background-color:#e2e8f0;border-radius:4px;padding:.15rem .45rem;font-size:.6875rem;font-weight:600}.DocumentForm-module__h7zskG__fieldCountTag{color:#94a3b8;font-size:.75rem;font-weight:600}.DocumentForm-module__h7zskG__phoneGroup{gap:.5rem;display:flex}.DocumentForm-module__h7zskG__phoneCodeSelect{flex-shrink:0;width:90px!important}.DocumentForm-module__h7zskG__requiredStar{color:#ef4444;margin-left:.15rem}.DocumentForm-module__h7zskG__fieldGroup{box-sizing:border-box;flex-direction:column;gap:.35rem;width:100%;min-width:0;display:flex}.DocumentForm-module__h7zskG__fieldGroup label{color:#475569;font-size:.78125rem;font-weight:600}.DocumentForm-module__h7zskG__fieldGroup input,.DocumentForm-module__h7zskG__fieldGroup select,.DocumentForm-module__h7zskG__fieldGroup textarea{box-sizing:border-box;color:#0f172a;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;padding:.5rem .7rem;font-family:inherit;font-size:.84375rem;transition:border-color .15s,box-shadow .15s}.DocumentForm-module__h7zskG__fieldGroup input:focus,.DocumentForm-module__h7zskG__fieldGroup select:focus,.DocumentForm-module__h7zskG__fieldGroup textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.DocumentForm-module__h7zskG__rowTwoCols{box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;width:100%;display:grid}.DocumentForm-module__h7zskG__addItemBtn{color:#2563eb;cursor:pointer;background:0 0;border:none;align-items:center;gap:.3rem;font-size:.75rem;font-weight:700;display:inline-flex}.DocumentForm-module__h7zskG__itemCard{box-sizing:border-box;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;flex-direction:column;gap:.65rem;padding:.85rem;display:flex}.DocumentForm-module__h7zskG__itemCardHeader{color:#64748b;justify-content:space-between;align-items:center;font-size:.75rem;font-weight:700;display:flex}.DocumentForm-module__h7zskG__removeItemBtn{color:#ef4444;cursor:pointer;background:0 0;border:none}@media (max-width:1024px){.DocumentForm-module__h7zskG__container{height:auto;min-height:100vh;overflow:auto}.DocumentForm-module__h7zskG__workspace{grid-template-columns:1fr;overflow:visible}.DocumentForm-module__h7zskG__formColumn{border-bottom:1px solid #e2e8f0;border-right:none}}@media (max-width:540px){.DocumentForm-module__h7zskG__rowTwoCols{grid-template-columns:1fr}.DocumentForm-module__h7zskG__topHeader{padding:.75rem 1rem}.DocumentForm-module__h7zskG__formColumn{padding:1rem}}@media print{.DocumentForm-module__h7zskG__topHeader,.DocumentForm-module__h7zskG__formColumn{display:none!important}.DocumentForm-module__h7zskG__container,.DocumentForm-module__h7zskG__workspace,.DocumentForm-module__h7zskG__previewColumn{background:0 0!important;height:auto!important;min-height:0!important;max-height:none!important;display:block!important;overflow:visible!important}}.DocumentForm-module__h7zskG__toggleWrapper{align-items:center;gap:.75rem;min-height:38px;padding-top:.25rem;display:flex}.DocumentForm-module__h7zskG__switch{flex-shrink:0;width:44px;height:24px;display:inline-block;position:relative}.DocumentForm-module__h7zskG__switch input{opacity:0;width:0;height:0}.DocumentForm-module__h7zskG__slider{cursor:pointer;background-color:#cbd5e1;border-radius:24px;transition:all .25s;position:absolute;inset:0}.DocumentForm-module__h7zskG__slider:before{content:"";background-color:#fff;border-radius:50%;width:18px;height:18px;transition:all .25s;position:absolute;bottom:3px;left:3px;box-shadow:0 1px 3px #0003}.DocumentForm-module__h7zskG__switch input:checked+.DocumentForm-module__h7zskG__slider{background-color:#2563eb}.DocumentForm-module__h7zskG__switch input:checked+.DocumentForm-module__h7zskG__slider:before{transform:translate(20px)}.DocumentForm-module__h7zskG__toggleStatusText{color:#334155;font-size:.8125rem;font-weight:600}
.EmailTemplatePreviewModal-module__SavqYq__modal{width:min(100%,640px);height:min(80vh,640px)}.EmailTemplatePreviewModal-module__SavqYq__title{color:var(--text-main);align-items:center;gap:.5rem;margin:0;font-size:1.05rem;font-weight:700;display:flex}.EmailTemplatePreviewModal-module__SavqYq__body{flex:1;min-height:0;padding:1.25rem;overflow-y:auto}.EmailTemplatePreviewModal-module__SavqYq__subjectRow{border-bottom:1px solid var(--border-color,#e2e8f0);margin-bottom:1rem;padding-bottom:1rem}.EmailTemplatePreviewModal-module__SavqYq__subjectLabel{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;margin-bottom:.35rem;font-size:.75rem;font-weight:700;display:block}.EmailTemplatePreviewModal-module__SavqYq__subjectValue{color:var(--text-main);word-break:break-word;font-size:.95rem;font-weight:600}.EmailTemplatePreviewModal-module__SavqYq__bodyArea{color:var(--text-main);word-break:break-word;max-width:100%;font-size:.88rem;line-height:1.6;overflow-x:auto}:is(.EmailTemplatePreviewModal-module__SavqYq__bodyArea ul,.EmailTemplatePreviewModal-module__SavqYq__bodyArea ol){padding-left:1.3rem}.EmailTemplatePreviewModal-module__SavqYq__bodyArea a{color:var(--primary-600,#2563eb)}.EmailTemplatePreviewModal-module__SavqYq__bodyArea img{max-width:100%;height:auto}.EmailTemplatePreviewModal-module__SavqYq__bodyArea table{max-width:100%}.EmailTemplatePreviewModal-module__SavqYq__tagChip{background:var(--primary-50,#eff6ff);color:var(--primary-700,#1d4ed8);border-radius:4px;padding:.05rem .15rem;font-weight:600}.EmailTemplatePreviewModal-module__SavqYq__hint{color:var(--text-muted);border-top:1px solid var(--border-color,#e2e8f0);margin:0;padding:.75rem 1.25rem;font-size:.78rem}
.LeadFollowupSection-module__Fes10W__container{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,10px);box-sizing:border-box;width:100%;box-shadow:var(--shadow-xs,0 1px 3px #00000008);flex-direction:column;gap:1.25rem;padding:1.25rem 1.5rem 2rem;display:flex}.LeadFollowupSection-module__Fes10W__headerRow{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1.25rem;margin-bottom:.25rem;display:flex}.LeadFollowupSection-module__Fes10W__headerInfo{flex-direction:column;gap:.3rem;display:flex}.LeadFollowupSection-module__Fes10W__headerTitle{color:var(--text-main,#0f172a);letter-spacing:-.015em;margin:0;font-size:1.375rem;font-weight:700}.LeadFollowupSection-module__Fes10W__headerSubtitle{color:var(--text-muted,#64748b);max-width:520px;margin:0;font-size:.875rem;line-height:1.5}.LeadFollowupSection-module__Fes10W__headerActions{flex-shrink:0;align-items:center;gap:.625rem;display:flex}.LeadFollowupSection-module__Fes10W__scheduleBtn{color:#fff;background:linear-gradient(135deg, var(--primary-600,#2563eb) 0%, var(--primary-700,#1d4ed8) 100%);border-radius:var(--radius-sm,6px);cursor:pointer;border:none;align-items:center;gap:.5rem;padding:.625rem 1.125rem;font-family:inherit;font-size:.875rem;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 6px #2563eb40}.LeadFollowupSection-module__Fes10W__scheduleBtn:hover{transform:translateY(-1px);box-shadow:0 4px 10px #2563eb59}.LeadFollowupSection-module__Fes10W__templateBtn{color:#fff;background:linear-gradient(135deg, var(--primary-600,#2563eb) 0%, var(--primary-700,#1d4ed8) 100%);border-radius:var(--radius-sm,6px);cursor:pointer;border:none;align-items:center;gap:.5rem;padding:.625rem 1.125rem;font-family:inherit;font-size:.875rem;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 6px #2563eb40}.LeadFollowupSection-module__Fes10W__templateBtn:hover{transform:translateY(-1px);box-shadow:0 4px 10px #2563eb59}.LeadFollowupSection-module__Fes10W__templateBtnWrap{display:inline-flex;position:relative}.LeadFollowupSection-module__Fes10W__metricsGrid{grid-template-columns:repeat(4,1fr);gap:.875rem;width:100%;display:grid}@media (max-width:1024px){.LeadFollowupSection-module__Fes10W__metricsGrid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.LeadFollowupSection-module__Fes10W__metricsGrid{grid-template-columns:1fr}}.LeadFollowupSection-module__Fes10W__statCard{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,10px);box-shadow:var(--shadow-xs,0 1px 3px #0f172a0a);align-items:center;gap:.875rem;padding:1rem 1.125rem;transition:all .15s;display:flex}.LeadFollowupSection-module__Fes10W__statCard:hover{border-color:var(--neutral-300,#cbd5e1);box-shadow:var(--shadow-sm,0 2px 5px #0f172a0f)}.LeadFollowupSection-module__Fes10W__statIcon{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.LeadFollowupSection-module__Fes10W__statIcon.LeadFollowupSection-module__Fes10W__iconBlue{background:var(--primary-50,#eff6ff);color:var(--primary-600,#2563eb)}.LeadFollowupSection-module__Fes10W__statIcon.LeadFollowupSection-module__Fes10W__iconGreen{background:var(--success-50,#ecfdf5);color:var(--success-600,#059669)}.LeadFollowupSection-module__Fes10W__statIcon.LeadFollowupSection-module__Fes10W__iconRed{background:var(--danger-50,#fef2f2);color:var(--danger-600,#dc2626)}.LeadFollowupSection-module__Fes10W__statIcon.LeadFollowupSection-module__Fes10W__iconPurple{color:#9333ea;background:#faf5ff}.LeadFollowupSection-module__Fes10W__statContent{flex-direction:column;display:flex}.LeadFollowupSection-module__Fes10W__statLabel{color:var(--text-subtle,#64748b);margin-bottom:.2rem;font-size:.75rem;font-weight:500}.LeadFollowupSection-module__Fes10W__statNum{color:var(--text-main,#0f172a);font-size:1.3125rem;font-weight:700;line-height:1.15}.LeadFollowupSection-module__Fes10W__statNumAlert{color:var(--danger-600,#dc2626)}.LeadFollowupSection-module__Fes10W__toolbar{flex-wrap:wrap;align-items:center;gap:.625rem;display:flex}.LeadFollowupSection-module__Fes10W__search{flex:1;min-width:220px;position:relative}.LeadFollowupSection-module__Fes10W__searchIcon{color:var(--text-subtle,#94a3b8);pointer-events:none;position:absolute;top:50%;left:.75rem;transform:translateY(-50%)}.LeadFollowupSection-module__Fes10W__searchInput{border:1px solid var(--border-color,#cbd5e1);border-radius:var(--radius-sm,6px);background:var(--bg-surface,#fff);width:100%;color:var(--text-main,#0f172a);box-sizing:border-box;outline:none;min-height:38px;padding:.55rem .75rem .55rem 2.25rem;font-family:inherit;font-size:.84375rem;transition:all .15s}.LeadFollowupSection-module__Fes10W__searchInput:focus{border-color:var(--primary-600,#2563eb);box-shadow:0 0 0 3px var(--primary-50,#eff6ff)}.LeadFollowupSection-module__Fes10W__searchInput::placeholder{color:var(--text-subtle,#94a3b8)}.LeadFollowupSection-module__Fes10W__filterControls{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.LeadFollowupSection-module__Fes10W__filterSelectWrap{min-width:155px}.LeadFollowupSection-module__Fes10W__filterSelectWrap .select-trigger{border-radius:var(--radius-sm,6px)!important;background-color:#fff!important;min-height:38px!important;padding:.45rem .75rem!important;font-size:.8125rem!important}.LeadFollowupSection-module__Fes10W__clearFilterBtn{color:var(--danger-600,#dc2626);background:var(--danger-50,#fef2f2);border:1px solid var(--danger-200,#fecaca);border-radius:var(--radius-sm,6px);cursor:pointer;align-items:center;min-height:38px;padding:.45rem .75rem;font-size:.78125rem;font-weight:600;transition:all .15s;display:inline-flex}.LeadFollowupSection-module__Fes10W__clearFilterBtn:hover{background:#fee2e2}.LeadFollowupSection-module__Fes10W__viewToggle{background:var(--neutral-100,#f1f5f9);box-sizing:border-box;border-radius:9px;flex-shrink:0;width:190px;padding:3px;display:flex;position:relative}.LeadFollowupSection-module__Fes10W__viewIndicator{background:var(--bg-surface,#fff);width:calc(50% - 3px);box-shadow:var(--shadow-xs,0 1px 3px #0f172a14);border-radius:7px;transition:transform .22s cubic-bezier(.4,0,.2,1);position:absolute;top:3px;bottom:3px;left:3px}.LeadFollowupSection-module__Fes10W__calendarActive .LeadFollowupSection-module__Fes10W__viewIndicator{transform:translate(100%)}.LeadFollowupSection-module__Fes10W__viewToggleBtn{z-index:1;color:var(--text-subtle,#64748b);cursor:pointer;background:0 0;border:none;flex:1;justify-content:center;align-items:center;gap:.4rem;padding:.45rem .625rem;font-family:inherit;font-size:.8125rem;font-weight:600;transition:color .18s;display:flex;position:relative}.LeadFollowupSection-module__Fes10W__viewToggleBtn.LeadFollowupSection-module__Fes10W__viewActive{color:var(--primary-600,#2563eb)}.LeadFollowupSection-module__Fes10W__timelineWrapper{flex-direction:column;gap:1.5rem;width:100%;display:flex}.LeadFollowupSection-module__Fes10W__timelineGroup{flex-direction:column;gap:.75rem;display:flex;position:relative}.LeadFollowupSection-module__Fes10W__groupHeader{align-items:center;gap:.5rem;margin-bottom:.25rem;display:flex}.LeadFollowupSection-module__Fes10W__groupDot{border-radius:50%;flex-shrink:0;width:9px;height:9px}.LeadFollowupSection-module__Fes10W__dotBlue{background:var(--warning-500,#f59e0b)}.LeadFollowupSection-module__Fes10W__dotRed{background:var(--danger-600,#dc2626)}.LeadFollowupSection-module__Fes10W__dotGreen{background:var(--success-600,#059669)}.LeadFollowupSection-module__Fes10W__dotGray{background:var(--neutral-400,#94a3b8)}.LeadFollowupSection-module__Fes10W__groupTitle{color:var(--text-main,#0f172a);margin:0;font-size:.875rem;font-weight:700}.LeadFollowupSection-module__Fes10W__titleBlue{color:var(--warning-600,#d97706)!important}.LeadFollowupSection-module__Fes10W__titleRed{color:var(--danger-600,#dc2626)!important}.LeadFollowupSection-module__Fes10W__titleGreen{color:var(--success-600,#059669)!important}.LeadFollowupSection-module__Fes10W__titleGray{color:var(--neutral-600,#475569)!important}.LeadFollowupSection-module__Fes10W__groupItems{flex-direction:column;gap:.625rem;display:flex}.LeadFollowupSection-module__Fes10W__timelineRow{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,10px);box-shadow:var(--shadow-xs,0 1px 3px #0f172a0a);cursor:pointer;flex-wrap:wrap;align-items:flex-start;gap:1rem;padding:1rem 1.125rem;transition:all .15s;display:flex}.LeadFollowupSection-module__Fes10W__timelineRow:hover{border-color:var(--neutral-300,#cbd5e1);box-shadow:var(--shadow-sm,0 2px 5px #0f172a0f)}.LeadFollowupSection-module__Fes10W__rowOverdue{background:snow;border-color:#fee2e2}.LeadFollowupSection-module__Fes10W__rowOverdue:hover{border-color:#fca5a5}.LeadFollowupSection-module__Fes10W__dateBox{text-align:center;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:52px;display:flex}.LeadFollowupSection-module__Fes10W__dateDay{color:var(--text-main,#0f172a);font-size:1.125rem;font-weight:700;line-height:1}.LeadFollowupSection-module__Fes10W__dateMonth{color:var(--text-subtle,#94a3b8);letter-spacing:.04em;text-transform:uppercase;margin:2px 0 4px;font-size:.65625rem;font-weight:600}.LeadFollowupSection-module__Fes10W__dateTime{color:var(--text-subtle,#94a3b8);white-space:nowrap;font-size:.65625rem}.LeadFollowupSection-module__Fes10W__channelIconBadge{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;margin-top:2px;display:flex}.LeadFollowupSection-module__Fes10W__channelPhone{background:var(--primary-50,#eff6ff);color:var(--primary-600,#2563eb)}.LeadFollowupSection-module__Fes10W__channelWhatsApp{background:var(--success-50,#ecfdf5);color:var(--success-600,#059669)}.LeadFollowupSection-module__Fes10W__channelMeeting{color:#7c3aed;background:#f5f3ff}.LeadFollowupSection-module__Fes10W__channelEmail{color:#c026d3;background:#fdf4ff}.LeadFollowupSection-module__Fes10W__channelOther{background:var(--warning-50,#fffbeb);color:var(--warning-600,#d97706)}.LeadFollowupSection-module__Fes10W__channelLinkedin{color:#0369a1;background:#f0f9ff}.LeadFollowupSection-module__Fes10W__contentMain{flex:1;min-width:220px}.LeadFollowupSection-module__Fes10W__contentMainPaused .LeadFollowupSection-module__Fes10W__contentTitle,.LeadFollowupSection-module__Fes10W__contentMainPaused .LeadFollowupSection-module__Fes10W__contentNotes{text-decoration:line-through;-webkit-text-decoration-color:var(--neutral-400,#94a3b8);text-decoration-color:var(--neutral-400,#94a3b8);color:var(--neutral-400,#94a3b8)}.LeadFollowupSection-module__Fes10W__itemTitleLine{flex-wrap:wrap;align-items:center;gap:.55rem;margin-bottom:.3rem;display:flex}.LeadFollowupSection-module__Fes10W__contentTitle{color:var(--text-main,#0f172a);margin:0;font-size:.90625rem;font-weight:700}.LeadFollowupSection-module__Fes10W__tag{color:var(--primary-700,#1d4ed8);background:var(--primary-50,#eff6ff);border-radius:6px;padding:.125rem .55rem;font-size:.6875rem;font-weight:600}.LeadFollowupSection-module__Fes10W__contentNotes{color:var(--text-muted,#475569);max-width:580px;margin:0;font-size:.8125rem;line-height:1.5}.LeadFollowupSection-module__Fes10W__pauseReasonNote{background:var(--neutral-50,#f8fafc);border:1px solid var(--border-color,#e2e8f0);color:var(--neutral-600,#475569);border-radius:6px;align-items:flex-start;gap:.35rem;max-width:580px;margin:.4rem 0 0;padding:.3rem .55rem;font-size:.78rem;display:flex}.LeadFollowupSection-module__Fes10W__pauseReasonNote svg{flex-shrink:0;margin-top:2px}.LeadFollowupSection-module__Fes10W__itemRight{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:1.125rem;margin-left:auto;display:flex}.LeadFollowupSection-module__Fes10W__statusChip{background:var(--success-50,#ecfdf5);color:var(--success-700,#047857);white-space:nowrap;border-radius:20px;align-items:center;padding:.25rem .75rem;font-size:.75rem;font-weight:600;display:inline-flex}.LeadFollowupSection-module__Fes10W__chipUpcoming{background:var(--warning-50,#fffbeb);color:var(--warning-700,#b45309)}.LeadFollowupSection-module__Fes10W__chipOverdue{background:var(--danger-50,#fef2f2);color:var(--danger-700,#b91c1c)}.LeadFollowupSection-module__Fes10W__chipCompleted{background:var(--success-50,#ecfdf5);color:var(--success-700,#047857)}.LeadFollowupSection-module__Fes10W__chipPaused{background:var(--neutral-100,#f1f5f9);color:var(--neutral-600,#475569)}.LeadFollowupSection-module__Fes10W__assigneeCol{white-space:nowrap;align-items:center;gap:.5rem;display:flex}.LeadFollowupSection-module__Fes10W__assigneeName{color:var(--text-muted,#475569);font-size:.8125rem}.LeadFollowupSection-module__Fes10W__assigneeName b{color:var(--text-main,#0f172a);font-weight:600}.LeadFollowupSection-module__Fes10W__assigneeRole{color:var(--text-subtle,#94a3b8);font-size:.75rem}.LeadFollowupSection-module__Fes10W__itemTimestamp{color:var(--text-subtle,#94a3b8);text-align:right;white-space:nowrap;font-size:.75rem;line-height:1.35}.LeadFollowupSection-module__Fes10W__rowActions{flex-shrink:0;align-items:center;gap:.25rem;display:flex}.LeadFollowupSection-module__Fes10W__actionIconBtn{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#cbd5e1);width:30px;height:30px;color:var(--text-subtle,#64748b);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;transition:all .12s;display:inline-flex}.LeadFollowupSection-module__Fes10W__actionIconBtn:hover{background:var(--neutral-50,#f8fafc);color:var(--primary-600,#2563eb);border-color:var(--primary-200,#bfdbfe)}.LeadFollowupSection-module__Fes10W__actionCompleteBtn:hover{background:var(--success-50,#ecfdf5);color:var(--success-600,#059669);border-color:var(--success-200,#a7f3d0)}.LeadFollowupSection-module__Fes10W__actionDeleteBtn:hover{background:var(--danger-50,#fef2f2);color:var(--danger-600,#dc2626);border-color:var(--danger-200,#fecaca)}.LeadFollowupSection-module__Fes10W__actionCompleteBtn{color:#16a34a;background:#f0fdf4;border-color:#bbf7d0}.LeadFollowupSection-module__Fes10W__actionCompleteBtn:hover{color:#15803d;background:#dcfce7;border-color:#86efac}.LeadFollowupSection-module__Fes10W__actionWhatsappBtn{background:var(--success-50,#ecfdf5);border-color:var(--success-50,#ecfdf5);width:auto;color:var(--success-700,#047857);white-space:nowrap;gap:.35rem;padding:0 .65rem;font-size:.78rem;font-weight:600}.LeadFollowupSection-module__Fes10W__actionWhatsappBtn:hover{background:var(--success-100,#dcfce7);border-color:var(--success-100,#dcfce7);color:var(--success-700,#047857)}.LeadFollowupSection-module__Fes10W__actionLinkedinBtn{background:var(--primary-50,#eff6ff);border-color:var(--primary-50,#eff6ff);width:auto;color:var(--primary-700,#1d4ed8);white-space:nowrap;gap:.35rem;padding:0 .65rem;font-size:.78rem;font-weight:600}.LeadFollowupSection-module__Fes10W__actionLinkedinBtn:hover{background:var(--primary-100,#dbeafe);border-color:var(--primary-100,#dbeafe);color:var(--primary-700,#1d4ed8)}.LeadFollowupSection-module__Fes10W__sendWhatsappBtn{background-color:var(--success-50,#ecfdf5);border-color:var(--success-100,#dcfce7);color:var(--success-700,#047857)}.LeadFollowupSection-module__Fes10W__sendWhatsappBtn:hover{background-color:var(--success-100,#dcfce7)}.LeadFollowupSection-module__Fes10W__sendLinkedinBtn{background-color:var(--primary-50,#eff6ff);border-color:var(--primary-100,#dbeafe);color:var(--primary-700,#1d4ed8)}.LeadFollowupSection-module__Fes10W__sendLinkedinBtn:hover{background-color:var(--primary-100,#dbeafe)}.LeadFollowupSection-module__Fes10W__actionDeleteBtn:hover{color:#dc2626;background:#fef2f2;border-color:#fca5a5}.LeadFollowupSection-module__Fes10W__emptyStateContainer{background:var(--bg-surface,#fff);border:1px dashed var(--neutral-300,#cbd5e1);text-align:center;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:3rem 1.5rem;display:flex}.LeadFollowupSection-module__Fes10W__emptyStateTitle{color:var(--text-main,#0f172a);margin:0;font-size:1rem;font-weight:600}.LeadFollowupSection-module__Fes10W__emptyStateText{color:var(--text-muted,#64748b);max-width:420px;margin:0;font-size:.85rem}.LeadFollowupSection-module__Fes10W__modalOverlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0f172a80;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.LeadFollowupSection-module__Fes10W__modalCard{z-index:10000;background:#fff;border-radius:14px;flex-direction:column;width:min(100%,580px);max-height:90vh;animation:.15s ease-out LeadFollowupSection-module__Fes10W__modalFadeIn;display:flex;position:relative;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}@keyframes LeadFollowupSection-module__Fes10W__modalFadeIn{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.LeadFollowupSection-module__Fes10W__modalHeader{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:1.15rem 1.4rem;display:flex}.LeadFollowupSection-module__Fes10W__modalTitle{color:#0f172a;margin:0;font-size:1.1rem;font-weight:700}.LeadFollowupSection-module__Fes10W__modalCloseBtn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:4px;transition:all .15s;display:flex}.LeadFollowupSection-module__Fes10W__modalCloseBtn:hover{color:#0f172a;background:#f1f5f9}.LeadFollowupSection-module__Fes10W__modalBody{flex-direction:column;gap:1rem;padding:1.25rem 1.4rem;display:flex;overflow-y:auto}.LeadFollowupSection-module__Fes10W__modalFooter{background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:.65rem;padding:1rem 1.4rem;display:flex}.LeadFollowupSection-module__Fes10W__formGrid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}@media (max-width:500px){.LeadFollowupSection-module__Fes10W__formGrid{grid-template-columns:1fr}}.LeadFollowupSection-module__Fes10W__formFieldFull{flex-direction:column;gap:.35rem;width:100%;display:flex}.LeadFollowupSection-module__Fes10W__formFieldHalf{flex-direction:column;gap:.35rem;display:flex}.LeadFollowupSection-module__Fes10W__formLabel{color:#334155;font-size:.82rem;font-weight:600}.LeadFollowupSection-module__Fes10W__formRequired{color:#dc2626}.LeadFollowupSection-module__Fes10W__formInput{color:#0f172a;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;padding:.55rem .75rem;font-size:.85rem}.LeadFollowupSection-module__Fes10W__formInput:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.LeadFollowupSection-module__Fes10W__formTextarea{color:#0f172a;resize:vertical;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;padding:.55rem .75rem;font-family:inherit;font-size:.85rem}.LeadFollowupSection-module__Fes10W__formTextarea:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.LeadFollowupSection-module__Fes10W__errorBanner{color:#b91c1c;background:#fee2e2;border:1px solid #fca5a5;border-radius:6px;padding:.55rem .85rem;font-size:.82rem}.LeadFollowupSection-module__Fes10W__pausedBanner{background:var(--warning-50,#fffbeb);border:1px solid var(--warning-200,#fde68a);color:var(--warning-800,#92400e);border-radius:8px;align-items:flex-start;gap:.55rem;padding:.65rem .85rem;font-size:.82rem;line-height:1.45;display:flex}.LeadFollowupSection-module__Fes10W__pausedBanner svg{flex-shrink:0;margin-top:1px}.LeadFollowupSection-module__Fes10W__subSectionCard{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:.75rem;padding:.85rem 1rem;display:flex}.LeadFollowupSection-module__Fes10W__formCheckboxGroup{cursor:pointer;align-items:center;gap:.5rem;display:flex}.LeadFollowupSection-module__Fes10W__formCheckbox{accent-color:#2563eb;cursor:pointer;width:16px;height:16px}.LeadFollowupSection-module__Fes10W__formCheckboxLabel{color:#0f172a;font-size:.82rem;font-weight:600}.LeadFollowupSection-module__Fes10W__actionEditBtn{background:var(--bg-surface,#fff);color:var(--primary-600,#2563eb)}.LeadFollowupSection-module__Fes10W__actionEditBtn:hover{background:var(--primary-50,#eff6ff)!important;color:var(--primary-700,#1d4ed8)!important;border-color:var(--primary-300,#93c5fd)!important}.LeadFollowupSection-module__Fes10W__attachmentSection{flex-direction:column;gap:.5rem;display:flex}.LeadFollowupSection-module__Fes10W__attachmentHeader{justify-content:space-between;align-items:center;display:flex}.LeadFollowupSection-module__Fes10W__uploadAttachBtn{color:var(--primary-600,#2563eb);background:var(--primary-50,#eff6ff);border:1px solid var(--primary-200,#bfdbfe);cursor:pointer;border-radius:6px;align-items:center;gap:.35rem;padding:.3rem .65rem;font-size:.75rem;font-weight:600;transition:all .15s;display:inline-flex}.LeadFollowupSection-module__Fes10W__uploadAttachBtn:hover:not(:disabled){color:var(--primary-700,#1d4ed8);background:#dbeafe;border-color:#93c5fd}.LeadFollowupSection-module__Fes10W__uploadAttachBtn:disabled{opacity:.6;cursor:not-allowed}.LeadFollowupSection-module__Fes10W__attachmentGrid{flex-direction:column;gap:.4rem;display:flex}.LeadFollowupSection-module__Fes10W__attachmentItem{background:var(--neutral-50,#f8fafc);border:1px solid var(--border-color,#e2e8f0);border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.8125rem;display:flex}.LeadFollowupSection-module__Fes10W__attachmentItemLeft{flex:1;align-items:center;gap:.5rem;min-width:0;display:flex}.LeadFollowupSection-module__Fes10W__fileIcon{color:var(--primary-600,#2563eb);flex-shrink:0}.LeadFollowupSection-module__Fes10W__attachmentInfo{flex:1;align-items:baseline;gap:.5rem;min-width:0;display:flex}.LeadFollowupSection-module__Fes10W__attachmentNameLink{color:var(--primary-600,#2563eb);text-overflow:ellipsis;white-space:nowrap;max-width:320px;font-weight:600;text-decoration:none;overflow:hidden}.LeadFollowupSection-module__Fes10W__attachmentNameLink:hover{text-decoration:underline}.LeadFollowupSection-module__Fes10W__attachmentName{color:var(--text-main,#0f172a);text-overflow:ellipsis;white-space:nowrap;max-width:320px;font-weight:600;overflow:hidden}.LeadFollowupSection-module__Fes10W__attachmentSize{color:var(--text-subtle,#64748b);flex-shrink:0;font-size:.7rem}.LeadFollowupSection-module__Fes10W__attachmentDeleteBtn{width:24px;height:24px;color:var(--text-subtle,#94a3b8);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;transition:all .12s;display:inline-flex}.LeadFollowupSection-module__Fes10W__attachmentDeleteBtn:hover{background:var(--danger-50,#fef2f2);color:var(--danger-600,#dc2626);border-color:var(--danger-200,#fecaca)}.LeadFollowupSection-module__Fes10W__attachmentEmpty{color:var(--text-subtle,#64748b);background:var(--neutral-50,#f8fafc);border:1px dashed var(--border-color,#cbd5e1);border-radius:8px;padding:.65rem .85rem;font-size:.75rem}.LeadFollowupSection-module__Fes10W__detailItem{flex-direction:column;gap:.3rem;min-width:0;display:flex}.LeadFollowupSection-module__Fes10W__detailLabel{text-transform:uppercase;letter-spacing:.04em;color:var(--text-subtle,#94a3b8);font-size:.68rem;font-weight:700}.LeadFollowupSection-module__Fes10W__detailValue{color:var(--text-main,#0f172a);white-space:pre-wrap;word-break:break-word;font-size:.9rem;font-weight:600}.LeadFollowupSection-module__Fes10W__lightboxOverlay{z-index:100001;background:#0f172ad9;justify-content:center;align-items:center;padding:2rem;display:flex;position:fixed;inset:0}.LeadFollowupSection-module__Fes10W__lightboxImg{object-fit:contain;border-radius:6px;max-width:90vw;max-height:88vh;box-shadow:0 20px 40px #0006}.LeadFollowupSection-module__Fes10W__lightboxCloseBtn{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;display:flex;position:absolute;top:1.25rem;right:1.25rem}.LeadFollowupSection-module__Fes10W__lightboxCloseBtn:hover{background:#ffffff40}.LeadFollowupSection-module__Fes10W__modalCardWide{width:min(100%,660px)}.LeadFollowupSection-module__Fes10W__viewHeader{border-bottom:1px solid var(--border-color,#eef1f5);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.25rem 1.4rem;display:flex}.LeadFollowupSection-module__Fes10W__viewHeaderLeft{align-items:flex-start;gap:.85rem;min-width:0;display:flex}.LeadFollowupSection-module__Fes10W__viewHeaderIconCircle{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.LeadFollowupSection-module__Fes10W__viewHeaderText{flex-direction:column;gap:.3rem;min-width:0;display:flex}.LeadFollowupSection-module__Fes10W__viewChannelPill{background:var(--primary-50,#eef2ff);color:var(--primary-600,#4f46e5);border-radius:999px;align-self:flex-start;padding:.15rem .6rem;font-size:.7rem;font-weight:700;display:inline-flex}.LeadFollowupSection-module__Fes10W__viewHeaderTitleText{color:var(--text-main,#0f172a);margin:0;font-size:1.05rem;font-weight:700}.LeadFollowupSection-module__Fes10W__viewHeaderSubtitle{color:var(--text-subtle,#64748b);font-size:.8rem}.LeadFollowupSection-module__Fes10W__viewHeaderRight{flex-shrink:0;align-items:center;gap:.6rem;display:flex}.LeadFollowupSection-module__Fes10W__viewMetaCard{border:1px solid var(--border-color,#e2e8f0);border-radius:12px;padding:1.1rem 1.25rem}.LeadFollowupSection-module__Fes10W__viewMetaColumns{gap:1.5rem;display:flex}.LeadFollowupSection-module__Fes10W__viewMetaCol{flex-direction:column;flex:1;gap:1rem;min-width:0;display:flex}.LeadFollowupSection-module__Fes10W__viewMetaColDivider{border-left:1px solid var(--border-color,#e2e8f0);padding-left:1.5rem}@media (max-width:560px){.LeadFollowupSection-module__Fes10W__viewMetaColumns{flex-direction:column;gap:1rem}.LeadFollowupSection-module__Fes10W__viewMetaColDivider{border-left:none;border-top:1px solid var(--border-color,#e2e8f0);padding-top:1rem;padding-left:0}}.LeadFollowupSection-module__Fes10W__viewMetaRow{align-items:flex-start;gap:.7rem;display:flex}.LeadFollowupSection-module__Fes10W__viewMetaIconBox{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.LeadFollowupSection-module__Fes10W__viewInfoCard{border:1px solid var(--border-color,#e2e8f0);background:var(--primary-50,#eef2ff);border-radius:12px;flex-direction:column;gap:.4rem;padding:.9rem 1.1rem;display:flex}.LeadFollowupSection-module__Fes10W__viewInfoCardHeader{color:var(--text-main,#0f172a);align-items:center;gap:.5rem;font-size:.85rem;font-weight:700;display:flex}.LeadFollowupSection-module__Fes10W__viewInfoCardText{color:var(--text-main,#1e293b);white-space:pre-wrap;font-size:.85rem;line-height:1.5}.LeadFollowupSection-module__Fes10W__viewAttachmentsCard{border:1px solid var(--border-color,#e2e8f0);border-radius:12px;flex-direction:column;gap:.75rem;padding:.9rem 1.1rem;display:flex}.LeadFollowupSection-module__Fes10W__viewAttachmentsHeader{color:var(--text-main,#0f172a);align-items:center;gap:.5rem;font-size:.85rem;font-weight:700;display:flex}.LeadFollowupSection-module__Fes10W__viewAttachmentRow{border:1px solid var(--border-color,#eef1f5);background:var(--neutral-50,#f8fafc);border-radius:10px;align-items:center;gap:.85rem;padding:.6rem;display:flex}.LeadFollowupSection-module__Fes10W__viewAttachmentThumb{background:var(--neutral-100,#f1f5f9);cursor:zoom-in;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;padding:0;display:flex;overflow:hidden}.LeadFollowupSection-module__Fes10W__viewAttachmentThumbImg{object-fit:cover;width:100%;height:100%}.LeadFollowupSection-module__Fes10W__viewAttachmentThumbIcon{background:var(--neutral-100,#f1f5f9);width:56px;height:56px;color:var(--text-subtle,#64748b);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.LeadFollowupSection-module__Fes10W__viewAttachmentInfo{flex-direction:column;flex:1;gap:.2rem;min-width:0;display:flex}.LeadFollowupSection-module__Fes10W__viewAttachmentFileName{color:var(--text-main,#0f172a);text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:600;overflow:hidden}.LeadFollowupSection-module__Fes10W__viewAttachmentFileMeta{color:var(--text-subtle,#64748b);align-items:center;gap:.3rem;font-size:.75rem;display:flex}.LeadFollowupSection-module__Fes10W__viewAttachmentActions{flex-shrink:0;align-items:center;gap:.4rem;display:flex}.LeadFollowupSection-module__Fes10W__viewAttachmentActionBtn{border:1px solid var(--border-color,#e2e8f0);background:var(--bg-surface,#fff);width:32px;height:32px;color:var(--text-subtle,#475569);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;text-decoration:none;transition:all .15s;display:flex}.LeadFollowupSection-module__Fes10W__viewAttachmentActionBtn:hover{background:var(--neutral-50,#f8fafc);color:var(--text-main,#0f172a)}.LeadFollowupSection-module__Fes10W__viewAttachmentActionBtnDanger:hover{background:var(--danger-50,#fef2f2);color:var(--danger-600,#dc2626);border-color:var(--danger-200,#fecaca)}.LeadFollowupSection-module__Fes10W__viewTabs{border-bottom:1px solid var(--border-color,#e2e8f0);gap:.25rem;display:flex}.LeadFollowupSection-module__Fes10W__viewTab{font:inherit;color:var(--text-muted,#64748b);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:.4rem;margin-bottom:-1px;padding:.55rem .9rem;font-size:.85rem;font-weight:600;display:inline-flex}.LeadFollowupSection-module__Fes10W__viewTab:hover{color:var(--text-main,#1e293b)}.LeadFollowupSection-module__Fes10W__viewTabActive{color:var(--primary-600,#2563eb);border-bottom-color:var(--primary-600,#2563eb)}
.AppliedTemplatesSection-module__out14a__wrapper{flex-direction:column;gap:.625rem;width:100%;display:flex}.AppliedTemplatesSection-module__out14a__sectionLabel{color:var(--text-subtle,#64748b);text-transform:uppercase;letter-spacing:.04em;margin:0 0 .25rem;font-size:.78125rem;font-weight:600}.AppliedTemplatesSection-module__out14a__templates{flex-direction:column;gap:.75rem;display:flex}.AppliedTemplatesSection-module__out14a__templateRow{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,10px);box-shadow:var(--shadow-xs,0 1px 3px #0f172a0a);transition:border-color .15s,box-shadow .15s;overflow:hidden}.AppliedTemplatesSection-module__out14a__templateRow:hover{border-color:var(--neutral-300,#cbd5e1);box-shadow:var(--shadow-sm,0 2px 5px #0f172a0f)}.AppliedTemplatesSection-module__out14a__templateMain{align-items:flex-start;gap:1rem;padding:1rem 1.125rem;display:flex}.AppliedTemplatesSection-module__out14a__templateIcon{background:var(--primary-50,#eff6ff);width:38px;height:38px;color:var(--primary-600,#2563eb);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.AppliedTemplatesSection-module__out14a__templateBody{flex:1;min-width:0}.AppliedTemplatesSection-module__out14a__templateTitleLine{flex-wrap:wrap;align-items:center;gap:.55rem;margin-bottom:.25rem;display:flex}.AppliedTemplatesSection-module__out14a__templateTitle{color:var(--text-main,#0f172a);margin:0;font-size:.9375rem;font-weight:700}.AppliedTemplatesSection-module__out14a__badge{letter-spacing:.02em;border-radius:20px;padding:.1875rem .625rem;font-size:.6875rem;font-weight:600}.AppliedTemplatesSection-module__out14a__badgeActive{background:var(--success-50,#ecfdf5);color:var(--success-700,#047857)}.AppliedTemplatesSection-module__out14a__badgeCompleted{background:var(--primary-50,#eff6ff);color:var(--primary-700,#1d4ed8)}.AppliedTemplatesSection-module__out14a__badgePaused{background:var(--warning-50,#fffbeb);color:var(--warning-700,#b45309)}.AppliedTemplatesSection-module__out14a__templateNext{color:var(--text-subtle,#64748b);margin:0 0 .75rem;font-size:.8125rem;line-height:1.4}.AppliedTemplatesSection-module__out14a__templateNext b{color:var(--text-main,#0f172a);font-weight:600}.AppliedTemplatesSection-module__out14a__stepTrack{scrollbar-width:thin;align-items:center;padding-bottom:.25rem;display:flex;overflow-x:auto}.AppliedTemplatesSection-module__out14a__stepChip{flex-shrink:0;align-items:center;gap:.5rem;display:flex}.AppliedTemplatesSection-module__out14a__stepNode{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:.6875rem;font-weight:700;transition:all .15s;display:flex}.AppliedTemplatesSection-module__out14a__stepNodeDone{background:var(--success-600,#059669);color:#fff}.AppliedTemplatesSection-module__out14a__stepNodeCurrent{background:var(--primary-50,#eff6ff);color:var(--primary-600,#2563eb);border:2px solid var(--primary-600,#2563eb)}.AppliedTemplatesSection-module__out14a__stepNodeUpcoming{background:var(--bg-surface,#fff);color:var(--text-subtle,#94a3b8);border:1.5px solid var(--border-color,#cbd5e1)}.AppliedTemplatesSection-module__out14a__stepLabel{white-space:nowrap}.AppliedTemplatesSection-module__out14a__stepLabelName{color:var(--text-main,#0f172a);font-size:.8125rem;font-weight:600}.AppliedTemplatesSection-module__out14a__stepLabelNameFaint{color:var(--text-subtle,#94a3b8);font-weight:500}.AppliedTemplatesSection-module__out14a__stepLabelMeta{color:var(--text-subtle,#64748b);font-size:.6875rem}.AppliedTemplatesSection-module__out14a__stepConnector{background:var(--border-color,#e2e8f0);border-radius:1px;flex-shrink:0;width:28px;height:2px;margin:0 .5rem}.AppliedTemplatesSection-module__out14a__stepConnectorDone{background:var(--success-600,#059669)}.AppliedTemplatesSection-module__out14a__templateActions{flex-shrink:0;align-items:flex-start;gap:.5rem;display:flex}.AppliedTemplatesSection-module__out14a__btnGhost{background:var(--bg-surface,#fff);color:var(--text-muted,#475569);border:1px solid var(--border-color,#cbd5e1);border-radius:var(--radius-sm,6px);cursor:pointer;white-space:nowrap;align-items:center;gap:.375rem;padding:.45rem .8rem;font-family:inherit;font-size:.8125rem;font-weight:600;transition:all .15s;display:inline-flex}.AppliedTemplatesSection-module__out14a__btnGhost:hover:not(:disabled){background:var(--neutral-50,#f8fafc);color:var(--text-main,#0f172a);border-color:var(--neutral-400,#94a3b8)}.AppliedTemplatesSection-module__out14a__btnGhost:disabled{opacity:.5;cursor:not-allowed}.AppliedTemplatesSection-module__out14a__iconBtnOutline{border:1px solid var(--border-color,#cbd5e1);background:var(--bg-surface,#fff);border-radius:var(--radius-sm,6px);width:34px;height:34px;color:var(--text-subtle,#64748b);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;transition:all .15s;display:flex}.AppliedTemplatesSection-module__out14a__iconBtnOutline:hover:not(:disabled){background:var(--danger-50,#fef2f2);color:var(--danger-600,#dc2626);border-color:var(--danger-200,#fecaca)}.AppliedTemplatesSection-module__out14a__expandBtn:hover:not(:disabled){background:var(--primary-50,#eff6ff)!important;color:var(--primary-600,#2563eb)!important;border-color:var(--primary-200,#bfdbfe)!important}.AppliedTemplatesSection-module__out14a__expandBtn svg{transition:transform .2s}.AppliedTemplatesSection-module__out14a__expandBtnOpen svg{transform:rotate(180deg)}.AppliedTemplatesSection-module__out14a__iconBtnOutline:disabled{opacity:.5;cursor:not-allowed}.AppliedTemplatesSection-module__out14a__templateDetails{border-top:1px solid #0000;max-height:0;transition:max-height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.AppliedTemplatesSection-module__out14a__templateDetailsOpen{border-top:1px solid var(--border-color,#e2e8f0);max-height:400px}.AppliedTemplatesSection-module__out14a__templateDetailsInner{background:var(--neutral-50,#f8fafc);flex-direction:column;gap:.625rem;padding:.875rem 1.125rem 1rem 3.5rem;display:flex}.AppliedTemplatesSection-module__out14a__detailStep{align-items:flex-start;gap:.625rem;display:flex}.AppliedTemplatesSection-module__out14a__detailDot{border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:.35rem}.AppliedTemplatesSection-module__out14a__detailDotDone{background:var(--success-600,#059669)}.AppliedTemplatesSection-module__out14a__detailDotCurrent{background:var(--primary-600,#2563eb)}.AppliedTemplatesSection-module__out14a__detailDotUpcoming{background:var(--neutral-400,#94a3b8)}.AppliedTemplatesSection-module__out14a__detailTxt{flex-direction:column;gap:.125rem;display:flex}.AppliedTemplatesSection-module__out14a__detailTitle{color:var(--text-main,#0f172a);font-size:.8125rem;font-weight:600}.AppliedTemplatesSection-module__out14a__detailMeta{color:var(--text-subtle,#64748b);font-size:.75rem;line-height:1.4}.AppliedTemplatesSection-module__out14a__detailChannelRow{color:var(--text-subtle,#64748b);align-items:center;gap:.4rem;margin-top:.1rem;font-size:.72rem;display:flex}.AppliedTemplatesSection-module__out14a__detailChannelType{color:var(--text-main,#0f172a);text-transform:capitalize;font-weight:700}@media (max-width:680px){.AppliedTemplatesSection-module__out14a__templateMain{flex-wrap:wrap}.AppliedTemplatesSection-module__out14a__templateActions{justify-content:flex-end;width:100%}.AppliedTemplatesSection-module__out14a__templateDetailsInner{padding-left:1.125rem}}.AppliedTemplatesSection-module__out14a__pauseReasonField{flex-direction:column;gap:.4rem;margin-top:.25rem;display:flex}.AppliedTemplatesSection-module__out14a__pauseReasonLabel{color:var(--text-main,#1e293b);font-size:.8rem;font-weight:600}.AppliedTemplatesSection-module__out14a__pauseReasonRequired{color:var(--danger-600,#dc2626)}.AppliedTemplatesSection-module__out14a__pauseReasonInput{resize:vertical;border:1px solid var(--border-color,#cbd5e1);width:100%;min-height:72px;color:var(--text-main,#0f172a);box-sizing:border-box;border-radius:8px;padding:.55rem .75rem;font-family:inherit;font-size:.85rem}.AppliedTemplatesSection-module__out14a__pauseReasonInput:focus{border-color:var(--primary-600,#2563eb);outline:none;box-shadow:0 0 0 3px #2563eb1f}
.ApplyTemplateModal-module__1xzy6q__overlay{z-index:10000;background:#0f172a73;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.ApplyTemplateModal-module__1xzy6q__card{background:var(--bg-surface,#fff);border-radius:var(--radius-lg,12px);width:100%;max-width:560px;max-height:85vh;box-shadow:var(--shadow-lg,0 20px 40px #0003);flex-direction:column;display:flex;overflow:hidden}.ApplyTemplateModal-module__1xzy6q__header{border-bottom:1px solid var(--border-color,#e2e8f0);justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.ApplyTemplateModal-module__1xzy6q__title{color:var(--neutral-900,#0f172a);margin:0;font-size:1rem;font-weight:700}.ApplyTemplateModal-module__1xzy6q__closeBtn{cursor:pointer;color:var(--neutral-500,#64748b);background:0 0;border:none}.ApplyTemplateModal-module__1xzy6q__body{flex-direction:column;gap:1rem;padding:1.25rem;display:flex;overflow-y:auto}.ApplyTemplateModal-module__1xzy6q__footer{border-top:1px solid var(--border-color,#e2e8f0);justify-content:flex-end;gap:.5rem;padding:.9rem 1.25rem;display:flex}.ApplyTemplateModal-module__1xzy6q__errorBanner{color:#b91c1c;border-radius:var(--radius-md,8px);background:#fee2e2;padding:.6rem .85rem;font-size:.825rem}.ApplyTemplateModal-module__1xzy6q__previewList{flex-direction:column;gap:.5rem;display:flex}.ApplyTemplateModal-module__1xzy6q__stepRow{border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,8px);justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.6rem .75rem;font-size:.825rem;display:flex}.ApplyTemplateModal-module__1xzy6q__stepTitle{color:var(--neutral-900,#0f172a);font-weight:600;display:block}.ApplyTemplateModal-module__1xzy6q__stepMeta{color:var(--neutral-500,#64748b);margin-top:2px;font-size:.75rem;display:block}.ApplyTemplateModal-module__1xzy6q__stepDate{white-space:nowrap;color:var(--primary-700,#1d4ed8);font-size:.8rem;font-weight:600}.ApplyTemplateModal-module__1xzy6q__stepDeferred{color:var(--neutral-500,#64748b);font-style:italic}.ApplyTemplateModal-module__1xzy6q__stepPastDue{color:#b45309}
.FollowupCalendarView-module__biHlrq__wrapper{flex-direction:column;gap:1.25rem;width:100%;display:flex}.FollowupCalendarView-module__biHlrq__calendarCard{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,10px);box-shadow:var(--shadow-xs,0 1px 3px #0f172a0a);padding:1.25rem 1.5rem}.FollowupCalendarView-module__biHlrq__calendarHeader{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1.125rem;display:flex}.FollowupCalendarView-module__biHlrq__calendarNav{align-items:center;gap:.5rem;display:flex}.FollowupCalendarView-module__biHlrq__monthTitle{color:var(--text-main,#0f172a);min-width:150px;margin:0;font-size:1rem;font-weight:700}.FollowupCalendarView-module__biHlrq__navBtn{border-radius:var(--radius-sm,6px);border:1px solid var(--border-color,#cbd5e1);background:var(--bg-surface,#fff);width:32px;height:32px;color:var(--text-muted,#475569);cursor:pointer;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.FollowupCalendarView-module__biHlrq__navBtn:hover{background:var(--neutral-50,#f8fafc);color:var(--text-main,#0f172a);border-color:var(--neutral-400,#94a3b8)}.FollowupCalendarView-module__biHlrq__todayBtn{border-radius:var(--radius-sm,6px);border:1px solid var(--border-color,#cbd5e1);background:var(--bg-surface,#fff);color:var(--text-main,#0f172a);cursor:pointer;padding:.35rem .75rem;font-size:.78125rem;font-weight:600;transition:all .15s}.FollowupCalendarView-module__biHlrq__todayBtn:hover{background:var(--neutral-50,#f8fafc);border-color:var(--neutral-400,#94a3b8)}.FollowupCalendarView-module__biHlrq__calendarLegend{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.FollowupCalendarView-module__biHlrq__legendItem{color:var(--text-subtle,#64748b);align-items:center;gap:.4rem;font-size:.75rem;font-weight:500;display:flex}.FollowupCalendarView-module__biHlrq__legendDot{border-radius:50%;flex-shrink:0;width:7px;height:7px}.FollowupCalendarView-module__biHlrq__dotGreen{background:var(--success-600,#059669)}.FollowupCalendarView-module__biHlrq__dotOrange{background:var(--warning-500,#f59e0b)}.FollowupCalendarView-module__biHlrq__dotRed{background:var(--danger-600,#dc2626)}.FollowupCalendarView-module__biHlrq__grid{grid-template-columns:repeat(7,1fr);gap:8px;display:grid}.FollowupCalendarView-module__biHlrq__dow{color:var(--text-subtle,#64748b);text-align:center;text-transform:uppercase;letter-spacing:.04em;padding-bottom:.4rem;font-size:.75rem;font-weight:700}.FollowupCalendarView-module__biHlrq__calDay{cursor:pointer;border:1px solid var(--border-color,#e2e8f0);background:var(--bg-surface,#fff);min-width:0;height:165px;color:var(--text-main,#0f172a);-webkit-user-select:none;user-select:none;border-radius:10px;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:4px;padding:6px 8px;font-size:.8125rem;transition:all .15s;display:flex;position:relative;overflow:hidden}.FollowupCalendarView-module__biHlrq__calDay:not(.FollowupCalendarView-module__biHlrq__outside):hover{background:var(--neutral-50,#f8fafc);border-color:var(--neutral-300,#cbd5e1);box-shadow:var(--shadow-xs,0 1px 3px #0f172a0a);z-index:10}.FollowupCalendarView-module__biHlrq__outside{color:var(--text-subtle,#94a3b8);opacity:.4;cursor:default;background:var(--neutral-50,#f8fafc)}.FollowupCalendarView-module__biHlrq__selected{box-shadow:0 0 0 1.5px var(--primary-600,#2563eb);border-color:var(--primary-600,#2563eb)!important;background:#f0f7ff!important}.FollowupCalendarView-module__biHlrq__calDayHeader{justify-content:space-between;align-items:center;width:100%;margin-bottom:2px;display:flex}.FollowupCalendarView-module__biHlrq__calDayNum{color:var(--text-main,#0f172a);font-size:.8125rem;font-weight:700;line-height:1}.FollowupCalendarView-module__biHlrq__calDayNumToday{background:var(--primary-600,#2563eb);border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:.75rem;display:flex;color:#fff!important}.FollowupCalendarView-module__biHlrq__calDots{align-items:center;gap:3px;display:flex}.FollowupCalendarView-module__biHlrq__calDot{border-radius:50%;flex-shrink:0;width:5px;height:5px}.FollowupCalendarView-module__biHlrq__calDayEvents{flex-direction:column;gap:4px;width:100%;display:flex;overflow:visible}.FollowupCalendarView-module__biHlrq__calCard{border:1px solid var(--border-color,#e2e8f0);cursor:pointer;text-align:left;border-left:4px solid var(--primary-500,#3b82f6);background:#fff;border-radius:8px;flex-direction:column;gap:5px;width:100%;padding:7px 8px;transition:all .15s;display:flex;position:relative;box-shadow:0 1px 2px #0000000a}.FollowupCalendarView-module__biHlrq__calCardActive{border-left:4px solid var(--success-500,#10b981)}.FollowupCalendarView-module__biHlrq__calCardCompleted{border-left:4px solid var(--success-600,#059669)}.FollowupCalendarView-module__biHlrq__calCardOverdue{border-left:4px solid var(--danger-500,#ef4444)}.FollowupCalendarView-module__biHlrq__calCardPaused{border-left:4px solid var(--neutral-400,#94a3b8)}.FollowupCalendarView-module__biHlrq__calCard:hover{border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 4px 6px -1px #00000012,0 2px 4px -1px #0000000a}.FollowupCalendarView-module__biHlrq__calCardHeader{justify-content:space-between;align-items:flex-start;gap:5px;width:100%;display:flex}.FollowupCalendarView-module__biHlrq__calCardHeaderLeft{flex:1;align-items:center;gap:6px;min-width:0;display:flex}.FollowupCalendarView-module__biHlrq__calCardIconBox{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.FollowupCalendarView-module__biHlrq__calCardTitleWrap{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.FollowupCalendarView-module__biHlrq__calCardTitle{color:var(--text-main,#0f172a);white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;font-weight:700;line-height:1.2;overflow:hidden}.FollowupCalendarView-module__biHlrq__calCardTime{color:var(--text-subtle,#64748b);align-items:center;gap:3px;font-size:.63rem;font-weight:500;line-height:1;display:flex}.FollowupCalendarView-module__biHlrq__calCardStatus{border-radius:9999px;flex-shrink:0;align-items:center;gap:3px;padding:1px 5px;font-size:.62rem;font-weight:600;line-height:1.2;display:inline-flex}.FollowupCalendarView-module__biHlrq__statusActive{color:#059669;background:#ecfdf5}.FollowupCalendarView-module__biHlrq__statusCompleted{color:#15803d;background:#f0fdf4}.FollowupCalendarView-module__biHlrq__statusOverdue{color:#dc2626;background:#fef2f2}.FollowupCalendarView-module__biHlrq__statusPaused{color:#475569;background:#f1f5f9}.FollowupCalendarView-module__biHlrq__calStatusDot{border-radius:50%;flex-shrink:0;width:4.5px;height:4.5px}.FollowupCalendarView-module__biHlrq__statusActive .FollowupCalendarView-module__biHlrq__calStatusDot{background:#10b981}.FollowupCalendarView-module__biHlrq__statusCompleted .FollowupCalendarView-module__biHlrq__calStatusDot{background:#16a34a}.FollowupCalendarView-module__biHlrq__statusOverdue .FollowupCalendarView-module__biHlrq__calStatusDot{background:#ef4444}.FollowupCalendarView-module__biHlrq__statusPaused .FollowupCalendarView-module__biHlrq__calStatusDot{background:#94a3b8}.FollowupCalendarView-module__biHlrq__calCardNotes{color:var(--text-subtle,#475569);white-space:nowrap;text-overflow:ellipsis;width:100%;min-width:0;font-size:.68rem;line-height:1.3;overflow:hidden}.FollowupCalendarView-module__biHlrq__calCardTemplateTag{color:#047857;background:#ecfdf5;border:1px solid #d1fae5;border-radius:5px;align-items:center;gap:3px;width:fit-content;max-width:100%;padding:1.5px 5px;font-size:.64rem;font-weight:600;display:inline-flex}.FollowupCalendarView-module__biHlrq__calCardTemplateTag span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.FollowupCalendarView-module__biHlrq__calCardFooter{justify-content:space-between;align-items:center;gap:4px;width:100%;margin-top:1px;display:flex}.FollowupCalendarView-module__biHlrq__calCardFooterLeft{align-items:center;gap:3px;min-width:0;display:flex}.FollowupCalendarView-module__biHlrq__calCardThumbnailImg{object-fit:cover;border:1px solid #e2e8f0;border-radius:4px;flex-shrink:0;width:24px;height:24px}.FollowupCalendarView-module__biHlrq__calCardThumbnailFallback{color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.FollowupCalendarView-module__biHlrq__calCardAttachmentPill{color:#475569;background:#f1f5f9;border-radius:4px;flex-shrink:0;align-items:center;gap:2px;padding:1px 4px;font-size:.62rem;font-weight:600;display:inline-flex}.FollowupCalendarView-module__biHlrq__calCardFooterRight{flex-shrink:0;align-items:center;gap:3px;margin-left:auto;display:flex}.FollowupCalendarView-module__biHlrq__calCardActionBtn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:4px;justify-content:center;align-items:center;width:22px;height:22px;padding:0;transition:all .12s;display:flex}.FollowupCalendarView-module__biHlrq__calCardActionBtn:hover{color:#0f172a;background:#f8fafc;border-color:#cbd5e1}.FollowupCalendarView-module__biHlrq__calCardMenuWrap{display:inline-flex;position:relative}.FollowupCalendarView-module__biHlrq__calCardMenu{z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:1px;min-width:135px;padding:4px;display:flex;position:absolute;bottom:calc(100% + 4px);right:0;box-shadow:0 10px 15px -3px #0000001f,0 4px 6px -4px #00000014}.FollowupCalendarView-module__biHlrq__calCardMenuItem{color:#334155;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;width:100%;padding:5px 8px;font-size:.72rem;font-weight:500;transition:background .12s;display:flex}.FollowupCalendarView-module__biHlrq__calCardMenuItem:hover{color:#0f172a;background:#f1f5f9}.FollowupCalendarView-module__biHlrq__calCardMenuDelete{color:#ef4444}.FollowupCalendarView-module__biHlrq__calCardMenuDelete:hover{color:#dc2626;background:#fef2f2}.FollowupCalendarView-module__biHlrq__calEventCard{cursor:pointer;text-align:left;border:1px solid #0000;border-radius:6px;flex-direction:column;gap:2px;padding:4px 6px;font-size:.72rem;transition:all .12s;display:flex;overflow:hidden}.FollowupCalendarView-module__biHlrq__calEventCard:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000000f}.FollowupCalendarView-module__biHlrq__calEventUpcoming{background:var(--primary-50,#eff6ff);border-color:var(--primary-200,#bfdbfe);color:var(--primary-900,#1e3a8a)}.FollowupCalendarView-module__biHlrq__calEventCompleted{background:var(--success-50,#ecfdf5);color:#065f46;border-color:#a7f3d0}.FollowupCalendarView-module__biHlrq__calEventOverdue{background:var(--danger-50,#fef2f2);border-color:var(--danger-200,#fecaca);color:#991b1b}.FollowupCalendarView-module__biHlrq__calEventTop{align-items:center;gap:4px;width:100%;display:flex}.FollowupCalendarView-module__biHlrq__calEventIcon{flex-shrink:0;align-items:center;display:inline-flex}.FollowupCalendarView-module__biHlrq__calEventTitle{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:.72rem;font-weight:700;overflow:hidden}.FollowupCalendarView-module__biHlrq__calEventTime{opacity:.85;white-space:nowrap;flex-shrink:0;font-size:.625rem;font-weight:600}.FollowupCalendarView-module__biHlrq__calEventNotes{opacity:.8;white-space:nowrap;text-overflow:ellipsis;font-size:.65rem;line-height:1.25;overflow:hidden}.FollowupCalendarView-module__biHlrq__calEventBottom{align-items:center;gap:4px;margin-top:1px;display:flex}.FollowupCalendarView-module__biHlrq__calEventTag{white-space:nowrap;text-overflow:ellipsis;background:#ffffffbf;border-radius:4px;max-width:100%;padding:1px 4px;font-size:.59rem;font-weight:600;overflow:hidden}.FollowupCalendarView-module__biHlrq__calEventAttachment{background:#ffffffbf;border-radius:4px;flex-shrink:0;align-items:center;gap:2px;margin-left:auto;padding:1px 4px;font-size:.6rem;font-weight:700;display:inline-flex}.FollowupCalendarView-module__biHlrq__moreLink{color:var(--primary-600,#2563eb);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 4px;font-family:inherit;font-size:.6875rem;font-weight:600}.FollowupCalendarView-module__biHlrq__moreLink:hover{background:#2563eb14;text-decoration:underline}.FollowupCalendarView-module__biHlrq__agenda{flex-direction:column;gap:.75rem;margin-top:.25rem;display:flex}.FollowupCalendarView-module__biHlrq__agendaHeader{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.FollowupCalendarView-module__biHlrq__agendaLabel{color:var(--text-muted,#475569);font-size:.84375rem;font-weight:600}.FollowupCalendarView-module__biHlrq__agendaEmpty{color:var(--text-subtle,#64748b);text-align:center;background:var(--bg-surface,#fff);border:1px dashed var(--border-color,#cbd5e1);border-radius:var(--radius-md,10px);padding:1.5rem;font-size:.8125rem}.FollowupCalendarView-module__biHlrq__agendaItems{flex-direction:column;gap:.625rem;display:flex}.FollowupCalendarView-module__biHlrq__agendaItem{background:var(--bg-surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:var(--radius-md,10px);box-shadow:var(--shadow-xs,0 1px 3px #0f172a0a);flex-wrap:wrap;align-items:flex-start;gap:1rem;padding:1rem 1.125rem;transition:all .15s;display:flex}.FollowupCalendarView-module__biHlrq__agendaItem:hover{border-color:var(--neutral-300,#cbd5e1);box-shadow:var(--shadow-sm,0 2px 5px #0f172a0f)}.FollowupCalendarView-module__biHlrq__itemChannel{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;margin-top:2px;display:flex}.FollowupCalendarView-module__biHlrq__channelPhone{background:var(--primary-50,#eff6ff);color:var(--primary-600,#2563eb)}.FollowupCalendarView-module__biHlrq__channelChat{background:var(--success-50,#ecfdf5);color:var(--success-600,#059669)}.FollowupCalendarView-module__biHlrq__channelPending{background:var(--warning-50,#fffbeb);color:var(--warning-600,#d97706)}.FollowupCalendarView-module__biHlrq__channelEmail{color:#c026d3;background:#fdf4ff}.FollowupCalendarView-module__biHlrq__channelMeeting{color:#7c3aed;background:#f5f3ff}.FollowupCalendarView-module__biHlrq__itemBody{flex:1;min-width:200px}.FollowupCalendarView-module__biHlrq__itemTitleLine{flex-wrap:wrap;align-items:center;gap:.55rem;margin-bottom:.3rem;display:flex}.FollowupCalendarView-module__biHlrq__itemTitle{color:var(--text-main,#0f172a);margin:0;font-size:.9375rem;font-weight:700}.FollowupCalendarView-module__biHlrq__tag{color:var(--primary-700,#1d4ed8);background:var(--primary-50,#eff6ff);border-radius:6px;padding:.125rem .55rem;font-size:.6875rem;font-weight:600}.FollowupCalendarView-module__biHlrq__itemDesc{color:var(--text-muted,#475569);max-width:580px;margin:0;font-size:.8125rem;line-height:1.5}.FollowupCalendarView-module__biHlrq__itemRight{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:1rem;margin-left:auto;display:flex}.FollowupCalendarView-module__biHlrq__statusPill{background:var(--success-50,#ecfdf5);color:var(--success-700,#047857);white-space:nowrap;border-radius:20px;padding:.25rem .75rem;font-size:.75rem;font-weight:600}.FollowupCalendarView-module__biHlrq__statusPillUpcoming{background:var(--warning-50,#fffbeb);color:var(--warning-700,#b45309)}.FollowupCalendarView-module__biHlrq__statusPillOverdue{background:var(--danger-50,#fef2f2);color:var(--danger-700,#b91c1c)}.FollowupCalendarView-module__biHlrq__statusPillPaused{background:var(--neutral-100,#f1f5f9);color:var(--neutral-600,#475569)}.FollowupCalendarView-module__biHlrq__itemTime{color:var(--text-subtle,#64748b);white-space:nowrap;font-size:.75rem}.FollowupCalendarView-module__biHlrq__itemActions{gap:.25rem;display:flex}.FollowupCalendarView-module__biHlrq__iconBtn{border:1px solid var(--border-color,#cbd5e1);background:var(--bg-surface,#fff);width:30px;height:30px;color:var(--text-subtle,#64748b);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;transition:all .12s;display:flex}.FollowupCalendarView-module__biHlrq__iconBtn:hover{background:var(--neutral-50,#f8fafc);color:var(--primary-600,#2563eb);border-color:var(--primary-200,#bfdbfe)}.FollowupCalendarView-module__biHlrq__iconBtnDelete:hover{background:var(--danger-50,#fef2f2);color:var(--danger-600,#dc2626);border-color:var(--danger-200,#fecaca)}.FollowupCalendarView-module__biHlrq__iconBtnComplete:hover{background:var(--success-50,#ecfdf5);color:var(--success-600,#059669);border-color:var(--success-200,#a7f3d0)}@media (max-width:760px){.FollowupCalendarView-module__biHlrq__itemRight{justify-content:space-between;width:100%;margin-left:0}}.FollowupCalendarView-module__biHlrq__dayPanelOverlay{z-index:9000;background:#0f172a59;justify-content:flex-end;display:flex;position:fixed;inset:0}.FollowupCalendarView-module__biHlrq__dayPanel{background:var(--bg-surface,#fff);flex-direction:column;width:100%;max-width:420px;height:100%;animation:.18s FollowupCalendarView-module__biHlrq__dayPanelSlideIn;display:flex;box-shadow:-8px 0 24px #0f172a1f}@keyframes FollowupCalendarView-module__biHlrq__dayPanelSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.FollowupCalendarView-module__biHlrq__dayPanelHeader{border-bottom:1px solid var(--border-color,#e2e8f0);flex-shrink:0;justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.FollowupCalendarView-module__biHlrq__dayPanelTitle{color:var(--text-main,#0f172a);margin:0;font-size:.95rem;font-weight:700}.FollowupCalendarView-module__biHlrq__dayPanelCloseBtn{border:1px solid var(--border-color,#e2e8f0);width:30px;height:30px;color:var(--text-subtle,#64748b);cursor:pointer;background:#fff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;transition:all .12s;display:flex}.FollowupCalendarView-module__biHlrq__dayPanelCloseBtn:hover{background:var(--neutral-50,#f8fafc);color:var(--text-main,#0f172a)}.FollowupCalendarView-module__biHlrq__dayPanelBody{flex-direction:column;flex:1;gap:.6rem;padding:1rem 1.25rem;display:flex;overflow-y:auto}
.EmailAccountDetailsClient-module__75NaHa__overviewForm{display:contents}.EmailAccountDetailsClient-module__75NaHa__defaultTag{font-size:var(--text-sm);color:var(--warning-600);background:var(--warning-50);border:1px solid var(--warning-100);border-radius:var(--radius-full);align-items:center;gap:.35rem;padding:.45rem .85rem;font-weight:700;display:inline-flex}.EmailAccountDetailsClient-module__75NaHa__inputWithAction{display:block;position:relative}.EmailAccountDetailsClient-module__75NaHa__inputPadded{padding-right:2.75rem}.EmailAccountDetailsClient-module__75NaHa__revealBtn{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;place-items:center;display:inline-grid;position:absolute;top:50%;right:.4rem;transform:translateY(-50%)}@media (hover:hover) and (pointer:fine){.EmailAccountDetailsClient-module__75NaHa__revealBtn:hover{color:var(--text-main);background:var(--neutral-100)}}.EmailAccountDetailsClient-module__75NaHa__encryptionRow{flex-wrap:wrap;gap:.5rem;display:flex}.EmailAccountDetailsClient-module__75NaHa__chip{border:1px solid var(--border-color);background:var(--bg-surface);color:var(--text-muted);border-radius:var(--radius-full);font-size:var(--text-xs);cursor:pointer;transition:background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);padding:.4rem .9rem;font-weight:700}.EmailAccountDetailsClient-module__75NaHa__chip:hover{border-color:var(--border-color-hover);color:var(--text-main)}.EmailAccountDetailsClient-module__75NaHa__chipOn{background:var(--primary-50);border-color:var(--primary-600);color:var(--primary-700)}.EmailAccountDetailsClient-module__75NaHa__testRow{border-top:1px dashed var(--border-color);flex-wrap:wrap;align-items:center;gap:.85rem;padding-top:.5rem;display:flex}.EmailAccountDetailsClient-module__75NaHa__testResult{font-size:var(--text-sm);align-items:center;gap:.4rem;font-weight:600;display:inline-flex}.EmailAccountDetailsClient-module__75NaHa__testSuccess{color:var(--success-700)}.EmailAccountDetailsClient-module__75NaHa__testError{color:var(--danger-600)}.EmailAccountDetailsClient-module__75NaHa__statusBadge{font-size:var(--text-xs);border-radius:var(--radius-full);align-items:center;gap:.3rem;padding:.2rem .55rem;font-weight:600;display:inline-flex}.EmailAccountDetailsClient-module__75NaHa__verified{color:var(--success-700);background:var(--success-50)}.EmailAccountDetailsClient-module__75NaHa__unverified{color:var(--warning-700);background:var(--warning-50)}.EmailAccountDetailsClient-module__75NaHa__disabled{color:var(--text-muted);background:var(--neutral-100)}.EmailAccountDetailsClient-module__75NaHa__dot{background:currentColor;border-radius:50%;width:6px;height:6px}.EmailAccountDetailsClient-module__75NaHa__errorText{font-size:var(--text-xs);color:var(--danger-600);line-height:1.4}
