:root{color:#13213c;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f4f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{min-width:0;margin:0;overflow:hidden}button,input,textarea,select{font:inherit}.app-shell{grid-template-columns:230px minmax(0,1fr);width:100%;height:100%;min-height:100%;display:grid;overflow:hidden}.sidebar{background:#fff;border-right:1px solid #e3e8f0;flex-direction:column;height:100%;min-height:0;padding:28px 14px 20px;transition:all .3s;display:flex;overflow:hidden auto}.brand{justify-content:flex-start;align-items:center;padding:0 14px 20px;display:flex}.sidebar-logo{object-fit:contain;max-width:140px;height:auto;display:block}.sidebar nav{gap:7px;padding:0;display:grid}.sidebar .nav-label{white-space:nowrap}.sidebar button{color:#5c6981;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:14px;height:50px;padding:0 18px;font-weight:600;transition:background .2s,color .2s;display:flex}.sidebar button svg{flex-shrink:0;width:21px}.sidebar button:hover{background:#f5f8fc}.sidebar button.active{color:#1266dd;background:#edf5ff}.sidebar .logout{margin-top:auto}.workspace{flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;padding:26px 24px 22px;display:flex;overflow:hidden}.page-header{flex-shrink:0;justify-content:space-between;align-items:flex-start;min-height:0;margin-bottom:14px;display:flex}.page-header-start{align-items:flex-start;gap:12px;min-width:0;display:flex}.menu-toggle,.sidebar-backdrop,.sidebar .sidebar-close{display:none}.page-header h1{margin:0 0 8px;font-size:31px;line-height:1}.page-header p{color:#63708a;margin:0}.workspace-scroll{overflow:auto}.app-footer{text-align:center;flex-shrink:0;margin-top:auto;padding:18px 0 2px}.app-footer p{color:#94a3b8;letter-spacing:.3px;margin:0;font-size:13px;font-weight:500}.app-footer-brand{color:#6366f1;font-weight:600}.coming-soon{flex:1;grid-area:auto}.integrations-grid{flex:1;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));align-content:start;gap:20px;min-height:0;display:grid}.integration-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:16px;padding:24px;transition:box-shadow .2s,border-color .2s;display:flex}.integration-card:hover{border-color:var(--brand-color,#1672ef);box-shadow:0 4px 12px #00000014}.integration-card-top{justify-content:space-between;align-items:flex-start;display:flex}.integration-logo{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:center;align-items:center;width:56px;height:56px;padding:8px;font-size:24px;display:flex}.integration-logo img{object-fit:contain;width:100%;height:100%}.integration-name{color:#0f172a;margin:0 0 6px;font-size:18px;font-weight:600}.integration-description{color:#64748b;margin:0;font-size:14px;line-height:1.5}.integration-status{color:#16a34a;border-top:1px solid #f1f5f9;align-items:center;gap:6px;padding-top:8px;font-size:13px;font-weight:500;display:flex}.integration-status-dot{background:#16a34a;border-radius:50%;width:8px;height:8px}.dashboard-grid{flex:1;grid-template-columns:320px minmax(0,1fr) 340px;grid-template-areas:"leads info editor";align-items:stretch;gap:12px;width:100%;min-height:0;display:grid}.panel{background:#fff;border:1px solid #e1e6ef;border-radius:13px;flex-direction:column;min-width:0;min-height:0;display:flex;box-shadow:0 2px 12px #13213c09}.lead-panel{grid-area:leads}.info-panel{grid-area:info}.editor-panel{grid-area:editor}.empty-state{color:#64748b;grid-area:info/info-start/info/editor-end;justify-content:center;align-items:center;padding:24px}.lead-panel{flex-direction:column;height:100%;padding:14px;display:flex;overflow:hidden}.search{background:#fff;border:1px solid #d8deea;border-radius:8px;flex-shrink:0;align-items:center;gap:10px;width:100%;height:44px;padding:0 13px;display:flex}.search svg{color:#65738c;flex-shrink:0;width:18px}.search input{color:#13213c;border:0;outline:0;flex:1;width:100%;min-width:0;font-size:14px}.search input::placeholder{color:#94a3b8}.lead-list{flex-direction:column;flex:1;gap:6px;min-height:0;margin-top:12px;padding-right:4px;display:flex;overflow-y:auto}.lead{text-align:left;cursor:pointer;background:#fff;border:1px solid #e3e8f0;border-radius:8px;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;height:56px;min-height:56px;max-height:56px;padding:0 12px;transition:all .15s;display:flex;position:relative;overflow:hidden}.lead:hover{background:#fafbfd;border-color:#d1d9e6}.lead.selected{background:#eef5ff;border-color:#1672ef}.lead.selected:before{content:"";background:#1672ef;border-radius:8px 0 0 8px;width:4px;position:absolute;top:0;bottom:0;left:-1px}.lead-info{flex-direction:column;flex:1;justify-content:center;gap:2px;min-width:0;display:flex;overflow:hidden}.lead-name{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:600;line-height:1.2;display:block;overflow:hidden}.lead-details{color:#64748b;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;line-height:1.2;display:block;overflow:hidden}.status-dot{background:#f0a12a;border-radius:50%;flex-shrink:0;width:8px;height:8px;margin:0}.status-dot.approved{background:#12a150}.empty{text-align:center;color:#7a879c;padding:30px 10px;font-size:13px}.lead-list::-webkit-scrollbar{width:6px}.lead-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.editor-panel{flex-direction:column;height:100%;padding:24px;display:flex;overflow:hidden}.sequence-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;margin-bottom:20px;padding:16px}.sequence-label{color:#0f172a;margin-bottom:12px;font-size:17px;font-weight:700}.sequence-content{justify-content:space-between;align-items:center;gap:16px;display:flex}.select-wrap{flex:1;max-width:300px;position:relative}.select-wrap select{color:#334155;appearance:none;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;width:100%;padding:8px 32px 8px 12px;font-size:14px;font-weight:500}.select-wrap select:disabled{cursor:not-allowed;opacity:.9}.select-arrow{color:#64748b;pointer-events:none;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.steps{color:#59667e;flex-shrink:0;align-items:center;gap:12px;font-size:13px;display:flex}.step-dots{gap:4px;display:flex}.step-dots div{background:#d2d8e2;border-radius:50%;width:8px;height:8px}.step-dots div.on{background:#3b82f6}.editor-fields{flex-direction:column;flex:1;min-height:0;display:flex}.field-label{color:#475569;margin-bottom:8px;font-size:13px;font-weight:600}.subject-input{border:1px solid #e2e8f0;border-radius:6px;outline:none;width:100%;margin-bottom:16px;padding:10px 12px;font-size:14px;transition:border-color .2s,box-shadow .2s}.subject-input:focus{border-color:#1672ef;box-shadow:0 0 0 3px #1672ef1a}.body-textarea{resize:none;border:1px solid #e2e8f0;border-radius:6px;outline:none;flex:1;width:100%;min-height:0;padding:16px;font-family:inherit;font-size:14px;line-height:1.6;transition:border-color .2s,box-shadow .2s}.body-textarea:focus{border-color:#1672ef;box-shadow:0 0 0 3px #1672ef1a}.editor-footer{flex-direction:column;flex-shrink:0;align-items:stretch;gap:8px;margin-top:auto;padding-top:14px;display:flex}.editor-footer button{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.editor-footer button:hover:not(:disabled){transform:translateY(-1px)}.editor-footer button:active:not(:disabled){transform:translateY(0)}.editor-footer button:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{color:#475569;background:#fff;border:1px solid #e2e8f0!important}.btn-secondary:hover:not(:disabled){background:#f8fafc}.btn-primary{color:#fff;background:#0d4f9d}.btn-primary:hover:not(:disabled){background:#0a3d7a}.editor-footer svg{flex-shrink:0;width:14px}.editor-footer-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px 12px;display:flex}.approval-note{color:#94a3b8;align-items:center;gap:4px;margin:0;font-size:11px;display:flex}.approval-note svg{flex-shrink:0;width:11px}.info-panel{height:100%;padding:23px 20px;overflow:hidden auto}.info-panel header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.info-panel h2{margin:0;font-size:17px}.info-panel h2.engagement-title{margin:0 0 24px}.badge{color:#087a3c;white-space:nowrap;background:#eaf9f0;border-radius:20px;align-items:center;gap:7px;padding:8px 10px;font-size:12px;font-weight:700;display:flex}.badge i{background:#10a354;border-radius:50%;width:9px;height:9px;display:inline-block}.info-panel dl{gap:21px;margin:27px 0 0;display:grid}.info-panel dt{color:#69768e;margin-bottom:5px;font-size:12px}.info-panel dd{word-break:break-word;margin:0;font-size:15px}.info-panel a{color:#1269df;text-decoration:none}.info-panel a:hover{text-decoration:underline}.engagement-section{border-top:1px solid #e3e7ee;margin-top:20px;padding-top:16px;container:engagement/inline-size}.engagement-header{align-items:center;gap:8px;margin-bottom:14px;display:flex}.engagement-title{color:#0f172a;margin:0 0 24px;font-size:17px;font-weight:700}.engagement-header h3{color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin:0;font-size:12px;font-weight:500}.engagement-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.metric-card:last-child{grid-column:1/-1}.metric-card{background:#f8fafc;border:1px solid #eef0f3;border-radius:10px;flex-direction:column;gap:8px;min-width:0;padding:12px;display:flex}.metric-card-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.metric-card-icon{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.metric-card-value{color:#0f172a;font-variant-numeric:tabular-nums;font-size:22px;font-weight:700;line-height:1}.metric-card-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.metric-card-title{color:#475569;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;line-height:1.2;overflow:hidden}.metric-card-subtitle{color:#94a3b8;white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:1.2;overflow:hidden}@container engagement (width<=210px){.engagement-grid{grid-template-columns:minmax(0,1fr)}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#c9d2de;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a8b4c4}*{scrollbar-width:thin;scrollbar-color:#c9d2de transparent}@media (width>=1400px){.dashboard-grid{grid-template-columns:340px minmax(0,1fr) 360px}}@media (width<=1399px) and (width>=1024px){.dashboard-grid{grid-template-columns:minmax(240px,300px) minmax(0,1fr) minmax(260px,320px)}}@media (width<=1280px){.app-shell{grid-template-columns:72px minmax(0,1fr)}.sidebar{height:100%;padding:16px 8px}.sidebar nav{padding:0!important}.brand{justify-content:center;padding:8px 0 16px}.sidebar-logo{display:none}.brand:after{content:"AR";color:#1570ef;font-size:22px;font-weight:800}.sidebar button{justify-content:center;gap:0;height:44px;width:100%!important;padding:0!important}.sidebar button .nav-label{display:none}.sidebar .logout{justify-content:center;width:100%!important;margin:12px 0 0!important;padding:0!important}.dashboard-grid{grid-template-columns:minmax(190px,220px) minmax(0,1fr) minmax(300px,360px)}.editor-footer button{height:36px;padding:0 12px;font-size:12px}}@media (width<=1023px) and (width>=768px){.workspace{padding:12px 14px}.page-header{margin-bottom:10px}.page-header h1{margin-bottom:4px;font-size:22px}.page-header p{font-size:13px}.dashboard-grid{grid-template:"leads editor"minmax(0,1fr)"info editor"minmax(190px,42%)/minmax(180px,220px) minmax(0,1fr);gap:8px}.empty-state{grid-area:editor/auto}.lead-panel,.editor-panel,.info-panel{height:auto;min-height:0}.editor-panel{padding:12px}.sequence-box{margin-bottom:10px;padding:10px 12px}.sequence-label{margin-bottom:8px;font-size:14px}.select-wrap{max-width:none}.info-panel{padding:12px 14px}.info-panel h2{font-size:14px}.badge{gap:5px;padding:5px 8px;font-size:10px}.info-panel dl{gap:10px;margin-top:12px}.info-panel dd{font-size:13px}.engagement-section{margin-top:12px;padding-top:12px}.engagement-title{margin-bottom:8px;font-size:14px}.metric-card{gap:4px;padding:8px 10px}.metric-card-icon{width:24px;height:24px}.metric-card-value{font-size:18px}.editor-footer{gap:6px;padding-top:10px}.editor-footer button,.editor-footer-actions button{min-width:0!important;height:34px!important;padding:0 12px!important;font-size:12px!important}.editor-footer svg{width:13px}}@media (height<=760px){.workspace{padding-top:12px;padding-bottom:10px}.page-header{margin-bottom:8px}.page-header h1{margin-bottom:2px;font-size:22px}.page-header p{font-size:12px}.sidebar{height:100%;padding-top:14px;padding-bottom:12px}.sidebar button{height:42px}.sequence-box{margin-bottom:10px;padding:10px 12px}.subject-input{margin-bottom:10px;padding:8px 10px}.body-textarea{padding:10px 12px}.editor-footer{padding-top:8px}.info-panel dl{gap:10px;margin-top:12px}}@media (width<=767px){html,body,#root{height:auto;min-height:100%}body{overflow:auto}.app-shell{height:auto;display:block;overflow:visible}body.menu-open{overflow:hidden}.menu-toggle{color:#334155;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;margin-top:2px;display:inline-flex}.menu-toggle:hover{background:#f8fafc}.sidebar-backdrop{z-index:30;cursor:pointer;background:#0f172a6b;border:0;margin:0;padding:0;display:block;position:fixed;inset:0}.sidebar{z-index:40;visibility:hidden;pointer-events:none;width:min(248px,86vw);height:100dvh;box-shadow:none;background:#fff;padding:18px 12px 16px;transition:transform .25s,visibility .25s,box-shadow .25s;display:flex;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.app-shell.sidebar-open .sidebar{visibility:visible;pointer-events:auto;transform:translate(0);box-shadow:8px 0 32px #13213c29}.sidebar-logo{max-width:124px;display:block!important}.brand{justify-content:space-between;align-items:center;padding:4px 6px 18px}.brand:after{content:none!important}.sidebar button{height:46px;justify-content:flex-start!important;gap:12px!important;width:100%!important;padding:0 14px!important}.sidebar button .nav-label{display:inline!important}.sidebar .logout{justify-content:flex-start!important;width:100%!important;margin:auto 0 0!important;padding:0 14px!important}.sidebar .sidebar-close{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-shrink:0;align-items:center;display:inline-flex;justify-content:center!important;gap:0!important;width:36px!important;height:36px!important;padding:0!important}.sidebar .sidebar-close:hover{color:#13213c;background:#f5f8fc}.workspace{height:auto;padding:18px;overflow:visible}.dashboard-grid{flex-direction:column;height:auto;min-height:0;display:flex}.lead-panel,.editor-panel,.info-panel,.empty-state{grid-area:auto;height:auto;margin-bottom:14px}.lead-panel{max-height:280px}.body-textarea{min-height:220px}.editor-footer{flex-direction:column;align-items:stretch;gap:8px}.editor-footer button,.editor-footer-actions button{width:100%;min-width:0!important;height:36px!important;font-size:12px!important}.editor-footer-actions{align-items:stretch;width:100%}.approval-note{text-align:center;justify-content:center}.page-header{height:auto;margin-bottom:18px}.page-header h1{font-size:24px}.info-panel header{flex-direction:column;align-items:flex-start}}@media (width<=479px){.workspace{padding:12px}.panel{border-radius:10px}.editor-panel{padding:16px}.editor-footer button{height:34px;padding:0 10px;font-size:11px}.editor-footer button svg{width:13px}.metric-card{padding:12px}.metric-card-value{font-size:20px}.sequence-content{flex-direction:column;align-items:stretch;gap:12px}.steps{justify-content:flex-start}}
