/* === BASE === */
* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, Arial, sans-serif;
  margin: 0;
  background: #f0f4f0;
  color: #1a1a1a;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

/* === CARDS === */
.card {
  background: white;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  margin-bottom: 0;
}

/* === TYPOGRAPHY === */
h1 { margin: 0 0 14px; font-size: 1.6rem; }
h2 { margin: 0 0 12px; font-size: 1.2rem; }
h3 { margin: 0 0 8px; font-size: 1rem; }
p  { margin: 0 0 10px; }

/* === NAV === */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  background: white;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  align-items: center;
}

.nav a {
  color: #2d7a2d;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .15s;
}

.nav a:hover {
  background: #f0faf0;
}

/* === FORMS === */
label {
  display: block;
  margin: 12px 0 5px;
  font-weight: 600;
  font-size: .9rem;
  color: #374151;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  background: #fafafa;
  transition: border-color .15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #2d7a2d;
  background: white;
}

/* === BUTTONS === */
button {
  margin-top: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: .95rem;
  font-family: inherit;
  font-weight: 600;
  background: #2d7a2d;
  color: white;
  transition: background .15s, transform .1s;
}

button:hover {
  background: #236023;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

/* === LINKS === */
a { color: #2d7a2d; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === NOTICES === */
.notice {
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #92400e;
  font-size: .9rem;
}

.error {
  padding: 10px 14px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: .9rem;
}

/* === TABLES === */
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid #e5e7eb;
  font-size: .85rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .05em;
}
td { padding: 10px; border-bottom: 1px solid #f3f4f6; font-size: .95rem; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafafa; }

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .container { padding: 12px 10px 40px; }
  .card { padding: 16px; }
  .nav { gap: 4px; padding: 10px 12px; }
}
