/* File: public/member.css */
:root {
  --member-error: #ac342d;
  --member-success: #326745;
  --member-soft: #edf1e6;
  --member-white: #fffefb;
}
[hidden] { display: none !important; }
.member-page { padding-top: 30px; padding-bottom: 88px; min-height: 72vh; }
.member-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; color: var(--muted); }
.member-back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.member-signup-layout { display: grid; grid-template-columns: 1fr minmax(380px, 490px); gap: 80px; align-items: start; margin-top: 28px; }
.member-intro { padding-top: 40px; position: sticky; top: 135px; }
.member-intro .kicker { font-size: 11px; }
.member-intro h1 { font-weight: 600; font-size: clamp(35px, 3.5vw, 45px); letter-spacing: -1.9px; line-height: 1.4; margin: 24px 0 23px; }
.member-intro h1 span { color: #6d835d; }
.member-intro-copy { font-size: 14px; color: var(--muted); line-height: 1.95; }
.member-travel-note { width: 330px; max-width: 94%; margin: 40px 0 33px 12px; background: #eaf0df; border: 1px solid #cfdbc1; border-radius: 12px; padding: 26px; transform: rotate(-3deg); box-shadow: 8px 12px 0 #e5e9da; }
.member-note-mark { font-size: 26px; letter-spacing: -1.7px; font-weight: 800; }
.member-note-mark > span { color: #8ca379; }
.member-note-route { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 25px; font-size: 27px; font-weight: 650; letter-spacing: -1px; }
.member-note-route .member-note-arrow { font-size: 25px; font-weight: 400; color: #82966e; }
.member-note-divider { border-top: 1px dashed #b3c6a1; margin: 0 -26px 18px; }
.member-note-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; letter-spacing: .5px; color: #637a51; }
.member-benefits { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 17px; font-size: 13px; color: #53674e; }
.member-benefits li { display: flex; align-items: center; gap: 12px; }
.member-benefits li > span { width: 22px; height: 22px; background: #e7eddc; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.member-card { background: var(--member-white); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: 0 10px 35px #203d3605; }
.member-card-heading { margin-bottom: 28px; }
.member-card-heading .member-eyebrow { font-size: 12px; font-weight: 500; color: #6d835d; margin: 0 0 9px; }
.member-card-heading h1, .member-card-heading h2 { font-size: 29px; line-height: 1.4; letter-spacing: -1.1px; font-weight: 600; margin: 0 0 12px; }
.member-card-heading > p:last-child { font-size: 13px; color: var(--muted); line-height: 1.85; margin-bottom: 0; }
.member-fields { display: grid; gap: 19px; }
.member-field label { display: block; font-size: 13px; line-height: 1.5; font-weight: 600; margin-bottom: 9px; }
.member-field input:not([type="checkbox"]) { width: 100%; height: 54px; border: 1px solid #ccd5c8; border-radius: 8px; background: white; color: var(--ink); padding: 14px; font-size: 15px; min-width: 0; }
.member-field input::placeholder { color: #7b8479; font-size: 13px; }
.member-field input:focus { outline: 2px solid #6f8d5f; outline-offset: 2px; }
.member-field input[aria-invalid="true"] { border-color: var(--member-error); }
.member-field input[data-valid="true"] { border-color: #83a17e; }
.member-input-wrap { position: relative; }
.member-input-wrap:has(.password-toggle) input { padding-right: 66px; }
.password-toggle { border: 0; position: absolute; right: 4px; top: 5px; height: 44px; min-width: 53px; padding: 0 10px; border-radius: 5px; font-size: 12px; background: none; color: #4c6648; }
.password-toggle:hover { background: #edf2e7; }
.field-feedback { min-height: 0; font-size: 12px; line-height: 1.65; margin: 7px 0 0; color: var(--muted); }
.field-feedback:empty { display: none; }
.field-feedback.is-error { color: var(--member-error); }
.field-feedback.is-success { color: var(--member-success); }
.field-feedback.is-checking { color: #657350; }
.member-consents { border: 0; margin: 27px 0 0; padding: 0; }
.member-consents input[type="checkbox"] { width: 19px; height: 19px; accent-color: var(--ink); flex: 0 0 auto; margin: 0; cursor: pointer; }
.consent-all { display: flex; align-items: flex-start; gap: 12px; padding: 17px 14px; border: 1px solid #d5dfc9; border-radius: 8px; background: #f0f4e9; cursor: pointer; }
.consent-all input { margin-top: 2px !important; }
.consent-all strong { display: block; font-size: 14px; font-weight: 600; }
.consent-all small { display: block; font-size: 11px; color: #627353; line-height: 1.7; margin-top: 6px; }
.consent-items { padding-top: 10px; }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 47px; }
.consent-row label { display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.7; min-height: 44px; cursor: pointer; }
.consent-row b { font-weight: 600; color: #4a6246; }
.consent-row b.optional { color: #7b8176; font-weight: 400; }
.consent-row > a { flex: 0 0 auto; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; min-width: 44px; padding: 8px 3px; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; color: #586950; }
.member-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; line-height: 1.6; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.member-button-primary { background: var(--ink); border-color: var(--ink); color: white; }
.member-button-primary:hover:not(:disabled) { background: #35584a; border-color: #35584a; }
.member-button-outline { background: transparent; border-color: #bacbb1; color: var(--ink); }
.member-button-outline:hover:not(:disabled) { background: #eaf0e2; }
.member-button-danger { background: #a93b32; color: white; border-color: #a93b32; }
.member-button-danger:hover:not(:disabled) { background: #873028; }
.member-button:disabled { cursor: not-allowed; opacity: .48; }
.member-button[aria-busy="true"] { cursor: progress; opacity: .7; }
.member-submit { width: 100%; margin-top: 25px; height: 53px; }
.member-submit-note { margin: 11px 0 0; text-align: center; font-size: 11px; color: #66765e; line-height: 1.6; }
.member-spinner { width: 16px; height: 16px; border: 2px solid #ffffff55; border-top-color: currentColor; border-radius: 50%; animation: member-spin .8s linear infinite; }
@keyframes member-spin { to { transform: rotate(360deg); } }
.member-card-bottom { display: flex; justify-content: center; align-items: center; gap: 13px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 25px; font-size: 12px; }
.member-card-bottom > span { color: var(--muted); }
.member-card-bottom a { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.member-form-message, .member-service-notice { background: #f1f4e9; border: 1px solid #d2dec4; border-radius: 8px; padding: 13px 15px; font-size: 13px; line-height: 1.8; margin: 0 0 22px; }
.member-form-message.is-error { background: #fff4f0; border-color: #edc9be; color: #933c31; }
.member-form-message.is-success { background: #eef5e9; color: #3a623c; }
.member-page-narrow { max-width: 560px; }
.member-page-narrow > .member-card { margin-top: 27px; }
.member-page-narrow .member-card-heading .kicker { margin-bottom: 15px; }
.member-support { font-size: 12px; text-align: center; line-height: 1.9; color: var(--muted); padding-top: 14px; margin-bottom: 0; }
.member-support a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px; text-decoration: underline; text-underline-offset: 4px; }
.verification-card { text-align: center; }
.member-mail-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 23px; background: #eaf0df; color: #6b8558; border-radius: 50%; }
.member-mail-icon svg { width: 45px; height: 45px; }
.verification-card .member-card-heading h1 { font-size: 26px; }
.verification-card form { text-align: left; }
.member-field .verification-code { text-align: center; font-size: 27px; font-weight: 600; letter-spacing: .45em; height: 66px; padding-left: 1em; }
.member-field .verification-code::placeholder { font-size: 15px; font-weight: 400; letter-spacing: .1em; }
.verification-timing { display: flex; align-items: start; justify-content: space-between; gap: 12px; min-height: 28px; }
.verification-timing > span { color: #5d7250; font-size: 12px; margin-top: 8px; white-space: nowrap; margin-left: auto; }
.verification-resend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px 9px; margin-top: 21px; font-size: 12px; color: var(--muted); }
.member-text-button { border: 0; background: none; color: var(--ink); min-height: 44px; padding: 8px 4px; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.member-text-button:disabled { cursor: not-allowed; text-decoration: none; }
.verification-help { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 8px 0 21px; }
.verification-restart { font-size: 12px; line-height: 1.8; color: #586a50; text-decoration: underline; text-underline-offset: 4px; display: inline-flex; min-height: 44px; align-items: center; justify-content: center; }
.member-success-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 7px auto 30px; color: #577646; background: #e6efd8; border-radius: 50%; font-size: 33px; }
[data-verification-success] h1 { font-size: 27px; letter-spacing: -1px; line-height: 1.5; margin: 18px 0; }
[data-verification-success] > p:not(.kicker) { font-size: 14px; line-height: 1.9; color: var(--muted); }
[data-verification-success] > .member-button { margin-top: 20px; width: 100%; }
[data-verification-success] > .verification-restart { margin-top: 17px; }
[data-member-nav] { display: flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: 11px; white-space: nowrap; }
[data-member-nav] a, [data-member-nav] button { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
[data-member-nav] .member-nav-signup { background: #e7eddd; border: 1px solid #cedac2; border-radius: 6px; padding: 6px 11px; min-height: 44px; }
[data-member-nav] .member-nav-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
[data-member-nav] button { background: none; border: 0; padding: 0 4px; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
[data-member-nav] .member-nav-error { max-width: 160px; white-space: normal; font-size: 10px; color: var(--member-error); }
.member-menu-nav { padding-top: 20px; margin-top: 10px; justify-content: flex-start; }
.member-menu-nav .member-nav-name { max-width: 220px; }
@media (max-width: 1100px) {
  .member-signup-layout { gap: 40px; grid-template-columns: 1fr minmax(350px, 450px); }
  .member-intro h1 { font-size: 36px; }
  .member-card { padding: 29px; }
  .member-intro-copy { font-size: 13px; }
}
@media (max-width: 850px) {
  .member-signup-layout { grid-template-columns: 1fr; max-width: 540px; margin: 20px auto 0; gap: 28px; }
  .member-intro { position: static; padding-top: 7px; }
  .member-intro h1 { font-size: 34px; margin: 15px 0 13px; }
  .member-intro-copy { margin-bottom: 0; }
  .member-travel-note, .member-benefits { display: none; }
  .member-intro .kicker { font-size: 10px; }
}
@media (max-width: 480px) {
  .portal-header { gap: 12px; }
  .portal-header .menu-button { min-width: 44px; min-height: 44px; justify-content: center; }
  .portal-header .menu-button > span:last-child { display: none; }
  .portal-header > [data-member-nav] { margin-left: auto; }
  .member-page { padding-top: 16px; padding-bottom: 44px; }
  .member-back { font-size: 12px; }
  .member-intro h1 { font-size: 30px; letter-spacing: -1.3px; }
  .member-intro-copy br { display: none; }
  .member-card { border-radius: 13px; padding: 24px 19px; }
  .member-card-heading h1, .member-card-heading h2 { font-size: 25px; }
  .member-card-heading > p:last-child { font-size: 12px; }
  .member-fields { gap: 17px; }
  .member-field input:not([type="checkbox"]) { font-size: 16px; }
  .member-field input::placeholder { font-size: 12px; }
  .consent-all { padding: 15px 11px; gap: 10px; }
  .consent-row label { font-size: 11px; gap: 8px; }
  .consent-row > a { font-size: 10px; }
  .consent-row { gap: 3px; }
  .member-consents input[type="checkbox"] { width: 18px; height: 18px; }
  .member-card-bottom { gap: 8px; font-size: 11px; }
  .verification-card .member-card-heading h1 { font-size: 23px; }
  .verification-card .verification-code { font-size: 26px; }
  [data-member-nav] { gap: 7px; font-size: 10px; }
  [data-member-nav] .member-nav-signup { padding: 6px 8px; }
  [data-member-nav] .member-nav-name { max-width: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .member-spinner { animation: none; }
}

.member-recovery-links{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:24px;font-size:14px;color:#425b50}.member-recovery-links a{text-underline-offset:5px}.member-recovery-links a:hover{text-decoration:underline}.member-recovery-links a:focus-visible{outline:2px solid #425b50;outline-offset:5px}
