:root {
  --green: #1f9d3a;
  --green-2: #3cc05a;
  --green-dark: #0f6b25;
  --cream: #f4f7ec;
  --card: #ffffff;
  --ink: #15231a;
  --muted: #5d6b61;
  --line: #dfe6d6;
  --line-strong: #869688;   /* ≥3:1 on white, for form borders */
  --cta: #157f2c;           /* white text 5.1:1 */
  --red: #d33a2c;
  --amber: #e79a12;
  --blue: #2b6fd6;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 40, 20, .06), 0 4px 16px rgba(15, 40, 20, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3, .brand, .num { font-family: "Fredoka", system-ui, sans-serif; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

.topbar {
  background: linear-gradient(180deg, #2fb04d, var(--cta));
  color: #fff; padding: 14px 16px 18px;
}
.topbar .inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.brand { font-weight: 700; font-size: 28px; letter-spacing: .5px; line-height: 1; }
.brand small { display: block; font: 500 13px/1.3 system-ui, sans-serif; opacity: .9; letter-spacing: 0; margin-top: 4px; }
.mark { width: 52px; height: 52px; flex: none; }
#top .mark { width: 38px; height: 38px; }
.brand .word { display: block; font: 800 27px/1 "Montserrat", system-ui, sans-serif; letter-spacing: .3px; }
.brand .tag { display: block; font: 800 9.5px/1 "Montserrat", system-ui, sans-serif; letter-spacing: 1.6px; opacity: .92; margin-top: 6px; white-space: nowrap; }
.topbar .sub { margin-top: 12px; font-size: 14px; font-weight: 600; color: #fff; }
.wrap { max-width: 720px; margin: 0 auto; padding: 16px; }

.btn {
  border: 0; border-radius: 12px; padding: 14px 18px; font-weight: 700;
  background: var(--cta); color: #fff; min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--cta); }
.btn.gray { background: #e9eee3; color: var(--ink); }
.btn.red { background: var(--red); }
.btn.blue { background: var(--blue); }
.btn.amber { background: var(--amber); }
.btn.block { width: 100%; }

.notice {
  border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-weight: 600;
  background: #fff6dc; border: 1px solid #f2d98b; color: #6d4b00;
}
.notice.closed { background: #fde7e4; border-color: #f3b3aa; color: #7a1d12; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px;
  background: #fff; color: var(--ink); font-size: 16px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(21,127,44,.18); }
.hint { color: var(--muted); font-size: 13px; }
.err { color: var(--red); font-weight: 600; min-height: 1.4em; }
