:root{
  --bg:#0b0f14; --panel:#131a22; --line:#223041;
  --text:#e7eef7; --muted:#aab6c6; --shadow:0 18px 40px rgba(0,0,0,.35);
  --r:14px;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;background:var(--bg);color:var(--text)}
a{color:inherit;text-decoration:none}
button{font:inherit}

.l{min-height:100vh;display:flex;flex-direction:column}
.top{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.02)}
.brand{display:flex;align-items:center;gap:10px}
.logo{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);font-weight:800}
.title{font-weight:800;letter-spacing:.4px}
.meta{color:var(--muted);margin-left:8px;font-size:14px}

.nav{display:flex;gap:10px;flex-wrap:wrap}
.nav a{padding:8px 10px;border-radius:10px}
.nav a:hover{background:rgba(255,255,255,.05)}

.wrap{width:min(980px,100%);margin:0 auto;padding:18px}
.foot{margin-top:auto;padding:14px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:14px}

.card{
  padding:16px;border-radius:var(--r);background:var(--panel);
  border:1px solid rgba(255,255,255,.06);box-shadow:var(--shadow)
}
.muted{color:var(--muted);line-height:1.5}
.row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

.btn{
  cursor:pointer;border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);color:var(--text);
  padding:10px 12px;border-radius:12px;
}
.btn:hover{background:rgba(255,255,255,.08)}
.btn.ghost{background:transparent}
.btn.ghost:hover{background:rgba(255,255,255,.06)}

@media (max-width:720px){
  .top{flex-direction:column;align-items:flex-start;gap:10px}
  .wrap{padding:14px}
}

.form{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.field{display:flex;flex-direction:column;gap:6px}
.field span{font-size:13px;color:var(--muted)}
.field input{
  padding:10px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
.field input:focus{border-color:rgba(255,255,255,.25)}
.error{
  margin:0;padding:10px 12px;border-radius:12px;
  border:1px solid rgba(255,80,80,.35);
  background:rgba(255,80,80,.12);
  color:var(--text);
}
.small{font-size:14px}
button.link{
  background:transparent;border:none;color:inherit;cursor:pointer;
  padding:8px 10px;border-radius:10px
}
button.link:hover{background:rgba(255,255,255,.05)}
