* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f4f5f7;
  color: #1c2027;
  margin: 0;
  padding: 24px 16px;
}
.wrap {
  max-width: 640px;
  margin: 0 auto;
}
h1 { font-size: 22px; margin-bottom: 4px; }
h2 { font-size: 17px; margin: 28px 0 10px; }
.muted { color: #6b7280; font-size: 14px; }
.card {
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef0f3;
  color: #445;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.status.approved { background: #dcf5e3; color: #1a7a3d; }
.status.needs_revision { background: #fde3e0; color: #b83a2c; }
.status.proposed { background: #e8eefc; color: #2557c9; }
label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 4px; }
input[type=text], input[type=password], input[type=date], textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d4d7dc;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
textarea { min-height: 80px; resize: vertical; }
button {
  margin-top: 14px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #2557c9;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
button.secondary { background: #eef0f3; color: #1c2027; }
button.danger { background: #b83a2c; }
.draft-actions { display: flex; gap: 8px; margin-top: 10px; }
.draft-actions form { flex: 1; }
.draft-actions button { width: 100%; margin-top: 0; }
a.logout { float: right; font-size: 13px; color: #6b7280; }
.login-box { max-width: 320px; margin: 60px auto; text-align: center; }
.error { color: #b83a2c; font-size: 14px; margin-top: 8px; }
