html{color:#172332;font-synthesis:none;text-rendering:optimizelegibility;background:#f5f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0}#root{min-height:100vh}a{color:inherit;text-decoration:none}:root{--navy:#14253b;--blue:#1769aa;--line:#e2e7ec;--muted:#697586;--bg:#f5f7f9}*{box-sizing:border-box}button,input,select{font:inherit}button{cursor:pointer}.app-shell{background:var(--bg);color:#172332;min-height:100vh}.topbar{border-bottom:1px solid var(--line);z-index:20;background:#fff;justify-content:space-between;align-items:center;height:72px;padding:0 3.5vw;display:flex;position:sticky;top:0}.brand{color:var(--navy);text-align:left;background:0 0;border:0;align-items:center;gap:11px;display:flex}.brand-mark{background:var(--navy);color:#fff;border-radius:6px;place-items:center;width:42px;height:42px;display:grid}.brand strong,.brand small,.account-copy strong,.account-copy small{display:block}.brand strong{font-size:17px}.brand small,.account-copy small{color:var(--muted);margin-top:2px;font-size:11px}.account{align-items:center;gap:10px;display:flex}.account-copy{text-align:right;font-size:13px}.avatar{width:34px;height:34px;color:var(--blue);background:#dce8f2;border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid}.icon-button{color:#526171;background:0 0;border:0;border-radius:6px;place-items:center;width:36px;height:36px;display:grid;position:relative}.icon-button:hover{background:#edf2f6}.icon-button i{background:#e34848;border-radius:50%;width:6px;height:6px;position:absolute;top:7px;right:7px}.mobile-menu{display:none}.nav{border-bottom:1px solid var(--line);z-index:15;background:#fff;justify-content:center;gap:3px;height:52px;padding:0 2vw;display:flex;position:sticky;top:72px}.nav button{color:#5f6d7a;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:0 15px;font-size:13px;display:flex}.nav button.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:700}main{max-width:1400px;margin:auto;padding:30px 3.5vw 55px}.page-title{justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px;display:flex}.page-title h1{margin:0 0 6px;font-size:25px}.page-title p,.panel-head p{color:var(--muted);margin:0;font-size:13px}.primary,.secondary,.text-button{border-radius:5px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 15px;font-size:13px;font-weight:700;display:inline-flex}.primary{background:var(--blue);color:#fff;border:1px solid var(--blue)}.secondary{color:#344557;background:#fff;border:1px solid #ccd5dd}.text-button{color:var(--blue);background:0 0;border:0}.metrics{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px;display:grid}.metric,.panel{border:1px solid var(--line);background:#fff;border-radius:7px}.metric{align-items:center;gap:15px;min-height:112px;padding:21px;display:flex}.metric-icon{border-radius:6px;place-items:center;width:42px;height:42px;display:grid}.metric-icon.green{color:#16875b;background:#e5f4ed}.metric-icon.blue{color:#1769aa;background:#e3eff8}.metric-icon.violet{color:#7357c7;background:#eeeafd}.metric-icon.amber{color:#b66c00;background:#fff0d7}.metric p{color:var(--muted);margin:0;font-size:12px}.metric strong{font-size:23px;display:block}.metric small{color:#7d8995;margin-top:4px;font-size:11px;display:block}.dashboard-grid{grid-template-columns:1.25fr 1fr;gap:18px;margin-bottom:18px;display:grid}.chart-panel{min-width:0;padding:22px}.panel-head{justify-content:space-between;align-items:start;margin-bottom:18px;display:flex}.panel-head h2,.integration-title h2,.member h2,.modal-head h2{margin:0 0 5px;font-size:15px}.pie-wrap{align-items:center;display:flex}.legend{flex:1;gap:10px;font-size:12px;display:grid}.legend span{color:#596878;grid-template-columns:9px 1fr auto;align-items:center;gap:7px;display:grid}.legend i{border-radius:2px;width:8px;height:8px}.recent{overflow:hidden}.recent .panel-head{padding:20px 22px 0}.toolbar{gap:10px;margin-bottom:15px;padding:13px;display:flex}.search{flex:1;min-width:220px;position:relative}.search svg{color:#85919d;position:absolute;top:10px;left:12px}.search input{padding-left:39px!important}.toolbar input,.toolbar select,.form-grid input,.form-grid select{color:#253444;background:#fff;border:1px solid #ccd5dd;border-radius:5px;outline:none;width:100%;height:39px;padding:0 11px}.select{min-width:175px;position:relative}.select svg{color:#687786;position:absolute;top:11px;left:11px}.select select{padding-left:36px}.table-panel{overflow:hidden}.table-summary{border-bottom:1px solid var(--line);justify-content:space-between;padding:15px 20px;font-size:12px;display:flex}.table-summary span{color:var(--muted)}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:#71808f;text-transform:uppercase;background:#f8fafb;padding:11px 16px;font-size:10px}td{white-space:nowrap;border-top:1px solid #edf0f2;padding:13px 16px}.lead-name{align-items:center;gap:10px;display:flex}.lead-name>span{width:32px;height:32px;color:var(--blue);background:#e5edf4;border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid}.lead-name strong,.lead-name small,.block{display:block}.lead-name small,.block{color:var(--muted);margin-top:3px;font-size:10px}.badge,.source{border-radius:4px;padding:5px 8px;font-size:10px;font-weight:700;display:inline-flex}.source{color:#536272;background:#eef2f5}.stage-select{background:#fff;border:1px solid #d8dfe5;border-radius:4px;padding:5px 7px;font-size:11px}.row-actions{gap:3px;display:flex}.row-actions a,.row-actions button{color:#657484;background:0 0;border:0;border-radius:4px;place-items:center;width:30px;height:30px;display:grid}.empty{text-align:center;color:var(--muted);padding:45px}.integration-grid{grid-template-columns:1.35fr .65fr;align-items:start;gap:18px;display:grid}.integration-card{padding:22px;position:relative}.integration-card:first-child{grid-row:span 2}.integration-title{align-items:center;gap:13px;margin-bottom:22px;display:flex}.integration-title p,.integration-help{color:var(--muted);margin:0;font-size:12px}.provider{border-radius:6px;flex:none;place-items:center;width:42px;height:42px;font-size:23px;font-weight:900;display:grid}.provider.meta{color:#1877f2;background:#e2effc}.provider.google{color:#4285f4;background:#f1f3f4}.provider.whatsapp{color:#13955c;background:#e4f7ed}.status{color:#956000;background:#fff2d9;border-radius:4px;margin-left:auto;padding:5px 8px;font-size:10px;font-weight:800}.status.connected{color:#14764f;background:#e4f5ec}.form-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.form-grid label{color:#465667;font-size:11px;font-weight:700}.form-grid input,.form-grid select{margin-top:6px}.card-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;margin-top:20px;padding-top:18px;display:flex}.integration-help{margin:0 0 18px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.webhook-box{background:#f5f8fa;border:1px solid #e0e6eb;border-radius:5px;margin-bottom:17px;padding:12px 14px;overflow:hidden}.webhook-box small{color:var(--muted);margin-bottom:5px;font-size:10px;font-weight:700;display:block}.webhook-box code{color:#2e4a62;overflow-wrap:anywhere;font-size:11px}.connect-row{justify-content:flex-end;margin-top:16px;display:flex}.page-picker{border:1px solid var(--line);background:#f7f9fb;border-radius:5px;align-items:end;gap:10px;margin-top:18px;padding:16px;display:flex}.page-picker label{color:#465667;flex:1;font-size:11px;font-weight:700}.page-picker select{background:#fff;border:1px solid #ccd5dd;border-radius:5px;width:100%;height:39px;margin-top:6px;padding:0 10px}.connected-page{color:#14764f;background:#eaf7f0;border-radius:5px;align-items:center;gap:10px;margin-top:16px;padding:12px;display:flex}.connected-page span,.connected-page small{display:block}.connected-page small{color:#52826f;margin-top:2px}.backfill{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.backfill h3{margin:0 0 14px;font-size:13px}.integration-message{color:#14764f;background:#eaf7f0;border-radius:5px;margin-top:14px;padding:11px 13px;font-size:12px}.integration-message.error{color:#b23434;background:#fbecec}.team-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.member{text-align:center;padding:25px}.avatar.large{width:58px;height:58px;margin:0 auto 13px;font-size:16px}.member>p{color:var(--muted);margin:0 0 20px;font-size:12px}.member>div:last-child{border-top:1px solid var(--line);color:var(--muted);justify-content:space-around;padding-top:17px;font-size:11px;display:flex}.member span strong{color:#243445;font-size:18px;display:block}.wide{max-width:900px}.placeholder{text-align:center;padding:65px}.placeholder>span{width:58px;height:58px;color:var(--blue);background:#e8f0f6;border-radius:7px;place-items:center;margin:auto;display:grid}.placeholder h2{margin:17px 0 7px;font-size:17px}.placeholder p{color:var(--muted);font-size:13px}.modal-backdrop{z-index:50;background:#0c1725a6;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:7px;width:min(620px,100%);padding:23px}.modal-head{justify-content:space-between;margin-bottom:20px;display:flex}.modal-head p{color:var(--muted);margin:0;font-size:12px}.modal-actions{border-top:1px solid var(--line);grid-column:1/-1;justify-content:flex-end;gap:9px;margin-top:8px;padding-top:18px;display:flex}@media (width<=1050px){.metrics{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.nav{justify-content:start;overflow-x:auto}.integration-grid{grid-template-columns:1fr}.integration-card:first-child{grid-row:auto}.team-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.topbar{height:62px;padding:0 14px}.mobile-menu{display:grid}.brand small,.account-copy,.account>svg,.account>.icon-button:last-child{display:none}.nav{flex-direction:column;height:auto;padding:8px;display:none;position:fixed;top:62px;left:0;right:0}.nav.open{display:flex}.nav button{border:0;border-radius:5px;height:42px}.nav button.active{background:#eaf1f7}main{padding:22px 14px 40px}.page-title{align-items:start}.page-title h1{font-size:21px}.metrics{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.search{flex-basis:100%}.form-grid{grid-template-columns:1fr}.modal-actions{grid-column:auto}.team-grid{grid-template-columns:1fr}.pie-wrap{flex-direction:column}.pie-wrap>.recharts-responsive-container{width:100%!important}.legend{width:100%}}.auth-screen{background:#eef2f5;place-items:center;min-height:100vh;padding:20px;display:grid}.auth-card{border:1px solid var(--line);background:#fff;border-radius:7px;width:min(390px,100%);padding:35px;box-shadow:0 16px 50px #14253b14}.auth-card>.brand-mark{margin-bottom:20px}.auth-card h1{margin:0 0 6px;font-size:22px}.auth-card>p{color:var(--muted);margin:0 0 25px;font-size:13px}.auth-card form{gap:15px;display:grid}.auth-card label{color:#465667;font-size:12px;font-weight:700}.auth-card input{border:1px solid #ccd5dd;border-radius:5px;width:100%;height:42px;margin-top:6px;padding:0 11px}.auth-card .primary{width:100%;margin-top:5px}.auth-error{color:#b23434;background:#fbecec;border-radius:5px;padding:10px;font-size:12px}.import-panel{max-width:800px;padding:24px}.import-steps{align-items:center;gap:13px;margin-bottom:22px;display:flex}.import-steps>span{width:32px;height:32px;color:var(--blue);background:#e2eff8;border-radius:50%;place-items:center;font-weight:800;display:grid}.import-steps h2{margin:0 0 4px;font-size:14px}.import-steps p{color:var(--muted);margin:0;font-size:12px}.drop-zone{color:#617386;cursor:pointer;background:#f8fafb;border:2px dashed #b9c8d5;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;min-height:190px;display:flex}.drop-zone:hover{border-color:var(--blue);background:#f2f7fb}.drop-zone svg{color:var(--blue);margin-bottom:12px}.drop-zone strong{color:#2d4052;font-size:14px}.drop-zone small{margin-top:5px}.drop-zone input{display:none}.import-preview{border:1px solid var(--line);background:#f7f9fb;border-radius:5px;margin-top:17px;padding:14px;font-size:12px}.import-preview>strong{margin-bottom:8px;display:block}.import-preview span,.import-preview em{display:block}.import-preview em{color:var(--muted);padding:4px 0;font-style:normal}
