:root{
  --bg:#0b0f17;
  --card:#0f1624;
  --muted:rgba(255,255,255,.65);
  --text:rgba(255,255,255,.92);
  --line:rgba(255,255,255,.10);
  --accent:#7c5cff;
  --ok:#2ecc71;
  --warn:#f1c40f;
  --danger:#ff4d4f;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1200px 800px at 20% 0%, rgba(124,92,255,.20), transparent 60%),
              radial-gradient(900px 600px at 80% 20%, rgba(46,204,113,.10), transparent 55%),
              var(--bg);
  color:var(--text);
}

.wrap{max-width:980px;margin:0 auto;padding:22px}
.top{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  margin-bottom:18px;
}
h1{margin:0;font-size:28px;letter-spacing:-.4px}
h2{margin:0 0 10px 0;font-size:16px;letter-spacing:-.2px;color:rgba(255,255,255,.88)}
.sub{margin:6px 0 0 0;color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin:14px 0;
}
@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
  .top{flex-direction:column}
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow: var(--shadow);
}

.big{font-size:44px;font-weight:800;letter-spacing:-1px;line-height:1;margin-top:6px}
.kpi{font-size:22px;font-weight:800;letter-spacing:-.4px}
.row{display:flex;gap:12px;align-items:center}
.row.between{justify-content:space-between}
.right{text-align:right;margin-left:auto}
.gap{gap:10px}

.muted{color:var(--muted)}
.small{font-size:12px}
.ok{color:var(--ok);font-weight:700}
.warn{color:var(--warn);font-weight:700}

.bar{
  height:10px;border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
  margin-top:10px;
}
.barFill{height:100%;background: linear-gradient(90deg, var(--accent), rgba(124,92,255,.35))}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(124,92,255,.95), rgba(124,92,255,.70));
  color:white;text-decoration:none;font-weight:800;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.05)}
.btn.ghost{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
.btn.danger{
  background: rgba(255,77,79,.12);
  border:1px solid rgba(255,77,79,.35);
  color:rgba(255,255,255,.92);
}

.input{
  width:100%;
  padding:10px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
}
.input:focus{border-color: rgba(124,92,255,.7)}
.ta{
  width:100%;
  min-height:108px;
  padding:12px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
  resize: vertical;
}
.ta:focus{border-color: rgba(124,92,255,.7)}
.ta.bad{border-color: rgba(241,196,15,.75)}

.lab{display:block;margin:14px 0 8px 0;color:rgba(255,255,255,.88);font-weight:800}
.hint{margin-top:8px;color:rgba(255,255,255,.60);font-size:12px}

.list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.item{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 12px;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:inherit;text-decoration:none;
}
.item:hover{border-color: rgba(124,92,255,.45)}
.itemTitle{font-weight:900}
.pill{
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.86);
  font-weight:800;
}

.link{color:rgba(255,255,255,.80);text-decoration:none}
.link:hover{color:white}
.tag{
  display:inline-block;
  padding:4px 8px;border-radius:999px;
  background: rgba(124,92,255,.16);
  border:1px solid rgba(124,92,255,.30);
  color: rgba(255,255,255,.90);
  font-size:12px;
  vertical-align:middle;
  margin-left:8px;
}
.statusBox{
  padding:10px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}

.foot{margin:18px 0 0 0;padding:10px 0}
