*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:#172033;background:#f6f8fb}a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 40px));margin:0 auto}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:20px}.brand-mark{width:34px;height:34px;border-radius:11px;display:inline-grid;place-items:center;background:linear-gradient(135deg,#22c47b,#0a8f5d);color:#fff;box-shadow:0 8px 20px rgba(15,159,99,.2)}.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid #e9edf3}.site-header .inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.nav{display:flex;gap:28px;font-size:14px;font-weight:650;color:#5f6d80}.header-actions{display:flex;gap:10px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:13px 18px;font-weight:750;border:1px solid #dde4ed;background:#fff}.btn-green{background:#18b66f;color:#fff;border-color:#18b66f}.hero{padding:88px 0 72px;background:radial-gradient(circle at 85% 15%,rgba(29,188,118,.18),transparent 30%),linear-gradient(180deg,#fff,#f7fbf9)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center}.eyebrow{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eaf8f1;color:#12845a;font-size:13px;font-weight:800}.hero h1{font-size:64px;line-height:1.02;letter-spacing:-2.8px;margin:20px 0}.hero h1 span{color:#18a96b}.hero p{font-size:20px;line-height:1.6;color:#657185}.product-shot{background:#0f1d31;border-radius:28px;padding:16px;box-shadow:0 30px 80px rgba(21,39,68,.22)}.product-frame{background:#f6f8fb;border-radius:18px;overflow:hidden;min-height:430px}.mock-top{height:50px;background:#fff;border-bottom:1px solid #e8edf3;display:flex;align-items:center;padding:0 18px;gap:8px}.dot{width:8px;height:8px;border-radius:50%;background:#d8dee9}.mock-body{display:grid;grid-template-columns:150px 1fr}.mock-side{background:#172238;color:#cbd5e1;padding:18px}.mock-side div{padding:9px 8px;border-radius:8px;margin-bottom:5px}.mock-side .active{background:#23324d;color:#fff}.mock-content{padding:20px}.mock-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mock-card{background:#fff;border:1px solid #e6ebf2;border-radius:12px;padding:14px}.mock-card small{color:#8d97a6}.mock-card b{display:block;font-size:22px;margin-top:8px}.mock-chart{margin-top:14px;background:#fff;border:1px solid #e6ebf2;border-radius:14px;padding:16px;height:180px;position:relative}.bars{position:absolute;left:16px;right:16px;bottom:18px;display:flex;align-items:flex-end;gap:10px;height:120px}.bars i{display:block;flex:1;background:linear-gradient(180deg,#31c98a,#0fa46a);border-radius:7px 7px 2px 2px}.section{padding:88px 0}.section.white{background:#fff}.section-head{max-width:760px;margin-bottom:38px}.section-head h2{font-size:44px;line-height:1.1;letter-spacing:-1.6px;margin:0 0 14px}.section-head p{font-size:18px;color:#6b7789;line-height:1.6}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-card{background:#fff;border:1px solid #e5ebf2;border-radius:22px;padding:26px;min-height:220px;box-shadow:0 12px 35px rgba(31,49,76,.05)}.feature-icon{width:46px;height:46px;border-radius:14px;background:#eaf8f1;color:#159765;display:grid;place-items:center;font-weight:900}.dark-block{background:#12233d;color:#fff;border-radius:28px;padding:48px;display:grid;grid-template-columns:1fr 1fr;gap:36px}.cta{background:linear-gradient(135deg,#16324f,#10233d);color:#fff;border-radius:30px;padding:50px;display:flex;justify-content:space-between;gap:30px;align-items:center}.site-footer{background:#0f1d31;color:#d9e2ec;padding:52px 0 24px;margin-top:80px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-grid p{color:#98a8bb;line-height:1.6}.footer-grid b,.footer-grid a{display:block;margin-bottom:10px}.footer-bottom{margin-top:30px;padding-top:22px;border-top:1px solid #26354b;color:#7f91a7}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:#f5f8fc}.login-visual{background:radial-gradient(circle at 20% 15%,rgba(50,214,144,.25),transparent 35%),#10233d;color:#fff;padding:70px;display:flex;flex-direction:column;justify-content:space-between}.login-card-wrap{display:grid;place-items:center;padding:40px}.login-card{width:min(440px,100%);background:#fff;border:1px solid #e6ebf2;border-radius:24px;padding:32px;box-shadow:0 24px 60px rgba(28,44,67,.12)}.field{display:block;margin-bottom:14px}.field span{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.field input{width:100%;padding:13px 14px;border:1px solid #dce3ec;border-radius:11px}.login-error{padding:12px 14px;border-radius:10px;background:#fff0f0;color:#b93b3b;margin-bottom:14px}

