:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --line: #e3e8ef;
  --text: #1f2933;
  --muted: #6b7785;
  --brand: #2f6df6;
  --brand-d: #1f55d0;
  --ok: #1f9d55;
  --err: #d64545;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}
h1 { font-size: 22px; margin: 0 0 4px; }
h2 { font-size: 16px; margin: 26px 0 10px; }
.sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input[type="text"], input[type="password"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
}
input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.15); }
button {
  cursor: pointer;
  border: none;
  border-radius: 9px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  transition: background 0.15s;
}
button:hover { background: var(--brand-d); }
button.ghost { background: #eef2f8; color: var(--text); }
button.ghost:hover { background: #e2e8f2; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.msg { font-size: 13px; margin-top: 12px; min-height: 18px; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }
.bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pill { font-size: 12px; color: var(--muted); background: #eef2f8; padding: 4px 10px; border-radius: 999px; }
.clients { list-style: none; padding: 0; margin: 0; }
.clients li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.clients a { color: var(--brand); text-decoration: none; font-weight: 600; }
.clients a:hover { text-decoration: underline; }
.note { font-size: 12px; color: var(--muted); background: #fbfcfe; border: 1px dashed var(--line); border-radius: 9px; padding: 10px 12px; margin-top: 10px; }
