/* Référence : cahier des charges v0.1, maquettes 01–15. */
:root{--bg:#071316;--surface:#122033;--surface2:#182a39;--surface3:#21394b;--text:#f4f7f9;--muted:#b2bdc8;--line:#2b3b49;--mint:#12d49a;--blue:#52adff;--action:#0874db;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
[data-theme=light]{--bg:#f4f7f9;--surface:#fff;--surface2:#eaf0f6;--surface3:#dce8f4;--text:#122033;--muted:#526171;--line:#cbd6e1;--mint:#087d5b;--blue:#0866c2;--action:#0874db}
h1{font-weight:720;letter-spacing:-.7px}h2{font-weight:700}.btn{border-radius:12px;min-height:48px}.btn.primary,[data-theme=light] .btn.primary{background:var(--action);border-color:#1188f7;color:#fff}.btn.primary:hover{background:#0865bc}.text-btn{color:var(--blue)}input:focus,select:focus,textarea:focus{border-color:#1188f7;box-shadow:0 0 0 3px #1188f722}:focus-visible{outline-color:var(--blue)}.steps span.done{background:#1188f7}.card{border-radius:14px}.centered{text-align:center}.align-left{text-align:left}.logo{letter-spacing:-.5px}.logo img{width:40px;height:40px}.logo .mint{display:none}.sidebar{background:var(--bg)}.nav-link.active,[data-theme=light] .nav-link.active{background:var(--surface2);border-color:var(--line);color:var(--blue)}.nav-link.active:after{background:var(--blue)}.sidebar-coach,[data-theme=light] .sidebar-coach{background:var(--surface);border-color:var(--line)}.sidebar-coach .avatar{margin-bottom:8px}.topbar{height:72px}.main{padding-top:30px}.eyebrow{color:var(--blue)}.connection{font-size:11px}.coach-note,[data-theme=light] .coach-note{background:var(--surface);border-color:var(--line)}.avatar.coach{background:var(--surface2);border-color:var(--line)}.coach-face-button{border:0;padding:0;background:transparent;flex-shrink:0}.coach-identity{display:flex;align-items:center;gap:12px}.coach-identity strong,.coach-identity small{display:block}.coach-identity small{color:var(--muted);font-size:12px}.coach-portrait{width:56px;height:56px;display:inline-block;flex-shrink:0;border-radius:50%;background-color:#18242e;background-image:url('./reference-onboarding.png');background-repeat:no-repeat;background-size:1950.4px 688px;border:1px solid #506070}
.portrait-balanced{background-position:-398px -196px}.portrait-kind{background-position:-539px -195px}.portrait-demanding{background-position:-400px -399px}.portrait-analyst{background-position:-544px -400px}
.exercise-art{width:80px;height:80px;flex-shrink:0;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 80%,#1188f725,transparent 70%),var(--surface2);border:1px solid var(--line);border-radius:10px;color:var(--muted)}.exercise-art svg{width:90%;height:90%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.exercise-art .art-accent{stroke:var(--blue);fill:#1188f720}.exercise-art .art-grid{stroke:var(--line);stroke-width:1.5}
/* 01 — bienvenue : promesse, visuel, un seul CTA principal. */
.ux-welcome,.ux-onboarding{background:var(--bg)}.welcome-header{max-width:1080px;padding:22px 28px}.welcome-header>.text-btn{font-size:13px;min-height:44px}.welcome-hero{max-width:930px;margin:30px auto 60px;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:48px;padding:0 28px}.welcome-photo{height:480px;background-image:linear-gradient(0deg,#071316 0%,transparent 28%),url('./reference-onboarding.png');background-repeat:no-repeat;background-size:100% 100%,3657px 1290px;background-position:0 0,-32px -101px;border-radius:20px}.welcome-copy{position:relative}.welcome-copy h1{font-size:46px;line-height:1.08;letter-spacing:-1.5px}.welcome-copy h1 em{color:#52adff}.welcome-copy>p{font-size:16px;line-height:1.65;margin:24px 0 30px;color:var(--muted)}.welcome-copy>.btn{font-size:15px;max-width:none;min-height:52px}.welcome-login{display:flex;justify-content:center;width:100%;margin-top:8px}.welcome-values{display:flex;justify-content:space-between;gap:10px;margin-top:35px;font-size:12px;color:var(--muted)}
/* 02–06 — une colonne mobile, contenu progressif. */
.ux-flow{max-width:490px;margin:12px auto 55px;padding:0 24px}.flow-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted);margin-bottom:20px}.flow-top .icon-btn{border:0;margin-left:-10px}.ux-flow .steps{max-width:none;margin-bottom:26px}.ux-flow .onboarding-heading{margin:26px 0}.ux-flow .onboarding-heading h1,.start-flow h1{font-size:28px;line-height:1.2;letter-spacing:-.6px}.ux-flow .onboarding-heading p{font-size:14px;margin-top:12px}.coach-options{gap:12px}.coach-option{padding:17px 12px 15px;text-align:center;border-radius:13px;background:var(--surface);display:flex;align-items:center;flex-direction:column;min-height:214px}.coach-option:hover,.coach-option.selected,[data-theme=light] .coach-option.selected{background:var(--surface2);border-color:#1188f7}.coach-option.selected{box-shadow:0 0 0 1px #1188f7}.coach-option>strong{font-size:18px;margin-top:10px}.coach-option>span:not(.coach-portrait):not(.selected-mark){font-size:12px;color:var(--muted)}.coach-option p{font-size:12px;line-height:1.4;margin-top:10px}.coach-option .selected-mark{right:7px;top:6px;color:var(--blue)}.coach-option .selected-mark .icon{width:16px}.interview-panel{display:flex;flex-direction:column}.interview-messages{max-height:330px;overflow:auto;margin:22px 0 0;padding-right:5px;scrollbar-width:thin}.interview-messages .message{font-size:14px;max-width:93%;margin-bottom:12px;border-radius:13px;padding:13px 15px;white-space:normal}.message.assistant{background:var(--surface2);border:1px solid var(--line)}.message.user,[data-theme=light] .message.user{background:#0874db;color:#fff;border-color:#1188f7}.interview-messages .message.user{margin-left:auto}.question-progress{margin:8px 0}.interview-choices{display:flex;flex-wrap:wrap;gap:8px}.interview-choices .chip{margin:0;min-height:44px;padding:9px 14px;font-size:13px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:24px;background:transparent}.interview-choices .chip:hover{border-color:var(--blue)}.choice-check input{width:16px;height:16px;min-height:16px}.interview-panel .chat-input{margin-top:18px}.interview-panel .chat-input input{min-width:0}.interview-privacy{font-size:11px;line-height:1.5;margin-top:16px}.profile-summary{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:7px 13px}.summary-edit{display:flex;align-items:center;gap:14px;background:none;border:0;width:100%;text-align:left;min-height:67px;padding:10px 0;border-bottom:1px solid var(--line)}.summary-edit:last-child{border-bottom:0}.summary-edit>.icon:first-child{color:var(--blue);width:25px}.summary-edit>span:not(.coach-portrait){flex:1;min-width:0}.summary-edit small,.summary-edit strong{display:block;font-size:13px;overflow-wrap:anywhere}.summary-edit small{font-size:11px;color:var(--muted);font-weight:400}.summary-edit>.icon:last-child{width:17px;color:var(--muted)}.summary-edit>.coach-portrait{width:38px;height:38px}.auth-intro{text-align:center;margin:30px 0}.auth-intro h1{font-size:28px;margin-top:20px;letter-spacing:-.5px}.auth-intro p{font-size:14px;margin-top:16px;color:var(--muted)}.auth-card{padding:0;border:0;max-width:none;background:transparent}.social-button{min-height:49px;font-size:14px}.social-button.google{background:#fff;color:#122033;border-color:#dce4ef}.social-button.facebook{background:#1864bd;color:white;border-color:#2179df}.google-letter{color:#2879df}.social-unavailable{font-size:11px;margin-top:3px}.or{margin:20px 0}.email-option summary{list-style:none;cursor:pointer}.email-option summary::-webkit-details-marker{display:none}.start-flow{max-width:490px;margin:12px auto 30px}.start-flow .onboarding-heading{margin:25px 0}.start-options{display:grid;gap:14px}.start-option{border:1px solid var(--line);border-radius:13px;background:var(--surface);display:flex;align-items:center;gap:16px;min-height:106px;padding:20px;text-align:left}.start-option>span{flex:1}.start-option>span strong,.start-option>span small{display:block}.start-option>span strong{font-size:15px;line-height:1.35}.start-option>span small{font-size:12px;color:var(--muted);margin-top:6px}.start-option>.icon:first-child{width:28px;height:28px;color:var(--blue)}.start-option:first-child>.icon:first-child{color:#f0c751}.start-option:nth-child(3)>.icon:first-child{color:#b391ff}.start-option:hover{border-color:var(--blue)}
/* 07 — prochaine séance, semaine, progression récente. */
.today-screen{max-width:990px;margin:0 auto}.today-greeting{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 28px}.today-greeting h1{font-size:30px}.today-greeting p{font-size:14px;color:var(--muted);margin-top:12px;max-width:490px}.today-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px}.next-session{border:1px solid var(--line);border-radius:14px;padding:23px;background:linear-gradient(145deg,var(--surface2),var(--surface))}.next-session h2{font-size:26px;margin-top:5px}.next-session p{font-size:14px;color:var(--muted);margin-top:8px}.next-session small{display:block;font-size:12px;color:var(--muted);margin:4px 0}.next-session .btn{margin-top:22px}.next-session .last-session{font-size:11px;border-top:1px solid var(--line);padding-top:14px;margin-top:17px}.section-label h2{font-size:17px}.week-summary .section-label span{font-size:12px;color:var(--muted)}.week-dots{display:flex;gap:17px;flex-wrap:wrap}.week-dots>span{display:block;width:22px;height:22px;border-radius:50%;border:2px solid #517797;background:transparent}.week-dots>span.done{background:#1188f7;border-color:#1188f7}.metric-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.metric-line strong{white-space:nowrap}.today-secondary>.section-label:first-child{margin-top:0}.today-secondary .card{padding:18px}
/* 08–09 — vue d'ensemble, puis saisie focalisée. */
.workout-overview,.exercise-screen,.finish-screen,.summary-screen{max-width:510px;margin:0 auto}.workout-top{display:flex;align-items:center;gap:12px;margin-bottom:20px}.workout-top>div{flex:1;min-width:0}.workout-top h1{font-size:25px;overflow-wrap:anywhere}.workout-top p{font-size:12px;color:var(--muted);margin-top:4px}.workout-top>.icon-btn{border:0}.workout-top .text-btn{font-size:12px}.overview-progress{display:flex;align-items:center;gap:12px;margin:7px 0 22px}.overview-progress>span{font-size:12px;min-width:36px;color:var(--muted)}.overview-progress .workout-progress{flex:1;width:100%;margin:0;height:7px;border:0;accent-color:#1188f7}.workout-progress::-webkit-progress-value{background:#1188f7}.workout-list{display:grid;gap:10px}.workout-list-row{border:1px solid var(--line);border-radius:12px;background:var(--surface);display:flex;align-items:center;overflow:hidden}.workout-exercise-open{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left;padding:13px 10px;background:none;border:0;min-height:100px}.workout-exercise-open .number{display:grid;place-items:center;width:25px;height:25px;font-size:12px;flex-shrink:0;border-radius:50%;background:var(--surface3)}.workout-exercise-open .number .icon{width:17px}.workout-list-row.completed .number{color:var(--mint)}.workout-exercise-open .exercise-art{width:51px;height:57px}.exercise-list-copy{flex:1;min-width:0}.exercise-list-copy strong{font-size:14px;line-height:1.35;display:block}.exercise-list-copy small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.exercise-state{font-size:10px;color:var(--blue);display:block;margin-top:3px}.workout-exercise-open>.icon:last-child{width:15px}.reorder-controls{display:flex;flex-direction:column;border-left:1px solid var(--line)}.reorder-controls .icon-btn{width:38px;min-width:38px;height:44px;border:0;border-radius:0;font-size:18px}.overview-actions{margin-top:25px}.exercise-screen-heading{text-align:center}.exercise-screen-heading>.exercise-art{display:none}.exercise-screen-heading h1{font-size:26px;line-height:1.2}.exercise-screen-heading p{font-size:13px;color:var(--muted);margin-top:9px}.exercise-screen .previous{margin:20px 0 18px;font-size:12px;padding:13px;background:var(--surface);border:1px solid var(--line);border-radius:10px}.series-tabs{display:flex;gap:5px;border-radius:11px;overflow-x:auto;background:var(--surface);padding:4px;margin-bottom:23px}.series-tab{min-width:63px;min-height:44px;flex:1;display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px;border:0;border-radius:8px;background:none;color:var(--muted)}.series-tab.active{background:var(--action);color:#fff}.series-tab .icon{width:15px}.focused-set>label{display:block;font-size:14px;margin-bottom:8px}.focus-stepper{display:flex;gap:10px;margin-bottom:22px;width:100%;background:none;border:0;border-radius:0}.focus-stepper button{width:62px;min-width:62px;height:64px;border-radius:10px;background:var(--surface2);border:1px solid var(--line);font-size:32px;font-weight:400}.focus-stepper input{flex:1;min-width:0;width:auto;height:64px;font-size:29px;font-weight:650;text-align:center;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:8px;appearance:textfield}.focus-stepper input::-webkit-inner-spin-button,.focus-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.focused-set .set-check{width:100%;margin:0;height:50px;color:#fff}.focused-set.set-done .stepper input,.focused-set.set-done .stepper button,[data-theme=light] .focused-set.set-done .stepper input,[data-theme=light] .focused-set.set-done .stepper button{background:var(--surface2)}.set-saved-label{text-align:center;color:var(--mint);font-size:11px;margin-top:7px}.exercise-screen .timer,[data-theme=light] .exercise-screen .timer{padding:17px 0;border:0;background:transparent;margin:10px 0;display:flex;gap:14px}.exercise-screen .timer>strong{font-size:34px;color:var(--text)}.exercise-screen .timer-copy{font-size:12px;flex:1}.exercise-screen .timer-controls{display:flex;gap:6px}.timer-controls button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%}.exercise-screen .exercise-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border:0;margin:17px 0 5px;padding:0}.exercise-actions .btn{font-size:12px;padding:10px 8px;min-height:46px}.exercise-secondary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.exercise-secondary .text-btn{font-size:12px;min-height:44px}.exercise-details{color:var(--muted);font-size:12px;border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.exercise-details summary{padding:10px 0;cursor:pointer}.exercise-details p{margin-top:8px}
/* 10–14 — décisions courtes, alternatives, fin et résumé séparés. */
.occupied-intro{text-align:center;margin:10px auto 25px}.occupied-intro .exercise-art{width:95px;height:95px;border-radius:50%;margin:0 auto 20px}.occupied-intro h3{font-size:22px}.occupied-intro p{font-size:14px;color:var(--muted);margin-top:9px}.alternative{background:var(--surface);padding:18px;min-height:85px}.alternative>.icon{color:var(--blue);width:28px;height:28px}.alternative small{display:block;margin-top:6px}.alternative .exercise-art{width:70px;height:70px}.alternative-choice{margin-top:12px;display:inline-block;background:var(--action);padding:8px 12px;color:white;border-radius:8px;font-size:12px}.finish-screen{text-align:center;padding-top:30px}.finish-screen .completion-icon{width:100px;height:100px;margin:0 auto 25px;background:#12d49a12;border:1px solid #12d49a55;border-radius:50%;display:grid;place-items:center;color:#12d49a}.finish-screen .completion-icon .icon{width:54px;height:54px}.finish-screen h1{font-size:30px}.finish-screen>p{margin:20px 0;color:var(--muted);line-height:1.8}.finish-screen>p strong{color:var(--text)}.finish-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:30px 0}.finish-stats>div,.summary-metrics>div{padding:20px 10px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.finish-stats strong,.finish-stats span,.summary-metrics strong,.summary-metrics span{display:block}.finish-stats strong{font-size:23px;color:var(--mint)}.finish-stats span{font-size:11px;margin-top:7px;color:var(--muted)}.summary-screen h1{font-size:28px}.summary-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.summary-metrics strong{color:var(--mint);font-size:22px}.summary-metrics span{font-size:12px;color:var(--muted);margin-top:5px}.summary-screen .record-row small{display:block;color:var(--muted);font-size:11px}.proposal,[data-theme=light] .proposal{background:var(--surface2);border-color:var(--line)}.chat-suggestions .chip{min-height:44px}.chat-input{gap:8px}.chat-input input{min-width:0}
/* 15 — tendance puis détail. */
.progress-screen{max-width:740px;margin:0 auto}.progress-screen h1{font-size:28px}.period-tabs{display:flex;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:4px;margin:23px 0 16px;gap:4px}.period-tabs button{flex:1;background:none;border:0;border-radius:8px;min-height:44px;font-size:13px}.period-tabs button.active{background:var(--action);color:#fff}.progress-filters{display:grid;grid-template-columns:1fr 140px;gap:10px;margin-bottom:18px}.progress-filters label{font-size:12px;color:var(--muted)}.progress-filters select{margin-top:5px}.progress-chart{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:16px}.progress-chart svg{width:100%;height:auto;display:block;overflow:visible}.progress-chart text{fill:var(--muted);font-size:12px}.progress-chart .chart-grid{stroke:var(--line);stroke-width:1}.progress-chart .chart-line{fill:none;stroke:#1188f7;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.progress-chart circle{fill:#1188f7;stroke:var(--surface);stroke-width:2}.progress-chart circle:focus{outline:none;stroke:var(--text);stroke-width:3}.progress-chart circle:hover{fill:var(--text)}.progress-chart .chart-area{fill:#1188f716}.progress-data{font-size:12px;color:var(--muted);margin:14px 0}.progress-data summary{cursor:pointer;padding:10px 0}.progress-data table{width:100%;border-collapse:collapse}.progress-data th,.progress-data td{text-align:left;padding:8px;border-bottom:1px solid var(--line)}.progress-empty{padding:40px 10px;text-align:center;color:var(--muted)}
@media(min-width:701px){.mobile-coach{display:none}.exercise-screen{padding:0 20px}.welcome-login{font-size:13px}.ux-flow{margin-top:10px}.ux-onboarding .welcome-header{padding-bottom:8px}}
@media(max-width:900px){.today-layout{grid-template-columns:1fr}.today-secondary{margin-top:8px}.today-greeting h1{font-size:27px}}
@media(max-width:700px){
 body{font-size:14px}.main{padding:22px 20px 112px}.topbar{height:56px;padding:0 20px}.topbar .logo{font-size:19px}.topbar .logo img{width:27px;height:27px}.topbar-right>.avatar{display:none}.topbar-right .icon-btn{border:0;width:38px;height:38px;min-width:38px}.topbar .connection{font-size:9px}.mobile-nav{align-items:flex-end;padding:6px 5px calc(8px + env(safe-area-inset-bottom));min-height:72px}.mobile-nav>a{flex:1;min-width:0;padding:5px 1px;font-size:9px;gap:6px}.mobile-nav>a.active{color:var(--blue)}.mobile-coach{display:flex;align-items:center;justify-content:center;width:54px;height:54px;flex-shrink:0;align-self:center;margin:-17px 4px 0;border:4px solid var(--bg);border-radius:50%;background:var(--action);color:#fff;box-shadow:0 0 0 1px #1188f770}.mobile-coach .icon{width:24px;height:24px}.fab-coach{display:none}#toast{bottom:85px}.welcome-header{padding:15px 20px}.ux-welcome .welcome-header{position:absolute;top:0;left:0;right:0;z-index:2}.ux-welcome .welcome-header>.text-btn{display:none}.ux-welcome .logo{font-size:20px;color:white}.ux-welcome .logo img{width:32px;height:32px}.ux-welcome{max-width:480px;margin:0 auto;background:#071316;color:#f4f7f9;min-height:100dvh}.welcome-hero{margin:0;padding:0;display:flex;flex-direction:column;gap:0;align-items:stretch;min-height:100dvh}.welcome-photo{width:100%;height:350px;flex-shrink:0;border-radius:0;background-size:100% 100%,2925.6px 1032px;background-position:0 0,-24px -77px;background-image:linear-gradient(0deg,#071316 0%,#07131600 40%),url('./reference-onboarding.png')}.welcome-copy{padding:0 24px 24px;margin-top:-34px;text-align:left;flex:1;display:flex;flex-direction:column;justify-content:flex-start}.welcome-copy h1{font-size:38px;letter-spacing:-1.2px;line-height:1.06}.welcome-copy>p{font-size:14px;line-height:1.6;margin:19px 0 24px;color:#c5ced6}.welcome-copy>.btn{min-height:51px;width:100%;max-width:none;font-size:14px}.welcome-copy>.welcome-login{font-size:12px;width:100%;min-height:44px}.welcome-values{margin-top:auto;padding-top:24px;font-size:10px;color:#bbc8d5}.ux-onboarding .welcome-header{padding:12px 20px}.ux-onboarding .welcome-header .logo{font-size:20px}.ux-onboarding .welcome-header .logo img{width:29px;height:29px}.ux-flow{margin:0 auto 30px;padding:0 20px}.flow-top{margin-bottom:12px}.ux-flow .steps{margin-bottom:20px}.ux-flow .onboarding-heading{margin:22px 0}.ux-flow .onboarding-heading h1{font-size:26px}.coach-option{min-height:207px;padding:15px 10px}.coach-option p{font-size:11px}.coach-option>strong{font-size:17px}.interview-messages{max-height:260px}.interview-privacy{font-size:10px}.auth-intro{margin-top:20px}.auth-intro h1{font-size:26px}.today-greeting{margin:2px 0 22px;gap:14px}.today-greeting h1{font-size:25px;line-height:1.15}.today-greeting p{font-size:13px;line-height:1.6;max-width:260px;margin-top:10px}.today-greeting .coach-portrait{width:48px;height:48px}.today-layout{gap:24px}.next-session{padding:18px}.next-session h2{font-size:25px}.next-session .exercise-art{width:65px;height:75px}.next-session .btn{margin-top:18px}.week-summary .section-label{margin:25px 0 14px}.recent-progress .section-label{margin:25px 0 6px}.today-secondary{margin-top:10px}.start-flow{margin-top:5px}.start-flow h1{font-size:27px}.start-option{padding:17px;min-height:105px}.workout-top h1{font-size:23px}.workout-exercise-open{gap:8px;padding:12px 8px}.workout-exercise-open .exercise-art{width:44px;height:52px}.workout-exercise-open .number{width:22px;height:22px;font-size:11px}.exercise-list-copy strong{font-size:13px}.workout-exercise-open>.icon:last-child{display:none}.reorder-controls .icon-btn{width:32px;min-width:32px}.exercise-screen-heading h1{font-size:25px}.exercise-screen .previous{font-size:11px;margin:17px 0}.focus-stepper button{width:59px;min-width:59px;height:62px}.focus-stepper input{height:62px;font-size:28px;min-width:0;width:80px}.series-tabs{margin-bottom:19px}.focused-set>label{font-size:13px}.focus-stepper{margin-bottom:20px}.exercise-screen .exercise-actions .btn{padding:10px 5px;font-size:12px}.exercise-screen .timer strong{font-size:30px}.finish-screen{padding-top:27px}.finish-screen h1{font-size:27px}.finish-stats{gap:8px}.finish-stats>div{padding:19px 8px}.finish-stats strong{font-size:22px}.finish-stats span{font-size:10px}.summary-screen h1{font-size:26px}.progress-filters{grid-template-columns:minmax(0,1fr) 120px}.progress-chart{padding:12px}.progress-screen h1{font-size:27px}
}
@media(max-width:360px){.main,.ux-flow{padding-left:16px;padding-right:16px}.welcome-photo{height:300px;background-size:100% 100%,2608.7px 920.2px;background-position:0 0,-22px -72px}.welcome-copy h1{font-size:35px}.coach-option{min-height:220px}.workout-exercise-open .exercise-art{display:none}.series-tab{min-width:60px}.exercise-screen .timer{gap:8px}.timer-controls{gap:3px}}

/* Ajustements après comparaison des captures aux planches. */
.focused-set .set-check{display:flex;align-items:center;justify-content:center;gap:8px}
.focus-stepper button:first-child,.focus-stepper button:last-child{border-radius:10px}
.focus-stepper input{border:1px solid var(--line);border-radius:10px}
.welcome-photo{background-position:0 0,-32px -170px}
@media(max-width:700px){
 .welcome-photo{background-position:0 0,-24px -137px}
 .mobile-nav .nav-link{display:grid;justify-content:center;align-content:center;border:0;min-height:54px;background:transparent;padding:4px 0}
 .mobile-nav .nav-link span{display:block;font-size:10px}
 .mobile-nav .nav-link.active{background:transparent}
 .workout-top{margin-bottom:12px}
 .exercise-screen-heading p{margin-top:6px}
 .exercise-screen .previous{padding:9px 10px;margin:12px 0}
 .series-tabs{margin-bottom:14px}
 .series-tab{min-height:40px}
 .focused-set>label{margin-bottom:6px}
 .focus-stepper{margin-bottom:14px}
 .focus-stepper button,.focus-stepper input{height:56px;min-height:56px}
 .exercise-screen .timer{min-height:61px;margin:8px 0;padding:8px 0}
 .exercise-screen .timer .timer-copy{font-size:12px}
 .exercise-screen .exercise-actions{margin-top:8px}
 .exercise-screen .previous+.series-tabs{margin-top:0}
}
@media(max-width:360px){.welcome-photo{background-position:0 0,-22px -118px}.mobile-nav .nav-link span{font-size:9px}}

.main{animation:none}
@media(max-width:700px){
 .exercise-screen .series-tabs{padding:3px}
 .exercise-screen .workout-top{margin-bottom:9px}
 .exercise-screen .exercise-screen-heading h1{font-size:23px}
 .exercise-screen .previous{margin:10px 0;padding:8px 10px}
 .exercise-screen .focus-stepper{margin-bottom:12px}
 .exercise-screen .timer{margin:5px 0;padding:6px 0}
 .workout-exercise-open{min-height:84px;padding:10px 8px}
 .reorder-controls .icon-btn{height:42px}
 .overview-actions{position:sticky;bottom:75px;background:var(--bg);padding:10px 0;z-index:3}
 .overview-actions>.secondary{min-height:40px;padding:7px;font-size:12px}
}

.reorder-controls .icon-btn{min-height:44px}
.welcome-photo,.ux-welcome .welcome-photo{background-image:linear-gradient(0deg,#071316 0%,#071316 22%,transparent 55%),url("./reference-onboarding.png")}.progress-chart text{font-size:20px}

.journal-source{overflow-wrap:anywhere}.journal-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.journal-table table{border-collapse:collapse;width:100%;font-size:12px}.journal-table th,.journal-table td{padding:10px 5px;text-align:left;border-bottom:1px solid var(--line)}.journal-table th{font-size:11px;color:var(--muted)}.journal-details summary{cursor:pointer;min-height:44px;padding:10px 0}.journal-details .program-day{padding:15px 0}
