* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #f4f6f9;
    color: #2b3240;
    line-height: 1.6;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

.top { background: #1f2a44; color: #fff; }
.top .nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.logo { color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; }
.top nav a { color: #cdd6e6; margin-left: 18px; text-decoration: none; font-size: 14px; }
.top nav a:hover { color: #fff; }

main { padding: 24px 16px 48px; }

.hero { background: linear-gradient(135deg, #2f4a8f, #3f6fd8); color: #fff; border-radius: 10px; padding: 28px; margin-bottom: 22px; }
.hero h1 { font-size: 24px; margin-bottom: 8px; }
.hero p { opacity: .92; font-size: 14px; }

section { margin-bottom: 26px; }
section h2 { font-size: 18px; margin-bottom: 12px; border-left: 4px solid #3f6fd8; padding-left: 10px; }

.card {
    background: #fff; border: 1px solid #e4e8f0; border-radius: 10px;
    padding: 20px; box-shadow: 0 1px 3px rgba(20, 40, 80, .05);
}

.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(20, 40, 80, .05); }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; font-size: 14px; border-bottom: 1px solid #eef1f6; }
.tbl th { background: #f8fafc; color: #5a6478; font-weight: 600; }
.tbl tr:last-child td { border-bottom: none; }
.tbl code { background: #eef2f9; padding: 2px 6px; border-radius: 4px; font-size: 13px; word-break: break-all; }

.btn {
    display: inline-block; background: #3f6fd8; color: #fff; border: none; border-radius: 6px;
    padding: 8px 16px; font-size: 14px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: #345db8; }
.btn-lg { padding: 12px 26px; font-size: 16px; }
.btn-sm { padding: 4px 10px; font-size: 13px; }
.btn-danger { background: #d9534f; }
.btn-danger:hover { background: #c9302c; }

input[type="text"], input[type="password"], input[type="file"] {
    width: 100%; padding: 9px 12px; border: 1px solid #d5dbe6; border-radius: 6px; font-size: 14px; margin-top: 6px;
}
label { display: block; margin-bottom: 10px; font-size: 14px; }
form p { margin-bottom: 10px; }

.steps { margin: 10px 0 14px 20px; }
.steps li { margin-bottom: 8px; font-size: 14px; }

.empty { color: #8a94a8; background: #fff; border: 1px dashed #d5dbe6; border-radius: 8px; padding: 18px; font-size: 14px; }
.tip { font-size: 13px; color: #6b7689; margin-top: 10px; }
.ok { background: #e8f7ee; color: #227a44; border: 1px solid #bfe8cf; border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.err { background: #fdecec; color: #b3372f; border: 1px solid #f5c6c2; border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.links { list-style: none; }
.links li { margin-bottom: 8px; font-size: 14px; }
.links a { color: #3f6fd8; word-break: break-all; }

.login-wrap { display: flex; justify-content: center; padding-top: 80px; }
.login-card { max-width: 380px; width: 100%; }
.login-card h2 { border-left: none; text-align: center; }

.foot { background: #fff; border-top: 1px solid #e4e8f0; padding: 16px 0; color: #8a94a8; font-size: 13px; text-align: center; }
