* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Microsoft YaHei", "Segoe UI", sans-serif;
       background: #f5f6f8; color: #1f2329; font-size: 14px; }
a { color: #1f6b2e; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar { background: #1f6b2e; color: #fff; padding: 12px 24px; display: flex;
          align-items: center; gap: 22px; }
.topbar .brand { font-size: 17px; font-weight: 600; }
.topbar a { color: #e8f5ec; margin-right: 4px; }
.topbar a:hover { color: #fff; }
.topbar .right { margin-left: auto; }

.container { max-width: 1100px; margin: 22px auto; padding: 0 18px; }
.card { background: #fff; border: 1px solid #e6e8eb; border-radius: 10px;
        padding: 18px; margin-bottom: 18px; }
h2 { font-size: 18px; margin: 0 0 14px; }

.stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat { flex: 1; min-width: 150px; background: #fff; border: 1px solid #e6e8eb;
        border-radius: 10px; padding: 16px; text-align: center; }
.stat .num { font-size: 26px; font-weight: 700; color: #1f6b2e; }
.stat .label { color: #6b7280; margin-top: 4px; }

table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 9px 10px; border-bottom: 1px solid #eef0f2; text-align: left; }
th { background: #fafbfc; color: #6b7280; font-weight: 600; }
tr:hover td { background: #f7fbf8; }

form.inline { display: inline; }
input, select, textarea { font: inherit; padding: 7px 9px; border: 1px solid #cfd4da;
        border-radius: 6px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #1f6b2e; }
.btn { display: inline-block; background: #1f6b2e; color: #fff; border: none;
       padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.btn:hover { background: #185a27; }
.btn.sm { padding: 4px 9px; font-size: 13px; }
.btn.danger { background: #c0392b; }
.btn.danger:hover { background: #a93226; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.pager { margin-top: 14px; display: flex; gap: 12px; align-items: center; }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-box { width: 340px; background: #fff; border: 1px solid #e6e8eb; border-radius: 12px;
             padding: 28px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.login-box h1 { font-size: 19px; color: #1f6b2e; text-align: center; margin: 0 0 18px; }
.login-box input { width: 100%; margin-bottom: 12px; }
.login-box .btn { width: 100%; }
.error { color: #c0392b; text-align: center; margin: 6px 0 0; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 5px; color: #4b5563; }
.field input, .field select, .field textarea { width: 100%; }
