:root{
  --bg:#f3f4f6;
  --panel:#ffffff;
  --stroke: rgba(15,23,42,.10);
  --text:#0f172a;
  --muted: rgba(15,23,42,.62);
  --shadow: 0 16px 40px rgba(2,6,23,.10);
  --r: 16px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font:14px/1.35 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:var(--text);background:var(--bg)}

.app{display:grid;grid-template-columns:260px 1fr;min-height:100vh}
.sidebar{
  padding:18px 14px;
  background: radial-gradient(900px 700px at 20% 20%, rgba(255,255,255,.22), rgba(255,255,255,0)),
              linear-gradient(135deg,#a855f7,#3b82f6);
  color:#fff;
}
.brand{padding:8px 10px;margin-bottom:12px}
.brand-text{font-weight:850;letter-spacing:.2px}
.nav{display:flex;flex-direction:column;gap:6px;padding:8px}
.nav-item{
  display:flex;align-items:center;gap:10px;
  padding:10px 10px;border-radius:12px;
  color:rgba(255,255,255,.86);text-decoration:none
}
.nav-item .i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.nav-item.active{background:rgba(255,255,255,.18);color:#fff}
.nav-item:hover{background:rgba(255,255,255,.14);color:#fff}

.main{display:flex;flex-direction:column}
.topbar{
  height:64px;display:flex;align-items:center;justify-content:space-between;
  padding:0 22px;border-bottom:1px solid var(--stroke);background:rgba(255,255,255,.75);backdrop-filter: blur(10px)
}
.icon-btn{
  width:40px;height:40px;border-radius:12px;border:1px solid var(--stroke);
  background:#fff;color:var(--text);display:grid;place-items:center;cursor:pointer
}
.icon-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.top-actions{display:flex;align-items:center;gap:10px}
.avatar{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#fb7185,#f97316);border:1px solid var(--stroke)}

.content{padding:22px;display:flex;flex-direction:column;gap:16px}

.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.kpi{
  border-radius:var(--r);padding:14px;color:#fff;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.18)
}
.kpi-label{font-size:12px;opacity:.9}
.kpi-value{font-size:20px;font-weight:850;margin-top:6px}
.k1{background:linear-gradient(135deg,#fb7185,#f97316)}
.k2{background:linear-gradient(135deg,#f472b6,#a855f7)}
.k3{background:linear-gradient(135deg,#60a5fa,#2563eb)}
.k4{background:linear-gradient(135deg,#34d399,#22c55e)}

.card{background:var(--panel);border:1px solid var(--stroke);border-radius:var(--r);padding:14px;box-shadow:var(--shadow)}
.card-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.card-title{font-weight:850}
.ghost-btn{width:34px;height:34px;border-radius:12px;border:1px solid var(--stroke);background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer}
.ghost-btn svg{width:18px;height:18px;stroke:currentColor;fill:none}

.projects{display:flex;flex-direction:column;gap:10px}
.p-row{display:flex;align-items:center;justify-content:space-between;padding:10px;border-radius:14px;border:1px solid rgba(15,23,42,.08);background:#fff}
.p-left{display:flex;align-items:center;gap:10px;font-weight:650}
.p-right{color:var(--muted);font-weight:750}
.tag{width:10px;height:10px;border-radius:999px}
.t1{background:#3b82f6}.t2{background:#f97316}.t3{background:#22c55e}

.chart{padding:8px 6px}
.chart-bars{height:190px;display:flex;align-items:flex-end;gap:10px;padding:8px 10px}
.chart-bars span{flex:1;border-radius:12px;border:1px solid rgba(15,23,42,.08);background:linear-gradient(180deg, rgba(59,130,246,.70), rgba(59,130,246,.18))}
.chart-x{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;padding:0 10px 6px}
