@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#202941;--muted:#8994a8;--page:#f5f7fb;--line:#edf0f5;--brand:#5265d8;--nav:#121d39;--white:#fff;--green:#159f83;--radius:15px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'DM Sans','Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--page)}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}.shell{min-height:100vh;display:flex}.sidebar{width:242px;min-width:242px;background:var(--nav);color:#c0c8df;padding:31px 16px 26px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;margin:0 8px 49px}.brand-icon{width:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;background:#5367d9;border-radius:13px;color:#fff;font-family:Manrope,sans-serif;font-weight:800;font-size:23px;transform:rotate(-4deg)}.brand strong{color:#fff;font-family:Manrope,sans-serif;font-size:22px;letter-spacing:-1px}.brand small{display:block;color:#a4aed1;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;margin-top:-2px}.brand-dot{color:#7da7ff}.nav-title{font-size:10px;letter-spacing:1.8px;color:#677598;font-weight:800;padding:0 17px;margin:0 0 14px}.nav{display:flex;align-items:center;gap:13px;padding:13px 17px;font-size:13px;font-weight:600;color:#aab6cf;border-radius:9px;margin-bottom:6px}.nav>span{font-size:21px;line-height:0;width:22px;text-align:center;font-weight:400}.nav:hover{background:#253354;color:#fff}.nav.active{background:#33436c;color:#fff}.nav-title:not(:first-of-type){margin-top:31px}.sidebar-bottom{margin-top:auto;color:#afbbd0;border-top:1px solid #2a3550;padding:22px 9px 0;font-size:12px}.sidebar-bottom small{display:block;margin:5px 0 0 17px;color:#7e8bab}.online-dot{display:inline-block;background:#31cc9d;width:7px;height:7px;border-radius:100%;margin-right:5px}.main{flex:1;min-width:0}.topbar{height:78px;background:#fff;border-bottom:1px solid #eceff4;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.crumb{font-size:12px;color:#96a2b6;font-weight:600}.account{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700}.avatar,.initial{display:inline-flex;align-items:center;justify-content:center;background:#e5e9ff;border-radius:50%;width:31px;height:31px;color:#5967bf;font-weight:800}.link-button{background:none;border:0;color:#8792a5;margin-left:4px;padding:5px}.link-button:hover{text-decoration:underline}.main-content{padding:35px 39px 65px;max-width:1550px;margin:auto}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:29px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#6675b1;margin:0 0 11px}.page-title-row h1,h1{font-family:Manrope,sans-serif;font-size:26px;font-weight:800;letter-spacing:-1px;margin:0 0 7px;color:#1e2944}.muted{color:var(--muted)!important}.page-title-row p.muted{font-size:12.5px;margin:0}.wave{color:#f0aa61}.btn{border:1px solid #e7ebf3;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 18px;min-height:39px;border-radius:8px;background:#fff;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 1px 2px #101f4311}.btn.primary{background:#5265d8;border-color:#5265d8;color:#fff}.btn.dark{background:#263655;border-color:#263655;color:#fff}.btn.light{background:#fff;color:#4c5b76}.btn:hover:not(:disabled){filter:brightness(.97)}.btn.tiny{min-height:31px;padding:6px 10px;font-size:11px}.button-row{display:flex;gap:10px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:21px}.stat-card,.panel,.insights{background:#fff;border:1px solid #e9edf5;border-radius:var(--radius);box-shadow:0 4px 20px #21345207}.stat-card{padding:24px 22px 25px}.stat-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;color:#72809a;gap:8px}.stat-ico{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:22px}.lavender{background:#f0edff;color:#8169dd}.blue{background:#eaf1ff;color:#6193da}.green{background:#e5faf2;color:#1ba982}.orange{background:#fff2e5;color:#ec9d4e}.stat-card>strong{font-family:Manrope,sans-serif;font-size:32px;font-weight:800;letter-spacing:-1.1px;display:block;margin-top:14px}.stat-card>small{display:block;color:#a0a9b9;font-size:11px;margin-top:4px}.insights{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(220px,1fr);margin-bottom:31px;overflow:hidden}.insights>div:first-child{padding:27px 30px}.insights h2,h2{font-family:Manrope,sans-serif;font-size:16px;font-weight:800;margin:0 0 6px}.insights p.muted{font-size:12px;margin:0 0 20px}.pipeline-bar{height:11px;border-radius:10px;background:#ecf0f5;display:flex;gap:3px;overflow:hidden}.pipeline-bar>div{height:100%}.legend{display:flex;gap:23px;margin-top:16px;flex-wrap:wrap}.legend span{font-size:11px;color:#7d8aa0}.legend span:nth-child(1){color:#159b80}.legend span:nth-child(2){color:#7071dc}.legend span:nth-child(3){color:#d89b54}.insight-right{background:#f1f5ff;padding:25px 32px;display:flex;flex-direction:column;align-items:flex-start}.indicator{width:36px;height:36px;border-radius:11px;background:#dce6ff;color:#586cce;font-size:23px;text-align:center}.insight-right strong{font-family:Manrope,sans-serif;font-size:33px;margin-top:10px}.insight-right span{font-size:12px;font-weight:800}.insight-right small{color:#8494b4;line-height:1.7;font-size:10.5px;margin-top:11px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-head p{font-size:12px;margin:6px 0 0}.text-link,.arrow-link,.back-link{color:#5368cd;font-size:12px;font-weight:800}.panel{overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid #eff1f6;font-size:12px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:20px 20px 15px;color:#a4afc2;font-size:9.5px;letter-spacing:1px;font-weight:800;white-space:nowrap}td{padding:15px 20px;border-top:1px solid #f0f3f7;font-size:11.5px;white-space:nowrap}tbody tr:hover{background:#fafbff}td small{display:block;color:#a8b1c1;margin-top:4px}.name-row{display:flex;align-items:center;gap:12px}.name-row strong{font-size:12px}.initial{flex-shrink:0;width:33px;height:33px;border-radius:10px;background:#edf0fa;color:#6477ba}.name-row small{display:block;font-size:10.5px;color:#9da9bb;margin-top:4px}.status{display:inline-flex;border-radius:25px;padding:5px 9px;font-size:10px;font-weight:800;white-space:nowrap;background:#f0f1f5;color:#7a8799}.status-qualified,.status-won,.status-sent{background:#dff9ee;color:#199c74}.status-potential,.status-quoted{background:#e8edff;color:#6378c8}.status-unqualified,.status-lost,.status-failed{background:#fff0ea;color:#d38459}.status-review,.status-pending{background:#fff7df;color:#b68b2d}.source{display:inline-flex;border:1px solid #e6eaf2;border-radius:6px;padding:5px 8px;color:#8f9bae;font-size:10px;font-weight:700}.empty{text-align:center;padding:45px 20px;color:#9da8b9}.notice{padding:13px 16px;border-radius:9px;font-size:12px;margin:0 0 21px;background:#e1f7ee;color:#177e5a;border:1px solid #c2ebd9}.notice.error{background:#fff0ef;color:#b44f48;border-color:#ffc9c5}.notice.warning{background:#fff8e6;color:#96621a;border-color:#f7dfac}.filter-panel{margin-bottom:18px;padding:17px}.filter{display:flex;align-items:center;gap:12px}.filter input{min-width:220px;flex:1}.filter select{min-width:160px}.form-panel{padding:24px 27px;margin-bottom:18px}.form-panel .panel-heading{margin:-24px -27px 23px}.form-panel h2{margin-bottom:16px}.form-panel form label,.login-card form label{display:block;font-size:12px;font-weight:800;margin:0 0 20px}.form-panel input,.form-panel select,.form-panel textarea,.filter input,.filter select,.login-card input{display:block;width:100%;border:1px solid #e1e6f0;outline:0;border-radius:9px;margin-top:9px;background:#fff;color:#25314b;padding:12px 13px;font-size:12.5px;min-height:41px;box-shadow:0 1px 1px #171b2405}.form-panel input:focus,.form-panel select:focus,.form-panel textarea:focus,.filter input:focus,.login-card input:focus{border-color:#6d7cea;box-shadow:0 0 0 3px #5265d811}.form-panel textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eff2f6;margin-top:17px;padding-top:19px}.hint{font-size:11.5px;line-height:1.7;color:#8794a9;background:#f7f9fd;border-radius:8px;padding:13px 15px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:19px}.left-stack,.right-stack{min-width:0}.right-stack .form-panel h2{margin-bottom:19px}.kv{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #f0f2f6;padding:13px 0;font-size:11.5px}.kv span{color:#8694aa}.kv strong{font-size:11px;text-align:right;overflow-wrap:anywhere}.text-green{color:#11a180!important}.text-orange{color:#dc9758!important}.message{background:#f9faff;border:1px solid #edf0f9;border-radius:10px;padding:14px 16px;margin-top:12px}.message-top{display:flex;justify-content:space-between;font-size:10px}.message-top span{color:#98a5b9}.message p{font-size:12px;line-height:1.7;margin:10px 0 0;white-space:normal;overflow-wrap:anywhere}.event-item{padding:12px 0;display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #ecf0f4}.event-item strong{font-size:12px}.event-item small{display:block;color:#a1a9b6;font-size:10px;margin-top:5px}.integration-note{padding:15px;margin-top:18px;border-radius:8px;background:#f8f9fc;font-size:11px;color:#7d8ba3}.dot{display:inline-block;height:7px;width:7px;border-radius:50%;background:#e4aa52;margin-right:6px}.dot.green{background:#1aae82}.response{overflow:auto;white-space:pre-wrap;font-size:11px;background:#f2f4fa;padding:12px}.upload{min-height:174px;border:2px dashed #d6def0;border-radius:12px;display:flex!important;align-items:center;justify-content:center;flex-direction:column;color:#7c8ba3;background:#fafbff;padding:24px}.upload>span{font-size:30px;color:#5265d8}.upload>strong{margin:8px 0 3px}.upload>small{font-size:11px}.upload input{max-width:270px}.rule-step{display:flex;gap:13px;margin:19px 0}.rule-step>span{width:28px;height:28px;flex-shrink:0;background:#edf0ff;color:#5769d1;border-radius:9px;display:flex;justify-content:center;align-items:center;font-weight:800;font-size:12px}.rule-step strong{font-size:12px}.rule-step p{font-size:11px;line-height:1.7;color:#98a3b7;margin:4px 0}.login-frame{min-height:100vh;background:radial-gradient(circle at top right,#e6edff,#f7f9fc 50%);display:flex;align-items:center;justify-content:center;padding:25px}.login-card{width:100%;max-width:420px;padding:38px 39px 34px;border:1px solid #e6ebf5;border-radius:22px;background:#fff;box-shadow:0 20px 70px #1b2e5415}.login-card .brand{margin:0 0 30px}.login-card .brand strong{color:#1c2a49}.login-card .brand small{color:#8494b0}.login-card h1{font-size:25px}.login-card p.muted{font-size:12px;margin:9px 0 27px}.login-card form label{margin-bottom:17px}.login-card .wide{width:100%;margin-top:9px;min-height:46px}.footnote{font-size:10px;text-align:center;color:#9cabbb;margin-top:26px}.login-card .eyebrow{margin-top:16px}
@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(2,1fr)}.main-content{padding:30px 24px}.topbar{padding:0 24px}.detail-grid{grid-template-columns:1fr}.sidebar{width:200px;min-width:200px}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:13px;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px}.sidebar .brand{width:100%;margin:0 0 7px 5px}.sidebar .nav-title,.sidebar-bottom{display:none}.sidebar .nav{padding:8px 10px;font-size:11px;margin:0}.sidebar .nav>span{display:none}.main-content{padding:22px 13px}.topbar{height:58px;padding:0 14px}.account{font-size:10px}.page-title-row{align-items:flex-start;flex-direction:column}.page-title-row h1{font-size:23px}.stat-grid{gap:9px}.stat-card{padding:17px 13px}.stat-card>strong{font-size:25px}.stat-head{font-size:10px}.insights{grid-template-columns:1fr}.insight-right{padding:22px}.filter{flex-wrap:wrap}.filter input,.filter select{min-width:0;width:100%}.form-grid{grid-template-columns:1fr}.section-head{gap:10px}.legend{gap:12px}.form-panel{padding:18px}.form-panel .panel-heading{margin:-18px -18px 16px}.login-card{padding:28px 24px}}
