/* One shared calendar; compact selectors on mobile and a full week on desktop. */
.week-coach-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.week-coach-toolbar h2{font-size:22px;margin:0 0 4px}.week-coach-toolbar p{color:#646a78;font-size:13px;margin:0}.week-loading{padding:35px;text-align:center;color:#646a78}.week-calendar-heading{display:flex;align-items:center;margin:12px 0 18px}.week-calendar-heading>div:first-child{display:flex;flex-direction:column;gap:5px}.week-calendar-heading strong{font-size:17px}.week-calendar-heading span{font-size:12px;color:#687082}.week-navigation{display:flex;}.week-navigation .btn{padding:8px 12px;font-size:12px}.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-bottom:16px}.week-day{padding:12px 6px 10px;min-width:0;border:1px solid #dfe3eb;background:#fff;text-align:center;color:#171b24;display:flex;align-items:center;flex-direction:column;position:relative;cursor:pointer}.week-day.selected{border-color:#ed153c;background:#fff3f6;box-shadow:0 0 0 1px #ed153c}.week-day.today .week-day-label:after{content:'Hoy';font-size:9px;color:#c80029}.week-day-label{display:flex;flex-direction:column;text-transform:uppercase;gap:3px;}.week-day-art{display:grid;place-items:center}.week-zone{width:55px;height:67px;max-width:100%}.week-day-art>.icon{width:28px;height:28px;color:#a5adbd}.week-day-name{font-weight:650;overflow-wrap:anywhere}.week-day small{color:#697082;line-height:1.3}.week-state-dot{background:#b9c0ce;border-radius:50%}.week-day.pending .week-state-dot{background:#ee1a40}.week-day.in_progress .week-state-dot{background:#cb7600}.week-day.completed .week-state-dot{background:#16834f}.week-hero{background:linear-gradient(115deg,#fff 5%,#fff6f8 55%,#fde3e9);border:1px solid #efdae0;display:grid;overflow:hidden;}.week-hero-content{padding:28px;min-width:0;position:relative;z-index:1}.week-date{font-weight:700;color:#646d7d;text-transform:uppercase}.week-hero h2{margin:10px 0}.week-hero p{font-size:13px;color:#646c7d;line-height:1.6}.week-hero-badges{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.week-hero-badges>span{display:flex;gap:7px;align-items:center;background:white;border:1px solid #e4dfe5;border-radius:30px;font-weight:600;}.week-hero-badges .icon{width:18px;height:18px}.week-hero-badges .week-state{background:#ffe4eb;color:#c9002d;border:0}.week-hero-badges .completed{background:#d4f5e3;color:#106b3b}.week-hero-badges .in_progress{background:#fff0d8;color:#9c5900}.week-session-progress strong{font-size:12px}.week-progress-dots{display:flex;margin:10px 0 22px;flex-wrap:wrap}.week-progress-dots span{width:13px;height:13px;border-radius:50%;border:1px solid #cdd2dd;background:#e3e6ed}.week-progress-dots span.complete{background:#e91135;border-color:#e91135}.week-hero-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.week-hero-actions .btn{font-size:13px;min-height:46px}.week-future,.week-lock-note{font-size:11px!important}.week-hero-visual{position:relative;display:flex;min-width:0;isolation:isolate;padding:10px 0 0}.week-hero-visual:before{content:'';position:absolute;background:#f6bac9;opacity:.35;z-index:-1;bottom:0}.week-avatar{width:auto;max-width:100%;height:315px;object-fit:contain;object-position:bottom}.week-zone-badge{position:absolute;right:10px;bottom:14px;display:flex;gap:8px;align-items:center;max-width:calc(100% - 20px);padding:8px;background:#ffffffe8;border:1px solid #ecd9df;border-radius:13px;font-size:10px;color:#5a6272}.week-zone-badge svg{width:30px;height:44px;flex-shrink:0}.week-hero-empty .week-hero-visual{align-items:center}.week-hero-empty .week-hero-visual>.week-zone{width:120px;height:150px}.week-hero-empty .week-hero-visual>.icon{width:80px;height:80px;color:#b7bfce}.week-bottom-cards{display:grid;margin-top:14px}.week-note-card{display:flex;gap:10px;align-items:center;border:1px solid #e3e6ed;background:white;padding:16px;min-width:0}.week-note-card>.icon{color:#e8153b;width:28px;height:28px;flex-shrink:0}.week-note-card h3{margin:0 0 5px}.week-note-card p{margin:0;color:#697082;line-height:1.5}.week-note-card .btn{font-size:11px;padding:8px;flex-shrink:0}.week-advance{display:flex;margin-top:8px}.week-advance>span{color:#88909e;background:#eef0f5;width:22px;display:grid;place-items:center}.week-advance>span.complete{color:#fff;background:#e8143a}.week-unplaced,.week-history{padding:16px;border:1px solid #e1e4eb;border-radius:14px;background:white;margin:16px 0}.week-unplaced summary,.week-history summary{cursor:pointer;font-size:13px;font-weight:600;min-height:28px}.week-unplaced p,.week-unplaced-message{font-size:12px;color:#636d7c;line-height:1.6}.week-unplaced>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #eee;font-size:12px}.week-unplaced>div span{font-size:11px;color:#6e7686}.week-coach-notes{white-space:pre-wrap;line-height:1.8}.coach-drawer-open .week-days{gap:3px}.coach-drawer-open .week-day-art,.coach-drawer-open .week-day-name,.coach-drawer-open .week-day small{display:none}.coach-drawer-open .week-hero{grid-template-columns:1fr}.coach-drawer-open .week-hero-visual{display:none}
.training-mode{max-width:1140px;margin:0 auto}.mode-header{display:flex;gap:15px;align-items:center;padding-bottom:18px}.mode-header>div{flex:1;min-width:0}.mode-header h1{font-size:25px;line-height:1.3;margin:0 0 5px}.mode-header p{font-size:12px;color:#626b7b;margin:0}.mode-header>.btn{padding:8px;min-width:42px}.mode-header .save-status{font-size:11px;white-space:nowrap}.mode-exercise-dots{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;margin:0 0 20px}.mode-exercise-dots button{display:grid;place-items:center;border:1px solid #d9dde6;color:#737c8e;border-radius:50%;background:#fff;cursor:pointer}.mode-exercise-dots button.current{background:#ed0d36;border-color:#ed0d36;color:#fff}.mode-exercise-dots button.complete:not(.current){background:#d7f2e3;color:#157a45;border-color:#a6ddbf}.mode-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}.mode-demonstration,.mode-execution{min-width:0}.mode-visual{width:100%;border:1px solid #e1e4ec;background:linear-gradient(140deg,#f2f4f8,#fff2f5);border-radius:18px;overflow:hidden;padding:20px;display:flex;align-items:center;justify-content:center;min-height:320px;cursor:zoom-in}.mode-visual img{object-fit:contain;width:100%;height:auto;max-height:440px;mix-blend-mode:multiply}.mode-placeholder{flex-direction:column;gap:14px;cursor:default}.mode-placeholder svg{width:120px;height:190px}.mode-placeholder span{font-weight:600;font-size:13px}.mode-placeholder small{color:#6b7384;font-size:12px}.mode-exercise-name{margin-top:17px}.mode-exercise-name h2{margin:0 0 7px}.mode-exercise-name p{color:#667084}.mode-video{margin-top:10px;font-size:12px}.mode-prescription{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}.mode-prescription>div{display:grid;grid-template-columns:22px minmax(0,1fr);gap:3px 8px;background:#f0f2f7;border:1px solid #e8ebf0;padding:12px;align-items:center}.mode-prescription .icon{grid-row:span 2;width:20px;height:20px;color:#646d7f}.mode-prescription strong{font-size:16px;overflow-wrap:anywhere}.mode-prescription span{font-size:11px;color:#6b7384}.mode-intensity{font-size:12px;color:#646d7b;margin:10px 0}.mode-series-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:22px 0 12px;flex-wrap:wrap}.mode-series-heading h3{margin:0}.mode-series-pills{display:flex;gap:5px;flex-wrap:wrap}.mode-series-pills button{border:0;background:#edeff4;color:#6d7484;border-radius:50%;width:30px;height:30px;font-size:11px;cursor:pointer}.mode-series-pills button.current{box-shadow:0 0 0 2px #e8163d;color:#bc0025}.mode-series-pills button.complete{background:#d5f4e3;color:#127447}.mode-series-pills button.skipped{text-decoration:line-through;background:#f1e9df;color:#8b6948}.mode-result-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mode-result-fields label{display:flex;flex-direction:column;font-weight:600;min-width:0}.mode-result-fields input{min-width:0;width:100%;background:#fff;border:1px solid #dce0e9;padding:12px}.mode-result-note{font-size:11px;color:#747d8e;margin:10px 0}.mode-rest{display:flex;align-items:center;gap:10px;font-size:13px;min-height:0;color:#bb0029;flex-wrap:wrap}.mode-rest:not(:empty){padding:10px;margin:10px 0;border-radius:12px;background:#fff1f5}.mode-rest .btn{padding:6px 9px;min-height:34px;font-size:11px}.mode-technique{border-block:1px solid #e1e5ed;padding:14px 0;margin:16px 0}.mode-technique summary{font-size:13px;font-weight:650;cursor:pointer;min-height:28px;line-height:1.6}.mode-technique .exercise-reference{display:block;margin-top:12px}.mode-technique .exercise-reference>figure{display:none}.mode-complete-notes p{white-space:pre-wrap;font-size:12px;line-height:1.65}.mode-complete-notes h4{font-size:13px;margin:15px 0 8px}.mode-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mode-controls>.primary{grid-column:1/-1;min-height:50px;font-size:15px}.mode-controls>.ghost{font-size:12px;padding:10px;min-height:42px}.mode-move{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:15px}.mode-move .btn{font-size:11px;padding:8px 10px}.mode-move>span{font-size:11px;color:#747d8e;text-align:center}.mode-footer{margin:20px 0;display:flex;gap:8px;justify-content:center}.mode-exercise-list{display:flex;flex-direction:column;gap:5px}.mode-exercise-list button{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e3e6ed;border-radius:12px;background:white;text-align:left;cursor:pointer}.mode-exercise-list img{width:65px;height:50px;object-fit:contain;background:#f2f4f8;border-radius:8px}.mode-exercise-list span{display:flex;flex:1;flex-direction:column;gap:5px}.mode-exercise-list strong{font-size:13px}.mode-exercise-list small{font-size:11px;color:#6b7487}.mode-exercise-list .icon{width:20px}.mode-summary-count{display:flex;flex-direction:column;gap:5px;padding:20px;background:#fff1f5;border-radius:14px;margin:10px 0;color:#b40027;font-weight:600}.mode-summary-count strong{font-size:28px}.mode-summary-list>div{display:flex;flex-direction:column;gap:5px;padding:10px 0;border-bottom:1px solid #e5e8ee}.mode-summary-list strong{font-size:13px}.mode-summary-list span{font-size:11px;color:#637085}.training-mode-open .bottomnav{display:none}.training-mode-open .student-main{padding-bottom:20px}.training-mode-open .topbar{display:none}.training-mode-open .student-main{padding-top:24px}
@media(max-width:900px){.week-hero{grid-template-columns:minmax(0,1.35fr) minmax(160px,1fr)}.week-hero h2{font-size:28px}.week-hero-content{padding:22px}.week-bottom-cards{grid-template-columns:1fr}.mode-layout{gap:16px}.mode-prescription>div{padding:10px 7px;gap:3px}.coach-dossier .week-hero{grid-template-columns:minmax(0,1fr) 150px}.coach-dossier .week-avatar{height:270px}}
@media(max-width:700px){.week-coach-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.week-coach-toolbar h2{font-size:18px}.week-coach-toolbar .actions{flex-wrap:wrap}.week-coach-toolbar .btn{min-height:40px}.week-calendar-heading{margin:10px 0 14px;gap:8px}.week-calendar-heading strong{font-size:13px}.week-calendar-heading span{font-size:10px;max-width:210px}.week-navigation{gap:4px}.week-navigation .btn{min-height:36px;padding:6px 8px;font-size:10px}.week-navigation .icon{width:16px}.week-days{gap:5px;margin-bottom:12px}.week-day{padding:7px 2px 9px;border-radius:9px;gap:5px}.week-day-label{font-size:9px;min-height:31px}.week-day-label strong{font-size:14px}.week-day-art,.week-day-name,.week-day small{display:none}.week-state-dot{width:5px;height:5px}.week-day.today .week-day-label:after{font-size:8px}.week-day.selected{background:#ed133a;color:white}.week-day.selected .week-day-label:after{color:white}.week-day.selected .week-state-dot{background:white}.week-hero,.coach-dossier .week-hero{display:flex;flex-direction:column-reverse;min-height:0;border-radius:16px}.week-hero-visual{height:180px;min-height:180px;padding:0}.week-hero-visual:before{width:180px;height:180px;bottom:-8px}.week-avatar,.coach-dossier .week-avatar{height:190px}.week-zone-badge{font-size:9px;max-width:45%;right:12px;bottom:16px}.week-hero-content{padding:16px}.week-date{font-size:10px!important;margin:0!important}.week-hero h2{font-size:24px;margin:8px 0 5px;line-height:1.2}.week-hero p{font-size:12px;margin:5px 0}.week-hero-badges{margin:12px 0;gap:6px}.week-hero-badges>span{font-size:11px;padding:6px 10px}.week-session-progress strong{font-size:11px}.week-progress-dots{gap:6px;margin:8px 0 15px}.week-progress-dots span{width:11px;height:11px}.week-hero-actions .btn{width:100%;justify-content:center;font-size:12px;min-height:44px}.week-hero-empty .week-hero-visual{height:90px;min-height:90px}.week-hero-empty .week-hero-visual>.week-zone{width:65px;height:80px}.week-hero-empty .week-hero-visual>.icon{width:40px;height:40px}.week-bottom-cards{gap:8px;margin-top:10px}.week-note-card{padding:13px;flex-wrap:wrap}.week-note-card>div{flex:1}.week-note-card>.btn{margin-left:38px}.week-note-card h3{font-size:12px}.week-note-card p{font-size:10px}.week-unplaced,.week-history{padding:13px;margin:12px 0}.week-unplaced summary,.week-history summary{font-size:12px}.week-unplaced p{font-size:11px}.week-unplaced>div{font-size:11px}.mode-layout{grid-template-columns:1fr;gap:13px}.training-mode-open .student-main{padding:12px 14px 20px;max-width:100%}.mode-header{gap:9px;padding-bottom:10px;flex-wrap:wrap}.mode-header h1{font-size:18px}.mode-header p{font-size:11px;line-height:1.6}.mode-header .save-status{flex-basis:100%;margin-left:48px;font-size:10px}.mode-exercise-dots{gap:7px;margin:0 0 14px}.mode-exercise-dots button{width:24px;height:24px;font-size:9px}.mode-visual{min-height:210px;padding:12px;border-radius:13px}.mode-visual img{max-height:235px;width:auto;max-width:100%}.mode-exercise-name{margin-top:10px}.mode-exercise-name h2{font-size:23px}.mode-exercise-name p{font-size:12px;margin:4px 0}.mode-prescription>div{padding:10px 8px;grid-template-columns:18px minmax(0,1fr)}.mode-prescription strong{font-size:14px}.mode-prescription span{font-size:10px}.mode-prescription .icon{width:17px}.mode-series-heading{margin-top:15px}.mode-series-heading h3{font-size:15px}.mode-series-pills button{width:27px;height:27px}.mode-result-fields label{font-size:11px}.mode-result-fields input{font-size:18px;min-height:50px}.mode-result-note{font-size:10px}.mode-technique{margin:12px 0;padding:10px 0}.mode-controls>.primary{font-size:14px;min-height:48px}.mode-footer .btn{font-size:12px}.mode-move .btn{font-size:10px;padding:7px}.mode-move span{font-size:10px}.mode-placeholder{min-height:205px}.mode-placeholder svg{height:120px;width:85px}}
@media(prefers-reduced-motion:no-preference){.week-hero-content,.mode-layout{animation:training-reveal .18s ease-out}@keyframes training-reveal{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:none}}}
.week-resume{padding:13px 16px;background:#fff6ed;border:1px solid #f1dfc9;border-radius:13px;margin:14px 0}.week-resume summary{cursor:pointer;font-size:12px;font-weight:600;min-height:26px}.week-resume>div{display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:12px;padding:8px 0;border-top:1px solid #efdfce}.week-resume .btn{font-size:11px;min-height:36px;padding:8px}
.training-mode-open #modal .modalfoot{flex-wrap:wrap}
.builder-prescription{border:1px solid #e4e7ef;border-radius:12px;padding:12px;margin:10px 0}.builder-prescription summary{font-size:13px;font-weight:600;cursor:pointer}.builder-prescription p{font-size:11px;color:#646e7e;line-height:1.6}.builder-series{display:grid;grid-template-columns:60px repeat(5,minmax(0,1fr));gap:8px;align-items:center;margin:8px 0}.builder-series>strong{font-size:11px}.builder-series label{font-size:10px;display:flex;flex-direction:column;gap:4px}.builder-series input{width:100%;min-width:0;padding:8px;font-size:13px}.mode-prescription-warning{font-size:11px;line-height:1.6;color:#855317;background:#fff4df;border-radius:9px;padding:10px}
@media(max-width:700px){.builder-series{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 0;border-bottom:1px solid #e3e6ee}.builder-series>strong{grid-column:1/-1}.builder-series input{font-size:16px;min-height:40px}}
/* Reference composition: light workspace, illustrated week, one focused exercise. */
.training-avatar-sprite{display:block;flex:none;background-repeat:no-repeat;background-size:400% 200%;aspect-ratio:var(--atlas-ratio,.75)}
.week-anatomy{display:block;width:70px;height:70px;background-image:url('/static/training/avatars/zones.webp');background-size:300% 200%;background-repeat:no-repeat}
.training-profile-face{width:37px;height:39px;border-radius:50%;overflow:hidden;background:#f1f2f5;display:block}.training-profile-face img,.training-sidebar-user img{width:100%;height:100%;object-fit:cover;object-position:50% 0;transform:scale(2.4);transform-origin:50% 0}
.training-sidebar{display:none}.week-calendar-heading{gap:18px;margin:4px 0 22px;justify-content:flex-start;min-height:50px}.week-calendar-heading h1{font-size:35px;letter-spacing:-1.2px;line-height:1.1;margin:0 auto 0 0}.week-calendar-heading .week-range{gap:4px}.week-range strong{font-size:15px;white-space:nowrap}.week-range>span{font-size:11px;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.week-navigation{gap:7px}.week-navigation .btn{border-radius:9px;min-height:36px;padding:7px 10px}.week-navigation .btn:nth-child(2){font-size:11px;padding:7px}
.week-days{gap:7px;margin-bottom:13px}.week-day{border-radius:11px;padding:11px 7px 8px;gap:7px}.week-day-label{font-size:10px;min-height:30px}.week-day-label strong{font-size:14px}.week-day-art{height:64px}.week-day-name{font-size:12px;line-height:1.4;min-height:34px}.week-day small{font-size:9px}.week-state-dot{position:absolute;right:7px;top:7px;width:5px;height:5px}
.week-hero{border-radius:14px;position:relative;grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);min-height:310px;background:linear-gradient(112deg,#fff 7%,#fff7f9 48%,#ffe2ea)}.week-hero-content{padding:25px;z-index:2}.week-date{margin:0;font-size:11px!important}.week-hero h2{font-size:39px;letter-spacing:-1.4px;margin:9px 0 4px;line-height:1.08}.week-hero-content>p:not(.week-date){margin:4px 0}.week-hero-badges{margin:14px 0 16px}.week-hero-badges>span{font-size:12px;padding:8px 12px}.week-hero-visual{padding:0;overflow:hidden;align-items:flex-end;justify-content:center}.week-hero-visual:before{width:390px;height:290px;border-radius:65% 40% 0 0;max-width:120%;background:#f8bccc;bottom:-40px}.week-cover-avatar{width:auto;max-width:none;transform:scale(1.12);transform-origin:50% 70%;margin-bottom:-35px}.week-session-progress{max-width:435px}.week-progress-dots{position:relative;flex-wrap:nowrap;gap:5px;justify-content:space-between;margin:10px 0 19px}.week-progress-dots:before{position:absolute;content:'';height:2px;background:#d9dfe8;top:7px;left:1px;right:1px}.week-progress-dots>span{position:relative;z-index:1;width:15px;height:15px;border-color:#d5dbe5}.week-progress-dots>span:first-child:not(.complete){border-color:#929bac;background:#fff}.week-hero-actions .primary{min-width:250px;border-radius:9px;min-height:48px}.week-next-card{display:none}.week-bottom-cards{grid-template-columns:1.4fr 1fr;gap:10px;margin-top:12px}.week-note-card{border-radius:12px;padding:15px}.week-note-card h3{font-size:12px}.week-note-card p{font-size:10px}.week-advance{justify-content:space-between;gap:5px}.week-note-card:last-child>div{width:100%}.week-advance>span{position:relative;background:transparent;border-radius:0;font-size:9px;height:33px;padding-top:17px;color:#677184}.week-advance>span:before{content:'';background:#e6e9ef;border-radius:50%;position:absolute;width:13px;height:13px;top:0}.week-advance>span.complete{background:transparent;color:#ea143c}.week-advance>span.complete:before{background:#ea143c}.week-resume{margin:6px 0 13px;padding:9px 12px}
.mode-visual.mode-avatar-visual{padding:0;background:#eeeef1;position:relative;min-height:0;overflow:hidden}.mode-avatar{width:100%;height:auto;max-height:none}.mode-avatar-visual:after{content:'';position:absolute;right:12px;bottom:12px;width:32px;height:32px;border-radius:50%;background:#fffffff0;border:1px solid #d8dce5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586577' stroke-width='1.6'%3E%3Ccircle cx='10' cy='10' r='5'/%3E%3Cpath d='m14 14 5 5M7 10h6M10 7v6'/%3E%3C/svg%3E");background-size:23px;background-position:center;background-repeat:no-repeat}
.mode-profile-avatar{height:145px!important;width:auto!important;object-fit:contain}.mode-visual.mode-placeholder{padding:15px;min-height:210px}.mode-exercise-dots button{width:17px;height:17px;font-size:0;border-width:2px}.mode-exercise-dots .icon{width:11px;height:11px}.mode-exercise-dots{margin:0 0 17px;gap:16px}.mode-exercise-name h2{font-size:27px;line-height:1.12;letter-spacing:-.6px;margin:0}.mode-exercise-name p{margin:5px 0;font-size:13px}.mode-header{padding-bottom:15px}.mode-prescription{gap:8px}.mode-prescription>div{border-radius:10px;background:#f4f5f8;padding:12px 10px}.mode-series-heading h3{font-size:16px}.mode-result-fields label{padding:10px;border:1px solid #e0e4eb;border-radius:10px;font-size:11px;gap:6px;background:#fff}.mode-result-fields input{padding:0;border:0;border-radius:0;min-height:30px;font-size:19px;outline-offset:4px;background:transparent}.mode-result-fields input:focus-visible{outline:2px solid #ef1238}.mode-controls>.primary{border-radius:9px}.mode-controls>.ghost{border-radius:9px}.mode-technique{padding:10px 0}.mode-list-avatar{width:58px!important;flex:0 0 58px!important;border-radius:7px;background-color:#f1f2f5}.training-art-enlarged{max-width:410px;margin:auto;overflow:hidden;border-radius:14px;background:#eeeef2}.training-art-enlarged>.training-avatar-sprite{width:100%}.exercise details>.mode-avatar-visual{max-width:320px;margin:12px auto}.exercise .mode-avatar-visual>.mode-avatar{width:100%}
@media(min-width:1000px){.training-design .training-sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:190px;height:100dvh;border-right:1px solid #e6e9ef;background:white;z-index:20;padding:24px 16px;flex-direction:column}.training-sidebar>.brand{width:155px;margin:0 0 35px}.training-sidebar .brand-wordmark{width:155px}.training-sidebar .brand-lockup{display:none}.training-nav{display:flex;flex-direction:column;gap:7px}.training-nav button{display:flex;align-items:center;gap:12px;padding:12px;border:0;background:transparent;min-height:43px;border-radius:8px;color:#6c7485;font-size:13px;cursor:pointer;text-align:left}.training-nav button.active{background:#fff1f5;color:#ee0c37}.training-nav .icon{width:19px;height:19px}.training-sidebar-user{margin-top:auto;display:flex;align-items:center;gap:10px;font-size:12px;color:#596376}.training-sidebar-user img{width:28px;height:28px;object-fit:contain;transform:none}.training-design .student-main{margin-left:190px;max-width:none;width:calc(100% - 190px);padding:0 30px 30px;background:#fff;min-height:100dvh}.training-design .student-main>.topbar{height:75px;padding:15px 30px;margin:0 -30px 20px;border-bottom:1px solid #e9ecf2}.training-design .topbar>.brand{visibility:hidden;width:20px}.training-design .date{font-size:12px;margin-left:auto}.training-design>.bottomnav{display:none}.training-design #content{max-width:1180px;margin:0 auto}.training-mode-open .student-main{padding-top:24px;background:#fff}.training-mode{max-width:1050px}.training-mode-open .mode-avatar{max-height:590px;width:auto;margin:auto}.training-mode-open .mode-avatar-visual{height:590px}.training-mode-open .training-sidebar{display:flex}.coach-app:has(#weekly-training) .coach-dossier{max-width:1120px}.coach-app:has(#weekly-training) .coach-dossier-panel{padding:20px 25px}.coach-app:has(#weekly-training) .sidebar{background:#fff;border-color:#e7e9ef}.coach-app:has(#weekly-training) .sidebar .nav button{color:#626b7b}.coach-app:has(#weekly-training) .sidebar .nav button.active{background:#fff0f4;color:#ed1038}.coach-app:has(#weekly-training) .sidebar .brand-wordmark-dark{filter:brightness(.08)}.coach-app:has(#weekly-training) .sidebar .userbox strong{color:#20242e}.coach-app:has(#weekly-training) .coach-dossier-footer{padding:12px 25px}.coach-drawer-open:has(#weekly-training) .week-hero{grid-template-columns:1.3fr 1fr}.coach-drawer-open:has(#weekly-training) .week-hero-visual{display:flex}.coach-drawer-open:has(#weekly-training) .week-day-art{display:grid}.coach-drawer-open:has(#weekly-training) .week-day-name,.coach-drawer-open:has(#weekly-training) .week-day small{display:block}}
@media(min-width:701px) and (max-width:999px){.training-design .student-main{max-width:100%;padding:0 22px 100px;background:#fff}.training-design .topbar{margin:0 0 20px;height:75px}.week-calendar-heading h1{font-size:29px}.week-range strong{font-size:13px}.week-hero h2{font-size:32px}.week-cover-avatar{height:330px}.week-bottom-cards{grid-template-columns:1.2fr 1fr}}
@media(max-width:700px){.training-design .student-main{padding:0 15px 90px;background:#fff}.training-design .topbar{height:61px;margin:0 0 13px;padding:11px 0;border:0}.training-design .topbar>.brand{width:137px;margin:0}.training-design .brand-wordmark{width:137px}.training-design .topbar .date{font-size:0;gap:0}.training-design .topbar .date>.icon{display:none}.training-design .topbar .training-profile-face{width:33px;height:35px}.week-calendar-heading{flex-wrap:wrap;gap:6px;justify-content:space-between;margin:0 0 10px}.week-calendar-heading h1{font-size:28px;letter-spacing:-.8px;flex-basis:100%;margin:0 0 9px}.week-calendar-heading>.week-range{flex:1;min-width:0;gap:2px}.week-range strong{font-size:12px}.week-range>span{font-size:9px;max-width:210px}.week-navigation{gap:4px}.week-navigation .btn{min-height:32px;padding:5px 7px}.week-navigation .btn:nth-child(2){font-size:10px;padding:5px}.week-days{gap:5px;margin-bottom:11px}.week-day{padding:7px 2px;min-height:49px;border-radius:8px;gap:0}.week-day-label{font-size:9px;gap:3px;min-height:30px}.week-day-label strong{font-size:12px}.week-day-art,.week-day-name,.week-day small{display:none!important}.week-day.today .week-day-label:after{display:none}.week-state-dot{right:3px;top:3px;width:3px;height:3px}.week-hero,.coach-dossier .week-hero{border-radius:12px;display:flex;flex-direction:column-reverse;background:linear-gradient(125deg,#fff8fa,#ffe3eb);min-height:0}.week-hero-visual{height:220px;min-height:220px;padding:0;justify-content:center}.week-hero-visual:before{width:340px;height:210px;bottom:-35px;max-width:none}.week-cover-avatar{height:325px;max-width:none;width:auto;margin-bottom:-80px;transform:scale(1.1);transform-origin:50% 45%}.week-hero-content{padding:11px 13px 13px;background:linear-gradient(0deg,#fffafd,rgba(255,247,250,.8) 80%,transparent)}.week-date{display:none}.week-hero h2{font-size:25px;line-height:1.08;letter-spacing:-.7px;margin:0 0 5px}.week-hero-content>p:not(.week-date){font-size:11px;margin:0 0 4px}.week-hero-badges{gap:6px;margin:9px 0}.week-hero-badges>span{font-size:10px;padding:5px 8px}.week-hero-badges .icon{width:14px;height:14px}.week-session-progress strong{font-size:10px}.week-progress-dots{margin:7px 0 12px;gap:4px}.week-progress-dots>span{width:12px;height:12px}.week-progress-dots:before{top:5px}.week-hero-actions .primary{min-width:0;min-height:42px;font-size:12px;border-radius:8px}.week-hero-actions .ghost{font-size:11px;min-height:38px;padding:8px}.week-hero-empty .week-hero-visual{min-height:85px;height:85px}.week-hero-empty .week-hero-content{padding:14px}.week-next-card{width:100%;display:flex;gap:10px;align-items:center;text-align:left;border:1px solid #e3e6ec;background:#fff;border-radius:11px;padding:9px 11px;margin:9px 0;color:#1b2230;cursor:pointer}.week-next-card>span:not(.week-zone){display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.week-next-card small{font-size:10px;color:#70798a}.week-next-card strong{font-size:12px}.week-next-card .week-zone{width:45px;height:45px}.week-next-card>.icon{width:18px;height:18px;color:#6a7384}.week-bottom-cards{grid-template-columns:1fr;gap:8px;margin-top:9px}.week-note-card{padding:11px;flex-wrap:nowrap}.week-note-card h3{font-size:11px}.week-note-card>.icon{width:22px;height:22px}.week-note-card>div{flex:1;min-width:0}.week-note-card>.btn{margin:0;padding:6px;font-size:10px}.week-note-card:last-child{padding:9px 11px}.week-note-card:last-child p{font-size:10px}.week-advance{margin-top:6px;max-width:250px}.training-mode-open .student-main{padding:10px 13px 20px}.training-mode-open .training-sidebar{display:none}.mode-header{gap:7px;position:relative;padding-bottom:11px}.mode-header h1{font-size:16px;text-align:center;padding-right:28px;margin:0 0 4px;line-height:1.2}.mode-header p{font-size:10px;text-align:center;padding-right:28px}.mode-header>.btn{border:0;min-width:28px;width:28px;padding:4px;background:transparent}.mode-header .save-status{position:absolute;right:0;top:0;flex-basis:auto;margin:0;font-size:0;gap:0}.mode-header .save-status .icon{width:13px;height:13px}.mode-exercise-dots{gap:12px;margin-bottom:13px}.mode-exercise-dots button{width:13px;height:13px;font-size:0;min-width:0;padding:0}.mode-exercise-dots .icon{width:9px}.mode-layout{gap:9px}.mode-visual.mode-avatar-visual{height:220px;min-height:220px;border-radius:10px}.mode-avatar{height:320px;width:auto;max-width:none;flex:none}.mode-exercise-name{margin-top:10px}.mode-exercise-name h2{font-size:23px;line-height:1.1}.mode-exercise-name p{font-size:11px}.mode-prescription>div{padding:9px 7px;gap:2px;border-radius:8px}.mode-prescription strong{font-size:13px}.mode-prescription span{font-size:9px}.mode-intensity{font-size:10px;margin:6px 0}.mode-series-heading{margin:12px 0 8px}.mode-series-heading h3{font-size:14px}.mode-series-pills button{width:23px;height:23px;font-size:10px}.mode-result-fields{gap:8px}.mode-result-fields label{padding:8px;font-size:10px}.mode-result-fields input{min-height:24px;font-size:18px}.mode-result-note{font-size:9px;margin:7px 0}.mode-technique{margin:8px 0;padding:9px 0}.mode-technique summary{font-size:11px;min-height:21px}.mode-controls{gap:7px}.mode-controls>.primary{font-size:13px;min-height:43px}.mode-controls>.ghost{font-size:11px;min-height:38px}.mode-move{margin-top:9px}.mode-footer{margin:12px 0}.mode-visual.mode-placeholder{min-height:180px;padding:10px}.mode-profile-avatar{height:120px!important}.coach-app:has(#weekly-training) .coach-dossier-footer{position:static}.coach-app:has(#weekly-training) .coach-dossier{padding-bottom:0}.coach-app:has(#weekly-training) .coach-dossier-person{padding-bottom:9px}.coach-app:has(#weekly-training) .coach-profile-face{width:43px;height:45px}.coach-app:has(#weekly-training) .coach-dossier-person h2{font-size:16px}.coach-app:has(#weekly-training) .coach-dossier-panel{padding:12px 13px}.coach-app:has(#weekly-training) .week-coach-toolbar{flex-direction:row;align-items:center;margin-bottom:12px}.coach-app:has(#weekly-training) .week-coach-toolbar h2{font-size:16px}.coach-app:has(#weekly-training) .week-coach-toolbar .actions{gap:4px;justify-content:flex-end}.coach-app:has(#weekly-training) .week-coach-toolbar .btn{font-size:10px;padding:6px 8px;min-height:35px}.coach-app:has(#weekly-training) .week-coach-toolbar p{font-size:10px;max-width:130px}.coach-app:has(#weekly-training) .week-coach-toolbar h2{max-width:130px}}

@media(min-width:701px){.training-mode-open .mode-avatar{height:100%;width:auto;max-height:none}}
.week-range{display:flex;flex-direction:column;gap:4px}.week-cover-avatar{height:340px;transform:scale(1.05);margin-bottom:-28px}.training-design .btn.primary,.coach-app:has(#weekly-training) .btn.primary{background:#f50736;border-color:#f50736}.training-design .btn.primary:hover,.coach-app:has(#weekly-training) .btn.primary:hover{background:#d6002b;border-color:#d6002b}
@media(max-width:700px){.week-cover-avatar{height:330px;margin-bottom:-110px;transform:scale(1.1)}}
.mode-avatar-visual{align-items:flex-start}.mode-series-pills button.current{background:#f50736;color:#fff;border-color:#f50736}
@media(min-width:701px){.week-day{min-height:164px;padding:9px 6px;gap:4px}.week-day-label{min-height:28px}.week-day-art{height:60px}.week-day-name{min-height:28px}.week-day small{margin-top:auto}}
@media(max-width:700px){.mode-visual.mode-avatar-visual{height:245px;min-height:245px}}

.coach-drawer-open .week-hero-visual{display:flex}
.coach-app:has(#weekly-training) .sidebar .brand-wordmark{display:block;filter:none;mix-blend-mode:multiply;content:url('/brand/wordmark.png')}
.mode-avatar-visual+.exercise-reference>figure{display:none}

/* Fit a complete atlas cell inside the cover, retaining its natural proportions. */
.week-hero:not(.week-hero-empty)>.week-hero-visual{--cover-fit-height:340px;min-height:372px;padding:16px;box-sizing:border-box;align-items:center;justify-content:center}
.week-hero .week-hero-visual>.week-cover-avatar{width:min(100%,calc(var(--cover-fit-height) * var(--atlas-ratio,.75)));height:auto;max-width:100%;margin:0;transform:none;aspect-ratio:var(--atlas-ratio,.75)}
.week-hero:not(.week-hero-empty)>.week-hero-visual:before{max-width:90%;bottom:16px}
@media(max-width:700px){.week-hero:not(.week-hero-empty)>.week-hero-visual{--cover-fit-height:256px;height:280px;min-height:280px;padding:12px}.week-hero:not(.week-hero-empty)>.week-hero-visual:before{bottom:12px;max-height:256px}}
