:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #1b1d1f;
  --muted: #5d6166;
  --line: #e2e0d8;
  --brand: #0f5b46;
  --brand-ink: #ffffff;
  --danger: #a32020;
  --ok-bg: #e8f3ee;
  --err-bg: #fbeaea;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121416;
    --surface: #1b1e21;
    --text: #eceae4;
    --muted: #a3a7ab;
    --line: #2c3034;
    --brand: #3fb58f;
    --brand-ink: #0c1512;
    --danger: #ff8a80;
    --ok-bg: #16302a;
    --err-bg: #3a1c1c;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); }
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .brand { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
header.site nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
header.site nav form { margin: 0; }
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
main.wide { max-width: 980px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 28px 0 10px; }
p.lead { color: var(--muted); font-size: 18px; margin-top: 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
}
label { display: block; font-weight: 600; margin: 14px 0 6px; }
.hint { color: var(--muted); font-size: 14px; font-weight: 400; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
input[type="file"] { font: inherit; max-width: 100%; }
textarea { min-height: 80px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
button, .button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
button.secondary, .button.secondary { background: transparent; color: var(--brand); }
button.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
button.link { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 400; text-decoration: underline; }
.notice { padding: 12px 14px; border-radius: 8px; margin: 0 0 16px; background: var(--ok-bg); }
.notice.error { background: var(--err-bg); color: var(--danger); }
.code { font: 600 28px/1.2 ui-monospace, Menlo, monospace; letter-spacing: 0.08em; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 14px; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); }
.status.approved { background: var(--ok-bg); }
.status.rejected { background: var(--err-bg); color: var(--danger); }
.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 40px; }
.steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.muted { color: var(--muted); }
@media (max-width: 560px) {
  .hero h1 { font-size: 30px; }
  th:nth-child(3), td:nth-child(3) { display: none; }
}
