:root{
  --bg:#0b1220; --card:#0f1a2e; --edge:#0c1528; --text:#e6ecff; --muted:#9fb0d9;
  --accent:#7c5cff; --ok:#2dd4bf; --warn:#f59e0b; --border:rgba(255,255,255,.08);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; color:var(--text);
  font:14px/1.45 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1100px 700px at 70% -150px,#1a2750 0%,#0b1220 55%),
    linear-gradient(180deg,#0b1220,#0b1220);
}
/* Top bar */
.topbar{position:sticky; top:0; z-index:10; display:flex; align-items:center; gap:12px;
  padding:14px 22px; background:rgba(12,21,40,.65); backdrop-filter:blur(6px);
  border-bottom:1px solid var(--border)}
.topbar img.logo{height:34px}
.topbar .title{font-weight:800; letter-spacing:.2px}
.pill{font-size:12px; padding:4px 8px; border-radius:999px; background:#0d1730; border:1px solid var(--border); color:var(--muted)}
.askflo{flex:1; max-width:640px; margin:0 18px; position:relative}
.askflo input{width:100%; padding:10px 40px 10px 12px; border-radius:10px; border:1px solid var(--border);
  background:#0f1b33; color:var(--text)}
.askflo .mic{position:absolute; right:6px; top:50%; transform:translateY(-50%);
  border:1px solid var(--border); background:#0f1b33; border-radius:8px; padding:6px 8px; color:var(--muted)}
.avatar{width:32px; height:32px; border-radius:50%; background:#1a2750; display:grid; place-items:center;
  font-weight:800; border:1px solid var(--border); color:#cfe}

/* Outer layout: main board + right sidebar */
.wrap{max-width:1380px; margin:24px auto; padding:0 16px}
.main-grid{display:grid; grid-template-columns: 1fr 280px; gap:18px}

/* Inner board grid (left side) */
.board{display:grid; grid-template-columns: repeat(2, 1fr); gap:18px}
.card{background:linear-gradient(180deg,#101a32,#0c162b); border:1px solid var(--border);
  border-radius:14px; padding:16px; box-shadow:0 6px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.03)}
.card h3{margin:0 0 10px; font-size:13px; text-transform:uppercase; letter-spacing:.6px; color:var(--muted)}
.stat{font:800 26px/1.1 inherit}
.badge{display:inline-block; padding:4px 8px; border-radius:999px; border:1px solid var(--border); color:var(--muted); font-size:12px; margin:0 8px 8px 0}

/* Buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:10px 12px; border-radius:10px;
  border:1px solid var(--border); background:#0f1b33; color:var(--text); text-decoration:none; font-weight:600}
.btn:hover{background:#122042}

/* Growth + KPI + viewport */
.growth{min-height:360px}
.kpi-row{display:grid; grid-template-columns: repeat(4, 1fr); gap:18px}
.kpi-row .card h3{font-size:12px}
.viewport{min-height:48vh; display:flex; align-items:center; justify-content:center; color:var(--muted)}

/* Right sidebar column of buttons */
.sidebar{display:flex; flex-direction:column; gap:12px}
.sidebar .btn{width:100%}

@media (max-width:1100px){
  .main-grid{grid-template-columns: 1fr}
  .kpi-row{grid-template-columns: 1fr 1fr}
}
