.members-main { max-width:1380px; --gold:#d4b079; }
:root[data-theme="light"] .members-main { --gold:#805f26; }
.members-main [hidden] { display:none !important; }
.members-main > .availability-note { margin:24px 0 38px; }
.members-layout { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,6vw,90px); align-items:start; }
.members-intro { position:sticky; top:120px; }
.members-intro h1 { margin:20px 0 24px; line-height:.97; font-size:clamp(64px,6.5vw,100px); }
.members-intro h1 span { color:var(--gold); }
.members-intro .page-lead { line-height:1.65; font-size:19px; }
.member-mobile-benefit { display:none; }
.member-principles { margin:30px 0; border-top:1px solid var(--line); }
.member-map-label { display:block; padding-top:18px; color:var(--muted); }
.member-principles p { display:flex; gap:18px; align-items:flex-start; padding:17px 0; margin:0; border-bottom:1px solid var(--line); font-size:15px; line-height:1.5; }
.member-principles b { color:var(--gold); font-size:20px; }
.member-principles strong { display:block; color:var(--ink); font-size:17px; }
.members-card { min-width:0; }
/* Keep the feedback above the form visible below the sticky navigation. */
.members-card #guest,.members-card #dashboard { scroll-margin-top:calc(var(--header-height) + 24px); }
.members-card h2 { font-size:32px; margin:20px 0; }
.members-card fieldset { border:0; padding:0; margin:0; min-width:0; }
.members-card fieldset:disabled { opacity:.55; }
.members-card .field { min-width:0; }
.members-card .field select { width:100%; background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:0; padding:12px; font:inherit; min-height:48px; }
.members-card .field input { min-width:0; }
.members-card .field .form-help { margin:6px 0 0; }
.city-field { position:relative; }
.city-options { position:absolute; z-index:5; top:80px; left:0; right:0; max-height:260px; overflow-y:auto; margin:0; padding:5px; list-style:none; background:var(--paper); color:var(--ink); border:1px solid var(--gold); box-shadow:0 14px 30px #0005; }
.city-options li { padding:10px; min-height:44px; cursor:pointer; overflow-wrap:anywhere; }
.city-options li + li { border-top:1px solid var(--line); }
.city-options li:hover,.city-options li[aria-selected=true] { background:color-mix(in srgb,var(--gold) 16%,var(--paper)); }
.city-options strong,.city-options span { display:block; }
.city-options strong { font-size:14px; }
.city-options span { color:var(--muted); font-size:12px; margin-top:4px; }
.city-status { min-height:1.3em; overflow-wrap:anywhere; }
.verification-help { padding:12px; border:1px solid var(--gold); font-size:14px; line-height:1.6; }
.profile-activities { display:grid;gap:14px;padding:0 0 24px;margin:22px 0 26px;border-bottom:1px solid var(--line); }
.profile-activities .button { display:flex;justify-content:space-between;white-space:normal;text-align:left;gap:12px; }
.profile-activities .back-link { margin:0;min-height:44px;display:flex;align-items:center; }
.members-card button { cursor:pointer; }
.members-card button:disabled { cursor:wait; opacity:.55; }
.members-card :focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.member-switch { display:flex; gap:0; border-bottom:1px solid var(--line); }
.member-switch button { flex:1; padding:13px 7px; font:inherit; font-weight:700; color:var(--muted); background:none; border:0; border-bottom:2px solid transparent; }
.member-switch button[aria-pressed=true] { color:var(--ink); border-bottom-color:var(--gold); }
.members-card .form-feedback:empty { display:none; }
.members-card .form-feedback { padding:12px; border-left:3px solid var(--gold); background:var(--paper); margin:0 0 20px; }
.members-card .form-feedback[data-error=true] { border-color:#dd706c; }
.member-links { display:flex; flex-wrap:wrap; gap:14px; margin-top:22px; }
.member-links button, .member-text-button { font:inherit; background:none; border:0; color:var(--ink); text-decoration:underline; text-underline-offset:4px; padding:5px 0; }
.member-text-button { display:block; margin-top:25px; }
.profile-heading { display:flex; align-items:center; gap:14px; }
.profile-heading h2 { margin:5px 0; }
.profile-heading .small-label { margin:0; }
.profile-monogram { display:grid; place-items:center; width:50px; height:58px; flex:0 0 auto; color:var(--paper); background:var(--gold); font-family:var(--display); font-size:38px; }
.privacy-badge { margin-left:auto; border:1px solid var(--line); padding:5px 9px; font-size:13px; }
.profile-email { overflow-wrap:anywhere; color:var(--muted); }
.profile-next-step { font-size:15px; line-height:1.7; }
.member-map-choice { padding:16px; margin:20px 0; border:1px solid var(--line); }
.member-map-choice label { display:flex; gap:12px; align-items:flex-start; font-size:14px; line-height:1.6; cursor:pointer; }
.member-map-choice input { flex:0 0 20px; width:20px; height:20px; margin:2px 0 0; accent-color:var(--gold); }
.member-map-choice .form-help { margin:12px 0 0; }
.profile-map-controls { margin:18px 0; }
.profile-map-controls button { max-width:100%; white-space:normal; text-align:left; min-height:44px; }
.profile-email-label { margin:20px 0 4px; font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.profile-email { margin-top:0; }
.profile-details-title { font-weight:700; margin:0 0 20px; padding:0; font-size:17px; }
.profile-progress-card { --progress-color:var(--muted); padding:22px; margin:26px 0; background:var(--paper); border:1px solid var(--line); border-top:2px solid var(--gold); }
.profile-progress-card[data-tone="red"] { --progress-color:#ef827d; }
.profile-progress-card[data-tone="orange"] { --progress-color:#efad58; }
.profile-progress-card[data-tone="green"] { --progress-color:#64cf9b; }
:root[data-theme="light"] .profile-progress-card[data-tone="red"] { --progress-color:#b12b27; }
:root[data-theme="light"] .profile-progress-card[data-tone="orange"] { --progress-color:#925200; }
:root[data-theme="light"] .profile-progress-card[data-tone="green"] { --progress-color:#16774b; }
.profile-progress-top { display:flex; align-items:center; gap:16px; justify-content:space-between; }
.profile-progress-top .small-label { margin:0 0 8px; color:var(--muted); font-size:10px; }
.profile-progress-top h3 { font:25px/1.15 var(--display); margin:0; }
.profile-progress-top > strong { color:var(--progress-color); font:42px/1 var(--display); white-space:nowrap; font-variant-numeric:tabular-nums; }
.profile-progress-card progress { display:block; width:100%; height:8px; margin:20px 0 10px; border:0; accent-color:var(--progress-color); background:var(--line); }
.profile-progress-card progress::-webkit-progress-bar { background:var(--line); }
.profile-progress-card progress::-webkit-progress-value { background:var(--progress-color); }
.profile-progress-card progress::-moz-progress-bar { background:var(--progress-color); }
.profile-progress-card a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.profile-map-controls { border-block:1px solid var(--line); padding:16px 0; }
.profile-map-row { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:14px; font-weight:700; }
.profile-map-switch { display:inline-flex; align-items:center; gap:9px; color:var(--ink); background:none; border:0; padding:0; font:inherit; }
.profile-switch-track { display:block; width:40px; height:24px; border:1px solid var(--muted); border-radius:20px; padding:3px; flex-shrink:0; }
.profile-switch-track::after { content:""; display:block; width:16px; height:16px; background:var(--muted); border-radius:50%; }
.profile-map-switch[aria-checked="true"] .profile-switch-track { background:#2a8660; border-color:#2a8660; }
.profile-map-switch[aria-checked="true"] .profile-switch-track::after { background:#fff; transform:translateX(15px); }
.member-welcome { border:1px solid var(--gold); padding:20px; margin:24px 0; background:var(--paper); }
.member-welcome h3 { font:28px/1.15 var(--display); margin:10px 0; }
.member-welcome p { font-size:13px; line-height:1.7; }
.member-welcome .small-label { color:var(--gold); }
.welcome-code-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.welcome-code-row code { font:700 16px/1.5 var(--body); letter-spacing:1px; overflow-wrap:anywhere; user-select:all; }
.member-welcome .back-link { margin-bottom:0; }
.delete-account { margin-top:30px; padding-top:22px; border-top:1px solid var(--line); font-size:14px; }
.delete-account summary { cursor:pointer; color:var(--muted); }
.member-delete-button { margin-top:18px; color:var(--ink); background:none; border:1px solid var(--line); padding:12px; font:inherit; }
.preview-mailbox { margin-top:35px; padding-top:24px; border-top:1px dashed var(--line); font-size:14px; line-height:1.6; }
.preview-mailbox h3 { margin:8px 0; font-size:19px; }
.preview-mailbox p { color:var(--muted); }
.mail-row { display:flex; margin-top:7px; gap:7px; }
.mail-row input { width:100%; min-width:0; color:var(--ink); background:var(--paper); border:1px solid var(--line); padding:11px; font:inherit; }
.mail-row button { flex-shrink:0; font:inherit; color:var(--ink); background:none; border:1px solid var(--line); padding:9px; }
.preview-mailbox a { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
@media(max-width:900px) { .members-layout { grid-template-columns:1fr; gap:24px; } .members-intro { position:static; } .members-intro h1 { font-size:clamp(48px,9vw,72px); margin:14px 0; } .member-principles { display:none; } .member-mobile-benefit { display:block; font-size:15px; line-height:1.6; color:var(--muted); margin:14px 0 0; } .members-intro .page-lead { font-size:16px; margin-bottom:0; } .members-main > .availability-note { margin:18px 0 24px; font-size:12px; } }
@media(max-width:480px) { .members-card { padding:22px 18px; } .members-card .field-grid { grid-template-columns:1fr; } .mail-row { flex-direction:column; } .members-card .button { white-space:normal; text-align:left; } .profile-heading { flex-wrap:wrap; } }
