* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; background: #f4f6f4; margin: 0; color: #1c221c; }
nav { background: #163300; color: #fff; padding: .8rem 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.brand { color: #9fe870; font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav-links a { color: #cfe8c9; text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: #9fe870; }
.nav-user { color: #9fe870; font-weight: 600; }
.btn-link { background: none; border: none; color: #9fe870; font-weight: 600; cursor: pointer; padding: 0; font-size: 1rem; }
main { max-width: 960px; margin: 2rem auto; padding: 0 1rem; }
.card { background: #fff; border-radius: 10px; padding: 1.5rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); margin-bottom: 1rem; }
h1, h2, h3 { margin-top: 0; }
.btn { display: inline-block; padding: .6rem 1.2rem; border: 0; border-radius: 6px; background: #9fe870; color: #163300; font-weight: 600; cursor: pointer; text-decoration: none; font-size: 1rem; }
.btn:hover { background: #80e142; }
.btn-danger { background: #a8200d; color: #fff; }
.btn-danger:hover { background: #8e1b0b; }
input, textarea, select { padding: .6rem; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; font-family: inherit; }
textarea { width: 100%; min-height: 160px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
th, td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid #eee; font-size: .95rem; }
th { background: #163300; color: #9fe870; }
tr:last-child td { border-bottom: 0; }
.notice { background: #f0f7ea; border-left: 4px solid #9fe870; padding: .8rem 1rem; border-radius: 4px; margin-bottom: 1rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: #fff; border-radius: 10px; padding: 1.2rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); text-align: center; }
.stat .num { display: block; font-size: 1.8rem; font-weight: 700; color: #163300; }
.stat .num.no { color: #a8200d; }
.stat .lbl { color: #6b756b; font-size: .85rem; }
form.inline { display: inline; }
.form-row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .8rem; }
.err { color: #a8200d; margin: 0 0 .8rem; }
.login-card { width: 340px; margin: 0 auto; }
a { color: #163300; }
