.sync-state{display:inline-flex;align-items:center;gap:7px;color:#77737f;font-size:.75rem;font-weight:700}.sync-state i{width:7px;height:7px;border-radius:50%;background:#36a269;box-shadow:0 0 0 4px #e5f5ec}.sync-state.loading i{background:#8b5cf6;box-shadow:0 0 0 4px #eee7fb;animation:pulse 1s infinite}.sync-state.error i{background:#d84e4e;box-shadow:0 0 0 4px #fae7e7}@keyframes pulse{50%{opacity:.4}}
.records-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.records-list{padding:8px 22px}.record-row{display:grid;grid-template-columns:auto 1fr auto auto;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid #e8e6eb}.record-row:last-child{border-bottom:0}.record-icon{width:42px;height:42px;border-radius:13px;background:#eee7fb;color:#5b21b6;display:grid;place-items:center}.record-icon svg{width:20px}.record-row h3{margin:0}.record-row p{margin:2px 0 0;color:#77737f;font-size:.78rem}.record-value{font:800 1.25rem "Manrope",sans-serif}.record-date{font-size:.73rem;color:#77737f}.record-summary{padding:24px;display:flex;flex-direction:column}.record-summary>strong{font:800 3rem/1 "Manrope",sans-serif;margin-top:10px}.record-summary>span{color:#77737f}.record-summary>p:last-child{font-size:.78rem;color:#77737f;margin:20px 0 0}.mini-chart{height:120px;display:flex;align-items:end;gap:7px;margin-top:26px}.mini-chart i{flex:1;background:linear-gradient(#7c3fc5,#4d198a);border-radius:5px 5px 2px 2px;min-height:8px}.empty-state{min-height:220px;display:grid;place-items:center;align-content:center;color:#77737f;gap:10px}.empty-state svg{width:32px}
.inbox-layout{min-height:560px;display:grid;grid-template-columns:300px 1fr;overflow:hidden}.conversation-list{border-right:1px solid #e8e6eb;padding:10px}.conversation{width:100%;border:0;background:transparent;display:grid;grid-template-columns:auto 1fr auto;gap:11px;text-align:left;padding:12px;border-radius:12px;cursor:pointer}.conversation.active,.conversation:hover{background:#f4f0fa}.conversation>span:nth-child(2){display:grid}.conversation small{color:#77737f}.conversation time{font-size:.67rem;color:#77737f}.chat-panel{display:flex;flex-direction:column;min-width:0}.chat-head{height:72px;border-bottom:1px solid #e8e6eb;display:flex;align-items:center;gap:11px;padding:0 20px}.chat-head>div{display:grid}.chat-head small{color:#77737f}.chat-messages{flex:1;padding:24px;display:flex;flex-direction:column;gap:10px;justify-content:flex-end;background:#faf9fb}.bubble{max-width:70%;padding:11px 14px;border-radius:16px;font-size:.85rem}.bubble.received{align-self:flex-start;background:white;border:1px solid #e8e6eb;border-bottom-left-radius:5px}.bubble.sent{align-self:flex-end;background:#5b21b6;color:white;border-bottom-right-radius:5px}.chat-compose{padding:14px;border-top:1px solid #e8e6eb;display:flex;gap:9px}.chat-compose input{flex:1;border:1px solid #e8e6eb;border-radius:11px;padding:0 13px;outline:0}.plan-pill{display:inline-flex;padding:3px 7px;border-radius:10px;background:#2c2337;color:#c8aef0;font-size:.65rem;font-weight:700;text-transform:uppercase}
@media(max-width:1150px){.records-layout{grid-template-columns:1fr}.record-summary{min-height:250px}}
@media(max-width:820px){.sync-state{display:none}.records-list,.record-summary{background:#19171c!important;border:1px solid #302c34!important;padding:14px}.record-row{border-color:#302c34;grid-template-columns:auto 1fr auto}.record-date{display:none}.inbox-layout{display:block;background:#17151a!important;border:1px solid #302c34!important}.conversation-list{border:0;padding:6px}.conversation.active,.conversation:hover{background:#2b2237}.chat-panel{min-height:420px}.chat-head{border-color:#302c34}.chat-messages{background:#111014}.bubble.received{background:#211e24;border-color:#39343f}.chat-compose{border-color:#302c34}.chat-compose input{background:#211e24;color:white;border-color:#39343f}}
.role-switch{height:40px;border:1px solid #e8e6eb;background:#fff;border-radius:12px;padding:0 13px;display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:800;cursor:pointer}.role-switch svg{width:17px;color:#5b21b6}.single-role .role-switch,.athlete-mode .coach-only,.athlete-mode .add-block-button,.athlete-mode .block-menu{display:none!important}.athlete-mode .stat-card:first-child .stat-label:after{content:" à venir"}.athlete-mode .calendar-panel h2:after{content:" · Mon programme"}.athlete-mode .main-content{max-width:1100px}.athlete-mode .planning-layout{grid-template-columns:1fr}.athlete-mode .activity-panel{display:none}.athlete-empty{min-height:300px;display:grid;place-items:center;text-align:center;padding:40px}.athlete-empty span{width:56px;height:56px;border-radius:18px;background:#eee7fb;color:#5b21b6;display:grid;place-items:center;margin:auto}.athlete-empty svg{width:25px}.athlete-empty h3{font-size:1.2rem;margin:16px 0 7px}.athlete-empty p{color:#77737f;max-width:380px;margin:0}
@media(max-width:820px){.role-switch{background:#1a171e;border-color:#2b2730;color:white}.athlete-mode.not-admin .mobile-nav{grid-template-columns:repeat(3,1fr)}.athlete-mode:not(.not-admin) .mobile-nav{grid-template-columns:repeat(4,1fr)}.athlete-mode .mobile-nav button:not(.coach-only){display:grid}.athlete-empty span{background:#2b2237;color:#b895e8}.athlete-empty p{color:#9b959f}}
.planning-layout{grid-template-columns:minmax(0,1fr)!important}.activity-panel{display:none!important}.calendar-panel{padding:0!important;overflow:auto}.planner-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid #e8e6eb;position:sticky;left:0}.planner-head .eyebrow{margin-bottom:4px}.weekly-board{display:grid;grid-template-columns:repeat(7,minmax(155px,1fr));min-width:1085px;min-height:590px}.day-column{display:flex;flex-direction:column;min-width:0;border-right:1px solid #e8e6eb;background:#fff}.day-column:last-child{border-right:0}.day-column>header{min-height:68px;padding:11px 12px;border-bottom:1px solid #e8e6eb;display:flex;justify-content:space-between;align-items:center}.day-column>header span{text-transform:capitalize;color:#77737f;font-size:.75rem;font-weight:700}.day-column>header strong{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;font:800 .9rem "Manrope",sans-serif}.day-column.is-today>header strong{background:#5b21b6;color:#fff}.day-blocks{display:flex;flex-direction:column;gap:8px;padding:8px;min-height:450px;flex:1}.calendar-block{border-radius:10px;padding:12px;box-shadow:0 4px 14px rgba(25,18,35,.06);border:1px solid transparent}.calendar-block p{margin:0;white-space:normal;overflow-wrap:anywhere;font-size:.78rem;line-height:1.45}.calendar-block.color-violet{background:#5b21b6;color:white}.calendar-block.color-black{background:#111015;color:white}.calendar-block.color-white{background:#fff;color:#111015;border-color:#d9d6dc}.add-block-button{margin:0 8px 9px;min-height:36px;border:1px dashed #cfc8d8;border-radius:9px;background:transparent;color:#6b6570;font-weight:700;font-size:.75rem;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}.add-block-button:hover{border-color:#5b21b6;color:#5b21b6;background:#f7f3fc}.add-block-button svg{width:15px}.color-field{border:0;padding:0;margin:3px 0 0;display:flex;gap:10px}.color-field legend{font-size:.78rem;font-weight:700;margin-bottom:8px}.color-choice{position:relative;display:flex;align-items:center;gap:7px;border:1px solid #e8e6eb;border-radius:11px;padding:9px 12px;font-size:.78rem;font-weight:700;cursor:pointer}.color-choice input{position:absolute;opacity:0;pointer-events:none}.color-choice>span{width:19px;height:19px;border-radius:7px;border:2px solid transparent}.color-choice.violet>span{background:#5b21b6}.color-choice.black>span{background:#111015}.color-choice.white>span{background:#fff;border-color:#cbc7cf}.color-choice:has(input:checked){border-color:#5b21b6;box-shadow:0 0 0 3px #f0e9fa}.modal textarea#block-content{min-height:220px;resize:vertical;line-height:1.55}
@media(max-width:820px){.calendar-panel{background:#17151a!important;border:1px solid #2d2931!important}.planner-head{border-color:#302c34}.weekly-board{grid-template-columns:repeat(7,minmax(270px,1fr));min-height:520px}.day-column{background:#17151a;border-color:#302c34}.day-column>header{border-color:#302c34}.day-blocks{min-height:390px}.calendar-block.color-white{background:#f7f7f8}.add-block-button{border-color:#4a4350;color:#aaa4ae}.color-choice{border-color:#3b3540}.color-choice.white{color:#fff}}
.card-actions{display:flex;gap:6px}.icon-button.danger,.danger-button{color:#a42a3a}.danger-button{background:#fff0f1;border:1px solid #f0c8ce}.program-picker{display:grid;gap:4px;min-width:230px}.program-picker span{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#77737f}.program-picker select{height:38px;border:1px solid #e8e6eb;border-radius:10px;background:#fff;padding:0 34px 0 11px;font-weight:700;color:#17131c}.calendar-block{position:relative;padding-top:34px}.block-menu{position:absolute;top:7px;right:7px;width:24px;height:24px;border:0;border-radius:7px;background:rgba(255,255,255,.18);color:inherit;display:grid;place-items:center;cursor:pointer}.block-menu svg{width:13px}.color-white .block-menu{background:#f0edf2}.planner-empty{min-height:590px;display:grid;place-items:center;align-content:center;text-align:center;padding:40px}.planner-empty>span{width:54px;height:54px;border-radius:17px;background:#eee7fb;color:#5b21b6;display:grid;place-items:center}.planner-empty svg{width:25px}.planner-empty h2{margin:16px 0 7px}.planner-empty p{max-width:450px;color:#77737f;margin-bottom:20px}
.optional{font-weight:500;color:#8d8791}
@media(max-width:820px){.planner-head{align-items:flex-start;flex-wrap:wrap}.program-picker{order:3;width:100%}.program-picker select{background:#211e24;color:#fff;border-color:#3b3540}.planner-empty p{color:#9b959f}.danger-button{background:#3a1d22;border-color:#63303a;color:#ffb8c1}}
.membership-requests{background:#17131c;color:#fff;border-radius:18px;padding:20px;margin-bottom:18px;box-shadow:0 12px 30px rgba(25,16,35,.12)}.request-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.request-heading h2{margin:2px 0 0;font-size:1.15rem}.request-heading>span{width:30px;height:30px;border-radius:10px;background:#5b21b6;display:grid;place-items:center;font-weight:800}.membership-request{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;background:#24202a;border:1px solid #36303e;border-radius:14px;padding:15px}.request-icon{width:42px;height:42px;border-radius:13px;background:#5b21b6;display:grid;place-items:center}.request-icon svg{width:20px}.membership-request p{margin:4px 0 0;color:#b8b1bf;font-size:.8rem}.request-actions{display:flex;gap:8px}.account-menu-list{display:grid;gap:9px;margin-top:22px}.account-menu-list button{width:100%;border:1px solid #e8e6eb;background:#fff;border-radius:13px;padding:14px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left;cursor:pointer;color:#17131c}.account-menu-list button:hover{border-color:#5b21b6;background:#faf7fd}.account-menu-list button>svg{width:20px;color:#5b21b6}.account-menu-list button>span:nth-child(2){display:grid;gap:2px}.account-menu-list small{color:#77737f}.profile-summary{display:flex;align-items:center;gap:14px;padding:18px;border-radius:14px;background:#f6f2fa;margin:20px 0}.profile-avatar{width:52px;height:52px}.profile-summary p,.profile-note{color:#77737f;margin:4px 0 0}.success-mark{width:52px;height:52px;border-radius:17px;background:#eee7fb;color:#5b21b6;display:grid;place-items:center;margin-bottom:18px}.success-mark svg{width:25px}
@media(max-width:820px){.membership-request{grid-template-columns:auto 1fr}.request-actions{grid-column:1/-1}.request-actions .button{flex:1}.account-menu-list button{background:#211e24;border-color:#39343f;color:#fff}.account-menu-list button:hover{background:#29232f}.profile-summary{background:#211e24}.profile-note{color:#aaa4ae}}
.athlete-mode .stat-grid{display:none}.athlete-mode .calendar-panel{overflow:hidden}.athlete-day-head{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;text-align:center;gap:18px;padding:28px 30px 20px;border-bottom:1px solid #e8e6eb}.athlete-day-head h2{margin:3px 0 2px!important;text-transform:capitalize;font-size:1.55rem}.athlete-mode .calendar-panel .athlete-day-head h2:after{content:none!important}.athlete-day-head time{color:#77737f;font-size:.82rem;text-transform:capitalize}.day-arrow{width:48px;height:48px;border:1px solid #e3dfe7;border-radius:15px;background:#fff;color:#17131c;display:grid;place-items:center;cursor:pointer;transition:.2s}.day-arrow:hover{background:#5b21b6;color:#fff;border-color:#5b21b6;transform:translateY(-1px)}.day-arrow svg{width:20px}.athlete-today{display:block;margin:14px auto 0;border:0;background:transparent;color:#5b21b6;font-weight:800;cursor:pointer}.athlete-day-content{padding:24px;min-height:420px;display:grid;align-content:start;gap:14px}.athlete-workout{display:grid;grid-template-columns:auto 1fr;gap:18px;padding:24px;border-radius:18px;box-shadow:0 12px 30px rgba(24,15,34,.1)}.athlete-workout.color-violet{background:#5b21b6;color:#fff}.athlete-workout.color-black{background:#111015;color:#fff}.athlete-workout.color-white{background:#fff;color:#111015;border:1px solid #ddd8e1}.workout-number{width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-weight:900}.color-white .workout-number{background:#eee7fb;color:#5b21b6}.athlete-workout>div:last-child>span{display:block;font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;opacity:.68;margin-bottom:12px}.athlete-workout p{font-size:.95rem;line-height:1.75;margin:0}.rest-day{min-height:330px;display:grid;place-items:center;align-content:center;text-align:center;color:#77737f}.rest-day>span{width:58px;height:58px;border-radius:18px;background:#eee7fb;color:#5b21b6;display:grid;place-items:center}.rest-day svg{width:26px}.rest-day h3{color:#17131c;margin:16px 0 6px}.rest-day p{margin:0}
@media(max-width:820px){.athlete-day-head{padding:22px 16px 18px;grid-template-columns:42px 1fr 42px;gap:9px;border-color:#302c34}.day-arrow{width:42px;height:42px;background:#211e24;border-color:#39343f;color:#fff}.athlete-day-content{padding:16px;min-height:390px}.athlete-workout{padding:19px 16px;grid-template-columns:1fr}.workout-number{width:36px;height:36px}.athlete-workout p{font-size:.9rem}.rest-day h3{color:#fff}.rest-day>span{background:#2b2237;color:#b895e8}}
.athlete-program-switch{display:grid;justify-items:center;gap:5px;margin:0 auto 7px}.athlete-program-switch>span{font-size:.62rem;letter-spacing:.11em;text-transform:uppercase;font-weight:800;color:#77737f}.athlete-program-switch select{max-width:280px;height:34px;border:1px solid #ddd7e3;border-radius:10px;background:#f7f3fb;color:#5b21b6;padding:0 32px 0 11px;font-weight:800;text-align:center;cursor:pointer}.athlete-program-switch select:focus{outline:2px solid #b895e8;outline-offset:2px}
@media(max-width:820px){.athlete-program-switch select{max-width:190px;background:#211e24;color:#d5c0f1;border-color:#413849}}
.pending-invitations{padding:20px;margin-bottom:18px}.pending-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.pending-head h3{margin:2px 0 0}.pending-head>span{width:30px;height:30px;border-radius:10px;background:#eee7fb;color:#5b21b6;display:grid;place-items:center;font-weight:900}.pending-list{display:grid;gap:8px}.pending-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #e8e6eb;border-radius:12px}.pending-list article>div{display:grid;gap:3px}.pending-list small{color:#77737f}.athlete-program-list{display:flex;flex-wrap:wrap;gap:6px}.athlete-program-list>span{display:inline-flex;align-items:center;gap:5px;background:#eee7fb;color:#4d198a;border-radius:9px;padding:5px 6px 5px 9px;font-size:.7rem;font-weight:800}.athlete-program-list button{width:19px;height:19px;border:0;border-radius:6px;background:rgba(91,33,182,.12);color:#5b21b6;display:grid;place-items:center;cursor:pointer}.athlete-program-list button:hover{background:#5b21b6;color:#fff}.athlete-program-list button svg{width:11px}
@media(max-width:820px){.pending-invitations{background:#19171c!important;border:1px solid #302c34!important}.pending-list article{border-color:#39343f}.athlete-program-list>span{background:#2b2237;color:#d5c0f1}.athlete-program-list button{color:#d5c0f1}}
.athlete-table .table-row{grid-template-columns:minmax(240px,1fr) minmax(260px,1.2fr)}.athlete-list-empty{grid-column:1/-1}
@media(max-width:820px){.athlete-table .table-row{grid-template-columns:1fr}.athlete-program-list{padding-left:50px}}
.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.records-layout{grid-template-columns:1fr!important}.rm-table-panel{padding:22px;overflow:hidden}.rm-table-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.rm-table-head small{color:#77737f}.rm-table-scroll{overflow-x:auto}.rm-table-scroll table{width:100%;min-width:1180px;border-collapse:separate;border-spacing:0;font-size:.75rem}.rm-table-scroll th,.rm-table-scroll td{padding:12px 10px;border-bottom:1px solid #e8e6eb;text-align:center;white-space:nowrap}.rm-table-scroll thead th{background:#17131c;color:#fff;font-size:.68rem}.rm-table-scroll thead th:first-child{border-radius:10px 0 0 10px;text-align:left;position:sticky;left:0;z-index:2}.rm-table-scroll thead th:last-child{border-radius:0 10px 10px 0}.rm-table-scroll tbody th{text-align:left;position:sticky;left:0;background:#fff;z-index:1;min-width:180px}.rm-table-scroll tbody th strong,.rm-table-scroll tbody th small{display:block}.rm-table-scroll tbody th small,.rm-table-scroll td small{color:#8b8490;font-weight:500}.rm-table-scroll tbody td{font-weight:800}.rm-empty{min-height:180px;display:grid;place-items:center;align-content:center;color:#77737f;gap:10px}.rm-empty svg{width:28px;color:#5b21b6}
@media(max-width:820px){.rm-table-panel{background:#19171c!important;border:1px solid #302c34!important;padding:16px}.rm-table-scroll th,.rm-table-scroll td{border-color:#302c34}.rm-table-scroll tbody th{background:#19171c}.rm-table-scroll thead th{background:#5b21b6}.rm-table-head{align-items:start;flex-direction:column}}
@media(max-width:820px){#records-view .section-intro,#athletes-view .section-intro{display:flex;flex-direction:column;align-items:stretch;gap:16px}#records-view .section-intro>.button,#athletes-view .section-intro>.button{display:inline-flex;width:100%;height:48px;border-radius:14px}#records-view .section-intro>.button{order:2}#athletes-view .section-intro>.button{order:2}.athlete-mode #athletes-view .section-intro>.button{display:none}}
.not-admin .admin-only{display:none!important}@media(max-width:820px){body:not(.not-admin):not(.athlete-mode) .mobile-nav{grid-template-columns:repeat(7,1fr)}}.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.admin-stats article{background:#17131c;color:#fff;border-radius:16px;padding:19px 21px;display:flex;align-items:center;justify-content:space-between}.admin-stats span{color:#aaa2b0;font-size:.78rem}.admin-stats strong{font:800 1.7rem "Manrope",sans-serif}.admin-panel{padding:18px}.admin-account-list{display:grid}.admin-account-row{display:grid;grid-template-columns:minmax(210px,1.45fr) .7fr 1fr auto minmax(190px,auto);gap:20px;align-items:center;padding:15px 12px;border-top:1px solid #e8e6eb}.admin-account-row:first-child{border-top:0}.admin-account-row em{font-style:normal;font-size:.62rem;text-transform:uppercase;letter-spacing:.08em;color:#5b21b6;background:#eee7fb;padding:3px 6px;border-radius:6px;margin-left:6px}.admin-account-meta{display:grid;gap:2px}.admin-account-meta>span{font-size:.8rem;font-weight:700}.admin-account-meta small{color:#77737f;font-size:.7rem}.admin-status{width:max-content}.admin-status.ok{color:#247344}.admin-status.wait{color:#a16615}.admin-access{font-size:.7rem;font-weight:800;padding:5px 9px;border-radius:999px}.admin-access.active{background:#e4f3e9;color:#247344}.admin-access.suspended{background:#f8e5e8;color:#a12d3e}.admin-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}.admin-owner-lock{color:#77737f;font-size:.72rem}.icon-button.danger{color:#a12d3e}
@media(max-width:1100px){.admin-account-row{grid-template-columns:1.3fr .7fr 1fr auto}.admin-account-row>.admin-account-meta:nth-child(3){display:none}.admin-actions{grid-column:auto}}
@media(max-width:820px){.admin-stats{grid-template-columns:1fr 1fr}.admin-stats article:last-child{grid-column:1/-1}.admin-panel{background:#17151a;border:1px solid #2a272e;padding:12px}.admin-account-row{grid-template-columns:1fr auto;gap:12px;padding:16px 4px;border-color:#302c34}.admin-account-row>.admin-account-meta,.admin-account-row>.admin-access{display:none}.admin-actions{grid-column:1/-1;justify-content:stretch}.admin-actions .mini-button{flex:1;background:#27232b;color:#fff}.admin-owner-lock{color:#9c96a1}.admin-account-row em{background:#2b2237;color:#b895e8}}
.locked-input{background:#f3f2f4!important;color:#77737f!important;cursor:not-allowed}.field small{color:#77737f;font-size:.7rem}.profile-divider{height:1px;background:#e8e6eb;margin:28px 0}.profile-divider+h3,#password-form h3{margin-bottom:5px}#password-form .profile-note{margin-bottom:16px}
.mobile-profile-button{display:none}@media(max-width:820px){.mobile-profile-button{display:inline-flex}.locked-input{background:#1b191e!important;color:#8f8994!important}.profile-divider{background:#343038}}
.avatar.group{background:#17131c;color:#c7a8f4;border-radius:13px}.chat-messages{min-height:0;overflow-y:auto}.bubble{display:grid;gap:4px}.bubble>span{white-space:pre-wrap;overflow-wrap:anywhere}.bubble time{justify-self:end;font-size:.61rem;opacity:.62}.bubble-sender{font-size:.68rem;color:#6b35b2}.bubble.sent .bubble-sender{color:#eadcff}.chat-empty{margin:auto;text-align:center;color:#8a8490;font-size:.82rem;line-height:1.6}.conversation .plan-pill{align-self:center}.conversation small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.profile-photo-editor{display:flex;align-items:center;gap:16px;padding:18px;border-radius:15px;background:#f6f2fa;margin:20px 0}.profile-photo-editor .profile-avatar{width:68px;height:68px;font-size:1rem}.profile-photo-editor>div{display:grid;gap:7px}.profile-photo-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-photo-actions .button{height:38px}.profile-photo-editor small{color:#77737f;font-size:.7rem}.danger-text{color:#a12d3e}
.chat-head{justify-content:space-between;gap:16px}.chat-head-identity{display:flex!important;align-items:center;gap:11px;min-width:0}.chat-head-identity>div{display:grid;min-width:0}.chat-head-identity strong,.chat-head-identity small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-head-actions{display:flex!important;align-items:center;gap:7px}.chat-action{border:1px solid #e1dce8;background:#fff;color:#5f5868;border-radius:10px;min-height:36px;padding:7px 10px;display:flex;align-items:center;gap:6px;font-size:.68rem;font-weight:800;cursor:pointer}.chat-action svg{width:15px}.chat-action.active{background:#eee7fb;border-color:#cbb6ea;color:#5b21b6}.chat-action:disabled{opacity:.55}.message-row{display:flex;align-items:flex-end;gap:8px;width:100%}.message-row.sent{flex-direction:row-reverse}.message-row .bubble{align-self:auto}.message-avatar{width:30px;height:30px;background:#ede5f8;color:#5b21b6;flex:0 0 30px}.conversation-muted{color:#8c67c7;font-size:.55rem;vertical-align:middle}.conversation .avatar img{background:#ede5f8}.chat-head .avatar img{background:#ede5f8}
@media(max-width:820px){.chat-head{height:auto;min-height:72px;padding:10px 12px}.chat-head-actions{gap:5px}.chat-action{width:36px;height:36px;min-height:36px;padding:0;justify-content:center}.chat-action>span:last-child{display:none}.message-row .bubble{max-width:calc(82% - 38px)}.message-avatar{width:28px;height:28px;flex-basis:28px}}
@media(max-width:820px){.profile-photo-editor{background:#211e24}.profile-photo-editor small{color:#9d97a2}}
.latest-record{cursor:pointer;border:1px solid #d9cdea!important;border-radius:14px;padding:16px!important;margin:8px 0;background:#fbf9fe}.latest-record:hover{border-color:#5b21b6!important}.record-title-line{display:flex;align-items:center;gap:8px}.record-title-line h3{margin:0}.record-title-line>span{background:#eee7fb;color:#5b21b6;border-radius:7px;padding:3px 7px;font-size:.6rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.rm-open{border:0;background:#5b21b6;color:#fff;border-radius:10px;padding:9px 12px;font-size:.72rem;font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer}.rm-open svg{width:14px}.rm-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.rm-grid article{background:#f4effa;border:1px solid #e6dcf2;border-radius:13px;padding:13px 8px;text-align:center;display:grid}.rm-grid span{font-size:.63rem;font-weight:900;color:#5b21b6}.rm-grid strong{font:800 1.25rem "Manrope",sans-serif;margin-top:4px}.rm-grid small{color:#77737f;font-size:.65rem}.rm-formula-note{color:#8b8490;font-size:.7rem;text-align:center;margin:14px 0 0}
@media(max-width:820px){.latest-record{background:#211e24;border-color:#49385e!important}.rm-grid{grid-template-columns:repeat(4,1fr);gap:6px}.rm-grid article{background:#2b2237;border-color:#453457;padding:11px 5px}.rm-grid strong{font-size:1rem}.rm-open{grid-column:auto}.record-row.latest-record{grid-template-columns:auto 1fr}.latest-record .record-value,.latest-record .rm-open{grid-column:2}.latest-record .rm-open{width:max-content}}
.record-tail{display:flex;align-items:center;justify-content:flex-end;gap:8px}.record-delete{width:30px;height:30px;border:0;border-radius:9px;background:#fff0f1;color:#a42a3a;display:grid;place-items:center;cursor:pointer}.record-delete svg{width:15px}.program-members{display:grid;gap:6px;margin:10px 0 16px}.program-members>span{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#77737f}.program-members>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;background:#f7f4fa;border-radius:10px;padding:7px}.program-members .avatar{width:28px;height:28px;background:#5b21b6;color:#fff}.program-members strong{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.program-members button{width:25px;height:25px;border:0;border-radius:7px;background:#eee7fb;color:#5b21b6;display:grid;place-items:center;cursor:pointer}.program-members button:hover{background:#5b21b6;color:#fff}.program-members button svg{width:12px}.program-members small{color:#8b8490;font-size:.72rem}.adaptive-builder{border:1px solid #ddd2eb;background:#f8f5fc;border-radius:14px;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.adaptive-builder[hidden]{display:none}.adaptive-builder .field small{color:#77737f;font-size:.65rem}.adaptive-builder>.button{grid-column:1/-1}.adaptive-actions{align-items:center;flex-wrap:wrap}.adaptive-toggle{height:36px;border:1px solid #d7c9e8;background:#f5effc;color:#5b21b6;border-radius:10px;padding:0 12px;font-size:.72rem;font-weight:800;display:inline-flex;align-items:center;gap:6px;cursor:pointer;margin-right:auto}.adaptive-toggle svg{width:15px}
@media(max-width:820px){.record-tail{grid-column:2}.program-members>div{background:#25202b}.adaptive-builder{grid-template-columns:1fr;background:#211e24;border-color:#453b50}.adaptive-builder>.button{grid-column:1}.adaptive-toggle{background:#2b2237;border-color:#49385e;color:#d5c0f1}.adaptive-actions .button{flex:1}}
.calendar-block.color-gold{background:linear-gradient(145deg,#76500f,#c7932c);color:#fff;border-color:#e0ba60;box-shadow:0 8px 22px rgba(137,91,14,.25)}.athlete-workout.color-gold{background:linear-gradient(145deg,#76500f,#d1a23d);color:#fff;border:1px solid #e8c875}.wod-badge{display:inline-flex!important;width:max-content;max-width:calc(100% - 28px);align-items:center;margin:0 0 10px!important;padding:4px 7px;border-radius:7px;background:rgba(255,255,255,.18);color:inherit;font-size:.59rem!important;font-weight:900!important;letter-spacing:.08em;text-transform:uppercase;opacity:1!important}.athlete-workout .wod-badge{max-width:100%}.wod-options{padding:14px;border:1px solid #e0c171;border-radius:12px;background:#fff8df}.wod-options[hidden],.color-field[hidden]{display:none}.wod-options small{color:#856018!important}.color-gold .block-menu{background:rgba(255,255,255,.22)}
@media(max-width:820px){.wod-options{background:#332b18;border-color:#6f5925}.wod-options small{color:#d8bd76!important}}
.calendar-block[data-wod],.calendar-block.color-gold{background:linear-gradient(145deg,#694508 0%,#b47e19 55%,#d8ac48 100%)!important;color:#fff!important;border-color:#e7c46d!important}.wod-scores-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:13px;padding:8px 10px;border:1px solid rgba(255,255,255,.42);border-radius:9px;background:rgba(255,255,255,.15);color:#fff;font-size:.68rem;font-weight:900;cursor:pointer}.wod-scores-button:hover{background:#fff;color:#76500f}.wod-scores-button svg{width:14px}.score-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:20px 0 14px;padding:5px;background:#f1edf4;border-radius:12px}.score-tabs button{height:38px;border:0;border-radius:9px;background:transparent;color:#6d6672;font-weight:800;cursor:pointer}.score-tabs button.active{background:#17131c;color:#fff;box-shadow:0 4px 12px rgba(23,19,28,.16)}.score-entry{display:grid;grid-template-columns:minmax(130px,1fr) repeat(2,90px) auto;gap:9px;align-items:end;padding:14px;border-radius:14px;background:#fff8df;border:1px solid #e0c171;margin-bottom:10px}.score-entry>div{display:grid;gap:2px}.score-entry small{color:#86641a;font-size:.68rem}.score-entry label{height:42px;display:flex;align-items:center;border:1px solid #d9c480;border-radius:10px;background:#fff;overflow:hidden}.score-entry label.score-single{grid-column:span 2}.score-entry input{width:100%;height:100%;min-width:0;border:0!important;padding:0 8px!important}.score-entry label span{padding-right:9px;color:#80611c;font-size:.7rem;font-weight:800}.score-entry .button{height:42px}.score-gender-note{margin:0 0 14px;color:#77737f;font-size:.7rem}.leaderboard{display:grid;gap:7px;max-height:390px;overflow:auto}.leaderboard-row{display:grid;grid-template-columns:34px 38px 1fr auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e8e4eb;border-radius:12px}.leaderboard-row.is-me{border-color:#7e42c7;background:#f7f2fc}.leaderboard-row .rank{width:28px;height:28px;border-radius:9px;background:#eee8f5;color:#5b21b6;display:grid;place-items:center;font-size:.74rem}.leaderboard-row:nth-child(1) .rank{background:#d5a93f;color:#fff}.leaderboard-row:nth-child(2) .rank{background:#9aa0aa;color:#fff}.leaderboard-row:nth-child(3) .rank{background:#a86e3e;color:#fff}.leaderboard-row .avatar{width:36px;height:36px}.leaderboard-row>div{display:grid}.leaderboard-row small{color:#837d88;font-size:.65rem}.leaderboard-row>b{font-size:.9rem}.score-empty{padding:30px;text-align:center;color:#827c87;border:1px dashed #d8d3db;border-radius:12px}
@media(max-width:820px){.score-tabs{background:#211e24}.score-tabs button{color:#aaa3af}.score-tabs button.active{background:#5b21b6;color:#fff}.score-entry{grid-template-columns:1fr 1fr;background:#302817;border-color:#665325}.score-entry>div{grid-column:1/-1}.score-entry label.score-single{grid-column:1/-1}.score-entry .button{grid-column:1/-1}.score-entry small,.score-entry label span{color:#d6ba74}.score-gender-note{color:#aaa4ae}.leaderboard-row{border-color:#37323b}.leaderboard-row.is-me{background:#2b2237;border-color:#654398}.score-empty{border-color:#3b3640;color:#aaa4ae}}
.conversation.has-unread{background:#f7f2fc}.conversation.has-unread>span:nth-child(2)>strong{font-weight:900;color:#17131c}.conversation.has-unread small{color:#4f4855;font-weight:700}.unread-count{align-self:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#5b21b6;color:#fff;display:grid;place-items:center;font-size:.65rem;font-weight:900;box-shadow:0 4px 10px rgba(91,33,182,.28)}
@media(max-width:820px){.conversation.has-unread{background:#241d2d}.conversation.has-unread>span:nth-child(2)>strong{color:#fff}.conversation.has-unread small{color:#d0c8d6}.unread-count{background:#8b55cf}}
[data-admin-account][hidden]{display:none!important}.latest-actions{display:flex;align-items:center;gap:8px}.promote-coach{background:#eee7fb;color:#5b21b6}.promote-coach:hover{background:#5b21b6;color:#fff}
@media(max-width:820px){.latest-actions{grid-column:2;justify-content:flex-start}.latest-record .latest-actions .rm-open{grid-column:auto}.admin-actions .promote-coach{background:#2b2237;color:#d5c0f1}}
.program-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.program-title-row h3{margin:0}.program-price,.membership-price{display:inline-flex;width:max-content;align-items:center;border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:900;white-space:nowrap}.program-price.paid,.membership-price{background:#eee7fb;color:#5b21b6}.program-price.free{background:#edf1ef;color:#4e6559}.membership-price{margin-top:9px}.stripe-status-card{display:flex;align-items:flex-start;gap:13px;padding:17px;margin:20px 0;border:1px solid #e6e1ea;border-radius:15px;background:#f8f6fa}.stripe-status-card strong{font-size:.9rem}.stripe-status-card p{margin:4px 0 0;color:#77737f;font-size:.76rem;line-height:1.5}.stripe-status-dot{width:12px;height:12px;border-radius:50%;margin-top:4px;flex:0 0 12px;background:#8c8591;box-shadow:0 0 0 5px #e9e6eb}.stripe-status-card.active .stripe-status-dot{background:#2d9a5b;box-shadow:0 0 0 5px #def2e6}.stripe-status-card.pending .stripe-status-dot{background:#d69824;box-shadow:0 0 0 5px #f8ebcf}.stripe-status-card.loading{color:#77737f}.stripe-actions{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:14px}.request-actions .button:disabled{opacity:.52;cursor:not-allowed}.account-menu-list [data-action="stripe-settings"]>svg{color:#8b5cf6}
@media(max-width:820px){.program-price.paid,.membership-price{background:#302442;color:#d7bdf8}.program-price.free{background:#252a27;color:#b8c9c0}.stripe-status-card{background:#211e24;border-color:#39343f}.stripe-status-card p{color:#aaa4ae}.stripe-actions{display:grid}.stripe-actions .button{width:100%}}
