.wellness{margin:24px 0 44px;border:1px solid #e2d7c8;border-radius:24px;overflow:hidden;background:#faf4ed}.well-hero{padding:35px 32px;background:radial-gradient(ellipse at 90% 20%,#ebdece,transparent 55%),linear-gradient(130deg,#f9f2ea,#f6eee4)}.well-hero h2{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:400;font-size:clamp(28px,4vw,44px);margin:12px 0}.wellness>.grid{padding:20px 30px;margin:0}.well-tabs{display:flex;gap:10px;padding:0 30px 20px;flex-wrap:wrap}.well-tabs button{border-radius:24px}.well-pane{display:block;padding:25px 30px;border-top:1px solid #e9dfd1}.well-pane .visual-stats{margin:20px 0}.well-goals{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.well-goals span,.well-goals small{display:block}.well-goals progress{width:100%;height:12px;accent-color:#20264a}.well-chart{margin:24px 0;padding:20px;background:#f5eee4;border-radius:24px}.well-chart svg{width:100%;max-height:210px;display:block}.well-chart figcaption{font-size:12px;line-height:1.7;color:#404569}.well-exercise{border:1px solid #e7dac8;border-radius:24px;padding:20px;margin:14px 0;background:#fdfaf7}.well-exercise>label{font-size:18px;font-family:'Bricolage Grotesque',system-ui,sans-serif}.wellness input[type=checkbox]{width:24px;height:24px;accent-color:#20264a;padding:0;display:inline-block;vertical-align:middle;margin:8px}.well-exercise>label:has(input[type=checkbox]){display:flex;align-items:center;justify-content:space-between;gap:12px}.well-set{display:grid;grid-template-columns:70px 1fr 1fr 90px;gap:12px;align-items:center;padding:15px 0;border-top:1px solid #eee4d6}.well-set button{grid-column:2/-1}.well-timer{position:sticky;top:12px;z-index:2;display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:#20264a;color:#fdfaf7;border-radius:24px;padding:15px;margin:15px 0;box-shadow:0 8px 25px #20264a20}.well-timer output{font-size:24px;font-family:'Bricolage Grotesque',system-ui,sans-serif;min-width:150px}.well-timer button{padding:8px 12px;background:#fdfaf7;color:#20264a}.well-video{width:100%;aspect-ratio:16/9;border:0;border-radius:14px;margin:15px 0}.well-body-layout{display:grid;grid-template-columns:minmax(180px,.7fr) 1.3fr;align-items:center;gap:30px}.well-body-layout>svg{width:100%;max-height:450px;filter:drop-shadow(0 14px 15px #85859c20)}.well-body-layout svg [role=button]{cursor:pointer}.well-body-layout svg [role=button]:focus{outline:none}.well-body-layout svg [role=button]:focus circle{stroke:#c79a54;stroke-width:6}.well-body-info>strong{display:block;font-size:30px;color:#20264a}.well-pane .disclosure{margin:20px 0}.well-pane a{display:inline-block;margin:10px 16px 10px 0;color:#20264a;text-decoration:underline}.well-pane th,.well-pane td{white-space:normal;min-width:100px}.well-pane .actions{margin:20px 0}.well-pane h3{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-size:24px;font-weight:400}@media(max-width:680px){.well-pane,.well-hero{padding:24px 16px}.wellness>.grid{padding:16px}.well-tabs{padding:0 16px 16px;gap:8px}.well-tabs button{font-size:14px;padding:10px}.well-goals{grid-template-columns:repeat(2,1fr)}.well-body-layout{grid-template-columns:1fr;gap:10px}.well-body-layout>svg{max-height:320px}.well-set{grid-template-columns:1fr 1fr}.well-set strong{grid-column:1/-1}.well-set button{grid-column:1/-1}.well-exercise{padding:14px}.well-timer{top:4px}.well-timer output{width:100%}}

.well-body-layout{grid-template-columns:minmax(340px,1.4fr) minmax(220px,1fr);gap:28px;margin:28px 0}.well-body-layout>.body-measure-map{max-height:590px;filter:none}.body-zone-title{font-family:system-ui,sans-serif;font-size:12px}.body-zone-value{font-family:system-ui,sans-serif;font-size:16px;font-weight:500}.body-map-caption{font-family:system-ui,sans-serif;font-size:12px}.body-zone{transition:opacity .2s ease}.body-zone:hover rect,.body-zone:focus rect{fill:#f3eadf;stroke:#2e366a;stroke-width:1}.well-body-layout svg .body-zone:focus circle{stroke:#aa7836;stroke-width:2}@media(max-width:900px){.well-body-layout{grid-template-columns:1fr}.well-body-layout>.body-measure-map{max-height:590px;width:100%}.well-body-info{padding:20px;border-radius:24px;background:#f5eee4}}

.gym-nav,.gym-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.gym-nav button{border-radius:24px}.gym-week{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.gym-day{display:flex;min-height:82px;flex-direction:column;justify-content:center;gap:6px;padding:14px;border:1px solid #e7dac8;border-radius:14px;background:#fdfaf7}.gym-day[data-today=true]{border-color:#20264a;box-shadow:0 0 0 2px #20264a20}.gym-day>span{color:#404569}.gym-exercise{margin:14px 0;padding:18px;border:1px solid #e7dac8;border-radius:24px;background:#fdfaf7}.gym-exercise h4{margin:4px 0 10px;font-size:18px}.gym-plan-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:12px 14px;border:1px solid #e7dac8;border-radius:14px;background:#fdfaf7}.gym-plan-choice label{flex:1}.gym-set{display:grid;grid-template-columns:70px minmax(90px,1fr) minmax(90px,1fr) auto;align-items:end;gap:10px;margin:12px 0;padding:14px 0;border-top:1px solid #eee4d6}.gym-set>strong{align-self:center}.gym-set>label{min-width:0}.gym-set button{min-height:44px}.gym-logged{background:#20264a!important;color:#fdfaf7!important}.gym-rest{position:sticky;top:10px;z-index:2;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0;padding:14px;border-radius:24px;background:#20264a;color:#fdfaf7;box-shadow:0 8px 24px #20264a22}.gym-rest output{min-width:94px;font-size:24px;font-variant-numeric:tabular-nums}.gym-rest button{padding:9px 13px;background:#fdfaf7;color:#20264a}.gym-summary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.gym-stat{padding:16px;border-radius:14px;background:#f5eee4}.gym-stat span,.gym-stat strong{display:block}.gym-stat strong{margin-top:5px;font-size:18px}.well-pane .gym-exercise>details{margin-top:12px}@media(max-width:680px){.gym-week{grid-template-columns:repeat(2,minmax(0,1fr))}.gym-set{grid-template-columns:1fr 1fr}.gym-set>strong{grid-column:1/-1}.gym-set button{grid-column:1/-1}.gym-summary-stats{grid-template-columns:1fr 1fr}.gym-rest{top:4px}.gym-rest output{flex:1}}

.gym-workspace{max-width:960px;min-width:0}
.gym-workspace h3{font-size:clamp(23px,3vw,32px);line-height:1.15;letter-spacing:-.025em;text-wrap:balance}
.gym-workspace h4{font-size:18px;margin:22px 0 10px}
.gym-workspace button{min-height:44px;white-space:normal}
.gym-workspace button:focus-visible{outline:3px solid #ab5a35;outline-offset:3px}
.gym-workspace button:disabled{opacity:.45;cursor:default}
.gym-workspace input,.gym-workspace textarea,.gym-workspace select{font-size:16px;min-height:44px;min-width:0;max-width:100%;font-variant-numeric:tabular-nums}
.gym-workspace textarea{min-height:110px;resize:vertical}
.gym-list-help{max-width:64ch;line-height:1.6;color:var(--tinta-2)}
.gym-workout-list{list-style:none;margin:18px 0 26px;padding:0;border-top:1px solid var(--linea)}
.gym-workout-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--linea)}
.gym-workspace .gym-exercise-open{display:grid;grid-template-columns:38px minmax(0,1fr) auto;column-gap:12px;row-gap:5px;align-items:center;text-align:left;background:transparent;border:0;padding:8px 4px;box-shadow:none;border-radius:14px;color:var(--tinta);width:100%}
.gym-exercise-open strong{font-size:18px;overflow-wrap:anywhere}
.gym-exercise-open>span:last-child{grid-column:2/-1;grid-row:2;font-size:14px;color:var(--tinta-2)}
.gym-video-badge{grid-column:3;grid-row:1;justify-self:end;padding:3px 8px;border-radius:999px;background:var(--mostaza-suave,#f8ecd0);color:var(--tinta);font-size:12px;font-weight:800;white-space:nowrap}
.gym-position{grid-row:1/3;align-self:center;font-size:24px;font-variant-numeric:tabular-nums;color:#76513a}
.gym-exercise-open:hover{background:var(--crema-2)}
.gym-order-actions{display:flex;gap:6px}.gym-order-actions button{font-size:12px;padding:8px 12px}
.gym-workout-row.is-complete .gym-exercise-open>span:last-child{color:var(--tinta);font-weight:800}
.gym-instructions{margin:24px 0;line-height:1.7;white-space:pre-line}
.gym-last-log{padding:18px 20px;background:var(--crema-2);border-radius:14px;margin:22px 0}
.gym-last-log h4{margin:0 0 8px}.gym-last-log table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;text-align:left}
.gym-last-log caption{text-align:left;font-size:12px;margin-bottom:8px}.gym-last-log th,.gym-last-log td{padding:8px 6px;border-bottom:1px solid var(--linea)}
.gym-series{margin:12px 0}.gym-workspace .gym-set{grid-template-columns:65px minmax(0,1fr) minmax(0,1fr) auto}
.gym-custom-exercises .gym-exercise{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px;border:0;background:var(--papel);border-radius:14px}
.gym-custom-exercises .gym-exercise>h4,.gym-custom-exercises .gym-exercise>label:first-of-type,.gym-custom-exercises .gym-exercise>label:has(textarea),.gym-custom-exercises .gym-exercise>label:has(input[type=url]),.gym-custom-exercises .gym-exercise>.gym-actions{grid-column:1/-1}
.gym-custom-exercises .gym-exercise>label{display:grid;gap:6px;min-width:0}
@media(max-width:680px){.gym-workout-row{gap:8px;grid-template-columns:minmax(0,1fr)}.gym-order-actions{justify-content:flex-end}.gym-workspace .gym-set{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.gym-set>strong,.gym-set>button{grid-column:1/-1}.gym-exercise-open strong{font-size:16px}.gym-workspace .gym-rest{position:static;padding:12px;gap:8px}.gym-rest output{font-size:24px;flex-basis:100%}.gym-last-log{padding:16px 12px}.gym-custom-exercises .gym-exercise{padding:16px}}

.gym-workspace .gym-rest[hidden]{display:none}

.gym-workout-row{grid-template-columns:44px minmax(0,1fr) auto;position:relative}
.gym-workspace .gym-drag-handle{width:44px;min-height:48px;padding:10px;background:transparent;border:0;box-shadow:none;touch-action:none;cursor:grab;color:var(--tinta-2)}
.gym-drag-handle svg,.gym-set-state svg{width:22px;height:22px;display:block;margin:auto}
.gym-drag-handle:active{cursor:grabbing}.gym-workout-row.is-dragging{z-index:2;background:var(--papel);box-shadow:0 12px 28px #1f234025;pointer-events:none}.gym-workout-row.is-dragging .gym-drag-handle{pointer-events:auto}
.gym-workout-row.is-drop-target{background:var(--mostaza-suave,#f8ecd0);outline:2px dashed #76513a;outline-offset:2px}
.gym-order-status{font-size:12px;margin:4px 0;color:var(--tinta-2)}.gym-order-status:empty{display:none}
.gym-session-bar{position:sticky;bottom:100px;z-index:3;margin:20px 0 8px;padding:14px;border-radius:14px;background:var(--papel,#fffaf3);box-shadow:0 -8px 28px #1f23401f;display:grid;gap:8px}
.gym-session-bar>.primary{width:100%;min-height:48px;font-size:16px;margin:0}.gym-step-status{font-size:12px;margin:0;line-height:1.4;color:var(--tinta-2)}
.gym-inline-rest{display:flex;align-items:center;gap:8px}.gym-inline-rest[hidden]{display:none}.gym-inline-rest output{flex:1;font-size:24px;font-variant-numeric:tabular-nums;color:var(--tinta)}.gym-inline-rest button{font-size:12px;padding:8px}
.gym-exercise-screen{max-width:760px;scroll-margin-top:16px}.gym-exercise-screen>h2{display:none}.gym-exercise-screen>h2+p{font-size:12px;margin:0 0 10px}.gym-exercise-screen>h3{font-size:24px;margin:16px 0 12px}
.gym-workspace .gym-back{font-size:12px;min-height:44px;padding:8px 12px}.gym-technique{margin:8px 0 12px}.gym-technique p{font-size:14px;line-height:1.55;margin:8px 0;white-space:pre-line}
.gym-technique .disclosure{margin:8px 0;padding:10px 12px;border-radius:14px;box-shadow:none}.gym-technique .disclosure summary{font-size:14px}.gym-technique .well-video{width:100%;aspect-ratio:16/9;height:auto;max-height:320px;border:0;margin:10px 0;border-radius:14px}
.gym-technique .well-video.gym-demo-video{display:block;width:min(100%,380px);aspect-ratio:9/16;height:auto;max-height:min(68svh,640px);margin:10px auto;background:#1f2340;object-fit:contain}
.gym-exercise-settings{display:flex;gap:12px;margin:12px 0;align-items:end}.gym-exercise-settings>label{font-size:12px;display:grid;gap:5px;min-width:0;max-width:180px;flex:1}.gym-exercise-settings input,.gym-exercise-settings select{width:100%}
.gym-last-inline{font-size:12px;margin:14px 0 8px;color:var(--tinta-2)}
.gym-log-table{width:100%;table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums;margin:8px 0 14px;text-align:center}
.gym-log-table th,.gym-log-table td{padding:9px 3px;border-bottom:1px solid var(--linea);overflow-wrap:anywhere}.gym-log-table thead th{font-size:12px;font-weight:700;color:var(--tinta-2)}
.gym-log-table th:first-child{width:40px}.gym-log-table th:last-child{width:48px}.gym-log-table th:nth-child(2){width:90px}.gym-log-table td.gym-previous-set{font-size:12px;color:var(--tinta-2)}
.gym-log-table label{font-size:0;display:block;margin:0}.gym-workspace .gym-log-table input{width:100%;min-width:0;min-height:40px;padding:8px 5px;text-align:center;background:var(--papel);border:1px solid var(--gris);box-shadow:none;border-radius:14px;font-size:18px}
.gym-log-table input:focus-visible{outline:2px solid #ab5a35;outline-offset:1px}.gym-log-table input:disabled{opacity:1;color:var(--tinta-2);background:var(--crema-2)}
.gym-log-table tr[data-selected=true]{background:var(--mostaza-suave,#f8ecd0)}.gym-log-table tr[data-done=true]{background:var(--crema-2)}
.gym-workspace .gym-set-state{width:44px;min-height:44px;padding:8px;background:transparent;box-shadow:none;border:0;color:var(--tinta-2)}.gym-log-table tr[data-done=true] .gym-set-state{color:#76513a}.gym-log-table tr[data-selected=true] .gym-set-state{color:var(--tinta)}
.gym-series-tools{display:flex;flex-wrap:wrap;gap:8px}.gym-series-tools button{font-size:12px;padding:8px 12px}.gym-exercise-navigation{gap:8px}.gym-exercise-navigation button{font-size:12px;padding:8px 12px}
@media(max-width:680px){.gym-workout-row{grid-template-columns:36px minmax(0,1fr) auto;gap:6px}.gym-workspace .gym-drag-handle{width:36px;padding:6px}.gym-order-actions{flex-direction:column;gap:2px}.gym-order-actions button{padding:6px;font-size:12px}.gym-exercise-open{column-gap:5px!important;grid-template-columns:22px minmax(0,1fr)!important}.gym-position{font-size:18px}.gym-exercise-open strong{font-size:16px}.gym-video-badge{grid-column:2;grid-row:2;justify-self:start}.gym-exercise-open>span:last-child{grid-column:2;grid-row:3;font-size:12px}.gym-technique .well-video.gym-demo-video{max-height:min(58svh,520px)}.gym-session-bar{bottom:94px;padding:12px}.gym-exercise-screen>h3{font-size:24px}.gym-log-table th:nth-child(2){width:72px}.gym-log-table th:first-child{width:32px}.gym-log-table th:last-child{width:44px}.gym-log-table th,.gym-log-table td{padding:8px 2px}.gym-workspace .gym-log-table input{font-size:16px;padding:8px 2px}.gym-inline-rest output{font-size:18px}}
@media(prefers-reduced-motion:reduce){.gym-workout-row{transition:none;scroll-behavior:auto}}

.gym-exercise-screen .gym-nav{display:none}

.gym-exercise-screen{padding-bottom:100px}.gym-log-table thead th:last-child{font-size:0}
@media(max-width:680px){.gym-log-table th:first-child{width:38px}.gym-log-table th:nth-child(2){width:80px}}

.gym-workspace{padding-bottom:100px}

.gym-workspace{max-width:1120px;color:var(--tinta)}
.gym-workspace h3{font-size:30px;line-height:1.2;letter-spacing:-.025em}
.gym-nav{gap:8px;margin:14px 0 20px}
.gym-nav button{border-radius:14px;padding-inline:16px}
.gym-plan-summary{margin:0 0 12px;color:var(--tinta-2);font-size:14px}
.gym-overview-controls{display:flex;justify-content:flex-start;margin:0 0 12px}
.gym-overview-controls>label{display:grid;gap:5px;width:min(100%,220px);font-size:12px;font-weight:700;color:var(--tinta-2)}
.gym-overview-controls select{min-height:44px;padding:8px 12px;border:1px solid var(--linea);border-radius:14px;background:var(--papel);color:var(--tinta)}
.gym-list-help{max-width:68ch;margin:8px 0 16px;font-size:14px;line-height:1.55;color:var(--tinta-2)}
.gym-order-status:empty{display:none}
.gym-workout-list{margin-top:12px}
.gym-workout-row{grid-template-columns:40px minmax(0,1fr) auto;gap:12px;min-height:108px;padding:12px 0}
.gym-workspace .gym-exercise-open{grid-template-columns:56px 28px minmax(0,1fr) auto;column-gap:12px;row-gap:5px;min-height:84px;padding:4px}
.gym-exercise-poster{grid-column:1;grid-row:1/3;width:56px;height:84px;object-fit:cover;border-radius:14px;background:var(--crema-2)}
.gym-position{grid-column:2;grid-row:1/3;font-size:18px;font-weight:800;color:#76513a}
.gym-exercise-open strong{grid-column:3;grid-row:1;font-size:16px;line-height:1.25}
.gym-video-badge{grid-column:4;grid-row:1;padding:3px 8px;border-radius:14px;background:var(--mostaza-suave);color:var(--tinta);font-size:12px}
.gym-exercise-open>span:last-child{grid-column:3/5;grid-row:2;align-self:start;font-size:12px;line-height:1.4;color:var(--tinta-2)}
.gym-order-actions{gap:6px}
.gym-order-actions button{min-width:58px;min-height:44px;border-radius:14px;padding:8px 10px;font-size:12px}
.gym-workout-row.is-complete .gym-exercise-open{color:var(--tinta-2)}
.gym-exercise-screen{display:grid;max-width:1120px;grid-template-columns:minmax(280px,.86fr) minmax(0,1.14fr);grid-template-areas:"back back" "title title" "media settings" "media history" "media table" "media tools" "media nav" "media action";align-items:start;column-gap:28px;row-gap:12px}
.gym-exercise-screen>h2,.gym-exercise-screen>h2+p{display:none}
.gym-exercise-screen>.gym-back{grid-area:back;justify-self:start}
.gym-exercise-screen>h3{grid-area:title;margin:0 0 4px;font-size:30px}
.gym-exercise-screen>.gym-technique{grid-area:media;min-width:0;margin:0}
.gym-exercise-screen>.gym-exercise-settings{grid-area:settings;align-items:end;margin:0}
.gym-exercise-screen>.gym-last-inline{grid-area:history;margin:0;padding:10px 12px;border-radius:14px;background:var(--crema-2);color:var(--tinta-2);line-height:1.5}
.gym-exercise-screen>.gym-log-table{grid-area:table;margin:0}
.gym-exercise-screen>.gym-series-tools{grid-area:tools;margin:0}
.gym-exercise-screen>.gym-exercise-navigation{grid-area:nav;margin:0}
.gym-exercise-screen>.gym-session-bar{grid-area:action;align-self:end}
.gym-exercise-screen .gym-technique details{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.gym-exercise-screen .gym-technique summary{padding:10px 0;font-size:14px;font-weight:800;color:var(--tinta);text-decoration:underline;text-underline-offset:4px}
.gym-exercise-screen .gym-technique .gym-demo-video{display:block;width:auto;height:min(64svh,640px);max-width:100%;aspect-ratio:9/16;object-fit:contain;margin:8px auto 0;border-radius:14px;background:#171922}
.gym-exercise-screen .gym-technique iframe.well-video{width:100%;height:auto;aspect-ratio:16/9;border-radius:14px}
.gym-exercise-screen .gym-session-bar{position:sticky;bottom:16px;margin:0}
.gym-workspace :is(button,input,select,textarea,a):focus-visible{outline:3px solid var(--tinta);outline-offset:3px}
.gym-log-table input::selection,.gym-workspace ::selection{background:var(--mostaza-suave);color:var(--tinta)}
@media(max-width:820px){
  .gym-workspace{padding:18px 18px 104px}
  .gym-workout-row{grid-template-columns:36px minmax(0,1fr) auto;gap:8px;min-height:96px}
  .gym-workspace .gym-exercise-open{grid-template-columns:48px 24px minmax(0,1fr);column-gap:8px;min-height:72px}
  .gym-exercise-poster{width:48px;height:72px}
  .gym-position{font-size:16px}
  .gym-exercise-open strong{font-size:16px}
  .gym-video-badge{grid-column:3;grid-row:2;justify-self:start}
  .gym-exercise-open>span:last-child{grid-column:3;grid-row:3;font-size:12px}
  .gym-order-actions{flex-direction:row;gap:4px}
  .gym-order-actions button{min-width:48px;padding:6px;font-size:12px}
  .gym-exercise-screen{grid-template-columns:minmax(0,1fr);grid-template-areas:"back" "title" "media" "settings" "history" "table" "tools" "nav" "action";column-gap:0;row-gap:10px}
  .gym-exercise-screen>h3{font-size:24px}
  .gym-exercise-screen .gym-technique .gym-demo-video{height:min(62svh,560px);margin-inline:auto}
  .gym-exercise-screen>.gym-exercise-settings{justify-content:flex-start}
  .gym-exercise-screen>.gym-session-bar{bottom:calc(env(safe-area-inset-bottom,0px) + 78px);padding:10px}
}
@media(max-width:420px){
  .gym-workspace{padding:16px 12px 104px}
  .gym-workspace h3{font-size:24px}
  .gym-workout-row{grid-template-columns:32px minmax(0,1fr) auto;gap:6px}
  .gym-workspace .gym-drag-handle{width:32px;padding:5px}
  .gym-workspace .gym-exercise-open{grid-template-columns:42px 20px minmax(0,1fr);column-gap:6px}
  .gym-exercise-poster{width:42px;height:64px}
  .gym-position{font-size:16px}
  .gym-exercise-open strong{font-size:14px}
  .gym-order-actions{flex-direction:column;gap:3px}
  .gym-order-actions button{min-width:46px;min-height:40px;padding:5px 4px;font-size:12px}
  .gym-overview-controls>label{width:100%}
  .gym-exercise-screen>h3{font-size:24px}
  .gym-exercise-screen .gym-technique .gym-demo-video{height:min(58svh,500px)}
  .gym-exercise-screen .gym-log-table th:nth-child(2){width:68px}
  .gym-exercise-screen .gym-log-table td,.gym-exercise-screen .gym-log-table th{padding-inline:2px}
}

.gym-week-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title action" "copy action" "stats action";align-items:center;gap:6px 18px;margin:22px 0 16px;padding:8px 0 18px;border-bottom:1px solid var(--linea)}
.gym-week-heading h3{grid-area:title;margin:0 0 2px;font-size:24px}
.gym-week-heading p{grid-area:copy;max-width:58ch;margin:0;color:var(--tinta-2);font-size:14px;line-height:1.55}
.gym-week-stats{grid-area:stats;display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.gym-week-stats span{padding:5px 9px;border:1px solid var(--linea);border-radius:999px;background:var(--crema-2);color:var(--tinta-2);font-size:12px;font-weight:800}
.gym-week-heading>button{grid-area:action;min-width:148px}
.gym-week{display:grid;grid-template-columns:1fr;gap:8px;margin:8px 0 28px;padding:0;list-style:none}
.gym-day{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:82px;padding:12px 14px;border:1px solid transparent;border-bottom-color:var(--linea);border-radius:14px;background:transparent;transition:background-color .18s ease,transform .18s cubic-bezier(.2,.8,.2,1)}
.gym-day[data-today=true]{border-color:var(--coral-2);background:var(--coral-suave)}
.gym-day:hover{background:var(--papel);transform:translateY(-1px)}
.gym-day[data-today=true]:hover{background:var(--coral-suave)}
.gym-day-copy{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:baseline;gap:3px 14px;min-width:0}
.gym-day-label{grid-row:1/3;align-self:center;width:max-content;padding:5px 10px;border-radius:14px;background:var(--crema-2);color:var(--tinta-2);font-size:14px;font-weight:800}
.gym-day[data-assigned=true] .gym-day-label{background:var(--tinta-2);color:#fff}
.gym-day[data-today=true] .gym-day-label{background:var(--coral);color:#fff}
.gym-day-copy>strong{font-size:16px;line-height:1.3}
.gym-day-copy>small{grid-column:2;color:var(--tinta-2);font-size:12px}
.gym-today-tag{grid-column:2;color:var(--coral);font-size:12px;font-weight:800}
.gym-day-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gym-day-actions button{min-height:42px;padding:8px 13px;font-size:12px}
.gym-saved-routines{margin:22px 0 28px}
.gym-saved-routines h4{margin:0 0 8px;font-size:18px}
.gym-saved-routine{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,200px) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--linea)}
.gym-saved-routine>span{color:var(--tinta-2);font-size:12px}
.gym-saved-routine>label{display:grid;gap:4px;color:var(--tinta-2);font-size:12px;font-weight:700}
.gym-saved-routine select{min-height:40px;padding:7px 9px;border:1px solid var(--linea);border-radius:14px;background:var(--papel);color:var(--tinta)}
.gym-workspace details.disclosure{margin-top:18px}
@media(max-width:560px){
  .gym-week-heading{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "copy" "stats" "action";gap:8px;padding:8px 0 16px}
  .gym-week-heading button{width:100%}
  .gym-day{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px 12px}
  .gym-day-copy{grid-template-columns:70px minmax(0,1fr);gap:3px 10px}
  .gym-day-actions{padding-left:80px}
  .gym-day-actions button{flex:1}
  .gym-saved-routine{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
  .gym-saved-routine>span{grid-column:1/-1}
  .gym-saved-routine>label{grid-column:1}
  .gym-saved-routine>button{grid-column:2;grid-row:2;align-self:end}
}
.gym-workspace .gym-nav button,.gym-workspace .gym-day-actions button,.gym-workspace .gym-session-bar button{transition:transform .16s cubic-bezier(.2,.8,.2,1),background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.gym-workspace .gym-nav button[aria-pressed="true"]{background:var(--tinta);border-color:var(--tinta);color:#fff;box-shadow:0 3px 9px #1f234026}
.gym-workspace .gym-nav button[aria-pressed="true"]:focus-visible{outline-color:var(--coral);outline-offset:3px}
.gym-workspace :is(button,a):active{transform:scale(.985)}
.gym-workspace .gym-exercise-open{transition:background-color .18s ease,transform .16s cubic-bezier(.2,.8,.2,1)}
.gym-workspace .gym-exercise-open:hover{background:var(--crema-2)}
.gym-workspace .gym-exercise-open:active{transform:scale(.99)}
.gym-workspace :is(button,input,select,textarea,a):focus-visible{outline-color:var(--coral);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.gym-workspace *, .gym-day{scroll-behavior:auto;transition:none!important;animation:none!important}}
.gym-progress-heading{margin:18px 0 12px}.gym-progress-heading h3{margin:0 0 6px}.gym-progress-heading p{margin:0;color:var(--tinta-2);line-height:1.55}.gym-progress-empty{padding:20px;border:1px dashed var(--linea);border-radius:14px;color:var(--tinta-2);background:var(--papel)}
.gym-progress-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gym-progress-card{min-width:0;padding:18px;border:1px solid var(--linea);border-radius:14px;background:var(--papel)}.gym-progress-title{display:grid;gap:4px}.gym-progress-title h4{margin:0;font-size:18px}.gym-progress-title strong{color:var(--tinta);font-size:14px}.gym-progress-title small,.gym-progress-caption{color:var(--tinta-2);font-size:12px}.gym-progress-chart{display:flex;align-items:end;gap:8px;height:112px;margin:18px 0 8px;padding:8px 4px 0;border-bottom:1px solid var(--linea)}.gym-progress-column{display:flex;flex:1;min-width:0;height:100%;flex-direction:column;justify-content:end;align-items:center;gap:6px}.gym-progress-bar{display:block;width:min(100%,32px);height:var(--gym-bar);min-height:4px;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,var(--coral),#d88967)}.gym-progress-column small{color:var(--tinta-2);font-size:12px}.gym-progress-caption{margin:8px 0 0;line-height:1.5}
.gym-workspace .gym-drag-handle{align-self:center;min-width:40px;min-height:48px;touch-action:none}.gym-workspace .gym-exercise-open{grid-template-columns:88px 28px minmax(0,1fr) auto;min-height:124px}.gym-exercise-poster{width:88px;height:132px;border-radius:14px}.gym-workout-row{min-height:148px;padding:14px 0}.gym-order-actions{display:none}.gym-set-type-row td{padding:2px 4px 10px!important;border-bottom:1px solid var(--linea)}.gym-set-type{display:grid;grid-template-columns:auto minmax(120px,180px);align-items:center;gap:8px;color:var(--tinta-2);font-size:12px;font-weight:700}.gym-set-type select{min-height:36px;padding:6px 9px;border:1px solid var(--linea);border-radius:14px;background:var(--papel);color:var(--tinta);font-size:14px}.gym-planned-set-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gym-planned-set-types select{min-height:40px;padding:7px 9px;border:1px solid var(--linea);border-radius:14px;background:var(--papel);color:var(--tinta)}
@media(max-width:820px){.gym-progress-list{grid-template-columns:minmax(0,1fr)}.gym-workspace .gym-exercise-open{grid-template-columns:68px 24px minmax(0,1fr);min-height:100px}.gym-exercise-poster{width:68px;height:102px}.gym-workout-row{min-height:116px}.gym-workspace .gym-drag-handle{width:40px}.gym-workspace .gym-order-actions{display:none}}
@media(max-width:420px){.gym-workspace .gym-exercise-open{grid-template-columns:56px 20px minmax(0,1fr);min-height:84px;column-gap:7px}.gym-exercise-poster{width:56px;height:84px}.gym-workout-row{min-height:98px;gap:5px}.gym-workspace .gym-drag-handle{width:32px;min-width:32px;padding:5px}.gym-set-type{grid-template-columns:minmax(0,1fr);gap:4px;text-align:left}.gym-set-type select{width:100%}.gym-set-type-row td{padding-inline:2px!important}.gym-planned-set-types{grid-template-columns:minmax(0,1fr)}}
.gym-exercise-target{grid-column:3/5;grid-row:2;align-self:start;font-size:12px;line-height:1.4;color:var(--tinta-2)}.gym-exercise-muscles{grid-column:3/5;grid-row:3;color:#9a5d41;font-size:12px;font-weight:700;line-height:1.35}.gym-day-muscles{grid-column:2;color:#9a5d41!important;font-weight:700}
@media(max-width:820px){.gym-exercise-target,.gym-exercise-muscles{grid-column:3}.gym-exercise-target{grid-row:3}.gym-exercise-muscles{grid-row:4}}
@media(max-width:420px){.gym-exercise-muscles{font-size:12px}}
.gym-progress-chart-label{margin:14px 0 -10px;color:var(--tinta-2);font-size:12px;font-weight:800}.gym-progress-load-bar{background:var(--tinta-2)}
.gym-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gym-exercise-screen .gym-log-table th:first-child{width:94px}
.gym-set-number{display:block;font-size:16px;font-weight:800;color:var(--tinta)}
.gym-log-table .gym-set-type-control{display:block;width:100%;margin:4px 0 0}
.gym-workspace .gym-log-table .gym-set-type-inline{width:100%;min-height:30px;padding:3px 5px;border:1px solid var(--linea);border-radius:14px;background:var(--papel);color:var(--tinta-2);font-size:12px;font-weight:800;box-shadow:none}
.gym-log-table tr[data-selected=true]{background:var(--coral-suave)}
.gym-session-context{grid-area:context;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:10px 12px;border-radius:14px;background:var(--coral-suave);color:var(--tinta)}
.gym-session-count{font-size:14px;font-weight:800}.gym-session-label{color:#9a4637;font-size:12px;font-weight:800}
.gym-session-progress{grid-column:1/-1;display:block;width:100%;height:6px;border:0;border-radius:99px;overflow:hidden;accent-color:var(--coral)}
.gym-session-progress::-webkit-progress-bar{border-radius:99px;background:#f3c7b8}.gym-session-progress::-webkit-progress-value{border-radius:99px;background:var(--coral)}
.gym-session-unit{display:grid;align-content:center;gap:2px;min-width:66px;padding:8px 12px;border:1px solid var(--linea);border-radius:14px;background:var(--crema-2)}
.gym-session-unit span{color:var(--tinta-2);font-size:12px}.gym-session-unit strong{font-size:14px}
.gym-exercise-screen.gym-session-active{grid-template-areas:"back back" "context context" "title title" "media settings" "media history" "media table" "media tools" "media nav" "media action"}
.gym-exercise-screen.gym-session-active>.gym-back{grid-area:back}
.gym-exercise-screen.gym-session-active>.gym-session-context{grid-area:context}
.gym-exercise-screen.gym-session-active>.gym-session-bar{position:sticky;bottom:16px;padding:12px 14px;border:1px solid #353a5e;border-radius:14px;background:var(--tinta);color:var(--papel);box-shadow:0 -8px 24px #1f234030}
.gym-exercise-screen.gym-session-active .gym-step-status{color:#f8ecd0}
.gym-workspace.gym-session-active .gym-session-bar>.primary{min-height:50px;border-color:var(--coral);background:var(--coral);color:#fff;font-weight:800}
.gym-exercise-screen.gym-session-active .gym-inline-rest{padding:4px 2px}
.gym-exercise-screen.gym-session-active .gym-inline-rest output{color:#fff;font-size:24px;font-weight:800}
.gym-exercise-screen.gym-session-active .gym-inline-rest button{border-color:#777b96;color:#fff}
.gym-exercise-screen.gym-session-active>.gym-active-series-disclosure{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.gym-exercise-screen.gym-session-active>.gym-active-series-disclosure>summary{padding:8px 2px;color:var(--tinta-2);font-size:12px;font-weight:800}
.gym-exercise-screen.gym-session-active>.gym-active-series-disclosure>.gym-series-tools{padding:8px 0}
.gym-exercise-screen.gym-session-active .gym-demo-video{height:min(54svh,520px)}
@media(max-width:820px){
  .gym-exercise-screen.gym-session-active{grid-template-areas:"back" "context" "title" "media" "settings" "history" "table" "tools" "nav" "action"}
  .gym-exercise-screen.gym-session-active .gym-demo-video{height:min(42svh,360px);max-height:min(42svh,360px)}
  .gym-exercise-screen.gym-session-active>.gym-session-bar{bottom:calc(env(safe-area-inset-bottom,0px) + 78px)}
}
@media(max-width:560px){
  .gym-exercise-screen .gym-log-table th:first-child{width:76px}
  .gym-exercise-screen .gym-log-table th:nth-child(2){width:68px}
  .gym-workspace .gym-log-table .gym-set-type-inline{font-size:12px;padding-inline:2px}
  .gym-session-context{padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){.gym-session-progress{scroll-behavior:auto}}
.gym-log-table tr[data-selected=true],.gym-log-table tr[data-done=true]{background:transparent}
.gym-log-table tr[data-selected=true] .gym-set-state{color:var(--coral)}
.gym-workspace .gym-log-table .gym-set-type-inline{display:flex;align-items:center;justify-content:flex-start;gap:5px;width:100%;min-height:42px;padding:3px 5px;border:0;border-radius:14px;background:transparent;color:var(--tinta);font-size:14px;font-weight:800;white-space:nowrap;box-shadow:none;transition:background-color 160ms ease,transform 160ms cubic-bezier(.2,.8,.2,1)}
.gym-workspace .gym-log-table .gym-set-type-inline:active{transform:scale(.96)}
.gym-set-number{min-width:18px;font-variant-numeric:tabular-nums}
.gym-workspace .gym-log-table .gym-set-type-inline .gym-icon{width:12px;height:12px;margin-left:auto}
.gym-workspace .gym-log-table .gym-set-type-inline[data-type=working] .gym-icon{opacity:.4}
.gym-workspace .gym-log-table .gym-set-type-inline[data-type=warmup],.gym-workspace .gym-log-table .gym-set-type-inline[data-type=drop],.gym-workspace .gym-log-table .gym-set-type-inline[data-type=failure]{background:#fffaf2}
.gym-workspace .gym-log-table .gym-set-type-inline .gym-type-letter{width:19px;height:19px;flex-basis:19px;font-size:12px}
.gym-workspace .gym-log-table th:first-child{width:82px}
.gym-workspace .gym-log-table th:nth-child(2),.gym-workspace .gym-log-table th:nth-child(3){width:96px}
.gym-workspace .gym-log-table th:last-child{width:42px}
.gym-workspace .gym-log-table td{padding:6px 4px}
.gym-workspace .gym-log-table input{min-height:44px;padding:7px 4px;border:0;border-bottom:1px solid #b7c0d0;border-radius:0;background:transparent;color:#326fc5;font-size:18px;font-weight:700;box-shadow:none;transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease}
.gym-workspace .gym-log-table input:focus{border-bottom:2px solid #326fc5;background:#edf4ff;box-shadow:0 0 0 4px #326fc51a;outline:0}
.gym-log-table input::selection{background:#c9dcff;color:#173e80}
.gym-workspace .gym-log-table tr[data-selected=true] .gym-set-type-inline{background:#f5e8d5}
.gym-workspace .gym-log-table tr[data-done=true] .gym-set-type-inline{color:#318353}
.gym-workspace .gym-log-table tr[data-done=true] .gym-set-state{color:#2f9a58}
.gym-workspace .gym-log-table .gym-set-add-row th:first-child{padding-top:3px}
.gym-workspace .gym-log-table .gym-add-set{display:grid;place-items:center;width:38px;min-height:38px;margin:auto;border:0;border-radius:50%;background:transparent;color:var(--tinta-2);font-size:24px;box-shadow:none;transition:background-color 150ms ease,transform 150ms cubic-bezier(.2,.8,.2,1)}
.gym-workspace .gym-log-table .gym-add-set:active{transform:scale(.9);background:#f3e9d8}
.gym-workspace .gym-session-active>.gym-back.gym-session-exit{display:grid;place-items:center;width:42px;min-height:42px;padding:0;border:1px solid var(--linea);border-radius:50%;background:#fffaf3;color:var(--tinta);font-size:24px;line-height:1;transition:background-color 150ms ease,transform 150ms cubic-bezier(.2,.8,.2,1)}
.gym-workspace .gym-session-active>.gym-back.gym-session-exit:active{transform:scale(.92);background:#f4e7d3}
.gym-workspace .gym-primary-step{transition:transform 160ms cubic-bezier(.2,.8,.2,1),background-color 180ms ease,box-shadow 180ms ease}
.gym-workspace .gym-primary-step:active{transform:scale(.985)}
.gym-workspace .gym-session-bar[data-resting=true]{animation:gym-rest-enter 320ms cubic-bezier(.2,.8,.2,1) both}
@keyframes gym-rest-enter{from{opacity:.65;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:560px){.gym-workspace .gym-log-table th:first-child{width:66px}.gym-workspace .gym-log-table th:nth-child(2),.gym-workspace .gym-log-table th:nth-child(3){width:76px}.gym-workspace .gym-log-table th:last-child{width:36px}.gym-workspace .gym-log-table .gym-set-type-inline{font-size:12px;gap:3px;padding-inline:2px}}
@media(prefers-reduced-motion:reduce){.gym-workspace .gym-log-table .gym-set-type-inline,.gym-workspace .gym-log-table input,.gym-workspace .gym-add-set,.gym-session-exit,.gym-primary-step{transition:none!important;animation:none!important}}
.gym-set-type-inline .gym-type-control-name{justify-self:start;white-space:nowrap}
.gym-set-type-inline .gym-icon{width:11px;height:11px;flex:0 0 auto;color:var(--tinta-2)}
.gym-set-type-inline>.gym-type-letter-empty{background:transparent}
.gym-type-letter{display:inline-grid;place-items:center;width:17px;height:17px;flex:0 0 17px;border-radius:5px;font-size:12px;font-weight:900;line-height:1}
.gym-set-type-inline[data-type=warmup] .gym-type-letter,.gym-set-type-option[data-type=warmup] .gym-type-letter{background:#fff0c2;color:#9a6400}
.gym-set-type-inline[data-type=drop] .gym-type-letter,.gym-set-type-option[data-type=drop] .gym-type-letter{background:#e2edff;color:#2c67ba}
.gym-set-type-inline[data-type=failure] .gym-type-letter,.gym-set-type-option[data-type=failure] .gym-type-letter{background:#ffe1d8;color:#ba4938}
.gym-set-type-dialog,.gym-log-dialog{width:min(360px,calc(100vw - 32px));max-height:min(82svh,640px);margin:auto;padding:18px;border:1px solid var(--linea);border-radius:24px;background:var(--papel);color:var(--tinta);box-shadow:0 20px 64px #1f23403b;opacity:1;transform:scale(1);transition:opacity 200ms cubic-bezier(.23,1,.32,1),transform 200ms cubic-bezier(.23,1,.32,1)}
.gym-set-type-dialog{position:fixed;inset:auto;margin:0;width:min(340px,calc(100vw - 32px));max-height:min(82svh,520px);padding:16px;border-radius:14px;box-shadow:0 14px 36px #1f23402e;transform:scale(1);transition:opacity 180ms cubic-bezier(.23,1,.32,1),transform 180ms cubic-bezier(.23,1,.32,1)}
.gym-set-type-dialog::backdrop{background:transparent}
.gym-log-dialog::backdrop{background:#181a26a8}
.gym-set-type-dialog[open],.gym-log-dialog[open]{@starting-style{opacity:0;transform:scale(.96)}}
.gym-set-type-dialog[data-closing=true]{opacity:0;transform:scale(.96)}
.gym-set-type-dialog h3,.gym-log-dialog h3{margin:0;font-size:18px;line-height:1.2;letter-spacing:-.02em}
.gym-set-type-dialog>p{margin:5px 0 10px;color:var(--tinta-2);font-size:12px}
.gym-workspace .gym-set-type-option{display:grid;grid-template-columns:28px minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;min-height:54px;padding:8px 10px;border:0;border-radius:14px;background:transparent;color:var(--tinta);text-align:left;box-shadow:none;transition:background-color 150ms ease,transform 140ms cubic-bezier(.23,1,.32,1)}
.gym-set-type-option:active{transform:scale(.98)}
.gym-set-type-option[data-selected=true]{background:#f3e9d8}
.gym-set-type-option>.gym-icon{width:20px;height:20px;padding:3px;border-radius:50%;background:var(--crema-2);color:var(--tinta-2)}
.gym-set-type-option .gym-type-letter{width:24px;height:24px;flex-basis:24px;font-size:14px}
.gym-set-type-copy{display:grid;gap:2px}.gym-set-type-copy strong{font-size:14px}.gym-set-type-copy small{color:var(--tinta-2);font-size:12px;line-height:1.3}
.gym-set-type-option[data-selected=true]>.gym-icon{background:var(--coral);color:white}
.gym-log-dialog{width:min(440px,calc(100vw - 32px));padding:0;overflow:hidden}
.gym-log-form{display:grid;gap:14px;padding:22px}.gym-log-form h3{font-size:24px}.gym-log-type{justify-self:start;padding:5px 9px;border-radius:7px;background:#f3e9d8;color:var(--tinta-2);font-size:12px;font-weight:800}
.gym-log-type[data-type=warmup]{background:#fff0c2;color:#805300}.gym-log-type[data-type=drop]{background:#e2edff;color:#2c67ba}.gym-log-type[data-type=failure]{background:#ffe1d8;color:#a83d2d}
.gym-log-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gym-log-fields label{display:grid;gap:6px;color:var(--tinta-2);font-size:12px;font-weight:800}.gym-workspace .gym-log-fields input{width:100%;min-height:58px;padding:10px;border-radius:14px;background:#fffdf9;font-size:24px;font-weight:800;text-align:center}
.gym-log-dialog-actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1.3fr;gap:8px;padding-top:4px;background:var(--papel)}.gym-log-dialog-actions button{min-height:48px}.gym-log-dialog-actions .primary{background:var(--tinta);color:#fff}
.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true]{border-color:#299754;background:#3ca864;color:white;box-shadow:0 -8px 24px #267c4538}
.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true] .gym-step-status{color:#f0fff4}
.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true] .gym-inline-rest output{display:block;color:white;font-size:clamp(28px,4vw,40px);font-variant-numeric:tabular-nums;letter-spacing:-.03em;text-align:center}
.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true] .gym-inline-rest{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px 8px}
.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true] .gym-inline-rest>button:first-of-type{grid-column:1;grid-row:1/3}.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true] .gym-inline-rest>output{grid-column:2;grid-row:1}.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true] .gym-rest-label{grid-column:2;grid-row:2;color:#f0fff4;font-size:12px;font-weight:800;letter-spacing:.06em;text-align:center;text-transform:uppercase}.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true] .gym-inline-rest>button:last-of-type{grid-column:3;grid-row:1/3}
.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true] .gym-inline-rest button{min-width:46px;min-height:40px;border-color:#e2f4e7;background:#ffffff17;color:white}
.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true]>.gym-primary-step{min-height:44px;border-color:#e5f5e9;background:#f7fff9;color:#247b45}
@media(max-width:560px){.gym-set-type-dialog{width:min(340px,calc(100vw - 24px));padding:14px}.gym-log-dialog{align-self:end;width:100%;max-width:none;max-height:min(82svh,680px);margin:0;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom,0px);transform:translateY(0);transition:opacity 220ms cubic-bezier(.23,1,.32,1),transform 220ms cubic-bezier(.23,1,.32,1)}.gym-log-dialog[open]{@starting-style{opacity:0;transform:translateY(16px)}}.gym-log-form{padding:20px 18px 14px}.gym-log-form h3{font-size:24px}.gym-log-fields{gap:8px}.gym-log-dialog-actions{grid-template-columns:1fr 1.25fr}.gym-exercise-screen.gym-session-active>.gym-session-bar[data-resting=true] .gym-inline-rest output{font-size:30px}}
@media(prefers-reduced-motion:reduce){.gym-set-type-dialog,.gym-log-dialog{transition:opacity 200ms ease}.gym-set-type-dialog[open],.gym-log-dialog[open]{@starting-style{transform:none}}.gym-set-type-dialog[data-closing=true]{transform:none}.gym-set-type-option{transition:background-color 150ms ease}}
.gym-exercise-library{margin:22px 0;padding:20px;border:1px solid var(--linea);border-radius:24px;background:var(--papel)}
.gym-exercise-library>h4,.gym-selected-heading h4{margin:0;font-size:18px}
.gym-exercise-library>p,.gym-selected-heading>p{margin:5px 0 14px;color:var(--tinta-2);font-size:14px}
.gym-exercise-library>label{display:grid;gap:6px;margin:14px 0;color:var(--tinta-2);font-size:14px;font-weight:700}
.gym-exercise-library input[type=search]{width:100%;min-height:46px;padding:10px 13px;border:1px solid var(--linea);border-radius:14px;background:#fffaf3;color:var(--tinta)}
.gym-exercise-library input[type=search]:focus-visible,.gym-exercise-library-filters select:focus-visible{outline:3px solid color-mix(in srgb,var(--coral) 48%,transparent);outline-offset:2px}
.gym-exercise-library-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 4px}
.gym-exercise-library-filters>label{display:grid;gap:6px;color:var(--tinta-2);font-size:14px;font-weight:700}
.gym-exercise-library-filters select{width:100%;min-height:44px;padding:9px 36px 9px 12px;border:1px solid var(--linea);border-radius:14px;background:#fffaf3;color:var(--tinta);font:inherit}
.gym-exercise-library-count{margin:8px 0 0!important;font-variant-numeric:tabular-nums}
.gym-library-equipment{color:var(--tinta-2);font-size:12px!important}
.gym-library-empty{grid-column:1/-1;padding:16px 0;color:var(--tinta-2)}
.gym-library-empty p{margin:0 0 10px}
.gym-library-empty button{min-height:38px;padding:7px 12px;border:1px solid var(--linea);border-radius:14px;background:var(--papel);color:var(--tinta);font-weight:700}
.gym-exercise-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:12px;margin-top:14px}
.gym-workspace .gym-library-exercise{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--linea);border-radius:14px;background:#fffaf3}
.gym-library-exercise>img{grid-row:1/3;width:76px;height:90px;object-fit:cover;border-radius:14px;background:var(--crema-2)}
.gym-library-exercise-copy{display:grid;align-content:center;gap:5px;min-width:0}
.gym-library-exercise-copy strong{font-size:14px;line-height:1.3}
.gym-library-exercise-copy small{color:var(--tinta-2);font-size:12px;line-height:1.35}
.gym-workspace .gym-library-exercise>button{min-height:36px;padding:7px 10px;font-size:12px}
.gym-library-exercise[data-selected=true]{border-color:var(--coral);background:#fff3e9}
.gym-library-exercise[data-selected=true]>button{background:var(--coral);color:white}
.gym-selected-heading{margin:24px 0 8px}
.gym-custom-exercises .gym-exercise>.gym-routine-poster{grid-column:1/-1;width:100%;max-height:180px;object-fit:cover;object-position:center 38%;border-radius:14px;background:var(--crema-2)}
.gym-custom-exercises .gym-exercise>h4{align-self:end}
@media(max-width:680px){.gym-exercise-library{padding:15px}.gym-exercise-library-filters{gap:8px}.gym-exercise-library-filters>label{font-size:12px}.gym-exercise-library-filters select{min-height:42px;padding-left:9px}.gym-exercise-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gym-workspace .gym-library-exercise{grid-template-columns:56px minmax(0,1fr);gap:7px;padding:8px}.gym-library-exercise>img{width:56px;height:68px}.gym-library-exercise-copy strong{font-size:12px}.gym-workspace .gym-library-exercise>button{grid-column:1/-1;min-height:38px}}
@media(max-width:480px){.gym-exercise-library-grid{grid-template-columns:minmax(0,1fr);gap:8px}.gym-workspace .gym-library-exercise{grid-template-columns:56px minmax(0,1fr) auto;grid-template-rows:minmax(68px,auto);gap:9px;padding:9px}.gym-library-exercise>img{grid-row:1;width:56px;height:68px}.gym-library-exercise-copy{grid-column:2;grid-row:1}.gym-workspace .gym-library-exercise>button{grid-column:3;grid-row:1;min-width:84px;min-height:40px;padding-inline:9px}}
@media(max-width:360px){.gym-exercise-library-filters{grid-template-columns:minmax(0,1fr);gap:4px}.gym-exercise-library-grid{grid-template-columns:minmax(0,1fr)}.gym-workspace .gym-library-exercise{grid-template-columns:56px minmax(0,1fr);grid-template-rows:minmax(68px,auto) auto}.gym-library-exercise>img{grid-row:1/3}.gym-library-exercise-copy{grid-column:2;grid-row:1}.gym-workspace .gym-library-exercise>button{grid-column:2;grid-row:2;width:100%}}

.imperial-height-inputs{grid-column:span 2}@media(max-width:720px){.imperial-height-inputs{grid-column:auto}}

/* Medidas · propuesta B (2026-11-05): tarjeta tinta con el ajolote, cambio por zona y hoja rápida como la del peso. */
.wellness{--mg-good:#2f8a5b;--mg-hero:var(--tinta,#1f2340);--mg-ink:#fff;--mg-soft:#d9dbea;--mg-card:var(--papel,#fffaf3);--mg-line:var(--linea,#eadfce);--mg-muted:var(--gris,#6f6b78)}
.measure-hero{position:relative;overflow:hidden;margin:4px 0 0;padding:18px 16px;border-radius:22px;background:var(--mg-hero);color:var(--mg-ink);isolation:isolate}
.measure-hero-copy{position:relative;z-index:1;max-width:calc(100% - 116px)}
.measure-hero-kicker{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--coral-2,#f08a72)}
.measure-hero h3{margin:6px 0 4px;font:800 26px/1.08 'Bricolage Grotesque',system-ui,sans-serif;color:var(--mg-ink)}
.measure-hero .measure-hero-text{margin:0;font-size:14px;line-height:1.4;color:var(--mg-soft)}
.wellness .measure-hero .measure-hero-action{width:auto;margin-top:14px;min-height:46px;padding:10px 18px;border:0;border-radius:99px;background:var(--coral,#e8664c);color:#fff;font-weight:800}
.wellness .measure-hero .measure-hero-action.is-quiet{background:#ffffff1f}
.measure-hero-mascot{position:absolute;right:-6px;bottom:-6px;width:124px;height:auto;z-index:0;pointer-events:none}
.measure-glance-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:20px 0 10px}
.measure-glance-head h3{margin:0;font:800 19px 'Bricolage Grotesque',system-ui,sans-serif}
.measure-glance-head small{font-size:13px;font-weight:700;color:var(--mg-muted)}
.measure-glance{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;list-style:none}
.measure-zone{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--mg-line);border-radius:16px;background:var(--mg-card)}
.measure-zone-name{font-size:13px;font-weight:700;color:var(--mg-muted)}
.measure-zone strong{font:800 24px/1.1 'Bricolage Grotesque',system-ui,sans-serif;color:var(--tinta,#1f2340)}
.measure-zone small{font-size:12.5px;font-weight:800;color:var(--mg-muted)}
.measure-zone.is-good small{color:var(--mg-good)}
.measure-zone.is-empty strong{color:color-mix(in srgb,var(--mg-muted) 60%,transparent)}
.measure-3d{margin:12px 0 0;border:1px solid var(--mg-line);border-radius:16px;background:var(--mg-card)}
.measure-3d>summary{display:flex;align-items:center;gap:12px;min-height:72px;padding:10px 14px;list-style:none;cursor:pointer}
.measure-3d>summary::-webkit-details-marker{display:none}
.measure-3d-badge{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:#9cc5ae;color:var(--tinta,#1f2340);font-weight:900}
.measure-3d-copy{display:flex;flex-direction:column;gap:2px}.measure-3d-copy small{color:var(--mg-muted)}
.measure-3d[open]>summary{border-bottom:1px solid var(--mg-line)}
.measure-3d>:not(summary){margin:12px}
