@font-face{font-family:MyTrainerTimer;src:url('./font-options/fonts/BarlowCondensed-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
/* A fixed app frame: workout timer, scrolling content, and five destinations. */
.shell{grid-template-areas:'timer' 'page' 'navigation';grid-template-rows:auto minmax(0,1fr) auto}
#workout-timer-host{grid-area:timer;z-index:20;background:var(--timer-bg);color:var(--timer-ink);padding:calc(var(--app-safe-top) + 28px) 22px 4px;border-bottom:1px solid var(--timer-border);box-shadow:0 6px 18px #0000000b}
#workout-timer-host[hidden]{display:none}
.shell.hasWorkout>.page,:root[data-theme] .shell.hasWorkout.timerVisible>.page{padding-top:16px;padding-bottom:24px}
.shell:not(.hasWorkout)>.page{padding-top:calc(var(--app-safe-top) + 28px)}
#workout-timer-host .sessionToolbar{position:static;top:auto;margin:0;padding:0;border:0}
#workout-timer-host .sessionToolbar::before{display:none}
:root[data-theme] #workout-timer-host .restDock{gap:8px;padding:0;border:0}
#workout-timer-host #rest-title{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;font-size:15px;margin-bottom:3px;color:var(--muted)}
#workout-timer-host .restInfo{min-width:0;flex:1}
#workout-timer-host .timerReadout{display:flex;align-items:center;gap:6px;min-width:0;width:100%;padding:0;border:0;background:transparent;text-align:left;color:var(--ink)}
:root[data-theme] #workout-timer-host #rest-clock{font-size:50px;line-height:1.08;letter-spacing:-1px;white-space:nowrap}
:root[data-theme] #workout-timer-host .finished #rest-clock{font-size:42px;color:var(--accent-text)}
#workout-timer-host .timerReadout .timerCharacter{width:64px;height:64px}
:root[data-theme] #workout-timer-host .restControls button{width:36px;min-width:36px;height:48px;min-height:48px;padding:8px}
#workout-timer-host .timerFooter{min-height:44px;gap:8px}
#workout-timer-host .sessionClock strong{font-size:21px;line-height:1.2}
#workout-timer-host .sessionClock .timerCharacter{width:48px;height:48px}
#workout-timer-host:not(:has(.restDock[style*='flex'])) .sessionClock{grid-template-columns:12px auto 64px}
#workout-timer-host:not(:has(.restDock[style*='flex'])) .sessionClock strong{font-size:38px;line-height:1.15}
#workout-timer-host:not(:has(.restDock[style*='flex'])) .sessionClock .timerCharacter{width:64px;height:64px}
.focusedExercise,#result{scroll-margin-top:16px}
.bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;min-height:64px;padding:3px 9px calc(var(--app-safe-bottom) + 5px);gap:0}
.bottom .navButton{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:54px;padding:5px 1px 0;border:0;background:transparent;font-size:15px;font-weight:600;line-height:1.2;color:var(--muted);position:relative}
.bottom .navButton.active{color:var(--accent-text)}
.navGlyph{display:grid;place-items:center;width:28px;height:28px}
.bottom .navGlyph svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
:root[data-theme] .bottom .homeNav{display:grid;grid-template-rows:30px 12px;gap:2px;justify-content:center;justify-items:center;align-content:end;height:44px;min-height:44px;padding:0;color:var(--accent-text)}
.homeNav .navGlyph{box-sizing:border-box;flex:none;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;aspect-ratio:1;align-self:end;margin:0;border:4px solid var(--bg);border-radius:50%;background:var(--accent);color:var(--limeInk);box-shadow:0 2px 8px #0003}
.homeNav.active .navGlyph{box-shadow:0 0 0 1px var(--accent-border),0 3px 9px #0003}
.bottom .homeNav .navGlyph svg{width:25px;height:25px;stroke-width:1.9}
.setActions .primary,#finish-session .primary{font-size:16px;font-weight:700;min-height:54px;line-height:1.35}
:root[data-theme] .checkPanel,:root[data-theme] .weekPanel{padding:18px;border:1px solid var(--border);border-radius:18px;background:var(--surface);margin-top:12px}
.checkGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.checkGrid .field{min-width:0}
.checkGrid label{display:flex;align-items:flex-start;min-height:40px;margin-bottom:6px;font-size:15px;line-height:1.45}
.checkGrid select{width:100%;height:48px;min-height:48px;padding:10px 12px}
.recoveryResult,.weekPanel .progressFlag{padding:12px;background:var(--surface2);border:0;border-radius:12px;font-size:15px;line-height:1.65}
.recoveryResult div{margin-top:4px;color:var(--muted)}
.homeSecondary .sectionhead{margin-top:18px;gap:14px;align-items:center}
.homeSecondary .sectionhead h2{font-size:16px;line-height:1.4;margin:0}
.homeSecondary .sectionhead .hint{font-size:15px;max-width:110px;text-align:right;line-height:1.5}
.weekGrid{gap:6px}.weekDay{min-width:0;padding:10px 3px}.weekDay .dayPlan{overflow-wrap:break-word;hyphens:auto;word-break:normal;font-size:15px;line-height:1.45}
.dayEditor{display:grid;gap:4px}.dayEditor label{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:7px 0;border-bottom:1px solid var(--border);font-size:15px;text-transform:capitalize}.dayEditor input{width:22px;height:22px;accent-color:var(--accent)}
.sessionCheckIn{font-size:15px;line-height:1.6;color:var(--muted);margin:8px 0 0}
.numberSpinner:not(.sessionStepper){display:contents}.spinnerStep:not(.sessionStep){display:none!important}
:root[data-theme] input[inputmode=numeric],:root[data-theme] input[inputmode=decimal]{box-sizing:border-box;min-height:52px;width:100%;min-width:0;padding:11px 12px;border:1px solid var(--control-border);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-size:18px;font-variant-numeric:tabular-nums}
:root[data-theme] .setFields input[inputmode]{font-size:28px;line-height:1.2;font-weight:700;text-align:center;min-height:64px}
.setFields>.field>label,.setFields .fieldLabel{min-height:44px;height:44px}
.stopwatchScreen{min-height:100%;display:flex;flex-direction:column;padding-top:8px}
.stopwatchScreen .title{margin-top:8px}.stopwatchFace{display:flex;align-items:center;justify-content:center;flex:1;min-height:170px;padding:22px 0;font-size:clamp(54px,17vw,80px);font-weight:800;letter-spacing:-2px;font-variant-numeric:tabular-nums;white-space:nowrap}
.stopwatchAdjust{display:flex;justify-content:center;gap:24px;margin-bottom:10px}.stopwatchAdjust .iconButton{width:60px;min-width:60px;min-height:44px;border:0;background:transparent;color:var(--muted);font-size:14px}
.stopwatchActions{display:flex;justify-content:space-between;gap:20px;padding:8px 4px 30px}.stopwatchActions button{width:82px;height:82px;border-radius:50%;border:4px solid var(--bg);outline:1px solid var(--border);font-size:14px;font-weight:650;flex:none}
.watchSecondary{background:var(--surface2);color:var(--ink)}.watchStart{background:var(--accent);color:var(--limeInk)}.watchStart.isRunning{background:var(--surface2);color:var(--danger-text)}
.lapHeading{display:flex;justify-content:space-between;font-size:15px;color:var(--muted);padding:12px 0;border-top:1px solid var(--border)}
.stopwatchLaps{min-height:100px;max-height:30vh;overflow:auto;list-style:none;margin:0;padding:0;font-size:15px;font-variant-numeric:tabular-nums}.stopwatchLaps li{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:12px 0;border-bottom:1px solid var(--border)}.stopwatchLaps li>*:last-child{text-align:right;color:var(--muted)}.stopwatchLaps .emptyLaps{display:block;text-align:center;color:var(--muted);padding:25px 0}
@media(max-width:360px){#workout-timer-host{padding-inline:16px}:root[data-theme] #workout-timer-host #rest-clock{font-size:44px}:root[data-theme] #workout-timer-host .finished #rest-clock{font-size:36px}#workout-timer-host .timerReadout .timerCharacter{width:52px;height:52px}:root[data-theme] #workout-timer-host .restControls button{width:32px;min-width:32px;padding:7px}.bottom{padding-inline:3px}.bottom .navButton{font-size:15px}.checkGrid{gap:10px}:root[data-theme] .checkPanel,:root[data-theme] .weekPanel{padding:14px}.checkGrid label{min-height:48px;font-size:15px}.setFields .fieldLabel{flex-wrap:wrap;align-content:center;justify-content:flex-start;gap:0 5px}.setFields .fieldLabel label{height:14px;min-height:14px}.setFields .unitToggle{height:28px;min-height:28px}.setFields .unitToggle::before{inset:2px 0}.setFields .unitToggle::after{top:4px}.weekGrid{gap:3px}.weekDay{padding-inline:2px}.weekDay .dayPlan{font-size:15px}}

/* The selected condensed face is reserved for time readouts. */
:root[data-theme] #workout-timer-host #rest-clock,
:root[data-theme] #workout-timer-host #session-clock,
:root[data-theme] #standalone-stopwatch,
:root[data-theme] #cardio-live,
.stopwatchLaps strong,.stopwatchLaps li>span:last-child{font-family:MyTrainerTimer,'Arial Narrow',sans-serif;font-weight:400;font-synthesis:none;font-variant-numeric:tabular-nums;letter-spacing:0}

/* Balanced settings rows and paired theme families. */
.deviceDataRow{display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:12px;width:100%;padding:16px 12px;margin-top:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--ink);text-align:left;font:inherit}
.deviceDataRow>span:nth-child(2){display:grid;gap:5px}.deviceDataRow strong{font-size:14px;line-height:1.4}.deviceDataRow small{font-size:15px;line-height:1.5;color:var(--muted)}.dataRowIcon{width:36px;height:36px;display:grid;place-items:center;color:var(--muted);background:var(--surface2);border-radius:10px}.dataRowIcon svg{width:21px;height:21px}.deviceDataRow>b{color:var(--muted);font-size:22px;font-weight:400}.dataDeleteOptions{margin-top:20px;border:1px solid var(--border);border-radius:14px;overflow:hidden}.dataDeleteOptions .deleteScope{margin:0;border:0;border-radius:0;padding:18px 14px}.deleteScope+.deleteScope{border-top:1px solid var(--border)}.deleteScope .dataRowIcon{color:var(--danger-text);background:var(--danger-bg)}
.themeColumnLabels{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:center;color:var(--muted);font-size:15px;margin:10px 0 0}.pairedThemes{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px}.themeFamilyName{grid-column:1/-1;margin-top:12px;font-size:15px;font-weight:600;color:var(--muted)}.pairedThemes .quickThemeOption{width:100%;min-width:0;padding:12px 8px;gap:7px;font-size:15px}.pairedThemes .themeSwatch{width:27px;height:32px;flex:none}.pairedThemes .themeCheck{margin-left:auto}.pairedThemes .quickThemeOption[aria-pressed=true]{border-color:var(--accent-border);background:var(--accent-soft)}
:root[data-theme] .sessionStepper{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid var(--control-border);border-radius:13px;background:var(--surface);min-width:0}
:root[data-theme] .setFields .sessionStepper>input{grid-column:1/-1;border:0;border-radius:0;min-height:60px;height:60px;padding:10px 4px;background:transparent}
:root[data-theme] .sessionStepper>.sessionStep{display:grid!important;place-items:center;border:0;border-top:1px solid var(--border);border-radius:0;min-height:44px;height:44px;padding:4px;background:var(--surface);color:var(--accent-text);font-size:22px;font-weight:500;width:100%}
.sessionStepper>.sessionStep:last-child{border-left:1px solid var(--border)}.sessionStepper:focus-within{outline:2px solid var(--accent-border);outline-offset:2px}.sessionStepper>.sessionStep:active{background:var(--accent-soft)}
@keyframes restFinalSeconds{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.018)}}
:root[data-theme] #workout-timer-host .restEnding #rest-clock{color:var(--timer-danger);animation:restFinalSeconds .85s ease-in-out infinite;transform-origin:left center}
@media(prefers-reduced-motion:reduce){:root[data-theme] #workout-timer-host .restEnding #rest-clock{animation:none}}
.stopwatchFace{font-size:clamp(50px,16vw,76px)}.stopwatchLaps{font-size:15px}

:root[data-theme] .pixelPreview{background:var(--surface);border-radius:12px;overflow:hidden;display:grid;place-items:center}.pixelPreview .exercisePixel{width:100%;height:100%;min-width:0;object-fit:contain;image-rendering:pixelated}.catalogCard .pixelPreview{padding:4px}.pickerThumb.pixelPreview{padding:2px}

/* Timer tokens distinguish a white, accent-colored, or neutral bar. */
:root[data-theme] #workout-timer-host :is(.restDock,.restDock.finished,.sessionToolbar,.timerFooter){background:transparent;border-color:var(--timer-border);box-shadow:none}
:root[data-theme] #workout-timer-host :is(.timerReadout,.restInfo strong,.sessionClock,.sessionClock strong,.sessionRestCoach strong){color:var(--timer-ink)}
:root[data-theme] #workout-timer-host :is(#rest-title,.sessionClock small,.sessionRestCoach p,.sessionToolbar .iconButton){color:var(--timer-muted)}
:root[data-theme] #workout-timer-host :is(.restControls button,.sessionClock>span,.restHint,.restHint .iconButton,.finished #rest-clock){color:var(--timer-accent);background:transparent;border-color:var(--timer-border)}
:root[data-theme] #workout-timer-host .sessionRestCoach{border-color:var(--timer-border)}
:root[data-theme] #workout-timer-host .restEnding #rest-clock{color:var(--timer-danger)}
.tripleThemeLabels{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;line-height:1.4;align-items:end;font-size:15px}
.tripleThemes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px}.tripleThemes .themeFamilyName{margin-top:8px}.tripleThemes .themeVariant{display:block;width:100%;min-width:0;padding:5px;border:1px solid var(--border);border-radius:12px;background:var(--surface);min-height:65px}.tripleThemes .themeVariant[aria-pressed=true]{border-color:var(--accent-border);outline:1px solid var(--accent-border);background:var(--accent-soft)}
.themeMiniApp{display:block;position:relative;overflow:hidden;border-radius:7px;background:var(--sample-bg);border:1px solid var(--border);height:52px}.themeMiniTimer{display:block;background:var(--sample-panel);color:var(--sample-ink);font:22px/1.3 MyTrainerTimer,'Arial Narrow',sans-serif;padding:2px 5px;text-align:left;border-bottom:1px solid #80808033}.themeMiniContent{display:flex;align-items:center;gap:4px;padding:6px}.themeMiniContent i{display:block;width:20%;height:4px;border-radius:2px;background:var(--sample-accent)}.themeMiniContent i+i{width:33%;background:#80808077}.themeMiniApp .themeCheck{position:absolute;bottom:2px;right:3px;margin:0;border-radius:50%;width:16px;height:16px;font-size:15px;display:grid;place-items:center;background:var(--sample-accent);color:var(--sample-accent-ink)}.themeMiniApp .themeCheck:empty{display:none}

.backupSection{padding:0 0 22px;margin-bottom:20px;border-bottom:1px solid var(--border)}.backupSection:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}.backupSection h3{font-size:16px;margin:0 0 10px;line-height:1.4}.backupSection .caption{font-size:15px;line-height:1.65;margin:0 0 12px}.backupSection .deviceDataRow{margin:0;border:0;border-radius:0;background:transparent}.backupSection .deviceDataRow+.deviceDataRow{border-top:1px solid var(--border)}.backupEntry{margin-top:24px}.recoveryBackupShortcut{display:block;min-height:44px;margin:12px 0 18px;padding:8px 0;text-align:left;border:0;background:transparent;color:var(--accent-text);font:inherit;font-size:14px}.profileDataHelp{font-size:15px;line-height:1.65;color:var(--muted);margin:0 0 14px}.characterExercisePreview{background:var(--surface2)!important}.characterExercisePreview .exercisePixel{width:100%;height:100%;padding:3px;object-fit:contain;image-rendering:pixelated}

.exercisePixel{background:transparent!important}

.durationSettings .durationChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.durationSettings .durationChoices .chip{min-height:44px;padding:8px 5px;font-size:15px;line-height:1.3;white-space:normal}.durationSettings .customTime{margin:16px 0 0;padding:0;border:0;min-width:0}.durationSettings .customTime legend{font-size:15px;color:var(--muted);margin-bottom:10px}.durationParts{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:8px;align-items:end}.durationParts .field{margin:0}.durationParts input{text-align:center;font-size:24px;font-variant-numeric:tabular-nums;min-height:56px;padding:10px;width:100%}.durationParts label{display:block;margin-bottom:7px}.durationColon{text-align:center;align-self:end;height:56px;display:grid;place-items:center;font-size:24px;color:var(--muted)}.durationError{color:var(--danger)}


.customExerciseCue{display:grid;place-items:center;width:100%;height:100%;font-size:32px;color:var(--muted)}
.backupRestoreHelp{margin-top:14px!important}
