.membership-home p{max-width:55ch}.membership-status{padding:12px 14px;border-radius:12px;background:#eef5e7;color:#35531b}.membership-gate{margin:20px 0;padding:28px;border:1px solid #bbd19f;background:linear-gradient(120deg,#f1f8e8,#fff)}.membership-gate h3{font-size:24px}.button-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #cbd8c5;border-radius:10px;color:#35531b;text-decoration:none;font-weight:650}.button-link.primary{background:#496a25;color:white}.member-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}#applicationDialog{width:min(550px,calc(100vw - 28px));box-sizing:border-box;border:1px solid #d4dfcc;border-radius:20px;padding:26px;max-height:calc(100dvh - 28px);overflow:auto;background:#fff;color:#24351c;box-shadow:0 24px 100px #10271355}#applicationDialog::backdrop{background:#0e2118aa;backdrop-filter:blur(4px)}.application-dialog-heading{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}.application-dialog-heading h2{margin:8px 0 12px;font-size:25px}#closeApplication{font-size:25px;min-width:44px;flex-shrink:0}#applicationFeedback{white-space:pre-line}#applicationFeedback.error,#adminListStatus.error{color:#a33131}#applicationForm input{width:100%;box-sizing:border-box}#applicationList .member-card{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 0;border-bottom:1px solid #e3eade}.member-details{min-width:0;overflow-wrap:anywhere}.member-details h3{margin:0 0 8px;background:transparent;color:#24351c;padding:0}.member-details p{margin:5px 0;color:#53674d}.member-state{display:inline-block;font-size:12px;font-weight:700;padding:5px 9px;border-radius:6px;background:#f2eddc;color:#756019}.member-state.approved{background:#e8f4de;color:#3b6219}.member-state.rejected,.member-state.revoked{background:#f7e7e3;color:#9b3525}.member-card .actions{flex-shrink:0;flex-wrap:wrap;max-width:240px}.member-card button{min-height:44px}#applicationFilter{min-width:220px}#gameContent[hidden],#adminContent[hidden],[hidden]{display:none!important}button:disabled{opacity:.55;cursor:default}.membership-counts .stat{min-width:0}.membership-counts b{font-variant-numeric:tabular-nums}@media(max-width:650px){.member-name-grid{grid-template-columns:1fr}#applicationDialog{padding:20px}.membership-counts{grid-template-columns:repeat(2,minmax(0,1fr))!important}#applicationList .member-card{flex-direction:column}.member-card .actions{max-width:none}.membership-gate{padding:20px}.application-dialog-heading h2{font-size:22px}}

.membership-gate h3,.membership-home h3,#adminAccess h3{background:transparent;color:#24351c;padding:0}

.admin-login-card{max-width:520px;margin:24px auto;padding:clamp(22px,5vw,38px)}
.admin-login-card h3{font-size:1.7rem;margin:8px 0 12px}.admin-login-card .form{display:grid;grid-template-columns:1fr;gap:18px;margin:24px 0 18px}.admin-login-card input{width:100%;min-width:0;font-size:16px}.admin-login-card label{display:grid;gap:8px}.admin-login-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#edf3e5;color:#426025;font-size:32px;margin-bottom:20px}
.admin-password-field{display:flex;align-items:stretch;gap:8px}.admin-password-field input{flex:1;min-width:0}.admin-password-field button{flex:none;padding:10px 12px}.admin-login-feedback{margin:0;overflow-wrap:anywhere}.admin-login-feedback:empty{display:none}.admin-login-note{font-size:.85rem;margin-top:20px}.admin-session-banner{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#edf3e5;border:1px solid #d4e1c3;border-radius:16px;padding:20px;margin:0 0 20px}.admin-session-banner p{margin:6px 0 0}.admin-session-banner>span{white-space:nowrap;color:#426025;font-weight:700;font-size:.85rem}@media(max-width:600px){.admin-session-banner{align-items:flex-start;flex-direction:column;gap:10px}.admin-login-card{margin:12px 0}.admin-login-card #adminLoginSubmit{width:100%}}

.admin-field{display:grid;gap:8px}.admin-login-feedback.error{color:#a33131}@media(max-width:600px){.top{flex-wrap:wrap}.top .brand{width:100%}.top .header-actions{width:100%;justify-content:space-between}.top .brand h1{font-size:16px}.top .brand p{font-size:11px}.top .header-actions select{width:auto;max-width:150px;font-size:13px}}
.member-portal{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center;max-width:1050px;margin:35px auto 65px}.member-welcome h2{font-size:clamp(30px,4vw,50px);line-height:1.15;letter-spacing:-1px;margin:22px 0;color:#344c23}.member-welcome>p{font-size:17px;line-height:1.7;max-width:440px}.member-periods{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.member-periods span{border:1px solid #c8d5bc;border-radius:100px;padding:8px 17px;background:#f2f6eb;color:#426025;font-weight:700}.member-entry{padding:30px!important;border-top:4px solid #6d893d!important;box-shadow:0 16px 45px #263b1510}.member-entry h2{font-size:28px;margin:8px 0}.member-entry-status{background:#f4f7ef;padding:16px 18px;border-radius:12px;margin:20px 0}.member-entry-status h3{margin:0 0 9px;background:transparent;color:#24351c;padding:0;line-height:1.4}.member-entry-status p{margin:0;line-height:1.6}.member-term{margin:18px 0}.member-term div{padding:10px 0;border-bottom:1px solid #e2e7dc}.member-term dt{font-size:13px;color:#63725c}.member-term dd{margin:4px 0 0;font-weight:600;line-height:1.5}.member-entry>#memberEnter{width:100%;min-height:50px}.member-owner-entry{border-top:1px solid #e1e8da;padding-top:18px;margin-top:20px}.member-card>.actions{align-content:center;align-items:stretch;min-width:170px}.member-card>.actions label{display:flex;flex-direction:column;gap:7px;font-size:13px;width:100%}.member-expiry{font-weight:700;color:#426025}#memberEntryFeedback:empty{display:none}@media(max-width:700px){.member-portal{grid-template-columns:1fr;gap:20px;margin:16px 0 30px}.member-welcome h2{font-size:32px}.member-welcome>p{font-size:15px}.member-entry{padding:22px!important}.member-periods{margin:15px 0}.member-card>.actions{width:100%}}

@media(max-width:700px){.member-entry{order:-1}.member-welcome{padding-top:6px}}

.trial-banner{margin:0 0 24px;padding:22px 26px;border:1px solid #cbd8b9;border-radius:15px;background:#eff5e6;display:flex;gap:20px;align-items:center;justify-content:space-between}.trial-banner h2{margin:8px 0;color:#344c23}.trial-banner p{margin:0;line-height:1.6}.trial-banner .actions{max-width:340px;min-width:230px}.trial-banner .actions button{font-size:13px}@media(max-width:700px){.trial-banner{flex-direction:column;align-items:stretch;padding:18px}.trial-banner .actions{max-width:none;min-width:0}}

.member-topbar{display:flex;justify-content:flex-start;padding:12px 0}.member-topbar button{min-height:44px;padding:10px 24px}.application-panel{max-width:760px;margin:0 auto 28px}.application-panel .form{display:grid;gap:16px}.application-panel input,.application-panel select{width:100%;box-sizing:border-box}.application-panel .application-dialog-heading{gap:16px}@media(max-width:600px){.application-panel{padding:18px}.application-dialog-heading{flex-wrap:wrap}}
#applicationDialog.application-panel{width:100%;max-width:760px;max-height:none;overflow:visible;box-shadow:0 12px 40px #1027130d}#closeApplication{font-size:14px}#page-member .application-panel label{display:grid;gap:7px}

.game-guide{margin:18px 0 24px;border:1px solid #ccdcb8}.guide-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.guide-heading h3{margin:8px 0;color:#304b24;background:none;padding:0;font-size:24px}.guide-tag{font-size:11px;letter-spacing:1px;color:#536e39;white-space:nowrap}.guide-sequence{padding:14px 18px;border-radius:12px;background:#edf5e6;color:#35551e;font-weight:700;line-height:1.7}.guide-steps{list-style:none;padding:0;margin:20px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.guide-steps li{padding:16px;border:1px solid #dce5d4;border-radius:12px;background:#fafcf7}.guide-steps span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#496a25;color:white;font-weight:700}.guide-steps p{line-height:1.6;margin:12px 0 0}.guide-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guide-facts>div{border-left:3px solid #8baa63;padding:0 16px}.guide-facts h4{margin:4px 0;font-size:16px}.guide-facts p,#guidePrepare{line-height:1.6}.guide-time{font-weight:600;color:#496332;border-top:1px solid #e0e7d9;padding-top:16px}@media(max-width:900px){.guide-steps{grid-template-columns:1fr 1fr}}@media(max-width:560px){.guide-steps,.guide-facts{grid-template-columns:1fr}.guide-tag{display:none}.guide-heading h3{font-size:21px}.guide-steps li{display:flex;align-items:flex-start;gap:12px}.guide-steps span{flex-shrink:0}.guide-steps p{margin:0}}

.game-layout>.game-picker{grid-column:1;grid-row:1 / span 2}.game-layout>.game-guide{grid-column:2;grid-row:1;margin:0}.game-layout>#touchPanel,.game-layout>#motionPanel{grid-column:2;grid-row:2}@media(max-width:800px){.game-layout>.game-picker,.game-layout>.game-guide,.game-layout>#touchPanel,.game-layout>#motionPanel{grid-column:1;grid-row:auto}}

/* All navigation choices remain visible in rows of three. */
#nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:8px}#nav [data-page]{white-space:normal;min-width:0;min-height:48px;line-height:1.3;padding:12px 8px;font-size:14px}#memberEntryButton{box-shadow:inset 0 0 0 1px #91ab70;font-weight:700}#memberPasswordForm{display:grid;gap:16px;margin:20px 0}#memberPasswordForm label{display:grid;gap:7px}#memberPasswordForm input{width:100%;box-sizing:border-box}#memberPasswordFeedback{line-height:1.5;color:#7f382c}#memberPasswordFeedback:empty{display:none}@media(max-width:560px){#nav [data-page]{font-size:12px;padding:12px 5px}.member-portal{margin-top:20px}}

#nav a[data-page]{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;border:0;border-radius:9px;background:#fff;color:var(--ink)}#nav a[data-page]:hover{background:#edf2e5}#nav a[data-page].active{background:var(--green);color:#fff}
#nav [data-page]{display:flex;align-items:center;justify-content:center;gap:7px}
#nav .performance-menu-icon{display:block;flex:0 0 28px;width:28px;height:28px;object-fit:contain;border-radius:5px}
#nav .performance-menu-label{min-width:0}
@media(max-width:380px){#nav [data-page]{gap:4px}#nav .performance-menu-icon{flex-basis:24px;width:24px;height:24px}}

#trainingRequestForm>label{display:block;font-weight:650;margin-bottom:.4rem}#requestedTrainingTitle{width:100%;max-width:36rem}
.training-group-field {
  container-type: inline-size;
  min-inline-size: 0;
  border: 0;
  padding: 0;
  margin: 1.2rem 0;
}
.training-group-field legend { font-weight: 700; margin-bottom: .6rem; }
.training-group-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: .6rem;
}
.training-group-options label {
  grid-column: span 2;
  display: grid;
  grid-template: "logo name check" auto / 2.25rem minmax(0, 1fr) 1.1rem;
  align-items: center;
  gap: .45rem;
  padding: .65rem;
  box-sizing: border-box;
  min-block-size: 3.75rem;
  border: 1px solid #8796a3;
  border-radius: .65rem;
  cursor: pointer;
}
.training-group-options img {
  grid-area: logo;
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.training-group-options label span {
  grid-area: name;
  min-inline-size: 0;
  text-align: start;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.training-group-options input[type="checkbox"] {
  grid-area: check;
  justify-self: center;
  inline-size: 1.1rem;
  block-size: 1.1rem;
  margin: 0;
  padding: 0;
  accent-color: #245d98;
}
.training-group-options label:has(input:checked) {
  background: #f2f7fc;
  border-color: #245d98;
  box-shadow: inset 0 0 0 1px #245d98;
}
.training-group-options label:has(input:focus-visible) { outline: 2px solid #245d98; outline-offset: 2px; }
@container (min-width: 16rem) {
  .training-group-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .training-group-options label:last-child:nth-child(odd) { grid-column: 2 / span 2; }
}
@container (min-width: 16rem) and (max-width: 25rem) {
  .training-group-options label {
    grid-template: "check check" auto "logo name" auto / 1.8rem minmax(0, 1fr);
    align-content: center;
    padding: .5rem;
    gap: .35rem;
  }
}
@container (min-width: 46rem) {
  .training-group-options { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .training-group-options label:nth-child(5) { grid-column: 2 / span 2; }
  .training-group-options label:last-child:nth-child(odd) { grid-column: span 2; }
}
.training-approved-names{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.5rem}.training-runner{margin:1rem 0}.training-runner output{font-size:1.7rem;font-variant-numeric:tabular-nums}.training-page [hidden]{display:none!important}

.training-request-filters{margin:1rem 0}
.training-request-filters summary{cursor:pointer;font-weight:650}
.training-request-filters .training-filters{margin:.8rem 0}
.training-preferences{display:grid;grid-template-columns:auto 1fr;gap:.25rem .8rem;margin:.6rem 0}
.training-preferences dt{font-weight:600}
.training-preferences dd{margin:0}

.training-registration { min-inline-size:0; border:0; border-block-start:1px solid #d8e1cd; margin:1.25rem 0; padding:1rem 0 0; }
.training-registration legend { font-weight:700; padding-inline-end:.6rem; }
.training-registration .form, #trainingLoginForm { max-width:42rem; margin-block:.8rem; }
.training-registration input, #trainingLoginForm input { font-size:1rem; }
.training-registration .member-name-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); }

.training-page .fixed-days,.training-page .training-visual-field{min-inline-size:0;border:0;margin:1rem 0;padding:0}
.fixed-days legend,.training-visual-field legend{font-size:1.1rem;font-weight:700}
.training-page .fixed-day-options{display:flex;flex-wrap:wrap;gap:.5rem}
.training-page .fixed-day-options label{display:inline-flex;flex-direction:row;align-items:center;gap:.45rem;min-height:2.75rem;padding:.4rem .65rem;border:1px solid #8a9980;border-radius:.5rem;cursor:pointer}
.training-page .fixed-day-options input,.training-page .exercise-photo-choice input{margin:0;padding:0;width:1.1rem;height:1.1rem;accent-color:#466128}
.fixed-day-options label:has(input:checked),.exercise-photo-card:has(.exercise-photo-choice input:checked){background:#f3f7ed;box-shadow:inset 0 0 0 2px #48632b}
.exercise-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,12.5rem),1fr));gap:.75rem;align-items:start}
.exercise-photo-card{overflow:hidden;border:1px solid #a3ae9b;border-radius:.7rem;padding:.65rem;background:#fff;min-width:0}
.training-page .exercise-photo-choice{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.5rem;cursor:pointer}
.exercise-photo-choice > img{display:block;grid-column:1/-1;grid-row:1;width:100%;height:8rem;object-fit:contain;background:#fff;border-radius:.3rem}
.exercise-photo-choice strong{font-size:1rem;line-height:1.35}
.exercise-photo-card details{margin-top:.55rem;font-size:.95rem}
.exercise-photo-card summary{cursor:pointer}
.exercise-photo-card ol{padding-inline-start:1.3rem}
.exercise-photo-card li img{display:block;width:100%;height:auto;margin:.45rem 0}
.training-page .exercise-dose{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;border:0;margin:.7rem 0;padding:0}
.training-page .exercise-dose label{font-size:.88rem}
.session-exercise-visual{grid-column:1/-1;display:flex;align-items:center;gap:.8rem}
.session-exercise-visual img{width:4.5rem;height:4.5rem;object-fit:contain}
.session-exercise-visual p{margin:0}

.category-grid .strength-category { border-color: #819369; background: #f4f7ef; }
.strength-picker { margin: 1rem 0; padding: clamp(.7rem,2vw,1.3rem); border: 1px solid #bdcab1; border-radius: .85rem; background: #f7f9f4; }
.strength-picker[hidden], .strength-run-movement[hidden] { display:none; }
.strength-picker h3 { scroll-margin-top: 5rem; margin: 0 0 .4rem; }
.strength-picker p { margin: .35rem 0 .8rem; }
.strength-picker .strength-count { color: #3d562d; font-weight: 700; }
.strength-picker fieldset { border: 0; padding: 0; margin: .9rem 0 0; min-width: 0; }
.strength-picker legend { font-weight: 700; margin-bottom: .55rem; padding: 0; color: #314b28; }
.strength-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr)); gap: .55rem; }
.strength-choices label { display:flex; align-items:flex-start; gap:.65rem; border:1px solid #bac5b2; border-radius:.65rem; padding:.7rem; margin:0; background:#fff; cursor:pointer; color:#233322; }
.strength-choices label:has(input:checked) { border-color:#456632; box-shadow:inset 0 0 0 1px #456632; background:#eef5e9; }
.strength-choices label input { width:1.1rem; height:1.1rem; flex:0 0 auto; margin:.2rem 0 0; accent-color:#48632b; }
.strength-choices label small { display:block; }
.strength-choices label > span { min-width:0; }
.strength-logo-heading { display:flex; align-items:center; gap:.55rem; min-width:0; direction:ltr; }
.strength-logo-heading > span { min-width:0; overflow-wrap:anywhere; }
.strength-logo-heading > img.strength-logo { display:block; width:2.25rem; height:2.25rem; flex:0 0 auto; object-fit:contain; padding:0; margin:0; border:0; background:transparent; }
.strength-logo-heading > input { min-width:0; flex:1; }
.strength-summary ul:has(.strength-logo-heading) { list-style:none; padding:0; }
.strength-summary li.strength-logo-heading { margin-block:.35rem; }
.strength-summary .strength-logo, .strength-region-switch .strength-logo-heading > img.strength-logo { width:1.8rem; height:1.8rem; }
.strength-region-switch button.strength-logo-heading { justify-content:flex-start; }

.strength-choices label small { margin-top:.25rem; font-size:.84rem; line-height:1.4; color:#53604d; }
.strength-summary ul { margin:.35rem 0; padding-inline-start:1.35rem; }
.strength-run-movement img { display:block; width:min(100%,360px); max-height:260px; object-fit:contain; border-radius:.6rem; background:white; }
.strength-picker #strengthContinue { margin-top: 1rem; }

.strength-region-switch { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0; }
.strength-region-switch button { min-height:44px; padding:.55rem 1rem; border:1px solid #829573; border-radius:.6rem; background:white; color:#304526; font-weight:700; }
.strength-region-switch button[aria-pressed=true] { background:#3a5530; border-color:#3a5530; color:white; }
.strength-region-switch button:focus-visible { outline:3px solid #c15e18; outline-offset:2px; }
.strength-picker [hidden] { display:none; }
.strength-anatomy-note { margin-top:1.1rem; }
.strength-anatomy-note summary { cursor:pointer; font-weight:650; }
.chest-anatomy-figures { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr)); max-width:650px; gap:.6rem; margin:.8rem 0; }
.chest-anatomy-figures figure { margin:0; background:white; border:1px solid #bac5b2; border-radius:.6rem; padding:.5rem; }
.chest-anatomy-figures svg { display:block; width:100%; }
.chest-anatomy-figures figcaption { margin-top:.4rem; text-align:center; font-weight:600; }

.strength-choice-entry {min-width:0}
.strength-choice-entry > label {height:100%;box-sizing:border-box}
.strength-choice-entry:has(.exercise-load-pair:not([hidden])) > label {height:auto;border-radius:.65rem .65rem 0 0}
.training-page .exercise-load-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;grid-column:1/-1;align-items:end;min-width:0}
.training-page .exercise-load-pair[hidden] {display:none}
.strength-choices .exercise-load-pair {padding:.55rem .7rem .75rem;border:1px solid #bac5b2;border-top:0;border-radius:0 0 .65rem .65rem;background:#f5f9f2}
.training-page .exercise-load-pair > label {display:grid;grid-column:auto;align-content:end;gap:.3rem;min-width:0;border:0;background:none;box-shadow:none;padding:0;margin:0;font-weight:600;cursor:default}
.training-page .exercise-load-pair input,.training-page .exercise-load-field input {display:block;box-sizing:border-box;min-width:0;width:100%;min-height:2.65rem;margin:0;padding:.45rem .6rem;border:1px solid #83947a;border-radius:.45rem;background:white;color:#223220;font:inherit}
#trainingExerciseInfo > .exercise-load-field {display:inline-grid;gap:.25rem;max-width:14rem;margin:.4rem .65rem;vertical-align:middle}

.game-request-picker {border:1px solid #a7bb96;border-radius:10px;padding:.8rem 1rem}
.game-request-picker summary {cursor:pointer;font-weight:700;color:#294b18}
.game-request-picker[open] summary {margin-bottom:.8rem}
#requestGameCategory {width:100%;margin:.3rem 0 .8rem}
#requestGameChoices {margin:0;padding:0;border:0;min-inline-size:0}
#requestGameChoices legend {font-weight:600;margin-bottom:.3rem}
#requestGameChoices label {display:flex;align-items:center;gap:.7rem;min-height:44px;cursor:pointer}
#requestGameChoices input {width:1.2rem;height:1.2rem;min-height:0;flex:none;margin:0;accent-color:#497510}
#requestedGameSummary:empty, #applicationFeedback:empty {display:none}
#sendMemberApplication {width:100%;min-height:46px}
#approvedGames {margin-bottom:1rem}
