* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; background: #f0f2f5; color: #1a1a2e; line-height: 1.6; }
.wrap { max-width: 960px; margin: 0 auto; padding: 24px; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
h1 { margin: 0; font-size: 1.4rem; }
.card { background: #fff; border-radius: 10px; padding: 24px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
label { display: block; font-weight: 600; margin: 12px 0 6px; font-size: .9rem; }
input[type=text], input[type=password], input[type=number], input[type=url], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: .95rem;
}
textarea { min-height: 80px; font-family: inherit; }
.btn { display: inline-block; background: #2563eb; color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; border: none; cursor: pointer; font-size: .95rem; }
.btn:hover { background: #1d4ed8; }
.btn-danger { background: #dc2626; }
.btn-danger:hover { background: #b91c1c; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-outline { background: #fff; color: #2563eb; border: 1px solid #2563eb; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid #eee; text-align: left; font-size: .9rem; }
code { background: #eef2ff; padding: 2px 6px; border-radius: 4px; font-size: .85rem; word-break: break-all; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }
.alert-ok { background: #dcfce7; color: #166534; }
.alert-err { background: #fee2e2; color: #991b1b; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 200px; }
.hint { color: #666; font-size: .85rem; margin-top: 4px; }
.login-box { max-width: 400px; margin: 80px auto; }
