/* Public palette uses the unchanged LP CLUB logo green (#479e74). */
:root {
  --brand-green: #479e74;
  --brand-fill: #479e74;
  --brand-fill-hover: #479e74;
  --brand-hover: #5dab83;
  --brand-soft: #f2faf5;
  --brand-line: #d9eddf;
  --brand-ink: #242a30;
  --green-950: #172c21;
  --green-900: #20372b;
  --green-800: #479e74;
  --green-700: #37634b;
  --green-500: #5a7264;
  --green-400: #86b69b;
  --green-300: #bedfcd;
  --green-200: #cde5d7;
  --green-150: #e1f1e7;
  --green-100: #edf7f1;
  --green-50: #f7fbf8;
}
/* Dark labels retain contrast on the lighter brand green. */
body .btn-primary, body .auth-submit,
body .registration-access-dialog .registration-access-primary,
body .language-switch button[aria-pressed=true],
.account-page .account-button:not(.secondary),
body .button-primary, #attendanceConfirm {
  background: var(--brand-fill); border-color: var(--brand-fill); color: var(--brand-ink);
}
body .btn-primary:hover, body .auth-submit:hover,
body .registration-access-dialog .registration-access-primary:hover,
.account-page .account-button:not(.secondary):hover,
body .button-primary:hover, #attendanceConfirm:not(:disabled):hover {
  background: var(--brand-fill-hover); border-color: var(--brand-fill-hover); color: var(--brand-ink);
}
.btn-outline, body .auth-send-code { color: var(--brand-ink); }
.btn-outline:hover { background: var(--brand-soft); color: var(--brand-ink); }
.stats, .summary-bar { background: var(--brand-fill); color: var(--brand-ink); }
.stats .stat b, .stats .stat span { color: var(--brand-ink); }
.stats .stat { border-color: rgb(23 44 33 / 20%); }
.format, .sig-card.featured, .media-box, .cta-band, footer {
  background: var(--brand-soft); color: var(--brand-ink); border-color: var(--brand-line);
}
.format h2, .format .section-lead, .format .eyebrow,
.format-step h3, .format-step p,
.sig-card.featured h3, .sig-card.featured .price, .sig-card.featured p,
.media-box h4, .media-box h4 span, .media-box p.en, .media-box p.cn,
.cta-band p, .cta-band .contact, .cta-band .contact a,
footer .brand, footer a:hover { color: var(--brand-ink); }
.format .format-step .fnum { background: var(--brand-fill); color: var(--brand-ink); border-color: var(--brand-line); }
.format-grid::before { background: var(--brand-line); }
.account-page {
  --account-green: #4b5156;
  --account-ink: #4b5156;
  --account-line: #cde5d7;
  --account-soft: #f7fbf8;
}
.account-page .account-nav button[aria-selected=true],
.account-page .account-nav a[aria-current=page] { background: var(--brand-soft); color: var(--brand-ink); }
.account-page .registration-progress-step[data-state=current] .registration-progress-marker {
  background: var(--brand-fill); border-color: var(--brand-fill); color: var(--brand-ink);
}
.account-page .membership-hero, .account-page .membership-plan-international,
.account-page .membership-table thead, .account-page .membership-table thead th:last-child {
  background: var(--brand-soft); color: var(--brand-ink); border-color: var(--brand-line);
}
.account-page .membership-hero-copy p, .account-page .membership-hero-accent,
.account-page .membership-plan-international .membership-plan-description,
.account-page .membership-plan-international .membership-price-period,
.account-page .membership-plan-international .membership-highlights li { color: var(--brand-ink); }
.account-page .membership-plan-international .membership-price { color: #73571f; }
.account-page .membership-hero-media::after { background: linear-gradient(90deg, #edf7f1, #edf7f133 65%), linear-gradient(0deg, #172c21b3, transparent 55%); }
.account-page .membership-cta-contact { background: var(--brand-fill); color: var(--brand-ink); }
.account-page .membership-cta-contact:hover { background: var(--brand-fill-hover); }
@media (max-width: 760px) {
 .account-page .membership-hero-media::after { background: linear-gradient(90deg, #edf7f1, #edf7f1b3); }
}

/* Homepage solid fills match the logo green. */
.public-home {
  --brand-fill: #479e74;
  --brand-fill-hover: #479e74;
  --brand-soft: #f3faf6;
}
.public-home .stats, .public-home .summary-bar,
.public-home .btn-primary, .public-home .auth-submit,
.public-home .registration-access-dialog .registration-access-primary,
.public-home .language-switch button[aria-pressed=true],
.public-home .format .format-step .fnum,
.public-home .co-steps li.active span,
.public-home .chip input:checked + span,
.public-home .pay-tag.ok, .public-home .co-done-mark,
.public-home .pn-tag, .public-home .reg-step.active i,
.public-home .reg-check, .public-home .brand-mark {
  background: var(--brand-fill); border-color: var(--brand-fill); color: var(--brand-ink);
}
.public-home .btn-primary:hover, .public-home .auth-submit:hover,
.public-home .registration-access-dialog .registration-access-primary:hover {
  background: var(--brand-fill-hover); border-color: var(--brand-fill-hover); color: var(--brand-ink);
}
.public-home .btn-outline:hover { background: var(--brand-soft); color: var(--brand-ink); }

/* Shared logo-colour actions across the public site and personal centre. */
.account-page .membership-cta-gold,
.account-page .membership-cta-plan,
.account-page .membership-plan-international .membership-cta-plan,
body #onboardingSave {
  background: var(--brand-fill); border-color: var(--brand-fill); color: var(--brand-ink);
}
.account-page .membership-cta-gold:hover,
.account-page .membership-cta-plan:hover,
.account-page .membership-plan-international .membership-cta-plan:hover,
body #onboardingSave:hover {
  background: var(--brand-fill-hover); border-color: var(--brand-fill-hover); color: var(--brand-ink);
}
body .identity-type-tag[aria-pressed=true],body .identity-subtype[aria-pressed=true] {
  background: var(--brand-fill); border-color: #8bc3a2; color: var(--brand-ink);
}

/* Solid green panels match the logo; form text stays neutral grey. */
.public-home .format, .public-home .sig-card.featured,
.public-home .media-box, .public-home .cta-band, .public-home footer {
  background: var(--brand-fill); border-color: var(--brand-fill);
}
.account-page .account-field label,
.public-home .reg-field > label,
.public-home .onboarding-group legend,
.account-page .account-form-section > h3,
body .auth-label { color: #646b70; }
.account-page .account-field input,
.account-page .account-field select,
.public-home .reg-field input,
.public-home .reg-field select,
body .lp-phone-fields > input.lp-phone-dial,
body .lp-phone-fields > input.lp-phone-number,
body .identity-trigger,
body .lp-search-results button,
body .auth-input { color: #4b5156; }
.account-page .account-field input::placeholder,
.public-home .reg-field input::placeholder,
body .lp-phone-fields > input::placeholder,
body .auth-input::placeholder { color: #767d82; opacity: 1; }
body .identity-description, body .identity-subtype-label,
body .lp-search-results button span, body .lp-search-empty,
body .identity-type-tag:not([aria-pressed=true]) { color: #646b70; }

.account-page .account-form-group legend,
.public-home .reg-group-label,
.public-home .reg-field label,
body .auth-field label { color: #646b70; }
body .auth-field input,
.account-page .account-field textarea,
.public-home .reg-field textarea { color: #4b5156; }
body .auth-field input::placeholder,
.account-page .account-field textarea::placeholder,
.public-home .reg-field textarea::placeholder { color: #767d82; opacity: 1; }

/* Remaining green action and panel fills use the same logo colour.
   Text declarations are deliberately unchanged. */
.account-page .account-language button[aria-pressed=true],
.account-page .account-tab[aria-selected=true],
.account-page .membership-hero,
.account-page .membership-plan-international,
.account-page .membership-table thead,
.account-page .membership-table thead th:last-child {
  background: var(--brand-fill); border-color: var(--brand-fill);
}

/* Action surfaces are lighter than the logo-colour content panels. */
:root { --brand-action: #87c8a9; --brand-action-hover: #78bc9a; }
body .btn-primary, .public-home .btn-primary,
body .auth-submit, .public-home .auth-submit,
body .registration-access-dialog .registration-access-primary,
.public-home .registration-access-dialog .registration-access-primary,
body .language-switch button[aria-pressed=true],
.public-home .language-switch button[aria-pressed=true],
.account-page .account-language button[aria-pressed=true],
.account-page .account-tab[aria-selected=true],
.account-page .account-button:not(.secondary),
body .button-primary, #attendanceConfirm,
.account-page .membership-cta-contact,
.account-page .membership-cta-gold,
.account-page .membership-cta-plan,
.account-page .membership-plan-international .membership-cta-plan,
body #onboardingSave,
body .identity-type-tag[aria-pressed=true], body .identity-subtype[aria-pressed=true],
.public-home .chip input:checked + span {
  background: var(--brand-action); border-color: var(--brand-action);
}
body .btn-primary:hover, .public-home .btn-primary:hover,
body .auth-submit:hover, .public-home .auth-submit:hover,
body .registration-access-dialog .registration-access-primary:hover,
.public-home .registration-access-dialog .registration-access-primary:hover,
.account-page .account-button:not(.secondary):hover,
body .button-primary:hover, #attendanceConfirm:not(:disabled):hover,
.account-page .membership-cta-contact:hover,
.account-page .membership-cta-gold:hover,
.account-page .membership-cta-plan:hover,
.account-page .membership-plan-international .membership-cta-plan:hover,
body #onboardingSave:hover {
  background: var(--brand-action-hover); border-color: var(--brand-action-hover);
}

.public-home .filter-pill.active,
.public-home .add-btn.in-cart,
.public-home .add-btn:hover,
.public-home .rail-btn:hover,
.public-home .rk-btn:hover:not(:disabled) {
  background: var(--brand-action); border-color: var(--brand-action); color: var(--brand-ink);
}
.account-page .account-language button[aria-pressed=true] { color: var(--brand-ink); }

/* Event format stays editorial: white surface, dark copy, green accents. */
.public-home .format { background: #fff; color: var(--ink); border-color: var(--line); }
.public-home .format h2, .public-home .format-step h3 { color: var(--ink); }
.public-home .format .section-lead, .public-home .format-step p { color: var(--ink-soft); }
.public-home .format .num { color: var(--brand-green); }
.public-home .format .format-step .fnum {
  background: #f2faf5; border-color: #cde5d7; color: var(--brand-green);
}
.public-home .format-grid::before { background: var(--brand-green); opacity: .25; }

/* Match the success mark to the registration-reference tint. */
.public-home .reg-success .reg-check {
  background: var(--green-100); border-color: var(--brand-line);
}
