:root{--ink:#111512;--lime:#c7ff58;--paper:#ecefe7;--line:#d1d8ca;--muted:#65725b;color-scheme:light;font-family:var(--sans);color:var(--ink);background:var(--ink)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{height:100dvh;display:grid;grid-template-rows:60px 46px minmax(0,1fr) 18px 62px;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);background:var(--paper)}[hidden]{display:none!important}button,input,select{font:inherit;min-width:0}button,select,input{min-height:44px}button{cursor:pointer;border:1px solid #adb8a4;border-radius:5px;background:var(--lime);color:var(--ink);font-size:12px;font-weight:700;padding:6px 9px;touch-action:manipulation}button:disabled{opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #759827;outline-offset:2px}input,select{width:100%;border:1px solid #adb8a4;border-radius:5px;padding:6px 9px;background:#fff;color:#111512;font-size:14px}label{display:grid;gap:4px;font-size:12px;color:var(--muted)}.quiet{background:transparent}.athlete-header{display:flex;align-items:center;justify-content:space-between;padding:6px 14px;background:var(--ink);color:#fff}.athlete-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font:25px/1.1 var(--display)}.brand-zero{color:var(--lime);font-size:42px;letter-spacing:-3px}.brand-zero span{font-size:22px}.athlete-brand small{display:block;letter-spacing:3px;font:700 9px/1.5 var(--sans)}.edition-badge{color:var(--lime);font-size:10px;font-weight:700;text-align:right;letter-spacing:1px}.edition-badge small{display:block;font-size:10px}.edition-dot{display:none}.tool-heading{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;background:#171e18;color:#fff;gap:10px}h1{font:23px/1.15 var(--display);margin:0}h1 em{color:var(--lime);font-style:normal}.tool-heading .quiet{color:var(--lime);min-height:36px;font-size:11px}h2{font:21px/1.2 var(--display);margin:0}h3,p{margin:0}small,.muted{color:var(--muted)}#free-panels{min-height:0;position:relative;overflow:hidden;padding:8px 10px}#free-panels>section{height:100%;min-height:0;display:flex;flex-direction:column;gap:7px}footer{font-size:8px;letter-spacing:1px;text-align:center;line-height:18px;color:var(--muted)}.athlete-dock{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--ink);border-top:1px solid #59684b;padding:2px 4px}.athlete-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-top:2px solid transparent;border-radius:0;background:none;color:#9aa78d;font-size:9px;padding:2px;min-height:52px}.athlete-dock button[aria-selected=true]{color:var(--lime);border-top-color:var(--lime);background:#20291a}.athlete-dock svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6}.card{background:#fafbf7;border:1px solid var(--line);border-radius:7px;overflow:hidden;min-height:0}.card-head{background:#182019;color:#fff;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-head small{color:var(--lime);font-size:10px}.card-head h2{font-size:20px}.card-body{padding:10px;display:grid;gap:8px}.eyebrow{font-size:10px;color:var(--muted);letter-spacing:.8px}.context{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);min-height:18px}.progress{height:5px;border-radius:3px;overflow:hidden;background:#dce3d4}.progress span{display:block;height:100%;background:#8db32d}.actions{display:flex;gap:6px}.actions>*{flex:1}.segmented{display:flex;gap:5px}.segmented button{flex:1;background:transparent}.segmented [aria-pressed=true]{background:var(--ink);color:var(--lime)}.end-action{margin-top:auto;width:100%}.note{font-size:11px;line-height:1.4;color:var(--muted)}.row-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;min-height:0;flex:1}.row-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-height:44px;border-bottom:1px solid var(--line);padding:4px 9px}.row-list li:last-child{border:0}.row-title{font-size:12px;font-weight:700;line-height:1.25;min-width:0;overflow-wrap:anywhere}.row-dose{font-size:12px;white-space:nowrap;text-align:right;font-weight:700}.row-dose small{display:block;font-size:10px;font-weight:400}.list-card{display:flex;flex-direction:column;flex:1;min-height:0}.hyper-row{width:100%;display:flex;align-items:center;justify-content:space-between;background:transparent;text-align:left;border:0;padding:0;gap:8px}.hyper-row .row-title{max-width:65%}.row-meta{display:block;font-size:10px;font-weight:400;color:var(--muted);padding-top:2px}.session-note{font-size:10px;color:var(--muted);line-height:1.3}.strength-rows li{padding:10px;min-height:62px}.strength-rows .row-title{font-size:17px}.strength-rows .row-dose{font-size:20px}.strength-summary{text-align:center;padding:18px 10px;font:30px var(--display)}.reps{display:grid;gap:0;padding:0 10px}.rep-set{min-height:24px;display:flex;align-items:center;justify-content:space-between;font-size:12px;border-bottom:1px solid var(--line)}.rep-set b{font-size:16px}.goal{font-size:10px;max-width:58%;text-align:right;color:var(--lime);line-height:1.3}.rep-controls{display:flex;gap:6px;align-items:center}.rep-controls button{white-space:nowrap}.rep-controls output{font:24px var(--display);min-width:58px}.rep-actual{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}.rep-actual label{font-size:10px}.map-form{display:grid;gap:8px}.map-inputs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.body-tests{display:grid;grid-template-columns:1fr 1fr;gap:8px}.body-test{background:#182019;color:#fff;padding:8px;border-radius:6px;display:grid;gap:6px}.body-test h2{font-size:20px}.body-test input{color:#fff;background:#273023;border-color:#5d6d50}.body-test label{color:#b9c7ad}.body-test button{font-size:11px}.lab-title{font:25px var(--display)}.lab-stats{display:grid;gap:10px;padding:10px}.lab-stat .context{color:#111512;padding-bottom:4px}.wod-total{display:flex;align-items:center;justify-content:space-between;font-size:12px}.wod-total b{font:27px var(--display)}.live-clock{height:100%;display:flex;flex-direction:column;gap:7px}.clock-heading,.clock-detail,.clock-phase-tabs,.clockRoundHelp,.clock-round-help{display:none}.clock-content{display:flex;flex-direction:column;flex:1;min-height:0;gap:7px}.clock-screen{background:var(--ink);color:var(--lime);border-radius:8px;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px}.clock-mode{font-size:10px}.clock-digits{font:clamp(65px,22vw,125px)/1.15 var(--display);font-variant-numeric:tabular-nums;letter-spacing:2px}.clock-status{font-size:10px;text-align:center;color:#d4dec9;line-height:1.4}.clock-track{height:4px;background:#344129;width:100%;margin:8px 0}.clock-track-fill{height:100%;background:var(--lime)}.clock-movement{font-size:11px;text-align:center;display:flex;flex-direction:column;gap:5px}.clock-movement strong{font-size:15px}.clock-movement small{color:#bdc9b2;font-size:10px}.clock-round-counter{display:grid;gap:4px;background:#fafbf7;padding:7px;border:1px solid var(--line);border-radius:7px}.clock-score-head{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.clock-score-controls{display:grid;grid-template-columns:44px 1fr 100px;gap:6px;align-items:center;text-align:center}.clock-score-controls output{font:25px var(--display)}.clock-partial{display:none}.clock-buttons{display:grid;grid-template-columns:1.6fr 1fr 1fr 44px;gap:5px;margin-top:7px}.clock-buttons button{font-size:10px;padding:5px}.clock-controls{flex:none}.timer-immersive body{display:block;background:var(--ink);padding:0}.timer-immersive .athlete-header,.timer-immersive .tool-heading,.timer-immersive .athlete-dock,.timer-immersive footer,.timer-immersive #message{display:none!important}.timer-immersive #free-panels{padding:0;height:100dvh}.timer-immersive .clock-screen{border-radius:0;padding:0}.timer-immersive .clock-screen>*:not(.clock-digits),.timer-immersive .clock-controls{display:none!important}.timer-immersive .clock-digits{font-size:min(28vw,50vh);color:var(--lime)}.clock-fullscreen-back{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);min-width:130px;color:var(--lime);background:#182019;border-color:#7a8b66}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{max-width:420px;width:calc(100% - 24px);max-height:calc(100dvh - 30px);padding:12px;border:1px solid #8fa176;border-radius:8px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#0b110bd9}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.dialog-head h2{font-size:21px}#detailContent{display:grid;gap:10px}#detailSave{margin-top:12px;width:100%}#detailError{font-size:12px;color:#a52624;margin-top:8px}#message{position:fixed;bottom:calc(67px + env(safe-area-inset-bottom));left:12px;right:12px;background:#182019;color:#fff;border:1px solid var(--lime);border-radius:6px;padding:9px;font-size:11px;z-index:10;pointer-events:none}
@media(max-height:700px){body{grid-template-rows:51px 41px minmax(0,1fr) 15px 57px}.athlete-brand{font-size:22px}.brand-zero{font-size:35px}.tool-heading{padding-top:2px;padding-bottom:2px}h1{font-size:21px}#free-panels{padding:6px 8px}#free-panels>section{gap:5px}.card-head{padding:6px 8px}.card-head h2{font-size:18px}.row-list li{padding:2px 7px}.row-title{font-size:11px}.lab-stats{gap:7px;padding:8px}.body-test{padding:6px}.map-form{gap:5px}.card-body{padding:8px}.reps{padding:0 8px}.rep-set{min-height:22px}.rep-set b{font-size:15px}.athlete-dock button{min-height:48px}.athlete-dock svg{height:23px;width:23px}.athlete-dock{font-size:8px}}

/* Keep all eight Hyper rows and long Rep sessions inside the card on small phones. */
.reps{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.reps .rep-set{min-height:30px}.hyper-row{align-self:stretch}.row-list:has(.hyper-row) li{padding-top:0;padding-bottom:0}

/* Individual series tracking; retain one-screen cards and 44px touch targets. */
.set-summary{font-size:11px;font-weight:700;line-height:20px;color:#526841;margin:0}
.strength-rows .tracked-strength-row{min-height:44px;padding:2px 8px;gap:8px}.tracked-strength-row .row-title{font-size:14px}.tracked-strength-row .row-dose{font-size:15px;margin-left:auto}.tracked-strength-row.set-done{background:#e4eed7}.series-tick{appearance:none;width:44px;height:44px;min-height:44px;flex:0 0 44px;display:grid;place-items:center;margin:0;border:1px solid #a1af94;background:#fff;border-radius:5px;padding:0}.series-tick:checked{background:#c7ff58;border-color:#71951b}.series-tick:checked:after{content:'✓';font-size:24px;font-weight:700;color:#111512}
.tracked-hyper-row{gap:6px!important}.tracked-hyper-row .hyper-row{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-content:center;gap:1px}.tracked-hyper-row .row-title{max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.tracked-hyper-row .row-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0;font-size:9px}.set-counter{flex:0 0 64px;min-height:44px;font-size:13px;padding:2px 4px;background:#f3f6ed;border-color:#a1af94}.set-counter small{display:block;font-size:9px;line-height:12px}.set-counter.all-sets-done{background:#c7ff58}.set-counter.all-sets-done small{color:#29371b}.series-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}.series-option{min-height:44px;display:flex;align-items:center;gap:5px;border:1px solid #a1af94;border-radius:5px;padding:5px;font-size:11px;color:#111512}.series-option:has(:checked){background:#e4eed7}.series-option input{width:18px;min-height:18px;height:18px;padding:0;margin:0;accent-color:#71951b}.series-option span{white-space:nowrap}

/* Original linked clock phase buttons, compact and hidden during immersion. */
.clock-heading{display:block}.clock-heading>div:first-child{display:none}.clock-phase-tabs{display:flex;gap:6px}.clock-phase-tabs button{flex:1;background:transparent}.clock-phase-tabs button.active{background:var(--ink);color:var(--lime)}.timer-immersive .clock-heading{display:none}.body-test button{width:100%}
.rep-caption{font-size:10px;color:var(--muted);margin:0;padding:4px 6px}.reps:has(.rep-tracked){padding:0 5px;gap:2px 6px}.reps .rep-tracked{display:grid;grid-template-columns:14px minmax(18px,1fr) 44px 44px;gap:2px;min-height:46px;font-size:10px}.rep-tracked b{font-size:13px;text-align:center}.rep-tracked input[type=number]{padding:2px;font-size:12px;text-align:center}.rep-tracked input::-webkit-inner-spin-button,.rep-tracked input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.rep-status{font-size:10px;flex:1;color:var(--muted)}.body-tests{grid-template-columns:1fr}.rep-controls{flex:none}

/* Free 1.0.4: all 19 lifts in view, tap-to-record sets and explicit RM tests. */
.lift-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(6,minmax(44px,1fr));gap:4px;flex:1;min-height:0}
.lift-tile{background:#fff;text-align:left;padding:4px 7px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:44px;line-height:1.15;font-size:13px;overflow-wrap:anywhere}.lift-tile small{font-size:11px;font-weight:400;color:#526841;white-space:nowrap}
.rep-card{flex:none}.rep-card-toolbar{display:flex;align-items:center;justify-content:space-between;padding:5px 9px;font-size:11px;color:var(--muted)}.rep-card-toolbar output{font:27px/1.1 var(--display);color:var(--ink)}
.reps.rep-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:2px 8px 6px}.reps .rep-tile{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:78px;border:1px solid #cbd4c2;border-radius:4px;padding:4px 2px;background:#fff;color:#111512}.rep-tile span{font-size:9px;font-weight:400;color:#526841}.reps .rep-tile b{font:28px/1.15 var(--display)}.rep-tile small{font-size:9px;color:#526841}.reps .rep-tile.rep-done{background:var(--lime);border-color:#7f9e3b}.reps .rep-tile.rep-short{background:#ffb45b;border-color:#c87514}.rep-caption{padding:4px 8px 8px}.rep-stepper{display:grid;grid-template-columns:60px minmax(0,1fr) 60px;gap:12px;align-items:center}.rep-stepper button{font-size:25px;min-height:56px}.rep-stepper output{text-align:center;font:46px/1.3 var(--display)}
@media(max-height:700px){.reps .rep-tile{min-height:66px}.reps .rep-tile b{font-size:25px}.rep-card-toolbar{padding:3px 8px}.rep-card-toolbar output{font-size:25px}}

/* Free 1.0.6: nineteen lifts and Max Pull-up use the same twenty tiles. */
.welcome-note{font-size:14px;line-height:1.5}.dialog-head h2{min-width:0}.dialog-head .quiet{flex-shrink:0}
.tracked-strength-row .row-title{font-size:12px}.strength-reps{display:block;font-size:12px;line-height:15px;color:var(--ink)}
/* Daily route replaces Lift Balance; all rewards follow explicit records. */
#panel-lab{gap:6px}.lab-title{font-size:22px;line-height:27px}.lab-stats{gap:6px;padding:8px}.lab-stat .context{padding-bottom:2px;font-size:10px}.wod-total{font-size:11px}.wod-total b{font-size:22px;line-height:25px}
.journey-card{flex:1;display:flex;flex-direction:column;gap:5px;padding:7px 9px;background:#182019;color:#fff}.journey-head{display:flex;justify-content:space-between;align-items:center;gap:5px}.journey-head .eyebrow{font-size:9px;color:#c0cdb5}.journey-head h2{font-size:18px;line-height:1.2}.journey-head button{flex:0 0 44px;width:44px;height:44px;padding:0;background:transparent;border-color:#59694c;color:var(--lime);font-size:29px}.journey-stages{display:flex;gap:4px;height:3px;flex:none}.journey-stages i{flex:1;background:#44523a}.journey-stages .stage-done{background:var(--lime)}.journey-stages .stage-current{background:#97bf53}.journey-tasks{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center;gap:5px}.journey-task{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 8px;background:#fafbf7;text-align:left}.journey-task b{display:block;font-size:12px}.journey-task small{display:block;font-size:10px;line-height:13px}.task-state{font-size:9px;color:#526841;white-space:nowrap}.journey-task.task-done:disabled{opacity:1;background:#d8efb6;border-color:#8dbd2f}.journey-note{font-size:11px;line-height:1.4;color:#e4ebdc}.journey-tasks>.quiet{color:#fff;border-color:#7d8e6d}.journey-reward{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;font-size:10px;line-height:15px;color:#d8e5cb}.journey-reward b{color:var(--lime)}.reward-track{flex:0 0 100%;height:3px;background:#435239}.reward-track i{display:block;height:100%;background:var(--lime)}.recovery-line{display:grid;grid-template-columns:1fr 73px;align-items:center;gap:5px}.recovery-line .quiet{color:#fff;border-color:#7d8e6d}.recovery-line label,.recovery-cardio{min-height:44px;display:flex;align-items:center;gap:6px;font-size:11px;color:#fff}.recovery-cardio{padding:4px 8px;background:#263121;border:1px solid #7d8e6d;border-radius:5px}.recovery-cardio>span{margin-right:auto}.journey-card input[type=checkbox]{width:20px;height:20px;min-height:20px;margin:0;accent-color:var(--lime)}
.tracked-hyper-row{gap:4px!important}.tracked-hyper-row .hyper-row{padding:2px 0;background:transparent;border:0;min-width:0;min-height:44px;flex:1}.tracked-hyper-row .row-title{font-size:12px;line-height:14px}.tracked-hyper-row .row-meta{font-size:9px;line-height:12px}.tracked-hyper-row .set-counter,.tracked-hyper-row .hyper-load{flex:0 0 54px;width:54px;min-height:44px;padding:2px;font-size:13px;line-height:17px;background:#fff}.tracked-hyper-row .hyper-load small,.tracked-hyper-row .set-counter small{display:block;font-size:8px;line-height:11px;color:#526841}.rep-card .card-head h2{font-size:18px;line-height:1.15;min-width:0;max-width:43%}.rep-card .goal{max-width:55%}
@media(max-width:340px){.tracked-hyper-row .row-title{font-size:11px;line-height:13px}.tracked-hyper-row .set-counter,.tracked-hyper-row .hyper-load{flex-basis:49px;width:49px;font-size:12px}.journey-head h2{font-size:17px}.journey-task b{font-size:11px}.journey-task small{font-size:9px}}

.dialog-exercise{font:17px/1.25 var(--display);color:var(--ink)}
/* Free 1.0.12: compact movement actions, gated session completion and per-set logging. */
.end-action.series-pending:disabled{opacity:1;background:#e1f1c6;color:#526841;border-color:#c0d3a6}.end-action:not(:disabled){background:var(--lime)}
.wod-name{position:relative;flex:1;min-width:0;padding:0}.wod-name:has(.move-action){padding-bottom:18px}.move-action{position:absolute;bottom:-4px;left:0;border:0;background:none;border-radius:3px;padding:22px 5px 2px;color:#526841;font-size:10px;line-height:20px;min-height:44px;height:44px;min-width:48px;z-index:1}.move-action.is-scaled{color:#31480c}.wod-rows li{min-height:44px;gap:8px}.wod-rows .row-dose{max-width:41%;white-space:normal;overflow-wrap:anywhere}.wod-rows .row-title{line-height:12px}.wod-rows .row-dose{font-size:12px}
.circled-help{width:44px;height:44px;min-height:44px;padding:0;background:transparent;color:var(--lime);border:0;border-radius:50%;font-size:20px;flex-shrink:0;position:relative}.circled-help:after{content:'';position:absolute;inset:9px;border:1.5px solid currentColor;border-radius:50%}#panel-hyper .card-head{min-height:44px;padding-top:0;padding-bottom:0}.set-counter{user-select:none;-webkit-user-select:none;touch-action:pan-y;-webkit-touch-callout:none}.hyper-set-inputs{display:grid;gap:4px}.hyper-set-input{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,1fr);gap:8px;align-items:center}.hyper-set-input .series-option{margin:0}.hyper-set-input input[type=number]{height:44px}.hyper-test summary{font-size:11px;min-height:44px;display:flex;align-items:center;cursor:pointer;color:#526841}.hyper-test[open]{display:grid;gap:5px}.hyper-test .note{margin-bottom:5px}.hyper-guide{width:100%;max-height:180px;font-family:var(--sans)}.guide-steps{font-size:12px;line-height:1.4;padding-left:21px;margin:0;display:grid;gap:7px}

/* Visible compact movement buttons; the touch target remains 44px. */
.move-action{padding:22px 0 2px;min-width:62px;display:flex;align-items:flex-end;justify-content:flex-start}.move-action>span{display:flex;align-items:center;gap:5px;border:1px solid #8fa176;border-radius:4px;background:#fff;color:#31480c;padding:0 7px;font-size:10px;line-height:18px;min-height:20px}.move-action.is-scaled>span{background:var(--lime);border-color:#71951b}.move-action i{font-style:normal;font-weight:700}.wod-rows button.row-dose{background:#fff;border:1px solid #b7c3ab;padding:3px 6px;min-width:64px;min-height:44px;color:var(--ink)}#panel-workout .card-head{min-height:44px;padding-top:0;padding-bottom:0}.wod-choices{display:grid;gap:8px}.wod-choices button{display:grid;gap:5px;text-align:left;min-height:64px;background:#fff}.wod-choices button[aria-pressed=true]{background:var(--lime)}.wod-choices small{font-size:10px;color:#526841}.wod-choices b{font-size:14px}.wod-guide{color:var(--ink)}

/* Header Story action and shared offline PNG preview. */
.tool-heading{padding-top:0;padding-bottom:0}.tool-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}.tool-heading .story-button{width:44px;height:44px;min-height:44px;padding:0;border:0;display:grid;place-items:center}.tool-heading h1{min-width:0}.single-input{grid-template-columns:1fr}.story-modal .share-modal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.story-modal h2{font-size:20px}.story-modal .share-eyebrow{font-size:9px;line-height:16px;color:var(--muted)}.story-modal .share-close{width:44px;height:44px;flex-shrink:0;font-size:24px;padding:0;background:transparent}.story-modal .share-modal-body{display:grid;gap:8px}.story-modal p,.story-modal .share-message{font-size:11px;line-height:1.4;color:var(--muted)}.story-modal .share-actions{display:flex;gap:6px}.story-modal .share-actions button{flex:1;font-size:11px}.story-modal [data-story-save]{background:transparent}.story-modal img{max-height:44dvh!important}.story-modal .share-message:empty{display:none}
@media(max-height:700px){body{grid-template-rows:51px 44px minmax(0,1fr) 15px 57px}}
@media(max-height:700px){#free-panels>#panel-hyper{gap:3px}}

/* Rolling seven-day activity score and consistent native-independent selectors. */
.journey-head button.circled-help{border:0;font-size:20px}.score-panel{flex:none;display:grid;gap:3px;margin-top:auto}.score-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700}.score-heading>span small{font-size:9px;font-weight:400;color:#c0cdb5}.score-heading strong{font:25px/1.15 var(--display);color:var(--score-color)}.score-heading strong small{font:12px var(--sans);color:inherit}.score-track{height:8px;border-radius:5px;overflow:hidden;background:#394333}.score-track i{display:block;height:100%;background:var(--score-color)}.score-range{display:flex;justify-content:space-between;font-size:8px;font-weight:700;color:#c0cdb5;letter-spacing:1px}#scoreExpiry{font-size:10px;line-height:13px;color:#e0e9d9}.journey-card{gap:4px}.journey-note{font-size:11px}.journey-stages .stage-current{background:var(--lime)}
.compact-select{display:block;position:relative;min-width:0}.select-source{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;opacity:0;pointer-events:none;clip-path:inset(50%)}.select-trigger{width:100%;padding:7px 28px 7px 9px;background:#fff;border-radius:7px;text-align:left;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.select-trigger:after{content:'⌄';position:absolute;right:10px;font-size:17px;line-height:17px}.select-trigger:focus-visible{outline:3px solid #759827}.select-dialog{border-radius:12px;padding:10px;overflow:hidden}.select-dialog .dialog-head{margin-bottom:6px}.select-dialog h2{font-size:18px}.select-dialog [role=listbox]{display:grid;max-height:60dvh;overflow-y:auto;gap:3px;border-radius:8px}.select-dialog [role=option]{width:100%;min-height:44px;background:#fff;font-size:12px;font-weight:400;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:7px;padding:7px 9px}.select-dialog [aria-selected=true]{background:var(--lime);font-weight:700}.hyper-test summary{border:1px solid #8fa176;border-radius:6px;background:#fff;padding:7px 10px;font-size:12px;font-weight:700;color:#31480c;justify-content:space-between}.hyper-test summary:after{content:'+';font-size:18px}.hyper-test[open] summary{background:#e4f2ca;margin-bottom:7px}.hyper-test[open] summary:after{content:'−'}

/* BAI leads the dashboard; assigned sessions and programme statistics follow. */
#panel-lab{gap:7px}.score-hero{background:#182019;color:#fff;padding:10px 12px;gap:5px;margin:0;flex:0 0 auto;border-color:#6c8059;border-top:3px solid var(--score-color)}.score-hero .score-heading{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:8px;align-items:center;min-height:64px}.score-identity h2{font:36px/1.05 var(--display);letter-spacing:1px}.score-identity>small{display:block;font-size:10px;line-height:14px;color:#c0cdb5}.score-hero .score-heading strong{font-size:56px;line-height:1.1;white-space:nowrap}.score-hero .score-heading strong small{font-size:14px}.score-hero .score-track{height:26px;border-radius:6px;background:#35432e;border:1px solid #718460}.score-hero .score-track i{border-radius:4px;box-shadow:inset 0 1px 0 #ffffff50}.score-hero .score-range{font-size:9px;line-height:12px}.score-hero #scoreExpiry{font-size:11px;line-height:15px;min-height:30px;color:#e0e9d9}.score-hero .circled-help{align-self:start}.journey-card{padding:8px 10px;gap:5px;flex:1;min-height:0}.journey-head h2{font-size:17px}.journey-head .eyebrow{font-size:9px}.journey-tasks{gap:4px}.journey-task{padding:3px 7px}.lab-stats{flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 9px;padding:7px 9px}.lab-stat{min-width:0}.lab-stat .context{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:12px;padding:0 0 4px}.lab-stat .context b{font-size:10px}.lab-stat .context>span:last-child{font-size:9px;line-height:11px}.lab-stats .wod-total{grid-column:1/-1;border-top:1px solid var(--line);padding-top:4px;font-size:10px;line-height:18px}.lab-stats .wod-total b{font-size:19px;line-height:20px}.bai-guide{display:grid;gap:10px;font-size:13px;line-height:1.45}.bai-guide strong{font-weight:700}
@media(min-height:760px){.score-hero{padding:15px;gap:7px}.score-hero .score-heading{min-height:84px}.score-hero .score-heading strong{font-size:70px}.score-identity h2{font-size:42px}.score-hero .score-track{height:32px}.score-hero #scoreExpiry{font-size:12px;line-height:17px;min-height:34px}.journey-head h2{font-size:20px}.journey-card{padding:10px 12px}.lab-stats{padding:9px 12px;gap:7px 12px}.lab-stat .context b{font-size:11px}.lab-stat .context>span:last-child{font-size:10px;line-height:13px}}

/* Health recommendation stays distinct from the BAI instructions. */
.bai-guide .bai-health{font-size:calc(1em - 2pt);font-style:italic;color:#365137}

/* Keep the complete For Time prescription beside its cap on compact phones. */
#panel-workout .card-head h2:has(.wod-cap){display:flex;align-items:baseline;gap:5px;white-space:nowrap;font-size:16px;min-width:0}.wod-cap{font-family:var(--sans);font-size:10px;font-weight:700}
/* HYBRID STRENGTH additions are scoped to WOD/dialogs; LAB retains the stable 1.0.19 styles. */
.edition-badge{max-width:112px;font-size:9px;line-height:1.4;letter-spacing:.8px}
#panel-workout .wod-actions{display:grid;grid-template-columns:1fr 1.1fr 1fr 1.5fr;gap:4px;flex:none}
#panel-workout .wod-actions>button{font-size:10px;padding:4px 3px;line-height:13px;min-height:44px;margin:0}
#panel-workout .wod-actions:not(:has(#wodHistory)){grid-template-columns:1fr 1.5fr}
#panel-workout .wod-rows{overflow-y:auto;overscroll-behavior:contain;min-height:0}
#panel-workout .wod-rows li{flex:1 0 auto;min-height:52px}
#panel-workout .wod-name{min-width:0;flex:1}
.wod-edit-trigger{background:transparent;border:0;text-align:left;padding:0;min-height:44px;color:var(--ink);width:100%;font:inherit;cursor:grab;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#panel-workout .wod-edit-trigger.row-title{font-size:12px;line-height:1.25;font-weight:700}
textarea{width:100%;font:13px/1.5 var(--sans);padding:8px;border:1px solid #adb8a4;border-radius:5px;background:#fff;color:var(--ink);resize:vertical}
.journal-list{display:grid;align-content:start;gap:6px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}
.journal-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:5px}
.journal-entry{text-align:left;background:#fff;padding:8px}.journal-entry b{display:block;font-size:12px;overflow-wrap:anywhere}.journal-entry small{display:block;font-size:10px;font-weight:400;margin-top:4px}
.journal-star{font-size:25px;background:#fff;padding:0;color:#59684a}.journal-star.is-favorite{background:var(--lime);color:#263714}
.journal-empty{padding:16px 4px}.journal-prescription{display:grid;gap:5px}.journal-prescription p{background:#fff;padding:8px;display:grid;grid-template-columns:1fr auto;gap:4px;font-size:12px}.journal-prescription small{grid-column:1/-1}
#detailDialog:has(.journal-list),#detailDialog:has(.wod-edit-list){height:min(650px,calc(100dvh - 30px));overflow:hidden}
#detailForm:has(.journal-list),#detailForm:has(.wod-edit-list){display:flex;flex-direction:column;height:100%;min-height:0}
#detailContent:has(.journal-list),#detailContent:has(.wod-edit-list){display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
#detailForm:has(.wod-edit-list)>.dialog-head,#detailForm:has(.journal-list)>.dialog-head,.journal-tabs{flex:none}
.wod-edit-list{display:grid;align-content:start;gap:7px;flex:1;min-height:90px;overflow-y:auto;overscroll-behavior:contain;padding:3px}
.wod-edit-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:5px;min-height:55px}
.edit-move{display:flex;align-items:center;gap:7px;text-align:left;background:#fff;padding:7px;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
.edit-move b{display:block;font-size:12px;overflow-wrap:anywhere}.edit-move small{display:block;font-size:10px;font-weight:400;margin-top:3px}.drag-grip{color:#728260;font-size:23px;flex:none}.edit-delete{font-size:24px;color:#923c2b;padding:0}
.wod-edit-row.is-dragging{opacity:.25}.wod-drag-ghost{position:fixed;z-index:1000;pointer-events:none;box-shadow:0 6px 20px #11151244;border:2px solid #8fab4b;border-radius:6px;background:var(--paper);opacity:.95}
.completion-note{font-size:16px;line-height:1.5;padding:12px 0}.completion-note strong{color:#365137}
#panel-workout .wod-name:has(.move-action){padding-bottom:0}
#panel-workout .wod-name:has(.move-action) .wod-edit-trigger{padding-bottom:18px}

/* Privacy remains available in the existing header without reducing panel space. */
.athlete-header .privacy-access{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;min-height:44px;max-width:128px;padding:0;border:0;background:transparent;color:var(--lime);line-height:1.2;border-radius:4px}
.athlete-header .privacy-access small{font:500 10px/1.2 var(--sans);letter-spacing:.3px;color:#c5cdbd;text-decoration:underline;text-underline-offset:2px}
.privacy-access:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.athlete-header .header-info{display:flex;align-items:center;gap:5px;flex:none}
.athlete-header .program-access{background:transparent;border:0;padding:0 2px;min-height:44px;width:91px;line-height:1.35;white-space:normal;color:var(--lime);font-size:10px;text-align:right}
.athlete-header .privacy-access{width:44px;max-width:44px;min-width:44px;align-items:center;gap:1px;color:#c5cdbd;font-size:17px}
.athlete-header .privacy-access small{font-size:9px;letter-spacing:0}
.notice-copy{font-size:13px;line-height:1.55;overflow-wrap:anywhere}.notice-copy p{margin:0 0 14px}.notice-copy h3{font:700 14px/1.35 var(--sans);margin:21px 0 7px}.notice-copy .program-footer{color:#526841;font-size:11px;margin:20px 0 0;letter-spacing:.6px}
#disclaimerDialog{width:min(460px,calc(100% - 24px));height:min(760px,calc(100dvh - 30px));max-height:calc(100dvh - 30px);padding:16px;overflow:hidden;background:#182019;color:#ecefe7;border-color:#657553}
#disclaimerDialog[open]{display:flex;flex-direction:column;gap:12px}#disclaimerDialog h2{font:23px/1.25 var(--display);margin:0;flex:none;color:#fff}#disclaimerScroll{overflow:auto;min-height:0;flex:1;padding-right:5px;overscroll-behavior:contain}#disclaimerDialog .notice-copy{color:#d2d9c9;font-size:14px}#disclaimerDialog .notice-confirm{color:#fff;margin-top:22px}#disclaimerAccept{width:100%;flex:none;min-height:48px;font-size:12px}#disclaimerError{color:#ffb76d;font-size:12px;line-height:1.4;flex:none}#disclaimerError:empty{display:none}
#panel-workout .effort-controls{flex:none;gap:5px}#panel-workout .effort-controls button{font-size:12px;text-transform:none;min-height:44px;padding:4px 8px}#panel-workout .effort-controls button[aria-pressed=true]{background:var(--lime);border-color:#86a73f;color:var(--ink)}
#panel-workout .wod-rows{justify-content:flex-start}#panel-workout .wod-rows li{flex:0 0 auto;padding:2px 7px;min-height:48px;gap:6px}#panel-workout .wod-edit-trigger.row-title{font-size:12px;line-height:1.2}#panel-workout .wod-name:has(.move-action) .wod-edit-trigger{padding-bottom:16px}#panel-workout .row-dose{padding:3px 6px;min-height:44px}#panel-workout .row-dose small{font-size:9px}#panel-workout .wod-rows li:has(.move-action){min-height:60px}
.privacy-copy{font-size:13px;line-height:1.55;overflow-wrap:anywhere}.privacy-copy h2{font:700 15px/1.35 var(--sans);margin:20px 0 8px}.privacy-copy p{margin:0 0 12px}.privacy-copy ul{padding-left:19px}.privacy-copy li{margin:5px 0}.privacy-copy a,.privacy-online a{color:#365137;text-decoration:underline}.privacy-copy .policy-date{color:var(--muted);font-size:11px}.privacy-copy .policy-summary{background:#fff;border-left:3px solid #86a73f;padding:10px}.privacy-online a{display:flex;align-items:center;min-height:44px;font-size:12px;font-weight:700}

#panel-workout .wod-rows.is-dense li{min-height:44px;padding:0 6px;gap:4px}#panel-workout .wod-rows.is-dense .wod-name{display:flex;align-items:center;gap:3px}#panel-workout .wod-rows.is-dense .wod-edit-trigger{flex:1;min-width:0;padding:2px 0;font-size:12px;line-height:14px}#panel-workout .wod-rows.is-dense .move-action{position:static;flex:0 0 58px;min-width:58px;justify-content:center;align-items:center;padding:0}#panel-workout .wod-rows.is-dense .move-action>span{font-size:9px;padding:0 4px}#panel-workout .wod-rows.is-dense .row-dose{max-width:27%;font-size:13px;padding:2px 5px}

button.athlete-brand{appearance:none;background:transparent;border:0;border-radius:0;padding:0;text-align:left;cursor:pointer}.gym-copy{font-size:13px;line-height:1.55}.gym-copy p+p{margin-top:12px}

/* Bound top-layer dialogs to the actual app area, including resized WebViews. */
#detailDialog,#disclaimerDialog,#selectDialog{position:fixed;top:var(--dialog-top,12px);bottom:var(--dialog-bottom,12px);margin-block:auto;max-height:var(--dialog-height,calc(100dvh - 24px));min-height:0}
#detailDialog.reading-dialog{height:min(650px,var(--dialog-height));overflow:hidden}
#detailDialog.reading-dialog #detailForm{height:100%;display:flex;flex-direction:column;min-height:0}
#detailDialog.reading-dialog .dialog-head{flex:none}
#detailDialog.reading-dialog #detailContent{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;display:block}
#detailError:empty{display:none}
.legal-links{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin-top:8px;border-top:1px solid var(--line)}
.legal-links a{display:inline-flex;align-items:center;min-height:44px;color:#365137;font:700 12px/1.3 var(--sans);text-decoration:underline;text-underline-offset:3px;background:transparent;border:0}
#disclaimerDialog{height:min(760px,var(--dialog-height,calc(100dvh - 24px)))}
#selectDialog [role=listbox]{max-height:calc(var(--dialog-height,100dvh) - 76px)}
#panel-workout .effort-switch{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;align-items:center;flex:none;width:100%;height:44px;padding:3px;border:1px solid #8fa176;border-radius:24px;background:#e0e6d7;color:var(--ink);touch-action:pan-y;overflow:hidden}
.effort-switch>span[data-effort]{position:relative;display:grid;place-items:center;align-self:stretch;font-size:12px;font-weight:700;z-index:1}
.effort-switch .effort-thumb{position:absolute;left:3px;top:3px;bottom:3px;width:calc(50% - 3px);border-radius:20px;background:var(--lime);box-shadow:0 1px 3px #11151222;transform:translateX(0);transition:transform .18s ease}
.effort-switch[aria-checked=true] .effort-thumb{transform:translateX(100%)}
#panel-workout .wod-rows.is-dense{display:grid;grid-auto-rows:minmax(44px,1fr);align-content:stretch}
#panel-workout .wod-rows.is-dense li{min-height:44px}
@media(prefers-reduced-motion:reduce){.effort-switch .effort-thumb{transition:none}}
/* Keep the effort slider alongside the WOD/Warm-up/Timer controls. */
#panel-workout .wod-toolbar{display:grid;grid-template-columns:minmax(44px,.9fr) minmax(50px,1fr) 44px minmax(128px,2.4fr);gap:4px;flex:none}
#panel-workout .wod-toolbar>button{padding:2px;font-size:10px}
#panel-workout .wod-toolbar .effort-switch{padding:3px;background:#e0e6d7}
#panel-workout .wod-toolbar .effort-switch [data-effort]{font-size:11px}
@media(max-height:700px){#panel-workout{gap:4px}#free-panels:has(#panel-workout:not([hidden])){padding-block:4px}}
#panel-workout .wod-rows.is-dense{grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-items:stretch}
/* Keep form actions reachable when an interactive dialog reaches its height cap. */
#detailDialog[open]{display:flex;flex-direction:column;overflow:hidden}
#detailForm{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
#detailForm>.dialog-head,#detailSave,#detailError,#programLinks{flex:none}
#detailContent{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}

/* WOD: completion is a full row; utility actions remain together below it. */
#panel-workout .wod-completion{flex:none}#panel-workout .wod-completion>button{width:100%;min-height:44px;margin:0;font-size:12px}
#panel-workout .wod-actions:has(#wodShare){grid-template-columns:1fr 1.05fr 1fr 1.15fr}
#panel-workout #wodShare{display:flex;align-items:center;justify-content:center;gap:4px;font-size:9px}
#wodShare svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}#wodShare span{max-width:52px}
.tool-heading:has(#wodHelp:not([hidden])) h1{display:flex;flex-direction:column;justify-content:center;font-size:19px;line-height:1.2;min-width:0;white-space:nowrap}
.wod-format{font:700 10px/1.3 var(--sans);color:#d3dbc9;letter-spacing:.1px;margin-top:2px}
.tool-heading #wodHelp{width:44px;height:44px;min-width:44px;flex:none}
.wod-celebration{text-align:center;padding:10px 3px 6px}.wod-celebration>span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 12px;border-radius:50%;background:var(--lime);font-size:30px;font-weight:700}.wod-celebration h3{font:26px/1.2 var(--display);margin-bottom:8px}.wod-celebration p{font-size:14px;line-height:1.5}
@media(max-height:700px){#free-panels:has(#panel-workout:not([hidden])){padding-block:2px}}

.gym-links{display:flex;justify-content:space-between;gap:16px;margin-top:12px;border-top:1px solid var(--line)}.gym-links a{display:inline-flex;align-items:center;min-height:44px;color:#365137;font:700 13px/1.3 var(--sans);text-decoration:underline;text-underline-offset:3px}

/* Wait only for the local Android locale lookup, underneath the native splash. */
html[data-locale-pending] body{visibility:hidden}

/* The APK uses its bundled DM Sans/Anton fonts and native textZoom=100.
   Keep WebView's mobile text autosizing from independently enlarging rows. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
textarea,button,input,select{font-family:inherit}

/* WOD-only timer: reserve the full panel for the clock. */
#panel-timer .clock-heading{display:none}#panel-timer .live-clock{flex:1;min-height:0}
