* { box-sizing: border-box; }
body {
  font-family: -apple-system, Segoe UI, Arial, sans-serif;
  margin: 0;
  background: #f5f5f2;
  color: #222;
}
.site-header {
  background: #2f5233;
  color: white;
  padding: 0.8rem 1.5rem;
}
.site-header .brand {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
h1 { margin-top: 0; }
h2 { border-bottom: 1px solid #ccc; padding-bottom: 0.3rem; margin-top: 2rem; }
.form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 600px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
}
.form label.checkbox, .form label.radio {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.form input[type="text"], .form input[type="email"], .form input[type="password"],
.form input[type="date"], .form textarea {
  padding: 0.5rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
}
.form textarea { min-height: 4rem; }
button, .button {
  display: inline-block;
  background: #2f5233;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  margin: 0.3rem 0.3rem 0.3rem 0;
}
.button.secondary { background: #6c757d; }
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.table th, .table td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
}
.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.card-links { display: flex; gap: 1rem; margin-top: 1rem; }
.error { color: #b00020; }
.status-ok { color: #2f5233; font-weight: bold; }
.status-open { color: #b00020; font-weight: bold; }
