* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "Microsoft YaHei", sans-serif; background: #f5f6f8; color: #1f2733; font-size: 14px; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f2138 0%, #1b3a5c 100%); }
.login-card { width: 360px; background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 20px 60px rgba(0,0,0,.3); text-align: center; }
.login-card .logo { width: 56px; height: 56px; line-height: 56px; margin: 0 auto 14px; border-radius: 14px;
  background: #c9a227; color: #0f2138; font-size: 26px; font-weight: 700; }
.login-card h1 { font-size: 20px; margin-bottom: 6px; }
.login-card .sub { color: #7a8699; font-size: 12px; margin-bottom: 24px; }
.login-card input { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid #dde2ea; border-radius: 8px; font-size: 14px; }
.login-card .tip { color: #c0392b; font-size: 12px; margin-top: 12px; min-height: 16px; }
.btn { border: 0; border-radius: 8px; padding: 9px 16px; cursor: pointer; font-size: 13px; }
.btn.primary { background: #1b3a5c; color: #fff; width: 100%; padding: 12px; margin-top: 6px; }
.btn.gold { background: #c9a227; color: #0f2138; font-weight: 600; }
.btn.sm { padding: 5px 10px; font-size: 12px; }
.btn.ghost { background: #eef1f5; color: #1b3a5c; }
.link { background: none; border: 0; color: #c9a227; cursor: pointer; font-size: 12px; }
.side { position: fixed; left: 0; top: 0; bottom: 0; width: 210px; background: #0f2138; color: #d8e0ea; padding: 20px 0; }
.side .brand { font-size: 16px; font-weight: 600; padding: 0 20px 20px; color: #fff; }
.side .brand small { display: block; color: #c9a227; font-size: 11px; font-weight: 400; margin-top: 4px; }
.side nav a { display: block; padding: 11px 20px; color: #aebaca; cursor: pointer; text-decoration: none; }
.side nav a:hover, .side nav a.active { background: rgba(201,162,39,.16); color: #fff; border-left: 3px solid #c9a227; }
.side-foot { position: absolute; bottom: 20px; left: 20px; right: 20px; font-size: 12px; color: #90a0b4; }
.main { margin-left: 210px; min-height: 100vh; }
.top { height: 60px; background: #fff; border-bottom: 1px solid #e8ebf0; display: flex; align-items: center;
  justify-content: space-between; padding: 0 28px; font-size: 16px; font-weight: 600; }
.badge { font-size: 11px; font-weight: 400; color: #b7791f; background: #fff5e0; padding: 5px 10px; border-radius: 20px; }
.content { padding: 24px 28px; }
.panel { background: #fff; border-radius: 12px; padding: 22px; margin-bottom: 18px; }
.panel h3 { font-size: 15px; margin-bottom: 14px; color: #1b3a5c; }
.hint { color: #7a8699; font-size: 12px; line-height: 1.7; margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eef1f5; }
th { color: #6b7789; font-weight: 500; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; align-items: flex-end; }
.form-item { display: flex; flex-direction: column; gap: 5px; }
.form-item label { font-size: 12px; color: #6b7789; }
input, select { padding: 8px 10px; border: 1px solid #dde2ea; border-radius: 6px; font-size: 13px; min-width: 130px; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 10px; background: #eef1f5; color: #5a6675; }
.tag.ok { background: #e7f5ed; color: #23804a; }
.tag.warn { background: #fff5e0; color: #b7791f; }
.mono { font-family: Consolas, monospace; font-size: 12px; }
.empty { color: #9aa5b4; text-align: center; padding: 24px; }
