:root{--nav:#022d55;--nav2:#043b6b;--blue:#0766e5;--green:#08a34a;--amber:#ffa500;--ink:#10182f;--muted:#687083;--line:#e7ebf2;--bg:#f5f7fb}
*{box-sizing:border-box}body{margin:0;font-family:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:15px}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:linear-gradient(150deg,#03284a,#003964 50%,#062f56);color:#fff;padding:25px 14px 20px;z-index:3;box-shadow:4px 0 14px #061b3120}.brand{height:54px;display:flex;align-items:center;gap:7px;padding:0 8px;color:#15568e;font-size:24px;font-style:italic}.brand-mark{font-size:44px;color:#9bd420;text-shadow:8px 4px #ffaf00}.brand em{align-self:flex-start;background:#1db843;color:#052d23;font-size:10px;padding:1px 5px}.nav{display:flex;flex-direction:column;gap:5px;margin-top:21px}.nav a{height:50px;padding:0 15px;display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;border-radius:7px;font-size:16px}.nav a span{width:20px;text-align:center;font-size:22px}.nav a.active{background:linear-gradient(100deg,#0871ec,#0861d9);box-shadow:0 7px 18px #001e42}.collapse{position:absolute;bottom:18px;left:20px;right:20px;border:0;background:transparent;color:white;font-size:15px;text-align:left}.collapse span{font-size:22px;margin-right:13px}.collapse b{float:right;background:#ffffff24;border-radius:50%;padding:4px 9px}.shell{margin-left:228px;min-width:0}.topbar{height:68px;background:#fff;display:flex;align-items:center;padding:0 28px;border-bottom:1px solid var(--line);gap:28px}.topbar h1{font-size:24px;margin:0;white-space:nowrap}.search{margin-left:auto;width:370px;height:42px;border:1px solid #dfe4ec;border-radius:7px;display:flex;align-items:center}.search input{border:0;outline:0;flex:1;padding:0 14px;font-size:14px}.search i{font-size:22px;padding-right:12px;color:#596174}.notice{border:0;background:none;font-size:24px;position:relative;color:#596174}.notice sup{position:absolute;right:-2px;top:-3px;background:#f0442f;color:#fff;border-radius:10px;font-size:10px;padding:3px 5px}.account{display:flex;align-items:center;gap:8px}.avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#dbe5e8}main{padding:20px 26px 24px}.page-head{height:57px;display:flex;align-items:flex-start}.page-head h2{font-size:27px;margin:3px 0}.date{margin-left:auto;background:white;border:1px solid #dfe4ec;border-radius:8px;padding:11px 15px;color:#252e42}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat,.card{background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 3px 12px #1a427008}.stat{height:146px;padding:25px 20px;display:flex;align-items:center;gap:22px}.stat-icon{width:82px;height:82px;border-radius:15px;display:grid;place-items:center;font-size:34px}.stat-icon.blue{background:#eaf3ff;color:var(--blue)}.stat-icon.green{background:#eaf8f0;color:var(--green)}.stat-icon.amber{background:#fff6e5;color:var(--amber)}.stat label{display:block;font-size:16px;margin-bottom:3px}.stat strong{display:block;font-size:40px;line-height:1.2}.stat small{color:var(--muted)}.stat small span{color:var(--green)}.blue-text{color:var(--blue)}.green-text{color:var(--green)}.amber-text{color:#f49a00}.dashboard-grid{margin-top:14px;display:grid;grid-template-columns:1.05fr 1.14fr 1.02fr;grid-template-areas:"funnel chart status" "customers mail products";gap:14px;align-items:start}.card{padding:16px 18px}.card h3{font-size:16px;margin:0 0 17px}.funnel-card{grid-area:funnel;height:326px}.funnel-wrap{display:flex;gap:17px}.funnel{width:57%;height:238px;display:flex;flex-direction:column;align-items:center}.funnel div{height:20%;clip-path:polygon(0 0,100% 0,88% 95%,12% 95%)}.funnel div:nth-child(1){width:100%;background:#0865df}.funnel div:nth-child(2){width:78%;background:#2685ec}.funnel div:nth-child(3){width:58%;background:#06a44c}.funnel div:nth-child(4){width:39%;background:#ffb30c}.funnel div:nth-child(5){width:20%;background:#04a64e}.funnel-wrap ul{list-style:none;margin:0;padding:0;flex:1}.funnel-wrap li{height:47px;border-bottom:1px solid #edf0f5;display:flex;justify-content:space-between;align-items:center}.chart-card{grid-area:chart;height:326px}.bar-chart{height:245px;display:flex}.y-axis{width:35px;display:flex;flex-direction:column;justify-content:space-between;font-size:12px}.bars{flex:1;border-left:1px solid var(--line);border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,#fff 0,#fff 40px,#eef1f5 41px);display:flex;align-items:end;justify-content:space-around}.bars>div{height:100%;flex:1;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:8px;font-size:12px}.bars i{height:var(--h);max-height:190px;width:30px;background:linear-gradient(#0967e6,#0059cf);border-radius:4px 4px 0 0;position:relative}.bars i b{position:absolute;top:-23px;width:100%;text-align:center;font-style:normal;font-weight:400}.right-stack{display:grid;gap:12px}.status-top{grid-area:status}.compact{padding:16px}.status-list,.channel-list{list-style:none;margin:0;padding:0}.status-list li{height:39px;border-bottom:1px solid #edf0f5;color:#263046}.status-list li::first-letter{color:var(--green)}.status-list span,.channel-list span{float:right;color:var(--green)}.channel-list li{height:36px}.channel-list i{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;margin-right:10px;font-style:normal}.tg{background:#299bf0}.wa{background:#16ae54}.oc{background:#0a5ed9}.customers{grid-area:customers;min-height:356px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{height:37px;border:1px solid #e8edf3;padding:7px 10px;text-align:left;white-space:nowrap}th{background:#fafbfd;font-weight:500}.level{font-style:normal;padding:4px 9px;border-radius:5px}.level.a{background:#fff0f0;color:#f04d4d}.level.b{background:#fff5e4;color:#e79500}.level.c{background:#e9f8ef;color:#149252}mark{border-radius:5px;padding:4px 7px;background:none}.quote{color:#f09b00;background:#fff5e4}.contact{color:#0670ea;background:#eaf3ff}.new{color:#747b87;background:#f0f2f5}.pager{display:flex;justify-content:space-between;align-items:center;margin-top:25px;color:#666}.pager button{border:0;background:#f7f8fa;margin-left:5px;width:31px;height:31px;border-radius:5px}.pager .current{background:var(--blue);color:#fff}.mail{grid-area:mail;min-height:356px}.mail-stats{display:flex;margin:0 0 16px}.mail-stats div{width:33%;border-right:1px solid var(--line);padding:0 8px}.mail-stats div:last-child{border:0}.mail-stats small,.mail-stats b{display:block}.mail-stats b{font-size:28px}.mail ul{list-style:none;margin:0;padding:0;font-size:12px}.mail li{padding:9px 0;border-bottom:1px solid #edf0f5}.mail li em{float:right;font-style:normal;color:#e99500;background:#fff6e6;padding:3px}.mail li em.ok{color:#119c4a;background:#eaf8f0}.mail li em.edit{color:#ef5350;background:#fff0f0}.primary{border:0;background:linear-gradient(100deg,#0872e9,#0062dc);color:#fff;padding:10px 25px;border-radius:5px;display:block;margin:17px auto 0}.products-stack{grid-area:products}.products>div,.knowledge>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.products span,.knowledge span{border:1px solid #edf0f5;border-radius:7px;padding:9px;color:var(--blue);font-size:22px}.products small,.knowledge small{font-size:12px;color:#30384a;margin-left:7px}.products b,.knowledge b{display:block;color:var(--ink);font-size:18px;text-align:center}.products .primary{margin:0}.knowledge span:nth-child(2){color:var(--green)}.knowledge span:nth-child(3){color:var(--amber)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1200px){.sidebar{width:205px}.shell{margin-left:205px}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr;grid-template-areas:"funnel chart" "status products" "customers customers" "mail mail"}.topbar h1{font-size:20px}.search{width:280px}}
@media(max-width:760px){.sidebar{width:68px;padding:16px 8px}.brand strong,.brand em,.nav a:not(.active),.nav a.active:not(:first-child),.nav a{font-size:0}.brand-mark{font-size:30px}.nav a{justify-content:center;padding:0}.nav a span{font-size:22px}.collapse{left:21px;font-size:0}.collapse b{display:none}.shell{margin-left:68px}.topbar{padding:0 14px}.topbar h1{font-size:16px}.search{display:none}.account b,.account>span:last-child{display:none}main{padding:15px}.stats-grid{grid-template-columns:1fr}.dashboard-grid{display:block}.dashboard-grid>*{margin-bottom:14px}.stat{height:120px}.funnel-card,.chart-card{height:auto}.page-head h2{font-size:23px}.date{padding:9px}.products>div,.knowledge>div{grid-template-columns:1fr 1fr}}
