* { box-sizing: border-box; }
body {
  font-family: -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: #f5f6f8;
  margin: 0;
  color: #222;
}
.hidden { display: none !important; }
.screen { min-height: 100vh; }
#login-screen { display: flex; align-items: center; justify-content: center; }
.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin: 16px auto;
  max-width: 720px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #2e7d32;
  color: #fff;
}
header h1 { font-size: 18px; margin: 0; }
.user-info { display: flex; align-items: center; gap: 12px; }
button {
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
button.secondary { background: #999; }
button:hover { opacity: 0.9; }
label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: #444;
}
input, select, textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.form-actions { display: flex; gap: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #eee; }
.error { color: #c62828; font-size: 14px; }
main { max-width: 800px; margin: 0 auto; padding: 16px; }
