:root{
  --bg:#0b1020;
  --text:#e6edf7;
  --muted:#97a3b6;
  --line:rgba(255,255,255,.08);
  --accent:#60a5fa;
  --accent2:#a78bfa;
  --good:#22c55e;
  --warn:#f59e0b;
  --bad:#ef4444;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --r1:18px;
  --r2:26px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(96,165,250,.25), transparent 55%),
    radial-gradient(900px 600px at 90% 0%, rgba(167,139,250,.25), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(34,197,94,.10), transparent 60%),
    var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  line-height:1.45;
}

a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:20px}
.topbar{
  position:sticky; top:0;
  backdrop-filter: blur(10px);
  background:rgba(11,16,32,.72);
  border-bottom:1px solid var(--line);
  z-index:10
}
.topbar-inner{display:flex; gap:14px; align-items:center; justify-content:space-between; padding:14px 20px}
.brand{display:flex; gap:10px; align-items:center; font-weight:900; letter-spacing:.2px}
.dot{width:12px;height:12px;border-radius:999px;background:linear-gradient(135deg,var(--accent),var(--accent2)); box-shadow:0 0 0 6px rgba(96,165,250,.15)}
.nav{display:flex; gap:10px; flex-wrap:wrap}
.nav-link{padding:8px 10px; border-radius:12px; color:var(--muted); border:1px solid transparent}
.nav-link:hover{color:var(--text); border-color:var(--line); background:rgba(255,255,255,.03)}
.nav-link.active{color:var(--text); border-color:rgba(96,165,250,.35); background:rgba(96,165,250,.10)}

.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:var(--r2);
  box-shadow:var(--shadow);
}
.card-inner{padding:20px}

.h1{font-size:38px; line-height:1.1; margin:0 0 10px}
.sub{color:var(--muted); font-size:15px; margin:0 0 16px}

.grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:16px}
@media(max-width:900px){ .grid{grid-template-columns:1fr} }

.btn-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-weight:900;
}
.btn:hover{border-color:rgba(96,165,250,.45); background:rgba(96,165,250,.10)}
.btn.primary{background:linear-gradient(135deg, rgba(96,165,250,.20), rgba(167,139,250,.18)); border-color:rgba(96,165,250,.35)}
.btn.ghost{background:transparent}

.kpi-row{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
@media(max-width:900px){ .kpi-row{grid-template-columns:1fr} }
.kpi{padding:16px; border-radius:var(--r1); border:1px solid var(--line); background:rgba(255,255,255,.03)}
.k{color:var(--muted); font-size:12px}
.v{font-size:22px; font-weight:900; margin-top:4px}
.mini{color:var(--muted); font-size:12px; margin-top:6px}

.notice{border-radius:var(--r1); border:1px solid rgba(239,68,68,.35); background:rgba(239,68,68,.06); padding:12px 12px; color:#ffd3d3}

.board-head{display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap}
.board-title{font-weight:900; font-size:20px}
.pill{display:inline-flex; gap:8px; align-items:center; padding:6px 10px; border-radius:999px; border:1px solid var(--line); color:var(--muted); font-size:12px; background:rgba(255,255,255,.02)}
.pill.good{border-color:rgba(34,197,94,.35); background:rgba(34,197,94,.08); color:#bff3cf}
.pill.warn{border-color:rgba(245,158,11,.35); background:rgba(245,158,11,.08); color:#ffe7bf}

.lanes{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:14px}
@media(max-width:900px){ .lanes{grid-template-columns:1fr} }
.lane{
  border:1px solid var(--line);
  border-radius:var(--r1);
  background:rgba(255,255,255,.02);
  overflow:hidden;
}
.lane-h{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(255,255,255,.03);
}
.lane-h .name{font-weight:900}
.lane-body{padding:10px 10px; min-height:140px; display:flex; flex-direction:column; gap:10px}

.task{
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  padding:10px 10px;
  display:flex; flex-direction:column; gap:8px;
}
.task .t{font-weight:900}
.task .meta{display:flex; gap:8px; flex-wrap:wrap; align-items:center}
.task .actions{display:flex; gap:8px; flex-wrap:wrap}

.input-row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.input, select, textarea{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  color:var(--text);
  outline:none;
}
.input{min-width:240px}
textarea{width:100%; min-height:90px; resize:vertical}
small{color:var(--muted)}

.footer{border-top:1px solid var(--line); margin-top:28px; background:rgba(11,16,32,.70)}
.footer-inner{padding:16px 20px}
.muted{color:var(--muted)}
