:root{--forest:#073f36;--forest-2:#0d5145;--green:#17ae7d;--green-soft:#e6f7f1;--ink:#15332e;--muted:#758681;--line:#e4ebe8;--bg:#f1f5f4;--white:#fff;--shadow:0 12px 32px rgba(18,65,55,.07);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:linear-gradient(180deg,#073f36,#06372f);color:#fff;padding:28px 17px 20px;display:flex;flex-direction:column;z-index:30}.brand{height:54px;display:flex;align-items:center;gap:12px;padding:0 11px;margin-bottom:30px}.brand-mark{width:38px;height:38px;border:1px solid rgba(255,255,255,.5);border-radius:13px;display:grid;place-items:center;font-family:Georgia,serif;font-size:25px;font-style:italic;background:rgba(255,255,255,.08)}.brand div:last-child{display:flex;align-items:baseline;gap:5px}.brand strong{font-family:Georgia,serif;font-size:25px;font-weight:500;letter-spacing:.3px}.brand span{color:#8dcbb8;font-size:11px;font-weight:700;letter-spacing:1.5px}.main-nav{display:flex;flex-direction:column;gap:5px}.nav-item{border:0;background:transparent;color:#a9c6bd;display:flex;align-items:center;gap:13px;width:100%;height:47px;border-radius:12px;padding:0 14px;text-align:left;transition:.2s}.nav-item svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav-item span{flex:1}.nav-item b{font-size:10px;background:#198a6b;color:#fff;border-radius:12px;min-width:24px;padding:4px 7px;text-align:center}.nav-item:hover,.nav-item.active{background:rgba(255,255,255,.11);color:#fff}.nav-item.active{box-shadow:inset 3px 0 #46d3a4}.sidebar-bottom{margin-top:auto}.user-card{border-top:1px solid rgba(255,255,255,.12);padding:20px 7px 0;display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:750;letter-spacing:.2px}.avatar-admin{background:linear-gradient(135deg,#36b48a,#186e5c)}.user-card>div:nth-child(2){min-width:0;flex:1}.user-card strong,.user-card span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-card strong{font-size:12px}.user-card span{font-size:10px;color:#8fb6aa;margin-top:3px}.user-card button,.more{background:transparent;border:0;color:inherit;padding:4px}.user-card svg,.more svg{width:18px;height:18px}.main{margin-left:244px;min-width:0;width:calc(100% - 244px)}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:20}.global-search{height:42px;width:min(430px,43vw);display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#f8faf9;border-radius:11px;padding:0 12px}.global-search svg,.table-search svg{width:18px;height:18px;fill:none;stroke:#8a9a96;stroke-width:2;stroke-linecap:round}.global-search input,.table-search input{border:0;outline:0;background:transparent;color:var(--ink);width:100%}.global-search input::placeholder,.table-search input::placeholder{color:#9ba8a5}.global-search kbd{border:1px solid #dae2df;background:#fff;border-radius:5px;color:#8c9a96;font-size:10px;padding:3px 6px}.top-actions,.heading-actions{display:flex;align-items:center;gap:11px}.icon-button{width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:11px;display:grid;place-items:center;position:relative}.icon-button svg{width:19px;height:19px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round}.icon-button i{position:absolute;right:10px;top:9px;width:6px;height:6px;border-radius:50%;background:#fb724e;border:1px solid #fff}.primary-button,.secondary-button{height:42px;padding:0 17px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;font-weight:700;font-size:13px}.primary-button{background:var(--forest);color:#fff;box-shadow:0 6px 16px rgba(7,63,54,.15)}.primary-button:hover{background:var(--forest-2);transform:translateY(-1px)}.secondary-button{background:#fff;color:var(--ink);border-color:var(--line)}.primary-button svg,.secondary-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.content{padding:30px 34px 50px;max-width:1700px;margin:auto}.view{display:none;animation:fade .25s ease}.view.active{display:block}@keyframes fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.page-heading.compact{align-items:center}.eyebrow{font-size:10px;color:#7b8e88;letter-spacing:1.6px;font-weight:800;margin:0 0 7px}.page-heading h1{font-size:29px;line-height:1.1;margin:0 0 7px;letter-spacing:-.8px}.page-heading h1 span{font-size:24px}.page-heading>div>p:last-child{margin:0;color:var(--muted)}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:16px}.panel,.metric-card{background:#fff;border:1px solid #e5ece9;border-radius:var(--radius);box-shadow:var(--shadow)}.metric-card{padding:18px 19px}.metric-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.metric-icon{width:37px;height:37px;border-radius:11px;display:grid;place-items:center}.metric-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.metric-icon.green{background:#e6f7f1;color:#0ca276}.metric-icon.cyan{background:#e8f7f7;color:#158f97}.metric-icon.amber{background:#fff3e4;color:#e38a22}.metric-icon.violet{background:#f1ecfb;color:#7956c6}.trend{font-size:10px;font-weight:800;border-radius:20px;padding:5px 8px}.trend.up{background:#e9f8f2;color:#17936e}.trend.down{background:#fff1ed;color:#db674b}.metric-card>p{color:#70817c;margin:0 0 5px;font-size:12px}.metric-value{display:flex;align-items:baseline;gap:8px}.metric-value strong{font-size:27px;letter-spacing:-.8px}.metric-value span{font-size:10px;color:#9aa7a3}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.8fr);gap:16px;margin-bottom:16px}.panel{padding:21px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-head h2{font-size:15px;margin:0 0 5px}.panel-head p{font-size:11px;color:var(--muted);margin:0}.legend{display:flex;gap:15px;font-size:10px;color:#71827d}.legend span{display:flex;align-items:center;gap:6px}.line-dot{width:16px;height:3px;border-radius:2px;display:inline-block}.line-dot.received{background:#15936e}.line-dot.converted{background:#9dd7c5}.chart-wrap{position:relative;height:245px;margin:19px 5px 0 35px}.chart-y{position:absolute;left:-35px;top:0;height:220px;display:flex;flex-direction:column;justify-content:space-between;color:#98a6a2;font-size:9px}.line-chart{width:100%;height:220px;overflow:visible}.grid-lines path{fill:none;stroke:#e8eeec;stroke-width:1;stroke-dasharray:4 5}.chart-area{fill:url(#area)}.line{fill:none;stroke-width:2.2;vector-effect:non-scaling-stroke}.line.received{stroke:#15936e}.line.converted{stroke:#9bd8c4}.point{fill:#fff;stroke:#148e6c;stroke-width:3}.tooltip rect{fill:#083f36}.tooltip text{fill:#fff;font-size:9px}.tooltip text:last-child{fill:#89d8bd;font-weight:700}.chart-x{display:flex;justify-content:space-between;font-size:9px;color:#98a6a2;padding-top:4px}.more{color:#8b9996}.source-panel{display:flex;flex-direction:column}.donut-area{display:flex;align-items:center;gap:25px;margin:21px 0}.donut{width:128px;height:128px;flex:none;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#17a77a 0 52%,#68c9ad 52% 82%,#b9e4d7 82% 100%);position:relative}.donut:after{content:"";position:absolute;width:78px;height:78px;border-radius:50%;background:#fff}.donut div{position:relative;z-index:1;text-align:center}.donut strong,.donut span{display:block}.donut strong{font-size:23px}.donut span{font-size:9px;color:var(--muted)}.source-list{flex:1}.source-list>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf1f0;font-size:11px}.source-list>div:last-child{border:0}.source-list span{display:flex;align-items:center;gap:7px;color:#61736e}.source-list b{font-size:11px}.source-list small{color:#97a49f;font-weight:500;margin-left:3px}.source-dot{width:8px;height:8px;border-radius:3px}.source-dot.whatsapp{background:#17a77a}.source-dot.instagram{background:#68c9ad}.source-dot.facebook{background:#b9e4d7}.source-note{margin-top:auto;background:#eef8f5;border-radius:12px;padding:11px 13px;display:flex;align-items:center;gap:10px}.source-note>span{width:28px;height:28px;border-radius:9px;background:#fff;color:#16a177;display:grid;place-items:center;font-weight:bold}.source-note p{margin:0;color:#6c7f79;font-size:10px;line-height:1.5}.source-note strong{color:#176c58}.qualification-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.qual-card{border-radius:16px;padding:15px 16px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;gap:13px;box-shadow:var(--shadow);position:relative;overflow:hidden}.qual-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:currentColor}.qual-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;font-size:19px;background:currentColor}.qual-icon::first-line{color:#fff}.qual-card>div{color:var(--ink)}.qual-card strong{font-size:19px;float:right;margin-left:9px}.qual-card h3{font-size:12px;margin:1px 0 3px}.qual-card p{font-size:9px;margin:0;color:#879590}.qual-arrow{margin-left:auto;color:#9aaaa5}.qual-card.hot{color:#14a66f}.qual-card.hot .qual-icon{color:#e7f8f1}.qual-card.warm{color:#f07a25}.qual-card.warm .qual-icon{color:#fff2e8}.qual-card.cold{color:#71829a}.qual-card.cold .qual-icon{color:#edf1f6}.qual-card.closed{color:#9a72c7}.qual-card.closed .qual-icon{color:#f3edfa}.leads-panel{padding-bottom:9px}.leads-head{align-items:center}.text-button{border:0;background:transparent;color:#158c6c;font-weight:700;font-size:11px;display:flex;align-items:center;gap:5px}.text-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:19px 0 10px}.table-search{height:39px;min-width:280px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:0 11px;background:#fbfcfc}.table-search.wide{width:min(480px,100%)}.filter-group{display:flex;align-items:center;gap:5px}.filter-chip,.filter-button{height:34px;border:1px solid transparent;background:#fff;border-radius:8px;padding:0 11px;color:#70817c;font-size:10px}.filter-chip:hover,.filter-chip.active{background:#eaf6f2;color:#117a5f;font-weight:700}.filter-button{border-color:var(--line);display:flex;align-items:center;gap:6px}.filter-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.table-scroll{overflow:auto}.leads-table{width:100%;border-collapse:collapse;min-width:790px}.leads-table th{text-align:left;color:#899793;font-size:9px;text-transform:uppercase;letter-spacing:.5px;font-weight:700;padding:11px 12px;border-bottom:1px solid var(--line)}.leads-table td{padding:12px;border-bottom:1px solid #edf1ef;font-size:11px;vertical-align:middle}.leads-table tbody tr:last-child td{border:0}.leads-table tbody tr:hover{background:#fafcfb}.lead-person{display:flex;align-items:center;gap:10px;min-width:170px}.lead-person strong,.lead-person span{display:block}.lead-person strong{font-size:11px;margin-bottom:3px}.lead-person span{font-size:9px;color:#8b9995}.avatar-1{background:linear-gradient(135deg,#f1a45f,#bf5b61)}.avatar-2{background:linear-gradient(135deg,#60adc7,#365e8c)}.avatar-3{background:linear-gradient(135deg,#9e85d0,#5a4a9c)}.avatar-4{background:linear-gradient(135deg,#6cc49c,#31795d)}.avatar-5{background:linear-gradient(135deg,#e6b85d,#b2684c)}.avatar-6{background:linear-gradient(135deg,#d985a0,#8b4965)}.avatar-7{background:linear-gradient(135deg,#7daae2,#5168a6)}.avatar-8{background:linear-gradient(135deg,#a6c66f,#5f803a)}.channel{display:inline-flex;align-items:center;gap:6px}.channel-logo{width:23px;height:23px;border-radius:8px;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:800}.channel-logo.whatsapp{background:#1caf78}.channel-logo.instagram{background:linear-gradient(135deg,#654ec3,#e5528b,#f0a151)}.channel-logo.facebook{background:#3477d3}.status-select{border:0;border-radius:20px;padding:7px 9px 7px 26px;font-weight:750;font-size:9px;appearance:none;background-repeat:no-repeat;background-position:9px center;background-size:10px;cursor:pointer}.status-select.hot{background-color:#e6f8f0;color:#11845f;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2311845f' d='M11 1c1 5-3 5-1 9 1-2 3-2 3-5 3 3 4 6 3 9-1 4-4 5-7 5-4 0-7-3-7-7 0-3 2-6 5-8-1 4 1 5 2 5-1-4 2-5 2-8Z'/%3E%3C/svg%3E")}.status-select.warm{background-color:#fff0e5;color:#dc6b1d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='6' fill='none' stroke='%23dc6b1d' stroke-width='3'/%3E%3C/svg%3E")}.status-select.cold{background-color:#eef1f5;color:#63748d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ctext x='2' y='15' font-size='15' fill='%2363748d'%3E%E2%9D%84%3C/text%3E%3C/svg%3E")}.status-select.new{background-color:#e9f3fb;color:#3279aa;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='6' fill='%233279aa'/%3E%3C/svg%3E")}.status-select.closed{background-color:#f4eef9;color:#825da8;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 4l12 12M16 4L4 16' stroke='%23825da8' stroke-width='3'/%3E%3C/svg%3E")}.owner{display:flex;align-items:center;gap:7px}.owner .avatar{width:25px;height:25px;font-size:8px}.owner span{color:#62736e}.time-cell strong,.time-cell span{display:block}.time-cell strong{font-weight:600}.time-cell span{font-size:9px;color:#9aa6a2;margin-top:3px}.action-menu{border:0;background:transparent;color:#8b9995}.action-menu svg{width:18px;height:18px}.empty-state{text-align:center;padding:40px}.empty-state span{font-size:33px;color:#b0beb9}.empty-state h3{margin:8px 0}.empty-state p{color:var(--muted)}.full-list{padding-bottom:10px}.full-list select,#leadStatusFilter{height:39px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 34px 0 12px;color:#5f716c}.pipeline-board{display:grid;grid-template-columns:repeat(4,minmax(245px,1fr));gap:14px;overflow:auto;padding-bottom:8px}.pipeline-column{background:#e9efed;border-radius:16px;padding:12px;min-height:560px}.pipeline-column.drag-over{outline:2px dashed #20ad7d;outline-offset:-4px}.pipeline-head{display:flex;align-items:center;justify-content:space-between;padding:5px 3px 13px}.pipeline-title{display:flex;align-items:center;gap:8px}.pipeline-title i{width:8px;height:8px;border-radius:50%;background:#6bbba3}.pipeline-title h2{font-size:12px;margin:0}.pipeline-head span{font-size:10px;color:#72827e;background:#fff;padding:4px 7px;border-radius:10px}.pipeline-sum{font-size:10px;color:#83918d;margin:0 3px 10px}.deal-card{background:#fff;border:1px solid #dfe7e4;border-radius:13px;padding:14px;margin-bottom:9px;box-shadow:0 5px 15px rgba(26,70,61,.04);cursor:grab}.deal-card:active{cursor:grabbing}.deal-card.dragging{opacity:.45}.deal-card .lead-person{margin-bottom:12px}.deal-card>p{font-size:10px;color:#6d7e79;line-height:1.5;margin:0 0 11px}.deal-footer{display:flex;align-items:center;justify-content:space-between}.deal-value{font-weight:800;color:#155d4e;font-size:11px}.deal-age{font-size:9px;color:#93a09c}.online-pill{background:#e8f8f2;color:#158360;border-radius:20px;padding:8px 12px;font-size:10px;font-weight:700}.online-pill i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#27b383;margin-right:6px}.inbox-layout{display:grid;grid-template-columns:300px minmax(390px,1fr) 250px;gap:14px;height:calc(100vh - 190px);min-height:570px}.conversation-list,.chat-window,.contact-detail{padding:0;overflow:hidden}.conversation-list>.table-search{margin:14px;width:calc(100% - 28px);min-width:0}.conversation-item{padding:13px 14px;display:flex;gap:10px;border-top:1px solid #edf1ef;cursor:pointer}.conversation-item:hover,.conversation-item.active{background:#edf8f4}.conversation-item .avatar{position:relative}.conversation-text{min-width:0;flex:1}.conversation-text>div{display:flex;justify-content:space-between}.conversation-text strong{font-size:11px}.conversation-text time{font-size:8px;color:#95a19e}.conversation-text p{font-size:9px;color:#7d8c88;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:5px 0 0}.conversation-item .unread{width:18px;height:18px;border-radius:50%;background:#18a979;color:#fff;font-size:8px;display:grid;place-items:center;margin-top:14px}.chat-window{display:flex;flex-direction:column}.chat-head{height:68px;border-bottom:1px solid var(--line);padding:13px 17px;display:flex;align-items:center;justify-content:space-between}.chat-head .lead-person{min-width:0}.chat-actions{display:flex;gap:7px}.chat-actions button{width:33px;height:33px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#536963}.chat-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}.messages{flex:1;padding:19px;overflow:auto;background:#f8faf9}.message{max-width:72%;padding:10px 12px;border-radius:13px;margin-bottom:10px;font-size:10px;line-height:1.5}.message.received{background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px}.message.sent{margin-left:auto;background:#dff3ec;color:#164d40;border-bottom-right-radius:4px}.message time{display:block;text-align:right;font-size:8px;color:#8a9995;margin-top:4px}.reply-box{height:70px;border-top:1px solid var(--line);padding:12px;display:flex;gap:9px}.reply-box input{flex:1;border:1px solid var(--line);border-radius:10px;padding:0 12px;outline:none}.reply-box button{width:43px;border:0;border-radius:10px;background:var(--forest);color:#fff}.reply-box svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.contact-detail{padding:18px}.contact-profile{text-align:center;border-bottom:1px solid var(--line);padding-bottom:17px}.contact-profile .avatar{width:58px;height:58px;margin:auto;font-size:16px}.contact-profile h3{margin:9px 0 4px}.contact-profile p{margin:0;color:var(--muted);font-size:9px}.detail-list{padding-top:13px}.detail-list div{margin-bottom:13px}.detail-list span,.detail-list strong{display:block}.detail-list span{font-size:8px;text-transform:uppercase;color:#93a09d;margin-bottom:4px;letter-spacing:.5px}.detail-list strong{font-size:10px;font-weight:600}.tasks-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.task-column{min-height:500px;background:#f7f9f8}.task-column-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.task-column-head h2{font-size:13px;margin:0}.task-column-head span{font-size:9px;background:#e8efed;padding:4px 7px;border-radius:10px}.task-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;margin-bottom:9px;display:flex;gap:10px}.task-check{width:18px;height:18px;border:1.5px solid #a9b8b3;border-radius:6px;flex:none;background:#fff}.task-card.done{opacity:.65}.task-card.done .task-check{background:#18a879;border-color:#18a879;color:#fff}.task-card.done .task-check:after{content:"✓"}.task-card.done strong{text-decoration:line-through}.task-content{flex:1}.task-content strong{font-size:11px;display:block;margin-bottom:5px}.task-content p{font-size:9px;color:#7c8c87;margin:0 0 9px}.task-meta{display:flex;align-items:center;justify-content:space-between}.task-meta span{font-size:8px;color:#8e9b97}.task-meta .avatar{width:22px;height:22px;font-size:7px}.contacts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.contact-card{padding:19px}.contact-card-head{display:flex;justify-content:space-between;align-items:flex-start}.contact-card .lead-person .avatar{width:45px;height:45px}.contact-card .lead-person strong{font-size:13px}.contact-stats{display:grid;grid-template-columns:1fr 1fr;margin-top:18px;border-top:1px solid var(--line);padding-top:14px}.contact-stats span,.contact-stats strong{display:block}.contact-stats span{font-size:8px;color:#899793;text-transform:uppercase;margin-bottom:4px}.contact-stats strong{font-size:12px}.report-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.report-highlight{grid-column:span 2}.report-highlight>span{font-size:10px;color:#778985}.report-highlight strong{display:block;font-size:26px;margin:10px 0 7px}.report-highlight p{font-size:9px;color:#15936d;margin:0}.report-wide{grid-column:span 3;min-height:260px}.bar-report{margin-top:23px}.bar-report>div{display:grid;grid-template-columns:80px 1fr 45px;align-items:center;gap:10px;margin-bottom:19px;font-size:10px}.bar-report i{height:8px;border-radius:5px;background:#e9efed;overflow:hidden}.bar-report b{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#158d6c,#4bc49d)}.loss-list{margin-top:20px}.loss-list div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.settings-layout{display:grid;grid-template-columns:220px minmax(0,650px);gap:16px}.settings-nav{display:flex;flex-direction:column;gap:5px}.settings-nav button{border:0;background:transparent;text-align:left;padding:12px 13px;border-radius:9px;color:#687a75}.settings-nav button.active{background:#fff;color:#126e58;font-weight:700;box-shadow:var(--shadow)}.integrations>h2{font-size:15px;margin:0 0 5px}.integrations>p{color:var(--muted);font-size:11px;margin:0 0 18px}.integration-card{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:15px 2px}.integration-card .channel-logo{width:38px;height:38px;border-radius:11px}.integration-card>div{flex:1}.integration-card strong{font-size:11px}.integration-card p{font-size:9px;color:var(--muted);margin:3px 0 0}.connection{font-size:9px;border-radius:12px;padding:6px 9px}.connection.pending{background:#eef3f1;color:#6f817c}.automation-title{margin-top:20px!important}.toggle-row{display:flex;align-items:center;gap:15px;border-top:1px solid var(--line);padding:15px 2px;position:relative}.toggle-row>span{flex:1}.toggle-row strong,.toggle-row small{display:block}.toggle-row strong{font-size:11px}.toggle-row small{color:var(--muted);margin-top:3px}.toggle-row input{display:none}.toggle-row>i{width:38px;height:22px;border-radius:20px;background:#cad5d1;position:relative;transition:.2s}.toggle-row>i:after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;left:3px;top:3px;transition:.2s}.toggle-row input:checked+i{background:#19a779}.toggle-row input:checked+i:after{transform:translateX(16px)}.modal-backdrop{position:fixed;inset:0;background:rgba(4,35,30,.48);backdrop-filter:blur(3px);display:grid;place-items:center;z-index:100;opacity:0;pointer-events:none;transition:.2s;padding:20px}.modal-backdrop.open{opacity:1;pointer-events:auto}.modal{width:min(540px,100%);background:#fff;border-radius:20px;padding:23px;box-shadow:0 30px 70px rgba(0,0,0,.2);transform:translateY(15px);transition:.2s}.modal-backdrop.open .modal{transform:none}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.modal-head h2{margin:0;font-size:21px}.modal form>label,.form-row label{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:700;color:#536761;margin-bottom:13px}.modal input,.modal select,.modal textarea{border:1px solid var(--line);border-radius:10px;padding:11px 12px;outline:none;background:#fbfcfc;color:var(--ink)}.modal input:focus,.modal select:focus,.modal textarea:focus{border-color:#4ab897;box-shadow:0 0 0 3px #e7f6f1}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:5px}.toast{position:fixed;right:28px;bottom:28px;background:#083f36;color:#fff;border-radius:12px;padding:12px 16px;display:flex;align-items:center;gap:9px;z-index:120;box-shadow:0 12px 28px rgba(0,0,0,.15);transform:translateY(30px);opacity:0;pointer-events:none;transition:.25s}.toast.show{transform:none;opacity:1}.toast span{width:23px;height:23px;border-radius:50%;background:#28ae82;display:grid;place-items:center}.toast p{margin:0;font-size:11px}.mobile-menu{display:none}.mobile-overlay{display:none}
@media(max-width:1250px){.metrics-grid{grid-template-columns:repeat(2,1fr)}.qualification-row{grid-template-columns:repeat(2,1fr)}.inbox-layout{grid-template-columns:270px 1fr}.contact-detail{display:none}.contacts-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:none}.main{margin-left:0;width:100%}.mobile-menu{display:flex;width:38px;height:38px;border:0;background:transparent;flex-direction:column;justify-content:center;gap:4px}.mobile-menu span{display:block;width:20px;height:2px;background:var(--ink)}.mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.25);z-index:25}.mobile-overlay.show{display:block}.dashboard-grid{grid-template-columns:1fr}.source-panel{min-height:270px}.topbar{padding:0 20px}.content{padding:25px 20px 40px}.global-search{margin-right:auto;margin-left:10px}.pipeline-board{grid-template-columns:repeat(4,270px)}.tasks-grid{grid-template-columns:1fr}.report-highlight{grid-column:span 3}.settings-layout{grid-template-columns:180px 1fr}}
@media(max-width:720px){.global-search{display:none}.topbar{height:66px}.top-actions .primary-button{display:none}.content{padding:21px 13px 35px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.heading-actions .secondary-button{display:none}.metrics-grid{gap:10px}.metric-card{padding:15px}.metric-value strong{font-size:23px}.qualification-row{grid-template-columns:1fr 1fr;gap:10px}.qual-card{padding:12px}.qual-card strong{font-size:16px}.table-toolbar{align-items:stretch;flex-direction:column}.table-search{min-width:0;width:100%}.filter-group{overflow:auto;padding-bottom:3px}.filter-chip{white-space:nowrap}.inbox-layout{grid-template-columns:1fr;height:auto}.conversation-list{max-height:320px}.chat-window{min-height:520px}.contacts-grid{grid-template-columns:1fr}.report-grid{grid-template-columns:1fr}.report-highlight,.report-wide{grid-column:span 1}.settings-layout{grid-template-columns:1fr}.settings-nav{flex-direction:row;overflow:auto}.settings-nav button{white-space:nowrap}.form-row{grid-template-columns:1fr}.donut-area{justify-content:center}.source-list{max-width:220px}.chart-wrap{margin-left:30px}.legend{display:none}.page-heading.compact{align-items:flex-start}.page-heading.compact>.primary-button,.page-heading.compact>.secondary-button{margin-left:12px;white-space:nowrap}}
@media(max-width:470px){.metrics-grid{grid-template-columns:1fr 1fr}.metric-card{min-width:0}.metric-value{display:block}.metric-value span{display:block;margin-top:3px}.qualification-row{grid-template-columns:1fr}.heading-actions .primary-button{padding:0 12px}.donut-area{gap:14px}.donut{width:110px;height:110px}.source-panel{padding:17px}.page-heading>div>p:last-child{font-size:12px}.toast{left:13px;right:13px;bottom:13px}}
.qual-card.hot .qual-icon{background:#e7f8f1;color:#14a66f}.qual-card.warm .qual-icon{background:#fff2e8;color:#f07a25}.qual-card.cold .qual-icon{background:#edf1f6;color:#71829a}.qual-card.closed .qual-icon{background:#f3edfa;color:#9a72c7}
