#navigation[hidden], #cart-toggle[hidden] { display: none; }
.member-gate { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); max-width: 950px; margin: 12px auto; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.member-welcome { display: grid; align-content: center; justify-items: start; gap: 15px; padding: clamp(24px,4.5vw,58px); background: var(--night); color: var(--paper); }
.member-welcome .eyebrow { color: var(--lime); }
.member-welcome h1 { font-size: clamp(36px,5vw,62px); line-height: .98; letter-spacing: -.06em; }
.member-welcome p { max-width: 34ch; color: #e2e7ee; line-height: 1.5; }
.member-form { padding: clamp(18px,3vw,32px); border: 0; border-radius: 0; }
.member-form h2 { margin-bottom: 12px; }
.member-form .fields { gap: 12px; }
.member-form .fields p:empty, .form-status:empty { display: none; }
.password-group { display: grid; gap: 5px; }
.password-field { position: relative; }
.fields .password-field input { min-height: 44px; padding-inline-end: 48px; }
.password-toggle {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
}
.password-toggle:hover { background: var(--mint); }
.password-toggle:focus-visible { outline-offset: -4px; }
.form-status { font-size: 13px; color: #913522; line-height: 1.4; }
.admin-link { margin-top: 18px; }
.attendance-field { margin: 12px 0; }
.booking-extras { display: grid; gap: 7px; margin: 0 0 12px; padding: 0; border: 0; }
.booking-extras legend { margin-bottom: 7px; font-size: 13px; font-weight: 750; }
.booking-extras label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.booking-extras input { width: 18px; height: 18px; accent-color: var(--green); }
.booking-extras small { display: block; color: var(--muted); }
.member-profile { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.member-profile h2 { margin-bottom: 4px; }
.member-profile p { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.member-table { overflow-x: auto; }
.member-table table { width: 100%; border-collapse: collapse; text-align: start; font-size: 13px; white-space: nowrap; }
.member-table th, .member-table td { padding: 10px 9px; border-bottom: 1px solid var(--line); }
.member-table th { color: var(--muted); }
.booking-reception-user {
  display: block;
  max-inline-size: 18ch;
  margin-block-start: 3px;
  font-weight: 750;
  white-space: normal;
  overflow-wrap: anywhere;
}
.member-table + .club-toolbar { margin-top: 11px; }
.admin-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
.admin-panel + .admin-panel { margin-top: 14px; }
.friend-row .button { white-space: nowrap; }
.result-row > strong { white-space: nowrap; color: var(--green); }
#admin-date, #finance-month { font: inherit; margin-inline-start: 5px; padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-form { max-width: 460px; margin-top: 12px; }
.finance-stats dd { overflow-wrap: anywhere; }
.finance-table tfoot { font-weight: 750; background: var(--cream); }
.finance-table .button { min-height: 35px; font-size: 12px; padding: 6px 9px; }
@media (max-width: 680px) {
  .member-gate { grid-template-columns: 1fr; margin-top: 3px; }
  .member-welcome { gap: 9px; }
  .member-welcome img { display: none; }
  .admin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.coach-picker { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.coach-picker summary { cursor: pointer; }
.coach-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.coach-choices .coach-none, .coach-choices [data-coach-status] { grid-column: 1 / -1; }
.coach-choices .coach-option { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; }
.coach-option-name { grid-column: 1 / -1; overflow-wrap: anywhere; }
.coach-demo { display: block; font-size: 12px; color: var(--muted); }
.coach-choices input { flex: 0 0 auto; }
.coach-photo { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; background: var(--mint); flex: 0 0 auto; }
.coach-profile { display: flex; align-items: center; gap: 12px; min-width: 0; overflow-wrap: anywhere; }
.fields .coach-visibility { display: flex; align-items: center; gap: 8px; }
