﻿body { font-family: "Microsoft YaHei", sans-serif; background: #f2f2f2; margin: 0; color: #111; }
.container { padding: 14px 18px; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tabs { display: flex; gap: 18px; align-items: center; }
.tab { color: #111; text-decoration: none; padding: 3px 1px; }
.tab.active { font-weight: 700; border-bottom: 2px solid #333; }
.user-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.user-switch a { color: #1677ff; text-decoration: none; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 18px; }
.metrics { display: flex; gap: 36px; font-size: 15px; }
.metrics strong { font-size: 28px; font-weight: 500; }
.btn { background: #1677ff; color: #fff; text-decoration: none; border: none; padding: 8px 14px; border-radius: 4px; cursor: pointer; }
.btn.secondary { background: #999; }
.actions-line { display: flex; gap: 8px; }
.batch-bar { display: flex; gap: 10px; align-items: center; background: #fff; padding: 10px; border-radius: 6px; margin-bottom: 10px; }
.batch-bar label { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.batch-bar select { padding: 6px; border: 1px solid #bbb; border-radius: 4px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border: 1px solid #c8c8c8; padding: 6px 8px; font-size: 14px; text-align: center; }
th { background: #f8f8f8; font-weight: 600; }
.link-btn { border: 0; background: none; color: #1677ff; cursor: pointer; }
.a-btn { text-decoration: none; font-size: 14px; }
.danger { color: #e34d59; }
.op-line { display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; }
.form-wrap { background: #fff; padding: 16px; border-radius: 6px; max-width: 900px; }
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.grid-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.grid-form input, .grid-form select { padding: 7px; border: 1px solid #bbb; border-radius: 4px; }
.actions { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 6px; }
.member-box { grid-column: 1 / -1; border: 1px solid #ddd; border-radius: 6px; padding: 10px; background: #fafafa; }
.member-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.member-table input { width: 95%; }
.member-tip { color: #666; font-size: 12px; margin-top: 6px; }
.flash-wrap { margin-bottom: 10px; }
.flash { background: #fffbe6; border: 1px solid #ffe58f; color: #ad6800; padding: 8px 10px; border-radius: 4px; margin-bottom: 8px; }
.flash.error { background: #fff2f0; border-color: #ffccc7; color: #a8071a; }

.login-wrap { width: 360px; margin: 120px auto; background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.login-wrap h2 { margin-top: 0; }
.login-form { display: flex; flex-direction: column; gap: 10px; }
.login-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.login-form input { padding: 8px; border: 1px solid #bbb; border-radius: 4px; }
.error-text { color: #cf1322; font-size: 13px; }
.hint { color: #666; font-size: 12px; margin-top: 10px; }
