:root{
  --bg:#f6f9ff;
  --card:#ffffff;
  --text:#0b2540;
  --muted:#5c7187;
  --border:rgba(15,60,120,0.14);
  --blue:#1f6fe0;
  --green:#20a36a;
  --shadow:0 10px 30px rgba(15,60,120,0.10);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  background:linear-gradient(180deg, var(--bg), #ffffff 60%);
  color:var(--text);
}

.wrap{
  max-width:900px;
  margin:40px auto;
  padding:26px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow);
}

.header{
  display:flex;
  gap:18px;
  align-items:center;
  padding-bottom:18px;
  border-bottom:1px solid var(--border);
}

.avatar{
  width:96px;height:96px;
  border-radius:16px;
  object-fit:cover;
  border:1px solid var(--border);
}

h1{margin:0;font-size:2rem;letter-spacing:-0.02em}
.sub{margin:6px 0 10px;color:var(--muted)}
.links{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:0.95rem}
.links a{color:var(--blue);text-decoration:none}
.links a:hover{text-decoration:underline}

.actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  background:var(--blue);
  color:#fff;
  text-decoration:none;
  border:0;
  cursor:pointer;
  font-weight:600;
}

.btn:hover{filter:brightness(0.97)}
.btn-ghost{
  background:#fff;
  color:var(--blue);
  border:1px solid rgba(31,111,224,0.28);
}

.section{padding:18px 0}
.section h2{
  margin:0 0 10px;
  font-size:1.15rem;
}
.section h2::after{
  content:"";
  display:block;
  width:48px;height:3px;
  margin-top:7px;
  background:linear-gradient(90deg,var(--blue),var(--green));
  border-radius:2px;
}

p{line-height:1.6}
ul{margin:0;padding-left:18px}
li{margin:8px 0}
.muted{color:var(--muted)}

.form{display:grid;gap:12px;max-width:720px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
input,textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  outline:none;
}
input:focus,textarea:focus{
  border-color:rgba(31,111,224,0.6);
  box-shadow:0 0 0 4px rgba(31,111,224,0.14);
}

.footer{
  margin-top:10px;
  padding-top:18px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:0.92rem;
  text-align:center;
}

@media (max-width:720px){
  .wrap{margin:18px; padding:18px}
  .header{flex-direction:column; align-items:flex-start}
  .row{grid-template-columns:1fr}
}
