/* Approved Exercise direction, 20 October. Scoped to Exercise; no shared storage or navigation changes. */
html[data-theme="dark"] body:has(.exd){--ff-bg:#051b19;--ff-card:#102a27;--ff-soft:#15332e;--ff-border:#294a43;--ff-ink:#f4f8f5;--ff-muted:#adc4bc;--ff-accent:#61ecc3;--ff-accent-ink:#02231b;--ff-tint:#16483a;background:radial-gradient(ellipse at 70% 10%,#10332d 0,transparent 60%),#051b19}
html[data-theme="light"] body:has(.exd){--ff-bg:#f3f6f0;--ff-card:#fff;--ff-soft:#eaf0e6;--ff-border:#d5dfd4;--ff-ink:#17372b;--ff-muted:#607466;--ff-accent:#087f5b;--ff-accent-ink:#fff;--ff-tint:#e1f4e8;background:var(--ff-bg)}
html[data-theme] .exd{max-width:1240px;margin:0 auto;font:400 15px/1.5 system-ui,sans-serif;color:var(--ff-ink);animation:exd-enter .2s ease-out}
html[data-theme] body.app-view #screen:has(>.exd){max-width:none!important}
html.web-layout[data-theme] body:has(.exd) main{width:100%;max-width:1500px}
html.web-layout[data-theme] body:has(.exd) .phone{width:100%;max-width:none}
@media(min-width:601px) and (max-width:959px){html.web-layout[data-theme] body:has(.exd) main{padding:88px 24px 112px!important}}
html[data-theme] .exd .exd-exercise-link{border:0;background:none;margin:0;padding:0}
.exd *{box-sizing:border-box;min-width:0}
.exd svg:not(.exd-picture){width:23px;height:23px;flex:none;vertical-align:middle}
.exd button{cursor:pointer;font:inherit}
html[data-theme] .exd button{transition:background .16s,border-color .16s,transform .16s}
.exd button:active:not(:disabled){transform:translateY(1px)}
.exd button:disabled{opacity:.48;cursor:not-allowed}
html[data-theme] .exd .ff-primary,html[data-theme] .exd .ff-secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:auto;max-width:100%;min-height:46px;margin:0;padding:11px 16px;border-radius:12px;line-height:1.3;font-weight:650;white-space:normal}
html[data-theme] .exd .ff-primary{background:var(--ff-accent);color:var(--ff-accent-ink);border:1px solid var(--ff-accent)}
html[data-theme] .exd .ff-secondary{background:transparent;border:1px solid var(--ff-border);color:var(--ff-ink)}
html[data-theme] .exd .ff-secondary:hover{background:var(--ff-soft);border-color:var(--ff-muted)}
html[data-theme] .exd .ff-card{background:var(--ff-card);border:1px solid var(--ff-border);border-radius:16px;padding:22px;box-shadow:none;margin:0}
html[data-theme] #screen .exd h2{font-size:clamp(27px,3vw,38px);letter-spacing:-1.2px;font-weight:750}
html[data-theme] #screen .exd h3{font-size:19px;letter-spacing:-.35px;margin:0}
.exd h4{font-size:18px;margin:18px 0}
.exd p{color:var(--ff-muted);margin:8px 0 16px}
.exd small{display:block;color:var(--ff-muted);font-size:12px;line-height:1.5}
html[data-theme] .exd .ex-heading{display:flex;align-items:center;gap:15px;margin:0 0 26px}
.exd .ex-heading .ff-pet,.exd .ex-heading .approved-demo{display:none}
html[data-theme] .exd .ex-heading>.ff-secondary{padding:8px;min-width:44px;border:0;flex:none}
.exd-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px}
html[data-theme] #screen .exd .exd-heading{padding:0;border:0;background:none}
.exd-heading p{margin:4px 0 0;font-size:16px}
html[data-theme] .exd .exd-searchbar{display:flex;align-items:center;gap:12px;width:100%;padding:13px 16px;background:var(--ff-card);border:1px solid var(--ff-border);border-radius:12px;color:var(--ff-muted);min-height:50px;text-align:left;margin:0 0 18px}
.exd-searchbar>span:first-of-type{flex:1}
html[data-theme] #screen .exd .exd-searchbar input{padding:0;border:0;background:transparent;box-shadow:none;height:auto;min-height:24px;width:100%;font:inherit;color:var(--ff-ink);margin:0}
html[data-theme] #screen .exd input,html[data-theme] #screen .exd select{display:block;width:100%;border:1px solid var(--ff-border);border-radius:10px;background:var(--ff-card);color:var(--ff-ink);padding:12px;font:inherit;margin-top:7px}
.exd label{font-size:13px;color:var(--ff-muted);display:block}
.exd .exd-picture{display:block;width:100%;height:auto;aspect-ratio:1/1;background:#102823;border-radius:12px;overflow:hidden}
.exd-home-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:24px}
.exd-home-main,.exd-home-side{min-width:0}
.exd-home-side{display:flex;flex-direction:column;gap:20px}
.exd-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--ff-border);border-radius:17px;min-height:260px;background:#102823;color:#fff}
.exd-hero>.exd-picture{position:absolute;right:0;top:-12%;height:125%;width:65%;border-radius:0;z-index:-2}
.exd-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#07211fee 10%,#07211faa 45%,transparent 85%);z-index:-1}
.exd-hero-copy{padding:30px;max-width:68%}
html[data-theme] #screen .exd .exd-hero h3{font-size:clamp(24px,2.8vw,34px);line-height:1.15;color:white;margin:12px 0}
.exd-hero small{color:#eed291;font-size:10px;letter-spacing:1.5px;font-weight:650}
.exd-hero p{color:#daeee7;margin-bottom:18px}
html[data-theme] #screen .exd .exd-hero p{color:#daeee7}
html[data-theme] #screen .exd .exd-hero small{color:#eed291}
html[data-theme] #screen .exd .exd-ai small,html[data-theme] #screen .exd .exd-ai p{color:#e7ce94}
.exd-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 26px}
html[data-theme] .exd .exd-choice{position:relative;display:flex;align-items:flex-start;flex-direction:column;gap:12px;padding:18px 14px;min-height:162px;text-align:left;background:linear-gradient(140deg,var(--ff-soft),var(--ff-card));color:var(--ff-ink);border:1px solid var(--ff-border);border-radius:13px}
.exd-choice>svg{color:var(--ff-accent);width:28px}
.exd-choice strong{font-size:14px;line-height:1.3}
.exd-choice small{font-size:11px;padding-right:10px}
.exd-badge{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid var(--ff-border);border-radius:7px;padding:3px 7px;font-size:10px!important;font-weight:600;line-height:1.2;color:var(--ff-ink);background:var(--ff-tint)}
.exd-choice .exd-badge{position:absolute;right:10px;top:14px}
.exd-choice-arrow{position:absolute;right:13px;bottom:12px;color:var(--ff-accent)}
html[data-theme] .exd .exd-ai{border:1px solid #9c864d;background:linear-gradient(135deg,#4a4124,#202c21);color:#fff4d9}
.exd-ai .exd-badge,.exd-gold{color:#ffe6a7;background:#6a5929;border-color:#a18a50}
.exd-ai svg,.exd-ai small{color:#e7ce94}
.exd-ai-card{padding:22px;border-radius:16px;text-align:left}
.exd-ai-card h3{margin:18px 0!important}
html[data-theme] #screen .exd .exd-ai h3{color:#fff4d9}
.exd-routine-symbol{grid-column:1/-1;display:grid;place-items:center;min-height:150px;background:var(--ff-soft);color:var(--ff-accent)}
.exd .exd-routine-symbol svg{width:64px;height:64px}
.exd-ai-card p{color:#d8d7bc}
.exd-ai-card>span:last-child{display:block;border-radius:9px;background:#d8bd7d;padding:12px;color:#282416;font-weight:650;text-align:center}
.exd-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}
html[data-theme] .exd .exd-section-title>.ff-secondary{border:0;padding:6px 0;min-height:32px;color:var(--ff-accent);font-size:13px}
.exd-popular{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.exd-popular-card{padding:0;overflow:hidden;border:1px solid var(--ff-border);border-radius:12px;background:var(--ff-card);color:var(--ff-ink);text-align:left}
.exd-popular-card>.exd-picture{border-radius:0;aspect-ratio:1.15}
.exd-popular-card>span{display:block;padding:12px}
.exd-popular-card strong{font-size:13px}
.exd-popular-card small{font-size:10px;margin-top:3px}
.exd-routines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:15px 0}
.exd-routine-tile{display:grid;grid-template-columns:1fr auto;align-items:center;padding:0;border:1px solid var(--ff-border);background:var(--ff-card);color:var(--ff-ink);border-radius:14px;overflow:hidden;text-align:left}
.exd-routine-tile>.exd-picture{grid-column:1/-1;border-radius:0;aspect-ratio:1.7}
.exd-routine-tile>span{padding:15px}
.exd-routine-tile>b{margin:0 14px 0 0;font-size:24px;color:var(--ff-accent)}
.exd-routine-tile strong{font-size:15px}
.exd-routine-tile small{font-size:12px;margin-top:5px}
.exd-today>small{letter-spacing:2px}
.exd-today h3{margin-top:12px!important}
.exd-today-number{font-size:50px;font-weight:700;color:var(--ff-accent);margin:18px 0;line-height:1.2}
.exd-today-number small{font-size:12px;font-weight:400;color:var(--ff-muted);margin-top:5px}
.exd-today .ff-secondary{border:0!important;padding-left:0!important;color:var(--ff-accent)!important}
.exd-other{display:grid;gap:8px}
.exd-plan{font-size:13px}.exd-plan summary{cursor:pointer;margin-bottom:12px}
.exd-plan .ff-secondary{margin:5px 0!important}
.exd-library-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}
.exd-chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;margin:12px 0}
html[data-theme] .exd .exd-chips button{flex:none;min-width:48px;min-height:48px;border-radius:30px;font-size:13px;padding:8px 15px}
html[data-theme] .exd button[aria-pressed=true]{background:var(--ff-accent);border-color:var(--ff-accent);color:var(--ff-accent-ink)}
.exd-count{font-size:12px;margin:10px 0!important}
.exd-catalog{display:grid;gap:10px}
.exd-catalog-row{display:flex;align-items:center;gap:10px;background:var(--ff-card);border:1px solid var(--ff-border);padding:8px;border-radius:13px;min-width:0}
.exd-exercise-link{display:flex;flex:1;align-items:center;gap:16px;padding:0;text-align:left;background:none;border:0;color:var(--ff-ink)}
.exd-exercise-link .exd-picture{width:88px;height:88px;flex:none;border-radius:9px}
.exd-exercise-link strong{font-size:16px;font-weight:600}
.exd-exercise-link small{margin-top:4px}
.exd-add{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:var(--ff-tint);color:var(--ff-accent);border:1px solid var(--ff-border);border-radius:50%}
.exd-library-aside{position:sticky;top:100px}
.exd-catalog-detail{display:none}
@media(min-width:1201px){
.exd-library-layout{grid-template-columns:minmax(0,1fr) minmax(220px,.85fr) minmax(260px,1fr);gap:18px}
.exd-library-layout .exd-exercise-link .exd-picture{width:64px;height:64px}
.exd-library-layout .exd-exercise-link{gap:10px}
.exd-library-layout .exd-exercise-link strong{font-size:14px}
.exd-catalog-detail{display:block;position:sticky;top:100px}
.exd-catalog-detail h3{margin-top:14px!important}
.exd-library-aside{padding:18px!important}
}
.exd-library-aside h3{margin:14px 0!important}
.exd-library-aside p>span{float:right}
.exd-library-aside .ff-primary{width:100%;margin:14px 0!important}
.exd-builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;align-items:start}
.exd-title-input input{font-size:19px!important;font-weight:600}
.exd-builder{display:grid;gap:12px}
.exd-builder-row{display:grid;grid-template-columns:82px minmax(0,1fr) 64px;gap:14px;align-items:center;padding:13px;border:1px solid var(--ff-border);background:var(--ff-card);border-radius:14px}
.exd-builder-row label{text-align:center}
.exd-builder-row input{text-align:center;padding:9px!important}
.exd-builder-row small{font-size:11px}
.exd-reorder{display:flex;gap:3px;margin-top:6px}
html[data-theme] .exd .exd-reorder button{padding:2px 8px;min-height:30px;min-width:30px;border:0;font-size:14px}
.exd-builder-layout form>.ff-secondary{width:100%;border-style:dashed;margin:15px 0!important}
.exd-builder-actions{display:grid;gap:10px;margin-top:24px}
.exd-builder-actions>.ff-secondary:last-child{border:0!important;font-size:12px;color:var(--ff-muted)}
.exd-builder-aside h3{margin-top:20px!important}
.exd-builder-aside .exd-badge{margin-top:14px}
.exd-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
.exd-routine-hero{position:relative}.exd-routine-hero>span{position:absolute;top:16px;right:16px}
.exd-detail-row{display:flex;align-items:center;gap:14px;padding:10px;border:1px solid var(--ff-border);border-radius:13px;background:var(--ff-card);color:var(--ff-ink);text-align:left;width:100%;margin:10px 0}
.exd-detail-row>.exd-picture{width:78px;height:78px;flex:none}
.exd-detail-row>span{flex:1}
.exd-detail-row>b{font-size:23px;color:var(--ff-accent);padding:0 10px}
.exd-stack{display:grid;gap:12px;margin:22px 0}
.exd-technique-art{position:relative}.exd-technique-art .exd-picture{max-height:560px}
.exd-art-caption{position:absolute;bottom:10px;left:10px;font-size:11px;background:#092a25d9;color:white;padding:5px 10px;border-radius:6px}
.exd-eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--ff-accent);font-weight:650}
.exd-technique-copy h3{margin:15px 0!important}
.exd-video-state{display:flex;align-items:center;gap:15px;border:1px solid var(--ff-border);border-radius:12px;padding:18px;margin:18px 0}
.exd-video-state>svg{width:36px;height:36px;color:var(--ff-accent)}
.exd-technique-copy>.ff-primary,.exd-technique-copy>.ff-secondary{width:100%;margin:10px 0!important}
.exd-live-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:30px}
.exd-session-status{display:flex;align-items:center;gap:8px;color:var(--ff-accent);margin:0 0 15px;font-size:13px}
.exd-session-status>.ff-secondary{margin-left:auto!important}
.exd-live-dot{width:7px;height:7px;background:var(--ff-accent);border-radius:50%}
.exd-live-art>.exd-picture{max-height:520px}
.exd-art-actions{display:flex;gap:10px;justify-content:center;margin:12px 0}
.exd-art-actions>.ff-secondary{flex:1}
.exd-set-panel .exd-section-title{margin:0}
.exd-set-panel [data-ex-time]{font-variant-numeric:tabular-nums;font-size:14px;color:var(--ff-muted)}
.exd-set-labels,.exd-set-done,.exd-set-current{display:grid;grid-template-columns:35px 1fr 1fr 24px;align-items:center;gap:12px;text-align:center;padding:10px 8px}
.exd-set-labels{font-size:11px;color:var(--ff-muted)}
.exd-set-done{border-top:1px solid var(--ff-border)}
.exd-set-done>span:last-child{color:var(--ff-accent)}
.exd-set-current{border:1px solid var(--ff-accent);border-radius:10px;margin-top:8px;background:var(--ff-tint)}
html[data-theme] #screen .exd .exd-set-current input{margin:0;padding:9px 4px;text-align:center;font-weight:700;font-size:19px;background:transparent;border:0}
.exd-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.exd-footnote{font-size:12px;color:var(--ff-muted);line-height:1.6}
.exd-weight-note{display:flex;gap:12px;align-items:center;border:1px solid var(--ff-border);border-radius:12px;padding:14px;margin-top:15px}
.exd-weight-note>svg{color:var(--ff-muted)}
.exd-weight-note label{display:flex;align-items:center;gap:10px;width:100%;font-size:12px}
html[data-theme] #screen .exd .exd-weight-note input{width:92px;flex:none;margin:0;margin-left:auto}
.exd-rest,.exd-complete{max-width:550px;margin:0 auto;text-align:center}
.exd-rest .ex-heading{text-align:left}
html[data-theme] #screen .exd .exd-rest-title{font-size:32px;margin:24px 0 14px}
.exd-rest-ring{width:220px;height:220px;border:12px solid var(--ff-tint);border-top-color:var(--ff-accent);border-right-color:var(--ff-accent);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:22px auto 30px}
.exd-rest-ring strong{font-size:45px;font-variant-numeric:tabular-nums}
.exd-readiness{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0}
html[data-theme] .exd .exd-readiness button{flex-direction:column;gap:12px;padding:20px 8px;min-height:104px;font-size:13px}
.exd-pace{color:var(--ff-accent)!important;margin:24px 0!important}
html[data-theme] .exd .exd-rest>.ff-primary,html[data-theme] .exd .exd-rest>.ff-secondary{width:100%;margin:6px 0!important}
.exd-success{border:3px solid var(--ff-accent);width:78px;height:78px;border-radius:50%;display:grid;place-items:center;margin:15px auto 24px;color:var(--ff-accent);box-shadow:0 0 45px #58e6b919}
.exd-success svg{width:44px!important;height:44px!important}
.exd-complete .ex-heading{justify-content:center}
.exd-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:26px 0;gap:8px}
.exd-stats strong{font-size:26px;display:block}
.exd-body-snapshot{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--ff-soft);padding:14px;border-radius:10px;margin:20px 0}
.exd-body-snapshot strong{font-size:14px}
.exd-history-toolbar{display:flex;align-items:end;gap:12px;margin-bottom:25px}
.exd-history-toolbar label{flex:1;max-width:250px}
.exd-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.exd-history-card>header{display:flex;gap:18px;align-items:center;margin-bottom:20px}
.exd-history-card>header>.exd-picture{width:110px;height:110px;flex:none}
.exd-history-card h3{font-size:18px!important}
.exd-history-card p{margin:8px 0 0}
.exd-history-card details{margin:12px 0;border-top:1px solid var(--ff-border);padding-top:12px}
.exd-history-card summary{cursor:pointer;font-weight:600}
.exd-history-card table{width:100%;border-collapse:collapse;text-align:center;font-size:13px;margin-top:12px}
.exd-history-card th{font-weight:500;color:var(--ff-muted)}
.exd-history-card td,.exd-history-card th{padding:8px;border-bottom:1px solid var(--ff-border)}
.exd-empty{text-align:center;padding:50px 20px}.exd-empty>svg{width:50px!important;height:50px!important;color:var(--ff-accent);margin-bottom:20px}
.exd-swap-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.exd-cardio-landscape{position:relative;overflow:hidden;min-height:380px;background:radial-gradient(ellipse at 20% 70%,#346456,transparent 65%),linear-gradient(135deg,#061f21,#1b5140);border-radius:16px;color:#d2ffe5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}
.exd-cardio-landscape:before,.exd-cardio-landscape:after{content:"";position:absolute;width:130%;height:180px;left:-10%;bottom:-70px;border-radius:50%;border:2px solid #8dd8a844;transform:rotate(-25deg)}
.exd-cardio-landscape:after{bottom:-10px;transform:rotate(20deg)}
.exd-cardio-landscape>svg{width:100px!important;height:100px!important}
.exd-cardio-landscape>span{font-size:28px;font-weight:600}
.exd-cardio-landscape small{color:#9bcbbb}
/* This illustration stays dark in both themes; retain its existing pale ink. */
html[data-theme] #screen .exd .exd-cardio-landscape>span,html[data-theme] #screen .exd .exd-cardio-landscape small{color:#d2ffe5}
.exd-cardio-timer{font-size:60px;font-variant-numeric:tabular-nums;text-align:center;padding:30px 0}
.exd-premium-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px}
.exd-ai-intro h3{font-size:36px!important;line-height:1.2;margin:22px 0!important}
.exd-ai-intro>.exd-picture{max-width:350px;margin:20px auto}
.exd-ai-form{display:grid;gap:17px}
.exd-ai-form label{font-size:13px}
.exd-ai-form>.ff-primary{background:#dbbf79!important;color:#232519!important;border-color:#dbbf79!important}
.exd-ai-week{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0}
.exd-ai-week h3{margin:12px 0 18px!important}
.exd-ai-moves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.exd-ai-moves strong{font-size:11px;display:block;margin-top:8px}
.exd-ai-moves small{font-size:10px}
@keyframes exd-enter{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(min-width:960px){
html.web-layout[data-theme] body:has(.exd) main{width:100%;max-width:1500px;padding-right:34px!important;padding-left:258px!important}
html.web-layout[data-theme] body:has(.exd) .phone{width:100%;max-width:none}
html.web-layout[data-theme] body:has(.exd) #bottom{position:fixed;left:24px;top:112px;bottom:auto;transform:none;width:200px;display:flex;flex-direction:column;padding:10px;background:var(--ff-card);border:1px solid var(--ff-border);border-radius:16px}
html.web-layout[data-theme] body:has(.exd) #bottom>button{width:100%;display:flex;flex-direction:row;justify-content:start;gap:13px;padding:13px!important;font-size:15px!important;min-height:54px!important;border-radius:11px!important}
html.web-layout[data-theme] body:has(.exd) #bottom #more-menu{left:0;top:300px;bottom:auto;width:200px}
.exd-home-side{padding-top:0}}
@media(max-width:1200px){.exd-home-layout{grid-template-columns:minmax(0,1fr) 205px;gap:20px}.exd-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.exd-choice{min-height:138px!important}.exd-ai-week{grid-template-columns:1fr}.exd-ai-moves .exd-picture{max-height:180px}}
@media(max-width:959px){.exd-home-layout{display:block}.exd-home-side{display:grid;grid-template-columns:1fr 1fr;margin-top:24px}.exd-home-side>.exd-ai-card{display:none}.exd-home-side>.exd-plan{grid-column:1/-1}.exd-library-layout,.exd-builder-layout{grid-template-columns:1fr 230px;gap:20px}.exd-live-grid{gap:20px;grid-template-columns:1fr 1fr}}
@media(max-width:600px){
html[data-theme] .app-view:has(.exd) main{padding:88px 16px 112px!important}
.exd{font-size:14px!important}.exd-heading{margin-bottom:18px}.exd-heading p{font-size:13px}.exd-heading>.ff-secondary{font-size:12px!important;padding:8px!important;min-height:36px!important}
html[data-theme] .exd .ex-heading{gap:7px;margin-bottom:18px}.exd .ex-heading p{font-size:12px}
html[data-theme] #screen .exd h2{font-size:27px}
html[data-theme] .exd .exd-searchbar{padding:11px 12px;font-size:12px;gap:8px;min-height:46px}
.exd-hero{min-height:184px}.exd-hero-copy{padding:19px;max-width:74%}.exd-hero small{font-size:8px;letter-spacing:.8px}.exd-hero h3{font-size:24px!important}.exd-hero p{font-size:12px;margin-bottom:14px}
.exd-hero .ff-primary{min-height:36px!important;padding:8px 13px!important;font-size:12px!important}.exd-hero>.exd-picture{right:-8%;width:75%;top:0;height:100%}
.exd-choices{gap:10px;margin:12px 0 22px}.exd-choice{padding:13px!important;gap:10px!important;min-height:136px!important}.exd-choice strong{font-size:13px}.exd-choice small{font-size:10px}.exd-choice>svg{width:24px}.exd-choice .exd-badge{font-size:8px!important;padding:3px 5px;top:13px}
.exd-section-title{margin:20px 0 12px}html[data-theme] #screen .exd .exd-section-title h3{font-size:17px}.exd-section-title>.ff-secondary{font-size:11px!important}
.exd-popular{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.exd-popular-card>span{padding:8px 6px}.exd-popular-card strong{font-size:10px;line-height:1.2;display:block}.exd-popular-card small{font-size:8px}
.exd-routines{grid-template-columns:1fr;gap:10px}.exd-routine-tile{grid-template-columns:90px 1fr auto;padding:0;align-items:center}.exd-routine-tile>.exd-picture{grid-column:auto;width:90px;height:86px;border-radius:0}.exd-routine-tile>span{padding:10px}.exd-routine-tile strong{font-size:14px}.exd-routine-tile small{font-size:11px}
.exd-home-side{grid-template-columns:1fr}.exd-today{display:none}.exd-other{grid-template-columns:1fr 1fr;padding:14px!important}.exd-other>.ff-secondary{padding:8px!important;font-size:12px!important}.exd-other>.ff-secondary:last-child{grid-column:1/-1}
.exd-library-layout,.exd-builder-layout,.exd-detail-layout,.exd-live-grid,.exd-premium-layout{display:block}.exd-library-aside{position:static;margin-top:18px!important;padding:16px!important}.exd-library-aside>p:not(:first-of-type),.exd-library-aside>small{display:none}.exd-library-aside h3{font-size:16px!important}
.exd-exercise-link{gap:12px}.exd-exercise-link .exd-picture{width:70px;height:70px}.exd-exercise-link strong{font-size:14px}.exd-exercise-link small{font-size:11px}.exd-add{width:38px;height:38px;flex-basis:38px}.exd-chips{gap:7px}.exd-chips button{font-size:11px!important;padding:7px 13px!important}
.exd-builder-row{grid-template-columns:65px minmax(0,1fr) 48px;gap:10px;padding:10px}.exd-builder-row strong{font-size:13px}.exd-builder-row small{font-size:10px}.exd-builder-row input{padding:9px 3px!important}
.exd-builder-aside{display:none}.exd-builder-actions{margin-top:24px}.exd-detail-row>.exd-picture{width:65px;height:65px}.exd-routine-hero>.exd-picture{max-height:220px}
.exd-technique-art>.exd-picture{max-height:335px}.exd-technique-copy{margin-top:20px}.exd-technique-copy>p{font-size:13px}
.exd-live-art>.exd-picture{max-height:330px}.exd-live-grid .ff-card{padding:16px!important}.exd-art-actions{gap:8px}.exd-art-actions>.ff-secondary{font-size:12px!important;padding:9px!important}
.exd-set-panel h4{font-size:18px;margin:12px 0}.exd-set-labels,.exd-set-done,.exd-set-current{padding:8px;gap:8px}
.exd-session-status{margin-top:-8px}.exd-weight-note{margin-top:12px;padding:12px}.exd-stack{margin:16px 0}.exd-stack .exd-footnote{margin:0}
.exd-history-grid{grid-template-columns:1fr}.exd-history-toolbar{gap:8px}.exd-history-toolbar .ff-secondary{font-size:12px!important;padding:9px!important}.exd-history-card{padding:16px!important}
.exd-history-card>header>.exd-picture{width:80px;height:80px}.exd-history-card>header{gap:12px}
.exd-swap-results{grid-template-columns:1fr}.exd-rest-ring{width:200px;height:200px}.exd-readiness button{font-size:12px!important}.exd-cardio-landscape{min-height:260px;margin-bottom:22px}
.exd-ai-intro>.exd-picture{display:none}.exd-ai-intro h3{font-size:28px!important}.exd-ai-form{padding:18px!important}.exd-ai-week{gap:14px}
}
@media(prefers-reduced-motion:reduce){.exd,.exd *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* /app retains its phone-sized surface even in a wide browser window. */
html.device-embed[data-theme] body:has(.exd) main{max-width:430px;width:100%;padding:88px 16px 112px!important;margin:auto}
html.device-embed .exd-home-layout,html.device-embed .exd-library-layout,html.device-embed .exd-builder-layout,html.device-embed .exd-detail-layout,html.device-embed .exd-live-grid,html.device-embed .exd-premium-layout{display:block}
html.device-embed .exd-catalog-detail,html.device-embed .exd-builder-aside,html.device-embed .exd-home-side>.exd-ai-card{display:none}
html.device-embed .exd-choices{grid-template-columns:1fr 1fr}
html.device-embed .exd-routines,html.device-embed .exd-history-grid,html.device-embed .exd-swap-results,html.device-embed .exd-ai-week{grid-template-columns:1fr}
html.device-embed .exd-library-aside{position:static;margin-top:20px}
html.device-embed .exd-home-side{display:block;margin-top:20px}
html.device-embed .exd-hero{min-height:184px}
html.device-embed .exd-hero-copy{padding:20px;max-width:75%}
html.device-embed .exd-live-art>.exd-picture,html.device-embed .exd-routine-hero>.exd-picture{max-height:330px}
html.device-embed .exd-ai-intro>.exd-picture{display:none}
html[data-text-size="large"] #screen .exd{font-size:18px!important}
html[data-text-size="large"] #screen .exd button,html[data-text-size="large"] #screen .exd input,html[data-text-size="large"] #screen .exd select,html[data-text-size="large"] #screen .exd strong{font-size:18px!important}
html[data-text-size="large"] #screen .exd small,html[data-text-size="large"] #screen .exd label{font-size:14px!important}
.exd button:focus-visible,.exd input:focus-visible,.exd select:focus-visible{outline:3px solid var(--ff-accent);outline-offset:3px}


.exd-approved-media video{display:block;width:100%;max-height:560px;border-radius:16px;background:#e2eee4}.exd-approved-media p,.exd-approved-media a{overflow-wrap:anywhere}
/* The legacy icon-only 40px back button must not expose wrapped text in Large text mode. */
html[data-text-size="large"] #screen .exd .ex-heading{flex-wrap:wrap!important}
html[data-text-size="large"] #screen .exd .ex-heading>button{flex:0 0 100%!important;width:auto!important;min-width:44px!important;min-height:44px!important;padding:8px 0!important;justify-content:flex-start;white-space:nowrap;overflow-wrap:normal}
html[data-text-size="large"] #screen .exd .ex-heading>button::before{display:none}
html[data-text-size="large"] #screen .exd .ex-heading>div{min-width:0;max-width:100%}
html[data-theme] .exd .exd-footnote a{color:var(--ff-ink);text-decoration:underline;text-underline-offset:3px}
.exd .exd-footnote a:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:2px}
html[data-theme] .exd .exd-add{min-width:48px;min-height:48px;flex-basis:48px}
.exercise-offline-status{max-width:1100px;margin:10px auto;padding:10px 14px;border:1px solid var(--ff-line,#64748b);border-radius:12px;color:var(--ff-muted,#94a3b8);font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}
