*{box-sizing:border-box}body{margin:0;background:#f4f7fb;color:#172033;font:14px/1.45 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.login{min-height:100vh;display:grid;place-items:center;padding:20px}.login form{width:min(420px,100%);background:#fff;border:1px solid #e2e7ef;border-radius:20px;padding:32px;box-shadow:0 22px 70px #17203320}.logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:22px;font-weight:900;background:linear-gradient(135deg,#8748ff,#20c9f3)}.login h1{margin:18px 0 4px}.login p{color:#7b8799;margin:0 0 24px}.login label,.leadForm label{display:grid;gap:7px;font-weight:700;font-size:12px}.login input,.leadForm input,.leadForm select,.leadForm textarea{border:1px solid #dfe4ec;border-radius:10px;padding:11px;outline:0}.login button{width:100%;border:0;border-radius:10px;background:#7047e8;color:white;padding:12px;margin-top:16px;font-weight:800}.login button:disabled{opacity:.55}#loginError{color:#d64e55;margin-top:12px;font-size:12px}.app{min-height:100vh}aside#sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:#10182a;color:#dfe6f2;padding:22px 14px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 27px}.brand b{display:block;color:#fff;font-size:18px}.brand span,.account span{display:block;font-size:12px;color:#8490a6}.brand button{display:none;margin-left:auto;color:white;background:none;border:0;font-size:24px}nav{display:grid;gap:5px}nav button{border:0;background:transparent;color:#9ba7ba;display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;text-align:left;font-weight:650}nav button.active{color:white;background:linear-gradient(90deg,#703ee9,#614bd7)}nav button em{margin-left:auto;font-style:normal;background:#ffffff20;border-radius:12px;padding:2px 7px}.app aside>small{color:#5f6b80;padding:28px 12px 10px;font-weight:800;font-size:10px;letter-spacing:.12em}.account{margin-top:auto;border-top:1px solid #263047;padding-top:16px;display:flex;gap:10px;align-items:center}.account i{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#253149;font-style:normal;font-size:11px}.account b{font-size:12px}.workspace{padding-left:248px}.top{height:70px;background:white;border-bottom:1px solid #e4e9f1;padding:0 32px;display:flex;align-items:center;position:sticky;top:0;z-index:20}.globalSearch{width:min(520px,50vw);background:#f5f7fa;border:1px solid #e6eaf0;border-radius:10px;padding:9px 12px;color:#8d97a7}.globalSearch input{width:90%;border:0;outline:0;background:transparent}.top .primary{margin-left:auto}.mobileBrand,#menu{display:none}.content{max-width:1480px;margin:auto;padding:36px}.heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.heading>div:last-child{display:flex;gap:8px}.heading small{color:#7151e9;font-weight:850;letter-spacing:.14em;font-size:10px}.heading h1{font-size:29px;letter-spacing:-.04em;margin:3px 0 6px}.heading p{color:#738095;margin:0}.primary,.secondary{border:0;border-radius:10px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:750;font-size:13px}.primary{background:#6f47e8;color:#fff;box-shadow:0 7px 18px #6340ce31}.secondary{background:white;color:#435066;border:1px solid #dfe4eb}.primary:disabled{opacity:.55}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stats article{background:#fff;border:1px solid #e2e7ef;border-radius:14px;padding:18px;display:flex;gap:13px}.stats article>i{width:42px;height:42px;border-radius:12px;background:#f1f3f8;display:grid;place-items:center;color:#637086;font-style:normal;font-size:20px}.stats .accent>i{background:#f0eaff;color:#7247e8}.stats span{display:block;color:#7b8799;font-size:12px}.stats b{font-size:27px;margin-right:7px}.stats small{color:#a0a9b6}.panel{background:#fff;border:1px solid #e1e6ee;border-radius:15px;overflow:hidden}.toolbar{padding:13px 15px;border-bottom:1px solid #ebeff4;display:flex;justify-content:space-between}.search{border:1px solid #e1e6ec;border-radius:9px;padding:8px 10px;width:280px;color:#8b95a5}.search input{border:0;outline:0;width:85%}.filters{display:flex;gap:7px}.filters select,.filters button{border:1px solid #e1e5ec;background:#fff;border-radius:9px;padding:0 10px;color:#526075}.thead,.lead{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(220px,1.25fr) 82px 125px 125px;align-items:center;gap:15px}.thead{padding:12px 18px;background:#fafbfc;color:#949dab;font-size:10px;font-weight:800}.lead{padding:14px 18px;border-top:1px solid #eef1f5;cursor:pointer}.lead:hover{background:#fafaff}.business{display:flex;align-items:center;gap:11px;min-width:0}.business>i,#detailIcon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:850;flex:0 0 42px}.hot{background:#fee7e8;color:#d8494d}.warm{background:#fff0d8;color:#c47717}.cool{background:#e4f4f2;color:#27877d}.business>div,.opp{min-width:0}.business b,.opp b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.business span,.business small,.opp span{display:block;color:#8792a2;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.score b{font-size:20px}.score span{font-size:10px;color:#9da6b3}.score.hot b{color:#da4b50}.score.warm b{color:#c87b18}.score.cool b{color:#27877d}.status{display:inline-block;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:750;background:#eef1f5;color:#667286}.s2{background:#e9efff;color:#4b69cc}.s3{background:#e8f6f4;color:#27877d}.s4{background:#fff2dc;color:#b97216}.s5{background:#e7f7ec;color:#2b8d4c}.contacts{display:flex;gap:5px}.contacts a{width:29px;height:29px;border:1px solid #e3e7ee;border-radius:8px;display:grid;place-items:center;text-decoration:none;color:#697589}.panel footer{padding:12px 17px;background:#fafbfc;display:flex;justify-content:space-between;color:#8792a2;font-size:11px}.panel footer button{border:0;background:none;color:#6847d1;font-weight:700}.empty{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8490a0}.empty>div{width:58px;height:58px;border-radius:18px;background:#f0eaff;color:#7047e5;display:grid;place-items:center;font-size:24px}.empty h2{color:#283347;margin:12px 0 4px}.empty p{margin:0 0 16px}.empty button{margin:4px}.overlay,.drawer-shade{position:fixed;inset:0;background:#11182788;backdrop-filter:blur(3px);z-index:70;display:none;place-items:center;padding:18px}.overlay.open,.drawer-shade.open{display:grid}.modal{width:min(600px,100%);max-height:calc(100vh - 36px);overflow:auto;background:white;border-radius:18px}.modal>header,#drawer>header{padding:21px 24px;border-bottom:1px solid #e8ecf2;display:flex;justify-content:space-between}.modal h2,#drawer h2{margin:0;font-size:20px}.modal header p{margin:4px 0 0;color:#8490a0;font-size:12px}.modal header button,#closeDrawer{border:0;background:#f2f4f7;border-radius:9px;width:34px;height:34px;font-size:20px}.lead-form,.modal form{}.modal .leadForm,.modal form{}.modal .form{padding:22px 24px}.modal label{display:grid;gap:7px;margin-bottom:14px;font-size:11px;font-weight:800;color:#59667a}.modal input,.modal select,.modal textarea,#detailStatus{border:1px solid #dfe4ec;border-radius:9px;padding:10px;background:#fbfcfd;outline:0}.modal textarea{min-height:72px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.audit-note,.auditNote{display:flex;gap:10px;background:#f4f0ff;border:1px solid #e3d8ff;color:#6741c8;border-radius:11px;padding:13px}.auditNote span{display:block;color:#736a89;font-size:11px}.modal-actions,.Bots,.алам{}. Runway{}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.import-box,.importBox{}.drop{margin:24px;min-height:240px;border:1px dashed #bfc7d4;border-radius:14px;background:#fafbfc;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#718095!important;font-size:13px!important}.drop input{display:none}.drop i{font-style:normal;background:white;border:1px solid #dfe4eb;padding:9px 13px;border-radius:9px}.drawer-shade{place-items:stretch end;padding:0}.drawer-shade.open{display:grid}#drawer{width:min(560px,100%);height:100%;overflow:auto;background:#f7f9fc}#drawer>header{position:sticky;top:0;background:white;z-index:2;display:grid;grid-template-columns:48px 1fr 34px;align-items:center;gap:12px}#drawer>header small{color:#8c96a5;font-size:10px}#drawer>header h2{font-size:18px}#detailIcon{width:48px;height:48px}#detailBody{padding:18px}.scoreHero{background:#151f33;color:white;border-radius:16px;padding:20px;display:flex;align-items:center;gap:18px}.ring{width:82px;height:82px;border-radius:50%;display:grid;place-content:center;text-align:center;border:7px solid;flex:0 0 82px;background:#273149}.ring.hot{border-color:#ef5b61}.ring.warm{border-color:#e9a140}.ring.cool{border-color:#40aa9f}.ring b{font-size:27px;line-height:1}.ring span{font-size:9px}.scoreHero small{color:#8f9bae;font-size:9px;letter-spacing:.1em}.scoreHero h3{margin:4px 0;font-size:17px}.scoreHero p{color:#aeb8c8;font-size:11px;margin:0}.detailActions{display:grid;grid-template-columns:1.4fr 1fr;gap:8px;margin:12px 0}.detailSection,.message{background:white;border:1px solid #e1e6ee;border-radius:13px;padding:15px;margin-top:12px}.detailSection h4{margin:0 0 12px;color:#7a8597;font-size:11px}.issues p{display:flex;gap:9px;margin:7px 0;color:#4c596c;font-size:12px}.issues i{width:20px;height:20px;border-radius:6px;background:#ffeced;color:#d94c52;display:grid;place-items:center;font-style:normal}.auditGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.auditGrid>div{background:#f7f9fb;border-radius:9px;padding:10px}.auditGrid span{display:block;font-size:10px;color:#7d8795}.auditGrid b{font-size:10px}.auditGrid .yes b{color:#27875a}.auditGrid .no b{color:#cc5055}#detailStatus{width:100%}.message header{display:flex;justify-content:space-between}.message button{border:0;background:#eee9ff;color:#6540cd;border-radius:7px;padding:6px 9px}.message pre{white-space:pre-wrap;font:11px/1.55 inherit;color:#526075}.delete{border:0;background:none;color:#c64b50;display:block;margin:20px auto}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;background:#172135;color:white;padding:12px 17px;border-radius:10px;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#shade{display:none}
@media(max-width:1050px){.stats{grid-template-columns:1fr 1fr}.thead,.lead{grid-template-columns:minmax(220px,1.3fr) minmax(180px,1fr) 70px 110px}.thead span:nth-child(5),.contacts{display:none}}
@media(max-width:800px){aside#sidebar{transform:translateX(-100%);transition:.2s}aside#sidebar.open{transform:none}.brand button{display:block}#shade.open{display:block;position:fixed;inset:0;background:#11182766;z-index:25}.workspace{padding-left:0}.top{height:62px;padding:0 15px;gap:10px}#menu{display:block;border:0;background:#f0f2f6;border-radius:9px;width:38px;height:38px}.mobileBrand{display:block}.mobileBrand span{display:block;font-size:9px;color:#7f8998}.globalSearch{display:none}.content{padding:22px 15px}.heading h1{font-size:24px}.heading>div:last-child .secondary{display:none}.thead{display:none!important}.lead{grid-template-columns:1fr 62px;padding:14px}.lead .opp{grid-column:1/2;margin-left:53px;margin-top:-14px}.lead>div:nth-child(4),.contacts{display:none}}
@media(max-width:520px){.stats{display:flex;overflow:auto}.stats article{min-width:170px}.heading>div:last-child{display:none}.grid{grid-template-columns:1fr}.overlay{align-items:end;padding:0}.modal{border-radius:18px 18px 0 0;max-height:94vh}.auditGrid{grid-template-columns:1fr}.detailActions{grid-template-columns:1fr}.toolbar{flex-direction:column;gap:9px}.search{width:100%}.filters select{flex:1}.empty{padding:30px 15px}.empty button{width:100%}}
