:root{--bg:#0b0c10;--surface:#12151b;--panel:#171b22;--panel2:#1b2029;--line:#2b303a;--soft:#9ca4b2;--text:#f6f7f9;--hot:#ff654e;--hot2:#db453c;--good:#7fe0b8;--warn:#f4b76c;--radius:21px;--shadow:0 18px 60px #0004;color-scheme:dark}
*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--hot);outline-offset:3px}input,textarea,select{color:var(--text);background:#0e1116;border:1px solid #323842;border-radius:13px;padding:13px 14px;width:100%;min-height:46px;font-size:16px}input:focus,select:focus,textarea:focus{border-color:var(--hot);outline:1px solid #ff654e40}input[type='date']{color-scheme:dark}input::placeholder{color:#798292}input[type='number']{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button{appearance:none}label{font-size:12px;color:#b8c0cc;font-weight:700;display:block;margin-bottom:7px;letter-spacing:.01em}svg{display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif;letter-spacing:-.04em}h1{font-size:clamp(28px,6.5vw,39px);line-height:1.13;font-weight:800}h2{font-size:23px;font-weight:800}h3{font-size:16px;font-weight:800}p{line-height:1.5}.sub{color:var(--soft);font-size:13px;line-height:1.55}.micro{color:var(--soft);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:800}.small{font-size:12px}.strong{font-weight:800}.muted{color:var(--soft)}.hot{color:var(--hot)}.good{color:var(--good)}.warn{color:var(--warn)}.mono{font-variant-numeric:tabular-nums}.boot{min-height:100svh;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:20px;color:#9ea5b0}.brandmark{font:900 42px Manrope;letter-spacing:-.13em;color:white}.brandmark span{color:var(--hot)}
.shell{max-width:1160px;min-height:100svh;margin:auto;display:flex}.side{width:224px;padding:31px 17px;flex-shrink:0;border-right:1px solid #20252d;display:none;position:sticky;top:0;align-self:flex-start;height:100vh}.side .logo{padding:3px 14px 34px}.sidebar-link{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:6px;border-radius:13px;background:transparent;border:0;color:#aab1bb;font-weight:700;width:100%;text-align:left}.sidebar-link.active{background:var(--panel2);color:white}.sidebar-link.active svg{color:var(--hot)}.side-foot{position:absolute;bottom:30px;padding-left:13px}.main{flex:1;min-width:0;padding-bottom:112px}.content{max-width:760px;margin:0 auto;padding:14px 20px 40px}.topbar{max-width:760px;margin:auto;padding:22px 20px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.logo{display:flex;gap:9px;align-items:center;font:800 20px Manrope;letter-spacing:-.06em}.logo-emblem{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:var(--hot);font-weight:900;color:#170c0b;font-size:20px;letter-spacing:-.07em}.top-actions{display:flex;align-items:center;gap:8px}.avatar{border:1px solid #414852;background:var(--panel2);color:white;border-radius:50%;width:37px;height:37px;display:grid;place-items:center;font-weight:800}.iconbtn{border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;background:var(--surface);color:var(--text);width:42px;height:42px}.badge{font-size:10px;font-weight:800;letter-spacing:.05em;white-space:nowrap;background:#292b30;color:#d8dce2;padding:6px 9px;border-radius:100px}.badge.hotbadge{background:#ff654e21;color:#ff9d8f}.badge.greenbadge{background:#7fe0b820;color:var(--good)}.badge.gold{background:#f4b76c1d;color:var(--warn)}.bottomnav{position:fixed;z-index:20;bottom:0;left:0;right:0;background:#101218f5;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-top:1px solid #292d37;display:flex;padding:10px max(9px,env(safe-area-inset-left)) calc(11px + env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-right));justify-content:space-around}.bottomnav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;background:transparent;color:#888f9d;border:0;padding:4px 7px;flex:1;font-size:10px;font-weight:800;min-height:49px}.bottomnav button.active{color:var(--hot)}.bottomnav svg{width:22px;height:22px}
.sectionhead{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:8px 0 17px}.sectionhead h2{margin:3px 0 0}.space{height:20px}.space-sm{height:12px}.eyebrow{color:var(--hot);font-size:11px;letter-spacing:.12em;font-weight:800;text-transform:uppercase;margin-bottom:9px}.page-intro{padding-top:13px;padding-bottom:26px}.page-intro .sub{margin-top:10px;max-width:430px}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:18px;box-shadow:0 4px 20px #0000000a}.card + .card{margin-top:12px}.cards{display:grid;gap:12px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.surface2{background:var(--panel)}.strong-card{background:linear-gradient(142deg,#252128,#171a22 65%);border-color:#463333;position:relative;overflow:hidden}.strong-card:before{content:'';position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#ff654e2c,transparent 70%);right:-100px;top:-105px;pointer-events:none}.hero{border-radius:27px;background:radial-gradient(circle at 94% 15%,#ab312d5c,transparent 44%),linear-gradient(135deg,#2a1b21,#171a22 72%);border:1px solid #58353b;padding:25px 22px;position:relative;overflow:hidden}.hero h1{max-width:410px}.hero p{font-size:13px;color:#c6c4c9;margin:11px 0 21px}.hero .eyebrow{color:#ffb5a8}.hero-decor{position:absolute;right:-20px;bottom:32px;opacity:.07;transform:rotate(-18deg);pointer-events:none}.btn{border:0;min-height:47px;padding:13px 17px;display:inline-flex;gap:9px;align-items:center;justify-content:center;border-radius:13px;font-size:14px;font-weight:800;background:var(--hot);color:#171113;transition:transform .1s ease,background .15s ease;text-decoration:none}.btn:active{transform:scale(.98)}.btn:hover{background:#ff806d}.btn.secondary{background:#272c36;color:#fff;border:1px solid #333a46}.btn.secondary:hover{background:#343a45}.btn.ghost{background:transparent;border:1px solid var(--line);color:#d8dce3}.btn.smallbtn{min-height:37px;padding:8px 12px;font-size:12px;border-radius:10px}.btn.danger{background:#452226;color:#ff9ca0}.btn.full{width:100%}.btn:disabled{opacity:.5;cursor:not-allowed}.flex{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:10px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:11px}.stat{padding:18px 15px}.stat .big{font:800 24px Manrope;letter-spacing:-.05em;margin-top:9px}.stat .hint{margin-top:7px;font-size:11px;color:var(--soft)}.empty{text-align:center;padding:34px 20px}.empty .empty-icon{background:#29202a;color:var(--hot);border-radius:18px;display:grid;place-items:center;width:58px;height:58px;margin:0 auto 15px}.empty h3{font-size:18px}.empty p{font-size:13px;color:var(--soft);max-width:305px;margin:9px auto 18px}.listrow{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #292e37}.listrow:last-child{border:0;padding-bottom:0}.listrow:first-child{padding-top:0}.rowicon{background:#292d35;color:var(--hot);width:44px;height:44px;border-radius:13px;flex-shrink:0;display:grid;place-items:center}.rowtext{flex:1;min-width:0}.rowtext strong{font-size:14px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.rowtext small{color:var(--soft);font-size:12px;display:block;margin-top:4px}.linkbtn{border:0;background:none;color:var(--hot);font-size:12px;font-weight:800;padding:7px 0}.line{height:1px;background:var(--line);margin:18px 0}.tabline{display:flex;background:var(--panel);border:1px solid var(--line);padding:5px;border-radius:14px;gap:3px;margin-bottom:16px}.tabline button{flex:1;min-width:0;border:0;border-radius:10px;background:transparent;color:#9da6b4;padding:10px 8px;font-size:12px;font-weight:800;min-height:39px}.tabline .active{color:#fff;background:#323844}.fieldgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{min-width:0}.field.wide{grid-column:span 2}.fieldrow{margin:0 0 15px}.fieldrow label{margin-bottom:8px}.hintline{font-size:11px;color:var(--soft);margin-top:7px}.pillset{display:flex;flex-wrap:wrap;gap:8px}.pick{border:1px solid #3a404a;color:#cdd4de;background:#1b2027;border-radius:13px;padding:11px 14px;font-weight:700;font-size:13px;min-height:43px}.pick.selected{background:#ff654e26;color:#ffb9aa;border-color:#ed6e5f}.onboard{max-width:440px;margin:0 auto;padding:34px 23px 90px;min-height:100svh}.onboard .logo{margin-bottom:54px}.onboard h1{font-size:33px}.onboard p{color:#a8afba;margin:11px 0 27px;font-size:14px}.onboard .btn{margin-top:11px}.onboard .quiet{font-size:12px;color:#868c96;margin-top:18px}.auth-page{min-height:100svh;background:radial-gradient(circle at 20% 4%,#6d2b293b,transparent 34%),#0b0c10;display:flex;align-items:center;justify-content:center;padding:25px}.auth-card{max-width:440px;width:100%}.auth-brand{margin-bottom:48px}.auth-title h1{font-size:34px}.auth-title p{font-size:14px;color:#aeb4bf;margin-top:11px;margin-bottom:27px}.auth-form .fieldrow{margin-bottom:16px}.auth-legal{font-size:11px;color:#929aa6;margin-top:23px;line-height:1.5}.auth-footer{border-top:1px solid var(--line);margin-top:30px;padding-top:18px;color:#aeb5c0;font-size:13px;text-align:center}.auth-footer button{background:none;color:var(--hot);border:0;font-weight:800}.auth-banner{display:flex;align-items:center;gap:9px;padding:12px 14px;border-radius:12px;background:#413027;color:#ffc0a8;font-size:12px;margin:0 0 15px}
.worktop{display:flex;align-items:center;gap:12px;margin-bottom:21px}.worktop button{border:1px solid #3b424b;background:#1b2028;color:#fff;border-radius:13px;width:42px;height:42px;display:grid;place-items:center}.worktop .worktime{margin-left:auto;color:var(--hot);font-weight:800;font-variant-numeric:tabular-nums}.sessioncard{padding:15px 13px;margin-bottom:11px}.ex-title{display:flex;align-items:center;gap:10px;padding:2px 2px 14px}.ex-num{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:#ff654e20;color:var(--hot);font-size:12px;font-weight:800}.ex-title h3{font-size:15px;line-height:1.35}.ex-title .sub{font-size:11px;margin-top:2px}.set-header,.set-row{display:grid;grid-template-columns:30px 1fr 1fr 43px;gap:8px;align-items:center}.set-header{font-size:10px;text-align:center;color:#9299a7;font-weight:800;padding:0 1px 9px}.set-row{margin-bottom:9px}.set-index{text-align:center;color:#acb5bf;font-size:12px;font-weight:800}.set-row input{height:46px;min-height:46px;padding:8px;font-size:16px;text-align:center;border-radius:10px;font-weight:800}.set-check{width:43px;height:44px;display:grid;place-items:center;border:1px solid #414856;color:#b8c1ce;background:#282d36;border-radius:12px}.set-check.done{background:#238469;color:#f5fff9;border-color:#238469}.prior{font-size:11px;color:#8b95a3;padding:10px 3px}.set-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 2px 0}.restbanner{background:#183c35;color:#a6e7d2;border:1px solid #236c5c;padding:12px 14px;border-radius:12px;margin:12px 0;font-size:12px;display:flex;justify-content:space-between;align-items:center}.session-footer{position:sticky;bottom:76px;display:flex;gap:10px;z-index:10;background:linear-gradient(transparent,#0b0c10 30%);padding-top:25px}.session-footer button{flex:1}.toggle-advanced{color:#9fabba;font-size:11px;font-weight:700;display:flex;align-items:center;gap:6px}.advanced-row{display:flex;align-items:center;gap:9px;padding:9px 0 2px}.advanced-row .smallselect{max-width:115px;min-height:36px;padding:7px 9px;font-size:12px}.mini-label{font-size:11px;color:#a6aeb7}.ex-list{max-height:370px;overflow:auto;padding:0 4px}.exitem{width:100%;border:0;background:transparent;color:inherit;text-align:left;display:flex;align-items:center;gap:10px;padding:12px 2px;border-bottom:1px solid var(--line)}.exitem:last-child{border:0}.exitem .rowicon{width:37px;height:37px}.exitem .rowtext small{font-size:11px}
.modal-bg{position:fixed;inset:0;background:#000a;backdrop-filter:blur(8px);z-index:30;display:flex;align-items:end;justify-content:center}.modal{width:100%;max-width:540px;background:#171a21;border:1px solid #424650;border-bottom:0;box-shadow:0 -20px 80px #0009;border-radius:27px 27px 0 0;padding:17px 20px calc(20px + env(safe-area-inset-bottom));max-height:92svh;overflow:auto}.modal-handle{width:42px;height:4px;background:#4e535d;border-radius:99px;margin:0 auto 23px}.modal-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:10px}.modal-title h2{font-size:21px}.modal-x{border:0;background:#30343d;border-radius:10px;color:white;width:34px;height:34px;display:grid;place-items:center}.modal .btn.full{margin-top:10px}.toast{position:fixed;bottom:105px;left:50%;transform:translateX(-50%) translateY(20px);background:#2b3434;color:#e5fcf4;border:1px solid #4e7b70;border-radius:12px;padding:13px 17px;font-size:12px;font-weight:700;max-width:90%;box-shadow:var(--shadow);z-index:70;opacity:0;pointer-events:none;transition:.2s}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.chart{width:100%;height:auto;display:block;overflow:visible}.chart text{fill:#8d97a7;font-size:11px;font-family:DM Sans}.graph-grid{stroke:#343a43;stroke-dasharray:4 6}.metricrow{display:flex;gap:13px;flex-wrap:wrap}.metricrow div{flex:1;min-width:90px}.metricrow b{font:800 21px Manrope;letter-spacing:-.05em;display:block}.metricrow small{font-size:10px;color:var(--soft)}.macro{margin-bottom:14px}.macrohead{display:flex;justify-content:space-between;font-size:12px;font-weight:700;margin-bottom:7px}.progressbar{background:#30353f;border-radius:99px;height:7px;overflow:hidden}.progressbar span{display:block;height:100%;background:var(--hot);border-radius:99px;transition:width .25s}.calring{border-radius:50%;height:128px;width:128px;background:conic-gradient(var(--hot) var(--fill),#2b3038 0);display:grid;place-items:center;position:relative;flex-shrink:0}.calring:before{content:'';background:var(--surface);position:absolute;inset:12px;border-radius:50%}.calring .ringinner{position:relative;z-index:1;text-align:center}.calring .ringinner strong{font:800 25px Manrope;display:block;letter-spacing:-.06em}.calring .ringinner small{font-size:11px;color:var(--soft)}.settingsrow{padding:17px 0;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center}.settingsrow:last-child{border:0}.settingsrow .rowtext{flex:1}.guide{border:1px dashed #55505b;border-radius:17px;background:#241c23;padding:16px;margin:16px 0}.tip{font-size:12px;color:#b0b7c1;line-height:1.6}.error{background:#47252a;color:#ffb3b3;border:1px solid #8a4b53;padding:12px;border-radius:12px;font-size:12px;margin:13px 0}.syncdot{width:7px;height:7px;background:var(--good);border-radius:50%;display:inline-block;margin-right:5px}.syncdot.off{background:#e3a36c}.desktop-right{display:none}.auth-demo-note{background:#29201e;color:#ffb5a8;padding:10px 12px;border-radius:11px;margin-top:15px;font-size:12px}.info-line{background:#1c2429;border:1px solid #3b4850;padding:12px;border-radius:12px;color:#b6c8d1;font-size:12px;line-height:1.5}.soft-chip{font-size:11px;color:#c4cbd4;padding:6px 9px;background:#292d35;border:1px solid #343a44;border-radius:99px}.scrollx{overflow:auto}.workout-name{font-size:25px}.set-done-counter{background:#284438;color:#a7ebcb;font-size:11px;border-radius:9px;padding:6px 9px;font-weight:800}
@media (min-width:840px){.side{display:block}.main{padding-bottom:32px}.content,.topbar{max-width:830px}.topbar{padding-top:35px}.content{padding-top:15px}.bottomnav{display:none}.sectionhead h2{font-size:27px}.page-intro{padding-top:22px}.hero{padding:37px}.hero h1{font-size:40px}.cards.two{grid-template-columns:1fr 1fr}.modal-bg{align-items:center}.modal{border:1px solid #424650;border-radius:25px;max-height:88vh}.session-footer{bottom:6px}.auth-page{padding:30px}}
@media (max-width:359px){.content,.topbar{padding-left:13px;padding-right:13px}.card{padding:15px}.hero{padding:20px 16px}.set-header,.set-row{grid-template-columns:23px 1fr 1fr 40px;gap:5px}.set-check{width:39px}.grid2{gap:8px}.btn{font-size:12px;padding:12px}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Notification discrète : nouvelle version disponible lorsque l'athlète peut actualiser. */
.release-banner{position:fixed;z-index:1200;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(520px,calc(100% - 24px));display:flex;align-items:center;justify-content:space-between;gap:12px;background:#25191d;border:1px solid #ee6555;border-radius:15px;padding:12px 14px;color:#fff;box-shadow:0 12px 36px #000a;font-size:13px;line-height:1.4}
.release-banner button{border:0;border-radius:10px;background:#ef6959;color:#151515;padding:10px 12px;white-space:nowrap;font:800 12px Manrope,sans-serif;cursor:pointer}
@media (min-width:850px){.release-banner{bottom:24px}}

/* ========================================================================
   PERFSLAB V14 · ATLAS SETUP — guided, optional first-run personalization.
   Every screen is usable with touch, keyboard, and desktop navigation.
   ======================================================================== */
.setup-page{--setup-ink:#f9f5f2;--setup-faint:#9a9daa;--setup-coral:#ff725f;--setup-mint:#8ce5c4;position:relative;min-height:100svh;overflow:hidden;background:#0a0c11;color:var(--setup-ink);isolation:isolate}
.setup-bg-orb{position:fixed;pointer-events:none;filter:blur(60px);border-radius:50%;z-index:-1;opacity:.55}.setup-bg-orb-a{width:420px;height:420px;top:-220px;right:-150px;background:#e359493c}.setup-bg-orb-b{width:340px;height:340px;bottom:-240px;left:-100px;background:#378c7440}
.setup-shell{max-width:1090px;margin:0 auto;padding:23px 22px 24px;min-height:100svh;display:flex;flex-direction:column}
.setup-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px;min-height:42px}.setup-header .logo{font-size:18px;letter-spacing:-.04em}.setup-header .logo-emblem{border-radius:11px;width:35px;height:35px;font-size:22px;background:linear-gradient(135deg,#ff9378,#f0594e)}.setup-badge{color:#f8afa0;border:1px solid #b54d4847;background:#7f3d3929;border-radius:20px;padding:7px 9px;letter-spacing:.11em;font:800 9px 'DM Sans',sans-serif;white-space:nowrap}.setup-header-right{display:flex;align-items:center;gap:7px;color:#949ba8;font-size:11px;font-weight:650;white-space:nowrap}.setup-header-right button{border:1px solid #3b424b;background:#242832;color:#e8ebef;border-radius:11px;padding:8px 11px;display:flex;align-items:center;gap:6px}
.setup-grid{flex:1;display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);min-height:640px;box-shadow:0 34px 90px #0008;border:1px solid #ffffff19;border-radius:27px;overflow:hidden;background:#13161ded}
.setup-visual{background:radial-gradient(ellipse at 50% 42%,#60291e7b,transparent 56%),linear-gradient(155deg,#281a1c 0%,#171c25 48%,#111719 100%);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:26px;border-right:1px solid #ffffff1d;min-height:550px}
.setup-visual:before{content:'';position:absolute;inset:0;opacity:.34;pointer-events:none;background-image:linear-gradient(#fff1 1px,transparent 1px),linear-gradient(90deg,#fff1 1px,transparent 1px);background-size:45px 45px;mask-image:linear-gradient(0deg,transparent,black 26%,black 65%,transparent)}
.setup-visual-top,.setup-visual-bottom{position:relative;z-index:2;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.setup-serial{font-size:9px;letter-spacing:.15em;color:#b6abb0;font-weight:800}.setup-visual-top .setup-serial:last-child{color:#f2a59a}
.setup-graphic{height:350px;display:grid;place-items:center;position:relative;flex:1;min-height:250px}.setup-graphic:before{content:'';position:absolute;width:265px;height:265px;border-radius:50%;background:radial-gradient(circle,#ec635823,transparent 70%);filter:blur(15px)}
.setup-graphic-ring{position:absolute;width:232px;height:232px;border-radius:50%;border:1px solid #f9a38d40;box-shadow:inset 0 0 0 21px #fff0,0 0 80px #ff654e12;animation:setupRotate 26s linear infinite}.setup-graphic-ring.ring-one:before,.setup-graphic-ring.ring-two:before{content:'';position:absolute;top:-3px;left:48%;width:7px;height:7px;background:#ffb196;border-radius:50%;box-shadow:0 0 20px #ff715e}.setup-graphic-ring.ring-two{width:285px;height:285px;border-color:#ffffff1d;border-style:dashed;animation-direction:reverse;animation-duration:39s}
.setup-graphic-core{width:165px;height:165px;border-radius:50%;background:linear-gradient(145deg,#f47b68,#e54d43);color:#151015;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:2;box-shadow:0 0 0 12px #f479631c,0 21px 62px #e452485c}.setup-graphic-core span{font-size:14px;letter-spacing:.36em;font-weight:900}.setup-graphic-core strong{font:900 70px/1 Manrope,sans-serif;letter-spacing:-.09em;margin-top:2px}.setup-graphic-core small{font-size:9px;font-weight:800;letter-spacing:.2em}
.setup-graph-dot{position:absolute;width:8px;height:8px;background:#c5ffe2;border-radius:50%;box-shadow:0 0 23px #a5ffce;z-index:4}.setup-graph-dot.dot-one{top:21%;left:19%}.setup-graph-dot.dot-two{right:21%;bottom:22%;height:6px;width:6px}.setup-graph-dot.dot-three{left:29%;bottom:24%;height:5px;width:5px;background:#ffb497}
.setup-visual-bottom{align-items:flex-end}.setup-visual-number{font:900 65px/.9 Manrope,sans-serif;letter-spacing:-.09em;color:#ff8e77}.setup-visual-number span{font-size:19px;vertical-align:top;margin-left:3px}.setup-visual-bottom strong{display:block;font-size:12px;letter-spacing:.02em}.setup-visual-bottom p{color:#a8aab1;font-size:11px;margin-top:7px;line-height:1.65}
.setup-content{padding:31px clamp(23px,4.5vw,55px) 29px;display:flex;flex-direction:column;min-width:0;min-height:630px}.setup-topline{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:.09em;color:#c0bdc1;text-transform:uppercase}.setup-topline span:last-child{color:#ffae9b;white-space:nowrap}.setup-progress{display:flex;gap:6px;margin:16px 0 35px;height:4px}.setup-progress span{height:4px;flex:1;background:#313641;border-radius:9px;transition:background .25s}.setup-progress span.active{background:linear-gradient(90deg,#f16f63,#ffb28d)}
.setup-main{flex:1}.setup-kicker{color:#ffae9f;letter-spacing:.11em;font-size:10px;font-weight:800;display:flex;align-items:center;gap:8px;margin-bottom:17px}.setup-kicker-dot{width:6px;height:6px;border-radius:50%;background:#ff9b82;box-shadow:0 0 14px #ff9b82}.setup-main h1{font:850 clamp(31px,4vw,47px)/1.08 Manrope,'DM Sans',sans-serif;letter-spacing:-.065em;color:#fcf8f5;max-width:470px}.setup-desc{font-size:13px;color:#a9aab6;max-width:430px;line-height:1.72;margin-top:16px}.setup-body{margin-top:29px;margin-bottom:25px;animation:setupIn .34s ease both}.setup-info{display:flex;align-items:flex-start;gap:10px;margin-top:16px;border:1px solid #3e4751;background:#212830;border-radius:13px;color:#b9c5cf;padding:13px 14px;font-size:11px;line-height:1.6}.setup-info svg{flex-shrink:0;color:#9ae6cf}.setup-info.success{border-color:#31695570;background:#163d3366;color:#b9edd9}
.setup-intro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.setup-intro-grid div{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;background:#1e252e;border:1px solid #38404a;border-radius:15px;padding:17px 12px;min-height:125px}.setup-intro-grid svg{color:#fd917b}.setup-intro-grid strong{font-size:12px}.setup-intro-grid small{font-size:10px;color:#9fa8b3;line-height:1.45}
.setup-field{margin:0 0 18px}.setup-field label{font-size:12px;color:#d9dce1;letter-spacing:.01em;margin-bottom:10px}.setup-field input{background:#1c222b;border:1px solid #414750;border-radius:14px;padding:14px 16px;font-size:15px;min-height:52px}.setup-field input:focus{border-color:#ff937e;background:#24252b}.setup-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.setup-duo .setup-field{min-width:0}.setup-duo input{min-width:0}.setup-hint{font-size:11px;color:#a5a5b3;line-height:1.6;margin:7px 0 0}.setup-hidden-submit{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.setup-options{display:grid;gap:10px}.setup-options-mini{gap:8px}.setup-choice{display:flex;align-items:center;gap:13px;text-align:left;width:100%;border:1px solid #3a424d;background:#1c222b;color:#f3f3f3;border-radius:16px;padding:14px 13px;transition:border-color .17s,background .17s,transform .17s;min-height:76px}.setup-choice:hover{border-color:#f07d6b8c;background:#272b33;transform:translateY(-1px)}.setup-choice.chosen{background:linear-gradient(107deg,#432a2b,#282831);border-color:#f77d69;box-shadow:inset 0 0 0 1px #ff70542a}.setup-choice-icon{width:43px;height:43px;border-radius:13px;background:#312d33;color:#fba08b;flex-shrink:0;display:grid;place-items:center}.setup-choice.chosen .setup-choice-icon{background:#ff735d33;color:#ffbca9}.setup-choice-copy{display:grid;gap:4px;flex:1;min-width:0}.setup-choice-copy strong{font-size:13px;font-weight:800}.setup-choice-copy small{font-size:11px;color:#a7adba;line-height:1.4}.setup-choice-check{display:grid;place-items:center;color:#647282}.setup-choice.chosen .setup-choice-check{color:#ff917b}
.setup-number-row{display:flex;gap:8px}.setup-number{flex:1;min-width:0;border-radius:14px;min-height:53px;border:1px solid #454951;background:#1e242c;color:#e9ecf0;font-weight:850;font-size:17px}.setup-number.chosen{border-color:#ff937e;color:#ffaf9a;background:#4a2928}
.setup-review{display:grid;gap:9px}.setup-review>div{border:1px solid #38414a;background:#1c232c;border-radius:13px;min-height:70px;display:grid;grid-template-columns:38px 1fr auto 28px;gap:10px;align-items:center;padding:12px}.setup-review>div>span{width:36px;height:36px;display:grid;place-items:center;background:#3c3132;border-radius:10px;color:#ffa48d}.setup-review strong{font-size:12px}.setup-review em{font-size:12px;font-style:normal;color:#d3d1d3;text-align:right}.setup-review button{border:0;background:transparent;color:#dca495;padding:4px;display:grid;place-items:center}
.setup-footer{padding-top:21px;border-top:1px solid #35363e;margin-top:auto}.setup-buttons{display:flex;align-items:center;gap:9px}.setup-primary{display:flex;flex:1;justify-content:center;align-items:center;gap:9px;color:#1b1010;background:linear-gradient(118deg,#ff9d7e,#ff7765);border:0;border-radius:15px;min-height:55px;padding:12px 13px;font:850 13px Manrope,sans-serif;box-shadow:0 10px 30px #f36e4d24;transition:transform .16s,filter .16s}.setup-primary:hover{transform:translateY(-1px);filter:brightness(1.05)}.setup-primary:active{transform:translateY(1px)}.setup-back{width:54px;min-height:55px;display:grid;place-items:center;flex-shrink:0;border:1px solid #3c444d;border-radius:15px;color:#d7dde5;background:#20252e}.setup-skip{margin:11px auto 0;background:none;border:0;color:#c0bec1;min-height:36px;padding:7px 12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:750}.setup-skip:hover{color:#fff}.setup-smallnote{text-align:center;color:#838b99;font-size:10px;line-height:1.5;margin-top:8px}.setup-home-goals{display:flex;flex-wrap:wrap;gap:1px;background:#383139;border:1px solid #46353b;border-radius:17px;overflow:hidden}.setup-home-goals>div{background:linear-gradient(145deg,#2d2227,#211d24);flex:1;min-width:125px;padding:15px 13px}.setup-home-goals strong{display:block;font-size:13px;margin-top:7px;color:#f4e9e6}.setup-home-mini{font-size:9px;letter-spacing:.09em;color:#eeb1a5;font-weight:800}.setup-target-card{display:flex;align-items:center;gap:15px;padding:19px;border:1px solid #6a473e;border-radius:18px;background:linear-gradient(105deg,#3c2725,#25212a)}.setup-target-card svg{color:#ffa38c;flex-shrink:0}.setup-target-card div{display:grid;gap:4px}.setup-target-card span{font-size:10px;color:#ffb6a7;font-weight:800;letter-spacing:.1em}.setup-target-card strong{font-size:23px;font-family:Manrope;font-weight:800}.setup-target-card small{color:#b7b2ba;font-size:11px}
@keyframes setupRotate{to{transform:rotate(360deg)}}@keyframes setupIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:780px){.setup-shell{padding:17px 12px}.setup-header{margin-bottom:13px;padding:0 6px}.setup-header-right{font-size:10px}.setup-grid{display:flex;flex-direction:column;border-radius:22px}.setup-visual{min-height:154px;height:154px;padding:17px 19px;border-right:0;border-bottom:1px solid #fff2;display:block;flex-shrink:0}.setup-visual-top{display:flex;gap:10px}.setup-graphic{height:114px;min-height:0;position:absolute;right:24px;top:25px;width:150px}.setup-graphic-ring{width:118px;height:118px}.setup-graphic-ring.ring-two{width:140px;height:140px}.setup-graphic-core{width:84px;height:84px;box-shadow:0 0 0 7px #f479631c,0 15px 35px #e452483a}.setup-graphic-core span{font-size:8px}.setup-graphic-core strong{font-size:38px}.setup-graphic-core small{font-size:6px}.setup-graph-dot{display:none}.setup-visual-bottom{position:absolute;bottom:17px;left:19px;right:auto;align-items:center;gap:10px}.setup-visual-number{font-size:42px}.setup-visual-number span{font-size:12px}.setup-visual-bottom strong{font-size:10px}.setup-visual-bottom p{font-size:9px;margin-top:1px}.setup-content{padding:23px 20px 22px;min-height:calc(100svh - 235px)}.setup-main h1{font-size:clamp(30px,7.4vw,41px)}.setup-progress{margin-bottom:28px}.setup-body{margin-top:22px}.setup-intro-grid{gap:7px}.setup-intro-grid div{min-height:120px;padding:11px 9px}.setup-intro-grid strong{font-size:11px}.setup-intro-grid small{font-size:9px}.setup-footer{padding-top:16px}}
@media(max-width:389px){.setup-badge{display:none}.setup-shell{padding:8px}.setup-content{padding:20px 15px 16px}.setup-visual{height:145px;min-height:145px}.setup-desc{font-size:12px}.setup-choice{min-height:66px;padding:11px}.setup-duo{gap:7px}.setup-field input{padding:12px 11px}.setup-review>div{grid-template-columns:32px 1fr auto 22px;gap:7px;padding:10px}.setup-review em{font-size:10px}}
@media(prefers-reduced-motion:reduce){.setup-graphic-ring{animation:none}.setup-body{animation:none}.setup-choice,.setup-primary{transition:none}}

/* Visual-contrast polish */
.setup-intro-grid div{background:#252a35;border-color:#454854}
.setup-intro-grid strong{color:#fff;font-size:12px}
.setup-intro-grid small{color:#c1c6d1;font-size:10px}
.setup-intro-grid svg{color:#ff9d83;opacity:1}
.setup-choice-copy strong{color:#f9f6f3 !important;opacity:1}
.setup-choice-copy small{color:#c5cad4 !important;opacity:1}
.setup-choice-icon svg{opacity:1}
.setup-number-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}

/* PerfsLab V16 · exploration interactive de la courbe de poids */
.weight-explorer{border:1px solid #3e373b;background:linear-gradient(140deg,#201e25,#1a1e26 74%);border-radius:19px;padding:15px 15px 12px;overflow:hidden}
.weight-explorer-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.weight-explorer-head p{font-size:11px;line-height:1.5;color:#9da9b8;margin-top:6px}
.weight-explorer-head .micro{color:#ffaf9c}
.weight-ranges{display:flex;gap:4px;background:#15191f;border:1px solid #343b45;border-radius:12px;padding:4px}
.weight-ranges button{border:0;color:#9ea8b5;background:transparent;padding:8px 10px;border-radius:9px;font-weight:800;font-size:11px;min-height:34px;white-space:nowrap}
.weight-ranges button.active{background:#3f2b2e;color:#ffd2c7;box-shadow:inset 0 0 0 1px #bc655d70}
.weight-ranges button:focus-visible,.weight-navigator button:focus-visible,.weight-hit:focus-visible{outline:2px solid #ffb297;outline-offset:3px}
.weight-plot{width:100%;margin-top:9px}
.weight-chart{width:100%;height:auto;display:block;touch-action:pan-y;overflow:visible;user-select:none;-webkit-user-select:none}
.weight-grid{stroke:#42414c;stroke-width:.8;stroke-dasharray:3 6;opacity:.8}
.weight-line{stroke:#ff806b;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 6px #ff72572d)}
.weight-axis{fill:#9ba5b3;font-size:11px;font-family:'DM Sans',sans-serif;font-weight:650;pointer-events:none}
.weight-axis-bottom{fill:#b2b8c2}
.weight-crosshair{stroke:#ffb59c;stroke-width:1.5;stroke-dasharray:4 4;opacity:.85;pointer-events:none}
.weight-halo{fill:#ff876e;stroke:#23232c;stroke-width:2.5;transition:r .11s,fill .11s;pointer-events:none}
.weight-halo.selected{fill:#fff2ea;stroke:#ff806b;stroke-width:4;filter:drop-shadow(0 0 9px #ff8c6c80)}
.weight-hit{fill:transparent;cursor:crosshair;outline:none}
.weight-callout{pointer-events:none;filter:drop-shadow(0 4px 9px #0006)}
.weight-callout rect{fill:#fff3ed;stroke:#ff9683;stroke-width:1}
.weight-callout text{font-family:Manrope,'DM Sans',sans-serif;fill:#2c1c20;font-size:13px;font-weight:850}
.weight-callout #weight-callout-date{fill:#85594f;font-size:9px;font-weight:700}
.weight-inspector{display:flex;justify-content:space-between;align-items:center;gap:12px;border-radius:14px;background:linear-gradient(105deg,#342528,#25252e);border:1px solid #64433f;padding:14px 15px}
.weight-inspector-main{display:flex;flex-direction:column;min-width:0}
.weight-inspector-eyebrow{color:#ffad9c;font-size:9px;font-weight:800;letter-spacing:.1em}
.weight-inspector-kg{color:#fff7f2;font:850 27px/1.2 Manrope,'DM Sans',sans-serif;letter-spacing:-.055em;margin:5px 0}
.weight-inspector-kg span{font-size:12px;color:#ffccbf;letter-spacing:0}
.weight-inspector-date{color:#c3b8b9;font-size:11px;font-weight:650}
.weight-inspector-side{max-width:145px;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.weight-inspector-side strong{font:800 15px Manrope,'DM Sans',sans-serif}
.weight-inspector-side strong.neutral{color:#e1e0e3}
.weight-inspector-side small{font-size:10px;color:#aeb0bd;line-height:1.35}
.weight-explorer-foot{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:12px}
.weight-explorer-foot>span{color:#909baa;font-size:10px;line-height:1.45}
.weight-swipe-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#fd947d;margin-right:4px}
.weight-navigator{display:flex;align-items:center;gap:8px;flex-shrink:0}
.weight-navigator button{border:1px solid #44414a;background:#292831;color:#ffd1c4;border-radius:10px;min-height:35px;width:38px;display:grid;place-items:center}
.weight-navigator button:disabled{opacity:.35;cursor:default}
.weight-navigator #weight-position{font-size:11px;font-weight:800;color:#b8b5c0;min-width:38px;text-align:center}
@media(max-width:510px){.weight-explorer{padding:12px 10px}.weight-explorer-head{gap:10px}.weight-ranges{width:100%;justify-content:space-between}.weight-ranges button{flex:1}.weight-inspector{padding:11px 12px}.weight-inspector-kg{font-size:24px}.weight-inspector-side strong{font-size:13px}.weight-explorer-foot>span{max-width:180px}}
@media(prefers-reduced-motion:reduce){.weight-halo{transition:none}}

/* PAVREKO V17: affiche le logo officiel, compatible avec les petites tailles. */
.brand-symbol{display:block;flex:0 0 36px;width:36px;height:36px;border-radius:11px;object-fit:cover;box-shadow:0 0 0 1px #e42b3830}
.boot-icon{display:block;width:90px;height:90px;border-radius:21px;object-fit:cover;box-shadow:0 20px 55px #e52b3f28}
.setup-header .brand-symbol{flex-basis:35px;width:35px;height:35px;border-radius:11px}
.logo{white-space:nowrap}
@media (max-width:370px){.topbar .logo{font-size:18px;gap:8px}}
/* Offline fallback: keep a crisp wordmark even if Google Fonts are unavailable. */
.logo{font-family:Manrope,'DM Sans',Arial,Helvetica,sans-serif}

/* V22: robust inline choices, avoiding native iOS select popups underneath modal overlays. */
.muscle-choice-group{margin:10px 0 15px;padding:0;border:0;min-width:0}
.muscle-choice-group legend{font-size:12px;font-weight:750;color:#bdc3cd;margin-bottom:10px}
.muscle-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.muscle-choice{position:relative;min-width:0;cursor:pointer}
.muscle-choice input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}
.muscle-choice span{display:flex;align-items:center;justify-content:center;min-height:38px;text-align:center;padding:9px 5px;border-radius:10px;border:1px solid #444b57;background:#222631;color:#edf0f3;font-size:12px;font-weight:650;transition:background .1s,border-color .1s}
.muscle-choice input:checked+span{background:#f1624c25;border-color:#f1624c;color:#ffd6ce}
.muscle-choice input:focus-visible+span{outline:2px solid #ffffff;outline-offset:2px}
/* Keep creation dialogs above the rest of the UI; all muscle choices remain inside the dialog. */
.modal-bg{z-index:10000}