/* CRM app */
.is-crm{background:#f4f7fb}.crm-app{min-height:100vh;display:flex;background:#f4f7fb}.crm-sidebar{position:fixed;left:0;top:0;bottom:0;width:246px;background:#101c2f;color:#d7e0eb;padding:18px 14px;display:flex;flex-direction:column;z-index:70;box-shadow:8px 0 28px rgba(14,27,47,.08)}.crm-side-top{display:flex;align-items:center;justify-content:space-between;padding:0 6px 18px}.crm-logo{display:flex;align-items:center;gap:10px;font-size:19px;color:#fff}.crm-logo span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#21c67d,#0a8f5d);font-weight:900}.crm-company{display:flex;gap:10px;align-items:center;padding:13px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);border-radius:14px;margin-bottom:18px}.crm-company-mark{width:34px;height:34px;border-radius:10px;background:#233650;display:grid;place-items:center;font-weight:800}.crm-company strong,.crm-company small{display:block}.crm-company strong{font-size:13px;color:#fff}.crm-company small{font-size:11px;color:#8fa0b5;margin-top:2px}.crm-nav{display:grid;gap:4px}.crm-nav a,.crm-side-bottom a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:11px;color:#9fb0c4;font-size:14px;font-weight:650}.crm-nav a i,.crm-side-bottom a i{font-style:normal;width:22px;text-align:center;font-size:16px}.crm-nav a:hover,.crm-nav a.active,.crm-side-bottom a:hover{background:#1a2b43;color:#fff}.crm-nav a.active{box-shadow:inset 3px 0 0 #26c47f}.crm-side-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding-top:12px}.crm-mobile-close{display:none;background:none;border:0;color:#fff;font-size:24px}.crm-workspace{margin-left:246px;min-width:0;width:calc(100% - 246px)}.crm-toolbar{height:70px;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf1;display:flex;align-items:center;gap:18px;padding:0 28px;position:sticky;top:0;z-index:30}.crm-menu-btn{display:none;border:0;background:#eef2f7;border-radius:9px;width:38px;height:38px}.crm-search{display:flex;align-items:center;gap:9px;background:#f4f6f9;border:1px solid #edf0f4;border-radius:11px;padding:0 12px;width:min(360px,40vw)}.crm-search input{width:100%;border:0;background:transparent;outline:0;padding:10px 0;color:#263449}.crm-toolbar-actions{margin-left:auto;display:flex;align-items:center;gap:14px}.crm-icon-btn{width:38px;height:38px;border-radius:10px;border:1px solid #e5eaf0;background:#fff}.crm-profile{display:flex;align-items:center;gap:9px}.crm-avatar{width:36px;height:36px;border-radius:11px;background:#dff5ea;color:#118457;display:grid;place-items:center;font-weight:850}.crm-profile strong,.crm-profile small{display:block}.crm-profile strong{font-size:13px}.crm-profile small{font-size:11px;color:#8a95a4;margin-top:2px}.crm-content{padding:28px;max-width:1540px;margin:0 auto}.crm-page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:22px}.crm-page-head h1{font-size:30px;letter-spacing:-.7px;margin:0 0 6px}.crm-page-head p{margin:0;color:#7b8797}.crm-actions{display:flex;gap:10px;flex-wrap:wrap}.crm-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border-radius:10px;border:1px solid #dfe5ed;background:#fff;color:#263449;font-weight:750;font-size:13px}.crm-btn.primary{background:#17243a;border-color:#17243a;color:#fff}.crm-btn.green{background:#18b66f;border-color:#18b66f;color:#fff}.crm-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.crm-kpi{background:#fff;border:1px solid #e6ebf1;border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(31,49,76,.045)}.crm-kpi-head{display:flex;justify-content:space-between;align-items:center;color:#7c8797;font-size:12px;font-weight:700}.crm-kpi-icon{width:34px;height:34px;border-radius:10px;background:#ecf8f2;color:#129263;display:grid;place-items:center}.crm-kpi strong{display:block;font-size:27px;letter-spacing:-.8px;margin-top:14px}.crm-kpi small{display:block;color:#97a1ae;margin-top:4px}.crm-grid-2{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:16px}.crm-panel{background:#fff;border:1px solid #e6ebf1;border-radius:16px;box-shadow:0 8px 24px rgba(31,49,76,.04);overflow:hidden}.crm-panel-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #edf0f4}.crm-panel-head h2{font-size:16px;margin:0}.crm-panel-head a{font-size:12px;color:#14865d;font-weight:750}.crm-table{width:100%}.crm-tr{display:grid;grid-template-columns:minmax(0,1fr) 150px 130px;gap:16px;align-items:center;padding:13px 20px;border-top:1px solid #f0f2f5}.crm-tr:first-child{border-top:0}.crm-tr b,.crm-tr small{display:block}.crm-tr small{color:#8a95a4;margin-top:4px}.crm-amount{text-align:right;font-weight:800}.badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;background:#eef3f8;color:#536274}.badge.new{background:#eef4ff;color:#4167a9}.badge.work{background:#fff5df;color:#a06d14}.badge.success{background:#e9f8f0;color:#11855a}.badge.lost{background:#fff0f0;color:#b34d4d}.task-list{padding:6px 20px}.task-row{display:flex;gap:11px;align-items:flex-start;padding:13px 0;border-top:1px solid #f0f2f5}.task-row:first-child{border-top:0}.task-check{width:20px;height:20px;border:2px solid #cfd7e2;border-radius:6px;margin-top:1px}.task-row b,.task-row small{display:block}.task-row small{color:#8a95a4;margin-top:3px}.crm-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}.crm-quick{background:#fff;border:1px solid #e6ebf1;border-radius:15px;padding:18px;display:flex;gap:13px;align-items:center}.crm-quick i{width:40px;height:40px;border-radius:12px;background:#eef8f3;color:#13885f;display:grid;place-items:center;font-style:normal;font-weight:800}.crm-quick b,.crm-quick small{display:block}.crm-quick small{font-size:11px;color:#8d97a5;margin-top:3px}.crm-form-card{background:#fff;border:1px solid #e5eaf0;border-radius:16px;padding:18px;margin-bottom:16px;display:none}.crm-form-card.open{display:block}.crm-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.crm-form-grid input,.crm-form-grid select,.crm-form-grid textarea{width:100%;padding:11px 12px;border:1px solid #dfe5ed;border-radius:10px;background:#fff;outline:0}.crm-list-card{background:#fff;border:1px solid #e6ebf1;border-radius:16px;overflow:hidden}.crm-list-toolbar{padding:15px 18px;border-bottom:1px solid #edf0f4;display:flex;gap:10px;align-items:center}.crm-list-toolbar input{max-width:340px;width:100%;border:1px solid #dfe5ed;border-radius:9px;padding:9px 11px}.crm-client-row{display:grid;grid-template-columns:minmax(230px,1.2fr) minmax(160px,.8fr) minmax(180px,.8fr) 120px;gap:16px;align-items:center;padding:14px 18px;border-top:1px solid #f0f2f5}.crm-client-row:first-child{border-top:0}.crm-client-main{display:flex;align-items:center;gap:11px}.crm-client-avatar{width:38px;height:38px;border-radius:12px;background:#e8f6ef;color:#12875d;display:grid;place-items:center;font-weight:850}.crm-client-row b,.crm-client-row small{display:block}.crm-client-row small{color:#8b96a5;margin-top:3px}.crm-link{color:#16865e;font-weight:750}.kanban{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:14px;overflow-x:auto;padding-bottom:4px}.kanban-col{background:#eef2f6;border-radius:16px;padding:12px;min-height:520px}.kanban-head{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 12px;font-size:13px;font-weight:800}.kanban-count{background:#fff;border-radius:999px;padding:4px 8px;color:#718096}.deal-card{display:block;background:#fff;border:1px solid #e5eaf0;border-radius:13px;padding:14px;margin-bottom:10px;box-shadow:0 6px 18px rgba(28,45,68,.04)}.deal-card:hover{border-color:#b8dcca}.deal-card b{display:block}.deal-card small{display:block;color:#8792a2;margin:5px 0 12px}.deal-card strong{font-size:16px}.task-board{background:#fff;border:1px solid #e6ebf1;border-radius:16px;overflow:hidden}.task-board-row{display:grid;grid-template-columns:40px minmax(0,1fr) 140px 170px 100px;gap:14px;align-items:center;padding:14px 18px;border-top:1px solid #eef1f4}.task-board-row:first-child{border-top:0}.empty-state{padding:48px 24px;text-align:center;color:#8c97a6}.empty-state b{display:block;color:#4a5568;margin-bottom:5px}.detail-card{background:#fff;border:1px solid #e6ebf1;border-radius:18px;padding:22px}.detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.detail-title{display:flex;align-items:center;gap:14px;margin-bottom:20px}.detail-avatar{width:54px;height:54px;border-radius:16px;background:#e7f7ef;color:#11885c;display:grid;place-items:center;font-size:20px;font-weight:900}.detail-title h2{margin:0;font-size:22px}.detail-title p{margin:4px 0 0;color:#8a95a4}.detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.detail-field{padding:13px;border:1px solid #edf0f4;border-radius:12px}.detail-field small,.detail-field b{display:block}.detail-field small{color:#8b96a5;margin-bottom:5px}.timeline{display:grid;gap:10px}.timeline-item{display:flex;gap:10px}.timeline-dot{width:10px;height:10px;border-radius:50%;background:#1bb875;margin-top:5px}.timeline-item small{color:#909aa7}.utility-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.utility-card{background:#fff;border:1px solid #e6ebf1;border-radius:16px;padding:20px}.utility-card h3{margin:12px 0 8px}.utility-card p{color:#7d8998;line-height:1.5}.utility-icon{width:42px;height:42px;border-radius:12px;background:#eaf8f2;color:#11885c;display:grid;place-items:center;font-weight:850}.crm-mobile-close{display:none}
@media(max-width:1100px){.crm-kpis{grid-template-columns:repeat(2,1fr)}.crm-grid-2{grid-template-columns:1fr}.crm-form-grid{grid-template-columns:repeat(2,1fr)}.utility-grid{grid-template-columns:1fr 1fr}.crm-client-row{grid-template-columns:1fr 1fr}.crm-client-row>*:nth-child(3),.crm-client-row>*:nth-child(4){display:none}}
@media(max-width:820px){.crm-sidebar{transform:translateX(-100%);transition:.2s}.crm-app.sidebar-open .crm-sidebar{transform:none}.crm-workspace{margin-left:0;width:100%}.crm-menu-btn,.crm-mobile-close{display:inline-grid;place-items:center}.crm-toolbar{padding:0 14px}.crm-content{padding:18px}.crm-profile>div:not(.crm-avatar){display:none}.crm-search{width:100%}.crm-page-head{align-items:flex-start;flex-direction:column}.crm-quick-grid,.utility-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.task-board-row{grid-template-columns:34px 1fr 100px}.task-board-row>*:nth-child(4),.task-board-row>*:nth-child(5){display:none}}
@media(max-width:560px){.crm-kpis{grid-template-columns:1fr}.crm-form-grid{grid-template-columns:1fr}.crm-client-row{grid-template-columns:1fr}.crm-client-row>*:not(:first-child){display:none}.crm-toolbar-actions .crm-icon-btn{display:none}.crm-content{padding:14px}.crm-tr{grid-template-columns:1fr 100px}.crm-tr>*:nth-child(2){display:none}.detail-fields{grid-template-columns:1fr}.login-wrap{grid-template-columns:1fr}.login-visual{display:none}.feature-grid{grid-template-columns:1fr}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:42px}.footer-grid{grid-template-columns:1fr}}

