: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}body{min-width:0;margin:0;overflow-x:hidden}button,input,textarea,select{font:inherit}.app-shell{grid-template-columns:230px 1fr;width:100%;min-height:100vh;display:grid}.sidebar{background:#fff;border-right:1px solid #e3e8f0;flex-direction:column;height:100vh;padding:28px 14px 20px;transition:all .3s;display:flex;position:sticky;top:0;overflow-y: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;display:grid}.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{width:100%;min-width:0;padding:26px 24px 22px;overflow-x:hidden}.page-header{justify-content:space-between;align-items:flex-start;height:66px;display:flex}.page-header h1{margin:0 0 8px;font-size:31px;line-height:1}.page-header p{color:#63708a;margin:0}.dashboard-grid{grid-template-columns:320px 1fr 340px;align-items:stretch;gap:12px;width:100%;height:calc(100vh - 115px);display:grid}.panel{background:#fff;border:1px solid #e1e6ef;border-radius:13px;flex-direction:column;min-height:0;display:flex;box-shadow:0 2px 12px #13213c09}.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}.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}.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:200px;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-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:auto;padding-top:14px;display:flex}.editor-footer button{cursor:pointer;white-space:nowrap;border:none;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:34px;padding:0 14px;font-size:12px;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-direction:column;flex-shrink:0;align-items:flex-end;gap:5px;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-y: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}.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 dashed #cbd5e1;margin-top:20px;padding-top:16px}.engagement-header{align-items:center;gap:8px;margin-bottom:14px;display:flex}.engagement-header h3{color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin:0;font-size:12px;font-weight:500}.engagement-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.metric-card{background:#fafbfc;border:1px solid #eef0f3;border-radius:10px;flex-direction:column;gap:6px;padding:14px 16px;display:flex}.metric-card-header{align-items:center;gap:8px;display:flex}.metric-card-icon{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.metric-card-title{color:#475569;font-size:13px;font-weight:500;line-height:1.2}.metric-card-value{color:#0f172a;font-size:24px;font-weight:700;line-height:1}.metric-card-subtitle{color:#94a3b8;font-size:11px;line-height:1.2}::-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 1fr 360px}}@media (width<=1399px) and (width>=1024px){.dashboard-grid{grid-template-columns:300px 1fr 320px}}@media (width<=1280px){.app-shell{grid-template-columns:78px 1fr}.sidebar{padding-left:10px;padding-right:10px}.brand{justify-content:center;padding:10px 0 20px}.sidebar-logo{display:none}.brand:after{content:"AR";color:#1570ef;font-size:24px;font-weight:800}.sidebar button{justify-content:center;padding:0}.sidebar button .nav-label{display:none}.dashboard-grid{grid-template-columns:250px 1fr 280px}}@media (width<=1023px) and (width>=768px){.dashboard-grid{grid-template-columns:260px 1fr;gap:12px;height:auto}.lead-panel,.editor-panel,.info-panel{height:auto;min-height:500px}.info-panel{grid-column:1/-1}.editor-footer button{height:32px;padding:0 12px;font-size:11px}.editor-footer svg{width:13px}.engagement-grid{grid-template-columns:repeat(4,1fr)}}@media (width<=767px){.app-shell{display:block}.sidebar{display:none}.workspace{padding:18px}.dashboard-grid{height:auto;display:block}.lead-panel,.editor-panel,.info-panel{height:auto;margin-bottom:14px}.lead-panel{max-height:300px}.body-textarea{min-height:300px}.editor-footer{flex-direction:column;align-items:stretch;gap:8px}.editor-footer button{width:100%;height:36px;font-size:12px}.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}.engagement-grid{grid-template-columns:1fr 1fr}}@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}.engagement-grid{grid-template-columns:1fr}.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}}
