/* Load Instrument: final visual layer; all recording controls remain available. */
:root{--paper:#fff;--surface:#fff;--ink:#102635;--text:#102635;--muted:#566774;--line:#d5dee2;--soft:#edf1f2;--accent:#102635;--accent-soft:#edf1f2;--action:#102635;--action-hover:#29414e;--action-wash:#edf1f2;--coral:#102635;--champagne:#edf1f2;--gold:#d7ec83;--green-soft:#edf1f2;--lime:#d7ec83;--screen:#102635;--screen-muted:#bdcbd0;--radius:2px;font-size:16px;color:#102635;background:#fff;color-scheme:light}
body{color:var(--ink);background:#fff;font-variant-numeric:tabular-nums}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button,input,select,textarea,.btn,dialog{border-radius:2px}button,input,select,textarea,summary{min-width:0}input:not([type=checkbox]):not([type=file]),select,textarea{font-size:16px}input:not([type=checkbox]):not([type=file]),select{min-height:46px}input[type=checkbox]{accent-color:var(--ink)}input::placeholder,textarea::placeholder{color:#70808b}h1,h2,h3{color:var(--ink)}h1{font-size:30px;font-weight:650;letter-spacing:-.7px}h2{font-weight:650}.icon{stroke-width:2.2}.btn{min-height:44px;font-size:14px;box-shadow:none;border-radius:2px}.btn.primary:not(.danger){background:var(--lime);border-color:var(--lime);color:var(--ink);font-weight:700}.btn.primary:not(.danger):hover:not(:disabled){background:#c8df6b;border-color:#c8df6b;color:var(--ink)}.btn:not(.primary):not(.danger):hover:not(:disabled){background:var(--soft);color:var(--ink)}.btn.text-button{color:var(--muted)}.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #4f7185;outline-offset:3px}.btn.danger{background:#993c39;border-color:#993c39;color:#fff}.btn.has-draft{color:var(--ink);background:var(--lime)}
/* App frame */
.brand,.mobile-brand{font-family:Consolas,'Courier New',monospace;font-weight:700;letter-spacing:-.8px;gap:9px}.brand{font-size:20px;align-items:flex-start}.brand small{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Yu Gothic',sans-serif;font-size:11px;letter-spacing:0}.brand-mark,.mobile-brand .brand-mark{width:29px;height:29px;min-width:29px;display:inline-flex;align-items:center;justify-content:center;background:var(--lime);color:var(--ink);font:700 22px/1 Consolas,'Courier New',monospace;border-radius:0;font-style:normal}.brand-mark>.icon{width:23px;height:23px}.brand-mark:after{content:none}.sidebar{background:#fff;border-right:1px solid var(--line)}.nav-item,.nav-settings{border-radius:2px;color:var(--muted);min-height:48px}.nav-item.active{background:var(--soft);color:var(--ink);box-shadow:none}.nav-item.active>.icon{background:var(--lime);box-sizing:content-box;padding:4px;margin:-4px}.nav-item.active:before,.studio-kicker:before,.bottom-nav>a.active:after{content:none;display:none}.local-state>i{background:var(--ink)}.topbar{height:68px;border-bottom:1px solid var(--line)}.desktop-caption{color:var(--muted);letter-spacing:.3px}.save-status,.connection{color:var(--muted)}.settings-link{min-width:44px;min-height:44px}.settings-link .icon{width:23px;height:23px}.page-footer{color:var(--muted)}main{max-width:1320px;padding-top:30px;overflow-wrap:anywhere}.page-heading{margin-bottom:24px}.page-heading p{color:var(--muted)}.studio-kicker,.section-index{color:var(--muted)}.notice,.restore-summary,.guide-content,.input-load,.plate-layout>span{border-left:0}.notice{background:var(--soft);border-radius:2px}.guide-content,.input-load,.plate-layout>span{padding-left:0}.panel,.calendar-panel,.history-card,.metric,.recovery-card,.exercise-stat,.record-empty{box-shadow:none;border-radius:0}.demo-banner{color:var(--ink);background:var(--soft);border-bottom:1px solid var(--line)}
/* Home: date, session, measured progress, action, actual exercise list. */
.instrument-home-layout{grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:52px}.studio-home-main,.studio-home-side{min-width:0}.instrument-date{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:13px;line-height:1.6}.instrument-phase{color:#516d20;font-size:12px;font-weight:650;text-align:right}.home-session h1{font-size:30px;line-height:1.4;margin:16px 0 14px;font-weight:650;letter-spacing:-.7px}.home-first-note{font-size:15px;color:var(--muted);margin:22px 0 25px}.instrument-readout{background:var(--screen);color:#f7faf2;padding:19px 20px 18px;margin:14px 0 16px;border-radius:2px}.readout-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--screen-muted);font-size:11px;letter-spacing:1.3px}.readout-heading>span:last-child{letter-spacing:0;white-space:nowrap}.readout-main{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:14px;margin-top:14px}.readout-main>div{min-width:0}.readout-count{display:block;color:var(--lime);font:500 70px/1 Consolas,'Courier New',monospace;letter-spacing:-4px;white-space:nowrap}.readout-count>small{color:var(--screen-muted);font:400 22px/1 Consolas,'Courier New',monospace;letter-spacing:-1px}.readout-unit{display:block;color:var(--screen-muted);font-size:13px;line-height:1.5;margin-top:9px}.readout-context{display:block;color:var(--screen-muted);font-size:11px;line-height:1.7;margin-top:12px}.readout-art{margin:0;min-width:0;text-align:center}.readout-art .exercise-icon{display:block;width:100%;height:112px;background:transparent;border:0;border-radius:0}.readout-art figcaption{font-size:12px;line-height:1.5;color:var(--screen-muted);margin-top:5px;overflow-wrap:anywhere}.readout-progress{display:flex;gap:5px;height:5px;margin-top:18px}.readout-progress>i{display:block;flex:1;background:#405663;min-width:0}.readout-progress>i.done{background:var(--lime)}.readout-progress.continuous{background:#405663}.readout-progress.continuous>i{flex:none}.home-session .start-workout-button{display:flex;justify-content:space-between;gap:10px;width:100%;min-height:56px;padding:14px 17px;font-size:15px}.start-workout-button>.icon{width:21px;height:21px}.home-session>.text-button{margin-top:5px;font-size:13px}.home-start-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;border:0;margin:7px 0 20px}.home-start-options .home-option{border:0;background:#fff;padding:9px 0;min-height:44px;justify-content:space-between;font-size:13px}.home-start-options .home-option>span{color:var(--muted)}.home-option>.icon{width:17px}.home-session-exercises .section-heading{margin:3px 0 10px}.home-session-exercises h2{font-size:17px}.home-session-exercises .section-heading>span{font-size:12px;color:var(--muted)}.home-exercise-row{display:grid;grid-template-columns:66px minmax(0,1fr) 48px 12px;align-items:center;gap:11px;min-height:99px;width:100%;padding:13px 0;border:0;border-top:1px solid var(--line);background:#fff;color:var(--ink);text-align:left;cursor:pointer}.home-exercise-row:hover{background:var(--soft)}.home-exercise-row>.exercise-icon{width:66px;height:60px;background:transparent;flex-shrink:0;border:0;border-radius:0}.home-exercise-row>span:nth-child(2){min-width:0}.home-exercise-row strong{display:block;font-size:15px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.home-exercise-row>span>small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:4px}.home-row-result{display:block;font-size:12px;line-height:1.5;margin-top:5px}.home-row-progress{text-align:right;color:var(--muted)}.home-row-progress>b{font:500 22px/1.2 Consolas,monospace;color:var(--ink)}.home-row-progress>small{font:400 11px/1.4 Consolas,monospace;white-space:nowrap}.home-row-progress>span{display:flex;align-items:center;justify-content:flex-end;gap:2px;font-size:10px;margin-top:5px}.home-row-progress .icon{width:12px;height:12px}.home-exercise-row>.icon{width:12px;height:17px;color:var(--muted)}.recent-studio{margin-top:32px}.recent-studio .section-heading{padding-bottom:12px}.recent-studio h2{font-size:17px}.recent-date>b{color:var(--ink);font-family:Consolas,monospace}.recent-value b{font-family:Consolas,monospace}.recent-session>span:nth-child(2)>strong{font-size:15px}.recent-session>span:nth-child(2)>small{font-size:12px}.recent-session{padding:16px 0;gap:12px;min-width:0}.week-studio{border-top:1px solid var(--line);padding-top:18px}.week-studio .section-heading{gap:9px;margin-bottom:12px}.week-studio h2{font-size:16px}.week-studio .section-heading>a{font-size:12px;color:var(--muted);min-height:44px;display:flex;align-items:center}.week-studio-total{margin:10px 0 20px;gap:13px}.week-studio-total>b{font:500 46px/1.1 Consolas,monospace;color:var(--ink);letter-spacing:-2px}.week-studio-total>b>small{font:400 20px/1.1 Consolas,monospace;color:var(--muted);letter-spacing:-1px}.week-studio-total>span{font-size:13px}.week-studio-total>span>small{font-size:12px}.week-studio-days{padding-bottom:22px}.week-studio-days .done b{background:var(--lime);color:var(--ink)}.week-studio-days .today b{border-bottom-color:var(--ink)}.studio-home-side .recovery-card{padding-top:22px;border-top:1px solid var(--line)}.studio-home-side .recovery-card h2{font-size:17px}.storage-footnote{font-size:12px}.journal-empty{padding:24px 0}.journal-empty>span{color:var(--muted)}
/* Focus: white exercise identity and navy numeric console. */
.session-name-button{min-height:44px;color:var(--ink)}.record-session-strip{border-bottom-color:var(--line)}.record-session-strip select{font-size:16px;min-height:44px}.record-toolbar .btn{min-height:44px}.record-view-control .view-button[aria-pressed=true]{border-bottom-color:var(--ink);color:var(--ink)}.add-exercise-button{background:var(--soft);color:var(--ink);border-color:var(--line)}.focus-navigation{border-top:1px solid var(--line);padding:4px 0}.focus-navigation>span>b{color:var(--ink);font-family:Consolas,monospace}.focus-navigation>.icon-button{width:44px;min-width:44px}.index-heading{border-top:1px solid var(--line)}.index-row.current{color:var(--ink);background:var(--soft)}.index-row.current .index-number{border-bottom:0}.index-number{font-family:Consolas,monospace}.focused-exercise.exercise-card{padding-top:13px}.focused-exercise .exercise-heading{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 112px 44px;gap:10px;align-items:center;margin-bottom:8px;flex-wrap:nowrap}.focused-exercise .exercise-heading>.exercise-icon{grid-column:2;grid-row:1;width:112px;height:88px;background:transparent}.focused-exercise .exercise-heading>div:nth-child(2){grid-column:1;grid-row:1;min-width:0}.focused-exercise .exercise-heading h3{font-size:27px;font-weight:650;line-height:1.45;letter-spacing:-.6px}.focused-exercise .exercise-heading p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:6px}.focused-exercise .exercise-heading p span{display:inline}.focused-exercise .entry-menu{grid-column:3;grid-row:1;align-self:start;position:relative}.focused-exercise .entry-menu>summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}.group-label{border:0;background:var(--soft);color:var(--ink);font-size:12px;padding:2px 5px;margin-right:2px}.focused-exercise .previous-record{margin:0 0 8px;padding:0;border:0;gap:6px;align-items:start}.focused-exercise .previous-record summary{font-size:13px;line-height:1.5;min-height:44px;gap:3px 10px}.focused-exercise .previous-record summary strong{font-size:15px;color:var(--ink);white-space:normal}.focused-exercise .previous-record .btn{min-height:44px;padding:8px 3px;font-size:12px}.previous-record-empty{font-size:13px;color:var(--muted);margin:5px 0 14px;line-height:1.6}.focused-exercise .set-form{background:transparent;margin:0;padding:0 0 12px;border:0;border-radius:0}.instrument-console{background:var(--screen);color:#f7faf2;padding:19px 18px 17px;border-radius:2px 2px 0 0}.focused-exercise .instrument-console .set-form-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}.focused-exercise .instrument-console .set-form-title>strong{color:#f7faf2;font:400 16px/1.5 Consolas,monospace;letter-spacing:1px}.focused-exercise .instrument-console .set-form-title>span{font-size:12px;color:var(--screen-muted);max-width:none;text-align:right}.focused-exercise .instrument-console .input-load{color:var(--screen-muted);font-size:12px;border:0;padding:0;margin:0 0 10px}.focused-exercise .instrument-console .set-inputs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.focused-exercise .instrument-console .set-inputs>.numeric-field{grid-column:auto;grid-row:auto;min-width:0}.focused-exercise .instrument-console .numeric-field>label{color:var(--screen-muted);font-size:13px;display:block;margin-bottom:4px;font-weight:400}.focused-exercise .instrument-console .numeric-field>label>small{color:var(--screen-muted);font:400 13px/1.5 Consolas,monospace}.focused-exercise .instrument-console .number-control{border:0;border-radius:0;overflow:visible;background:transparent;gap:8px}.focused-exercise .instrument-console .number-control input{color:var(--lime);background:transparent;border:0;margin:0;width:100%;height:88px;min-height:88px!important;padding:2px!important;box-shadow:none;text-align:center;font:500 60px/1.1 Consolas,'Courier New',monospace!important;letter-spacing:-3px}.focused-exercise .instrument-console .number-control input::placeholder{color:#71857b}.focused-exercise .instrument-console .number-control input.long-value{font-size:38px!important;letter-spacing:-1.5px}.focused-exercise .instrument-console .number-control>.step-button{background:#29414e;color:#f7faf2;border:0;min-height:46px;border-radius:0;font:400 23px/1.4 Consolas,monospace}.focused-exercise .instrument-console .number-control>.step-button:hover{background:#3b5665;color:#fff}.focused-exercise .instrument-console .number-control:focus-within{outline:2px solid var(--lime);outline-offset:3px}.focused-exercise .instrument-console input:focus-visible{outline:0}.focused-exercise .unweighted .instrument-console .set-inputs>.numeric-field{grid-column:1/-1;max-width:300px;width:100%;justify-self:center}.focused-exercise .instrument-submit{width:100%;min-height:56px;border-radius:0 0 2px 2px;font-size:16px;gap:9px;display:flex;align-items:center;justify-content:center;padding:13px 15px}.focused-exercise .instrument-submit .icon{width:22px;height:22px}.instrument-set-context{font-size:12px;color:var(--muted);margin:10px 0 0;line-height:1.7}.focused-exercise .input-comparison{padding-top:5px;font-size:12px;line-height:1.7;color:var(--muted)}.focused-exercise .set-options{margin-top:5px;gap:12px;flex-wrap:wrap}.focused-exercise .set-more,.focused-exercise .batch-entry{font-size:13px}.set-more>summary,.batch-entry>summary{min-height:44px}.focused-exercise .set-detail-fields label{font-size:13px}.focused-exercise .set-detail-fields input,.focused-exercise .set-detail-fields select,.batch-entry input{font-size:16px;min-height:46px}.focused-exercise .input-hint{font-size:12px;line-height:1.7;color:var(--muted)}.focused-exercise .exercise-statusline{margin:5px 0 8px;font-size:12px;gap:8px;flex-wrap:wrap}.focused-exercise .exercise-statusline>div{margin-left:auto}.focused-exercise .exercise-statusline .btn{min-height:44px;font-size:12px;padding:8px}.goal-progress i,.workout-progress i.done{background:var(--ink)}.focused-exercise .goal-progress{height:3px;margin-bottom:18px}.focused-exercise .set-table-head{font-size:11px}.focused-exercise .set-row strong{font:500 24px/1.4 Consolas,monospace}.focused-exercise .set-row{min-height:57px}.set-row .pr-badge{background:var(--soft);color:var(--ink);border:0;padding:1px 4px}.focused-exercise .set-estimate{font-size:13px}.focused-exercise .set-row-detail{font-size:12px;line-height:1.7}.focused-exercise .exercise-footer>.btn{min-height:44px;font-size:13px}.session-dock{background:var(--screen);border-radius:2px}.session-dock .btn.primary{background:var(--lime);border-color:var(--lime);color:var(--ink)}
/* Shared screens and dialogs. Recovery and muscle colours retain their meanings. */
.record-all-view .set-form{background:var(--soft)}.record-all-view .number-control{border-color:var(--line)}.record-all-view .number-control>.step-button{background:var(--soft);color:var(--ink);border-color:var(--line)}.record-all-view .set-form-title{color:var(--ink)}.calendar-day.selected{background:var(--ink);color:#fff}.calendar-day.is-today:not(.selected){color:var(--ink);background:var(--soft)}.calendar-day.is-today>span{border-bottom-color:var(--ink)}.btn.chip.selected{background:var(--soft);color:var(--ink);border-bottom-color:var(--ink)}.analysis-tabs button.active,.detail-metric-tabs>.btn.active{color:var(--ink)}.analysis-tabs button.active:after{background:var(--ink)}.detail-metric-tabs>.btn.active{border-bottom-color:var(--ink)}.chart-readout>strong,.analysis-big,.review-score>strong{color:var(--ink);font-family:Consolas,monospace}.trend-chart .trend-line{stroke:var(--ink)}.chart-readout strong>small{color:var(--muted)}.search-box{border-color:#9baab3}.search-box:focus-within{box-shadow:0 2px var(--ink)}.favorite-button[aria-pressed=true]{color:#516d20}.picker-exercise.selected{background:var(--soft)}.picker-bottom,.dialog-bottom,.builder-bottom{border-color:var(--line);background:#fff}.picker-quickfilters>.btn[aria-pressed=true]{color:var(--ink);border-color:var(--ink)}.review-title .studio-kicker{color:var(--muted)}.review-score{border-top-color:var(--ink)}.plate-layout>span{background:var(--soft);padding:10px}.rest-progress i{background:var(--lime)}.timer-bar{background:var(--screen);color:#f7faf2;border-radius:0;border:0}.timer-bar .timer-button{min-height:44px;border-radius:2px}.timer-bar .timer-button:not(:last-child){background:var(--lime);border-color:var(--lime);color:var(--ink)}.timer-bar>div>span{color:var(--screen-muted)}dialog{box-shadow:0 20px 80px #10263520;border-color:var(--line)}dialog::backdrop{background:#10263566}.dialog-header{border-bottom-color:var(--line);background:#fff}.dialog-content{color:var(--ink);overflow-wrap:anywhere}.dialog-header h2{color:var(--ink)}.form-field input,.form-field select,.form-field textarea{font-size:16px}.entry-menu .entry-actions{border-color:var(--line);border-radius:2px;box-shadow:0 5px 20px #10263512}.library-row strong{font-size:14px}.library-row small{font-size:12px}.session-note textarea,.entry-note textarea{font-size:16px}.home-recovery-row.ready .progress i{background:#42647e!important}.home-recovery-row.rest .progress i{background:#cfad70!important}
@media(max-width:1100px){.instrument-home-layout{gap:32px;grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}.readout-main{grid-template-columns:minmax(0,1fr) 120px}.readout-count{font-size:64px}.focused-exercise .exercise-heading h3{font-size:24px}.focused-exercise .exercise-heading{grid-template-columns:minmax(0,1fr) 95px 44px}.focused-exercise .exercise-heading>.exercise-icon{width:95px;height:80px}}
@media(max-width:900px) and (min-width:721px){.instrument-home-layout{grid-template-columns:1fr}.studio-home-side{display:grid;grid-template-columns:1fr 1fr;gap:28px}.studio-home-side .recovery-card{border-top:1px solid var(--line)}.readout-main{grid-template-columns:minmax(0,1fr) 160px}.readout-count{font-size:70px}.record-focus-layout{grid-template-columns:1fr}.record-index-desktop{display:none}.focused-exercise .exercise-heading{grid-template-columns:minmax(0,1fr) 112px 44px}.focused-exercise .exercise-heading>.exercise-icon{width:112px;height:88px}}
@media(max-width:720px){
 :root{--sidebar:0px}.topbar,body[data-page=record] .topbar{height:62px;margin:0 18px}.mobile-brand{font-size:19px;letter-spacing:-1px}.mobile-brand .brand-mark{width:28px;height:28px;min-width:28px}.header-right{gap:4px}.save-status{font-size:10px;gap:4px}.save-status>.icon{width:12px;height:12px}.topbar .settings-link{width:44px;min-width:44px;min-height:44px}.connection{display:none}main,body[data-page=record] main{padding:18px 18px calc(105px + env(safe-area-inset-bottom))}.page-heading h1{font-size:27px}.instrument-home-layout{display:flex;flex-direction:column;gap:28px}.studio-home-main,.studio-home-side{width:100%;min-width:0}.instrument-date{font-size:12px;gap:8px}.instrument-phase{font-size:11px}.home-session h1{font-size:27px;margin:15px 0 13px}.home-first-note{font-size:14px}.instrument-readout{padding:16px 14px 16px;margin:14px 0 15px}.readout-heading{font-size:10px;letter-spacing:1.2px;gap:7px}.readout-main{grid-template-columns:minmax(0,1fr) 110px;gap:8px;margin-top:12px}.readout-count{font-size:59px;letter-spacing:-3px}.readout-count>small{font-size:17px;letter-spacing:-1px}.readout-unit{font-size:12px;margin-top:8px}.readout-context{font-size:10px;line-height:1.6;margin-top:12px}.readout-art .exercise-icon{height:85px}.readout-art figcaption{font-size:11px;line-height:1.5}.readout-progress{margin-top:16px;gap:4px}.home-session .start-workout-button{min-height:55px;font-size:15px;padding:13px 16px}.home-start-options{gap:17px;margin:6px 0 17px}.home-start-options .home-option{font-size:13px;padding:8px 0;min-height:44px}.home-session-exercises .section-heading{margin-bottom:10px}.home-session-exercises h2{font-size:16px}.home-exercise-row{grid-template-columns:57px minmax(0,1fr) 40px 11px;gap:8px;padding:12px 0;min-height:96px}.home-exercise-row>.exercise-icon{width:57px;height:55px}.home-exercise-row strong{font-size:14px}.home-exercise-row>span>small{font-size:11px}.home-row-result{font-size:12px}.home-row-progress>b{font-size:20px}.home-row-progress>small{font-size:10px}.recent-studio{margin-top:28px}.recent-session{grid-template-columns:34px minmax(0,1fr) 42px 12px;gap:10px}.recent-session>span:nth-child(2)>strong{font-size:14px}.recent-session>span:nth-child(2)>small{font-size:11px}.recent-value b{font-size:23px}.recent-value small{font-size:10px}.recent-date b{font-size:28px}.week-studio-total>b{font-size:42px}.week-studio-total{margin:5px 0 20px}.week-studio-days{padding-bottom:22px}.studio-home-side .recovery-card .body-map{max-height:220px}.studio-home-side .recovery-card h2{font-size:17px}.home-recovery-details>summary{font-size:13px}.map-legend{font-size:12px;gap:12px}.storage-footnote{margin-top:20px;font-size:12px}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-top:1px solid var(--line);padding:9px 5px calc(8px + env(safe-area-inset-bottom));backdrop-filter:none}.bottom-nav>a{font-size:11px;font-weight:500;color:var(--muted);min-height:53px;gap:5px;padding:1px 0;border-radius:0;min-width:0}.bottom-nav .icon{width:25px;height:25px;stroke-width:2.2}.bottom-nav>a.active{color:var(--ink);background:#fff;font-weight:750}.bottom-nav>a.active>.icon{background:var(--lime);box-shadow:5px 0 var(--lime),-5px 0 var(--lime),0 2px var(--lime),0 -2px var(--lime)}.bottom-nav>a.active:after{content:none;display:none}
 body[data-page=record] .page-heading{flex-wrap:nowrap;align-items:center;gap:5px;margin-bottom:9px}body[data-page=record] .page-heading h1{font-size:21px}body[data-page=record] .page-heading p{font-size:11px;max-width:72px}body[data-page=record] .date-control{width:auto;min-width:0;max-width:248px;gap:0;margin:0}body[data-page=record] .date-label{min-width:111px;font-size:13px;padding:8px 0}.date-control .icon-button{width:44px;min-width:44px}.record-session-strip{gap:8px;padding-bottom:9px}.session-name-button{font-size:18px;min-height:44px;line-height:1.5}.record-session-strip p{font-size:11px;line-height:1.6;margin-top:0}.record-session-strip select{font-size:16px;max-width:130px;min-height:44px}.record-session-strip>.btn{font-size:12px;padding:8px 10px;min-height:44px}.record-toolbar{padding:8px 0 10px;gap:8px}.record-toolbar .btn{min-height:44px;font-size:12px;padding:8px 6px}.record-view-control{gap:13px}.record-view-control>.view-button{min-width:38px;padding:6px 0}.record-toolbar>div:last-child{gap:4px}.record-focus-layout{grid-template-columns:1fr}.record-index-desktop{display:none}.focus-navigation{gap:5px;padding:2px 0}.focus-navigation>.icon-button{width:44px;min-width:44px;padding:8px}.focus-navigation>span{font-size:12px}.focus-navigation>span>b{font-size:22px}.focus-navigation>.text-button{font-size:12px;padding:8px;min-height:44px}.focused-exercise.exercise-card{padding:10px 0 0}.focused-exercise .exercise-heading{grid-template-columns:minmax(0,1fr) 85px 32px;gap:7px;margin-bottom:5px}.focused-exercise .exercise-heading>.exercise-icon{width:85px;height:75px}.focused-exercise .exercise-heading h3{font-size:22px;line-height:1.45;letter-spacing:-.5px}.focused-exercise .exercise-heading p{font-size:11px;margin-top:4px;line-height:1.6}.focused-exercise .exercise-heading p span{display:inline}.focused-exercise .entry-menu{width:32px}.focused-exercise .entry-menu>summary{min-width:44px;width:44px;min-height:44px;margin-left:-6px}.focused-exercise .previous-record{margin:0 0 8px;gap:5px}.focused-exercise .previous-record summary{font-size:12px;gap:2px 8px;min-height:44px}.focused-exercise .previous-record summary>span{font-size:12px}.focused-exercise .previous-record summary strong{font-size:14px}.focused-exercise .previous-record .btn{font-size:12px;padding:8px 2px}.previous-record-empty{font-size:12px;margin:6px 0 12px}.instrument-console{padding:17px 15px 16px}.focused-exercise .instrument-console .set-form-title{margin-bottom:12px;gap:8px}.focused-exercise .instrument-console .set-form-title>strong{font-size:15px;letter-spacing:1px}.focused-exercise .instrument-console .set-form-title>span{font-size:11px}.focused-exercise .instrument-console .set-inputs{gap:14px}.focused-exercise .instrument-console .numeric-field>label{font-size:12px;margin-bottom:3px}.focused-exercise .instrument-console .numeric-field>label>small{font-size:12px}.focused-exercise .instrument-console .number-control input{font-size:51px!important;letter-spacing:-2.8px;height:80px;min-height:80px!important}.focused-exercise .instrument-console .number-control input.long-value{font-size:32px!important;letter-spacing:-1.5px}.focused-exercise .instrument-console .number-control{gap:6px}.focused-exercise .instrument-console .number-control>.step-button{font-size:22px;min-height:45px}.focused-exercise .instrument-submit{min-height:55px;font-size:15px}.instrument-set-context{font-size:11px;margin-top:9px}.focused-exercise .input-comparison{font-size:11px;line-height:1.7}.focused-exercise .set-more,.focused-exercise .batch-entry{font-size:12px}.focused-exercise .set-options{gap:9px}.focused-exercise .set-detail-fields label{font-size:12px}.focused-exercise .input-hint{font-size:11px;line-height:1.7}.focused-exercise .exercise-statusline{font-size:11px;gap:0 7px;flex-wrap:wrap}.focused-exercise .exercise-statusline .btn{font-size:12px;padding:8px 6px}.focused-exercise .goal-progress{margin-bottom:15px}.focused-exercise .set-table-head{font-size:10px}.focused-exercise .set-row{min-height:54px}.focused-exercise .set-row strong{font-size:22px}.focused-exercise .set-estimate{font-size:12px}.focused-exercise .set-row-detail{font-size:11px;padding-left:32px}.focused-exercise .exercise-footer{gap:0 10px}.focused-exercise .exercise-footer>.btn{font-size:12px;padding:8px 6px;min-height:44px}.focused-exercise .entry-note>summary{font-size:13px}.session-note>label{font-size:13px}.session-note>.btn,.finish-row>.btn{font-size:13px}.record-empty h2{font-size:25px}.record-empty .btn{font-size:14px}body[data-page=record][data-record-view=focus] main,body[data-page=record][data-record-view=focus]:has(.timer-bar) main{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.timer-bar{padding:10px 15px;gap:8px}.timer-bar strong{font-size:25px}.timer-bar .timer-button{padding:8px;min-width:44px;min-height:44px}.timer-bar>div>span{font-size:10px}.timer-bar>div:first-child>span{max-width:100%}.session-dock{bottom:calc(79px + env(safe-area-inset-bottom));border-radius:2px}
 .panel{padding:22px 0;border-radius:0}.panel h2{font-size:18px}.calendar-panel{padding:15px 0 22px}.calendar-grid{gap:4px}.calendar-day{min-height:48px;font-size:15px}.calendar-title h2{font-size:24px}.day-name{font-size:12px}.calendar-legend .muscle-tag{font-size:12px}.history-date-heading{flex-wrap:wrap;gap:8px}.history-date-heading h2{font-size:19px}.history-date-heading>.btn{font-size:12px;min-height:44px}.history-card{padding:20px 0}.history-total>b{font-size:24px}.history-total>span{font-size:11px}.history-card-heading p{font-size:12px}.history-exercises strong{font-size:14px}.history-exercises small{font-size:12px}.history-actions{flex-wrap:wrap;gap:4px}.history-actions .btn{font-size:12px;min-height:44px}.btn.chip{font-size:13px;min-height:44px;padding:8px 10px}.search-box input{font-size:16px}.analysis-tabs{gap:0;justify-content:space-between}.analysis-tabs button{min-width:0;font-size:14px;padding:10px 8px;min-height:48px}.analysis-big{font-size:44px}.volume-panel>.caption,.volume-panel>.caption:last-child{font-size:12px}.metric{padding:20px 0;border-radius:0}.metric:nth-child(even){padding-left:14px}.metric>span{font-size:12px}.metric>b{font-size:32px}.metric>b>small{font-size:12px}.exercise-stat{padding:18px 0;gap:9px}.exercise-stat-title strong{font-size:14px}.exercise-stat-title small,.exercise-stat-value>small{font-size:12px}.exercise-stat-value strong{font-size:23px}.exercise-stat .exercise-icon{width:59px;height:52px}.muscle-bar-row{grid-template-columns:85px minmax(0,1fr) 72px;gap:10px}.muscle-tag{font-size:12px}.recovery-list{gap:20px 16px}.recovery-list strong{font-size:14px}.recovery-list span,.recovery-list small{font-size:12px}.setting-row{font-size:14px}.setting-row small{font-size:12px}.suffix-input input{width:70px;font-size:16px}.settings-grid p{font-size:14px}.data-actions .btn{font-size:13px;min-height:44px}.period-select,.period-select select{font-size:16px}.detail-period select{font-size:16px}.dialog-header{padding:14px 18px}.dialog-header h2{font-size:21px}.dialog-content{padding:19px 18px 26px}.dialog-content>p{font-size:14px}.picker-toolbar{gap:12px}.equipment-filter select{font-size:16px}.picker-exercise strong{font-size:15px}.picker-exercise small{font-size:12px}.picker-exercise .exercise-icon{width:58px;height:50px}.picker-bottom{gap:8px}.picker-bottom>.btn{font-size:13px;min-height:44px}.picker-bottom>span{font-size:12px}.form-field{font-size:14px}.form-field input,.form-field select,.form-field textarea{font-size:16px}.library-row strong{font-size:13px}.library-row small{font-size:11px}.library-row>.btn{font-size:12px;min-height:44px}.muscle-checks label{font-size:12px;min-height:44px}.detail-history small{font-size:12px}.builder-plan-fields input{font-size:18px}.builder-group-button{font-size:13px}.builder-bottom>.btn{font-size:14px}.dialog-actions{flex-wrap:wrap}.dialog-actions>.btn{min-height:44px;font-size:14px}
}
@media(max-width:370px){
 .topbar,body[data-page=record] .topbar{margin:0 15px}.mobile-brand{font-size:18px;gap:7px}.save-status{font-size:9px;gap:2px}.header-right{gap:0}.save-status>.icon{width:11px;height:11px}main,body[data-page=record] main{padding-left:15px;padding-right:15px}.instrument-date{font-size:11px}.instrument-phase{font-size:10px}.home-session h1{font-size:25px}.instrument-readout{padding:15px 12px}.readout-main{grid-template-columns:minmax(0,1fr) 88px;gap:4px}.readout-count{font-size:52px;letter-spacing:-3px}.readout-count>small{font-size:14px}.readout-unit{font-size:11px}.readout-context{font-size:10px}.readout-art .exercise-icon{height:77px}.readout-art figcaption{font-size:10px}.readout-heading{font-size:9px;letter-spacing:1px}.home-session .start-workout-button{font-size:14px;padding:13px}.home-start-options .home-option{font-size:12px}.home-exercise-row{grid-template-columns:49px minmax(0,1fr) 36px 10px;gap:6px;min-height:94px}.home-exercise-row>.exercise-icon{width:49px;height:49px}.home-exercise-row strong{font-size:13px}.home-exercise-row>span>small{font-size:10px}.home-row-result{font-size:11px}.home-row-progress>small{font-size:9px}.recent-session{grid-template-columns:30px minmax(0,1fr) 36px 10px;gap:7px}.recent-session>span:nth-child(2)>strong{font-size:13px}.recent-session>span:nth-child(2)>small{font-size:11px}.recent-value small{font-size:9px}.bottom-nav>a{font-size:10px}.bottom-nav .icon{width:24px;height:24px}body[data-page=record] .page-heading h1{font-size:20px}body[data-page=record] .date-label{min-width:104px;font-size:12px}body[data-page=record] .date-control{max-width:200px}.record-session-strip>.btn{padding:8px;font-size:11px}.session-name-button{font-size:17px}.record-toolbar{gap:5px}.record-toolbar .btn{font-size:11px;padding:8px 4px}.record-view-control{gap:7px}.record-toolbar>div:last-child{gap:3px}.focused-exercise .exercise-heading{grid-template-columns:minmax(0,1fr) 71px 30px;gap:6px}.focused-exercise .exercise-heading>.exercise-icon{width:71px;height:66px}.focused-exercise .exercise-heading h3{font-size:20px}.focused-exercise .exercise-heading p{font-size:10px}.focused-exercise .entry-menu>summary{margin-left:-7px}.focused-exercise .previous-record summary strong{font-size:13px}.focused-exercise .previous-record .btn{font-size:11px}.instrument-console{padding:15px 12px}.focused-exercise .instrument-console .set-inputs{gap:11px}.focused-exercise .instrument-console .number-control input{font-size:44px!important;height:76px;min-height:76px!important;letter-spacing:-2.8px}.focused-exercise .instrument-console .number-control input.long-value{font-size:28px!important;letter-spacing:-1px}.focused-exercise .instrument-console .set-form-title>span{font-size:10px}.focused-exercise .instrument-console .numeric-field>label{font-size:12px}.focused-exercise .set-options{gap:5px}.focused-exercise .set-more,.focused-exercise .batch-entry{font-size:11px}.focused-exercise .exercise-statusline{font-size:11px}.focused-exercise .exercise-statusline .btn{font-size:11px;padding:8px 5px}.focused-exercise .set-estimate{font-size:11px}.focused-exercise .set-row strong{font-size:20px}.exercise-stat .exercise-icon{width:47px;height:45px}.exercise-stat-title strong{font-size:13px}.exercise-stat-title small,.exercise-stat-value>small{font-size:11px}.exercise-stat-value{min-width:61px}.muscle-bar-row{grid-template-columns:78px minmax(0,1fr) 65px;gap:7px}.dialog-header,.dialog-content{padding-left:15px;padding-right:15px}.picker-exercise{gap:7px}.picker-exercise .exercise-icon{width:48px;height:46px}.picker-exercise strong{font-size:13px}.picker-exercise small{font-size:11px}.picker-bottom>.btn{font-size:12px;padding:10px}.picker-bottom>span{font-size:11px}.setting-row{font-size:13px;gap:10px}.setting-row small{font-size:11px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* iOS 27 home-screen apps can blur the top of the web view at OS level.
   A fixed background sampling surface is an experimental, layout-neutral workaround. */
.ios-status-surface{display:none}
@supports(-webkit-touch-callout:none){
 @media(display-mode:standalone){
  .ios-status-surface{display:block;position:fixed;top:0;left:0;right:0;height:12px;z-index:100;pointer-events:none;background-color:#fff;-webkit-background-clip:text;background-clip:text}
 }
}
/* Hover retains contrast inside the dark readout. */
.focused-exercise .instrument-console .number-control>.step-button:hover:not(:disabled){background:#3b5665!important;color:#fff}
.picker-exercise.selected{box-shadow:none}.analysis-tabs button.active{background:var(--soft)}.analysis-tabs button.active:after{content:none;display:none}.trend-chart .trend-selected{stroke:var(--lime)}.record-empty-symbol{display:flex;align-items:center;justify-content:center;width:54px;height:54px;background:var(--soft);color:var(--ink)}.record-empty-symbol>.icon{width:34px;height:34px}
#app select,#modal select,#app textarea,#modal textarea,#app input:not([type=checkbox]):not([type=file]),#modal input:not([type=checkbox]):not([type=file]){font-size:16px}
/* Numeric readouts override the regular input size. */
#app .focused-exercise .instrument-console .number-control input{font-size:60px!important}
#app .focused-exercise .instrument-console .number-control input.long-value{font-size:38px!important}
@media(max-width:720px){#app .focused-exercise .instrument-console .number-control input{font-size:51px!important}#app .focused-exercise .instrument-console .number-control input.long-value{font-size:32px!important}}
@media(max-width:370px){#app .focused-exercise .instrument-console .number-control input{font-size:44px!important}#app .focused-exercise .instrument-console .number-control input.long-value{font-size:28px!important}}
/* Sticky dialog actions remain wholly inside the dialog's visible area. */
.dialog-bottom,.picker-bottom{bottom:0;padding-bottom:max(12px,env(safe-area-inset-bottom));background:#fff}
/* Measured values and their denominator share a single baseline. */
.week-studio-total>b>small{display:inline;margin:0}
#app .focused-exercise .instrument-console .number-control input{color:var(--lime)}
.recent-date>b{display:block;white-space:nowrap;letter-spacing:-1px}
.picker-guide>summary{min-height:44px;font-size:12px}.section-heading>a{display:inline-flex;align-items:center;min-height:44px}
/* Session metadata spans the width instead of wrapping beside the end button. */
@media(max-width:720px){.record-session-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;row-gap:0;align-items:center}.record-session-strip>div{display:contents}.record-session-strip .session-name-button{grid-column:1;grid-row:1}.record-session-strip>div>p{grid-column:1/-1;grid-row:2;display:flex;gap:6px;align-items:center;margin:0;min-width:0}.record-session-strip>.btn{grid-column:2;grid-row:1}.record-session-strip select{max-width:130px;min-height:44px;padding:6px;font-size:16px}.record-session-strip>div>p>select{margin-left:auto}}
/* Compact recording: the exercise, input and saved sets share one working surface. */
.compact-record-header{margin:0 0 10px;border-bottom:1px solid var(--line);padding:0 0 6px}.compact-record-top{display:flex;align-items:center;gap:8px;min-width:0}.compact-record-top>.date-control{flex:1;min-width:0;max-width:400px;border:0;justify-content:flex-start}.compact-record-top .date-label{min-width:0;flex:1;max-width:245px;font-size:16px;font-weight:650;padding:7px 2px;white-space:nowrap}.compact-record-top .date-control>.icon-button{width:44px;min-width:44px}.compact-record-top>.compact-finish{min-height:44px;padding:8px 14px;background:#fff;color:var(--ink);border:1px solid var(--line);font-size:14px}.compact-record-top>.icon-button{margin-left:auto;width:44px;min-width:44px}.compact-record-tools{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px}.compact-record-tools>select{max-width:155px;width:155px;min-height:44px;padding:7px 6px;font-size:16px}.compact-workout-selector{background:transparent;border:0;justify-content:flex-start;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left;font-size:14px;padding:8px 0}.compact-workout-selector>span{font-size:12px;color:var(--muted);white-space:nowrap}.compact-workout-selector>.icon{width:15px;height:15px}.compact-record-tools>.compact-add{margin-left:auto;min-height:44px;padding:8px 10px;font-size:14px;background:var(--soft);border-color:var(--line)}.compact-record-tools>.text-button{padding:8px 0}.compact-date-status{font-size:12px;color:var(--muted);margin:2px 0 4px}.compact-options-list{display:grid;gap:4px;margin:12px 0}.compact-options-list>.btn{justify-content:flex-start;white-space:normal}.compact-view-options{display:flex;gap:8px;padding:6px 0}.compact-view-options>.btn{flex:1}.compact-view-options [aria-pressed=true]{background:var(--soft);color:var(--ink)}
.compact-exercise.exercise-card,.focused-exercise.compact-exercise.exercise-card{padding:0;margin:0 0 16px;border:0}.compact-exercise .exercise-heading,.focused-exercise.compact-exercise .exercise-heading{display:grid;grid-template-columns:52px minmax(0,1fr) 44px;gap:9px;align-items:center;margin:0;min-height:58px}.focused-exercise.compact-exercise .exercise-heading>.exercise-icon{grid-column:1;grid-row:1;width:52px;height:48px}.focused-exercise.compact-exercise .exercise-heading>div:nth-child(2){grid-column:2;grid-row:1}.focused-exercise.compact-exercise .exercise-heading h3{font-size:20px;line-height:1.4;letter-spacing:-.3px}.focused-exercise.compact-exercise .entry-menu{grid-column:3;grid-row:1;align-self:center;width:44px}.focused-exercise.compact-exercise .entry-menu>summary{min-width:44px;min-height:44px;width:44px;margin:0}.compact-exercise .entry-menu .entry-actions{display:grid;grid-template-columns:1fr;gap:0;width:224px;max-width:calc(100vw - 32px);max-height:min(70dvh,560px);overflow-y:auto;right:0;top:44px;padding:6px;z-index:20}.compact-exercise .entry-menu .entry-actions>.btn{width:100%;min-height:44px;justify-content:flex-start;font-size:14px;padding:8px 10px;border:0;white-space:normal}.compact-exercise .entry-menu .entry-actions>.btn[aria-label]{width:100%}.entry-menu-description{font-size:12px!important;line-height:1.7!important;color:var(--muted);padding:8px 10px;margin:0!important;border-bottom:1px solid var(--line)}.compact-exercise .entry-actions>.btn>.icon{width:17px;height:17px}.compact-exercise .group-label{font-size:11px;padding:2px 4px}
.focused-exercise.compact-exercise .previous-record{min-height:44px;margin:0 0 4px;padding:0;gap:7px;align-items:center}.focused-exercise.compact-exercise .previous-record summary{font-size:13px;min-height:44px;gap:7px;padding:5px 0;line-height:1.4}.focused-exercise.compact-exercise .previous-record summary>span{font-size:12px}.focused-exercise.compact-exercise .previous-record summary strong{font-size:14px;white-space:normal;font-weight:600;line-height:1.4}.focused-exercise.compact-exercise .previous-record .btn{font-size:12px;padding:6px 2px;min-height:44px;white-space:nowrap}.compact-exercise .previous-record-empty{font-size:12px;margin:0 0 4px;min-height:36px;display:flex;align-items:center}.compact-exercise .previous-sets{font-size:13px}.compact-exercise .previous-note{font-size:12px}
.focused-exercise.compact-exercise .set-form{margin:0;padding:0;border:0;background:#fff}.focused-exercise.compact-exercise .compact-inputs{padding:0;background:#fff;color:var(--ink);border:0;border-radius:0}.focused-exercise.compact-exercise .compact-inputs .set-inputs{gap:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.focused-exercise.compact-exercise .compact-inputs .numeric-field>label{font-size:13px;color:var(--muted);margin:0 0 3px;line-height:1.5}.focused-exercise.compact-exercise .compact-inputs .numeric-field>label>small{color:var(--muted);font-size:12px}.focused-exercise.compact-exercise .compact-inputs .number-control{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:transparent;margin:0;border:0;border-radius:2px;overflow:visible}.focused-exercise.compact-exercise .compact-inputs .number-control input,#app .focused-exercise.compact-exercise .compact-inputs .number-control input{height:46px;min-height:46px!important;grid-column:1/-1;grid-row:1;padding:3px 6px!important;font:500 32px/1.1 Consolas,monospace!important;letter-spacing:-1px;background:var(--soft);color:var(--ink);border:0;border-radius:2px}.focused-exercise.compact-exercise .compact-inputs .number-control input.long-value,#app .focused-exercise.compact-exercise .compact-inputs .number-control input.long-value{font-size:28px!important;letter-spacing:-1px}.focused-exercise.compact-exercise .compact-inputs .number-control input::placeholder{color:#86939a;font-size:24px}.focused-exercise.compact-exercise .compact-inputs .number-control>.step-button{min-height:44px;height:44px;grid-row:2;padding:0;border:0;background:var(--soft);color:var(--ink);font:400 22px/1 Consolas,monospace;width:100%}.focused-exercise.compact-exercise .compact-inputs .number-control>.step-button:hover:not(:disabled){background:#dce5e8!important;color:var(--ink)}.focused-exercise.compact-exercise .compact-inputs .number-control:focus-within{outline:2px solid #4f7185;outline-offset:2px}.focused-exercise.compact-exercise .compact-inputs .input-load{font-size:12px;color:var(--ink);margin:0 0 5px;padding:0;border:0;line-height:1.5}.focused-exercise.compact-exercise .instrument-submit{min-height:46px;height:46px;margin:6px 0 0;padding:8px 14px;border-radius:2px;font-size:15px}.focused-exercise.compact-exercise .instrument-submit>.icon{width:19px;height:19px}.focused-exercise.compact-exercise .set-options{margin:0;gap:0;display:block}.focused-exercise.compact-exercise .set-more{font-size:12px;display:block;width:100%}.focused-exercise.compact-exercise .set-more>summary{min-height:44px;padding:0;font-size:12px;justify-content:flex-end;gap:5px}.focused-exercise.compact-exercise .set-more>summary:before{content:'＋';margin-right:0}.focused-exercise.compact-exercise .set-more[open]>summary:before{content:'−'}.focused-exercise.compact-exercise .set-detail-fields{padding:6px 0 12px;gap:10px}.focused-exercise.compact-exercise .set-detail-fields>label{font-size:13px;display:flex;flex-direction:column;gap:4px;text-align:left}.focused-exercise.compact-exercise .set-detail-fields input,.focused-exercise.compact-exercise .set-detail-fields select{min-height:44px;font-size:16px}.compact-form-context,.focused-exercise.compact-exercise .input-hint,.focused-exercise.compact-exercise .input-comparison{font-size:12px;line-height:1.7;padding:5px 0;margin:0;color:var(--muted)}.compact-exercise .unweighted .compact-inputs .set-inputs>.numeric-field{max-width:none;width:100%;grid-column:1/-1}.compact-exercise .unweighted .compact-inputs .number-control{grid-template-columns:44px minmax(0,1fr) 44px;gap:5px}.compact-exercise .unweighted .compact-inputs .number-control input,#app .compact-exercise .unweighted .compact-inputs .number-control input{grid-column:2;grid-row:1}.compact-exercise .unweighted .compact-inputs .number-control>.step-button{grid-row:1}.compact-exercise .unweighted .compact-inputs .number-control>.step-button:first-child{grid-column:1}.compact-exercise .unweighted .compact-inputs .number-control>.step-button:last-child{grid-column:3}
.compact-set-list{margin:0;border-top:1px solid var(--line)}.compact-set-heading{min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.compact-set-heading h4{margin:0;font-size:12px;font-weight:500}.compact-set-record{border-bottom:1px solid var(--line);margin:0}.compact-set-record>summary{list-style:none;display:grid;grid-template-columns:24px minmax(0,1fr) auto 16px;gap:8px;align-items:center;min-height:44px;cursor:pointer;padding:3px 0;font-size:14px}.compact-set-record>summary::-webkit-details-marker{display:none}.compact-set-number{font:400 14px/1 Consolas,monospace;color:var(--muted)}.compact-set-record>summary>strong{font-size:15px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.compact-set-rpe{font-size:11px;color:var(--muted);white-space:nowrap}.compact-set-record>summary>.icon{width:16px;height:16px;color:var(--muted)}.compact-set-record[open]>summary>.icon{transform:rotate(90deg)}.compact-set-extra{padding:6px 0 12px 32px;font-size:12px;line-height:1.7;color:var(--muted);display:flex;align-items:flex-start;flex-direction:column;gap:5px}.compact-set-extra>p{color:var(--ink);white-space:pre-wrap}.compact-set-extra>.btn{font-size:13px;min-height:44px}.compact-exercise .exercise-footer{margin:8px 0 0;gap:6px 12px}.compact-exercise .exercise-footer>.btn{font-size:12px;min-height:44px;padding:8px 6px}.compact-exercise .entry-note{margin:0}.compact-exercise .entry-note>summary{font-size:12px;min-height:44px}.compact-session-note{border-top:1px solid var(--line);margin-top:8px}.compact-session-note>summary{display:flex;align-items:center;gap:7px;min-height:44px;font-size:13px;cursor:pointer}.compact-session-note>summary>.icon{width:16px;height:16px}.compact-session-note .session-note{padding-top:4px}.compact-session-note .session-note>label{font-size:13px;margin-bottom:5px}.compact-session-note .session-note textarea{font-size:16px}.compact-exercise .finished-summary{font-size:12px;margin:4px 0}.compact-exercise .finished-result{font-size:12px;margin:0 0 10px}
/* Home places useful context beside the session and avoids a second large readout. */
.compact-home{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,1fr);grid-template-areas:'session condition' 'recent condition';gap:20px 40px;align-items:start}.compact-home-session{grid-area:session;min-width:0}.compact-home-condition{grid-area:condition;min-width:0}.compact-recent{grid-area:recent;min-width:0}.compact-home-session .instrument-date{font-size:12px}.compact-home-session h1{font-size:22px;line-height:1.4;margin:8px 0 4px;letter-spacing:-.3px}.compact-home-summary{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 10px}.compact-home-session .start-workout-button{min-height:46px;padding:10px 14px;font-size:14px}.compact-home-session .home-start-options{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap;margin:2px 0 0}.compact-home-session .home-start-options>.btn{min-height:44px;font-size:12px;padding:6px 0}.compact-home-session .home-start-options>.btn:nth-child(2){margin-left:auto}.compact-home-exercises{margin-top:4px;border-top:1px solid var(--line)}.compact-home-exercises>summary{display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer;list-style:none;font-size:14px;font-weight:600}.compact-home-exercises>summary>span{font-size:12px;color:var(--muted);font-weight:400;margin-left:auto}.compact-home-exercises>summary>.icon{width:16px;height:16px}.compact-home-exercises .home-exercise-row{grid-template-columns:42px minmax(0,1fr) 12px;min-height:66px;padding:8px 0;gap:9px}.compact-home-exercises .home-exercise-row>.exercise-icon{width:42px;height:42px}.compact-home-exercises .home-exercise-row strong{font-size:14px}.compact-home-exercises .home-exercise-row>span>small{font-size:12px;margin-top:2px}.home-week-line{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;font-size:13px;border-bottom:1px solid var(--line);margin-bottom:12px}.home-week-line>span{white-space:nowrap}.home-week-line b{font-size:16px;font-weight:600}.home-week-line>small{font-size:11px;color:var(--muted)}.home-week-line>a{font-size:12px;color:var(--muted);display:flex;align-items:center;min-height:44px}.compact-home-condition .recovery-card{padding:0;border:0}.compact-home-condition .recovery-card .section-heading{margin:0}.compact-home-condition .recovery-card h2{font-size:16px}.compact-home-condition .recovery-card>.caption{font-size:11px}.compact-home-condition .body-map{display:block;width:100%;max-height:180px;margin:8px auto}.compact-home-condition .map-legend{font-size:11px;gap:10px}.compact-home-condition .home-recovery-details{margin-top:10px}.compact-home-condition .home-recovery-details>summary{min-height:44px;font-size:13px}.compact-home-condition .recovery-card>.text-button{min-height:44px;margin:0;font-size:12px;padding:6px 0}.compact-recent{margin-top:0}.compact-recent .section-heading{padding-bottom:0;margin-bottom:0;border:0}.compact-recent h2{font-size:16px}.compact-recent .recent-session{grid-template-columns:45px minmax(0,1fr) 46px 12px;min-height:66px;gap:9px;padding:10px 0;border-top:1px solid var(--line);border-bottom:0}.compact-recent-date{font:400 16px/1.3 Consolas,monospace;white-space:nowrap;color:var(--muted)}.compact-recent .recent-session>span:nth-child(2)>strong{font-size:14px}.compact-recent .recent-session>span:nth-child(2)>small{font-size:11px;line-height:1.5;margin-top:2px}.compact-recent .recent-value{font:500 18px/1.3 Consolas,monospace;color:var(--ink)}.compact-recent .recent-value>small{display:block;font-size:10px;font-family:inherit;color:var(--muted)}
@media(max-width:720px){body[data-page=record] .topbar{display:none}body[data-page=record] main{padding-top:8px;padding-left:16px;padding-right:16px}body[data-page=record][data-record-view=focus] main{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.compact-record-header{margin-bottom:4px;padding-bottom:4px}.compact-record-top{gap:4px}.compact-record-top>.date-control{width:auto;flex:1;min-width:0}.compact-record-top .date-label{font-size:14px;min-width:0;padding:5px 0}.compact-record-top>.compact-finish{font-size:13px;min-height:44px;padding:8px 10px}.compact-record-top>.icon-button{padding:9px;min-width:44px;width:44px}.compact-record-tools{gap:8px;min-height:44px}.compact-record-tools>select{max-width:108px;width:108px;flex:0 1 108px;font-size:16px;min-height:44px;padding:6px 3px}.compact-record-tools>.compact-add{font-size:12px;min-height:44px;padding:8px 7px;gap:4px}.compact-record-tools>.compact-add>.icon{width:16px;height:16px}.compact-workout-selector{font-size:13px;gap:5px;padding:8px 0;min-height:44px}.compact-workout-selector>span{font-size:11px}.compact-date-status{font-size:11px;line-height:1.5;margin:2px 0}.focused-exercise.compact-exercise .exercise-heading{min-height:58px;grid-template-columns:48px minmax(0,1fr) 44px;gap:8px;margin:0}.focused-exercise.compact-exercise .exercise-heading>.exercise-icon{width:48px;height:46px}.focused-exercise.compact-exercise .exercise-heading h3{font-size:19px;line-height:1.4}.focused-exercise.compact-exercise .previous-record{margin-bottom:3px;min-height:44px;gap:6px}.focused-exercise.compact-exercise .previous-record summary strong{font-size:14px}.focused-exercise.compact-exercise .previous-record .btn{font-size:12px}.focused-exercise.compact-exercise .compact-inputs .set-inputs{gap:10px}.focused-exercise.compact-exercise .compact-inputs .numeric-field>label{font-size:13px}.focused-exercise.compact-exercise .compact-inputs .number-control input,#app .focused-exercise.compact-exercise .compact-inputs .number-control input{font-size:32px!important;height:46px;min-height:46px!important;letter-spacing:-1px}.focused-exercise.compact-exercise .compact-inputs .number-control input.long-value,#app .focused-exercise.compact-exercise .compact-inputs .number-control input.long-value{font-size:27px!important}.focused-exercise.compact-exercise .instrument-submit{min-height:46px;height:46px;margin-top:6px}.focused-exercise.compact-exercise .set-more>summary{min-height:40px}.compact-set-heading{min-height:27px}.compact-set-record>summary{min-height:44px;gap:7px;grid-template-columns:21px minmax(0,1fr) auto 14px}.compact-set-record>summary>strong{font-size:15px}.compact-set-rpe{font-size:10px}.compact-set-extra{padding-left:28px}.compact-exercise .exercise-footer{margin:6px 0 0}.compact-exercise .exercise-footer>.btn{font-size:12px}.compact-home{display:flex;flex-direction:column;gap:16px}.compact-home>*{width:100%}.compact-home-session .instrument-date{font-size:12px}.compact-home-session h1{font-size:21px;margin:7px 0 4px}.compact-home-summary{font-size:13px;margin-bottom:9px}.compact-home-session .home-start-options{gap:4px 14px}.compact-home-condition .body-map{max-height:152px;margin:5px auto}.compact-home-condition .map-legend{font-size:11px}.home-week-line{margin-bottom:8px}.compact-home-condition .recovery-card>.caption{font-size:11px}.compact-home-condition .home-recovery-details{margin-top:7px}.compact-recent .recent-session{min-height:64px}.compact-home-exercises .home-exercise-row{min-height:66px}.compact-home-exercises .home-exercise-row>.exercise-icon{width:42px;height:42px}}
@media(max-width:370px){body[data-page=record] main{padding-left:16px;padding-right:16px}.compact-record-top .date-label{font-size:12px}.compact-record-top .date-control>.icon-button{width:40px;min-width:40px}.compact-record-top>.compact-finish{font-size:12px;padding:8px}.compact-record-tools{gap:5px}.compact-record-tools>select{width:94px;max-width:94px;flex-basis:94px}.compact-workout-selector{font-size:12px;gap:4px}.compact-workout-selector>span{font-size:10px}.compact-record-tools>.compact-add{font-size:11px;padding:8px 5px}.focused-exercise.compact-exercise .exercise-heading h3{font-size:18px}.focused-exercise.compact-exercise .exercise-heading{gap:7px}.focused-exercise.compact-exercise .previous-record summary strong{font-size:13px}.focused-exercise.compact-exercise .previous-record .btn{font-size:11px}.focused-exercise.compact-exercise .compact-inputs .number-control input,#app .focused-exercise.compact-exercise .compact-inputs .number-control input{font-size:30px!important}.focused-exercise.compact-exercise .compact-inputs .number-control input.long-value,#app .focused-exercise.compact-exercise .compact-inputs .number-control input.long-value{font-size:25px!important}.compact-set-record>summary>strong{font-size:14px}.compact-set-rpe{font-size:10px}.compact-set-record>summary{gap:5px}.home-week-line{gap:7px;font-size:12px}.home-week-line>small{font-size:10px}.home-week-line>a{font-size:11px}.compact-home-session .instrument-date{font-size:11px}}
/* The collapsed set options remain a full touch target. */
.focused-exercise.compact-exercise .set-more>summary{min-height:44px}
/* Menus and exercises are available directly on the recording page. */
.record-library{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:28px;margin-top:24px;padding-top:12px;border-top:1px solid var(--line);align-items:start}
.record-library.is-first{margin-top:0;padding-top:0;border-top:0}.record-library>section{min-width:0;scroll-margin-top:16px}.record-library-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}.record-library-heading h2{font-size:17px;margin:0;line-height:1.4;letter-spacing:0}.record-library-heading>div{display:flex;align-items:center;gap:6px}.record-library-heading .btn{min-height:44px;font-size:12px;padding:6px 3px;gap:4px}.record-library-heading .icon{width:15px;height:15px}.record-library-caption{font-size:12px;color:var(--muted);margin:0;line-height:1.6}
.record-routine-row{display:flex;align-items:center;gap:10px;min-height:56px;padding:6px 0;border-bottom:1px solid var(--line)}.record-routine-row>span{flex:1;min-width:0}.record-routine-row strong{display:block;font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.record-routine-row small{display:block;font-size:12px;color:var(--muted);line-height:1.5}.record-routine-row>div{display:flex;flex-direction:column;align-items:flex-end}.record-routine-row .btn{min-height:44px;font-size:12px;padding:8px;white-space:nowrap}.record-routine-row .text-button{font-size:11px;padding:4px 0}
.record-library-search{min-height:44px;margin:0}.record-library-search input{font-size:16px;padding:6px 2px}.record-library-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:6px;align-items:center;margin:6px 0 0}.record-library-filters select{width:100%;min-width:0;min-height:44px;font-size:14px;padding:6px}.record-library-filters>.btn{width:44px;min-height:44px;padding:0;font-size:22px}.record-library-filters [aria-pressed=true]{background:var(--lime);color:var(--ink)}.record-library-subheading{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:var(--muted);margin:12px 0 2px;line-height:1.6}.record-library-subheading>span{margin-left:auto;font-size:11px}
.record-exercise-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px;border-bottom:1px solid var(--line)}.record-exercise-select{display:grid;grid-template-columns:40px minmax(0,1fr) 24px;gap:8px;align-items:center;width:100%;min-height:60px;padding:6px 0;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer}.record-exercise-select:hover{background:var(--soft)}.record-exercise-select>.exercise-icon{width:40px;height:38px;background:transparent;border:0;border-radius:0}.record-exercise-select>span{min-width:0}.record-exercise-select strong{display:block;font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.record-exercise-select small{display:block;font-size:11px;color:var(--muted);line-height:1.5}.record-exercise-mark{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:var(--lime)}.record-exercise-mark>.icon{width:17px;height:17px}.record-exercise-row>.record-exercise-star{align-self:center;width:44px;min-height:44px;padding:0;font-size:22px}.record-exercise-star[aria-pressed=true]{color:var(--ink)}.record-library-empty{padding:16px 0;font-size:13px}.record-library-empty p{margin:0 0 4px}.record-library-empty .btn{font-size:12px}
@media(max-width:720px){.record-library{display:flex;flex-direction:column;gap:16px;margin-top:20px;padding-top:8px}.record-library>section{width:100%}.record-library.is-first{margin-top:0;padding-top:0}.record-library-heading h2{font-size:16px}.record-library-heading .btn{font-size:12px}.record-exercise-select{min-height:60px}.record-routine-row{min-height:52px}.record-library-filters select{font-size:14px}}
/* The month is the calendar's title; mobile needs no separate brand/title bands. */
.muscle-tag i{width:8px;height:8px;border-radius:50%}
.calendar-legend .muscle-tag i{width:8px;height:8px}
.calendar-day>div{width:30px;height:14px;min-height:14px;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:2px;margin:0 auto}
.calendar-day>div i{width:6px;height:6px;flex:0 0 6px;box-shadow:0 0 0 1px #1026351a}
.calendar-day.selected>div i{box-shadow:0 0 0 1px #ffffff80}
body[data-page=calendar] .calendar-title h1{margin:0;font-size:26px;line-height:1.3;letter-spacing:-.5px;font-weight:700}
@media(max-width:720px){
 body[data-page=calendar] .topbar{display:none}
 body[data-page=calendar] main{padding:8px 16px calc(96px + env(safe-area-inset-bottom))}
 body[data-page=calendar] .calendar-panel{border:0;padding:0 0 8px}
 body[data-page=calendar] .calendar-title{min-height:44px;margin:0 0 2px;gap:8px}
 body[data-page=calendar] .calendar-title h1{font-size:23px}
 body[data-page=calendar] .calendar-title>.icon-button{min-width:44px;min-height:44px;width:44px;height:44px}
 body[data-page=calendar] .calendar-grid{gap:2px}
 body[data-page=calendar] .day-name{display:grid;place-items:center;min-height:24px;padding:2px 0;font-size:12px}
 body[data-page=calendar] .calendar-day{min-height:44px;height:44px;padding:4px 0;gap:3px;font-size:15px}
 body[data-page=calendar] .calendar-day>span{line-height:1.2}
 body[data-page=calendar] .calendar-day>div{min-height:14px}
 body[data-page=calendar] .calendar-legend{padding:6px 0 0;margin:4px 0 0;gap:6px 10px;border:0}
 body[data-page=calendar] .calendar-legend .muscle-tag{font-size:12px;gap:4px}
 body[data-page=calendar] .history-date-heading{margin:8px 0 0;padding:8px 0 0;min-height:44px;border-top:1px solid var(--line);gap:8px;flex-wrap:nowrap}
 body[data-page=calendar] .history-date-heading h2{font-size:18px;line-height:1.4}
 body[data-page=calendar] .history-date-heading>.btn{font-size:12px;min-height:44px;padding:8px;white-space:nowrap}
 body[data-page=calendar] #history-results .history-card{padding:14px 0}
}
