:root{--ink:#1d2033;--muted:#777b91;--bg:#f7f7fb;--paper:#fff;--navy:#161a30;--accent:#7057db;--accent-soft:#efecff;--line:#e8e8f0;--green:#178f71;--red:#d4485c;--yellow:#b47d23;--shadow:0 8px 30px rgba(32,33,75,.055);--r:17px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.55;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a898ff;outline-offset:2px}.boot{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;color:var(--muted);gap:14px}.spin{width:26px;height:26px;border:3px solid #ded9fd;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app{display:flex;min-height:100vh}.sidebar{background:var(--navy);width:255px;min-width:255px;color:#fff;min-height:100vh;display:flex;flex-direction:column;padding:28px 15px 20px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:4px 11px 24px;letter-spacing:-.4px}.brand-mark{background:#7964e9;color:white;width:38px;height:38px;border-radius:13px;display:grid;place-items:center}.brand strong{font-size:19px;line-height:1.1;display:block}.brand small{font-size:10px;letter-spacing:2px;color:#aaa8d0;font-weight:700}.side-sub{font-size:10px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase;color:#777e9f;margin:27px 12px 13px}.sidebar nav{display:grid;gap:5px}.nav-link{border:0;background:transparent;color:#aeb2cb;border-radius:11px;text-align:left;padding:11px 14px;display:flex;align-items:center;gap:12px;font-weight:600;transition:.15s}.nav-link:hover{background:#252941;color:#fff}.nav-link.active{color:#fff;background:#363057;box-shadow:inset 3px 0 #a99aff}.nav-link svg{width:18px;height:18px;stroke-width:1.7}.sidebar-spacer{flex:1}.side-help{margin:12px;background:#222840;border:1px solid #333b5a;border-radius:13px;padding:15px 13px;color:#bfc5df}.side-help strong{display:block;font-size:12px;color:#fff;margin:3px 0}.side-help p{font-size:11px;margin:5px 0 0}.user-mini{display:flex;gap:11px;align-items:center;padding:13px 10px;border-top:1px solid #383b56}.avatar{display:grid;place-items:center;background:#e8dfff;color:#6751bf;font-size:13px;font-weight:850;width:37px;height:37px;border-radius:12px;flex:none}.user-mini .avatar{background:#555082;color:white}.user-mini span{display:block;font-size:11px;color:#9298b6}.user-mini strong{font-size:12px}.logout{margin-left:auto;border:0;background:transparent;color:#9298b6;padding:4px}.workspace{min-width:0;flex:1;padding:30px 36px 65px;max-width:1700px;margin:auto;width:100%}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.crumb{font-size:12px;color:#8589a1;display:flex;gap:10px;align-items:center}.crumb b{color:var(--accent);font-weight:600}.top-right{display:flex;align-items:center;gap:11px}.today{font-size:12px;color:#7d8196;display:flex;align-items:center;gap:8px}.iconbtn.menu-btn{display:none}.page-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.eyebrow{color:var(--accent);font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:800}.page-intro h1{margin:4px 0 5px;font-size:clamp(24px,2.6vw,32px);letter-spacing:-1.2px;line-height:1.2}.page-intro p{margin:0;color:var(--muted);font-size:13px}.btn{border:0;background:var(--accent);color:#fff;border-radius:11px;padding:11px 16px;font-weight:700;display:inline-flex;align-items:center;gap:8px;justify-content:center;white-space:nowrap;min-height:42px;box-shadow:0 4px 13px rgba(112,87,219,.17);transition:transform .12s,background .12s}.btn:hover{background:#5e45c7;transform:translateY(-1px)}.btn svg,.iconbtn svg{width:17px;height:17px}.btn.ghost{color:#555874;background:white;border:1px solid var(--line);box-shadow:none}.btn.ghost:hover{background:#f4f2ff}.btn.soft{background:var(--accent-soft);color:#624bc4;box-shadow:none}.btn.danger{background:#fff0f1;color:#bc4055;box-shadow:none}.btn.sm{padding:7px 10px;min-height:33px;font-size:12px;border-radius:8px}.iconbtn{display:inline-grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:9px;width:35px;height:35px;color:#676b84;box-shadow:none}.iconbtn:hover{background:var(--accent-soft);color:var(--accent)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:var(--r);padding:21px;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f0edff;color:var(--accent)}.stat-icon.green{background:#e7f7f2;color:#138968}.stat-icon.gold{background:#fff3e2;color:#ad7924}.stat-icon.blue{background:#e8f1ff;color:#4978d9}.stat-icon svg{width:19px;height:19px}.stat-label{font-size:12px;color:var(--muted)}.stat-number{font-size:27px;letter-spacing:-1px;font-weight:800;margin-top:3px;line-height:1.25}.stat-footer{margin-top:8px;font-size:11px;color:#9ba0b0}.grid-2{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.panel{background:white;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 21px 15px}.panel-head h2{margin:0;font-size:15px;letter-spacing:-.3px}.panel-head p{color:var(--muted);font-size:12px;margin:4px 0 0}.subtle-link{border:0;background:none;color:var(--accent);font-weight:700;font-size:12px}.clean-table{border-collapse:collapse;width:100%;text-align:left}.clean-table th{font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#9599ab;font-weight:750;background:#fafafe}.clean-table td,.clean-table th{padding:14px 20px;border-bottom:1px solid #f0f0f5}.clean-table td{font-size:12px}.clean-table tr:last-child td{border-bottom:0}.clean-table tbody tr:hover{background:#fcfbff}.muted{color:var(--muted)}.tiny{font-size:11px}.person{display:flex;align-items:center;gap:10px;min-width:0}.person .avatar{width:33px;height:33px;border-radius:9px}.person strong{display:block;font-size:12px}.person small{display:block;font-size:11px;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800;white-space:nowrap;background:#f0edf9;color:#6a5cab}.badge.green{background:#e5f8ef;color:#187b55}.badge.orange{background:#fff3e1;color:#a66b20}.badge.red{background:#fff0f1;color:#bf4054}.badge.blue{background:#eaf2ff;color:#4172bf}.badge.gray{background:#eeeff3;color:#656b7e}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}.activity{display:grid;gap:0;padding:0 19px 14px}.activity-row{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #f2f1f6}.activity-row:last-child{border:0}.activity-icon{display:grid;place-items:center;background:#f1ecff;color:#755ed2;min-width:32px;height:32px;border-radius:9px}.activity-icon svg{width:16px;height:16px}.activity b{display:block;font-size:12px}.activity small{color:var(--muted);font-size:11px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:17px}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;padding:0 12px;border-radius:11px;min-width:min(100%,310px);height:42px}.search svg{width:16px;height:16px;color:#9599ad}.search input{border:0;background:transparent;outline:0;width:100%;font-size:13px}.search:focus-within{border-color:#9e8cf3}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{border:1px solid var(--line);background:white;color:#777b91;padding:8px 13px;border-radius:9px;font-size:12px;font-weight:650}.filter.active{color:var(--accent);background:var(--accent-soft);border-color:#e4defe}.table-wrap{overflow:auto;max-width:100%}.table-actions{display:flex;gap:7px;white-space:nowrap}.empty{display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:53px 20px;color:var(--muted)}.empty .empty-icon{display:grid;place-items:center;background:#f1edff;width:58px;height:58px;border-radius:17px;color:var(--accent);margin-bottom:13px}.empty h3{font-size:15px;color:var(--ink);margin:0 0 7px}.empty p{max-width:350px;margin:0 0 16px;font-size:12px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.project-card{background:white;border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:15px}.project-card-top{display:flex;justify-content:space-between;align-items:start;gap:10px}.site-symbol{width:42px;height:42px;border-radius:13px;background:#f0edff;color:var(--accent);display:grid;place-items:center}.site-symbol svg{width:21px;height:21px}.project-card h3{margin:0 0 4px;font-size:16px}.project-card .client-sub{color:var(--muted);font-size:12px}.project-bottom{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:13px;border-top:1px solid var(--line)}.project-bottom small{display:block;color:var(--muted);font-size:11px}.project-bottom b{display:block;margin-top:2px;font-size:15px}.card-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:auto}.kanban{display:grid;grid-auto-columns:minmax(245px,1fr);grid-auto-flow:column;gap:14px;overflow-x:auto;padding-bottom:18px}.kanban-col{min-height:400px;background:#f1f1f7;border:1px solid #e9e9f2;border-radius:13px;padding:12px;display:flex;flex-direction:column;gap:10px}.kanban-title{display:flex;align-items:center;gap:8px;font-weight:800;font-size:12px;padding:5px 4px 10px}.kanban-count{color:#898ea4;background:#e4e4ee;border-radius:6px;padding:2px 6px;font-size:11px;margin-left:auto}.lead-card{background:white;border:1px solid #e8e8f0;border-radius:12px;padding:15px;box-shadow:0 3px 10px #28265308}.lead-card h3{margin:8px 0 3px;font-size:13px;line-height:1.3}.lead-card p{color:var(--muted);font-size:11px;margin:0}.lead-meta{display:flex;gap:7px;align-items:center;color:#747991;margin-top:12px;font-size:11px}.lead-meta svg{width:13px;height:13px}.lead-quick{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.lead-empty{text-align:center;color:#969bb0;font-size:11px;padding:22px 5px;border:1px dashed #d8d8e6;border-radius:9px}.inline-input{display:flex;align-items:center;gap:9px}.inline-input input{max-width:175px}.demo-banner{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 15px;border-radius:11px;background:#fff7e5;border:1px solid #f5e2b3;color:#946817;margin-bottom:19px;font-size:12px}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-art{background:radial-gradient(circle at 15% 10%,#5953a6 0,transparent 42%),linear-gradient(150deg,#1c2443 0%,#11172c 75%);color:#fff;padding:60px clamp(35px,7vw,115px);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.auth-art:after{content:"";position:absolute;right:-110px;bottom:13%;width:470px;height:470px;border:1px solid #aaa4ff30;border-radius:50%;box-shadow:0 0 0 50px #aaa4ff09,0 0 0 130px #aaa4ff09}.auth-art .brand{padding:0;position:relative;z-index:1}.auth-art h1{font-size:clamp(36px,4vw,58px);line-height:1.1;letter-spacing:-2px;max-width:600px;position:relative;z-index:1}.auth-art h1 em{font-style:normal;color:#afa0ff}.auth-art p{font-size:15px;color:#b5bad7;max-width:390px;position:relative;z-index:1}.auth-art small{color:#8790bb;z-index:1}.auth-panel{display:flex;justify-content:center;align-items:center;padding:34px}.auth-card{width:100%;max-width:410px}.auth-card h2{font-size:29px;letter-spacing:-1px;margin:0 0 7px}.auth-card>p{color:var(--muted);margin:0 0 27px}.form{display:grid;gap:15px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:6px;min-width:0}.field label{font-weight:700;font-size:12px;color:#50536a}.field input,.field textarea,.field select{background:#fff;border:1px solid #e0e2ec;border-radius:10px;padding:11px 12px;color:var(--ink);outline:none;width:100%;min-width:0;font-size:13px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8b73f1;box-shadow:0 0 0 3px #7863e216}.field textarea{resize:vertical;min-height:85px}.field .help{font-size:11px;color:var(--muted)}.form-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.auth-card .btn{width:100%;margin-top:5px}.auth-divider{display:flex;align-items:center;gap:12px;margin:25px 0;color:#999aae;font-size:11px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e8e8f0;flex:1}.link-button{color:var(--accent);background:none;border:0;font-weight:800}.overlay{position:fixed;inset:0;background:#12152a95;display:flex;align-items:center;justify-content:center;padding:22px;z-index:55}.modal{width:min(100%,620px);max-height:calc(100vh - 44px);overflow:auto;background:white;border-radius:18px;box-shadow:0 30px 100px #11112a55}.modal-head{padding:24px 27px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-head h2{margin:0;font-size:19px}.modal-head p{margin:3px 0 0;font-size:12px;color:var(--muted)}.modal-body{padding:23px 27px 28px}.modal .form{gap:13px}.modal-close{background:#f2f2f7;border:0;width:32px;height:32px;border-radius:9px;color:#70748a;font-size:18px}.nav-dimmer{display:none}#toast-area{position:fixed;z-index:100;right:20px;bottom:18px;display:grid;gap:9px;max-width:min(92vw,380px)}.toast{background:#292841;color:white;padding:13px 17px;border-radius:11px;box-shadow:0 16px 50px #11152944;font-size:12px;display:flex;gap:12px;align-items:center}.toast.error{background:#a62f4c}.toast button{border:0;background:none;color:white;font-size:18px}.info-strip{border:1px solid #dfdcff;background:#f5f2ff;border-radius:12px;padding:13px 16px;color:#6257a1;font-size:12px;margin:0 0 15px}.nowrap{white-space:nowrap}.right{text-align:right}.danger-text{color:var(--red)}.month-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.month-row input{height:40px;border:1px solid var(--line);border-radius:10px;padding:8px 11px;background:white}.footer{color:#a2a3b2;text-align:center;font-size:11px;margin:35px 0 0}
@media(max-width:1200px){.stats{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:1fr}.sidebar{width:225px;min-width:225px}.workspace{padding:28px 25px 55px}}
@media(max-width:820px){.sidebar{position:fixed;left:0;z-index:30;transform:translateX(-110%);transition:transform .2s;width:255px;min-width:255px}.app.menu-open .sidebar{transform:translateX(0)}.nav-dimmer{position:fixed;display:none;inset:0;background:#0f132990;z-index:25}.app.menu-open .nav-dimmer{display:block}.workspace{padding:20px 17px 50px}.iconbtn.menu-btn{display:inline-grid}.topbar{margin-bottom:23px}.page-intro{align-items:start;flex-direction:column}.page-intro .btn{align-self:flex-start}.auth-page{grid-template-columns:1fr}.auth-art{min-height:220px;padding:28px 32px}.auth-art h1{font-size:31px;margin:15px 0 0}.auth-art p{margin:5px 0}.auth-art small{display:none}.auth-panel{align-items:start;padding:35px 24px}.auth-card{max-width:520px}.today{display:none}.kanban{grid-auto-columns:245px}}
@media(max-width:560px){.stats{gap:10px}.stat{padding:14px}.stat-number{font-size:22px}.stat-icon{width:32px;height:32px}.cards{grid-template-columns:1fr}.page-intro h1{font-size:27px}.form-row{grid-template-columns:1fr}.modal-body{padding:18px}.modal-head{padding:20px 18px 14px}.clean-table td,.clean-table th{padding:12px 11px}.panel-head{padding:16px}.auth-art{min-height:200px}.auth-art h1{font-size:29px}.auth-art .brand{gap:8px}.auth-art .brand strong{font-size:17px}.auth-panel{padding:24px 19px}.top-right .avatar{display:none}.demo-banner{flex-direction:column;align-items:start}}
