:root{
  --bg:#0b1220;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.09);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --border:rgba(255,255,255,.12);
  --shadow: 0 20px 50px rgba(0,0,0,.45);
  --radius:18px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(79,70,229,.35), transparent 60%),
    radial-gradient(800px 480px at 90% 30%, rgba(16,185,129,.20), transparent 60%),
    linear-gradient(180deg, #070b14, var(--bg));
  min-height:100vh;
}
.wrap{max-width:980px;margin:0 auto;padding:28px 16px 48px}
.top{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);
  background:rgba(255,255,255,.04);backdrop-filter: blur(10px);
}
.brand{display:flex;align-items:center;gap:12px}
.logo{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background:rgba(99,102,241,.25);
  border:1px solid rgba(99,102,241,.35);
  font-weight:700;
}
h1{font-size:16px;margin:0 0 2px 0;font-weight:700}
p{margin:0;color:var(--muted);font-size:13px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
@media (max-width:900px){.grid{grid-template-columns:1fr}}
.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--panel);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.cardHead{
  padding:14px 16px;
  background:linear-gradient(180deg, var(--panel2), transparent);
  border-bottom:1px solid var(--border);
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.cardHead h2{margin:0;font-size:14px;font-weight:700}
.muted{font-size:12px;color:var(--muted)}
.cardBody{padding:16px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
@media (max-width:520px){.row{grid-template-columns:1fr}}
label{display:block;font-size:12px;color:var(--muted);margin:0 0 6px}
input, textarea{
  width:100%;
  padding:10px 11px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.28);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color:rgba(99,102,241,.7)}
textarea{min-height:92px;resize:vertical}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
button{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
  font-size:13px;
}
button.primary{
  border-color:rgba(99,102,241,.55);
  background:rgba(99,102,241,.22);
}
button.danger{
  border-color:rgba(239,68,68,.55);
  background:rgba(239,68,68,.18);
}
.pill{
  font-size:12px;color:var(--muted);
  border:1px solid var(--border);
  padding:8px 10px;border-radius:999px;
  background:rgba(0,0,0,.22);
}
.status{margin-top:10px;font-size:12px;color:var(--muted)}

body { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; }
.center { min-height:100vh; display:grid; place-items:center; }
.card { width:min(420px, 92vw); padding:18px; border:1px solid #ddd; border-radius:14px; }
.row { display:flex; gap:10px; margin-top:12px; }
.muted { opacity:.7; font-size:12px; }
.primary { padding:10px 12px; }
.danger { padding:10px 12px; }

.layout { display:grid; grid-template-columns: 240px 1fr; min-height:100vh; }
.sidebar { border-right:1px solid #ddd; padding:16px; display:flex; flex-direction:column; gap:14px; }
.brand { font-weight:800; font-size:18px; }
.sidebar nav { display:flex; flex-direction:column; gap:8px; }
.sidebar a { text-decoration:none; padding:10px 10px; border-radius:10px; border:1px solid #eee; }
.footer { margin-top:auto; display:flex; flex-direction:column; gap:10px; }

.main { padding:16px; }
.topbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.page h2 { margin-top:0; }

.list { display:flex; flex-direction:column; gap:10px; }
.item { display:flex; justify-content:space-between; gap:12px; border:1px solid #eee; border-radius:12px; padding:12px; }
.card2 { border:1px solid #eee; border-radius:12px; padding:12px; display:flex; flex-direction:column; gap:8px; }
input, textarea { padding:10px; border-radius:10px; border:1px solid #ddd; width:100%; }