/* One current auth surface, matching the accepted native form. */
.fc-auth-current{--accent:#dcfb7c;--bg:#fff;--text:#12173a;--text-2:#657091;--surface:#fff;--surface-2:#f5f6fa;--line:#e8ebf2;min-height:100svh;background:var(--bg);color:var(--text);padding:calc(12px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom));font-family:Inter,system-ui,sans-serif}
:root[data-theme=dark] .fc-auth-current{--bg:#0f1524;--text:#f2f4fa;--text-2:#acb4c9;--surface:#161e30;--surface-2:#20293b;--line:#35405a}
.fc-auth-current-top{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1000px;margin:0 auto}
.fc-auth-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--text);font-size:14px;text-decoration:none}
.fc-auth-wordmark{font-size:30px;line-height:1;font-weight:800;letter-spacing:-1.8px;text-decoration:none;color:var(--text)}
.fc-auth-wordmark span{color:var(--accent)}
.fc-auth-current-form{width:min(100%,440px);margin:clamp(24px,6vh,64px) auto 0;display:grid;gap:20px}
.fc-auth-current h1{font-size:32px;line-height:1.12;letter-spacing:-1px;margin:0}
.fc-auth-current .stack{gap:16px}
.fc-auth-current .field{margin:0}
.fc-auth-current input:not([type=checkbox]){min-height:52px;font-size:16px;border-radius:14px;background:var(--surface);color:var(--text)}
.fc-auth-current .btn{min-height:52px;border-radius:16px;box-shadow:none;font-size:16px}
.fc-auth-current .btn.primary{background:var(--accent);color:#12173a;border-color:transparent;font-weight:700}
.fc-auth-current .error-text:empty{display:none}
.fc-auth-tabs{position:relative;display:grid;grid-template-columns:1fr 1fr;padding:4px;isolation:isolate;border-radius:999px;background:var(--surface-2)}
.fc-auth-tabs .ind{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:999px;background:#dcfb7c;z-index:-1;transition:transform .26s cubic-bezier(.2,.7,.2,1)}
.fc-auth-tabs[data-active=register] .ind{transform:translateX(100%)}
.fc-auth-tabs a{display:flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;color:var(--text-2);font-size:15px;font-weight:600}
.fc-auth-tabs a[aria-selected=true]{color:#12173a}
.fc-auth-current .role-pick{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fc-auth-current .role-pick>p{display:none}
.fc-auth-role{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;font-size:14px;cursor:pointer}
.fc-auth-role[aria-pressed=true]{background:var(--accent);color:#12173a;border-color:transparent}
.fc-auth-documents{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 20px;font-size:12px}
.fc-auth-documents a{min-height:40px;display:flex;align-items:center;color:var(--text-2);text-decoration:none}
@media(min-width:900px){.fc-auth-current-form{margin-top:8vh}}
@media(prefers-reduced-motion:reduce){.fc-auth-tabs .ind{transition:none}}

/* Keep the coach's concise athlete overview legible on every width. */
.fc-athlete-card .p-item .p-grow{display:grid;gap:5px;min-width:0;text-align:left}
.fc-athlete-card .p-item .p-grow strong{line-height:1.35}
.fc-athlete-card .p-item .p-grow .p-cap{line-height:1.5}
.fc-athlete-card .fc-athlete-tabs{display:grid;grid-template-columns:1fr 1.4fr 1fr 1.1fr .75fr;gap:2px;overflow:visible;min-width:0}
.fc-athlete-card .fc-athlete-tabs button{min-width:0;padding:10px 2px;min-height:46px;font-size:12px;white-space:normal;text-align:center;line-height:1.3}
.fc-athlete-card .fc-athlete-tabs button[aria-selected=true]{background:var(--p-lime);color:var(--p-lime-ink);font-weight:700}

/* Keep intrinsic SVG dimensions from stretching the role choices. */
.fc-auth-role{min-width:0;text-align:left}
.fc-auth-role>b{flex:1;min-width:0;line-height:1.4}
.fc-auth-role>svg{display:block;width:20px;height:20px;min-width:20px;max-width:20px;flex:0 0 20px}
.fc-auth-back>svg{display:block;width:18px;height:18px;flex:0 0 18px}
body main.fc-auth-current{width:100%;max-width:none;margin:0;box-sizing:border-box}
@media(min-width:900px){
  .fc-auth-current{display:flex;flex-direction:column}
  .fc-auth-current-top{width:100%;flex:none}
  .fc-auth-current-form{margin-block:auto;padding-block:32px;flex:none}
}
.auth-register-panel[hidden], .auth-register-actions > [hidden] { display: none; }
.auth-register-actions { display: flex; align-items: stretch; gap: 12px; }
.auth-register-actions > .primary { flex: 1; }
.auth-register-step { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
