.athlete-profile-page{--ap-card:#fff;--ap-ink:#172632;--ap-muted:#536476;--ap-border:#d8e0e7;--ap-soft:#f4f7fa;color:var(--ap-ink)}
@media(prefers-color-scheme:dark){.athlete-profile-page{--ap-card:#112a42;--ap-ink:#eef5ff;--ap-muted:#c0cddd;--ap-border:#35516a;--ap-soft:#1a3955}}
/* v6.41.6.38.92 — Responsive shared athlete profile */
.athlete-profile-page .dash-shell{max-width:1100px;padding-bottom:4rem}
.athlete-profile-breadcrumb{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.1rem 0 1.4rem;flex-wrap:wrap}
.athlete-profile-breadcrumb a{font-weight:650;text-decoration:none;color:var(--ap-ink)}
.athlete-profile-breadcrumb a:hover,.athlete-profile-breadcrumb a:focus-visible{text-decoration:underline}
.athlete-profile-body{display:grid;gap:1.1rem}
.athlete-profile-overview,.athlete-profile-panel{background:var(--ap-card);border:1px solid var(--ap-border);border-radius:18px;padding:clamp(1rem,2.5vw,1.6rem);min-width:0}
.athlete-profile-identity{display:flex;align-items:center;gap:1.1rem;margin-bottom:1.2rem}
.athlete-profile-avatar{display:flex;flex:none;width:74px;height:74px;align-items:center;justify-content:center;border-radius:50%;background:#e9eff5;color:#12395d;font-weight:800;font-size:1.8rem}
.athlete-profile-identity h1{font-size:clamp(1.5rem,3vw,2rem);line-height:1.13;margin:.2rem 0 .4rem;overflow-wrap:anywhere}
.athlete-profile-identity p{margin:0;color:var(--ap-muted)}
.athlete-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.athlete-profile-stats>div{background:var(--ap-soft);border:1px solid var(--ap-border);border-radius:12px;padding:.9rem;min-width:0}
.athlete-profile-stats span,.athlete-profile-stats b{display:block}
.athlete-profile-stats span,.athlete-profile-facts dt{font-size:.79rem;color:var(--ap-muted)}
.athlete-profile-stats b{font-size:1.1rem;margin-top:.24rem;overflow-wrap:anywhere}
.athlete-profile-panel-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.athlete-profile-panel-head h2,.athlete-profile-upcoming h2{margin:.18rem 0;font-size:1.35rem}
.athlete-profile-panel-head p,.athlete-profile-upcoming p{margin:.25rem 0 0;color:var(--ap-muted)}
.athlete-profile-facts{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.95rem}
.athlete-profile-facts>div{min-width:0}.athlete-profile-facts dd{margin:.25rem 0 0;font-weight:650;overflow-wrap:anywhere}.athlete-profile-facts-bio{grid-column:1/-1}
.athlete-profile-edit-form{margin-top:1.2rem;padding-top:1.2rem;border-top:1px solid var(--ap-border)}
.athlete-profile-edit-form>p,.athlete-profile-measurement-form>p{color:var(--ap-muted);margin:.1rem 0 1rem}
.athlete-profile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.athlete-profile-fields label,.athlete-profile-bio-label{display:grid;gap:.4rem;font-size:.9rem;font-weight:650}
.athlete-profile-fields input,.athlete-profile-fields select,.athlete-profile-bio-label textarea{width:100%;min-height:42px;min-width:0;background:var(--ap-card);color:var(--ap-ink);border:1px solid var(--ap-border);border-radius:10px;padding:.6rem .7rem;font:inherit}
.athlete-profile-position-fieldset{border:1px solid var(--ap-border);border-radius:12px;margin:1rem 0;padding:.8rem}
.athlete-profile-position-fieldset legend{font-weight:700;padding:0 .35rem}
.athlete-profile-position-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.6rem}
.athlete-profile-position-grid label{display:flex;align-items:center;gap:.45rem;cursor:pointer}
.athlete-profile-position-grid input{accent-color:#145b96;width:17px;height:17px}
.athlete-profile-bio-label span{font-weight:400;color:var(--ap-muted)}
.athlete-profile-form-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin:1rem 0 .4rem}
.athlete-profile-measurement-list{border-top:1px solid var(--ap-border);margin-bottom:1rem}
.athlete-profile-measurement-list>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.6rem;padding:.72rem .2rem;border-bottom:1px solid var(--ap-border)}
.athlete-profile-measurement-list time{font-weight:650}
.athlete-profile-empty{color:var(--ap-muted)}
.athlete-profile-measurement-form{padding-top:.8rem;border-top:1px solid var(--ap-border)}
.athlete-profile-measurement-form h3{margin:.3rem 0;font-size:1.05rem}
.athlete-profile-measurement-form .athlete-profile-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
.athlete-profile-status{margin-bottom:0}
.athlete-profile-page button:focus-visible,.athlete-profile-page input:focus-visible,.athlete-profile-page select:focus-visible,.athlete-profile-page textarea:focus-visible,.athlete-profile-page a:focus-visible{outline:3px solid #1c75a8;outline-offset:3px}
@media(max-width:700px){.athlete-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.athlete-profile-fields,.athlete-profile-measurement-form .athlete-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.athlete-profile-position-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:420px){.athlete-profile-avatar{width:58px;height:58px;font-size:1.5rem}.athlete-profile-identity{align-items:flex-start;gap:.75rem}.athlete-profile-position-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.athlete-profile-measurement-form .athlete-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.athlete-profile-page .button{min-height:44px}}

/* The profile entry in Account uses the existing Account dropdown. */
.account-menu .account-athlete-profile-link{display:block;width:100%;text-align:left;padding:.65rem .85rem;text-decoration:none;color:inherit;font-size:.92rem}
.account-menu .account-athlete-profile-link:hover,.account-menu .account-athlete-profile-link:focus-visible{background:rgba(120,150,184,.16);text-decoration:underline}

.athlete-profile-edit-form>label{display:grid;gap:.35rem;max-width:440px;margin-bottom:1rem;font-weight:650}.athlete-profile-edit-form>label input{border:1px solid var(--ap-border);border-radius:10px;padding:.7rem;background:var(--ap-card);color:var(--ap-ink);min-height:44px}.athlete-profile-edit-form>label span{font-weight:400;color:var(--ap-muted)}

/* v6.41.6.38.94 — Private athlete photo crop and profile presentation */
.athlete-profile-photo-area{display:flex;flex-direction:column;align-items:center;gap:.4rem;flex:none}
.athlete-profile-avatar{position:relative;overflow:hidden}
.athlete-profile-avatar img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;border-radius:50%}
.athlete-profile-avatar img[hidden]{display:none}
.athlete-profile-photo-edit{padding:.25rem .35rem;border:0;background:none;color:#156ca1;text-decoration:underline;cursor:pointer;font-weight:650;font-size:.8rem}
@media(prefers-color-scheme:dark){.athlete-profile-photo-edit{color:#a0d4fa}}
.athlete-photo-dialog{width:min(94vw,550px);max-height:94vh;overflow-y:auto;padding:1.4rem;position:relative}
.athlete-photo-dialog p{line-height:1.5}
.athlete-photo-file-label{display:block;font-weight:700;margin-top:1rem}
.athlete-photo-dialog input[type=file]{display:block;width:100%;max-width:100%;margin:.4rem 0 .25rem}
.athlete-photo-dialog small{color:#56677a}
.athlete-photo-canvas-wrap{width:min(100%,330px);aspect-ratio:1;margin:1rem auto;position:relative;touch-action:none;background:#e0e6ec;border-radius:12px;overflow:hidden;cursor:grab}
.athlete-photo-canvas-wrap canvas{display:block;width:100%;height:100%;touch-action:none}
.athlete-photo-circle-guide{position:absolute;inset:2%;border:3px solid white;border-radius:50%;box-shadow:0 0 0 70px rgba(0,0,0,.25);pointer-events:none}
.athlete-photo-crop-fields{display:grid;gap:.65rem;margin-bottom:1rem}
.athlete-photo-crop-fields label{display:grid;gap:.25rem;font-weight:600}
.athlete-photo-crop-fields input{width:100%;accent-color:#146caa}
.athlete-photo-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}
.athlete-photo-dialog button:focus-visible,.athlete-photo-dialog input:focus-visible{outline:3px solid #1b8ac1;outline-offset:3px}
@media(max-width:420px){.athlete-photo-dialog{padding:1rem}.athlete-profile-photo-area{min-width:61px}.athlete-photo-actions .button{min-height:44px}}

/* v6.41.6.38.95 — Shared athlete identity (private images, lazy-loaded and decorative). */
.nuz-athlete-avatar{display:inline-flex;position:relative;flex:0 0 auto;align-items:center;justify-content:center;vertical-align:middle;width:38px;height:38px;border-radius:50%;overflow:hidden;background:#dae8f6;color:#143a59;font-weight:750;line-height:1;isolation:isolate}
.nuz-athlete-avatar-sm{width:30px;height:30px;font-size:.72rem}
.nuz-athlete-avatar-md{width:42px;height:42px;font-size:.95rem}
.nuz-athlete-avatar-lg{width:54px;height:54px;font-size:1.1rem}
.nuz-athlete-avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.nuz-athlete-avatar img[hidden]{display:none}
.nuz-athlete-name-with-avatar{display:inline-flex;align-items:center;gap:.6rem;max-width:100%;min-width:0;vertical-align:middle}
.nuz-athlete-identity-label{min-width:0;overflow-wrap:anywhere;line-height:1.25}
.family-athlete-avatar.nuz-athlete-avatar{font-size:.95rem;flex-shrink:0;max-width:42px}
.athlete-avatar-mark.nuz-athlete-avatar{width:56px;height:56px;flex:none}
.coach-athlete-name .nuz-athlete-name-with-avatar,.organization-roster-athlete-title .nuz-athlete-name-with-avatar{display:inline-flex;align-items:center}
.organization-roster-athlete-title .nuz-athlete-identity-label{white-space:normal}
.player-home-identity h1 .nuz-athlete-name-with-avatar,.lesson-page-header h1 .nuz-athlete-name-with-avatar{max-width:100%}
@media(max-width:420px){.nuz-athlete-avatar-md{width:34px;height:34px}.nuz-athlete-avatar-lg{width:43px;height:43px}.nuz-athlete-name-with-avatar{gap:.4rem}}
@media(prefers-color-scheme:dark){.nuz-athlete-avatar{background:#29475c;color:#edf4fd}}


/* v6.41.6.38.98 — existing-athlete organization roster assignment */
.organization-roster-heading-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:.65rem}
.organization-roster-add-modal{width:min(94vw,650px);max-height:min(92vh,800px);overflow-y:auto;position:relative;padding:1.4rem}
.organization-roster-add-modal p{line-height:1.45}
.organization-roster-add-note{border:1px solid #cddae8;background:#f2f7fd;color:#253e57;border-radius:10px;padding:.8rem .9rem;margin:1rem 0;line-height:1.45;font-size:.87rem}
.organization-roster-add-search-label{display:block;font-weight:700;margin:.5rem 0}
.organization-roster-add-modal input[type=search]{display:block;width:100%;min-height:44px;padding:.6rem .8rem;border:1px solid #acbed0;border-radius:9px;background:#fff;color:#162337}
.organization-roster-add-topline{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:.75rem 0}
.organization-roster-add-list{border:1px solid #cfd9e3;border-radius:12px;overflow-y:auto;max-height:min(42vh,360px);background:#fff}
.organization-roster-add-row{display:flex;align-items:center;gap:.8rem;padding:.8rem;border-bottom:1px solid #e2e8ef;cursor:pointer;min-width:0}
.organization-roster-add-row:last-child{border-bottom:0}.organization-roster-add-row:hover,.organization-roster-add-row:focus-within{background:#f2f7fc}
.organization-roster-add-row[hidden]{display:none}
.organization-roster-add-row input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#176eaf}
.organization-roster-add-person{display:flex;flex-direction:column;gap:.24rem;min-width:0}
.organization-roster-add-person small{font-weight:400;color:#4f6174}
.organization-roster-add-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:1rem 0}
.organization-roster-add-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:.6rem}
.organization-roster-add-modal .button:focus-visible,.organization-roster-add-modal input:focus-visible{outline:3px solid #187ab9;outline-offset:2px}
@media(max-width:420px){.organization-roster-add-modal{padding:1rem}.organization-roster-heading-actions{justify-content:flex-start}.organization-roster-add-row{padding:.7rem .55rem}.organization-roster-add-foot .button{width:100%}}
@media(prefers-color-scheme:dark){.organization-roster-add-note{background:#182d43;color:#e4edf8;border-color:#375b7a}.organization-roster-add-list{background:#14273a;border-color:#3b5570}.organization-roster-add-row{border-color:#39526b}.organization-roster-add-row:hover,.organization-roster-add-row:focus-within{background:#21405f}.organization-roster-add-person small{color:#b9cedc}.organization-roster-add-modal input[type=search]{background:#13283c;color:#ecf2f8;border-color:#486781}}

/* v6.41.6.38.99 - organization roster pending connection panel. */
.organization-roster-connections .panel-head{align-items:flex-start;gap:1rem;flex-wrap:wrap}
.organization-roster-connections .panel-head>div:first-child{flex:1 1 19rem;min-width:0}
.organization-roster-connections .panel-head p{margin:.4rem 0 0;max-width:50rem;line-height:1.5}
.organization-roster-connections-list{min-width:0}
.organization-roster-connections-list .athlete-invite-pending-row{min-width:0;overflow-wrap:anywhere}
.organization-roster-connections-list .athlete-invite-pending-row>div:first-child{min-width:0}
@media(max-width:420px){.organization-roster-connections .organization-roster-heading-actions{width:100%;justify-content:stretch}.organization-roster-connections .organization-roster-heading-actions .button{flex:1 1 auto}}

/* v6.41.6.38.100 — reversible organization roster membership management */
.organization-roster-archive-action{margin-top:8px;align-self:flex-start;white-space:normal}
.organization-roster-archived>details>summary{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:700;font-size:1rem;padding:6px 0}
.organization-roster-archived>details>p{line-height:1.5;max-width:70ch}
.organization-roster-archived-list{display:grid;gap:8px;margin-top:14px}
.organization-roster-archived-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px;border:1px solid var(--line,#d5dae2);border-radius:10px;min-width:0}
.organization-roster-archived-row>span{min-width:0;overflow-wrap:anywhere;display:grid;gap:4px}
.organization-roster-archived-row small{font-size:.82rem;opacity:.75}
.organization-roster-membership-modal{width:min(560px,calc(100vw - 28px));max-height:90dvh;overflow:auto;box-sizing:border-box}
.organization-roster-membership-modal p{line-height:1.55;overflow-wrap:anywhere}
.organization-roster-membership-summary{padding:12px;border:1px solid var(--line,#d5dae2);border-radius:10px;line-height:1.55;overflow-wrap:anywhere}
.organization-roster-membership-preserve{font-size:.9rem;opacity:.86}
.organization-roster-membership-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px}
@media(max-width:420px){.organization-roster-archived-row{align-items:flex-start;flex-wrap:wrap}.organization-roster-membership-buttons>.button{flex:1 1 100%}}

/* v6.41.6.38.101 — review-first existing-athlete CSV roster import */
.organization-roster-bulk-modal{width:min(720px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto;box-sizing:border-box}
.organization-roster-bulk-modal p{line-height:1.5}
.organization-roster-bulk-modal label{display:block;font-weight:650;margin:.75rem 0 .35rem}
.organization-roster-bulk-modal textarea{width:100%;min-height:105px;box-sizing:border-box;background:var(--card,#fff);color:inherit;border:1px solid #9caec0;border-radius:9px;padding:.7rem;resize:vertical;font:0.88rem/1.45 ui-monospace,monospace}
.organization-roster-bulk-tools,.organization-roster-bulk-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.organization-roster-bulk-tools input[type=file]{max-width:100%;min-width:0}
.organization-roster-bulk-table-wrap{max-height:310px;overflow:auto;border:1px solid #ccd6e2;border-radius:10px;margin:.65rem 0}
.organization-roster-bulk-table{width:100%;border-collapse:collapse;font-size:.87rem;min-width:290px}
.organization-roster-bulk-table th,.organization-roster-bulk-table td{padding:.65rem;text-align:left;border-bottom:1px solid #dfe4ed;vertical-align:top;overflow-wrap:anywhere}
.organization-roster-bulk-table th{position:sticky;top:0;background:var(--card,#fff);z-index:1}
.organization-roster-bulk-table td small{display:block;font-size:.8rem;opacity:.82;margin-top:.25rem}
.roster-bulk-tag{font-size:.78rem;text-transform:uppercase;letter-spacing:.03em}
.roster-bulk-eligible{color:#16794a}.roster-bulk-review,.roster-bulk-blocked,.roster-bulk-invalid{color:#a15b11}
.organization-roster-bulk-confirm{display:flex!important;align-items:flex-start;gap:.55rem;line-height:1.4;font-size:.91rem}
.organization-roster-bulk-confirm input{flex:none;width:20px;height:20px}
#rosterBulkSubmit{margin-top:.45rem}
@media(max-width:430px){.organization-roster-bulk-modal{padding:1rem}.organization-roster-bulk-tools .button,.organization-roster-bulk-actions .button{flex:1 1 100%}.organization-roster-bulk-table th,.organization-roster-bulk-table td{padding:.5rem .4rem}}

/* v6.41.6.38.102 — explicit season transition review and protected bulk archive */
.organization-season-transition-modal{width:min(780px,calc(100vw - 24px));max-width:780px;max-height:min(94vh,980px);overflow-y:auto;box-sizing:border-box}
.organization-season-transition-modal .season-transition-season-label{padding:11px 13px;border:1px solid var(--border,#d9e1e8);border-radius:10px;font-size:.87rem;line-height:1.55;margin:10px 0;color:var(--muted,#526175)}
.organization-season-transition-modal .season-transition-stats{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.organization-season-transition-modal .season-transition-stats span{background:rgba(127,127,127,.08);padding:8px 10px;border-radius:9px;font-size:.83rem}
.organization-season-transition-modal .season-transition-toolbar{display:flex;align-items:end;gap:10px;justify-content:space-between;margin:14px 0 8px}
.organization-season-transition-modal .season-transition-toolbar label{flex:1;min-width:0;font-weight:600;font-size:.8rem}
.organization-season-transition-modal .season-transition-toolbar input{display:block;width:100%;min-width:0;margin-top:6px}
.organization-season-transition-modal .season-transition-list{max-height:275px;overflow:auto;border:1px solid var(--border,#d9e1e8);border-radius:12px}
.organization-season-transition-modal .season-transition-person{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid rgba(127,127,127,.2);cursor:pointer;min-width:0}
.organization-season-transition-modal .season-transition-person:last-child{border-bottom:0}
.organization-season-transition-modal .season-transition-person.selected{background:rgba(196,80,67,.07)}
.organization-season-transition-modal .season-transition-person[hidden]{display:none}
.organization-season-transition-modal .season-transition-person input{flex:0 0 19px;width:19px;height:19px}
.organization-season-transition-modal .season-transition-person-label{flex:1;min-width:0;overflow-wrap:anywhere}
.organization-season-transition-modal .season-transition-person-label b{display:block}
.organization-season-transition-modal .season-transition-person-label small{display:block;margin-top:3px;color:var(--muted,#526175)}
.organization-season-transition-modal .season-transition-keep{font-weight:700;font-size:.76rem;white-space:nowrap;color:var(--muted,#526175)}
.organization-season-transition-modal .season-transition-person.selected .season-transition-keep{color:#ba4a3b}
.organization-season-transition-modal .season-transition-hint{font-size:.85rem;line-height:1.55;margin:14px 0}
.organization-season-transition-modal .season-transition-warning{border-left:3px solid #b68c34;padding:8px 11px;background:rgba(210,153,47,.1)}
.organization-season-transition-modal .season-transition-confirm{border:1px solid var(--border,#d9e1e8);padding:13px;border-radius:12px;margin:14px 0}
.organization-season-transition-modal .season-transition-confirm[hidden]{display:none}
.organization-season-transition-modal .season-transition-confirm h3{margin:0 0 8px}
.organization-season-transition-modal .season-transition-impact{display:grid;gap:6px;margin-bottom:12px;font-size:.88rem;line-height:1.5}
.organization-season-transition-modal .season-transition-preview-rows{max-height:180px;overflow:auto;border-block:1px solid rgba(127,127,127,.22);margin-bottom:12px;padding:6px 0}
.organization-season-transition-modal .season-transition-preview-rows>div{display:flex;justify-content:space-between;gap:14px;padding:7px 0;font-size:.85rem;overflow-wrap:anywhere}
.organization-season-transition-modal .season-transition-preview-rows small{color:var(--muted,#526175)}
.organization-season-transition-modal .season-transition-ack{display:flex;gap:8px;align-items:flex-start;font-size:.87rem;margin:10px 0}
.organization-season-transition-modal .season-transition-ack input{flex:0 0 auto}
.organization-season-transition-modal #seasonTransitionPhrase{display:block;width:100%;margin:6px 0 12px}
.organization-season-transition-modal #seasonTransitionDone{display:block;margin-top:10px}
@media(max-width:430px){.organization-season-transition-modal .season-transition-toolbar{flex-wrap:wrap}.organization-season-transition-modal .season-transition-toolbar label{flex-basis:100%}.organization-season-transition-modal .season-transition-preview-rows>div{display:block}.organization-season-transition-modal .season-transition-preview-rows small{display:block;margin-top:2px}.organization-season-transition-modal .season-transition-keep{white-space:normal;text-align:right;max-width:72px}}

/* v6.41.6.38.103 — reviewed next-season team setup */
.season-team-toolbar,.season-team-actions{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}
.season-team-dialog{width:min(94vw,760px);max-height:min(92dvh,860px);overflow:auto;overscroll-behavior:contain}
.season-team-form{display:grid;gap:.8rem}
.season-team-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.season-team-fields>div{min-width:0}
.season-team-fields input,.season-team-form select{width:100%;min-width:0;box-sizing:border-box}
.season-team-selection-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.35rem;align-items:center;margin:.4rem 0}
.season-team-selection-head span,.season-team-note{font-size:.83rem;color:var(--muted,#617082)}
.season-team-choices{display:grid;gap:.4rem;max-height:270px;overflow-y:auto;border:1px solid #dce3eb;border-radius:12px;padding:.6rem}
.season-team-athlete{display:flex;align-items:center;gap:.65rem;padding:.6rem;border:1px solid #e6ecf1;border-radius:10px;cursor:pointer;min-width:0}
.season-team-athlete input,.season-team-confirm-check input{width:1.05rem;height:1.05rem;flex-shrink:0;accent-color:#147fd2}
.season-team-athlete-label{min-width:0;display:grid;gap:.2rem;overflow-wrap:anywhere}
.season-team-athlete-label small{color:#637083;font-size:.78rem}
.season-team-empty{padding:.75rem;background:#f3f6fa;border-radius:9px;color:#566478}
.season-team-review-summary{padding:1rem;background:#f4f7fa;border-radius:12px;margin:.55rem 0 1rem}
.season-team-review-summary dl{display:grid;gap:.55rem;margin:1rem 0}
.season-team-review-summary dl>div{display:grid;grid-template-columns:120px 1fr;gap:.65rem}
.season-team-review-summary dt{font-size:.83rem;color:#526174}
.season-team-review-summary dd{margin:0;font-weight:650;overflow-wrap:anywhere}
.season-team-review-athletes{max-height:180px;overflow:auto;padding-left:1.5rem}
.season-team-review-athletes li{padding:.25rem 0}
.season-team-confirm-check{display:flex;align-items:flex-start;gap:.6rem;margin:1rem 0;font-size:.9rem;line-height:1.5}
#newSeasonTeamReview>label[for]{display:block;font-weight:700;margin:.75rem 0 .35rem}
#newSeasonTeamConfirm{width:100%;box-sizing:border-box;margin-bottom:.9rem}
#newSeasonTeamMsg:not(:empty){margin:.65rem 0;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:560px){.season-team-fields{grid-template-columns:minmax(0,1fr)}.season-team-toolbar{justify-content:flex-start}.season-team-toolbar .button{flex:1 1 150px}.season-team-dialog{max-height:88dvh}.season-team-review-summary dl>div{grid-template-columns:1fr;gap:.15rem}.season-team-actions .button{flex:1 1 160px}}
/* Keep modal steps truly hidden despite their layout display rules. */
.season-team-dialog [hidden]{display:none!important}

/* v6.41.6.38.104 — secure team copy/move wizard */
.team-transfer-dialog{width:min(94vw,760px);max-height:min(92dvh,860px);overflow:auto;overscroll-behavior:contain}
.team-transfer-form{display:grid;gap:.7rem}
.team-transfer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.team-transfer-fields>div{min-width:0}.team-transfer-fields select,.team-transfer-form input{width:100%;min-width:0;box-sizing:border-box}
.team-transfer-mode{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;border:1px solid #dce4ec;border-radius:10px;padding:.7rem 1rem;min-width:0}
.team-transfer-mode legend{font-size:.88rem;font-weight:700;padding:0 .25rem}
.team-transfer-mode label{display:flex;align-items:center;gap:.45rem;font-weight:500}
.team-transfer-mode input{width:1.05rem;height:1.05rem;accent-color:#147fd2}
.team-transfer-candidate-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.35rem;font-size:.88rem;margin-bottom:.45rem}
.team-transfer-candidate-head span,.team-transfer-help{font-size:.8rem;color:#596b7d}
.team-transfer-choices{display:grid;gap:.4rem;max-height:280px;overflow:auto;border:1px solid #dde4ec;border-radius:11px;padding:.5rem}
.team-transfer-choice{display:flex;gap:.6rem;align-items:center;padding:.55rem .65rem;border:1px solid #ebeff3;border-radius:9px;cursor:pointer;min-width:0}
.team-transfer-choice>input{flex:0 0 1.05rem;width:1.05rem;height:1.05rem;accent-color:#147fd2}
.team-transfer-choice>span{display:grid;gap:.2rem;min-width:0;overflow-wrap:anywhere}
.team-transfer-choice small{font-size:.77rem;color:#627385}
.team-transfer-empty{padding:.8rem;background:#f5f7fa;color:#566578;border-radius:10px}
.team-transfer-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}
.team-transfer-ack{display:flex;gap:.6rem;align-items:flex-start;margin:.85rem 0;font-size:.9rem;line-height:1.5}
.team-transfer-ack input{flex:0 0 1.05rem;width:1.05rem;height:1.05rem;margin-top:.2rem;accent-color:#147fd2}
.team-transfer-review-summary{padding:1rem;background:#f5f7fa;border-radius:12px}
.team-transfer-review-summary dl{margin:.9rem 0;display:grid;gap:.65rem}
.team-transfer-review-summary dl>div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:.5rem}
.team-transfer-review-summary dt{color:#596b7e;font-size:.85rem}
.team-transfer-review-summary dd{margin:0;overflow-wrap:anywhere;font-weight:650}
.team-transfer-review-summary ul{max-height:150px;overflow:auto;padding-left:1.5rem}
.team-transfer-review-summary li{padding:.22rem 0}
.team-transfer-review-summary p{line-height:1.5}
#teamTransferReview>label[for]{display:block;font-weight:700;margin:.55rem 0}
#teamTransferConfirmation{width:100%;box-sizing:border-box}
#teamTransferMsg:not(:empty){margin:.6rem 0;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:560px){.team-transfer-fields{grid-template-columns:minmax(0,1fr)}.team-transfer-dialog{max-height:88dvh}.team-transfer-actions .button{flex:1 1 160px}.team-transfer-review-summary dl>div{grid-template-columns:minmax(0,1fr);gap:.2rem}.season-team-toolbar{justify-content:flex-start}}

/* v6.41.6.38.105 — private family / guardian access review */
.family-access-v105{width:min(100%,680px);max-height:min(92dvh,860px);overflow-y:auto;overflow-x:hidden}
.family-access-v105 .family-access-overview{display:grid;gap:5px;padding:12px 16px;border:1px solid #dbe4ee;border-radius:12px;background:#f7f9fc;margin:12px 0}
.family-access-v105 .family-access-overview small{color:#5e6c7d;line-height:1.5}
.family-access-v105 .family-access-list{display:grid;gap:8px;margin:16px 0}
.family-access-v105 .family-access-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;border:1px solid #e2e8f1;border-radius:12px;padding:12px 14px}
.family-access-v105 .family-access-row>div{min-width:0;overflow-wrap:anywhere}
.family-access-v105 .family-access-row small{display:block;color:#5e6c7d;margin-top:4px;line-height:1.45}
.family-access-v105 .family-code-v105{display:grid;gap:10px;min-width:0;margin-top:12px;padding:14px;border:1px solid #c5d8ec;border-radius:12px;background:#f5faff}
.family-access-v105 .family-code-v105 code{display:block;white-space:normal;overflow-wrap:anywhere;font-size:clamp(13px,3.4vw,17px);line-height:1.5;user-select:all}
.family-access-v105 .family-code-v105 small{line-height:1.55;color:#536176}
.family-access-v105 .family-code-actions{display:flex;gap:8px;flex-wrap:wrap}
.family-access-v105 .family-code-actions .button{white-space:normal;min-width:0}
.family-access-v105 .family-code-feedback{min-height:1em}
@media(max-width:420px){.family-access-v105 .family-access-row{align-items:flex-start;flex-direction:column}.family-access-v105 .family-code-actions{display:grid;grid-template-columns:1fr}.family-access-v105 .family-code-actions .button{width:100%}}

/* v6.41.6.38.106 — scoped family-link permissions and former connection dates */
.family-access-v106 .family-access-history{margin:12px 0 20px;border:1px solid #dbe4ee;border-radius:12px;overflow:hidden}
.family-access-v106 .family-access-history>summary{padding:13px 16px;cursor:pointer;font-weight:700;color:#152b49;list-style:revert}
.family-access-v106 .family-access-history>p{margin:0 16px 12px;font-size:13px;line-height:1.5;color:#58677a}
.family-access-v106 .family-access-history-list{display:grid;gap:0}
.family-access-v106 .family-access-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border-top:1px solid #e6ecf3;min-width:0}
.family-access-v106 .family-access-history-row>div{min-width:0;overflow-wrap:anywhere}
.family-access-v106 .family-access-history-row b,.family-access-v106 .family-access-history-row small{display:block}
.family-access-v106 .family-access-history-row small,.family-access-v106 .family-access-history-row>span{color:#5a6778;font-size:12px;line-height:1.4}
@media(max-width:420px){.family-access-v106 .family-access-history-row{flex-direction:column;align-items:flex-start;gap:5px}}

/* v6.41.6.38.107: private, lazy-loaded guardian access activity */
.family-access-v107 .family-access-activity-panel{margin-top:12px}
.family-access-v107 .family-access-activity-panel #familyAccessActivityBody{padding:0 0 8px;min-width:0}
.family-access-v107 .family-access-activity-meta{font-size:12px;color:#607083;padding:4px 16px 10px}
.family-access-v107 .family-access-activity-list{display:grid;gap:0;min-width:0}
.family-access-v107 .family-access-activity-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-top:1px solid #e6ecf3;padding:12px 16px;min-width:0}
.family-access-v107 .family-access-activity-name,.family-access-v107 .family-access-activity-info{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.family-access-v107 .family-access-activity-name b{color:#142b49;font-size:13px}
.family-access-v107 .family-access-activity-row small{font-size:12px;line-height:1.45;color:#5a6778}
.family-access-v107 .family-access-activity-info{text-align:right;flex-shrink:0}
.family-access-v107 #familyAccessActivityBody>.message{margin:8px 16px 12px}
@media(max-width:420px){.family-access-v107 .family-access-activity-row{flex-direction:column;gap:6px}.family-access-v107 .family-access-activity-info{text-align:left}}

/* v6.41.6.38.108 — privileged reviewed organization assignment */
.system-admin-roster-hero-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:15px}
.system-admin-roster-hero-action small{color:var(--text-muted,#768398)}
.site-admin-roster-modal{width:min(100%,650px);max-height:min(90vh,880px);overflow-y:auto}
.site-admin-roster-body{display:grid;gap:14px;margin-top:12px}
.site-admin-roster-athlete{display:grid;gap:4px;padding:12px 14px;border:1px solid rgba(127,139,155,.3);border-radius:10px}
.site-admin-roster-athlete small{overflow-wrap:anywhere}
.site-admin-roster-existing{font-size:.94rem;overflow-wrap:anywhere}
.site-admin-roster-modal form{display:grid;gap:14px;min-width:0}
.site-admin-roster-modal form>label{display:grid;gap:6px;min-width:0;font-weight:650}
.site-admin-roster-modal form>label small{font-weight:400}
.site-admin-roster-modal select,.site-admin-roster-modal textarea,.site-admin-roster-modal input:not([type=checkbox]){width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.site-admin-roster-impact{padding:12px 14px;border:1px solid rgba(127,139,155,.3);border-radius:10px;overflow-wrap:anywhere}
.site-admin-roster-impact.warning{border-color:rgba(226,154,41,.45)}
.site-admin-roster-modal .site-admin-roster-ack{display:flex;gap:10px;align-items:flex-start;font-weight:400;line-height:1.45}
.site-admin-roster-modal .site-admin-roster-ack input{flex:none;margin-top:4px}
.site-admin-roster-controls{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
@media(max-width:440px){.site-admin-roster-modal{max-height:92vh;padding:20px 14px}.site-admin-roster-controls button{flex:1;min-width:135px}.site-admin-roster-hero-action button{width:100%}}


/* v6.41.6.38.109 — read-only identity integrity review, never an automatic merge */
.site-admin-identity-modal{width:min(100%,780px);max-height:min(92vh,920px);overflow-y:auto}
.site-admin-identity-modal p{line-height:1.5}
.site-admin-identity-summary{display:grid;gap:15px;margin-top:16px;min-width:0}
.site-admin-identity-state{display:grid;gap:4px;padding:13px 15px;border:1px solid #bcd5e7;border-radius:12px;background:#f4faff;overflow-wrap:anywhere}
.site-admin-identity-state.warning{background:#fffaed;border-color:#e7c783}
.site-admin-identity-state span{font-size:13px;line-height:1.5;color:#526275}
.site-admin-identity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.site-admin-identity-grid>section{min-width:0;border:1px solid #dce4ed;border-radius:12px;padding:12px}
.site-admin-identity-grid h3{font-size:15px;margin:0 0 10px}
.site-admin-identity-row{display:grid;gap:3px;padding:9px 0;border-top:1px solid #e8eef4;min-width:0;overflow-wrap:anywhere}
.site-admin-identity-row span{color:#5f7185;font-size:12px}
.site-admin-identity-row b{font-size:14px}
.site-admin-identity-row.needs-review{padding:9px 11px;background:#fffaed;border:1px solid #e7c783;border-radius:8px;margin:6px 0}
.site-admin-identity-row small{color:#7b531b}
.site-admin-identity-preserved{display:grid;gap:5px;padding:12px 14px;border:1px solid #cdddec;border-radius:12px;overflow-wrap:anywhere}
.site-admin-identity-preserved span{font-size:13px;color:#53647a}
.site-admin-identity-caution{margin:0;font-size:13px;color:#53647a}
.site-admin-identity-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.player-identity-mismatch-note{display:grid;gap:5px;padding:13px 16px;margin:0 0 14px;border:1px solid #e4bb71;border-radius:12px;background:#fffaed;max-width:100%;overflow-wrap:anywhere}
.player-identity-mismatch-note b{color:#654713}
.player-identity-mismatch-note span{font-size:13px;color:#4f5b6d;line-height:1.5}
@media(max-width:600px){.site-admin-identity-grid{grid-template-columns:1fr}.site-admin-identity-modal{padding:18px 14px}.site-admin-identity-actions button{width:100%}}

/* v6.41.6.38.110 — deliberate player-to-Command athlete identity confirmation */
.command-identity-check-card{width:min(100%,590px);max-height:min(92vh,810px);overflow:auto}
.command-identity-check-card p{line-height:1.55}
.command-identity-check-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;margin:15px 0}
.command-identity-check-people>div{border:1px solid #d6e3ec;border-radius:11px;padding:12px;display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}
.command-identity-check-people small{font-size:12px;color:#53667c}
.command-identity-check-people strong{font-size:17px}
.command-identity-check-warning{background:#fffaeb;border:1px solid #deb87b;border-radius:10px;padding:12px 14px;color:#4c432e}
.command-identity-check-card>label{display:block;margin-top:10px;font-size:13px;font-weight:650}
.command-identity-check-card>input{width:100%;max-width:100%;margin-top:7px;padding:11px;border:1px solid #acbbc9;border-radius:10px}
.command-identity-check-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px}
.command-identity-check-actions .button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:500px){.command-identity-check-people{grid-template-columns:1fr}.command-identity-check-card{padding:16px 13px}.command-identity-check-actions{display:grid;grid-template-columns:1fr}.command-identity-check-actions .button{width:100%}}

/* v6.41.6.38.111 — verified Command identity conflict: accessible, non-destructive stop */
.command-integrity-review-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}
.command-integrity-review-facts>div{min-width:0;border:1px solid var(--line,#334155);border-radius:9px;padding:10px;overflow-wrap:anywhere}
.command-integrity-review-facts small{display:block;font-size:11px;opacity:.75;margin-bottom:4px}
.command-integrity-review-facts strong{display:block;font-size:13px;line-height:1.4}
.command-integrity-reasons{margin:12px 0 15px;padding-left:23px;line-height:1.5;font-size:13px}
#commandIntegrityDismissV111{width:100%}
@media(max-width:440px){.command-integrity-review-facts{grid-template-columns:1fr;gap:7px}.command-integrity-review-facts>div{padding:8px 10px}}

/* v6.41.6.38.115 — guided Site Admin identity resolution, no automatic selections */
.site-admin-identity-resolve{display:grid;gap:14px;min-width:0;margin-top:14px}
.site-admin-identity-resolve fieldset{min-width:0;border:1px solid #d8e1ea;border-radius:12px;padding:12px;margin:0;display:grid;gap:8px}
.site-admin-identity-resolve legend{font-size:15px;font-weight:800;color:#14263d;padding:0 4px}
.site-admin-identity-option{display:flex;align-items:flex-start;gap:11px;min-width:0;padding:12px;border:1px solid #cbd9e7;border-radius:10px;cursor:pointer;background:#fff}
.site-admin-identity-option input{flex:none;margin-top:3px;accent-color:#307dcb}
.site-admin-identity-option:has(input:checked){border-color:#3181cf;background:#edf6ff}
.site-admin-identity-option.disabled{opacity:.55;cursor:not-allowed;background:#f3f5f7}
.site-admin-identity-option span{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.site-admin-identity-option small{font-size:12px;line-height:1.45;color:#4e6075}
.site-admin-identity-current{display:grid;gap:4px;overflow-wrap:anywhere;font-size:13px;color:#52647b}
.site-admin-identity-current code{white-space:normal;overflow-wrap:anywhere}
.site-admin-identity-change-preview{padding:13px;border:1px solid #bfd6e6;border-radius:10px;background:#edf6ff;font-size:13px;line-height:1.6;color:#1d3a58;overflow-wrap:anywhere}
.site-admin-identity-reason{display:grid;gap:6px;font-size:13px;font-weight:650;color:#182c44;min-width:0}
.site-admin-identity-reason input,.site-admin-identity-reason textarea{width:100%;min-width:0;max-width:100%;border-radius:9px;border:1px solid #b8c9d9;padding:10px;font:inherit;box-sizing:border-box;color:#14263d;background:#fff}
.site-admin-identity-ack{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.55;color:#3f5066}
.site-admin-identity-ack input{flex:none;margin-top:5px;accent-color:#307dcb}
.site-admin-identity-resolve .message:empty{display:none}
.site-admin-identity-resolve button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){.site-admin-identity-resolve fieldset{padding:10px}.site-admin-identity-option{padding:10px}}