/* === Dashboard reference redesign v3 === */
.ref-shell{background:#f4f8fc}.ref-sidebar{width:246px;background:linear-gradient(180deg,#0e2137 0%,#0c1c2f 100%);padding:18px 14px 14px;border-right:1px solid rgba(255,255,255,.03)}.ref-logo{font-size:21px;letter-spacing:-.3px}.ref-logo>span{background:linear-gradient(135deg,#2bd27f,#129b61);font-size:19px}.ref-company{margin-top:4px;margin-bottom:16px;padding:13px 12px;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.085)}.ref-company .crm-company-mark{background:#21425d}.ref-nav{gap:5px}.ref-nav a{position:relative;padding:11px 12px;border-radius:10px;color:#aebdd0;font-weight:650}.ref-nav a i{font-size:15px;color:#bbcadb}.ref-nav a.active{background:rgba(54,124,176,.22);box-shadow:inset 3px 0 0 #29d67f;color:#fff}.ref-nav a.active i{color:#2ee082}.ref-nav a em{margin-left:auto;width:21px;height:21px;border-radius:999px;background:#ff445c;color:#fff;font-style:normal;font-size:11px;display:grid;place-items:center}.ref-pro-card{margin-top:auto;margin-bottom:12px;padding:18px;border-radius:15px;background:radial-gradient(circle at 100% 100%,rgba(25,176,107,.35),transparent 44%),linear-gradient(145deg,#12364b,#0d2a3d);border:1px solid rgba(96,210,151,.18);display:grid;gap:7px;color:#fff}.ref-pro-card .ref-pro-gem{font-size:28px;color:#3be08c}.ref-pro-card b{font-size:16px}.ref-pro-card strong{font-size:12px;line-height:1.45;color:#c6d6e5;font-weight:600}.ref-pro-card a{margin-top:5px;background:linear-gradient(180deg,#28d47f,#0ebd67);padding:9px 12px;border-radius:9px;text-align:center;color:#fff;font-weight:800;font-size:12px}.ref-side-bottom{margin-top:0}.ref-workspace{margin-left:246px;width:calc(100% - 246px)}.ref-toolbar{height:66px;padding:0 30px;background:#fff;border-bottom:1px solid #e7edf4}.ref-search{width:min(520px,46vw);background:#f7f9fc;border:1px solid #dfe7f0;border-radius:9px}.ref-search input{font-size:13px}.ref-toolbar-actions{gap:10px}.ref-top-icon{position:relative;width:34px;height:34px;border:0;background:transparent;color:#35506f;font-size:16px}.ref-top-icon i{position:absolute;right:6px;top:5px;width:7px;height:7px;border-radius:999px;background:#ff3d4f;border:2px solid #fff}.ref-top-sep{width:1px;height:32px;background:#e8edf3;margin:0 4px}.ref-profile{gap:10px}.ref-avatar-top{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#dff5e9,#b9ead0);color:#118b58}.ref-profile strong{font-size:13px}.ref-profile small{font-size:11px;color:#8190a4}.ref-content{padding:26px 30px 36px;max-width:none}.ref-dash{max-width:1480px;margin:0 auto}.ref-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:17px}.ref-welcome{font-size:13px;color:#6f7f94;margin-bottom:5px}.ref-head h1{font-size:38px;line-height:1;letter-spacing:-1.5px;margin:0 0 5px;color:#102039}.ref-head p{margin:0;color:#7c8da1;font-size:14px}.ref-head-actions{display:flex;align-items:center;gap:13px}.ref-date{display:flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid #dfe7f0;background:#fff;border-radius:10px;color:#65758c;box-shadow:0 4px 12px rgba(32,52,77,.03)}.ref-date b{color:#42516a}.ref-new-deal{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:10px;background:linear-gradient(180deg,#14ac61,#079851);color:#fff;font-weight:800;font-size:13px;box-shadow:0 8px 18px rgba(7,152,81,.18)}.ref-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:16px}.ref-kpi{background:#fff;border:1px solid #e6ecf2;border-radius:14px;padding:14px 16px;box-shadow:0 5px 18px rgba(28,49,77,.035);min-height:128px}.ref-kpi-top{display:flex;align-items:center;gap:10px}.ref-ico{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:15px;font-weight:900}.ref-ico.green{background:#e8f8ef;color:#13a45f}.ref-ico.blue{background:#eaf3ff;color:#347bd8}.ref-kpi-name{font-size:12px;color:#5f7087;font-weight:700}.ref-go{margin-left:auto;width:28px;height:28px;border-radius:50%;background:#eff8f3;color:#15945d;display:grid;place-items:center;font-size:20px}.ref-kpi-value{font-size:24px;font-weight:850;letter-spacing:-.7px;margin:13px 0 5px;color:#101b31;white-space:nowrap}.ref-kpi-value em{font-size:12px;color:#0ca75a;font-style:normal;font-weight:800;margin-left:6px}.ref-kpi-value em.red{color:#ef4352}.ref-kpi small{color:#8a98aa;font-size:11px}.ref-main-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(420px,.78fr);gap:16px}.ref-panel{background:#fff;border:1px solid #e6ecf2;border-radius:15px;box-shadow:0 5px 18px rgba(28,49,77,.035);overflow:hidden}.ref-panel-head{height:54px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f5}.ref-panel-head>a{font-size:12px;color:#0a9855;font-weight:800}.ref-panel-title{display:flex;align-items:center;gap:11px}.ref-panel-title h2{margin:0;font-size:15px;color:#132139}.ref-panel-title p{margin:2px 0 0;font-size:11px;color:#8897a9}.ref-title-icon{width:26px;height:26px;border-radius:8px;background:#e8f8ef;color:#0ca95d;display:grid;place-items:center;font-weight:900}.ref-title-icon.check{background:#e8f8ef}.ref-title-icon.bag{background:#e8f8ef}.ref-title-icon.bolt{font-size:20px;background:transparent}.ref-select{border:1px solid #dfe6ef;background:#fff;border-radius:9px;padding:8px 11px;font-size:11px;color:#4b5d74}.ref-funnel{min-height:310px}.ref-chart{position:relative;padding:13px 18px 0 48px;height:210px}.ref-chart svg{width:100%;height:158px;display:block}.ref-chart .gridline{stroke:#e8edf3;stroke-width:1}.ref-ylabels{position:absolute;left:18px;top:16px;height:147px;display:flex;flex-direction:column;justify-content:space-between;color:#8695a7;font-size:10px}.ref-xlabels{display:flex;justify-content:space-between;padding:0 0 0;color:#75879d;font-size:10px}.ref-tooltip{position:absolute;left:51%;top:8px;transform:translateX(-50%);background:#13263c;color:#fff;border-radius:6px;padding:6px 9px;text-align:center;font-size:10px;box-shadow:0 8px 16px rgba(16,32,57,.18)}.ref-tooltip b,.ref-tooltip span{display:block}.ref-tooltip span{color:#b4c1cf;margin-top:2px}.ref-stage-row{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #eef2f5;padding:12px 18px}.ref-stage-row>div{position:relative;padding-left:17px;border-left:1px solid #edf1f5}.ref-stage-row>div:first-child{border-left:0}.ref-stage-row .dot{position:absolute;left:0;top:3px;width:9px;height:9px;border-radius:50%}.dot.green{background:#20b96b}.dot.blue{background:#3c8ceb}.dot.yellow{background:#f5ae18}.dot.purple{background:#8c56df}.dot.red{background:#ef5265}.ref-stage-row small,.ref-stage-row b,.ref-stage-row em{display:inline-block}.ref-stage-row small{font-size:10px;color:#5f7187;margin-right:6px}.ref-stage-row b{font-size:17px;color:#142238}.ref-stage-row em{font-size:10px;color:#0aa75b;font-style:normal;font-weight:800;margin-left:6px}.ref-task-list{padding:0 18px}.ref-task{display:grid;grid-template-columns:22px minmax(0,1fr) 74px 62px 30px 25px;gap:9px;align-items:center;padding:10px 0;border-top:1px solid #eef2f5}.ref-task:first-child{border-top:0}.ref-check{width:14px;height:14px;border:1.5px solid #aebbd0;border-radius:4px}.ref-task-main b{display:block;font-size:11px;color:#1e2d43}.ref-task-main small{display:block;font-size:10px;color:#8997a8;margin-top:2px}.ref-prio{display:inline-flex;justify-content:center;padding:5px 7px;border-radius:7px;font-size:9px;font-weight:800}.ref-prio.high{background:#ffe8eb;color:#e84553}.ref-prio.normal{background:#fff3d9;color:#b77a08}.ref-prio.low{background:#e7f8ef;color:#159458}.ref-task-date span,.ref-task-date b{display:block;font-size:9px}.ref-task-date span{color:#74849a}.ref-task-date b{color:#65768b;margin-top:2px}.ref-avatar{width:28px;height:28px;border-radius:50%;background:#dff1e8;color:#178157;display:grid;place-items:center;font-size:9px;font-weight:900}.ref-more{color:#607896;font-size:11px;letter-spacing:1px}.ref-deal-list{padding:0 18px}.ref-deal{display:grid;grid-template-columns:28px minmax(0,1.1fr) 110px 85px 52px 25px;gap:10px;align-items:center;padding:9px 0;border-top:1px solid #eef2f5}.ref-deal:first-child{border-top:0}.ref-company-icon{width:28px;height:28px;border-radius:50%;background:#dfe9f3;color:#243a56;display:grid;place-items:center;font-size:10px;font-weight:900}.ref-deal-main b{display:block;font-size:11px}.ref-deal-main small{display:block;font-size:9px;color:#8b98a9;margin-top:2px}.ref-deal strong{font-size:11px}.ref-status{display:inline-flex;justify-content:center;padding:5px 7px;border-radius:7px;font-size:9px;font-weight:800}.ref-status.new{background:#e7f8ef;color:#159458}.ref-status.work{background:#e6f1ff;color:#2875d1}.ref-status.success{background:#ffe8eb;color:#d94855}.ref-status.proposal{background:#eee7ff;color:#7b4bc5}.ref-deal-date{font-size:9px;color:#77879b}.ref-quick-panel{padding-bottom:12px}.ref-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:14px 16px}.ref-quick{position:relative;padding:15px;border-radius:12px;min-height:128px;overflow:hidden}.ref-quick.q-green{background:linear-gradient(135deg,#eaf9f0,#d9f4e6)}.ref-quick.q-blue{background:linear-gradient(135deg,#eef5ff,#dceafd)}.ref-quick.q-orange{background:linear-gradient(135deg,#fff6eb,#fde8ce)}.ref-qicon{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.56);display:grid;place-items:center;font-size:18px}.ref-quick b,.ref-quick small{display:block}.ref-quick b{margin-top:10px;font-size:12px}.ref-quick small{margin-top:4px;font-size:9px;line-height:1.45;color:#74869b}.ref-quick i{position:absolute;right:12px;bottom:12px;width:28px;height:28px;border-radius:50%;background:#fff;display:grid;place-items:center;font-style:normal;font-size:20px}.ref-report-strip{margin:0 16px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:11px 13px;border-radius:10px;background:#eef5ff}.ref-report-strip b,.ref-report-strip small{display:block}.ref-report-strip b{font-size:10px}.ref-report-strip small{font-size:9px;color:#8393a6;margin-top:2px}.ref-report-strip>span:last-child{font-size:9px;font-weight:800;padding:8px 10px;background:#fff;border-radius:7px}.ref-tasks,.ref-funnel{min-height:318px}.ref-deals,.ref-quick-panel{min-height:282px}
@media(max-width:1280px){.ref-kpis{grid-template-columns:repeat(3,1fr)}.ref-main-grid{grid-template-columns:1fr}.ref-task-list{padding-bottom:6px}.ref-content{padding:22px}.ref-sidebar{width:224px}.ref-workspace{margin-left:224px;width:calc(100% - 224px)}}
@media(max-width:820px){.ref-sidebar{width:246px;transform:translateX(-100%)}.crm-app.sidebar-open .ref-sidebar{transform:none}.ref-workspace{margin-left:0;width:100%}.ref-content{padding:16px}.ref-head{align-items:flex-start;flex-direction:column}.ref-kpis{grid-template-columns:1fr 1fr}.ref-main-grid{grid-template-columns:1fr}.ref-toolbar{padding:0 12px}.ref-search{width:100%}.ref-top-icon,.ref-top-sep{display:none}.ref-task{grid-template-columns:22px 1fr 64px}.ref-task>*:nth-child(4),.ref-task>*:nth-child(5),.ref-task>*:nth-child(6){display:none}.ref-deal{grid-template-columns:28px 1fr 90px}.ref-deal>*:nth-child(4),.ref-deal>*:nth-child(5),.ref-deal>*:nth-child(6){display:none}}
@media(max-width:560px){.ref-head h1{font-size:32px}.ref-kpis{grid-template-columns:1fr}.ref-quick-grid{grid-template-columns:1fr}.ref-stage-row{grid-template-columns:1fr 1fr;gap:10px}.ref-stage-row>div{border-left:0}.ref-date{display:none}.ref-new-deal{width:100%}.ref-head-actions{width:100%}.ref-chart{padding-left:40px}.ref-report-strip{grid-template-columns:34px 1fr}.ref-report-strip>span:last-child{display:none}}

.ref-stage-real{grid-template-columns:repeat(4,1fr)}
.ref-empty-chart{height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8795a8;padding:20px}
.ref-empty-chart .ref-empty-icon{width:42px;height:42px;border-radius:12px;background:#e9f8ef;color:#10a45c;display:grid;place-items:center;font-size:20px;margin-bottom:10px}
.ref-empty-chart b,.ref-empty-chart span{display:block}.ref-empty-chart b{color:#314157;font-size:13px}.ref-empty-chart span{font-size:11px;margin-top:5px;max-width:380px}.ref-empty-chart a,.ref-empty-list a{margin-top:12px;color:#0a9956;font-weight:800;font-size:11px}
.ref-empty-list{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8795a8;padding:20px}.ref-empty-list b{font-size:13px;color:#314157}.ref-empty-list span{font-size:10px;margin-top:5px}
.ref-task-list .ref-empty-list{min-height:250px}.ref-deal-list .ref-empty-list{min-height:220px}
.ref-status.lost{background:#fff0f0;color:#d94855}
.ref-top-link{display:grid;place-items:center}
.ref-search{margin:0}.ref-search button{border:0;background:transparent;color:#35506f;cursor:pointer;padding:0}
