/* Global navigation is absent from the focused player and its rest overlay. */
body.swack-workout-focus #bottomNav,body.workout-mode #bottomNav,body:has(.v6-rest-overlay) #bottomNav{display:none!important;visibility:hidden!important;pointer-events:none!important}
body.swack-workout-focus .topbar{display:none!important}
body.swack-workout-focus #app{padding-top:calc(12px + env(safe-area-inset-top))!important;padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}
body.swack-workout-focus .workout-dock.v618-workout-dock{bottom:calc(8px + env(safe-area-inset-bottom))!important}
body.swack-workout-focus .v6-rest-overlay{bottom:0!important}
/* The rest overlay is outside #app, so it must explicitly use SWACK's metric font. */
.bp9-rest-overlay #v6RestCount{font-family:var(--sw-font-body,Geist,sans-serif)!important;font-size:52px;font-weight:750;line-height:1.12;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"tnum" 1;font-kerning:none;letter-spacing:-.025em;width:5.3ch;margin:6px auto 8px;white-space:nowrap;color:#fff}
.swack-rest-next{display:block;font:500 13px/1.35 var(--sw-font-body);color:#c8c4d3}
.swack-rest-next b{display:block;max-width:185px;margin:4px auto 0;font:650 14px/1.3 var(--sw-font-body);color:#fff}
body.swack-workout-focus .active-exercise.v618-current{overflow:visible!important;scroll-margin-top:var(--sw-workout-context-top,80px)}
body.swack-workout-focus .swack-set-context{position:sticky;top:var(--sw-workout-context-top,80px);z-index:41;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;padding:10px 0;margin:0;background:var(--bp-card);border-bottom:1px solid var(--bp-line);font:500 13px/1.35 var(--sw-font-body);color:var(--bp-muted)}
.swack-set-context strong{font-weight:650;color:var(--bp-ink);overflow-wrap:anywhere}
.swack-set-context span{white-space:normal}
.v618-current .set-log-row label .swack-rep-target{display:block;margin-top:2px;font-size:11px!important;font-weight:500;line-height:1.25;color:var(--bp-muted);text-transform:none;letter-spacing:0;overflow-wrap:normal}
body.swack-workout-focus .set-log-row{scroll-margin-top:calc(var(--sw-workout-context-top,80px) + 66px);scroll-margin-bottom:112px}
/* Give an explicitly opened keyboard the space occupied by the progress dock. */
body.swack-workout-focus.swack-workout-editing .workout-dock{display:none!important}
body.swack-workout-focus.swack-workout-editing #app{padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}
body.swack-workout-focus.swack-workout-editing .set-log-row{scroll-margin-bottom:20px}
@media(prefers-reduced-motion:reduce){body.swack-workout-focus,body.swack-workout-focus .active-exercise{scroll-behavior:auto!important}}
.swack-workout-exit{max-width:420px!important;display:grid;gap:10px;padding:24px!important}
.swack-workout-exit h2,.swack-workout-exit p{margin:0 0 6px}.swack-workout-exit button{min-height:44px;width:100%}
.swack-record-detail{padding:16px 0;border-bottom:1px solid var(--bp-line)}
.swack-record-detail h2{font-size:22px}.swack-record-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:8px}.swack-record-detail dd{margin:0;font-weight:700}
.swack-record-detail time,.swack-record-detail p{color:var(--bp-muted)}
.swack-entity-week .swack-history-row{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px;width:100%;text-align:left;border:0;background:transparent;color:var(--bp-ink)}
.v6-home .swack-greeting-weather{font-size:20px!important;font-weight:650!important}.v6-home .swack-greeting-weather .swack-weather-icon{font-size:29px!important}
.v6-home.v614-home .v6-greeting h1{font-size:clamp(30px,7.8vw,32px)!important;font-weight:750!important;line-height:1.16!important}
@media(max-width:390px){.v6-home.v614-home .training-section-r12[data-long-title="true"]{padding-top:8px!important;padding-bottom:8px!important}.v6-home.v614-home .training-section-r12[data-long-title="true"] .v6-primary-row h2{font-size:clamp(22px,6.1vw,24px)!important}}
