/* Own Gym tokens; defaults match the approved PAF fallback. Do not load in Club. */
:root { --gym-bg:#0f1111; --gym-surface:#1a1c1d; --gym-surface-raised:#222627; --gym-line:#3a4140; --gym-text:#f5f5f0; --gym-muted:#adb5ae; --gym-lime:#c9a227; --gym-action:#c9a227; --gym-action-text:#000; --gym-accent-soft:#c9a22716; --gym-orange:#ffad5a; }
.btn-primary { background:var(--gym-action); color:var(--gym-action-text); }
.btn-primary:hover { color:var(--gym-action-text); }
.public-login-logo { background:var(--gym-action); color:var(--gym-action-text); }
.gym-shell .gym-icon { width:1.25em; height:1.25em; }
/* Restore native modal centering after the shared universal margin reset. */
:is(.gym-shell,.gym-staff-shell) dialog:modal { margin:auto; }
:is(.gym-shell,.gym-staff-shell) :is(.gym-routine-back,.gym-personal-back,.gym-retire-back,.gym-history-back) { gap:.5rem; }
/* Keep native details/summary keyboard behavior; use one local Lucide chevron in every Gym disclosure. */
:is(.gym-shell,.gym-staff-shell) details > summary { position:relative; list-style:none; min-height:44px; padding-inline-end:2rem; }
:is(.gym-shell,.gym-staff-shell) details > summary::marker { content:""; }
:is(.gym-shell,.gym-staff-shell) details > summary::-webkit-details-marker { display:none; }
:is(.gym-shell,.gym-staff-shell) details > summary::after { content:""; position:absolute; inset-inline-end:.35rem; top:50%; margin-top:-.625rem; width:1.25rem; height:1.25rem; background-color:currentColor; -webkit-mask:url('/images/icons/chevron-down.svg') center/contain no-repeat; mask:url('/images/icons/chevron-down.svg') center/contain no-repeat; transform:rotate(0deg); transition:transform .16s ease; pointer-events:none; }
:is(.gym-shell,.gym-staff-shell) details[open] > summary::after { transform:rotate(180deg); }
@media(prefers-reduced-motion:reduce) { :is(.gym-shell,.gym-staff-shell) details > summary::after { transition:none; } }

/* An owned photo task replaces the inline editor only in the opted-in Gym experience. */
.member-photo-task button,.member-photo-task .btn{min-height:44px;box-sizing:border-box}
.member-photo-task a.btn{display:inline-flex;align-items:center;justify-content:center}
