:root{
  --bg:#0f1720; --card:#0f1a25; --muted:#8b98a7; --accent:#2b6cb0; --danger:#e53e3e;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Segoe UI,Roboto,Arial;background:var(--bg);color:#e6eef6}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 28px}
.brand{font-weight:800;font-size:20px}
.actions button{margin-left:8px}
.controls{padding:8px 28px;color:var(--muted)}
.primary{background:#2772ff;border:none;color:white;padding:8px 12px;border-radius:6px;cursor:pointer}
.secondary{background:transparent;border:1px solid rgba(255,255,255,0.06);color:#cfd8e3;padding:6px 10px;border-radius:6px}
.grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;padding:18px 28px}
.panel{background:var(--card);border-radius:10px;box-shadow:0 1px 0 rgba(255,255,255,0.02);overflow:hidden;display:flex;flex-direction:column;height:420px}
.panel-header{padding:14px 18px;font-weight:700;background:transparent;color:white}
.panel-header.purple{background:#6b46c1}
.panel-header.red{background:#e53935}
.panel-body{padding:12px 16px;flex:1;overflow:auto}
.badge{float:right;background:rgba(255,255,255,0.06);padding:4px 8px;border-radius:999px;font-size:12px;color:#e6eef6}
.lower{padding:0 28px 28px}
.card{background:var(--card);border-radius:10px;padding:14px;margin-bottom:16px}
.card.wide{padding:16px}
#linksList .link-item{display:flex;justify-content:space-between;padding:10px;border-radius:8px;background:rgba(255,255,255,0.01);margin-bottom:8px}
.link-form{display:flex;gap:8px;margin-top:8px}
.link-form input{flex:1;padding:8px;border-radius:6px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:white}
textarea{width:100%;padding:12px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:white;resize:vertical}
.auth-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh}
.auth-container .card{width:380px;padding:18px}
label{display:block;margin:8px 0;color:var(--muted)}
input{width:100%;padding:8px;border-radius:6px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:white}
.muted{color:var(--muted);margin-top:8px}
