:root {
  color-scheme: light;
  --page: #edf4f0;
  --surface: #ffffff;
  --surface-soft: #f6faf7;
  --ink: #101a14;
  --muted: #607066;
  --line: #d2dfd1;
  --green: #167a43;
  --green-dark: #11271a;
  --mint: #baf0cf;
  --danger: #d83b2d;
  --shadow: 0 24px 60px rgba(22, 44, 29, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

.member-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.member-panel {
  display: grid;
  gap: 24px;
  width: min(100%, 620px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--green-dark);
  color: var(--mint);
}

.member-heading {
  display: grid;
  gap: 8px;
}

.eyebrow,
.member-heading h1,
.member-heading p {
  margin: 0;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.member-heading h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
}

.member-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.member-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink);
  outline: none;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 122, 67, 0.13);
}

.button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.primary-button,
.ghost-button,
.text-button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.primary-button {
  background: var(--green-dark);
  color: #ffffff;
}

.primary-button.secondary {
  background: var(--green);
}

.ghost-button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--green-dark);
}

.text-button {
  width: max-content;
  padding: 0 10px;
  background: transparent;
  color: var(--muted);
}

.member-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #b9e7c9;
  border-radius: 18px;
  background: #effbf3;
}

.member-card span,
dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.member-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

dd {
  margin: 4px 0 0;
  color: var(--green-dark);
  font-weight: 900;
  word-break: break-word;
}

.status-text {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.status-text[data-type="error"] {
  color: var(--danger);
}

.hidden {
  display: none;
}

@media (max-width: 560px) {
  .member-shell {
    padding: 18px;
  }

  .button-row,
  dl {
    grid-template-columns: 1fr;
  }
}
