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

body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

nav {
  background: #2c5f2e;
  color: white;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

nav a.brand {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
}

nav ul a:hover {
  color: white;
}

nav .nav-user {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav .nav-user a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

nav .nav-user a:hover {
  color: white;
}

main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: #1a1a1a;
}

.flash-notice {
  background: #d4edda;
  color: #155724;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.flash-alert {
  background: #f8d7da;
  color: #721c24;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  text-align: center;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c5f2e;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: #666;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.action-card {
  background: white;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #333;
  display: block;
  border-left: 4px solid #2c5f2e;
  transition: box-shadow 0.15s;
}

.action-card:hover {
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.action-card .action-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #2c5f2e;
}

.action-card .action-desc {
  font-size: 0.85rem;
  color: #666;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid #e0e0e0;
  font-weight: 600;
  color: #555;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
}

tr:last-child td {
  border-bottom: none;
}

a {
  color: #2c5f2e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.btn {
  display: inline-block;
  text-decoration: none;
}

a.btn-primary {
  color: white;
}

a.btn-primary:hover {
  color: white;
}

.btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: #2c5f2e;
  color: white;
}

.btn-primary:hover {
  background: #234d25;
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #e5e5e5;
  text-decoration: none;
}

.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
  color: white;
  text-decoration: none;
}

.button-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

form div {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #444;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="url"],
select,
textarea {
  width: 100%;
  max-width: 480px;
  padding: 0.45rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.95rem;
  font-family: inherit;
}

input[type="submit"],
button[type="submit"] {
  background: #2c5f2e;
  color: white;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
  cursor: pointer;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  background: #234d25;
}

.text-muted {
  color: #666;
  font-size: 0.9rem;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.lsn {
  list-style-type: none;
}

.version {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}