/* ===== final requested UI fixes ===== */
.weight-compact-row{display:flex;align-items:center;gap:10px;width:100%;overflow:hidden;margin-bottom:10px}.weight-today{flex:0 0 auto;min-width:112px}.weight-today span{display:block;color:var(--muted);font-size:11px;font-weight:900}.weight-today b{display:block;color:var(--lime);font-size:24px;line-height:1;font-weight:1000;white-space:nowrap}.weight-pills{display:flex;align-items:center;gap:6px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.weight-pills::-webkit-scrollbar{display:none}.weight-pills .avg-pill{font-size:10px!important;height:24px!important;line-height:24px!important;padding:0 8px!important;flex:0 0 auto}.weight-body-card{overflow:hidden}.weight-summary-chips{display:flex;gap:6px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}.weight-summary-chips::-webkit-scrollbar{display:none}.weight-summary-chips span{flex:0 0 auto;border:1px solid #242424;background:#151515;border-radius:999px;padding:7px 10px;color:var(--muted);font-size:11px;font-weight:900}.weight-summary-chips b{color:#fff}.weight-swiper{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:4px;scrollbar-width:none}.weight-swiper::-webkit-scrollbar{display:none}.weight-slide{flex:0 0 100%;scroll-snap-align:start;min-width:100%}.weight-speed{margin-top:10px;border-radius:999px;border:1px solid #242424;background:#151515;padding:9px 12px;font-size:12px;font-weight:900;color:var(--muted);text-align:center}.weight-speed.good{color:var(--lime);border-color:rgba(163,255,18,.28);background:rgba(163,255,18,.1)}.weight-speed.bad{color:var(--red);border-color:rgba(255,76,57,.28);background:rgba(255,76,57,.1)}.weight-speed.neutral{color:var(--muted)}.workout-mark-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(163,255,18,.24);background:linear-gradient(135deg,rgba(163,255,18,.11),rgba(20,20,20,.92));border-radius:22px;padding:10px 12px;margin:0 0 12px}.workout-mark-banner span{font-size:12px;font-weight:900;color:#dfe6ef;line-height:1.2}.workout-mark-banner .btn{min-height:38px;padding:0 12px;font-size:12px!important;white-space:nowrap}.exercise-search-wrap{margin:0 0 10px}.exercise-search{margin:0!important;border-radius:999px!important;background:#111!important}@media(max-width:420px){.profile-actions{gap:6px}.profile-actions .circle-btn{width:40px;height:40px}.weight-compact-row{gap:8px}.weight-today{min-width:96px}.weight-today b{font-size:20px}.weight-pills .avg-pill{font-size:9px!important;padding:0 7px!important}.workout-mark-banner{padding:9px 10px}.workout-mark-banner .btn{padding:0 10px;font-size:11px!important}}

/* ===== FINAL REQUEST 2026-05-30: compact profile + exercise card polish ===== */
.weight-body-card{padding:14px!important}
.weight-compact-row{margin-bottom:8px!important}
.weight-today{min-width:104px!important}
.weight-today b{font-size:22px!important}
.weight-pills{justify-content:flex-start;gap:5px!important}
.weight-pills .avg-pill{height:23px!important;line-height:23px!important;font-size:9.5px!important;padding:0 7px!important}
.weight-summary-chips{gap:5px!important;padding-bottom:8px!important}
.weight-summary-chips span{font-size:10.5px!important;padding:6px 9px!important}
.weight-speed-edge{width:max-content;max-width:100%;margin:8px 0 0 auto!important;display:flex;align-items:center;gap:6px;text-align:right!important;padding:6px 10px!important;font-size:10.5px!important;line-height:1.1;border-radius:999px!important}
.weight-speed-edge span{color:var(--muted);font-weight:900}.weight-speed-edge b{font-size:11px;color:inherit}
.inline-editor{margin-top:10px;border:1px solid #242424;background:#111;border-radius:18px;padding:0;overflow:hidden}
.inline-editor summary{list-style:none;cursor:pointer;padding:12px 14px;font-weight:1000;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px}
.inline-editor summary::-webkit-details-marker{display:none}
.inline-editor summary:after{content:"+";width:24px;height:24px;border-radius:50%;background:#191919;display:grid;place-items:center;color:var(--lime);font-weight:1000}
.inline-editor[open] summary:after{content:"âˆ’"}

.inline-editor>.today-input-row{width:calc(100% - 24px)!important;display:grid;margin-bottom:0}

.exercise-weight-editor .set-row{margin-left:12px;margin-right:12px}
.clean-exercise-card{overflow:hidden}.clean-exercise-card h2{font-size:22px;line-height:1.05;margin:0 0 10px;letter-spacing:-.4px}
.equipment-slider-wrap{margin:2px 0 12px}.equipment-slider{display:flex;gap:9px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:none}.equipment-slider::-webkit-scrollbar{display:none}
.equipment-tile{flex:0 0 74px;height:70px;border:1px solid #242424;background:#151515;border-radius:18px;padding:8px;display:grid;place-items:center;gap:4px;cursor:pointer;color:#fff;overflow:hidden}
.equipment-img{width:34px;height:34px;border-radius:12px;background:var(--eq) center/contain no-repeat,linear-gradient(135deg,rgba(163,255,18,.15),rgba(255,255,255,.04));border:1px solid rgba(163,255,18,.18);display:block}
.equipment-tile small{font-size:9px;color:var(--muted);font-weight:900;max-width:58px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.equipment-name-hint{min-height:16px;color:var(--muted);font-size:10.5px;font-weight:900;padding-left:3px}
.exercise-progress-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.exercise-progress-card{min-width:0;background:#151515;border:1px solid #242424;border-radius:18px;padding:10px 8px;text-align:center}.exercise-progress-card span{display:block;color:var(--muted);font-size:10px;font-weight:900;margin-bottom:5px}.exercise-progress-card b{display:block;font-size:17px;line-height:1;color:#fff;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exercise-progress-card .gain-positive{color:var(--lime)}.exercise-progress-card .gain-negative{color:var(--red)}
.exercise-info-compact{display:grid;gap:10px;margin-top:10px}.compact-group{background:#111;border:1px solid #242424;border-radius:18px;padding:11px 12px}.compact-group>b{display:block;font-size:12px;margin-bottom:8px;color:#fff}.info-chip-row{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}.info-chip-row::-webkit-scrollbar{display:none}.info-chip{flex:0 0 auto;border-radius:999px;background:rgba(163,255,18,.12);border:1px solid rgba(163,255,18,.24);color:var(--lime);padding:6px 9px;font-size:10.5px;font-weight:900;white-space:nowrap}.execution-grid{display:grid;grid-template-columns:1fr auto;gap:7px 12px;font-size:12px}.execution-grid span{color:var(--muted);font-weight:900}.execution-grid b{color:#fff;text-align:right}
.start-now-card{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.start-now-card div{background:#151515;border:1px solid #242424;border-radius:18px;padding:11px 12px;min-width:0}.start-now-card span{display:block;color:var(--muted);font-size:10.5px;font-weight:900;margin-bottom:5px}.start-now-card b{display:block;color:#fff;font-size:12.5px;line-height:1.25;overflow:hidden;text-overflow:ellipsis}
@media(max-width:420px){.weight-body-card{padding:12px!important}.weight-today{min-width:92px!important}.weight-today b{font-size:19px!important}.weight-pills .avg-pill{font-size:9px!important;padding:0 6px!important}.weight-summary-chips span{font-size:10px!important;padding:6px 8px!important}.equipment-tile{flex-basis:66px;height:64px;border-radius:16px}.equipment-img{width:30px;height:30px}.exercise-progress-cards{gap:6px}.exercise-progress-card{padding:9px 5px;border-radius:16px}.exercise-progress-card b{font-size:14px}.start-now-card{grid-template-columns:1fr}.clean-exercise-card h2{font-size:20px}}
@media(max-width:350px){.weight-compact-row{display:block!important}.weight-pills{margin-top:7px}.exercise-progress-card b{font-size:12.5px}.equipment-tile{flex-basis:62px}}

/* ===== HOTFIX 2026-05-30: equipment tiles show images only + exercises screen safety ===== */

.equipment-tile{height:62px!important;align-content:center!important}
.equipment-img{width:42px!important;height:42px!important}
#exercises.screen{min-height:60vh}
@media(max-width:420px){.equipment-tile{flex-basis:62px!important;height:58px!important}.equipment-img{width:38px!important;height:38px!important}}

/* ===== FINAL HOTFIX 2026-05-30: compact profile + exercise mobile polish ===== */
.weight-body-card{padding:13px!important;overflow:hidden!important}
.weight-body-card .section-title h3{font-size:16px;margin:0}
.weight-compact-row{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;overflow:hidden!important;margin-bottom:7px!important}
.weight-today{flex:0 0 auto!important;min-width:90px!important;max-width:116px!important}
.weight-today span{display:block!important;color:var(--muted)!important;font-size:10px!important;font-weight:900!important;line-height:1.1!important}
.weight-today b{display:block!important;color:var(--lime)!important;font-size:19px!important;line-height:1!important;font-weight:1000!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.weight-pills{display:flex!important;align-items:center!important;gap:5px!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;scrollbar-width:none!important}
.weight-pills::-webkit-scrollbar{display:none!important}
.weight-pills .avg-pill{flex:0 0 auto!important;min-width:0!important;height:22px!important;line-height:22px!important;font-size:9px!important;padding:0 7px!important;max-width:none!important}
.weight-summary-chips{display:flex!important;gap:5px!important;overflow-x:auto!important;padding:1px 0 8px!important;scrollbar-width:none!important}
.weight-summary-chips::-webkit-scrollbar{display:none!important}
.weight-summary-chips span{flex:0 0 auto!important;border:1px solid #242424!important;background:#151515!important;border-radius:999px!important;padding:6px 8px!important;color:var(--muted)!important;font-size:10px!important;font-weight:900!important;white-space:nowrap!important}
.weight-summary-chips b{color:#fff!important}
.weight-speed-edge{width:max-content!important;max-width:100%!important;margin:7px 0 0 auto!important;display:flex!important;align-items:center!important;gap:6px!important;text-align:right!important;padding:6px 9px!important;font-size:10px!important;line-height:1.1!important;border-radius:999px!important}
.weight-speed-edge span{color:var(--muted)!important;font-weight:900!important}.weight-speed-edge b{font-size:10.5px!important;color:inherit!important}
.inline-editor{margin-top:10px!important;border:1px solid #242424!important;background:#111!important;border-radius:18px!important;padding:0!important;overflow:hidden!important}
.inline-editor summary{list-style:none!important;cursor:pointer!important;padding:12px 14px!important;font-weight:1000!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.inline-editor summary::-webkit-details-marker{display:none!important}
.inline-editor summary:after{content:"+"!important;width:24px!important;height:24px!important;border-radius:50%!important;background:#191919!important;display:grid!important;place-items:center!important;color:var(--lime)!important;font-weight:1000!important}
.inline-editor[open] summary:after{content:"âˆ’"!important}
.inline-editor>.today-input-row,.inline-editor>.inline-editor>#setsBox,.inline-editor>.meta-line,.inline-editor>.input,.inline-editor>textarea,.inline-editor>button{margin-left:12px!important;margin-right:12px!important;width:calc(100% - 24px)!important}
.inline-editor>.today-input-row{width:calc(100% - 24px)!important;display:grid!important;margin-bottom:0!important}
.inline-editor>button:last-child{margin-bottom:12px!important}
.exercise-weight-editor{padding:0!important}.exercise-weight-editor .set-row{margin-left:12px!important;margin-right:12px!important}.exercise-weight-editor textarea{min-height:72px!important}
.clean-exercise-card{overflow:hidden!important}.clean-exercise-card h2{font-size:21px!important;line-height:1.06!important;margin:0 0 10px!important;letter-spacing:-.4px!important}
.equipment-slider-wrap{margin:2px 0 12px!important}.equipment-slider{display:flex!important;gap:9px!important;overflow-x:auto!important;padding:2px 1px 5px!important;scrollbar-width:none!important}.equipment-slider::-webkit-scrollbar{display:none!important}
.equipment-tile{flex:0 0 64px!important;height:58px!important;border:1px solid #242424!important;background:#151515!important;border-radius:17px!important;padding:7px!important;display:grid!important;place-items:center!important;cursor:pointer!important;color:#fff!important;overflow:hidden!important}
.equipment-img{width:40px!important;height:40px!important;border-radius:13px!important;background:var(--eq) center/contain no-repeat,linear-gradient(135deg,rgba(163,255,18,.15),rgba(255,255,255,.04))!important;border:1px solid rgba(163,255,18,.18)!important;display:block!important;position:relative!important}
.equipment-img:after{content:"ðŸ‹ï¸";display:grid;place-items:center;width:100%;height:100%;font-size:18px;opacity:.55}
.equipment-name-hint{min-height:16px!important;color:var(--muted)!important;font-size:10px!important;font-weight:900!important;padding-left:3px!important}
.equipment-tile small{display:none!important}
.exercise-progress-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:12px 0!important}
.exercise-progress-card{min-width:0!important;background:#151515!important;border:1px solid #242424!important;border-radius:17px!important;padding:9px 5px!important;text-align:center!important}
.exercise-progress-card span{display:block!important;color:var(--muted)!important;font-size:10px!important;font-weight:900!important;margin-bottom:5px!important}
.exercise-progress-card b{display:block!important;font-size:14px!important;line-height:1!important;color:#fff!important;font-weight:1000!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.exercise-progress-card .gain-positive{color:var(--lime)!important}.exercise-progress-card .gain-negative{color:var(--red)!important}
.exercise-info-compact{display:grid!important;gap:10px!important;margin-top:10px!important}.compact-group{background:#111!important;border:1px solid #242424!important;border-radius:18px!important;padding:11px 12px!important}.compact-group>b{display:block!important;font-size:12px!important;margin-bottom:8px!important;color:#fff!important}.info-chip-row{display:flex!important;gap:6px!important;overflow-x:auto!important;scrollbar-width:none!important}.info-chip-row::-webkit-scrollbar{display:none!important}.info-chip{flex:0 0 auto!important;border-radius:999px!important;background:rgba(163,255,18,.12)!important;border:1px solid rgba(163,255,18,.24)!important;color:var(--lime)!important;padding:6px 9px!important;font-size:10.5px!important;font-weight:900!important;white-space:nowrap!important}.execution-grid{display:grid!important;grid-template-columns:1fr auto!important;gap:7px 12px!important;font-size:12px!important}.execution-grid span{color:var(--muted)!important;font-weight:900!important}.execution-grid b{color:#fff!important;text-align:right!important}
.start-now-card{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important}.start-now-card div{background:#151515!important;border:1px solid #242424!important;border-radius:18px!important;padding:11px 12px!important;min-width:0!important}.start-now-card span{display:block!important;color:var(--muted)!important;font-size:10.5px!important;font-weight:900!important;margin-bottom:5px!important}.start-now-card b{display:block!important;color:#fff!important;font-size:12px!important;line-height:1.25!important;overflow:hidden!important;text-overflow:ellipsis!important}
#exercises.screen{min-height:60vh!important}.exercise-grid-fixed{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:12px!important}.exercise-detail-fixed{min-width:0!important}
@media(min-width:760px){.exercise-grid-fixed{grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr)!important}.exercise-detail-fixed{position:sticky!important;top:10px!important;align-self:start!important}.weight-today{min-width:108px!important}.weight-today b{font-size:22px!important}.exercise-progress-card b{font-size:16px!important}}
@media(max-width:420px){.weight-body-card{padding:12px!important}.weight-today{min-width:82px!important}.weight-today b{font-size:18px!important}.weight-pills .avg-pill{font-size:8.7px!important;padding:0 6px!important}.weight-summary-chips span{font-size:9.5px!important;padding:6px 7px!important}.equipment-tile{flex-basis:58px!important;height:54px!important;border-radius:16px!important}.equipment-img{width:36px!important;height:36px!important}.exercise-progress-card b{font-size:12.5px!important}.start-now-card{grid-template-columns:1fr!important}.clean-exercise-card h2{font-size:20px!important}}
@media(max-width:350px){.weight-compact-row{display:block!important}.weight-pills{margin-top:7px!important}.exercise-progress-card b{font-size:11.5px!important}.equipment-tile{flex-basis:54px!important}}

/* ===== GORILLAFIT FINAL TASK: exercise card PNG equipment layout ===== */
.gf-exercise-card{display:grid!important;gap:14px!important}

.gf-exercise-card h2{margin:0!important}




.gf-equipment-png{width:84px;height:84px;border-radius:22px;background:linear-gradient(135deg,rgba(163,255,18,.13),rgba(255,255,255,.035));border:1px solid rgba(163,255,18,.18);display:grid;place-items:center;position:relative;overflow:hidden}
.gf-equipment-png img{width:72%;height:72%;object-fit:contain;display:block;position:relative;z-index:2}

.gf-equipment-png.is-missing .gf-equipment-placeholder,.gf-equipment-png:not(:has(img)) .gf-equipment-placeholder{display:grid}





.gf-workset-card,.gf-empty-card{border:1px solid #242424;background:#111;border-radius:18px;padding:12px}
.gf-workset-card h3{margin:0 0 8px!important;font-size:15px;color:#fff}
.gf-workset-card p{margin:4px 0;color:var(--muted);font-size:12px;font-weight:900;display:flex;justify-content:space-between;gap:10px}
.gf-workset-card b{color:#fff}.gf-workset-card .gain-positive,.gf-total-stats .gain-positive{color:var(--lime)!important}.gf-workset-card .gain-negative,.gf-total-stats .gain-negative{color:var(--red)!important}
.gf-rest-card{border:1px solid #242424;background:#111;border-radius:18px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.gf-rest-card b{font-size:14px}

.gf-total-stats article{border:1px solid #242424;background:#151515;border-radius:18px;padding:13px;min-width:0}
.gf-total-stats b{display:block;margin-top:6px;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:760px){.gf-equipment-card{height:170px}.gf-equipment-png{width:96px;height:96px}}
@media(max-width:420px){.gf-equipment-card{height:140px;border-radius:20px;padding:13px}.gf-equipment-png{width:74px;height:74px}.gf-total-stats b{font-size:15px}.gf-workset-card p{font-size:11.5px}}

/* ===== FINAL REQUEST: PNG equipment + dynamic working sets table ===== */
.gf-exercise-card{display:grid!important;gap:14px!important;overflow:hidden!important}
.gf-exercise-card .workout-img,.gf-exercise-card iframe,.gf-exercise-card video{order:-2!important;margin-bottom:0!important}
.gf-exercise-card h2{margin:0!important;font-size:22px!important;line-height:1.08!important}
.gf-section-label{color:var(--muted);font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px}
.gf-equipment-carousel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding:2px 2px 6px;scrollbar-width:none}
.gf-equipment-carousel::-webkit-scrollbar{display:none}
.gf-equipment-card{flex:0 0 100%;min-width:100%;height:154px;scroll-snap-align:start;border:1px solid #242424;background:#151515;border-radius:22px;padding:16px;display:grid;place-items:center;text-align:center;gap:10px;overflow:hidden}


.gf-equipment-placeholder{display:none;color:var(--lime);font-size:30px;font-weight:1000;opacity:.72}

.gf-equipment-card b{font-size:15px;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gf-chip-list{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.gf-chip-list::-webkit-scrollbar{display:none}
.gf-chip{flex:0 0 auto;border-radius:999px;background:rgba(163,255,18,.12);border:1px solid rgba(163,255,18,.24);color:var(--lime);padding:7px 10px;font-size:11px;font-weight:900;white-space:nowrap}
.gf-worksets{display:grid;gap:8px}
.gf-empty-card{border:1px solid #242424;background:#111;border-radius:18px;padding:12px}
.gf-worksets-table-wrap{overflow-x:auto;border:1px solid #242424;background:#111;border-radius:18px;scrollbar-width:none}
.gf-worksets-table-wrap::-webkit-scrollbar{display:none}
.gf-worksets-table{width:100%;min-width:420px;border-collapse:separate;border-spacing:0;font-size:12px}
.gf-worksets-table th,.gf-worksets-table td{padding:11px 12px;border-bottom:1px solid #242424;text-align:center;white-space:nowrap;font-weight:900}
.gf-worksets-table tr:last-child th,.gf-worksets-table tr:last-child td{border-bottom:0}
.gf-worksets-table th{position:sticky;left:0;z-index:2;background:#111;color:var(--muted);text-align:left}
.gf-worksets-table td{color:#fff;background:#111}
.gf-worksets-table .gain-positive,.gf-total-stats .gain-positive{color:var(--lime)!important}
.gf-worksets-table .gain-negative,.gf-total-stats .gain-negative{color:var(--red)!important}
.gf-rest-card{border:1px solid #242424;background:#111;border-radius:18px;padding:12px;display:grid;gap:5px}
.gf-rest-card span,.gf-total-stats span{color:var(--muted);font-size:11px;font-weight:1000}
.gf-rest-card b{font-size:18px;line-height:1.1}
.gf-total-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gf-total-stats article{border:1px solid #242424;background:#151515;border-radius:18px;padding:14px;min-width:0}
.gf-total-stats b{display:block;margin-top:6px;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.exercise-weight-editor textarea{display:none!important}
@media(min-width:760px){.gf-equipment-card{height:170px}.gf-equipment-png{width:98px;height:98px}.gf-exercise-card h2{font-size:24px!important}}
@media(max-width:420px){.gf-equipment-card{height:140px;border-radius:20px;padding:13px}.gf-equipment-png{width:76px;height:76px}.gf-total-stats b{font-size:16px}.gf-worksets-table{min-width:390px}.gf-worksets-table th,.gf-worksets-table td{padding:10px 9px;font-size:11.5px}.gf-exercise-card h2{font-size:20px!important}}

/* ===== FINAL FIX: workout exercise swipe + trainer comment in workout ===== */
.gf-workout-swipe-area{touch-action:pan-y;user-select:none;-webkit-user-select:none;display:grid;gap:12px}
.gf-swipe-hint{border:1px solid rgba(163,255,18,.22);background:rgba(163,255,18,.08);color:var(--muted);border-radius:999px;padding:8px 11px;font-size:11px;font-weight:900;text-align:center;line-height:1.25}
@media(max-width:420px){.gf-swipe-hint{font-size:10.5px;padding:7px 9px}}

/* ===== FINAL PATCH: workout swipe and trainer exercise comment ===== */
.gf-workout-swipe-area{touch-action:pan-y;overscroll-behavior-x:contain}
.gf-swipe-hint{margin:0 0 10px;border:1px solid rgba(163,255,18,.22);background:rgba(163,255,18,.08);color:var(--muted);border-radius:999px;padding:8px 11px;text-align:center;font-size:11px;font-weight:1000;line-height:1.2}


/* ===== FINAL DELIVERY PATCH 2026-05-30: workout swipe + PNG cards ===== */
.gf-workout-swipe-area{touch-action:pan-y;user-select:none}
.gf-swipe-hint{margin:0 0 10px;border:1px solid rgba(163,255,18,.22);background:rgba(163,255,18,.08);color:var(--muted);border-radius:999px;padding:8px 11px;text-align:center;font-size:11px;font-weight:900}
.gf-equipment-png{width:86px;height:86px;border-radius:22px;background:linear-gradient(135deg,rgba(163,255,18,.13),rgba(255,255,255,.035));border:1px solid rgba(163,255,18,.18);display:grid;place-items:center;position:relative;overflow:hidden}
.gf-equipment-png img{width:78%;height:78%;object-fit:contain;display:block;position:relative;z-index:2}
.gf-equipment-png.is-missing .gf-equipment-placeholder{display:grid}

@media(max-width:420px){.gf-swipe-hint{font-size:10.5px;padding:7px 9px}.gf-equipment-png{width:76px;height:76px}}

/* ===== FINAL DELIVERY PATCH 2026-05-30B: swipe must not conflict with inventory carousel ===== */
.gf-equipment-carousel,.gf-equipment-card,.gf-equipment-png{touch-action:pan-x!important}
.gf-workout-swipe-area{touch-action:pan-y!important}

/* ===== FINAL OVERRIDE 2026-05-30: workout wheel + compact titles ===== */
.gf-exercise-wheel{display:flex!important;gap:8px!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;scroll-snap-type:x proximity!important;padding:2px 1px 10px!important;margin:0 0 10px!important;scrollbar-width:none!important;touch-action:pan-x!important}
.gf-exercise-wheel::-webkit-scrollbar{display:none!important}
.gf-exercise-wheel-item{flex:0 0 min(72vw,280px)!important;min-width:0!important;height:54px!important;border-radius:18px!important;border:1px solid #242424!important;background:#111!important;color:#fff!important;display:flex!important;align-items:center!important;gap:9px!important;padding:8px 11px!important;text-align:left!important;scroll-snap-align:center!important;overflow:hidden!important}
.gf-exercise-wheel-item span{width:28px!important;height:28px!important;border-radius:50%!important;background:#191919!important;color:var(--muted)!important;display:grid!important;place-items:center!important;font-size:11px!important;font-weight:1000!important;flex:0 0 auto!important}
.gf-exercise-wheel-item b{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.12!important;font-size:12px!important;font-weight:1000!important;word-break:break-word!important;min-width:0!important}
.gf-exercise-wheel-item.active{border-color:rgba(163,255,18,.45)!important;background:rgba(163,255,18,.1)!important}
.gf-exercise-wheel-item.active span{background:var(--lime)!important;color:#071000!important}
.gf-workout-swipe-area{touch-action:pan-y!important;min-width:0!important;overflow:visible!important}
.gf-workout-swipe-area .gf-equipment-carousel{touch-action:pan-x!important;overscroll-behavior-x:contain!important}
.gf-exercise-title,.gf-exercise-card h2{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;word-break:break-word!important;overflow-wrap:anywhere!important;line-height:1.08!important;margin:0 0 10px!important}
.gf-exercise-counter{margin:0 0 10px!important;min-width:0!important}.gf-exercise-counter .tag{max-width:58%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:420px){.gf-exercise-wheel-item{flex-basis:min(78vw,260px)!important;height:52px!important}.gf-exercise-wheel-item b{font-size:11.5px!important}.gf-exercise-title,.gf-exercise-card h2{-webkit-line-clamp:2!important;font-size:19px!important}}
@media(max-width:350px){.gf-exercise-wheel-item{flex-basis:82vw!important}.gf-exercise-title,.gf-exercise-card h2{font-size:18px!important}}


/* ===== GORILLAFIT REQUEST PATCH 2026-05-30C ===== */
.gf-workout-top{align-items:center!important}
.workout-log-top-btn{min-height:34px!important;height:34px!important;padding:0 11px!important;font-size:11px!important;white-space:nowrap!important;box-shadow:0 10px 24px rgba(163,255,18,.22)!important;flex:0 0 auto!important}
.gf-exercise-title-pill{display:block;width:100%;border-radius:18px;background:linear-gradient(135deg,var(--lime),var(--lime2));color:#071000;padding:10px 13px;font-size:15px;font-weight:1000;line-height:1.12;box-shadow:0 12px 28px rgba(163,255,18,.22);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 10px!important}
.gf-exercise-card .workout-img,.gf-exercise-card iframe,.gf-exercise-card video{margin-top:0!important;margin-bottom:0!important}
.gf-exercise-counter{display:none!important}

.bottom .tab{position:relative!important}
.chat-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:16px!important;height:16px!important;padding:0 5px!important;margin-left:4px!important;border-radius:999px!important;background:var(--lime)!important;color:#071000!important;font-size:10px!important;font-weight:1000!important;vertical-align:middle!important;box-shadow:0 0 0 2px rgba(163,255,18,.16),0 0 14px rgba(163,255,18,.42)!important}
.tab:has(.chat-badge){color:var(--lime)!important;background:rgba(163,255,18,.1)!important;border:1px solid rgba(163,255,18,.24)!important}
@media(max-width:420px){.workout-log-top-btn{height:32px!important;min-height:32px!important;padding:0 9px!important;font-size:10px!important}.gf-exercise-title-pill{font-size:14px!important;padding:9px 11px!important}}
@media(max-width:350px){.workout-log-top-btn{max-width:112px!important;overflow:hidden!important;text-overflow:ellipsis!important}.gf-exercise-title-pill{font-size:13px!important}}


/* ===== GORILLAFIT REQUEST PATCH 2026-05-30D ===== */
.gf-exercise-card .gf-exercise-title-pill{display:none!important}

.exercise-weight-editor #setsBox + .btn,
.exercise-weight-editor button[onclick="addSetRow()"]{margin-bottom:14px!important}
.exercise-weight-editor #ewSaveBtn{margin-top:8px!important}
.gf-equipment-png img{width:78%!important;height:78%!important;object-fit:contain!important;display:block!important}



/* ===== GORILLAFIT REQUEST PATCH 2026-05-30H: square full PNG equipment cards + workout top mark button ===== */
.gf-equipment-carousel{
  display:flex!important;
  gap:10px!important;
  overflow-x:auto!important;
  scroll-snap-type:x proximity!important;
  padding:2px 2px 8px!important;
  scrollbar-width:none!important;
  touch-action:pan-x!important;
}

.gf-equipment-card{
  flex:0 0 min(74vw,260px)!important;
  width:min(74vw,260px)!important;
  aspect-ratio:1/1!important;
  min-width:0!important;
  height:auto!important;
  padding:0!important;
  border-radius:24px!important;
  background:#151515!important;
  border:1px solid #242424!important;
  overflow:hidden!important;
  position:relative!important;
  display:block!important;
  scroll-snap-align:center!important;
}
.gf-equipment-png{
  width:100%!important;
  height:100%!important;
  border:0!important;
  border-radius:0!important;
  background:#101010!important;
  display:block!important;
  overflow:hidden!important;
  position:absolute!important;
  inset:0!important;
}
.gf-equipment-png img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
}
.gf-equipment-png.is-missing{
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,rgba(163,255,18,.12),rgba(255,255,255,.035))!important;
}


.gf-equipment-card b{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:3!important;
  min-height:42px!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  padding:22px 10px 10px!important;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.72) 54%,rgba(0,0,0,.92))!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.12!important;
  font-weight:1000!important;
  text-align:center!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.gf-workout-top .welcome{min-width:0!important}

.gf-workout-swipe-area{touch-action:pan-y!important;user-select:auto!important;-webkit-user-select:auto!important}
@media(max-width:420px){
  .gf-equipment-card{flex-basis:min(82vw,230px)!important;width:min(82vw,230px)!important;border-radius:22px!important}
  .gf-equipment-card b{font-size:12px!important;min-height:38px!important;padding:18px 8px 9px!important}
  .workout-log-top-btn{height:32px!important;min-height:32px!important;padding:0 9px!important;font-size:10px!important;max-width:128px!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
@media(max-width:350px){.workout-log-top-btn{max-width:108px!important}.gf-equipment-card{flex-basis:84vw!important;width:84vw!important}}

/* ===== GORILLAFIT REQUEST PATCH 2026-05-30J: square centered PNG equipment cards, no crop ===== */
.gf-equipment-carousel{
  display:flex!important;
  gap:12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;
  scroll-padding-inline:2px!important;
  padding:2px 2px 8px!important;
  scrollbar-width:none!important;
  touch-action:pan-x!important;
}

.gf-equipment-card{
  flex:0 0 clamp(178px,64vw,230px)!important;
  width:clamp(178px,64vw,230px)!important;
  aspect-ratio:1/1!important;
  height:auto!important;
  min-width:0!important;
  padding:0!important;
  border-radius:24px!important;
  background:#000!important;
  border:1px solid #242424!important;
  overflow:hidden!important;
  position:relative!important;
  display:block!important;
  scroll-snap-align:center!important;
  scroll-snap-stop:always!important;
}


.gf-equipment-png.is-missing{
  background:#000!important;
}
.gf-equipment-placeholder{
  display:none!important;
  color:var(--lime)!important;
  font-size:34px!important;
  font-weight:1000!important;
  opacity:.78!important;
  position:relative!important;
  z-index:2!important;
}
.gf-equipment-png.is-missing .gf-equipment-placeholder{display:grid!important}

.gf-workout-top{align-items:center!important;gap:10px!important}


@media(max-width:420px){
  .gf-equipment-card{flex-basis:clamp(172px,68vw,220px)!important;width:clamp(172px,68vw,220px)!important;border-radius:22px!important}
  .gf-equipment-png{padding:9px!important}
  .gf-equipment-card b{font-size:12px!important;min-height:36px!important;padding:17px 8px 8px!important}
  .workout-log-top-btn{height:32px!important;min-height:32px!important;padding:0 9px!important;font-size:10px!important;max-width:132px!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
@media(max-width:350px){
  .gf-equipment-card{flex-basis:70vw!important;width:70vw!important}
  .workout-log-top-btn{max-width:112px!important}
}


/* ===== GORILLAFIT REQUEST PATCH 2026-05-30K: centered scrollable inventory frame + visible top mark button ===== */
.gf-eq-block{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  overflow:hidden!important;
}

.gf-equipment-carousel{
  --gf-eq-size:clamp(178px,64vw,230px);
  width:100%!important;
  max-width:100%!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;
  scroll-padding-left:calc((100% - var(--gf-eq-size)) / 2)!important;
  scroll-padding-right:calc((100% - var(--gf-eq-size)) / 2)!important;
  padding:2px calc((100% - var(--gf-eq-size)) / 2) 10px!important;
  box-sizing:border-box!important;
  scrollbar-width:none!important;
  touch-action:pan-x!important;
  -webkit-overflow-scrolling:touch!important;
}

.gf-equipment-card{
  flex:0 0 var(--gf-eq-size)!important;
  width:var(--gf-eq-size)!important;
  min-width:var(--gf-eq-size)!important;
  max-width:var(--gf-eq-size)!important;
  aspect-ratio:1/1!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border-radius:24px!important;
  background:#000!important;
  border:1px solid #242424!important;
  overflow:hidden!important;
  position:relative!important;
  display:block!important;
  scroll-snap-align:center!important;
  scroll-snap-stop:always!important;
}
.gf-equipment-png{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  padding:10px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:0!important;
  background:#000!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}

.gf-equipment-card b{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:3!important;
  min-height:38px!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  padding:20px 10px 9px!important;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.68) 52%,rgba(0,0,0,.94))!important;
  color:#fff!important;
  font-size:12.5px!important;
  line-height:1.12!important;
  font-weight:1000!important;
  text-align:center!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.gf-workout-top{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.gf-workout-top .welcome{
  min-width:0!important;
  flex:1 1 auto!important;
}
.workout-log-top-btn{
  min-height:34px!important;
  height:34px!important;
  padding:0 11px!important;
  font-size:11px!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
  box-shadow:0 10px 24px rgba(163,255,18,.22)!important;
}
@media(max-width:420px){
  .gf-equipment-carousel{--gf-eq-size:clamp(172px,68vw,220px)}
  .gf-equipment-card{border-radius:22px!important}
  .gf-equipment-png{padding:9px!important}
  .gf-equipment-card b{font-size:12px!important;min-height:36px!important;padding:17px 8px 8px!important}
  .workout-log-top-btn{height:32px!important;min-height:32px!important;padding:0 9px!important;font-size:10px!important;max-width:132px!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
@media(max-width:350px){
  .gf-equipment-carousel{--gf-eq-size:70vw}
  .workout-log-top-btn{max-width:112px!important}
}

/* ===== GORILLAFIT REQUEST PATCH 2026-05-30M: smaller one-at-a-time inventory + overflow guard ===== */
html,body,.app,#workouts,#exercises,.screen,.card,.gf-exercise-card,.gf-workout-swipe-area{
  max-width:100%!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
.gf-workout-swipe-area,.gf-exercise-card,.gf-exercise-card>*{
  min-width:0!important;
}
.gf-exercise-card .workout-img,
.gf-exercise-card iframe,
.gf-exercise-card video,
.workout-img,
iframe,
video{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.gf-eq-block{
  width:100%!important;
  max-width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.gf-eq-block .gf-section-label{align-self:flex-start!important}
.gf-equipment-carousel{
  --gf-eq-size:clamp(88px,32vw,115px)!important;
  width:var(--gf-eq-size)!important;
  max-width:var(--gf-eq-size)!important;
  min-width:var(--gf-eq-size)!important;
  margin:0 auto!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;
  scroll-padding-inline:0!important;
  padding:2px 0 8px!important;
  box-sizing:border-box!important;
  scrollbar-width:none!important;
  touch-action:pan-x!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
.gf-equipment-carousel::-webkit-scrollbar{display:none!important}
.gf-equipment-card{
  flex:0 0 var(--gf-eq-size)!important;
  width:var(--gf-eq-size)!important;
  min-width:var(--gf-eq-size)!important;
  max-width:var(--gf-eq-size)!important;
  aspect-ratio:1/1!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border-radius:18px!important;
  background:#000!important;
  border:1px solid #242424!important;
  overflow:hidden!important;
  position:relative!important;
  display:block!important;
  scroll-snap-align:center!important;
  scroll-snap-stop:always!important;
  box-sizing:border-box!important;
}
.gf-equipment-png{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  padding:7px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:0!important;
  background:#000!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}
.gf-equipment-png img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  position:relative!important;
  inset:auto!important;
  z-index:1!important;
}
.gf-equipment-card b{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:3!important;
  min-height:24px!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  padding:11px 5px 5px!important;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.70) 52%,rgba(0,0,0,.95))!important;
  color:#fff!important;
  font-size:9px!important;
  line-height:1.05!important;
  font-weight:1000!important;
  text-align:center!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.gf-equipment-placeholder{font-size:22px!important}
.gf-worksets-table-wrap,
.scroll-chart,
.weight-swiper,
.gf-exercise-wheel,
.info-chip-row,
.gf-chip-list{
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:420px){
  .gf-equipment-carousel{--gf-eq-size:clamp(82px,30vw,104px)!important}
  .gf-equipment-card{border-radius:16px!important}
  .gf-equipment-png{padding:6px!important}
  .gf-equipment-card b{font-size:8.5px!important;min-height:22px!important;padding:10px 4px 4px!important}
}
@media(max-width:350px){
  .gf-equipment-carousel{--gf-eq-size:86px!important}
}

/* ===== GORILLAFIT REQUEST PATCH 2026-05-30N: equipment as chips like muscle groups + long press preview ===== */
.gf-eq-block{min-width:0!important;overflow:hidden!important}
.gf-equipment-chip-list{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0 0 2px!important;
  margin:0!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x!important;
}
.gf-equipment-chip-list::-webkit-scrollbar{display:none!important}
.gf-equipment-chip{
  flex:0 0 auto!important;
  border-radius:999px!important;
  background:rgba(163,255,18,.12)!important;
  border:1px solid rgba(163,255,18,.24)!important;
  color:var(--lime)!important;
  padding:7px 10px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  max-width:220px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  cursor:pointer!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.gf-equipment-chip:active{background:rgba(163,255,18,.22)!important;border-color:rgba(163,255,18,.42)!important}
.gf-equipment-carousel,.gf-equipment-card,.gf-equipment-png,.gf-equipment-svg{display:none!important}
.gf-equipment-preview-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:9999!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  background:rgba(0,0,0,.78)!important;
  backdrop-filter:blur(10px)!important;
}
.gf-equipment-preview-card{
  width:min(78vw,300px)!important;
  max-width:100%!important;
  border-radius:26px!important;
  background:#050505!important;
  border:1px solid #242424!important;
  box-shadow:0 24px 80px rgba(0,0,0,.75)!important;
  padding:14px!important;
  display:grid!important;
  gap:10px!important;
}
.gf-equipment-preview-img{
  width:100%!important;
  aspect-ratio:1/1!important;
  border-radius:20px!important;
  background:#000!important;
  border:1px solid #202020!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}
.gf-equipment-preview-img img{
  width:88%!important;
  height:88%!important;
  object-fit:contain!important;
  display:block!important;
}
.gf-equipment-preview-img.is-missing:before{content:"âŒ";color:var(--lime);font-size:42px;font-weight:1000;opacity:.8}
.gf-equipment-preview-title{
  margin:0!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:1000!important;
  text-align:center!important;
  line-height:1.2!important;
  word-break:break-word!important;
}
.gf-equipment-preview-close{min-height:40px!important;height:40px!important;font-size:12px!important}
.gf-exercise-card,.clean-exercise-card,.gf-workout-swipe-area,.exercise-detail-fixed,#workouts,.screen,.app{max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
.gf-workout-swipe-area .workout-img,.gf-exercise-card .workout-img,.gf-exercise-card video,.gf-exercise-card iframe{max-width:100%!important;width:100%!important;box-sizing:border-box!important}
@media(max-width:420px){.gf-equipment-chip{font-size:10.5px!important;padding:7px 9px!important;max-width:170px!important}.gf-equipment-preview-card{width:min(84vw,260px)!important}}

/* ===== FINAL CLEAN NAVIGATION PATCH 2026-05-31 ===== */
.gf-clean-screen-head{display:flex;align-items:center;justify-content:space-between;margin:4px 0 14px}.gf-clean-screen-head h2{margin:0}.gf-subscription-profile-card h2{margin:0 0 10px;font-size:24px}.gf-subscription-label{color:var(--muted);font-size:12px;font-weight:1000;text-transform:none;margin-bottom:4px}.gf-subscription-days{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(163,255,18,.12);border:1px solid rgba(163,255,18,.3);color:var(--lime);padding:8px 12px;font-size:13px;font-weight:1000}.gf-day-switcher{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px 12px;padding:0 16px 5px}.gf-day-switcher::-webkit-scrollbar{display:none}.gf-day-switcher .chip{flex:0 0 auto;font-size:13px!important;padding:11px 18px}.gf-workout-action-row{display:flex;justify-content:flex-end;margin:-2px 0 10px}.gf-workout-action-row:empty{display:none}.workout-log-top-btn{min-height:38px;height:38px;padding:0 12px;font-size:12px!important}.top .circle-btn[onclick*="backToWorkoutDays"],.top .circle-btn[onclick*="go('home')"],.top .circle-btn[onclick*="go(\"home\")"],.top .circle-btn[onclick*="go('profile')"],.top .circle-btn[onclick*="go(\"profile\")"]{display:none!important}.screen>.top:first-child{display:none!important}.bottom .tab span{position:relative}.chat-badge{position:absolute;top:-8px;right:-12px;min-width:17px;height:17px;border-radius:999px;background:var(--lime);color:#071000;display:inline-grid;place-items:center;font-size:10px;font-weight:1000;font-style:normal;padding:0 5px}@media(max-width:420px){.gf-profile-topline{gap:8px}.gf-rating-top-btn{height:40px;min-height:40px;padding:0 11px;font-size:12px!important}.gf-day-switcher{margin-left:-16px;margin-right:-16px}.gf-day-switcher .chip{padding:10px 15px}.workout-log-top-btn{font-size:11px!important;padding:0 10px}}

/* ÐšÐ½Ð¾Ð¿ÐºÐ° Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð¸Ñ Ñ‚Ñ€ÐµÐ½Ð¸Ñ€Ð¾Ð²ÐºÐ¸ Ð² ÐºÐ¾Ð½Ñ†Ðµ Ð»ÐµÐ½Ñ‚Ñ‹ ÑƒÐ¿Ñ€Ð°Ð¶Ð½ÐµÐ½Ð¸Ð¹ */
.gf-finish-workout-btn{
  flex:0 0 auto!important;
  height:54px!important;
  border:0!important;
  border-radius:18px!important;
  padding:0 16px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  background:linear-gradient(135deg,var(--lime),var(--lime2))!important;
  color:#071000!important;
  box-shadow:0 12px 28px rgba(163,255,18,.28)!important;
  font-weight:1000!important;
  margin-right: 16px!important; /* ÐžÑ‚ÑÑ‚ÑƒÐ¿ Ð¾Ñ‚ Ð¿Ñ€Ð°Ð²Ð¾Ð³Ð¾ ÐºÑ€Ð°Ñ, Ñ‡Ñ‚Ð¾Ð±Ñ‹ ÐºÐ½Ð¾Ð¿ÐºÐ° Ð½Ðµ Ð¾Ð±Ñ€ÐµÐ·Ð°Ð»Ð°ÑÑŒ */
  scroll-snap-align: center!important; /* ÐšÑ€Ð°ÑÐ¸Ð²Ð¾Ðµ Ñ†ÐµÐ½Ñ‚Ñ€Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ðµ Ð¿Ñ€Ð¸ Ð¿Ñ€Ð¾ÐºÑ€ÑƒÑ‚ÐºÐµ ÐºÐ¾Ð»ÐµÑÐ° */
}

.gf-finish-workout-btn span{
  width:28px!important;
  height:28px!important;
  border-radius:50%!important;
  background:#071000!important;
  color:var(--lime)!important;
  display:grid!important;
  place-items:center!important;
  font-size:15px!important;
}

.gf-finish-workout-btn b{
  font-size:13px!important;
  white-space:nowrap!important;
}
.exercise-media {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.exercise-video-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.exercise-video-frame .exercise-video {
  position: relative;
  z-index: 1;
}

.exercise-video-poster {
  position: absolute;
  z-index: 2;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;
  border: 0;
  border-radius: inherit;
  background: #fff;

  opacity: 1;
  visibility: visible;
  pointer-events: none;
  user-select: none;

  transition:
    opacity 120ms ease,
    visibility 0s linear 120ms;
}

.exercise-video-frame.is-video-ready .exercise-video-poster {
  opacity: 0;
  visibility: hidden;
}

.exercise-video-side-controls{
  position:absolute;
  z-index:4;
  top:11px;
  right:11px;
  bottom:11px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  pointer-events:none;
}

.exercise-video-side-button{
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  padding:0;
  border:1.5px solid #111;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  color:#111;
  font-size:0;
  line-height:1;
  font-weight:850;
  box-shadow:none;
  pointer-events:auto;
  -webkit-tap-highlight-color:transparent;
}

.exercise-video-side-button:active{transform:scale(.94)}
.exercise-video-expand{border:0;background:transparent;border-radius:0}

.exercise-play-glyph{position:relative;width:9px;height:10px;display:block}
[data-exercise-play-toggle]:not(.is-playing) .exercise-play-glyph::before{
  content:"";
  position:absolute;
  inset:0;
  width:9px;
  height:10px;
  background:#0a0a0a;
  clip-path:polygon(0 0,100% 50%,0 100%);
}
[data-exercise-play-toggle].is-playing .exercise-play-glyph::before,
[data-exercise-play-toggle].is-playing .exercise-play-glyph::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:2.5px;
  border-radius:.5px;
  background:#0a0a0a;
}
[data-exercise-play-toggle].is-playing .exercise-play-glyph::before{left:1px}
[data-exercise-play-toggle].is-playing .exercise-play-glyph::after{right:1px}
.exercise-expand-glyph{
  width:13px;
  height:13px;
  display:block;
  background:
    linear-gradient(#111,#111) left top/5px 1.5px no-repeat,
    linear-gradient(#111,#111) left top/1.5px 5px no-repeat,
    linear-gradient(#111,#111) right top/5px 1.5px no-repeat,
    linear-gradient(#111,#111) right top/1.5px 5px no-repeat,
    linear-gradient(#111,#111) left bottom/5px 1.5px no-repeat,
    linear-gradient(#111,#111) left bottom/1.5px 5px no-repeat,
    linear-gradient(#111,#111) right bottom/5px 1.5px no-repeat,
    linear-gradient(#111,#111) right bottom/1.5px 5px no-repeat;
}

.exercise-video,
.exercise-video-unavailable {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 24px;
  background: #fff;
  object-fit: contain;
}

.exercise-video-frame .exercise-video {
  border-radius: 0;
  pointer-events: none;
}

.exercise-video-unavailable {
  box-sizing: border-box;
  min-height: 210px;
  padding: 24px;
  place-content: center;
  color: var(--muted, #8b8b8b);
  text-align: center;
}

.exercise-media-controls,
.exercise-speed-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.exercise-media-controls {
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.exercise-media-controls .exercise-audio-button{width:100%}

body.exercise-fullscreen-open{overflow:hidden!important;touch-action:none}
.exercise-fullscreen-overlay{
  position:fixed;
  z-index:2500;
  inset:0;
  width:100vw;
  height:100dvh;
  display:block;
  overflow:hidden;
  background:#fff;
  color:#080808;
  user-select:none;
  -webkit-user-select:none;
}
.exercise-fullscreen-close{
  position:absolute;
  z-index:5;
  top:calc(12px + env(safe-area-inset-top));
  right:14px;
  width:36px;
  height:36px;
  padding:0;
  border:0;
  background:transparent;
  color:#080808;
  font-size:34px;
  line-height:1;
  font-weight:300;
  text-shadow:0 1px 4px rgba(255,255,255,.9);
  outline:0;
}
.exercise-fullscreen-stage{
  position:absolute;
  inset:0;
  min-width:0;
  min-height:0;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#fff;
  touch-action:none;
}
.exercise-fullscreen-stage .exercise-video-frame{
  width:100%;
  height:100%;
  max-width:none;
  border-radius:0;
  overflow:visible;
  background:#fff;
}
.exercise-fullscreen-stage .exercise-video{
  width:100%;
  height:100%;
  max-width:none;
  aspect-ratio:auto;
  border-radius:0;
  object-fit:contain;
  background:#fff;
  transform-origin:center;
  transition:transform .18s ease;
  will-change:transform;
}
.exercise-fullscreen-stage .exercise-video-side-controls{display:none}
.exercise-fullscreen-controls{
  position:absolute;
  z-index:5;
  left:18px;
  bottom:calc(18px + env(safe-area-inset-bottom));
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  padding:0;
  border:0;
  background:transparent;
}
.exercise-fullscreen-control{
  width:58px;
  height:58px;
  flex:0 0 58px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(222,222,222,.88);
  box-shadow:0 2px 12px rgba(0,0,0,.12);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  color:#050505;
  font-size:17px;
  line-height:1;
  font-weight:500;
  outline:0;
}
.exercise-fullscreen-play{font-size:0}
.exercise-fullscreen-speed{font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.exercise-zoom-glyph{
  position:relative;
  width:12px;
  height:12px;
  display:block;
  border:1.5px solid #090909;
  border-radius:50%;
  transform:translate(-1px,-1px);
}
.exercise-zoom-glyph::before{
  content:"";
  position:absolute;
  right:-5px;
  bottom:-3.5px;
  width:6px;
  height:1.5px;
  border-radius:1px;
  background:#090909;
  transform:rotate(48deg);
}
.exercise-zoom-glyph::after{
  content:"+";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#090909;
  font:900 9px/1 system-ui,sans-serif;
}
.exercise-fullscreen-control:active{transform:scale(.94)}

@media(max-width:370px){
  .exercise-fullscreen-controls{left:12px;bottom:calc(12px + env(safe-area-inset-bottom));gap:7px}
  .exercise-fullscreen-control{width:52px;height:52px;flex-basis:52px}
}

.workout-technique-disclosure{
  margin:12px 0 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:20px;
  background:rgba(25,25,27,.86);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  color:#f7f7f8;
}
.workout-technique-disclosure>summary{
  min-height:66px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 18px;
  align-items:center;
  gap:11px;
  padding:11px 14px;
  cursor:pointer;
  list-style:none;
  outline:0;
  -webkit-tap-highlight-color:transparent;
}
.workout-technique-disclosure>summary::-webkit-details-marker{display:none}
.workout-technique-symbol{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f2f2f4;
  color:#111;
  font:800 17px/1 ui-rounded,"SF Pro Rounded",system-ui,sans-serif;
}
.workout-technique-disclosure>summary b,
.workout-technique-disclosure>summary small{display:block}
.workout-technique-disclosure>summary b{font-size:14px;line-height:1.2;letter-spacing:-.01em}
.workout-technique-disclosure>summary small{margin-top:4px;color:#8e8e93;font-size:11px;line-height:1.2}
.workout-technique-chevron{
  width:8px;
  height:8px;
  justify-self:end;
  border-right:1.5px solid #8e8e93;
  border-bottom:1.5px solid #8e8e93;
  transform:rotate(45deg) translate(-2px,2px);
  transition:transform .2s ease;
}
.workout-technique-disclosure[open] .workout-technique-chevron{transform:rotate(225deg) translate(-1px,1px)}
.workout-technique-content{
  padding:0 14px 14px;
  border-top:1px solid rgba(255,255,255,.07);
}
.workout-technique-text,
.workout-technique-empty{
  margin:0;
  padding:14px 1px;
  color:#e7e7ea;
  font-size:13px;
  line-height:1.55;
  white-space:pre-line;
}
.workout-technique-empty{color:#8e8e93}
.workout-technique-audio{
  width:100%;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 14px;
  border:0;
  border-radius:13px;
  background:#f2f2f4;
  color:#111;
  font-size:13px!important;
  font-weight:750;
}
.workout-technique-audio.active{background:#fff}
.workout-technique-audio:disabled{background:#242426;color:#707076;opacity:1}
.workout-technique-audio-icon{
  width:18px;
  height:18px;
  display:block;
  border:1.5px solid currentColor;
  border-radius:50%;
  position:relative;
}
.workout-technique-audio-icon::before{
  content:"";
  position:absolute;
  left:6px;
  top:4px;
  width:6px;
  height:8px;
  background:currentColor;
  clip-path:polygon(0 0,100% 50%,0 100%);
}
.workout-technique-audio.active .workout-technique-audio-icon::before{
  left:5px;
  top:4px;
  width:2px;
  height:8px;
  box-shadow:5px 0 0 currentColor;
  clip-path:none;
}

.exercise-speed-controls {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.exercise-speed-controls .chip {
  min-width: 48px;
  margin: 0;
}

.exercise-audio-button:disabled {
  opacity: .45;
}

.gf-muscle-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.gf-muscle-card {
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  border: 1px solid #242424;
  border-radius: 18px;
  background: #111;
}

.gf-muscle-card-primary {
  border-color: rgba(163,255,18,.28);
  background: linear-gradient(145deg,rgba(163,255,18,.09),#111 62%);
}

.gf-muscle-card-synergist {
  border-color: rgba(108,190,255,.26);
  background: linear-gradient(145deg,rgba(108,190,255,.08),#111 62%);
}

.gf-muscle-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.gf-muscle-card-title > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(163,255,18,.42);
}

.gf-muscle-card-synergist .gf-muscle-card-title > span {
  background: #6cbeff;
  box-shadow: 0 0 10px rgba(108,190,255,.38);
}

.gf-muscle-card .gf-chip-list {
  flex-wrap: wrap;
  overflow: visible;
}

.gf-muscle-card .gf-chip {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.gf-muscle-card-synergist .gf-chip {
  color: #a9d9ff;
  border-color: rgba(108,190,255,.25);
  background: rgba(108,190,255,.10);
}

@media (max-width: 520px) {
  .gf-muscle-overview { grid-template-columns: 1fr; }
}

.exercise-video-toggle:not(.exercise-video-side-button):not(.exercise-fullscreen-control) {
  flex: 0 0 auto;
  min-height: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 11px;
}

@media(max-width:420px){
  .exercise-media-controls{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}
  .exercise-speed-controls{width:100%;padding-bottom:3px}
  .exercise-video-toggle:not(.exercise-video-side-button):not(.exercise-fullscreen-control),.exercise-audio-button{width:100%}
  .set-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 36px!important;gap:4px!important}
  .set-row .input,.set-row input{min-width:0!important;padding-left:7px!important;padding-right:7px!important}
}

/* Final viewport containment for long bilingual exercise names and controls. */
#workouts,#about,.screen,.gf-workout-swipe-area,.gf-exercise-card,
.trainer-program-card,.trainer-program-exercise,.trainer-modal-backdrop,
.trainer-modal-backdrop>.card,.meta-grid,.meta-line,.row-card,.section-title{
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}
.gf-exercise-card h2,.trainer-program-exercise h2,.meta-line b,
.row-card b,.row-card small,.section-title h2,.section-title h3{
  max-width:100%;overflow-wrap:anywhere;word-break:break-word;
}
img,video,canvas,svg{max-width:100%}

/* Compact program structure used by both the client workout and trainer view. */
.af-program-flow{width:100%;max-width:100%;min-width:0;margin:4px 0 14px;box-sizing:border-box}
.af-program-flow-linear{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x}
.af-program-flow-linear::-webkit-scrollbar{display:none}
.af-program-flow-track{display:flex;align-items:center;min-width:max-content;min-height:104px;padding:5px 9px}
.af-program-flow-block{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.af-program-flow-members{display:grid;gap:7px;place-items:center}
.af-program-flow-block.is-group{padding-right:12px}
.af-program-flow-bracket{position:absolute;right:0;top:5px;bottom:5px;width:9px;border-top:1px solid rgba(163,255,18,.55);border-right:1px solid rgba(163,255,18,.55);border-bottom:1px solid rgba(163,255,18,.55);border-radius:0 8px 8px 0}
.af-program-flow-connector{flex:0 0 26px;width:26px;height:1px;margin:0 7px;background:repeating-linear-gradient(90deg,rgba(163,255,18,.55) 0 3px,transparent 3px 7px)}
.af-program-flow-node{appearance:none;width:42px;height:42px;padding:0;border:1px solid #343434;border-radius:50%;display:grid;place-items:center;background:#0c0c0c;color:#a4a9b2;font:900 12px/1 system-ui,-apple-system,sans-serif;box-shadow:0 0 0 4px rgba(255,255,255,.015);cursor:pointer;-webkit-tap-highlight-color:transparent}
.af-program-flow-node.active{border-color:var(--lime);background:var(--lime);color:#071000;box-shadow:0 0 0 5px rgba(163,255,18,.10),0 0 22px rgba(163,255,18,.28)}
.af-program-flow-circuit{display:grid;place-items:center;padding:4px 0 8px}
.af-program-circuit{position:relative;width:min(74vw,280px);aspect-ratio:1/1;border:1px dashed rgba(163,255,18,.38);border-radius:50%;background:radial-gradient(circle,rgba(163,255,18,.055),transparent 62%)}
.af-program-circuit::after{content:"â€º";position:absolute;right:2.5%;top:48%;width:20px;height:20px;display:grid;place-items:center;transform:translate(50%,-50%);border-radius:50%;background:#050505;color:var(--lime);font-size:20px}
.af-program-circuit-position{position:absolute;transform:translate(-50%,-50%);z-index:2}
.af-program-circuit-center{position:absolute;inset:31%;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(163,255,18,.22);border-radius:50%;background:#070707;text-align:center}
.af-program-circuit-center span{color:var(--lime);font-size:24px;line-height:1}
.af-program-circuit-center b{margin-top:5px;color:#fff;font-size:12px;line-height:1.1}
.af-program-circuit-center small{margin-top:2px;color:#858b96;font-size:9px;font-weight:800}
.gf-finish-workout-btn{margin:0 auto 14px!important}
@media(max-width:420px){.af-program-flow-track{min-height:96px;padding-inline:5px}.af-program-flow-node{width:39px;height:39px;font-size:11px}.af-program-flow-connector{flex-basis:20px;width:20px;margin-inline:5px}.af-program-circuit{width:min(72vw,260px)}}

/* ===== CLIENT TRAINING 2026-08: flat profile/nutrition visual language ===== */
#workouts{padding-left:16px!important;padding-right:16px!important;background:#000}
#workouts .gf-day-switcher{margin-top:8px;margin-bottom:18px;border-bottom:1px solid #242424}
#workouts .gf-day-switcher .chip{padding:13px 18px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:#737b89!important}
#workouts .gf-day-switcher .chip.active{border-bottom-color:var(--lime)!important;color:var(--lime)!important}
#workouts .af-program-flow{margin:8px 0 22px}
#workouts .gf-workout-swipe-area{gap:0}
#workouts .gf-workout-swipe-area>.card,
#workouts .gf-exercise-card,
#workouts .exercise-weight-editor,
#workouts .af-progress-card{
  margin:0!important;
  padding:28px 0!important;
  border:0!important;
  border-bottom:1px solid #242424!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#workouts .gf-exercise-card{padding-top:0!important;overflow:visible!important}
#workouts .gf-exercise-card>.section-title{margin:0 0 14px!important;padding:0 1px!important}
#workouts .gf-exercise-card>.section-title h3{font-size:13px;color:#fff}
#workouts .gf-exercise-card>.section-title .tag{padding:0;border:0;background:transparent;color:var(--lime);font-size:10px}
#workouts .exercise-video-frame{border-radius:26px;box-shadow:0 20px 50px rgba(0,0,0,.26)}
#workouts .workout-technique-disclosure{margin:14px 0 28px;border:0;border-top:1px solid #242424;border-bottom:1px solid #242424;border-radius:0;background:transparent;box-shadow:none}
#workouts .workout-technique-disclosure>summary{padding-left:1px;padding-right:1px}
#workouts .gf-exercise-card>h2{margin:0 0 26px!important;font-size:28px!important;line-height:1.02!important;letter-spacing:-.04em!important}
#workouts .gf-equipment-card,
#workouts .gf-muscle-card{border:0!important;border-top:1px solid #242424!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#workouts .gf-worksets{padding-top:8px}
#workouts .gf-worksets-table-wrap{border:0;border-top:1px solid #242424;border-bottom:1px solid #242424;border-radius:0;background:transparent}
#workouts .gf-worksets-table th,#workouts .gf-worksets-table td{background:#000;border-bottom-color:#242424}
#workouts .gf-rest-card{padding:17px 1px;border:0;border-top:1px solid #242424;border-bottom:1px solid #242424;border-radius:0;background:transparent}
#workouts .gf-total-stats{gap:0;border-top:1px solid #242424;border-bottom:1px solid #242424}
#workouts .gf-total-stats article{padding:18px 4px;border:0;border-right:1px solid #242424;border-radius:0;background:transparent}
#workouts .gf-total-stats article:last-child{border-right:0}
#workouts .exercise-weight-editor .btn{border-radius:14px!important}
#workouts .af-progress-card canvas{border:0!important;background:transparent!important}
@media(max-width:420px){#workouts{padding-left:14px!important;padding-right:14px!important}#workouts .gf-exercise-card>h2{font-size:25px!important}}

/* Workout details: compact Apple-style disclosures, shared by client and trainer. */
.exercise-detail-subsection{border-top:1px solid #2a2a2c;background:transparent}
.exercise-detail-subsection>summary{min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 2px;list-style:none;color:#f5f5f7;font-size:14px;font-weight:800;cursor:pointer}
.exercise-detail-subsection>summary::-webkit-details-marker{display:none}
.exercise-detail-subsection>summary span{width:8px;height:8px;border-right:1.5px solid #8e8e93;border-bottom:1.5px solid #8e8e93;transform:rotate(45deg);transition:transform .18s ease}
.exercise-detail-subsection[open]>summary span{transform:rotate(225deg)}
.exercise-detail-subsection>div{padding:0 0 14px}
.exercise-detail-chip-list .chips,.exercise-detail-chip-list{display:flex;flex-wrap:wrap;gap:7px}
.exercise-detail-chip-list .chip{min-height:30px;padding:6px 10px;border:1px solid #343438;border-radius:999px;background:#1c1c1e;color:#d4d4d8;font-size:11px}
.exercise-detail-subsection .gf-muscle-overview{display:grid;gap:12px;margin:0}
.exercise-detail-subsection .gf-muscle-card{padding:12px 0;border:0;border-radius:0;background:transparent}
#workouts .af-progress-card,.trainer-program-exercise .af-progress-card{margin:28px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
#workouts .af-progress-card canvas,.trainer-program-exercise .af-progress-card canvas{border:0!important;border-radius:0!important;background:transparent!important}
#workouts .gf-total-stats,.trainer-program-exercise .gf-total-stats{margin-top:4px;border-top:1px solid #242424;border-bottom:1px solid #242424}

/* 2026-08 compact workout polish */
#workouts .af-progress-card,.trainer-program-exercise .af-progress-card{border:0!important;border-bottom:0!important;outline:0!important;background:#000!important;box-shadow:none!important}
#workouts .af-progress-slide,.trainer-program-exercise .af-progress-slide{border:0!important;background:#000!important;box-shadow:none!important}
#workouts .gf-total-stats,.trainer-program-exercise .gf-total-stats{gap:20px!important;margin-top:8px!important;border:0!important;background:transparent!important}
#workouts .gf-total-stats article,.trainer-program-exercise .gf-total-stats article{position:relative;padding:14px 0!important;border:0!important;background:transparent!important}
.gf-metric-icon{width:25px;height:25px;display:block;margin-bottom:10px;fill:none;stroke:var(--lime);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gf-total-stats article:nth-child(2) .gf-metric-icon{stroke:#63c9ff}
#workouts .gf-day-switcher{display:flex!important;gap:20px!important;margin:0 -14px 22px!important;padding:0 14px 8px!important;border:0!important;overflow-x:auto!important;scrollbar-width:none;scroll-snap-type:x mandatory}
#workouts .gf-day-switcher::-webkit-scrollbar{display:none}
#workouts .gf-day-switcher>button{flex:0 0 82px;min-height:84px;display:grid;place-items:center;align-content:center;gap:3px;padding:8px 3px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:#727986!important;scroll-snap-align:center}
#workouts .gf-day-switcher>button small{font-size:7px;font-weight:950;letter-spacing:.08em}
#workouts .gf-day-switcher>button b{font-size:26px;line-height:1;font-weight:700}
#workouts .gf-day-switcher>button span{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:850}
#workouts .gf-day-switcher>button.active{border-bottom-color:var(--lime)!important;color:var(--lime)!important}

/* Final workout interaction and responsive pass. */
#workouts .af-progress-card,
#workouts .af-progress-card .af-progress-swiper,
#workouts .af-progress-card .af-progress-slide,
#workouts .af-progress-card .axis-chart,
#workouts .af-progress-card canvas,
.trainer-program-exercise .af-progress-card,
.trainer-program-exercise .af-progress-card .af-progress-swiper,
.trainer-program-exercise .af-progress-card .af-progress-slide,
.trainer-program-exercise .af-progress-card .axis-chart,
.trainer-program-exercise .af-progress-card canvas{
  border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;
}
#workouts .af-progress-card{padding:28px 0 0!important;border-bottom:0!important}
#workouts .af-progress-card .axis-chart,.trainer-program-exercise .af-progress-card .axis-chart{padding:8px 0!important}

/* Compact progress statistics without pills */

#workouts .af-progress-slide-head,
.trainer-program-exercise .af-progress-slide-head{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    margin:0 0 4px;
}

#workouts .af-progress-slide-head > b,
.trainer-program-exercise .af-progress-slide-head > b{
    color:#fff;
    font-size:12px;
    line-height:1.1;
    font-weight:900;
}

#workouts .af-progress-inline-stats,
.trainer-program-exercise .af-progress-inline-stats{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;

    min-width:0;

    font-size:11px;
    line-height:1;
    font-weight:900;
}

#workouts .af-progress-inline-stats > span,
.trainer-program-exercise .af-progress-inline-stats > span{
    display:inline-flex;
    align-items:baseline;
    gap:4px;

    min-width:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
}

#workouts .af-progress-inline-stats small,
.trainer-program-exercise .af-progress-inline-stats small{
    color:#7f8794;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.02em;
}

#workouts .af-progress-inline-stats strong,
.trainer-program-exercise .af-progress-inline-stats strong{
    color:#fff;
    font-size:11px;
    line-height:1;
    font-weight:1000;
    white-space:nowrap;
}

#workouts .af-progress-inline-stats > i,
.trainer-program-exercise .af-progress-inline-stats > i{
    color:#464b54;
    font-size:10px;
    line-height:1;
    font-style:normal;
}

#workouts .af-progress-inline-stats .good strong,
.trainer-program-exercise .af-progress-inline-stats .good strong{
    color:var(--lime);
}

#workouts .af-progress-inline-stats .bad strong,
.trainer-program-exercise .af-progress-inline-stats .bad strong{
    color:var(--red);
}

@media(max-width:420px){
    #workouts .af-progress-inline-stats,
    .trainer-program-exercise .af-progress-inline-stats{
        gap:4px;
        font-size:10px;
    }

    #workouts .af-progress-inline-stats strong,
    .trainer-program-exercise .af-progress-inline-stats strong{
        font-size:10px;
    }

    #workouts .af-progress-inline-stats small,
    .trainer-program-exercise .af-progress-inline-stats small{
        font-size:8px;
    }
}

#workouts .gf-day-switcher{justify-content:safe center!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
#workouts .gf-day-switcher>button{flex:0 0 auto!important;min-width:76px!important;min-height:58px!important;padding:10px 12px!important;font-size:14px;font-weight:900;white-space:nowrap}

.exercise-actions-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 0;border-top:1px solid #242424;border-bottom:1px solid #242424}
.exercise-rest-entry,.exercise-weight-entry,.exercise-comment-entry{min-width:0;padding:0;border:0}
.exercise-compact-action{width:100%;min-width:0;min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:8px 4px;border:0;background:transparent;color:#fff;text-align:center}
button.exercise-compact-action{cursor:pointer;-webkit-tap-highlight-color:transparent}
.exercise-compact-action>span:last-child{display:grid;gap:2px;min-width:0}
.exercise-compact-action b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.1;font-weight:900;color:#fff}
.exercise-compact-action small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#858d9b;font-size:9px;line-height:1.1;font-weight:850}
.exercise-action-icon{position:relative;width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1.5px solid var(--lime);border-radius:50%;color:var(--lime)}
.exercise-action-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.exercise-action-plus::before,.exercise-action-plus::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:1.5px;border-radius:2px;background:var(--lime);transform:translate(-50%,-50%)}
.exercise-action-plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.exercise-comment-trigger{border:0;border-radius:0;background:transparent;color:#fff}
.exercise-comment-trigger .exercise-action-icon{color:var(--lime)}
@media(max-width:360px){.exercise-actions-row{gap:4px}.exercise-compact-action{min-height:68px;padding-left:1px;padding-right:1px}.exercise-action-icon{width:35px;height:35px;flex-basis:35px}.exercise-compact-action b{font-size:11px}.exercise-compact-action small{font-size:8px}}
.workout-modal-open{overflow:hidden}
.workout-action-modal{position:fixed;z-index:1200;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;background:var(--af-sheet-backdrop);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.workout-action-modal[hidden]{display:none!important}
.workout-action-sheet{position:relative;width:min(100%,410px);max-height:calc(100dvh - 32px);overflow:auto;padding:38px 18px 20px;border:1px solid var(--af-sheet-border);border-radius:34px;background:var(--af-sheet-bg);color:#fff;box-shadow:var(--af-sheet-shadow)}
.workout-action-sheet::before{content:"";position:absolute;top:13px;left:50%;width:52px;height:5px;border-radius:999px;background:var(--af-sheet-handle);transform:translateX(-50%)}
#workouts .workout-action-sheet.exercise-weight-editor{margin:0!important;padding:38px 18px 20px!important;border:1px solid var(--af-sheet-border)!important;border-radius:34px!important;background:var(--af-sheet-bg)!important;box-shadow:var(--af-sheet-shadow)!important}
.workout-action-sheet>header{height:48px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;margin-bottom:12px;text-align:center}
.workout-action-sheet>header .af-sheet-close{justify-self:start}
.workout-action-sheet>header b{font-size:16px}
.workout-action-sheet>.af-sheet-date{margin-bottom:20px}
.workout-action-sheet #setsBox{display:grid;gap:10px}
.workout-action-sheet .trainer-weight-row{display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-height:72px!important;margin:0!important;padding:10px 18px!important;border:1px solid #303236!important;border-radius:999px!important;background:rgba(0,0,0,.14)!important}
.workout-action-sheet .trainer-weight-plan{height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#aeb4be!important;font-weight:900!important}
.workout-action-sheet .trainer-weight-row>.input{height:46px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;text-align:right!important;font-size:19px!important;font-weight:750!important}
.workout-action-sheet .trainer-weight-row>.input:focus{background:rgba(255,255,255,.025)!important}
.workout-action-sheet .set-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) 36px!important;align-items:center!important;gap:8px!important;min-height:72px!important;margin:0!important;padding:10px 12px!important;border:1px solid #303236!important;border-radius:28px!important;background:rgba(0,0,0,.14)!important}
.workout-action-sheet .set-row>.input{height:44px!important;margin:0!important;padding:0 6px!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;text-align:center!important}
#workouts .workout-action-sheet .set-row>.btn{width:34px!important;min-height:34px!important;height:34px!important;padding:0!important;border:1px solid #42454a!important;border-radius:50%!important;background:transparent!important;color:#959ca7!important;box-shadow:none!important}
.workout-action-sheet #ewSaveBtn{display:block;width:max-content;min-height:44px;margin:24px auto 0!important;padding:10px 24px;border:0;border-radius:999px;background:transparent;color:var(--lime);box-shadow:none;font-size:16px!important;font-weight:900;cursor:pointer}

.af-program-circuit-center.af-program-finish{padding:0;cursor:pointer;color:#fff}
.af-program-finish-node{position:relative;width:52px;height:52px;border-color:var(--lime);color:var(--lime)}
.af-program-finish-node small{position:absolute;top:57px;left:50%;transform:translateX(-50%);color:var(--lime);font-size:9px;font-weight:900;white-space:nowrap}

@media(min-width:900px){
  #workouts{width:min(100%,1180px)!important;max-width:1180px!important;margin:0 auto!important;padding-left:38px!important;padding-right:38px!important}
  #workouts .gf-day-switcher,#workouts .af-program-flow,#workouts .gf-workout-swipe-area{width:min(100%,920px);margin-left:auto!important;margin-right:auto!important}
  #workouts .exercise-video-frame{width:100%;max-width:none;margin-left:0;margin-right:0}
  #workouts .gf-exercise-card>h2,#workouts .workout-technique-disclosure{width:100%;max-width:none;margin-left:0!important;margin-right:0!important}
  .workout-action-modal{align-items:center}
  .workout-action-sheet{margin-bottom:0}
}

/* ===== EXERCISE MESSAGE TO TRAINER ===== */

.exercise-comment-sheet{
    position:relative!important;
    display:grid!important;
    gap:16px!important;
}

.exercise-comment-context{
    display:grid!important;
    gap:5px!important;
    padding-bottom:14px!important;
    border-bottom:1px solid #242426!important;
}

.exercise-comment-context small{
    color:#7e8594!important;
    font-size:9px!important;
    font-weight:900!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
}

.exercise-comment-context b{
    color:#fff!important;
    font-size:15px!important;
    line-height:1.3!important;
    font-weight:850!important;
    overflow-wrap:anywhere!important;
}

.exercise-comment-input-wrap{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
}

#exerciseCommentText{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;

    width:100%!important;
    min-width:0!important;
    min-height:128px!important;
    max-height:260px!important;

    margin:0!important;

    padding:15px 58px 15px 15px!important;
    box-sizing:border-box!important;

    border:1px solid #343438!important;
    border-radius:20px!important;
    outline:0!important;

    background:rgba(0,0,0,.16)!important;
    color:#fff!important;

    font-size:16px!important;
    line-height:1.4!important;
    font-weight:500!important;

    resize:none!important;
    pointer-events:auto!important;

    -webkit-user-select:text!important;
    user-select:text!important;

    -webkit-appearance:none!important;
    appearance:none!important;
}

#exerciseCommentText:focus{
    border-color:#555960!important;
    box-shadow:none!important;
}

#exerciseCommentText::placeholder{
    color:#71717a!important;
    opacity:1!important;
}

.exercise-comment-send{
    position:absolute!important;
    right:10px!important;
    bottom:10px!important;

    width:38px!important;
    height:38px!important;

    display:grid!important;
    place-items:center!important;

    padding:0!important;
    border:0!important;
    border-radius:50%!important;

    background:var(--lime)!important;
    color:#071000!important;

    cursor:pointer!important;
    z-index:4!important;

    line-height:0!important;
}

.exercise-comment-send svg{
    width:17px!important;
    height:17px!important;

    display:block!important;

    fill:none!important;
    stroke:#071000!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;

    pointer-events:none!important;
}

.exercise-comment-send svg path{
    fill:none!important;
    stroke:#071000!important;
}

.exercise-comment-send:disabled{
    opacity:.4!important;
    pointer-events:none!important;
}

@media(max-width:420px){
    #exerciseCommentText{
        min-height:118px!important;
    }
}
