:root {
  --green: #073c29;
  --bright: #43d17a;
  --cream: #f6f4ed;
  --ink: #12231b;
  --muted: #5e6c64;
  --line: #d7e0da;
  --danger: #9a2c2c;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
.member-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px clamp(20px, 6vw, 80px); color: #fff; background: var(--green); }
.member-header a { color: inherit; text-decoration: none; font-weight: 750; }
.member-header nav { display: flex; gap: 22px; }
.member-main { width: min(940px, calc(100% - 32px)); min-height: 70vh; margin: 48px auto; }
.member-card { padding: clamp(24px, 5vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.member-card h1, .member-card h2 { line-height: 1.12; }
.member-card h1 { font-size: clamp(30px, 4vw, 46px); }
form { display: grid; gap: 13px; }
label { font-weight: 700; }
input, textarea, select { width: 100%; padding: 13px; border: 1px solid #9fb0a6; border-radius: 6px; font: inherit; }
input[type="checkbox"] { width: auto; margin-right: 8px; }
textarea { resize: vertical; }
.button, button { display: inline-flex; width: max-content; padding: 12px 18px; border: 0; border-radius: 6px; color: #052f20; background: var(--bright); font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; }
.button-secondary { color: #fff; background: var(--green); }
.button-danger { color: #fff; background: var(--danger); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.flash { margin-bottom: 18px; padding: 14px 18px; border-left: 4px solid var(--bright); background: #fff; }
.flash.error { border-color: var(--danger); }
.muted { color: var(--muted); }
.policy-note { font-size: 14px; }
.status { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #e8eee9; font-size: 13px; font-weight: 700; }
.admin-list { display: grid; gap: 14px; }
.admin-item { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.admin-item blockquote { margin: 14px 0; padding-left: 14px; border-left: 3px solid var(--bright); white-space: pre-wrap; }
.member-footer { padding: 30px; text-align: center; color: #d7e3dc; background: var(--green); }
.hp-field { position: absolute; left: -9999px; }
.comment-shell { padding: 24px; background: #fff; }
.comment-list { display: grid; gap: 15px; margin: 25px 0; }
.comment { padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.comment p { white-space: pre-wrap; }
.comment-meta { color: var(--muted); font-size: 13px; }
.preserve-lines { white-space: pre-wrap; }
.conversation-list, .notes-list { display: grid; gap: 12px; margin: 24px 0; }
.message, .notes-list article { padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf8; }
.message.mark { margin-left: clamp(15px, 8vw, 80px); border-left: 4px solid var(--bright); }
.message.member { margin-right: clamp(15px, 8vw, 80px); }
.message p { margin: 8px 0; }
.message small, .notes-list small { color: var(--muted); }
.notes-list article form { margin-top: 12px; }
.member-main > section + section { margin-top: 28px; }
@media (max-width: 620px) {
  .member-header { align-items: flex-start; flex-direction: column; }
  .member-header nav { gap: 14px; }
  .member-main { margin: 26px auto; }
  .comment-shell { padding: 16px; }
  .actions .button, .actions button { width: 100%; justify-content: center; }
}
